@kopexa/theme 17.9.0 → 17.11.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.
Files changed (37) hide show
  1. package/dist/{chunk-W7RJG22S.mjs → chunk-B5JVXVSG.mjs} +4 -9
  2. package/dist/{chunk-3CZOBPDH.mjs → chunk-CVGMGJPW.mjs} +2 -2
  3. package/dist/{chunk-NNKYGAZC.mjs → chunk-LIKA7I7Y.mjs} +1 -1
  4. package/dist/chunk-ODC3GJTR.mjs +61 -0
  5. package/dist/chunk-Q72M565Q.mjs +143 -0
  6. package/dist/chunk-VO435JJ5.mjs +62 -0
  7. package/dist/components/editor-basic.d.mts +42 -6
  8. package/dist/components/editor-basic.d.ts +42 -6
  9. package/dist/components/editor-basic.js +83 -3
  10. package/dist/components/editor-basic.mjs +1 -1
  11. package/dist/components/image-placeholder.d.mts +139 -0
  12. package/dist/components/image-placeholder.d.ts +139 -0
  13. package/dist/components/image-placeholder.js +86 -0
  14. package/dist/components/image-placeholder.mjs +6 -0
  15. package/dist/components/index.d.mts +2 -0
  16. package/dist/components/index.d.ts +2 -0
  17. package/dist/components/index.js +283 -87
  18. package/dist/components/index.mjs +24 -16
  19. package/dist/components/sidebar.js +2 -2
  20. package/dist/components/sidebar.mjs +1 -1
  21. package/dist/components/slash-dropdown-menu.js +1 -1
  22. package/dist/components/slash-dropdown-menu.mjs +1 -1
  23. package/dist/components/split-page-layout.d.mts +6 -0
  24. package/dist/components/split-page-layout.d.ts +6 -0
  25. package/dist/components/split-page-layout.js +4 -9
  26. package/dist/components/split-page-layout.mjs +1 -1
  27. package/dist/components/toc.d.mts +95 -0
  28. package/dist/components/toc.d.ts +95 -0
  29. package/dist/components/toc.js +85 -0
  30. package/dist/components/toc.mjs +6 -0
  31. package/dist/index.d.mts +2 -0
  32. package/dist/index.d.ts +2 -0
  33. package/dist/index.js +283 -87
  34. package/dist/index.mjs +24 -16
  35. package/package.json +5 -4
  36. package/dist/chunk-XOL7P7NP.mjs +0 -63
  37. /package/dist/{chunk-6K5IB5IR.mjs → chunk-6RCNFPIU.mjs} +0 -0
