fina-react-ds 0.0.0
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/README.md +17 -0
- package/dist/_virtual/index.js +5 -0
- package/dist/_virtual/index2.js +4 -0
- package/dist/_virtual/use-sync-external-store-shim.development.js +4 -0
- package/dist/_virtual/use-sync-external-store-shim.production.js +4 -0
- package/dist/components/alert-dialog.d.ts +16 -0
- package/dist/components/alert.d.ts +8 -0
- package/dist/components/alert.js +70 -0
- package/dist/components/avatar.d.ts +5 -0
- package/dist/components/avatar.js +58 -0
- package/dist/components/badge.d.ts +8 -0
- package/dist/components/badge.js +43 -0
- package/dist/components/button.d.ts +10 -0
- package/dist/components/button.js +152 -0
- package/dist/components/card.d.ts +8 -0
- package/dist/components/card.js +99 -0
- package/dist/components/checkbox.d.ts +4 -0
- package/dist/components/checkbox.js +34 -0
- package/dist/components/dialog.d.ts +15 -0
- package/dist/components/dialog.js +148 -0
- package/dist/components/dropdown-menu.d.ts +25 -0
- package/dist/components/dropdown-menu.js +248 -0
- package/dist/components/input.d.ts +3 -0
- package/dist/components/input.js +24 -0
- package/dist/components/label.d.ts +6 -0
- package/dist/components/label.js +32 -0
- package/dist/components/pagination.d.ts +13 -0
- package/dist/components/pagination.js +128 -0
- package/dist/components/popover.d.ts +7 -0
- package/dist/components/popover.js +50 -0
- package/dist/components/select.d.ts +11 -0
- package/dist/components/select.js +48 -0
- package/dist/components/separator.d.ts +4 -0
- package/dist/components/simple-pagination.d.ts +6 -0
- package/dist/components/simple-pagination.js +34 -0
- package/dist/components/tabs.d.ts +7 -0
- package/dist/components/tabs.js +73 -0
- package/dist/hooks/use-mobile.d.ts +1 -0
- package/dist/index.js +80 -0
- package/dist/lib/utils.d.ts +2 -0
- package/dist/lib/utils.js +11 -0
- package/dist/lib.d.ts +16 -0
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +534 -0
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +430 -0
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +215 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +159 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +149 -0
- package/dist/node_modules/@radix-ui/primitive/dist/index.js +12 -0
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +24 -0
- package/dist/node_modules/@radix-ui/react-avatar/dist/index.js +80 -0
- package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +258 -0
- package/dist/node_modules/@radix-ui/react-collection/dist/index.js +51 -0
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +34 -0
- package/dist/node_modules/@radix-ui/react-context/dist/index.js +76 -0
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +265 -0
- package/dist/node_modules/@radix-ui/react-direction/dist/index.js +12 -0
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +133 -0
- package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +230 -0
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +21 -0
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +149 -0
- package/dist/node_modules/@radix-ui/react-id/dist/index.js +16 -0
- package/dist/node_modules/@radix-ui/react-label/dist/index.js +22 -0
- package/dist/node_modules/@radix-ui/react-menu/dist/index.js +663 -0
- package/dist/node_modules/@radix-ui/react-popover/dist/index.js +247 -0
- package/dist/node_modules/@radix-ui/react-popper/dist/index.js +224 -0
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js +16 -0
- package/dist/node_modules/@radix-ui/react-presence/dist/index.js +77 -0
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +39 -0
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js +189 -0
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js +60 -0
- package/dist/node_modules/@radix-ui/react-tabs/dist/index.js +168 -0
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +16 -0
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +59 -0
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +17 -0
- package/dist/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js +19 -0
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +6 -0
- package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js +11 -0
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +30 -0
- package/dist/node_modules/aria-hidden/dist/es2015/index.js +54 -0
- package/dist/node_modules/get-nonce/dist/es2015/index.js +9 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +11 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +116 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +33 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +18 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +70 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +5 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +7 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +73 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +7 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +27 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/component.js +13 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +17 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +35 -0
- package/dist/node_modules/tslib/tslib.es6.js +31 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +9 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +29 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +28 -0
- package/dist/node_modules/use-sidecar/dist/es2015/exports.js +21 -0
- package/dist/node_modules/use-sidecar/dist/es2015/medium.js +72 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +73 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +62 -0
- package/dist/node_modules/use-sync-external-store/shim/index.js +13 -0
- package/dist/themes/base.css +1982 -0
- package/dist/themes/pro.css +188 -0
- package/dist/themes/puulse-colors.css +388 -0
- package/package.json +114 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
var d = Object.defineProperty;
|
|
2
|
+
var t = (o, r) => d(o, "name", { value: r, configurable: !0 });
|
|
3
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
4
|
+
import { Root as i, Trigger as s, Portal as p, Content as m, Anchor as c } from "../node_modules/@radix-ui/react-popover/dist/index.js";
|
|
5
|
+
import { cn as f } from "../lib/utils.js";
|
|
6
|
+
function h({
|
|
7
|
+
...o
|
|
8
|
+
}) {
|
|
9
|
+
return /* @__PURE__ */ e(i, { "data-slot": "popover", ...o });
|
|
10
|
+
}
|
|
11
|
+
t(h, "Popover");
|
|
12
|
+
function P({
|
|
13
|
+
...o
|
|
14
|
+
}) {
|
|
15
|
+
return /* @__PURE__ */ e(s, { "data-slot": "popover-trigger", ...o });
|
|
16
|
+
}
|
|
17
|
+
t(P, "PopoverTrigger");
|
|
18
|
+
function b({
|
|
19
|
+
className: o,
|
|
20
|
+
align: r = "center",
|
|
21
|
+
sideOffset: a = 4,
|
|
22
|
+
...n
|
|
23
|
+
}) {
|
|
24
|
+
return /* @__PURE__ */ e(p, { children: /* @__PURE__ */ e(
|
|
25
|
+
m,
|
|
26
|
+
{
|
|
27
|
+
"data-slot": "popover-content",
|
|
28
|
+
align: r,
|
|
29
|
+
sideOffset: a,
|
|
30
|
+
className: f(
|
|
31
|
+
"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",
|
|
32
|
+
o
|
|
33
|
+
),
|
|
34
|
+
...n
|
|
35
|
+
}
|
|
36
|
+
) });
|
|
37
|
+
}
|
|
38
|
+
t(b, "PopoverContent");
|
|
39
|
+
function x({
|
|
40
|
+
...o
|
|
41
|
+
}) {
|
|
42
|
+
return /* @__PURE__ */ e(c, { "data-slot": "popover-anchor", ...o });
|
|
43
|
+
}
|
|
44
|
+
t(x, "PopoverAnchor");
|
|
45
|
+
export {
|
|
46
|
+
h as Popover,
|
|
47
|
+
x as PopoverAnchor,
|
|
48
|
+
b as PopoverContent,
|
|
49
|
+
P as PopoverTrigger
|
|
50
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import SelectPrimitive from "react-select";
|
|
2
|
+
export type SelectOption = {
|
|
3
|
+
label: string;
|
|
4
|
+
value: unknown;
|
|
5
|
+
};
|
|
6
|
+
export declare function Select({ options, placeholder, onChange, value, ...props }: {
|
|
7
|
+
options: SelectOption[];
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
onChange?: (value: unknown | unknown[]) => void;
|
|
10
|
+
value?: unknown | unknown[];
|
|
11
|
+
} & React.ComponentProps<typeof SelectPrimitive>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
var n = Object.defineProperty;
|
|
2
|
+
var r = (t, o) => n(t, "name", { value: o, configurable: !0 });
|
|
3
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
4
|
+
import p from "react-select";
|
|
5
|
+
function b({
|
|
6
|
+
options: t,
|
|
7
|
+
placeholder: o = "Sélectionner",
|
|
8
|
+
onChange: i,
|
|
9
|
+
value: u,
|
|
10
|
+
...m
|
|
11
|
+
}) {
|
|
12
|
+
const a = /* @__PURE__ */ r((e) => {
|
|
13
|
+
Array.isArray(t) ? i == null || i(
|
|
14
|
+
e.map((d) => d.value)
|
|
15
|
+
) : i == null || i(e == null ? void 0 : e.value);
|
|
16
|
+
}, "handleChange"), s = /* @__PURE__ */ r(() => m.isMulti ? Array.isArray(u) ? (t == null ? void 0 : t.filter((e) => u.includes(e.value))) ?? [] : [] : t.find((e) => e.value === u), "getSelectedOptions"), l = /* @__PURE__ */ r((e) => {
|
|
17
|
+
const d = e.relatedTarget;
|
|
18
|
+
d && (d.tagName === "A" || d.tagName === "BUTTON" || d.tagName === "TEXTAREA" || d.tagName === "INPUT") && d.focus();
|
|
19
|
+
}, "onBlurWorkaround");
|
|
20
|
+
return /* @__PURE__ */ c(
|
|
21
|
+
p,
|
|
22
|
+
{
|
|
23
|
+
...m,
|
|
24
|
+
options: t,
|
|
25
|
+
onChange: a,
|
|
26
|
+
value: s(),
|
|
27
|
+
classNames: {
|
|
28
|
+
control: /* @__PURE__ */ r(() => "px-3 py-1 border bg-input rounded-md text-base! md:text-sm! min-h-9! shadow-none! border-input-border has-[:focus]:border-ring has-[:focus]:ring-[3px] ring-ring/50 has-aria-invalid:border-destructive! has-aria-invalid:ring-destructive/20!", "control"),
|
|
29
|
+
menu: /* @__PURE__ */ r(() => "bg-popover border rounded-md py-0 overflow-hidden shadow-md mt-2", "menu"),
|
|
30
|
+
menuList: /* @__PURE__ */ r(() => "py-0! bg-popover", "menuList"),
|
|
31
|
+
option: /* @__PURE__ */ r(() => "py-1 px-2 text-popover-foreground! text-base! md:text-sm! hover:bg-muted", "option"),
|
|
32
|
+
placeholder: /* @__PURE__ */ r(() => "text-placeholder", "placeholder"),
|
|
33
|
+
multiValue: /* @__PURE__ */ r(() => "bg-input-muted mr-1 px-1 py-0.5 rounded-md flex items-center", "multiValue"),
|
|
34
|
+
multiValueRemove: /* @__PURE__ */ r(() => "text-muted-foreground cursor-pointer", "multiValueRemove"),
|
|
35
|
+
dropdownIndicator: /* @__PURE__ */ r(() => "text-muted-foreground", "dropdownIndicator"),
|
|
36
|
+
clearIndicator: /* @__PURE__ */ r(() => "cursor-pointer", "clearIndicator"),
|
|
37
|
+
noOptionsMessage: /* @__PURE__ */ r(() => "py-2", "noOptionsMessage")
|
|
38
|
+
},
|
|
39
|
+
onBlur: l,
|
|
40
|
+
placeholder: o,
|
|
41
|
+
unstyled: !0
|
|
42
|
+
}
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
r(b, "Select");
|
|
46
|
+
export {
|
|
47
|
+
b as Select
|
|
48
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as SeparatorPrimitive from "@radix-ui/react-separator";
|
|
3
|
+
declare function Separator({ className, orientation, decorative, ...props }: React.ComponentProps<typeof SeparatorPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export { Separator };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
var N = Object.defineProperty;
|
|
2
|
+
var t = (s, n) => N(s, "name", { value: n, configurable: !0 });
|
|
3
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
4
|
+
import { Pagination as j, PaginationContent as A, PaginationItem as l, PaginationPrevious as E, PaginationEllipsis as v, PaginationLink as d, PaginationNext as I } from "./pagination.js";
|
|
5
|
+
function q({
|
|
6
|
+
lastPage: s,
|
|
7
|
+
currentPage: n,
|
|
8
|
+
onPaginate: h,
|
|
9
|
+
neightborsPages: k = 3
|
|
10
|
+
}) {
|
|
11
|
+
const r = /* @__PURE__ */ t(() => {
|
|
12
|
+
h(n === 1 ? 1 : n - 1);
|
|
13
|
+
}, "previous"), C = /* @__PURE__ */ t(() => {
|
|
14
|
+
h(n === s ? n : n + 1);
|
|
15
|
+
}, "next"), m = [], x = [];
|
|
16
|
+
let p = n, f = n;
|
|
17
|
+
for (let o = 1; o <= k; o++) {
|
|
18
|
+
const c = n - o, e = n + o;
|
|
19
|
+
c >= 1 && (m.push(c), f = c), e <= s && (x.push(e), p = e);
|
|
20
|
+
}
|
|
21
|
+
return /* @__PURE__ */ i(j, { children: /* @__PURE__ */ a(A, { children: [
|
|
22
|
+
n > 1 && /* @__PURE__ */ i(l, { children: /* @__PURE__ */ i(E, { onClick: r }) }),
|
|
23
|
+
f > 1 && /* @__PURE__ */ i(l, { children: /* @__PURE__ */ i(v, {}) }),
|
|
24
|
+
m.reverse().map((o) => /* @__PURE__ */ i(l, { children: /* @__PURE__ */ i(d, { onClick: /* @__PURE__ */ t(() => h(o), "onClick"), children: o }) }, o)),
|
|
25
|
+
/* @__PURE__ */ i(l, { children: /* @__PURE__ */ i(d, { isActive: !0, children: n }) }),
|
|
26
|
+
x.map((o) => /* @__PURE__ */ i(l, { children: /* @__PURE__ */ i(d, { onClick: /* @__PURE__ */ t(() => h(o), "onClick"), children: o }) }, o)),
|
|
27
|
+
p < s && /* @__PURE__ */ i(l, { children: /* @__PURE__ */ i(v, {}) }),
|
|
28
|
+
n < s && /* @__PURE__ */ i(l, { children: /* @__PURE__ */ i(I, { onClick: C }) })
|
|
29
|
+
] }) });
|
|
30
|
+
}
|
|
31
|
+
t(q, "SimplePagination");
|
|
32
|
+
export {
|
|
33
|
+
q as SimplePagination
|
|
34
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
3
|
+
declare function Tabs({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare function TabsList({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.List>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare function TabsTrigger({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare function TabsContent({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export { Tabs, TabsList, TabsTrigger, TabsContent };
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
var i = Object.defineProperty;
|
|
2
|
+
var s = (t, e) => i(t, "name", { value: e, configurable: !0 });
|
|
3
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
4
|
+
import { Root as o, List as n, Trigger as l, Content as c } from "../node_modules/@radix-ui/react-tabs/dist/index.js";
|
|
5
|
+
import { cn as a } from "../lib/utils.js";
|
|
6
|
+
function p({
|
|
7
|
+
className: t,
|
|
8
|
+
...e
|
|
9
|
+
}) {
|
|
10
|
+
return /* @__PURE__ */ r(
|
|
11
|
+
o,
|
|
12
|
+
{
|
|
13
|
+
"data-slot": "tabs",
|
|
14
|
+
className: a("flex flex-col gap-2", t),
|
|
15
|
+
...e
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
s(p, "Tabs");
|
|
20
|
+
function g({
|
|
21
|
+
className: t,
|
|
22
|
+
...e
|
|
23
|
+
}) {
|
|
24
|
+
return /* @__PURE__ */ r(
|
|
25
|
+
n,
|
|
26
|
+
{
|
|
27
|
+
"data-slot": "tabs-list",
|
|
28
|
+
className: a(
|
|
29
|
+
"bg-tabs text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",
|
|
30
|
+
t
|
|
31
|
+
),
|
|
32
|
+
...e
|
|
33
|
+
}
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
s(g, "TabsList");
|
|
37
|
+
function m({
|
|
38
|
+
className: t,
|
|
39
|
+
...e
|
|
40
|
+
}) {
|
|
41
|
+
return /* @__PURE__ */ r(
|
|
42
|
+
l,
|
|
43
|
+
{
|
|
44
|
+
"data-slot": "tabs-trigger",
|
|
45
|
+
className: a(
|
|
46
|
+
"cursor-pointer data-[state=active]:bg-primary data-[state=active]:text-primary-foreground focus-visible:border-ring focus-visible:ring-primary/50 focus-visible:outline-ring dark:data-[state=active]:border-input text-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",
|
|
47
|
+
t
|
|
48
|
+
),
|
|
49
|
+
...e
|
|
50
|
+
}
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
s(m, "TabsTrigger");
|
|
54
|
+
function x({
|
|
55
|
+
className: t,
|
|
56
|
+
...e
|
|
57
|
+
}) {
|
|
58
|
+
return /* @__PURE__ */ r(
|
|
59
|
+
c,
|
|
60
|
+
{
|
|
61
|
+
"data-slot": "tabs-content",
|
|
62
|
+
className: a("flex-1 outline-none", t),
|
|
63
|
+
...e
|
|
64
|
+
}
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
s(x, "TabsContent");
|
|
68
|
+
export {
|
|
69
|
+
p as Tabs,
|
|
70
|
+
x as TabsContent,
|
|
71
|
+
g as TabsList,
|
|
72
|
+
m as TabsTrigger
|
|
73
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useIsMobile(): boolean;
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { cn as e } from "./lib/utils.js";
|
|
2
|
+
import { Alert as t, AlertDescription as a, AlertTitle as i } from "./components/alert.js";
|
|
3
|
+
import { Badge as g } from "./components/badge.js";
|
|
4
|
+
import { Button as D, buttonVariants as d } from "./components/button.js";
|
|
5
|
+
import { Avatar as m, AvatarFallback as x, AvatarImage as C } from "./components/avatar.js";
|
|
6
|
+
import { Card as w, CardAction as M, CardContent as P, CardDescription as b, CardFooter as s, CardHeader as T, CardTitle as c } from "./components/card.js";
|
|
7
|
+
import { Checkbox as A } from "./components/checkbox.js";
|
|
8
|
+
import { Dialog as I, DialogClose as h, DialogContent as k, DialogDescription as L, DialogFooter as F, DialogHeader as B, DialogOverlay as G, DialogPortal as H, DialogTitle as R, DialogTrigger as y } from "./components/dialog.js";
|
|
9
|
+
import { DropdownMenu as N, DropdownMenuCheckboxItem as O, DropdownMenuContent as V, DropdownMenuGroup as j, DropdownMenuItem as q, DropdownMenuLabel as z, DropdownMenuPortal as J, DropdownMenuRadioGroup as K, DropdownMenuRadioItem as Q, DropdownMenuSeparator as U, DropdownMenuShortcut as W, DropdownMenuSub as X, DropdownMenuSubContent as Y, DropdownMenuSubTrigger as Z, DropdownMenuTrigger as _ } from "./components/dropdown-menu.js";
|
|
10
|
+
import { Tabs as oo, TabsContent as ro, TabsList as eo, TabsTrigger as no } from "./components/tabs.js";
|
|
11
|
+
import { Input as ao } from "./components/input.js";
|
|
12
|
+
import { Label as po } from "./components/label.js";
|
|
13
|
+
import { Pagination as lo, PaginationContent as Do, PaginationEllipsis as uo, PaginationItem as mo, PaginationLink as xo, PaginationNext as Co, PaginationPrevious as fo } from "./components/pagination.js";
|
|
14
|
+
import { SimplePagination as Mo } from "./components/simple-pagination.js";
|
|
15
|
+
import { Popover as bo, PopoverAnchor as so, PopoverContent as To, PopoverTrigger as co } from "./components/popover.js";
|
|
16
|
+
import { Select as Ao } from "./components/select.js";
|
|
17
|
+
export {
|
|
18
|
+
t as Alert,
|
|
19
|
+
a as AlertDescription,
|
|
20
|
+
i as AlertTitle,
|
|
21
|
+
m as Avatar,
|
|
22
|
+
x as AvatarFallback,
|
|
23
|
+
C as AvatarImage,
|
|
24
|
+
g as Badge,
|
|
25
|
+
D as Button,
|
|
26
|
+
w as Card,
|
|
27
|
+
M as CardAction,
|
|
28
|
+
P as CardContent,
|
|
29
|
+
b as CardDescription,
|
|
30
|
+
s as CardFooter,
|
|
31
|
+
T as CardHeader,
|
|
32
|
+
c as CardTitle,
|
|
33
|
+
A as Checkbox,
|
|
34
|
+
I as Dialog,
|
|
35
|
+
h as DialogClose,
|
|
36
|
+
k as DialogContent,
|
|
37
|
+
L as DialogDescription,
|
|
38
|
+
F as DialogFooter,
|
|
39
|
+
B as DialogHeader,
|
|
40
|
+
G as DialogOverlay,
|
|
41
|
+
H as DialogPortal,
|
|
42
|
+
R as DialogTitle,
|
|
43
|
+
y as DialogTrigger,
|
|
44
|
+
N as DropdownMenu,
|
|
45
|
+
O as DropdownMenuCheckboxItem,
|
|
46
|
+
V as DropdownMenuContent,
|
|
47
|
+
j as DropdownMenuGroup,
|
|
48
|
+
q as DropdownMenuItem,
|
|
49
|
+
z as DropdownMenuLabel,
|
|
50
|
+
J as DropdownMenuPortal,
|
|
51
|
+
K as DropdownMenuRadioGroup,
|
|
52
|
+
Q as DropdownMenuRadioItem,
|
|
53
|
+
U as DropdownMenuSeparator,
|
|
54
|
+
W as DropdownMenuShortcut,
|
|
55
|
+
X as DropdownMenuSub,
|
|
56
|
+
Y as DropdownMenuSubContent,
|
|
57
|
+
Z as DropdownMenuSubTrigger,
|
|
58
|
+
_ as DropdownMenuTrigger,
|
|
59
|
+
ao as Input,
|
|
60
|
+
po as Label,
|
|
61
|
+
lo as Pagination,
|
|
62
|
+
Do as PaginationContent,
|
|
63
|
+
uo as PaginationEllipsis,
|
|
64
|
+
mo as PaginationItem,
|
|
65
|
+
xo as PaginationLink,
|
|
66
|
+
Co as PaginationNext,
|
|
67
|
+
fo as PaginationPrevious,
|
|
68
|
+
bo as Popover,
|
|
69
|
+
so as PopoverAnchor,
|
|
70
|
+
To as PopoverContent,
|
|
71
|
+
co as PopoverTrigger,
|
|
72
|
+
Ao as Select,
|
|
73
|
+
Mo as SimplePagination,
|
|
74
|
+
oo as Tabs,
|
|
75
|
+
ro as TabsContent,
|
|
76
|
+
eo as TabsList,
|
|
77
|
+
no as TabsTrigger,
|
|
78
|
+
d as buttonVariants,
|
|
79
|
+
e as cn
|
|
80
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
var e = Object.defineProperty;
|
|
2
|
+
var o = (r, t) => e(r, "name", { value: t, configurable: !0 });
|
|
3
|
+
import { clsx as m } from "clsx";
|
|
4
|
+
import { twMerge as n } from "tailwind-merge";
|
|
5
|
+
function p(...r) {
|
|
6
|
+
return n(m(r));
|
|
7
|
+
}
|
|
8
|
+
o(p, "cn");
|
|
9
|
+
export {
|
|
10
|
+
p as cn
|
|
11
|
+
};
|
package/dist/lib.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export { cn } from "./lib/utils";
|
|
2
|
+
export { Alert, AlertTitle, AlertDescription } from "./components/alert";
|
|
3
|
+
export { Badge } from "./components/badge";
|
|
4
|
+
export { Button, buttonVariants } from "./components/button";
|
|
5
|
+
export { Avatar, AvatarImage, AvatarFallback } from "./components/avatar";
|
|
6
|
+
export { Card, CardHeader, CardAction, CardTitle, CardDescription, CardContent, CardFooter } from "./components/card";
|
|
7
|
+
export { Checkbox } from "./components/checkbox";
|
|
8
|
+
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from "./components/dialog";
|
|
9
|
+
export { DropdownMenu, DropdownMenuPortal, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuGroup, DropdownMenuLabel, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubTrigger, DropdownMenuSubContent, } from "./components/dropdown-menu";
|
|
10
|
+
export { Tabs, TabsList, TabsTrigger, TabsContent } from "./components/tabs";
|
|
11
|
+
export { Input } from "./components/input";
|
|
12
|
+
export { Label } from "./components/label";
|
|
13
|
+
export { Pagination, PaginationContent, PaginationLink, PaginationItem, PaginationPrevious, PaginationNext, PaginationEllipsis, } from "./components/pagination";
|
|
14
|
+
export { SimplePagination } from "./components/simple-pagination";
|
|
15
|
+
export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor, } from "./components/popover";
|
|
16
|
+
export { Select } from "./components/select";
|