@kopexa/theme 1.7.7 → 2.0.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.
- package/dist/{chunk-EXBKQDH5.mjs → chunk-3PCDCW7G.mjs} +1 -1
- package/dist/{chunk-UEMJVVVF.mjs → chunk-5DOB3IBE.mjs} +14 -1
- package/dist/{chunk-SHHD2WUZ.mjs → chunk-7VZZASRG.mjs} +1 -1
- package/dist/chunk-BETLBSSF.mjs +23 -0
- package/dist/chunk-BWB7MWRC.mjs +22 -0
- package/dist/chunk-CPERWXKN.mjs +21 -0
- package/dist/chunk-DI54XTS5.mjs +56 -0
- package/dist/chunk-GRPMKEI2.mjs +34 -0
- package/dist/{chunk-ZL6FAOXE.mjs → chunk-HHOMDBMZ.mjs} +1 -1
- package/dist/chunk-HWEYNK3O.mjs +25 -0
- package/dist/{chunk-U32YEQZ5.mjs → chunk-IHITEH7V.mjs} +15 -9
- package/dist/chunk-IHW4FWFB.mjs +71 -0
- package/dist/{chunk-TJDRYBGW.mjs → chunk-JXQPOORM.mjs} +15 -9
- package/dist/{chunk-MWG2OZMD.mjs → chunk-LAJQAXSV.mjs} +7 -9
- package/dist/{chunk-VCLXE57S.mjs → chunk-LM7MKBHT.mjs} +7 -1
- package/dist/chunk-LMCM4CW2.mjs +22 -0
- package/dist/chunk-M3GQ563Q.mjs +33 -0
- package/dist/chunk-NFOF75HQ.mjs +106 -0
- package/dist/{chunk-JHKTRIIA.mjs → chunk-RQYYDG26.mjs} +4 -2
- package/dist/chunk-SPQE7K66.mjs +18 -0
- package/dist/chunk-TVC4THD6.mjs +16 -0
- package/dist/chunk-URGRCBNW.mjs +27 -0
- package/dist/chunk-VSVGOX3P.mjs +48 -0
- package/dist/chunk-XGUDXC5P.mjs +26 -0
- package/dist/{chunk-755GJHKQ.mjs → chunk-XRKUQMGU.mjs} +1 -1
- package/dist/{chunk-JQ74U2S3.mjs → chunk-YH6TDPK7.mjs} +4 -4
- package/dist/chunk-Z7D56R5U.mjs +70 -0
- package/dist/components/alert-dialog.d.mts +9 -9
- package/dist/components/alert-dialog.d.ts +9 -9
- package/dist/components/alert-dialog.js +11 -2
- package/dist/components/alert-dialog.mjs +1 -1
- package/dist/components/autocomplete.d.mts +73 -0
- package/dist/components/autocomplete.d.ts +73 -0
- package/dist/components/autocomplete.js +173 -0
- package/dist/components/autocomplete.mjs +8 -0
- package/dist/components/avatar.mjs +2 -2
- package/dist/components/button.d.mts +15 -0
- package/dist/components/button.d.ts +15 -0
- package/dist/components/button.js +12 -6
- package/dist/components/button.mjs +2 -2
- package/dist/components/chip.d.mts +3 -0
- package/dist/components/chip.d.ts +3 -0
- package/dist/components/chip.js +4 -2
- package/dist/components/chip.mjs +1 -1
- package/dist/components/color-highlight-button.d.mts +36 -0
- package/dist/components/color-highlight-button.d.ts +36 -0
- package/dist/components/color-highlight-button.js +45 -0
- package/dist/components/color-highlight-button.mjs +6 -0
- package/dist/components/command.d.mts +9 -9
- package/dist/components/command.d.ts +9 -9
- package/dist/components/dialog.js +7 -9
- package/dist/components/dialog.mjs +1 -1
- package/dist/components/drawer.d.mts +3 -3
- package/dist/components/drawer.d.ts +3 -3
- package/dist/components/drawer.js +21 -17
- package/dist/components/drawer.mjs +2 -2
- package/dist/components/dropdown-menu.js +1 -1
- package/dist/components/dropdown-menu.mjs +1 -1
- package/dist/components/editor-basic.d.mts +44 -0
- package/dist/components/editor-basic.d.ts +44 -0
- package/dist/components/editor-basic.js +58 -0
- package/dist/components/editor-basic.mjs +6 -0
- package/dist/components/editor-spinner.d.mts +60 -0
- package/dist/components/editor-spinner.d.ts +60 -0
- package/dist/components/editor-spinner.js +40 -0
- package/dist/components/editor-spinner.mjs +6 -0
- package/dist/components/hover-card.mjs +2 -2
- package/dist/components/index.d.mts +13 -0
- package/dist/components/index.d.ts +13 -0
- package/dist/components/index.js +678 -198
- package/dist/components/index.mjs +93 -41
- package/dist/components/input-group.d.mts +5 -0
- package/dist/components/input-group.d.ts +5 -0
- package/dist/components/input-group.js +49 -0
- package/dist/components/input-group.mjs +6 -0
- package/dist/components/input-wrapper.d.mts +25 -0
- package/dist/components/input-wrapper.d.ts +25 -0
- package/dist/components/input-wrapper.js +72 -0
- package/dist/components/input-wrapper.mjs +6 -0
- package/dist/components/input.d.mts +30 -129
- package/dist/components/input.d.ts +30 -129
- package/dist/components/input.js +58 -71
- package/dist/components/input.mjs +2 -2
- package/dist/components/kbd.d.mts +35 -0
- package/dist/components/kbd.d.ts +35 -0
- package/dist/components/kbd.js +47 -0
- package/dist/components/kbd.mjs +6 -0
- package/dist/components/label.d.mts +22 -0
- package/dist/components/label.d.ts +22 -0
- package/dist/components/label.js +46 -0
- package/dist/components/label.mjs +6 -0
- package/dist/components/popover.d.mts +79 -14
- package/dist/components/popover.d.ts +79 -14
- package/dist/components/popover.js +41 -4
- package/dist/components/popover.mjs +2 -2
- package/dist/components/scroll-area.d.mts +50 -0
- package/dist/components/scroll-area.d.ts +50 -0
- package/dist/components/scroll-area.js +42 -0
- package/dist/components/scroll-area.mjs +6 -0
- package/dist/components/select.d.mts +76 -0
- package/dist/components/select.d.ts +76 -0
- package/dist/components/select.js +145 -0
- package/dist/components/select.mjs +7 -0
- package/dist/components/separator.d.mts +2 -2
- package/dist/components/separator.d.ts +2 -2
- package/dist/components/separator.js +7 -1
- package/dist/components/separator.mjs +1 -1
- package/dist/components/skeleton-avatar.mjs +3 -3
- package/dist/components/slash-dropdown-menu.d.mts +54 -0
- package/dist/components/slash-dropdown-menu.d.ts +54 -0
- package/dist/components/slash-dropdown-menu.js +55 -0
- package/dist/components/slash-dropdown-menu.mjs +7 -0
- package/dist/components/standard-chip.d.mts +4 -0
- package/dist/components/standard-chip.d.ts +4 -0
- package/dist/components/standard-chip.js +4 -2
- package/dist/components/standard-chip.mjs +2 -2
- package/dist/components/textarea.d.mts +25 -0
- package/dist/components/textarea.d.ts +25 -0
- package/dist/components/textarea.js +72 -0
- package/dist/components/textarea.mjs +7 -0
- package/dist/components/toolbar.d.mts +34 -0
- package/dist/components/toolbar.d.ts +34 -0
- package/dist/components/toolbar.js +46 -0
- package/dist/components/toolbar.mjs +6 -0
- package/dist/editor.css +784 -0
- package/dist/index.css +28 -1
- package/dist/index.d.mts +13 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +678 -198
- package/dist/index.mjs +93 -41
- package/dist/utils/classes.d.mts +13 -1
- package/dist/utils/classes.d.ts +13 -1
- package/dist/utils/classes.js +14 -0
- package/dist/utils/classes.mjs +3 -1
- package/package.json +24 -18
- package/dist/chunk-CPEP2RO4.mjs +0 -17
- package/dist/chunk-IKJHZT2S.mjs +0 -19
- package/dist/chunk-UMSU2ZEG.mjs +0 -96
- /package/dist/{chunk-3ZVSVLZD.mjs → chunk-UWWO4AVU.mjs} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,23 @@
|
|
|
1
1
|
import "./chunk-XSN6P5JL.mjs";
|
|
2
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-UWWO4AVU.mjs";
|
|
3
|
+
import {
|
|
4
|
+
toolbar
|
|
5
|
+
} from "./chunk-BWB7MWRC.mjs";
|
|
6
|
+
import {
|
|
7
|
+
tooltip
|
|
8
|
+
} from "./chunk-OLYO7UPH.mjs";
|
|
9
|
+
import {
|
|
10
|
+
slashDropdownMenu
|
|
11
|
+
} from "./chunk-URGRCBNW.mjs";
|
|
12
|
+
import {
|
|
13
|
+
spinner
|
|
14
|
+
} from "./chunk-4UDOCFU5.mjs";
|
|
15
|
+
import {
|
|
16
|
+
splitPageLayout
|
|
17
|
+
} from "./chunk-W7RJG22S.mjs";
|
|
3
18
|
import {
|
|
4
19
|
standardChip
|
|
5
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-7VZZASRG.mjs";
|
|
6
21
|
import {
|
|
7
22
|
tabNav
|
|
8
23
|
} from "./chunk-ZLM6Z3W2.mjs";
|
|
@@ -13,17 +28,23 @@ import {
|
|
|
13
28
|
tabs
|
|
14
29
|
} from "./chunk-I6M4S2KZ.mjs";
|
|
15
30
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./chunk-
|
|
31
|
+
textarea
|
|
32
|
+
} from "./chunk-M3GQ563Q.mjs";
|
|
18
33
|
import {
|
|
19
34
|
riskIndicator
|
|
20
35
|
} from "./chunk-CZMZHA7U.mjs";
|
|
36
|
+
import {
|
|
37
|
+
scrollArea
|
|
38
|
+
} from "./chunk-SPQE7K66.mjs";
|
|
21
39
|
import {
|
|
22
40
|
sectionRow
|
|
23
41
|
} from "./chunk-I4ZIT7EK.mjs";
|
|
42
|
+
import {
|
|
43
|
+
select
|
|
44
|
+
} from "./chunk-NFOF75HQ.mjs";
|
|
24
45
|
import {
|
|
25
46
|
separator
|
|
26
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-LM7MKBHT.mjs";
|
|
27
48
|
import {
|
|
28
49
|
sidebar,
|
|
29
50
|
sidebarMenuAction,
|
|
@@ -31,19 +52,13 @@ import {
|
|
|
31
52
|
} from "./chunk-GA6UOB2D.mjs";
|
|
32
53
|
import {
|
|
33
54
|
skeletonAvatar
|
|
34
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-HHOMDBMZ.mjs";
|
|
35
56
|
import {
|
|
36
57
|
skeleton
|
|
37
58
|
} from "./chunk-VNQEJU4P.mjs";
|
|
38
59
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./chunk-
|
|
41
|
-
import {
|
|
42
|
-
splitPageLayout
|
|
43
|
-
} from "./chunk-W7RJG22S.mjs";
|
|
44
|
-
import {
|
|
45
|
-
integrationCard
|
|
46
|
-
} from "./chunk-QOW6FLZ6.mjs";
|
|
60
|
+
label
|
|
61
|
+
} from "./chunk-LMCM4CW2.mjs";
|
|
47
62
|
import {
|
|
48
63
|
pageHeader
|
|
49
64
|
} from "./chunk-HAVJ6EQ6.mjs";
|
|
@@ -52,7 +67,7 @@ import {
|
|
|
52
67
|
} from "./chunk-OULAICSC.mjs";
|
|
53
68
|
import {
|
|
54
69
|
popover
|
|
55
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-DI54XTS5.mjs";
|
|
56
71
|
import {
|
|
57
72
|
previewCard
|
|
58
73
|
} from "./chunk-WPOYEHD2.mjs";
|
|
@@ -65,28 +80,51 @@ import {
|
|
|
65
80
|
import {
|
|
66
81
|
riskBadge
|
|
67
82
|
} from "./chunk-V2J5XG34.mjs";
|
|
83
|
+
import {
|
|
84
|
+
heading
|
|
85
|
+
} from "./chunk-NWKBPO37.mjs";
|
|
86
|
+
import {
|
|
87
|
+
hoverCard
|
|
88
|
+
} from "./chunk-XRKUQMGU.mjs";
|
|
89
|
+
import {
|
|
90
|
+
inputGroup
|
|
91
|
+
} from "./chunk-HWEYNK3O.mjs";
|
|
92
|
+
import {
|
|
93
|
+
inputWrapper
|
|
94
|
+
} from "./chunk-VSVGOX3P.mjs";
|
|
95
|
+
import {
|
|
96
|
+
integrationCard
|
|
97
|
+
} from "./chunk-QOW6FLZ6.mjs";
|
|
98
|
+
import {
|
|
99
|
+
kbd
|
|
100
|
+
} from "./chunk-BETLBSSF.mjs";
|
|
101
|
+
import {
|
|
102
|
+
datagrid
|
|
103
|
+
} from "./chunk-45KIKY4A.mjs";
|
|
104
|
+
import {
|
|
105
|
+
dataTable
|
|
106
|
+
} from "./chunk-GNYTZGE5.mjs";
|
|
68
107
|
import {
|
|
69
108
|
drawer
|
|
70
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-JXQPOORM.mjs";
|
|
71
110
|
import {
|
|
72
111
|
dialog
|
|
73
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-LAJQAXSV.mjs";
|
|
74
113
|
import {
|
|
75
114
|
dropdownMenu
|
|
76
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-3PCDCW7G.mjs";
|
|
77
116
|
import {
|
|
78
|
-
|
|
79
|
-
} from "./chunk-
|
|
117
|
+
editorBasic
|
|
118
|
+
} from "./chunk-GRPMKEI2.mjs";
|
|
80
119
|
import {
|
|
81
|
-
|
|
82
|
-
} from "./chunk-
|
|
120
|
+
editorSpinner
|
|
121
|
+
} from "./chunk-TVC4THD6.mjs";
|
|
83
122
|
import {
|
|
84
|
-
|
|
85
|
-
} from "./chunk-
|
|
123
|
+
frameworkRow
|
|
124
|
+
} from "./chunk-TPFAZH22.mjs";
|
|
86
125
|
import {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
} from "./chunk-UMSU2ZEG.mjs";
|
|
126
|
+
calendar
|
|
127
|
+
} from "./chunk-JWF5ABNP.mjs";
|
|
90
128
|
import {
|
|
91
129
|
callout
|
|
92
130
|
} from "./chunk-XAHAVJUM.mjs";
|
|
@@ -98,45 +136,47 @@ import {
|
|
|
98
136
|
} from "./chunk-A4KO7QKC.mjs";
|
|
99
137
|
import {
|
|
100
138
|
chip
|
|
101
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-RQYYDG26.mjs";
|
|
102
140
|
import {
|
|
103
141
|
code
|
|
104
142
|
} from "./chunk-ROZ24JVQ.mjs";
|
|
143
|
+
import {
|
|
144
|
+
colorHighlightButton
|
|
145
|
+
} from "./chunk-CPERWXKN.mjs";
|
|
105
146
|
import {
|
|
106
147
|
command
|
|
107
148
|
} from "./chunk-YPHFKGNI.mjs";
|
|
108
|
-
import {
|
|
109
|
-
datagrid
|
|
110
|
-
} from "./chunk-45KIKY4A.mjs";
|
|
111
|
-
import {
|
|
112
|
-
dataTable
|
|
113
|
-
} from "./chunk-GNYTZGE5.mjs";
|
|
114
149
|
import {
|
|
115
150
|
accordion
|
|
116
151
|
} from "./chunk-TLCFFCOP.mjs";
|
|
117
152
|
import {
|
|
118
153
|
alertDialog
|
|
119
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-XGUDXC5P.mjs";
|
|
155
|
+
import {
|
|
156
|
+
autocomplete
|
|
157
|
+
} from "./chunk-Z7D56R5U.mjs";
|
|
158
|
+
import {
|
|
159
|
+
input,
|
|
160
|
+
passwordInput
|
|
161
|
+
} from "./chunk-IHW4FWFB.mjs";
|
|
120
162
|
import {
|
|
121
163
|
avatarGroup
|
|
122
164
|
} from "./chunk-XCLEKBCJ.mjs";
|
|
123
165
|
import {
|
|
124
166
|
avatar
|
|
125
|
-
} from "./chunk-
|
|
167
|
+
} from "./chunk-YH6TDPK7.mjs";
|
|
126
168
|
import {
|
|
127
169
|
blankstate
|
|
128
170
|
} from "./chunk-DICHD74Q.mjs";
|
|
129
171
|
import {
|
|
130
172
|
button
|
|
131
|
-
} from "./chunk-
|
|
132
|
-
import "./chunk-UEMJVVVF.mjs";
|
|
173
|
+
} from "./chunk-IHITEH7V.mjs";
|
|
133
174
|
import "./chunk-WSEO3MLK.mjs";
|
|
134
|
-
import
|
|
135
|
-
calendar
|
|
136
|
-
} from "./chunk-JWF5ABNP.mjs";
|
|
175
|
+
import "./chunk-5DOB3IBE.mjs";
|
|
137
176
|
export {
|
|
138
177
|
accordion,
|
|
139
178
|
alertDialog,
|
|
179
|
+
autocomplete,
|
|
140
180
|
avatar,
|
|
141
181
|
avatarGroup,
|
|
142
182
|
blankstate,
|
|
@@ -147,17 +187,24 @@ export {
|
|
|
147
187
|
checkbox,
|
|
148
188
|
chip,
|
|
149
189
|
code,
|
|
190
|
+
colorHighlightButton,
|
|
150
191
|
command,
|
|
151
192
|
dataTable,
|
|
152
193
|
datagrid,
|
|
153
194
|
dialog,
|
|
154
195
|
drawer,
|
|
155
196
|
dropdownMenu,
|
|
197
|
+
editorBasic,
|
|
198
|
+
editorSpinner,
|
|
156
199
|
frameworkRow,
|
|
157
200
|
heading,
|
|
158
201
|
hoverCard,
|
|
159
202
|
input,
|
|
203
|
+
inputGroup,
|
|
204
|
+
inputWrapper,
|
|
160
205
|
integrationCard,
|
|
206
|
+
kbd,
|
|
207
|
+
label,
|
|
161
208
|
pageHeader,
|
|
162
209
|
pageLayout,
|
|
163
210
|
passwordInput,
|
|
@@ -167,18 +214,23 @@ export {
|
|
|
167
214
|
resizable,
|
|
168
215
|
riskBadge,
|
|
169
216
|
riskIndicator,
|
|
217
|
+
scrollArea,
|
|
170
218
|
sectionRow,
|
|
219
|
+
select,
|
|
171
220
|
separator,
|
|
172
221
|
sidebar,
|
|
173
222
|
sidebarMenuAction,
|
|
174
223
|
sidebarMenuButton,
|
|
175
224
|
skeleton,
|
|
176
225
|
skeletonAvatar,
|
|
226
|
+
slashDropdownMenu,
|
|
177
227
|
spinner,
|
|
178
228
|
splitPageLayout,
|
|
179
229
|
standardChip,
|
|
180
230
|
tabNav,
|
|
181
231
|
table,
|
|
182
232
|
tabs,
|
|
233
|
+
textarea,
|
|
234
|
+
toolbar,
|
|
183
235
|
tooltip
|
|
184
236
|
};
|
package/dist/utils/classes.d.mts
CHANGED
|
@@ -9,5 +9,17 @@ declare const dataFocusVisibleClasses: string[];
|
|
|
9
9
|
*/
|
|
10
10
|
declare const translateCenterClasses: string[];
|
|
11
11
|
declare const popoverContentClasses: string[];
|
|
12
|
+
declare const inputClasses: {
|
|
13
|
+
radius: {
|
|
14
|
+
sm: string;
|
|
15
|
+
md: string;
|
|
16
|
+
lg: string;
|
|
17
|
+
};
|
|
18
|
+
height: {
|
|
19
|
+
sm: string;
|
|
20
|
+
md: string;
|
|
21
|
+
lg: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
12
24
|
|
|
13
|
-
export { dataFocusVisibleClasses, focusVisibleClasses, focusWithinClasses, popoverContentClasses, translateCenterClasses };
|
|
25
|
+
export { dataFocusVisibleClasses, focusVisibleClasses, focusWithinClasses, inputClasses, popoverContentClasses, translateCenterClasses };
|
package/dist/utils/classes.d.ts
CHANGED
|
@@ -9,5 +9,17 @@ declare const dataFocusVisibleClasses: string[];
|
|
|
9
9
|
*/
|
|
10
10
|
declare const translateCenterClasses: string[];
|
|
11
11
|
declare const popoverContentClasses: string[];
|
|
12
|
+
declare const inputClasses: {
|
|
13
|
+
radius: {
|
|
14
|
+
sm: string;
|
|
15
|
+
md: string;
|
|
16
|
+
lg: string;
|
|
17
|
+
};
|
|
18
|
+
height: {
|
|
19
|
+
sm: string;
|
|
20
|
+
md: string;
|
|
21
|
+
lg: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
12
24
|
|
|
13
|
-
export { dataFocusVisibleClasses, focusVisibleClasses, focusWithinClasses, popoverContentClasses, translateCenterClasses };
|
|
25
|
+
export { dataFocusVisibleClasses, focusVisibleClasses, focusWithinClasses, inputClasses, popoverContentClasses, translateCenterClasses };
|
package/dist/utils/classes.js
CHANGED
|
@@ -23,6 +23,7 @@ __export(classes_exports, {
|
|
|
23
23
|
dataFocusVisibleClasses: () => dataFocusVisibleClasses,
|
|
24
24
|
focusVisibleClasses: () => focusVisibleClasses,
|
|
25
25
|
focusWithinClasses: () => focusWithinClasses,
|
|
26
|
+
inputClasses: () => inputClasses,
|
|
26
27
|
popoverContentClasses: () => popoverContentClasses,
|
|
27
28
|
translateCenterClasses: () => translateCenterClasses
|
|
28
29
|
});
|
|
@@ -46,11 +47,24 @@ var popoverContentClasses = [
|
|
|
46
47
|
"bg-popover text-popover-foreground z-50",
|
|
47
48
|
"rounded-md border p-4 shadow-md outline-hidden"
|
|
48
49
|
];
|
|
50
|
+
var inputClasses = {
|
|
51
|
+
radius: {
|
|
52
|
+
sm: "rounded-sm",
|
|
53
|
+
md: "rounded-md",
|
|
54
|
+
lg: "rounded-lg"
|
|
55
|
+
},
|
|
56
|
+
height: {
|
|
57
|
+
sm: "h-7 min-h-7",
|
|
58
|
+
md: "h-8.5 min-h-8.5",
|
|
59
|
+
lg: "h-10 min-h-10"
|
|
60
|
+
}
|
|
61
|
+
};
|
|
49
62
|
// Annotate the CommonJS export names for ESM import in node:
|
|
50
63
|
0 && (module.exports = {
|
|
51
64
|
dataFocusVisibleClasses,
|
|
52
65
|
focusVisibleClasses,
|
|
53
66
|
focusWithinClasses,
|
|
67
|
+
inputClasses,
|
|
54
68
|
popoverContentClasses,
|
|
55
69
|
translateCenterClasses
|
|
56
70
|
});
|
package/dist/utils/classes.mjs
CHANGED
|
@@ -2,13 +2,15 @@ import {
|
|
|
2
2
|
dataFocusVisibleClasses,
|
|
3
3
|
focusVisibleClasses,
|
|
4
4
|
focusWithinClasses,
|
|
5
|
+
inputClasses,
|
|
5
6
|
popoverContentClasses,
|
|
6
7
|
translateCenterClasses
|
|
7
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-5DOB3IBE.mjs";
|
|
8
9
|
export {
|
|
9
10
|
dataFocusVisibleClasses,
|
|
10
11
|
focusVisibleClasses,
|
|
11
12
|
focusWithinClasses,
|
|
13
|
+
inputClasses,
|
|
12
14
|
popoverContentClasses,
|
|
13
15
|
translateCenterClasses
|
|
14
16
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kopexa/theme",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "The default theme for Kopexa components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"theme",
|
|
@@ -15,6 +15,24 @@
|
|
|
15
15
|
"homepage": "https://kopexa.com",
|
|
16
16
|
"license": "Apache-2.0",
|
|
17
17
|
"main": "dist/index.js",
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
21
|
+
"import": "./dist/index.mjs",
|
|
22
|
+
"require": "./dist/index.js"
|
|
23
|
+
},
|
|
24
|
+
"./index.css": {
|
|
25
|
+
"default": "./dist/index.css",
|
|
26
|
+
"import": "./dist/index.css",
|
|
27
|
+
"require": "./dist/index.css"
|
|
28
|
+
},
|
|
29
|
+
"./editor.css": {
|
|
30
|
+
"default": "./dist/editor.css",
|
|
31
|
+
"import": "./dist/editor.css",
|
|
32
|
+
"require": "./dist/editor.css"
|
|
33
|
+
},
|
|
34
|
+
"./package.json": "./package.json"
|
|
35
|
+
},
|
|
18
36
|
"sideEffects": false,
|
|
19
37
|
"files": [
|
|
20
38
|
"dist",
|
|
@@ -37,15 +55,16 @@
|
|
|
37
55
|
"url": "https://github.com/kopexa-grc/sight/issues"
|
|
38
56
|
},
|
|
39
57
|
"dependencies": {
|
|
58
|
+
"@tiptap/extension-drag-handle-react": "^3.4.6",
|
|
40
59
|
"clsx": "^2.1.1",
|
|
41
60
|
"color": "^5.0.0",
|
|
42
61
|
"color2k": "^2.0.3",
|
|
43
62
|
"deepmerge": "4.3.1",
|
|
44
63
|
"flat": "^6.0.1",
|
|
45
64
|
"tailwind-merge": "3.3.1",
|
|
46
|
-
"tailwind-variants": "
|
|
47
|
-
"tw-animate-css": "^1.3.
|
|
48
|
-
"@kopexa/shared-utils": "
|
|
65
|
+
"tailwind-variants": "^3.1.1",
|
|
66
|
+
"tw-animate-css": "^1.3.8",
|
|
67
|
+
"@kopexa/shared-utils": "2.0.0"
|
|
49
68
|
},
|
|
50
69
|
"peerDependencies": {
|
|
51
70
|
"tailwindcss": ">=4.0.0"
|
|
@@ -54,7 +73,7 @@
|
|
|
54
73
|
"@types/color": "^4.2.0",
|
|
55
74
|
"@types/flat": "^5.0.2",
|
|
56
75
|
"clean-package": "2.2.0",
|
|
57
|
-
"tailwindcss": "4.1.
|
|
76
|
+
"tailwindcss": "^4.1.13"
|
|
58
77
|
},
|
|
59
78
|
"tsup": {
|
|
60
79
|
"clean": true,
|
|
@@ -67,19 +86,6 @@
|
|
|
67
86
|
},
|
|
68
87
|
"module": "dist/index.mjs",
|
|
69
88
|
"types": "dist/index.d.ts",
|
|
70
|
-
"exports": {
|
|
71
|
-
".": {
|
|
72
|
-
"types": "./dist/index.d.ts",
|
|
73
|
-
"import": "./dist/index.mjs",
|
|
74
|
-
"require": "./dist/index.js"
|
|
75
|
-
},
|
|
76
|
-
"./index.css": {
|
|
77
|
-
"default": "./dist/index.css",
|
|
78
|
-
"import": "./dist/index.css",
|
|
79
|
-
"require": "./dist/index.css"
|
|
80
|
-
},
|
|
81
|
-
"./package.json": "./package.json"
|
|
82
|
-
},
|
|
83
89
|
"scripts": {
|
|
84
90
|
"build": "tsup src --dts",
|
|
85
91
|
"build:fast": "tsup src",
|
package/dist/chunk-CPEP2RO4.mjs
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
// src/components/alert-dialog.ts
|
|
2
|
-
import { tv } from "tailwind-variants";
|
|
3
|
-
var alertDialog = tv({
|
|
4
|
-
slots: {
|
|
5
|
-
overlay: "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
|
|
6
|
-
content: "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",
|
|
7
|
-
header: "flex flex-col gap-2 text-center sm:text-left",
|
|
8
|
-
footer: "flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
|
|
9
|
-
title: "text-lg font-semibold",
|
|
10
|
-
description: "text-muted-foreground text-sm",
|
|
11
|
-
action: ""
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
export {
|
|
16
|
-
alertDialog
|
|
17
|
-
};
|
package/dist/chunk-IKJHZT2S.mjs
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
popoverContentClasses
|
|
3
|
-
} from "./chunk-UEMJVVVF.mjs";
|
|
4
|
-
|
|
5
|
-
// src/components/popover.ts
|
|
6
|
-
import { tv } from "tailwind-variants";
|
|
7
|
-
var popover = tv({
|
|
8
|
-
slots: {
|
|
9
|
-
content: [
|
|
10
|
-
...popoverContentClasses,
|
|
11
|
-
"w-72",
|
|
12
|
-
"origin-(--radix-popover-content-transform-origin)"
|
|
13
|
-
]
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
|
|
17
|
-
export {
|
|
18
|
-
popover
|
|
19
|
-
};
|
package/dist/chunk-UMSU2ZEG.mjs
DELETED
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
focusWithinClasses
|
|
3
|
-
} from "./chunk-UEMJVVVF.mjs";
|
|
4
|
-
|
|
5
|
-
// src/components/input.ts
|
|
6
|
-
import { tv } from "tailwind-variants";
|
|
7
|
-
var passwordInput = tv({
|
|
8
|
-
slots: {
|
|
9
|
-
button: "focus:outline-hidden",
|
|
10
|
-
icon: "pointer-events-none text-muted-foreground"
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
|
-
var input = tv({
|
|
14
|
-
base: [],
|
|
15
|
-
slots: {
|
|
16
|
-
inputWrapper: [
|
|
17
|
-
"relative w-full inline-flex flex-row items-center shadow-xs px-3 gap-3 [&_svg]:shrink-0",
|
|
18
|
-
"border-input border dark:bg-input/30 data-[hidden=true]:hidden transition-[color,box-shadow]",
|
|
19
|
-
"data-disabled:pointer-events-none data-disabled:cursor-not-allowed data-disabled:opacity-50",
|
|
20
|
-
...focusWithinClasses
|
|
21
|
-
],
|
|
22
|
-
innerWrapper: "inline-flex w-full items-center h-full box-border",
|
|
23
|
-
input: [
|
|
24
|
-
"w-full font-normal outline-hidden focus-visible:outline-hidden",
|
|
25
|
-
"data-[has-start-content=true]:ps-1.5",
|
|
26
|
-
"data-[has-end-content=true]:pe-1.5",
|
|
27
|
-
"file:cursor-pointer file:bg-transparent file:border-0",
|
|
28
|
-
"autofill:bg-transparent bg-clip-text",
|
|
29
|
-
// legacy
|
|
30
|
-
"selection:bg-primary selection:text-primary-foreground placeholder:text-muted-foreground",
|
|
31
|
-
"flex",
|
|
32
|
-
// file
|
|
33
|
-
"file:text-foreground file:inline-flex file:text-sm file:font-medium",
|
|
34
|
-
"aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive"
|
|
35
|
-
],
|
|
36
|
-
clearButton: [
|
|
37
|
-
"p-2 -m-2 z-10 absolute end-3 start-auto pointer-events-none",
|
|
38
|
-
"appearance-none outline-hidden select-none opacity-0 cursor-pointer",
|
|
39
|
-
"active:!opacity-70 rounded-full"
|
|
40
|
-
]
|
|
41
|
-
},
|
|
42
|
-
variants: {
|
|
43
|
-
size: {
|
|
44
|
-
sm: {
|
|
45
|
-
inputWrapper: ["h-8 min-h-8 px-2 rounded-sm [&_svg]:size-4"],
|
|
46
|
-
input: "text-sm file:h-6"
|
|
47
|
-
},
|
|
48
|
-
md: {
|
|
49
|
-
inputWrapper: "h-10 min-10 rounded-md [&_svg]:size-4",
|
|
50
|
-
input: "text-base md:text-sm file:h-8",
|
|
51
|
-
clearButton: "hover:opacity-100"
|
|
52
|
-
},
|
|
53
|
-
lg: {
|
|
54
|
-
inputWrapper: "h-12 min-h-12 rounded-lg [&_svg]:size-4",
|
|
55
|
-
input: "text-base file:h-10",
|
|
56
|
-
clearButton: "hover:opacity-100"
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
radius: {
|
|
60
|
-
none: {
|
|
61
|
-
inputWrapper: "rounded-none"
|
|
62
|
-
},
|
|
63
|
-
sm: {
|
|
64
|
-
inputWrapper: "rounded-sm"
|
|
65
|
-
},
|
|
66
|
-
md: {
|
|
67
|
-
inputWrapper: "rounded-md"
|
|
68
|
-
},
|
|
69
|
-
lg: {
|
|
70
|
-
inputWrapper: "rounded-lg"
|
|
71
|
-
},
|
|
72
|
-
full: {
|
|
73
|
-
inputWrapper: "rounded-full"
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
isClearable: {
|
|
77
|
-
true: {
|
|
78
|
-
input: "peer pe-6",
|
|
79
|
-
clearButton: [
|
|
80
|
-
"peer-data-[filled=true]:pointer-events-auto",
|
|
81
|
-
"peer-data-[filled=true]:opacity-70 peer-data-[filled=true]:block",
|
|
82
|
-
"peer-data-[filled=true]:scale-100"
|
|
83
|
-
]
|
|
84
|
-
},
|
|
85
|
-
false: {}
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
defaultVariants: {
|
|
89
|
-
size: "sm"
|
|
90
|
-
}
|
|
91
|
-
});
|
|
92
|
-
|
|
93
|
-
export {
|
|
94
|
-
passwordInput,
|
|
95
|
-
input
|
|
96
|
-
};
|
|
File without changes
|