@inspirare/design-system 0.0.21 → 0.0.23

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 (155) hide show
  1. package/dist/components/ui/accordion.js +44 -0
  2. package/dist/components/ui/alert-dialog.js +61 -0
  3. package/dist/{src/components → components}/ui/alert.js +10 -10
  4. package/dist/components/ui/aspect-ratio.js +6 -0
  5. package/dist/components/ui/avatar.js +29 -0
  6. package/dist/{src/components → components}/ui/badge.js +6 -6
  7. package/dist/components/ui/breadcrumb.js +60 -0
  8. package/dist/components/ui/button-group.js +38 -0
  9. package/dist/{src/components → components}/ui/button.js +6 -6
  10. package/dist/{src/components → components}/ui/calendar.js +16 -16
  11. package/dist/{src/components → components}/ui/carousel.js +29 -29
  12. package/dist/{src/components → components}/ui/checkbox.js +10 -10
  13. package/dist/components/ui/collapsible.js +26 -0
  14. package/dist/{src/components → components}/ui/combobox.js +10 -10
  15. package/dist/{src/components → components}/ui/command.js +17 -17
  16. package/dist/{src/components → components}/ui/context-menu.js +37 -37
  17. package/dist/{src/components → components}/ui/dialog.js +36 -36
  18. package/dist/{src/components → components}/ui/dropdown-menu.js +46 -46
  19. package/dist/{src/components → components}/ui/empty.js +21 -21
  20. package/dist/{src/components → components}/ui/field.js +27 -27
  21. package/dist/components/ui/form.js +77 -0
  22. package/dist/{src/components → components}/ui/hover-card.js +14 -14
  23. package/dist/{src/components → components}/ui/input-group.js +18 -18
  24. package/dist/{src/components → components}/ui/input-otp.js +13 -13
  25. package/dist/components/ui/item.js +116 -0
  26. package/dist/{src/components → components}/ui/label.js +3 -3
  27. package/dist/components/ui/menubar.js +105 -0
  28. package/dist/components/ui/navigation-menu.js +58 -0
  29. package/dist/{src/components → components}/ui/pagination.js +18 -18
  30. package/dist/components/ui/popover.js +36 -0
  31. package/dist/components/ui/progress.js +20 -0
  32. package/dist/{src/components → components}/ui/radio-group.js +14 -14
  33. package/dist/{src/components → components}/ui/resizable.js +7 -7
  34. package/dist/{src/components → components}/ui/select.js +44 -44
  35. package/dist/{src/components → components}/ui/separator.js +3 -3
  36. package/dist/{src/components → components}/ui/sheet.js +35 -35
  37. package/dist/{src/components → components}/ui/sidebar.js +124 -124
  38. package/dist/{src/components → components}/ui/slider.js +20 -20
  39. package/dist/{src/components → components}/ui/spinner.js +3 -3
  40. package/dist/{src/components → components}/ui/switch.js +9 -9
  41. package/dist/{src/components → components}/ui/tabs.js +19 -19
  42. package/dist/{src/components → components}/ui/theme-toggle.js +10 -10
  43. package/dist/components/ui/toggle-group.js +44 -0
  44. package/dist/{src/components → components}/ui/toggle.js +7 -7
  45. package/dist/components/ui/tooltip.js +37 -0
  46. package/package.json +5 -5
  47. package/dist/node_modules/.pnpm/@floating-ui_core@1.7.5/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -359
  48. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -328
  49. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1._f1bed12861163fa290e602839f1ebdb9/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -212
  50. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -97
  51. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -106
  52. package/dist/node_modules/.pnpm/@radix-ui_number@1.1.2/node_modules/@radix-ui/number/dist/index.js +0 -6
  53. package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.4/node_modules/@radix-ui/primitive/dist/index.js +0 -8
  54. package/dist/node_modules/.pnpm/@radix-ui_react-accordion@1_90771884ca9639bf31e5f01b1faf83e4/node_modules/@radix-ui/react-accordion/dist/index.js +0 -195
  55. package/dist/node_modules/.pnpm/@radix-ui_react-alert-dialo_0211f1deb04a7e512244dbbc3e4765ed/node_modules/@radix-ui/react-alert-dialog/dist/index.js +0 -119
  56. package/dist/node_modules/.pnpm/@radix-ui_react-arrow@1.1.9_b34b7156178de4198a23e93f83c57da5/node_modules/@radix-ui/react-arrow/dist/index.js +0 -20
  57. package/dist/node_modules/.pnpm/@radix-ui_react-aspect-rati_62430dda2e5090a076c492dea1ecc5d8/node_modules/@radix-ui/react-aspect-ratio/dist/index.js +0 -31
  58. package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.1._d460f1c45278b86e7424fb8ae25577de/node_modules/@radix-ui/react-avatar/dist/index.js +0 -73
  59. package/dist/node_modules/.pnpm/@radix-ui_react-checkbox@1._e21be6412c310c083d6755285c4c1ad9/node_modules/@radix-ui/react-checkbox/dist/index.js +0 -158
  60. package/dist/node_modules/.pnpm/@radix-ui_react-collapsible_d381d44d4b8a6d58d9dfaae3a0126ca3/node_modules/@radix-ui/react-collapsible/dist/index.js +0 -97
  61. package/dist/node_modules/.pnpm/@radix-ui_react-collection@_9d7b7379fb7a1e56af9d4a8d107ecba8/node_modules/@radix-ui/react-collection/dist/index.js +0 -62
  62. package/dist/node_modules/.pnpm/@radix-ui_react-compose-ref_1124f78b370d43bfeceaaa9b791be73d/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -25
  63. package/dist/node_modules/.pnpm/@radix-ui_react-context-men_f76d1e5eaec57e990fe72d3c41a037df/node_modules/@radix-ui/react-context-menu/dist/index.js +0 -240
  64. package/dist/node_modules/.pnpm/@radix-ui_react-context@1.1_796eddd33de3050019fa09b10c68d7ca/node_modules/@radix-ui/react-context/dist/index.js +0 -80
  65. package/dist/node_modules/.pnpm/@radix-ui_react-dialog@1.1._ef5419b1d5914b6ed85fc377af02cd8c/node_modules/@radix-ui/react-dialog/dist/index.js +0 -225
  66. package/dist/node_modules/.pnpm/@radix-ui_react-direction@1_2157d1ab8e201288009ff536bb11c468/node_modules/@radix-ui/react-direction/dist/index.js +0 -11
  67. package/dist/node_modules/.pnpm/@radix-ui_react-dismissable_1202449cfd75d4d3d4e876187986c0d8/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -108
  68. package/dist/node_modules/.pnpm/@radix-ui_react-dropdown-me_9dd0889a66ea847559fd572aaa20379b/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +0 -225
  69. package/dist/node_modules/.pnpm/@radix-ui_react-focus-guard_6b3d65e71789b2986a17d5efdb8859bf/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -22
  70. package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope_c97f9e7487f0abcea30d185973e4d237/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -146
  71. package/dist/node_modules/.pnpm/@radix-ui_react-hover-card@_8a3f4d1399bacc84c908e03b45229f87/node_modules/@radix-ui/react-hover-card/dist/index.js +0 -161
  72. 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 +0 -12
  73. package/dist/node_modules/.pnpm/@radix-ui_react-label@2.1.9_386dd2eabe41e70ee233c5790da58dd5/node_modules/@radix-ui/react-label/dist/index.js +0 -16
  74. package/dist/node_modules/.pnpm/@radix-ui_react-menu@2.1.17_cc73edd868dbfc82392e3731b66f2e59/node_modules/@radix-ui/react-menu/dist/index.js +0 -563
  75. package/dist/node_modules/.pnpm/@radix-ui_react-menubar@1.1_52e1207bf5981387ca85fb7a6f7b2195/node_modules/@radix-ui/react-menubar/dist/index.js +0 -312
  76. package/dist/node_modules/.pnpm/@radix-ui_react-navigation-_ce246f1abffb4c1bd00bc4d15b1887f5/node_modules/@radix-ui/react-navigation-menu/dist/index.js +0 -553
  77. package/dist/node_modules/.pnpm/@radix-ui_react-popover@1.1_0f96f9f03b66af70568af721c965c5cd/node_modules/@radix-ui/react-popover/dist/index.js +0 -199
  78. package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.3._bd7668c1d3a757f9e8c97f0d7e635b5d/node_modules/@radix-ui/react-popper/dist/index.js +0 -203
  79. package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1._32b1caf40ac61f8d30d412d28d60b4ca/node_modules/@radix-ui/react-portal/dist/index.js +0 -19
  80. package/dist/node_modules/.pnpm/@radix-ui_react-presence@1._dc6e30df35507eb8a116c12c3da26e18/node_modules/@radix-ui/react-presence/dist/index.js +0 -85
  81. package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2_9b6ae4cdaf3918ddbf0b21069e38e2ef/node_modules/@radix-ui/react-primitive/dist/index.js +0 -41
  82. package/dist/node_modules/.pnpm/@radix-ui_react-progress@1._4cd7f31ebaa5416f0f0f54265ec22793/node_modules/@radix-ui/react-progress/dist/index.js +0 -71
  83. package/dist/node_modules/.pnpm/@radix-ui_react-radio-group_385226f717d657e4aea3688d6214f1c0/node_modules/@radix-ui/react-radio-group/dist/index.js +0 -249
  84. package/dist/node_modules/.pnpm/@radix-ui_react-roving-focu_d783d3abe701a7f2fb2c68867b8f1f65/node_modules/@radix-ui/react-roving-focus/dist/index.js +0 -154
  85. package/dist/node_modules/.pnpm/@radix-ui_react-select@2.3._b9232b5aa23e604443839e7a081b7527/node_modules/@radix-ui/react-select/dist/index.js +0 -727
  86. package/dist/node_modules/.pnpm/@radix-ui_react-separator@1_f5efb6a4d38fd7cb82808cb6f7a6326a/node_modules/@radix-ui/react-separator/dist/index.js +0 -23
  87. package/dist/node_modules/.pnpm/@radix-ui_react-slider@1.4._cfb70bb4d45c3eedb16b2d4d4cf80f46/node_modules/@radix-ui/react-slider/dist/index.js +0 -404
  88. 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 +0 -71
  89. package/dist/node_modules/.pnpm/@radix-ui_react-switch@1.3._d2f9574497ecbe08e0e7c2298fb35dc1/node_modules/@radix-ui/react-switch/dist/index.js +0 -138
  90. package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.14_769bbb0130198553b196f258bd99ab92/node_modules/@radix-ui/react-tabs/dist/index.js +0 -120
  91. package/dist/node_modules/.pnpm/@radix-ui_react-toggle-grou_9d4cd233d31c4687b287c174e894620a/node_modules/@radix-ui/react-toggle-group/dist/index.js +0 -125
  92. package/dist/node_modules/.pnpm/@radix-ui_react-toggle@1.1._afb5f705be3deb4ba78b89b6c70d5cf9/node_modules/@radix-ui/react-toggle/dist/index.js +0 -30
  93. package/dist/node_modules/.pnpm/@radix-ui_react-tooltip@1.2_02a5bba0cb45f3ddbe548efab47eabcc/node_modules/@radix-ui/react-tooltip/dist/index.js +0 -351
  94. package/dist/node_modules/.pnpm/@radix-ui_react-use-callbac_5106d65c013fadfe178f87486239c7af/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -10
  95. package/dist/node_modules/.pnpm/@radix-ui_react-use-control_e3b0d353471f209a120bf58c8d35c552/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -45
  96. package/dist/node_modules/.pnpm/@radix-ui_react-use-escape-_c83bcf92add652965a36806e6d79891c/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -14
  97. package/dist/node_modules/.pnpm/@radix-ui_react-use-is-hydr_d8b55bd05f5d50f7ea21f52744760552/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js +0 -19
  98. package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-_ad41f999ca2019252b887df955038ce1/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -5
  99. package/dist/node_modules/.pnpm/@radix-ui_react-use-previou_58b78c95af3b98dc4c1bc8bce73c779d/node_modules/@radix-ui/react-use-previous/dist/index.js +0 -11
  100. package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1._4b75a7cfb879b922004e7a6caa492077/node_modules/@radix-ui/react-use-size/dist/index.js +0 -29
  101. package/dist/node_modules/.pnpm/@radix-ui_react-visually-hi_fbf0dd0d68bb58b2410fc7a153ed1d9c/node_modules/@radix-ui/react-visually-hidden/dist/index.js +0 -27
  102. package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js +0 -46
  103. package/dist/node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js +0 -33
  104. package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js +0 -7
  105. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3_24279af7608b4a4e9fe00320b3c0cae7/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -70
  106. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3_24279af7608b4a4e9fe00320b3c0cae7/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -4
  107. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3_24279af7608b4a4e9fe00320b3c0cae7/node_modules/react-remove-scroll-bar/dist/es2015/index.js +0 -3
  108. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3_24279af7608b4a4e9fe00320b3c0cae7/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -27
  109. 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 +0 -14
  110. 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 +0 -116
  111. 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 +0 -52
  112. 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 +0 -13
  113. 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 +0 -52
  114. 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 +0 -5
  115. 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 +0 -7
  116. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_64be49a27fe392764e1764f59e110241/node_modules/react-style-singleton/dist/es2015/component.js +0 -11
  117. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_64be49a27fe392764e1764f59e110241/node_modules/react-style-singleton/dist/es2015/hook.js +0 -15
  118. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_64be49a27fe392764e1764f59e110241/node_modules/react-style-singleton/dist/es2015/index.js +0 -3
  119. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_64be49a27fe392764e1764f59e110241/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -28
  120. package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js +0 -19
  121. 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 +0 -6
  122. 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 +0 -26
  123. 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 +0 -22
  124. 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 +0 -16
  125. 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 +0 -69
  126. package/dist/src/components/ui/accordion.js +0 -44
  127. package/dist/src/components/ui/alert-dialog.js +0 -61
  128. package/dist/src/components/ui/aspect-ratio.js +0 -6
  129. package/dist/src/components/ui/avatar.js +0 -29
  130. package/dist/src/components/ui/breadcrumb.js +0 -60
  131. package/dist/src/components/ui/button-group.js +0 -38
  132. package/dist/src/components/ui/collapsible.js +0 -26
  133. package/dist/src/components/ui/form.js +0 -76
  134. package/dist/src/components/ui/item.js +0 -116
  135. package/dist/src/components/ui/menubar.js +0 -105
  136. package/dist/src/components/ui/navigation-menu.js +0 -58
  137. package/dist/src/components/ui/popover.js +0 -36
  138. package/dist/src/components/ui/progress.js +0 -20
  139. package/dist/src/components/ui/toggle-group.js +0 -44
  140. package/dist/src/components/ui/tooltip.js +0 -37
  141. /package/dist/{src/components → components}/ui/accessibility-improvements.js +0 -0
  142. /package/dist/{src/components → components}/ui/card.js +0 -0
  143. /package/dist/{src/components → components}/ui/chart.js +0 -0
  144. /package/dist/{src/components → components}/ui/color-picker.js +0 -0
  145. /package/dist/{src/components → components}/ui/drawer.js +0 -0
  146. /package/dist/{src/components → components}/ui/input.js +0 -0
  147. /package/dist/{src/components → components}/ui/kbd.js +0 -0
  148. /package/dist/{src/components → components}/ui/scroll-area.js +0 -0
  149. /package/dist/{src/components → components}/ui/skeleton.js +0 -0
  150. /package/dist/{src/components → components}/ui/sonner.js +0 -0
  151. /package/dist/{src/components → components}/ui/table.js +0 -0
  152. /package/dist/{src/components → components}/ui/textarea.js +0 -0
  153. /package/dist/{src/hooks → hooks}/use-mobile.js +0 -0
  154. /package/dist/{src/index.js → index.js} +0 -0
  155. /package/dist/{src/lib → lib}/utils.js +0 -0
