@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
package/dist/index24.d.ts CHANGED
@@ -1,49 +1,99 @@
1
- import { VariantProps } from "class-variance-authority";
2
1
  import * as React from "react";
3
- import * as react_jsx_runtime99 from "react/jsx-runtime";
4
- import * as class_variance_authority_types7 from "class-variance-authority/types";
2
+ import * as react_jsx_runtime294 from "react/jsx-runtime";
3
+ import { DropdownMenu } from "radix-ui";
5
4
 
6
- //#region src/primitives/Empty/Empty.d.ts
7
- declare const emptyVariants: (props?: ({
8
- variant?: "default" | "outline" | "background" | "outline-dashed" | null | undefined;
9
- } & class_variance_authority_types7.ClassProp) | undefined) => string;
10
- /** Centered empty-state container; compose Header/Media/Title/Description/Content inside it. */
11
- declare function Empty({
12
- className,
13
- /** Container chrome: plain, bordered, muted background, or dashed border. */
14
- variant,
5
+ //#region src/primitives/DropdownMenu/DropdownMenu.d.ts
6
+ /** Root provider for a dropdown menu; holds open state and wires the trigger to its content. */
7
+ declare function DropdownMenu$1({
8
+ ...props
9
+ }: React.ComponentProps<typeof DropdownMenu.Root>): react_jsx_runtime294.JSX.Element;
10
+ /** Renders the menu into a portal so it escapes overflow/stacking contexts. */
11
+ declare function DropdownMenuPortal({
15
12
  ...props
16
- }: React.ComponentProps<"div"> & VariantProps<typeof emptyVariants>): react_jsx_runtime99.JSX.Element;
17
- /** Groups the media, title, and description with centered alignment. */
18
- declare function EmptyHeader({
13
+ }: React.ComponentProps<typeof DropdownMenu.Portal>): react_jsx_runtime294.JSX.Element;
14
+ /** The control (usually a button) that toggles the menu open and closed. */
15
+ declare function DropdownMenuTrigger({
16
+ ...props
17
+ }: React.ComponentProps<typeof DropdownMenu.Trigger>): react_jsx_runtime294.JSX.Element;
18
+ /** The floating surface that holds the menu items; portalled and animated on open/close. */
19
+ declare function DropdownMenuContent({
19
20
  className,
21
+ /** Gap in pixels between the trigger and the content edge. */
22
+ sideOffset,
23
+ ...props
24
+ }: React.ComponentProps<typeof DropdownMenu.Content>): react_jsx_runtime294.JSX.Element;
25
+ /** Groups related menu items together for labelling and keyboard navigation. */
26
+ declare function DropdownMenuGroup({
20
27
  ...props
21
- }: React.ComponentProps<"div">): react_jsx_runtime99.JSX.Element;
22
- declare const emptyMediaVariants: (props?: ({
23
- variant?: "default" | "icon" | null | undefined;
24
- } & class_variance_authority_types7.ClassProp) | undefined) => string;
25
- /** Holds the leading illustration or icon above the title. */
26
- declare function EmptyMedia({
28
+ }: React.ComponentProps<typeof DropdownMenu.Group>): react_jsx_runtime294.JSX.Element;
29
+ /** A selectable menu row that fires on click/Enter. */
30
+ declare function DropdownMenuItem({
27
31
  className,
28
- /** Visual treatment: bare media or a rounded muted icon badge. */
32
+ /** Indents the item to align with rows that have a leading icon/indicator. */
33
+ inset,
34
+ /** Visual tone of the item; `destructive` renders in the danger color. */
29
35
  variant,
30
36
  ...props
31
- }: React.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>): react_jsx_runtime99.JSX.Element;
32
- /** The primary heading line of the empty state. */
33
- declare function EmptyTitle({
37
+ }: React.ComponentProps<typeof DropdownMenu.Item> & {
38
+ inset?: boolean;
39
+ variant?: "default" | "destructive";
40
+ }): react_jsx_runtime294.JSX.Element;
41
+ /** A menu row with a toggleable checkmark indicator for boolean options. */
42
+ declare function DropdownMenuCheckboxItem({
43
+ className,
44
+ children,
45
+ /** Whether the checkbox indicator is shown as checked. */
46
+ checked,
47
+ ...props
48
+ }: React.ComponentProps<typeof DropdownMenu.CheckboxItem>): react_jsx_runtime294.JSX.Element;
49
+ /** Wraps radio items so only one option in the group can be selected at a time. */
50
+ declare function DropdownMenuRadioGroup({
51
+ ...props
52
+ }: React.ComponentProps<typeof DropdownMenu.RadioGroup>): react_jsx_runtime294.JSX.Element;
53
+ /** A single mutually-exclusive option within a `DropdownMenuRadioGroup`. */
54
+ declare function DropdownMenuRadioItem({
34
55
  className,
56
+ children,
57
+ ...props
58
+ }: React.ComponentProps<typeof DropdownMenu.RadioItem>): react_jsx_runtime294.JSX.Element;
59
+ /** A non-interactive heading used to title a group of menu items. */
60
+ declare function DropdownMenuLabel({
61
+ className,
62
+ /** Indents the label to align with rows that have a leading icon/indicator. */
63
+ inset,
64
+ ...props
65
+ }: React.ComponentProps<typeof DropdownMenu.Label> & {
66
+ inset?: boolean;
67
+ }): react_jsx_runtime294.JSX.Element;
68
+ /** A thin divider line used to visually separate groups of menu items. */
69
+ declare function DropdownMenuSeparator({
70
+ className,
71
+ ...props
72
+ }: React.ComponentProps<typeof DropdownMenu.Separator>): react_jsx_runtime294.JSX.Element;
73
+ /** Right-aligned hint for an item's keyboard shortcut (e.g. ⇧⌘P). */
74
+ declare function DropdownMenuShortcut({
75
+ className,
76
+ ...props
77
+ }: React.ComponentProps<"span">): react_jsx_runtime294.JSX.Element;
78
+ /** Root for a nested submenu; holds the sub-trigger and its sub-content. */
79
+ declare function DropdownMenuSub({
35
80
  ...props
36
- }: React.ComponentProps<"div">): react_jsx_runtime99.JSX.Element;
37
- /** Muted supporting copy explaining the empty state. */
38
- declare function EmptyDescription({
81
+ }: React.ComponentProps<typeof DropdownMenu.Sub>): react_jsx_runtime294.JSX.Element;
82
+ /** The item that opens a nested submenu, shown with a trailing chevron. */
83
+ declare function DropdownMenuSubTrigger({
39
84
  className,
85
+ /** Indents the trigger to align with rows that have a leading icon/indicator. */
86
+ inset,
87
+ children,
40
88
  ...props
41
- }: React.ComponentProps<"p">): react_jsx_runtime99.JSX.Element;
42
- /** Slot for actions or follow-up content below the header. */
43
- declare function EmptyContent({
89
+ }: React.ComponentProps<typeof DropdownMenu.SubTrigger> & {
90
+ inset?: boolean;
91
+ }): react_jsx_runtime294.JSX.Element;
92
+ /** The floating surface for a nested submenu's items. */
93
+ declare function DropdownMenuSubContent({
44
94
  className,
45
95
  ...props
46
- }: React.ComponentProps<"div">): react_jsx_runtime99.JSX.Element;
96
+ }: React.ComponentProps<typeof DropdownMenu.SubContent>): react_jsx_runtime294.JSX.Element;
47
97
  //#endregion
