@strux-sh/ui 0.0.1

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 (491) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +113 -0
  3. package/dist/abap-DeBcB0Go.js +3 -0
  4. package/dist/actionscript-3-Ca7AJdus.js +3 -0
  5. package/dist/ada-wUzMIotr.js +3 -0
  6. package/dist/andromeeda-qFSR243y.js +4 -0
  7. package/dist/angular-html-LrXL1ucE.js +16 -0
  8. package/dist/angular-ts-B8aubKqG.js +18 -0
  9. package/dist/apache-I27faSuY.js +3 -0
  10. package/dist/apex--j459sYy.js +3 -0
  11. package/dist/apl-ZtqUVL4Y.js +16 -0
  12. package/dist/applescript-CvFPStD_.js +3 -0
  13. package/dist/ara-oGMGKYRR.js +3 -0
  14. package/dist/asciidoc-BSeXIn5J.js +3 -0
  15. package/dist/asm-D9AeWiTG.js +3 -0
  16. package/dist/astro-BTnEu-qn.js +18 -0
  17. package/dist/aurora-x-BfjVxBdh.js +4 -0
  18. package/dist/awk-CN4Dt2EA.js +3 -0
  19. package/dist/ayu-dark-D_E-eZWK.js +4 -0
  20. package/dist/ayu-light-2e0XvPR3.js +4 -0
  21. package/dist/ayu-mirage-s7b90aUC.js +4 -0
  22. package/dist/ballerina-D50APAvj.js +3 -0
  23. package/dist/bat-CsyrNd6J.js +3 -0
  24. package/dist/beancount-C-7UQ_6h.js +3 -0
  25. package/dist/berry-7ZqQyKX_.js +3 -0
  26. package/dist/bibtex-CroJEZn5.js +3 -0
  27. package/dist/bicep-BI87HQfC.js +3 -0
  28. package/dist/bird2-h8KptB8G.js +3 -0
  29. package/dist/blade-BR5n1P6c.js +20 -0
  30. package/dist/bsl-FnheFq4w.js +5 -0
  31. package/dist/c-Ce2kZEMm.js +5 -0
  32. package/dist/c3-wJX5HNDQ.js +3 -0
  33. package/dist/cadence-BXV0DiIS.js +3 -0
  34. package/dist/cairo-CYYISc3K.js +5 -0
  35. package/dist/catppuccin-frappe-Dc5EeITp.js +4 -0
  36. package/dist/catppuccin-latte-D8PDXaqw.js +4 -0
  37. package/dist/catppuccin-macchiato-DtW613F5.js +4 -0
  38. package/dist/catppuccin-mocha-C3AS6_YO.js +4 -0
  39. package/dist/chunk-BdsCSvBP.js +20 -0
  40. package/dist/clarity-D7TEWWAc.js +3 -0
  41. package/dist/clojure-LH8DjlVh.js +3 -0
  42. package/dist/cmake-DvXT7w0f.js +3 -0
  43. package/dist/cobol-D3EGzMjZ.js +10 -0
  44. package/dist/codeowners-BeezUyuc.js +3 -0
  45. package/dist/codeql-fuOw3WIy.js +3 -0
  46. package/dist/coffee-DAg7pqMx.js +5 -0
  47. package/dist/common-lisp-C0tc6N-l.js +3 -0
  48. package/dist/components/Accordion/Accordion.vue.d.ts +32 -0
  49. package/dist/components/Accordion/AccordionContent.vue.d.ts +19 -0
  50. package/dist/components/Accordion/AccordionItem.vue.d.ts +22 -0
  51. package/dist/components/Accordion/AccordionTrigger.vue.d.ts +21 -0
  52. package/dist/components/Accordion/context.d.ts +24 -0
  53. package/dist/components/Accordion/index.d.ts +5 -0
  54. package/dist/components/Alert/Alert.variants.d.ts +5 -0
  55. package/dist/components/Alert/Alert.vue.d.ts +20 -0
  56. package/dist/components/Alert/AlertAction.vue.d.ts +16 -0
  57. package/dist/components/Alert/AlertDescription.vue.d.ts +16 -0
  58. package/dist/components/Alert/AlertTitle.vue.d.ts +16 -0
  59. package/dist/components/Alert/index.d.ts +5 -0
  60. package/dist/components/Avatar/Avatar.variants.d.ts +5 -0
  61. package/dist/components/Avatar/Avatar.vue.d.ts +23 -0
  62. package/dist/components/Avatar/index.d.ts +2 -0
  63. package/dist/components/Badge/Badge.variants.d.ts +14 -0
  64. package/dist/components/Badge/Badge.vue.d.ts +26 -0
  65. package/dist/components/Badge/index.d.ts +2 -0
  66. package/dist/components/Breadcrumb/Breadcrumb.vue.d.ts +16 -0
  67. package/dist/components/Breadcrumb/BreadcrumbEllipsis.vue.d.ts +16 -0
  68. package/dist/components/Breadcrumb/BreadcrumbItem.vue.d.ts +16 -0
  69. package/dist/components/Breadcrumb/BreadcrumbLink.vue.d.ts +20 -0
  70. package/dist/components/Breadcrumb/BreadcrumbList.vue.d.ts +16 -0
  71. package/dist/components/Breadcrumb/BreadcrumbPage.vue.d.ts +16 -0
  72. package/dist/components/Breadcrumb/BreadcrumbSeparator.vue.d.ts +16 -0
  73. package/dist/components/Breadcrumb/index.d.ts +7 -0
  74. package/dist/components/Button/Button.variants.d.ts +17 -0
  75. package/dist/components/Button/Button.vue.d.ts +35 -0
  76. package/dist/components/Button/index.d.ts +2 -0
  77. package/dist/components/Calendar/Calendar.variants.d.ts +5 -0
  78. package/dist/components/Calendar/Calendar.vue.d.ts +74 -0
  79. package/dist/components/Calendar/CalendarDayColumn.vue.d.ts +40 -0
  80. package/dist/components/Calendar/CalendarDayHeader.vue.d.ts +10 -0
  81. package/dist/components/Calendar/CalendarDayView.vue.d.ts +42 -0
  82. package/dist/components/Calendar/CalendarEvent.variants.d.ts +6 -0
  83. package/dist/components/Calendar/CalendarEvent.vue.d.ts +39 -0
  84. package/dist/components/Calendar/CalendarEventGroup.vue.d.ts +36 -0
  85. package/dist/components/Calendar/CalendarHeader.variants.d.ts +9 -0
  86. package/dist/components/Calendar/CalendarHeader.vue.d.ts +23 -0
  87. package/dist/components/Calendar/CalendarMonthCell.vue.d.ts +30 -0
  88. package/dist/components/Calendar/CalendarMonthEvent.vue.d.ts +11 -0
  89. package/dist/components/Calendar/CalendarMonthView.vue.d.ts +30 -0
  90. package/dist/components/Calendar/CalendarSlotGrid.vue.d.ts +17 -0
  91. package/dist/components/Calendar/CalendarTimeAxis.vue.d.ts +14 -0
  92. package/dist/components/Calendar/CalendarWeekView.vue.d.ts +48 -0
  93. package/dist/components/Calendar/composables/useCalendarDrag.d.ts +12 -0
  94. package/dist/components/Calendar/composables/useCalendarLayout.d.ts +13 -0
  95. package/dist/components/Calendar/composables/useCalendarNavigation.d.ts +18 -0
  96. package/dist/components/Calendar/composables/useCalendarResize.d.ts +14 -0
  97. package/dist/components/Calendar/composables/useCalendarSelection.d.ts +7 -0
  98. package/dist/components/Calendar/index.d.ts +5 -0
  99. package/dist/components/Calendar/types.d.ts +38 -0
  100. package/dist/components/Calendar/utils/overlap.d.ts +12 -0
  101. package/dist/components/Calendar/utils/positioning.d.ts +3 -0
  102. package/dist/components/Calendar/utils/slots.d.ts +2 -0
  103. package/dist/components/Calendar/utils/time.d.ts +23 -0
  104. package/dist/components/Card/Card.variants.d.ts +7 -0
  105. package/dist/components/Card/Card.vue.d.ts +24 -0
  106. package/dist/components/Card/CardAction.vue.d.ts +16 -0
  107. package/dist/components/Card/CardContent.vue.d.ts +16 -0
  108. package/dist/components/Card/CardDescription.vue.d.ts +16 -0
  109. package/dist/components/Card/CardFooter.vue.d.ts +16 -0
  110. package/dist/components/Card/CardHeader.vue.d.ts +16 -0
  111. package/dist/components/Card/CardTabs.vue.d.ts +36 -0
  112. package/dist/components/Card/CardTitle.vue.d.ts +16 -0
  113. package/dist/components/Card/index.d.ts +9 -0
  114. package/dist/components/Checkbox/Checkbox.variants.d.ts +12 -0
  115. package/dist/components/Checkbox/Checkbox.vue.d.ts +42 -0
  116. package/dist/components/Checkbox/index.d.ts +2 -0
  117. package/dist/components/CodeBlock/CodeBlock.variants.d.ts +6 -0
  118. package/dist/components/CodeBlock/CodeBlock.vue.d.ts +22 -0
  119. package/dist/components/CodeBlock/CodeBlockComment.vue.d.ts +16 -0
  120. package/dist/components/CodeBlock/CodeBlockHighlighted.vue.d.ts +14 -0
  121. package/dist/components/CodeBlock/CodeBlockLine.vue.d.ts +20 -0
  122. package/dist/components/CodeBlock/CodeBlockOutput.vue.d.ts +16 -0
  123. package/dist/components/CodeBlock/index.d.ts +7 -0
  124. package/dist/components/CodeBlock/useShiki.d.ts +5 -0
  125. package/dist/components/DataTable/DataTable.vue.d.ts +65 -0
  126. package/dist/components/DataTable/index.d.ts +2 -0
  127. package/dist/components/DataTable/types.d.ts +15 -0
  128. package/dist/components/Dialog/Dialog.variants.d.ts +2 -0
  129. package/dist/components/Dialog/Dialog.vue.d.ts +30 -0
  130. package/dist/components/Dialog/DialogClose.vue.d.ts +23 -0
  131. package/dist/components/Dialog/DialogContent.vue.d.ts +27 -0
  132. package/dist/components/Dialog/DialogDescription.vue.d.ts +23 -0
  133. package/dist/components/Dialog/DialogFooter.vue.d.ts +21 -0
  134. package/dist/components/Dialog/DialogHeader.vue.d.ts +19 -0
  135. package/dist/components/Dialog/DialogOverlay.vue.d.ts +9 -0
  136. package/dist/components/Dialog/DialogScrollContent.vue.d.ts +25 -0
  137. package/dist/components/Dialog/DialogTitle.vue.d.ts +23 -0
  138. package/dist/components/Dialog/DialogTrigger.vue.d.ts +23 -0
  139. package/dist/components/Dialog/context.d.ts +19 -0
  140. package/dist/components/Dialog/index.d.ts +11 -0
  141. package/dist/components/Editor/Editor.variants.d.ts +6 -0
  142. package/dist/components/Editor/Editor.vue.d.ts +37 -0
  143. package/dist/components/Editor/EditorModelSync.vue.d.ts +8 -0
  144. package/dist/components/Editor/EditorToolbar.vue.d.ts +15 -0
  145. package/dist/components/Editor/index.d.ts +2 -0
  146. package/dist/components/Hotkey/Hotkey.vue.d.ts +17 -0
  147. package/dist/components/Hotkey/HotkeyGroup.vue.d.ts +17 -0
  148. package/dist/components/Hotkey/index.d.ts +2 -0
  149. package/dist/components/Input/Input.variants.d.ts +16 -0
  150. package/dist/components/Input/Input.vue.d.ts +59 -0
  151. package/dist/components/Input/index.d.ts +2 -0
  152. package/dist/components/InputOTP/InputOTP.variants.d.ts +13 -0
  153. package/dist/components/InputOTP/InputOTP.vue.d.ts +40 -0
  154. package/dist/components/InputOTP/index.d.ts +2 -0
  155. package/dist/components/Label/Label.vue.d.ts +17 -0
  156. package/dist/components/Label/index.d.ts +1 -0
  157. package/dist/components/Progress/Progress.variants.d.ts +17 -0
  158. package/dist/components/Progress/Progress.vue.d.ts +24 -0
  159. package/dist/components/Progress/index.d.ts +2 -0
  160. package/dist/components/RadioGroup/RadioGroup.variants.d.ts +19 -0
  161. package/dist/components/RadioGroup/RadioGroup.vue.d.ts +36 -0
  162. package/dist/components/RadioGroup/RadioGroupItem.vue.d.ts +36 -0
  163. package/dist/components/RadioGroup/context.d.ts +9 -0
  164. package/dist/components/RadioGroup/index.d.ts +3 -0
  165. package/dist/components/Select/Select.variants.d.ts +9 -0
  166. package/dist/components/Select/Select.vue.d.ts +42 -0
  167. package/dist/components/Select/SelectContent.vue.d.ts +21 -0
  168. package/dist/components/Select/SelectGroup.vue.d.ts +19 -0
  169. package/dist/components/Select/SelectItem.vue.d.ts +26 -0
  170. package/dist/components/Select/SelectItemText.vue.d.ts +19 -0
  171. package/dist/components/Select/SelectLabel.vue.d.ts +19 -0
  172. package/dist/components/Select/SelectScrollDownButton.vue.d.ts +19 -0
  173. package/dist/components/Select/SelectScrollUpButton.vue.d.ts +19 -0
  174. package/dist/components/Select/SelectSeparator.vue.d.ts +9 -0
  175. package/dist/components/Select/SelectTrigger.vue.d.ts +26 -0
  176. package/dist/components/Select/SelectValue.vue.d.ts +25 -0
  177. package/dist/components/Select/context.d.ts +52 -0
  178. package/dist/components/Select/index.d.ts +12 -0
  179. package/dist/components/Separator/Separator.vue.d.ts +13 -0
  180. package/dist/components/Separator/index.d.ts +1 -0
  181. package/dist/components/Skeleton/Skeleton.vue.d.ts +7 -0
  182. package/dist/components/Skeleton/index.d.ts +1 -0
  183. package/dist/components/Spinner/Spinner.variants.d.ts +5 -0
  184. package/dist/components/Spinner/Spinner.vue.d.ts +11 -0
  185. package/dist/components/Spinner/index.d.ts +2 -0
  186. package/dist/components/Stepper/Stepper.vue.d.ts +30 -0
  187. package/dist/components/Stepper/StepperDescription.vue.d.ts +16 -0
  188. package/dist/components/Stepper/StepperIndicator.vue.d.ts +19 -0
  189. package/dist/components/Stepper/StepperItem.vue.d.ts +25 -0
  190. package/dist/components/Stepper/StepperSeparator.vue.d.ts +6 -0
  191. package/dist/components/Stepper/StepperTitle.vue.d.ts +16 -0
  192. package/dist/components/Stepper/StepperTrigger.vue.d.ts +16 -0
  193. package/dist/components/Stepper/context.d.ts +17 -0
  194. package/dist/components/Stepper/index.d.ts +8 -0
  195. package/dist/components/Switch/Switch.variants.d.ts +15 -0
  196. package/dist/components/Switch/Switch.vue.d.ts +40 -0
  197. package/dist/components/Switch/index.d.ts +2 -0
  198. package/dist/components/Table/Table.vue.d.ts +18 -0
  199. package/dist/components/Table/TableBody.vue.d.ts +17 -0
  200. package/dist/components/Table/TableCell.vue.d.ts +28 -0
  201. package/dist/components/Table/TableEmpty.vue.d.ts +20 -0
  202. package/dist/components/Table/TableFooter.vue.d.ts +17 -0
  203. package/dist/components/Table/TableHead.vue.d.ts +26 -0
  204. package/dist/components/Table/TableHeader.vue.d.ts +17 -0
  205. package/dist/components/Table/TableRow.vue.d.ts +17 -0
  206. package/dist/components/Table/index.d.ts +8 -0
  207. package/dist/components/Tabs/Tabs.variants.d.ts +11 -0
  208. package/dist/components/Tabs/Tabs.vue.d.ts +29 -0
  209. package/dist/components/Tabs/TabsContent.vue.d.ts +20 -0
  210. package/dist/components/Tabs/TabsList.vue.d.ts +22 -0
  211. package/dist/components/Tabs/TabsTrigger.vue.d.ts +25 -0
  212. package/dist/components/Tabs/context.d.ts +7 -0
  213. package/dist/components/Tabs/index.d.ts +5 -0
  214. package/dist/components/Textarea/Textarea.variants.d.ts +9 -0
  215. package/dist/components/Textarea/Textarea.vue.d.ts +59 -0
  216. package/dist/components/Textarea/index.d.ts +2 -0
  217. package/dist/components/Toggle/Toggle.variants.d.ts +6 -0
  218. package/dist/components/Toggle/Toggle.vue.d.ts +38 -0
  219. package/dist/components/Toggle/index.d.ts +2 -0
  220. package/dist/components/ToggleGroup/ToggleGroup.variants.d.ts +5 -0
  221. package/dist/components/ToggleGroup/ToggleGroup.vue.d.ts +41 -0
  222. package/dist/components/ToggleGroup/ToggleGroupItem.vue.d.ts +27 -0
  223. package/dist/components/ToggleGroup/context.d.ts +13 -0
  224. package/dist/components/ToggleGroup/index.d.ts +3 -0
  225. package/dist/coq-B76ZoOHZ.js +3 -0
  226. package/dist/cpp-CtrG851a.js +19 -0
  227. package/dist/crystal-DVE659Hz.js +18 -0
  228. package/dist/csharp-CM90Agtc.js +3 -0
  229. package/dist/css-BXAIfPSV.js +5 -0
  230. package/dist/csv-Unqj11Cb.js +3 -0
  231. package/dist/cue-ClLQ6DG1.js +3 -0
  232. package/dist/cypher-BJn0hcQn.js +3 -0
  233. package/dist/d-CCRBmzkh.js +3 -0
  234. package/dist/dark-plus-BaXfgF0I.js +4 -0
  235. package/dist/dart-CvZbon70.js +3 -0
  236. package/dist/dax-DV67hG2y.js +3 -0
  237. package/dist/desktop-DbHnbqQL.js +3 -0
  238. package/dist/diff-DoTfpm4z.js +3 -0
  239. package/dist/dist-BxFwGWKU.js +9069 -0
  240. package/dist/docker-D893Ehl0.js +3 -0
  241. package/dist/dotenv-t_3AzCLU.js +3 -0
  242. package/dist/dracula-BHF_kpO0.js +4 -0
  243. package/dist/dracula-soft-CaTOiVFO.js +4 -0
  244. package/dist/dream-maker-Dvajhs6B.js +3 -0
  245. package/dist/edge-BkMo23iR.js +12 -0
  246. package/dist/elixir-Cq7Sz6zR.js +5 -0
  247. package/dist/elm-C9Egvai-.js +5 -0
  248. package/dist/emacs-lisp-4f2kgb7K.js +3 -0
  249. package/dist/erb-DU88g3CK.js +10 -0
  250. package/dist/erlang-Btzo1tkm.js +5 -0
  251. package/dist/everforest-dark-n1U9TERu.js +4 -0
  252. package/dist/everforest-light-Cxk-NEOq.js +4 -0
  253. package/dist/fennel-BcdDyKOz.js +3 -0
  254. package/dist/fish-zUc4glNK.js +3 -0
  255. package/dist/fluent-C30ZXKsb.js +3 -0
  256. package/dist/fortran-fixed-form-Cb6k23A8.js +5 -0
  257. package/dist/fortran-free-form-DZzTNipM.js +3 -0
  258. package/dist/fsharp-BRGA2aLx.js +5 -0
  259. package/dist/gdresource-D4Q8_yNH.js +10 -0
  260. package/dist/gdscript-CasWk1ed.js +3 -0
  261. package/dist/gdshader-C6_C1Mla.js +3 -0
  262. package/dist/genie-Dc1WHM2J.js +3 -0
  263. package/dist/gherkin-p4arnJHH.js +3 -0
  264. package/dist/git-commit-BgDIffUm.js +5 -0
  265. package/dist/git-rebase-BOOLXd_2.js +5 -0
  266. package/dist/github-dark-BY_BCkXE.js +4 -0
  267. package/dist/github-dark-default-CxpVDCKU.js +4 -0
  268. package/dist/github-dark-dimmed-DP55KhxO.js +4 -0
  269. package/dist/github-dark-high-contrast-BsJ4xW6d.js +4 -0
  270. package/dist/github-light-aP2TlV4x.js +4 -0
  271. package/dist/github-light-default-C4MUqc7r.js +4 -0
  272. package/dist/github-light-high-contrast-DKhOk93U.js +4 -0
  273. package/dist/gleam-CHP-0Vmy.js +3 -0
  274. package/dist/glimmer-js-DDAcDe2E.js +14 -0
  275. package/dist/glimmer-ts-BMMyghSC.js +14 -0
  276. package/dist/glsl-C77SdHHd.js +6 -0
  277. package/dist/gn-DdA_9WBV.js +3 -0
  278. package/dist/gnuplot-DiszKoDh.js +3 -0
  279. package/dist/go-B7sJ7_JR.js +3 -0
  280. package/dist/graphql-0GE-jM6H.js +15 -0
  281. package/dist/groovy-D5RihzTE.js +3 -0
  282. package/dist/gruvbox-dark-hard-B5oO9dKQ.js +4 -0
  283. package/dist/gruvbox-dark-medium-BKQQ8bni.js +4 -0
  284. package/dist/gruvbox-dark-soft-BgWa53Ov.js +4 -0
  285. package/dist/gruvbox-light-hard-POZyzoU-.js +4 -0
  286. package/dist/gruvbox-light-medium-BPz-pe8v.js +4 -0
  287. package/dist/gruvbox-light-soft-C5M5c9Sl.js +4 -0
  288. package/dist/hack-DQMf89ED.js +10 -0
  289. package/dist/haml-Cld0wv97.js +11 -0
  290. package/dist/handlebars-BT_HwtwQ.js +14 -0
  291. package/dist/haskell-CbDb8mmG.js +3 -0
  292. package/dist/haxe-CkQ88r70.js +3 -0
  293. package/dist/hcl-CVaPdMU6.js +3 -0
  294. package/dist/hjson-DkLkzLzi.js +3 -0
  295. package/dist/hlsl-Fs8CwE1E.js +3 -0
  296. package/dist/horizon-CYvChE1l.js +4 -0
  297. package/dist/horizon-bright-BMwhJ8Xu.js +4 -0
  298. package/dist/houston-BhP0Wze_.js +4 -0
  299. package/dist/html-B9HcON16.js +11 -0
  300. package/dist/html-derivative-rSLNyYm7.js +5 -0
  301. package/dist/http-D3ad5MBk.js +14 -0
  302. package/dist/hurl-DXm3CnIB.js +12 -0
  303. package/dist/hxml-BxhiIejJ.js +5 -0
  304. package/dist/hy-Cwkb2sgB.js +3 -0
  305. package/dist/imba-Ccadz2v8.js +3 -0
  306. package/dist/index.css +2 -0
  307. package/dist/index.d.ts +30 -0
  308. package/dist/index.js +31389 -0
  309. package/dist/ini-Br-y36jZ.js +3 -0
  310. package/dist/java-GQ5wYDFs.js +5 -0
  311. package/dist/javascript-DlxQoHvZ.js +5 -0
  312. package/dist/jinja-sW3mCDH-.js +5 -0
  313. package/dist/jison-B84xpLIw.js +5 -0
  314. package/dist/json-LZFQdXam.js +5 -0
  315. package/dist/json5-DlfYKYSp.js +3 -0
  316. package/dist/jsonc-C4bq8qU7.js +3 -0
  317. package/dist/jsonl-CcMxJ-J9.js +3 -0
  318. package/dist/jsonnet-D9tUdPqc.js +3 -0
  319. package/dist/jssm-C9rzGa75.js +3 -0
  320. package/dist/jsx-OsE-Bunt.js +5 -0
  321. package/dist/julia-Cqa8LGkK.js +16 -0
  322. package/dist/just-BRXsB_7M.js +18 -0
  323. package/dist/kanagawa-dragon-BQzNnL3z.js +4 -0
  324. package/dist/kanagawa-lotus-9F6kHEKq.js +4 -0
  325. package/dist/kanagawa-wave-u67gXxMn.js +4 -0
  326. package/dist/kdl-C3ArYlhk.js +3 -0
  327. package/dist/kotlin-DlbbvmpW.js +3 -0
  328. package/dist/kusto-SZ8S9EwN.js +3 -0
  329. package/dist/laserwave-ClGRl-5t.js +4 -0
  330. package/dist/latex-B89DwGYR.js +5 -0
  331. package/dist/lean-CYj2oBhN.js +3 -0
  332. package/dist/less-D-kmrIrT.js +3 -0
  333. package/dist/lib/utils.d.ts +15 -0
  334. package/dist/light-plus-C5hP1kpF.js +4 -0
  335. package/dist/liquid-C4a8om0c.js +14 -0
  336. package/dist/llvm-dcvn_KIM.js +3 -0
  337. package/dist/log-DTf-0zYP.js +3 -0
  338. package/dist/logo-CUh2b5yy.js +3 -0
  339. package/dist/lua-Bd6Ait3J.js +6 -0
  340. package/dist/luau-cl4PrKah.js +3 -0
  341. package/dist/make-eFBmESRY.js +3 -0
  342. package/dist/markdown-E1Tjl3ay.js +3 -0
  343. package/dist/marko-Bpn4TwEU.js +14 -0
  344. package/dist/material-theme-C5ZLXIyB.js +4 -0
  345. package/dist/material-theme-darker-DlsZgyqn.js +4 -0
  346. package/dist/material-theme-lighter-Dgtd60FS.js +4 -0
  347. package/dist/material-theme-ocean-FDICw_Nl.js +4 -0
  348. package/dist/material-theme-palenight-YOynAOz-.js +4 -0
  349. package/dist/matlab-CWYflKhx.js +3 -0
  350. package/dist/mdc-C2TPGoHi.js +12 -0
  351. package/dist/mdx-DKokoIvR.js +3 -0
  352. package/dist/mermaid-Di77ziEK.js +3 -0
  353. package/dist/min-dark-DHMEs2x8.js +4 -0
  354. package/dist/min-light-D6UmcDRG.js +4 -0
  355. package/dist/mipsasm-Dqf3Smf4.js +3 -0
  356. package/dist/mojo-BnsXq_BO.js +3 -0
  357. package/dist/monokai-BD0eaQnD.js +4 -0
  358. package/dist/moonbit-CAhQ3sCX.js +3 -0
  359. package/dist/move-xbI-XijT.js +3 -0
  360. package/dist/narrat-BOGrs0D9.js +3 -0
  361. package/dist/nextflow-Ctcr2tCu.js +5 -0
  362. package/dist/nextflow-groovy-NgfREUhM.js +3 -0
  363. package/dist/nginx-BFwHGFbL.js +5 -0
  364. package/dist/night-owl-BKGHTQht.js +4 -0
  365. package/dist/night-owl-light-CnoFDJkw.js +4 -0
  366. package/dist/nim-CbbeoxCp.js +20 -0
  367. package/dist/nix-BvtetEBt.js +3 -0
  368. package/dist/nord-BYKqE5KS.js +4 -0
  369. package/dist/nushell-CYp0bSE-.js +3 -0
  370. package/dist/objective-c-BT7nnnUJ.js +3 -0
  371. package/dist/objective-cpp-CbC4-uTv.js +3 -0
  372. package/dist/ocaml-CDcFY8QK.js +3 -0
  373. package/dist/odin-CrW6HAZf.js +3 -0
  374. package/dist/one-dark-pro-DfPMGiYy.js +4 -0
  375. package/dist/one-light-DFXY36gp.js +4 -0
  376. package/dist/openscad-iUFg0B0g.js +3 -0
  377. package/dist/pascal-CyLyX3Jm.js +3 -0
  378. package/dist/perl-BC7uqZyY.js +16 -0
  379. package/dist/php-BMK-MHr9.js +18 -0
  380. package/dist/pkl-kZxyQXfN.js +3 -0
  381. package/dist/plastic-XNYJM3D6.js +4 -0
  382. package/dist/plsql-Y4k3-CA1.js +3 -0
  383. package/dist/po-gQpZNv7T.js +3 -0
  384. package/dist/poimandres-C4PaPjEw.js +4 -0
  385. package/dist/polar-BcYSMBl1.js +3 -0
  386. package/dist/postcss-DOPa887j.js +3 -0
  387. package/dist/powerquery-yPSRIzIf.js +3 -0
  388. package/dist/powershell-7juVthsu.js +3 -0
  389. package/dist/prisma-SeHmGHlD.js +3 -0
  390. package/dist/prolog-C0rOAsFl.js +3 -0
  391. package/dist/proto-BIorFbiU.js +3 -0
  392. package/dist/pug-CrSfHEzh.js +12 -0
  393. package/dist/puppet-DLgViJuu.js +3 -0
  394. package/dist/purescript-DWF1bvyi.js +3 -0
  395. package/dist/python-BhLDq9ED.js +3 -0
  396. package/dist/qml-C5olj0fW.js +5 -0
  397. package/dist/qmldir-DdZTkg5A.js +3 -0
  398. package/dist/qss-DolMCpN6.js +3 -0
  399. package/dist/r-CbDnOTHJ.js +5 -0
  400. package/dist/racket-CI3EgTLA.js +3 -0
  401. package/dist/raku-C00n-qdV.js +3 -0
  402. package/dist/razor-4USJUQA5.js +10 -0
  403. package/dist/red-RKgSrRAN.js +4 -0
  404. package/dist/reg-CfM5cE8h.js +3 -0
  405. package/dist/regexp-CVVyGBTZ.js +5 -0
  406. package/dist/rel-DXm_CT57.js +3 -0
  407. package/dist/riscv-j__jQJtH.js +3 -0
  408. package/dist/ron-CoMJEWoM.js +3 -0
  409. package/dist/rose-pine-3X2It6Vk.js +4 -0
  410. package/dist/rose-pine-dawn-wDbveFcy.js +4 -0
  411. package/dist/rose-pine-moon-khW-CldE.js +4 -0
  412. package/dist/rosmsg-baMlju9J.js +3 -0
  413. package/dist/rst-DHCx6S5y.js +22 -0
  414. package/dist/ruby-BGM2AA86.js +30 -0
  415. package/dist/rust-Bwz4_Zz9.js +3 -0
  416. package/dist/sas-Bt22bSd-.js +5 -0
  417. package/dist/sass-DapcQAx-.js +3 -0
  418. package/dist/scala-BG-wcq5w.js +3 -0
  419. package/dist/scheme-C_e1IoyF.js +3 -0
  420. package/dist/scss-BE_dvsh7.js +6 -0
  421. package/dist/sdbl-JAyVE3qm.js +3 -0
  422. package/dist/shaderlab-Cj0D4q_L.js +5 -0
  423. package/dist/shellscript-BYm9tsiS.js +5 -0
  424. package/dist/shellsession-DlLvFMGg.js +5 -0
  425. package/dist/slack-dark--voIvSma.js +4 -0
  426. package/dist/slack-ochin-ll9QUhFq.js +4 -0
  427. package/dist/smalltalk-CEdXYjUj.js +3 -0
  428. package/dist/snazzy-light-p45c0RAm.js +4 -0
  429. package/dist/solarized-dark-DsMmNvqH.js +4 -0
  430. package/dist/solarized-light-DpXVTf-g.js +4 -0
  431. package/dist/solidity-BKFDmBTC.js +3 -0
  432. package/dist/soy-DtEoay8i.js +5 -0
  433. package/dist/sparql-BITkS5Z_.js +5 -0
  434. package/dist/splunk-DQeAzsOi.js +3 -0
  435. package/dist/sql-D_Kdq6gC.js +5 -0
  436. package/dist/ssh-config-DB40eScc.js +3 -0
  437. package/dist/stata-CtlHW6m0.js +5 -0
  438. package/dist/strux-ui.css +2 -0
  439. package/dist/stylus-moFzJ0fK.js +3 -0
  440. package/dist/surrealql-HVnTUb6w.js +5 -0
  441. package/dist/svelte-DWhZGM13.js +14 -0
  442. package/dist/swift-B3iPwKO0.js +3 -0
  443. package/dist/synthwave-84-oxS-dzpy.js +4 -0
  444. package/dist/system-verilog-DoAJNIZ8.js +3 -0
  445. package/dist/systemd-DevKAdYm.js +3 -0
  446. package/dist/talonscript-DwNl69M9.js +3 -0
  447. package/dist/tasl-CKiw1_vh.js +3 -0
  448. package/dist/tcl-BtutcLWg.js +3 -0
  449. package/dist/templ-GC61TXh-.js +12 -0
  450. package/dist/terraform-BaQiuXqM.js +3 -0
  451. package/dist/tex-BpXp1VG6.js +5 -0
  452. package/dist/tokyo-night-CLOyAEcU.js +4 -0
  453. package/dist/toml-Dr0kWc8B.js +3 -0
  454. package/dist/ts-tags-DOihhOlr.js +38 -0
  455. package/dist/tsv-C-6tiGwW.js +3 -0
  456. package/dist/tsx-DVukRIGB.js +5 -0
  457. package/dist/turtle-BC_OCIAI.js +3 -0
  458. package/dist/twig-BoBy7ymr.js +18 -0
  459. package/dist/typescript-o5NtkUUJ.js +5 -0
  460. package/dist/typespec-DStJD0fR.js +3 -0
  461. package/dist/typst-CwdON9sn.js +3 -0
  462. package/dist/v-C-REktM4.js +3 -0
  463. package/dist/vala-BXCtnoI7.js +3 -0
  464. package/dist/vb-BsRx4fGg.js +3 -0
  465. package/dist/verilog-BIHifWx2.js +3 -0
  466. package/dist/vesper-DlGbuHx1.js +4 -0
  467. package/dist/vhdl-DDCWXBtw.js +3 -0
  468. package/dist/viml-CpTU07-K.js +3 -0
  469. package/dist/vitesse-black-BvXUUlAo.js +4 -0
  470. package/dist/vitesse-dark-pBqclJNi.js +4 -0
  471. package/dist/vitesse-light-Cgcs4BIy.js +4 -0
  472. package/dist/vue-C4b8odTB.js +21 -0
  473. package/dist/vue-html-BEwKPR5W.js +5 -0
  474. package/dist/vue-vine-CLecvFJi.js +18 -0
  475. package/dist/vyper-G6LIJvTi.js +3 -0
  476. package/dist/wasm-Btx0N3YS.js +4 -0
  477. package/dist/wasm-COlAncNE.js +3 -0
  478. package/dist/wenyan-DtqMr2Zc.js +3 -0
  479. package/dist/wgsl-B2v8dCnx.js +3 -0
  480. package/dist/wikitext-Bf0m4xA1.js +3 -0
  481. package/dist/wit-ChMDljlF.js +3 -0
  482. package/dist/wolfram-DdOH3gOM.js +3 -0
  483. package/dist/xml-UfJT5ICX.js +6 -0
  484. package/dist/xsl-BlKPAm48.js +5 -0
  485. package/dist/yaml-DwO6QOAh.js +5 -0
  486. package/dist/zenscript-BEt1sJUj.js +3 -0
  487. package/dist/zig-B7YIws_E.js +3 -0
  488. package/package.json +137 -0
  489. package/src/styles/fonts.css +20 -0
  490. package/src/styles/index.css +3 -0
  491. package/src/styles/theme.css +156 -0
