@womp/kookie-ui 0.35.7 → 0.37.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 (370) hide show
  1. package/components.css +12 -20
  2. package/dist/cjs/components/_internal/base-menu.utils.js +1 -1
  3. package/dist/cjs/components/_internal/base-menu.utils.js.map +2 -2
  4. package/dist/cjs/components/_internal/menu-context.js +1 -1
  5. package/dist/cjs/components/_internal/menu-context.js.map +2 -2
  6. package/dist/cjs/components/_internal/pane-chrome.js +1 -1
  7. package/dist/cjs/components/_internal/pane-chrome.js.map +2 -2
  8. package/dist/cjs/components/_internal/shell-bottom.d.ts +3 -3
  9. package/dist/cjs/components/_internal/shell-bottom.d.ts.map +1 -1
  10. package/dist/cjs/components/_internal/shell-bottom.js +1 -1
  11. package/dist/cjs/components/_internal/shell-bottom.js.map +3 -3
  12. package/dist/cjs/components/_internal/shell-handles.d.ts.map +1 -1
  13. package/dist/cjs/components/_internal/shell-handles.js +1 -1
  14. package/dist/cjs/components/_internal/shell-handles.js.map +3 -3
  15. package/dist/cjs/components/_internal/shell-inspector.d.ts +3 -3
  16. package/dist/cjs/components/_internal/shell-inspector.d.ts.map +1 -1
  17. package/dist/cjs/components/_internal/shell-inspector.js +1 -1
  18. package/dist/cjs/components/_internal/shell-inspector.js.map +3 -3
  19. package/dist/cjs/components/_internal/shell-pane.d.ts +2 -7
  20. package/dist/cjs/components/_internal/shell-pane.d.ts.map +1 -1
  21. package/dist/cjs/components/_internal/shell-pane.js +1 -1
  22. package/dist/cjs/components/_internal/shell-pane.js.map +3 -3
  23. package/dist/cjs/components/_internal/shell-resizable.d.ts +3 -9
  24. package/dist/cjs/components/_internal/shell-resizable.d.ts.map +1 -1
  25. package/dist/cjs/components/_internal/shell-resizable.js +1 -1
  26. package/dist/cjs/components/_internal/shell-resizable.js.map +3 -3
  27. package/dist/cjs/components/_internal/shell-resize.d.ts +0 -4
  28. package/dist/cjs/components/_internal/shell-resize.d.ts.map +1 -1
  29. package/dist/cjs/components/_internal/shell-resize.js +1 -1
  30. package/dist/cjs/components/_internal/shell-resize.js.map +2 -2
  31. package/dist/cjs/components/_internal/shell-rest.d.ts +1 -6
  32. package/dist/cjs/components/_internal/shell-rest.d.ts.map +1 -1
  33. package/dist/cjs/components/_internal/shell-rest.js +1 -1
  34. package/dist/cjs/components/_internal/shell-rest.js.map +3 -3
  35. package/dist/cjs/components/_internal/shell-sidebar.d.ts +3 -3
  36. package/dist/cjs/components/_internal/shell-sidebar.d.ts.map +1 -1
  37. package/dist/cjs/components/_internal/shell-sidebar.js +1 -1
  38. package/dist/cjs/components/_internal/shell-sidebar.js.map +3 -3
  39. package/dist/cjs/components/_internal/shell-store.d.ts +0 -10
  40. package/dist/cjs/components/_internal/shell-store.d.ts.map +1 -1
  41. package/dist/cjs/components/_internal/shell-store.js +1 -1
  42. package/dist/cjs/components/_internal/shell-store.js.map +3 -3
  43. package/dist/cjs/components/_internal/use-close-warning.d.ts +12 -0
  44. package/dist/cjs/components/_internal/use-close-warning.d.ts.map +1 -0
  45. package/dist/cjs/components/_internal/use-close-warning.js +3 -0
  46. package/dist/cjs/components/_internal/use-close-warning.js.map +7 -0
  47. package/dist/cjs/components/checkbox-group.js +1 -1
  48. package/dist/cjs/components/checkbox-group.js.map +3 -3
  49. package/dist/cjs/components/checkbox-group.primitive.d.ts +0 -10
  50. package/dist/cjs/components/checkbox-group.primitive.d.ts.map +1 -1
  51. package/dist/cjs/components/checkbox-group.primitive.js +1 -1
  52. package/dist/cjs/components/checkbox-group.primitive.js.map +3 -3
  53. package/dist/cjs/components/context-menu.d.ts +1 -5
  54. package/dist/cjs/components/context-menu.d.ts.map +1 -1
  55. package/dist/cjs/components/context-menu.js +1 -1
  56. package/dist/cjs/components/context-menu.js.map +3 -3
  57. package/dist/cjs/components/dialog.d.ts.map +1 -1
  58. package/dist/cjs/components/dialog.js +1 -1
  59. package/dist/cjs/components/dialog.js.map +4 -4
  60. package/dist/cjs/components/dropdown-menu.js +1 -1
  61. package/dist/cjs/components/dropdown-menu.js.map +2 -2
  62. package/dist/cjs/components/index.js +2 -2
  63. package/dist/cjs/components/index.js.map +4 -4
  64. package/dist/cjs/components/navigator.js.map +2 -2
  65. package/dist/cjs/components/schemas/index.d.ts +1 -1
  66. package/dist/cjs/components/schemas/index.d.ts.map +1 -1
  67. package/dist/cjs/components/schemas/index.js +1 -1
  68. package/dist/cjs/components/schemas/index.js.map +3 -3
  69. package/dist/cjs/components/schemas/shell.schema.d.ts +6 -112
  70. package/dist/cjs/components/schemas/shell.schema.d.ts.map +1 -1
  71. package/dist/cjs/components/schemas/shell.schema.js +1 -1
  72. package/dist/cjs/components/schemas/shell.schema.js.map +3 -3
  73. package/dist/cjs/components/separator.js +1 -1
  74. package/dist/cjs/components/separator.js.map +2 -2
  75. package/dist/cjs/components/sheet.d.ts +7 -4
  76. package/dist/cjs/components/sheet.d.ts.map +1 -1
  77. package/dist/cjs/components/sheet.js +1 -1
  78. package/dist/cjs/components/sheet.js.map +4 -4
  79. package/dist/cjs/components/shell.context.d.ts +1 -45
  80. package/dist/cjs/components/shell.context.d.ts.map +1 -1
  81. package/dist/cjs/components/shell.context.js +1 -1
  82. package/dist/cjs/components/shell.context.js.map +4 -4
  83. package/dist/cjs/components/shell.d.ts +7 -37
  84. package/dist/cjs/components/shell.d.ts.map +1 -1
  85. package/dist/cjs/components/shell.js +1 -1
  86. package/dist/cjs/components/shell.js.map +4 -4
  87. package/dist/cjs/components/shell.types.d.ts +6 -27
  88. package/dist/cjs/components/shell.types.d.ts.map +1 -1
  89. package/dist/cjs/components/shell.types.js +1 -1
  90. package/dist/cjs/components/shell.types.js.map +2 -2
  91. package/dist/cjs/components/sidebar.js +1 -1
  92. package/dist/cjs/components/sidebar.js.map +2 -2
  93. package/dist/cjs/components/toolbar.js +1 -1
  94. package/dist/cjs/components/toolbar.js.map +2 -2
  95. package/dist/cjs/hooks/use-breakpoint.js +1 -1
  96. package/dist/cjs/hooks/use-breakpoint.js.map +2 -2
  97. package/dist/cjs/index.js +4 -4
  98. package/dist/cjs/index.js.map +4 -4
  99. package/dist/esm/{chunk-LR4X7SVV.js → chunk-2K46JPUL.js} +2 -2
  100. package/dist/esm/chunk-3K7E4XL3.js +3 -0
  101. package/dist/esm/chunk-3K7E4XL3.js.map +7 -0
  102. package/dist/esm/chunk-3LR7KMBE.js +3 -0
  103. package/dist/esm/chunk-3LR7KMBE.js.map +7 -0
  104. package/dist/esm/{chunk-HGF4CKRY.js → chunk-3ZBEWLSO.js} +2 -2
  105. package/dist/esm/{chunk-26O4RBOJ.js → chunk-5BABJBV3.js} +2 -2
  106. package/dist/esm/{chunk-5APRBJRR.js → chunk-5GTQXMS2.js} +2 -2
  107. package/dist/esm/chunk-5U2LEJLU.js +3 -0
  108. package/dist/esm/chunk-5U2LEJLU.js.map +7 -0
  109. package/dist/esm/{chunk-KBSH6CBD.js → chunk-5XO3PLDH.js} +2 -2
  110. package/dist/esm/{chunk-SGKLJDA3.js → chunk-74JANLVU.js} +2 -2
  111. package/dist/esm/{chunk-TUZ665BA.js → chunk-7E3ZOVRL.js} +2 -2
  112. package/dist/esm/{chunk-COLJWVN7.js → chunk-AQR42GKA.js} +2 -2
  113. package/dist/esm/{chunk-FTNZWAPB.js → chunk-ARPUPT4M.js} +2 -2
  114. package/dist/esm/{chunk-OMPLFDS6.js → chunk-ASBTPKH3.js} +2 -2
  115. package/dist/esm/{chunk-JFJV4HL3.js → chunk-CFXFWIRM.js} +2 -2
  116. package/dist/esm/{chunk-YLGIP3A5.js → chunk-CJZGEHVB.js} +2 -2
  117. package/dist/esm/{chunk-ISCZ57VL.js → chunk-DJGZ4K3V.js} +2 -2
  118. package/dist/esm/{chunk-PMXIQ5B4.js → chunk-FKCKELUB.js} +2 -2
  119. package/dist/esm/{chunk-Y5ITMKC6.js → chunk-G7S2BMS3.js} +2 -2
  120. package/dist/esm/{chunk-SR42NATX.js → chunk-GHIHF55B.js} +2 -2
  121. package/dist/esm/chunk-H7GH3DTF.js +3 -0
  122. package/dist/esm/chunk-H7GH3DTF.js.map +7 -0
  123. package/dist/esm/{chunk-C6VGCYFQ.js → chunk-HNOT2HS4.js} +2 -2
  124. package/dist/esm/chunk-HWT2K2XR.js +3 -0
  125. package/dist/esm/chunk-HWT2K2XR.js.map +7 -0
  126. package/dist/esm/{chunk-D42VCLKH.js → chunk-ICO5ULJL.js} +2 -2
  127. package/dist/esm/{chunk-FYZXC7AL.js → chunk-JJVAVLCN.js} +2 -2
  128. package/dist/esm/chunk-LBAC2X4U.js +3 -0
  129. package/dist/esm/{chunk-5BXCPANF.js.map → chunk-LBAC2X4U.js.map} +3 -3
  130. package/dist/esm/{chunk-R4DMVTM3.js → chunk-M6THDAMU.js} +2 -2
  131. package/dist/esm/{chunk-MAA6LEE2.js → chunk-MDQ7ZHOS.js} +1 -1
  132. package/dist/esm/chunk-MDQ7ZHOS.js.map +7 -0
  133. package/dist/esm/chunk-MQA3BKF4.js +3 -0
  134. package/dist/esm/chunk-MQA3BKF4.js.map +7 -0
  135. package/dist/esm/{chunk-VBF3XALY.js → chunk-MS2ONKJJ.js} +2 -2
  136. package/dist/esm/chunk-MXNPCJPV.js +3 -0
  137. package/dist/esm/chunk-MXNPCJPV.js.map +7 -0
  138. package/dist/esm/{chunk-XFMAA4MD.js → chunk-NJG42JDM.js} +2 -2
  139. package/dist/esm/{chunk-NJ7RQYLX.js → chunk-OIJQSUUM.js} +2 -2
  140. package/dist/esm/{chunk-VYF6KKYM.js → chunk-ONJYRJ66.js} +2 -2
  141. package/dist/esm/chunk-PIVHOUEA.js +3 -0
  142. package/dist/esm/chunk-PIVHOUEA.js.map +7 -0
  143. package/dist/esm/{chunk-UH6CJXHY.js → chunk-QPGW6RJG.js} +2 -2
  144. package/dist/esm/{chunk-EB4AG3OL.js → chunk-REELD6CT.js} +2 -2
  145. package/dist/esm/chunk-RYXIRZQW.js +3 -0
  146. package/dist/esm/chunk-RYXIRZQW.js.map +7 -0
  147. package/dist/esm/chunk-S66WR5R7.js +3 -0
  148. package/dist/esm/{chunk-MXEOE4LA.js.map → chunk-S66WR5R7.js.map} +2 -2
  149. package/dist/esm/chunk-SECVO3CW.js +3 -0
  150. package/dist/esm/chunk-SECVO3CW.js.map +7 -0
  151. package/dist/esm/chunk-SHDZYFUN.js +3 -0
  152. package/dist/esm/chunk-SHDZYFUN.js.map +7 -0
  153. package/dist/esm/{chunk-3M5ZM67R.js → chunk-TCFBNE6A.js} +2 -2
  154. package/dist/esm/chunk-U7P64MXD.js +3 -0
  155. package/dist/esm/chunk-U7P64MXD.js.map +7 -0
  156. package/dist/esm/chunk-UFYQC5XY.js +3 -0
  157. package/dist/esm/chunk-UFYQC5XY.js.map +7 -0
  158. package/dist/esm/{chunk-QBONJMSE.js → chunk-VRQK7U7J.js} +2 -2
  159. package/dist/esm/{chunk-TANYRHGP.js → chunk-W3X4N4JE.js} +2 -2
  160. package/dist/esm/{chunk-OPYTQ34H.js → chunk-W4CPV4PO.js} +2 -2
  161. package/dist/esm/{chunk-G66WDIIV.js → chunk-WJKCXGVN.js} +2 -2
  162. package/dist/esm/{chunk-YLPCYCYA.js → chunk-WT4IDG2W.js} +2 -2
  163. package/dist/esm/chunk-XBDAE77C.js +3 -0
  164. package/dist/esm/chunk-XBDAE77C.js.map +7 -0
  165. package/dist/esm/{chunk-X4PWBFOT.js → chunk-YM47BXKK.js} +2 -2
  166. package/dist/esm/chunk-YOESAYMJ.js +3 -0
  167. package/dist/esm/chunk-YOESAYMJ.js.map +7 -0
  168. package/dist/esm/{chunk-FVRVBB6O.js → chunk-YOZXIUZY.js} +2 -2
  169. package/dist/esm/{chunk-OGVKMDO7.js → chunk-YRCXTCIT.js} +2 -2
  170. package/dist/esm/components/_internal/base-button.js +1 -1
  171. package/dist/esm/components/_internal/base-menu.utils.js +1 -1
  172. package/dist/esm/components/_internal/menu-context.js +1 -1
  173. package/dist/esm/components/_internal/pane-chrome.js +1 -1
  174. package/dist/esm/components/_internal/portal-theme.js +1 -1
  175. package/dist/esm/components/_internal/shell-bottom.d.ts +3 -3
  176. package/dist/esm/components/_internal/shell-bottom.d.ts.map +1 -1
  177. package/dist/esm/components/_internal/shell-bottom.js +1 -1
  178. package/dist/esm/components/_internal/shell-handles.d.ts.map +1 -1
  179. package/dist/esm/components/_internal/shell-handles.js +1 -1
  180. package/dist/esm/components/_internal/shell-inspector.d.ts +3 -3
  181. package/dist/esm/components/_internal/shell-inspector.d.ts.map +1 -1
  182. package/dist/esm/components/_internal/shell-inspector.js +1 -1
  183. package/dist/esm/components/_internal/shell-pane.d.ts +2 -7
  184. package/dist/esm/components/_internal/shell-pane.d.ts.map +1 -1
  185. package/dist/esm/components/_internal/shell-pane.js +1 -1
  186. package/dist/esm/components/_internal/shell-resizable.d.ts +3 -9
  187. package/dist/esm/components/_internal/shell-resizable.d.ts.map +1 -1
  188. package/dist/esm/components/_internal/shell-resizable.js +1 -1
  189. package/dist/esm/components/_internal/shell-resize.d.ts +0 -4
  190. package/dist/esm/components/_internal/shell-resize.d.ts.map +1 -1
  191. package/dist/esm/components/_internal/shell-resize.js +1 -1
  192. package/dist/esm/components/_internal/shell-rest.d.ts +1 -6
  193. package/dist/esm/components/_internal/shell-rest.d.ts.map +1 -1
  194. package/dist/esm/components/_internal/shell-rest.js +1 -1
  195. package/dist/esm/components/_internal/shell-sidebar.d.ts +3 -3
  196. package/dist/esm/components/_internal/shell-sidebar.d.ts.map +1 -1
  197. package/dist/esm/components/_internal/shell-sidebar.js +1 -1
  198. package/dist/esm/components/_internal/shell-store.d.ts +0 -10
  199. package/dist/esm/components/_internal/shell-store.d.ts.map +1 -1
  200. package/dist/esm/components/_internal/shell-store.js +1 -1
  201. package/dist/esm/components/_internal/use-close-warning.d.ts +12 -0
  202. package/dist/esm/components/_internal/use-close-warning.d.ts.map +1 -0
  203. package/dist/esm/components/_internal/use-close-warning.js +3 -0
  204. package/dist/esm/components/accordion.js +1 -1
  205. package/dist/esm/components/alert-dialog.js +1 -1
  206. package/dist/esm/components/avatar.js +1 -1
  207. package/dist/esm/components/button.js +1 -1
  208. package/dist/esm/components/chatbar.js +1 -1
  209. package/dist/esm/components/checkbox-group.js +1 -1
  210. package/dist/esm/components/checkbox-group.primitive.d.ts +0 -10
  211. package/dist/esm/components/checkbox-group.primitive.d.ts.map +1 -1
  212. package/dist/esm/components/checkbox-group.primitive.js +1 -1
  213. package/dist/esm/components/checkbox.js +1 -1
  214. package/dist/esm/components/chip.js +1 -1
  215. package/dist/esm/components/combobox.js +1 -1
  216. package/dist/esm/components/command.js +1 -1
  217. package/dist/esm/components/context-menu.d.ts +1 -5
  218. package/dist/esm/components/context-menu.d.ts.map +1 -1
  219. package/dist/esm/components/context-menu.js +1 -1
  220. package/dist/esm/components/dialog.d.ts.map +1 -1
  221. package/dist/esm/components/dialog.js +1 -1
  222. package/dist/esm/components/dropdown-menu.js +1 -1
  223. package/dist/esm/components/index.js +1 -1
  224. package/dist/esm/components/message-scroller.js +1 -1
  225. package/dist/esm/components/navigator.js +1 -1
  226. package/dist/esm/components/notice.js +1 -1
  227. package/dist/esm/components/popover.js +1 -1
  228. package/dist/esm/components/radio-group.js +1 -1
  229. package/dist/esm/components/radio.js +1 -1
  230. package/dist/esm/components/schemas/index.d.ts +1 -1
  231. package/dist/esm/components/schemas/index.d.ts.map +1 -1
  232. package/dist/esm/components/schemas/index.js +1 -1
  233. package/dist/esm/components/schemas/index.js.map +2 -2
  234. package/dist/esm/components/schemas/shell.schema.d.ts +6 -112
  235. package/dist/esm/components/schemas/shell.schema.d.ts.map +1 -1
  236. package/dist/esm/components/schemas/shell.schema.js +1 -1
  237. package/dist/esm/components/select.js +1 -1
  238. package/dist/esm/components/separator.js +1 -1
  239. package/dist/esm/components/sheet.d.ts +7 -4
  240. package/dist/esm/components/sheet.d.ts.map +1 -1
  241. package/dist/esm/components/sheet.js +1 -1
  242. package/dist/esm/components/shell.context.d.ts +1 -45
  243. package/dist/esm/components/shell.context.d.ts.map +1 -1
  244. package/dist/esm/components/shell.context.js +1 -1
  245. package/dist/esm/components/shell.d.ts +7 -37
  246. package/dist/esm/components/shell.d.ts.map +1 -1
  247. package/dist/esm/components/shell.js +1 -1
  248. package/dist/esm/components/shell.types.d.ts +6 -27
  249. package/dist/esm/components/shell.types.d.ts.map +1 -1
  250. package/dist/esm/components/shell.types.js +1 -1
  251. package/dist/esm/components/sidebar.js +1 -1
  252. package/dist/esm/components/slider.js +1 -1
  253. package/dist/esm/components/switch.js +1 -1
  254. package/dist/esm/components/tabs.js +1 -1
  255. package/dist/esm/components/text-area.js +1 -1
  256. package/dist/esm/components/text-field.js +1 -1
  257. package/dist/esm/components/theme.js +1 -1
  258. package/dist/esm/components/toggle.js +1 -1
  259. package/dist/esm/components/toolbar.js +1 -1
  260. package/dist/esm/components/tooltip.js +1 -1
  261. package/dist/esm/components/virtual-menu.js +1 -1
  262. package/dist/esm/hooks/use-breakpoint.js +1 -1
  263. package/dist/esm/index.js +1 -1
  264. package/package.json +1 -5
  265. package/schemas/index.json +13 -335
  266. package/schemas/shell-bottom.json +2 -63
  267. package/schemas/shell-inspector.json +2 -63
  268. package/schemas/shell-panel.json +2 -63
  269. package/schemas/shell-rail.json +2 -38
  270. package/schemas/shell-sidebar.json +5 -102
  271. package/schemas/shell-trigger.json +0 -6
  272. package/src/components/_internal/base-dialog.css +15 -0
  273. package/src/components/_internal/shell-bottom.tsx +6 -26
  274. package/src/components/_internal/shell-handles.tsx +2 -32
  275. package/src/components/_internal/shell-inspector.tsx +6 -26
  276. package/src/components/_internal/shell-pane.tsx +7 -56
  277. package/src/components/_internal/shell-resizable.tsx +6 -81
  278. package/src/components/_internal/shell-resize.tsx +0 -4
  279. package/src/components/_internal/shell-rest.ts +2 -11
  280. package/src/components/_internal/shell-sidebar.tsx +8 -30
  281. package/src/components/_internal/shell-store.tsx +1 -34
  282. package/src/components/_internal/use-close-warning.ts +38 -0
  283. package/src/components/checkbox-group.primitive.tsx +0 -12
  284. package/src/components/context-menu.tsx +1 -6
  285. package/src/components/dialog.tsx +6 -1
  286. package/src/components/schemas/index.ts +0 -1
  287. package/src/components/schemas/shell.schema.ts +3 -20
  288. package/src/components/sheet.tsx +11 -5
  289. package/src/components/shell.context.tsx +5 -112
  290. package/src/components/shell.css +1 -29
  291. package/src/components/shell.tsx +12 -97
  292. package/src/components/shell.types.ts +6 -28
  293. package/styles.css +12 -20
  294. package/dist/cjs/components/shell.hooks.d.ts +0 -10
  295. package/dist/cjs/components/shell.hooks.d.ts.map +0 -1
  296. package/dist/cjs/components/shell.hooks.js +0 -3
  297. package/dist/cjs/components/shell.hooks.js.map +0 -7
  298. package/dist/esm/chunk-2VSRZ4IT.js +0 -3
  299. package/dist/esm/chunk-2VSRZ4IT.js.map +0 -7
  300. package/dist/esm/chunk-2WFN4D52.js +0 -3
  301. package/dist/esm/chunk-2WFN4D52.js.map +0 -7
  302. package/dist/esm/chunk-4OJRLS5N.js +0 -3
  303. package/dist/esm/chunk-4OJRLS5N.js.map +0 -7
  304. package/dist/esm/chunk-4TTRPCGG.js +0 -3
  305. package/dist/esm/chunk-4TTRPCGG.js.map +0 -7
  306. package/dist/esm/chunk-5BXCPANF.js +0 -3
  307. package/dist/esm/chunk-B447PNRD.js +0 -3
  308. package/dist/esm/chunk-B447PNRD.js.map +0 -7
  309. package/dist/esm/chunk-BJVXB3PN.js +0 -3
  310. package/dist/esm/chunk-BJVXB3PN.js.map +0 -7
  311. package/dist/esm/chunk-HQT32HQ6.js +0 -3
  312. package/dist/esm/chunk-HQT32HQ6.js.map +0 -7
  313. package/dist/esm/chunk-KGCGT4MJ.js +0 -3
  314. package/dist/esm/chunk-KGCGT4MJ.js.map +0 -7
  315. package/dist/esm/chunk-M26LLCQC.js +0 -3
  316. package/dist/esm/chunk-M26LLCQC.js.map +0 -7
  317. package/dist/esm/chunk-MAA6LEE2.js.map +0 -7
  318. package/dist/esm/chunk-MXEOE4LA.js +0 -3
  319. package/dist/esm/chunk-QV66TN2A.js +0 -3
  320. package/dist/esm/chunk-QV66TN2A.js.map +0 -7
  321. package/dist/esm/chunk-TRJAVWCK.js +0 -3
  322. package/dist/esm/chunk-TRJAVWCK.js.map +0 -7
  323. package/dist/esm/chunk-TS4QCDSI.js +0 -3
  324. package/dist/esm/chunk-TS4QCDSI.js.map +0 -7
  325. package/dist/esm/chunk-XOAOSRTH.js +0 -3
  326. package/dist/esm/chunk-XOAOSRTH.js.map +0 -7
  327. package/dist/esm/chunk-XUCR7L4G.js +0 -3
  328. package/dist/esm/chunk-XUCR7L4G.js.map +0 -7
  329. package/dist/esm/chunk-XVN43IZL.js +0 -3
  330. package/dist/esm/chunk-XVN43IZL.js.map +0 -7
  331. package/dist/esm/components/shell.hooks.d.ts +0 -10
  332. package/dist/esm/components/shell.hooks.d.ts.map +0 -1
  333. package/dist/esm/components/shell.hooks.js +0 -3
  334. package/src/components/shell.hooks.ts +0 -20
  335. /package/dist/esm/{chunk-LR4X7SVV.js.map → chunk-2K46JPUL.js.map} +0 -0
  336. /package/dist/esm/{chunk-HGF4CKRY.js.map → chunk-3ZBEWLSO.js.map} +0 -0
  337. /package/dist/esm/{chunk-26O4RBOJ.js.map → chunk-5BABJBV3.js.map} +0 -0
  338. /package/dist/esm/{chunk-5APRBJRR.js.map → chunk-5GTQXMS2.js.map} +0 -0
  339. /package/dist/esm/{chunk-KBSH6CBD.js.map → chunk-5XO3PLDH.js.map} +0 -0
  340. /package/dist/esm/{chunk-SGKLJDA3.js.map → chunk-74JANLVU.js.map} +0 -0
  341. /package/dist/esm/{chunk-TUZ665BA.js.map → chunk-7E3ZOVRL.js.map} +0 -0
  342. /package/dist/esm/{chunk-COLJWVN7.js.map → chunk-AQR42GKA.js.map} +0 -0
  343. /package/dist/esm/{chunk-FTNZWAPB.js.map → chunk-ARPUPT4M.js.map} +0 -0
  344. /package/dist/esm/{chunk-OMPLFDS6.js.map → chunk-ASBTPKH3.js.map} +0 -0
  345. /package/dist/esm/{chunk-JFJV4HL3.js.map → chunk-CFXFWIRM.js.map} +0 -0
  346. /package/dist/esm/{chunk-YLGIP3A5.js.map → chunk-CJZGEHVB.js.map} +0 -0
  347. /package/dist/esm/{chunk-ISCZ57VL.js.map → chunk-DJGZ4K3V.js.map} +0 -0
  348. /package/dist/esm/{chunk-PMXIQ5B4.js.map → chunk-FKCKELUB.js.map} +0 -0
  349. /package/dist/esm/{chunk-Y5ITMKC6.js.map → chunk-G7S2BMS3.js.map} +0 -0
  350. /package/dist/esm/{chunk-SR42NATX.js.map → chunk-GHIHF55B.js.map} +0 -0
  351. /package/dist/esm/{chunk-C6VGCYFQ.js.map → chunk-HNOT2HS4.js.map} +0 -0
  352. /package/dist/esm/{chunk-D42VCLKH.js.map → chunk-ICO5ULJL.js.map} +0 -0
  353. /package/dist/esm/{chunk-FYZXC7AL.js.map → chunk-JJVAVLCN.js.map} +0 -0
  354. /package/dist/esm/{chunk-R4DMVTM3.js.map → chunk-M6THDAMU.js.map} +0 -0
  355. /package/dist/esm/{chunk-VBF3XALY.js.map → chunk-MS2ONKJJ.js.map} +0 -0
  356. /package/dist/esm/{chunk-XFMAA4MD.js.map → chunk-NJG42JDM.js.map} +0 -0
  357. /package/dist/esm/{chunk-NJ7RQYLX.js.map → chunk-OIJQSUUM.js.map} +0 -0
  358. /package/dist/esm/{chunk-VYF6KKYM.js.map → chunk-ONJYRJ66.js.map} +0 -0
  359. /package/dist/esm/{chunk-UH6CJXHY.js.map → chunk-QPGW6RJG.js.map} +0 -0
  360. /package/dist/esm/{chunk-EB4AG3OL.js.map → chunk-REELD6CT.js.map} +0 -0
  361. /package/dist/esm/{chunk-3M5ZM67R.js.map → chunk-TCFBNE6A.js.map} +0 -0
  362. /package/dist/esm/{chunk-QBONJMSE.js.map → chunk-VRQK7U7J.js.map} +0 -0
  363. /package/dist/esm/{chunk-TANYRHGP.js.map → chunk-W3X4N4JE.js.map} +0 -0
  364. /package/dist/esm/{chunk-OPYTQ34H.js.map → chunk-W4CPV4PO.js.map} +0 -0
  365. /package/dist/esm/{chunk-G66WDIIV.js.map → chunk-WJKCXGVN.js.map} +0 -0
  366. /package/dist/esm/{chunk-YLPCYCYA.js.map → chunk-WT4IDG2W.js.map} +0 -0
  367. /package/dist/esm/{chunk-X4PWBFOT.js.map → chunk-YM47BXKK.js.map} +0 -0
  368. /package/dist/esm/{chunk-FVRVBB6O.js.map → chunk-YOZXIUZY.js.map} +0 -0
  369. /package/dist/esm/{chunk-OGVKMDO7.js.map → chunk-YRCXTCIT.js.map} +0 -0
  370. /package/dist/esm/components/{shell.hooks.js.map → _internal/use-close-warning.js.map} +0 -0
