@kopexa/theme 1.5.2 → 1.5.4
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/{chunk-BIRJNNEY.mjs → chunk-3M5JSM7Y.mjs} +5 -5
- package/dist/chunk-5BIGFSZK.mjs +48 -0
- package/dist/chunk-CDTKWCOH.mjs +120 -0
- package/dist/{chunk-7CM52H5K.mjs → chunk-CQDTDA47.mjs} +1 -1
- package/dist/chunk-GNYTZGE5.mjs +48 -0
- package/dist/chunk-HAVJ6EQ6.mjs +39 -0
- package/dist/{chunk-Q5DCJR2X.mjs → chunk-I2NMD23O.mjs} +16 -3
- package/dist/chunk-KPOZFVP6.mjs +13 -0
- package/dist/chunk-NWKBPO37.mjs +21 -0
- package/dist/chunk-VNQEJU4P.mjs +9 -0
- package/dist/chunk-XCLEKBCJ.mjs +17 -0
- package/dist/components/avatar-group.d.mts +29 -0
- package/dist/components/avatar-group.d.ts +29 -0
- package/dist/components/avatar-group.js +41 -0
- package/dist/components/avatar-group.mjs +6 -0
- package/dist/components/avatar.d.mts +30 -0
- package/dist/components/avatar.d.ts +30 -0
- package/dist/components/avatar.js +16 -3
- package/dist/components/avatar.mjs +1 -1
- package/dist/components/button.js +5 -5
- package/dist/components/button.mjs +1 -1
- package/dist/components/checkbox.d.mts +43 -0
- package/dist/components/checkbox.d.ts +43 -0
- package/dist/components/checkbox.js +37 -0
- package/dist/components/checkbox.mjs +6 -0
- package/dist/components/code.d.mts +70 -0
- package/dist/components/code.d.ts +70 -0
- package/dist/components/code.js +120 -0
- package/dist/components/code.mjs +7 -0
- package/dist/components/data-table.d.mts +121 -0
- package/dist/components/data-table.d.ts +121 -0
- package/dist/components/data-table.js +72 -0
- package/dist/components/data-table.mjs +6 -0
- package/dist/components/heading.d.mts +34 -0
- package/dist/components/heading.d.ts +34 -0
- package/dist/components/heading.js +45 -0
- package/dist/components/heading.mjs +6 -0
- package/dist/components/index.d.mts +8 -0
- package/dist/components/index.d.ts +8 -0
- package/dist/components/index.js +352 -36
- package/dist/components/index.mjs +51 -19
- package/dist/components/input.js +1 -1
- package/dist/components/input.mjs +1 -1
- package/dist/components/page-header.d.mts +85 -0
- package/dist/components/page-header.d.ts +85 -0
- package/dist/components/page-header.js +63 -0
- package/dist/components/page-header.mjs +6 -0
- package/dist/components/skeleton.d.mts +5 -0
- package/dist/components/skeleton.d.ts +5 -0
- package/dist/components/skeleton.js +33 -0
- package/dist/components/skeleton.mjs +6 -0
- package/dist/components/table.d.mts +215 -0
- package/dist/components/table.d.ts +215 -0
- package/dist/components/table.js +144 -0
- package/dist/components/table.mjs +6 -0
- package/dist/index.css +131 -26
- package/dist/index.d.mts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +352 -36
- package/dist/index.mjs +51 -19
- package/package.json +3 -3
- /package/dist/{chunk-PWBTAIYS.mjs → chunk-FWB233VZ.mjs} +0 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
|
|
4
|
+
declare const checkbox: tailwind_variants.TVReturnType<{
|
|
5
|
+
[key: string]: {
|
|
6
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
7
|
+
base?: tailwind_variants.ClassValue;
|
|
8
|
+
icon?: tailwind_variants.ClassValue;
|
|
9
|
+
indicator?: tailwind_variants.ClassValue;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
} | {
|
|
13
|
+
[x: string]: {
|
|
14
|
+
[x: string]: tailwind_variants.ClassValue | {
|
|
15
|
+
base?: tailwind_variants.ClassValue;
|
|
16
|
+
icon?: tailwind_variants.ClassValue;
|
|
17
|
+
indicator?: tailwind_variants.ClassValue;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
} | {}, {
|
|
21
|
+
base: string;
|
|
22
|
+
indicator: string;
|
|
23
|
+
icon: string;
|
|
24
|
+
}, undefined, {
|
|
25
|
+
[key: string]: {
|
|
26
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
27
|
+
base?: tailwind_variants.ClassValue;
|
|
28
|
+
icon?: tailwind_variants.ClassValue;
|
|
29
|
+
indicator?: tailwind_variants.ClassValue;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
} | {}, {
|
|
33
|
+
base: string;
|
|
34
|
+
indicator: string;
|
|
35
|
+
icon: string;
|
|
36
|
+
}, tailwind_variants.TVReturnType<unknown, {
|
|
37
|
+
base: string;
|
|
38
|
+
indicator: string;
|
|
39
|
+
icon: string;
|
|
40
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
41
|
+
type CheckboxVariantProps = VariantProps<typeof checkbox>;
|
|
42
|
+
|
|
43
|
+
export { type CheckboxVariantProps, checkbox };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
|
|
4
|
+
declare const checkbox: tailwind_variants.TVReturnType<{
|
|
5
|
+
[key: string]: {
|
|
6
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
7
|
+
base?: tailwind_variants.ClassValue;
|
|
8
|
+
icon?: tailwind_variants.ClassValue;
|
|
9
|
+
indicator?: tailwind_variants.ClassValue;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
} | {
|
|
13
|
+
[x: string]: {
|
|
14
|
+
[x: string]: tailwind_variants.ClassValue | {
|
|
15
|
+
base?: tailwind_variants.ClassValue;
|
|
16
|
+
icon?: tailwind_variants.ClassValue;
|
|
17
|
+
indicator?: tailwind_variants.ClassValue;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
} | {}, {
|
|
21
|
+
base: string;
|
|
22
|
+
indicator: string;
|
|
23
|
+
icon: string;
|
|
24
|
+
}, undefined, {
|
|
25
|
+
[key: string]: {
|
|
26
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
27
|
+
base?: tailwind_variants.ClassValue;
|
|
28
|
+
icon?: tailwind_variants.ClassValue;
|
|
29
|
+
indicator?: tailwind_variants.ClassValue;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
} | {}, {
|
|
33
|
+
base: string;
|
|
34
|
+
indicator: string;
|
|
35
|
+
icon: string;
|
|
36
|
+
}, tailwind_variants.TVReturnType<unknown, {
|
|
37
|
+
base: string;
|
|
38
|
+
indicator: string;
|
|
39
|
+
icon: string;
|
|
40
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
41
|
+
type CheckboxVariantProps = VariantProps<typeof checkbox>;
|
|
42
|
+
|
|
43
|
+
export { type CheckboxVariantProps, checkbox };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/components/checkbox.ts
|
|
21
|
+
var checkbox_exports = {};
|
|
22
|
+
__export(checkbox_exports, {
|
|
23
|
+
checkbox: () => checkbox
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(checkbox_exports);
|
|
26
|
+
var import_tailwind_variants = require("tailwind-variants");
|
|
27
|
+
var checkbox = (0, import_tailwind_variants.tv)({
|
|
28
|
+
slots: {
|
|
29
|
+
base: "peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
|
|
30
|
+
indicator: "flex items-center justify-center text-current transition-none",
|
|
31
|
+
icon: "size-3.5"
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
35
|
+
0 && (module.exports = {
|
|
36
|
+
checkbox
|
|
37
|
+
});
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
|
|
4
|
+
declare const code: tailwind_variants.TVReturnType<{
|
|
5
|
+
color: {
|
|
6
|
+
default: string;
|
|
7
|
+
primary: string;
|
|
8
|
+
secondary: string;
|
|
9
|
+
success: string;
|
|
10
|
+
warning: string;
|
|
11
|
+
destructive: string;
|
|
12
|
+
};
|
|
13
|
+
size: {
|
|
14
|
+
sm: string;
|
|
15
|
+
md: string;
|
|
16
|
+
lg: string;
|
|
17
|
+
};
|
|
18
|
+
radius: {
|
|
19
|
+
none: string;
|
|
20
|
+
sm: string;
|
|
21
|
+
md: string;
|
|
22
|
+
lg: string;
|
|
23
|
+
full: string;
|
|
24
|
+
};
|
|
25
|
+
}, undefined, string[], {
|
|
26
|
+
color: {
|
|
27
|
+
default: string;
|
|
28
|
+
primary: string;
|
|
29
|
+
secondary: string;
|
|
30
|
+
success: string;
|
|
31
|
+
warning: string;
|
|
32
|
+
destructive: string;
|
|
33
|
+
};
|
|
34
|
+
size: {
|
|
35
|
+
sm: string;
|
|
36
|
+
md: string;
|
|
37
|
+
lg: string;
|
|
38
|
+
};
|
|
39
|
+
radius: {
|
|
40
|
+
none: string;
|
|
41
|
+
sm: string;
|
|
42
|
+
md: string;
|
|
43
|
+
lg: string;
|
|
44
|
+
full: string;
|
|
45
|
+
};
|
|
46
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
47
|
+
color: {
|
|
48
|
+
default: string;
|
|
49
|
+
primary: string;
|
|
50
|
+
secondary: string;
|
|
51
|
+
success: string;
|
|
52
|
+
warning: string;
|
|
53
|
+
destructive: string;
|
|
54
|
+
};
|
|
55
|
+
size: {
|
|
56
|
+
sm: string;
|
|
57
|
+
md: string;
|
|
58
|
+
lg: string;
|
|
59
|
+
};
|
|
60
|
+
radius: {
|
|
61
|
+
none: string;
|
|
62
|
+
sm: string;
|
|
63
|
+
md: string;
|
|
64
|
+
lg: string;
|
|
65
|
+
full: string;
|
|
66
|
+
};
|
|
67
|
+
}, undefined, string[], unknown, unknown, undefined>>;
|
|
68
|
+
type CodeVariantProps = VariantProps<typeof code>;
|
|
69
|
+
|
|
70
|
+
export { type CodeVariantProps, code };
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
|
|
4
|
+
declare const code: tailwind_variants.TVReturnType<{
|
|
5
|
+
color: {
|
|
6
|
+
default: string;
|
|
7
|
+
primary: string;
|
|
8
|
+
secondary: string;
|
|
9
|
+
success: string;
|
|
10
|
+
warning: string;
|
|
11
|
+
destructive: string;
|
|
12
|
+
};
|
|
13
|
+
size: {
|
|
14
|
+
sm: string;
|
|
15
|
+
md: string;
|
|
16
|
+
lg: string;
|
|
17
|
+
};
|
|
18
|
+
radius: {
|
|
19
|
+
none: string;
|
|
20
|
+
sm: string;
|
|
21
|
+
md: string;
|
|
22
|
+
lg: string;
|
|
23
|
+
full: string;
|
|
24
|
+
};
|
|
25
|
+
}, undefined, string[], {
|
|
26
|
+
color: {
|
|
27
|
+
default: string;
|
|
28
|
+
primary: string;
|
|
29
|
+
secondary: string;
|
|
30
|
+
success: string;
|
|
31
|
+
warning: string;
|
|
32
|
+
destructive: string;
|
|
33
|
+
};
|
|
34
|
+
size: {
|
|
35
|
+
sm: string;
|
|
36
|
+
md: string;
|
|
37
|
+
lg: string;
|
|
38
|
+
};
|
|
39
|
+
radius: {
|
|
40
|
+
none: string;
|
|
41
|
+
sm: string;
|
|
42
|
+
md: string;
|
|
43
|
+
lg: string;
|
|
44
|
+
full: string;
|
|
45
|
+
};
|
|
46
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
47
|
+
color: {
|
|
48
|
+
default: string;
|
|
49
|
+
primary: string;
|
|
50
|
+
secondary: string;
|
|
51
|
+
success: string;
|
|
52
|
+
warning: string;
|
|
53
|
+
destructive: string;
|
|
54
|
+
};
|
|
55
|
+
size: {
|
|
56
|
+
sm: string;
|
|
57
|
+
md: string;
|
|
58
|
+
lg: string;
|
|
59
|
+
};
|
|
60
|
+
radius: {
|
|
61
|
+
none: string;
|
|
62
|
+
sm: string;
|
|
63
|
+
md: string;
|
|
64
|
+
lg: string;
|
|
65
|
+
full: string;
|
|
66
|
+
};
|
|
67
|
+
}, undefined, string[], unknown, unknown, undefined>>;
|
|
68
|
+
type CodeVariantProps = VariantProps<typeof code>;
|
|
69
|
+
|
|
70
|
+
export { type CodeVariantProps, code };
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/components/code.ts
|
|
21
|
+
var code_exports = {};
|
|
22
|
+
__export(code_exports, {
|
|
23
|
+
code: () => code
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(code_exports);
|
|
26
|
+
var import_tailwind_variants = require("tailwind-variants");
|
|
27
|
+
|
|
28
|
+
// src/utils/variants.ts
|
|
29
|
+
var solid = {
|
|
30
|
+
default: "bg-accent text-accent-foreground",
|
|
31
|
+
primary: "bg-primary text-primary-foreground",
|
|
32
|
+
secondary: "bg-secondary text-secondary-foreground",
|
|
33
|
+
destructive: "bg-destructive text-destructive-foreground",
|
|
34
|
+
warning: "bg-warning text-warning-foreground",
|
|
35
|
+
success: "bg-success text-success-foreground"
|
|
36
|
+
};
|
|
37
|
+
var outline = {
|
|
38
|
+
default: "bg-transparent border border-accent text-accent-foreground",
|
|
39
|
+
primary: "bg-transparent border-primary text-primary",
|
|
40
|
+
secondary: "bg-transparent border-secondary text-secondary-foreground",
|
|
41
|
+
destructive: "bg-transparent border-destructive text-destructive",
|
|
42
|
+
warning: "bg-transparent border-warning text-warning",
|
|
43
|
+
success: "bg-transparent border-success text-success"
|
|
44
|
+
};
|
|
45
|
+
var flat = {
|
|
46
|
+
default: "bg-accent/40 text-accent-700",
|
|
47
|
+
primary: "bg-primary/20 text-primary-600",
|
|
48
|
+
secondary: "bg-secondary/20 text-secondary-600",
|
|
49
|
+
success: "bg-success/20 text-success-700 dark:text-success",
|
|
50
|
+
warning: "bg-warning/20 text-warning-700 dark:text-warning",
|
|
51
|
+
destructive: "bg-danger/20 text-danger-600 dark:text-danger-500",
|
|
52
|
+
foreground: "bg-foreground/10 text-foreground"
|
|
53
|
+
};
|
|
54
|
+
var faded = {
|
|
55
|
+
default: "border-default bg-accent/30 text-default-foreground",
|
|
56
|
+
primary: "border-default bg-accent/30 text-primary",
|
|
57
|
+
secondary: "border-default bg-accent/30 text-secondary-foreground",
|
|
58
|
+
success: "border-default bg-accent/30 text-success",
|
|
59
|
+
warning: "border-default bg-accent/30 text-warning",
|
|
60
|
+
destructive: "border-default bg-accent/30 text-danger",
|
|
61
|
+
foreground: "border-default bg-accent/30 text-foreground"
|
|
62
|
+
};
|
|
63
|
+
var ghost = {
|
|
64
|
+
primary: "bg-transparent text-primary",
|
|
65
|
+
secondary: "bg-transparent text-secondary",
|
|
66
|
+
destructive: "bg-transparent text-destructive",
|
|
67
|
+
warning: "bg-transparent text-warning",
|
|
68
|
+
success: "bg-transparent text-success"
|
|
69
|
+
};
|
|
70
|
+
var colorVariants = {
|
|
71
|
+
solid,
|
|
72
|
+
ghost,
|
|
73
|
+
outline,
|
|
74
|
+
flat,
|
|
75
|
+
faded
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
// src/components/code.ts
|
|
79
|
+
var code = (0, import_tailwind_variants.tv)({
|
|
80
|
+
base: [
|
|
81
|
+
"px-2",
|
|
82
|
+
"py-1",
|
|
83
|
+
"h-fit",
|
|
84
|
+
"font-mono",
|
|
85
|
+
"font-normal",
|
|
86
|
+
"inline-block",
|
|
87
|
+
"whitespace-nowrap"
|
|
88
|
+
],
|
|
89
|
+
variants: {
|
|
90
|
+
color: {
|
|
91
|
+
default: colorVariants.flat.default,
|
|
92
|
+
primary: colorVariants.flat.primary,
|
|
93
|
+
secondary: colorVariants.flat.secondary,
|
|
94
|
+
success: colorVariants.flat.success,
|
|
95
|
+
warning: colorVariants.flat.warning,
|
|
96
|
+
destructive: colorVariants.flat.destructive
|
|
97
|
+
},
|
|
98
|
+
size: {
|
|
99
|
+
sm: "text-xs",
|
|
100
|
+
md: "text-sm",
|
|
101
|
+
lg: "text-base"
|
|
102
|
+
},
|
|
103
|
+
radius: {
|
|
104
|
+
none: "rounded-none",
|
|
105
|
+
sm: "rounded-sm",
|
|
106
|
+
md: "rounded-md",
|
|
107
|
+
lg: "rounded-lg",
|
|
108
|
+
full: "rounded-full"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
defaultVariants: {
|
|
112
|
+
color: "default",
|
|
113
|
+
size: "sm",
|
|
114
|
+
radius: "sm"
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
118
|
+
0 && (module.exports = {
|
|
119
|
+
code
|
|
120
|
+
});
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
|
|
4
|
+
declare const dataTable: tailwind_variants.TVReturnType<{
|
|
5
|
+
isFirstColumn: {
|
|
6
|
+
true: {
|
|
7
|
+
th: string;
|
|
8
|
+
td: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
showStickyBorder: {
|
|
12
|
+
true: {
|
|
13
|
+
th: string;
|
|
14
|
+
td: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
isSelect: {
|
|
18
|
+
true: {
|
|
19
|
+
th: string;
|
|
20
|
+
td: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
isAction: {
|
|
24
|
+
true: {
|
|
25
|
+
th: string;
|
|
26
|
+
td: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
isSticky: {
|
|
30
|
+
true: {
|
|
31
|
+
th: string;
|
|
32
|
+
td: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
}, {
|
|
36
|
+
base: string;
|
|
37
|
+
toolbarWrapper: string;
|
|
38
|
+
toolbar: string;
|
|
39
|
+
wrapper: string;
|
|
40
|
+
th: string;
|
|
41
|
+
td: string;
|
|
42
|
+
}, undefined, {
|
|
43
|
+
isFirstColumn: {
|
|
44
|
+
true: {
|
|
45
|
+
th: string;
|
|
46
|
+
td: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
showStickyBorder: {
|
|
50
|
+
true: {
|
|
51
|
+
th: string;
|
|
52
|
+
td: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
isSelect: {
|
|
56
|
+
true: {
|
|
57
|
+
th: string;
|
|
58
|
+
td: string;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
isAction: {
|
|
62
|
+
true: {
|
|
63
|
+
th: string;
|
|
64
|
+
td: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
isSticky: {
|
|
68
|
+
true: {
|
|
69
|
+
th: string;
|
|
70
|
+
td: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
}, {
|
|
74
|
+
base: string;
|
|
75
|
+
toolbarWrapper: string;
|
|
76
|
+
toolbar: string;
|
|
77
|
+
wrapper: string;
|
|
78
|
+
th: string;
|
|
79
|
+
td: string;
|
|
80
|
+
}, tailwind_variants.TVReturnType<{
|
|
81
|
+
isFirstColumn: {
|
|
82
|
+
true: {
|
|
83
|
+
th: string;
|
|
84
|
+
td: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
showStickyBorder: {
|
|
88
|
+
true: {
|
|
89
|
+
th: string;
|
|
90
|
+
td: string;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
isSelect: {
|
|
94
|
+
true: {
|
|
95
|
+
th: string;
|
|
96
|
+
td: string;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
isAction: {
|
|
100
|
+
true: {
|
|
101
|
+
th: string;
|
|
102
|
+
td: string;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
isSticky: {
|
|
106
|
+
true: {
|
|
107
|
+
th: string;
|
|
108
|
+
td: string;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
}, {
|
|
112
|
+
base: string;
|
|
113
|
+
toolbarWrapper: string;
|
|
114
|
+
toolbar: string;
|
|
115
|
+
wrapper: string;
|
|
116
|
+
th: string;
|
|
117
|
+
td: string;
|
|
118
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
119
|
+
type DataTableVariants = VariantProps<typeof dataTable>;
|
|
120
|
+
|
|
121
|
+
export { type DataTableVariants, dataTable };
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
|
|
4
|
+
declare const dataTable: tailwind_variants.TVReturnType<{
|
|
5
|
+
isFirstColumn: {
|
|
6
|
+
true: {
|
|
7
|
+
th: string;
|
|
8
|
+
td: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
showStickyBorder: {
|
|
12
|
+
true: {
|
|
13
|
+
th: string;
|
|
14
|
+
td: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
isSelect: {
|
|
18
|
+
true: {
|
|
19
|
+
th: string;
|
|
20
|
+
td: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
isAction: {
|
|
24
|
+
true: {
|
|
25
|
+
th: string;
|
|
26
|
+
td: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
isSticky: {
|
|
30
|
+
true: {
|
|
31
|
+
th: string;
|
|
32
|
+
td: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
}, {
|
|
36
|
+
base: string;
|
|
37
|
+
toolbarWrapper: string;
|
|
38
|
+
toolbar: string;
|
|
39
|
+
wrapper: string;
|
|
40
|
+
th: string;
|
|
41
|
+
td: string;
|
|
42
|
+
}, undefined, {
|
|
43
|
+
isFirstColumn: {
|
|
44
|
+
true: {
|
|
45
|
+
th: string;
|
|
46
|
+
td: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
showStickyBorder: {
|
|
50
|
+
true: {
|
|
51
|
+
th: string;
|
|
52
|
+
td: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
isSelect: {
|
|
56
|
+
true: {
|
|
57
|
+
th: string;
|
|
58
|
+
td: string;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
isAction: {
|
|
62
|
+
true: {
|
|
63
|
+
th: string;
|
|
64
|
+
td: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
isSticky: {
|
|
68
|
+
true: {
|
|
69
|
+
th: string;
|
|
70
|
+
td: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
}, {
|
|
74
|
+
base: string;
|
|
75
|
+
toolbarWrapper: string;
|
|
76
|
+
toolbar: string;
|
|
77
|
+
wrapper: string;
|
|
78
|
+
th: string;
|
|
79
|
+
td: string;
|
|
80
|
+
}, tailwind_variants.TVReturnType<{
|
|
81
|
+
isFirstColumn: {
|
|
82
|
+
true: {
|
|
83
|
+
th: string;
|
|
84
|
+
td: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
showStickyBorder: {
|
|
88
|
+
true: {
|
|
89
|
+
th: string;
|
|
90
|
+
td: string;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
isSelect: {
|
|
94
|
+
true: {
|
|
95
|
+
th: string;
|
|
96
|
+
td: string;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
isAction: {
|
|
100
|
+
true: {
|
|
101
|
+
th: string;
|
|
102
|
+
td: string;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
isSticky: {
|
|
106
|
+
true: {
|
|
107
|
+
th: string;
|
|
108
|
+
td: string;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
}, {
|
|
112
|
+
base: string;
|
|
113
|
+
toolbarWrapper: string;
|
|
114
|
+
toolbar: string;
|
|
115
|
+
wrapper: string;
|
|
116
|
+
th: string;
|
|
117
|
+
td: string;
|
|
118
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
119
|
+
type DataTableVariants = VariantProps<typeof dataTable>;
|
|
120
|
+
|
|
121
|
+
export { type DataTableVariants, dataTable };
|