48
- export { EmptyMedia as a, EmptyHeader as i, EmptyContent as n, EmptyTitle as o, EmptyDescription as r, emptyVariants as s, Empty as t };
98
+ export { DropdownMenuItem as a, DropdownMenuRadioGroup as c, DropdownMenuShortcut as d, DropdownMenuSub as f, DropdownMenuTrigger as h, DropdownMenuGroup as i, DropdownMenuRadioItem as l, DropdownMenuSubTrigger as m, DropdownMenuCheckboxItem as n, DropdownMenuLabel as o, DropdownMenuSubContent as p, DropdownMenuContent as r, DropdownMenuPortal as s, DropdownMenu$1 as t, DropdownMenuSeparator as u };
49
99
  //# sourceMappingURL=index24.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index24.d.ts","names":[],"sources":["../src/primitives/Empty/Empty.tsx"],"mappings":";;;;;;cAKM;;IAgBL,+BAAA,CAAA;;AApBmC,iBAuB3B,KAAA,CAHR;EAAA,SAAA;;SAGa;EAAA,GAAA;AAAA,CAAA,EAKX,KAAA,CAAM,cALK,CAAA,KAAA,CAAA,GAKmB,Y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A,CAAsB,UAtHpB,CAAA,GAAA;EAAA,KAAA,CAAA,EAAA,OAAA;IAwHhC,oBAAA,CAAA,GAAA,CAAA,OAvHC;;iBAyIO,sBAAA,CAtIP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAyIC,KAAA,CAAM,cAzIP,CAAA,OAyI6B,YAAA,CAAsB,UAzInD,CAAA,CAAA,EAyI8D,oBAAA,CAAA,GAAA,CAAA,OAzI9D"}
@@ -1,17 +1,49 @@
1
- import * as react_jsx_runtime109 from "react/jsx-runtime";
2
- import { Label } from "radix-ui";
1
+ import * as react_jsx_runtime206 from "react/jsx-runtime";
2
+ import * as class_variance_authority_types19 from "class-variance-authority/types";
3
+ import { VariantProps } from "class-variance-authority";
3
4
  import * as React from "react";
4
5
 