@@ -25,7 +25,7 @@ export type { ButtonProps } from './button.schema.js';
25
25
  export { ToggleSchema, parseToggleProps } from './toggle.schema.js';
26
26
  export type { ToggleProps } from './toggle.schema.js';
27
27
  export { ShellRootSchema, ShellHeaderSchema, ShellRailSchema, ShellPanelSchema, ShellSidebarSchema, ShellContentSchema, ShellInspectorSchema, ShellBottomSchema, ShellTriggerSchema, ShellHandleSchema, parseShellRootProps, parseShellHeaderProps, parseShellRailProps, parseShellPanelProps, parseShellSidebarProps, parseShellContentProps, parseShellInspectorProps, parseShellBottomProps, parseShellTriggerProps, parseShellHandleProps, } from './shell.schema.js';
28
- export type { ShellRootProps, ShellHeaderProps, ShellRailProps, ShellPanelProps, ShellSidebarProps, ShellContentProps, ShellInspectorProps, ShellBottomProps, ShellTriggerProps, ShellHandleProps, PaneMode, SidebarMode, PresentationValue, Breakpoint, PaneTarget, TriggerAction, ResponsiveMode, ResponsiveSidebarMode, ResponsivePresentation, PaneSizePersistence, } from './shell.schema.js';
28
+ export type { ShellRootProps, ShellHeaderProps, ShellRailProps, ShellPanelProps, ShellSidebarProps, ShellContentProps, ShellInspectorProps, ShellBottomProps, ShellTriggerProps, ShellHandleProps, PaneMode, SidebarMode, PresentationValue, Breakpoint, PaneTarget, TriggerAction, ResponsiveMode, ResponsiveSidebarMode, ResponsivePresentation, } from './shell.schema.js';
29
29
  /**
30
30
  * Generic parseProps helper for development-time validation
31
31
  *
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/schemas/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAGH,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AACjF,YAAY,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAG/D,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACpE,YAAY,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACpE,YAAY,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAO,EACL,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACnB,oBAAoB,EACpB,sBAAsB,EACtB,sBAAsB,EACtB,wBAAwB,EACxB,qBAAqB,EACrB,sBAAsB,EACtB,qBAAqB,GACtB,MAAM,mBAAmB,CAAC;AAC3B,YAAY,EACV,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,QAAQ,EACR,WAAW,EACX,iBAAiB,EACjB,UAAU,EACV,UAAU,EACV,aAAa,EACb,cAAc,EACd,qBAAqB,EACrB,sBAAsB,EACtB,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAE3B;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,UAAU,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,OAAO,GAAG,CAAC,CAKvE;AAED,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/schemas/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAGH,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AACjF,YAAY,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAG/D,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACpE,YAAY,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACpE,YAAY,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAO,EACL,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACnB,oBAAoB,EACpB,sBAAsB,EACtB,sBAAsB,EACtB,wBAAwB,EACxB,qBAAqB,EACrB,sBAAsB,EACtB,qBAAqB,GACtB,MAAM,mBAAmB,CAAC;AAC3B,YAAY,EACV,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,QAAQ,EACR,WAAW,EACX,iBAAiB,EACjB,UAAU,EACV,UAAU,EACV,aAAa,EACb,cAAc,EACd,qBAAqB,EACrB,sBAAsB,GACvB,MAAM,mBAAmB,CAAC;AAE3B;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,UAAU,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,OAAO,GAAG,CAAC,CAKvE;AAED,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC"}
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- "use strict";var m=Object.defineProperty;var Z=Object.getOwnPropertyDescriptor;var G=Object.getOwnPropertyNames;var J=Object.prototype.hasOwnProperty;var Q=(o,n)=>{for(var p in n)m(o,p,{get:n[p],enumerable:!0})},X=(o,n,p,g)=>{if(n&&typeof n=="object"||typeof n=="function")for(let s of G(n))!J.call(o,s)&&s!==p&&m(o,s,{get:()=>n[s],enumerable:!(g=Z(n,s))||g.enumerable});return o};var Y=o=>X(m({},"__esModule",{value:!0}),o);var ie={};Q(ie,{BaseButtonSchema:()=>d,ButtonSchema:()=>y,ShellBottomSchema:()=>E,ShellContentSchema:()=>M,ShellHandleSchema:()=>j,ShellHeaderSchema:()=>A,ShellInspectorSchema:()=>D,ShellPanelSchema:()=>k,ShellRailSchema:()=>C,ShellRootSchema:()=>T,ShellSidebarSchema:()=>N,ShellTriggerSchema:()=>O,ToggleSchema:()=>v,parseBaseButtonProps:()=>P,parseButtonProps:()=>x,parseProps:()=>ae,parseShellBottomProps:()=>L,parseShellContentProps:()=>K,parseShellHandleProps:()=>U,parseShellHeaderProps:()=>I,parseShellInspectorProps:()=>F,parseShellPanelProps:()=>V,parseShellRailProps:()=>W,parseShellRootProps:()=>H,parseShellSidebarProps:()=>_,parseShellTriggerProps:()=>q,parseToggleProps:()=>z});module.exports=Y(ie);var t=require("zod"),d=t.z.object({as:t.z.string().optional().describe("HTML element type to render as"),asChild:t.z.boolean().optional().describe("Merge props with child element instead of rendering wrapper"),size:t.z.union([t.z.enum(["1","2","3","4"]),t.z.object({initial:t.z.enum(["1","2","3","4"]).optional(),xs:t.z.enum(["1","2","3","4"]).optional(),sm:t.z.enum(["1","2","3","4"]).optional(),md:t.z.enum(["1","2","3","4"]).optional(),lg:t.z.enum(["1","2","3","4"]).optional(),xl:t.z.enum(["1","2","3","4"]).optional()})]).default("2").describe("Button size for responsive design and interface density"),variant:t.z.enum(["raised","solid","soft","surface","outline","ghost"]).default("solid").describe("Visual variant that determines the button's appearance and context"),color:t.z.enum(["tomato","red","ruby","crimson","pink","plum","purple","violet","iris","indigo","blue","cyan","teal","jade","green","grass","brown","orange","sky","mint","lime","yellow","amber","gold","bronze","gray"]).optional().describe("Accent color for the button"),radius:t.z.enum(["none","small","medium","large","full"]).optional().describe("Border radius for the button"),loading:t.z.boolean().optional().default(!1).describe("Loading state that shows a spinner and disables interaction"),disabled:t.z.boolean().optional().default(!1).describe("Disabled state"),done:t.z.boolean().optional().describe("Shows a tick in place of the icon to say the action finished"),type:t.z.enum(["button","submit","reset"]).optional().describe("Type attribute for form buttons"),className:t.z.string().optional().describe("Additional CSS class name"),style:t.z.record(t.z.string(),t.z.union([t.z.string(),t.z.number()])).optional().describe("Inline styles"),onClick:t.z.function().optional().describe("Click handler"),onFocus:t.z.function().optional().describe("Focus handler"),onBlur:t.z.function().optional().describe("Blur handler"),onMouseEnter:t.z.function().optional().describe("Mouse enter handler"),onMouseLeave:t.z.function().optional().describe("Mouse leave handler"),onKeyDown:t.z.function().optional().describe("Key down handler"),onKeyUp:t.z.function().optional().describe("Key up handler"),onSubmit:t.z.function().optional().describe("Form submission handler"),tabIndex:t.z.number().optional().describe("Tab index for keyboard navigation"),"aria-label":t.z.string().optional().describe("ARIA label for accessibility"),"aria-labelledby":t.z.string().optional().describe("ARIA labelled by reference"),"aria-describedby":t.z.string().optional().describe("ARIA described by reference"),"aria-expanded":t.z.boolean().optional().describe("ARIA expanded state"),"aria-pressed":t.z.boolean().optional().describe("ARIA pressed state"),"aria-current":t.z.union([t.z.boolean(),t.z.enum(["page","step","location","date","time"])]).optional().describe("ARIA current state"),"aria-controls":t.z.string().optional().describe("ARIA controls reference"),"aria-owns":t.z.string().optional().describe("ARIA owns reference"),"data-*":t.z.record(t.z.string(),t.z.string()).optional().describe("Data attributes"),id:t.z.string().optional().describe("ID attribute"),title:t.z.string().optional().describe("Title attribute for tooltip"),role:t.z.string().optional().describe("Role attribute"),children:t.z.any().optional().describe("Children elements")}).strict();function P(o){return o}var r=require("zod");var f=d.extend({tooltip:r.z.string().optional().describe("Content to display in the tooltip on hover/focus"),tooltipSide:r.z.enum(["top","right","bottom","left"]).optional().default("top").describe("Side of the button where the tooltip should appear"),emphasis:r.z.enum(["loud","medium","quiet"]).optional().describe("The button's rank: loud (solid), medium (raised) or quiet (ghost). Not with variant."),iconOnly:r.z.boolean().optional().default(!1).describe("Square button holding only an icon; needs aria-label"),fullWidth:r.z.boolean().optional().default(!1).describe("Expands the button to fill its container"),tooltipAlign:r.z.enum(["start","center","end"]).optional().default("center").describe("Alignment of the tooltip relative to the button"),tooltipDelayDuration:r.z.number().optional().describe("Delay before showing the tooltip (in milliseconds)"),tooltipDisableHoverableContent:r.z.boolean().optional().default(!1).describe("Whether to disable hoverable content behavior")}).strict(),y=f.refine(o=>!o.iconOnly||!!(o["aria-label"]||o["aria-labelledby"]),{message:"An iconOnly Button must have either 'aria-label' or 'aria-labelledby' for accessibility",path:["aria-label"]});function x(o){return o}var c=require("zod");var v=f.omit({done:!0}).extend({pressed:c.z.boolean().optional().describe("Controlled pressed state"),onPressedChange:c.z.function().optional().describe("Callback when pressed state changes"),defaultPressed:c.z.boolean().optional().describe("Default pressed state for uncontrolled usage")}).refine(o=>!o.iconOnly||!!(o["aria-label"]||o["aria-labelledby"]),{message:"An iconOnly Toggle must have either 'aria-label' or 'aria-labelledby' for accessibility",path:["aria-label"]}).refine(o=>!(o.pressed!==void 0&&o.onPressedChange===void 0),{message:"When using controlled mode (pressed prop), onPressedChange must also be provided",path:["onPressedChange"]}).refine(o=>!(o.pressed!==void 0&&o.defaultPressed!==void 0),{message:"Cannot use both controlled (pressed) and uncontrolled (defaultPressed) props together",path:["pressed","defaultPressed"]});function z(o){return o}var e=require("zod"),$=e.z.enum(["expanded","collapsed"]).describe("Pane state mode"),S=e.z.enum(["collapsed","expanded"]).describe("Sidebar state"),ee=e.z.enum(["fixed","overlay","stacked"]).describe("Presentation mode"),ue=e.z.enum(["initial","xs","sm","md","lg","xl"]).describe("Responsive breakpoint"),oe=e.z.enum(["left","rail","panel","sidebar","inspector","bottom"]).describe("Pane target. `left` is deprecated: use `rail`."),te=e.z.enum(["toggle","expand","collapse"]).describe("Trigger action"),B=e.z.enum(["toggle","dismiss"]).describe("Why the state changed: `toggle` for a trigger or the resize handle, `dismiss` for Escape or the scrim"),ne=e.z.enum(["init","resize","controlled"]).describe("Why the size changed");function h(o){return e.z.union([o,e.z.object({initial:o.optional(),xs:o.optional(),sm:o.optional(),md:o.optional(),lg:o.optional(),xl:o.optional()})])}var be=h($).describe("Responsive pane mode configuration"),w=h(S).describe("Responsive sidebar state"),a=h(ee).describe("Responsive presentation configuration"),R=h(e.z.boolean()).describe("Responsive open state"),re=e.z.object({load:e.z.function({output:e.z.union([e.z.number(),e.z.promise(e.z.number()),e.z.undefined()])}).optional(),save:e.z.function({input:[e.z.number()],output:e.z.union([e.z.void(),e.z.promise(e.z.void())])}).optional()}).describe("Deprecated, removed in 1.0. Keep the size in your own state with `size`/`onSizeChange`."),i=e.z.record(e.z.string(),e.z.union([e.z.string(),e.z.number()])).optional().describe("Inline styles"),u={open:e.z.union([e.z.boolean(),R]).optional().describe("The open state, when controlled. A responsive object is deprecated."),defaultOpen:e.z.union([e.z.boolean(),R]).optional().describe("The starting state. A responsive object leaves the pane untouched, with that object as the answer at each breakpoint."),onOpenChange:e.z.function({input:[e.z.boolean(),e.z.object({reason:B})],output:e.z.void()}).optional().describe("Called when a user opens or closes the pane. Never called on mount or on a resize.")},l={id:e.z.string().optional().describe("The pane id. A Trigger points `aria-controls` at it."),presentation:a.optional(),expandedSize:e.z.number().optional(),flush:e.z.boolean().optional().describe("Whether the pane joins the app frame. Defaults to true. `false` pulls it off the frame as a card."),onExpand:e.z.function({output:e.z.void()}).optional().describe("Deprecated: use `onOpenChange`"),onCollapse:e.z.function({output:e.z.void()}).optional().describe("Deprecated: use `onOpenChange`"),className:e.z.string().optional().describe("Additional CSS class name"),style:i,children:e.z.any().optional()},b={minSize:e.z.number().optional(),maxSize:e.z.number().optional().describe("The largest size. A drag also stops before the handle leaves the frame."),resizable:e.z.boolean().optional(),collapsible:e.z.boolean().optional().describe("A double-click on the handle closes the pane"),size:e.z.union([e.z.number(),e.z.string()]).optional().describe("The size, when controlled"),defaultSize:e.z.union([e.z.number(),e.z.string()]).optional().describe("The starting size"),onSizeChange:e.z.function({input:[e.z.number(),e.z.object({reason:ne})],output:e.z.void()}).optional(),sizeUpdate:e.z.enum(["throttle","debounce"]).optional().describe("Rate-limits onSizeChange across repeated resize ends, such as key presses on the handle. A drag calls it once, when the drag ends; use onResize for live sizes."),sizeUpdateMs:e.z.number().optional(),onResize:e.z.function({input:[e.z.number()],output:e.z.void()}).optional().describe("Called during a drag, at most once per animation frame"),onResizeStart:e.z.function({input:[e.z.number()],output:e.z.void()}).optional(),onResizeEnd:e.z.function({input:[e.z.number()],output:e.z.void()}).optional(),snapPoints:e.z.array(e.z.number()).optional().describe("Deprecated, removed in 1.0"),snapTolerance:e.z.number().optional().describe("Deprecated, removed in 1.0"),collapseThreshold:e.z.number().optional().describe("Deprecated, removed in 1.0"),paneId:e.z.string().optional().describe("Deprecated, removed in 1.0"),persistence:re.optional()},T=e.z.object({height:e.z.union([e.z.literal("full"),e.z.literal("auto"),e.z.string(),e.z.number()]).default("full").describe("Height of the frame. `full` is the window: 100dvh, with 100vh where dvh is not supported, and on a narrow touch screen the page scrolls. Any value other than `full` or `auto` makes the Shell contained."),contained:e.z.boolean().default(!1).describe("Fills the parent instead of the window and always scrolls inside itself. An explicit `height` implies it."),size:e.z.enum(["1","2","3"]).default("2").describe("Index of the pane chrome and the Sidebar rows in it"),className:e.z.string().optional().describe("Additional CSS class name"),style:i,children:e.z.any().optional().describe("The Shell parts, and anything else, rendered in order")}).strict(),A=e.z.object({height:e.z.number().default(64).describe("Height of the header, in pixels"),flush:e.z.boolean().optional().describe("Whether the header joins the app frame. Defaults to true. `false` makes it a card off the frame."),className:e.z.string().optional().describe("Additional CSS class name"),style:i,children:e.z.any().optional().describe("Header content")}).strict(),C=e.z.object({...l,...u,presentation:a.default("fixed").describe("Presentation mode"),expandedSize:e.z.number().default(64).describe("Width in pixels"),collapsible:e.z.boolean().optional()}).strict(),k=e.z.object({...l,...u,...b,presentation:a.optional().describe("Presentation mode. With no value the panel follows the Rail's."),expandedSize:e.z.number().default(288).describe("Open width in pixels"),minSize:e.z.number().default(100).describe("Minimum width when resizing"),maxSize:e.z.number().default(800).describe("Maximum width when resizing"),resizable:e.z.boolean().default(!1).describe("Whether the panel can be resized"),collapsible:e.z.boolean().default(!0).describe("Whether a double-click on the handle closes the panel")}).strict(),N=e.z.object({...l,...b,state:e.z.union([S,w]).optional().describe("The state, when controlled. A responsive object is deprecated."),defaultState:w.optional().describe("The starting state. With no value the sidebar is open where it is in the frame and closed where it is an overlay."),onStateChange:e.z.function({input:[S,e.z.object({reason:B})],output:e.z.void()}).optional().describe("Called when a user changes the state. Never called on mount or on a resize."),presentation:a.default({initial:"overlay",sm:"fixed"}).describe("Presentation mode"),expandedSize:e.z.number().default(288).describe("Open width in pixels"),minSize:e.z.number().default(200).describe("Minimum width when resizing"),maxSize:e.z.number().default(400).describe("Maximum width when resizing"),resizable:e.z.boolean().default(!1).describe("Whether the sidebar can be resized"),collapsible:e.z.boolean().default(!0).describe("Whether a double-click on the handle closes the sidebar")}).strict(),M=e.z.object({flush:e.z.boolean().optional().describe("Whether the work area joins the app frame. Defaults to true. `false` makes it a card on the Shell background."),className:e.z.string().optional().describe("Additional CSS class name"),style:i,children:e.z.any().optional().describe("Main content")}).strict(),D=e.z.object({...l,...u,...b,presentation:a.default({initial:"overlay",sm:"fixed"}).describe("Presentation mode"),expandedSize:e.z.number().default(320).describe("Open width in pixels"),minSize:e.z.number().default(200).describe("Minimum width when resizing"),maxSize:e.z.number().default(500).describe("Maximum width when resizing"),resizable:e.z.boolean().default(!1).describe("Whether the inspector can be resized"),collapsible:e.z.boolean().default(!0).describe("Whether a double-click on the handle closes the inspector")}).strict(),E=e.z.object({...l,...u,...b,presentation:a.default("fixed").describe("Presentation mode"),expandedSize:e.z.number().default(200).describe("Open height in pixels"),minSize:e.z.number().default(100).describe("Minimum height when resizing"),maxSize:e.z.number().default(400).describe("Maximum height when resizing"),resizable:e.z.boolean().default(!1).describe("Whether the bottom panel can be resized"),collapsible:e.z.boolean().default(!0).describe("Whether a double-click on the handle closes the panel")}).strict(),O=e.z.object({target:oe.describe("Which pane to drive"),action:te.default("toggle").describe("Action to perform"),peekOnHover:e.z.boolean().default(!1).describe("Deprecated, removed in 1.0. Shows a preview of a closed pane on hover."),type:e.z.enum(["button","submit","reset"]).default("button").describe("The button type"),className:e.z.string().optional().describe("Additional CSS class name"),style:i,children:e.z.any().optional().describe("Trigger content"),onClick:e.z.function().optional().describe("Runs before the trigger acts. Call `event.preventDefault()` to cancel it."),onMouseEnter:e.z.function().optional().describe("Mouse enter handler"),onMouseLeave:e.z.function().optional().describe("Mouse leave handler"),"aria-label":e.z.string().optional().describe("ARIA label for accessibility"),"aria-labelledby":e.z.string().optional().describe("ARIA labelled by reference"),"aria-describedby":e.z.string().optional().describe("ARIA described by reference")}).strict(),j=e.z.object({className:e.z.string().optional().describe("Additional CSS class name"),style:i,children:e.z.any().optional().describe("Handle content")}).strict();function H(o){return o}function I(o){return o}function W(o){return o}function V(o){return o}function _(o){return o}function K(o){return o}function F(o){return o}function L(o){return o}function q(o){return o}function U(o){return o}var fe=require("zod");function ae(o,n){return n}
2
+ "use strict";var m=Object.defineProperty;var q=Object.getOwnPropertyDescriptor;var U=Object.getOwnPropertyNames;var Z=Object.prototype.hasOwnProperty;var G=(o,n)=>{for(var p in n)m(o,p,{get:n[p],enumerable:!0})},J=(o,n,p,g)=>{if(n&&typeof n=="object"||typeof n=="function")for(let s of U(n))!Z.call(o,s)&&s!==p&&m(o,s,{get:()=>n[s],enumerable:!(g=q(n,s))||g.enumerable});return o};var Q=o=>J(m({},"__esModule",{value:!0}),o);var ae={};G(ae,{BaseButtonSchema:()=>d,ButtonSchema:()=>y,ShellBottomSchema:()=>M,ShellContentSchema:()=>C,ShellHandleSchema:()=>O,ShellHeaderSchema:()=>B,ShellInspectorSchema:()=>N,ShellPanelSchema:()=>A,ShellRailSchema:()=>T,ShellRootSchema:()=>R,ShellSidebarSchema:()=>k,ShellTriggerSchema:()=>E,ToggleSchema:()=>z,parseBaseButtonProps:()=>P,parseButtonProps:()=>x,parseProps:()=>re,parseShellBottomProps:()=>F,parseShellContentProps:()=>V,parseShellHandleProps:()=>L,parseShellHeaderProps:()=>D,parseShellInspectorProps:()=>_,parseShellPanelProps:()=>I,parseShellRailProps:()=>H,parseShellRootProps:()=>j,parseShellSidebarProps:()=>W,parseShellTriggerProps:()=>K,parseToggleProps:()=>v});module.exports=Q(ae);var t=require("zod"),d=t.z.object({as:t.z.string().optional().describe("HTML element type to render as"),asChild:t.z.boolean().optional().describe("Merge props with child element instead of rendering wrapper"),size:t.z.union([t.z.enum(["1","2","3","4"]),t.z.object({initial:t.z.enum(["1","2","3","4"]).optional(),xs:t.z.enum(["1","2","3","4"]).optional(),sm:t.z.enum(["1","2","3","4"]).optional(),md:t.z.enum(["1","2","3","4"]).optional(),lg:t.z.enum(["1","2","3","4"]).optional(),xl:t.z.enum(["1","2","3","4"]).optional()})]).default("2").describe("Button size for responsive design and interface density"),variant:t.z.enum(["raised","solid","soft","surface","outline","ghost"]).default("solid").describe("Visual variant that determines the button's appearance and context"),color:t.z.enum(["tomato","red","ruby","crimson","pink","plum","purple","violet","iris","indigo","blue","cyan","teal","jade","green","grass","brown","orange","sky","mint","lime","yellow","amber","gold","bronze","gray"]).optional().describe("Accent color for the button"),radius:t.z.enum(["none","small","medium","large","full"]).optional().describe("Border radius for the button"),loading:t.z.boolean().optional().default(!1).describe("Loading state that shows a spinner and disables interaction"),disabled:t.z.boolean().optional().default(!1).describe("Disabled state"),done:t.z.boolean().optional().describe("Shows a tick in place of the icon to say the action finished"),type:t.z.enum(["button","submit","reset"]).optional().describe("Type attribute for form buttons"),className:t.z.string().optional().describe("Additional CSS class name"),style:t.z.record(t.z.string(),t.z.union([t.z.string(),t.z.number()])).optional().describe("Inline styles"),onClick:t.z.function().optional().describe("Click handler"),onFocus:t.z.function().optional().describe("Focus handler"),onBlur:t.z.function().optional().describe("Blur handler"),onMouseEnter:t.z.function().optional().describe("Mouse enter handler"),onMouseLeave:t.z.function().optional().describe("Mouse leave handler"),onKeyDown:t.z.function().optional().describe("Key down handler"),onKeyUp:t.z.function().optional().describe("Key up handler"),onSubmit:t.z.function().optional().describe("Form submission handler"),tabIndex:t.z.number().optional().describe("Tab index for keyboard navigation"),"aria-label":t.z.string().optional().describe("ARIA label for accessibility"),"aria-labelledby":t.z.string().optional().describe("ARIA labelled by reference"),"aria-describedby":t.z.string().optional().describe("ARIA described by reference"),"aria-expanded":t.z.boolean().optional().describe("ARIA expanded state"),"aria-pressed":t.z.boolean().optional().describe("ARIA pressed state"),"aria-current":t.z.union([t.z.boolean(),t.z.enum(["page","step","location","date","time"])]).optional().describe("ARIA current state"),"aria-controls":t.z.string().optional().describe("ARIA controls reference"),"aria-owns":t.z.string().optional().describe("ARIA owns reference"),"data-*":t.z.record(t.z.string(),t.z.string()).optional().describe("Data attributes"),id:t.z.string().optional().describe("ID attribute"),title:t.z.string().optional().describe("Title attribute for tooltip"),role:t.z.string().optional().describe("Role attribute"),children:t.z.any().optional().describe("Children elements")}).strict();function P(o){return o}var r=require("zod");var f=d.extend({tooltip:r.z.string().optional().describe("Content to display in the tooltip on hover/focus"),tooltipSide:r.z.enum(["top","right","bottom","left"]).optional().default("top").describe("Side of the button where the tooltip should appear"),emphasis:r.z.enum(["loud","medium","quiet"]).optional().describe("The button's rank: loud (solid), medium (raised) or quiet (ghost). Not with variant."),iconOnly:r.z.boolean().optional().default(!1).describe("Square button holding only an icon; needs aria-label"),fullWidth:r.z.boolean().optional().default(!1).describe("Expands the button to fill its container"),tooltipAlign:r.z.enum(["start","center","end"]).optional().default("center").describe("Alignment of the tooltip relative to the button"),tooltipDelayDuration:r.z.number().optional().describe("Delay before showing the tooltip (in milliseconds)"),tooltipDisableHoverableContent:r.z.boolean().optional().default(!1).describe("Whether to disable hoverable content behavior")}).strict(),y=f.refine(o=>!o.iconOnly||!!(o["aria-label"]||o["aria-labelledby"]),{message:"An iconOnly Button must have either 'aria-label' or 'aria-labelledby' for accessibility",path:["aria-label"]});function x(o){return o}var c=require("zod");var z=f.omit({done:!0}).extend({pressed:c.z.boolean().optional().describe("Controlled pressed state"),onPressedChange:c.z.function().optional().describe("Callback when pressed state changes"),defaultPressed:c.z.boolean().optional().describe("Default pressed state for uncontrolled usage")}).refine(o=>!o.iconOnly||!!(o["aria-label"]||o["aria-labelledby"]),{message:"An iconOnly Toggle must have either 'aria-label' or 'aria-labelledby' for accessibility",path:["aria-label"]}).refine(o=>!(o.pressed!==void 0&&o.onPressedChange===void 0),{message:"When using controlled mode (pressed prop), onPressedChange must also be provided",path:["onPressedChange"]}).refine(o=>!(o.pressed!==void 0&&o.defaultPressed!==void 0),{message:"Cannot use both controlled (pressed) and uncontrolled (defaultPressed) props together",path:["pressed","defaultPressed"]});function v(o){return o}var e=require("zod"),X=e.z.enum(["expanded","collapsed"]).describe("Pane state mode"),S=e.z.enum(["collapsed","expanded"]).describe("Sidebar state"),Y=e.z.enum(["fixed","overlay","stacked"]).describe("Presentation mode"),he=e.z.enum(["initial","xs","sm","md","lg","xl"]).describe("Responsive breakpoint"),$=e.z.enum(["rail","panel","sidebar","inspector","bottom"]).describe("Pane target"),ee=e.z.enum(["toggle","expand","collapse"]).describe("Trigger action"),w=e.z.enum(["toggle","dismiss"]).describe("Why the state changed: `toggle` for a trigger or the resize handle, `dismiss` for Escape or the scrim"),oe=e.z.enum(["init","resize","controlled"]).describe("Why the size changed");function h(o){return e.z.union([o,e.z.object({initial:o.optional(),xs:o.optional(),sm:o.optional(),md:o.optional(),lg:o.optional(),xl:o.optional()})])}var ue=h(X).describe("Responsive pane mode configuration"),te=h(S).describe("Responsive sidebar state"),a=h(Y).describe("Responsive presentation configuration"),ne=h(e.z.boolean()).describe("Responsive open state"),i=e.z.record(e.z.string(),e.z.union([e.z.string(),e.z.number()])).optional().describe("Inline styles"),u={open:e.z.boolean().optional().describe("The open state, when controlled"),defaultOpen:e.z.union([e.z.boolean(),ne]).optional().describe("The starting state. A responsive object leaves the pane untouched, with that object as the answer at each breakpoint."),onOpenChange:e.z.function({input:[e.z.boolean(),e.z.object({reason:w})],output:e.z.void()}).optional().describe("Called when a user opens or closes the pane. Never called on mount or on a resize.")},l={id:e.z.string().optional().describe("The pane id. A Trigger points `aria-controls` at it."),presentation:a.optional(),expandedSize:e.z.number().optional(),flush:e.z.boolean().optional().describe("Whether the pane joins the app frame. Defaults to true. `false` pulls it off the frame as a card."),className:e.z.string().optional().describe("Additional CSS class name"),style:i,children:e.z.any().optional()},b={minSize:e.z.number().optional(),maxSize:e.z.number().optional().describe("The largest size. A drag also stops before the handle leaves the frame."),resizable:e.z.boolean().optional(),collapsible:e.z.boolean().optional().describe("A double-click on the handle closes the pane"),size:e.z.union([e.z.number(),e.z.string()]).optional().describe("The size, when controlled"),defaultSize:e.z.union([e.z.number(),e.z.string()]).optional().describe("The starting size"),onSizeChange:e.z.function({input:[e.z.number(),e.z.object({reason:oe})],output:e.z.void()}).optional(),sizeUpdate:e.z.enum(["throttle","debounce"]).optional().describe("Rate-limits onSizeChange across repeated resize ends, such as key presses on the handle. A drag calls it once, when the drag ends; use onResize for live sizes."),sizeUpdateMs:e.z.number().optional(),onResize:e.z.function({input:[e.z.number()],output:e.z.void()}).optional().describe("Called during a drag, at most once per animation frame"),onResizeStart:e.z.function({input:[e.z.number()],output:e.z.void()}).optional(),onResizeEnd:e.z.function({input:[e.z.number()],output:e.z.void()}).optional()},R=e.z.object({height:e.z.union([e.z.literal("full"),e.z.literal("auto"),e.z.string(),e.z.number()]).default("full").describe("Height of the frame. `full` is the window: 100dvh, with 100vh where dvh is not supported, and on a narrow touch screen the page scrolls. Any value other than `full` or `auto` makes the Shell contained."),contained:e.z.boolean().default(!1).describe("Fills the parent instead of the window and always scrolls inside itself. An explicit `height` implies it."),size:e.z.enum(["1","2","3"]).default("2").describe("Index of the pane chrome and the Sidebar rows in it"),className:e.z.string().optional().describe("Additional CSS class name"),style:i,children:e.z.any().optional().describe("The Shell parts, and anything else, rendered in order")}).strict(),B=e.z.object({height:e.z.number().default(64).describe("Height of the header, in pixels"),flush:e.z.boolean().optional().describe("Whether the header joins the app frame. Defaults to true. `false` makes it a card off the frame."),className:e.z.string().optional().describe("Additional CSS class name"),style:i,children:e.z.any().optional().describe("Header content")}).strict(),T=e.z.object({...l,...u,presentation:a.default("fixed").describe("Presentation mode"),expandedSize:e.z.number().default(64).describe("Width in pixels"),collapsible:e.z.boolean().optional()}).strict(),A=e.z.object({...l,...u,...b,presentation:a.optional().describe("Presentation mode. With no value the panel follows the Rail's."),expandedSize:e.z.number().default(288).describe("Open width in pixels"),minSize:e.z.number().default(100).describe("Minimum width when resizing"),maxSize:e.z.number().default(800).describe("Maximum width when resizing"),resizable:e.z.boolean().default(!1).describe("Whether the panel can be resized"),collapsible:e.z.boolean().default(!0).describe("Whether a double-click on the handle closes the panel")}).strict(),k=e.z.object({...l,...b,state:S.optional().describe("The state, when controlled"),defaultState:te.optional().describe("The starting state. With no value the sidebar is open where it is in the frame and closed where it is an overlay."),onStateChange:e.z.function({input:[S,e.z.object({reason:w})],output:e.z.void()}).optional().describe("Called when a user changes the state. Never called on mount or on a resize."),presentation:a.default({initial:"overlay",sm:"fixed"}).describe("Presentation mode"),expandedSize:e.z.number().default(288).describe("Open width in pixels"),minSize:e.z.number().default(200).describe("Minimum width when resizing"),maxSize:e.z.number().default(400).describe("Maximum width when resizing"),resizable:e.z.boolean().default(!1).describe("Whether the sidebar can be resized"),collapsible:e.z.boolean().default(!0).describe("Whether a double-click on the handle closes the sidebar")}).strict(),C=e.z.object({flush:e.z.boolean().optional().describe("Whether the work area joins the app frame. Defaults to true. `false` makes it a card on the Shell background."),className:e.z.string().optional().describe("Additional CSS class name"),style:i,children:e.z.any().optional().describe("Main content")}).strict(),N=e.z.object({...l,...u,...b,presentation:a.default({initial:"overlay",sm:"fixed"}).describe("Presentation mode"),expandedSize:e.z.number().default(320).describe("Open width in pixels"),minSize:e.z.number().default(200).describe("Minimum width when resizing"),maxSize:e.z.number().default(500).describe("Maximum width when resizing"),resizable:e.z.boolean().default(!1).describe("Whether the inspector can be resized"),collapsible:e.z.boolean().default(!0).describe("Whether a double-click on the handle closes the inspector")}).strict(),M=e.z.object({...l,...u,...b,presentation:a.default("fixed").describe("Presentation mode"),expandedSize:e.z.number().default(200).describe("Open height in pixels"),minSize:e.z.number().default(100).describe("Minimum height when resizing"),maxSize:e.z.number().default(400).describe("Maximum height when resizing"),resizable:e.z.boolean().default(!1).describe("Whether the bottom panel can be resized"),collapsible:e.z.boolean().default(!0).describe("Whether a double-click on the handle closes the panel")}).strict(),E=e.z.object({target:$.describe("Which pane to drive"),action:ee.default("toggle").describe("Action to perform"),type:e.z.enum(["button","submit","reset"]).default("button").describe("The button type"),className:e.z.string().optional().describe("Additional CSS class name"),style:i,children:e.z.any().optional().describe("Trigger content"),onClick:e.z.function().optional().describe("Runs before the trigger acts. Call `event.preventDefault()` to cancel it."),onMouseEnter:e.z.function().optional().describe("Mouse enter handler"),onMouseLeave:e.z.function().optional().describe("Mouse leave handler"),"aria-label":e.z.string().optional().describe("ARIA label for accessibility"),"aria-labelledby":e.z.string().optional().describe("ARIA labelled by reference"),"aria-describedby":e.z.string().optional().describe("ARIA described by reference")}).strict(),O=e.z.object({className:e.z.string().optional().describe("Additional CSS class name"),style:i,children:e.z.any().optional().describe("Handle content")}).strict();function j(o){return o}function D(o){return o}function H(o){return o}function I(o){return o}function W(o){return o}function V(o){return o}function _(o){return o}function F(o){return o}function K(o){return o}function L(o){return o}var me=require("zod");function re(o,n){return n}
3
3
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/components/schemas/index.ts", "../../../../src/components/schemas/base-button.schema.ts", "../../../../src/components/schemas/button.schema.ts", "../../../../src/components/schemas/toggle.schema.ts", "../../../../src/components/schemas/shell.schema.ts"],
4
- "sourcesContent": ["/**\n * Button component schemas - Single source of truth for all button-related components\n *\n * This module exports Zod schemas for all button components, providing:\n * - Type-safe prop validation\n * - Machine-readable JSON schema generation\n * - Development-time prop validation\n * - Consistent API across all button variants\n *\n * @example\n * ```tsx\n * import { ButtonSchema, parseButtonProps } from './schemas';\n *\n * // Type-safe prop validation\n * const props = ButtonSchema.parse({ variant: 'solid', size: '2' });\n *\n * // Development-time validation\n * const validatedProps = parseButtonProps(userProps);\n * ```\n */\n\n// Base schemas\nexport { BaseButtonSchema, parseBaseButtonProps } from './base-button.schema.js';\nexport type { BaseButtonProps } from './base-button.schema.js';\n\n// Button schemas\nexport { ButtonSchema, parseButtonProps } from './button.schema.js';\nexport type { ButtonProps } from './button.schema.js';\n\n// Toggle schemas\nexport { ToggleSchema, parseToggleProps } from './toggle.schema.js';\nexport type { ToggleProps } from './toggle.schema.js';\n\n// Shell schemas\nexport {\n ShellRootSchema,\n ShellHeaderSchema,\n ShellRailSchema,\n ShellPanelSchema,\n ShellSidebarSchema,\n ShellContentSchema,\n ShellInspectorSchema,\n ShellBottomSchema,\n ShellTriggerSchema,\n ShellHandleSchema,\n parseShellRootProps,\n parseShellHeaderProps,\n parseShellRailProps,\n parseShellPanelProps,\n parseShellSidebarProps,\n parseShellContentProps,\n parseShellInspectorProps,\n parseShellBottomProps,\n parseShellTriggerProps,\n parseShellHandleProps,\n} from './shell.schema.js';\nexport type {\n ShellRootProps,\n ShellHeaderProps,\n ShellRailProps,\n ShellPanelProps,\n ShellSidebarProps,\n ShellContentProps,\n ShellInspectorProps,\n ShellBottomProps,\n ShellTriggerProps,\n ShellHandleProps,\n PaneMode,\n SidebarMode,\n PresentationValue,\n Breakpoint,\n PaneTarget,\n TriggerAction,\n ResponsiveMode,\n ResponsiveSidebarMode,\n ResponsivePresentation,\n PaneSizePersistence,\n} from './shell.schema.js';\n\n/**\n * Generic parseProps helper for development-time validation\n *\n * This function provides a type-safe way to validate props in development mode.\n * It should only be used in development as it adds runtime overhead.\n *\n * @param schema - Zod schema to validate against\n * @param props - Props to validate\n * @returns Validated and normalized props\n *\n * @example\n * ```tsx\n * import { parseProps } from './schemas';\n * import { ButtonSchema } from './schemas';\n *\n * // In development, this will validate props and show helpful errors\n * const validatedProps = parseProps(ButtonSchema, userProps);\n * ```\n */\nexport function parseProps<T>(schema: z.ZodSchema<T>, props: unknown): T {\n if (process.env.NODE_ENV === 'development') {\n return schema.parse(props);\n }\n return props as T;\n}\n\nimport { z } from 'zod';\n", "import { z } from 'zod';\n\n/**\n * BaseButton Zod schema - Single source of truth for all button component props\n *\n * This schema defines the core button functionality used by the Button and Toggle\n * components. It ensures consistency across\n * the design system and provides machine-readable validation.\n *\n * @example\n * ```tsx\n * // Basic validation\n * const props = BaseButtonSchema.parse({ size: '2', variant: 'solid' });\n *\n * // With responsive props\n * const responsiveProps = BaseButtonSchema.parse({\n * size: { initial: '1', sm: '2', md: '3' },\n * variant: 'solid'\n * });\n * ```\n */\nexport const BaseButtonSchema = z\n .object({\n /**\n * Polymorphic rendering - render as different HTML elements\n * @default 'button'\n */\n as: z.string().optional().describe('HTML element type to render as'),\n\n /**\n * Use asChild to merge props with child element\n * @default false\n */\n asChild: z\n .boolean()\n .optional()\n .describe('Merge props with child element instead of rendering wrapper'),\n\n /**\n * Button size for responsive design and interface density\n * Supports responsive objects: { initial: '1', sm: '2', md: '3', lg: '4' }\n * @default '2'\n */\n size: z\n .union([\n z.enum(['1', '2', '3', '4']),\n z.object({\n initial: z.enum(['1', '2', '3', '4']).optional(),\n xs: z.enum(['1', '2', '3', '4']).optional(),\n sm: z.enum(['1', '2', '3', '4']).optional(),\n md: z.enum(['1', '2', '3', '4']).optional(),\n lg: z.enum(['1', '2', '3', '4']).optional(),\n xl: z.enum(['1', '2', '3', '4']).optional(),\n }),\n ])\n .default('2')\n .describe('Button size for responsive design and interface density'),\n\n /**\n * Visual variant that determines the button's appearance and context\n * @default 'solid'\n */\n variant: z\n .enum(['raised', 'solid', 'soft', 'surface', 'outline', 'ghost'])\n .default('solid')\n .describe(\"Visual variant that determines the button's appearance and context\"),\n\n /**\n * Accent color for the button\n */\n color: z\n .enum([\n 'tomato',\n 'red',\n 'ruby',\n 'crimson',\n 'pink',\n 'plum',\n 'purple',\n 'violet',\n 'iris',\n 'indigo',\n 'blue',\n 'cyan',\n 'teal',\n 'jade',\n 'green',\n 'grass',\n 'brown',\n 'orange',\n 'sky',\n 'mint',\n 'lime',\n 'yellow',\n 'amber',\n 'gold',\n 'bronze',\n 'gray',\n ])\n .optional()\n .describe('Accent color for the button'),\n\n /**\n * Border radius for the button\n */\n radius: z\n .enum(['none', 'small', 'medium', 'large', 'full'])\n .optional()\n .describe('Border radius for the button'),\n\n /**\n * Loading state that shows a spinner and disables interaction\n * Automatically sets disabled=true and provides accessibility announcements\n * @default false\n */\n loading: z\n .boolean()\n .optional()\n .default(false)\n .describe('Loading state that shows a spinner and disables interaction'),\n\n /**\n * Disabled state\n * @default false\n */\n disabled: z.boolean().optional().default(false).describe('Disabled state'),\n\n /**\n * Shows a tick in place of the icon to say the action finished\n * @default false\n */\n done: z.boolean().optional().describe('Shows a tick in place of the icon to say the action finished'),\n\n /**\n * Type attribute for form buttons\n * @default 'button'\n */\n type: z\n .enum(['button', 'submit', 'reset'])\n .optional()\n .describe('Type attribute for form buttons'),\n\n /**\n * Additional CSS class name\n */\n className: z.string().optional().describe('Additional CSS class name'),\n\n /**\n * Inline styles\n */\n style: z\n .record(z.string(), z.union([z.string(), z.number()]))\n .optional()\n .describe('Inline styles'),\n\n /**\n * Click handler\n */\n onClick: z.function().optional().describe('Click handler'),\n\n /**\n * Focus handler\n */\n onFocus: z.function().optional().describe('Focus handler'),\n\n /**\n * Blur handler\n */\n onBlur: z.function().optional().describe('Blur handler'),\n\n /**\n * Mouse enter handler\n */\n onMouseEnter: z.function().optional().describe('Mouse enter handler'),\n\n /**\n * Mouse leave handler\n */\n onMouseLeave: z.function().optional().describe('Mouse leave handler'),\n\n /**\n * Key down handler\n */\n onKeyDown: z.function().optional().describe('Key down handler'),\n\n /**\n * Key up handler\n */\n onKeyUp: z.function().optional().describe('Key up handler'),\n\n /**\n * Form submission handler\n */\n onSubmit: z.function().optional().describe('Form submission handler'),\n\n /**\n * Tab index for keyboard navigation\n */\n tabIndex: z.number().optional().describe('Tab index for keyboard navigation'),\n\n /**\n * ARIA label for accessibility\n */\n 'aria-label': z.string().optional().describe('ARIA label for accessibility'),\n\n /**\n * ARIA labelled by reference\n */\n 'aria-labelledby': z.string().optional().describe('ARIA labelled by reference'),\n\n /**\n * ARIA described by reference\n */\n 'aria-describedby': z.string().optional().describe('ARIA described by reference'),\n\n /**\n * ARIA expanded state\n */\n 'aria-expanded': z.boolean().optional().describe('ARIA expanded state'),\n\n /**\n * ARIA pressed state\n */\n 'aria-pressed': z.boolean().optional().describe('ARIA pressed state'),\n\n /**\n * ARIA current state\n */\n 'aria-current': z\n .union([z.boolean(), z.enum(['page', 'step', 'location', 'date', 'time'])])\n .optional()\n .describe('ARIA current state'),\n\n /**\n * ARIA controls reference\n */\n 'aria-controls': z.string().optional().describe('ARIA controls reference'),\n\n /**\n * ARIA owns reference\n */\n 'aria-owns': z.string().optional().describe('ARIA owns reference'),\n\n /**\n * Data attributes\n */\n 'data-*': z.record(z.string(), z.string()).optional().describe('Data attributes'),\n\n /**\n * ID attribute\n */\n id: z.string().optional().describe('ID attribute'),\n\n /**\n * Title attribute for tooltip\n */\n title: z.string().optional().describe('Title attribute for tooltip'),\n\n /**\n * Role attribute\n */\n role: z.string().optional().describe('Role attribute'),\n\n /**\n * Children elements\n */\n children: z.any().optional().describe('Children elements'),\n })\n .strict();\n\n/**\n * Type derived from BaseButton Zod schema\n * This ensures type safety and consistency with the schema\n */\nexport type BaseButtonProps = z.infer<typeof BaseButtonSchema>;\n\n/**\n * Development-only helper to validate and normalize props\n * This function should only be used in development mode\n *\n * @param props - Props to validate and normalize\n * @returns Validated and normalized props\n *\n * @example\n * ```tsx\n * // In development, this will validate props and show helpful errors\n * const validatedProps = parseBaseButtonProps({ size: 'invalid', variant: 'solid' });\n * // Throws: \"Invalid enum value. Expected '1' | '2' | '3' | '4', received 'invalid'\"\n * ```\n */\nexport function parseBaseButtonProps(props: unknown): BaseButtonProps {\n if (process.env.NODE_ENV === 'development') {\n return BaseButtonSchema.parse(props);\n }\n return props as BaseButtonProps;\n}\n", "import { z } from 'zod';\nimport { BaseButtonSchema } from './base-button.schema.js';\n\n/**\n * Button Zod schema - Single source of truth for Button component props\n *\n * The Button component is the primary interactive element in the Kookie User Interface.\n * It provides six visual variants, four sizes, comprehensive color options, and built-in\n * tooltip support. The component automatically handles icon sizing, supports responsive\n * layouts, and provides accessibility compliance out of the box.\n *\n * @example\n * ```tsx\n * // Basic button validation\n * const props = ButtonSchema.parse({ variant: 'solid', size: '2' });\n *\n * // Button with tooltip\n * const tooltipProps = ButtonSchema.parse({\n * tooltip: 'Save your progress',\n * tooltipSide: 'top'\n * });\n *\n * // Polymorphic button as link\n * const linkProps = ButtonSchema.parse({\n * as: 'a',\n * href: '/dashboard',\n * children: 'Go to Dashboard'\n * });\n * ```\n */\n/**\n * Button's own fields, before the rules that span fields. Toggle extends this, since a\n * refined schema cannot be extended.\n */\nexport const ButtonObjectSchema = BaseButtonSchema.extend({\n /**\n * Content to display in the tooltip on hover/focus\n */\n tooltip: z.string().optional().describe('Content to display in the tooltip on hover/focus'),\n\n /**\n * Side of the button where the tooltip should appear\n * @default 'top'\n */\n tooltipSide: z\n .enum(['top', 'right', 'bottom', 'left'])\n .optional()\n .default('top')\n .describe('Side of the button where the tooltip should appear'),\n\n /**\n * The button's rank: loud is solid, medium is raised, quiet is ghost. Pass this or `variant`, not both.\n */\n emphasis: z.enum(['loud', 'medium', 'quiet']).optional().describe(\"The button's rank: loud (solid), medium (raised) or quiet (ghost). Not with variant.\"),\n\n /**\n * A square button holding only an icon. Needs an accessible name.\n */\n iconOnly: z.boolean().optional().default(false).describe('Square button holding only an icon; needs aria-label'),\n\n /**\n * Expands the button to fill its container. Ignored when iconOnly is set.\n */\n fullWidth: z.boolean().optional().default(false).describe('Expands the button to fill its container'),\n\n /**\n * Alignment of the tooltip relative to the button\n * @default 'center'\n */\n tooltipAlign: z\n .enum(['start', 'center', 'end'])\n .optional()\n .default('center')\n .describe('Alignment of the tooltip relative to the button'),\n\n /**\n * Delay before showing the tooltip (in milliseconds)\n */\n tooltipDelayDuration: z\n .number()\n .optional()\n .describe('Delay before showing the tooltip (in milliseconds)'),\n\n /**\n * Whether to disable hoverable content behavior\n * @default false\n */\n tooltipDisableHoverableContent: z\n .boolean()\n .optional()\n .default(false)\n .describe('Whether to disable hoverable content behavior'),\n}).strict();\n\nexport const ButtonSchema = ButtonObjectSchema.refine(\n (data) => !data.iconOnly || Boolean(data['aria-label'] || data['aria-labelledby']),\n {\n message: \"An iconOnly Button must have either 'aria-label' or 'aria-labelledby' for accessibility\",\n path: ['aria-label'],\n },\n);\n\n/**\n * Type derived from Button Zod schema\n * This ensures type safety and consistency with the schema\n */\nexport type ButtonProps = z.infer<typeof ButtonSchema>;\n\n/**\n * Development-only helper to validate and normalize Button props\n * This function should only be used in development mode\n *\n * @param props - Props to validate and normalize\n * @returns Validated and normalized props\n *\n * @example\n * ```tsx\n * // In development, this will validate props and show helpful errors\n * const validatedProps = parseButtonProps({\n * variant: 'invalid',\n * tooltipSide: 'invalid'\n * });\n * // Throws validation errors for invalid enum values\n * ```\n */\nexport function parseButtonProps(props: unknown): ButtonProps {\n if (process.env.NODE_ENV === 'development') {\n return ButtonSchema.parse(props);\n }\n return props as ButtonProps;\n}\n", "import { z } from 'zod';\nimport { ButtonObjectSchema } from './button.schema.js';\n\n/**\n * Toggle Zod schema - Single source of truth for Toggle component props\n *\n * Toggle is a Button that stays pressed, built on Radix UI's Toggle primitive. Set `iconOnly`\n * for a square toggle holding only an icon; it then needs `aria-label` or `aria-labelledby`.\n *\n * @example\n * ```tsx\n * const props = ToggleSchema.parse({ defaultPressed: false, variant: 'outline' });\n *\n * const iconProps = ToggleSchema.parse({ iconOnly: true, 'aria-label': 'Bold' });\n * ```\n */\n// A toggle's state is `pressed`, so it does not take Button's `done`.\nexport const ToggleSchema = ButtonObjectSchema.omit({ done: true }).extend({\n /**\n * Controlled pressed state\n * When provided, the component is controlled and the pressed state is managed externally\n */\n pressed: z.boolean().optional().describe('Controlled pressed state'),\n\n /**\n * Callback when pressed state changes\n * Called with the new pressed state when the toggle is activated\n */\n onPressedChange: z.function().optional().describe('Callback when pressed state changes'),\n\n /**\n * Default pressed state for uncontrolled usage\n * Used as the initial pressed state when the component is uncontrolled\n */\n defaultPressed: z.boolean().optional().describe('Default pressed state for uncontrolled usage'),\n})\n .refine((data) => !data.iconOnly || Boolean(data['aria-label'] || data['aria-labelledby']), {\n message: \"An iconOnly Toggle must have either 'aria-label' or 'aria-labelledby' for accessibility\",\n path: ['aria-label'],\n })\n .refine(\n (data) => {\n // If pressed is provided, onPressedChange should also be provided for controlled usage\n if (data.pressed !== undefined && data.onPressedChange === undefined) {\n return false;\n }\n return true;\n },\n {\n message: 'When using controlled mode (pressed prop), onPressedChange must also be provided',\n path: ['onPressedChange'],\n },\n )\n .refine(\n (data) => {\n // Cannot have both controlled and uncontrolled props\n if (data.pressed !== undefined && data.defaultPressed !== undefined) {\n return false;\n }\n return true;\n },\n {\n message:\n 'Cannot use both controlled (pressed) and uncontrolled (defaultPressed) props together',\n path: ['pressed', 'defaultPressed'],\n },\n );\n\n/**\n * Type derived from Toggle Zod schema\n * This ensures type safety and consistency with the schema\n */\nexport type ToggleProps = z.infer<typeof ToggleSchema>;\n\n/**\n * Development-only helper to validate and normalize Toggle props\n * This function should only be used in development mode\n *\n * @param props - Props to validate and normalize\n * @returns Validated and normalized props\n *\n * @example\n * ```tsx\n * // In development, this will validate props and show helpful errors\n * const invalidProps = parseToggleProps({\n * pressed: true,\n * defaultPressed: false\n * // Missing onPressedChange and conflicting controlled/uncontrolled\n * });\n * // Throws: \"Cannot use both controlled (pressed) and uncontrolled (defaultPressed) props together\"\n *\n * const validProps = parseToggleProps({\n * pressed: true,\n * onPressedChange: (pressed) => setPressed(pressed)\n * });\n * ```\n */\nexport function parseToggleProps(props: unknown): ToggleProps {\n if (process.env.NODE_ENV === 'development') {\n return ToggleSchema.parse(props);\n }\n return props as ToggleProps;\n}\n", "import { z } from 'zod';\n\n/**\n * Shell Zod schema: the Shell's props, for tools that read a schema\n * (editors, assistants, documentation).\n *\n * Shell is the frame of an application. Each pane holds its own open state;\n * a pane nobody has touched follows the window, and the stylesheet resolves\n * it at each breakpoint. Callbacks report user actions only.\n *\n * @example\n * ```tsx\n * const props = ShellRootSchema.parse({ height: 'full' });\n *\n * const sidebarProps = ShellSidebarSchema.parse({\n * defaultState: { initial: 'collapsed', md: 'expanded' },\n * presentation: { initial: 'overlay', sm: 'fixed' },\n * });\n * ```\n */\n\n// Common types\nconst PaneModeSchema = z.enum(['expanded', 'collapsed']).describe('Pane state mode');\nconst SidebarModeSchema = z.enum(['collapsed', 'expanded']).describe('Sidebar state');\nconst PresentationValueSchema = z.enum(['fixed', 'overlay', 'stacked']).describe('Presentation mode');\nconst _BreakpointSchema = z.enum(['initial', 'xs', 'sm', 'md', 'lg', 'xl']).describe('Responsive breakpoint');\nconst PaneTargetSchema = z.enum(['left', 'rail', 'panel', 'sidebar', 'inspector', 'bottom']).describe('Pane target. `left` is deprecated: use `rail`.');\nconst TriggerActionSchema = z.enum(['toggle', 'expand', 'collapse']).describe('Trigger action');\nconst OpenChangeReasonSchema = z.enum(['toggle', 'dismiss']).describe('Why the state changed: `toggle` for a trigger or the resize handle, `dismiss` for Escape or the scrim');\nconst SizeChangeReasonSchema = z.enum(['init', 'resize', 'controlled']).describe('Why the size changed');\n\nfunction responsive<T extends z.ZodTypeAny>(value: T) {\n return z.union([\n value,\n z.object({\n initial: value.optional(),\n xs: value.optional(),\n sm: value.optional(),\n md: value.optional(),\n lg: value.optional(),\n xl: value.optional(),\n }),\n ]);\n}\n\n// Responsive schemas\nconst _ResponsiveModeSchema = responsive(PaneModeSchema).describe('Responsive pane mode configuration');\nconst ResponsiveSidebarModeSchema = responsive(SidebarModeSchema).describe('Responsive sidebar state');\nconst ResponsivePresentationSchema = responsive(PresentationValueSchema).describe('Responsive presentation configuration');\nconst ResponsiveOpenSchema = responsive(z.boolean()).describe('Responsive open state');\n\n// Size persistence adapter (deprecated)\nconst PaneSizePersistenceSchema = z\n .object({\n load: z.function({ output: z.union([z.number(), z.promise(z.number()), z.undefined()]) }).optional(),\n save: z.function({ input: [z.number()], output: z.union([z.void(), z.promise(z.void())]) }).optional(),\n })\n .describe('Deprecated, removed in 1.0. Keep the size in your own state with `size`/`onSizeChange`.');\n\nconst StyleSchema = z\n .record(z.string(), z.union([z.string(), z.number()]))\n .optional()\n .describe('Inline styles');\n\nconst OpenPropsSchema = {\n open: z.union([z.boolean(), ResponsiveOpenSchema]).optional().describe('The open state, when controlled. A responsive object is deprecated.'),\n defaultOpen: z\n .union([z.boolean(), ResponsiveOpenSchema])\n .optional()\n .describe('The starting state. A responsive object leaves the pane untouched, with that object as the answer at each breakpoint.'),\n onOpenChange: z\n .function({ input: [z.boolean(), z.object({ reason: OpenChangeReasonSchema })], output: z.void() })\n .optional()\n .describe('Called when a user opens or closes the pane. Never called on mount or on a resize.'),\n};\n\n// Props shared by every pane\nconst PaneBaseShape = {\n id: z.string().optional().describe('The pane id. A Trigger points `aria-controls` at it.'),\n presentation: ResponsivePresentationSchema.optional(),\n expandedSize: z.number().optional(),\n flush: z.boolean().optional().describe('Whether the pane joins the app frame. Defaults to true. `false` pulls it off the frame as a card.'),\n onExpand: z.function({ output: z.void() }).optional().describe('Deprecated: use `onOpenChange`'),\n onCollapse: z.function({ output: z.void() }).optional().describe('Deprecated: use `onOpenChange`'),\n className: z.string().optional().describe('Additional CSS class name'),\n style: StyleSchema,\n children: z.any().optional(),\n};\n\n// Props of a pane that resizes\nconst ResizeShape = {\n minSize: z.number().optional(),\n maxSize: z.number().optional().describe('The largest size. A drag also stops before the handle leaves the frame.'),\n resizable: z.boolean().optional(),\n collapsible: z.boolean().optional().describe('A double-click on the handle closes the pane'),\n size: z.union([z.number(), z.string()]).optional().describe('The size, when controlled'),\n defaultSize: z.union([z.number(), z.string()]).optional().describe('The starting size'),\n onSizeChange: z.function({ input: [z.number(), z.object({ reason: SizeChangeReasonSchema })], output: z.void() }).optional(),\n sizeUpdate: z\n .enum(['throttle', 'debounce'])\n .optional()\n .describe('Rate-limits onSizeChange across repeated resize ends, such as key presses on the handle. A drag calls it once, when the drag ends; use onResize for live sizes.'),\n sizeUpdateMs: z.number().optional(),\n onResize: z\n .function({ input: [z.number()], output: z.void() })\n .optional()\n .describe('Called during a drag, at most once per animation frame'),\n onResizeStart: z.function({ input: [z.number()], output: z.void() }).optional(),\n onResizeEnd: z.function({ input: [z.number()], output: z.void() }).optional(),\n snapPoints: z.array(z.number()).optional().describe('Deprecated, removed in 1.0'),\n snapTolerance: z.number().optional().describe('Deprecated, removed in 1.0'),\n collapseThreshold: z.number().optional().describe('Deprecated, removed in 1.0'),\n paneId: z.string().optional().describe('Deprecated, removed in 1.0'),\n persistence: PaneSizePersistenceSchema.optional(),\n};\n\n/**\n * Shell.Root component schema\n */\nexport const ShellRootSchema = z\n .object({\n height: z\n .union([z.literal('full'), z.literal('auto'), z.string(), z.number()])\n .default('full')\n .describe(\n 'Height of the frame. `full` is the window: 100dvh, with 100vh where dvh is not supported, and on a narrow touch screen the page scrolls. Any value other than `full` or `auto` makes the Shell contained.',\n ),\n contained: z.boolean().default(false).describe('Fills the parent instead of the window and always scrolls inside itself. An explicit `height` implies it.'),\n size: z.enum(['1', '2', '3']).default('2').describe('Index of the pane chrome and the Sidebar rows in it'),\n className: z.string().optional().describe('Additional CSS class name'),\n style: StyleSchema,\n children: z.any().optional().describe('The Shell parts, and anything else, rendered in order'),\n })\n .strict();\n\n/**\n * Shell.Header component schema\n */\nexport const ShellHeaderSchema = z\n .object({\n height: z.number().default(64).describe('Height of the header, in pixels'),\n flush: z.boolean().optional().describe('Whether the header joins the app frame. Defaults to true. `false` makes it a card off the frame.'),\n className: z.string().optional().describe('Additional CSS class name'),\n style: StyleSchema,\n children: z.any().optional().describe('Header content'),\n })\n .strict();\n\n/**\n * Shell.Rail component schema\n */\nexport const ShellRailSchema = z\n .object({\n ...PaneBaseShape,\n ...OpenPropsSchema,\n presentation: ResponsivePresentationSchema.default('fixed').describe('Presentation mode'),\n expandedSize: z.number().default(64).describe('Width in pixels'),\n collapsible: z.boolean().optional(),\n })\n .strict();\n\n/**\n * Shell.Panel component schema\n */\nexport const ShellPanelSchema = z\n .object({\n ...PaneBaseShape,\n ...OpenPropsSchema,\n ...ResizeShape,\n presentation: ResponsivePresentationSchema.optional().describe(\"Presentation mode. With no value the panel follows the Rail's.\"),\n expandedSize: z.number().default(288).describe('Open width in pixels'),\n minSize: z.number().default(100).describe('Minimum width when resizing'),\n maxSize: z.number().default(800).describe('Maximum width when resizing'),\n resizable: z.boolean().default(false).describe('Whether the panel can be resized'),\n collapsible: z.boolean().default(true).describe('Whether a double-click on the handle closes the panel'),\n })\n .strict();\n\n/**\n * Shell.Sidebar component schema\n */\nexport const ShellSidebarSchema = z\n .object({\n ...PaneBaseShape,\n ...ResizeShape,\n state: z.union([SidebarModeSchema, ResponsiveSidebarModeSchema]).optional().describe('The state, when controlled. A responsive object is deprecated.'),\n defaultState: ResponsiveSidebarModeSchema.optional().describe('The starting state. With no value the sidebar is open where it is in the frame and closed where it is an overlay.'),\n onStateChange: z\n .function({ input: [SidebarModeSchema, z.object({ reason: OpenChangeReasonSchema })], output: z.void() })\n .optional()\n .describe('Called when a user changes the state. Never called on mount or on a resize.'),\n presentation: ResponsivePresentationSchema.default({ initial: 'overlay', sm: 'fixed' }).describe('Presentation mode'),\n expandedSize: z.number().default(288).describe('Open width in pixels'),\n minSize: z.number().default(200).describe('Minimum width when resizing'),\n maxSize: z.number().default(400).describe('Maximum width when resizing'),\n resizable: z.boolean().default(false).describe('Whether the sidebar can be resized'),\n collapsible: z.boolean().default(true).describe('Whether a double-click on the handle closes the sidebar'),\n })\n .strict();\n\n/**\n * Shell.Content component schema\n */\nexport const ShellContentSchema = z\n .object({\n flush: z.boolean().optional().describe('Whether the work area joins the app frame. Defaults to true. `false` makes it a card on the Shell background.'),\n className: z.string().optional().describe('Additional CSS class name'),\n style: StyleSchema,\n children: z.any().optional().describe('Main content'),\n })\n .strict();\n\n/**\n * Shell.Inspector component schema\n */\nexport const ShellInspectorSchema = z\n .object({\n ...PaneBaseShape,\n ...OpenPropsSchema,\n ...ResizeShape,\n presentation: ResponsivePresentationSchema.default({ initial: 'overlay', sm: 'fixed' }).describe('Presentation mode'),\n expandedSize: z.number().default(320).describe('Open width in pixels'),\n minSize: z.number().default(200).describe('Minimum width when resizing'),\n maxSize: z.number().default(500).describe('Maximum width when resizing'),\n resizable: z.boolean().default(false).describe('Whether the inspector can be resized'),\n collapsible: z.boolean().default(true).describe('Whether a double-click on the handle closes the inspector'),\n })\n .strict();\n\n/**\n * Shell.Bottom component schema\n */\nexport const ShellBottomSchema = z\n .object({\n ...PaneBaseShape,\n ...OpenPropsSchema,\n ...ResizeShape,\n presentation: ResponsivePresentationSchema.default('fixed').describe('Presentation mode'),\n expandedSize: z.number().default(200).describe('Open height in pixels'),\n minSize: z.number().default(100).describe('Minimum height when resizing'),\n maxSize: z.number().default(400).describe('Maximum height when resizing'),\n resizable: z.boolean().default(false).describe('Whether the bottom panel can be resized'),\n collapsible: z.boolean().default(true).describe('Whether a double-click on the handle closes the panel'),\n })\n .strict();\n\n/**\n * Shell.Trigger component schema\n */\nexport const ShellTriggerSchema = z\n .object({\n target: PaneTargetSchema.describe('Which pane to drive'),\n action: TriggerActionSchema.default('toggle').describe('Action to perform'),\n peekOnHover: z.boolean().default(false).describe('Deprecated, removed in 1.0. Shows a preview of a closed pane on hover.'),\n type: z.enum(['button', 'submit', 'reset']).default('button').describe('The button type'),\n className: z.string().optional().describe('Additional CSS class name'),\n style: StyleSchema,\n children: z.any().optional().describe('Trigger content'),\n onClick: z.function().optional().describe('Runs before the trigger acts. Call `event.preventDefault()` to cancel it.'),\n onMouseEnter: z.function().optional().describe('Mouse enter handler'),\n onMouseLeave: z.function().optional().describe('Mouse leave handler'),\n 'aria-label': z.string().optional().describe('ARIA label for accessibility'),\n 'aria-labelledby': z.string().optional().describe('ARIA labelled by reference'),\n 'aria-describedby': z.string().optional().describe('ARIA described by reference'),\n })\n .strict();\n\n/**\n * Shell.Handle component schema (for resize handles)\n */\nexport const ShellHandleSchema = z\n .object({\n className: z.string().optional().describe('Additional CSS class name'),\n style: StyleSchema,\n children: z.any().optional().describe('Handle content'),\n })\n .strict();\n\n// Type exports\nexport type ShellRootProps = z.infer<typeof ShellRootSchema>;\nexport type ShellHeaderProps = z.infer<typeof ShellHeaderSchema>;\nexport type ShellRailProps = z.infer<typeof ShellRailSchema>;\nexport type ShellPanelProps = z.infer<typeof ShellPanelSchema>;\nexport type ShellSidebarProps = z.infer<typeof ShellSidebarSchema>;\nexport type ShellContentProps = z.infer<typeof ShellContentSchema>;\nexport type ShellInspectorProps = z.infer<typeof ShellInspectorSchema>;\nexport type ShellBottomProps = z.infer<typeof ShellBottomSchema>;\nexport type ShellTriggerProps = z.infer<typeof ShellTriggerSchema>;\nexport type ShellHandleProps = z.infer<typeof ShellHandleSchema>;\n\n// Common type exports\nexport type PaneMode = z.infer<typeof PaneModeSchema>;\nexport type SidebarMode = z.infer<typeof SidebarModeSchema>;\nexport type PresentationValue = z.infer<typeof PresentationValueSchema>;\nexport type Breakpoint = z.infer<typeof _BreakpointSchema>;\nexport type PaneTarget = z.infer<typeof PaneTargetSchema>;\nexport type TriggerAction = z.infer<typeof TriggerActionSchema>;\nexport type ResponsiveMode = z.infer<typeof _ResponsiveModeSchema>;\nexport type ResponsiveSidebarMode = z.infer<typeof ResponsiveSidebarModeSchema>;\nexport type ResponsivePresentation = z.infer<typeof ResponsivePresentationSchema>;\nexport type PaneSizePersistence = z.infer<typeof PaneSizePersistenceSchema>;\n\n/**\n * Development-only helper to validate and normalize Shell props\n * This function should only be used in development mode\n *\n * @param props - Props to validate and normalize\n * @returns Validated and normalized props\n *\n * @example\n * ```tsx\n * // In development, this will validate props and show helpful errors\n * const validatedProps = parseShellRootProps({ height: 'invalid' });\n * // Throws validation errors for invalid values\n * ```\n */\nexport function parseShellRootProps(props: unknown): ShellRootProps {\n if (process.env.NODE_ENV === 'development') {\n return ShellRootSchema.parse(props);\n }\n return props as ShellRootProps;\n}\n\nexport function parseShellHeaderProps(props: unknown): ShellHeaderProps {\n if (process.env.NODE_ENV === 'development') {\n return ShellHeaderSchema.parse(props);\n }\n return props as ShellHeaderProps;\n}\n\nexport function parseShellRailProps(props: unknown): ShellRailProps {\n if (process.env.NODE_ENV === 'development') {\n return ShellRailSchema.parse(props);\n }\n return props as ShellRailProps;\n}\n\nexport function parseShellPanelProps(props: unknown): ShellPanelProps {\n if (process.env.NODE_ENV === 'development') {\n return ShellPanelSchema.parse(props);\n }\n return props as ShellPanelProps;\n}\n\nexport function parseShellSidebarProps(props: unknown): ShellSidebarProps {\n if (process.env.NODE_ENV === 'development') {\n return ShellSidebarSchema.parse(props);\n }\n return props as ShellSidebarProps;\n}\n\nexport function parseShellContentProps(props: unknown): ShellContentProps {\n if (process.env.NODE_ENV === 'development') {\n return ShellContentSchema.parse(props);\n }\n return props as ShellContentProps;\n}\n\nexport function parseShellInspectorProps(props: unknown): ShellInspectorProps {\n if (process.env.NODE_ENV === 'development') {\n return ShellInspectorSchema.parse(props);\n }\n return props as ShellInspectorProps;\n}\n\nexport function parseShellBottomProps(props: unknown): ShellBottomProps {\n if (process.env.NODE_ENV === 'development') {\n return ShellBottomSchema.parse(props);\n }\n return props as ShellBottomProps;\n}\n\nexport function parseShellTriggerProps(props: unknown): ShellTriggerProps {\n if (process.env.NODE_ENV === 'development') {\n return ShellTriggerSchema.parse(props);\n }\n return props as ShellTriggerProps;\n}\n\nexport function parseShellHandleProps(props: unknown): ShellHandleProps {\n if (process.env.NODE_ENV === 'development') {\n return ShellHandleSchema.parse(props);\n }\n return props as ShellHandleProps;\n}\n"],
5
- "mappings": ";yaAAA,IAAAA,GAAA,GAAAC,EAAAD,GAAA,sBAAAE,EAAA,iBAAAC,EAAA,sBAAAC,EAAA,uBAAAC,EAAA,sBAAAC,EAAA,sBAAAC,EAAA,yBAAAC,EAAA,qBAAAC,EAAA,oBAAAC,EAAA,oBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,iBAAAC,EAAA,yBAAAC,EAAA,qBAAAC,EAAA,eAAAC,GAAA,0BAAAC,EAAA,2BAAAC,EAAA,0BAAAC,EAAA,0BAAAC,EAAA,6BAAAC,EAAA,yBAAAC,EAAA,wBAAAC,EAAA,wBAAAC,EAAA,2BAAAC,EAAA,2BAAAC,EAAA,qBAAAC,IAAA,eAAAC,EAAA7B,ICAA,IAAA8B,EAAkB,eAqBLC,EAAmB,IAC7B,OAAO,CAKN,GAAI,IAAE,OAAO,EAAE,SAAS,EAAE,SAAS,gCAAgC,EAMnE,QAAS,IACN,QAAQ,EACR,SAAS,EACT,SAAS,6DAA6D,EAOzE,KAAM,IACH,MAAM,CACL,IAAE,KAAK,CAAC,IAAK,IAAK,IAAK,GAAG,CAAC,EAC3B,IAAE,OAAO,CACP,QAAS,IAAE,KAAK,CAAC,IAAK,IAAK,IAAK,GAAG,CAAC,EAAE,SAAS,EAC/C,GAAI,IAAE,KAAK,CAAC,IAAK,IAAK,IAAK,GAAG,CAAC,EAAE,SAAS,EAC1C,GAAI,IAAE,KAAK,CAAC,IAAK,IAAK,IAAK,GAAG,CAAC,EAAE,SAAS,EAC1C,GA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,6BAA6B,CAClF,CAAC,EACA,OAAO,EAKGa,EAAoB,IAC9B,OAAO,CACN,UAAW,IAAE,OAAO,EAAE,SAAS,EAAE,SAAS,2BAA2B,EACrE,MAAOb,EACP,SAAU,IAAE,IAAI,EAAE,SAAS,EAAE,SAAS,gBAAgB,CACxD,CAAC,EACA,OAAO,EAwCH,SAASc,EAAoBC,EAAgC,CAIlE,OAAOA,CACT,CAEO,SAASC,EAAsBD,EAAkC,CAItE,OAAOA,CACT,CAEO,SAASE,EAAoBF,EAAgC,CAIlE,OAAOA,CACT,CAEO,SAASG,EAAqBH,EAAiC,CAIpE,OAAOA,CACT,CAEO,SAASI,EAAuBJ,EAAmC,CAIxE,OAAOA,CACT,CAEO,SAASK,EAAuBL,EAAmC,CAIxE,OAAOA,CACT,CAEO,SAASM,EAAyBN,EAAqC,CAI5E,OAAOA,CACT,CAEO,SAASO,EAAsBP,EAAkC,CAItE,OAAOA,CACT,CAEO,SAASQ,EAAuBR,EAAmC,CAIxE,OAAOA,CACT,CAEO,SAASS,EAAsBT,EAAkC,CAItE,OAAOA,CACT,CJvRA,IAAAU,GAAkB,eAPX,SAASC,GAAcC,EAAwBC,EAAmB,CAIvE,OAAOA,CACT",
6
- "names": ["schemas_exports", "__export", "BaseButtonSchema", "ButtonSchema", "ShellBottomSchema", "ShellContentSchema", "ShellHandleSchema", "ShellHeaderSchema", "ShellInspectorSchema", "ShellPanelSchema", "ShellRailSchema", "ShellRootSchema", "ShellSidebarSchema", "ShellTriggerSchema", "ToggleSchema", "parseBaseButtonProps", "parseButtonProps", "parseProps", "parseShellBottomProps", "parseShellContentProps", "parseShellHandleProps", "parseShellHeaderProps", "parseShellInspectorProps", "parseShellPanelProps", "parseShellRailProps", "parseShellRootProps", "parseShellSidebarProps", "parseShellTriggerProps", "parseToggleProps", "__toCommonJS", "import_zod", "BaseButtonSchema", "parseBaseButtonProps", "props", "import_zod", "ButtonObjectSchema", "BaseButtonSchema", "ButtonSchema", "data", "parseButtonProps", "props", "import_zod", "ToggleSchema", "ButtonObjectSchema", "data", "parseToggleProps", "props", "import_zod", "PaneModeSchema", "SidebarModeSchema", "PresentationValueSchema", "_BreakpointSchema", "PaneTargetSchema", "TriggerActionSchema", "OpenChangeReasonSchema", "SizeChangeReasonSchema", "responsive", "value", "_ResponsiveModeSchema", "ResponsiveSidebarModeSchema", "ResponsivePresentationSchema", "ResponsiveOpenSchema", "PaneSizePersistenceSchema", "StyleSchema", "OpenPropsSchema", "PaneBaseShape", "ResizeShape", "ShellRootSchema", "ShellHeaderSchema", "ShellRailSchema", "ShellPanelSchema", "ShellSidebarSchema", "ShellContentSchema", "ShellInspectorSchema", "ShellBottomSchema", "ShellTriggerSchema", "ShellHandleSchema", "parseShellRootProps", "props", "parseShellHeaderProps", "parseShellRailProps", "parseShellPanelProps", "parseShellSidebarProps", "parseShellContentProps", "parseShellInspectorProps", "parseShellBottomProps", "parseShellTriggerProps", "parseShellHandleProps", "import_zod", "parseProps", "schema", "props"]
4
+ "sourcesContent": ["/**\n * Button component schemas - Single source of truth for all button-related components\n *\n * This module exports Zod schemas for all button components, providing:\n * - Type-safe prop validation\n * - Machine-readable JSON schema generation\n * - Development-time prop validation\n * - Consistent API across all button variants\n *\n * @example\n * ```tsx\n * import { ButtonSchema, parseButtonProps } from './schemas';\n *\n * // Type-safe prop validation\n * const props = ButtonSchema.parse({ variant: 'solid', size: '2' });\n *\n * // Development-time validation\n * const validatedProps = parseButtonProps(userProps);\n * ```\n */\n\n// Base schemas\nexport { BaseButtonSchema, parseBaseButtonProps } from './base-button.schema.js';\nexport type { BaseButtonProps } from './base-button.schema.js';\n\n// Button schemas\nexport { ButtonSchema, parseButtonProps } from './button.schema.js';\nexport type { ButtonProps } from './button.schema.js';\n\n// Toggle schemas\nexport { ToggleSchema, parseToggleProps } from './toggle.schema.js';\nexport type { ToggleProps } from './toggle.schema.js';\n\n// Shell schemas\nexport {\n ShellRootSchema,\n ShellHeaderSchema,\n ShellRailSchema,\n ShellPanelSchema,\n ShellSidebarSchema,\n ShellContentSchema,\n ShellInspectorSchema,\n ShellBottomSchema,\n ShellTriggerSchema,\n ShellHandleSchema,\n parseShellRootProps,\n parseShellHeaderProps,\n parseShellRailProps,\n parseShellPanelProps,\n parseShellSidebarProps,\n parseShellContentProps,\n parseShellInspectorProps,\n parseShellBottomProps,\n parseShellTriggerProps,\n parseShellHandleProps,\n} from './shell.schema.js';\nexport type {\n ShellRootProps,\n ShellHeaderProps,\n ShellRailProps,\n ShellPanelProps,\n ShellSidebarProps,\n ShellContentProps,\n ShellInspectorProps,\n ShellBottomProps,\n ShellTriggerProps,\n ShellHandleProps,\n PaneMode,\n SidebarMode,\n PresentationValue,\n Breakpoint,\n PaneTarget,\n TriggerAction,\n ResponsiveMode,\n ResponsiveSidebarMode,\n ResponsivePresentation,\n} from './shell.schema.js';\n\n/**\n * Generic parseProps helper for development-time validation\n *\n * This function provides a type-safe way to validate props in development mode.\n * It should only be used in development as it adds runtime overhead.\n *\n * @param schema - Zod schema to validate against\n * @param props - Props to validate\n * @returns Validated and normalized props\n *\n * @example\n * ```tsx\n * import { parseProps } from './schemas';\n * import { ButtonSchema } from './schemas';\n *\n * // In development, this will validate props and show helpful errors\n * const validatedProps = parseProps(ButtonSchema, userProps);\n * ```\n */\nexport function parseProps<T>(schema: z.ZodSchema<T>, props: unknown): T {\n if (process.env.NODE_ENV === 'development') {\n return schema.parse(props);\n }\n return props as T;\n}\n\nimport { z } from 'zod';\n", "import { z } from 'zod';\n\n/**\n * BaseButton Zod schema - Single source of truth for all button component props\n *\n * This schema defines the core button functionality used by the Button and Toggle\n * components. It ensures consistency across\n * the design system and provides machine-readable validation.\n *\n * @example\n * ```tsx\n * // Basic validation\n * const props = BaseButtonSchema.parse({ size: '2', variant: 'solid' });\n *\n * // With responsive props\n * const responsiveProps = BaseButtonSchema.parse({\n * size: { initial: '1', sm: '2', md: '3' },\n * variant: 'solid'\n * });\n * ```\n */\nexport const BaseButtonSchema = z\n .object({\n /**\n * Polymorphic rendering - render as different HTML elements\n * @default 'button'\n */\n as: z.string().optional().describe('HTML element type to render as'),\n\n /**\n * Use asChild to merge props with child element\n * @default false\n */\n asChild: z\n .boolean()\n .optional()\n .describe('Merge props with child element instead of rendering wrapper'),\n\n /**\n * Button size for responsive design and interface density\n * Supports responsive objects: { initial: '1', sm: '2', md: '3', lg: '4' }\n * @default '2'\n */\n size: z\n .union([\n z.enum(['1', '2', '3', '4']),\n z.object({\n initial: z.enum(['1', '2', '3', '4']).optional(),\n xs: z.enum(['1', '2', '3', '4']).optional(),\n sm: z.enum(['1', '2', '3', '4']).optional(),\n md: z.enum(['1', '2', '3', '4']).optional(),\n lg: z.enum(['1', '2', '3', '4']).optional(),\n xl: z.enum(['1', '2', '3', '4']).optional(),\n }),\n ])\n .default('2')\n .describe('Button size for responsive design and interface density'),\n\n /**\n * Visual variant that determines the button's appearance and context\n * @default 'solid'\n */\n variant: z\n .enum(['raised', 'solid', 'soft', 'surface', 'outline', 'ghost'])\n .default('solid')\n .describe(\"Visual variant that determines the button's appearance and context\"),\n\n /**\n * Accent color for the button\n */\n color: z\n .enum([\n 'tomato',\n 'red',\n 'ruby',\n 'crimson',\n 'pink',\n 'plum',\n 'purple',\n 'violet',\n 'iris',\n 'indigo',\n 'blue',\n 'cyan',\n 'teal',\n 'jade',\n 'green',\n 'grass',\n 'brown',\n 'orange',\n 'sky',\n 'mint',\n 'lime',\n 'yellow',\n 'amber',\n 'gold',\n 'bronze',\n 'gray',\n ])\n .optional()\n .describe('Accent color for the button'),\n\n /**\n * Border radius for the button\n */\n radius: z\n .enum(['none', 'small', 'medium', 'large', 'full'])\n .optional()\n .describe('Border radius for the button'),\n\n /**\n * Loading state that shows a spinner and disables interaction\n * Automatically sets disabled=true and provides accessibility announcements\n * @default false\n */\n loading: z\n .boolean()\n .optional()\n .default(false)\n .describe('Loading state that shows a spinner and disables interaction'),\n\n /**\n * Disabled state\n * @default false\n */\n disabled: z.boolean().optional().default(false).describe('Disabled state'),\n\n /**\n * Shows a tick in place of the icon to say the action finished\n * @default false\n */\n done: z.boolean().optional().describe('Shows a tick in place of the icon to say the action finished'),\n\n /**\n * Type attribute for form buttons\n * @default 'button'\n */\n type: z\n .enum(['button', 'submit', 'reset'])\n .optional()\n .describe('Type attribute for form buttons'),\n\n /**\n * Additional CSS class name\n */\n className: z.string().optional().describe('Additional CSS class name'),\n\n /**\n * Inline styles\n */\n style: z\n .record(z.string(), z.union([z.string(), z.number()]))\n .optional()\n .describe('Inline styles'),\n\n /**\n * Click handler\n */\n onClick: z.function().optional().describe('Click handler'),\n\n /**\n * Focus handler\n */\n onFocus: z.function().optional().describe('Focus handler'),\n\n /**\n * Blur handler\n */\n onBlur: z.function().optional().describe('Blur handler'),\n\n /**\n * Mouse enter handler\n */\n onMouseEnter: z.function().optional().describe('Mouse enter handler'),\n\n /**\n * Mouse leave handler\n */\n onMouseLeave: z.function().optional().describe('Mouse leave handler'),\n\n /**\n * Key down handler\n */\n onKeyDown: z.function().optional().describe('Key down handler'),\n\n /**\n * Key up handler\n */\n onKeyUp: z.function().optional().describe('Key up handler'),\n\n /**\n * Form submission handler\n */\n onSubmit: z.function().optional().describe('Form submission handler'),\n\n /**\n * Tab index for keyboard navigation\n */\n tabIndex: z.number().optional().describe('Tab index for keyboard navigation'),\n\n /**\n * ARIA label for accessibility\n */\n 'aria-label': z.string().optional().describe('ARIA label for accessibility'),\n\n /**\n * ARIA labelled by reference\n */\n 'aria-labelledby': z.string().optional().describe('ARIA labelled by reference'),\n\n /**\n * ARIA described by reference\n */\n 'aria-describedby': z.string().optional().describe('ARIA described by reference'),\n\n /**\n * ARIA expanded state\n */\n 'aria-expanded': z.boolean().optional().describe('ARIA expanded state'),\n\n /**\n * ARIA pressed state\n */\n 'aria-pressed': z.boolean().optional().describe('ARIA pressed state'),\n\n /**\n * ARIA current state\n */\n 'aria-current': z\n .union([z.boolean(), z.enum(['page', 'step', 'location', 'date', 'time'])])\n .optional()\n .describe('ARIA current state'),\n\n /**\n * ARIA controls reference\n */\n 'aria-controls': z.string().optional().describe('ARIA controls reference'),\n\n /**\n * ARIA owns reference\n */\n 'aria-owns': z.string().optional().describe('ARIA owns reference'),\n\n /**\n * Data attributes\n */\n 'data-*': z.record(z.string(), z.string()).optional().describe('Data attributes'),\n\n /**\n * ID attribute\n */\n id: z.string().optional().describe('ID attribute'),\n\n /**\n * Title attribute for tooltip\n */\n title: z.string().optional().describe('Title attribute for tooltip'),\n\n /**\n * Role attribute\n */\n role: z.string().optional().describe('Role attribute'),\n\n /**\n * Children elements\n */\n children: z.any().optional().describe('Children elements'),\n })\n .strict();\n\n/**\n * Type derived from BaseButton Zod schema\n * This ensures type safety and consistency with the schema\n */\nexport type BaseButtonProps = z.infer<typeof BaseButtonSchema>;\n\n/**\n * Development-only helper to validate and normalize props\n * This function should only be used in development mode\n *\n * @param props - Props to validate and normalize\n * @returns Validated and normalized props\n *\n * @example\n * ```tsx\n * // In development, this will validate props and show helpful errors\n * const validatedProps = parseBaseButtonProps({ size: 'invalid', variant: 'solid' });\n * // Throws: \"Invalid enum value. Expected '1' | '2' | '3' | '4', received 'invalid'\"\n * ```\n */\nexport function parseBaseButtonProps(props: unknown): BaseButtonProps {\n if (process.env.NODE_ENV === 'development') {\n return BaseButtonSchema.parse(props);\n }\n return props as BaseButtonProps;\n}\n", "import { z } from 'zod';\nimport { BaseButtonSchema } from './base-button.schema.js';\n\n/**\n * Button Zod schema - Single source of truth for Button component props\n *\n * The Button component is the primary interactive element in the Kookie User Interface.\n * It provides six visual variants, four sizes, comprehensive color options, and built-in\n * tooltip support. The component automatically handles icon sizing, supports responsive\n * layouts, and provides accessibility compliance out of the box.\n *\n * @example\n * ```tsx\n * // Basic button validation\n * const props = ButtonSchema.parse({ variant: 'solid', size: '2' });\n *\n * // Button with tooltip\n * const tooltipProps = ButtonSchema.parse({\n * tooltip: 'Save your progress',\n * tooltipSide: 'top'\n * });\n *\n * // Polymorphic button as link\n * const linkProps = ButtonSchema.parse({\n * as: 'a',\n * href: '/dashboard',\n * children: 'Go to Dashboard'\n * });\n * ```\n */\n/**\n * Button's own fields, before the rules that span fields. Toggle extends this, since a\n * refined schema cannot be extended.\n */\nexport const ButtonObjectSchema = BaseButtonSchema.extend({\n /**\n * Content to display in the tooltip on hover/focus\n */\n tooltip: z.string().optional().describe('Content to display in the tooltip on hover/focus'),\n\n /**\n * Side of the button where the tooltip should appear\n * @default 'top'\n */\n tooltipSide: z\n .enum(['top', 'right', 'bottom', 'left'])\n .optional()\n .default('top')\n .describe('Side of the button where the tooltip should appear'),\n\n /**\n * The button's rank: loud is solid, medium is raised, quiet is ghost. Pass this or `variant`, not both.\n */\n emphasis: z.enum(['loud', 'medium', 'quiet']).optional().describe(\"The button's rank: loud (solid), medium (raised) or quiet (ghost). Not with variant.\"),\n\n /**\n * A square button holding only an icon. Needs an accessible name.\n */\n iconOnly: z.boolean().optional().default(false).describe('Square button holding only an icon; needs aria-label'),\n\n /**\n * Expands the button to fill its container. Ignored when iconOnly is set.\n */\n fullWidth: z.boolean().optional().default(false).describe('Expands the button to fill its container'),\n\n /**\n * Alignment of the tooltip relative to the button\n * @default 'center'\n */\n tooltipAlign: z\n .enum(['start', 'center', 'end'])\n .optional()\n .default('center')\n .describe('Alignment of the tooltip relative to the button'),\n\n /**\n * Delay before showing the tooltip (in milliseconds)\n */\n tooltipDelayDuration: z\n .number()\n .optional()\n .describe('Delay before showing the tooltip (in milliseconds)'),\n\n /**\n * Whether to disable hoverable content behavior\n * @default false\n */\n tooltipDisableHoverableContent: z\n .boolean()\n .optional()\n .default(false)\n .describe('Whether to disable hoverable content behavior'),\n}).strict();\n\nexport const ButtonSchema = ButtonObjectSchema.refine(\n (data) => !data.iconOnly || Boolean(data['aria-label'] || data['aria-labelledby']),\n {\n message: \"An iconOnly Button must have either 'aria-label' or 'aria-labelledby' for accessibility\",\n path: ['aria-label'],\n },\n);\n\n/**\n * Type derived from Button Zod schema\n * This ensures type safety and consistency with the schema\n */\nexport type ButtonProps = z.infer<typeof ButtonSchema>;\n\n/**\n * Development-only helper to validate and normalize Button props\n * This function should only be used in development mode\n *\n * @param props - Props to validate and normalize\n * @returns Validated and normalized props\n *\n * @example\n * ```tsx\n * // In development, this will validate props and show helpful errors\n * const validatedProps = parseButtonProps({\n * variant: 'invalid',\n * tooltipSide: 'invalid'\n * });\n * // Throws validation errors for invalid enum values\n * ```\n */\nexport function parseButtonProps(props: unknown): ButtonProps {\n if (process.env.NODE_ENV === 'development') {\n return ButtonSchema.parse(props);\n }\n return props as ButtonProps;\n}\n", "import { z } from 'zod';\nimport { ButtonObjectSchema } from './button.schema.js';\n\n/**\n * Toggle Zod schema - Single source of truth for Toggle component props\n *\n * Toggle is a Button that stays pressed, built on Radix UI's Toggle primitive. Set `iconOnly`\n * for a square toggle holding only an icon; it then needs `aria-label` or `aria-labelledby`.\n *\n * @example\n * ```tsx\n * const props = ToggleSchema.parse({ defaultPressed: false, variant: 'outline' });\n *\n * const iconProps = ToggleSchema.parse({ iconOnly: true, 'aria-label': 'Bold' });\n * ```\n */\n// A toggle's state is `pressed`, so it does not take Button's `done`.\nexport const ToggleSchema = ButtonObjectSchema.omit({ done: true }).extend({\n /**\n * Controlled pressed state\n * When provided, the component is controlled and the pressed state is managed externally\n */\n pressed: z.boolean().optional().describe('Controlled pressed state'),\n\n /**\n * Callback when pressed state changes\n * Called with the new pressed state when the toggle is activated\n */\n onPressedChange: z.function().optional().describe('Callback when pressed state changes'),\n\n /**\n * Default pressed state for uncontrolled usage\n * Used as the initial pressed state when the component is uncontrolled\n */\n defaultPressed: z.boolean().optional().describe('Default pressed state for uncontrolled usage'),\n})\n .refine((data) => !data.iconOnly || Boolean(data['aria-label'] || data['aria-labelledby']), {\n message: \"An iconOnly Toggle must have either 'aria-label' or 'aria-labelledby' for accessibility\",\n path: ['aria-label'],\n })\n .refine(\n (data) => {\n // If pressed is provided, onPressedChange should also be provided for controlled usage\n if (data.pressed !== undefined && data.onPressedChange === undefined) {\n return false;\n }\n return true;\n },\n {\n message: 'When using controlled mode (pressed prop), onPressedChange must also be provided',\n path: ['onPressedChange'],\n },\n )\n .refine(\n (data) => {\n // Cannot have both controlled and uncontrolled props\n if (data.pressed !== undefined && data.defaultPressed !== undefined) {\n return false;\n }\n return true;\n },\n {\n message:\n 'Cannot use both controlled (pressed) and uncontrolled (defaultPressed) props together',\n path: ['pressed', 'defaultPressed'],\n },\n );\n\n/**\n * Type derived from Toggle Zod schema\n * This ensures type safety and consistency with the schema\n */\nexport type ToggleProps = z.infer<typeof ToggleSchema>;\n\n/**\n * Development-only helper to validate and normalize Toggle props\n * This function should only be used in development mode\n *\n * @param props - Props to validate and normalize\n * @returns Validated and normalized props\n *\n * @example\n * ```tsx\n * // In development, this will validate props and show helpful errors\n * const invalidProps = parseToggleProps({\n * pressed: true,\n * defaultPressed: false\n * // Missing onPressedChange and conflicting controlled/uncontrolled\n * });\n * // Throws: \"Cannot use both controlled (pressed) and uncontrolled (defaultPressed) props together\"\n *\n * const validProps = parseToggleProps({\n * pressed: true,\n * onPressedChange: (pressed) => setPressed(pressed)\n * });\n * ```\n */\nexport function parseToggleProps(props: unknown): ToggleProps {\n if (process.env.NODE_ENV === 'development') {\n return ToggleSchema.parse(props);\n }\n return props as ToggleProps;\n}\n", "import { z } from 'zod';\n\n/**\n * Shell Zod schema: the Shell's props, for tools that read a schema\n * (editors, assistants, documentation).\n *\n * Shell is the frame of an application. Each pane holds its own open state;\n * a pane nobody has touched follows the window, and the stylesheet resolves\n * it at each breakpoint. Callbacks report user actions only.\n *\n * @example\n * ```tsx\n * const props = ShellRootSchema.parse({ height: 'full' });\n *\n * const sidebarProps = ShellSidebarSchema.parse({\n * defaultState: { initial: 'collapsed', md: 'expanded' },\n * presentation: { initial: 'overlay', sm: 'fixed' },\n * });\n * ```\n */\n\n// Common types\nconst PaneModeSchema = z.enum(['expanded', 'collapsed']).describe('Pane state mode');\nconst SidebarModeSchema = z.enum(['collapsed', 'expanded']).describe('Sidebar state');\nconst PresentationValueSchema = z.enum(['fixed', 'overlay', 'stacked']).describe('Presentation mode');\nconst _BreakpointSchema = z.enum(['initial', 'xs', 'sm', 'md', 'lg', 'xl']).describe('Responsive breakpoint');\nconst PaneTargetSchema = z.enum(['rail', 'panel', 'sidebar', 'inspector', 'bottom']).describe('Pane target');\nconst TriggerActionSchema = z.enum(['toggle', 'expand', 'collapse']).describe('Trigger action');\nconst OpenChangeReasonSchema = z.enum(['toggle', 'dismiss']).describe('Why the state changed: `toggle` for a trigger or the resize handle, `dismiss` for Escape or the scrim');\nconst SizeChangeReasonSchema = z.enum(['init', 'resize', 'controlled']).describe('Why the size changed');\n\nfunction responsive<T extends z.ZodTypeAny>(value: T) {\n return z.union([\n value,\n z.object({\n initial: value.optional(),\n xs: value.optional(),\n sm: value.optional(),\n md: value.optional(),\n lg: value.optional(),\n xl: value.optional(),\n }),\n ]);\n}\n\n// Responsive schemas\nconst _ResponsiveModeSchema = responsive(PaneModeSchema).describe('Responsive pane mode configuration');\nconst ResponsiveSidebarModeSchema = responsive(SidebarModeSchema).describe('Responsive sidebar state');\nconst ResponsivePresentationSchema = responsive(PresentationValueSchema).describe('Responsive presentation configuration');\nconst ResponsiveOpenSchema = responsive(z.boolean()).describe('Responsive open state');\n\nconst StyleSchema = z\n .record(z.string(), z.union([z.string(), z.number()]))\n .optional()\n .describe('Inline styles');\n\nconst OpenPropsSchema = {\n open: z.boolean().optional().describe('The open state, when controlled'),\n defaultOpen: z\n .union([z.boolean(), ResponsiveOpenSchema])\n .optional()\n .describe('The starting state. A responsive object leaves the pane untouched, with that object as the answer at each breakpoint.'),\n onOpenChange: z\n .function({ input: [z.boolean(), z.object({ reason: OpenChangeReasonSchema })], output: z.void() })\n .optional()\n .describe('Called when a user opens or closes the pane. Never called on mount or on a resize.'),\n};\n\n// Props shared by every pane\nconst PaneBaseShape = {\n id: z.string().optional().describe('The pane id. A Trigger points `aria-controls` at it.'),\n presentation: ResponsivePresentationSchema.optional(),\n expandedSize: z.number().optional(),\n flush: z.boolean().optional().describe('Whether the pane joins the app frame. Defaults to true. `false` pulls it off the frame as a card.'),\n className: z.string().optional().describe('Additional CSS class name'),\n style: StyleSchema,\n children: z.any().optional(),\n};\n\n// Props of a pane that resizes\nconst ResizeShape = {\n minSize: z.number().optional(),\n maxSize: z.number().optional().describe('The largest size. A drag also stops before the handle leaves the frame.'),\n resizable: z.boolean().optional(),\n collapsible: z.boolean().optional().describe('A double-click on the handle closes the pane'),\n size: z.union([z.number(), z.string()]).optional().describe('The size, when controlled'),\n defaultSize: z.union([z.number(), z.string()]).optional().describe('The starting size'),\n onSizeChange: z.function({ input: [z.number(), z.object({ reason: SizeChangeReasonSchema })], output: z.void() }).optional(),\n sizeUpdate: z\n .enum(['throttle', 'debounce'])\n .optional()\n .describe('Rate-limits onSizeChange across repeated resize ends, such as key presses on the handle. A drag calls it once, when the drag ends; use onResize for live sizes.'),\n sizeUpdateMs: z.number().optional(),\n onResize: z\n .function({ input: [z.number()], output: z.void() })\n .optional()\n .describe('Called during a drag, at most once per animation frame'),\n onResizeStart: z.function({ input: [z.number()], output: z.void() }).optional(),\n onResizeEnd: z.function({ input: [z.number()], output: z.void() }).optional(),\n};\n\n/**\n * Shell.Root component schema\n */\nexport const ShellRootSchema = z\n .object({\n height: z\n .union([z.literal('full'), z.literal('auto'), z.string(), z.number()])\n .default('full')\n .describe(\n 'Height of the frame. `full` is the window: 100dvh, with 100vh where dvh is not supported, and on a narrow touch screen the page scrolls. Any value other than `full` or `auto` makes the Shell contained.',\n ),\n contained: z.boolean().default(false).describe('Fills the parent instead of the window and always scrolls inside itself. An explicit `height` implies it.'),\n size: z.enum(['1', '2', '3']).default('2').describe('Index of the pane chrome and the Sidebar rows in it'),\n className: z.string().optional().describe('Additional CSS class name'),\n style: StyleSchema,\n children: z.any().optional().describe('The Shell parts, and anything else, rendered in order'),\n })\n .strict();\n\n/**\n * Shell.Header component schema\n */\nexport const ShellHeaderSchema = z\n .object({\n height: z.number().default(64).describe('Height of the header, in pixels'),\n flush: z.boolean().optional().describe('Whether the header joins the app frame. Defaults to true. `false` makes it a card off the frame.'),\n className: z.string().optional().describe('Additional CSS class name'),\n style: StyleSchema,\n children: z.any().optional().describe('Header content'),\n })\n .strict();\n\n/**\n * Shell.Rail component schema\n */\nexport const ShellRailSchema = z\n .object({\n ...PaneBaseShape,\n ...OpenPropsSchema,\n presentation: ResponsivePresentationSchema.default('fixed').describe('Presentation mode'),\n expandedSize: z.number().default(64).describe('Width in pixels'),\n collapsible: z.boolean().optional(),\n })\n .strict();\n\n/**\n * Shell.Panel component schema\n */\nexport const ShellPanelSchema = z\n .object({\n ...PaneBaseShape,\n ...OpenPropsSchema,\n ...ResizeShape,\n presentation: ResponsivePresentationSchema.optional().describe(\"Presentation mode. With no value the panel follows the Rail's.\"),\n expandedSize: z.number().default(288).describe('Open width in pixels'),\n minSize: z.number().default(100).describe('Minimum width when resizing'),\n maxSize: z.number().default(800).describe('Maximum width when resizing'),\n resizable: z.boolean().default(false).describe('Whether the panel can be resized'),\n collapsible: z.boolean().default(true).describe('Whether a double-click on the handle closes the panel'),\n })\n .strict();\n\n/**\n * Shell.Sidebar component schema\n */\nexport const ShellSidebarSchema = z\n .object({\n ...PaneBaseShape,\n ...ResizeShape,\n state: SidebarModeSchema.optional().describe('The state, when controlled'),\n defaultState: ResponsiveSidebarModeSchema.optional().describe('The starting state. With no value the sidebar is open where it is in the frame and closed where it is an overlay.'),\n onStateChange: z\n .function({ input: [SidebarModeSchema, z.object({ reason: OpenChangeReasonSchema })], output: z.void() })\n .optional()\n .describe('Called when a user changes the state. Never called on mount or on a resize.'),\n presentation: ResponsivePresentationSchema.default({ initial: 'overlay', sm: 'fixed' }).describe('Presentation mode'),\n expandedSize: z.number().default(288).describe('Open width in pixels'),\n minSize: z.number().default(200).describe('Minimum width when resizing'),\n maxSize: z.number().default(400).describe('Maximum width when resizing'),\n resizable: z.boolean().default(false).describe('Whether the sidebar can be resized'),\n collapsible: z.boolean().default(true).describe('Whether a double-click on the handle closes the sidebar'),\n })\n .strict();\n\n/**\n * Shell.Content component schema\n */\nexport const ShellContentSchema = z\n .object({\n flush: z.boolean().optional().describe('Whether the work area joins the app frame. Defaults to true. `false` makes it a card on the Shell background.'),\n className: z.string().optional().describe('Additional CSS class name'),\n style: StyleSchema,\n children: z.any().optional().describe('Main content'),\n })\n .strict();\n\n/**\n * Shell.Inspector component schema\n */\nexport const ShellInspectorSchema = z\n .object({\n ...PaneBaseShape,\n ...OpenPropsSchema,\n ...ResizeShape,\n presentation: ResponsivePresentationSchema.default({ initial: 'overlay', sm: 'fixed' }).describe('Presentation mode'),\n expandedSize: z.number().default(320).describe('Open width in pixels'),\n minSize: z.number().default(200).describe('Minimum width when resizing'),\n maxSize: z.number().default(500).describe('Maximum width when resizing'),\n resizable: z.boolean().default(false).describe('Whether the inspector can be resized'),\n collapsible: z.boolean().default(true).describe('Whether a double-click on the handle closes the inspector'),\n })\n .strict();\n\n/**\n * Shell.Bottom component schema\n */\nexport const ShellBottomSchema = z\n .object({\n ...PaneBaseShape,\n ...OpenPropsSchema,\n ...ResizeShape,\n presentation: ResponsivePresentationSchema.default('fixed').describe('Presentation mode'),\n expandedSize: z.number().default(200).describe('Open height in pixels'),\n minSize: z.number().default(100).describe('Minimum height when resizing'),\n maxSize: z.number().default(400).describe('Maximum height when resizing'),\n resizable: z.boolean().default(false).describe('Whether the bottom panel can be resized'),\n collapsible: z.boolean().default(true).describe('Whether a double-click on the handle closes the panel'),\n })\n .strict();\n\n/**\n * Shell.Trigger component schema\n */\nexport const ShellTriggerSchema = z\n .object({\n target: PaneTargetSchema.describe('Which pane to drive'),\n action: TriggerActionSchema.default('toggle').describe('Action to perform'),\n type: z.enum(['button', 'submit', 'reset']).default('button').describe('The button type'),\n className: z.string().optional().describe('Additional CSS class name'),\n style: StyleSchema,\n children: z.any().optional().describe('Trigger content'),\n onClick: z.function().optional().describe('Runs before the trigger acts. Call `event.preventDefault()` to cancel it.'),\n onMouseEnter: z.function().optional().describe('Mouse enter handler'),\n onMouseLeave: z.function().optional().describe('Mouse leave handler'),\n 'aria-label': z.string().optional().describe('ARIA label for accessibility'),\n 'aria-labelledby': z.string().optional().describe('ARIA labelled by reference'),\n 'aria-describedby': z.string().optional().describe('ARIA described by reference'),\n })\n .strict();\n\n/**\n * Shell.Handle component schema (for resize handles)\n */\nexport const ShellHandleSchema = z\n .object({\n className: z.string().optional().describe('Additional CSS class name'),\n style: StyleSchema,\n children: z.any().optional().describe('Handle content'),\n })\n .strict();\n\n// Type exports\nexport type ShellRootProps = z.infer<typeof ShellRootSchema>;\nexport type ShellHeaderProps = z.infer<typeof ShellHeaderSchema>;\nexport type ShellRailProps = z.infer<typeof ShellRailSchema>;\nexport type ShellPanelProps = z.infer<typeof ShellPanelSchema>;\nexport type ShellSidebarProps = z.infer<typeof ShellSidebarSchema>;\nexport type ShellContentProps = z.infer<typeof ShellContentSchema>;\nexport type ShellInspectorProps = z.infer<typeof ShellInspectorSchema>;\nexport type ShellBottomProps = z.infer<typeof ShellBottomSchema>;\nexport type ShellTriggerProps = z.infer<typeof ShellTriggerSchema>;\nexport type ShellHandleProps = z.infer<typeof ShellHandleSchema>;\n\n// Common type exports\nexport type PaneMode = z.infer<typeof PaneModeSchema>;\nexport type SidebarMode = z.infer<typeof SidebarModeSchema>;\nexport type PresentationValue = z.infer<typeof PresentationValueSchema>;\nexport type Breakpoint = z.infer<typeof _BreakpointSchema>;\nexport type PaneTarget = z.infer<typeof PaneTargetSchema>;\nexport type TriggerAction = z.infer<typeof TriggerActionSchema>;\nexport type ResponsiveMode = z.infer<typeof _ResponsiveModeSchema>;\nexport type ResponsiveSidebarMode = z.infer<typeof ResponsiveSidebarModeSchema>;\nexport type ResponsivePresentation = z.infer<typeof ResponsivePresentationSchema>;\n\n/**\n * Development-only helper to validate and normalize Shell props\n * This function should only be used in development mode\n *\n * @param props - Props to validate and normalize\n * @returns Validated and normalized props\n *\n * @example\n * ```tsx\n * // In development, this will validate props and show helpful errors\n * const validatedProps = parseShellRootProps({ height: 'invalid' });\n * // Throws validation errors for invalid values\n * ```\n */\nexport function parseShellRootProps(props: unknown): ShellRootProps {\n if (process.env.NODE_ENV === 'development') {\n return ShellRootSchema.parse(props);\n }\n return props as ShellRootProps;\n}\n\nexport function parseShellHeaderProps(props: unknown): ShellHeaderProps {\n if (process.env.NODE_ENV === 'development') {\n return ShellHeaderSchema.parse(props);\n }\n return props as ShellHeaderProps;\n}\n\nexport function parseShellRailProps(props: unknown): ShellRailProps {\n if (process.env.NODE_ENV === 'development') {\n return ShellRailSchema.parse(props);\n }\n return props as ShellRailProps;\n}\n\nexport function parseShellPanelProps(props: unknown): ShellPanelProps {\n if (process.env.NODE_ENV === 'development') {\n return ShellPanelSchema.parse(props);\n }\n return props as ShellPanelProps;\n}\n\nexport function parseShellSidebarProps(props: unknown): ShellSidebarProps {\n if (process.env.NODE_ENV === 'development') {\n return ShellSidebarSchema.parse(props);\n }\n return props as ShellSidebarProps;\n}\n\nexport function parseShellContentProps(props: unknown): ShellContentProps {\n if (process.env.NODE_ENV === 'development') {\n return ShellContentSchema.parse(props);\n }\n return props as ShellContentProps;\n}\n\nexport function parseShellInspectorProps(props: unknown): ShellInspectorProps {\n if (process.env.NODE_ENV === 'development') {\n return ShellInspectorSchema.parse(props);\n }\n return props as ShellInspectorProps;\n}\n\nexport function parseShellBottomProps(props: unknown): ShellBottomProps {\n if (process.env.NODE_ENV === 'development') {\n return ShellBottomSchema.parse(props);\n }\n return props as ShellBottomProps;\n}\n\nexport function parseShellTriggerProps(props: unknown): ShellTriggerProps {\n if (process.env.NODE_ENV === 'development') {\n return ShellTriggerSchema.parse(props);\n }\n return props as ShellTriggerProps;\n}\n\nexport function parseShellHandleProps(props: unknown): ShellHandleProps {\n if (process.env.NODE_ENV === 'development') {\n return ShellHandleSchema.parse(props);\n }\n return props as ShellHandleProps;\n}\n"],
5
+ "mappings": ";yaAAA,IAAAA,GAAA,GAAAC,EAAAD,GAAA,sBAAAE,EAAA,iBAAA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E,IAAI,EAAE,SAAS,EAAE,SAAS,gBAAgB,CACxD,CAAC,EACA,OAAO,EAuCH,SAASc,EAAoBC,EAAgC,CAIlE,OAAOA,CACT,CAEO,SAASC,EAAsBD,EAAkC,CAItE,OAAOA,CACT,CAEO,SAASE,EAAoBF,EAAgC,CAIlE,OAAOA,CACT,CAEO,SAASG,EAAqBH,EAAiC,CAIpE,OAAOA,CACT,CAEO,SAASI,EAAuBJ,EAAmC,CAIxE,OAAOA,CACT,CAEO,SAASK,EAAuBL,EAAmC,CAIxE,OAAOA,CACT,CAEO,SAASM,EAAyBN,EAAqC,CAI5E,OAAOA,CACT,CAEO,SAASO,EAAsBP,EAAkC,CAItE,OAAOA,CACT,CAEO,SAASQ,EAAuBR,EAAmC,CAIxE,OAAOA,CACT,CAEO,SAASS,EAAsBT,EAAkC,CAItE,OAAOA,CACT,CJvQA,IAAAU,GAAkB,eAPX,SAASC,GAAcC,EAAwBC,EAAmB,CAIvE,OAAOA,CACT",
6
+ "names": ["schemas_exports", "__export", "BaseButtonSchema", "ButtonSchema", "ShellBottomSchema", "ShellContentSchema", "ShellHandleSchema", "ShellHeaderSchema", "ShellInspectorSchema", "ShellPanelSchema", "ShellRailSchema", "ShellRootSchema", "ShellSidebarSchema", "ShellTriggerSchema", "ToggleSchema", "parseBaseButtonProps", "parseButtonProps", "parseProps", "parseShellBottomProps", "parseShellContentProps", "parseShellHandleProps", "parseShellHeaderProps", "parseShellInspectorProps", "parseShellPanelProps", "parseShellRailProps", "parseShellRootProps", "parseShellSidebarProps", "parseShellTriggerProps", "parseToggleProps", "__toCommonJS", "import_zod", "BaseButtonSchema", "parseBaseButtonProps", "props", "import_zod", "ButtonObjectSchema", "BaseButtonSchema", "ButtonSchema", "data", "parseButtonProps", "props", "import_zod", "ToggleSchema", "ButtonObjectSchema", "data", "parseToggleProps", "props", "import_zod", "PaneModeSchema", "SidebarModeSchema", "PresentationValueSchema", "_BreakpointSchema", "PaneTargetSchema", "TriggerActionSchema", "OpenChangeReasonSchema", "SizeChangeReasonSchema", "responsive", "value", "_ResponsiveModeSchema", "ResponsiveSidebarModeSchema", "ResponsivePresentationSchema", "ResponsiveOpenSchema", "StyleSchema", "OpenPropsSchema", "PaneBaseShape", "ResizeShape", "ShellRootSchema", "ShellHeaderSchema", "ShellRailSchema", "ShellPanelSchema", "ShellSidebarSchema", "ShellContentSchema", "ShellInspectorSchema", "ShellBottomSchema", "ShellTriggerSchema", "ShellHandleSchema", "parseShellRootProps", "props", "parseShellHeaderProps", "parseShellRailProps", "parseShellPanelProps", "parseShellSidebarProps", "parseShellContentProps", "parseShellInspectorProps", "parseShellBottomProps", "parseShellTriggerProps", "parseShellHandleProps", "import_zod", "parseProps", "schema", "props"]
7
7
  }
