@acronis-platform/shadcn-uikit 0.9.0 → 0.9.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/components/ui/table.js +13 -13
- package/dist/components/ui/table.js.map +1 -1
- package/dist/node_modules/.pnpm/es-toolkit@1.43.0/node_modules/es-toolkit/dist/compat/object/cloneDeep.js +1 -1
- package/dist/node_modules/.pnpm/es-toolkit@1.43.0/node_modules/es-toolkit/dist/object/cloneDeep.js +1 -1
- package/dist/themes/cyber-chat.css +1 -1
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ const d = t.forwardRef(
|
|
|
7
7
|
{
|
|
8
8
|
ref: r,
|
|
9
9
|
className: l(
|
|
10
|
-
"w-full caption-bottom text-sm text-foreground bg-
|
|
10
|
+
"w-full caption-bottom text-sm text-foreground bg-card/50 border border-border rounded-2xl",
|
|
11
11
|
e
|
|
12
12
|
),
|
|
13
13
|
...a
|
|
@@ -20,7 +20,7 @@ const s = t.forwardRef(({ className: e, ...a }, r) => /* @__PURE__ */ o(
|
|
|
20
20
|
{
|
|
21
21
|
ref: r,
|
|
22
22
|
className: l(
|
|
23
|
-
"[&_tr]:border-b [&_tr]:border-
|
|
23
|
+
"[&_tr]:border-b [&_tr]:border-border/10",
|
|
24
24
|
e
|
|
25
25
|
),
|
|
26
26
|
...a
|
|
@@ -29,33 +29,33 @@ const s = t.forwardRef(({ className: e, ...a }, r) => /* @__PURE__ */ o(
|
|
|
29
29
|
s.displayName = "TableHeader";
|
|
30
30
|
const b = t.forwardRef(({ className: e, ...a }, r) => /* @__PURE__ */ o("tbody", { ref: r, className: l("[&_tr:last-child]:border-0", e), ...a }));
|
|
31
31
|
b.displayName = "TableBody";
|
|
32
|
-
const
|
|
32
|
+
const m = t.forwardRef(({ className: e, ...a }, r) => /* @__PURE__ */ o(
|
|
33
33
|
"tfoot",
|
|
34
34
|
{
|
|
35
35
|
ref: r,
|
|
36
36
|
className: l(
|
|
37
|
-
"border-t border-
|
|
37
|
+
"border-t border-border/10 font-medium [&>tr]:last:border-b-0",
|
|
38
38
|
e
|
|
39
39
|
),
|
|
40
40
|
...a
|
|
41
41
|
}
|
|
42
42
|
));
|
|
43
|
-
|
|
44
|
-
const
|
|
43
|
+
m.displayName = "TableFooter";
|
|
44
|
+
const c = t.forwardRef(
|
|
45
45
|
({ className: e, ...a }, r) => /* @__PURE__ */ o(
|
|
46
46
|
"tr",
|
|
47
47
|
{
|
|
48
48
|
ref: r,
|
|
49
49
|
className: l(
|
|
50
|
-
"h-12 border-b border-
|
|
50
|
+
"h-12 border-b border-border/10 transition-colors hover:bg-accent/5 data-[state=selected]:bg-accent/10",
|
|
51
51
|
e
|
|
52
52
|
),
|
|
53
53
|
...a
|
|
54
54
|
}
|
|
55
55
|
)
|
|
56
56
|
);
|
|
57
|
-
|
|
58
|
-
const
|
|
57
|
+
c.displayName = "TableRow";
|
|
58
|
+
const f = t.forwardRef(({ className: e, ...a }, r) => /* @__PURE__ */ o(
|
|
59
59
|
"th",
|
|
60
60
|
{
|
|
61
61
|
ref: r,
|
|
@@ -66,7 +66,7 @@ const c = t.forwardRef(({ className: e, ...a }, r) => /* @__PURE__ */ o(
|
|
|
66
66
|
...a
|
|
67
67
|
}
|
|
68
68
|
));
|
|
69
|
-
|
|
69
|
+
f.displayName = "TableHead";
|
|
70
70
|
const i = t.forwardRef(({ className: e, ...a }, r) => /* @__PURE__ */ o(
|
|
71
71
|
"td",
|
|
72
72
|
{
|
|
@@ -86,9 +86,9 @@ export {
|
|
|
86
86
|
b as TableBody,
|
|
87
87
|
n as TableCaption,
|
|
88
88
|
i as TableCell,
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
m as TableFooter,
|
|
90
|
+
f as TableHead,
|
|
91
91
|
s as TableHeader,
|
|
92
|
-
|
|
92
|
+
c as TableRow
|
|
93
93
|
};
|
|
94
94
|
//# sourceMappingURL=table.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.js","sources":["../../../src/components/ui/table.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport { cn } from '@/lib/utils'\n\nconst Table = React.forwardRef<HTMLTableElement, 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 text-sm text-foreground bg-
|
|
1
|
+
{"version":3,"file":"table.js","sources":["../../../src/components/ui/table.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport { cn } from '@/lib/utils'\n\nconst Table = React.forwardRef<HTMLTableElement, 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 text-sm text-foreground bg-card/50 border border-border rounded-2xl',\n className\n )}\n {...props}\n />\n </div>\n )\n)\nTable.displayName = 'Table'\n\nconst TableHeader = React.forwardRef<\n HTMLTableSectionElement,\n React.HTMLAttributes<HTMLTableSectionElement>\n>(({ className, ...props }, ref) => (\n <thead\n ref={ref}\n className={cn(\n '[&_tr]:border-b [&_tr]:border-border/10',\n className\n )}\n {...props}\n />\n))\nTableHeader.displayName = 'TableHeader'\n\nconst TableBody = React.forwardRef<\n HTMLTableSectionElement,\n React.HTMLAttributes<HTMLTableSectionElement>\n>(({ className, ...props }, ref) => (\n <tbody ref={ref} className={cn('[&_tr:last-child]:border-0', className)} {...props} />\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-border/10 font-medium [&>tr]:last:border-b-0',\n className\n )}\n {...props}\n />\n))\nTableFooter.displayName = 'TableFooter'\n\nconst TableRow = React.forwardRef<HTMLTableRowElement, React.HTMLAttributes<HTMLTableRowElement>>(\n ({ className, ...props }, ref) => (\n <tr\n ref={ref}\n className={cn(\n 'h-12 border-b border-border/10 transition-colors hover:bg-accent/5 data-[state=selected]:bg-accent/10',\n className\n )}\n {...props}\n />\n )\n)\nTableRow.displayName = 'TableRow'\n\nconst TableHead = React.forwardRef<\n HTMLTableCellElement,\n React.ThHTMLAttributes<HTMLTableCellElement>\n>(({ className, ...props }, ref) => (\n <th\n ref={ref}\n className={cn(\n 'h-12 px-6 text-left align-middle font-semibold text-sm text-foreground [&:has([role=checkbox])]:pr-0',\n className\n )}\n {...props}\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-12 px-6 align-middle text-sm text-foreground [&: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 ref={ref} className={cn('mt-4 text-sm text-muted-foreground', className)} {...props} />\n))\nTableCaption.displayName = 'TableCaption'\n\nexport { Table, TableHeader, TableBody, TableFooter, TableHead, TableRow, TableCell, TableCaption }\n"],"names":["Table","React","className","props","ref","jsx","cn","TableHeader","TableBody","TableFooter","TableRow","TableHead","TableCell","TableCaption"],"mappings":";;;AAIA,MAAMA,IAAQC,EAAM;AAAA,EAClB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MACxB,gBAAAC,EAAC,OAAA,EAAI,WAAU,iCACb,UAAA,gBAAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,KAAAD;AAAA,MACA,WAAWE;AAAA,QACT;AAAA,QACAJ;AAAA,MAAA;AAAA,MAED,GAAGC;AAAA,IAAA;AAAA,EAAA,EACN,CACF;AAEJ;AACAH,EAAM,cAAc;AAEpB,MAAMO,IAAcN,EAAM,WAGxB,CAAC,EAAE,WA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AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAD;AAAA,IACA,WAAWE;AAAA,MACT;AAAA,MACAJ;AAAA,IAAA;AAAA,IAED,GAAGC;AAAA,EAAA;AACN,CACD;AACDS,EAAU,cAAc;AAExB,MAAMC,IAAeZ,EAAM,WAGzB,CAAC,EAAE,WAAAC,GAAW,GAAGC,KAASC,wBACzB,WAAA,EAAQ,KAAAA,GAAU,WAAWE,EAAG,sCAAsCJ,CAAS,GAAI,GAAGC,GAAO,CAC/F;AACDU,EAAa,cAAc;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--color-brand-primary: 213 65% 46%;--color-brand-secondary: 211 100% 45%;--color-brand-lightest: 213 65% 97%;--color-brand-light: 213 65% 96%;--color-text-inverse: 0 0% 100%;--color-text-primary: 215 26% 20%;--color-text-secondary: 215 26% 46%;--color-text-tertiary: 215 14% 39%;--color-surface-primary: 0 0% 100%;--color-surface-secondary: 210 100% 15%;--color-surface-overlay: 215 26% 20%;--color-surface-elevated: 0 0% 100%;--color-status-success: 73 68% 45%;--color-status-success-light: 84 67% 93%;--color-status-success-dark: 84 98% 21%;--color-status-info: 211 82% 60%;--color-status-info-light: 214 78% 95%;--color-status-info-dark: 214 68% 38%;--color-status-warning: 45 100% 52%;--color-status-warning-light: 45 100% 95%;--color-status-warning-dark: 30 50% 37%;--color-status-danger: 0 77% 57%;--color-status-danger-light: 0 100% 96%;--color-status-danger-dark: 0 72% 45%;--color-status-critical: 25 100% 52%;--color-status-critical-light: 27 95% 92%;--color-status-critical-dark: 11 73% 41%;--color-neutral: 220 11% 62%;--color-neutral-light: 220 11% 92%;--color-neutral-dark: 215 14% 39%;--color-ai: 263deg 77% 57%;--color-ai-light: 273deg 85% 97%;--color-ai-dark: 263deg 77% 57%;--opacity-10: .1;--opacity-20: .2;--opacity-30: .3;--opacity-40: .4;--opacity-50: .5;--opacity-70: .7;--opacity-90: .9}.theme-cyber-chat{--color-brand-primary: 210 100% 50%;--color-brand-secondary: 210 100% 15%;--color-brand-tertiary: 210 100% 65%;--color-surface-primary: 0 0% 100%;--color-surface-secondary: 210 50% 98%;--color-surface-tertiary: 210 40% 96%;--color-surface-quaternary: 210 30% 94%;--color-text-primary: 0 0% 4%;--color-text-secondary: 0 0% 45%;--color-text-tertiary: 0 0% 64%;--color-text-inverse: 0 0% 100%;--color-border-primary: 220 13% 88%;--color-border-secondary: 210 40% 93%;--color-border-accent: 210 100% 50%;--color-status-success: 142 76% 36%;--color-status-warning: 38 92% 50%;--color-status-danger: 0 84% 60%;--color-status-info: 210 100% 50%;--color-chat-message-user: 210 100% 50%;--color-chat-message-bot: 210 40% 96%;--color-chat-online: 142 76% 36%;--color-chat-typing: 210 100% 65%;--av-background: var(--color-surface-primary);--av-foreground: var(--color-text-primary);--av-
|
|
1
|
+
:root{--color-brand-primary: 213 65% 46%;--color-brand-secondary: 211 100% 45%;--color-brand-lightest: 213 65% 97%;--color-brand-light: 213 65% 96%;--color-text-inverse: 0 0% 100%;--color-text-primary: 215 26% 20%;--color-text-secondary: 215 26% 46%;--color-text-tertiary: 215 14% 39%;--color-surface-primary: 0 0% 100%;--color-surface-secondary: 210 100% 15%;--color-surface-overlay: 215 26% 20%;--color-surface-elevated: 0 0% 100%;--color-status-success: 73 68% 45%;--color-status-success-light: 84 67% 93%;--color-status-success-dark: 84 98% 21%;--color-status-info: 211 82% 60%;--color-status-info-light: 214 78% 95%;--color-status-info-dark: 214 68% 38%;--color-status-warning: 45 100% 52%;--color-status-warning-light: 45 100% 95%;--color-status-warning-dark: 30 50% 37%;--color-status-danger: 0 77% 57%;--color-status-danger-light: 0 100% 96%;--color-status-danger-dark: 0 72% 45%;--color-status-critical: 25 100% 52%;--color-status-critical-light: 27 95% 92%;--color-status-critical-dark: 11 73% 41%;--color-neutral: 220 11% 62%;--color-neutral-light: 220 11% 92%;--color-neutral-dark: 215 14% 39%;--color-ai: 263deg 77% 57%;--color-ai-light: 273deg 85% 97%;--color-ai-dark: 263deg 77% 57%;--opacity-10: .1;--opacity-20: .2;--opacity-30: .3;--opacity-40: .4;--opacity-50: .5;--opacity-70: .7;--opacity-90: .9}.theme-cyber-chat{--color-brand-primary: 210 100% 50%;--color-brand-lightest: 210 50% 97%;--color-brand-secondary: 210 100% 15%;--color-brand-tertiary: 210 100% 65%;--color-surface-primary: 0 0% 100%;--color-surface-secondary: 210 50% 98%;--color-surface-tertiary: 210 40% 96%;--color-surface-quaternary: 210 30% 94%;--color-text-primary: 0 0% 4%;--color-text-secondary: 0 0% 45%;--color-text-tertiary: 0 0% 64%;--color-text-inverse: 0 0% 100%;--color-border-primary: 220 13% 88%;--color-border-secondary: 210 40% 93%;--color-border-accent: 210 100% 50%;--color-status-success: 142 76% 36%;--color-status-warning: 38 92% 50%;--color-status-danger: 0 84% 60%;--color-status-info: 210 100% 50%;--color-chat-message-user: 210 100% 50%;--color-chat-message-bot: 210 40% 96%;--color-chat-online: 142 76% 36%;--color-chat-typing: 210 100% 65%;--av-background: var(--color-surface-primary);--av-foreground: var(--color-text-primary);--av-popover: var(--color-surface-primary);--av-popover-foreground: var(--color-text-primary);--av-muted: 210 100% 91%;--av-accent: var(--color-surface-tertiary);--av-accent-foreground: var(--color-text-primary);--av-destructive: var(--color-status-danger);--av-destructive-foreground: var(--color-text-inverse);--av-success: var(--color-status-success);--av-success-foreground: var(--color-text-inverse);--av-warning: var(--color-status-warning);--av-warning-foreground: var(--color-text-inverse);--av-danger: var(--color-status-danger);--av-danger-foreground: var(--color-text-inverse);--av-info: var(--color-status-info);--av-info-foreground: var(--color-text-inverse);--av-input: var(--color-border-primary);--av-input-foreground: var(--color-text-primary);--av-ring: var(--color-brand-primary);--av-sidebar-background: var(--color-surface-primary);--av-sidebar-foreground: var(--color-text-primary);--av-sidebar-primary: var(--color-brand-primary);--av-sidebar-primary-foreground: var(--color-text-inverse);--av-sidebar-accent: var(--color-surface-tertiary);--av-sidebar-accent-foreground: var(--color-text-primary);--av-sidebar-border: var(--color-border-secondary);--av-sidebar-ring: var(--color-brand-primary);--av-chart-1: 210 100% 50%;--av-chart-2: 142 76% 36%;--av-chart-3: 38 92% 50%;--av-chart-4: 280 100% 50%;--av-chart-5: 0 84% 60%;--av-table-background: 210 50% 97%;--av-table-border: 210 40% 93%;--av-table-row-separator: 213 65% 46%}.theme-cyber-chat.dark{--av-background: 210 100% 8%;--av-foreground: 0 0% 98%;--av-popover: 210 60% 12%;--av-popover-foreground: 0 0% 98%;--av-accent: 210 60% 20%;--av-accent-foreground: 0 0% 98%;--av-destructive: 0 84% 60%;--av-destructive-foreground: 0 0% 98%;--av-success: 142 76% 36%;--av-success-foreground: 0 0% 98%;--av-warning: 38 92% 50%;--av-warning-foreground: 0 0% 4%;--av-danger: 0 84% 60%;--av-danger-foreground: 0 0% 98%;--av-info: 210 100% 50%;--av-info-foreground: 0 0% 98%;--av-border: 220 13% 35%;--av-border-accent: var(--color-brand-primary);--av-input: 210 40% 24%;--av-input-foreground: 0 0% 98%;--av-ring: var(--color-brand-primary);--av-sidebar-background: 210 70% 10%;--av-sidebar-foreground: 0 0% 98%;--av-sidebar-primary: var(--color-brand-primary);--av-sidebar-primary-foreground: 0 0% 98%;--av-sidebar-accent: 210 60% 18%;--av-sidebar-accent-foreground: 0 0% 98%;--av-sidebar-border: 210 40% 20%;--av-sidebar-ring: var(--color-brand-primary);--av-table-background: 210 60% 14%;--av-table-border: 210 40% 20%;--av-table-row-separator: 210 100% 50%}
|
package/package.json
CHANGED