5
- //#region src/primitives/Label/Label.d.ts
6
- /** Accessible form label (Radix `Label.Root`) that ties caption text to a control and dims when the associated field is disabled. */
7
- declare function Label$1({
6
+ //#region src/primitives/Empty/Empty.d.ts
7
+ declare const emptyVariants: (props?: ({
8
+ variant?: "default" | "outline" | "background" | "outline-dashed" | null | undefined;
9
+ } & class_variance_authority_types19.ClassProp) | undefined) => string;
10
+ /** Centered empty-state container; compose Header/Media/Title/Description/Content inside it. */
11
+ declare function Empty({
8
12
  className,
9
- align,
13
+ /** Container chrome: plain, bordered, muted background, or dashed border. */
14
+ variant,
10
15
  ...props
11
- }: React.ComponentProps<typeof Label.Root> & {
12
- /** Layout of the label: `block` (default, left-aligned inline-flex) or `inline` (full-width, centered text). */
13
- align?: "block" | "inline";
14
- }): react_jsx_runtime109.JSX.Element;
16
+ }: React.ComponentProps<"div"> & VariantProps<typeof emptyVariants>): react_jsx_runtime206.JSX.Element;
17
+ /** Groups the media, title, and description with centered alignment. */
18
+ declare function EmptyHeader({
19
+ className,
20
+ ...props
21
+ }: React.ComponentProps<"div">): react_jsx_runtime206.JSX.Element;
22
+ declare const emptyMediaVariants: (props?: ({
23
+ variant?: "default" | "icon" | null | undefined;
24
+ } & class_variance_authority_types19.ClassProp) | undefined) => string;
25
+ /** Holds the leading illustration or icon above the title. */
26
+ declare function EmptyMedia({
27
+ className,
28
+ /** Visual treatment: bare media or a rounded muted icon badge. */
29
+ variant,
30
+ ...props
31
+ }: React.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>): react_jsx_runtime206.JSX.Element;
32
+ /** The primary heading line of the empty state. */
33
+ declare function EmptyTitle({
34
+ className,
35
+ ...props
36
+ }: React.ComponentProps<"div">): react_jsx_runtime206.JSX.Element;
37
+ /** Muted supporting copy explaining the empty state. */
38
+ declare function EmptyDescription({
39
+ className,
40
+ ...props
41
+ }: React.ComponentProps<"p">): react_jsx_runtime206.JSX.Element;
42
+ /** Slot for actions or follow-up content below the header. */
43
+ declare function EmptyContent({
44
+ className,
45
+ ...props
46
+ }: React.ComponentProps<"div">): react_jsx_runtime206.JSX.Element;
15
47
  //#endregion
16
- export { Label$1 as t };
48
+ export { EmptyMedia as a, EmptyHeader as i, EmptyContent as n, EmptyTitle as o, EmptyDescription as r, emptyVariants as s, Empty as t };
17
49
  //# sourceMappingURL=index25.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index25.d.cts","names":[],"sources":["../src/primitives/Label/Label.tsx"],"mappings":";;;;;;iBAMS,OAAA;;;;GAIN,KAAA,CAAM,sBAAsB,KAAA,CAAe;;EAJrC,KAAA,CAAA,EAAA,OAAK,GAAA,QAAA;CAAA,CAAA,EAOb,oBAAA,CAAA,GAAA,CAAA,OAPa"}
1
+ {"version":3,"file":"index25.d.cts","names":[],"sources":["../src/primitives/Empty/Empty.tsx"],"mappings":";;;;;;cAKM;;IAgBL,gCAAA,CAAA;;AApBmC,iBAuB3B,KAAA,CAHR;EAAA,SAAA;;SAGa;EAAA,GAAA;AAAA,CAAA,EAKX,KAAA,CAAM,cALK,CAAA,KAAA,CAAA,GAKmB,YALnB,CAAA,OAKuC,aALvC,CAAA,CAAA,EAKqD,oBAAA,CAAA,GAAA,CAAA,OALrD;;iBAiBL,WAAA,CAdP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAc4C,KAAA,CAAM,cAdlD,CAAA,KAAA,CAAA,CAAA,EAcuE,oBAAA,CAAA,GAAA,CAAA,OAdvE;cAwBI,kBAtBG,EAAA,CAAA,KAAwB,CAAxB,EAAA,CAAA;SAA4C,CAAA,EAAA,SAAA,GAAA,MAAA,GAAA,IAAA,GAAA,SAAA;IAmCpD,gCAAA,CAAA,SAnCgC,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;;AAAkC,iBAsC1D,UAAA,CAtC0D;EAAA,SAAA;EAAA;SAY/C;EAAA,GAAA;AAAA,CAAA,EA+BjB,KAAA,CAAM,cA/BW,CAAA,KAAA,CAAA,GA+Ba,YA/Bb,CAAA,OA+BiC,kBA/BjC,CAAA,CAAA,EA+BoD,oBAAA,CAAA,GAAA,CAAA,OA/BpD;;iBA2CX,UAAA,CA3C2C;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA2CP,KAAA,CAAM,cA3CC,CAAA,KAAA,CAAA,CAAA,EA2CoB,oBAAA,CAAA,GAAA,CAAA,OA3CpB;;AAAqB,iBAsDhE,gBAAA,CAtDgE;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAsDtB,KAAA,CAAM,cAtDgB,CAAA,GAAA,CAAA,CAAA,EAsDG,oBAAA,CAAA,GAAA,CAAA,OAtDH;AAAA;iBAoEhE,YAAA,CA1CU;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA0C4B,KAAA,CAAM,cA1ClC,CAAA,KAAA,CAAA,CAAA,EA0CuD,oBAAA,CAAA,GAAA,CAAA,OA1CvD"}
package/dist/index25.d.ts CHANGED
@@ -1,17 +1,49 @@
1
+ import { VariantProps } from "class-variance-authority";
1
2
  import * as React from "react";