@@ -4,35 +4,35 @@ import { Button as t } from "./button.js";
4
4
  import { Popover as n, PopoverContent as r, PopoverTrigger as i } from "./popover.js";
5
5
  import { Command as a, CommandEmpty as o, CommandGroup as s, CommandInput as c, CommandItem as l, CommandList as u } from "./command.js";
6
6
  import * as d from "react";
7
- import { jsx as f, jsxs as p } from "react/jsx-runtime";
8
- import { Check as m, ChevronsUpDown as h } from "lucide-react";
7
+ import { Check as f, ChevronsUpDown as p } from "lucide-react";
8
+ import { jsx as m, jsxs as h } from "react/jsx-runtime";
9
9
  //#region src/components/ui/combobox.tsx
10
10
  function g({ options: g, value: _, onChange: v, placeholder: y = "Select option...", searchPlaceholder: b = "Search...", emptyMessage: x = "No option found.", className: S, buttonClassName: C, contentClassName: w, disabled: T = !1 }) {
11
11
  let [E, D] = d.useState(!1), O = d.useMemo(() => g.find((e) => e.value === _)?.label, [g, _]);
12
- return /* @__PURE__ */ p(n, {
12
+ return /* @__PURE__ */ h(n, {
13
13
  open: E,
14
14
  onOpenChange: D,
15
- children: [/* @__PURE__ */ f(i, {
15
+ children: [/* @__PURE__ */ m(i, {
16
16
  asChild: !0,
17
- children: /* @__PURE__ */ p(t, {
17
+ children: /* @__PURE__ */ h(t, {
18
18
  variant: "outline",
19
19
  role: "combobox",
20
20
  "aria-expanded": E,
21
21
  disabled: T,
22
22
  className: e("w-full justify-between", !_ && "text-muted-foreground", C),
23
- children: [O || y, /* @__PURE__ */ f(h, { className: "ml-2 h-4 w-4 shrink-0 opacity-50" })]
23
+ children: [O || y, /* @__PURE__ */ m(p, { className: "ml-2 h-4 w-4 shrink-0 opacity-50" })]
24
24
  })
25
- }), /* @__PURE__ */ f(r, {
25
+ }), /* @__PURE__ */ m(r, {
26
26
  className: e("w-full p-0", w),
27
27
  align: "start",
28
- children: /* @__PURE__ */ p(a, {
28
+ children: /* @__PURE__ */ h(a, {
29
29
  className: S,
30
- children: [/* @__PURE__ */ f(c, { placeholder: b }), /* @__PURE__ */ p(u, { children: [/* @__PURE__ */ f(o, { children: x }), /* @__PURE__ */ f(s, { children: g.map((t) => /* @__PURE__ */ p(l, {
30
+ children: [/* @__PURE__ */ m(c, { placeholder: b }), /* @__PURE__ */ h(u, { children: [/* @__PURE__ */ m(o, { children: x }), /* @__PURE__ */ m(s, { children: g.map((t) => /* @__PURE__ */ h(l, {
31
31
  value: t.value,
32
32
  onSelect: (e) => {
33
33
  v?.(e === _ ? "" : e), D(!1);
34
34
  },
35
- children: [/* @__PURE__ */ f(m, { className: e("mr-2 h-4 w-4", _ === t.value ? "opacity-100" : "opacity-0") }), t.label]
35
+ children: [/* @__PURE__ */ m(f, { className: e("mr-2 h-4 w-4", _ === t.value ? "opacity-100" : "opacity-0") }), t.label]
36
36
  }, t.value)) })] })]
37
37
  })
38
38
  })]
@@ -2,27 +2,27 @@
2
2
  import { cn as e } from "../../lib/utils.js";
3
3
  import { Dialog as t, DialogContent as n, DialogDescription as r, DialogHeader as i, DialogTitle as a } from "./dialog.js";
4
4
  import "react";
5
- import { jsx as o, jsxs as s } from "react/jsx-runtime";
6
- import { SearchIcon as c } from "lucide-react";
5
+ import { SearchIcon as o } from "lucide-react";
6
+ import { jsx as s, jsxs as c } from "react/jsx-runtime";
7
7
  import { Command as l } from "cmdk";
8
8
  //#region src/components/ui/command.tsx
9
9
  function u({ className: t, ...n }) {
10
- return /* @__PURE__ */ o(l, {
10
+ return /* @__PURE__ */ s(l, {
11
11
  "data-slot": "command",
12
12
  className: e("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md", t),
13
13
  ...n
14
14
  });
15
15
  }
16
- function d({ title: c = "Command Palette", description: l = "Search for a command to run...", children: d, className: f, showCloseButton: p = !0, ...m }) {
17
- return /* @__PURE__ */ s(t, {
16
+ function d({ title: o = "Command Palette", description: l = "Search for a command to run...", children: d, className: f, showCloseButton: p = !0, ...m }) {
17
+ return /* @__PURE__ */ c(t, {
18
18
  ...m,
19
- children: [/* @__PURE__ */ s(i, {
19
+ children: [/* @__PURE__ */ c(i, {
20
20
  className: "sr-only",
21
- children: [/* @__PURE__ */ o(a, { children: c }), /* @__PURE__ */ o(r, { children: l })]
22
- }), /* @__PURE__ */ o(n, {
21
+ children: [/* @__PURE__ */ s(a, { children: o }), /* @__PURE__ */ s(r, { children: l })]
22
+ }), /* @__PURE__ */ s(n, {
23
23
  className: e("overflow-hidden p-0", f),
24
24
  showCloseButton: p,
25
- children: /* @__PURE__ */ o(u, {
25
+ children: /* @__PURE__ */ s(u, {
26
26
  className: "[&_[cmdk-group-heading]]:text-muted-foreground **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",
27
27
  children: d
28
28
  })
@@ -30,10 +30,10 @@ function d({ title: c = "Command Palette", description: l = "Search for a comman
30
30
  });
31
31
  }
32
32
  function f({ className: t, ...n }) {
33
- return /* @__PURE__ */ s("div", {
33
+ return /* @__PURE__ */ c("div", {
34
34
  "data-slot": "command-input-wrapper",
35
35
  className: "flex h-9 items-center gap-2 border-b px-3",
36
- children: [/* @__PURE__ */ o(c, { className: "size-4 shrink-0 opacity-50" }), /* @__PURE__ */ o(l.Input, {
36
+ children: [/* @__PURE__ */ s(o, { className: "size-4 shrink-0 opacity-50" }), /* @__PURE__ */ s(l.Input, {
37
37
  "data-slot": "command-input",
38
38
  className: e("placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50", t),
39
39
  ...n
@@ -41,42 +41,42 @@ function f({ className: t, ...n }) {
41
41
  });
42
42
  }
43
43
  function p({ className: t, ...n }) {
44
- return /* @__PURE__ */ o(l.List, {
44
+ return /* @__PURE__ */ s(l.List, {
45
45
  "data-slot": "command-list",
46
46
  className: e("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto", t),
47
47
  ...n
48
48
  });
49
49
  }
50
50
  function m({ ...e }) {
51
- return /* @__PURE__ */ o(l.Empty, {
51
+ return /* @__PURE__ */ s(l.Empty, {
52
52
  "data-slot": "command-empty",
53
53
  className: "py-6 text-center text-sm",
54
54
  ...e
55
55
  });
56
56
  }
57
57
  function h({ className: t, ...n }) {
58
- return /* @__PURE__ */ o(l.Group, {
58
+ return /* @__PURE__ */ s(l.Group, {
59
59
  "data-slot": "command-group",
60
60
  className: e("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium", t),
61
61
  ...n
62
62
  });
63
63
  }
64
64
  function g({ className: t, ...n }) {
65
- return /* @__PURE__ */ o(l.Separator, {
65
+ return /* @__PURE__ */ s(l.Separator, {
66
66
  "data-slot": "command-separator",
67
67
  className: e("bg-border -mx-1 h-px", t),
68
68
  ...n
69
69
  });
70
70
  }
71
71
  function _({ className: t, ...n }) {
72
- return /* @__PURE__ */ o(l.Item, {
72
+ return /* @__PURE__ */ s(l.Item, {
73
73
  "data-slot": "command-item",
74
74
  className: e("data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-pointer items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", t),
75
75
  ...n
76
76
  });
77
77
  }
78
78
  function v({ className: t, ...n }) {
79
- return /* @__PURE__ */ o("span", {
79
+ return /* @__PURE__ */ s("span", {
80
80
  "data-slot": "command-shortcut",
81
81
  className: e("text-muted-foreground ml-auto text-xs tracking-widest", t),
82
82
  ...n
@@ -1,72 +1,72 @@
1
1
  "use client";
2
2
  import { cn as e } from "../../lib/utils.js";
3
- import { CheckboxItem2 as t, Content2 as n, Group2 as r, Item2 as i, ItemIndicator2 as a, Label2 as o, Portal2 as s, RadioGroup2 as c, RadioItem2 as l, Root2 as u, Separator2 as d, Sub2 as f, SubContent2 as p, SubTrigger2 as m, Trigger as h } from "../../../node_modules/.pnpm/@radix-ui_react-context-men_f76d1e5eaec57e990fe72d3c41a037df/node_modules/@radix-ui/react-context-menu/dist/index.js";
4
- import * as g from "react";
5
- import { jsx as _, jsxs as v } from "react/jsx-runtime";
6
- import { Check as y, ChevronRight as b, Circle as x } from "lucide-react";
3
+ import * as t from "react";
4
+ import { Check as n, ChevronRight as r, Circle as i } from "lucide-react";
5
+ import { jsx as a, jsxs as o } from "react/jsx-runtime";
6
+ import * as s from "@radix-ui/react-context-menu";
7
7
  //#region src/components/ui/context-menu.tsx
8
- var S = u, C = h, w = r, T = s, E = f, D = c, O = g.forwardRef(({ className: t, inset: n, children: r, ...i }, a) => /* @__PURE__ */ v(m, {
9
- ref: a,
8
+ var c = s.Root, l = s.Trigger, u = s.Group, d = s.Portal, f = s.Sub, p = s.RadioGroup, m = t.forwardRef(({ className: t, inset: n, children: i, ...c }, l) => /* @__PURE__ */ o(s.SubTrigger, {
9
+ ref: l,
10
10
  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),
11
- ...i,
12
- children: [r, /* @__PURE__ */ _(b, { className: "ml-auto h-4 w-4" })]
11
+ ...c,
12
+ children: [i, /* @__PURE__ */ a(r, { className: "ml-auto h-4 w-4" })]
13
13
  }));
14
- O.displayName = m.displayName;
15
- var k = g.forwardRef(({ className: t, ...n }, r) => /* @__PURE__ */ _(p, {
14
+ m.displayName = s.SubTrigger.displayName;
15
+ var h = t.forwardRef(({ className: t, ...n }, r) => /* @__PURE__ */ a(s.SubContent, {
16
16
  ref: r,
17
17
  className: e("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md 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-context-menu-content-transform-origin]", t),
18
18
  ...n
19
19
  }));
20
- k.displayName = p.displayName;
21
- var A = g.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ _(s, { children: /* @__PURE__ */ _(n, {
22
- ref: i,
20
+ h.displayName = s.SubContent.displayName;
21
+ var g = t.forwardRef(({ className: t, ...n }, r) => /* @__PURE__ */ a(s.Portal, { children: /* @__PURE__ */ a(s.Content, {
22
+ ref: r,
23
23
  className: e("z-50 max-h-[--radix-context-menu-content-available-height] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md animate-in fade-in-80 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-context-menu-content-transform-origin]", t),
24
- ...r
24
+ ...n
25
25
  }) }));
26
- A.displayName = n.displayName;
27
- var j = g.forwardRef(({ className: t, inset: n, ...r }, a) => /* @__PURE__ */ _(i, {
28
- ref: a,
26
+ g.displayName = s.Content.displayName;
27
+ var _ = t.forwardRef(({ className: t, inset: n, ...r }, i) => /* @__PURE__ */ a(s.Item, {
28
+ ref: i,
29
29
  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),
30
30
  ...r
31
31
  }));
32
- j.displayName = i.displayName;
33
- var M = g.forwardRef(({ className: n, children: r, checked: i, ...o }, s) => /* @__PURE__ */ v(t, {
34
- ref: s,
35
- 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),
32
+ _.displayName = s.Item.displayName;
33
+ var v = t.forwardRef(({ className: t, children: r, checked: i, ...c }, l) => /* @__PURE__ */ o(s.CheckboxItem, {
34
+ ref: l,
35
+ 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),
36
36
  checked: i,
37
- ...o,
38
- children: [/* @__PURE__ */ _("span", {
37
+ ...c,
38
+ children: [/* @__PURE__ */ a("span", {
39
39
  className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
40
- children: /* @__PURE__ */ _(a, { children: /* @__PURE__ */ _(y, { className: "h-4 w-4" }) })
40
+ children: /* @__PURE__ */ a(s.ItemIndicator, { children: /* @__PURE__ */ a(n, { className: "h-4 w-4" }) })
41
41
  }), r]
42
42
  }));
43
- M.displayName = t.displayName;
44
- var N = g.forwardRef(({ className: t, children: n, ...r }, i) => /* @__PURE__ */ v(l, {
45
- ref: i,
43
+ v.displayName = s.CheckboxItem.displayName;
44
+ var y = t.forwardRef(({ className: t, children: n, ...r }, c) => /* @__PURE__ */ o(s.RadioItem, {
45
+ ref: c,
46
46
  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),
47
47
  ...r,
48
- children: [/* @__PURE__ */ _("span", {
48
+ children: [/* @__PURE__ */ a("span", {
49
49
  className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
50
- children: /* @__PURE__ */ _(a, { children: /* @__PURE__ */ _(x, { className: "h-2 w-2 fill-current" }) })
50
+ children: /* @__PURE__ */ a(s.ItemIndicator, { children: /* @__PURE__ */ a(i, { className: "h-2 w-2 fill-current" }) })
51
51
  }), n]
52
52
  }));
53
- N.displayName = l.displayName;
54
- var P = g.forwardRef(({ className: t, inset: n, ...r }, i) => /* @__PURE__ */ _(o, {
53
+ y.displayName = s.RadioItem.displayName;
54
+ var b = t.forwardRef(({ className: t, inset: n, ...r }, i) => /* @__PURE__ */ a(s.Label, {
55
55
  ref: i,
56
56
  className: e("px-2 py-1.5 text-sm font-semibold text-foreground", n && "pl-8", t),
57
57
  ...r
58
58
  }));
59
- P.displayName = o.displayName;
60
- var F = g.forwardRef(({ className: t, ...n }, r) => /* @__PURE__ */ _(d, {
59
+ b.displayName = s.Label.displayName;
60
+ var x = t.forwardRef(({ className: t, ...n }, r) => /* @__PURE__ */ a(s.Separator, {
61
61
  ref: r,
62
62
  className: e("-mx-1 my-1 h-px bg-border", t),
63
63
  ...n
64
64
  }));
65
- F.displayName = d.displayName;
66
- var I = ({ className: t, ...n }) => /* @__PURE__ */ _("span", {
65
+ x.displayName = s.Separator.displayName;
66
+ var S = ({ className: t, ...n }) => /* @__PURE__ */ a("span", {
67
67
  className: e("ml-auto text-xs tracking-widest text-muted-foreground", t),
68
68
  ...n
69
69
  });
70
- I.displayName = "ContextMenuShortcut";
70
+ S.displayName = "ContextMenuShortcut";
71
71
  //#endregion
72
- export { S as ContextMenu, M as ContextMenuCheckboxItem, A as ContextMenuContent, w as ContextMenuGroup, j as ContextMenuItem, P as ContextMenuLabel, T as ContextMenuPortal, D as ContextMenuRadioGroup, N as ContextMenuRadioItem, F as ContextMenuSeparator, I as ContextMenuShortcut, E as ContextMenuSub, k as ContextMenuSubContent, O as ContextMenuSubTrigger, C as ContextMenuTrigger };
72
+ export { c as ContextMenu, v as ContextMenuCheckboxItem, g as ContextMenuContent, u as ContextMenuGroup, _ as ContextMenuItem, b as ContextMenuLabel, d as ContextMenuPortal, p as ContextMenuRadioGroup, y as ContextMenuRadioItem, x as ContextMenuSeparator, S as ContextMenuShortcut, f as ContextMenuSub, h as ContextMenuSubContent, m as ContextMenuSubTrigger, l as ContextMenuTrigger };
@@ -1,54 +1,54 @@
1
1
  "use client";
2
2
  import { cn as e } from "../../lib/utils.js";
3
- import { Close as t, Content as n, Description as r, Overlay as i, Portal as a, Root as o, Title as s, Trigger as c } from "../../../node_modules/.pnpm/@radix-ui_react-dialog@1.1._ef5419b1d5914b6ed85fc377af02cd8c/node_modules/@radix-ui/react-dialog/dist/index.js";
4
3
  import "react";
5
- import { jsx as l, jsxs as u } from "react/jsx-runtime";
6
- import { XIcon as d } from "lucide-react";
4
+ import { XIcon as t } from "lucide-react";
5
+ import { jsx as n, jsxs as r } from "react/jsx-runtime";
6
+ import * as i from "@radix-ui/react-dialog";
7
7
  //#region src/components/ui/dialog.tsx
8
- function f({ ...e }) {
9
- return /* @__PURE__ */ l(o, {
8
+ function a({ ...e }) {
9
+ return /* @__PURE__ */ n(i.Root, {
10
10
  "data-slot": "dialog",
11
11
  ...e
12
12
  });
13
13
  }
14
- function p({ className: t, ...n }) {
15
- return /* @__PURE__ */ l(c, {
14
+ function o({ className: t, ...r }) {
15
+ return /* @__PURE__ */ n(i.Trigger, {
16
16
  "data-slot": "dialog-trigger",
17
17
  className: e("cursor-pointer", t),
18
- ...n
18
+ ...r
19
19
  });
20
20
  }
21
- function m({ ...e }) {
22
- return /* @__PURE__ */ l(a, {
21
+ function s({ ...e }) {
22
+ return /* @__PURE__ */ n(i.Portal, {
23
23
  "data-slot": "dialog-portal",
24
24
  ...e
25
25
  });
26
26
  }
27
- function h({ className: n, ...r }) {
28
- return /* @__PURE__ */ l(t, {
27
+ function c({ className: t, ...r }) {
28
+ return /* @__PURE__ */ n(i.Close, {
29
29
  "data-slot": "dialog-close",
30
- className: e("cursor-pointer", n),
30
+ className: e("cursor-pointer", t),
31
31
  ...r
32
32
  });
33
33
  }
34
- function g({ className: t, ...n }) {
35
- return /* @__PURE__ */ l(i, {
34
+ function l({ className: t, ...r }) {
35
+ return /* @__PURE__ */ n(i.Overlay, {
36
36
  "data-slot": "dialog-overlay",
37
37
  className: e("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50", t),
38
- ...n
38
+ ...r
39
39
  });
40
40
  }
41
- function _({ className: r, children: i, showCloseButton: a = !0, ...o }) {
42
- return /* @__PURE__ */ u(m, {
41
+ function u({ className: a, children: o, showCloseButton: c = !0, ...u }) {
42
+ return /* @__PURE__ */ r(s, {
43
43
  "data-slot": "dialog-portal",
44
- children: [/* @__PURE__ */ l(g, {}), /* @__PURE__ */ u(n, {
44
+ children: [/* @__PURE__ */ n(l, {}), /* @__PURE__ */ r(i.Content, {
45
45
  "data-slot": "dialog-content",
46
- className: e("bg-background 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 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border border-border p-6 shadow-lg duration-200 sm:max-w-xl md:max-w-2xl lg:max-w-3xl", r),
47
- ...o,
48
- children: [i, a && /* @__PURE__ */ u(t, {
46
+ className: e("bg-background 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 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border border-border p-6 shadow-lg duration-200 sm:max-w-xl md:max-w-2xl lg:max-w-3xl", a),
47
+ ...u,
48
+ children: [o, c && /* @__PURE__ */ r(i.Close, {
49
49
  "data-slot": "dialog-close",
50
50
  className: "ring-offset-background cursor-pointer focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
51
- children: [/* @__PURE__ */ l(d, {}), /* @__PURE__ */ l("span", {
51
+ children: [/* @__PURE__ */ n(t, {}), /* @__PURE__ */ n("span", {
52
52
  className: "sr-only",
53
53
  children: "Close"
54
54
  })]
@@ -56,33 +56,33 @@ function _({ className: r, children: i, showCloseButton: a = !0, ...o }) {
56
56
  })]
57
57
  });
58
58
  }
59
- function v({ className: t, ...n }) {
60
- return /* @__PURE__ */ l("div", {
59
+ function d({ className: t, ...r }) {
60
+ return /* @__PURE__ */ n("div", {
61
61
  "data-slot": "dialog-header",
62
62
  className: e("flex flex-col gap-2 text-center sm:text-left", t),
63
- ...n
63
+ ...r
64
64
  });
65
65
  }
66
- function y({ className: t, ...n }) {
67
- return /* @__PURE__ */ l("div", {
66
+ function f({ className: t, ...r }) {
67
+ return /* @__PURE__ */ n("div", {
68
68
  "data-slot": "dialog-footer",
69
69
  className: e("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", t),
70
- ...n
70
+ ...r
71
71
  });
72
72
  }
73
- function b({ className: t, ...n }) {
74
- return /* @__PURE__ */ l(s, {
73
+ function p({ className: t, ...r }) {
74
+ return /* @__PURE__ */ n(i.Title, {
75
75
  "data-slot": "dialog-title",
76
76
  className: e("text-lg leading-none font-semibold", t),
77
- ...n
77
+ ...r
78
78
  });
79
79
  }
80
- function x({ className: t, ...n }) {
81
- return /* @__PURE__ */ l(r, {
80
+ function m({ className: t, ...r }) {
81
+ return /* @__PURE__ */ n(i.Description, {
82
82
  "data-slot": "dialog-description",
83
83
  className: e("text-muted-foreground text-sm", t),
84
- ...n
84
+ ...r
85
85
  });
86
86
  }
87
87
  //#endregion
88
- export { f as Dialog, h as DialogClose, _ as DialogContent, x as DialogDescription, y as DialogFooter, v as DialogHeader, g as DialogOverlay, m as DialogPortal, b as DialogTitle, p as DialogTrigger };
88
+ export { a as Dialog, c as DialogClose, u as DialogContent, m as DialogDescription, f as DialogFooter, d as DialogHeader, l as DialogOverlay, s as DialogPortal, p as DialogTitle, o as DialogTrigger };
@@ -1,45 +1,45 @@
1
1
  "use client";
2
2
  import { cn as e } from "../../lib/utils.js";
3
- import { CheckboxItem2 as t, Content2 as n, Group2 as r, Item2 as i, ItemIndicator2 as a, Label2 as o, Portal2 as s, RadioGroup2 as c, RadioItem2 as l, Root2 as u, Separator2 as d, Sub2 as f, SubContent2 as p, SubTrigger2 as m, Trigger as h } from "../../../node_modules/.pnpm/@radix-ui_react-dropdown-me_9dd0889a66ea847559fd572aaa20379b/node_modules/@radix-ui/react-dropdown-menu/dist/index.js";
4
3
  import "react";
5
- import { jsx as g, jsxs as _ } from "react/jsx-runtime";
6
- import { CheckIcon as v, ChevronRightIcon as y, CircleIcon as b } from "lucide-react";
4
+ import { CheckIcon as t, ChevronRightIcon as n, CircleIcon as r } from "lucide-react";
5
+ import { jsx as i, jsxs as a } from "react/jsx-runtime";
6
+ import * as o from "@radix-ui/react-dropdown-menu";
7
7
  //#region src/components/ui/dropdown-menu.tsx
8
- function x({ ...e }) {
9
- return /* @__PURE__ */ g(u, {
8
+ function s({ ...e }) {
9
+ return /* @__PURE__ */ i(o.Root, {
10
10
  "data-slot": "dropdown-menu",
11
11
  ...e
12
12
  });
13
13
  }
14
- function S({ ...e }) {
15
- return /* @__PURE__ */ g(s, {
14
+ function c({ ...e }) {
15
+ return /* @__PURE__ */ i(o.Portal, {
16
16
  "data-slot": "dropdown-menu-portal",
17
17
  ...e
18
18
  });
19
19
  }
20
- function C({ className: t, ...n }) {
21
- return /* @__PURE__ */ g(h, {
20
+ function l({ className: t, ...n }) {
21
+ return /* @__PURE__ */ i(o.Trigger, {
22
22
  "data-slot": "dropdown-menu-trigger",
23
23
  className: e("cursor-pointer", t),
24
24
  ...n
25
25
  });
26
26
  }
27
- function w({ className: t, sideOffset: r = 4, ...i }) {
28
- return /* @__PURE__ */ g(s, { children: /* @__PURE__ */ g(n, {
27
+ function u({ className: t, sideOffset: n = 4, ...r }) {
28
+ return /* @__PURE__ */ i(o.Portal, { children: /* @__PURE__ */ i(o.Content, {
29
29
  "data-slot": "dropdown-menu-content",
30
- sideOffset: r,
30
+ sideOffset: n,
31
31
  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 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md", t),
32
- ...i
32
+ ...r
33
33
  }) });
34
34
  }
35
- function T({ ...e }) {
36
- return /* @__PURE__ */ g(r, {
35
+ function d({ ...e }) {
36
+ return /* @__PURE__ */ i(o.Group, {
37
37
  "data-slot": "dropdown-menu-group",
38
38
  ...e
39
39
  });
40
40
  }
41
- function E({ className: t, inset: n, variant: r = "default", ...a }) {
42
- return /* @__PURE__ */ g(i, {
41
+ function f({ className: t, inset: n, variant: r = "default", ...a }) {
42
+ return /* @__PURE__ */ i(o.Item, {
43
43
  "data-slot": "dropdown-menu-item",
44
44
  "data-inset": n,
45
45
  "data-variant": r,
@@ -47,78 +47,78 @@ function E({ className: t, inset: n, variant: r = "default", ...a }) {
47
47
  ...a
48
48
  });
49
49
  }
50
- function D({ className: n, children: r, checked: i, ...o }) {
51
- return /* @__PURE__ */ _(t, {
50
+ function p({ className: n, children: r, checked: s, ...c }) {
51
+ return /* @__PURE__ */ a(o.CheckboxItem, {
52
52
  "data-slot": "dropdown-menu-checkbox-item",
53
53
  className: e("focus:bg-accent focus:text-accent-foreground relative flex cursor-pointer items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", n),
54
- checked: i,
55
- ...o,
56
- children: [/* @__PURE__ */ g("span", {
54
+ checked: s,
55
+ ...c,
56
+ children: [/* @__PURE__ */ i("span", {
57
57
  className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",
58
- children: /* @__PURE__ */ g(a, { children: /* @__PURE__ */ g(v, { className: "size-4" }) })
58
+ children: /* @__PURE__ */ i(o.ItemIndicator, { children: /* @__PURE__ */ i(t, { className: "size-4" }) })
59
59
  }), r]
60
60
  });
61
61
  }
62
- function O({ ...e }) {
63
- return /* @__PURE__ */ g(c, {
62
+ function m({ ...e }) {
63
+ return /* @__PURE__ */ i(o.RadioGroup, {
64
64
  "data-slot": "dropdown-menu-radio-group",
65
65
  ...e
66
66
  });
67
67
  }
68
- function k({ className: t, children: n, ...r }) {
69
- return /* @__PURE__ */ _(l, {
68
+ function h({ className: t, children: n, ...s }) {
69
+ return /* @__PURE__ */ a(o.RadioItem, {
70
70
  "data-slot": "dropdown-menu-radio-item",
71
71
  className: e("focus:bg-accent focus:text-accent-foreground relative flex cursor-pointer items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", t),
72
- ...r,
73
- children: [/* @__PURE__ */ g("span", {
72
+ ...s,
73
+ children: [/* @__PURE__ */ i("span", {
74
74
  className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",
75
- children: /* @__PURE__ */ g(a, { children: /* @__PURE__ */ g(b, { className: "size-2 fill-current" }) })
75
+ children: /* @__PURE__ */ i(o.ItemIndicator, { children: /* @__PURE__ */ i(r, { className: "size-2 fill-current" }) })
76
76
  }), n]
77
77
  });
78
78
  }
79
- function A({ className: t, inset: n, ...r }) {
80
- return /* @__PURE__ */ g(o, {
79
+ function g({ className: t, inset: n, ...r }) {
80
+ return /* @__PURE__ */ i(o.Label, {
81
81
  "data-slot": "dropdown-menu-label",
82
82
  "data-inset": n,
83
83
  className: e("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8", t),
84
84
  ...r
85
85
  });
86
86
  }
87
- function j({ className: t, ...n }) {
88
- return /* @__PURE__ */ g(d, {
87
+ function _({ className: t, ...n }) {
88
+ return /* @__PURE__ */ i(o.Separator, {
89
89
  "data-slot": "dropdown-menu-separator",
90
90
  className: e("bg-border -mx-1 my-1 h-px", t),
91
91
  ...n
92
92
  });
93
93
  }
94
- function M({ className: t, ...n }) {
95
- return /* @__PURE__ */ g("span", {
94
+ function v({ className: t, ...n }) {
95
+ return /* @__PURE__ */ i("span", {
96
96
  "data-slot": "dropdown-menu-shortcut",
97
97
  className: e("text-muted-foreground ml-auto text-xs tracking-widest", t),
98
98
  ...n
99
99
  });
100
100
  }
101
- function N({ ...e }) {
102
- return /* @__PURE__ */ g(f, {
101
+ function y({ ...e }) {
102
+ return /* @__PURE__ */ i(o.Sub, {
103
103
  "data-slot": "dropdown-menu-sub",
104
104
  ...e
105
105
  });
106
106
  }
107
- function P({ className: t, inset: n, children: r, ...i }) {
108
- return /* @__PURE__ */ _(m, {
107
+ function b({ className: t, inset: r, children: s, ...c }) {
108
+ return /* @__PURE__ */ a(o.SubTrigger, {
109
109
  "data-slot": "dropdown-menu-sub-trigger",
110
- "data-inset": n,
110
+ "data-inset": r,
111
111
  className: e("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-pointer items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8", t),
112
- ...i,
113
- children: [r, /* @__PURE__ */ g(y, { className: "ml-auto size-4" })]
112
+ ...c,
113
+ children: [s, /* @__PURE__ */ i(n, { className: "ml-auto size-4" })]
114
114
  });
115
115
  }
116
- function F({ className: t, ...n }) {
117
- return /* @__PURE__ */ g(p, {
116
+ function x({ className: t, ...n }) {
117
+ return /* @__PURE__ */ i(o.SubContent, {
118
118
  "data-slot": "dropdown-menu-sub-content",
119
119
  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 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg", t),
120
120
  ...n
121
121
  });
122
122
  }
123
123
  //#endregion
124
- export { x as DropdownMenu, D as DropdownMenuCheckboxItem, w as DropdownMenuContent, T as DropdownMenuGroup, E as DropdownMenuItem, A as DropdownMenuLabel, S as DropdownMenuPortal, O as DropdownMenuRadioGroup, k as DropdownMenuRadioItem, j as DropdownMenuSeparator, M as DropdownMenuShortcut, N as DropdownMenuSub, F as DropdownMenuSubContent, P as DropdownMenuSubTrigger, C as DropdownMenuTrigger };
124
+ export { s as DropdownMenu, p as DropdownMenuCheckboxItem, u as DropdownMenuContent, d as DropdownMenuGroup, f as DropdownMenuItem, g as DropdownMenuLabel, c as DropdownMenuPortal, m as DropdownMenuRadioGroup, h as DropdownMenuRadioItem, _ as DropdownMenuSeparator, v as DropdownMenuShortcut, y as DropdownMenuSub, x as DropdownMenuSubContent, b as DropdownMenuSubTrigger, l as DropdownMenuTrigger };