@tapcart/mobile-components 0.2.0 → 0.2.2
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/index.d.mts +226 -0
- package/dist/index.mjs +3978 -0
- package/dist/index.mjs.map +1 -0
- package/dist/{globals.css → styles.css} +186 -14
- package/package.json +5 -5
- package/README.md +0 -264
- package/dist/README.md +0 -264
- package/dist/components/ThemeProvider.d.ts +0 -3
- package/dist/components/ThemeProvider.d.ts.map +0 -1
- package/dist/components/ThemeProvider.js +0 -18
- package/dist/components/ThemeToggle.d.ts +0 -2
- package/dist/components/ThemeToggle.d.ts.map +0 -1
- package/dist/components/ThemeToggle.js +0 -8
- package/dist/components/ui/accordion.d.ts +0 -8
- package/dist/components/ui/accordion.d.ts.map +0 -1
- package/dist/components/ui/accordion.js +0 -34
- package/dist/components/ui/alert-dialog.d.ts +0 -21
- package/dist/components/ui/alert-dialog.d.ts.map +0 -1
- package/dist/components/ui/alert-dialog.js +0 -62
- package/dist/components/ui/aspect-ratio.d.ts +0 -5
- package/dist/components/ui/aspect-ratio.d.ts.map +0 -1
- package/dist/components/ui/aspect-ratio.js +0 -4
- package/dist/components/ui/badge.d.ts +0 -10
- package/dist/components/ui/badge.d.ts.map +0 -1
- package/dist/components/ui/badge.js +0 -32
- package/dist/components/ui/button.d.ts +0 -13
- package/dist/components/ui/button.d.ts.map +0 -1
- package/dist/components/ui/button.js +0 -52
- package/dist/components/ui/carousel.d.ts +0 -19
- package/dist/components/ui/carousel.d.ts.map +0 -1
- package/dist/components/ui/carousel.js +0 -112
- package/dist/components/ui/chip.d.ts +0 -25
- package/dist/components/ui/chip.d.ts.map +0 -1
- package/dist/components/ui/chip.js +0 -47
- package/dist/components/ui/container.d.ts +0 -10
- package/dist/components/ui/container.d.ts.map +0 -1
- package/dist/components/ui/container.js +0 -26
- package/dist/components/ui/grid.d.ts +0 -14
- package/dist/components/ui/grid.d.ts.map +0 -1
- package/dist/components/ui/grid.js +0 -33
- package/dist/components/ui/icon.d.ts +0 -11
- package/dist/components/ui/icon.d.ts.map +0 -1
- package/dist/components/ui/icon.js +0 -30
- package/dist/components/ui/input.d.ts +0 -6
- package/dist/components/ui/input.d.ts.map +0 -1
- package/dist/components/ui/input.js +0 -20
- package/dist/components/ui/label.d.ts +0 -6
- package/dist/components/ui/label.d.ts.map +0 -1
- package/dist/components/ui/label.js +0 -24
- package/dist/components/ui/money.d.ts +0 -12
- package/dist/components/ui/money.d.ts.map +0 -1
- package/dist/components/ui/money.js +0 -30
- package/dist/components/ui/scroll-area.d.ts +0 -9
- package/dist/components/ui/scroll-area.d.ts.map +0 -1
- package/dist/components/ui/scroll-area.js +0 -29
- package/dist/components/ui/separator.d.ts +0 -5
- package/dist/components/ui/separator.d.ts.map +0 -1
- package/dist/components/ui/separator.js +0 -22
- package/dist/components/ui/skeleton.d.ts +0 -4
- package/dist/components/ui/skeleton.d.ts.map +0 -1
- package/dist/components/ui/skeleton.js +0 -18
- package/dist/components/ui/switch.d.ts +0 -5
- package/dist/components/ui/switch.d.ts.map +0 -1
- package/dist/components/ui/switch.js +0 -22
- package/dist/components/ui/text.d.ts +0 -10
- package/dist/components/ui/text.d.ts.map +0 -1
- package/dist/components/ui/text.js +0 -33
- package/dist/components/ui/toast.d.ts +0 -16
- package/dist/components/ui/toast.d.ts.map +0 -1
- package/dist/components/ui/toast.js +0 -61
- package/dist/components/ui/toaster.d.ts +0 -2
- package/dist/components/ui/toaster.d.ts.map +0 -1
- package/dist/components/ui/toaster.js +0 -22
- package/dist/components/ui/toggle-group.d.ts +0 -13
- package/dist/components/ui/toggle-group.d.ts.map +0 -1
- package/dist/components/ui/toggle-group.js +0 -36
- package/dist/components/ui/toggle.d.ts +0 -13
- package/dist/components/ui/toggle.d.ts.map +0 -1
- package/dist/components/ui/toggle.js +0 -40
- package/dist/components/ui/use-toast.d.ts +0 -45
- package/dist/components/ui/use-toast.d.ts.map +0 -1
- package/dist/components/ui/use-toast.js +0 -112
- package/dist/components/ui/video.d.ts +0 -8
- package/dist/components/ui/video.d.ts.map +0 -1
- package/dist/components/ui/video.js +0 -22
- package/dist/index.d.ts +0 -27
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -27
- package/dist/lib/utils.d.ts +0 -3
- package/dist/lib/utils.d.ts.map +0 -1
- package/dist/lib/utils.js +0 -5
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
-
var t = {};
|
|
3
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
-
t[p] = s[p];
|
|
5
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
-
t[p[i]] = s[p[i]];
|
|
9
|
-
}
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
12
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
import { cva } from "class-variance-authority";
|
|
14
|
-
import { cn } from "../../lib/utils";
|
|
15
|
-
const textVariants = cva("", {
|
|
16
|
-
variants: {
|
|
17
|
-
type: {
|
|
18
|
-
h1: "text-2xl font-normal text-[#121212]",
|
|
19
|
-
h2: "text-xl font-medium text-[#121212]",
|
|
20
|
-
body: "text-base font-normal text-[#121212]",
|
|
21
|
-
paragraph: "text-sm font-normal text-[#727272]",
|
|
22
|
-
label: "text-xs font-normal text-[#727272]",
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
defaultVariants: {
|
|
26
|
-
type: "body",
|
|
27
|
-
},
|
|
28
|
-
});
|
|
29
|
-
function Text(_a) {
|
|
30
|
-
var { className, type } = _a, props = __rest(_a, ["className", "type"]);
|
|
31
|
-
return _jsx("p", Object.assign({ className: cn(textVariants({ type }), className) }, props));
|
|
32
|
-
}
|
|
33
|
-
export { Text, textVariants };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as ToastPrimitives from "@radix-ui/react-toast";
|
|
3
|
-
import { type VariantProps } from "class-variance-authority";
|
|
4
|
-
declare const ToastProvider: React.FC<ToastPrimitives.ToastProviderProps>;
|
|
5
|
-
declare const ToastViewport: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React.RefAttributes<HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
|
|
6
|
-
declare const Toast: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
|
|
7
|
-
variant?: "default" | "destructive" | null | undefined;
|
|
8
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLLIElement>>;
|
|
9
|
-
declare const ToastAction: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
10
|
-
declare const ToastClose: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
11
|
-
declare const ToastTitle: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastTitleProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
-
declare const ToastDescription: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastDescriptionProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
-
type ToastProps = React.ComponentPropsWithoutRef<typeof Toast>;
|
|
14
|
-
type ToastActionElement = React.ReactElement<typeof ToastAction>;
|
|
15
|
-
export { type ToastProps, type ToastActionElement, ToastProvider, ToastViewport, Toast, ToastTitle, ToastDescription, ToastClose, ToastAction, };
|
|
16
|
-
//# sourceMappingURL=toast.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../../../components/ui/toast.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,eAAe,MAAM,uBAAuB,CAAA;AACxD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAKjE,QAAA,MAAM,aAAa,8CAA2B,CAAA;AAE9C,QAAA,MAAM,aAAa,kKAYjB,CAAA;AAmBF,QAAA,MAAM,KAAK;;0HAYT,CAAA;AAGF,QAAA,MAAM,WAAW,kKAYf,CAAA;AAGF,QAAA,MAAM,UAAU,iKAed,CAAA;AAGF,QAAA,MAAM,UAAU,2JASd,CAAA;AAGF,QAAA,MAAM,gBAAgB,iKASpB,CAAA;AAGF,KAAK,UAAU,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,KAAK,CAAC,CAAA;AAE9D,KAAK,kBAAkB,GAAG,KAAK,CAAC,YAAY,CAAC,OAAO,WAAW,CAAC,CAAA;AAEhE,OAAO,EACL,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,aAAa,EACb,aAAa,EACb,KAAK,EACL,UAAU,EACV,gBAAgB,EAChB,UAAU,EACV,WAAW,GACZ,CAAA"}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
-
var t = {};
|
|
4
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
-
t[p] = s[p];
|
|
6
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
-
t[p[i]] = s[p[i]];
|
|
10
|
-
}
|
|
11
|
-
return t;
|
|
12
|
-
};
|
|
13
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
-
import * as React from "react";
|
|
15
|
-
import * as ToastPrimitives from "@radix-ui/react-toast";
|
|
16
|
-
import { cva } from "class-variance-authority";
|
|
17
|
-
import { X } from "lucide-react";
|
|
18
|
-
import { cn } from "../../lib/utils";
|
|
19
|
-
const ToastProvider = ToastPrimitives.Provider;
|
|
20
|
-
const ToastViewport = React.forwardRef((_a, ref) => {
|
|
21
|
-
var { className } = _a, props = __rest(_a, ["className"]);
|
|
22
|
-
return (_jsx(ToastPrimitives.Viewport, Object.assign({ ref: ref, className: cn("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]", className) }, props)));
|
|
23
|
-
});
|
|
24
|
-
ToastViewport.displayName = ToastPrimitives.Viewport.displayName;
|
|
25
|
-
const toastVariants = cva("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full", {
|
|
26
|
-
variants: {
|
|
27
|
-
variant: {
|
|
28
|
-
default: "border bg-background text-foreground",
|
|
29
|
-
destructive: "destructive group border-destructive bg-destructive text-destructive-foreground",
|
|
30
|
-
},
|
|
31
|
-
},
|
|
32
|
-
defaultVariants: {
|
|
33
|
-
variant: "default",
|
|
34
|
-
},
|
|
35
|
-
});
|
|
36
|
-
const Toast = React.forwardRef((_a, ref) => {
|
|
37
|
-
var { className, variant } = _a, props = __rest(_a, ["className", "variant"]);
|
|
38
|
-
return (_jsx(ToastPrimitives.Root, Object.assign({ ref: ref, className: cn(toastVariants({ variant }), className) }, props)));
|
|
39
|
-
});
|
|
40
|
-
Toast.displayName = ToastPrimitives.Root.displayName;
|
|
41
|
-
const ToastAction = React.forwardRef((_a, ref) => {
|
|
42
|
-
var { className } = _a, props = __rest(_a, ["className"]);
|
|
43
|
-
return (_jsx(ToastPrimitives.Action, Object.assign({ ref: ref, className: cn("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive", className) }, props)));
|
|
44
|
-
});
|
|
45
|
-
ToastAction.displayName = ToastPrimitives.Action.displayName;
|
|
46
|
-
const ToastClose = React.forwardRef((_a, ref) => {
|
|
47
|
-
var { className } = _a, props = __rest(_a, ["className"]);
|
|
48
|
-
return (_jsx(ToastPrimitives.Close, Object.assign({ ref: ref, className: cn("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600", className), "toast-close": "" }, props, { children: _jsx(X, { className: "h-4 w-4" }) })));
|
|
49
|
-
});
|
|
50
|
-
ToastClose.displayName = ToastPrimitives.Close.displayName;
|
|
51
|
-
const ToastTitle = React.forwardRef((_a, ref) => {
|
|
52
|
-
var { className } = _a, props = __rest(_a, ["className"]);
|
|
53
|
-
return (_jsx(ToastPrimitives.Title, Object.assign({ ref: ref, className: cn("text-sm font-semibold", className) }, props)));
|
|
54
|
-
});
|
|
55
|
-
ToastTitle.displayName = ToastPrimitives.Title.displayName;
|
|
56
|
-
const ToastDescription = React.forwardRef((_a, ref) => {
|
|
57
|
-
var { className } = _a, props = __rest(_a, ["className"]);
|
|
58
|
-
return (_jsx(ToastPrimitives.Description, Object.assign({ ref: ref, className: cn("text-sm opacity-90", className) }, props)));
|
|
59
|
-
});
|
|
60
|
-
ToastDescription.displayName = ToastPrimitives.Description.displayName;
|
|
61
|
-
export { ToastProvider, ToastViewport, Toast, ToastTitle, ToastDescription, ToastClose, ToastAction, };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"toaster.d.ts","sourceRoot":"","sources":["../../../components/ui/toaster.tsx"],"names":[],"mappings":"AAYA,wBAAgB,OAAO,4CAsBtB"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
-
var t = {};
|
|
4
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
-
t[p] = s[p];
|
|
6
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
-
t[p[i]] = s[p[i]];
|
|
10
|
-
}
|
|
11
|
-
return t;
|
|
12
|
-
};
|
|
13
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
|
-
import { Toast, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, } from "../../components/ui/toast";
|
|
15
|
-
import { useToast } from "../../components/ui/use-toast";
|
|
16
|
-
export function Toaster() {
|
|
17
|
-
const { toasts } = useToast();
|
|
18
|
-
return (_jsxs(ToastProvider, { children: [toasts.map(function (_a) {
|
|
19
|
-
var { id, title, description, action } = _a, props = __rest(_a, ["id", "title", "description", "action"]);
|
|
20
|
-
return (_jsxs(Toast, Object.assign({}, props, { children: [_jsxs("div", Object.assign({ className: "grid gap-1" }, { children: [title && _jsx(ToastTitle, { children: title }), description && (_jsx(ToastDescription, { children: description }))] })), action, _jsx(ToastClose, {})] }), id));
|
|
21
|
-
}), _jsx(ToastViewport, {})] }));
|
|
22
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
|
|
3
|
-
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
declare const ToggleGroup: React.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
|
|
5
|
-
variant?: "default" | "outline" | null | undefined;
|
|
6
|
-
size?: "default" | "sm" | "lg" | null | undefined;
|
|
7
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string>) & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
-
declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
9
|
-
variant?: "default" | "outline" | null | undefined;
|
|
10
|
-
size?: "default" | "sm" | "lg" | null | undefined;
|
|
11
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
|
|
12
|
-
export { ToggleGroup, ToggleGroupItem };
|
|
13
|
-
//# sourceMappingURL=toggle-group.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"toggle-group.d.ts","sourceRoot":"","sources":["../../../components/ui/toggle-group.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,oBAAoB,MAAM,8BAA8B,CAAA;AACpE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAYvD,QAAA,MAAM,WAAW;;;4HAcf,CAAA;AAIF,QAAA,MAAM,eAAe;;;8HAsBnB,CAAA;AAIF,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,CAAA"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
-
var t = {};
|
|
4
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
-
t[p] = s[p];
|
|
6
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
-
t[p[i]] = s[p[i]];
|
|
10
|
-
}
|
|
11
|
-
return t;
|
|
12
|
-
};
|
|
13
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
-
import * as React from "react";
|
|
15
|
-
import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
|
|
16
|
-
import { cn } from "../../lib/utils";
|
|
17
|
-
import { toggleVariants } from "../../components/ui/toggle";
|
|
18
|
-
const ToggleGroupContext = React.createContext({
|
|
19
|
-
size: "default",
|
|
20
|
-
variant: "default",
|
|
21
|
-
});
|
|
22
|
-
const ToggleGroup = React.forwardRef((_a, ref) => {
|
|
23
|
-
var { className, variant, size, children } = _a, props = __rest(_a, ["className", "variant", "size", "children"]);
|
|
24
|
-
return (_jsx(ToggleGroupPrimitive.Root, Object.assign({ ref: ref, className: cn("flex items-center justify-center gap-1", className) }, props, { children: _jsx(ToggleGroupContext.Provider, Object.assign({ value: { variant, size } }, { children: children })) })));
|
|
25
|
-
});
|
|
26
|
-
ToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;
|
|
27
|
-
const ToggleGroupItem = React.forwardRef((_a, ref) => {
|
|
28
|
-
var { className, children, variant, size } = _a, props = __rest(_a, ["className", "children", "variant", "size"]);
|
|
29
|
-
const context = React.useContext(ToggleGroupContext);
|
|
30
|
-
return (_jsx(ToggleGroupPrimitive.Item, Object.assign({ ref: ref, className: cn(toggleVariants({
|
|
31
|
-
variant: context.variant || variant,
|
|
32
|
-
size: context.size || size,
|
|
33
|
-
}), className) }, props, { children: children })));
|
|
34
|
-
});
|
|
35
|
-
ToggleGroupItem.displayName = ToggleGroupPrimitive.Item.displayName;
|
|
36
|
-
export { ToggleGroup, ToggleGroupItem };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as TogglePrimitive from "@radix-ui/react-toggle";
|
|
3
|
-
import { type VariantProps } from "class-variance-authority";
|
|
4
|
-
declare const toggleVariants: (props?: ({
|
|
5
|
-
variant?: "default" | "outline" | null | undefined;
|
|
6
|
-
size?: "default" | "sm" | "lg" | null | undefined;
|
|
7
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
8
|
-
declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
9
|
-
variant?: "default" | "outline" | null | undefined;
|
|
10
|
-
size?: "default" | "sm" | "lg" | null | undefined;
|
|
11
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
|
|
12
|
-
export { Toggle, toggleVariants };
|
|
13
|
-
//# sourceMappingURL=toggle.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"toggle.d.ts","sourceRoot":"","sources":["../../../components/ui/toggle.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AACzD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAIjE,QAAA,MAAM,cAAc;;;mFAoBnB,CAAA;AAED,QAAA,MAAM,MAAM;;;8HAUV,CAAA;AAIF,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
-
var t = {};
|
|
4
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
-
t[p] = s[p];
|
|
6
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
-
t[p[i]] = s[p[i]];
|
|
10
|
-
}
|
|
11
|
-
return t;
|
|
12
|
-
};
|
|
13
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
-
import * as React from "react";
|
|
15
|
-
import * as TogglePrimitive from "@radix-ui/react-toggle";
|
|
16
|
-
import { cva } from "class-variance-authority";
|
|
17
|
-
import { cn } from "../../lib/utils";
|
|
18
|
-
const toggleVariants = cva("inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground", {
|
|
19
|
-
variants: {
|
|
20
|
-
variant: {
|
|
21
|
-
default: "bg-transparent",
|
|
22
|
-
outline: "border border-input bg-transparent hover:bg-accent hover:text-accent-foreground",
|
|
23
|
-
},
|
|
24
|
-
size: {
|
|
25
|
-
default: "h-10 px-3",
|
|
26
|
-
sm: "h-9 px-2.5",
|
|
27
|
-
lg: "h-11 px-5",
|
|
28
|
-
},
|
|
29
|
-
},
|
|
30
|
-
defaultVariants: {
|
|
31
|
-
variant: "default",
|
|
32
|
-
size: "default",
|
|
33
|
-
},
|
|
34
|
-
});
|
|
35
|
-
const Toggle = React.forwardRef((_a, ref) => {
|
|
36
|
-
var { className, variant, size } = _a, props = __rest(_a, ["className", "variant", "size"]);
|
|
37
|
-
return (_jsx(TogglePrimitive.Root, Object.assign({ ref: ref, className: cn(toggleVariants({ variant, size, className })) }, props)));
|
|
38
|
-
});
|
|
39
|
-
Toggle.displayName = TogglePrimitive.Root.displayName;
|
|
40
|
-
export { Toggle, toggleVariants };
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import type { ToastActionElement, ToastProps } from "../../components/ui/toast";
|
|
3
|
-
type ToasterToast = ToastProps & {
|
|
4
|
-
id: string;
|
|
5
|
-
title?: React.ReactNode;
|
|
6
|
-
description?: React.ReactNode;
|
|
7
|
-
action?: ToastActionElement;
|
|
8
|
-
};
|
|
9
|
-
declare const actionTypes: {
|
|
10
|
-
readonly ADD_TOAST: "ADD_TOAST";
|
|
11
|
-
readonly UPDATE_TOAST: "UPDATE_TOAST";
|
|
12
|
-
readonly DISMISS_TOAST: "DISMISS_TOAST";
|
|
13
|
-
readonly REMOVE_TOAST: "REMOVE_TOAST";
|
|
14
|
-
};
|
|
15
|
-
type ActionType = typeof actionTypes;
|
|
16
|
-
type Action = {
|
|
17
|
-
type: ActionType["ADD_TOAST"];
|
|
18
|
-
toast: ToasterToast;
|
|
19
|
-
} | {
|
|
20
|
-
type: ActionType["UPDATE_TOAST"];
|
|
21
|
-
toast: Partial<ToasterToast>;
|
|
22
|
-
} | {
|
|
23
|
-
type: ActionType["DISMISS_TOAST"];
|
|
24
|
-
toastId?: ToasterToast["id"];
|
|
25
|
-
} | {
|
|
26
|
-
type: ActionType["REMOVE_TOAST"];
|
|
27
|
-
toastId?: ToasterToast["id"];
|
|
28
|
-
};
|
|
29
|
-
interface State {
|
|
30
|
-
toasts: ToasterToast[];
|
|
31
|
-
}
|
|
32
|
-
export declare const reducer: (state: State, action: Action) => State;
|
|
33
|
-
type Toast = Omit<ToasterToast, "id">;
|
|
34
|
-
declare function toast({ ...props }: Toast): {
|
|
35
|
-
id: string;
|
|
36
|
-
dismiss: () => void;
|
|
37
|
-
update: (props: ToasterToast) => void;
|
|
38
|
-
};
|
|
39
|
-
declare function useToast(): {
|
|
40
|
-
toast: typeof toast;
|
|
41
|
-
dismiss: (toastId?: string) => void;
|
|
42
|
-
toasts: ToasterToast[];
|
|
43
|
-
};
|
|
44
|
-
export { useToast, toast };
|
|
45
|
-
//# sourceMappingURL=use-toast.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-toast.d.ts","sourceRoot":"","sources":["../../../components/ui/use-toast.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AAK/E,KAAK,YAAY,GAAG,UAAU,GAAG;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACvB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC7B,MAAM,CAAC,EAAE,kBAAkB,CAAA;CAC5B,CAAA;AAED,QAAA,MAAM,WAAW;;;;;CAKP,CAAA;AASV,KAAK,UAAU,GAAG,OAAO,WAAW,CAAA;AAEpC,KAAK,MAAM,GACP;IACE,IAAI,EAAE,UAAU,CAAC,WAAW,CAAC,CAAA;IAC7B,KAAK,EAAE,YAAY,CAAA;CACpB,GACD;IACE,IAAI,EAAE,UAAU,CAAC,cAAc,CAAC,CAAA;IAChC,KAAK,EAAE,OAAO,CAAC,YAAY,CAAC,CAAA;CAC7B,GACD;IACE,IAAI,EAAE,UAAU,CAAC,eAAe,CAAC,CAAA;IACjC,OAAO,CAAC,EAAE,YAAY,CAAC,IAAI,CAAC,CAAA;CAC7B,GACD;IACE,IAAI,EAAE,UAAU,CAAC,cAAc,CAAC,CAAA;IAChC,OAAO,CAAC,EAAE,YAAY,CAAC,IAAI,CAAC,CAAA;CAC7B,CAAA;AAEL,UAAU,KAAK;IACb,MAAM,EAAE,YAAY,EAAE,CAAA;CACvB;AAoBD,eAAO,MAAM,OAAO,UAAW,KAAK,UAAU,MAAM,KAAG,KAqDtD,CAAA;AAaD,KAAK,KAAK,GAAG,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,CAAA;AAErC,iBAAS,KAAK,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK;;;oBAGT,YAAY;EAwBpC;AAED,iBAAS,QAAQ;;wBAgBO,MAAM;;EAE7B;AAED,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAA"}
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
-
var t = {};
|
|
4
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
-
t[p] = s[p];
|
|
6
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
-
t[p[i]] = s[p[i]];
|
|
10
|
-
}
|
|
11
|
-
return t;
|
|
12
|
-
};
|
|
13
|
-
// Inspired by react-hot-toast library
|
|
14
|
-
import * as React from "react";
|
|
15
|
-
const TOAST_LIMIT = 1;
|
|
16
|
-
const TOAST_REMOVE_DELAY = 1000000;
|
|
17
|
-
const actionTypes = {
|
|
18
|
-
ADD_TOAST: "ADD_TOAST",
|
|
19
|
-
UPDATE_TOAST: "UPDATE_TOAST",
|
|
20
|
-
DISMISS_TOAST: "DISMISS_TOAST",
|
|
21
|
-
REMOVE_TOAST: "REMOVE_TOAST",
|
|
22
|
-
};
|
|
23
|
-
let count = 0;
|
|
24
|
-
function genId() {
|
|
25
|
-
count = (count + 1) % Number.MAX_SAFE_INTEGER;
|
|
26
|
-
return count.toString();
|
|
27
|
-
}
|
|
28
|
-
const toastTimeouts = new Map();
|
|
29
|
-
const addToRemoveQueue = (toastId) => {
|
|
30
|
-
if (toastTimeouts.has(toastId)) {
|
|
31
|
-
return;
|
|
32
|
-
}
|
|
33
|
-
const timeout = setTimeout(() => {
|
|
34
|
-
toastTimeouts.delete(toastId);
|
|
35
|
-
dispatch({
|
|
36
|
-
type: "REMOVE_TOAST",
|
|
37
|
-
toastId: toastId,
|
|
38
|
-
});
|
|
39
|
-
}, TOAST_REMOVE_DELAY);
|
|
40
|
-
toastTimeouts.set(toastId, timeout);
|
|
41
|
-
};
|
|
42
|
-
export const reducer = (state, action) => {
|
|
43
|
-
switch (action.type) {
|
|
44
|
-
case "ADD_TOAST":
|
|
45
|
-
return Object.assign(Object.assign({}, state), { toasts: [action.toast, ...state.toasts].slice(0, TOAST_LIMIT) });
|
|
46
|
-
case "UPDATE_TOAST":
|
|
47
|
-
return Object.assign(Object.assign({}, state), { toasts: state.toasts.map((t) => t.id === action.toast.id ? Object.assign(Object.assign({}, t), action.toast) : t) });
|
|
48
|
-
case "DISMISS_TOAST": {
|
|
49
|
-
const { toastId } = action;
|
|
50
|
-
// ! Side effects ! - This could be extracted into a dismissToast() action,
|
|
51
|
-
// but I'll keep it here for simplicity
|
|
52
|
-
if (toastId) {
|
|
53
|
-
addToRemoveQueue(toastId);
|
|
54
|
-
}
|
|
55
|
-
else {
|
|
56
|
-
state.toasts.forEach((toast) => {
|
|
57
|
-
addToRemoveQueue(toast.id);
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
|
-
return Object.assign(Object.assign({}, state), { toasts: state.toasts.map((t) => t.id === toastId || toastId === undefined
|
|
61
|
-
? Object.assign(Object.assign({}, t), { open: false }) : t) });
|
|
62
|
-
}
|
|
63
|
-
case "REMOVE_TOAST":
|
|
64
|
-
if (action.toastId === undefined) {
|
|
65
|
-
return Object.assign(Object.assign({}, state), { toasts: [] });
|
|
66
|
-
}
|
|
67
|
-
return Object.assign(Object.assign({}, state), { toasts: state.toasts.filter((t) => t.id !== action.toastId) });
|
|
68
|
-
}
|
|
69
|
-
};
|
|
70
|
-
const listeners = [];
|
|
71
|
-
let memoryState = { toasts: [] };
|
|
72
|
-
function dispatch(action) {
|
|
73
|
-
memoryState = reducer(memoryState, action);
|
|
74
|
-
listeners.forEach((listener) => {
|
|
75
|
-
listener(memoryState);
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
function toast(_a) {
|
|
79
|
-
var props = __rest(_a, []);
|
|
80
|
-
const id = genId();
|
|
81
|
-
const update = (props) => dispatch({
|
|
82
|
-
type: "UPDATE_TOAST",
|
|
83
|
-
toast: Object.assign(Object.assign({}, props), { id }),
|
|
84
|
-
});
|
|
85
|
-
const dismiss = () => dispatch({ type: "DISMISS_TOAST", toastId: id });
|
|
86
|
-
dispatch({
|
|
87
|
-
type: "ADD_TOAST",
|
|
88
|
-
toast: Object.assign(Object.assign({}, props), { id, open: true, onOpenChange: (open) => {
|
|
89
|
-
if (!open)
|
|
90
|
-
dismiss();
|
|
91
|
-
} }),
|
|
92
|
-
});
|
|
93
|
-
return {
|
|
94
|
-
id: id,
|
|
95
|
-
dismiss,
|
|
96
|
-
update,
|
|
97
|
-
};
|
|
98
|
-
}
|
|
99
|
-
function useToast() {
|
|
100
|
-
const [state, setState] = React.useState(memoryState);
|
|
101
|
-
React.useEffect(() => {
|
|
102
|
-
listeners.push(setState);
|
|
103
|
-
return () => {
|
|
104
|
-
const index = listeners.indexOf(setState);
|
|
105
|
-
if (index > -1) {
|
|
106
|
-
listeners.splice(index, 1);
|
|
107
|
-
}
|
|
108
|
-
};
|
|
109
|
-
}, [state]);
|
|
110
|
-
return Object.assign(Object.assign({}, state), { toast, dismiss: (toastId) => dispatch({ type: "DISMISS_TOAST", toastId }) });
|
|
111
|
-
}
|
|
112
|
-
export { useToast, toast };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { type VariantProps } from "class-variance-authority";
|
|
3
|
-
declare const videoVariants: (props?: ({} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
4
|
-
export interface VideoProps extends React.HTMLAttributes<HTMLVideoElement>, VariantProps<typeof videoVariants> {
|
|
5
|
-
}
|
|
6
|
-
declare function Video({ className, ...props }: VideoProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export { Video, videoVariants };
|
|
8
|
-
//# sourceMappingURL=video.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"video.d.ts","sourceRoot":"","sources":["../../../components/ui/video.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAIjE,QAAA,MAAM,aAAa,gGAEjB,CAAA;AAEF,MAAM,WAAW,UACf,SAAQ,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC,EAC5C,YAAY,CAAC,OAAO,aAAa,CAAC;CAAG;AAEzC,iBAAS,KAAK,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,2CAWjD;AAED,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,CAAA"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
-
var t = {};
|
|
3
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
-
t[p] = s[p];
|
|
5
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
-
t[p[i]] = s[p[i]];
|
|
9
|
-
}
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
12
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
import { cva } from "class-variance-authority";
|
|
14
|
-
import { cn } from "../../lib/utils";
|
|
15
|
-
const videoVariants = cva("w-full", {
|
|
16
|
-
variants: {},
|
|
17
|
-
});
|
|
18
|
-
function Video(_a) {
|
|
19
|
-
var { className } = _a, props = __rest(_a, ["className"]);
|
|
20
|
-
return (_jsx("video", Object.assign({ className: cn(videoVariants({}), className) }, props, { autoPlay: true, playsInline: true, muted: true, loop: true })));
|
|
21
|
-
}
|
|
22
|
-
export { Video, videoVariants };
|
package/dist/index.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export * from "./components/ui/button";
|
|
2
|
-
export * from "./components/ui/input";
|
|
3
|
-
export * from "./components/ui/aspect-ratio";
|
|
4
|
-
export * from "./components/ui/accordion";
|
|
5
|
-
export * from "./components/ui/icon";
|
|
6
|
-
export * from "./components/ui/carousel";
|
|
7
|
-
export * from "./components/ui/container";
|
|
8
|
-
export * from "./components/ui/grid";
|
|
9
|
-
export * from "./components/ui/label";
|
|
10
|
-
export * from "./components/ui/separator";
|
|
11
|
-
export * from "./components/ui/badge";
|
|
12
|
-
export * from "./components/ui/video";
|
|
13
|
-
export * from "./components/ui/money";
|
|
14
|
-
export * from "./components/ui/skeleton";
|
|
15
|
-
export * from "./components/ui/text";
|
|
16
|
-
export * from "./components/ui/toggle";
|
|
17
|
-
export * from "./components/ui/toggle-group";
|
|
18
|
-
export * from "./components/ui/switch";
|
|
19
|
-
export * from "./components/ui/scroll-area";
|
|
20
|
-
export * from "./components/ui/toast";
|
|
21
|
-
export * from "./components/ui/toaster";
|
|
22
|
-
export * from "./components/ui/chip";
|
|
23
|
-
export * from "./components/ui/use-toast";
|
|
24
|
-
export * from "./components/ThemeToggle";
|
|
25
|
-
export { ThemeProvider } from "./components/ThemeProvider";
|
|
26
|
-
export { cn } from "./lib/utils";
|
|
27
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.tsx"],"names":[],"mappings":"AAGA,cAAc,wBAAwB,CAAA;AACtC,cAAc,uBAAuB,CAAA;AACrC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,2BAA2B,CAAA;AACzC,cAAc,sBAAsB,CAAA;AACpC,cAAc,0BAA0B,CAAA;AACxC,cAAc,2BAA2B,CAAA;AACzC,cAAc,sBAAsB,CAAA;AACpC,cAAc,uBAAuB,CAAA;AACrC,cAAc,2BAA2B,CAAA;AACzC,cAAc,uBAAuB,CAAA;AACrC,cAAc,uBAAuB,CAAA;AACrC,cAAc,uBAAuB,CAAA;AACrC,cAAc,0BAA0B,CAAA;AACxC,cAAc,sBAAsB,CAAA;AACpC,cAAc,wBAAwB,CAAA;AACtC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,wBAAwB,CAAA;AACtC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,uBAAuB,CAAA;AACrC,cAAc,yBAAyB,CAAA;AACvC,cAAc,sBAAsB,CAAA;AACpC,cAAc,2BAA2B,CAAA;AACzC,cAAc,0BAA0B,CAAA;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAA"}
|
package/dist/index.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
// component exports
|
|
2
|
-
export * from "./components/ui/button";
|
|
3
|
-
export * from "./components/ui/input";
|
|
4
|
-
export * from "./components/ui/aspect-ratio";
|
|
5
|
-
export * from "./components/ui/accordion";
|
|
6
|
-
export * from "./components/ui/icon";
|
|
7
|
-
export * from "./components/ui/carousel";
|
|
8
|
-
export * from "./components/ui/container";
|
|
9
|
-
export * from "./components/ui/grid";
|
|
10
|
-
export * from "./components/ui/label";
|
|
11
|
-
export * from "./components/ui/separator";
|
|
12
|
-
export * from "./components/ui/badge";
|
|
13
|
-
export * from "./components/ui/video";
|
|
14
|
-
export * from "./components/ui/money";
|
|
15
|
-
export * from "./components/ui/skeleton";
|
|
16
|
-
export * from "./components/ui/text";
|
|
17
|
-
export * from "./components/ui/toggle";
|
|
18
|
-
export * from "./components/ui/toggle-group";
|
|
19
|
-
export * from "./components/ui/switch";
|
|
20
|
-
export * from "./components/ui/scroll-area";
|
|
21
|
-
export * from "./components/ui/toast";
|
|
22
|
-
export * from "./components/ui/toaster";
|
|
23
|
-
export * from "./components/ui/chip";
|
|
24
|
-
export * from "./components/ui/use-toast";
|
|
25
|
-
export * from "./components/ThemeToggle";
|
|
26
|
-
export { ThemeProvider } from "./components/ThemeProvider";
|
|
27
|
-
export { cn } from "./lib/utils";
|
package/dist/lib/utils.d.ts
DELETED
package/dist/lib/utils.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,MAAM,CAAA;AAGvC,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC"}
|