@@ -39,7 +39,6 @@ declare const _BreakpointSchema: z.ZodEnum<{
39
39
  xl: "xl";
40
40
  }>;
41
41
  declare const PaneTargetSchema: z.ZodEnum<{
42
- left: "left";
43
42
  bottom: "bottom";
44
43
  rail: "rail";
45
44
  panel: "panel";
@@ -145,10 +144,6 @@ declare const ResponsivePresentationSchema: z.ZodUnion<readonly [z.ZodEnum<{
145
144
  stacked: "stacked";
146
145
  }>>;
147
146
  }, z.core.$strip>]>;
148
- declare const PaneSizePersistenceSchema: z.ZodObject<{
149
- load: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.ZodUnion<readonly [z.ZodNumber, z.ZodPromise<z.ZodNumber>, z.ZodUndefined]>>>;
150
- save: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodNumber], null>, z.ZodUnion<readonly [z.ZodVoid, z.ZodPromise<z.ZodVoid>]>>>;
151
- }, z.core.$strip>;
152
147
  /**
153
148
  * Shell.Root component schema
154
149
  */
@@ -216,14 +211,7 @@ export declare const ShellRailSchema: z.ZodObject<{
216
211
  }, z.core.$strip>]>>;
217
212
  expandedSize: z.ZodDefault<z.ZodNumber>;
