@kopexa/theme 1.5.3 → 1.5.5
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-Z56OSRTC.mjs → chunk-I2NMD23O.mjs} +3 -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-GQV7INYX.mjs → chunk-ZWUAESH4.mjs} +2 -0
- package/dist/components/avatar.js +3 -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 +7 -0
- package/dist/components/index.d.ts +7 -0
- package/dist/components/index.js +319 -30
- package/dist/components/index.mjs +45 -17
- 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/page-layout.d.mts +6 -0
- package/dist/components/page-layout.d.ts +6 -0
- package/dist/components/page-layout.js +2 -0
- package/dist/components/page-layout.mjs +1 -1
- 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 +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +319 -30
- package/dist/index.mjs +45 -17
- package/package.json +3 -3
- /package/dist/{chunk-5EDS3TJU.mjs → chunk-FWB233VZ.mjs} +0 -0
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
|
|
4
|
+
declare const pageHeader: tailwind_variants.TVReturnType<{
|
|
5
|
+
[key: string]: {
|
|
6
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
7
|
+
title?: tailwind_variants.ClassValue;
|
|
8
|
+
description?: tailwind_variants.ClassValue;
|
|
9
|
+
root?: tailwind_variants.ClassValue;
|
|
10
|
+
titleArea?: tailwind_variants.ClassValue;
|
|
11
|
+
leadingVisual?: tailwind_variants.ClassValue;
|
|
12
|
+
leadingAction?: tailwind_variants.ClassValue;
|
|
13
|
+
contextArea?: tailwind_variants.ClassValue;
|
|
14
|
+
breadcrumbs?: tailwind_variants.ClassValue;
|
|
15
|
+
actions?: tailwind_variants.ClassValue;
|
|
16
|
+
navigation?: tailwind_variants.ClassValue;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
} | {
|
|
20
|
+
[x: string]: {
|
|
21
|
+
[x: string]: tailwind_variants.ClassValue | {
|
|
22
|
+
title?: tailwind_variants.ClassValue;
|
|
23
|
+
description?: tailwind_variants.ClassValue;
|
|
24
|
+
root?: tailwind_variants.ClassValue;
|
|
25
|
+
titleArea?: tailwind_variants.ClassValue;
|
|
26
|
+
leadingVisual?: tailwind_variants.ClassValue;
|
|
27
|
+
leadingAction?: tailwind_variants.ClassValue;
|
|
28
|
+
contextArea?: tailwind_variants.ClassValue;
|
|
29
|
+
breadcrumbs?: tailwind_variants.ClassValue;
|
|
30
|
+
actions?: tailwind_variants.ClassValue;
|
|
31
|
+
navigation?: tailwind_variants.ClassValue;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
} | {}, {
|
|
35
|
+
root: string;
|
|
36
|
+
titleArea: string;
|
|
37
|
+
title: string;
|
|
38
|
+
contextArea: string[];
|
|
39
|
+
leadingVisual: string;
|
|
40
|
+
leadingAction: string;
|
|
41
|
+
breadcrumbs: string[];
|
|
42
|
+
actions: string[];
|
|
43
|
+
description: string[];
|
|
44
|
+
navigation: string[];
|
|
45
|
+
}, undefined, {
|
|
46
|
+
[key: string]: {
|
|
47
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
48
|
+
title?: tailwind_variants.ClassValue;
|
|
49
|
+
description?: tailwind_variants.ClassValue;
|
|
50
|
+
root?: tailwind_variants.ClassValue;
|
|
51
|
+
titleArea?: tailwind_variants.ClassValue;
|
|
52
|
+
leadingVisual?: tailwind_variants.ClassValue;
|
|
53
|
+
leadingAction?: tailwind_variants.ClassValue;
|
|
54
|
+
contextArea?: tailwind_variants.ClassValue;
|
|
55
|
+
breadcrumbs?: tailwind_variants.ClassValue;
|
|
56
|
+
actions?: tailwind_variants.ClassValue;
|
|
57
|
+
navigation?: tailwind_variants.ClassValue;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
} | {}, {
|
|
61
|
+
root: string;
|
|
62
|
+
titleArea: string;
|
|
63
|
+
title: string;
|
|
64
|
+
contextArea: string[];
|
|
65
|
+
leadingVisual: string;
|
|
66
|
+
leadingAction: string;
|
|
67
|
+
breadcrumbs: string[];
|
|
68
|
+
actions: string[];
|
|
69
|
+
description: string[];
|
|
70
|
+
navigation: string[];
|
|
71
|
+
}, tailwind_variants.TVReturnType<unknown, {
|
|
72
|
+
root: string;
|
|
73
|
+
titleArea: string;
|
|
74
|
+
title: string;
|
|
75
|
+
contextArea: string[];
|
|
76
|
+
leadingVisual: string;
|
|
77
|
+
leadingAction: string;
|
|
78
|
+
breadcrumbs: string[];
|
|
79
|
+
actions: string[];
|
|
80
|
+
description: string[];
|
|
81
|
+
navigation: string[];
|
|
82
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
83
|
+
type PageHeaderVariantProps = VariantProps<typeof pageHeader>;
|
|
84
|
+
|
|
85
|
+
export { type PageHeaderVariantProps, pageHeader };
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
|
|
4
|
+
declare const pageHeader: tailwind_variants.TVReturnType<{
|
|
5
|
+
[key: string]: {
|
|
6
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
7
|
+
title?: tailwind_variants.ClassValue;
|
|
8
|
+
description?: tailwind_variants.ClassValue;
|
|
9
|
+
root?: tailwind_variants.ClassValue;
|
|
10
|
+
titleArea?: tailwind_variants.ClassValue;
|
|
11
|
+
leadingVisual?: tailwind_variants.ClassValue;
|
|
12
|
+
leadingAction?: tailwind_variants.ClassValue;
|
|
13
|
+
contextArea?: tailwind_variants.ClassValue;
|
|
14
|
+
breadcrumbs?: tailwind_variants.ClassValue;
|
|
15
|
+
actions?: tailwind_variants.ClassValue;
|
|
16
|
+
navigation?: tailwind_variants.ClassValue;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
} | {
|
|
20
|
+
[x: string]: {
|
|
21
|
+
[x: string]: tailwind_variants.ClassValue | {
|
|
22
|
+
title?: tailwind_variants.ClassValue;
|
|
23
|
+
description?: tailwind_variants.ClassValue;
|
|
24
|
+
root?: tailwind_variants.ClassValue;
|
|
25
|
+
titleArea?: tailwind_variants.ClassValue;
|
|
26
|
+
leadingVisual?: tailwind_variants.ClassValue;
|
|
27
|
+
leadingAction?: tailwind_variants.ClassValue;
|
|
28
|
+
contextArea?: tailwind_variants.ClassValue;
|
|
29
|
+
breadcrumbs?: tailwind_variants.ClassValue;
|
|
30
|
+
actions?: tailwind_variants.ClassValue;
|
|
31
|
+
navigation?: tailwind_variants.ClassValue;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
} | {}, {
|
|
35
|
+
root: string;
|
|
36
|
+
titleArea: string;
|
|
37
|
+
title: string;
|
|
38
|
+
contextArea: string[];
|
|
39
|
+
leadingVisual: string;
|
|
40
|
+
leadingAction: string;
|
|
41
|
+
breadcrumbs: string[];
|
|
42
|
+
actions: string[];
|
|
43
|
+
description: string[];
|
|
44
|
+
navigation: string[];
|
|
45
|
+
}, undefined, {
|
|
46
|
+
[key: string]: {
|
|
47
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
48
|
+
title?: tailwind_variants.ClassValue;
|
|
49
|
+
description?: tailwind_variants.ClassValue;
|
|
50
|
+
root?: tailwind_variants.ClassValue;
|
|
51
|
+
titleArea?: tailwind_variants.ClassValue;
|
|
52
|
+
leadingVisual?: tailwind_variants.ClassValue;
|
|
53
|
+
leadingAction?: tailwind_variants.ClassValue;
|
|
54
|
+
contextArea?: tailwind_variants.ClassValue;
|
|
55
|
+
breadcrumbs?: tailwind_variants.ClassValue;
|
|
56
|
+
actions?: tailwind_variants.ClassValue;
|
|
57
|
+
navigation?: tailwind_variants.ClassValue;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
} | {}, {
|
|
61
|
+
root: string;
|
|
62
|
+
titleArea: string;
|
|
63
|
+
title: string;
|
|
64
|
+
contextArea: string[];
|
|
65
|
+
leadingVisual: string;
|
|
66
|
+
leadingAction: string;
|
|
67
|
+
breadcrumbs: string[];
|
|
68
|
+
actions: string[];
|
|
69
|
+
description: string[];
|
|
70
|
+
navigation: string[];
|
|
71
|
+
}, tailwind_variants.TVReturnType<unknown, {
|
|
72
|
+
root: string;
|
|
73
|
+
titleArea: string;
|
|
74
|
+
title: string;
|
|
75
|
+
contextArea: string[];
|
|
76
|
+
leadingVisual: string;
|
|
77
|
+
leadingAction: string;
|
|
78
|
+
breadcrumbs: string[];
|
|
79
|
+
actions: string[];
|
|
80
|
+
description: string[];
|
|
81
|
+
navigation: string[];
|
|
82
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
83
|
+
type PageHeaderVariantProps = VariantProps<typeof pageHeader>;
|
|
84
|
+
|
|
85
|
+
export { type PageHeaderVariantProps, pageHeader };
|
|
@@ -0,0 +1,63 @@
|
|
|
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/page-header.ts
|
|
21
|
+
var page_header_exports = {};
|
|
22
|
+
__export(page_header_exports, {
|
|
23
|
+
pageHeader: () => pageHeader
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(page_header_exports);
|
|
26
|
+
var import_tailwind_variants = require("tailwind-variants");
|
|
27
|
+
var pageHeader = (0, import_tailwind_variants.tv)({
|
|
28
|
+
slots: {
|
|
29
|
+
root: "page-header",
|
|
30
|
+
titleArea: "page-header__title-area flex gap-2 flex-row items-center",
|
|
31
|
+
title: "page-header__title block",
|
|
32
|
+
contextArea: [
|
|
33
|
+
"page-header__context-area",
|
|
34
|
+
"flex",
|
|
35
|
+
"pb-2",
|
|
36
|
+
"text-sm",
|
|
37
|
+
"flex-row",
|
|
38
|
+
"gap-2"
|
|
39
|
+
],
|
|
40
|
+
leadingVisual: "page-header__leading-visual flex items-center [&_svg]:size-4",
|
|
41
|
+
leadingAction: "page-header__leading-action",
|
|
42
|
+
breadcrumbs: ["page-header__breadcrumbs", "flex pe-2 items-center"],
|
|
43
|
+
actions: [
|
|
44
|
+
"page-header__actions",
|
|
45
|
+
"flex",
|
|
46
|
+
"flex-row",
|
|
47
|
+
"gap-2",
|
|
48
|
+
"justify-end",
|
|
49
|
+
"items-start",
|
|
50
|
+
"min-w-max",
|
|
51
|
+
"ps-2"
|
|
52
|
+
],
|
|
53
|
+
description: [
|
|
54
|
+
"page-header__description",
|
|
55
|
+
"flex flex-row items-center gap-2 pt-2 text-sm font-normal leading-normal"
|
|
56
|
+
],
|
|
57
|
+
navigation: ["page-header__navigation", "block pt-2 text-sm fonr-normal"]
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
61
|
+
0 && (module.exports = {
|
|
62
|
+
pageHeader
|
|
63
|
+
});
|
|
@@ -46,12 +46,14 @@ declare const pageLayout: tailwind_variants.TVReturnType<{
|
|
|
46
46
|
spacing: {
|
|
47
47
|
none: string;
|
|
48
48
|
condensed: {
|
|
49
|
+
root: string;
|
|
49
50
|
header: string;
|
|
50
51
|
content: string;
|
|
51
52
|
pane: string;
|
|
52
53
|
footerContent: string;
|
|
53
54
|
};
|
|
54
55
|
normal: {
|
|
56
|
+
root: string;
|
|
55
57
|
header: string;
|
|
56
58
|
content: string;
|
|
57
59
|
pane: string;
|
|
@@ -113,12 +115,14 @@ declare const pageLayout: tailwind_variants.TVReturnType<{
|
|
|
113
115
|
spacing: {
|
|
114
116
|
none: string;
|
|
115
117
|
condensed: {
|
|
118
|
+
root: string;
|
|
116
119
|
header: string;
|
|
117
120
|
content: string;
|
|
118
121
|
pane: string;
|
|
119
122
|
footerContent: string;
|
|
120
123
|
};
|
|
121
124
|
normal: {
|
|
125
|
+
root: string;
|
|
122
126
|
header: string;
|
|
123
127
|
content: string;
|
|
124
128
|
pane: string;
|
|
@@ -180,12 +184,14 @@ declare const pageLayout: tailwind_variants.TVReturnType<{
|
|
|
180
184
|
spacing: {
|
|
181
185
|
none: string;
|
|
182
186
|
condensed: {
|
|
187
|
+
root: string;
|
|
183
188
|
header: string;
|
|
184
189
|
content: string;
|
|
185
190
|
pane: string;
|
|
186
191
|
footerContent: string;
|
|
187
192
|
};
|
|
188
193
|
normal: {
|
|
194
|
+
root: string;
|
|
189
195
|
header: string;
|
|
190
196
|
content: string;
|
|
191
197
|
pane: string;
|
|
@@ -46,12 +46,14 @@ declare const pageLayout: tailwind_variants.TVReturnType<{
|
|
|
46
46
|
spacing: {
|
|
47
47
|
none: string;
|
|
48
48
|
condensed: {
|
|
49
|
+
root: string;
|
|
49
50
|
header: string;
|
|
50
51
|
content: string;
|
|
51
52
|
pane: string;
|
|
52
53
|
footerContent: string;
|
|
53
54
|
};
|
|
54
55
|
normal: {
|
|
56
|
+
root: string;
|
|
55
57
|
header: string;
|
|
56
58
|
content: string;
|
|
57
59
|
pane: string;
|
|
@@ -113,12 +115,14 @@ declare const pageLayout: tailwind_variants.TVReturnType<{
|
|
|
113
115
|
spacing: {
|
|
114
116
|
none: string;
|
|
115
117
|
condensed: {
|
|
118
|
+
root: string;
|
|
116
119
|
header: string;
|
|
117
120
|
content: string;
|
|
118
121
|
pane: string;
|
|
119
122
|
footerContent: string;
|
|
120
123
|
};
|
|
121
124
|
normal: {
|
|
125
|
+
root: string;
|
|
122
126
|
header: string;
|
|
123
127
|
content: string;
|
|
124
128
|
pane: string;
|
|
@@ -180,12 +184,14 @@ declare const pageLayout: tailwind_variants.TVReturnType<{
|
|
|
180
184
|
spacing: {
|
|
181
185
|
none: string;
|
|
182
186
|
condensed: {
|
|
187
|
+
root: string;
|
|
183
188
|
header: string;
|
|
184
189
|
content: string;
|
|
185
190
|
pane: string;
|
|
186
191
|
footerContent: string;
|
|
187
192
|
};
|
|
188
193
|
normal: {
|
|
194
|
+
root: string;
|
|
189
195
|
header: string;
|
|
190
196
|
content: string;
|
|
191
197
|
pane: string;
|
|
@@ -99,6 +99,7 @@ var pageLayout = (0, import_tailwind_variants.tv)({
|
|
|
99
99
|
spacing: {
|
|
100
100
|
none: "",
|
|
101
101
|
condensed: {
|
|
102
|
+
root: "p-2",
|
|
102
103
|
header: "p-4",
|
|
103
104
|
content: "p-4",
|
|
104
105
|
pane: "p-4",
|
|
@@ -106,6 +107,7 @@ var pageLayout = (0, import_tailwind_variants.tv)({
|
|
|
106
107
|
},
|
|
107
108
|
// 1.5rem
|
|
108
109
|
normal: {
|
|
110
|
+
root: "p-4 md:p-6",
|
|
109
111
|
header: "p-4 md:p-6",
|
|
110
112
|
content: "p-4 md:p-6",
|
|
111
113
|
pane: "p-4 md:p-6"
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
|
|
3
|
+
declare const skeleton: tailwind_variants.TVReturnType<{} | {} | {}, undefined, "bg-accent animate-pulse rounded-md", {} | {}, undefined, tailwind_variants.TVReturnType<unknown, undefined, "bg-accent animate-pulse rounded-md", unknown, unknown, undefined>>;
|
|
4
|
+
|
|
5
|
+
export { skeleton };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
|
|
3
|
+
declare const skeleton: tailwind_variants.TVReturnType<{} | {} | {}, undefined, "bg-accent animate-pulse rounded-md", {} | {}, undefined, tailwind_variants.TVReturnType<unknown, undefined, "bg-accent animate-pulse rounded-md", unknown, unknown, undefined>>;
|
|
4
|
+
|
|
5
|
+
export { skeleton };
|
|
@@ -0,0 +1,33 @@
|
|
|
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/skeleton.ts
|
|
21
|
+
var skeleton_exports = {};
|
|
22
|
+
__export(skeleton_exports, {
|
|
23
|
+
skeleton: () => skeleton
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(skeleton_exports);
|
|
26
|
+
var import_tailwind_variants = require("tailwind-variants");
|
|
27
|
+
var skeleton = (0, import_tailwind_variants.tv)({
|
|
28
|
+
base: "bg-accent animate-pulse rounded-md"
|
|
29
|
+
});
|
|
30
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
31
|
+
0 && (module.exports = {
|
|
32
|
+
skeleton
|
|
33
|
+
});
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
|
|
4
|
+
declare const table: tailwind_variants.TVReturnType<{
|
|
5
|
+
overscroll: {
|
|
6
|
+
horizontal: {
|
|
7
|
+
th: string;
|
|
8
|
+
td: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
color: {
|
|
12
|
+
default: {
|
|
13
|
+
td: string[];
|
|
14
|
+
};
|
|
15
|
+
primary: {
|
|
16
|
+
td: string[];
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
layout: {
|
|
20
|
+
auto: {
|
|
21
|
+
table: string;
|
|
22
|
+
};
|
|
23
|
+
fixed: {
|
|
24
|
+
table: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
isSelectable: {
|
|
28
|
+
true: {
|
|
29
|
+
tr: string;
|
|
30
|
+
td: string[];
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
hasSelect: {
|
|
34
|
+
true: {
|
|
35
|
+
tr: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
hasActions: {
|
|
39
|
+
true: {
|
|
40
|
+
tr: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
isStickyCell: {
|
|
44
|
+
true: {
|
|
45
|
+
th: string;
|
|
46
|
+
td: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
isSelectCell: {
|
|
50
|
+
true: {
|
|
51
|
+
td: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
isActionCell: {
|
|
55
|
+
true: {
|
|
56
|
+
td: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
fullWidth: {
|
|
60
|
+
true: {
|
|
61
|
+
base: string;
|
|
62
|
+
wrapper: string;
|
|
63
|
+
table: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
}, {
|
|
67
|
+
table: string;
|
|
68
|
+
thead: string;
|
|
69
|
+
tbody: string;
|
|
70
|
+
tr: string[];
|
|
71
|
+
th: string[];
|
|
72
|
+
td: string[];
|
|
73
|
+
}, undefined, {
|
|
74
|
+
overscroll: {
|
|
75
|
+
horizontal: {
|
|
76
|
+
th: string;
|
|
77
|
+
td: string;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
color: {
|
|
81
|
+
default: {
|
|
82
|
+
td: string[];
|
|
83
|
+
};
|
|
84
|
+
primary: {
|
|
85
|
+
td: string[];
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
layout: {
|
|
89
|
+
auto: {
|
|
90
|
+
table: string;
|
|
91
|
+
};
|
|
92
|
+
fixed: {
|
|
93
|
+
table: string;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
isSelectable: {
|
|
97
|
+
true: {
|
|
98
|
+
tr: string;
|
|
99
|
+
td: string[];
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
hasSelect: {
|
|
103
|
+
true: {
|
|
104
|
+
tr: string;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
hasActions: {
|
|
108
|
+
true: {
|
|
109
|
+
tr: string;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
isStickyCell: {
|
|
113
|
+
true: {
|
|
114
|
+
th: string;
|
|
115
|
+
td: string;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
isSelectCell: {
|
|
119
|
+
true: {
|
|
120
|
+
td: string;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
isActionCell: {
|
|
124
|
+
true: {
|
|
125
|
+
td: string;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
fullWidth: {
|
|
129
|
+
true: {
|
|
130
|
+
base: string;
|
|
131
|
+
wrapper: string;
|
|
132
|
+
table: string;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
}, {
|
|
136
|
+
table: string;
|
|
137
|
+
thead: string;
|
|
138
|
+
tbody: string;
|
|
139
|
+
tr: string[];
|
|
140
|
+
th: string[];
|
|
141
|
+
td: string[];
|
|
142
|
+
}, tailwind_variants.TVReturnType<{
|
|
143
|
+
overscroll: {
|
|
144
|
+
horizontal: {
|
|
145
|
+
th: string;
|
|
146
|
+
td: string;
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
color: {
|
|
150
|
+
default: {
|
|
151
|
+
td: string[];
|
|
152
|
+
};
|
|
153
|
+
primary: {
|
|
154
|
+
td: string[];
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
layout: {
|
|
158
|
+
auto: {
|
|
159
|
+
table: string;
|
|
160
|
+
};
|
|
161
|
+
fixed: {
|
|
162
|
+
table: string;
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
isSelectable: {
|
|
166
|
+
true: {
|
|
167
|
+
tr: string;
|
|
168
|
+
td: string[];
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
hasSelect: {
|
|
172
|
+
true: {
|
|
173
|
+
tr: string;
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
hasActions: {
|
|
177
|
+
true: {
|
|
178
|
+
tr: string;
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
isStickyCell: {
|
|
182
|
+
true: {
|
|
183
|
+
th: string;
|
|
184
|
+
td: string;
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
isSelectCell: {
|
|
188
|
+
true: {
|
|
189
|
+
td: string;
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
isActionCell: {
|
|
193
|
+
true: {
|
|
194
|
+
td: string;
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
fullWidth: {
|
|
198
|
+
true: {
|
|
199
|
+
base: string;
|
|
200
|
+
wrapper: string;
|
|
201
|
+
table: string;
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
}, {
|
|
205
|
+
table: string;
|
|
206
|
+
thead: string;
|
|
207
|
+
tbody: string;
|
|
208
|
+
tr: string[];
|
|
209
|
+
th: string[];
|
|
210
|
+
td: string[];
|
|
211
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
212
|
+
type TableVariantProps = VariantProps<typeof table>;
|
|
213
|
+
type TableSlots = keyof ReturnType<typeof table>;
|
|
214
|
+
|
|
215
|
+
export { type TableSlots, type TableVariantProps, table };
|