@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.
Files changed (62) hide show
  1. package/dist/{chunk-BIRJNNEY.mjs → chunk-3M5JSM7Y.mjs} +5 -5
  2. package/dist/chunk-5BIGFSZK.mjs +48 -0
  3. package/dist/chunk-CDTKWCOH.mjs +120 -0
  4. package/dist/{chunk-7CM52H5K.mjs → chunk-CQDTDA47.mjs} +1 -1
  5. package/dist/chunk-GNYTZGE5.mjs +48 -0
  6. package/dist/chunk-HAVJ6EQ6.mjs +39 -0
  7. package/dist/{chunk-Q5DCJR2X.mjs → chunk-I2NMD23O.mjs} +16 -3
  8. package/dist/chunk-KPOZFVP6.mjs +13 -0
  9. package/dist/chunk-NWKBPO37.mjs +21 -0
  10. package/dist/chunk-VNQEJU4P.mjs +9 -0
  11. package/dist/chunk-XCLEKBCJ.mjs +17 -0
  12. package/dist/components/avatar-group.d.mts +29 -0
  13. package/dist/components/avatar-group.d.ts +29 -0
  14. package/dist/components/avatar-group.js +41 -0
  15. package/dist/components/avatar-group.mjs +6 -0
  16. package/dist/components/avatar.d.mts +30 -0
  17. package/dist/components/avatar.d.ts +30 -0
  18. package/dist/components/avatar.js +16 -3
  19. package/dist/components/avatar.mjs +1 -1
  20. package/dist/components/button.js +5 -5
  21. package/dist/components/button.mjs +1 -1
  22. package/dist/components/checkbox.d.mts +43 -0
  23. package/dist/components/checkbox.d.ts +43 -0
  24. package/dist/components/checkbox.js +37 -0
  25. package/dist/components/checkbox.mjs +6 -0
  26. package/dist/components/code.d.mts +70 -0
  27. package/dist/components/code.d.ts +70 -0
  28. package/dist/components/code.js +120 -0
  29. package/dist/components/code.mjs +7 -0
  30. package/dist/components/data-table.d.mts +121 -0
  31. package/dist/components/data-table.d.ts +121 -0
  32. package/dist/components/data-table.js +72 -0
  33. package/dist/components/data-table.mjs +6 -0
  34. package/dist/components/heading.d.mts +34 -0
  35. package/dist/components/heading.d.ts +34 -0
  36. package/dist/components/heading.js +45 -0
  37. package/dist/components/heading.mjs +6 -0
  38. package/dist/components/index.d.mts +8 -0
  39. package/dist/components/index.d.ts +8 -0
  40. package/dist/components/index.js +352 -36
  41. package/dist/components/index.mjs +51 -19
  42. package/dist/components/input.js +1 -1
  43. package/dist/components/input.mjs +1 -1
  44. package/dist/components/page-header.d.mts +85 -0
  45. package/dist/components/page-header.d.ts +85 -0
  46. package/dist/components/page-header.js +63 -0
  47. package/dist/components/page-header.mjs +6 -0
  48. package/dist/components/skeleton.d.mts +5 -0
  49. package/dist/components/skeleton.d.ts +5 -0
  50. package/dist/components/skeleton.js +33 -0
  51. package/dist/components/skeleton.mjs +6 -0
  52. package/dist/components/table.d.mts +215 -0
  53. package/dist/components/table.d.ts +215 -0
  54. package/dist/components/table.js +144 -0
  55. package/dist/components/table.mjs +6 -0
  56. package/dist/index.css +131 -26
  57. package/dist/index.d.mts +8 -0
  58. package/dist/index.d.ts +8 -0
  59. package/dist/index.js +352 -36
  60. package/dist/index.mjs +51 -19
  61. package/package.json +3 -3
  62. /package/dist/{chunk-PWBTAIYS.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
+ });
@@ -0,0 +1,6 @@
1
+ import {
2
+ pageHeader
3
+ } from "../chunk-HAVJ6EQ6.mjs";
4
+ export {
5
+ pageHeader
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,6 @@
1
+ import {
2
+ skeleton
3
+ } from "../chunk-VNQEJU4P.mjs";
4
+ export {
5
+ skeleton
6
+ };
@@ -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 };