@acronis-platform/ui-react 0.38.0 → 0.44.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/dist/components/ui/checkbox/checkbox.js +3 -1
- package/dist/components/ui/checkbox/checkbox.js.map +1 -1
- package/dist/components/ui/data-table/data-table-column-header.js +48 -0
- package/dist/components/ui/data-table/data-table-column-header.js.map +1 -0
- package/dist/components/ui/data-table/data-table-pagination.js +89 -0
- package/dist/components/ui/data-table/data-table-pagination.js.map +1 -0
- package/dist/components/ui/data-table/data-table-toolbar.js +46 -0
- package/dist/components/ui/data-table/data-table-toolbar.js.map +1 -0
- package/dist/components/ui/data-table/data-table-view-options.js +40 -0
- package/dist/components/ui/data-table/data-table-view-options.js.map +1 -0
- package/dist/components/ui/data-table/data-table.js +89 -0
- package/dist/components/ui/data-table/data-table.js.map +1 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu.js +159 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu.js.map +1 -0
- package/dist/components/ui/empty/empty.js +78 -0
- package/dist/components/ui/empty/empty.js.map +1 -0
- package/dist/components/ui/label/label.js +12 -0
- package/dist/components/ui/label/label.js.map +1 -0
- package/dist/components/ui/popover/popover.js +48 -0
- package/dist/components/ui/popover/popover.js.map +1 -0
- package/dist/components/ui/progress/progress.js +30 -0
- package/dist/components/ui/progress/progress.js.map +1 -0
- package/dist/components/ui/separator/separator.js +22 -0
- package/dist/components/ui/separator/separator.js.map +1 -0
- package/dist/components/ui/sheet/sheet.js +138 -0
- package/dist/components/ui/sheet/sheet.js.map +1 -0
- package/dist/components/ui/spinner/spinner.js +38 -0
- package/dist/components/ui/spinner/spinner.js.map +1 -0
- package/dist/components/ui/tabs/tabs.js +44 -0
- package/dist/components/ui/tabs/tabs.js.map +1 -0
- package/dist/components/ui/toast/toast.js +83 -0
- package/dist/components/ui/toast/toast.js.map +1 -0
- package/dist/components/ui/widget-placeholder/widget-placeholder.js +106 -0
- package/dist/components/ui/widget-placeholder/widget-placeholder.js.map +1 -0
- package/dist/index.js +234 -140
- package/dist/index.js.map +1 -1
- package/dist/node_modules/.pnpm/@tanstack_react-table@8.21.3_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@tanstack/react-table/build/lib/index.js +104 -0
- package/dist/node_modules/.pnpm/@tanstack_react-table@8.21.3_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@tanstack/react-table/build/lib/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@tanstack_table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/index.js +1900 -0
- package/dist/node_modules/.pnpm/@tanstack_table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/index.js.map +1 -0
- package/dist/react.js +234 -140
- package/dist/react.js.map +1 -1
- package/dist/src/components/ui/data-table/data-table-column-header.d.ts +8 -0
- package/dist/src/components/ui/data-table/data-table-pagination.d.ts +8 -0
- package/dist/src/components/ui/data-table/data-table-toolbar.d.ts +9 -0
- package/dist/src/components/ui/data-table/data-table-view-options.d.ts +6 -0
- package/dist/src/components/ui/data-table/data-table.d.ts +24 -0
- package/dist/src/components/ui/data-table/data-table.docs.d.ts +22 -0
- package/dist/src/components/ui/data-table/index.d.ts +5 -0
- package/dist/src/components/ui/dropdown-menu/dropdown-menu.d.ts +39 -0
- package/dist/src/components/ui/dropdown-menu/dropdown-menu.docs.d.ts +25 -0
- package/dist/src/components/ui/dropdown-menu/index.d.ts +1 -0
- package/dist/src/components/ui/empty/empty.d.ts +9 -0
- package/dist/src/components/ui/empty/index.d.ts +1 -0
- package/dist/src/components/ui/label/index.d.ts +1 -0
- package/dist/src/components/ui/label/label.d.ts +5 -0
- package/dist/src/components/ui/label/label.docs.d.ts +10 -0
- package/dist/src/components/ui/popover/index.d.ts +1 -0
- package/dist/src/components/ui/popover/popover.d.ts +27 -0
- package/dist/src/components/ui/popover/popover.docs.d.ts +25 -0
- package/dist/src/components/ui/progress/index.d.ts +1 -0
- package/dist/src/components/ui/progress/progress.d.ts +9 -0
- package/dist/src/components/ui/progress/progress.docs.d.ts +16 -0
- package/dist/src/components/ui/separator/index.d.ts +1 -0
- package/dist/src/components/ui/separator/separator.d.ts +3 -0
- package/dist/src/components/ui/sheet/index.d.ts +2 -0
- package/dist/src/components/ui/sheet/sheet.d.ts +36 -0
- package/dist/src/components/ui/sheet/sheet.docs.d.ts +21 -0
- package/dist/src/components/ui/spinner/index.d.ts +1 -0
- package/dist/src/components/ui/spinner/spinner.d.ts +9 -0
- package/dist/src/components/ui/tabs/index.d.ts +1 -0
- package/dist/src/components/ui/tabs/tabs.d.ts +6 -0
- package/dist/src/components/ui/tabs/tabs.docs.d.ts +25 -0
- package/dist/src/components/ui/tag/tag.d.ts +1 -1
- package/dist/src/components/ui/toast/index.d.ts +1 -0
- package/dist/src/components/ui/toast/toast.d.ts +48 -0
- package/dist/src/components/ui/toast/toast.docs.d.ts +12 -0
- package/dist/src/components/ui/widget-placeholder/index.d.ts +1 -0
- package/dist/src/components/ui/widget-placeholder/widget-placeholder.d.ts +18 -0
- package/dist/src/components/ui/widget-placeholder/widget-placeholder.docs.d.ts +14 -0
- package/dist/src/index.d.ts +13 -0
- package/dist/ui-react.css +1 -1
- package/package.json +5 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toast.js","sources":["../../../../src/components/ui/toast/toast.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { Toast as ToastPrimitive } from '@base-ui/react/toast';\nimport {\n CircleCheckIcon,\n CircleInfoIcon,\n CircleTimesIcon,\n TimesIcon,\n TriangleWarningIcon,\n} from '@acronis-platform/icons-react/stroke-mono';\n\nimport { cn } from '@/lib/utils';\nimport { Spinner } from '../spinner';\n\n// Ported from `@acronis-platform/shadcn-uikit`'s `sonner`\n// (packages/ui-legacy/src/components/ui/sonner.tsx), which wrapped the Sonner\n// library. Rebuilt on the Base UI toast primitive (the ui-react convention), so\n// no Sonner dependency. The contract is preserved: drop a single `<Toaster />`\n// at the app root and call the imperative `toast(...)` / `toast.success(...)`\n// API from anywhere. No `--ui-toast-*` tier yet, so this design-pending v1 is a\n// neutral surface (bg-background + border-border + shadow) with the status\n// conveyed by a colored leading icon (`--ui-text-on-status-*`); per-status\n// surface tinting is design-pending. Auto-dismiss after `timeout` (default\n// 5000ms); `loading` toasts persist until updated or dismissed.\n\n// A module-level manager so `toast(...)` works outside React (like Sonner's\n// `toast`). `<Toaster />` subscribes this manager to its provider.\nconst toastManager = ToastPrimitive.createToastManager();\n\nexport type ToastType = 'success' | 'info' | 'warning' | 'error' | 'loading';\n\nexport interface ToastOptions {\n /** Secondary line under the title. */\n description?: React.ReactNode;\n /** Auto-dismiss delay in ms; `0` keeps the toast until dismissed. */\n timeout?: number;\n /** A single inline action button (e.g. Undo). */\n action?: { label: React.ReactNode; onClick?: () => void };\n /** Stable id — re-adding with the same id updates the toast in place. */\n id?: string;\n}\n\nfunction add(title: React.ReactNode, type?: ToastType, options: ToastOptions = {}) {\n const { action, ...rest } = options;\n return toastManager.add({\n title,\n type,\n actionProps: action\n ? { children: action.label, onClick: action.onClick }\n : undefined,\n ...rest,\n });\n}\n\n/**\n * Imperative toast API. `toast(title, options)` shows a neutral toast;\n * `toast.success` / `info` / `warning` / `error` / `loading` set the variant.\n * `toast.dismiss(id?)` closes one (or all) and `toast.promise` ties a toast to a\n * promise's lifecycle.\n */\nconst toast = Object.assign(\n (title: React.ReactNode, options?: ToastOptions) => add(title, undefined, options),\n {\n success: (title: React.ReactNode, options?: ToastOptions) =>\n add(title, 'success', options),\n info: (title: React.ReactNode, options?: ToastOptions) =>\n add(title, 'info', options),\n warning: (title: React.ReactNode, options?: ToastOptions) =>\n add(title, 'warning', options),\n error: (title: React.ReactNode, options?: ToastOptions) =>\n add(title, 'error', options),\n loading: (title: React.ReactNode, options?: ToastOptions) =>\n add(title, 'loading', { timeout: 0, ...options }),\n dismiss: (id?: string) => toastManager.close(id),\n promise: toastManager.promise,\n }\n);\n\nconst ICON_BY_TYPE: Record<ToastType, React.ReactNode> = {\n success: (\n <CircleCheckIcon className=\"size-4 text-[var(--ui-text-on-status-success)]\" />\n ),\n info: (\n <CircleInfoIcon className=\"size-4 text-[var(--ui-text-on-status-info)]\" />\n ),\n warning: (\n <TriangleWarningIcon className=\"size-4 text-[var(--ui-text-on-status-warning)]\" />\n ),\n error: (\n <CircleTimesIcon className=\"size-4 text-[var(--ui-text-on-status-danger)]\" />\n ),\n loading: <Spinner size=\"sm\" className=\"size-4\" />,\n};\n\nfunction ToastList() {\n const { toasts } = ToastPrimitive.useToastManager();\n return toasts.map((item) => {\n const icon = ICON_BY_TYPE[item.type as ToastType];\n return (\n <ToastPrimitive.Root\n key={item.id}\n toast={item}\n className={cn(\n 'relative flex w-full items-start gap-3 rounded border border-border bg-background p-4 shadow-md',\n 'transition-all data-[ending-style]:opacity-0 data-[starting-style]:opacity-0',\n 'data-[starting-style]:translate-x-4 data-[ending-style]:translate-x-4'\n )}\n >\n {icon ? <span className=\"mt-0.5 shrink-0\">{icon}</span> : null}\n <div className=\"flex min-w-0 flex-1 flex-col gap-1\">\n <ToastPrimitive.Title className=\"text-sm font-semibold leading-5 text-foreground\" />\n <ToastPrimitive.Description className=\"text-sm leading-5 text-muted-foreground\" />\n {item.actionProps ? (\n <ToastPrimitive.Action className=\"mt-1 self-start text-sm font-semibold text-secondary hover:underline\" />\n ) : null}\n </div>\n <ToastPrimitive.Close\n aria-label=\"Close\"\n className=\"shrink-0 rounded text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[var(--ui-focus-primary)]\"\n >\n <TimesIcon className=\"size-4\" />\n </ToastPrimitive.Close>\n </ToastPrimitive.Root>\n );\n });\n}\n\nexport interface ToasterProps {\n /** Default auto-dismiss delay in ms for toasts that don't set one. */\n timeout?: number;\n /** Max toasts shown at once; the oldest is dropped past the limit. */\n limit?: number;\n /**\n * Portal container for the toast stack. Pass a shadow-root mount for\n * isolated-style previews (the docs demos do this via `useShadowMount`).\n */\n portalContainer?: ToastPrimitive.Portal.Props['container'];\n}\n\n/**\n * The toast region. Render once near the app root; it portals a bottom-right\n * stack and renders every queued toast. Trigger toasts with the `toast` API.\n */\nfunction Toaster({ timeout, limit, portalContainer }: ToasterProps) {\n return (\n <ToastPrimitive.Provider\n toastManager={toastManager}\n timeout={timeout}\n limit={limit}\n >\n <ToastPrimitive.Portal container={portalContainer}>\n <ToastPrimitive.Viewport className=\"fixed bottom-4 right-4 z-[100] flex w-[384px] max-w-[calc(100vw-2rem)] flex-col gap-3 outline-none\">\n <ToastList />\n </ToastPrimitive.Viewport>\n </ToastPrimitive.Portal>\n </ToastPrimitive.Provider>\n );\n}\n\nexport { toast, Toaster };\n"],"names":["toastManager","ToastPrimitive","add","title","type","options","action","rest","toast","id","ICON_BY_TYPE","jsx","CircleCheckIcon","CircleInfoIcon","TriangleWarningIcon","CircleTimesIcon","Spinner","ToastList","toasts","item","icon","jsxs","cn","TimesIcon","Toaster","timeout","limit","portalContainer"],"mappings":"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"}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import * as a from "react";
|
|
3
|
+
import { cn as d } from "../../../lib/utils.js";
|
|
4
|
+
const i = a.forwardRef(({ className: t, interactive: e, ...o }, l) => /* @__PURE__ */ r(
|
|
5
|
+
"div",
|
|
6
|
+
{
|
|
7
|
+
ref: l,
|
|
8
|
+
tabIndex: e ? 0 : void 0,
|
|
9
|
+
className: d(
|
|
10
|
+
"relative flex flex-col rounded-lg border border-border bg-background text-foreground transition-colors",
|
|
11
|
+
e && "cursor-pointer hover:bg-accent active:bg-[var(--ui-background-surface-active)] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[var(--ui-focus-primary)]",
|
|
12
|
+
t
|
|
13
|
+
),
|
|
14
|
+
...o
|
|
15
|
+
}
|
|
16
|
+
));
|
|
17
|
+
i.displayName = "WidgetPlaceholder";
|
|
18
|
+
const s = a.forwardRef(({ className: t, ...e }, o) => /* @__PURE__ */ r(
|
|
19
|
+
"div",
|
|
20
|
+
{
|
|
21
|
+
ref: o,
|
|
22
|
+
className: d("flex items-center gap-2 px-6 pb-2 pt-4", t),
|
|
23
|
+
...e
|
|
24
|
+
}
|
|
25
|
+
));
|
|
26
|
+
s.displayName = "WidgetPlaceholderHeader";
|
|
27
|
+
const c = a.forwardRef(({ className: t, ...e }, o) => /* @__PURE__ */ r(
|
|
28
|
+
"div",
|
|
29
|
+
{
|
|
30
|
+
ref: o,
|
|
31
|
+
className: d("flex-1 truncate text-sm font-semibold leading-6", t),
|
|
32
|
+
...e
|
|
33
|
+
}
|
|
34
|
+
));
|
|
35
|
+
c.displayName = "WidgetPlaceholderTitle";
|
|
36
|
+
const n = a.forwardRef(({ className: t, ...e }, o) => /* @__PURE__ */ r(
|
|
37
|
+
"div",
|
|
38
|
+
{
|
|
39
|
+
ref: o,
|
|
40
|
+
className: d(
|
|
41
|
+
"flex-shrink-0 text-secondary [&>svg]:size-4",
|
|
42
|
+
t
|
|
43
|
+
),
|
|
44
|
+
...e
|
|
45
|
+
}
|
|
46
|
+
));
|
|
47
|
+
n.displayName = "WidgetPlaceholderIcon";
|
|
48
|
+
const f = a.forwardRef(({ className: t, ...e }, o) => /* @__PURE__ */ r(
|
|
49
|
+
"div",
|
|
50
|
+
{
|
|
51
|
+
ref: o,
|
|
52
|
+
className: d(
|
|
53
|
+
"flex flex-1 flex-col items-center justify-center gap-2 px-6 py-4 text-center",
|
|
54
|
+
t
|
|
55
|
+
),
|
|
56
|
+
...e
|
|
57
|
+
}
|
|
58
|
+
));
|
|
59
|
+
f.displayName = "WidgetPlaceholderContent";
|
|
60
|
+
const m = a.forwardRef(({ className: t, ...e }, o) => /* @__PURE__ */ r(
|
|
61
|
+
"div",
|
|
62
|
+
{
|
|
63
|
+
ref: o,
|
|
64
|
+
className: d(
|
|
65
|
+
"flex items-center justify-center text-muted-foreground [&>svg]:size-[72px]",
|
|
66
|
+
t
|
|
67
|
+
),
|
|
68
|
+
...e
|
|
69
|
+
}
|
|
70
|
+
));
|
|
71
|
+
m.displayName = "WidgetPlaceholderImage";
|
|
72
|
+
const g = a.forwardRef(({ className: t, ...e }, o) => /* @__PURE__ */ r("div", { ref: o, className: d("text-sm leading-6", t), ...e }));
|
|
73
|
+
g.displayName = "WidgetPlaceholderText";
|
|
74
|
+
const x = a.forwardRef(({ className: t, ...e }, o) => /* @__PURE__ */ r(
|
|
75
|
+
"div",
|
|
76
|
+
{
|
|
77
|
+
ref: o,
|
|
78
|
+
className: d(
|
|
79
|
+
"cursor-pointer text-sm font-semibold text-secondary hover:underline",
|
|
80
|
+
t
|
|
81
|
+
),
|
|
82
|
+
...e
|
|
83
|
+
}
|
|
84
|
+
));
|
|
85
|
+
x.displayName = "WidgetPlaceholderAction";
|
|
86
|
+
const p = a.forwardRef(({ className: t, ...e }, o) => /* @__PURE__ */ r(
|
|
87
|
+
"div",
|
|
88
|
+
{
|
|
89
|
+
ref: o,
|
|
90
|
+
className: d("px-6 pb-4 pt-0 text-xs text-muted-foreground", t),
|
|
91
|
+
...e
|
|
92
|
+
}
|
|
93
|
+
));
|
|
94
|
+
p.displayName = "WidgetPlaceholderFooter";
|
|
95
|
+
export {
|
|
96
|
+
i as WidgetPlaceholder,
|
|
97
|
+
x as WidgetPlaceholderAction,
|
|
98
|
+
f as WidgetPlaceholderContent,
|
|
99
|
+
p as WidgetPlaceholderFooter,
|
|
100
|
+
s as WidgetPlaceholderHeader,
|
|
101
|
+
n as WidgetPlaceholderIcon,
|
|
102
|
+
m as WidgetPlaceholderImage,
|
|
103
|
+
g as WidgetPlaceholderText,
|
|
104
|
+
c as WidgetPlaceholderTitle
|
|
105
|
+
};
|
|
106
|
+
//# sourceMappingURL=widget-placeholder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-placeholder.js","sources":["../../../../src/components/ui/widget-placeholder/widget-placeholder.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport { cn } from '@/lib/utils';\n\n// Composable dashboard-widget empty-state parts, ported from\n// `@acronis-platform/shadcn-uikit`'s `widget-placeholder`\n// (packages/ui-legacy/src/components/ui/widget-placeholder.tsx). Plain styled\n// elements — no Base UI primitive. No `--ui-widget-placeholder-*` tier exists\n// yet, so this design-pending v1 themes from the shared semantic vocabulary:\n// • root -> border-border + bg-background + text-foreground\n// • icon/action (was --av-fixed-link) -> text-secondary (the brand action blue)\n// • image (was --av-brand-light, a soft brand tint) -> text-muted-foreground\n// (a muted decorative placeholder; the brand tint is design-pending)\n// • interactive hover/active -> bg-accent (surface-hover) /\n// surface-active; focus -> the standard 3px --ui-focus-primary ring\n// Reconcile with `/figma-component WidgetPlaceholder <url> --update` once a\n// mockup lands (Figma: Charts-anatomy / Placeholders, node 229:73962).\n\nexport interface WidgetPlaceholderProps\n extends React.HTMLAttributes<HTMLDivElement> {\n /**\n * Make the whole widget focusable and clickable (hover/active surface + focus\n * ring). Wire the behavior via `onClick`.\n */\n interactive?: boolean;\n}\n\nconst WidgetPlaceholder = React.forwardRef<\n HTMLDivElement,\n WidgetPlaceholderProps\n>(({ className, interactive, ...props }, ref) => (\n <div\n ref={ref}\n tabIndex={interactive ? 0 : undefined}\n className={cn(\n 'relative flex flex-col rounded-lg border border-border bg-background text-foreground transition-colors',\n interactive &&\n 'cursor-pointer hover:bg-accent active:bg-[var(--ui-background-surface-active)] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[var(--ui-focus-primary)]',\n className\n )}\n {...props}\n />\n));\nWidgetPlaceholder.displayName = 'WidgetPlaceholder';\n\nconst WidgetPlaceholderHeader = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn('flex items-center gap-2 px-6 pb-2 pt-4', className)}\n {...props}\n />\n));\nWidgetPlaceholderHeader.displayName = 'WidgetPlaceholderHeader';\n\nconst WidgetPlaceholderTitle = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn('flex-1 truncate text-sm font-semibold leading-6', className)}\n {...props}\n />\n));\nWidgetPlaceholderTitle.displayName = 'WidgetPlaceholderTitle';\n\nconst WidgetPlaceholderIcon = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\n 'flex-shrink-0 text-secondary [&>svg]:size-4',\n className\n )}\n {...props}\n />\n));\nWidgetPlaceholderIcon.displayName = 'WidgetPlaceholderIcon';\n\nconst WidgetPlaceholderContent = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\n 'flex flex-1 flex-col items-center justify-center gap-2 px-6 py-4 text-center',\n className\n )}\n {...props}\n />\n));\nWidgetPlaceholderContent.displayName = 'WidgetPlaceholderContent';\n\nconst WidgetPlaceholderImage = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\n 'flex items-center justify-center text-muted-foreground [&>svg]:size-[72px]',\n className\n )}\n {...props}\n />\n));\nWidgetPlaceholderImage.displayName = 'WidgetPlaceholderImage';\n\nconst WidgetPlaceholderText = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div ref={ref} className={cn('text-sm leading-6', className)} {...props} />\n));\nWidgetPlaceholderText.displayName = 'WidgetPlaceholderText';\n\nconst WidgetPlaceholderAction = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\n 'cursor-pointer text-sm font-semibold text-secondary hover:underline',\n className\n )}\n {...props}\n />\n));\nWidgetPlaceholderAction.displayName = 'WidgetPlaceholderAction';\n\nconst WidgetPlaceholderFooter = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn('px-6 pb-4 pt-0 text-xs text-muted-foreground', className)}\n {...props}\n />\n));\nWidgetPlaceholderFooter.displayName = 'WidgetPlaceholderFooter';\n\nexport {\n WidgetPlaceholder,\n WidgetPlaceholderHeader,\n WidgetPlaceholderTitle,\n WidgetPlaceholderIcon,\n WidgetPlaceholderContent,\n WidgetPlaceholderImage,\n WidgetPlaceholderText,\n WidgetPlaceholderAction,\n WidgetPlaceholderFooter,\n};\n"],"names":["WidgetPlaceholder","React","className","interactive","props","ref","jsx","cn","WidgetPlaceholderHeader","WidgetPlaceholderTitle","WidgetPlaceholderIcon","WidgetPlaceholderContent","WidgetPlaceholderImage","WidgetPlaceholderText","WidgetPlaceholderAction","WidgetPlaceholderFooter"],"mappings":";;;AA2BA,MAAMA,IAAoBC,EAAM,WAG9B,CAAC,EAAE,WAAAC,GAAW,aAAAC,GAAa,GAAGC,KAASC,MACvC,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAD;AAAA,IACA,UAAUF,IAAc,IAAI;AAAA,IAC5B,WAAWI;AAAA,MACT;AAAA,MACAJ,KACE;AAAA,MACFD;AAAA,IAAA;AAAA,IAED,GAAGE;AAAA,EAAA;AACN,CACD;AACDJ,EAAkB,cAAc;AAEhC,MAAMQ,IAA0BP,EAAM,WAGpC,CAAC,EAAE,WAAAC,GAAW,GAAGE,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAD;AAAA,IACA,WAAWE,EAAG,0CAA0CL,CAAS;AAAA,IAChE,GAAGE;AAAA,EAAA;AACN,CACD;AACDI,EAAwB,cAAc;AAEtC,MAAMC,IAAyBR,EAAM,WAGnC,CAAC,EAAE,WAAAC,GAAW,GAAGE,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAD;AAAA,IACA,WAAWE,EAAG,mDAAmDL,CAAS;AAAA,IACzE,GAAGE;AAAA,EAAA;AACN,CACD;AACDK,EAAuB,cAAc;AAErC,MAAMC,IAAwBT,EAAM,WAGlC,CAAC,EAAE,WAAAC,GAAW,GAAGE,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAD;AAAA,IACA,WAAWE;AAAA,MACT;AAAA,MACAL;AAAA,IAAA;AAAA,IAED,GAAGE;AAAA,EAAA;AACN,CACD;AACDM,EAAsB,cAAc;AAEpC,MAAMC,IAA2BV,EAAM,WAGrC,CAAC,EAAE,WAAAC,GAAW,GAAGE,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAD;AAAA,IACA,WAAWE;AAAA,MACT;AAAA,MACAL;AAAA,IAAA;AAAA,IAED,GAAGE;AAAA,EAAA;AACN,CACD;AACDO,EAAyB,cAAc;AAEvC,MAAMC,IAAyBX,EAAM,WAGnC,CAAC,EAAE,WAAAC,GAAW,GAAGE,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAD;AAAA,IACA,WAAWE;AAAA,MACT;AAAA,MACAL;AAAA,IAAA;AAAA,IAED,GAAGE;AAAA,EAAA;AACN,CACD;AACDQ,EAAuB,cAAc;AAErC,MAAMC,IAAwBZ,EAAM,WAGlC,CAAC,EAAE,WAAAC,GAAW,GAAGE,KAASC,wBACzB,OAAA,EAAI,KAAAA,GAAU,WAAWE,EAAG,qBAAqBL,CAAS,GAAI,GAAGE,GAAO,CAC1E;AACDS,EAAsB,cAAc;AAEpC,MAAMC,IAA0Bb,EAAM,WAGpC,CAAC,EAAE,WAAAC,GAAW,GAAGE,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAD;AAAA,IACA,WAAWE;AAAA,MACT;AAAA,MACAL;AAAA,IAAA;AAAA,IAED,GAAGE;AAAA,EAAA;AACN,CACD;AACDU,EAAwB,cAAc;AAEtC,MAAMC,IAA0Bd,EAAM,WAGpC,CAAC,EAAE,WAAAC,GAAW,GAAGE,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAD;AAAA,IACA,WAAWE,EAAG,gDAAgDL,CAAS;AAAA,IACtE,GAAGE;AAAA,EAAA;AACN,CACD;AACDW,EAAwB,cAAc;"}
|
package/dist/index.js
CHANGED
|
@@ -1,148 +1,242 @@
|
|
|
1
1
|
import { cn as t } from "./lib/utils.js";
|
|
2
|
-
import { Avatar as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
2
|
+
import { Avatar as a, AvatarFallback as n, AvatarGroup as i, AvatarImage as l, avatarVariants as p } from "./components/ui/avatar/avatar.js";
|
|
3
|
+
import { Tag as S, Tag as u, tagVariants as c } from "./components/ui/tag/tag.js";
|
|
4
|
+
import { Breadcrumb as m, BreadcrumbEllipsis as b, BreadcrumbItem as g, BreadcrumbLink as T, BreadcrumbList as x, BreadcrumbPage as D, BreadcrumbSeparator as I } from "./components/ui/breadcrumb/breadcrumb.js";
|
|
5
|
+
import { Button as C, buttonVariants as f } from "./components/ui/button/button.js";
|
|
6
|
+
import { ButtonIcon as P, buttonIconVariants as M } from "./components/ui/button-icon/button-icon.js";
|
|
7
|
+
import { ButtonMenu as w, buttonMenuVariants as V } from "./components/ui/button-menu/button-menu.js";
|
|
8
|
+
import { Card as F, CardContent as H, CardDescription as L, CardFooter as E, CardHeader as G, CardTitle as W } from "./components/ui/card/card.js";
|
|
9
|
+
import { CardFilter as R, cardFilterVariants as k } from "./components/ui/card-filter/card-filter.js";
|
|
10
|
+
import { Checkbox as z } from "./components/ui/checkbox/checkbox.js";
|
|
11
|
+
import { Chip as j, chipVariants as q } from "./components/ui/chip/chip.js";
|
|
12
|
+
import { DataTable as K } from "./components/ui/data-table/data-table.js";
|
|
13
|
+
import { DataTableColumnHeader as U } from "./components/ui/data-table/data-table-column-header.js";
|
|
14
|
+
import { DataTablePagination as Y } from "./components/ui/data-table/data-table-pagination.js";
|
|
15
|
+
import { DataTableToolbar as _ } from "./components/ui/data-table/data-table-toolbar.js";
|
|
16
|
+
import { DataTableViewOptions as ee } from "./components/ui/data-table/data-table-view-options.js";
|
|
17
|
+
import { Sheet as te, SheetBody as oe, SheetClose as ae, SheetCloseButton as ne, SheetContent as ie, SheetDescription as le, SheetFooter as pe, SheetHeader as de, SheetOverlay as Se, SheetPortal as ue, SheetTitle as ce, SheetTrigger as se, Sheet as me, SheetBody as be, SheetClose as ge, SheetCloseButton as Te, SheetContent as xe, SheetDescription as De, SheetFooter as Ie, SheetHeader as he, SheetOverlay as Ce, SheetPortal as fe, SheetTitle as ye, SheetTrigger as Pe, sheetVariants as Me } from "./components/ui/sheet/sheet.js";
|
|
18
|
+
import { Dialog as we, DialogBody as Ve, DialogClose as ve, DialogCloseButton as Fe, DialogContent as He, DialogDescription as Le, DialogFooter as Ee, DialogHeader as Ge, DialogOverlay as We, DialogPortal as Ae, DialogTitle as Re, DialogTrigger as ke, dialogContentVariants as Oe } from "./components/ui/dialog/dialog.js";
|
|
19
|
+
import { DropdownMenu as Ne, DropdownMenuCheckboxItem as je, DropdownMenuContent as qe, DropdownMenuGroup as Je, DropdownMenuItem as Ke, DropdownMenuLabel as Qe, DropdownMenuPortal as Ue, DropdownMenuRadioGroup as Xe, DropdownMenuRadioItem as Ye, DropdownMenuSeparator as Ze, DropdownMenuShortcut as _e, DropdownMenuSub as $e, DropdownMenuSubContent as er, DropdownMenuSubTrigger as rr, DropdownMenuTrigger as tr } from "./components/ui/dropdown-menu/dropdown-menu.js";
|
|
20
|
+
import { Empty as ar, EmptyActions as nr, EmptyDescription as ir, EmptyHeader as lr, EmptyIcon as pr, EmptyLinks as dr, EmptyTitle as Sr } from "./components/ui/empty/empty.js";
|
|
21
|
+
import { InputText as cr, InputText as sr } from "./components/ui/input-text/input-text.js";
|
|
22
|
+
import { InputDatePicker as br } from "./components/ui/input-date-picker/input-date-picker.js";
|
|
23
|
+
import { InputSearch as Tr, InputSearch as xr } from "./components/ui/input-search/input-search.js";
|
|
24
|
+
import { InputSelect as Ir, InputSelectContent as hr, InputSelectDescription as Cr, InputSelectError as fr, InputSelectField as yr, InputSelectGroup as Pr, InputSelectItem as Mr, InputSelectLabel as Br, InputSelectSearch as wr, InputSelectSection as Vr, InputSelectSectionLabel as vr, InputSelectStatus as Fr, InputSelectTrigger as Hr, InputSelectValue as Lr, InputSelect as Er, InputSelectContent as Gr, InputSelectSection as Wr, InputSelectSectionLabel as Ar, InputSelectItem as Rr, InputSelectTrigger as kr, InputSelectValue as Or } from "./components/ui/input-select/input-select.js";
|
|
25
|
+
import { InputTextArea as Nr, InputTextArea as jr } from "./components/ui/input-text-area/input-text-area.js";
|
|
26
|
+
import { Label as Jr, labelClassName as Kr } from "./components/ui/label/label.js";
|
|
27
|
+
import { Link as Ur } from "./components/ui/link/link.js";
|
|
28
|
+
import { Popover as Yr, PopoverContent as Zr, PopoverPortal as _r, PopoverTrigger as $r } from "./components/ui/popover/popover.js";
|
|
29
|
+
import { Progress as rt } from "./components/ui/progress/progress.js";
|
|
30
|
+
import { Radio as ot, RadioGroup as at } from "./components/ui/radio/radio.js";
|
|
31
|
+
import { ResizableHandle as it, ResizablePanel as lt, ResizablePanelGroup as pt } from "./components/ui/resizable/resizable.js";
|
|
32
|
+
import { SearchGlobal as St } from "./components/ui/search-global/search-global.js";
|
|
33
|
+
import { Separator as ct } from "./components/ui/separator/separator.js";
|
|
34
|
+
import { SidebarPrimary as mt, SidebarPrimaryCollapseTrigger as bt, SidebarPrimaryContent as gt, SidebarPrimaryFooter as Tt, SidebarPrimaryHeader as xt, SidebarPrimaryMenu as Dt, SidebarPrimaryMenuItem as It, SidebarPrimaryMenuItemExtras as ht, SidebarPrimarySection as Ct, sidebarPrimaryMenuItemVariants as ft } from "./components/ui/sidebar-primary/sidebar-primary.js";
|
|
35
|
+
import { SidebarSecondary as Pt, SidebarSecondaryCollapseTrigger as Mt, SidebarSecondaryCollapsedBreadcrumb as Bt, SidebarSecondaryContent as wt, SidebarSecondaryFooter as Vt, SidebarSecondaryHeader as vt, SidebarSecondaryMenu as Ft, SidebarSecondaryMenuItem as Ht, SidebarSecondaryMenuItemExtras as Lt, SidebarSecondaryMenuSub as Et, SidebarSecondaryMenuSubContent as Gt, SidebarSecondaryMenuSubItem as Wt, SidebarSecondaryMenuSubTrigger as At, SidebarSecondarySection as Rt, SidebarSecondarySectionLabel as kt, sidebarSecondaryMenuItemVariants as Ot } from "./components/ui/sidebar-secondary/sidebar-secondary.js";
|
|
36
|
+
import { Spinner as Nt, spinnerVariants as jt } from "./components/ui/spinner/spinner.js";
|
|
37
|
+
import { Switch as Jt } from "./components/ui/switch/switch.js";
|
|
38
|
+
import { Table as Qt, TableBody as Ut, TableCaption as Xt, TableCell as Yt, TableFooter as Zt, TableHead as _t, TableHeader as $t, TableRow as eo } from "./components/ui/table/table.js";
|
|
39
|
+
import { Tabs as to, TabsContent as oo, TabsList as ao, TabsTrigger as no } from "./components/ui/tabs/tabs.js";
|
|
40
|
+
import { Toaster as lo, toast as po } from "./components/ui/toast/toast.js";
|
|
41
|
+
import { Tooltip as uo, TooltipContent as co, TooltipProvider as so, TooltipTrigger as mo } from "./components/ui/tooltip/tooltip.js";
|
|
42
|
+
import { WidgetPlaceholder as go, WidgetPlaceholderAction as To, WidgetPlaceholderContent as xo, WidgetPlaceholderFooter as Do, WidgetPlaceholderHeader as Io, WidgetPlaceholderIcon as ho, WidgetPlaceholderImage as Co, WidgetPlaceholderText as fo, WidgetPlaceholderTitle as yo } from "./components/ui/widget-placeholder/widget-placeholder.js";
|
|
27
43
|
export {
|
|
28
|
-
|
|
44
|
+
a as Avatar,
|
|
29
45
|
n as AvatarFallback,
|
|
30
46
|
i as AvatarGroup,
|
|
31
47
|
l as AvatarImage,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
P as
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
G as
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
48
|
+
S as Badge,
|
|
49
|
+
m as Breadcrumb,
|
|
50
|
+
b as BreadcrumbEllipsis,
|
|
51
|
+
g as BreadcrumbItem,
|
|
52
|
+
T as BreadcrumbLink,
|
|
53
|
+
x as BreadcrumbList,
|
|
54
|
+
D as BreadcrumbPage,
|
|
55
|
+
I as BreadcrumbSeparator,
|
|
56
|
+
C as Button,
|
|
57
|
+
P as ButtonIcon,
|
|
58
|
+
w as ButtonMenu,
|
|
59
|
+
F as Card,
|
|
60
|
+
H as CardContent,
|
|
61
|
+
L as CardDescription,
|
|
62
|
+
R as CardFilter,
|
|
63
|
+
E as CardFooter,
|
|
64
|
+
G as CardHeader,
|
|
65
|
+
W as CardTitle,
|
|
66
|
+
z as Checkbox,
|
|
67
|
+
j as Chip,
|
|
68
|
+
K as DataTable,
|
|
69
|
+
U as DataTableColumnHeader,
|
|
70
|
+
Y as DataTablePagination,
|
|
71
|
+
_ as DataTableToolbar,
|
|
72
|
+
ee as DataTableViewOptions,
|
|
73
|
+
te as Details,
|
|
74
|
+
oe as DetailsBody,
|
|
75
|
+
ae as DetailsClose,
|
|
76
|
+
ne as DetailsCloseButton,
|
|
77
|
+
ie as DetailsContent,
|
|
78
|
+
le as DetailsDescription,
|
|
79
|
+
pe as DetailsFooter,
|
|
80
|
+
de as DetailsHeader,
|
|
81
|
+
Se as DetailsOverlay,
|
|
82
|
+
ue as DetailsPortal,
|
|
83
|
+
ce as DetailsTitle,
|
|
84
|
+
se as DetailsTrigger,
|
|
85
|
+
we as Dialog,
|
|
86
|
+
Ve as DialogBody,
|
|
87
|
+
ve as DialogClose,
|
|
88
|
+
Fe as DialogCloseButton,
|
|
89
|
+
He as DialogContent,
|
|
90
|
+
Le as DialogDescription,
|
|
91
|
+
Ee as DialogFooter,
|
|
92
|
+
Ge as DialogHeader,
|
|
93
|
+
We as DialogOverlay,
|
|
94
|
+
Ae as DialogPortal,
|
|
95
|
+
Re as DialogTitle,
|
|
96
|
+
ke as DialogTrigger,
|
|
97
|
+
Ne as DropdownMenu,
|
|
98
|
+
je as DropdownMenuCheckboxItem,
|
|
99
|
+
qe as DropdownMenuContent,
|
|
100
|
+
Je as DropdownMenuGroup,
|
|
101
|
+
Ke as DropdownMenuItem,
|
|
102
|
+
Qe as DropdownMenuLabel,
|
|
103
|
+
Ue as DropdownMenuPortal,
|
|
104
|
+
Xe as DropdownMenuRadioGroup,
|
|
105
|
+
Ye as DropdownMenuRadioItem,
|
|
106
|
+
Ze as DropdownMenuSeparator,
|
|
107
|
+
_e as DropdownMenuShortcut,
|
|
108
|
+
$e as DropdownMenuSub,
|
|
109
|
+
er as DropdownMenuSubContent,
|
|
110
|
+
rr as DropdownMenuSubTrigger,
|
|
111
|
+
tr as DropdownMenuTrigger,
|
|
112
|
+
ar as Empty,
|
|
113
|
+
nr as EmptyActions,
|
|
114
|
+
ir as EmptyDescription,
|
|
115
|
+
lr as EmptyHeader,
|
|
116
|
+
pr as EmptyIcon,
|
|
117
|
+
dr as EmptyLinks,
|
|
118
|
+
Sr as EmptyTitle,
|
|
119
|
+
cr as Input,
|
|
120
|
+
br as InputDatePicker,
|
|
121
|
+
Tr as InputSearch,
|
|
122
|
+
Ir as InputSelect,
|
|
123
|
+
hr as InputSelectContent,
|
|
124
|
+
Cr as InputSelectDescription,
|
|
125
|
+
fr as InputSelectError,
|
|
126
|
+
yr as InputSelectField,
|
|
127
|
+
Pr as InputSelectGroup,
|
|
128
|
+
Mr as InputSelectItem,
|
|
129
|
+
Br as InputSelectLabel,
|
|
130
|
+
wr as InputSelectSearch,
|
|
131
|
+
Vr as InputSelectSection,
|
|
132
|
+
vr as InputSelectSectionLabel,
|
|
133
|
+
Fr as InputSelectStatus,
|
|
134
|
+
Hr as InputSelectTrigger,
|
|
135
|
+
Lr as InputSelectValue,
|
|
136
|
+
sr as InputText,
|
|
137
|
+
Nr as InputTextArea,
|
|
138
|
+
Jr as Label,
|
|
139
|
+
Ur as Link,
|
|
140
|
+
Yr as Popover,
|
|
141
|
+
Zr as PopoverContent,
|
|
142
|
+
_r as PopoverPortal,
|
|
143
|
+
$r as PopoverTrigger,
|
|
144
|
+
rt as Progress,
|
|
145
|
+
ot as Radio,
|
|
146
|
+
at as RadioGroup,
|
|
147
|
+
it as ResizableHandle,
|
|
148
|
+
lt as ResizablePanel,
|
|
149
|
+
pt as ResizablePanelGroup,
|
|
150
|
+
xr as Search,
|
|
151
|
+
St as SearchGlobal,
|
|
152
|
+
Er as Select,
|
|
153
|
+
Gr as SelectContent,
|
|
154
|
+
Wr as SelectGroup,
|
|
155
|
+
Ar as SelectGroupLabel,
|
|
156
|
+
Rr as SelectItem,
|
|
157
|
+
kr as SelectTrigger,
|
|
158
|
+
Or as SelectValue,
|
|
159
|
+
ct as Separator,
|
|
160
|
+
me as Sheet,
|
|
161
|
+
be as SheetBody,
|
|
162
|
+
ge as SheetClose,
|
|
163
|
+
Te as SheetCloseButton,
|
|
164
|
+
xe as SheetContent,
|
|
165
|
+
De as SheetDescription,
|
|
166
|
+
Ie as SheetFooter,
|
|
167
|
+
he as SheetHeader,
|
|
168
|
+
Ce as SheetOverlay,
|
|
169
|
+
fe as SheetPortal,
|
|
170
|
+
ye as SheetTitle,
|
|
171
|
+
Pe as SheetTrigger,
|
|
172
|
+
mt as SidebarPrimary,
|
|
173
|
+
bt as SidebarPrimaryCollapseTrigger,
|
|
174
|
+
gt as SidebarPrimaryContent,
|
|
175
|
+
Tt as SidebarPrimaryFooter,
|
|
176
|
+
xt as SidebarPrimaryHeader,
|
|
177
|
+
Dt as SidebarPrimaryMenu,
|
|
178
|
+
It as SidebarPrimaryMenuItem,
|
|
179
|
+
ht as SidebarPrimaryMenuItemExtras,
|
|
180
|
+
Ct as SidebarPrimarySection,
|
|
181
|
+
Pt as SidebarSecondary,
|
|
182
|
+
Mt as SidebarSecondaryCollapseTrigger,
|
|
183
|
+
Bt as SidebarSecondaryCollapsedBreadcrumb,
|
|
184
|
+
wt as SidebarSecondaryContent,
|
|
185
|
+
Vt as SidebarSecondaryFooter,
|
|
186
|
+
vt as SidebarSecondaryHeader,
|
|
187
|
+
Ft as SidebarSecondaryMenu,
|
|
188
|
+
Ht as SidebarSecondaryMenuItem,
|
|
189
|
+
Lt as SidebarSecondaryMenuItemExtras,
|
|
190
|
+
Et as SidebarSecondaryMenuSub,
|
|
191
|
+
Gt as SidebarSecondaryMenuSubContent,
|
|
192
|
+
Wt as SidebarSecondaryMenuSubItem,
|
|
193
|
+
At as SidebarSecondaryMenuSubTrigger,
|
|
194
|
+
Rt as SidebarSecondarySection,
|
|
195
|
+
kt as SidebarSecondarySectionLabel,
|
|
196
|
+
Nt as Spinner,
|
|
197
|
+
Jt as Switch,
|
|
198
|
+
Qt as Table,
|
|
199
|
+
Ut as TableBody,
|
|
200
|
+
Xt as TableCaption,
|
|
201
|
+
Yt as TableCell,
|
|
202
|
+
Zt as TableFooter,
|
|
203
|
+
_t as TableHead,
|
|
204
|
+
$t as TableHeader,
|
|
205
|
+
eo as TableRow,
|
|
206
|
+
to as Tabs,
|
|
207
|
+
oo as TabsContent,
|
|
208
|
+
ao as TabsList,
|
|
209
|
+
no as TabsTrigger,
|
|
210
|
+
u as Tag,
|
|
211
|
+
jr as Textarea,
|
|
212
|
+
lo as Toaster,
|
|
213
|
+
uo as Tooltip,
|
|
214
|
+
co as TooltipContent,
|
|
215
|
+
so as TooltipProvider,
|
|
216
|
+
mo as TooltipTrigger,
|
|
217
|
+
go as WidgetPlaceholder,
|
|
218
|
+
To as WidgetPlaceholderAction,
|
|
219
|
+
xo as WidgetPlaceholderContent,
|
|
220
|
+
Do as WidgetPlaceholderFooter,
|
|
221
|
+
Io as WidgetPlaceholderHeader,
|
|
222
|
+
ho as WidgetPlaceholderIcon,
|
|
223
|
+
Co as WidgetPlaceholderImage,
|
|
224
|
+
fo as WidgetPlaceholderText,
|
|
225
|
+
yo as WidgetPlaceholderTitle,
|
|
226
|
+
p as avatarVariants,
|
|
227
|
+
M as buttonIconVariants,
|
|
228
|
+
V as buttonMenuVariants,
|
|
229
|
+
f as buttonVariants,
|
|
230
|
+
k as cardFilterVariants,
|
|
231
|
+
q as chipVariants,
|
|
142
232
|
t as cn,
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
233
|
+
Oe as dialogContentVariants,
|
|
234
|
+
Kr as labelClassName,
|
|
235
|
+
Me as sheetVariants,
|
|
236
|
+
ft as sidebarPrimaryMenuItemVariants,
|
|
237
|
+
Ot as sidebarSecondaryMenuItemVariants,
|
|
238
|
+
jt as spinnerVariants,
|
|
239
|
+
c as tagVariants,
|
|
240
|
+
po as toast
|
|
147
241
|
};
|
|
148
242
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|