@acronis-platform/ui-react 0.35.1 → 0.38.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/card/card.js +92 -0
- package/dist/components/ui/card/card.js.map +1 -0
- package/dist/components/ui/chip/chip.js +70 -0
- package/dist/components/ui/chip/chip.js.map +1 -0
- package/dist/components/ui/dialog/dialog.js +140 -0
- package/dist/components/ui/dialog/dialog.js.map +1 -0
- package/dist/components/ui/input/input.js +2 -2
- package/dist/components/ui/input/input.js.map +1 -1
- package/dist/components/ui/input-search/input-search.js +4 -4
- package/dist/components/ui/input-search/input-search.js.map +1 -1
- package/dist/components/ui/input-text/input-text.js +1 -1
- package/dist/components/ui/input-text/input-text.js.map +1 -1
- package/dist/components/ui/search/search.js +2 -2
- package/dist/components/ui/search/search.js.map +1 -1
- package/dist/components/ui/table/table.js +118 -0
- package/dist/components/ui/table/table.js.map +1 -0
- package/dist/index.js +137 -105
- package/dist/index.js.map +1 -1
- package/dist/react.js +137 -105
- package/dist/react.js.map +1 -1
- package/dist/src/components/ui/card/card.d.ts +17 -0
- package/dist/src/components/ui/card/index.d.ts +1 -0
- package/dist/src/components/ui/chip/chip.d.ts +20 -0
- package/dist/src/components/ui/chip/index.d.ts +1 -0
- package/dist/src/components/ui/dialog/dialog.d.ts +39 -0
- package/dist/src/components/ui/dialog/dialog.docs.d.ts +24 -0
- package/dist/src/components/ui/dialog/index.d.ts +1 -0
- package/dist/src/components/ui/input/index.d.ts +1 -1
- package/dist/src/components/ui/input/input.d.ts +3 -3
- package/dist/src/components/ui/input-search/input-search.d.ts +2 -2
- package/dist/src/components/ui/search/index.d.ts +1 -1
- package/dist/src/components/ui/search/search.d.ts +3 -3
- package/dist/src/components/ui/sidebar-primary/sidebar-primary.d.ts +1 -1
- package/dist/src/components/ui/sidebar-secondary/sidebar-secondary.d.ts +1 -1
- package/dist/src/components/ui/table/index.d.ts +1 -0
- package/dist/src/components/ui/table/table.d.ts +23 -0
- package/dist/src/index.d.ts +7 -2
- package/dist/ui-react.css +1 -1
- package/package.json +4 -3
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { jsx as l, jsxs as b } from "react/jsx-runtime";
|
|
2
|
+
import * as t from "react";
|
|
3
|
+
import { ArrowUpIcon as n, ArrowDownIcon as m, ArrowsDownUpIcon as f } from "@acronis-platform/icons-react/stroke-mono";
|
|
4
|
+
import { cn as r } from "../../../lib/utils.js";
|
|
5
|
+
const u = t.forwardRef(({ className: a, ...e }, o) => /* @__PURE__ */ l("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ l(
|
|
6
|
+
"table",
|
|
7
|
+
{
|
|
8
|
+
ref: o,
|
|
9
|
+
className: r(
|
|
10
|
+
"w-full caption-bottom border-collapse text-sm text-[var(--ui-table-data-value-color-idle)]",
|
|
11
|
+
a
|
|
12
|
+
),
|
|
13
|
+
...e
|
|
14
|
+
}
|
|
15
|
+
) }));
|
|
16
|
+
u.displayName = "Table";
|
|
17
|
+
const p = t.forwardRef(({ className: a, ...e }, o) => /* @__PURE__ */ l("thead", { ref: o, className: r(a), ...e }));
|
|
18
|
+
p.displayName = "TableHeader";
|
|
19
|
+
const v = t.forwardRef(({ className: a, ...e }, o) => /* @__PURE__ */ l(
|
|
20
|
+
"tbody",
|
|
21
|
+
{
|
|
22
|
+
ref: o,
|
|
23
|
+
className: r("[&_tr:last-child]:border-0", a),
|
|
24
|
+
...e
|
|
25
|
+
}
|
|
26
|
+
));
|
|
27
|
+
v.displayName = "TableBody";
|
|
28
|
+
const g = t.forwardRef(({ className: a, ...e }, o) => /* @__PURE__ */ l(
|
|
29
|
+
"tfoot",
|
|
30
|
+
{
|
|
31
|
+
ref: o,
|
|
32
|
+
className: r(
|
|
33
|
+
"border-t border-[color:var(--ui-table-global-cell-border-color)] font-medium [&>tr]:last:border-b-0",
|
|
34
|
+
a
|
|
35
|
+
),
|
|
36
|
+
...e
|
|
37
|
+
}
|
|
38
|
+
));
|
|
39
|
+
g.displayName = "TableFooter";
|
|
40
|
+
const h = t.forwardRef(
|
|
41
|
+
({ className: a, selected: e, ...o }, s) => /* @__PURE__ */ l(
|
|
42
|
+
"tr",
|
|
43
|
+
{
|
|
44
|
+
ref: s,
|
|
45
|
+
"data-state": e ? "selected" : void 0,
|
|
46
|
+
className: r(
|
|
47
|
+
"border-b border-[color:var(--ui-table-global-cell-border-color)] bg-[var(--ui-table-global-row-color-idle)] transition-colors hover:bg-[var(--ui-table-global-row-color-hover)] data-[state=selected]:bg-[var(--ui-table-global-row-color-active)]",
|
|
48
|
+
a
|
|
49
|
+
),
|
|
50
|
+
...o
|
|
51
|
+
}
|
|
52
|
+
)
|
|
53
|
+
);
|
|
54
|
+
h.displayName = "TableRow";
|
|
55
|
+
function x({ direction: a }) {
|
|
56
|
+
const e = "size-[var(--ui-table-header-sort-icon-size)]";
|
|
57
|
+
return a === "asc" ? /* @__PURE__ */ l(n, { className: r(e, "text-[var(--ui-table-header-sort-icon-color-active)]") }) : a === "desc" ? /* @__PURE__ */ l(m, { className: r(e, "text-[var(--ui-table-header-sort-icon-color-active)]") }) : /* @__PURE__ */ l(f, { className: r(e, "text-[var(--ui-table-header-sort-icon-color-inactive)]") });
|
|
58
|
+
}
|
|
59
|
+
const w = t.forwardRef(
|
|
60
|
+
({ className: a, children: e, sortable: o, sortDirection: s = !1, onSort: i, ...c }, d) => /* @__PURE__ */ l(
|
|
61
|
+
"th",
|
|
62
|
+
{
|
|
63
|
+
ref: d,
|
|
64
|
+
"aria-sort": s === "asc" ? "ascending" : s === "desc" ? "descending" : o ? "none" : void 0,
|
|
65
|
+
className: r(
|
|
66
|
+
"h-10 px-[var(--ui-table-header-cell-padding-x)] text-left align-middle text-sm font-semibold text-[var(--ui-table-header-label-color)] [&:has([role=checkbox])]:pr-0",
|
|
67
|
+
o && "cursor-pointer transition-colors hover:bg-[var(--ui-table-header-cell-color-hover)]",
|
|
68
|
+
a
|
|
69
|
+
),
|
|
70
|
+
...c,
|
|
71
|
+
children: o ? /* @__PURE__ */ b(
|
|
72
|
+
"button",
|
|
73
|
+
{
|
|
74
|
+
type: "button",
|
|
75
|
+
onClick: i,
|
|
76
|
+
className: "-mx-1 inline-flex items-center gap-[var(--ui-table-header-gap)] rounded-sm px-1 outline-none focus-visible:ring-2 focus-visible:ring-[var(--ui-focus-primary)]",
|
|
77
|
+
children: [
|
|
78
|
+
e,
|
|
79
|
+
/* @__PURE__ */ l(x, { direction: s })
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
) : e
|
|
83
|
+
}
|
|
84
|
+
)
|
|
85
|
+
);
|
|
86
|
+
w.displayName = "TableHead";
|
|
87
|
+
const N = t.forwardRef(({ className: a, ...e }, o) => /* @__PURE__ */ l(
|
|
88
|
+
"td",
|
|
89
|
+
{
|
|
90
|
+
ref: o,
|
|
91
|
+
className: r(
|
|
92
|
+
"h-10 px-[var(--ui-table-global-cell-padding-x)] py-[var(--ui-table-global-cell-padding-y)] align-middle text-sm [&:has([role=checkbox])]:pr-0",
|
|
93
|
+
a
|
|
94
|
+
),
|
|
95
|
+
...e
|
|
96
|
+
}
|
|
97
|
+
));
|
|
98
|
+
N.displayName = "TableCell";
|
|
99
|
+
const T = t.forwardRef(({ className: a, ...e }, o) => /* @__PURE__ */ l(
|
|
100
|
+
"caption",
|
|
101
|
+
{
|
|
102
|
+
ref: o,
|
|
103
|
+
className: r("mt-4 text-sm text-muted-foreground", a),
|
|
104
|
+
...e
|
|
105
|
+
}
|
|
106
|
+
));
|
|
107
|
+
T.displayName = "TableCaption";
|
|
108
|
+
export {
|
|
109
|
+
u as Table,
|
|
110
|
+
v as TableBody,
|
|
111
|
+
T as TableCaption,
|
|
112
|
+
N as TableCell,
|
|
113
|
+
g as TableFooter,
|
|
114
|
+
w as TableHead,
|
|
115
|
+
p as TableHeader,
|
|
116
|
+
h as TableRow
|
|
117
|
+
};
|
|
118
|
+
//# sourceMappingURL=table.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.js","sources":["../../../../src/components/ui/table/table.tsx"],"sourcesContent":["import * as React from 'react';\nimport {\n ArrowDownIcon,\n ArrowUpIcon,\n ArrowsDownUpIcon,\n} from '@acronis-platform/icons-react/stroke-mono';\n\nimport { cn } from '@/lib/utils';\n\n// Composable table primitives ported from `@acronis-platform/shadcn-uikit`'s\n// `table` (packages/ui-legacy/src/components/ui/table.tsx) and informed by the\n// \"pre-release\" Table design in the shadcn-uikit Figma (node 2948-2416). Unlike\n// Card/Dialog, a `--ui-table-*` token tier already exists, so these parts theme\n// directly from it (imported in styles/index.css):\n// • cell -> --ui-table-global-cell-{border-color,padding-x,padding-y,min-height}\n// • row -> --ui-table-global-row-color-{idle,hover,active} (active = selected)\n// • header -> --ui-table-header-{label-color,cell-color-hover,cell-padding-x,gap}\n// • sort -> --ui-table-header-sort-icon-{color-active,color-inactive,size}\n// • data -> --ui-table-data-value-color-{idle,disabled}\n// The design's row checkboxes, tags, links and the column-settings button are\n// consumer composition (use Checkbox / Tag / Link / ButtonIcon in cells). A\n// TanStack-backed `DataTable` (sorting/selection logic over these primitives) is\n// a planned follow-up, mirroring legacy's separate `data-table`. Reconcile with\n// `/figma-component Table <url> --update` once the design is ready for dev.\n\nconst Table = React.forwardRef<\n HTMLTableElement,\n React.HTMLAttributes<HTMLTableElement>\n>(({ className, ...props }, ref) => (\n <div className=\"relative w-full overflow-auto\">\n <table\n ref={ref}\n className={cn(\n 'w-full caption-bottom border-collapse text-sm text-[var(--ui-table-data-value-color-idle)]',\n className\n )}\n {...props}\n />\n </div>\n));\nTable.displayName = 'Table';\n\nconst TableHeader = React.forwardRef<\n HTMLTableSectionElement,\n React.HTMLAttributes<HTMLTableSectionElement>\n>(({ className, ...props }, ref) => (\n <thead ref={ref} className={cn(className)} {...props} />\n));\nTableHeader.displayName = 'TableHeader';\n\nconst TableBody = React.forwardRef<\n HTMLTableSectionElement,\n React.HTMLAttributes<HTMLTableSectionElement>\n>(({ className, ...props }, ref) => (\n <tbody\n ref={ref}\n className={cn('[&_tr:last-child]:border-0', className)}\n {...props}\n />\n));\nTableBody.displayName = 'TableBody';\n\nconst TableFooter = React.forwardRef<\n HTMLTableSectionElement,\n React.HTMLAttributes<HTMLTableSectionElement>\n>(({ className, ...props }, ref) => (\n <tfoot\n ref={ref}\n className={cn(\n 'border-t border-[color:var(--ui-table-global-cell-border-color)] font-medium [&>tr]:last:border-b-0',\n className\n )}\n {...props}\n />\n));\nTableFooter.displayName = 'TableFooter';\n\nexport interface TableRowProps\n extends React.HTMLAttributes<HTMLTableRowElement> {\n /** Mark the row as selected — applies the active row token + `data-state`. */\n selected?: boolean;\n}\n\nconst TableRow = React.forwardRef<HTMLTableRowElement, TableRowProps>(\n ({ className, selected, ...props }, ref) => (\n <tr\n ref={ref}\n data-state={selected ? 'selected' : undefined}\n className={cn(\n 'border-b border-[color:var(--ui-table-global-cell-border-color)] bg-[var(--ui-table-global-row-color-idle)] transition-colors hover:bg-[var(--ui-table-global-row-color-hover)] data-[state=selected]:bg-[var(--ui-table-global-row-color-active)]',\n className\n )}\n {...props}\n />\n )\n);\nTableRow.displayName = 'TableRow';\n\ntype SortDirection = 'asc' | 'desc' | false;\n\nexport interface TableHeadProps\n extends React.ThHTMLAttributes<HTMLTableCellElement> {\n /** Render the column as sortable — adds a sort affordance and `aria-sort`. */\n sortable?: boolean;\n /** Current sort direction for this column (`false` = sortable but unsorted). */\n sortDirection?: SortDirection;\n /** Invoked when the user activates a sortable header (click / Enter / Space). */\n onSort?: () => void;\n}\n\nfunction SortIcon({ direction }: { direction: SortDirection }) {\n const size = 'size-[var(--ui-table-header-sort-icon-size)]';\n if (direction === 'asc') {\n return <ArrowUpIcon className={cn(size, 'text-[var(--ui-table-header-sort-icon-color-active)]')} />;\n }\n if (direction === 'desc') {\n return <ArrowDownIcon className={cn(size, 'text-[var(--ui-table-header-sort-icon-color-active)]')} />;\n }\n return <ArrowsDownUpIcon className={cn(size, 'text-[var(--ui-table-header-sort-icon-color-inactive)]')} />;\n}\n\nconst TableHead = React.forwardRef<HTMLTableCellElement, TableHeadProps>(\n ({ className, children, sortable, sortDirection = false, onSort, ...props }, ref) => (\n <th\n ref={ref}\n aria-sort={\n sortDirection === 'asc'\n ? 'ascending'\n : sortDirection === 'desc'\n ? 'descending'\n : sortable\n ? 'none'\n : undefined\n }\n className={cn(\n 'h-10 px-[var(--ui-table-header-cell-padding-x)] text-left align-middle text-sm font-semibold text-[var(--ui-table-header-label-color)] [&:has([role=checkbox])]:pr-0',\n sortable &&\n 'cursor-pointer transition-colors hover:bg-[var(--ui-table-header-cell-color-hover)]',\n className\n )}\n {...props}\n >\n {sortable ? (\n <button\n type=\"button\"\n onClick={onSort}\n className=\"-mx-1 inline-flex items-center gap-[var(--ui-table-header-gap)] rounded-sm px-1 outline-none focus-visible:ring-2 focus-visible:ring-[var(--ui-focus-primary)]\"\n >\n {children}\n <SortIcon direction={sortDirection} />\n </button>\n ) : (\n children\n )}\n </th>\n )\n);\nTableHead.displayName = 'TableHead';\n\nconst TableCell = React.forwardRef<\n HTMLTableCellElement,\n React.TdHTMLAttributes<HTMLTableCellElement>\n>(({ className, ...props }, ref) => (\n <td\n ref={ref}\n className={cn(\n 'h-10 px-[var(--ui-table-global-cell-padding-x)] py-[var(--ui-table-global-cell-padding-y)] align-middle text-sm [&:has([role=checkbox])]:pr-0',\n className\n )}\n {...props}\n />\n));\nTableCell.displayName = 'TableCell';\n\nconst TableCaption = React.forwardRef<\n HTMLTableCaptionElement,\n React.HTMLAttributes<HTMLTableCaptionElement>\n>(({ className, ...props }, ref) => (\n <caption\n ref={ref}\n className={cn('mt-4 text-sm text-muted-foreground', className)}\n {...props}\n />\n));\nTableCaption.displayName = 'TableCaption';\n\nexport {\n Table,\n TableHeader,\n TableBody,\n TableFooter,\n TableHead,\n TableRow,\n TableCell,\n TableCaption,\n};\n"],"names":["Table","React","className","props","ref","jsx","cn","TableHeader","TableBody","TableFooter","TableRow","selected","SortIcon","direction","size","ArrowUpIcon","ArrowDownIcon","ArrowsDownUpIcon","TableHead","children","sortable","sortDirection","onSort","jsxs","TableCell","TableCaption"],"mappings":"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"}
|
package/dist/index.js
CHANGED
|
@@ -1,116 +1,148 @@
|
|
|
1
1
|
import { cn as t } from "./lib/utils.js";
|
|
2
|
-
import { Avatar as o, AvatarFallback as n, AvatarGroup as
|
|
3
|
-
import { Breadcrumb as p, BreadcrumbEllipsis as
|
|
4
|
-
import { Button as
|
|
5
|
-
import { ButtonIcon as
|
|
6
|
-
import { ButtonMenu as
|
|
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 {
|
|
2
|
+
import { Avatar as o, AvatarFallback as n, AvatarGroup as i, AvatarImage as l, avatarVariants as S } from "./components/ui/avatar/avatar.js";
|
|
3
|
+
import { Breadcrumb as p, BreadcrumbEllipsis as d, BreadcrumbItem as u, BreadcrumbLink as b, BreadcrumbList as m, BreadcrumbPage as I, BreadcrumbSeparator as s } from "./components/ui/breadcrumb/breadcrumb.js";
|
|
4
|
+
import { Button as g, buttonVariants as y } from "./components/ui/button/button.js";
|
|
5
|
+
import { ButtonIcon as f, buttonIconVariants as C } from "./components/ui/button-icon/button-icon.js";
|
|
6
|
+
import { ButtonMenu as P, buttonMenuVariants as B } from "./components/ui/button-menu/button-menu.js";
|
|
7
|
+
import { Card as V, CardContent as h, CardDescription as F, CardFooter as L, CardHeader as v, CardTitle as G } from "./components/ui/card/card.js";
|
|
8
|
+
import { CardFilter as A, cardFilterVariants as R } from "./components/ui/card-filter/card-filter.js";
|
|
9
|
+
import { Checkbox as E } from "./components/ui/checkbox/checkbox.js";
|
|
10
|
+
import { Chip as w, chipVariants as O } from "./components/ui/chip/chip.js";
|
|
11
|
+
import { Dialog as q, DialogBody as J, DialogClose as K, DialogCloseButton as N, DialogContent as Q, DialogDescription as U, DialogFooter as W, DialogHeader as X, DialogOverlay as Y, DialogPortal as Z, DialogTitle as _, DialogTrigger as $, dialogContentVariants as ee } from "./components/ui/dialog/dialog.js";
|
|
12
|
+
import { InputText as te, InputText as ae } from "./components/ui/input-text/input-text.js";
|
|
13
|
+
import { InputDatePicker as ne } from "./components/ui/input-date-picker/input-date-picker.js";
|
|
14
|
+
import { InputSearch as le, InputSearch as Se } from "./components/ui/input-search/input-search.js";
|
|
15
|
+
import { InputSelect as pe, InputSelectContent as de, InputSelectDescription as ue, InputSelectError as be, InputSelectField as me, InputSelectGroup as Ie, InputSelectItem as se, InputSelectLabel as xe, InputSelectSearch as ge, InputSelectSection as ye, InputSelectSectionLabel as Te, InputSelectStatus as fe, InputSelectTrigger as Ce, InputSelectValue as De, InputSelect as Pe, InputSelectContent as Be, InputSelectSection as Me, InputSelectSectionLabel as Ve, InputSelectItem as he, InputSelectTrigger as Fe, InputSelectValue as Le } from "./components/ui/input-select/input-select.js";
|
|
16
|
+
import { InputTextArea as Ge, InputTextArea as He } from "./components/ui/input-text-area/input-text-area.js";
|
|
17
|
+
import { Link as Re } from "./components/ui/link/link.js";
|
|
18
|
+
import { Radio as Ee, RadioGroup as ze } from "./components/ui/radio/radio.js";
|
|
19
|
+
import { ResizableHandle as Oe, ResizablePanel as je, ResizablePanelGroup as qe } from "./components/ui/resizable/resizable.js";
|
|
20
|
+
import { SearchGlobal as Ke } from "./components/ui/search-global/search-global.js";
|
|
21
|
+
import { SidebarPrimary as Qe, SidebarPrimaryCollapseTrigger as Ue, SidebarPrimaryContent as We, SidebarPrimaryFooter as Xe, SidebarPrimaryHeader as Ye, SidebarPrimaryMenu as Ze, SidebarPrimaryMenuItem as _e, SidebarPrimaryMenuItemExtras as $e, SidebarPrimarySection as er, sidebarPrimaryMenuItemVariants as rr } from "./components/ui/sidebar-primary/sidebar-primary.js";
|
|
22
|
+
import { SidebarSecondary as ar, SidebarSecondaryCollapseTrigger as or, SidebarSecondaryCollapsedBreadcrumb as nr, SidebarSecondaryContent as ir, SidebarSecondaryFooter as lr, SidebarSecondaryHeader as Sr, SidebarSecondaryMenu as cr, SidebarSecondaryMenuItem as pr, SidebarSecondaryMenuItemExtras as dr, SidebarSecondaryMenuSub as ur, SidebarSecondaryMenuSubContent as br, SidebarSecondaryMenuSubItem as mr, SidebarSecondaryMenuSubTrigger as Ir, SidebarSecondarySection as sr, SidebarSecondarySectionLabel as xr, sidebarSecondaryMenuItemVariants as gr } from "./components/ui/sidebar-secondary/sidebar-secondary.js";
|
|
23
|
+
import { Switch as Tr } from "./components/ui/switch/switch.js";
|
|
24
|
+
import { Table as Cr, TableBody as Dr, TableCaption as Pr, TableCell as Br, TableFooter as Mr, TableHead as Vr, TableHeader as hr, TableRow as Fr } from "./components/ui/table/table.js";
|
|
25
|
+
import { Tag as vr, tagVariants as Gr } from "./components/ui/tag/tag.js";
|
|
26
|
+
import { Tooltip as Ar, TooltipContent as Rr, TooltipProvider as kr, TooltipTrigger as Er } from "./components/ui/tooltip/tooltip.js";
|
|
25
27
|
export {
|
|
26
28
|
o as Avatar,
|
|
27
29
|
n as AvatarFallback,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
+
i as AvatarGroup,
|
|
31
|
+
l as AvatarImage,
|
|
30
32
|
p as Breadcrumb,
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
d as BreadcrumbEllipsis,
|
|
34
|
+
u as BreadcrumbItem,
|
|
35
|
+
b as BreadcrumbLink,
|
|
36
|
+
m as BreadcrumbList,
|
|
35
37
|
I as BreadcrumbPage,
|
|
36
38
|
s as BreadcrumbSeparator,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
Q as
|
|
54
|
-
U as
|
|
55
|
-
W as
|
|
56
|
-
X as
|
|
57
|
-
Y as
|
|
58
|
-
Z as
|
|
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
|
-
Ze as
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
39
|
+
g as Button,
|
|
40
|
+
f as ButtonIcon,
|
|
41
|
+
P as ButtonMenu,
|
|
42
|
+
V as Card,
|
|
43
|
+
h as CardContent,
|
|
44
|
+
F as CardDescription,
|
|
45
|
+
A as CardFilter,
|
|
46
|
+
L as CardFooter,
|
|
47
|
+
v as CardHeader,
|
|
48
|
+
G as CardTitle,
|
|
49
|
+
E as Checkbox,
|
|
50
|
+
w as Chip,
|
|
51
|
+
q as Dialog,
|
|
52
|
+
J as DialogBody,
|
|
53
|
+
K as DialogClose,
|
|
54
|
+
N as DialogCloseButton,
|
|
55
|
+
Q as DialogContent,
|
|
56
|
+
U as DialogDescription,
|
|
57
|
+
W as DialogFooter,
|
|
58
|
+
X as DialogHeader,
|
|
59
|
+
Y as DialogOverlay,
|
|
60
|
+
Z as DialogPortal,
|
|
61
|
+
_ as DialogTitle,
|
|
62
|
+
$ as DialogTrigger,
|
|
63
|
+
te as Input,
|
|
64
|
+
ne as InputDatePicker,
|
|
65
|
+
le as InputSearch,
|
|
66
|
+
pe as InputSelect,
|
|
67
|
+
de as InputSelectContent,
|
|
68
|
+
ue as InputSelectDescription,
|
|
69
|
+
be as InputSelectError,
|
|
70
|
+
me as InputSelectField,
|
|
71
|
+
Ie as InputSelectGroup,
|
|
72
|
+
se as InputSelectItem,
|
|
73
|
+
xe as InputSelectLabel,
|
|
74
|
+
ge as InputSelectSearch,
|
|
75
|
+
ye as InputSelectSection,
|
|
76
|
+
Te as InputSelectSectionLabel,
|
|
77
|
+
fe as InputSelectStatus,
|
|
78
|
+
Ce as InputSelectTrigger,
|
|
79
|
+
De as InputSelectValue,
|
|
80
|
+
ae as InputText,
|
|
81
|
+
Ge as InputTextArea,
|
|
82
|
+
Re as Link,
|
|
83
|
+
Ee as Radio,
|
|
84
|
+
ze as RadioGroup,
|
|
85
|
+
Oe as ResizableHandle,
|
|
86
|
+
je as ResizablePanel,
|
|
87
|
+
qe as ResizablePanelGroup,
|
|
88
|
+
Se as Search,
|
|
89
|
+
Ke as SearchGlobal,
|
|
90
|
+
Pe as Select,
|
|
91
|
+
Be as SelectContent,
|
|
92
|
+
Me as SelectGroup,
|
|
93
|
+
Ve as SelectGroupLabel,
|
|
94
|
+
he as SelectItem,
|
|
95
|
+
Fe as SelectTrigger,
|
|
96
|
+
Le as SelectValue,
|
|
97
|
+
Qe as SidebarPrimary,
|
|
98
|
+
Ue as SidebarPrimaryCollapseTrigger,
|
|
99
|
+
We as SidebarPrimaryContent,
|
|
100
|
+
Xe as SidebarPrimaryFooter,
|
|
101
|
+
Ye as SidebarPrimaryHeader,
|
|
102
|
+
Ze as SidebarPrimaryMenu,
|
|
103
|
+
_e as SidebarPrimaryMenuItem,
|
|
104
|
+
$e as SidebarPrimaryMenuItemExtras,
|
|
105
|
+
er as SidebarPrimarySection,
|
|
106
|
+
ar as SidebarSecondary,
|
|
107
|
+
or as SidebarSecondaryCollapseTrigger,
|
|
108
|
+
nr as SidebarSecondaryCollapsedBreadcrumb,
|
|
109
|
+
ir as SidebarSecondaryContent,
|
|
110
|
+
lr as SidebarSecondaryFooter,
|
|
111
|
+
Sr as SidebarSecondaryHeader,
|
|
112
|
+
cr as SidebarSecondaryMenu,
|
|
113
|
+
pr as SidebarSecondaryMenuItem,
|
|
114
|
+
dr as SidebarSecondaryMenuItemExtras,
|
|
115
|
+
ur as SidebarSecondaryMenuSub,
|
|
116
|
+
br as SidebarSecondaryMenuSubContent,
|
|
117
|
+
mr as SidebarSecondaryMenuSubItem,
|
|
118
|
+
Ir as SidebarSecondaryMenuSubTrigger,
|
|
119
|
+
sr as SidebarSecondarySection,
|
|
120
|
+
xr as SidebarSecondarySectionLabel,
|
|
121
|
+
Tr as Switch,
|
|
122
|
+
Cr as Table,
|
|
123
|
+
Dr as TableBody,
|
|
124
|
+
Pr as TableCaption,
|
|
125
|
+
Br as TableCell,
|
|
126
|
+
Mr as TableFooter,
|
|
127
|
+
Vr as TableHead,
|
|
128
|
+
hr as TableHeader,
|
|
129
|
+
Fr as TableRow,
|
|
130
|
+
vr as Tag,
|
|
131
|
+
He as Textarea,
|
|
132
|
+
Ar as Tooltip,
|
|
133
|
+
Rr as TooltipContent,
|
|
134
|
+
kr as TooltipProvider,
|
|
135
|
+
Er as TooltipTrigger,
|
|
136
|
+
S as avatarVariants,
|
|
137
|
+
C as buttonIconVariants,
|
|
108
138
|
B as buttonMenuVariants,
|
|
109
|
-
|
|
110
|
-
|
|
139
|
+
y as buttonVariants,
|
|
140
|
+
R as cardFilterVariants,
|
|
141
|
+
O as chipVariants,
|
|
111
142
|
t as cn,
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
143
|
+
ee as dialogContentVariants,
|
|
144
|
+
rr as sidebarPrimaryMenuItemVariants,
|
|
145
|
+
gr as sidebarSecondaryMenuItemVariants,
|
|
146
|
+
Gr as tagVariants
|
|
115
147
|
};
|
|
116
148
|
//# 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":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
|