218
213
  collapsible: z.ZodOptional<z.ZodBoolean>;
219
- open: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
220
- initial: z.ZodOptional<z.ZodBoolean>;
221
- xs: z.ZodOptional<z.ZodBoolean>;
222
- sm: z.ZodOptional<z.ZodBoolean>;
223
- md: z.ZodOptional<z.ZodBoolean>;
224
- lg: z.ZodOptional<z.ZodBoolean>;
225
- xl: z.ZodOptional<z.ZodBoolean>;
226
- }, z.core.$strip>]>]>>;
214
+ open: z.ZodOptional<z.ZodBoolean>;
227
215
  defaultOpen: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
228
216
  initial: z.ZodOptional<z.ZodBoolean>;
229
217
  xs: z.ZodOptional<z.ZodBoolean>;
@@ -240,8 +228,6 @@ export declare const ShellRailSchema: z.ZodObject<{
240
228
  }, z.core.$strip>], null>, z.ZodVoid>>;
241
229
  id: z.ZodOptional<z.ZodString>;
242
230
  flush: z.ZodOptional<z.ZodBoolean>;
243
- onExpand: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.ZodVoid>>;
244
- onCollapse: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.ZodVoid>>;
245
231
  className: z.ZodOptional<z.ZodString>;
246
232
  style: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
