@inspirare/design-system 0.0.18 → 0.0.20

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 (143) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/node_modules/.pnpm/@floating-ui_core@1.7.5/node_modules/@floating-ui/core/dist/floating-ui.core.js +359 -0
  3. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +328 -0
  4. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1._f1bed12861163fa290e602839f1ebdb9/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +212 -0
  5. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +97 -0
  6. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +106 -0
  7. package/dist/node_modules/.pnpm/@radix-ui_number@1.1.2/node_modules/@radix-ui/number/dist/index.js +6 -0
  8. package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.4/node_modules/@radix-ui/primitive/dist/index.js +8 -0
  9. package/dist/node_modules/.pnpm/@radix-ui_react-accordion@1_90771884ca9639bf31e5f01b1faf83e4/node_modules/@radix-ui/react-accordion/dist/index.js +195 -0
  10. package/dist/node_modules/.pnpm/@radix-ui_react-alert-dialo_0211f1deb04a7e512244dbbc3e4765ed/node_modules/@radix-ui/react-alert-dialog/dist/index.js +119 -0
  11. package/dist/node_modules/.pnpm/@radix-ui_react-arrow@1.1.9_b34b7156178de4198a23e93f83c57da5/node_modules/@radix-ui/react-arrow/dist/index.js +20 -0
  12. package/dist/node_modules/.pnpm/@radix-ui_react-aspect-rati_62430dda2e5090a076c492dea1ecc5d8/node_modules/@radix-ui/react-aspect-ratio/dist/index.js +31 -0
  13. package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.1._d460f1c45278b86e7424fb8ae25577de/node_modules/@radix-ui/react-avatar/dist/index.js +73 -0
  14. package/dist/node_modules/.pnpm/@radix-ui_react-checkbox@1._e21be6412c310c083d6755285c4c1ad9/node_modules/@radix-ui/react-checkbox/dist/index.js +158 -0
  15. package/dist/node_modules/.pnpm/@radix-ui_react-collapsible_d381d44d4b8a6d58d9dfaae3a0126ca3/node_modules/@radix-ui/react-collapsible/dist/index.js +97 -0
  16. package/dist/node_modules/.pnpm/@radix-ui_react-collection@_9d7b7379fb7a1e56af9d4a8d107ecba8/node_modules/@radix-ui/react-collection/dist/index.js +62 -0
  17. package/dist/node_modules/.pnpm/@radix-ui_react-compose-ref_1124f78b370d43bfeceaaa9b791be73d/node_modules/@radix-ui/react-compose-refs/dist/index.js +25 -0
  18. package/dist/node_modules/.pnpm/@radix-ui_react-context-men_f76d1e5eaec57e990fe72d3c41a037df/node_modules/@radix-ui/react-context-menu/dist/index.js +240 -0
  19. package/dist/node_modules/.pnpm/@radix-ui_react-context@1.1_796eddd33de3050019fa09b10c68d7ca/node_modules/@radix-ui/react-context/dist/index.js +80 -0
  20. package/dist/node_modules/.pnpm/@radix-ui_react-dialog@1.1._ef5419b1d5914b6ed85fc377af02cd8c/node_modules/@radix-ui/react-dialog/dist/index.js +225 -0
  21. package/dist/node_modules/.pnpm/@radix-ui_react-direction@1_2157d1ab8e201288009ff536bb11c468/node_modules/@radix-ui/react-direction/dist/index.js +11 -0
  22. package/dist/node_modules/.pnpm/@radix-ui_react-dismissable_1202449cfd75d4d3d4e876187986c0d8/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +108 -0
  23. package/dist/node_modules/.pnpm/@radix-ui_react-dropdown-me_9dd0889a66ea847559fd572aaa20379b/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +225 -0
  24. package/dist/node_modules/.pnpm/@radix-ui_react-focus-guard_6b3d65e71789b2986a17d5efdb8859bf/node_modules/@radix-ui/react-focus-guards/dist/index.js +22 -0
  25. package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope_c97f9e7487f0abcea30d185973e4d237/node_modules/@radix-ui/react-focus-scope/dist/index.js +146 -0
  26. package/dist/node_modules/.pnpm/@radix-ui_react-hover-card@_8a3f4d1399bacc84c908e03b45229f87/node_modules/@radix-ui/react-hover-card/dist/index.js +161 -0
  27. package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.2_@types_react@18.3.31_react@18.3.1/node_modules/@radix-ui/react-id/dist/index.js +12 -0
  28. package/dist/node_modules/.pnpm/@radix-ui_react-label@2.1.9_386dd2eabe41e70ee233c5790da58dd5/node_modules/@radix-ui/react-label/dist/index.js +16 -0
  29. package/dist/node_modules/.pnpm/@radix-ui_react-menu@2.1.17_cc73edd868dbfc82392e3731b66f2e59/node_modules/@radix-ui/react-menu/dist/index.js +563 -0
  30. package/dist/node_modules/.pnpm/@radix-ui_react-menubar@1.1_52e1207bf5981387ca85fb7a6f7b2195/node_modules/@radix-ui/react-menubar/dist/index.js +312 -0
  31. package/dist/node_modules/.pnpm/@radix-ui_react-navigation-_ce246f1abffb4c1bd00bc4d15b1887f5/node_modules/@radix-ui/react-navigation-menu/dist/index.js +553 -0
  32. package/dist/node_modules/.pnpm/@radix-ui_react-popover@1.1_0f96f9f03b66af70568af721c965c5cd/node_modules/@radix-ui/react-popover/dist/index.js +199 -0
  33. package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.3._bd7668c1d3a757f9e8c97f0d7e635b5d/node_modules/@radix-ui/react-popper/dist/index.js +203 -0
  34. package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1._32b1caf40ac61f8d30d412d28d60b4ca/node_modules/@radix-ui/react-portal/dist/index.js +19 -0
  35. package/dist/node_modules/.pnpm/@radix-ui_react-presence@1._dc6e30df35507eb8a116c12c3da26e18/node_modules/@radix-ui/react-presence/dist/index.js +85 -0
  36. package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2_9b6ae4cdaf3918ddbf0b21069e38e2ef/node_modules/@radix-ui/react-primitive/dist/index.js +41 -0
  37. package/dist/node_modules/.pnpm/@radix-ui_react-progress@1._4cd7f31ebaa5416f0f0f54265ec22793/node_modules/@radix-ui/react-progress/dist/index.js +71 -0
  38. package/dist/node_modules/.pnpm/@radix-ui_react-radio-group_385226f717d657e4aea3688d6214f1c0/node_modules/@radix-ui/react-radio-group/dist/index.js +249 -0
  39. package/dist/node_modules/.pnpm/@radix-ui_react-roving-focu_d783d3abe701a7f2fb2c68867b8f1f65/node_modules/@radix-ui/react-roving-focus/dist/index.js +154 -0
  40. package/dist/node_modules/.pnpm/@radix-ui_react-select@2.3._b9232b5aa23e604443839e7a081b7527/node_modules/@radix-ui/react-select/dist/index.js +727 -0
  41. package/dist/node_modules/.pnpm/@radix-ui_react-separator@1_f5efb6a4d38fd7cb82808cb6f7a6326a/node_modules/@radix-ui/react-separator/dist/index.js +23 -0
  42. package/dist/node_modules/.pnpm/@radix-ui_react-slider@1.4._cfb70bb4d45c3eedb16b2d4d4cf80f46/node_modules/@radix-ui/react-slider/dist/index.js +404 -0
  43. package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.5_@types_react@18.3.31_react@18.3.1/node_modules/@radix-ui/react-slot/dist/index.js +71 -0
  44. package/dist/node_modules/.pnpm/@radix-ui_react-switch@1.3._d2f9574497ecbe08e0e7c2298fb35dc1/node_modules/@radix-ui/react-switch/dist/index.js +138 -0
  45. package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.14_769bbb0130198553b196f258bd99ab92/node_modules/@radix-ui/react-tabs/dist/index.js +120 -0
  46. package/dist/node_modules/.pnpm/@radix-ui_react-toggle-grou_9d4cd233d31c4687b287c174e894620a/node_modules/@radix-ui/react-toggle-group/dist/index.js +125 -0
  47. package/dist/node_modules/.pnpm/@radix-ui_react-toggle@1.1._afb5f705be3deb4ba78b89b6c70d5cf9/node_modules/@radix-ui/react-toggle/dist/index.js +30 -0
  48. package/dist/node_modules/.pnpm/@radix-ui_react-tooltip@1.2_02a5bba0cb45f3ddbe548efab47eabcc/node_modules/@radix-ui/react-tooltip/dist/index.js +351 -0
  49. package/dist/node_modules/.pnpm/@radix-ui_react-use-callbac_5106d65c013fadfe178f87486239c7af/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +10 -0
  50. package/dist/node_modules/.pnpm/@radix-ui_react-use-control_e3b0d353471f209a120bf58c8d35c552/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +45 -0
  51. package/dist/node_modules/.pnpm/@radix-ui_react-use-escape-_c83bcf92add652965a36806e6d79891c/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +14 -0
  52. package/dist/node_modules/.pnpm/@radix-ui_react-use-is-hydr_d8b55bd05f5d50f7ea21f52744760552/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js +19 -0
  53. package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-_ad41f999ca2019252b887df955038ce1/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +5 -0
  54. package/dist/node_modules/.pnpm/@radix-ui_react-use-previou_58b78c95af3b98dc4c1bc8bce73c779d/node_modules/@radix-ui/react-use-previous/dist/index.js +11 -0
  55. package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1._4b75a7cfb879b922004e7a6caa492077/node_modules/@radix-ui/react-use-size/dist/index.js +29 -0
  56. package/dist/node_modules/.pnpm/@radix-ui_react-visually-hi_fbf0dd0d68bb58b2410fc7a153ed1d9c/node_modules/@radix-ui/react-visually-hidden/dist/index.js +27 -0
  57. package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js +46 -0
  58. package/dist/node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js +33 -0
  59. package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js +7 -0
  60. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3_24279af7608b4a4e9fe00320b3c0cae7/node_modules/react-remove-scroll-bar/dist/es2015/component.js +70 -0
  61. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3_24279af7608b4a4e9fe00320b3c0cae7/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +4 -0
  62. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3_24279af7608b4a4e9fe00320b3c0cae7/node_modules/react-remove-scroll-bar/dist/es2015/index.js +3 -0
  63. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3_24279af7608b4a4e9fe00320b3c0cae7/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +27 -0
  64. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@18.3.31_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.js +14 -0
  65. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@18.3.31_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +116 -0
  66. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@18.3.31_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/UI.js +52 -0
  67. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@18.3.31_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +13 -0
  68. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@18.3.31_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +52 -0
  69. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@18.3.31_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/medium.js +5 -0
  70. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@18.3.31_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.js +7 -0
  71. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_64be49a27fe392764e1764f59e110241/node_modules/react-style-singleton/dist/es2015/component.js +11 -0
  72. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_64be49a27fe392764e1764f59e110241/node_modules/react-style-singleton/dist/es2015/hook.js +15 -0
  73. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_64be49a27fe392764e1764f59e110241/node_modules/react-style-singleton/dist/es2015/index.js +3 -0
  74. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_64be49a27fe392764e1764f59e110241/node_modules/react-style-singleton/dist/es2015/singleton.js +28 -0
  75. package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js +19 -0
  76. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@18.3.31_react@18.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.js +6 -0
  77. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@18.3.31_react@18.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +26 -0
  78. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@18.3.31_react@18.3.1/node_modules/use-callback-ref/dist/es2015/useRef.js +22 -0
  79. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@18.3.31_react@18.3.1/node_modules/use-sidecar/dist/es2015/exports.js +16 -0
  80. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@18.3.31_react@18.3.1/node_modules/use-sidecar/dist/es2015/medium.js +69 -0
  81. package/dist/src/components/ui/accessibility-improvements.js +60 -0
  82. package/dist/src/components/ui/accordion.js +44 -0
  83. package/dist/src/components/ui/alert-dialog.js +61 -0
  84. package/dist/src/components/ui/alert.js +32 -0
  85. package/dist/src/components/ui/aspect-ratio.js +6 -0
  86. package/dist/src/components/ui/avatar.js +29 -0
  87. package/dist/src/components/ui/badge.js +24 -0
  88. package/dist/src/components/ui/breadcrumb.js +60 -0
  89. package/dist/src/components/ui/button-group.js +38 -0
  90. package/dist/src/components/ui/button.js +41 -0
  91. package/dist/src/components/ui/calendar.js +89 -0
  92. package/dist/src/components/ui/card.js +55 -0
  93. package/dist/src/components/ui/carousel.js +116 -0
  94. package/dist/src/components/ui/chart.js +128 -0
  95. package/dist/src/components/ui/checkbox.js +21 -0
  96. package/dist/src/components/ui/collapsible.js +26 -0
  97. package/dist/src/components/ui/color-picker.js +133 -0
  98. package/dist/src/components/ui/combobox.js +42 -0
  99. package/dist/src/components/ui/command.js +86 -0
  100. package/dist/src/components/ui/context-menu.js +72 -0
  101. package/dist/src/components/ui/dialog.js +88 -0
  102. package/dist/src/components/ui/drawer.js +80 -0
  103. package/dist/src/components/ui/dropdown-menu.js +124 -0
  104. package/dist/src/components/ui/empty.js +59 -0
  105. package/dist/src/components/ui/field.js +111 -0
  106. package/dist/src/components/ui/form.js +76 -0
  107. package/dist/src/components/ui/hover-card.js +33 -0
  108. package/dist/src/components/ui/input-group.js +78 -0
  109. package/dist/src/components/ui/input-otp.js +42 -0
  110. package/dist/src/components/ui/input.js +14 -0
  111. package/dist/src/components/ui/item.js +116 -0
  112. package/dist/src/components/ui/kbd.js +19 -0
  113. package/dist/src/components/ui/label.js +15 -0
  114. package/dist/src/components/ui/menubar.js +105 -0
  115. package/dist/src/components/ui/navigation-menu.js +58 -0
  116. package/dist/src/components/ui/pagination.js +62 -0
  117. package/dist/src/components/ui/popover.js +36 -0
  118. package/dist/src/components/ui/progress.js +20 -0
  119. package/dist/src/components/ui/radio-group.js +27 -0
  120. package/dist/src/components/ui/resizable.js +19 -0
  121. package/dist/src/components/ui/scroll-area.js +18 -0
  122. package/dist/src/components/ui/select.js +96 -0
  123. package/dist/src/components/ui/separator.js +17 -0
  124. package/dist/src/components/ui/sheet.js +84 -0
  125. package/dist/src/components/ui/sidebar.js +326 -0
  126. package/dist/src/components/ui/skeleton.js +49 -0
  127. package/dist/src/components/ui/slider.js +36 -0
  128. package/dist/src/components/ui/sonner.js +20 -0
  129. package/dist/src/components/ui/spinner.js +14 -0
  130. package/dist/src/components/ui/switch.js +20 -0
  131. package/dist/src/components/ui/table.js +67 -0
  132. package/dist/src/components/ui/tabs.js +36 -0
  133. package/dist/src/components/ui/textarea.js +13 -0
  134. package/dist/src/components/ui/theme-toggle.js +56 -0
  135. package/dist/src/components/ui/toggle-group.js +44 -0
  136. package/dist/src/components/ui/toggle.js +37 -0
  137. package/dist/src/components/ui/tooltip.js +37 -0
  138. package/dist/src/hooks/use-mobile.js +14 -0
  139. package/dist/src/index.js +61 -0
  140. package/dist/src/lib/utils.js +8 -0
  141. package/package.json +9 -6
  142. package/src/index.css +9 -42
  143. package/dist/index.js +0 -22051