2
- import * as react_jsx_runtime75 from "react/jsx-runtime";
3
- import { Label } from "radix-ui";
3
+ import * as react_jsx_runtime285 from "react/jsx-runtime";
4
+ import * as class_variance_authority_types26 from "class-variance-authority/types";
4
5
 
5
- //#region src/primitives/Label/Label.d.ts
6
- /** Accessible form label (Radix `Label.Root`) that ties caption text to a control and dims when the associated field is disabled. */
7
- declare function Label$1({
6
+ //#region src/primitives/Empty/Empty.d.ts
7
+ declare const emptyVariants: (props?: ({
8
+ variant?: "default" | "outline" | "background" | "outline-dashed" | null | undefined;
9
+ } & class_variance_authority_types26.ClassProp) | undefined) => string;
10
+ /** Centered empty-state container; compose Header/Media/Title/Description/Content inside it. */
11
+ declare function Empty({
8
12
  className,
9
- align,
13
+ /** Container chrome: plain, bordered, muted background, or dashed border. */
14
+ variant,
10
15
  ...props
11
- }: React.ComponentProps<typeof Label.Root> & {
12
- /** Layout of the label: `block` (default, left-aligned inline-flex) or `inline` (full-width, centered text). */
13
- align?: "block" | "inline";
14
- }): react_jsx_runtime75.JSX.Element;
16
+ }: React.ComponentProps<"div"> & VariantProps<typeof emptyVariants>): react_jsx_runtime285.JSX.Element;
17
+ /** Groups the media, title, and description with centered alignment. */
18
+ declare function EmptyHeader({
19
+ className,
20
+ ...props
21
+ }: React.ComponentProps<"div">): react_jsx_runtime285.JSX.Element;
22
+ declare const emptyMediaVariants: (props?: ({
23
+ variant?: "default" | "icon" | null | undefined;
24
+ } & class_variance_authority_types26.ClassProp) | undefined) => string;
25
+ /** Holds the leading illustration or icon above the title. */
26
+ declare function EmptyMedia({
27
+ className,
28
+ /** Visual treatment: bare media or a rounded muted icon badge. */
29
+ variant,
30
+ ...props
31
+ }: React.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>): react_jsx_runtime285.JSX.Element;
32
+ /** The primary heading line of the empty state. */
33
+ declare function EmptyTitle({
34
+ className,
35
+ ...props
36
+ }: React.ComponentProps<"div">): react_jsx_runtime285.JSX.Element;
37
+ /** Muted supporting copy explaining the empty state. */
38
+ declare function EmptyDescription({
39
+ className,
40
+ ...props
41
+ }: React.ComponentProps<"p">): react_jsx_runtime285.JSX.Element;
42
+ /** Slot for actions or follow-up content below the header. */
43
+ declare function EmptyContent({
44
+ className,
45
+ ...props
46
+ }: React.ComponentProps<"div">): react_jsx_runtime285.JSX.Element;
15
47
  //#endregion
16
- export { Label$1 as t };
48
+ export { EmptyMedia as a, EmptyHeader as i, EmptyContent as n, EmptyTitle as o, EmptyDescription as r, emptyVariants as s, Empty as t };
17
49
  //# sourceMappingURL=index25.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index25.d.ts","names":[],"sources":["../src/primitives/Label/Label.tsx"],"mappings":";;;;;;iBAMS,OAAA;;;;GAIN,KAAA,CAAM,sBAAsB,KAAA,CAAe;;EAJrC,KAAA,CAAA,EAAA,OAAK,GAAA,QAAA;CAAA,CAAA,EAOb,mBAAA,CAAA,GAAA,CAAA,OAPa"}
1
+ {"version":3,"file":"index25.d.ts","names":[],"sources":["../src/primitives/Empty/Empty.tsx"],"mappings":";;;;;;cAKM;;IAgBL,gCAAA,CAAA;;AApBmC,iBAuB3B,KAAA,CAHR;EAAA,SAAA;;SAGa;EAAA,GAAA;AAAA,CAAA,EAKX,KAAA,CAAM,cALK,CAAA,KAAA,CAAA,GAKmB,YALnB,CAAA,OAKuC,aALvC,CAAA,CAAA,EAKqD,oBAAA,CAAA,GAAA,CAAA,OALrD;;iBAiBL,WAAA,CAdP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAc4C,KAAA,CAAM,cAdlD,CAAA,KAAA,CAAA,CAAA,EAcuE,oBAAA,CAAA,GAAA,CAAA,OAdvE;cAwBI,kBAtBG,EAAA,CAAA,KAAwB,CAAxB,EAAA,CAAA;SAA4C,CAAA,EAAA,SAAA,GAAA,MAAA,GAAA,IAAA,GAAA,SAAA;IAmCpD,gCAAA,CAAA,SAnCgC,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;;AAAkC,iBAsC1D,UAAA,CAtC0D;EAAA,SAAA;EAAA;SAY/C;EAAA,GAAA;AAAA,CAAA,EA+BjB,KAAA,CAAM,cA/BW,CAAA,KAAA,CAAA,GA+Ba,YA/Bb,CAAA,OA+BiC,kBA/BjC,CAAA,CAAA,EA+BoD,oBAAA,CAAA,GAAA,CAAA,OA/BpD;;iBA2CX,UAAA,CA3C2C;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA2CP,KAAA,CAAM,cA3CC,CAAA,KAAA,CAAA,CAAA,EA2CoB,oBAAA,CAAA,GAAA,CAAA,OA3CpB;;AAAqB,iBAsDhE,gBAAA,CAtDgE;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAsDtB,KAAA,CAAM,cAtDgB,CAAA,GAAA,CAAA,CAAA,EAsDG,oBAAA,CAAA,GAAA,CAAA,OAtDH;AAAA;iBAoEhE,YAAA,CA1CU;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA0C4B,KAAA,CAAM,cA1ClC,CAAA,KAAA,CAAA,CAAA,EA0CuD,oBAAA,CAAA,GAAA,CAAA,OA1CvD"}
@@ -1,80 +1,17 @@
1
- import { t as Label } from "./index25.cjs";
2
- import * as react_jsx_runtime274 from "react/jsx-runtime";
3
- import * as class_variance_authority_types27 from "class-variance-authority/types";
4
- import { VariantProps } from "class-variance-authority";
1
+ import * as react_jsx_runtime91 from "react/jsx-runtime";
2
+ import { Label } from "radix-ui";
5
3
  import * as React from "react";