@@ -0,0 +1,139 @@
1
+ import * as tailwind_variants from 'tailwind-variants';
2
+ import { VariantProps } from 'tailwind-variants';
3
+
4
+ declare const imagePlaceholder: tailwind_variants.TVReturnType<{
5
+ size: {
6
+ sm: {
7
+ root: string;
8
+ icon: string;
9
+ text: string;
10
+ hint: string;
11
+ };
12
+ md: {
13
+ root: string;
14
+ icon: string;
15
+ text: string;
16
+ hint: string;
17
+ };
18
+ lg: {
19
+ root: string;
20
+ icon: string;
21
+ text: string;
22
+ hint: string;
23
+ };
24
+ };
25
+ variant: {
26
+ default: {
27
+ root: string;
28
+ };
29
+ error: {
30
+ root: string;
31
+ icon: string;
32
+ text: string;
33
+ };
34
+ disabled: {
35
+ root: string;
36
+ };
37
+ uploading: {
38
+ root: string;
39
+ };
40
+ };
41
+ }, {
42
+ root: string[];
43
+ content: string;
44
+ icon: string;
45
+ text: string;
46
+ hint: string;
47
+ removeButton: string;
48
+ }, undefined, {
49
+ size: {
50
+ sm: {
51
+ root: string;
52
+ icon: string;
53
+ text: string;
54
+ hint: string;
55
+ };
56
+ md: {
57
+ root: string;
58
+ icon: string;
59
+ text: string;
60
+ hint: string;
61
+ };
62
+ lg: {
63
+ root: string;
64
+ icon: string;
65
+ text: string;
66
+ hint: string;
67
+ };
68
+ };
69
+ variant: {
70
+ default: {
71
+ root: string;
72
+ };
73
+ error: {
74
+ root: string;
75
+ icon: string;
76
+ text: string;
77
+ };
78
+ disabled: {
79
+ root: string;
80
+ };
81
+ uploading: {
82
+ root: string;
83
+ };
84
+ };
85
+ }, {
86
+ root: string[];
87
+ content: string;
88
+ icon: string;
89
+ text: string;
90
+ hint: string;
91
+ removeButton: string;
92
+ }, tailwind_variants.TVReturnType<{
93
+ size: {
94
+ sm: {
95
+ root: string;
96
+ icon: string;
97
+ text: string;
98
+ hint: string;
99
+ };
100
+ md: {
101
+ root: string;
102
+ icon: string;
103
+ text: string;
104
+ hint: string;
105
+ };
106
+ lg: {
107
+ root: string;
108
+ icon: string;
109
+ text: string;
110
+ hint: string;
111
+ };
112
+ };
113
+ variant: {
114
+ default: {
115
+ root: string;
116
+ };
117
+ error: {
118
+ root: string;
119
+ icon: string;
120
+ text: string;
121
+ };
122
+ disabled: {
123
+ root: string;
124
+ };
125
+ uploading: {
126
+ root: string;
127
+ };
128
+ };
129
+ }, {
130
+ root: string[];
131
+ content: string;
132
+ icon: string;
133
+ text: string;
134
+ hint: string;
135
+ removeButton: string;
136
+ }, undefined, unknown, unknown, undefined>>;
137
+ type ImagePlaceholderVariantProps = VariantProps<typeof imagePlaceholder>;
138
+
139
+ export { type ImagePlaceholderVariantProps, imagePlaceholder };
@@ -0,0 +1,139 @@
1
+ import * as tailwind_variants from 'tailwind-variants';
2
+ import { VariantProps } from 'tailwind-variants';
3
+
4
+ declare const imagePlaceholder: tailwind_variants.TVReturnType<{
5
+ size: {
6
+ sm: {
7
+ root: string;
8
+ icon: string;
9
+ text: string;
10
+ hint: string;
11
+ };
12
+ md: {
13
+ root: string;
14
+ icon: string;
15
+ text: string;
16
+ hint: string;
17
+ };
18
+ lg: {
19
+ root: string;
20
+ icon: string;
21
+ text: string;
22
+ hint: string;
23
+ };
24
+ };
25
+ variant: {
26
+ default: {
27
+ root: string;
28
+ };
29
+ error: {
30
+ root: string;
31
+ icon: string;
32
+ text: string;
33
+ };
34
+ disabled: {
35
+ root: string;
36
+ };
37
+ uploading: {
38
+ root: string;
39
+ };
40
+ };
41
+ }, {
42
+ root: string[];
43
+ content: string;
44
+ icon: string;
45
+ text: string;
46
+ hint: string;
47
+ removeButton: string;
48
+ }, undefined, {
49
+ size: {
50
+ sm: {
51
+ root: string;
52
+ icon: string;
53
+ text: string;
54
+ hint: string;
55
+ };
56
+ md: {
57
+ root: string;
58
+ icon: string;
59
+ text: string;
60
+ hint: string;
61
+ };
62
+ lg: {
63
+ root: string;
64
+ icon: string;
65
+ text: string;
66
+ hint: string;
67
+ };
68
+ };
69
+ variant: {
70
+ default: {
71
+ root: string;
72
+ };
73
+ error: {
74
+ root: string;
75
+ icon: string;
76
+ text: string;
77
+ };
78
+ disabled: {
79
+ root: string;
80
+ };
81
+ uploading: {
82
+ root: string;
83
+ };
84
+ };
85
+ }, {
86
+ root: string[];
87
+ content: string;
88
+ icon: string;
89
+ text: string;
90
+ hint: string;
91
+ removeButton: string;
92
+ }, tailwind_variants.TVReturnType<{
93
+ size: {
94
+ sm: {
95
+ root: string;
96
+ icon: string;
97
+ text: string;
98
+ hint: string;
99
+ };
100
+ md: {
101
+ root: string;
102
+ icon: string;
103
+ text: string;
104
+ hint: string;
105
+ };
106
+ lg: {
107
+ root: string;
108
+ icon: string;
109
+ text: string;
110
+ hint: string;
111
+ };
112
+ };
113
+ variant: {
114
+ default: {
115
+ root: string;
116
+ };
117
+ error: {
118
+ root: string;
119
+ icon: string;
120
+ text: string;
121
+ };
122
+ disabled: {
123
+ root: string;
124
+ };
125
+ uploading: {
126
+ root: string;
127
+ };
128
+ };
129
+ }, {
130
+ root: string[];
131
+ content: string;
132
+ icon: string;
133
+ text: string;
134
+ hint: string;
135
+ removeButton: string;
136
+ }, undefined, unknown, unknown, undefined>>;
137
+ type ImagePlaceholderVariantProps = VariantProps<typeof imagePlaceholder>;
138
+
139
+ export { type ImagePlaceholderVariantProps, imagePlaceholder };
@@ -0,0 +1,86 @@
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/image-placeholder.ts
21
+ var image_placeholder_exports = {};
22
+ __export(image_placeholder_exports, {
23
+ imagePlaceholder: () => imagePlaceholder
24
+ });
25
+ module.exports = __toCommonJS(image_placeholder_exports);
26
+ var import_tailwind_variants = require("tailwind-variants");
27
+ var imagePlaceholder = (0, import_tailwind_variants.tv)({
28
+ slots: {
29
+ root: [
30
+ "relative flex items-center justify-center",
31
+ "rounded-lg border-2 border-dashed",
32
+ "transition-colors cursor-pointer"
33
+ ],
34
+ content: "flex flex-col items-center gap-2 pointer-events-none",
35
+ icon: "text-muted-foreground",
36
+ text: "text-muted-foreground",
37
+ hint: "text-muted-foreground",
38
+ removeButton: "absolute top-2 right-2"
39
+ },
40
+ variants: {
41
+ size: {
42
+ sm: {
43
+ root: "min-h-24 py-4 px-6",
44
+ icon: "size-6",
45
+ text: "text-xs",
46
+ hint: "text-[10px]"
47
+ },
48
+ md: {
49
+ root: "min-h-32 py-6 px-8",
50
+ icon: "size-8",
51
+ text: "text-sm",
52
+ hint: "text-xs"
53
+ },
54
+ lg: {
55
+ root: "min-h-40 py-8 px-10",
56
+ icon: "size-10",
57
+ text: "text-base",
58
+ hint: "text-sm"
59
+ }
60
+ },
61
+ variant: {
62
+ default: {
63
+ root: "border-border bg-muted/20 hover:border-primary/50 hover:bg-muted/40"
64
+ },
65
+ error: {
66
+ root: "border-destructive/50 bg-destructive/10 cursor-default",
67
+ icon: "text-destructive",
68
+ text: "text-destructive"
69
+ },
70
+ disabled: {
71
+ root: "border-border bg-muted/10 cursor-not-allowed opacity-60"
72
+ },
73
+ uploading: {
74
+ root: "border-border bg-muted/30 cursor-wait"
75
+ }
76
+ }
77
+ },
78
+ defaultVariants: {
79
+ size: "md",
80
+ variant: "default"
81
+ }
82
+ });
83
+ // Annotate the CommonJS export names for ESM import in node:
84
+ 0 && (module.exports = {
85
+ imagePlaceholder
86
+ });
@@ -0,0 +1,6 @@
1
+ import {
2
+ imagePlaceholder
3
+ } from "../chunk-VO435JJ5.mjs";
4
+ export {
5
+ imagePlaceholder
6
+ };
@@ -30,6 +30,7 @@ export { frameworkRow } from './framework-row.mjs';
30
30
  export { HeadingVariantProps, heading } from './heading.mjs';
