@pixpilot/shadcn 0.1.8 → 0.1.10
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/_virtual/rolldown_runtime.cjs +1 -0
- package/dist/components/index.cjs +1 -0
- package/dist/components/index.d.cts +30 -0
- package/dist/components/index.d.ts +30 -0
- package/dist/components/index.js +1 -35
- package/dist/components/ui/OrContinueWithSeparator.cjs +1 -0
- package/dist/{OrContinueWithSeparator-CLGD1Hp8.d.ts → components/ui/OrContinueWithSeparator.d.cts} +3 -3
- package/dist/components/ui/OrContinueWithSeparator.d.ts +11 -0
- package/dist/components/ui/OrContinueWithSeparator.js +1 -6
- package/dist/components/ui/alert-dialog.cjs +1 -0
- package/dist/{alert-dialog-DfqbbSSI.d.ts → components/ui/alert-dialog.d.cts} +13 -13
- package/dist/components/ui/alert-dialog.d.ts +48 -0
- package/dist/components/ui/alert-dialog.js +1 -7
- package/dist/components/ui/alert.cjs +1 -0
- package/dist/{alert-BuSJW7FJ.d.ts → components/ui/alert.d.cts} +7 -7
- package/dist/components/ui/alert.d.ts +24 -0
- package/dist/components/ui/alert.js +1 -5
- package/dist/components/ui/avatar.cjs +1 -0
- package/dist/{avatar-Cu2GSSYZ.d.ts → components/ui/avatar.d.cts} +5 -5
- package/dist/components/ui/avatar.d.ts +19 -0
- package/dist/components/ui/avatar.js +1 -5
- package/dist/components/ui/badge.cjs +1 -0
- package/dist/components/ui/badge.d.cts +19 -0
- package/dist/{badge-_1_wFXtU.d.ts → components/ui/badge.d.ts} +4 -4
- package/dist/components/ui/badge.js +1 -5
- package/dist/components/ui/button.cjs +1 -0
- package/dist/{button-D3LwGnow.d.ts → components/ui/button.d.cts} +5 -5
- package/dist/components/ui/button.d.ts +21 -0
- package/dist/components/ui/button.js +1 -5
- package/dist/components/ui/calendar.cjs +1 -0
- package/dist/{calendar-BmGC3KEi.d.ts → components/ui/calendar.d.cts} +5 -5
- package/dist/components/ui/calendar.d.ts +26 -0
- package/dist/components/ui/calendar.js +1 -6
- package/dist/components/ui/card.cjs +1 -0
- package/dist/components/ui/card.d.cts +34 -0
- package/dist/components/ui/card.d.ts +34 -0
- package/dist/components/ui/card.js +1 -5
- package/dist/components/ui/checkbox.cjs +1 -0
- package/dist/{checkbox-B3agGzx9.d.ts → components/ui/checkbox.d.cts} +3 -3
- package/dist/components/ui/checkbox.d.ts +11 -0
- package/dist/components/ui/checkbox.js +1 -7
- package/dist/components/ui/command.cjs +1 -0
- package/dist/{command-DYY3jhrg.d.ts → components/ui/command.d.cts} +12 -12
- package/dist/components/ui/command.d.ts +52 -0
- package/dist/components/ui/command.js +1 -8
- package/dist/components/ui/dialog.cjs +1 -0
- package/dist/{dialog-D-hcbHxy.d.ts → components/ui/dialog.d.cts} +12 -12
- package/dist/components/ui/dialog.d.ts +47 -0
- package/dist/components/ui/dialog.js +1 -5
- package/dist/components/ui/dropdown-menu.cjs +1 -0
- package/dist/{dropdown-menu-BmbK1aYU.d.ts → components/ui/dropdown-menu.d.cts} +17 -17
- package/dist/components/ui/dropdown-menu.d.ts +77 -0
- package/dist/components/ui/dropdown-menu.js +1 -5
- package/dist/components/ui/file-upload.cjs +1 -0
- package/dist/{file-upload-CvqXunyl.d.ts → components/ui/file-upload.d.cts} +12 -12
- package/dist/components/ui/file-upload.d.ts +94 -0
- package/dist/components/ui/file-upload.js +1 -7
- package/dist/components/ui/form.cjs +1 -0
- package/dist/{form-DlY7oYOM.d.ts → components/ui/form.d.cts} +10 -10
- package/dist/components/ui/form.d.ts +45 -0
- package/dist/components/ui/form.js +1 -6
- package/dist/components/ui/index.cjs +1 -0
- package/dist/components/ui/index.d.cts +29 -0
- package/dist/components/ui/index.d.ts +29 -0
- package/dist/components/ui/index.js +1 -34
- package/dist/components/ui/input.cjs +1 -0
- package/dist/{input-RumcwxJs.d.ts → components/ui/input.d.cts} +3 -3
- package/dist/components/ui/input.d.ts +11 -0
- package/dist/components/ui/input.js +1 -5
- package/dist/components/ui/label.cjs +1 -0
- package/dist/{label-CQ-28O7Q.d.ts → components/ui/label.d.cts} +3 -3
- package/dist/components/ui/label.d.ts +11 -0
- package/dist/components/ui/label.js +1 -5
- package/dist/components/ui/pagination.cjs +1 -0
- package/dist/components/ui/pagination.d.cts +40 -0
- package/dist/{pagination-Q6kLlw6J.d.ts → components/ui/pagination.d.ts} +9 -9
- package/dist/components/ui/pagination.js +1 -5
- package/dist/components/ui/popover.cjs +1 -0
- package/dist/{popover-BzPxXXo8.d.ts → components/ui/popover.d.cts} +6 -6
- package/dist/components/ui/popover.d.ts +22 -0
- package/dist/components/ui/popover.js +1 -5
- package/dist/components/ui/radio-group.cjs +1 -0
- package/dist/{radio-group-B_Q80541.d.ts → components/ui/radio-group.d.cts} +4 -4
- package/dist/components/ui/radio-group.d.ts +15 -0
- package/dist/components/ui/radio-group.js +1 -5
- package/dist/components/ui/select.cjs +1 -0
- package/dist/{select-DbSK-rd_.d.ts → components/ui/select.d.cts} +12 -12
- package/dist/components/ui/select.d.ts +52 -0
- package/dist/components/ui/select.js +1 -7
- package/dist/components/ui/separator.cjs +1 -0
- package/dist/{separator-C_t229Nc.d.ts → components/ui/separator.d.cts} +3 -3
- package/dist/components/ui/separator.d.ts +13 -0
- package/dist/components/ui/separator.js +1 -5
- package/dist/components/ui/shadcn-io/tags/index.cjs +1 -0
- package/dist/{index-ii6MOZO-.d.ts → components/ui/shadcn-io/tags/index.d.cts} +14 -14
- package/dist/components/ui/shadcn-io/tags/index.d.ts +70 -0
- package/dist/components/ui/shadcn-io/tags/index.js +1 -12
- package/dist/components/ui/shadcn-io/tags-input-inline/index.cjs +1 -0
- package/dist/{index-BR__9xyL.d.ts → components/ui/shadcn-io/tags-input-inline/index.d.cts} +8 -8
- package/dist/components/ui/shadcn-io/tags-input-inline/index.d.ts +31 -0
- package/dist/components/ui/shadcn-io/tags-input-inline/index.js +1 -4
- package/dist/components/ui/sheet.cjs +1 -0
- package/dist/{sheet-CQ4h2nhf.d.ts → components/ui/sheet.d.cts} +10 -10
- package/dist/components/ui/sheet.d.ts +40 -0
- package/dist/components/ui/sheet.js +1 -5
- package/dist/components/ui/slider.cjs +1 -0
- package/dist/{slider-DNo33RNT.d.ts → components/ui/slider.d.cts} +3 -3
- package/dist/components/ui/slider.d.ts +15 -0
- package/dist/components/ui/slider.js +1 -5
- package/dist/components/ui/switch.cjs +1 -0
- package/dist/{switch-vvbTlbEc.d.ts → components/ui/switch.d.cts} +3 -3
- package/dist/components/ui/switch.d.ts +11 -0
- package/dist/components/ui/switch.js +1 -7
- package/dist/components/ui/tabs.cjs +1 -0
- package/dist/{tabs-D2Ubjb4f.d.ts → components/ui/tabs.d.cts} +6 -6
- package/dist/components/ui/tabs.d.ts +23 -0
- package/dist/components/ui/tabs.js +1 -5
- package/dist/components/ui/textarea.cjs +1 -0
- package/dist/components/ui/textarea.d.cts +10 -0
- package/dist/components/ui/textarea.d.ts +10 -0
- package/dist/components/ui/textarea.js +1 -5
- package/dist/components/ui/tooltip.cjs +1 -0
- package/dist/{tooltip-JmJWz4lK.d.ts → components/ui/tooltip.d.cts} +6 -6
- package/dist/components/ui/tooltip.d.ts +23 -0
- package/dist/components/ui/tooltip.js +1 -5
- package/dist/dist/components/ui/OrContinueWithSeparator.d.cts +1 -0
- package/dist/dist/components/ui/alert-dialog.d.cts +3 -0
- package/dist/dist/components/ui/alert.d.cts +3 -0
- package/dist/dist/components/ui/avatar.d.cts +3 -0
- package/dist/dist/components/ui/badge.d.cts +3 -0
- package/dist/dist/components/ui/button.d.cts +23 -0
- package/dist/dist/components/ui/calendar.d.cts +4 -0
- package/dist/dist/components/ui/card.d.cts +2 -0
- package/dist/dist/components/ui/checkbox.d.cts +3 -0
- package/dist/dist/components/ui/command.d.cts +4 -0
- package/dist/dist/components/ui/dialog.d.cts +3 -0
- package/dist/dist/components/ui/dropdown-menu.d.cts +3 -0
- package/dist/dist/components/ui/file-upload.d.cts +2 -0
- package/dist/dist/components/ui/form.d.cts +5 -0
- package/dist/dist/components/ui/input.d.cts +2 -0
- package/dist/dist/components/ui/label.d.cts +3 -0
- package/dist/dist/components/ui/pagination.d.cts +3 -0
- package/dist/dist/components/ui/popover.d.cts +3 -0
- package/dist/dist/components/ui/radio-group.d.cts +3 -0
- package/dist/dist/components/ui/select.d.cts +3 -0
- package/dist/dist/components/ui/separator.d.cts +3 -0
- package/dist/dist/components/ui/shadcn-io/tags/index.d.cts +6 -0
- package/dist/dist/components/ui/shadcn-io/tags-input-inline/index.d.cts +2 -0
- package/dist/dist/components/ui/sheet.d.cts +3 -0
- package/dist/dist/components/ui/slider.d.cts +3 -0
- package/dist/dist/components/ui/switch.d.cts +3 -0
- package/dist/dist/components/ui/tabs.d.cts +3 -0
- package/dist/dist/components/ui/textarea.d.cts +2 -0
- package/dist/dist/components/ui/tooltip.d.cts +3 -0
- package/dist/dist/index.d.cts +30 -0
- package/dist/dist/lib/utils.d.cts +1 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.cts +33 -0
- package/dist/index.d.ts +33 -0
- package/dist/index.js +1 -35
- package/dist/lib/index.cjs +1 -0
- package/dist/lib/index.d.cts +1 -0
- package/dist/lib/index.d.ts +1 -0
- package/dist/lib/index.js +1 -4
- package/dist/lib/utils.cjs +1 -0
- package/dist/{utils-9ayr7mhb.d.ts → lib/utils.d.cts} +1 -1
- package/dist/lib/utils.d.ts +6 -0
- package/dist/lib/utils.js +1 -3
- package/package.json +6 -2
- package/dist/OrContinueWithSeparator-CkITP0NT.js +0 -27
- package/dist/alert-DgTy4F7t.js +0 -38
- package/dist/alert-dialog-eEUiwCc2.js +0 -82
- package/dist/avatar-ggnaPAdx.js +0 -30
- package/dist/badge-OxgStuN-.js +0 -26
- package/dist/button-Ct22vvF2.js +0 -45
- package/dist/calendar-SVLTPCYN.js +0 -106
- package/dist/card-CgZyi8N4.d.ts +0 -34
- package/dist/card-mGJMSXR3.js +0 -57
- package/dist/checkbox-Car6S-YU.js +0 -22
- package/dist/command-Bh0lIHth.js +0 -87
- package/dist/components/index-STwYZkVD.d.ts +0 -30
- package/dist/components/ui/OrContinueWithSeparator-zD9Uvv6K.d.ts +0 -2
- package/dist/components/ui/alert-CrGZ30uR.d.ts +0 -2
- package/dist/components/ui/alert-dialog-C0WF5Dos.d.ts +0 -2
- package/dist/components/ui/avatar-CktZYO6v.d.ts +0 -2
- package/dist/components/ui/badge-C9NYum6y.d.ts +0 -2
- package/dist/components/ui/button-CoYoii2T.d.ts +0 -2
- package/dist/components/ui/calendar-5xd65Bmh.d.ts +0 -2
- package/dist/components/ui/card-Ckto1jiE.d.ts +0 -2
- package/dist/components/ui/checkbox-BCQklDUE.d.ts +0 -2
- package/dist/components/ui/command-BqHc3wli.d.ts +0 -2
- package/dist/components/ui/dialog-BLBozK8K.d.ts +0 -2
- package/dist/components/ui/dropdown-menu-C-dl2Ajc.d.ts +0 -2
- package/dist/components/ui/file-upload-SPbnttch.d.ts +0 -2
- package/dist/components/ui/form-ViAewsgB.d.ts +0 -2
- package/dist/components/ui/index-IiXyLa8U.d.ts +0 -30
- package/dist/components/ui/input-CMceREK-.d.ts +0 -2
- package/dist/components/ui/label-BUAecFS7.d.ts +0 -2
- package/dist/components/ui/pagination-CAR6sJhu.d.ts +0 -2
- package/dist/components/ui/popover-CGeLg_mb.d.ts +0 -2
- package/dist/components/ui/radio-group-Bwr6-_75.d.ts +0 -2
- package/dist/components/ui/select-Ceyh3aK6.d.ts +0 -2
- package/dist/components/ui/separator-Dfxgb7gD.d.ts +0 -2
- package/dist/components/ui/shadcn-io/tags/index-CAKU-H34.d.ts +0 -2
- package/dist/components/ui/shadcn-io/tags-input-inline/index-DhQmdtJh.d.ts +0 -2
- package/dist/components/ui/sheet-DWnv_e2Q.d.ts +0 -2
- package/dist/components/ui/slider-CfcbtbNG.d.ts +0 -2
- package/dist/components/ui/switch-7kQX0wi0.d.ts +0 -2
- package/dist/components/ui/tabs-B6omTiQk.d.ts +0 -2
- package/dist/components/ui/textarea-DlRILngG.d.ts +0 -2
- package/dist/components/ui/tooltip-C3dlvOcu.d.ts +0 -2
- package/dist/components-CjOwsud_.js +0 -0
- package/dist/dialog-O7j71U82.js +0 -87
- package/dist/dropdown-menu-ChXZkLy7.js +0 -124
- package/dist/file-upload-DPXO1W1r.js +0 -906
- package/dist/form-DITfwajn.js +0 -88
- package/dist/index-BRXix37V.d.ts +0 -1
- package/dist/index-CuzvJC30.d.ts +0 -1
- package/dist/index-DmFnvxaQ.d.ts +0 -1
- package/dist/index-mle9QVf7.d.ts +0 -31
- package/dist/input-Yyz-T5fE.js +0 -16
- package/dist/label-CAjd9Y0A.js +0 -16
- package/dist/lib/index-Cw9OTq6Z.d.ts +0 -2
- package/dist/lib/utils-BjeUWu6D.d.ts +0 -2
- package/dist/lib-IiLuXmGR.js +0 -0
- package/dist/pagination-X2x4H7jR.js +0 -80
- package/dist/popover-CfOLUbKw.js +0 -36
- package/dist/radio-group-4k6LZmww.js +0 -29
- package/dist/select-CXWDXh_t.js +0 -98
- package/dist/separator-BVBCxKBW.js +0 -18
- package/dist/sheet-BBbn5TK4.js +0 -83
- package/dist/slider-DZtuc6x6.js +0 -37
- package/dist/switch-C62hH2DB.js +0 -20
- package/dist/tabs-FcdB14CD.js +0 -37
- package/dist/tags-BAsyeRVu.js +0 -130
- package/dist/tags-input-inline-ClkRtl0N.js +0 -57
- package/dist/textarea-CmzvDEJd.d.ts +0 -10
- package/dist/textarea-DiUrRyYt.js +0 -15
- package/dist/tooltip-DVfEzbIm.js +0 -37
- package/dist/ui-8TGeeaIT.js +0 -0
- package/dist/utils-CeuVg6RA.js +0 -10
|
@@ -1,31 +1,31 @@
|
|
|
1
|
+
import * as react_jsx_runtime115 from "react/jsx-runtime";
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
import * as TagsInputPrimitive from "@diceui/tags-input";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/shadcn-io/tags-input-inline/index.d.ts
|
|
6
6
|
declare function TagsInputInLineRoot({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof TagsInputPrimitive.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof TagsInputPrimitive.Root>): react_jsx_runtime115.JSX.Element;
|
|
10
10
|
declare function TagsInputInLineLabel({
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof TagsInputPrimitive.Label>):
|
|
13
|
+
}: React.ComponentProps<typeof TagsInputPrimitive.Label>): react_jsx_runtime115.JSX.Element;
|
|
14
14
|
declare function TagsInputInLineList({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<'div'>):
|
|
17
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime115.JSX.Element;
|
|
18
18
|
declare function TagsInputInLineInput({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof TagsInputPrimitive.Input>):
|
|
21
|
+
}: React.ComponentProps<typeof TagsInputPrimitive.Input>): react_jsx_runtime115.JSX.Element;
|
|
22
22
|
declare function TagsInputInLineItem({
|
|
23
23
|
className,
|
|
24
24
|
children,
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<typeof TagsInputPrimitive.Item>):
|
|
26
|
+
}: React.ComponentProps<typeof TagsInputPrimitive.Item>): react_jsx_runtime115.JSX.Element;
|
|
27
27
|
declare function TagsInputInLineClear({
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<typeof TagsInputPrimitive.Clear>):
|
|
29
|
+
}: React.ComponentProps<typeof TagsInputPrimitive.Clear>): react_jsx_runtime115.JSX.Element;
|
|
30
30
|
//#endregion
|
|
31
|
-
export {
|
|
31
|
+
export { TagsInputInLineClear, TagsInputInLineInput, TagsInputInLineItem, TagsInputInLineLabel, TagsInputInLineList, TagsInputInLineRoot };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime113 from "react/jsx-runtime";
|
|
3
|
+
import * as TagsInputPrimitive from "@diceui/tags-input";
|
|
4
|
+
|
|
5
|
+
//#region src/components/ui/shadcn-io/tags-input-inline/index.d.ts
|
|
6
|
+
declare function TagsInputInLineRoot({
|
|
7
|
+
className,
|
|
8
|
+
...props
|
|
9
|
+
}: React.ComponentProps<typeof TagsInputPrimitive.Root>): react_jsx_runtime113.JSX.Element;
|
|
10
|
+
declare function TagsInputInLineLabel({
|
|
11
|
+
className,
|
|
12
|
+
...props
|
|
13
|
+
}: React.ComponentProps<typeof TagsInputPrimitive.Label>): react_jsx_runtime113.JSX.Element;
|
|
14
|
+
declare function TagsInputInLineList({
|
|
15
|
+
className,
|
|
16
|
+
...props
|
|
17
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime113.JSX.Element;
|
|
18
|
+
declare function TagsInputInLineInput({
|
|
19
|
+
className,
|
|
20
|
+
...props
|
|
21
|
+
}: React.ComponentProps<typeof TagsInputPrimitive.Input>): react_jsx_runtime113.JSX.Element;
|
|
22
|
+
declare function TagsInputInLineItem({
|
|
23
|
+
className,
|
|
24
|
+
children,
|
|
25
|
+
...props
|
|
26
|
+
}: React.ComponentProps<typeof TagsInputPrimitive.Item>): react_jsx_runtime113.JSX.Element;
|
|
27
|
+
declare function TagsInputInLineClear({
|
|
28
|
+
...props
|
|
29
|
+
}: React.ComponentProps<typeof TagsInputPrimitive.Clear>): react_jsx_runtime113.JSX.Element;
|
|
30
|
+
//#endregion
|
|
31
|
+
export { TagsInputInLineClear, TagsInputInLineInput, TagsInputInLineItem, TagsInputInLineLabel, TagsInputInLineList, TagsInputInLineRoot };
|
|
@@ -1,4 +1 @@
|
|
|
1
|
-
import "../../../../utils
|
|
2
|
-
import { a as TagsInputInLineList, i as TagsInputInLineLabel, n as TagsInputInLineInput, o as TagsInputInLineRoot, r as TagsInputInLineItem, t as TagsInputInLineClear } from "../../../../tags-input-inline-ClkRtl0N.js";
|
|
3
|
-
|
|
4
|
-
export { TagsInputInLineClear, TagsInputInLineInput, TagsInputInLineItem, TagsInputInLineLabel, TagsInputInLineList, TagsInputInLineRoot };
|
|
1
|
+
import{cn as e}from"../../../../lib/utils.js";import{jsx as t,jsxs as n}from"react/jsx-runtime";import{X as r}from"lucide-react";import*as i from"@diceui/tags-input";function a({className:n,...r}){return t(i.Root,{"data-slot":`tags-input`,className:e(`flex w-full flex-col`,n),...r})}function o({className:n,...r}){return t(i.Label,{"data-slot":`tags-input-label`,className:e(`font-medium text-sm leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70`,n),...r})}function s({className:n,...r}){return t(`div`,{"data-slot":`tags-input-list`,className:e(`flex min-h-10 w-full flex-wrap items-center gap-1.5 rounded-md border border-input bg-background px-3 py-2 text-sm focus-within:ring-1 focus-within:ring-ring disabled:cursor-not-allowed disabled:opacity-50`,n),...r})}function c({className:n,...r}){return t(i.Input,{"data-slot":`tags-input-input`,className:e(`flex-1 bg-transparent outline-hidden placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50`,n),...r})}function l({className:a,children:o,...s}){return n(i.Item,{"data-slot":`tags-input-item`,className:e(`inline-flex max-w-[calc(100%-8px)] items-center gap-1.5 rounded border bg-transparent px-2.5 py-1 text-sm focus:outline-hidden data-disabled:cursor-not-allowed data-editable:select-none data-editing:bg-transparent data-disabled:opacity-50 data-editing:ring-1 data-editing:ring-ring [&:not([data-editing])]:pr-1.5 [&[data-highlighted]:not([data-editing])]:bg-accent [&[data-highlighted]:not([data-editing])]:text-accent-foreground`,a),...s,children:[t(i.ItemText,{className:`truncate`,children:o}),t(i.ItemDelete,{className:`size-4 shrink-0 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100`,children:t(r,{className:`size-3.5`})})]})}function u({...e}){return t(i.Clear,{"data-slot":`tags-input-clear`,...e})}export{u as TagsInputInLineClear,c as TagsInputInLineInput,l as TagsInputInLineItem,o as TagsInputInLineLabel,s as TagsInputInLineList,a as TagsInputInLineRoot};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`../../_virtual/rolldown_runtime.cjs`),t=require(`../../lib/utils.cjs`);require(`../../lib/index.cjs`);let n=require(`react`);n=e.__toESM(n);let r=require(`react/jsx-runtime`);r=e.__toESM(r);let i=require(`lucide-react`);i=e.__toESM(i);let a=require(`@radix-ui/react-dialog`);a=e.__toESM(a);function o({...e}){return(0,r.jsx)(a.Root,{"data-slot":`sheet`,...e})}function s({...e}){return(0,r.jsx)(a.Trigger,{"data-slot":`sheet-trigger`,...e})}function c({...e}){return(0,r.jsx)(a.Close,{"data-slot":`sheet-close`,...e})}function l({...e}){return(0,r.jsx)(a.Portal,{"data-slot":`sheet-portal`,...e})}function u({className:e,...n}){return(0,r.jsx)(a.Overlay,{"data-slot":`sheet-overlay`,className:t.cn(`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`,e),...n})}function d({className:e,children:n,side:o=`right`,...s}){return(0,r.jsxs)(l,{children:[(0,r.jsx)(u,{}),(0,r.jsxs)(a.Content,{"data-slot":`sheet-content`,className:t.cn(`bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500`,o===`right`&&`data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm`,o===`left`&&`data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm`,o===`top`&&`data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b`,o===`bottom`&&`data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t`,e),...s,children:[n,(0,r.jsxs)(a.Close,{className:`ring-offset-background focus:ring-ring data-[state=open]:bg-secondary 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`,children:[(0,r.jsx)(i.XIcon,{className:`size-4`}),(0,r.jsx)(`span`,{className:`sr-only`,children:`Close`})]})]})]})}function f({className:e,...n}){return(0,r.jsx)(`div`,{"data-slot":`sheet-header`,className:t.cn(`flex flex-col gap-1.5 p-4`,e),...n})}function p({className:e,...n}){return(0,r.jsx)(`div`,{"data-slot":`sheet-footer`,className:t.cn(`mt-auto flex flex-col gap-2 p-4`,e),...n})}function m({className:e,...n}){return(0,r.jsx)(a.Title,{"data-slot":`sheet-title`,className:t.cn(`text-foreground font-semibold`,e),...n})}function h({className:e,...n}){return(0,r.jsx)(a.Description,{"data-slot":`sheet-description`,className:t.cn(`text-muted-foreground text-sm`,e),...n})}exports.Sheet=o,exports.SheetClose=c,exports.SheetContent=d,exports.SheetDescription=h,exports.SheetFooter=p,exports.SheetHeader=f,exports.SheetTitle=m,exports.SheetTrigger=s;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
+
import * as react_jsx_runtime130 from "react/jsx-runtime";
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import * as react_jsx_runtime59 from "react/jsx-runtime";
|
|
3
3
|
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/sheet.d.ts
|
|
6
6
|
declare function Sheet({
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof SheetPrimitive.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof SheetPrimitive.Root>): react_jsx_runtime130.JSX.Element;
|
|
9
9
|
declare function SheetTrigger({
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof SheetPrimitive.Trigger>):
|
|
11
|
+
}: React.ComponentProps<typeof SheetPrimitive.Trigger>): react_jsx_runtime130.JSX.Element;
|
|
12
12
|
declare function SheetClose({
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<typeof SheetPrimitive.Close>):
|
|
14
|
+
}: React.ComponentProps<typeof SheetPrimitive.Close>): react_jsx_runtime130.JSX.Element;
|
|
15
15
|
declare function SheetContent({
|
|
16
16
|
className,
|
|
17
17
|
children,
|
|
@@ -19,22 +19,22 @@ declare function SheetContent({
|
|
|
19
19
|
...props
|
|
20
20
|
}: React.ComponentProps<typeof SheetPrimitive.Content> & {
|
|
21
21
|
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
22
|
-
}):
|
|
22
|
+
}): react_jsx_runtime130.JSX.Element;
|
|
23
23
|
declare function SheetHeader({
|
|
24
24
|
className,
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<'div'>):
|
|
26
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime130.JSX.Element;
|
|
27
27
|
declare function SheetFooter({
|
|
28
28
|
className,
|
|
29
29
|
...props
|
|
30
|
-
}: React.ComponentProps<'div'>):
|
|
30
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime130.JSX.Element;
|
|
31
31
|
declare function SheetTitle({
|
|
32
32
|
className,
|
|
33
33
|
...props
|
|
34
|
-
}: React.ComponentProps<typeof SheetPrimitive.Title>):
|
|
34
|
+
}: React.ComponentProps<typeof SheetPrimitive.Title>): react_jsx_runtime130.JSX.Element;
|
|
35
35
|
declare function SheetDescription({
|
|
36
36
|
className,
|
|
37
37
|
...props
|
|
38
|
-
}: React.ComponentProps<typeof SheetPrimitive.Description>):
|
|
38
|
+
}: React.ComponentProps<typeof SheetPrimitive.Description>): react_jsx_runtime130.JSX.Element;
|
|
39
39
|
//#endregion
|
|
40
|
-
export {
|
|
40
|
+
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime119 from "react/jsx-runtime";
|
|
3
|
+
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
|
4
|
+
|
|
5
|
+
//#region src/components/ui/sheet.d.ts
|
|
6
|
+
declare function Sheet({
|
|
7
|
+
...props
|
|
8
|
+
}: React.ComponentProps<typeof SheetPrimitive.Root>): react_jsx_runtime119.JSX.Element;
|
|
9
|
+
declare function SheetTrigger({
|
|
10
|
+
...props
|
|
11
|
+
}: React.ComponentProps<typeof SheetPrimitive.Trigger>): react_jsx_runtime119.JSX.Element;
|
|
12
|
+
declare function SheetClose({
|
|
13
|
+
...props
|
|
14
|
+
}: React.ComponentProps<typeof SheetPrimitive.Close>): react_jsx_runtime119.JSX.Element;
|
|
15
|
+
declare function SheetContent({
|
|
16
|
+
className,
|
|
17
|
+
children,
|
|
18
|
+
side,
|
|
19
|
+
...props
|
|
20
|
+
}: React.ComponentProps<typeof SheetPrimitive.Content> & {
|
|
21
|
+
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
22
|
+
}): react_jsx_runtime119.JSX.Element;
|
|
23
|
+
declare function SheetHeader({
|
|
24
|
+
className,
|
|
25
|
+
...props
|
|
26
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime119.JSX.Element;
|
|
27
|
+
declare function SheetFooter({
|
|
28
|
+
className,
|
|
29
|
+
...props
|
|
30
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime119.JSX.Element;
|
|
31
|
+
declare function SheetTitle({
|
|
32
|
+
className,
|
|
33
|
+
...props
|
|
34
|
+
}: React.ComponentProps<typeof SheetPrimitive.Title>): react_jsx_runtime119.JSX.Element;
|
|
35
|
+
declare function SheetDescription({
|
|
36
|
+
className,
|
|
37
|
+
...props
|
|
38
|
+
}: React.ComponentProps<typeof SheetPrimitive.Description>): react_jsx_runtime119.JSX.Element;
|
|
39
|
+
//#endregion
|
|
40
|
+
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
import "../../utils
|
|
2
|
-
import "../../lib-IiLuXmGR.js";
|
|
3
|
-
import { a as SheetFooter, c as SheetTrigger, i as SheetDescription, n as SheetClose, o as SheetHeader, r as SheetContent, s as SheetTitle, t as Sheet } from "../../sheet-BBbn5TK4.js";
|
|
4
|
-
|
|
5
|
-
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };
|
|
1
|
+
import{cn as e}from"../../lib/utils.js";import"../../lib/index.js";import"react";import{jsx as t,jsxs as n}from"react/jsx-runtime";import{XIcon as r}from"lucide-react";import*as i from"@radix-ui/react-dialog";function a({...e}){return t(i.Root,{"data-slot":`sheet`,...e})}function o({...e}){return t(i.Trigger,{"data-slot":`sheet-trigger`,...e})}function s({...e}){return t(i.Close,{"data-slot":`sheet-close`,...e})}function c({...e}){return t(i.Portal,{"data-slot":`sheet-portal`,...e})}function l({className:n,...r}){return t(i.Overlay,{"data-slot":`sheet-overlay`,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`,n),...r})}function u({className:a,children:o,side:s=`right`,...u}){return n(c,{children:[t(l,{}),n(i.Content,{"data-slot":`sheet-content`,className:e(`bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500`,s===`right`&&`data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm`,s===`left`&&`data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm`,s===`top`&&`data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b`,s===`bottom`&&`data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t`,a),...u,children:[o,n(i.Close,{className:`ring-offset-background focus:ring-ring data-[state=open]:bg-secondary 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`,children:[t(r,{className:`size-4`}),t(`span`,{className:`sr-only`,children:`Close`})]})]})]})}function d({className:n,...r}){return t(`div`,{"data-slot":`sheet-header`,className:e(`flex flex-col gap-1.5 p-4`,n),...r})}function f({className:n,...r}){return t(`div`,{"data-slot":`sheet-footer`,className:e(`mt-auto flex flex-col gap-2 p-4`,n),...r})}function p({className:n,...r}){return t(i.Title,{"data-slot":`sheet-title`,className:e(`text-foreground font-semibold`,n),...r})}function m({className:n,...r}){return t(i.Description,{"data-slot":`sheet-description`,className:e(`text-muted-foreground text-sm`,n),...r})}export{a as Sheet,s as SheetClose,u as SheetContent,m as SheetDescription,f as SheetFooter,d as SheetHeader,p as SheetTitle,o as SheetTrigger};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`../../_virtual/rolldown_runtime.cjs`),t=require(`../../lib/utils.cjs`);require(`../../lib/index.cjs`);let n=require(`react`);n=e.__toESM(n);let r=require(`react/jsx-runtime`);r=e.__toESM(r);let i=require(`@radix-ui/react-slider`);i=e.__toESM(i);function a({className:e,defaultValue:a,value:o,min:s=0,max:c=100,...l}){let u=n.useMemo(()=>Array.isArray(o)?o:Array.isArray(a)?a:[s,c],[o,a,s,c]);return(0,r.jsxs)(i.Root,{"data-slot":`slider`,defaultValue:a,value:o,min:s,max:c,className:t.cn(`relative flex w-full touch-none items-center select-none data-[disabled]:opacity-50 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col`,e),...l,children:[(0,r.jsx)(i.Track,{"data-slot":`slider-track`,className:t.cn(`bg-muted relative grow overflow-hidden rounded-full data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5`),children:(0,r.jsx)(i.Range,{"data-slot":`slider-range`,className:t.cn(`bg-primary absolute data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full`)})}),Array.from({length:u.length},(e,t)=>(0,r.jsx)(i.Thumb,{"data-slot":`slider-thumb`,className:`border-primary ring-ring/50 block size-4 shrink-0 rounded-full border bg-white shadow-sm transition-[color,box-shadow] hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50`},t))]})}exports.Slider=a;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import * as react_jsx_runtime109 from "react/jsx-runtime";
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import * as react_jsx_runtime103 from "react/jsx-runtime";
|
|
3
3
|
import * as SliderPrimitive from "@radix-ui/react-slider";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/slider.d.ts
|
|
@@ -10,6 +10,6 @@ declare function Slider({
|
|
|
10
10
|
min,
|
|
11
11
|
max,
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof SliderPrimitive.Root>):
|
|
13
|
+
}: React.ComponentProps<typeof SliderPrimitive.Root>): react_jsx_runtime109.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
|
-
export { Slider
|
|
15
|
+
export { Slider };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime127 from "react/jsx-runtime";
|
|
3
|
+
import * as SliderPrimitive from "@radix-ui/react-slider";
|
|
4
|
+
|
|
5
|
+
//#region src/components/ui/slider.d.ts
|
|
6
|
+
declare function Slider({
|
|
7
|
+
className,
|
|
8
|
+
defaultValue,
|
|
9
|
+
value,
|
|
10
|
+
min,
|
|
11
|
+
max,
|
|
12
|
+
...props
|
|
13
|
+
}: React.ComponentProps<typeof SliderPrimitive.Root>): react_jsx_runtime127.JSX.Element;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { Slider };
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
import "../../utils
|
|
2
|
-
import "../../lib-IiLuXmGR.js";
|
|
3
|
-
import { t as Slider } from "../../slider-DZtuc6x6.js";
|
|
4
|
-
|
|
5
|
-
export { Slider };
|
|
1
|
+
import{cn as e}from"../../lib/utils.js";import"../../lib/index.js";import*as t from"react";import{jsx as n,jsxs as r}from"react/jsx-runtime";import*as i from"@radix-ui/react-slider";function a({className:a,defaultValue:o,value:s,min:c=0,max:l=100,...u}){let d=t.useMemo(()=>Array.isArray(s)?s:Array.isArray(o)?o:[c,l],[s,o,c,l]);return r(i.Root,{"data-slot":`slider`,defaultValue:o,value:s,min:c,max:l,className:e(`relative flex w-full touch-none items-center select-none data-[disabled]:opacity-50 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col`,a),...u,children:[n(i.Track,{"data-slot":`slider-track`,className:e(`bg-muted relative grow overflow-hidden rounded-full data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5`),children:n(i.Range,{"data-slot":`slider-range`,className:e(`bg-primary absolute data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full`)})}),Array.from({length:d.length},(e,t)=>n(i.Thumb,{"data-slot":`slider-thumb`,className:`border-primary ring-ring/50 block size-4 shrink-0 rounded-full border bg-white shadow-sm transition-[color,box-shadow] hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50`},t))]})}export{a as Slider};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";const e=require(`../../_virtual/rolldown_runtime.cjs`),t=require(`../../lib/utils.cjs`);require(`../../lib/index.cjs`);let n=require(`react`);n=e.__toESM(n);let r=require(`react/jsx-runtime`);r=e.__toESM(r);let i=require(`@radix-ui/react-switch`);i=e.__toESM(i);function a({className:e,...n}){return(0,r.jsx)(i.Root,{"data-slot":`switch`,className:t.cn(`peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50`,e),...n,children:(0,r.jsx)(i.Thumb,{"data-slot":`switch-thumb`,className:t.cn(`bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0`)})})}exports.Switch=a;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import * as react_jsx_runtime110 from "react/jsx-runtime";
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import * as react_jsx_runtime36 from "react/jsx-runtime";
|
|
3
3
|
import * as SwitchPrimitive from "@radix-ui/react-switch";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/switch.d.ts
|
|
6
6
|
declare function Switch({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof SwitchPrimitive.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof SwitchPrimitive.Root>): react_jsx_runtime110.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
|
-
export { Switch
|
|
11
|
+
export { Switch };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime128 from "react/jsx-runtime";
|
|
3
|
+
import * as SwitchPrimitive from "@radix-ui/react-switch";
|
|
4
|
+
|
|
5
|
+
//#region src/components/ui/switch.d.ts
|
|
6
|
+
declare function Switch({
|
|
7
|
+
className,
|
|
8
|
+
...props
|
|
9
|
+
}: React.ComponentProps<typeof SwitchPrimitive.Root>): react_jsx_runtime128.JSX.Element;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { Switch };
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import "../../utils-CeuVg6RA.js";
|
|
4
|
-
import "../../lib-IiLuXmGR.js";
|
|
5
|
-
import { t as Switch } from "../../switch-C62hH2DB.js";
|
|
6
|
-
|
|
7
|
-
export { Switch };
|
|
1
|
+
"use client";import{cn as e}from"../../lib/utils.js";import"../../lib/index.js";import"react";import{jsx as t}from"react/jsx-runtime";import*as n from"@radix-ui/react-switch";function r({className:r,...i}){return t(n.Root,{"data-slot":`switch`,className:e(`peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50`,r),...i,children:t(n.Thumb,{"data-slot":`switch-thumb`,className:e(`bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0`)})})}export{r as Switch};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`../../_virtual/rolldown_runtime.cjs`),t=require(`../../lib/utils.cjs`);require(`../../lib/index.cjs`);let n=require(`react`);n=e.__toESM(n);let r=require(`react/jsx-runtime`);r=e.__toESM(r);let i=require(`@radix-ui/react-tabs`);i=e.__toESM(i);function a({className:e,...n}){return(0,r.jsx)(i.Root,{"data-slot":`tabs`,className:t.cn(`flex flex-col gap-2`,e),...n})}function o({className:e,...n}){return(0,r.jsx)(i.List,{"data-slot":`tabs-list`,className:t.cn(`bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]`,e),...n})}function s({className:e,...n}){return(0,r.jsx)(i.Trigger,{"data-slot":`tabs-trigger`,className:t.cn(`data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,e),...n})}function c({className:e,...n}){return(0,r.jsx)(i.Content,{"data-slot":`tabs-content`,className:t.cn(`flex-1 outline-none`,e),...n})}exports.Tabs=a,exports.TabsContent=c,exports.TabsList=o,exports.TabsTrigger=s;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
+
import * as react_jsx_runtime111 from "react/jsx-runtime";
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import * as react_jsx_runtime47 from "react/jsx-runtime";
|
|
3
3
|
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/tabs.d.ts
|
|
6
6
|
declare function Tabs({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof TabsPrimitive.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof TabsPrimitive.Root>): react_jsx_runtime111.JSX.Element;
|
|
10
10
|
declare function TabsList({
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof TabsPrimitive.List>):
|
|
13
|
+
}: React.ComponentProps<typeof TabsPrimitive.List>): react_jsx_runtime111.JSX.Element;
|
|
14
14
|
declare function TabsTrigger({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof TabsPrimitive.Trigger>):
|
|
17
|
+
}: React.ComponentProps<typeof TabsPrimitive.Trigger>): react_jsx_runtime111.JSX.Element;
|
|
18
18
|
declare function TabsContent({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof TabsPrimitive.Content>):
|
|
21
|
+
}: React.ComponentProps<typeof TabsPrimitive.Content>): react_jsx_runtime111.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
|
-
export {
|
|
23
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime129 from "react/jsx-runtime";
|
|
3
|
+
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
4
|
+
|
|
5
|
+
//#region src/components/ui/tabs.d.ts
|
|
6
|
+
declare function Tabs({
|
|
7
|
+
className,
|
|
8
|
+
...props
|
|
9
|
+
}: React.ComponentProps<typeof TabsPrimitive.Root>): react_jsx_runtime129.JSX.Element;
|
|
10
|
+
declare function TabsList({
|
|
11
|
+
className,
|
|
12
|
+
...props
|
|
13
|
+
}: React.ComponentProps<typeof TabsPrimitive.List>): react_jsx_runtime129.JSX.Element;
|
|
14
|
+
declare function TabsTrigger({
|
|
15
|
+
className,
|
|
16
|
+
...props
|
|
17
|
+
}: React.ComponentProps<typeof TabsPrimitive.Trigger>): react_jsx_runtime129.JSX.Element;
|
|
18
|
+
declare function TabsContent({
|
|
19
|
+
className,
|
|
20
|
+
...props
|
|
21
|
+
}: React.ComponentProps<typeof TabsPrimitive.Content>): react_jsx_runtime129.JSX.Element;
|
|
22
|
+
//#endregion
|
|
23
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
import "../../utils
|
|
2
|
-
import "../../lib-IiLuXmGR.js";
|
|
3
|
-
import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs } from "../../tabs-FcdB14CD.js";
|
|
4
|
-
|
|
5
|
-
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
|
1
|
+
import{cn as e}from"../../lib/utils.js";import"../../lib/index.js";import"react";import{jsx as t}from"react/jsx-runtime";import*as n from"@radix-ui/react-tabs";function r({className:r,...i}){return t(n.Root,{"data-slot":`tabs`,className:e(`flex flex-col gap-2`,r),...i})}function i({className:r,...i}){return t(n.List,{"data-slot":`tabs-list`,className:e(`bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]`,r),...i})}function a({className:r,...i}){return t(n.Trigger,{"data-slot":`tabs-trigger`,className:e(`data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,r),...i})}function o({className:r,...i}){return t(n.Content,{"data-slot":`tabs-content`,className:e(`flex-1 outline-none`,r),...i})}export{r as Tabs,o as TabsContent,i as TabsList,a as TabsTrigger};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`../../_virtual/rolldown_runtime.cjs`),t=require(`../../lib/utils.cjs`);require(`../../lib/index.cjs`);let n=require(`react`);n=e.__toESM(n);let r=require(`react/jsx-runtime`);r=e.__toESM(r);function i({className:e,...n}){return(0,r.jsx)(`textarea`,{"data-slot":`textarea`,className:t.cn(`border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm`,e),...n})}exports.Textarea=i;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react_jsx_runtime121 from "react/jsx-runtime";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/ui/textarea.d.ts
|
|
5
|
+
declare function Textarea({
|
|
6
|
+
className,
|
|
7
|
+
...props
|
|
8
|
+
}: React.ComponentProps<'textarea'>): react_jsx_runtime121.JSX.Element;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { Textarea };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime137 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/components/ui/textarea.d.ts
|
|
5
|
+
declare function Textarea({
|
|
6
|
+
className,
|
|
7
|
+
...props
|
|
8
|
+
}: React.ComponentProps<'textarea'>): react_jsx_runtime137.JSX.Element;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { Textarea };
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
import "../../utils
|
|
2
|
-
import "../../lib-IiLuXmGR.js";
|
|
3
|
-
import { t as Textarea } from "../../textarea-DiUrRyYt.js";
|
|
4
|
-
|
|
5
|
-
export { Textarea };
|
|
1
|
+
import{cn as e}from"../../lib/utils.js";import"../../lib/index.js";import"react";import{jsx as t}from"react/jsx-runtime";function n({className:n,...r}){return t(`textarea`,{"data-slot":`textarea`,className:e(`border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm`,n),...r})}export{n as Textarea};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`../../_virtual/rolldown_runtime.cjs`),t=require(`../../lib/utils.cjs`);require(`../../lib/index.cjs`);let n=require(`react`);n=e.__toESM(n);let r=require(`react/jsx-runtime`);r=e.__toESM(r);let i=require(`@radix-ui/react-tooltip`);i=e.__toESM(i);function a({delayDuration:e=0,...t}){return(0,r.jsx)(i.Provider,{"data-slot":`tooltip-provider`,delayDuration:e,...t})}function o({...e}){return(0,r.jsx)(a,{children:(0,r.jsx)(i.Root,{"data-slot":`tooltip`,...e})})}function s({...e}){return(0,r.jsx)(i.Trigger,{"data-slot":`tooltip-trigger`,...e})}function c({className:e,sideOffset:n=0,children:a,...o}){return(0,r.jsx)(i.Portal,{children:(0,r.jsxs)(i.Content,{"data-slot":`tooltip-content`,sideOffset:n,className:t.cn(`bg-foreground text-background 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`,e),...o,children:[a,(0,r.jsx)(i.Arrow,{className:`bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]`})]})})}exports.Tooltip=o,exports.TooltipContent=c,exports.TooltipProvider=a,exports.TooltipTrigger=s;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
+
import * as react_jsx_runtime105 from "react/jsx-runtime";
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
import * as react_jsx_runtime89 from "react/jsx-runtime";
|
|
3
3
|
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/tooltip.d.ts
|
|
6
6
|
declare function TooltipProvider({
|
|
7
7
|
delayDuration,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof TooltipPrimitive.Provider>):
|
|
9
|
+
}: React.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime105.JSX.Element;
|
|
10
10
|
declare function Tooltip({
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof TooltipPrimitive.Root>):
|
|
12
|
+
}: React.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime105.JSX.Element;
|
|
13
13
|
declare function TooltipTrigger({
|
|
14
14
|
...props
|
|
15
|
-
}: React.ComponentProps<typeof TooltipPrimitive.Trigger>):
|
|
15
|
+
}: React.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime105.JSX.Element;
|
|
16
16
|
declare function TooltipContent({
|
|
17
17
|
className,
|
|
18
18
|
sideOffset,
|
|
19
19
|
children,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof TooltipPrimitive.Content>):
|
|
21
|
+
}: React.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime105.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
|
-
export {
|
|
23
|
+
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime133 from "react/jsx-runtime";
|
|
3
|
+
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
4
|
+
|
|
5
|
+
//#region src/components/ui/tooltip.d.ts
|
|
6
|
+
declare function TooltipProvider({
|
|
7
|
+
delayDuration,
|
|
8
|
+
...props
|
|
9
|
+
}: React.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime133.JSX.Element;
|
|
10
|
+
declare function Tooltip({
|
|
11
|
+
...props
|
|
12
|
+
}: React.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime133.JSX.Element;
|
|
13
|
+
declare function TooltipTrigger({
|
|
14
|
+
...props
|
|
15
|
+
}: React.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime133.JSX.Element;
|
|
16
|
+
declare function TooltipContent({
|
|
17
|
+
className,
|
|
18
|
+
sideOffset,
|
|
19
|
+
children,
|
|
20
|
+
...props
|
|
21
|
+
}: React.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime133.JSX.Element;
|
|
22
|
+
//#endregion
|
|
23
|
+
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
import "../../utils
|
|
2
|
-
import "../../lib-IiLuXmGR.js";
|
|
3
|
-
import { i as TooltipTrigger, n as TooltipContent, r as TooltipProvider, t as Tooltip } from "../../tooltip-DVfEzbIm.js";
|
|
4
|
-
|
|
5
|
-
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
|
1
|
+
import{cn as e}from"../../lib/utils.js";import"../../lib/index.js";import"react";import{jsx as t,jsxs as n}from"react/jsx-runtime";import*as r from"@radix-ui/react-tooltip";function i({delayDuration:e=0,...n}){return t(r.Provider,{"data-slot":`tooltip-provider`,delayDuration:e,...n})}function a({...e}){return t(i,{children:t(r.Root,{"data-slot":`tooltip`,...e})})}function o({...e}){return t(r.Trigger,{"data-slot":`tooltip-trigger`,...e})}function s({className:i,sideOffset:a=0,children:o,...s}){return t(r.Portal,{children:n(r.Content,{"data-slot":`tooltip-content`,sideOffset:a,className:e(`bg-foreground text-background 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),...s,children:[o,t(r.Arrow,{className:`bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]`})]})})}export{a as Tooltip,s as TooltipContent,i as TooltipProvider,o as TooltipTrigger};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "react/jsx-runtime";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as class_variance_authority_types1 from "class-variance-authority/types";
|
|
2
|
+
import * as react_jsx_runtime72 from "react/jsx-runtime";
|
|
3
|
+
import { VariantProps } from "class-variance-authority";
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
|
|
6
|
+
//#region dist/components/ui/button.d.ts
|
|
7
|
+
//#region src/components/ui/button.d.ts
|
|
8
|
+
declare const buttonVariants: (props?: ({
|
|
9
|
+
variant?: "default" | "destructive" | "secondary" | "outline" | "ghost" | "link" | null | undefined;
|
|
10
|
+
size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
|
|
11
|
+
} & class_variance_authority_types1.ClassProp) | undefined) => string;
|
|
12
|
+
declare function Button({
|
|
13
|
+
className,
|
|
14
|
+
variant,
|
|
15
|
+
size,
|
|
16
|
+
asChild,
|
|
17
|
+
...props
|
|
18
|
+
}: React.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
|
|
19
|
+
asChild?: boolean;
|
|
20
|
+
}): react_jsx_runtime72.JSX.Element;
|
|
21
|
+
//#endregion
|
|
22
|
+
//#endregion
|
|
23
|
+
export { Button, buttonVariants };
|