@@ -0,0 +1,17 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ /**
3
+ * Button class variance configuration.
4
+ *
5
+ * The variant set is designed around how the strux-website actually
6
+ * styles its buttons, not lifted wholesale from shadcn. The Strux
7
+ * primary is the indigo-500 fill with indigo-400 hover; outline is
8
+ * the slate-700/80 border with indigo hover; secondary is a filled
9
+ * neutral surface for medium-emphasis actions; ghost is bare-bones;
10
+ * destructive uses the danger token; link reads as inline text.
11
+ */
12
+ export declare const buttonVariants: (props?: ({
13
+ variant?: "link" | "warn" | "secondary" | "outline" | "destructive" | "primary" | "ghost" | "success" | null | undefined;
14
+ size?: "sm" | "md" | "lg" | "icon" | null | undefined;
15
+ block?: boolean | null | undefined;
16
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
17
+ export type ButtonVariants = VariantProps<typeof buttonVariants>;
@@ -0,0 +1,35 @@
1
+ import { type HTMLAttributes } from "vue";
2
+ import { type ButtonVariants } from "./Button.variants";
3
+ interface Props {
4
+ variant?: ButtonVariants["variant"];
5
+ size?: ButtonVariants["size"];
6
+ block?: boolean;
7
+ loading?: boolean;
8
+ disabled?: boolean;
9
+ type?: "button" | "submit" | "reset";
10
+ href?: string;
11
+ class?: HTMLAttributes["class"];
12
+ }
13
+ type __VLS_Slots = {
14
+ default(): unknown;
15
+ leading(): unknown;
16
+ trailing(): unknown;
17
+ };
18
+ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
19
+ size: "sm" | "md" | "lg" | "icon" | null;
20
+ class: string | false | Record<string, any> | import("vue").ClassValue[] | null;
21
+ type: "button" | "submit" | "reset";
22
+ disabled: boolean;
23
+ href: string;
24
+ variant: "link" | "warn" | "secondary" | "outline" | "destructive" | "primary" | "ghost" | "success" | null;
25
+ block: boolean;
26
+ loading: boolean;
27
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
29
+ declare const _default: typeof __VLS_export;
30
+ export default _default;
31
+ type __VLS_WithSlots<T, S> = T & {
32
+ new (): {
33
+ $slots: S;
34
+ };
35
+ };
@@ -0,0 +1,2 @@
1
+ export { default as Button } from "./Button.vue";
2
+ export { buttonVariants, type ButtonVariants } from "./Button.variants";
@@ -0,0 +1,5 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ export declare const calendarVariants: (props?: ({
3
+ size?: "sm" | "md" | null | undefined;
4
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
5
+ export type CalendarVariants = VariantProps<typeof calendarVariants>;
@@ -0,0 +1,74 @@
1
+ import { type CSSProperties, type HTMLAttributes } from "vue";
2
+ import type { CalendarEvent, CalendarView, CalendarNavigation } from "./types";
3
+ interface Props {
4
+ events?: CalendarEvent[];
5
+ view?: CalendarView;
6
+ date?: Date;
7
+ slotDuration?: number;
8
+ slotHeight?: number;
9
+ startHour?: number;
10
+ endHour?: number;
11
+ weekStartsOn?: 0 | 1;
12
+ readonly?: boolean;
13
+ size?: "sm" | "md";
14
+ class?: HTMLAttributes["class"];
15
+ }
16
+ type __VLS_Slots = {
17
+ header(props: {
18
+ view: CalendarView;
19
+ date: Date;
20
+ nav: CalendarNavigation;
21
+ }): unknown;
22
+ "day-header"(props: {
23
+ date: Date;
24
+ isToday: boolean;
25
+ }): unknown;
26
+ event(props: {
27
+ event: CalendarEvent;
28
+ style: CSSProperties;
29
+ }): unknown;
30
+ "event-content"(props: {
31
+ event: CalendarEvent;
32
+ }): unknown;
33
+ "month-cell"(props: {
34
+ date: Date;
35
+ events: CalendarEvent[];
36
+ }): unknown;
37
+ };
38
+ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
39
+ "update:view": (view: CalendarView) => any;
40
+ "day-click": (date: Date) => any;
41
+ "slot-click": (date: Date) => any;
42
+ "event-click": (event: CalendarEvent) => any;
43
+ "update:date": (date: Date) => any;
44
+ "event-move": (id: string, newStart: Date, newEnd: Date) => any;
45
+ "event-resize": (id: string, newStart: Date, newEnd: Date) => any;
46
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
47
+ "onUpdate:view"?: ((view: CalendarView) => any) | undefined;
48
+ "onDay-click"?: ((date: Date) => any) | undefined;
49
+ "onSlot-click"?: ((date: Date) => any) | undefined;
50
+ "onEvent-click"?: ((event: CalendarEvent) => any) | undefined;
51
+ "onUpdate:date"?: ((date: Date) => any) | undefined;
52
+ "onEvent-move"?: ((id: string, newStart: Date, newEnd: Date) => any) | undefined;
53
+ "onEvent-resize"?: ((id: string, newStart: Date, newEnd: Date) => any) | undefined;
54
+ }>, {
55
+ size: "sm" | "md";
56
+ class: string | false | Record<string, any> | import("vue").ClassValue[] | null;
57
+ view: CalendarView;
58
+ date: Date;
59
+ slotDuration: number;
60
+ slotHeight: number;
61
+ startHour: number;
62
+ endHour: number;
63
+ readonly: boolean;
64
+ events: CalendarEvent[];
65
+ weekStartsOn: 0 | 1;
66
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
67
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
68
+ declare const _default: typeof __VLS_export;
69
+ export default _default;
70
+ type __VLS_WithSlots<T, S> = T & {
71
+ new (): {
72
+ $slots: S;
73
+ };
74
+ };
@@ -0,0 +1,40 @@
1
+ import { type CSSProperties } from "vue";
2
+ import type { CalendarEvent } from "./types";
3
+ interface Props {
4
+ day: Date;
5
+ events: CalendarEvent[];
6
+ slotDuration: number;
7
+ slotHeight: number;
8
+ startHour?: number;
9
+ endHour?: number;
10
+ selectedEventId: string | null;
11
+ readonly?: boolean;
12
+ }
13
+ type __VLS_Slots = {
14
+ event(props: {
15
+ event: CalendarEvent;
16
+ style: CSSProperties;
17
+ }): unknown;
18
+ "event-content"(props: {
19
+ event: CalendarEvent;
20
+ }): unknown;
21
+ };
22
+ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
+ "slot-click": (date: Date) => any;
24
+ "event-click": (event: CalendarEvent) => any;
25
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
26
+ "onSlot-click"?: ((date: Date) => any) | undefined;
27
+ "onEvent-click"?: ((event: CalendarEvent) => any) | undefined;
28
+ }>, {
29
+ startHour: number;
30
+ endHour: number;
31
+ readonly: boolean;
32
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
33
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
34
+ declare const _default: typeof __VLS_export;
35
+ export default _default;
36
+ type __VLS_WithSlots<T, S> = T & {
37
+ new (): {
38
+ $slots: S;
39
+ };
40
+ };
@@ -0,0 +1,10 @@
1
+ interface Props {
2
+ date: Date;
3
+ }
4
+ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ "day-click": (date: Date) => any;
6
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
7
+ "onDay-click"?: ((date: Date) => any) | undefined;
8
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,42 @@
1
+ import { type CSSProperties } from "vue";
2
+ import type { CalendarEvent } from "./types";
3
+ interface Props {
4
+ date: Date;
5
+ events: CalendarEvent[];
6
+ slotDuration: number;
7
+ slotHeight: number;
8
+ startHour?: number;
9
+ endHour?: number;
10
+ selectedEventId: string | null;
11
+ timeSelected?: Date | null;
12
+ readonly?: boolean;
13
+ }
14
+ type __VLS_Slots = {
15
+ event(props: {
16
+ event: CalendarEvent;
17
+ style: CSSProperties;
18
+ }): unknown;
19
+ "event-content"(props: {
20
+ event: CalendarEvent;
21
+ }): unknown;
22
+ };
23
+ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
24
+ "slot-click": (date: Date) => any;
25
+ "event-click": (event: CalendarEvent) => any;
26
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
27
+ "onSlot-click"?: ((date: Date) => any) | undefined;
28
+ "onEvent-click"?: ((event: CalendarEvent) => any) | undefined;
29
+ }>, {
30
+ startHour: number;
31
+ endHour: number;
32
+ timeSelected: Date | null;
33
+ readonly: boolean;
34
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
35
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
36
+ declare const _default: typeof __VLS_export;
37
+ export default _default;
38
+ type __VLS_WithSlots<T, S> = T & {
39
+ new (): {
40
+ $slots: S;
41
+ };
42
+ };
@@ -0,0 +1,6 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ export declare const calendarEventVariants: (props?: ({
3
+ color?: "info" | "warn" | "danger" | "ok" | "accent" | null | undefined;
4
+ selected?: boolean | null | undefined;
5
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
+ export type CalendarEventVariants = VariantProps<typeof calendarEventVariants>;
@@ -0,0 +1,39 @@
1
+ import { type CSSProperties, type HTMLAttributes } from "vue";
2
+ import type { CalendarEvent } from "./types";
3
+ interface Props {
4
+ event: CalendarEvent;
5
+ style: CSSProperties;
6
+ selected?: boolean;
7
+ readonly?: boolean;
8
+ slotDuration?: number;
9
+ slotHeight?: number;
10
+ class?: HTMLAttributes["class"];
11
+ }
12
+ type __VLS_Slots = {
13
+ event(props: {
14
+ event: CalendarEvent;
15
+ style: CSSProperties;
16
+ }): unknown;
17
+ "event-content"(props: {
18
+ event: CalendarEvent;
19
+ }): unknown;
20
+ };
21
+ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22
+ "event-click": (event: CalendarEvent) => any;
23
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
24
+ "onEvent-click"?: ((event: CalendarEvent) => any) | undefined;
25
+ }>, {
26
+ class: string | false | Record<string, any> | import("vue").ClassValue[] | null;
27
+ slotDuration: number;
28
+ slotHeight: number;
29
+ selected: boolean;
30
+ readonly: boolean;
31
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
32
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
33
+ declare const _default: typeof __VLS_export;
34
+ export default _default;
35
+ type __VLS_WithSlots<T, S> = T & {
36
+ new (): {
37
+ $slots: S;
38
+ };
39
+ };
@@ -0,0 +1,36 @@
1
+ import type { CSSProperties } from "vue";
2
+ import type { CalendarEvent as CalendarEventType, EventGroup } from "./types";
3
+ interface Props {
4
+ group: EventGroup;
5
+ layout: {
6
+ eventStyle: (event: CalendarEventType, groupSize: number, index: number) => CSSProperties;
7
+ };
8
+ selectedEventId: string | null;
9
+ slotDuration: number;
10
+ slotHeight: number;
11
+ readonly?: boolean;
12
+ }
13
+ type __VLS_Slots = {
14
+ event(props: {
15
+ event: CalendarEventType;
16
+ style: CSSProperties;
17
+ }): unknown;
18
+ "event-content"(props: {
19
+ event: CalendarEventType;
20
+ }): unknown;
21
+ };
22
+ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
+ "event-click": (event: CalendarEventType) => any;
24
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
25
+ "onEvent-click"?: ((event: CalendarEventType) => any) | undefined;
26
+ }>, {
27
+ readonly: boolean;
28
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
29
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
30
+ declare const _default: typeof __VLS_export;
31
+ export default _default;
32
+ type __VLS_WithSlots<T, S> = T & {
33
+ new (): {
34
+ $slots: S;
35
+ };
36
+ };
@@ -0,0 +1,9 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ export declare const calendarHeaderVariants: (props?: ({
3
+ size?: "sm" | "md" | null | undefined;
4
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
5
+ export declare const viewToggleVariants: (props?: ({
6
+ active?: boolean | null | undefined;
7
+ size?: "sm" | "md" | null | undefined;
8
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
+ export type CalendarHeaderVariants = VariantProps<typeof calendarHeaderVariants>;
@@ -0,0 +1,23 @@
1
+ import type { CalendarView } from "./types";
2
+ interface Props {
3
+ title: string;
4
+ view: CalendarView;
5
+ size?: "sm" | "md";
6
+ class?: string;
7
+ }
8
+ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ next: () => any;
10
+ prev: () => any;
11
+ today: () => any;
12
+ "update:view": (view: CalendarView) => any;
13
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
14
+ onNext?: (() => any) | undefined;
15
+ onPrev?: (() => any) | undefined;
16
+ onToday?: (() => any) | undefined;
17
+ "onUpdate:view"?: ((view: CalendarView) => any) | undefined;
18
+ }>, {
19
+ size: "sm" | "md";
20
+ class: string;
21
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
+ declare const _default: typeof __VLS_export;
23
+ export default _default;
@@ -0,0 +1,30 @@
1
+ import type { CalendarEvent } from "./types";
2
+ interface Props {
3
+ date: Date;
4
+ events: CalendarEvent[];
5
+ referenceDate: Date;
6
+ maxVisible?: number;
7
+ }
8
+ type __VLS_Slots = {
9
+ "month-cell"(props: {
10
+ date: Date;
11
+ events: CalendarEvent[];
12
+ }): unknown;
13
+ };
14
+ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
+ "day-click": (date: Date) => any;
16
+ "event-click": (event: CalendarEvent) => any;
17
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
18
+ "onDay-click"?: ((date: Date) => any) | undefined;
19
+ "onEvent-click"?: ((event: CalendarEvent) => any) | undefined;
20
+ }>, {
21
+ maxVisible: number;
22
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
+ declare const _default: typeof __VLS_export;
25
+ export default _default;
26
+ type __VLS_WithSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };
@@ -0,0 +1,11 @@
1
+ import type { CalendarEvent } from "./types";
2
+ interface Props {
3
+ event: CalendarEvent;
4
+ }
5
+ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ "event-click": (event: CalendarEvent) => any;
7
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
8
+ "onEvent-click"?: ((event: CalendarEvent) => any) | undefined;
9
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const _default: typeof __VLS_export;
11
+ export default _default;
@@ -0,0 +1,30 @@
1
+ import type { CalendarEvent } from "./types";
2
+ interface Props {
3
+ dates: Date[];
4
+ events: CalendarEvent[];
5
+ referenceDate: Date;
6
+ weekStartsOn?: 0 | 1;
7
+ }
8
+ type __VLS_Slots = {
9
+ "month-cell"(props: {
10
+ date: Date;
11
+ events: CalendarEvent[];
12
+ }): unknown;
13
+ };
14
+ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
+ "day-click": (date: Date) => any;
16
+ "event-click": (event: CalendarEvent) => any;
17
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
18
+ "onDay-click"?: ((date: Date) => any) | undefined;
19
+ "onEvent-click"?: ((event: CalendarEvent) => any) | undefined;
20
+ }>, {
21
+ weekStartsOn: 0 | 1;
22
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
+ declare const _default: typeof __VLS_export;
25
+ export default _default;
26
+ type __VLS_WithSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };
@@ -0,0 +1,17 @@
1
+ interface Props {
2
+ day: Date;
3
+ slotDuration: number;
4
+ slotHeight: number;
5
+ startHour?: number;
6
+ endHour?: number;
7
+ }
8
+ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ "slot-click": (date: Date) => any;
10
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
11
+ "onSlot-click"?: ((date: Date) => any) | undefined;
12
+ }>, {
13
+ startHour: number;
14
+ endHour: number;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
@@ -0,0 +1,14 @@
1
+ interface Props {
2
+ slotDuration: number;
3
+ slotHeight: number;
4
+ startHour?: number;
5
+ endHour?: number;
6
+ timeSelected?: Date | null;
7
+ }
8
+ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
9
+ startHour: number;
10
+ endHour: number;
11
+ timeSelected: Date | null;
12
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
@@ -0,0 +1,48 @@
1
+ import { type CSSProperties } from "vue";
2
+ import type { CalendarEvent } from "./types";
3
+ interface Props {
4
+ dates: Date[];
5
+ events: CalendarEvent[];
6
+ slotDuration: number;
7
+ slotHeight: number;
8
+ startHour?: number;
9
+ endHour?: number;
10
+ selectedEventId: string | null;
11
+ timeSelected?: Date | null;
12
+ readonly?: boolean;
13
+ }
14
+ type __VLS_Slots = {
15
+ "day-header"(props: {
16
+ date: Date;
17
+ isToday: boolean;
18
+ }): unknown;
19
+ event(props: {
20
+ event: CalendarEvent;
21
+ style: CSSProperties;
22
+ }): unknown;
23
+ "event-content"(props: {
24
+ event: CalendarEvent;
25
+ }): unknown;
26
+ };
27
+ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
28
+ "day-click": (date: Date) => any;
29
+ "slot-click": (date: Date) => any;
30
+ "event-click": (event: CalendarEvent) => any;
31
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
32
+ "onDay-click"?: ((date: Date) => any) | undefined;
33
+ "onSlot-click"?: ((date: Date) => any) | undefined;
34
+ "onEvent-click"?: ((event: CalendarEvent) => any) | undefined;
35
+ }>, {
36
+ startHour: number;
37
+ endHour: number;
38
+ timeSelected: Date | null;
39
+ readonly: boolean;
40
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
41
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
42
+ declare const _default: typeof __VLS_export;
43
+ export default _default;
44
+ type __VLS_WithSlots<T, S> = T & {
45
+ new (): {
46
+ $slots: S;
47
+ };
48
+ };
@@ -0,0 +1,12 @@
1
+ import { type Ref } from "vue";
2
+ import type { Timeslot } from "../types";
3
+ export interface UseCalendarDragOptions {
4
+ slotDuration: number;
5
+ onMove?: (eventId: string, newStart: Date, newEnd: Date) => void;
6
+ }
7
+ export declare function useCalendarDrag(options: UseCalendarDragOptions): {
8
+ isDragging: Ref<boolean, boolean>;
9
+ draggingEventId: Ref<string | null, string | null>;
10
+ currentDropSlot: Ref<Timeslot | null, Timeslot | null>;
11
+ startDrag: (e: PointerEvent, eventId: string, originalStart: Date, originalEnd: Date) => void;
12
+ };
@@ -0,0 +1,13 @@
1
+ import type { CSSProperties } from "vue";
2
+ import type { CalendarEvent, EventGroup } from "../types";
3
+ export interface UseCalendarLayoutOptions {
4
+ slotDuration: number;
5
+ slotHeight: number;
6
+ startHour: number;
7
+ endHour: number;
8
+ }
9
+ export declare function useCalendarLayout(options: UseCalendarLayoutOptions): {
10
+ eventStyle: (event: CalendarEvent, groupSize: number, indexInGroup: number) => CSSProperties;
11
+ groupStyle: (group: EventGroup) => CSSProperties;
12
+ gridHeight: () => string;
13
+ };
@@ -0,0 +1,18 @@
1
+ import { type Ref } from "vue";
2
+ import type { CalendarView } from "../types";
3
+ export interface UseCalendarNavigationOptions {
4
+ initialDate?: Date;
5
+ initialView?: CalendarView;
6
+ weekStartsOn?: 0 | 1;
7
+ }
8
+ export declare function useCalendarNavigation(options?: UseCalendarNavigationOptions): {
9
+ currentDate: Ref<Date, Date>;
10
+ currentView: Ref<CalendarView, CalendarView>;
11
+ title: import("vue").ComputedRef<string>;
12
+ visibleDates: import("vue").ComputedRef<Date[]>;
13
+ next: () => void;
14
+ prev: () => void;
15
+ today: () => void;
16
+ goToDate: (date: Date) => void;
17
+ setView: (view: CalendarView) => void;
18
+ };
@@ -0,0 +1,14 @@
1
+ import { type Ref } from "vue";
2
+ export type ResizeEdge = "top" | "bottom";
3
+ export interface UseCalendarResizeOptions {
4
+ slotDuration: number;
5
+ slotHeight: number;
6
+ startHour: number;
7
+ onResize?: (eventId: string, newStart: Date, newEnd: Date) => void;
8
+ }
9
+ export declare function useCalendarResize(options: UseCalendarResizeOptions): {
10
+ isResizing: Ref<boolean, boolean>;
11
+ resizingEventId: Ref<string | null, string | null>;
12
+ resizingEdge: Ref<ResizeEdge | null, ResizeEdge | null>;
13
+ startResize: (e: PointerEvent, eventId: string, edge: ResizeEdge, originalStart: Date, originalEnd: Date) => void;
14
+ };
@@ -0,0 +1,7 @@
1
+ export declare function useCalendarSelection(): {
2
+ selectedEventId: import("vue").Ref<string | null, string | null>;
3
+ select: (id: string) => void;
4
+ deselect: () => void;
5
+ toggle: (id: string) => void;
6
+ isSelected: (id: string) => import("vue").ComputedRef<boolean>;
7
+ };
@@ -0,0 +1,5 @@
1
+ export { default as Calendar } from "./Calendar.vue";
2
+ export { calendarVariants, type CalendarVariants } from "./Calendar.variants";
3
+ export { calendarEventVariants, type CalendarEventVariants } from "./CalendarEvent.variants";
4
+ export { calendarHeaderVariants, type CalendarHeaderVariants } from "./CalendarHeader.variants";
5
+ export type { CalendarEvent, CalendarView, CalendarEventColor, CalendarNavigation } from "./types";
@@ -0,0 +1,38 @@
1
+ import type { InjectionKey } from "vue";
2
+ export type CalendarView = "week" | "day" | "month";
3
+ export type CalendarEventColor = "accent" | "info" | "warn" | "danger" | "ok";
4
+ export interface CalendarEvent {
5
+ id: string;
6
+ title?: string;
7
+ start: Date;
8
+ end: Date;
9
+ color?: CalendarEventColor;
10
+ data?: Record<string, unknown>;
11
+ }
12
+ export interface Timeslot {
13
+ id: string;
14
+ start: Date;
15
+ end: Date;
16
+ }
17
+ /** Internal: group of overlapping events rendered side-by-side */
18
+ export type EventGroup = CalendarEvent[];
19
+ /** Navigation actions exposed to the #header slot */
20
+ export interface CalendarNavigation {
21
+ next: () => void;
22
+ prev: () => void;
23
+ today: () => void;
24
+ setView: (view: CalendarView) => void;
25
+ goToDate: (date: Date) => void;
26
+ }
27
+ /** Provided by Calendar.vue, injected by CalendarEvent.vue for real-time drag/resize */
28
+ export interface CalendarDragHandler {
29
+ onDragStart: (eventId: string) => void;
30
+ onDragOver: (eventId: string, slotStart: Date) => void;
31
+ onDragEnd: (eventId: string) => void;
32
+ onResizeStart: (eventId: string, edge: "top" | "bottom") => void;
33
+ onResizeOver: (eventId: string, slotStart: Date, slotEnd: Date) => void;
34
+ onResizeEnd: (eventId: string) => void;
35
+ dragEventId: string | null;
36
+ resizeEventId: string | null;
37
+ }
38
+ export declare const CALENDAR_DRAG_KEY: InjectionKey<CalendarDragHandler>;
@@ -0,0 +1,12 @@
1
+ import type { CalendarEvent, EventGroup } from "../types";
2
+ export declare function sortEventsByTime(events: CalendarEvent[]): CalendarEvent[];
3
+ /**
4
+ * Groups overlapping events for side-by-side rendering.
5
+ * Events within the same group overlap with at least one other
6
+ * member and are rendered with divided widths.
7
+ */
8
+ export declare function groupOverlappingEvents(events: CalendarEvent[]): EventGroup[];
9
+ export declare function getGroupSpan(group: EventGroup): {
10
+ start: Date;
11
+ end: Date;
12
+ };
@@ -0,0 +1,3 @@
1
+ export declare function timeToRem(date: Date, slotDuration: number, slotHeight: number, startHour?: number): number;
2
+ export declare function durationToRem(start: Date, end: Date, slotDuration: number, slotHeight: number): number;
3
+ export declare function totalGridHeight(slotDuration: number, slotHeight: number, startHour?: number, endHour?: number): number;
@@ -0,0 +1,2 @@
1
+ import type { Timeslot } from "../types";
2
+ export declare function generateSlots(slotDuration: number, day: Date, startHour?: number, endHour?: number): Timeslot[];