6
4
 
7
- //#region src/primitives/Field/Field.d.ts
8
- /** A `<fieldset>` wrapper that groups related fields with consistent spacing. */
9
- declare function FieldSet({
5
+ //#region src/primitives/Label/Label.d.ts
6
+ /** Accessible form label (Radix `Label.Root`) that ties caption text to a control and dims when the associated field is disabled. */
7
+ declare function Label$1({
10
8
  className,
9
+ align,
11
10
  ...props
12
- }: React.ComponentProps<"fieldset">): react_jsx_runtime274.JSX.Element;
13
- /** The caption for a `FieldSet`, rendered as a `<legend>`. */
14
- declare function FieldLegend({
15
- className,
16
- variant,
17
- ...props
18
- }: React.ComponentProps<"legend"> & {
19
- /** Visual scale of the legend: section header (`legend`) or smaller label-sized (`label`). */
20
- variant?: "legend" | "label";
21
- }): react_jsx_runtime274.JSX.Element;
22
- /** A container that stacks multiple `Field`s with group-level spacing and a responsive container. */
23
- declare function FieldGroup({
24
- className,
25
- ...props
26
- }: React.ComponentProps<"div">): react_jsx_runtime274.JSX.Element;
27
- declare const fieldVariants: (props?: ({
28
- orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
29
- } & class_variance_authority_types27.ClassProp) | undefined) => string;
30
- /** A single labelled form field that lays out a control with its label, description, and error. */
31
- declare function Field({
32
- className,
33
- /** Layout direction of the label/control: stacked (`vertical`), side-by-side (`horizontal`), or `responsive`. */
34
- orientation,
35
- ...props
36
- }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): react_jsx_runtime274.JSX.Element;
37
- /** Stacks a label and description next to a control (used in horizontal checkbox/radio fields). */
38
- declare function FieldContent({
39
- className,
40
- ...props
41
- }: React.ComponentProps<"div">): react_jsx_runtime274.JSX.Element;
42
- /** The accessible label for a field's control; wraps the `Label` primitive. */
43
- declare function FieldLabel({
44
- className,
45
- ...props
46
- }: React.ComponentProps<typeof Label>): react_jsx_runtime274.JSX.Element;
47
- /** A non-`<label>` title for a field group, styled like a label but not bound to a control. */
48
- declare function FieldTitle({
49
- className,
50
- ...props
51
- }: React.ComponentProps<"div">): react_jsx_runtime274.JSX.Element;
52
- /** Muted helper text shown beneath (or beside) a field's control. */
53
- declare function FieldDescription({
54
- className,
55
- ...props
56
- }: React.ComponentProps<"p">): react_jsx_runtime274.JSX.Element;
57
- /** A horizontal divider between groups of fields, optionally with centered label content. */
58
- declare function FieldSeparator({
59
- children,
60
- className,
61
- ...props
62
- }: React.ComponentProps<"div"> & {
63
- /** Optional label rendered centered over the divider line. */
64
- children?: React.ReactNode;
65
- }): react_jsx_runtime274.JSX.Element;
66
- /** A destructive `role="alert"` message for a field, rendered from `children` or a list of `errors`. */
67
- declare function FieldError({
68
- className,
69
- children,
70
- errors,
71
- ...props
72
- }: React.ComponentProps<"div"> & {
73
- /** Validation errors to render; deduped by message and listed when more than one. Ignored if `children` is provided. */
74
- errors?: Array<{
75
- message?: string;
76
- } | undefined>;
77
- }): react_jsx_runtime274.JSX.Element | null;
11
+ }: React.ComponentProps<typeof Label.Root> & {
12
+ /** Layout of the label: `block` (default, left-aligned inline-flex) or `inline` (full-width, centered text). */
13
+ align?: "block" | "inline";
14
+ }): react_jsx_runtime91.JSX.Element;
78
15
  //#endregion