247
233
  children: z.ZodOptional<z.ZodAny>;
@@ -308,22 +294,7 @@ export declare const ShellPanelSchema: z.ZodObject<{
308
294
  onResize: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodNumber], null>, z.ZodVoid>>;
309
295
  onResizeStart: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodNumber], null>, z.ZodVoid>>;
310
296
  onResizeEnd: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodNumber], null>, z.ZodVoid>>;
311
- snapPoints: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
312
- snapTolerance: z.ZodOptional<z.ZodNumber>;
313
- collapseThreshold: z.ZodOptional<z.ZodNumber>;
314
- paneId: z.ZodOptional<z.ZodString>;
315
- persistence: z.ZodOptional<z.ZodObject<{
316
- load: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.ZodUnion<readonly [z.ZodNumber, z.ZodPromise<z.ZodNumber>, z.ZodUndefined]>>>;
317
- save: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodNumber], null>, z.ZodUnion<readonly [z.ZodVoid, z.ZodPromise<z.ZodVoid>]>>>;
318
- }, z.core.$strip>>;
319
- open: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
320
- initial: z.ZodOptional<z.ZodBoolean>;
321
- xs: z.ZodOptional<z.ZodBoolean>;
322
- sm: z.ZodOptional<z.ZodBoolean>;
323
- md: z.ZodOptional<z.ZodBoolean>;
324
- lg: z.ZodOptional<z.ZodBoolean>;
325
- xl: z.ZodOptional<z.ZodBoolean>;
326
- }, z.core.$strip>]>]>>;
297
+ open: z.ZodOptional<z.ZodBoolean>;
327
298
  defaultOpen: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
