@hyunsdev/ui 0.1.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 (340) hide show
  1. package/LICENSE +674 -0
  2. package/README.md +89 -0
  3. package/SKILL.md +38 -0
  4. package/dist/WindowContext-DybYtZJa.d.ts +50 -0
  5. package/dist/_styles-BbTx89aX.d.ts +3 -0
  6. package/dist/chunk-23KUNTRD.js +49 -0
  7. package/dist/chunk-23KUNTRD.js.map +1 -0
  8. package/dist/chunk-3RTSANKB.js +51 -0
  9. package/dist/chunk-3RTSANKB.js.map +1 -0
  10. package/dist/chunk-4QIWBOF4.js +129 -0
  11. package/dist/chunk-4QIWBOF4.js.map +1 -0
  12. package/dist/chunk-5JCWC7IU.js +293 -0
  13. package/dist/chunk-5JCWC7IU.js.map +1 -0
  14. package/dist/chunk-6ANDNGHD.js +33 -0
  15. package/dist/chunk-6ANDNGHD.js.map +1 -0
  16. package/dist/chunk-7W7QZHEZ.js +42 -0
  17. package/dist/chunk-7W7QZHEZ.js.map +1 -0
  18. package/dist/chunk-BHO4WT2N.js +51 -0
  19. package/dist/chunk-BHO4WT2N.js.map +1 -0
  20. package/dist/chunk-BI3KKBIC.js +11 -0
  21. package/dist/chunk-BI3KKBIC.js.map +1 -0
  22. package/dist/chunk-D3SP7GL3.js +55 -0
  23. package/dist/chunk-D3SP7GL3.js.map +1 -0
  24. package/dist/chunk-D7W4RSQX.js +115 -0
  25. package/dist/chunk-D7W4RSQX.js.map +1 -0
  26. package/dist/chunk-DN2AEEA2.js +11 -0
  27. package/dist/chunk-DN2AEEA2.js.map +1 -0
  28. package/dist/chunk-ETTKFCO6.js +84 -0
  29. package/dist/chunk-ETTKFCO6.js.map +1 -0
  30. package/dist/chunk-GJT7TDBS.js +66 -0
  31. package/dist/chunk-GJT7TDBS.js.map +1 -0
  32. package/dist/chunk-HZT6RQYZ.js +109 -0
  33. package/dist/chunk-HZT6RQYZ.js.map +1 -0
  34. package/dist/chunk-JB2QZV7K.js +60 -0
  35. package/dist/chunk-JB2QZV7K.js.map +1 -0
  36. package/dist/chunk-KJJB2PVC.js +21 -0
  37. package/dist/chunk-KJJB2PVC.js.map +1 -0
  38. package/dist/chunk-NE3IVPMO.js +31 -0
  39. package/dist/chunk-NE3IVPMO.js.map +1 -0
  40. package/dist/chunk-O2BG2KSY.js +23 -0
  41. package/dist/chunk-O2BG2KSY.js.map +1 -0
  42. package/dist/chunk-OUFGNJ3V.js +1726 -0
  43. package/dist/chunk-OUFGNJ3V.js.map +1 -0
  44. package/dist/chunk-PLZMCJSL.js +351 -0
  45. package/dist/chunk-PLZMCJSL.js.map +1 -0
  46. package/dist/chunk-POG5DZBT.js +104 -0
  47. package/dist/chunk-POG5DZBT.js.map +1 -0
  48. package/dist/chunk-SECZM6JE.js +170 -0
  49. package/dist/chunk-SECZM6JE.js.map +1 -0
  50. package/dist/chunk-T64WPXSC.js +48 -0
  51. package/dist/chunk-T64WPXSC.js.map +1 -0
  52. package/dist/chunk-TU5CYBB4.js +90 -0
  53. package/dist/chunk-TU5CYBB4.js.map +1 -0
  54. package/dist/chunk-UVAI2U6X.js +153 -0
  55. package/dist/chunk-UVAI2U6X.js.map +1 -0
  56. package/dist/chunk-UXCBLYG6.js +142 -0
  57. package/dist/chunk-UXCBLYG6.js.map +1 -0
  58. package/dist/chunk-VUR4MQMH.js +53 -0
  59. package/dist/chunk-VUR4MQMH.js.map +1 -0
  60. package/dist/chunk-WIEKNG4S.js +26 -0
  61. package/dist/chunk-WIEKNG4S.js.map +1 -0
  62. package/dist/chunk-WIZ4OLOB.js +23 -0
  63. package/dist/chunk-WIZ4OLOB.js.map +1 -0
  64. package/dist/chunk-WJRJBMFN.js +21 -0
  65. package/dist/chunk-WJRJBMFN.js.map +1 -0
  66. package/dist/chunk-YUPLJP3F.js +33 -0
  67. package/dist/chunk-YUPLJP3F.js.map +1 -0
  68. package/dist/chunk-Z7ITPSUF.js +184 -0
  69. package/dist/chunk-Z7ITPSUF.js.map +1 -0
  70. package/dist/chunk-ZC76ALSI.js +75 -0
  71. package/dist/chunk-ZC76ALSI.js.map +1 -0
  72. package/dist/code-block-core-xkE94Rk5.d.ts +30 -0
  73. package/dist/components/accordion.d.ts +9 -0
  74. package/dist/components/accordion.js +98 -0
  75. package/dist/components/accordion.js.map +1 -0
  76. package/dist/components/alert-dialog.d.ts +26 -0
  77. package/dist/components/alert-dialog.js +341 -0
  78. package/dist/components/alert-dialog.js.map +1 -0
  79. package/dist/components/alert.d.ts +13 -0
  80. package/dist/components/alert.js +76 -0
  81. package/dist/components/alert.js.map +1 -0
  82. package/dist/components/aspect-ratio.d.ts +6 -0
  83. package/dist/components/aspect-ratio.js +12 -0
  84. package/dist/components/aspect-ratio.js.map +1 -0
  85. package/dist/components/avatar.d.ts +13 -0
  86. package/dist/components/avatar.js +19 -0
  87. package/dist/components/avatar.js.map +1 -0
  88. package/dist/components/badge.d.ts +12 -0
  89. package/dist/components/badge.js +11 -0
  90. package/dist/components/badge.js.map +1 -0
  91. package/dist/components/breadcrumb.d.ts +13 -0
  92. package/dist/components/breadcrumb.js +102 -0
  93. package/dist/components/breadcrumb.js.map +1 -0
  94. package/dist/components/button-group.d.ts +16 -0
  95. package/dist/components/button-group.js +15 -0
  96. package/dist/components/button-group.js.map +1 -0
  97. package/dist/components/button.d.ts +14 -0
  98. package/dist/components/button.js +11 -0
  99. package/dist/components/button.js.map +1 -0
  100. package/dist/components/calendar.d.ts +14 -0
  101. package/dist/components/calendar.js +13 -0
  102. package/dist/components/calendar.js.map +1 -0
  103. package/dist/components/card.d.ts +13 -0
  104. package/dist/components/card.js +21 -0
  105. package/dist/components/card.js.map +1 -0
  106. package/dist/components/carousel.d.ts +32 -0
  107. package/dist/components/carousel.js +196 -0
  108. package/dist/components/carousel.js.map +1 -0
  109. package/dist/components/chart.d.ts +46 -0
  110. package/dist/components/chart.js +254 -0
  111. package/dist/components/chart.js.map +1 -0
  112. package/dist/components/checkbox.d.ts +6 -0
  113. package/dist/components/checkbox.js +41 -0
  114. package/dist/components/checkbox.js.map +1 -0
  115. package/dist/components/code-block-core.d.ts +3 -0
  116. package/dist/components/code-block-core.js +13 -0
  117. package/dist/components/code-block-core.js.map +1 -0
  118. package/dist/components/code-block-custom.d.ts +20 -0
  119. package/dist/components/code-block-custom.js +16 -0
  120. package/dist/components/code-block-custom.js.map +1 -0
  121. package/dist/components/code-block-shiki.d.ts +13 -0
  122. package/dist/components/code-block-shiki.js +15 -0
  123. package/dist/components/code-block-shiki.js.map +1 -0
  124. package/dist/components/code-block.d.ts +5 -0
  125. package/dist/components/code-block.js +14 -0
  126. package/dist/components/code-block.js.map +1 -0
  127. package/dist/components/collapsible.d.ts +8 -0
  128. package/dist/components/collapsible.js +24 -0
  129. package/dist/components/collapsible.js.map +1 -0
  130. package/dist/components/collection.d.ts +63 -0
  131. package/dist/components/collection.js +598 -0
  132. package/dist/components/collection.js.map +1 -0
  133. package/dist/components/color-dot.d.ts +19 -0
  134. package/dist/components/color-dot.js +41 -0
  135. package/dist/components/color-dot.js.map +1 -0
  136. package/dist/components/color-picker.d.ts +12 -0
  137. package/dist/components/color-picker.js +142 -0
  138. package/dist/components/color-picker.js.map +1 -0
  139. package/dist/components/combobox.d.ts +74 -0
  140. package/dist/components/combobox.js +610 -0
  141. package/dist/components/combobox.js.map +1 -0
  142. package/dist/components/command.d.ts +21 -0
  143. package/dist/components/command.js +31 -0
  144. package/dist/components/command.js.map +1 -0
  145. package/dist/components/date-picker.d.ts +43 -0
  146. package/dist/components/date-picker.js +235 -0
  147. package/dist/components/date-picker.js.map +1 -0
  148. package/dist/components/dialog.d.ts +25 -0
  149. package/dist/components/dialog.js +31 -0
  150. package/dist/components/dialog.js.map +1 -0
  151. package/dist/components/drawer.d.ts +15 -0
  152. package/dist/components/drawer.js +124 -0
  153. package/dist/components/drawer.js.map +1 -0
  154. package/dist/components/dropdown-menu.d.ts +34 -0
  155. package/dist/components/dropdown-menu.js +248 -0
  156. package/dist/components/dropdown-menu.js.map +1 -0
  157. package/dist/components/empty.d.ts +15 -0
  158. package/dist/components/empty.js +104 -0
  159. package/dist/components/empty.js.map +1 -0
  160. package/dist/components/field.d.ts +29 -0
  161. package/dist/components/field.js +214 -0
  162. package/dist/components/field.js.map +1 -0
  163. package/dist/components/format-bytes.d.ts +12 -0
  164. package/dist/components/format-bytes.js +30 -0
  165. package/dist/components/format-bytes.js.map +1 -0
  166. package/dist/components/format-number.d.ts +12 -0
  167. package/dist/components/format-number.js +30 -0
  168. package/dist/components/format-number.js.map +1 -0
  169. package/dist/components/gauge.d.ts +11 -0
  170. package/dist/components/gauge.js +82 -0
  171. package/dist/components/gauge.js.map +1 -0
  172. package/dist/components/hover-card.d.ts +8 -0
  173. package/dist/components/hover-card.js +45 -0
  174. package/dist/components/hover-card.js.map +1 -0
  175. package/dist/components/input-group.d.ts +24 -0
  176. package/dist/components/input-group.js +23 -0
  177. package/dist/components/input-group.js.map +1 -0
  178. package/dist/components/input-otp.d.ts +20 -0
  179. package/dist/components/input-otp.js +95 -0
  180. package/dist/components/input-otp.js.map +1 -0
  181. package/dist/components/input.d.ts +9 -0
  182. package/dist/components/input.js +9 -0
  183. package/dist/components/input.js.map +1 -0
  184. package/dist/components/item.d.ts +27 -0
  185. package/dist/components/item.js +182 -0
  186. package/dist/components/item.js.map +1 -0
  187. package/dist/components/kbd.d.ts +6 -0
  188. package/dist/components/kbd.js +34 -0
  189. package/dist/components/kbd.js.map +1 -0
  190. package/dist/components/label.d.ts +6 -0
  191. package/dist/components/label.js +9 -0
  192. package/dist/components/label.js.map +1 -0
  193. package/dist/components/loading-bar.d.ts +8 -0
  194. package/dist/components/loading-bar.js +127 -0
  195. package/dist/components/loading-bar.js.map +1 -0
  196. package/dist/components/loading-dots.d.ts +5 -0
  197. package/dist/components/loading-dots.js +45 -0
  198. package/dist/components/loading-dots.js.map +1 -0
  199. package/dist/components/main-provider.d.ts +7 -0
  200. package/dist/components/main-provider.js +12 -0
  201. package/dist/components/main-provider.js.map +1 -0
  202. package/dist/components/mark.d.ts +11 -0
  203. package/dist/components/mark.js +44 -0
  204. package/dist/components/mark.js.map +1 -0
  205. package/dist/components/pagination.d.ts +21 -0
  206. package/dist/components/pagination.js +114 -0
  207. package/dist/components/pagination.js.map +1 -0
  208. package/dist/components/popover.d.ts +12 -0
  209. package/dist/components/popover.js +22 -0
  210. package/dist/components/popover.js.map +1 -0
  211. package/dist/components/prev-next-navigation.d.ts +15 -0
  212. package/dist/components/prev-next-navigation.js +85 -0
  213. package/dist/components/prev-next-navigation.js.map +1 -0
  214. package/dist/components/progress.d.ts +6 -0
  215. package/dist/components/progress.js +38 -0
  216. package/dist/components/progress.js.map +1 -0
  217. package/dist/components/radio-group.d.ts +7 -0
  218. package/dist/components/radio-group.js +57 -0
  219. package/dist/components/radio-group.js.map +1 -0
  220. package/dist/components/relative-time.d.ts +16 -0
  221. package/dist/components/relative-time.js +75 -0
  222. package/dist/components/relative-time.js.map +1 -0
  223. package/dist/components/resizable.d.ts +10 -0
  224. package/dist/components/resizable.js +45 -0
  225. package/dist/components/resizable.js.map +1 -0
  226. package/dist/components/scroll-area.d.ts +7 -0
  227. package/dist/components/scroll-area.js +11 -0
  228. package/dist/components/scroll-area.js.map +1 -0
  229. package/dist/components/select.d.ts +20 -0
  230. package/dist/components/select.js +189 -0
  231. package/dist/components/select.js.map +1 -0
  232. package/dist/components/separator.d.ts +6 -0
  233. package/dist/components/separator.js +9 -0
  234. package/dist/components/separator.js.map +1 -0
  235. package/dist/components/sheet.d.ts +16 -0
  236. package/dist/components/sheet.js +25 -0
  237. package/dist/components/sheet.js.map +1 -0
  238. package/dist/components/show-more.d.ts +15 -0
  239. package/dist/components/show-more.js +79 -0
  240. package/dist/components/show-more.js.map +1 -0
  241. package/dist/components/skeleton.d.ts +5 -0
  242. package/dist/components/skeleton.js +8 -0
  243. package/dist/components/skeleton.js.map +1 -0
  244. package/dist/components/slider.d.ts +6 -0
  245. package/dist/components/slider.js +65 -0
  246. package/dist/components/slider.js.map +1 -0
  247. package/dist/components/snippet.d.ts +13 -0
  248. package/dist/components/snippet.js +135 -0
  249. package/dist/components/snippet.js.map +1 -0
  250. package/dist/components/sonner.d.ts +6 -0
  251. package/dist/components/sonner.js +10 -0
  252. package/dist/components/sonner.js.map +1 -0
  253. package/dist/components/spinner.d.ts +5 -0
  254. package/dist/components/spinner.js +8 -0
  255. package/dist/components/spinner.js.map +1 -0
  256. package/dist/components/stat.d.ts +17 -0
  257. package/dist/components/stat.js +71 -0
  258. package/dist/components/stat.js.map +1 -0
  259. package/dist/components/steps.d.ts +17 -0
  260. package/dist/components/steps.js +133 -0
  261. package/dist/components/steps.js.map +1 -0
  262. package/dist/components/switch.d.ts +8 -0
  263. package/dist/components/switch.js +44 -0
  264. package/dist/components/switch.js.map +1 -0
  265. package/dist/components/table.d.ts +12 -0
  266. package/dist/components/table.js +101 -0
  267. package/dist/components/table.js.map +1 -0
  268. package/dist/components/tabs.d.ts +14 -0
  269. package/dist/components/tabs.js +88 -0
  270. package/dist/components/tabs.js.map +1 -0
  271. package/dist/components/textarea.d.ts +5 -0
  272. package/dist/components/textarea.js +9 -0
  273. package/dist/components/textarea.js.map +1 -0
  274. package/dist/components/theme-provider.d.ts +10 -0
  275. package/dist/components/theme-provider.js +14 -0
  276. package/dist/components/theme-provider.js.map +1 -0
  277. package/dist/components/time-picker.d.ts +17 -0
  278. package/dist/components/time-picker.js +219 -0
  279. package/dist/components/time-picker.js.map +1 -0
  280. package/dist/components/timeline.d.ts +17 -0
  281. package/dist/components/timeline.js +138 -0
  282. package/dist/components/timeline.js.map +1 -0
  283. package/dist/components/toggle-group.d.ts +14 -0
  284. package/dist/components/toggle-group.js +82 -0
  285. package/dist/components/toggle-group.js.map +1 -0
  286. package/dist/components/toggle.d.ts +12 -0
  287. package/dist/components/toggle.js +11 -0
  288. package/dist/components/toggle.js.map +1 -0
  289. package/dist/components/tooltip.d.ts +9 -0
  290. package/dist/components/tooltip.js +15 -0
  291. package/dist/components/tooltip.js.map +1 -0
  292. package/dist/components/typography.d.ts +17 -0
  293. package/dist/components/typography.js +91 -0
  294. package/dist/components/typography.js.map +1 -0
  295. package/dist/hooks/use-mobile.d.ts +3 -0
  296. package/dist/hooks/use-mobile.js +7 -0
  297. package/dist/hooks/use-mobile.js.map +1 -0
  298. package/dist/hooks/use-theme.d.ts +3 -0
  299. package/dist/hooks/use-theme.js +8 -0
  300. package/dist/hooks/use-theme.js.map +1 -0
  301. package/dist/index.d.ts +7 -0
  302. package/dist/index.js +27 -0
  303. package/dist/index.js.map +1 -0
  304. package/dist/layouts/center/index.d.ts +18 -0
  305. package/dist/layouts/center/index.js +73 -0
  306. package/dist/layouts/center/index.js.map +1 -0
  307. package/dist/layouts/chat/index.d.ts +42 -0
  308. package/dist/layouts/chat/index.js +191 -0
  309. package/dist/layouts/chat/index.js.map +1 -0
  310. package/dist/layouts/command/index.d.ts +2 -0
  311. package/dist/layouts/command/index.js +1 -0
  312. package/dist/layouts/command/index.js.map +1 -0
  313. package/dist/layouts/panel/index.d.ts +55 -0
  314. package/dist/layouts/panel/index.js +513 -0
  315. package/dist/layouts/panel/index.js.map +1 -0
  316. package/dist/layouts/presentation/index.d.ts +14 -0
  317. package/dist/layouts/presentation/index.js +100 -0
  318. package/dist/layouts/presentation/index.js.map +1 -0
  319. package/dist/layouts/site/index.d.ts +17 -0
  320. package/dist/layouts/site/index.js +82 -0
  321. package/dist/layouts/site/index.js.map +1 -0
  322. package/dist/layouts/window/index.d.ts +223 -0
  323. package/dist/layouts/window/index.js +127 -0
  324. package/dist/layouts/window/index.js.map +1 -0
  325. package/dist/layouts/workbench/index.d.ts +281 -0
  326. package/dist/layouts/workbench/index.js +2457 -0
  327. package/dist/layouts/workbench/index.js.map +1 -0
  328. package/dist/lib/format.d.ts +15 -0
  329. package/dist/lib/format.js +9 -0
  330. package/dist/lib/format.js.map +1 -0
  331. package/dist/lib/theme.d.ts +22 -0
  332. package/dist/lib/theme.js +25 -0
  333. package/dist/lib/theme.js.map +1 -0
  334. package/dist/lib/utils.d.ts +5 -0
  335. package/dist/lib/utils.js +7 -0
  336. package/dist/lib/utils.js.map +1 -0
  337. package/dist/styles/fonts.css +1 -0
  338. package/dist/styles/globals.css +717 -0
  339. package/dist/styles/tokens.css +693 -0
  340. package/package.json +137 -0
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/layouts/presentation/PresentationLayout.tsx"],"sourcesContent":["import { useEffect, useRef, useState, type ComponentProps } from \"react\"\n\nimport { cn } from \"@hyunsdev/ui/lib/utils\"\n\nimport { useWindow, WindowLayout, WindowProvider } from \"../window\"\n\nconst PRESENTATION_TOOLBAR_IDLE_TIMEOUT = 3000\n\nexport function PresentationProvider({ ...props }: ComponentProps<typeof WindowProvider>) {\n return <WindowProvider {...props} />\n}\n\nexport function usePresentation() {\n const window = useWindow()\n return window\n}\n\nexport function PresentationLayout({\n children,\n className,\n ...props\n}: ComponentProps<typeof WindowLayout>) {\n return (\n <WindowLayout\n {...props}\n className={cn(\"h-dvh max-h-dvw! w-dvw max-w-dvw! rounded-none\", className)}\n showCloseButton={false}\n >\n {children}\n </WindowLayout>\n )\n}\n\nexport function PresentationContent({ children }: ComponentProps<\"div\">) {\n return (\n <div className=\"bg-background-primary relative flex h-full w-full flex-col\">{children}</div>\n )\n}\n\nexport function PresentationToolbar({ children, className, ...props }: ComponentProps<\"div\">) {\n const [isVisible, setIsVisible] = useState(true)\n const hideTimeoutRef = useRef<ReturnType<typeof setTimeout> | null>(null)\n\n useEffect(() => {\n const clearHideTimeout = () => {\n if (hideTimeoutRef.current !== null) {\n clearTimeout(hideTimeoutRef.current)\n hideTimeoutRef.current = null\n }\n }\n\n const resetHideTimeout = () => {\n setIsVisible(true)\n clearHideTimeout()\n\n hideTimeoutRef.current = setTimeout(() => {\n setIsVisible(false)\n }, PRESENTATION_TOOLBAR_IDLE_TIMEOUT)\n }\n\n resetHideTimeout()\n window.addEventListener(\"pointermove\", resetHideTimeout)\n\n return () => {\n clearHideTimeout()\n window.removeEventListener(\"pointermove\", resetHideTimeout)\n }\n }, [])\n\n return (\n <div\n className={cn(\n \"fixed bottom-0 left-0 z-100 flex w-dvw items-center justify-center transition-opacity duration-200\",\n isVisible ? \"opacity-100\" : \"pointer-events-none opacity-0\",\n )}\n >\n <div\n className={cn(\n \"bg-background-primary text-text-muted border-border mb-4 flex items-center justify-center rounded-xl border p-1 shadow\",\n className,\n )}\n {...props}\n >\n {children}\n </div>\n </div>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,SAAS,WAAW,QAAQ,gBAAqC;AASxD;AAHT,IAAM,oCAAoC;AAEnC,SAAS,qBAAqB,EAAE,GAAG,MAAM,GAA0C;AACxF,SAAO,oBAAC,kBAAgB,GAAG,OAAO;AACpC;AAEO,SAAS,kBAAkB;AAChC,QAAMA,UAAS,UAAU;AACzB,SAAOA;AACT;AAEO,SAAS,mBAAmB;AAAA,EACjC;AAAA,EACA;AAAA,EACA,GAAG;AACL,GAAwC;AACtC,SACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,kDAAkD,SAAS;AAAA,MACzE,iBAAiB;AAAA,MAEhB;AAAA;AAAA,EACH;AAEJ;AAEO,SAAS,oBAAoB,EAAE,SAAS,GAA0B;AACvE,SACE,oBAAC,SAAI,WAAU,8DAA8D,UAAS;AAE1F;AAEO,SAAS,oBAAoB,EAAE,UAAU,WAAW,GAAG,MAAM,GAA0B;AAC5F,QAAM,CAAC,WAAW,YAAY,IAAI,SAAS,IAAI;AAC/C,QAAM,iBAAiB,OAA6C,IAAI;AAExE,YAAU,MAAM;AACd,UAAM,mBAAmB,MAAM;AAC7B,UAAI,eAAe,YAAY,MAAM;AACnC,qBAAa,eAAe,OAAO;AACnC,uBAAe,UAAU;AAAA,MAC3B;AAAA,IACF;AAEA,UAAM,mBAAmB,MAAM;AAC7B,mBAAa,IAAI;AACjB,uBAAiB;AAEjB,qBAAe,UAAU,WAAW,MAAM;AACxC,qBAAa,KAAK;AAAA,MACpB,GAAG,iCAAiC;AAAA,IACtC;AAEA,qBAAiB;AACjB,WAAO,iBAAiB,eAAe,gBAAgB;AAEvD,WAAO,MAAM;AACX,uBAAiB;AACjB,aAAO,oBAAoB,eAAe,gBAAgB;AAAA,IAC5D;AAAA,EACF,GAAG,CAAC,CAAC;AAEL,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAW;AAAA,QACT;AAAA,QACA,YAAY,gBAAgB;AAAA,MAC9B;AAAA,MAEA;AAAA,QAAC;AAAA;AAAA,UACC,WAAW;AAAA,YACT;AAAA,YACA;AAAA,UACF;AAAA,UACC,GAAG;AAAA,UAEH;AAAA;AAAA,MACH;AAAA;AAAA,EACF;AAEJ;","names":["window"]}
@@ -0,0 +1,17 @@
1
+ import * as React$1 from 'react';
2
+
3
+ declare function SiteHead({ className, ...props }: React.ComponentProps<"div">): React$1.JSX.Element;
4
+ declare function SiteHeadTop({ className, ...props }: React.ComponentProps<"div">): React$1.JSX.Element;
5
+ declare function SiteHeadTitle({ className, ...props }: React.ComponentProps<"h1">): React$1.JSX.Element;
6
+ declare function SiteHeadDescription({ className, ...props }: React.ComponentProps<"p">): React$1.JSX.Element;
7
+ declare function SiteHeadActions({ className, ...props }: React.ComponentProps<"div">): React$1.JSX.Element;
8
+
9
+ declare function SiteLayout({ className, maxWidth, style, ...props }: React.ComponentProps<"div"> & {
10
+ maxWidth?: string;
11
+ }): React$1.JSX.Element;
12
+ declare function SiteSection({ className, ...props }: React.ComponentProps<"section">): React$1.JSX.Element;
13
+ declare function SiteContainer({ className, maxWidth, style, ...props }: React.ComponentProps<"div"> & {
14
+ maxWidth?: string;
15
+ }): React$1.JSX.Element;
16
+
17
+ export { SiteContainer, SiteHead, SiteHeadActions, SiteHeadDescription, SiteHeadTitle, SiteHeadTop, SiteLayout, SiteSection };
@@ -0,0 +1,82 @@
1
+ import {
2
+ cn
3
+ } from "../../chunk-DN2AEEA2.js";
4
+
5
+ // src/layouts/site/SiteHead.tsx
6
+ import { jsx } from "react/jsx-runtime";
7
+ function SiteHead({ className, ...props }) {
8
+ return /* @__PURE__ */ jsx("div", { className: cn("flex w-full flex-col items-center text-center", className), ...props });
9
+ }
10
+ function SiteHeadTop({ className, ...props }) {
11
+ return /* @__PURE__ */ jsx("div", { className: cn("mb-4 flex w-full flex-col items-center", className), ...props });
12
+ }
13
+ function SiteHeadTitle({ className, ...props }) {
14
+ return /* @__PURE__ */ jsx(
15
+ "h1",
16
+ {
17
+ className: cn("font-heading text-2xl font-bold tracking-tight sm:text-4xl", className),
18
+ ...props
19
+ }
20
+ );
21
+ }
22
+ function SiteHeadDescription({ className, ...props }) {
23
+ return /* @__PURE__ */ jsx("p", { className: cn("text-muted-foreground text-md mt-3 sm:text-lg", className), ...props });
24
+ }
25
+ function SiteHeadActions({ className, ...props }) {
26
+ return /* @__PURE__ */ jsx("div", { className: cn("mt-6 flex w-full justify-center gap-1", className), ...props });
27
+ }
28
+
29
+ // src/layouts/site/SiteLayout.tsx
30
+ import { jsx as jsx2 } from "react/jsx-runtime";
31
+ function SiteLayout({
32
+ className,
33
+ maxWidth = "1200px",
34
+ style,
35
+ ...props
36
+ }) {
37
+ const siteStyle = {
38
+ "--site-max-width": maxWidth,
39
+ ...style
40
+ };
41
+ return /* @__PURE__ */ jsx2(
42
+ "div",
43
+ {
44
+ className: cn("bg-background-canvas flex min-h-dvh flex-col", className),
45
+ style: siteStyle,
46
+ ...props
47
+ }
48
+ );
49
+ }
50
+ function SiteSection({ className, ...props }) {
51
+ return /* @__PURE__ */ jsx2("section", { className: cn(className), ...props });
52
+ }
53
+ function SiteContainer({
54
+ className,
55
+ maxWidth,
56
+ style,
57
+ ...props
58
+ }) {
59
+ const containerStyle = maxWidth ? {
60
+ "--site-max-width": maxWidth,
61
+ ...style
62
+ } : style;
63
+ return /* @__PURE__ */ jsx2(
64
+ "div",
65
+ {
66
+ className: cn("mx-auto w-full max-w-(--site-max-width) px-4 sm:px-6 lg:px-8", className),
67
+ style: containerStyle,
68
+ ...props
69
+ }
70
+ );
71
+ }
72
+ export {
73
+ SiteContainer,
74
+ SiteHead,
75
+ SiteHeadActions,
76
+ SiteHeadDescription,
77
+ SiteHeadTitle,
78
+ SiteHeadTop,
79
+ SiteLayout,
80
+ SiteSection
81
+ };
82
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/layouts/site/SiteHead.tsx","../../../src/layouts/site/SiteLayout.tsx"],"sourcesContent":["import { cn } from \"@hyunsdev/ui/lib/utils\"\n\nexport function SiteHead({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div className={cn(\"flex w-full flex-col items-center text-center\", className)} {...props} />\n )\n}\n\nexport function SiteHeadTop({ className, ...props }: React.ComponentProps<\"div\">) {\n return <div className={cn(\"mb-4 flex w-full flex-col items-center\", className)} {...props} />\n}\n\nexport function SiteHeadTitle({ className, ...props }: React.ComponentProps<\"h1\">) {\n return (\n <h1\n className={cn(\"font-heading text-2xl font-bold tracking-tight sm:text-4xl\", className)}\n {...props}\n />\n )\n}\n\nexport function SiteHeadDescription({ className, ...props }: React.ComponentProps<\"p\">) {\n return <p className={cn(\"text-muted-foreground text-md mt-3 sm:text-lg\", className)} {...props} />\n}\n\nexport function SiteHeadActions({ className, ...props }: React.ComponentProps<\"div\">) {\n return <div className={cn(\"mt-6 flex w-full justify-center gap-1\", className)} {...props} />\n}\n","import { cn } from \"@hyunsdev/ui/lib/utils\"\n\ntype SiteStyle = React.CSSProperties & {\n \"--site-max-width\"?: string\n}\n\nexport function SiteLayout({\n className,\n maxWidth = \"1200px\",\n style,\n ...props\n}: React.ComponentProps<\"div\"> & {\n maxWidth?: string\n}) {\n const siteStyle: SiteStyle = {\n \"--site-max-width\": maxWidth,\n ...style,\n }\n\n return (\n <div\n className={cn(\"bg-background-canvas flex min-h-dvh flex-col\", className)}\n style={siteStyle}\n {...props}\n />\n )\n}\n\nexport function SiteSection({ className, ...props }: React.ComponentProps<\"section\">) {\n return <section className={cn(className)} {...props} />\n}\n\nexport function SiteContainer({\n className,\n maxWidth,\n style,\n ...props\n}: React.ComponentProps<\"div\"> & {\n maxWidth?: string\n}) {\n const containerStyle: SiteStyle | undefined = maxWidth\n ? {\n \"--site-max-width\": maxWidth,\n ...style,\n }\n : style\n\n return (\n <div\n className={cn(\"mx-auto w-full max-w-(--site-max-width) px-4 sm:px-6 lg:px-8\", className)}\n style={containerStyle}\n {...props}\n />\n )\n}\n"],"mappings":";;;;;AAII;AAFG,SAAS,SAAS,EAAE,WAAW,GAAG,MAAM,GAAgC;AAC7E,SACE,oBAAC,SAAI,WAAW,GAAG,iDAAiD,SAAS,GAAI,GAAG,OAAO;AAE/F;AAEO,SAAS,YAAY,EAAE,WAAW,GAAG,MAAM,GAAgC;AAChF,SAAO,oBAAC,SAAI,WAAW,GAAG,0CAA0C,SAAS,GAAI,GAAG,OAAO;AAC7F;AAEO,SAAS,cAAc,EAAE,WAAW,GAAG,MAAM,GAA+B;AACjF,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAW,GAAG,8DAA8D,SAAS;AAAA,MACpF,GAAG;AAAA;AAAA,EACN;AAEJ;AAEO,SAAS,oBAAoB,EAAE,WAAW,GAAG,MAAM,GAA8B;AACtF,SAAO,oBAAC,OAAE,WAAW,GAAG,iDAAiD,SAAS,GAAI,GAAG,OAAO;AAClG;AAEO,SAAS,gBAAgB,EAAE,WAAW,GAAG,MAAM,GAAgC;AACpF,SAAO,oBAAC,SAAI,WAAW,GAAG,yCAAyC,SAAS,GAAI,GAAG,OAAO;AAC5F;;;ACPI,gBAAAA,YAAA;AAdG,SAAS,WAAW;AAAA,EACzB;AAAA,EACA,WAAW;AAAA,EACX;AAAA,EACA,GAAG;AACL,GAEG;AACD,QAAM,YAAuB;AAAA,IAC3B,oBAAoB;AAAA,IACpB,GAAG;AAAA,EACL;AAEA,SACE,gBAAAA;AAAA,IAAC;AAAA;AAAA,MACC,WAAW,GAAG,gDAAgD,SAAS;AAAA,MACvE,OAAO;AAAA,MACN,GAAG;AAAA;AAAA,EACN;AAEJ;AAEO,SAAS,YAAY,EAAE,WAAW,GAAG,MAAM,GAAoC;AACpF,SAAO,gBAAAA,KAAC,aAAQ,WAAW,GAAG,SAAS,GAAI,GAAG,OAAO;AACvD;AAEO,SAAS,cAAc;AAAA,EAC5B;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,GAEG;AACD,QAAM,iBAAwC,WAC1C;AAAA,IACE,oBAAoB;AAAA,IACpB,GAAG;AAAA,EACL,IACA;AAEJ,SACE,gBAAAA;AAAA,IAAC;AAAA;AAAA,MACC,WAAW,GAAG,gEAAgE,SAAS;AAAA,MACvF,OAAO;AAAA,MACN,GAAG;AAAA;AAAA,EACN;AAEJ;","names":["jsx"]}
@@ -0,0 +1,223 @@
1
+ import * as React$1 from 'react';
2
+ import React__default from 'react';
3
+ import { Separator } from '../../components/separator.js';
4
+ import { c as WindowSize, d as WindowCloseReason, b as WindowContextValue } from '../../WindowContext-DybYtZJa.js';
5
+ export { e as WindowCloseButton, f as WindowCloseButtonProps, W as WindowLayout, g as WindowProps, a as WindowProvider, h as WindowProviderProps, i as WindowStateContext, j as WindowStateProvider, u as useWindow, k as useWindowSizeRequest } from '../../WindowContext-DybYtZJa.js';
6
+ import { ScrollArea } from '../../components/scroll-area.js';
7
+ import * as class_variance_authority_types from 'class-variance-authority/types';
8
+ import { VariantProps } from 'class-variance-authority';
9
+ import { Input } from '../../components/input.js';
10
+ import { TooltipContent } from '../../components/tooltip.js';
11
+ import { motion } from 'motion/react';
12
+ import { Button } from '../../components/button.js';
13
+ import '@radix-ui/react-separator';
14
+ import '@radix-ui/react-scroll-area';
15
+ import '../../_styles-BbTx89aX.js';
16
+ import '@radix-ui/react-tooltip';
17
+
18
+ declare function WindowGroup({ className, ...props }: React.ComponentProps<"div">): React$1.JSX.Element;
19
+ declare function WindowGroupLabel({ className, asChild, ...props }: React.ComponentProps<"div"> & {
20
+ asChild?: boolean;
21
+ }): React$1.JSX.Element;
22
+ declare function WindowGroupContent({ className, ...props }: React.ComponentProps<"div">): React$1.JSX.Element;
23
+ declare function WindowRow({ className, ...props }: React.ComponentProps<"div">): React$1.JSX.Element;
24
+ declare function WindowRowContent({ className, ...props }: React.ComponentProps<"div">): React$1.JSX.Element;
25
+ declare function WindowRowTitle({ className, ...props }: React.ComponentProps<"div">): React$1.JSX.Element;
26
+ declare function WindowRowDescription({ className, ...props }: React.ComponentProps<"div">): React$1.JSX.Element;
27
+ declare function WindowRowActions({ className, ...props }: React.ComponentProps<"div">): React$1.JSX.Element;
28
+ declare function WindowRowSeparator({ className, ...props }: React.ComponentProps<typeof Separator>): React$1.JSX.Element;
29
+
30
+ declare function WindowContent({ children, className, ...props }: React$1.ComponentProps<typeof ScrollArea>): React$1.JSX.Element;
31
+
32
+ type WindowSidebarProps = React__default.ComponentPropsWithoutRef<"aside">;
33
+ declare function WindowSidebar({ className, ...props }: WindowSidebarProps): React__default.JSX.Element;
34
+ declare function WindowSidebarInput({ className, ...props }: React__default.ComponentProps<typeof Input>): React__default.JSX.Element;
35
+ declare function WindowSidebarHeader({ className, ...props }: React__default.ComponentProps<"div">): React__default.JSX.Element;
36
+ declare function WindowSidebarFooter({ className, ...props }: React__default.ComponentProps<"div">): React__default.JSX.Element;
37
+ declare function WindowSidebarContent({ children, className, ...props }: React__default.ComponentProps<typeof ScrollArea>): React__default.JSX.Element;
38
+ declare function WindowSidebarGroup({ className, ...props }: React__default.ComponentProps<"div">): React__default.JSX.Element;
39
+ declare function WindowSidebarGroupLabel({ className, asChild, ...props }: React__default.ComponentProps<"div"> & {
40
+ asChild?: boolean;
41
+ }): React__default.JSX.Element;
42
+ declare function WindowSidebarGroupAction({ className, asChild, ...props }: React__default.ComponentProps<"button"> & {
43
+ asChild?: boolean;
44
+ }): React__default.JSX.Element;
45
+ declare function WindowSidebarGroupContent({ className, ...props }: React__default.ComponentProps<"div">): React__default.JSX.Element;
46
+ declare function WindowSidebarMenu({ className, ...props }: React__default.ComponentProps<"ul">): React__default.JSX.Element;
47
+ declare function WindowSidebarMenuItem({ className, ...props }: React__default.ComponentProps<"li">): React__default.JSX.Element;
48
+ declare const sidebarMenuButtonVariants: (props?: ({
49
+ variant?: "default" | "outline" | null | undefined;
50
+ size?: "default" | "sm" | "lg" | null | undefined;
51
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
52
+ declare function WindowSidebarMenuButton({ asChild, isActive, variant, size, tooltip, leadingVisual, trailingVisual, trailingVisualVisibility, className, children, ...props }: React__default.ComponentProps<"button"> & {
53
+ asChild?: boolean;
54
+ isActive?: boolean;
55
+ tooltip?: string | React__default.ComponentProps<typeof TooltipContent>;
56
+ leadingVisual?: React__default.ReactNode;
57
+ trailingVisual?: React__default.ReactNode;
58
+ trailingVisualVisibility?: "always" | "hover";
59
+ } & VariantProps<typeof sidebarMenuButtonVariants>): React__default.JSX.Element;
60
+ declare function WindowSidebarMenuAction({ className, asChild, showOnHover, ...props }: React__default.ComponentProps<"button"> & {
61
+ asChild?: boolean;
62
+ showOnHover?: boolean;
63
+ }): React__default.JSX.Element;
64
+ declare function WindowSidebarMenuBadge({ className, ...props }: React__default.ComponentProps<"div">): React__default.JSX.Element;
65
+ declare function WindowSidebarMenuSkeleton({ className, showIcon, ...props }: React__default.ComponentProps<"div"> & {
66
+ showIcon?: boolean;
67
+ }): React__default.JSX.Element;
68
+
69
+ type WindowFlowStepId = string;
70
+ type WindowFlowDirection = "previous" | "next" | "none";
71
+ type WindowFlowChangeReason = "previous-button" | "next-button" | "programmatic";
72
+ type WindowFlowChangeRequest = {
73
+ from: WindowFlowStepId;
74
+ to: WindowFlowStepId;
75
+ reason: WindowFlowChangeReason;
76
+ };
77
+ type WindowFlowStepDefinition = {
78
+ id: WindowFlowStepId;
79
+ label: React$1.ReactNode;
80
+ render: () => React$1.ReactNode;
81
+ windowSize?: WindowSize;
82
+ };
83
+ type WindowFlowContextValue = {
84
+ canGoNext: boolean;
85
+ canGoPrevious: boolean;
86
+ direction: WindowFlowDirection;
87
+ getStep: (targetStep: WindowFlowStepId) => WindowFlowStepDefinition | undefined;
88
+ isFirstStep: boolean;
89
+ isLastStep: boolean;
90
+ nextStep: (reason?: WindowFlowChangeReason) => Promise<boolean>;
91
+ previousStep: (reason?: WindowFlowChangeReason) => Promise<boolean>;
92
+ setStep: (nextStep: WindowFlowStepId, reason?: WindowFlowChangeReason) => Promise<boolean>;
93
+ step: WindowFlowStepId;
94
+ stepIndex: number;
95
+ steps: WindowFlowStepDefinition[];
96
+ };
97
+ type ControlledWindowFlowProviderProps = {
98
+ children: React$1.ReactNode;
99
+ defaultStep?: WindowFlowStepId;
100
+ onStepChangeRequest?: (request: WindowFlowChangeRequest) => boolean | Promise<boolean>;
101
+ onStepChange?: (nextStep: WindowFlowStepId) => void;
102
+ step: WindowFlowStepId;
103
+ steps: WindowFlowStepDefinition[];
104
+ };
105
+ type UncontrolledWindowFlowProviderProps = {
106
+ children: React$1.ReactNode;
107
+ defaultStep: WindowFlowStepId;
108
+ onStepChangeRequest?: (request: WindowFlowChangeRequest) => boolean | Promise<boolean>;
109
+ onStepChange?: (nextStep: WindowFlowStepId) => void;
110
+ step?: undefined;
111
+ steps: WindowFlowStepDefinition[];
112
+ };
113
+ type WindowFlowProviderProps = ControlledWindowFlowProviderProps | UncontrolledWindowFlowProviderProps;
114
+ declare function defineWindowFlowStep<TDefinition extends WindowFlowStepDefinition>(definition: TDefinition): TDefinition;
115
+ declare function WindowFlowProvider({ children, defaultStep, onStepChangeRequest, onStepChange, step, steps, }: WindowFlowProviderProps): React$1.JSX.Element;
116
+ declare function useWindowFlow(): WindowFlowContextValue;
117
+
118
+ declare function WindowFlowLayout({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
119
+ declare function WindowFlowHeader({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
120
+ declare function WindowFlowContent({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
121
+ declare function WindowFlowFooter({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
122
+ type WindowFlowViewProps = React$1.ComponentProps<typeof motion.div> & {
123
+ direction?: WindowFlowDirection;
124
+ pageIndex?: number;
125
+ step: WindowFlowStepId;
126
+ };
127
+ declare function WindowFlowView({ children, className, direction: directionProp, pageIndex, step, ...props }: WindowFlowViewProps): React$1.JSX.Element;
128
+ type WindowFlowViewsProps = Omit<React$1.ComponentProps<typeof motion.div>, "children"> & {
129
+ children?: React$1.ReactNode;
130
+ };
131
+ declare function WindowFlowViews({ children, className, style, ...props }: WindowFlowViewsProps): React$1.JSX.Element;
132
+ type WindowFlowPreviousButtonProps = React$1.ComponentProps<typeof Button>;
133
+ declare function WindowFlowPreviousButton({ children, disabled, onClick, type, variant, ...props }: WindowFlowPreviousButtonProps): React$1.JSX.Element;
134
+ type WindowFlowNextButtonProps = React$1.ComponentProps<typeof Button>;
135
+ declare function WindowFlowNextButton({ children, disabled, onClick, type, variant, ...props }: WindowFlowNextButtonProps): React$1.JSX.Element;
136
+ type WindowFlowProgressProps = React$1.ComponentProps<"div">;
137
+ declare function WindowFlowProgress({ className, ...props }: WindowFlowProgressProps): React$1.JSX.Element;
138
+
139
+ type WindowDefinition = {
140
+ id: string;
141
+ onCloseRequest?: ((reason: WindowCloseReason) => boolean | Promise<boolean>) | undefined;
142
+ render: () => React$1.ReactNode;
143
+ };
144
+ type WindowManagerContextValue = {
145
+ activeWindowId: string | null;
146
+ closeActiveWindow: () => Promise<boolean>;
147
+ getWindow: (id: string) => WindowDefinition | undefined;
148
+ isOpen: (id: string) => boolean;
149
+ openWindow: (id: string) => Promise<boolean>;
150
+ registerWindowController: (id: string, controller: Pick<WindowContextValue, "close">) => () => void;
151
+ setWindowOpenState: (id: string, open: boolean) => void;
152
+ windows: WindowDefinition[];
153
+ };
154
+ type WindowManagerProviderProps = {
155
+ children: React$1.ReactNode;
156
+ defaultActiveWindowId?: string | null;
157
+ windows: WindowDefinition[];
158
+ };
159
+ declare const WindowManagerContext: React$1.Context<WindowManagerContextValue | null>;
160
+ declare function defineWindow<TDefinition extends WindowDefinition>(definition: TDefinition): TDefinition;
161
+ declare function WindowManagerProvider({ children, defaultActiveWindowId, windows, }: WindowManagerProviderProps): React$1.JSX.Element;
162
+ declare function useWindowManager(): WindowManagerContextValue;
163
+ declare function WindowHost(): React$1.JSX.Element;
164
+
165
+ type WindowPageId = string;
166
+ type WindowPageChangeReason = "nav-button" | "programmatic";
167
+ type WindowPageChangeRequest = {
168
+ from: WindowPageId;
169
+ to: WindowPageId;
170
+ reason: WindowPageChangeReason;
171
+ };
172
+ type WindowPageDefinition = {
173
+ id: WindowPageId;
174
+ label: React$1.ReactNode;
175
+ icon?: React$1.ComponentType<{
176
+ className?: string;
177
+ }>;
178
+ render: () => React$1.ReactNode;
179
+ keepMounted?: boolean | undefined;
180
+ };
181
+ type WindowPageContextValue = {
182
+ getPage: (targetPage: WindowPageId) => WindowPageDefinition | undefined;
183
+ pages: WindowPageDefinition[];
184
+ page: WindowPageId;
185
+ setPage: (nextPage: WindowPageId, reason?: WindowPageChangeReason) => Promise<boolean>;
186
+ isActive: (targetPage: WindowPageId) => boolean;
187
+ };
188
+ type ControlledWindowPageProviderProps = {
189
+ children: React$1.ReactNode;
190
+ defaultPage?: WindowPageId;
191
+ onPageChangeRequest?: (request: WindowPageChangeRequest) => boolean | Promise<boolean>;
192
+ onPageChange?: (nextPage: WindowPageId) => void;
193
+ pages?: WindowPageDefinition[];
194
+ page: WindowPageId;
195
+ };
196
+ type UncontrolledWindowPageProviderProps = {
197
+ children: React$1.ReactNode;
198
+ defaultPage: WindowPageId;
199
+ onPageChangeRequest?: (request: WindowPageChangeRequest) => boolean | Promise<boolean>;
200
+ onPageChange?: (nextPage: WindowPageId) => void;
201
+ pages?: WindowPageDefinition[];
202
+ page?: undefined;
203
+ };
204
+ type WindowPageProviderProps = ControlledWindowPageProviderProps | UncontrolledWindowPageProviderProps;
205
+ declare function defineWindowPage<TDefinition extends WindowPageDefinition>(definition: TDefinition): TDefinition;
206
+ declare function WindowPageProvider({ children, defaultPage, onPageChangeRequest, onPageChange, pages, page, }: WindowPageProviderProps): React$1.JSX.Element;
207
+ declare function useWindowPage(): WindowPageContextValue;
208
+
209
+ type WindowPageNavButtonProps = Omit<React$1.ComponentProps<typeof WindowSidebarMenuButton>, "isActive"> & {
210
+ page: WindowPageId;
211
+ };
212
+ declare function WindowPageNavButton({ onClick, page, ...props }: WindowPageNavButtonProps): React$1.JSX.Element;
213
+ type WindowPageViewProps = React$1.ComponentProps<"div"> & {
214
+ keepMounted?: boolean | undefined;
215
+ page: WindowPageId;
216
+ };
217
+ declare function WindowPageView({ children, className, keepMounted, page, ...props }: WindowPageViewProps): React$1.JSX.Element | null;
218
+ type WindowPageListProps = React$1.ComponentProps<typeof WindowSidebarMenu>;
219
+ declare function WindowPageList({ className, ...props }: WindowPageListProps): React$1.JSX.Element;
220
+ type WindowPageViewsProps = React$1.ComponentProps<"div">;
221
+ declare function WindowPageViews({ children, className, ...props }: WindowPageViewsProps): React$1.JSX.Element;
222
+
223
+ export { WindowCloseReason, WindowContent, WindowContextValue, type WindowDefinition, type WindowFlowChangeReason, type WindowFlowChangeRequest, WindowFlowContent, type WindowFlowDirection, WindowFlowFooter, WindowFlowHeader, WindowFlowLayout, WindowFlowNextButton, type WindowFlowNextButtonProps, WindowFlowPreviousButton, type WindowFlowPreviousButtonProps, WindowFlowProgress, type WindowFlowProgressProps, WindowFlowProvider, type WindowFlowProviderProps, type WindowFlowStepDefinition, type WindowFlowStepId, WindowFlowView, type WindowFlowViewProps, WindowFlowViews, type WindowFlowViewsProps, WindowGroup, WindowGroupContent, WindowGroupLabel, WindowHost, WindowManagerContext, WindowManagerProvider, type WindowManagerProviderProps, type WindowPageChangeReason, type WindowPageChangeRequest, type WindowPageDefinition, type WindowPageId, WindowPageList, type WindowPageListProps, WindowPageNavButton, type WindowPageNavButtonProps, WindowPageProvider, type WindowPageProviderProps, WindowPageView, type WindowPageViewProps, WindowPageViews, type WindowPageViewsProps, WindowRow, WindowRowActions, WindowRowContent, WindowRowDescription, WindowRowSeparator, WindowRowTitle, WindowSidebar, WindowSidebarContent, WindowSidebarFooter, WindowSidebarGroup, WindowSidebarGroupAction, WindowSidebarGroupContent, WindowSidebarGroupLabel, WindowSidebarHeader, WindowSidebarInput, WindowSidebarMenu, WindowSidebarMenuAction, WindowSidebarMenuBadge, WindowSidebarMenuButton, WindowSidebarMenuItem, WindowSidebarMenuSkeleton, type WindowSidebarProps, WindowSize, defineWindow, defineWindowFlowStep, defineWindowPage, useWindowFlow, useWindowManager, useWindowPage };
@@ -0,0 +1,127 @@
1
+ import {
2
+ WindowCloseButton,
3
+ WindowContent,
4
+ WindowFlowContent,
5
+ WindowFlowFooter,
6
+ WindowFlowHeader,
7
+ WindowFlowLayout,
8
+ WindowFlowNextButton,
9
+ WindowFlowPreviousButton,
10
+ WindowFlowProgress,
11
+ WindowFlowProvider,
12
+ WindowFlowView,
13
+ WindowFlowViews,
14
+ WindowGroup,
15
+ WindowGroupContent,
16
+ WindowGroupLabel,
17
+ WindowHost,
18
+ WindowLayout,
19
+ WindowManagerContext,
20
+ WindowManagerProvider,
21
+ WindowPageList,
22
+ WindowPageNavButton,
23
+ WindowPageProvider,
24
+ WindowPageView,
25
+ WindowPageViews,
26
+ WindowProvider,
27
+ WindowRow,
28
+ WindowRowActions,
29
+ WindowRowContent,
30
+ WindowRowDescription,
31
+ WindowRowSeparator,
32
+ WindowRowTitle,
33
+ WindowSidebar,
34
+ WindowSidebarContent,
35
+ WindowSidebarFooter,
36
+ WindowSidebarGroup,
37
+ WindowSidebarGroupAction,
38
+ WindowSidebarGroupContent,
39
+ WindowSidebarGroupLabel,
40
+ WindowSidebarHeader,
41
+ WindowSidebarInput,
42
+ WindowSidebarMenu,
43
+ WindowSidebarMenuAction,
44
+ WindowSidebarMenuBadge,
45
+ WindowSidebarMenuButton,
46
+ WindowSidebarMenuItem,
47
+ WindowSidebarMenuSkeleton,
48
+ WindowStateContext,
49
+ WindowStateProvider,
50
+ defineWindow,
51
+ defineWindowFlowStep,
52
+ defineWindowPage,
53
+ useWindow,
54
+ useWindowFlow,
55
+ useWindowManager,
56
+ useWindowPage,
57
+ useWindowSizeRequest
58
+ } from "../../chunk-OUFGNJ3V.js";
59
+ import "../../chunk-BI3KKBIC.js";
60
+ import "../../chunk-KJJB2PVC.js";
61
+ import "../../chunk-GJT7TDBS.js";
62
+ import "../../chunk-PLZMCJSL.js";
63
+ import "../../chunk-YUPLJP3F.js";
64
+ import "../../chunk-6ANDNGHD.js";
65
+ import "../../chunk-D3SP7GL3.js";
66
+ import "../../chunk-TU5CYBB4.js";
67
+ import "../../chunk-O2BG2KSY.js";
68
+ import "../../chunk-DN2AEEA2.js";
69
+ export {
70
+ WindowCloseButton,
71
+ WindowContent,
72
+ WindowFlowContent,
73
+ WindowFlowFooter,
74
+ WindowFlowHeader,
75
+ WindowFlowLayout,
76
+ WindowFlowNextButton,
77
+ WindowFlowPreviousButton,
78
+ WindowFlowProgress,
79
+ WindowFlowProvider,
80
+ WindowFlowView,
81
+ WindowFlowViews,
82
+ WindowGroup,
83
+ WindowGroupContent,
84
+ WindowGroupLabel,
85
+ WindowHost,
86
+ WindowLayout,
87
+ WindowManagerContext,
88
+ WindowManagerProvider,
89
+ WindowPageList,
90
+ WindowPageNavButton,
91
+ WindowPageProvider,
92
+ WindowPageView,
93
+ WindowPageViews,
94
+ WindowProvider,
95
+ WindowRow,
96
+ WindowRowActions,
97
+ WindowRowContent,
98
+ WindowRowDescription,
99
+ WindowRowSeparator,
100
+ WindowRowTitle,
101
+ WindowSidebar,
102
+ WindowSidebarContent,
103
+ WindowSidebarFooter,
104
+ WindowSidebarGroup,
105
+ WindowSidebarGroupAction,
106
+ WindowSidebarGroupContent,
107
+ WindowSidebarGroupLabel,
108
+ WindowSidebarHeader,
109
+ WindowSidebarInput,
110
+ WindowSidebarMenu,
111
+ WindowSidebarMenuAction,
112
+ WindowSidebarMenuBadge,
113
+ WindowSidebarMenuButton,
114
+ WindowSidebarMenuItem,
115
+ WindowSidebarMenuSkeleton,
116
+ WindowStateContext,
117
+ WindowStateProvider,
118
+ defineWindow,
119
+ defineWindowFlowStep,
120
+ defineWindowPage,
121
+ useWindow,
122
+ useWindowFlow,
123
+ useWindowManager,
124
+ useWindowPage,
125
+ useWindowSizeRequest
126
+ };
127
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}