79
- export { FieldGroup as a, FieldSeparator as c, FieldError as i, FieldSet as l, FieldContent as n, FieldLabel as o, FieldDescription as r, FieldLegend as s, Field as t, FieldTitle as u };
16
+ export { Label$1 as t };
80
17
  //# sourceMappingURL=index26.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index26.d.cts","names":[],"sources":["../src/primitives/Field/Field.tsx"],"mappings":";;;;;;;;iBAWS,QAAA;;;GAAkC,KAAA,CAAM,6BAA0B,oBAAA,CAAA,GAAA,CAAA;;iBAelE,WAAA;;;;GAIN,KAAA,CAAM;EAnBA;EAAQ,OAAA,CAAA,EAAA,QAAA,GAAA,OAAA;IAsBhB,oBAAA,CAAA,GAAA,CAAA,OAtBmB;;iBAuCX,UAAA,CAvCkE;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAuC9B,KAAA,CAAM,cAvCwB,CAAA,KAAA,CAAA,CAAA,EAuCH,oBAAA,CAAA,GAAA,CAAA,OAvCG;AAAA,cAoDrE,aApDqE,EAAA,CAAA,KAevD,CAfuD,EAAA,CAAA;EAelE,WAAA,CAAA,EAAW,YAAA,GAAA,UAAA,GAAA,YAAA,GAAA,IAAA,GAAA,SAAA;CAAA,GAwDlB,gCAAA,CAAA,SAxDkB,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;;iBA2DX,KAAA,CAzDP;EAAA,SAAA;;aAKD;EAAA,GAAA;AAAA,CAAA,EAyDE,KAAA,CAAM,cAzDR,CAAA,KAAA,CAAA,GAyDgC,YAzDhC,CAAA,OAyDoD,aAzDpD,CAAA,CAAA,EAyDkE,oBAAA,CAAA,GAAA,CAAA,OAzD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AIN,KAAA,CAAM,sBAAsB,KAAA,CAAe;;EAJrC,KAAA,CAAA,EAAA,OAAK,GAAA,QAAA;CAAA,CAAA,EAOb,mBAAA,CAAA,GAAA,CAAA,OAPa"}
package/dist/index26.d.ts CHANGED
@@ -1,80 +1,17 @@
1
- import { t as Label } from "./index25.js";
2
- import { VariantProps } from "class-variance-authority";
3
1
  import * as React from "react";
4
- import * as react_jsx_runtime89 from "react/jsx-runtime";
5
- import * as class_variance_authority_types6 from "class-variance-authority/types";
2
+ import * as react_jsx_runtime87 from "react/jsx-runtime";
3
+ import { Label } from "radix-ui";
6
4
 
7
- //#region src/primitives/Field/Field.d.ts
8
- /** A `<fieldset>` wrapper that groups related fields with consistent spacing. */
9
- declare function FieldSet({
5
+ //#region src/primitives/Label/Label.d.ts
6
+ /** Accessible form label (Radix `Label.Root`) that ties caption text to a control and dims when the associated field is disabled. */
7
+ declare function Label$1({
10
8
  className,
9
+ align,
11
10
  ...props
12
- }: React.ComponentProps<"fieldset">): react_jsx_runtime89.JSX.Element;
13
- /** The caption for a `FieldSet`, rendered as a `<legend>`. */
14
- declare function FieldLegend({
15
- className,
16
- variant,
17
- ...props
18
- }: React.ComponentProps<"legend"> & {
19
- /** Visual scale of the legend: section header (`legend`) or smaller label-sized (`label`). */
20
- variant?: "legend" | "label";
21
- }): react_jsx_runtime89.JSX.Element;
22
- /** A container that stacks multiple `Field`s with group-level spacing and a responsive container. */
23
- declare function FieldGroup({
24
- className,
25
- ...props
26
- }: React.ComponentProps<"div">): react_jsx_runtime89.JSX.Element;
27
- declare const fieldVariants: (props?: ({
28
- orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
29
- } & class_variance_authority_types6.ClassProp) | undefined) => string;
30
- /** A single labelled form field that lays out a control with its label, description, and error. */
31
- declare function Field({
32
- className,
33
- /** Layout direction of the label/control: stacked (`vertical`), side-by-side (`horizontal`), or `responsive`. */
34
- orientation,
35
- ...props
36
- }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): react_jsx_runtime89.JSX.Element;
37
- /** Stacks a label and description next to a control (used in horizontal checkbox/radio fields). */
38
- declare function FieldContent({
39
- className,
40
- ...props
41
- }: React.ComponentProps<"div">): react_jsx_runtime89.JSX.Element;
42
- /** The accessible label for a field's control; wraps the `Label` primitive. */
43
- declare function FieldLabel({
44
- className,
45
- ...props
46
- }: React.ComponentProps<typeof Label>): react_jsx_runtime89.JSX.Element;
47
- /** A non-`<label>` title for a field group, styled like a label but not bound to a control. */
48
- declare function FieldTitle({
49
- className,
50
- ...props
51
- }: React.ComponentProps<"div">): react_jsx_runtime89.JSX.Element;
52
- /** Muted helper text shown beneath (or beside) a field's control. */
53
- declare function FieldDescription({
54
- className,
55
- ...props
56
- }: React.ComponentProps<"p">): react_jsx_runtime89.JSX.Element;
57
- /** A horizontal divider between groups of fields, optionally with centered label content. */
58
- declare function FieldSeparator({
59
- children,
60
- className,
61
- ...props
62
- }: React.ComponentProps<"div"> & {
63
- /** Optional label rendered centered over the divider line. */
64
- children?: React.ReactNode;
65
- }): react_jsx_runtime89.JSX.Element;
66
- /** A destructive `role="alert"` message for a field, rendered from `children` or a list of `errors`. */
67
- declare function FieldError({
68
- className,
69
- children,
70
- errors,
71
- ...props
72
- }: React.ComponentProps<"div"> & {
73
- /** Validation errors to render; deduped by message and listed when more than one. Ignored if `children` is provided. */
74
- errors?: Array<{
75
- message?: string;
76
- } | undefined>;
77
- }): react_jsx_runtime89.JSX.Element | null;
11
+ }: React.ComponentProps<typeof Label.Root> & {
12
+ /** Layout of the label: `block` (default, left-aligned inline-flex) or `inline` (full-width, centered text). */
13
+ align?: "block" | "inline";
14
+ }): react_jsx_runtime87.JSX.Element;
78
15
  //#endregion