31
31
  export { HoverCardSlots, HoverCardVariantProps, hoverCard } from './hover-card.mjs';
32
32
  export { imageCrop } from './image-crop.mjs';
33
+ export { ImagePlaceholderVariantProps, imagePlaceholder } from './image-placeholder.mjs';
33
34
  export { ImpactCardSlots, ImpactCardVariantProps, impactCard } from './impact-card.mjs';
34
35
  export { InputVariantProps, input, passwordInput } from './input.mjs';
35
36
  export { inputGroup } from './input-group.mjs';
@@ -64,6 +65,7 @@ export { TabNavSlots, TabNavVariantProps, tabNav } from './tab-nav.mjs';
64
65
  export { TableSlots, TableVariantProps, table } from './table.mjs';
65
66
  export { TabsVariantProps, tabs } from './tabs.mjs';
66
67
  export { TextareaVariantProps, textarea } from './textarea.mjs';
68
+ export { TocSlots, TocVariantProps, toc } from './toc.mjs';
67
69
  export { ToolbarVariantProps, toolbar } from './toolbar.mjs';
68
70
  export { TooltipVariants, tooltip } from './tooltip.mjs';
69
71
  import 'tailwind-variants';
@@ -30,6 +30,7 @@ export { frameworkRow } from './framework-row.js';
30
30
  export { HeadingVariantProps, heading } from './heading.js';
31
31
  export { HoverCardSlots, HoverCardVariantProps, hoverCard } from './hover-card.js';
32
32
  export { imageCrop } from './image-crop.js';
33
+ export { ImagePlaceholderVariantProps, imagePlaceholder } from './image-placeholder.js';
33
34
  export { ImpactCardSlots, ImpactCardVariantProps, impactCard } from './impact-card.js';
34
35
  export { InputVariantProps, input, passwordInput } from './input.js';
35
36
  export { inputGroup } from './input-group.js';
@@ -64,6 +65,7 @@ export { TabNavSlots, TabNavVariantProps, tabNav } from './tab-nav.js';
64
65
  export { TableSlots, TableVariantProps, table } from './table.js';
65
66
  export { TabsVariantProps, tabs } from './tabs.js';
66
67
  export { TextareaVariantProps, textarea } from './textarea.js';
68
+ export { TocSlots, TocVariantProps, toc } from './toc.js';
67
69
  export { ToolbarVariantProps, toolbar } from './toolbar.js';
68
70
  export { TooltipVariants, tooltip } from './tooltip.js';
69
71
  import 'tailwind-variants';