328
299
  initial: z.ZodOptional<z.ZodBoolean>;
329
300
  xs: z.ZodOptional<z.ZodBoolean>;
@@ -340,8 +311,6 @@ export declare const ShellPanelSchema: z.ZodObject<{
340
311
  }, z.core.$strip>], null>, z.ZodVoid>>;
341
312
  id: z.ZodOptional<z.ZodString>;
342
313
  flush: z.ZodOptional<z.ZodBoolean>;
343
- onExpand: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.ZodVoid>>;
344
- onCollapse: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.ZodVoid>>;
345
314
  className: z.ZodOptional<z.ZodString>;
346
315
  style: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
347
316
  children: z.ZodOptional<z.ZodAny>;
@@ -350,38 +319,10 @@ export declare const ShellPanelSchema: z.ZodObject<{
350
319
  * Shell.Sidebar component schema
351
320
  */
352
321
  export declare const ShellSidebarSchema: z.ZodObject<{
353
- state: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
322
+ state: z.ZodOptional<z.ZodEnum<{
354
323
  expanded: "expanded";
355
324
  collapsed: "collapsed";
356
- }>, z.ZodUnion<readonly [z.ZodEnum<{
357
- expanded: "expanded";
358
- collapsed: "collapsed";
359
- }>, z.ZodObject<{
360
- initial: z.ZodOptional<z.ZodEnum<{
361
- expanded: "expanded";
362
- collapsed: "collapsed";
363
- }>>;
364
- xs: z.ZodOptional<z.ZodEnum<{
365
- expanded: "expanded";
366
- collapsed: "collapsed";
367
- }>>;
368
- sm: z.ZodOptional<z.ZodEnum<{
369
- expanded: "expanded";
370
- collapsed: "collapsed";
371
- }>>;
372
- md: z.ZodOptional<z.ZodEnum<{
373
- expanded: "expanded";
374
- collapsed: "collapsed";
375
- }>>;
376
- lg: z.ZodOptional<z.ZodEnum<{
377
- expanded: "expanded";
378
- collapsed: "collapsed";
379
- }>>;
380
- xl: z.ZodOptional<z.ZodEnum<{
381
- expanded: "expanded";
382
- collapsed: "collapsed";
383
- }>>;
384
- }, z.core.$strip>]>]>>;
325
+ }>>;
385
326
  defaultState: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