79
- export { FieldGroup as a, FieldSeparator as c, FieldError as i, FieldSet as l, FieldContent as n, FieldLabel as o, FieldDescription as r, FieldLegend as s, Field as t, FieldTitle as u };
16
+ export { Label$1 as t };
80
17
  //# sourceMappingURL=index26.d.ts.map
@@ -1 +1 @@
1
- {"version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CAAM,cAhFqB,CAAA,KAAA,CAAA,CAAA,EAgFA,mBAAA,CAAA,GAAA,CAAA,OAhFA;AAAA;AAAA,iBA8F/D,gBAAA,CA9DP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA8DiD,KAAA,CAAM,cA9DvD,CAAA,GAAA,CAAA,CAAA,EA8D0E,mBAAA,CAAA,GAAA,CAAA,OA9D1E;;iBA8EO,cAAA,CA3EK;EAAA,QAAA;EAAA,SAAA;EAAA,GAAA;CAAA,EA+EX,KAAA,CAAM,cA/EK,CAAA,KAAA,CAAA,GAAA;;UAGZ,CAAA,EA8EW,KAAA,CAAM,SA9EjB;IA+ED,mBAAA,CAAA,GAAA,CAAA,OA7EQ;;iBAsGA,UAAA,CAtGwB;EAAA,SAAA;EAAA,QAAA;EAAA,MAAA;EAAA,GAAA;CAAA,EA2G9B,KAAA,CAAM,cA3GwB,CAAA,KAAA,CAAA,GAAA;;EAAkC,MAAA,CAAA,EA6GxD,KA7GwD,CAAA;IAa1D,OAAA,CAAA,EAAA,MAAY;EAAA,CAAA,GAAA,SAAA,CAAA;IAiGpB,mBAAA,CAAA,GAAA,CAAA,OAAA,GAjGuB,IAAA"}
1
+ {"version":3,"file":"index26.d.ts","names":[],"sources":["../src/primitives/Label/Label.tsx"],"mappings":";;;;;;iBAMS,OAAA;;;;GAIN,KAAA,CAAM,sBAAsB,KAAA,CAAe;;EAJrC,KAAA,CAAA,EAAA,OAAK,GAAA,QAAA;CAAA,CAAA,EAOb,mBAAA,CAAA,GAAA,CAAA,OAPa"}
@@ -1,71 +1,80 @@
1
- import { i as FieldError, o as FieldLabel, r as FieldDescription, t as Field } from "./index26.cjs";
2
- import * as react_jsx_runtime169 from "react/jsx-runtime";
3
- import { Slot } from "radix-ui";
1
+ import { t as Label } from "./index26.cjs";
2
+ import * as react_jsx_runtime147 from "react/jsx-runtime";
3
+ import * as class_variance_authority_types18 from "class-variance-authority/types";
4
+ import { VariantProps } from "class-variance-authority";
4
5
  import * as React from "react";
5
- import * as react_hook_form0 from "react-hook-form";
6
- import { ControllerProps, FieldPath, FieldValues } from "react-hook-form";
7
6
 