@@ -0,0 +1,76 @@
1
+ "use client";
2
+ import { Slot as e } from "../../../node_modules/.pnpm/@radix-ui_react-slot@1.2.5_@types_react@18.3.31_react@18.3.1/node_modules/@radix-ui/react-slot/dist/index.js";
3
+ import { cn as t } from "../../lib/utils.js";
4
+ import { Label as n } from "./label.js";
5
+ import * as r from "react";
6
+ import { jsx as i } from "react/jsx-runtime";
7
+ import { Controller as a, FormProvider as o, useFormContext as s, useFormState as c } from "react-hook-form";
8
+ //#region src/components/ui/form.tsx
9
+ var l = o, u = r.createContext({}), d = ({ ...e }) => /* @__PURE__ */ i(u.Provider, {
10
+ value: { name: e.name },
11
+ children: /* @__PURE__ */ i(a, { ...e })
12
+ }), f = () => {
13
+ let e = r.useContext(u), t = r.useContext(p), { getFieldState: n } = s(), i = c({ name: e.name }), a = n(e.name, i);
14
+ if (!e) throw Error("useFormField should be used within <FormField>");
15
+ let { id: o } = t;
16
+ return {
17
+ id: o,
18
+ name: e.name,
19
+ formItemId: `${o}-form-item`,
20
+ formDescriptionId: `${o}-form-item-description`,
21
+ formMessageId: `${o}-form-item-message`,
22
+ ...a
23
+ };
24
+ }, p = r.createContext({});
25
+ function m({ className: e, ...n }) {
26
+ let a = r.useId();
27
+ return /* @__PURE__ */ i(p.Provider, {
28
+ value: { id: a },
29
+ children: /* @__PURE__ */ i("div", {
30
+ "data-slot": "form-item",
31
+ className: t("grid gap-2", e),
32
+ ...n
33
+ })
34
+ });
35
+ }
36
+ function h({ className: e, ...r }) {
37
+ let { error: a, formItemId: o } = f();
38
+ return /* @__PURE__ */ i(n, {
39
+ "data-slot": "form-label",
40
+ "data-error": !!a,
41
+ className: t("data-[error=true]:text-destructive", e),
42
+ htmlFor: o,
43
+ ...r
44
+ });
45
+ }
46
+ function g({ ...t }) {
47
+ let { error: n, formItemId: r, formDescriptionId: a, formMessageId: o } = f();
48
+ return /* @__PURE__ */ i(e, {
49
+ "data-slot": "form-control",
50
+ id: r,
51
+ "aria-describedby": n ? `${a} ${o}` : `${a}`,
52
+ "aria-invalid": !!n,
53
+ ...t
54
+ });
55
+ }
56
+ function _({ className: e, ...n }) {
57
+ let { formDescriptionId: r } = f();
58
+ return /* @__PURE__ */ i("p", {
59
+ "data-slot": "form-description",
60
+ id: r,
61
+ className: t("text-muted-foreground text-sm", e),
62
+ ...n
63
+ });
64
+ }
65
+ function v({ className: e, ...n }) {
66
+ let { error: r, formMessageId: a } = f(), o = r ? String(r?.message ?? "") : n.children;
67
+ return o ? /* @__PURE__ */ i("p", {
68
+ "data-slot": "form-message",
69
+ id: a,
70
+ className: t("text-destructive text-sm", e),
71
+ ...n,
72
+ children: o
73
+ }) : null;
74
+ }
75
+ //#endregion
76
+ export { l as Form, g as FormControl, _ as FormDescription, d as FormField, m as FormItem, h as FormLabel, v as FormMessage, f as useFormField };
@@ -0,0 +1,33 @@
1
+ "use client";
2
+ import { cn as e } from "../../lib/utils.js";
3
+ import { Content2 as t, Portal as n, Root2 as r, Trigger as i } from "../../../node_modules/.pnpm/@radix-ui_react-hover-card@_8a3f4d1399bacc84c908e03b45229f87/node_modules/@radix-ui/react-hover-card/dist/index.js";
4
+ import "react";
5
+ import { jsx as a } from "react/jsx-runtime";
6
+ //#region src/components/ui/hover-card.tsx
7
+ function o({ ...e }) {
8
+ return /* @__PURE__ */ a(r, {
9
+ "data-slot": "hover-card",
10
+ ...e
11
+ });
12
+ }
13
+ function s({ className: t, ...n }) {
14
+ return /* @__PURE__ */ a(i, {
15
+ "data-slot": "hover-card-trigger",
16
+ className: e("cursor-pointer", t),
17
+ ...n
18
+ });
19
+ }
20
+ function c({ className: r, align: i = "center", sideOffset: o = 4, ...s }) {
21
+ return /* @__PURE__ */ a(n, {
22
+ "data-slot": "hover-card-portal",
23
+ children: /* @__PURE__ */ a(t, {
24
+ "data-slot": "hover-card-content",
25
+ align: i,
26
+ sideOffset: o,
27
+ className: e("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-64 origin-(--radix-hover-card-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden", r),
28
+ ...s
29
+ })
30
+ });
31
+ }
32
+ //#endregion
33
+ export { o as HoverCard, c as HoverCardContent, s as HoverCardTrigger };
@@ -0,0 +1,78 @@
1
+ "use client";
2
+ import { cn as e } from "../../lib/utils.js";
3
+ import { cva as t } from "../../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js";
4
+ import { Button as n } from "./button.js";
5
+ import { Input as r } from "./input.js";
6
+ import { Textarea as i } from "./textarea.js";
7
+ import "react";
8
+ import { jsx as a } from "react/jsx-runtime";
9
+ //#region src/components/ui/input-group.tsx
10
+ function o({ className: t, ...n }) {
11
+ return /* @__PURE__ */ a("div", {
12
+ "data-slot": "input-group",
13
+ role: "group",
14
+ className: e("group/input-group border-input dark:bg-input/30 shadow-xs relative flex w-full items-center rounded-md border outline-none transition-[color,box-shadow]", "h-9 has-[>textarea]:h-auto", "has-[>[data-align=inline-start]]:[&>input]:pl-2", "has-[>[data-align=inline-end]]:[&>input]:pr-2", "has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-start]]:[&>input]:pb-3", "has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3", "has-[[data-slot=input-group-control]:focus-visible]:ring-ring has-[[data-slot=input-group-control]:focus-visible]:ring-1", "has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[[data-slot][aria-invalid=true]]:border-destructive dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40", t),
15
+ ...n
16
+ });
17
+ }
18
+ var s = t("text-muted-foreground flex h-auto cursor-text select-none items-center justify-center gap-2 py-1.5 text-sm font-medium group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4", {
19
+ variants: { align: {
20
+ "inline-start": "order-first pl-3 has-[>button]:ml-[-0.45rem] has-[>kbd]:ml-[-0.35rem]",
21
+ "inline-end": "order-last pr-3 has-[>button]:mr-[-0.4rem] has-[>kbd]:mr-[-0.35rem]",
22
+ "block-start": "[.border-b]:pb-3 order-first w-full justify-start px-3 pt-3 group-has-[>input]/input-group:pt-2.5",
23
+ "block-end": "[.border-t]:pt-3 order-last w-full justify-start px-3 pb-3 group-has-[>input]/input-group:pb-2.5"
24
+ } },
25
+ defaultVariants: { align: "inline-start" }
26
+ });
27
+ function c({ className: t, align: n = "inline-start", ...r }) {
28
+ return /* @__PURE__ */ a("div", {
29
+ role: "group",
30
+ "data-slot": "input-group-addon",
31
+ "data-align": n,
32
+ className: e(s({ align: n }), t),
33
+ onClick: (e) => {
34
+ e.target.closest("button") || e.currentTarget.parentElement?.querySelector("input")?.focus();
35
+ },
36
+ ...r
37
+ });
38
+ }
39
+ var l = t("flex items-center gap-2 text-sm shadow-none", {
40
+ variants: { size: {
41
+ xs: "h-6 gap-1 rounded-[calc(var(--radius)-5px)] px-2 has-[>svg]:px-2 [&>svg:not([class*='size-'])]:size-3.5",
42
+ sm: "h-8 gap-1.5 rounded-md px-2.5 has-[>svg]:px-2.5",
43
+ "icon-xs": "size-6 rounded-[calc(var(--radius)-5px)] p-0 has-[>svg]:p-0",
44
+ "icon-sm": "size-8 p-0 has-[>svg]:p-0"
45
+ } },
46
+ defaultVariants: { size: "xs" }
47
+ });
48
+ function u({ className: t, type: r = "button", variant: i = "ghost", size: o = "xs", ...s }) {
49
+ return /* @__PURE__ */ a(n, {
50
+ type: r,
51
+ "data-size": o,
52
+ variant: i,
53
+ className: e(l({ size: o }), t),
54
+ ...s
55
+ });
56
+ }
57
+ function d({ className: t, ...n }) {
58
+ return /* @__PURE__ */ a("span", {
59
+ className: e("text-muted-foreground flex items-center gap-2 text-sm [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none", t),
60
+ ...n
61
+ });
62
+ }
63
+ function f({ className: t, ...n }) {
64
+ return /* @__PURE__ */ a(r, {
65
+ "data-slot": "input-group-control",
66
+ className: e("flex-1 rounded-none border-0 bg-transparent shadow-none focus-visible:ring-0 dark:bg-transparent", t),
67
+ ...n
68
+ });
69
+ }
70
+ function p({ className: t, ...n }) {
71
+ return /* @__PURE__ */ a(i, {
72
+ "data-slot": "input-group-control",
73
+ className: e("flex-1 resize-none rounded-none border-0 bg-transparent py-3 shadow-none focus-visible:ring-0 dark:bg-transparent", t),
74
+ ...n
75
+ });
76
+ }
77
+ //#endregion
78
+ export { o as InputGroup, c as InputGroupAddon, u as InputGroupButton, f as InputGroupInput, d as InputGroupText, p as InputGroupTextarea };
@@ -0,0 +1,42 @@
1
+ "use client";
2
+ import { cn as e } from "../../lib/utils.js";
3
+ import * as t from "react";
4
+ import { jsx as n, jsxs as r } from "react/jsx-runtime";
5
+ import { Dot as i } from "lucide-react";
6
+ import { OTPInput as a, OTPInputContext as o } from "input-otp";
7
+ //#region src/components/ui/input-otp.tsx
8
+ var s = t.forwardRef(({ className: t, containerClassName: r, ...i }, o) => /* @__PURE__ */ n(a, {
9
+ ref: o,
10
+ containerClassName: e("flex items-center gap-2 has-[:disabled]:opacity-50", r),
11
+ className: e("disabled:cursor-not-allowed", t),
12
+ ...i
13
+ }));
14
+ s.displayName = "InputOTP";
15
+ var c = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n("div", {
16
+ ref: i,
17
+ className: e("flex items-center", t),
18
+ ...r
19
+ }));
20
+ c.displayName = "InputOTPGroup";
21
+ var l = t.forwardRef(({ index: i, className: a, ...s }, c) => {
22
+ let { char: l, hasFakeCaret: u, isActive: d } = t.useContext(o).slots[i];
23
+ return /* @__PURE__ */ r("div", {
24
+ ref: c,
25
+ className: e("relative flex h-10 w-10 items-center justify-center border-y border-r border-input text-sm transition-all first:rounded-l-md first:border-l last:rounded-r-md", d && "z-10 ring-2 ring-ring ring-offset-background", a),
26
+ ...s,
27
+ children: [l, u && /* @__PURE__ */ n("div", {
28
+ className: "pointer-events-none absolute inset-0 flex items-center justify-center",
29
+ children: /* @__PURE__ */ n("div", { className: "h-4 w-px animate-caret-blink bg-foreground duration-1000" })
30
+ })]
31
+ });
32
+ });
33
+ l.displayName = "InputOTPSlot";
34
+ var u = t.forwardRef(({ ...e }, t) => /* @__PURE__ */ n("div", {
35
+ ref: t,
36
+ role: "separator",
37
+ ...e,
38
+ children: /* @__PURE__ */ n(i, {})
39
+ }));
40
+ u.displayName = "InputOTPSeparator";
41
+ //#endregion
42
+ export { s as InputOTP, c as InputOTPGroup, u as InputOTPSeparator, l as InputOTPSlot };
@@ -0,0 +1,14 @@
1
+ import { cn as e } from "../../lib/utils.js";
2
+ import "react";
3
+ import { jsx as t } from "react/jsx-runtime";
4
+ //#region src/components/ui/input.tsx
5
+ function n({ className: n, type: r, ...i }) {
6
+ return /* @__PURE__ */ t("input", {
7
+ type: r,
8
+ "data-slot": "input",
9
+ className: e("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]", "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", n),
10
+ ...i
11
+ });
12
+ }
13
+ //#endregion
14
+ export { n as Input };
@@ -0,0 +1,116 @@
1
+ import { Slot as e } from "../../../node_modules/.pnpm/@radix-ui_react-slot@1.2.5_@types_react@18.3.31_react@18.3.1/node_modules/@radix-ui/react-slot/dist/index.js";
2
+ import { cn as t } from "../../lib/utils.js";
3
+ import { cva as n } from "../../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js";
4
+ import { Separator as r } from "./separator.js";
5
+ import "react";
6
+ import { jsx as i } from "react/jsx-runtime";
7
+ //#region src/components/ui/item.tsx
8
+ function a({ className: e, ...n }) {
9
+ return /* @__PURE__ */ i("div", {
10
+ role: "list",
11
+ "data-slot": "item-group",
12
+ className: t("group/item-group flex flex-col", e),
13
+ ...n
14
+ });
15
+ }
16
+ function o({ className: e, ...n }) {
17
+ return /* @__PURE__ */ i(r, {
18
+ "data-slot": "item-separator",
19
+ orientation: "horizontal",
20
+ className: t("my-0", e),
21
+ ...n
22
+ });
23
+ }
24
+ var s = n("group/item [a]:hover:bg-accent/50 focus-visible:border-ring focus-visible:ring-ring/50 [a]:transition-colors flex flex-wrap items-center rounded-md border border-transparent text-sm outline-none transition-colors duration-100 focus-visible:ring-[3px]", {
25
+ variants: {
26
+ variant: {
27
+ default: "bg-transparent",
28
+ outline: "border-border",
29
+ muted: "bg-muted/50"
30
+ },
31
+ size: {
32
+ default: "gap-4 p-4 ",
33
+ sm: "gap-2.5 px-4 py-3"
34
+ }
35
+ },
36
+ defaultVariants: {
37
+ variant: "default",
38
+ size: "default"
39
+ }
40
+ });
41
+ function c({ className: n, variant: r = "default", size: a = "default", asChild: o = !1, ...c }) {
42
+ return /* @__PURE__ */ i(o ? e : "div", {
43
+ "data-slot": "item",
44
+ "data-variant": r,
45
+ "data-size": a,
46
+ className: t(s({
47
+ variant: r,
48
+ size: a,
49
+ className: n
50
+ })),
51
+ ...c
52
+ });
53
+ }
54
+ var l = n("flex shrink-0 items-center justify-center gap-2 group-has-[[data-slot=item-description]]/item:translate-y-0.5 group-has-[[data-slot=item-description]]/item:self-start [&_svg]:pointer-events-none", {
55
+ variants: { variant: {
56
+ default: "bg-transparent",
57
+ icon: "bg-muted size-8 rounded-sm border [&_svg:not([class*='size-'])]:size-4",
58
+ image: "size-10 overflow-hidden rounded-sm [&_img]:size-full [&_img]:object-cover"
59
+ } },
60
+ defaultVariants: { variant: "default" }
61
+ });
62
+ function u({ className: e, variant: n = "default", ...r }) {
63
+ return /* @__PURE__ */ i("div", {
64
+ "data-slot": "item-media",
65
+ "data-variant": n,
66
+ className: t(l({
67
+ variant: n,
68
+ className: e
69
+ })),
70
+ ...r
71
+ });
72
+ }
73
+ function d({ className: e, ...n }) {
74
+ return /* @__PURE__ */ i("div", {
75
+ "data-slot": "item-content",
76
+ className: t("flex flex-1 flex-col gap-1 [&+[data-slot=item-content]]:flex-none", e),
77
+ ...n
78
+ });
79
+ }
80
+ function f({ className: e, ...n }) {
81
+ return /* @__PURE__ */ i("div", {
82
+ "data-slot": "item-title",
83
+ className: t("flex w-fit items-center gap-2 text-sm font-medium leading-snug", e),
84
+ ...n
85
+ });
86
+ }
87
+ function p({ className: e, ...n }) {
88
+ return /* @__PURE__ */ i("p", {
89
+ "data-slot": "item-description",
90
+ className: t("text-muted-foreground line-clamp-2 text-balance text-sm font-normal leading-normal", "[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4", e),
91
+ ...n
92
+ });
93
+ }
94
+ function m({ className: e, ...n }) {
95
+ return /* @__PURE__ */ i("div", {
96
+ "data-slot": "item-actions",
97
+ className: t("flex items-center gap-2", e),
98
+ ...n
99
+ });
100
+ }
101
+ function h({ className: e, ...n }) {
102
+ return /* @__PURE__ */ i("div", {
103
+ "data-slot": "item-header",
104
+ className: t("flex basis-full items-center justify-between gap-2", e),
105
+ ...n
106
+ });
107
+ }
108
+ function g({ className: e, ...n }) {
109
+ return /* @__PURE__ */ i("div", {
110
+ "data-slot": "item-footer",
111
+ className: t("flex basis-full items-center justify-between gap-2", e),
112
+ ...n
113
+ });
114
+ }
115
+ //#endregion
116
+ export { c as Item, m as ItemActions, d as ItemContent, p as ItemDescription, g as ItemFooter, a as ItemGroup, h as ItemHeader, u as ItemMedia, o as ItemSeparator, f as ItemTitle };
@@ -0,0 +1,19 @@
1
+ import { cn as e } from "../../lib/utils.js";
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ //#region src/components/ui/kbd.tsx
4
+ function n({ className: n, ...r }) {
5
+ return /* @__PURE__ */ t("kbd", {
6
+ "data-slot": "kbd",
7
+ className: e("bg-muted text-muted-foreground pointer-events-none inline-flex h-5 w-fit min-w-5 select-none items-center justify-center gap-1 rounded-sm px-1 font-sans text-xs font-medium", "[&_svg:not([class*='size-'])]:size-3", "[[data-slot=tooltip-content]_&]:bg-background/20 [[data-slot=tooltip-content]_&]:text-background dark:[[data-slot=tooltip-content]_&]:bg-background/10", n),
8
+ ...r
9
+ });
10
+ }
11
+ function r({ className: n, ...r }) {
12
+ return /* @__PURE__ */ t("kbd", {
13
+ "data-slot": "kbd-group",
14
+ className: e("inline-flex items-center gap-1", n),
15
+ ...r
16
+ });
17
+ }
18
+ //#endregion
19
+ export { n as Kbd, r as KbdGroup };
@@ -0,0 +1,15 @@
1
+ "use client";
2
+ import { cn as e } from "../../lib/utils.js";
3
+ import { Root as t } from "../../../node_modules/.pnpm/@radix-ui_react-label@2.1.9_386dd2eabe41e70ee233c5790da58dd5/node_modules/@radix-ui/react-label/dist/index.js";
4
+ import "react";
5
+ import { jsx as n } from "react/jsx-runtime";
6
+ //#region src/components/ui/label.tsx
7
+ function r({ className: r, ...i }) {
8
+ return /* @__PURE__ */ n(t, {
9
+ "data-slot": "label",
10
+ className: e("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", r),
11
+ ...i
12
+ });
13
+ }
14
+ //#endregion
15
+ export { r as Label };
@@ -0,0 +1,105 @@
1
+ "use client";
2
+ import { cn as e } from "../../lib/utils.js";
3
+ import { CheckboxItem2 as t, Content2 as n, Group2 as r, Item3 as i, ItemIndicator2 as a, Label2 as o, Menu as s, Portal2 as c, RadioGroup2 as l, RadioItem2 as u, Root3 as d, Separator2 as f, Sub2 as p, SubContent2 as m, SubTrigger2 as h, Trigger as g } from "../../../node_modules/.pnpm/@radix-ui_react-menubar@1.1_52e1207bf5981387ca85fb7a6f7b2195/node_modules/@radix-ui/react-menubar/dist/index.js";
4
+ import * as _ from "react";
5
+ import { jsx as v, jsxs as y } from "react/jsx-runtime";
6
+ import { Check as b, ChevronRight as x, Circle as S } from "lucide-react";
7
+ //#region src/components/ui/menubar.tsx
8
+ function C({ ...e }) {
9
+ return /* @__PURE__ */ v(s, { ...e });
10
+ }
11
+ function w({ ...e }) {
12
+ return /* @__PURE__ */ v(r, { ...e });
13
+ }
14
+ function T({ ...e }) {
15
+ return /* @__PURE__ */ v(c, { ...e });
16
+ }
17
+ function E({ ...e }) {
18
+ return /* @__PURE__ */ v(l, { ...e });
19
+ }
20
+ function D({ ...e }) {
21
+ return /* @__PURE__ */ v(p, {
22
+ "data-slot": "menubar-sub",
23
+ ...e
24
+ });
25
+ }
26
+ var O = _.forwardRef(({ className: t, ...n }, r) => /* @__PURE__ */ v(d, {
27
+ ref: r,
28
+ className: e("flex h-10 items-center space-x-1 rounded-md border bg-background p-1", t),
29
+ ...n
30
+ }));
31
+ O.displayName = d.displayName;
32
+ var k = _.forwardRef(({ className: t, ...n }, r) => /* @__PURE__ */ v(g, {
33
+ ref: r,
34
+ className: e("flex cursor-default select-none items-center rounded-sm px-3 py-1.5 text-sm font-medium outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground", t),
35
+ ...n
36
+ }));
37
+ k.displayName = g.displayName;
38
+ var A = _.forwardRef(({ className: t, inset: n, children: r, ...i }, a) => /* @__PURE__ */ y(h, {
39
+ ref: a,
40
+ className: e("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground", n && "pl-8", t),
41
+ ...i,
42
+ children: [r, /* @__PURE__ */ v(x, { className: "ml-auto h-4 w-4" })]
43
+ }));
44
+ A.displayName = h.displayName;
45
+ var j = _.forwardRef(({ className: t, ...n }, r) => /* @__PURE__ */ v(m, {
46
+ ref: r,
47
+ className: e("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-menubar-content-transform-origin]", t),
48
+ ...n
49
+ }));
50
+ j.displayName = m.displayName;
51
+ var M = _.forwardRef(({ className: t, align: r = "start", alignOffset: i = -4, sideOffset: a = 8, ...o }, s) => /* @__PURE__ */ v(c, { children: /* @__PURE__ */ v(n, {
52
+ ref: s,
53
+ align: r,
54
+ alignOffset: i,
55
+ sideOffset: a,
56
+ className: e("z-50 min-w-[12rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-menubar-content-transform-origin]", t),
57
+ ...o
58
+ }) }));
59
+ M.displayName = n.displayName;
60
+ var N = _.forwardRef(({ className: t, inset: n, ...r }, a) => /* @__PURE__ */ v(i, {
61
+ ref: a,
62
+ className: e("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50", n && "pl-8", t),
63
+ ...r
64
+ }));
65
+ N.displayName = i.displayName;
66
+ var P = _.forwardRef(({ className: n, children: r, checked: i, ...o }, s) => /* @__PURE__ */ y(t, {
67
+ ref: s,
68
+ className: e("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50", n),
69
+ checked: i,
70
+ ...o,
71
+ children: [/* @__PURE__ */ v("span", {
72
+ className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
73
+ children: /* @__PURE__ */ v(a, { children: /* @__PURE__ */ v(b, { className: "h-4 w-4" }) })
74
+ }), r]
75
+ }));
76
+ P.displayName = t.displayName;
77
+ var F = _.forwardRef(({ className: t, children: n, ...r }, i) => /* @__PURE__ */ y(u, {
78
+ ref: i,
79
+ className: e("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50", t),
80
+ ...r,
81
+ children: [/* @__PURE__ */ v("span", {
82
+ className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
83
+ children: /* @__PURE__ */ v(a, { children: /* @__PURE__ */ v(S, { className: "h-2 w-2 fill-current" }) })
84
+ }), n]
85
+ }));
86
+ F.displayName = u.displayName;
87
+ var I = _.forwardRef(({ className: t, inset: n, ...r }, i) => /* @__PURE__ */ v(o, {
88
+ ref: i,
89
+ className: e("px-2 py-1.5 text-sm font-semibold", n && "pl-8", t),
90
+ ...r
91
+ }));
92
+ I.displayName = o.displayName;
93
+ var L = _.forwardRef(({ className: t, ...n }, r) => /* @__PURE__ */ v(f, {
94
+ ref: r,
95
+ className: e("-mx-1 my-1 h-px bg-muted", t),
96
+ ...n
97
+ }));
98
+ L.displayName = f.displayName;
99
+ var R = ({ className: t, ...n }) => /* @__PURE__ */ v("span", {
100
+ className: e("ml-auto text-xs tracking-widest text-muted-foreground", t),
101
+ ...n
102
+ });
103
+ R.displayname = "MenubarShortcut";
104
+ //#endregion
105
+ export { O as Menubar, P as MenubarCheckboxItem, M as MenubarContent, w as MenubarGroup, N as MenubarItem, I as MenubarLabel, C as MenubarMenu, T as MenubarPortal, E as MenubarRadioGroup, F as MenubarRadioItem, L as MenubarSeparator, R as MenubarShortcut, D as MenubarSub, j as MenubarSubContent, A as MenubarSubTrigger, k as MenubarTrigger };
@@ -0,0 +1,58 @@
1
+ import { cn as e } from "../../lib/utils.js";
2
+ import { cva as t } from "../../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js";
3
+ import { Content as n, Indicator as r, Item as i, Link as a, List as o, Root2 as s, Trigger as c, Viewport as l } from "../../../node_modules/.pnpm/@radix-ui_react-navigation-_ce246f1abffb4c1bd00bc4d15b1887f5/node_modules/@radix-ui/react-navigation-menu/dist/index.js";
4
+ import * as u from "react";
5
+ import { jsx as d, jsxs as f } from "react/jsx-runtime";
6
+ import { ChevronDown as p } from "lucide-react";
7
+ //#region src/components/ui/navigation-menu.tsx
8
+ var m = u.forwardRef(({ className: t, children: n, ...r }, i) => /* @__PURE__ */ f(s, {
9
+ ref: i,
10
+ className: e("relative z-10 flex max-w-max flex-1 items-center justify-center", t),
11
+ ...r,
12
+ children: [n, /* @__PURE__ */ d(x, {})]
13
+ }));
14
+ m.displayName = s.displayName;
15
+ var h = u.forwardRef(({ className: t, ...n }, r) => /* @__PURE__ */ d(o, {
16
+ ref: r,
17
+ className: e("group flex flex-1 list-none items-center justify-center space-x-1", t),
18
+ ...n
19
+ }));
20
+ h.displayName = o.displayName;
21
+ var g = i, _ = t("group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[state=open]:text-accent-foreground data-[state=open]:bg-accent/50 data-[state=open]:hover:bg-accent data-[state=open]:focus:bg-accent"), v = u.forwardRef(({ className: t, children: n, ...r }, i) => /* @__PURE__ */ f(c, {
22
+ ref: i,
23
+ className: e(_(), "group", t),
24
+ ...r,
25
+ children: [
26
+ n,
27
+ " ",
28
+ /* @__PURE__ */ d(p, {
29
+ className: "relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180",
30
+ "aria-hidden": "true"
31
+ })
32
+ ]
33
+ }));
34
+ v.displayName = c.displayName;
35
+ var y = u.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ d(n, {
36
+ ref: i,
37
+ className: e("left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ", t),
38
+ ...r
39
+ }));
40
+ y.displayName = n.displayName;
41
+ var b = a, x = u.forwardRef(({ className: t, ...n }, r) => /* @__PURE__ */ d("div", {
42
+ className: e("absolute left-0 top-full flex justify-center"),
43
+ children: /* @__PURE__ */ d(l, {
44
+ className: e("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]", t),
45
+ ref: r,
46
+ ...n
47
+ })
48
+ }));
49
+ x.displayName = l.displayName;
50
+ var S = u.forwardRef(({ className: t, ...n }, i) => /* @__PURE__ */ d(r, {
51
+ ref: i,
52
+ className: e("top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in", t),
53
+ ...n,
54
+ children: /* @__PURE__ */ d("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
55
+ }));
56
+ S.displayName = r.displayName;
57
+ //#endregion
58
+ export { m as NavigationMenu, y as NavigationMenuContent, S as NavigationMenuIndicator, g as NavigationMenuItem, b as NavigationMenuLink, h as NavigationMenuList, v as NavigationMenuTrigger, x as NavigationMenuViewport, _ as navigationMenuTriggerStyle };
@@ -0,0 +1,62 @@
1
+ import { cn as e } from "../../lib/utils.js";
2
+ import { buttonVariants as t } from "./button.js";
3
+ import * as n from "react";
4
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
5
+ import { ChevronLeft as a, ChevronRight as o, MoreHorizontal as s } from "lucide-react";
6
+ //#region src/components/ui/pagination.tsx
7
+ var c = ({ className: t, ...n }) => /* @__PURE__ */ r("nav", {
8
+ role: "navigation",
9
+ "aria-label": "pagination",
10
+ className: e("mx-auto flex w-full justify-center", t),
11
+ ...n
12
+ });
13
+ c.displayName = "Pagination";
14
+ var l = n.forwardRef(({ className: t, ...n }, i) => /* @__PURE__ */ r("ul", {
15
+ ref: i,
16
+ className: e("flex flex-row items-center gap-1", t),
17
+ ...n
18
+ }));
19
+ l.displayName = "PaginationContent";
20
+ var u = n.forwardRef(({ className: t, ...n }, i) => /* @__PURE__ */ r("li", {
21
+ ref: i,
22
+ className: e("", t),
23
+ ...n
24
+ }));
25
+ u.displayName = "PaginationItem";
26
+ var d = ({ className: n, isActive: i, size: a = "icon", ...o }) => /* @__PURE__ */ r("a", {
27
+ "aria-current": i ? "page" : void 0,
28
+ className: e(t({
29
+ variant: i ? "outline" : "ghost",
30
+ size: a
31
+ }), n),
32
+ ...o
33
+ });
34
+ d.displayName = "PaginationLink";
35
+ var f = ({ className: t, ...n }) => /* @__PURE__ */ i(d, {
36
+ "aria-label": "Go to previous page",
37
+ size: "default",
38
+ className: e("gap-1 pl-2.5", t),
39
+ ...n,
40
+ children: [/* @__PURE__ */ r(a, { className: "h-4 w-4" }), /* @__PURE__ */ r("span", { children: "Previous" })]
41
+ });
42
+ f.displayName = "PaginationPrevious";
43
+ var p = ({ className: t, ...n }) => /* @__PURE__ */ i(d, {
44
+ "aria-label": "Go to next page",
45
+ size: "default",
46
+ className: e("gap-1 pr-2.5", t),
47
+ ...n,
48
+ children: [/* @__PURE__ */ r("span", { children: "Next" }), /* @__PURE__ */ r(o, { className: "h-4 w-4" })]
49
+ });
50
+ p.displayName = "PaginationNext";
51
+ var m = ({ className: t, ...n }) => /* @__PURE__ */ i("span", {
52
+ "aria-hidden": !0,
53
+ className: e("flex h-9 w-9 items-center justify-center", t),
54
+ ...n,
55
+ children: [/* @__PURE__ */ r(s, { className: "h-4 w-4" }), /* @__PURE__ */ r("span", {
56
+ className: "sr-only",
57
+ children: "More pages"
58
+ })]
59
+ });
60
+ m.displayName = "PaginationEllipsis";
61
+ //#endregion
62
+ export { c as Pagination, l as PaginationContent, m as PaginationEllipsis, u as PaginationItem, d as PaginationLink, p as PaginationNext, f as PaginationPrevious };