@inspirare/design-system 0.0.21 → 0.0.22
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.
- package/dist/components/ui/accordion.js +44 -0
- package/dist/components/ui/alert-dialog.js +61 -0
- package/dist/{src/components → components}/ui/alert.js +10 -10
- package/dist/components/ui/aspect-ratio.js +6 -0
- package/dist/components/ui/avatar.js +29 -0
- package/dist/{src/components → components}/ui/badge.js +6 -6
- package/dist/components/ui/breadcrumb.js +60 -0
- package/dist/components/ui/button-group.js +38 -0
- package/dist/{src/components → components}/ui/button.js +6 -6
- package/dist/{src/components → components}/ui/calendar.js +16 -16
- package/dist/{src/components → components}/ui/carousel.js +29 -29
- package/dist/{src/components → components}/ui/checkbox.js +10 -10
- package/dist/components/ui/collapsible.js +26 -0
- package/dist/{src/components → components}/ui/combobox.js +10 -10
- package/dist/{src/components → components}/ui/command.js +17 -17
- package/dist/{src/components → components}/ui/context-menu.js +37 -37
- package/dist/{src/components → components}/ui/dialog.js +36 -36
- package/dist/{src/components → components}/ui/dropdown-menu.js +46 -46
- package/dist/{src/components → components}/ui/empty.js +21 -21
- package/dist/{src/components → components}/ui/field.js +27 -27
- package/dist/components/ui/form.js +77 -0
- package/dist/{src/components → components}/ui/hover-card.js +14 -14
- package/dist/{src/components → components}/ui/input-group.js +18 -18
- package/dist/{src/components → components}/ui/input-otp.js +13 -13
- package/dist/components/ui/item.js +116 -0
- package/dist/{src/components → components}/ui/label.js +3 -3
- package/dist/components/ui/menubar.js +105 -0
- package/dist/components/ui/navigation-menu.js +58 -0
- package/dist/{src/components → components}/ui/pagination.js +18 -18
- package/dist/components/ui/popover.js +36 -0
- package/dist/components/ui/progress.js +20 -0
- package/dist/{src/components → components}/ui/radio-group.js +14 -14
- package/dist/{src/components → components}/ui/resizable.js +7 -7
- package/dist/{src/components → components}/ui/select.js +44 -44
- package/dist/{src/components → components}/ui/separator.js +3 -3
- package/dist/{src/components → components}/ui/sheet.js +35 -35
- package/dist/{src/components → components}/ui/sidebar.js +124 -124
- package/dist/{src/components → components}/ui/slider.js +20 -20
- package/dist/{src/components → components}/ui/spinner.js +3 -3
- package/dist/{src/components → components}/ui/switch.js +9 -9
- package/dist/{src/components → components}/ui/tabs.js +19 -19
- package/dist/{src/components → components}/ui/theme-toggle.js +10 -10
- package/dist/components/ui/toggle-group.js +44 -0
- package/dist/{src/components → components}/ui/toggle.js +7 -7
- package/dist/components/ui/tooltip.js +37 -0
- package/package.json +1 -1
- package/dist/node_modules/.pnpm/@floating-ui_core@1.7.5/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -359
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -328
- 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
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -97
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -106
- package/dist/node_modules/.pnpm/@radix-ui_number@1.1.2/node_modules/@radix-ui/number/dist/index.js +0 -6
- package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.4/node_modules/@radix-ui/primitive/dist/index.js +0 -8
- package/dist/node_modules/.pnpm/@radix-ui_react-accordion@1_90771884ca9639bf31e5f01b1faf83e4/node_modules/@radix-ui/react-accordion/dist/index.js +0 -195
- package/dist/node_modules/.pnpm/@radix-ui_react-alert-dialo_0211f1deb04a7e512244dbbc3e4765ed/node_modules/@radix-ui/react-alert-dialog/dist/index.js +0 -119
- package/dist/node_modules/.pnpm/@radix-ui_react-arrow@1.1.9_b34b7156178de4198a23e93f83c57da5/node_modules/@radix-ui/react-arrow/dist/index.js +0 -20
- package/dist/node_modules/.pnpm/@radix-ui_react-aspect-rati_62430dda2e5090a076c492dea1ecc5d8/node_modules/@radix-ui/react-aspect-ratio/dist/index.js +0 -31
- package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.1._d460f1c45278b86e7424fb8ae25577de/node_modules/@radix-ui/react-avatar/dist/index.js +0 -73
- package/dist/node_modules/.pnpm/@radix-ui_react-checkbox@1._e21be6412c310c083d6755285c4c1ad9/node_modules/@radix-ui/react-checkbox/dist/index.js +0 -158
- package/dist/node_modules/.pnpm/@radix-ui_react-collapsible_d381d44d4b8a6d58d9dfaae3a0126ca3/node_modules/@radix-ui/react-collapsible/dist/index.js +0 -97
- package/dist/node_modules/.pnpm/@radix-ui_react-collection@_9d7b7379fb7a1e56af9d4a8d107ecba8/node_modules/@radix-ui/react-collection/dist/index.js +0 -62
- package/dist/node_modules/.pnpm/@radix-ui_react-compose-ref_1124f78b370d43bfeceaaa9b791be73d/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -25
- package/dist/node_modules/.pnpm/@radix-ui_react-context-men_f76d1e5eaec57e990fe72d3c41a037df/node_modules/@radix-ui/react-context-menu/dist/index.js +0 -240
- package/dist/node_modules/.pnpm/@radix-ui_react-context@1.1_796eddd33de3050019fa09b10c68d7ca/node_modules/@radix-ui/react-context/dist/index.js +0 -80
- package/dist/node_modules/.pnpm/@radix-ui_react-dialog@1.1._ef5419b1d5914b6ed85fc377af02cd8c/node_modules/@radix-ui/react-dialog/dist/index.js +0 -225
- package/dist/node_modules/.pnpm/@radix-ui_react-direction@1_2157d1ab8e201288009ff536bb11c468/node_modules/@radix-ui/react-direction/dist/index.js +0 -11
- package/dist/node_modules/.pnpm/@radix-ui_react-dismissable_1202449cfd75d4d3d4e876187986c0d8/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -108
- package/dist/node_modules/.pnpm/@radix-ui_react-dropdown-me_9dd0889a66ea847559fd572aaa20379b/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +0 -225
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-guard_6b3d65e71789b2986a17d5efdb8859bf/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -22
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope_c97f9e7487f0abcea30d185973e4d237/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -146
- package/dist/node_modules/.pnpm/@radix-ui_react-hover-card@_8a3f4d1399bacc84c908e03b45229f87/node_modules/@radix-ui/react-hover-card/dist/index.js +0 -161
- 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
- package/dist/node_modules/.pnpm/@radix-ui_react-label@2.1.9_386dd2eabe41e70ee233c5790da58dd5/node_modules/@radix-ui/react-label/dist/index.js +0 -16
- package/dist/node_modules/.pnpm/@radix-ui_react-menu@2.1.17_cc73edd868dbfc82392e3731b66f2e59/node_modules/@radix-ui/react-menu/dist/index.js +0 -563
- package/dist/node_modules/.pnpm/@radix-ui_react-menubar@1.1_52e1207bf5981387ca85fb7a6f7b2195/node_modules/@radix-ui/react-menubar/dist/index.js +0 -312
- package/dist/node_modules/.pnpm/@radix-ui_react-navigation-_ce246f1abffb4c1bd00bc4d15b1887f5/node_modules/@radix-ui/react-navigation-menu/dist/index.js +0 -553
- package/dist/node_modules/.pnpm/@radix-ui_react-popover@1.1_0f96f9f03b66af70568af721c965c5cd/node_modules/@radix-ui/react-popover/dist/index.js +0 -199
- package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.3._bd7668c1d3a757f9e8c97f0d7e635b5d/node_modules/@radix-ui/react-popper/dist/index.js +0 -203
- package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1._32b1caf40ac61f8d30d412d28d60b4ca/node_modules/@radix-ui/react-portal/dist/index.js +0 -19
- package/dist/node_modules/.pnpm/@radix-ui_react-presence@1._dc6e30df35507eb8a116c12c3da26e18/node_modules/@radix-ui/react-presence/dist/index.js +0 -85
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2_9b6ae4cdaf3918ddbf0b21069e38e2ef/node_modules/@radix-ui/react-primitive/dist/index.js +0 -41
- package/dist/node_modules/.pnpm/@radix-ui_react-progress@1._4cd7f31ebaa5416f0f0f54265ec22793/node_modules/@radix-ui/react-progress/dist/index.js +0 -71
- package/dist/node_modules/.pnpm/@radix-ui_react-radio-group_385226f717d657e4aea3688d6214f1c0/node_modules/@radix-ui/react-radio-group/dist/index.js +0 -249
- package/dist/node_modules/.pnpm/@radix-ui_react-roving-focu_d783d3abe701a7f2fb2c68867b8f1f65/node_modules/@radix-ui/react-roving-focus/dist/index.js +0 -154
- package/dist/node_modules/.pnpm/@radix-ui_react-select@2.3._b9232b5aa23e604443839e7a081b7527/node_modules/@radix-ui/react-select/dist/index.js +0 -727
- package/dist/node_modules/.pnpm/@radix-ui_react-separator@1_f5efb6a4d38fd7cb82808cb6f7a6326a/node_modules/@radix-ui/react-separator/dist/index.js +0 -23
- package/dist/node_modules/.pnpm/@radix-ui_react-slider@1.4._cfb70bb4d45c3eedb16b2d4d4cf80f46/node_modules/@radix-ui/react-slider/dist/index.js +0 -404
- 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
- package/dist/node_modules/.pnpm/@radix-ui_react-switch@1.3._d2f9574497ecbe08e0e7c2298fb35dc1/node_modules/@radix-ui/react-switch/dist/index.js +0 -138
- package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.14_769bbb0130198553b196f258bd99ab92/node_modules/@radix-ui/react-tabs/dist/index.js +0 -120
- package/dist/node_modules/.pnpm/@radix-ui_react-toggle-grou_9d4cd233d31c4687b287c174e894620a/node_modules/@radix-ui/react-toggle-group/dist/index.js +0 -125
- package/dist/node_modules/.pnpm/@radix-ui_react-toggle@1.1._afb5f705be3deb4ba78b89b6c70d5cf9/node_modules/@radix-ui/react-toggle/dist/index.js +0 -30
- package/dist/node_modules/.pnpm/@radix-ui_react-tooltip@1.2_02a5bba0cb45f3ddbe548efab47eabcc/node_modules/@radix-ui/react-tooltip/dist/index.js +0 -351
- package/dist/node_modules/.pnpm/@radix-ui_react-use-callbac_5106d65c013fadfe178f87486239c7af/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -10
- package/dist/node_modules/.pnpm/@radix-ui_react-use-control_e3b0d353471f209a120bf58c8d35c552/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -45
- package/dist/node_modules/.pnpm/@radix-ui_react-use-escape-_c83bcf92add652965a36806e6d79891c/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -14
- 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
- package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-_ad41f999ca2019252b887df955038ce1/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -5
- package/dist/node_modules/.pnpm/@radix-ui_react-use-previou_58b78c95af3b98dc4c1bc8bce73c779d/node_modules/@radix-ui/react-use-previous/dist/index.js +0 -11
- package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1._4b75a7cfb879b922004e7a6caa492077/node_modules/@radix-ui/react-use-size/dist/index.js +0 -29
- package/dist/node_modules/.pnpm/@radix-ui_react-visually-hi_fbf0dd0d68bb58b2410fc7a153ed1d9c/node_modules/@radix-ui/react-visually-hidden/dist/index.js +0 -27
- package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js +0 -46
- package/dist/node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js +0 -33
- package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js +0 -7
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3_24279af7608b4a4e9fe00320b3c0cae7/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -70
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3_24279af7608b4a4e9fe00320b3c0cae7/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -4
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3_24279af7608b4a4e9fe00320b3c0cae7/node_modules/react-remove-scroll-bar/dist/es2015/index.js +0 -3
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3_24279af7608b4a4e9fe00320b3c0cae7/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -27
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_64be49a27fe392764e1764f59e110241/node_modules/react-style-singleton/dist/es2015/component.js +0 -11
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_64be49a27fe392764e1764f59e110241/node_modules/react-style-singleton/dist/es2015/hook.js +0 -15
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_64be49a27fe392764e1764f59e110241/node_modules/react-style-singleton/dist/es2015/index.js +0 -3
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_64be49a27fe392764e1764f59e110241/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -28
- package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js +0 -19
- 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
- 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
- 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
- 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
- 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
- package/dist/src/components/ui/accordion.js +0 -44
- package/dist/src/components/ui/alert-dialog.js +0 -61
- package/dist/src/components/ui/aspect-ratio.js +0 -6
- package/dist/src/components/ui/avatar.js +0 -29
- package/dist/src/components/ui/breadcrumb.js +0 -60
- package/dist/src/components/ui/button-group.js +0 -38
- package/dist/src/components/ui/collapsible.js +0 -26
- package/dist/src/components/ui/form.js +0 -76
- package/dist/src/components/ui/item.js +0 -116
- package/dist/src/components/ui/menubar.js +0 -105
- package/dist/src/components/ui/navigation-menu.js +0 -58
- package/dist/src/components/ui/popover.js +0 -36
- package/dist/src/components/ui/progress.js +0 -20
- package/dist/src/components/ui/toggle-group.js +0 -44
- package/dist/src/components/ui/tooltip.js +0 -37
- /package/dist/{src/components → components}/ui/accessibility-improvements.js +0 -0
- /package/dist/{src/components → components}/ui/card.js +0 -0
- /package/dist/{src/components → components}/ui/chart.js +0 -0
- /package/dist/{src/components → components}/ui/color-picker.js +0 -0
- /package/dist/{src/components → components}/ui/drawer.js +0 -0
- /package/dist/{src/components → components}/ui/input.js +0 -0
- /package/dist/{src/components → components}/ui/kbd.js +0 -0
- /package/dist/{src/components → components}/ui/scroll-area.js +0 -0
- /package/dist/{src/components → components}/ui/skeleton.js +0 -0
- /package/dist/{src/components → components}/ui/sonner.js +0 -0
- /package/dist/{src/components → components}/ui/table.js +0 -0
- /package/dist/{src/components → components}/ui/textarea.js +0 -0
- /package/dist/{src/hooks → hooks}/use-mobile.js +0 -0
- /package/dist/{src/index.js → index.js} +0 -0
- /package/dist/{src/lib → lib}/utils.js +0 -0
|
@@ -1,105 +0,0 @@
|
|
|
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 };
|
|
@@ -1,58 +0,0 @@
|
|
|
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 };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { cn as e } from "../../lib/utils.js";
|
|
3
|
-
import { Anchor2 as t, Content2 as n, Portal as r, Root2 as i, Trigger as a } from "../../../node_modules/.pnpm/@radix-ui_react-popover@1.1_0f96f9f03b66af70568af721c965c5cd/node_modules/@radix-ui/react-popover/dist/index.js";
|
|
4
|
-
import "react";
|
|
5
|
-
import { jsx as o } from "react/jsx-runtime";
|
|
6
|
-
//#region src/components/ui/popover.tsx
|
|
7
|
-
function s({ ...e }) {
|
|
8
|
-
return /* @__PURE__ */ o(i, {
|
|
9
|
-
"data-slot": "popover",
|
|
10
|
-
...e
|
|
11
|
-
});
|
|
12
|
-
}
|
|
13
|
-
function c({ className: t, ...n }) {
|
|
14
|
-
return /* @__PURE__ */ o(a, {
|
|
15
|
-
"data-slot": "popover-trigger",
|
|
16
|
-
className: e("cursor-pointer", t),
|
|
17
|
-
...n
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
function l({ className: t, align: i = "center", sideOffset: a = 4, ...s }) {
|
|
21
|
-
return /* @__PURE__ */ o(r, { children: /* @__PURE__ */ o(n, {
|
|
22
|
-
"data-slot": "popover-content",
|
|
23
|
-
align: i,
|
|
24
|
-
sideOffset: a,
|
|
25
|
-
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-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden", t),
|
|
26
|
-
...s
|
|
27
|
-
}) });
|
|
28
|
-
}
|
|
29
|
-
function u({ ...e }) {
|
|
30
|
-
return /* @__PURE__ */ o(t, {
|
|
31
|
-
"data-slot": "popover-anchor",
|
|
32
|
-
...e
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
//#endregion
|
|
36
|
-
export { s as Popover, u as PopoverAnchor, l as PopoverContent, c as PopoverTrigger };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { cn as e } from "../../lib/utils.js";
|
|
3
|
-
import { Indicator as t, Root as n } from "../../../node_modules/.pnpm/@radix-ui_react-progress@1._4cd7f31ebaa5416f0f0f54265ec22793/node_modules/@radix-ui/react-progress/dist/index.js";
|
|
4
|
-
import "react";
|
|
5
|
-
import { jsx as r } from "react/jsx-runtime";
|
|
6
|
-
//#region src/components/ui/progress.tsx
|
|
7
|
-
function i({ className: i, value: a, ...o }) {
|
|
8
|
-
return /* @__PURE__ */ r(n, {
|
|
9
|
-
"data-slot": "progress",
|
|
10
|
-
className: e("bg-primary/20 relative h-2 w-full overflow-hidden rounded-full", i),
|
|
11
|
-
...o,
|
|
12
|
-
children: /* @__PURE__ */ r(t, {
|
|
13
|
-
"data-slot": "progress-indicator",
|
|
14
|
-
className: "bg-primary h-full w-full flex-1 transition-all",
|
|
15
|
-
style: { transform: `translateX(-${100 - (a || 0)}%)` }
|
|
16
|
-
})
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
//#endregion
|
|
20
|
-
export { i as Progress };
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { cn as e } from "../../lib/utils.js";
|
|
3
|
-
import "../../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js";
|
|
4
|
-
import { Item2 as t, Root2 as n } from "../../../node_modules/.pnpm/@radix-ui_react-toggle-grou_9d4cd233d31c4687b287c174e894620a/node_modules/@radix-ui/react-toggle-group/dist/index.js";
|
|
5
|
-
import { toggleVariants as r } from "./toggle.js";
|
|
6
|
-
import * as i from "react";
|
|
7
|
-
import { jsx as a } from "react/jsx-runtime";
|
|
8
|
-
//#region src/components/ui/toggle-group.tsx
|
|
9
|
-
var o = i.createContext({
|
|
10
|
-
size: "default",
|
|
11
|
-
variant: "default"
|
|
12
|
-
});
|
|
13
|
-
function s({ className: t, variant: r, size: i, children: s, ...c }) {
|
|
14
|
-
return /* @__PURE__ */ a(n, {
|
|
15
|
-
"data-slot": "toggle-group",
|
|
16
|
-
"data-variant": r,
|
|
17
|
-
"data-size": i,
|
|
18
|
-
className: e("group/toggle-group flex w-fit items-center rounded-md data-[variant=outline]:shadow-xs", t),
|
|
19
|
-
...c,
|
|
20
|
-
children: /* @__PURE__ */ a(o.Provider, {
|
|
21
|
-
value: {
|
|
22
|
-
variant: r,
|
|
23
|
-
size: i
|
|
24
|
-
},
|
|
25
|
-
children: s
|
|
26
|
-
})
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
function c({ className: n, children: s, variant: c, size: l, ...u }) {
|
|
30
|
-
let d = i.useContext(o);
|
|
31
|
-
return /* @__PURE__ */ a(t, {
|
|
32
|
-
"data-slot": "toggle-group-item",
|
|
33
|
-
"data-variant": d.variant || c,
|
|
34
|
-
"data-size": d.size || l,
|
|
35
|
-
className: e(r({
|
|
36
|
-
variant: d.variant || c,
|
|
37
|
-
size: d.size || l
|
|
38
|
-
}), "min-w-0 flex-1 shrink-0 rounded-none shadow-none first:rounded-l-md last:rounded-r-md focus:z-10 focus-visible:z-10 data-[variant=outline]:border-l-0 data-[variant=outline]:first:border-l", n),
|
|
39
|
-
...u,
|
|
40
|
-
children: s
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
//#endregion
|
|
44
|
-
export { s as ToggleGroup, c as ToggleGroupItem };
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { cn as e } from "../../lib/utils.js";
|
|
3
|
-
import { Arrow2 as t, Content2 as n, Portal as r, Provider as i, Root3 as a, Trigger as o } from "../../../node_modules/.pnpm/@radix-ui_react-tooltip@1.2_02a5bba0cb45f3ddbe548efab47eabcc/node_modules/@radix-ui/react-tooltip/dist/index.js";
|
|
4
|
-
import "react";
|
|
5
|
-
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
6
|
-
//#region src/components/ui/tooltip.tsx
|
|
7
|
-
function l({ delayDuration: e = 0, ...t }) {
|
|
8
|
-
return /* @__PURE__ */ s(i, {
|
|
9
|
-
"data-slot": "tooltip-provider",
|
|
10
|
-
delayDuration: e,
|
|
11
|
-
...t
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
function u({ ...e }) {
|
|
15
|
-
return /* @__PURE__ */ s(l, { children: /* @__PURE__ */ s(a, {
|
|
16
|
-
"data-slot": "tooltip",
|
|
17
|
-
...e
|
|
18
|
-
}) });
|
|
19
|
-
}
|
|
20
|
-
function d({ className: t, ...n }) {
|
|
21
|
-
return /* @__PURE__ */ s(o, {
|
|
22
|
-
"data-slot": "tooltip-trigger",
|
|
23
|
-
className: e("cursor-pointer", t),
|
|
24
|
-
...n
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
function f({ className: i, sideOffset: a = 0, children: o, ...l }) {
|
|
28
|
-
return /* @__PURE__ */ s(r, { children: /* @__PURE__ */ c(n, {
|
|
29
|
-
"data-slot": "tooltip-content",
|
|
30
|
-
sideOffset: a,
|
|
31
|
-
className: e("bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance", i),
|
|
32
|
-
...l,
|
|
33
|
-
children: [o, /* @__PURE__ */ s(t, { className: "bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" })]
|
|
34
|
-
}) });
|
|
35
|
-
}
|
|
36
|
-
//#endregion
|
|
37
|
-
export { u as Tooltip, f as TooltipContent, l as TooltipProvider, d as TooltipTrigger };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|