8
- //#region src/primitives/Form/Form.d.ts
9
- /** Root provider that shares one react-hook-form instance with all nested form pieces. */
10
- declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>({
11
- children,
12
- watch,
13
- getValues,
14
- getFieldState,
15
- setError,
16
- clearErrors,
17
- setValue,
18
- setValues,
19
- trigger,
20
- formState,
21
- resetField,
22
- reset,
23
- handleSubmit,
24
- unregister,
25
- control,
26
- register,
27
- setFocus,
28
- subscribe
29
- }: react_hook_form0.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
30
- /** Connects a single input to the form via RHF's `Controller`, exposing `field` to its render prop. */
31
- declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({
7
+ //#region src/primitives/Field/Field.d.ts
8
+ /** A `<fieldset>` wrapper that groups related fields with consistent spacing. */
9
+ declare function FieldSet({
10
+ className,
11
+ ...props
12
+ }: React.ComponentProps<"fieldset">): react_jsx_runtime147.JSX.Element;
13
+ /** The caption for a `FieldSet`, rendered as a `<legend>`. */
14
+ declare function FieldLegend({
15
+ className,
16
+ variant,
32
17
  ...props
33
- }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime169.JSX.Element;
34
- /** Hook for form pieces to read the current field's id, name, ARIA ids, and validation state. */
35
- declare const useFormField: () => {
36
- invalid: boolean;
37
- isDirty: boolean;
38
- isTouched: boolean;
39
- isValidating: boolean;
40
- error?: react_hook_form0.FieldError;
41
- id: string;
42
- name: string;
43
- formItemId: string;
44
- formDescriptionId: string;
45
- formMessageId: string;
46
- };
47
- /** Wraps one field, generating an id so its label, control, and messages stay linked. */
48
- declare function FormItem({
18
+ }: React.ComponentProps<"legend"> & {
19
+ /** Visual scale of the legend: section header (`legend`) or smaller label-sized (`label`). */
20
+ variant?: "legend" | "label";
21
+ }): react_jsx_runtime147.JSX.Element;
22
+ /** A container that stacks multiple `Field`s with group-level spacing and a responsive container. */
23
+ declare function FieldGroup({
24
+ className,
49
25
  ...props
50
- }: React.ComponentProps<typeof Field>): react_jsx_runtime169.JSX.Element;
51
- /** Field label wired to the control's id and tinted destructive when the field is invalid. */
52
- declare function FormLabel({
26
+ }: React.ComponentProps<"div">): react_jsx_runtime147.JSX.Element;
27
+ declare const fieldVariants: (props?: ({
28
+ orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
29
+ } & class_variance_authority_types18.ClassProp) | undefined) => string;
30
+ /** A single labelled form field that lays out a control with its label, description, and error. */
31
+ declare function Field({
53
32
  className,
33
+ /** Layout direction of the label/control: stacked (`vertical`), side-by-side (`horizontal`), or `responsive`. */
34
+ orientation,
54
35
  ...props
55
- }: React.ComponentProps<typeof FieldLabel>): react_jsx_runtime169.JSX.Element;
56
- /** Slots the actual input, applying the field's id, `aria-describedby`, and `aria-invalid`. */
57
- declare function FormControl({
36
+ }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): react_jsx_runtime147.JSX.Element;
37
+ /** Stacks a label and description next to a control (used in horizontal checkbox/radio fields). */
38
+ declare function FieldContent({
39
+ className,
58
40
  ...props
59
- }: React.ComponentProps<typeof Slot.Root>): react_jsx_runtime169.JSX.Element;
60
- /** Helper text for a field, linked to its control via `aria-describedby`. */
61
- declare function FormDescription({
41
+ }: React.ComponentProps<"div">): react_jsx_runtime147.JSX.Element;
42
+ /** The accessible label for a field's control; wraps the `Label` primitive. */
43
+ declare function FieldLabel({
44
+ className,
62
45
  ...props
63
- }: React.ComponentProps<typeof FieldDescription>): react_jsx_runtime169.JSX.Element;
64
- /** Renders the field's validation error (or `children`), and nothing when there is no message. */
65
- declare function FormMessage({
46
+ }: React.ComponentProps<typeof Label>): react_jsx_runtime147.JSX.Element;
47
+ /** A non-`<label>` title for a field group, styled like a label but not bound to a control. */
48
+ declare function FieldTitle({
49
+ className,
50
+ ...props
51
+ }: React.ComponentProps<"div">): react_jsx_runtime147.JSX.Element;
52
+ /** Muted helper text shown beneath (or beside) a field's control. */
53
+ declare function FieldDescription({
54
+ className,
55
+ ...props
56
+ }: React.ComponentProps<"p">): react_jsx_runtime147.JSX.Element;
57
+ /** A horizontal divider between groups of fields, optionally with centered label content. */
58
+ declare function FieldSeparator({
59
+ children,
60
+ className,
61
+ ...props
62
+ }: React.ComponentProps<"div"> & {
63
+ /** Optional label rendered centered over the divider line. */
64
+ children?: React.ReactNode;
65
+ }): react_jsx_runtime147.JSX.Element;
66
+ /** A destructive `role="alert"` message for a field, rendered from `children` or a list of `errors`. */
67
+ declare function FieldError({
68
+ className,
66
69
  children,
70
+ errors,
67
71
  ...props
68
- }: React.ComponentProps<typeof FieldError>): react_jsx_runtime169.JSX.Element | null;
72
+ }: React.ComponentProps<"div"> & {
73
+ /** Validation errors to render; deduped by message and listed when more than one. Ignored if `children` is provided. */
74
+ errors?: Array<{
75
+ message?: string;
76
+ } | undefined>;
77
+ }): react_jsx_runtime147.JSX.Element | null;
69
78
  //#endregion
70
- export { FormItem as a, useFormField as c, FormField as i, FormControl as n, FormLabel as o, FormDescription as r, FormMessage as s, Form as t };
79
+ export { FieldGroup as a, FieldSeparator as c, FieldError as i, FieldSet as l, FieldContent as n, FieldLabel as o, FieldDescription as r, FieldLegend as s, Field as t, FieldTitle as u };
71
80
  //# sourceMappingURL=index27.d.cts.map