386
327
  expanded: "expanded";
387
328
  collapsed: "collapsed";
@@ -478,18 +419,8 @@ export declare const ShellSidebarSchema: z.ZodObject<{
478
419
  onResize: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodNumber], null>, z.ZodVoid>>;
479
420
  onResizeStart: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodNumber], null>, z.ZodVoid>>;
480
421
  onResizeEnd: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodNumber], null>, z.ZodVoid>>;
481
- snapPoints: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
482
- snapTolerance: z.ZodOptional<z.ZodNumber>;
483
- collapseThreshold: z.ZodOptional<z.ZodNumber>;
484
- paneId: z.ZodOptional<z.ZodString>;
485
- persistence: z.ZodOptional<z.ZodObject<{
486
- load: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.ZodUnion<readonly [z.ZodNumber, z.ZodPromise<z.ZodNumber>, z.ZodUndefined]>>>;
487
- save: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodNumber], null>, z.ZodUnion<readonly [z.ZodVoid, z.ZodPromise<z.ZodVoid>]>>>;
488
- }, z.core.$strip>>;
489
422
  id: z.ZodOptional<z.ZodString>;
490
423
  flush: z.ZodOptional<z.ZodBoolean>;
491
- onExpand: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.ZodVoid>>;
492
- onCollapse: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.ZodVoid>>;
493
424
  className: z.ZodOptional<z.ZodString>;
