@kopexa/theme 1.6.10 → 1.7.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.
@@ -0,0 +1,55 @@
1
+ // src/components/blankstate.ts
2
+ import { tv } from "tailwind-variants";
3
+ var blankstate = tv({
4
+ slots: {
5
+ root: "@container/blankstate",
6
+ container: "grid justify-items-center",
7
+ icon: "inline-flex mb-2 text-muted-foreground [&_svg]:w-full",
8
+ title: "mb-1",
9
+ description: "text-muted-foreground",
10
+ actions: "my-4 flex items-center gap-2"
11
+ },
12
+ variants: {
13
+ size: {
14
+ sm: {
15
+ container: "py-8 px-5",
16
+ title: "text-h4-core",
17
+ icon: "[&_svg]:size-6",
18
+ description: "text-sm"
19
+ },
20
+ md: {
21
+ container: "py-8 px-8",
22
+ title: "text-h2-core",
23
+ description: "text-base",
24
+ icon: "[&_svg]:size-8"
25
+ },
26
+ lg: {
27
+ container: "py-8 px-8",
28
+ title: "text-h1-core",
29
+ description: "text-base",
30
+ icon: "[&_svg]:size-10"
31
+ }
32
+ },
33
+ bordered: {
34
+ true: {
35
+ container: "border rounded-lg"
36
+ },
37
+ false: {}
38
+ },
39
+ narrow: {
40
+ true: {
41
+ container: "max-w-md mx-auto"
42
+ },
43
+ false: {}
44
+ }
45
+ },
46
+ defaultVariants: {
47
+ size: "md",
48
+ bordered: false,
49
+ narrow: false
50
+ }
51
+ });
52
+
53
+ export {
54
+ blankstate
55
+ };
@@ -0,0 +1,25 @@
1
+ import {
2
+ avatar
3
+ } from "./chunk-WPVIIT3Z.mjs";
4
+
5
+ // src/components/skeleton-avatar.ts
6
+ import { tv } from "tailwind-variants";
7
+ var skeletonAvatar = tv({
8
+ base: "rounded-full",
9
+ variants: {
10
+ size: {
11
+ "2xs": avatar.variants.size["2xs"].root,
12
+ xs: avatar.variants.size.xs.root,
13
+ sm: avatar.variants.size.sm.root,
14
+ md: avatar.variants.size.md.root,
15
+ lg: avatar.variants.size.lg.root
16
+ }
17
+ },
18
+ defaultVariants: {
19
+ size: avatar.defaultVariants.size
20
+ }
21
+ });
22
+
23
+ export {
24
+ skeletonAvatar
25
+ };
@@ -58,6 +58,12 @@ var avatar = tv({
58
58
  },
59
59
  variants: {
60
60
  size: {
61
+ "2xs": {
62
+ root: "w-4 h-4 text-[8px]"
63
+ },
64
+ xs: {
65
+ root: "w-6 h-6 text-[10px]"
66
+ },
61
67
  sm: {
62
68
  root: "w-8 h-8 text-[11px]"
63
69
  },
@@ -3,6 +3,12 @@ import { VariantProps } from 'tailwind-variants';
3
3
 
4
4
  declare const avatar: tailwind_variants.TVReturnType<{
5
5
  size: {
6
+ "2xs": {
7
+ root: string;
8
+ };
9
+ xs: {
10
+ root: string;
11
+ };
6
12
  sm: {
7
13
  root: string;
8
14
  };
@@ -78,6 +84,12 @@ declare const avatar: tailwind_variants.TVReturnType<{
78
84
  icon: string[];
79
85
  }, undefined, {
80
86
  size: {
87
+ "2xs": {
88
+ root: string;
89
+ };
90
+ xs: {
91
+ root: string;
92
+ };
81
93
  sm: {
82
94
  root: string;
83
95
  };
@@ -153,6 +165,12 @@ declare const avatar: tailwind_variants.TVReturnType<{
153
165
  icon: string[];
154
166
  }, tailwind_variants.TVReturnType<{
155
167
  size: {
168
+ "2xs": {
169
+ root: string;
170
+ };
171
+ xs: {
172
+ root: string;
173
+ };
156
174
  sm: {
157
175
  root: string;
158
176
  };
@@ -3,6 +3,12 @@ import { VariantProps } from 'tailwind-variants';
3
3
 
4
4
  declare const avatar: tailwind_variants.TVReturnType<{
5
5
  size: {
6
+ "2xs": {
7
+ root: string;
8
+ };
9
+ xs: {
10
+ root: string;
11
+ };
6
12
  sm: {
7
13
  root: string;
8
14
  };
@@ -78,6 +84,12 @@ declare const avatar: tailwind_variants.TVReturnType<{
78
84
  icon: string[];
79
85
  }, undefined, {
80
86
  size: {
87
+ "2xs": {
88
+ root: string;
89
+ };
90
+ xs: {
91
+ root: string;
92
+ };
81
93
  sm: {
82
94
  root: string;
83
95
  };
@@ -153,6 +165,12 @@ declare const avatar: tailwind_variants.TVReturnType<{
153
165
  icon: string[];
154
166
  }, tailwind_variants.TVReturnType<{
155
167
  size: {
168
+ "2xs": {
169
+ root: string;
170
+ };
171
+ xs: {
172
+ root: string;
173
+ };
156
174
  sm: {
157
175
  root: string;
158
176
  };
@@ -139,6 +139,12 @@ var avatar = (0, import_tailwind_variants.tv)({
139
139
  },
140
140
  variants: {
141
141
  size: {
142
+ "2xs": {
143
+ root: "w-4 h-4 text-[8px]"
144
+ },
145
+ xs: {
146
+ root: "w-6 h-6 text-[10px]"
147
+ },
142
148
  sm: {
143
149
  root: "w-8 h-8 text-[11px]"
144
150
  },
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  avatar
3
- } from "../chunk-2BPKTGNE.mjs";
3
+ } from "../chunk-WPVIIT3Z.mjs";
4
4
  import "../chunk-UEMJVVVF.mjs";
5
5
  import "../chunk-LG2J56LI.mjs";
6
6
  export {
@@ -0,0 +1,128 @@
1
+ import * as tailwind_variants from 'tailwind-variants';
2
+ import { VariantProps } from 'tailwind-variants';
3
+
4
+ declare const blankstate: tailwind_variants.TVReturnType<{
5
+ size: {
6
+ sm: {
7
+ container: string;
8
+ title: string;
9
+ icon: string;
10
+ description: string;
11
+ };
12
+ md: {
13
+ container: string;
14
+ title: string;
15
+ description: string;
16
+ icon: string;
17
+ };
18
+ lg: {
19
+ container: string;
20
+ title: string;
21
+ description: string;
22
+ icon: string;
23
+ };
24
+ };
25
+ bordered: {
26
+ true: {
27
+ container: string;
28
+ };
29
+ false: {};
30
+ };
31
+ narrow: {
32
+ true: {
33
+ container: string;
34
+ };
35
+ false: {};
36
+ };
37
+ }, {
38
+ root: string;
39
+ container: string;
40
+ icon: string;
41
+ title: string;
42
+ description: string;
43
+ actions: string;
44
+ }, undefined, {
45
+ size: {
46
+ sm: {
47
+ container: string;
48
+ title: string;
49
+ icon: string;
50
+ description: string;
51
+ };
52
+ md: {
53
+ container: string;
54
+ title: string;
55
+ description: string;
56
+ icon: string;
57
+ };
58
+ lg: {
59
+ container: string;
60
+ title: string;
61
+ description: string;
62
+ icon: string;
63
+ };
64
+ };
65
+ bordered: {
66
+ true: {
67
+ container: string;
68
+ };
69
+ false: {};
70
+ };
71
+ narrow: {
72
+ true: {
73
+ container: string;
74
+ };
75
+ false: {};
76
+ };
77
+ }, {
78
+ root: string;
79
+ container: string;
80
+ icon: string;
81
+ title: string;
82
+ description: string;
83
+ actions: string;
84
+ }, tailwind_variants.TVReturnType<{
85
+ size: {
86
+ sm: {
87
+ container: string;
88
+ title: string;
89
+ icon: string;
90
+ description: string;
91
+ };
92
+ md: {
93
+ container: string;
94
+ title: string;
95
+ description: string;
96
+ icon: string;
97
+ };
98
+ lg: {
99
+ container: string;
100
+ title: string;
101
+ description: string;
102
+ icon: string;
103
+ };
104
+ };
105
+ bordered: {
106
+ true: {
107
+ container: string;
108
+ };
109
+ false: {};
110
+ };
111
+ narrow: {
112
+ true: {
113
+ container: string;
114
+ };
115
+ false: {};
116
+ };
117
+ }, {
118
+ root: string;
119
+ container: string;
120
+ icon: string;
121
+ title: string;
122
+ description: string;
123
+ actions: string;
124
+ }, undefined, unknown, unknown, undefined>>;
125
+ type BlankStateVariantProps = VariantProps<typeof blankstate>;
126
+ type BlankStateSlots = keyof ReturnType<typeof blankstate>;
127
+
128
+ export { type BlankStateSlots, type BlankStateVariantProps, blankstate };
@@ -0,0 +1,128 @@
1
+ import * as tailwind_variants from 'tailwind-variants';
2
+ import { VariantProps } from 'tailwind-variants';
3
+
4
+ declare const blankstate: tailwind_variants.TVReturnType<{
5
+ size: {
6
+ sm: {
7
+ container: string;
8
+ title: string;
9
+ icon: string;
10
+ description: string;
11
+ };
12
+ md: {
13
+ container: string;
14
+ title: string;
15
+ description: string;
16
+ icon: string;
17
+ };
18
+ lg: {
19
+ container: string;
20
+ title: string;
21
+ description: string;
22
+ icon: string;
23
+ };
24
+ };
25
+ bordered: {
26
+ true: {
27
+ container: string;
28
+ };
29
+ false: {};
30
+ };
31
+ narrow: {
32
+ true: {
33
+ container: string;
34
+ };
35
+ false: {};
36
+ };
37
+ }, {
38
+ root: string;
39
+ container: string;
40
+ icon: string;
41
+ title: string;
42
+ description: string;
43
+ actions: string;
44
+ }, undefined, {
45
+ size: {
46
+ sm: {
47
+ container: string;
48
+ title: string;
49
+ icon: string;
50
+ description: string;
51
+ };
52
+ md: {
53
+ container: string;
54
+ title: string;
55
+ description: string;
56
+ icon: string;
57
+ };
58
+ lg: {
59
+ container: string;
60
+ title: string;
61
+ description: string;
62
+ icon: string;
63
+ };
64
+ };
65
+ bordered: {
66
+ true: {
67
+ container: string;
68
+ };
69
+ false: {};
70
+ };
71
+ narrow: {
72
+ true: {
73
+ container: string;
74
+ };
75
+ false: {};
76
+ };
77
+ }, {
78
+ root: string;
79
+ container: string;
80
+ icon: string;
81
+ title: string;
82
+ description: string;
83
+ actions: string;
84
+ }, tailwind_variants.TVReturnType<{
85
+ size: {
86
+ sm: {
87
+ container: string;
88
+ title: string;
89
+ icon: string;
90
+ description: string;
91
+ };
92
+ md: {
93
+ container: string;
94
+ title: string;
95
+ description: string;
96
+ icon: string;
97
+ };
98
+ lg: {
99
+ container: string;
100
+ title: string;
101
+ description: string;
102
+ icon: string;
103
+ };
104
+ };
105
+ bordered: {
106
+ true: {
107
+ container: string;
108
+ };
109
+ false: {};
110
+ };
111
+ narrow: {
112
+ true: {
113
+ container: string;
114
+ };
115
+ false: {};
116
+ };
117
+ }, {
118
+ root: string;
119
+ container: string;
120
+ icon: string;
121
+ title: string;
122
+ description: string;
123
+ actions: string;
124
+ }, undefined, unknown, unknown, undefined>>;
125
+ type BlankStateVariantProps = VariantProps<typeof blankstate>;
126
+ type BlankStateSlots = keyof ReturnType<typeof blankstate>;
127
+
128
+ export { type BlankStateSlots, type BlankStateVariantProps, blankstate };
@@ -0,0 +1,79 @@
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/blankstate.ts
21
+ var blankstate_exports = {};
22
+ __export(blankstate_exports, {
23
+ blankstate: () => blankstate
24
+ });
25
+ module.exports = __toCommonJS(blankstate_exports);
26
+ var import_tailwind_variants = require("tailwind-variants");
27
+ var blankstate = (0, import_tailwind_variants.tv)({
28
+ slots: {
29
+ root: "@container/blankstate",
30
+ container: "grid justify-items-center",
31
+ icon: "inline-flex mb-2 text-muted-foreground [&_svg]:w-full",
32
+ title: "mb-1",
33
+ description: "text-muted-foreground",
34
+ actions: "my-4 flex items-center gap-2"
35
+ },
36
+ variants: {
37
+ size: {
38
+ sm: {
39
+ container: "py-8 px-5",
40
+ title: "text-h4-core",
41
+ icon: "[&_svg]:size-6",
42
+ description: "text-sm"
43
+ },
44
+ md: {
45
+ container: "py-8 px-8",
46
+ title: "text-h2-core",
47
+ description: "text-base",
48
+ icon: "[&_svg]:size-8"
49
+ },
50
+ lg: {
51
+ container: "py-8 px-8",
52
+ title: "text-h1-core",
53
+ description: "text-base",
54
+ icon: "[&_svg]:size-10"
55
+ }
56
+ },
57
+ bordered: {
58
+ true: {
59
+ container: "border rounded-lg"
60
+ },
61
+ false: {}
62
+ },
63
+ narrow: {
64
+ true: {
65
+ container: "max-w-md mx-auto"
66
+ },
67
+ false: {}
68
+ }
69
+ },
70
+ defaultVariants: {
71
+ size: "md",
72
+ bordered: false,
73
+ narrow: false
74
+ }
75
+ });
76
+ // Annotate the CommonJS export names for ESM import in node:
77
+ 0 && (module.exports = {
78
+ blankstate
79
+ });
@@ -0,0 +1,6 @@
1
+ import {
2
+ blankstate
3
+ } from "../chunk-DICHD74Q.mjs";
4
+ export {
5
+ blankstate
6
+ };
@@ -2,6 +2,7 @@ export { AccordionSlots, AccordionVariantProps, accordion } from './accordion.mj
2
2
  export { AlertDialogSlots, AlertDialogVariants, alertDialog } from './alert-dialog.mjs';
3
3
  export { AvatarSlots, AvatarVariantProps, avatar } from './avatar.mjs';
4
4
  export { AvatarGroupSlots, AvatarGroupVariantProps, avatarGroup } from './avatar-group.mjs';
5
+ export { BlankStateSlots, BlankStateVariantProps, blankstate } from './blankstate.mjs';
5
6
  export { ButtonVariantProps, button } from './button.mjs';
6
7
  export { CalendarVariantProps, calendar } from './calendar.mjs';
7
8
  export { CalloutVariantProps, callout } from './callout.mjs';
@@ -28,6 +29,7 @@ export { SectionRowSlots, SectionRowVariantProps, sectionRow } from './section-r
28
29
  export { SeparatorVariantProps, separator } from './separator.mjs';
29
30
  export { SidebarMenuActionVariantProps, SidebarMenuButtonVariantProps, SidebarVariantProps, sidebar, sidebarMenuAction, sidebarMenuButton } from './sidebar.mjs';
30
31
  export { skeleton } from './skeleton.mjs';
32
+ export { SkeletonAvatarVariantProps, skeletonAvatar } from './skeleton-avatar.mjs';
31
33
  export { SpinnerVariants, spinner } from './spinner.mjs';
32
34
  export { SplitPageLayoutVariantProps, splitPageLayout } from './split-page-layout.mjs';
33
35
  export { TabNavSlots, TabNavVariantProps, tabNav } from './tab-nav.mjs';
@@ -2,6 +2,7 @@ export { AccordionSlots, AccordionVariantProps, accordion } from './accordion.js
2
2
  export { AlertDialogSlots, AlertDialogVariants, alertDialog } from './alert-dialog.js';
3
3
  export { AvatarSlots, AvatarVariantProps, avatar } from './avatar.js';
4
4
  export { AvatarGroupSlots, AvatarGroupVariantProps, avatarGroup } from './avatar-group.js';
5
+ export { BlankStateSlots, BlankStateVariantProps, blankstate } from './blankstate.js';
5
6
  export { ButtonVariantProps, button } from './button.js';
6
7
  export { CalendarVariantProps, calendar } from './calendar.js';
7
8
  export { CalloutVariantProps, callout } from './callout.js';
@@ -28,6 +29,7 @@ export { SectionRowSlots, SectionRowVariantProps, sectionRow } from './section-r
28
29
  export { SeparatorVariantProps, separator } from './separator.js';
29
30
  export { SidebarMenuActionVariantProps, SidebarMenuButtonVariantProps, SidebarVariantProps, sidebar, sidebarMenuAction, sidebarMenuButton } from './sidebar.js';
30
31
  export { skeleton } from './skeleton.js';
32
+ export { SkeletonAvatarVariantProps, skeletonAvatar } from './skeleton-avatar.js';
31
33
  export { SpinnerVariants, spinner } from './spinner.js';
32
34
  export { SplitPageLayoutVariantProps, splitPageLayout } from './split-page-layout.js';
33
35
  export { TabNavSlots, TabNavVariantProps, tabNav } from './tab-nav.js';