494
425
  style: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
495
426
  children: z.ZodOptional<z.ZodAny>;
@@ -565,22 +496,7 @@ export declare const ShellInspectorSchema: z.ZodObject<{
565
496
  onResize: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodNumber], null>, z.ZodVoid>>;
566
497
  onResizeStart: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodNumber], null>, z.ZodVoid>>;
567
498
  onResizeEnd: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodNumber], null>, z.ZodVoid>>;
568
- snapPoints: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
569
- snapTolerance: z.ZodOptional<z.ZodNumber>;
570
- collapseThreshold: z.ZodOptional<z.ZodNumber>;
571
- paneId: z.ZodOptional<z.ZodString>;
572
- persistence: z.ZodOptional<z.ZodObject<{
573
- load: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.ZodUnion<readonly [z.ZodNumber, z.ZodPromise<z.ZodNumber>, z.ZodUndefined]>>>;
574
- save: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodNumber], null>, z.ZodUnion<readonly [z.ZodVoid, z.ZodPromise<z.ZodVoid>]>>>;
575
- }, z.core.$strip>>;
576
- open: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
577
- initial: z.ZodOptional<z.ZodBoolean>;
578
- xs: z.ZodOptional<z.ZodBoolean>;
579
- sm: z.ZodOptional<z.ZodBoolean>;
580
- md: z.ZodOptional<z.ZodBoolean>;
581
- lg: z.ZodOptional<z.ZodBoolean>;
582
- xl: z.ZodOptional<z.ZodBoolean>;
583
- }, z.core.$strip>]>]>>;
499
+ open: z.ZodOptional<z.ZodBoolean>;
584
500
  defaultOpen: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
585
501
  initial: z.ZodOptional<z.ZodBoolean>;
586
502
  xs: z.ZodOptional<z.ZodBoolean>;
@@ -597,8 +513,6 @@ export declare const ShellInspectorSchema: z.ZodObject<{
597
513
  }, z.core.$strip>], null>, z.ZodVoid>>;
598
514
  id: z.ZodOptional<z.ZodString>;
599
515
  flush: z.ZodOptional<z.ZodBoolean>;
600
- onExpand: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.ZodVoid>>;
601
- onCollapse: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.ZodVoid>>;
602
516
  className: z.ZodOptional<z.ZodString>;
603
517
  style: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
604
518
  children: z.ZodOptional<z.ZodAny>;
@@ -665,22 +579,7 @@ export declare const ShellBottomSchema: z.ZodObject<{
665
579
  onResize: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodNumber], null>, z.ZodVoid>>;
666
580
  onResizeStart: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodNumber], null>, z.ZodVoid>>;
667
581
  onResizeEnd: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodNumber], null>, z.ZodVoid>>;
668
- snapPoints: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
669
- snapTolerance: z.ZodOptional<z.ZodNumber>;
670
- collapseThreshold: z.ZodOptional<z.ZodNumber>;
671
- paneId: z.ZodOptional<z.ZodString>;
672
- persistence: z.ZodOptional<z.ZodObject<{
673
- load: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.ZodUnion<readonly [z.ZodNumber, z.ZodPromise<z.ZodNumber>, z.ZodUndefined]>>>;
674
- save: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodNumber], null>, z.ZodUnion<readonly [z.ZodVoid, z.ZodPromise<z.ZodVoid>]>>>;
675
- }, z.core.$strip>>;
676
- open: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
677
- initial: z.ZodOptional<z.ZodBoolean>;
678
- xs: z.ZodOptional<z.ZodBoolean>;
679
- sm: z.ZodOptional<z.ZodBoolean>;
680
- md: z.ZodOptional<z.ZodBoolean>;
681
- lg: z.ZodOptional<z.ZodBoolean>;
682
- xl: z.ZodOptional<z.ZodBoolean>;
683
- }, z.core.$strip>]>]>>;
582
+ open: z.ZodOptional<z.ZodBoolean>;
684
583
  defaultOpen: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
685
584
  initial: z.ZodOptional<z.ZodBoolean>;
686
585
  xs: z.ZodOptional<z.ZodBoolean>;
@@ -697,8 +596,6 @@ export declare const ShellBottomSchema: z.ZodObject<{
697
596
  }, z.core.$strip>], null>, z.ZodVoid>>;
698
597
  id: z.ZodOptional<z.ZodString>;
699
598
  flush: z.ZodOptional<z.ZodBoolean>;
700
- onExpand: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.ZodVoid>>;
701
- onCollapse: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.ZodVoid>>;
702
599
  className: z.ZodOptional<z.ZodString>;
703
600
  style: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
704
601
  children: z.ZodOptional<z.ZodAny>;
@@ -708,7 +605,6 @@ export declare const ShellBottomSchema: z.ZodObject<{
708
605
  */
709
606
  export declare const ShellTriggerSchema: z.ZodObject<{
710
607
  target: z.ZodEnum<{
711
- left: "left";
712
608
  bottom: "bottom";
713
609
  rail: "rail";
714
610
  panel: "panel";
@@ -720,7 +616,6 @@ export declare const ShellTriggerSchema: z.ZodObject<{
720
616
  collapse: "collapse";
721
617
  expand: "expand";
722
618
  }>>;
723
- peekOnHover: z.ZodDefault<z.ZodBoolean>;
724
619
  type: z.ZodDefault<z.ZodEnum<{
725
620
  button: "button";
726
621
  submit: "submit";
@@ -763,7 +658,6 @@ export type TriggerAction = z.infer<typeof TriggerActionSchema>;
763
658
  export type ResponsiveMode = z.infer<typeof _ResponsiveModeSchema>;
764
659
  export type ResponsiveSidebarMode = z.infer<typeof ResponsiveSidebarModeSchema>;
765
660
  export type ResponsivePresentation = z.infer<typeof ResponsivePresentationSchema>;
766
- export type PaneSizePersistence = z.infer<typeof PaneSizePersistenceSchema>;
767
661
  /**
768
662
  * Development-only helper to validate and normalize Shell props
769
663
  * This function should only be used in development mode
@@ -1 +1 @@
1
- {"version":3,"file":"shell.schema.d.ts","sourceRoot":"","sources":["../../../../src/components/schemas/shell.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;;;;;;GAiBG;AAGH,QAAA,MAAM,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