@kopexa/theme 1.7.7 → 2.1.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 (161) hide show
  1. package/dist/chunk-2NA54PNL.mjs +43 -0
  2. package/dist/{chunk-EXBKQDH5.mjs → chunk-3PCDCW7G.mjs} +1 -1
  3. package/dist/{chunk-UEMJVVVF.mjs → chunk-5DOB3IBE.mjs} +14 -1
  4. package/dist/{chunk-7O57EDVS.mjs → chunk-63C4SFQK.mjs} +20 -10
  5. package/dist/{chunk-SHHD2WUZ.mjs → chunk-7VZZASRG.mjs} +1 -1
  6. package/dist/{chunk-XAHAVJUM.mjs → chunk-A3F4CV54.mjs} +8 -1
  7. package/dist/chunk-BETLBSSF.mjs +23 -0
  8. package/dist/chunk-CPERWXKN.mjs +21 -0
  9. package/dist/chunk-DI54XTS5.mjs +56 -0
  10. package/dist/{chunk-ZL6FAOXE.mjs → chunk-HHOMDBMZ.mjs} +1 -1
  11. package/dist/chunk-HWEYNK3O.mjs +25 -0
  12. package/dist/{chunk-U32YEQZ5.mjs → chunk-IHITEH7V.mjs} +15 -9
  13. package/dist/chunk-IHW4FWFB.mjs +71 -0
  14. package/dist/{chunk-TJDRYBGW.mjs → chunk-JXQPOORM.mjs} +15 -9
  15. package/dist/{chunk-MWG2OZMD.mjs → chunk-LAJQAXSV.mjs} +7 -9
  16. package/dist/{chunk-VCLXE57S.mjs → chunk-LM7MKBHT.mjs} +7 -1
  17. package/dist/chunk-LMCM4CW2.mjs +22 -0
  18. package/dist/chunk-M3GQ563Q.mjs +33 -0
  19. package/dist/chunk-M4TXKRUU.mjs +7 -0
  20. package/dist/chunk-NFOF75HQ.mjs +106 -0
  21. package/dist/chunk-NUEQ5FLX.mjs +50 -0
  22. package/dist/{chunk-JHKTRIIA.mjs → chunk-RQYYDG26.mjs} +4 -2
  23. package/dist/chunk-SPQE7K66.mjs +18 -0
  24. package/dist/chunk-TVC4THD6.mjs +16 -0
  25. package/dist/chunk-URGRCBNW.mjs +27 -0
  26. package/dist/chunk-VSVGOX3P.mjs +48 -0
  27. package/dist/chunk-WQ446TVH.mjs +39 -0
  28. package/dist/chunk-XGUDXC5P.mjs +26 -0
  29. package/dist/{chunk-755GJHKQ.mjs → chunk-XRKUQMGU.mjs} +1 -1
  30. package/dist/{chunk-JQ74U2S3.mjs → chunk-YH6TDPK7.mjs} +4 -4
  31. package/dist/chunk-Z7D56R5U.mjs +70 -0
  32. package/dist/components/alert-dialog.d.mts +9 -9
  33. package/dist/components/alert-dialog.d.ts +9 -9
  34. package/dist/components/alert-dialog.js +11 -2
  35. package/dist/components/alert-dialog.mjs +1 -1
  36. package/dist/components/autocomplete.d.mts +73 -0
  37. package/dist/components/autocomplete.d.ts +73 -0
  38. package/dist/components/autocomplete.js +173 -0
  39. package/dist/components/autocomplete.mjs +8 -0
  40. package/dist/components/avatar.mjs +2 -2
  41. package/dist/components/button.d.mts +15 -0
  42. package/dist/components/button.d.ts +15 -0
  43. package/dist/components/button.js +12 -6
  44. package/dist/components/button.mjs +2 -2
  45. package/dist/components/callout.d.mts +18 -0
  46. package/dist/components/callout.d.ts +18 -0
  47. package/dist/components/callout.js +8 -1
  48. package/dist/components/callout.mjs +1 -1
  49. package/dist/components/card.d.mts +27 -0
  50. package/dist/components/card.d.ts +27 -0
  51. package/dist/components/card.js +20 -10
  52. package/dist/components/card.mjs +1 -1
  53. package/dist/components/chip.d.mts +3 -0
  54. package/dist/components/chip.d.ts +3 -0
  55. package/dist/components/chip.js +4 -2
  56. package/dist/components/chip.mjs +1 -1
  57. package/dist/components/color-highlight-button.d.mts +36 -0
  58. package/dist/components/color-highlight-button.d.ts +36 -0
  59. package/dist/components/color-highlight-button.js +45 -0
  60. package/dist/components/color-highlight-button.mjs +6 -0
  61. package/dist/components/command.d.mts +9 -9
  62. package/dist/components/command.d.ts +9 -9
  63. package/dist/components/control-extension.d.mts +5 -0
  64. package/dist/components/control-extension.d.ts +5 -0
  65. package/dist/components/control-extension.js +31 -0
  66. package/dist/components/control-extension.mjs +6 -0
  67. package/dist/components/dialog.js +7 -9
  68. package/dist/components/dialog.mjs +1 -1
  69. package/dist/components/drawer.d.mts +3 -3
  70. package/dist/components/drawer.d.ts +3 -3
  71. package/dist/components/drawer.js +21 -17
  72. package/dist/components/drawer.mjs +2 -2
  73. package/dist/components/dropdown-menu.js +1 -1
  74. package/dist/components/dropdown-menu.mjs +1 -1
  75. package/dist/components/editor-basic.d.mts +61 -0
  76. package/dist/components/editor-basic.d.ts +61 -0
  77. package/dist/components/editor-basic.js +74 -0
  78. package/dist/components/editor-basic.mjs +6 -0
  79. package/dist/components/editor-spinner.d.mts +60 -0
  80. package/dist/components/editor-spinner.d.ts +60 -0
  81. package/dist/components/editor-spinner.js +40 -0
  82. package/dist/components/editor-spinner.mjs +6 -0
  83. package/dist/components/hover-card.mjs +2 -2
  84. package/dist/components/index.d.mts +15 -0
  85. package/dist/components/index.d.ts +15 -0
  86. package/dist/components/index.js +787 -209
  87. package/dist/components/index.mjs +111 -51
  88. package/dist/components/input-group.d.mts +5 -0
  89. package/dist/components/input-group.d.ts +5 -0
  90. package/dist/components/input-group.js +49 -0
  91. package/dist/components/input-group.mjs +6 -0
  92. package/dist/components/input-wrapper.d.mts +25 -0
  93. package/dist/components/input-wrapper.d.ts +25 -0
  94. package/dist/components/input-wrapper.js +72 -0
  95. package/dist/components/input-wrapper.mjs +6 -0
  96. package/dist/components/input.d.mts +30 -129
  97. package/dist/components/input.d.ts +30 -129
  98. package/dist/components/input.js +58 -71
  99. package/dist/components/input.mjs +2 -2
  100. package/dist/components/integration-card.d.mts +3 -3
  101. package/dist/components/integration-card.d.ts +3 -3
  102. package/dist/components/kbd.d.mts +35 -0
  103. package/dist/components/kbd.d.ts +35 -0
  104. package/dist/components/kbd.js +47 -0
  105. package/dist/components/kbd.mjs +6 -0
  106. package/dist/components/label.d.mts +22 -0
  107. package/dist/components/label.d.ts +22 -0
  108. package/dist/components/label.js +46 -0
  109. package/dist/components/label.mjs +6 -0
  110. package/dist/components/popover.d.mts +79 -14
  111. package/dist/components/popover.d.ts +79 -14
  112. package/dist/components/popover.js +41 -4
  113. package/dist/components/popover.mjs +2 -2
  114. package/dist/components/scroll-area.d.mts +50 -0
  115. package/dist/components/scroll-area.d.ts +50 -0
  116. package/dist/components/scroll-area.js +42 -0
  117. package/dist/components/scroll-area.mjs +6 -0
  118. package/dist/components/select.d.mts +76 -0
  119. package/dist/components/select.d.ts +76 -0
  120. package/dist/components/select.js +145 -0
  121. package/dist/components/select.mjs +7 -0
  122. package/dist/components/separator.d.mts +2 -2
  123. package/dist/components/separator.d.ts +2 -2
  124. package/dist/components/separator.js +7 -1
  125. package/dist/components/separator.mjs +1 -1
  126. package/dist/components/skeleton-avatar.mjs +3 -3
  127. package/dist/components/slash-dropdown-menu.d.mts +54 -0
  128. package/dist/components/slash-dropdown-menu.d.ts +54 -0
  129. package/dist/components/slash-dropdown-menu.js +55 -0
  130. package/dist/components/slash-dropdown-menu.mjs +7 -0
  131. package/dist/components/standard-chip.d.mts +4 -0
  132. package/dist/components/standard-chip.d.ts +4 -0
  133. package/dist/components/standard-chip.js +4 -2
  134. package/dist/components/standard-chip.mjs +2 -2
  135. package/dist/components/switch.d.mts +62 -0
  136. package/dist/components/switch.d.ts +62 -0
  137. package/dist/components/switch.js +63 -0
  138. package/dist/components/switch.mjs +6 -0
  139. package/dist/components/textarea.d.mts +25 -0
  140. package/dist/components/textarea.d.ts +25 -0
  141. package/dist/components/textarea.js +72 -0
  142. package/dist/components/textarea.mjs +7 -0
  143. package/dist/components/toolbar.d.mts +91 -0
  144. package/dist/components/toolbar.d.ts +91 -0
  145. package/dist/components/toolbar.js +67 -0
  146. package/dist/components/toolbar.mjs +6 -0
  147. package/dist/editor.css +839 -0
  148. package/dist/index.css +28 -1
  149. package/dist/index.d.mts +15 -0
  150. package/dist/index.d.ts +15 -0
  151. package/dist/index.js +787 -209
  152. package/dist/index.mjs +111 -51
  153. package/dist/utils/classes.d.mts +13 -1
  154. package/dist/utils/classes.d.ts +13 -1
  155. package/dist/utils/classes.js +14 -0
  156. package/dist/utils/classes.mjs +3 -1
  157. package/package.json +26 -20
  158. package/dist/chunk-CPEP2RO4.mjs +0 -17
  159. package/dist/chunk-IKJHZT2S.mjs +0 -19
  160. package/dist/chunk-UMSU2ZEG.mjs +0 -96
  161. /package/dist/{chunk-3ZVSVLZD.mjs → chunk-4I5ASWB3.mjs} +0 -0
package/dist/index.mjs CHANGED
@@ -1,8 +1,35 @@
1
1
  import "./chunk-XSN6P5JL.mjs";
2
- import "./chunk-3ZVSVLZD.mjs";
2
+ import "./chunk-4I5ASWB3.mjs";
3
+ import {
4
+ tabs
5
+ } from "./chunk-I6M4S2KZ.mjs";
6
+ import {
7
+ textarea
8
+ } from "./chunk-M3GQ563Q.mjs";
9
+ import {
10
+ toolbar
11
+ } from "./chunk-2NA54PNL.mjs";
12
+ import {
13
+ tooltip
14
+ } from "./chunk-OLYO7UPH.mjs";
15
+ import {
16
+ skeleton
17
+ } from "./chunk-VNQEJU4P.mjs";
18
+ import {
19
+ slashDropdownMenu
20
+ } from "./chunk-URGRCBNW.mjs";
21
+ import {
22
+ spinner
23
+ } from "./chunk-4UDOCFU5.mjs";
24
+ import {
25
+ splitPageLayout
26
+ } from "./chunk-W7RJG22S.mjs";
3
27
  import {
4
28
  standardChip
5
- } from "./chunk-SHHD2WUZ.mjs";
29
+ } from "./chunk-7VZZASRG.mjs";
30
+ import {
31
+ switchVariants
32
+ } from "./chunk-WQ446TVH.mjs";
6
33
  import {
7
34
  tabNav
8
35
  } from "./chunk-ZLM6Z3W2.mjs";
@@ -10,20 +37,23 @@ import {
10
37
  table
11
38
  } from "./chunk-YC2FQDBV.mjs";
12
39
  import {
13
- tabs
14
- } from "./chunk-I6M4S2KZ.mjs";
15
- import {
16
- tooltip
17
- } from "./chunk-OLYO7UPH.mjs";
40
+ riskBadge
41
+ } from "./chunk-V2J5XG34.mjs";
18
42
  import {
19
43
  riskIndicator
20
44
  } from "./chunk-CZMZHA7U.mjs";
45
+ import {
46
+ scrollArea
47
+ } from "./chunk-SPQE7K66.mjs";
21
48
  import {
22
49
  sectionRow
23
50
  } from "./chunk-I4ZIT7EK.mjs";
51
+ import {
52
+ select
53
+ } from "./chunk-NFOF75HQ.mjs";
24
54
  import {
25
55
  separator
26
- } from "./chunk-VCLXE57S.mjs";
56
+ } from "./chunk-LM7MKBHT.mjs";
27
57
  import {
28
58
  sidebar,
29
59
  sidebarMenuAction,
@@ -31,19 +61,13 @@ import {
31
61
  } from "./chunk-GA6UOB2D.mjs";
32
62
  import {
33
63
  skeletonAvatar
34
- } from "./chunk-ZL6FAOXE.mjs";
64
+ } from "./chunk-HHOMDBMZ.mjs";
35
65
  import {
36
- skeleton
37
- } from "./chunk-VNQEJU4P.mjs";
66
+ kbd
67
+ } from "./chunk-BETLBSSF.mjs";
38
68
  import {
39
- spinner
40
- } from "./chunk-4UDOCFU5.mjs";
41
- import {
42
- splitPageLayout
43
- } from "./chunk-W7RJG22S.mjs";
44
- import {
45
- integrationCard
46
- } from "./chunk-QOW6FLZ6.mjs";
69
+ label
70
+ } from "./chunk-LMCM4CW2.mjs";
47
71
  import {
48
72
  pageHeader
49
73
  } from "./chunk-HAVJ6EQ6.mjs";
@@ -52,7 +76,7 @@ import {
52
76
  } from "./chunk-OULAICSC.mjs";
53
77
  import {
54
78
  popover
55
- } from "./chunk-IKJHZT2S.mjs";
79
+ } from "./chunk-DI54XTS5.mjs";
56
80
  import {
57
81
  previewCard
58
82
  } from "./chunk-WPOYEHD2.mjs";
@@ -63,80 +87,102 @@ import {
63
87
  resizable
64
88
  } from "./chunk-RV656WRF.mjs";
65
89
  import {
66
- riskBadge
67
- } from "./chunk-V2J5XG34.mjs";
90
+ frameworkRow
91
+ } from "./chunk-TPFAZH22.mjs";
92
+ import {
93
+ heading
94
+ } from "./chunk-NWKBPO37.mjs";
95
+ import {
96
+ hoverCard
97
+ } from "./chunk-XRKUQMGU.mjs";
98
+ import {
99
+ inputGroup
100
+ } from "./chunk-HWEYNK3O.mjs";
101
+ import {
102
+ inputWrapper
103
+ } from "./chunk-VSVGOX3P.mjs";
104
+ import {
105
+ integrationCard
106
+ } from "./chunk-QOW6FLZ6.mjs";
107
+ import {
108
+ controlExtension
109
+ } from "./chunk-M4TXKRUU.mjs";
110
+ import {
111
+ datagrid
112
+ } from "./chunk-45KIKY4A.mjs";
113
+ import {
114
+ dataTable
115
+ } from "./chunk-GNYTZGE5.mjs";
68
116
  import {
69
117
  drawer
70
- } from "./chunk-TJDRYBGW.mjs";
118
+ } from "./chunk-JXQPOORM.mjs";
71
119
  import {
72
120
  dialog
73
- } from "./chunk-MWG2OZMD.mjs";
121
+ } from "./chunk-LAJQAXSV.mjs";
74
122
  import {
75
123
  dropdownMenu
76
- } from "./chunk-EXBKQDH5.mjs";
124
+ } from "./chunk-3PCDCW7G.mjs";
77
125
  import {
78
- frameworkRow
79
- } from "./chunk-TPFAZH22.mjs";
126
+ editorBasic
127
+ } from "./chunk-NUEQ5FLX.mjs";
80
128
  import {
81
- heading
82
- } from "./chunk-NWKBPO37.mjs";
129
+ editorSpinner
130
+ } from "./chunk-TVC4THD6.mjs";
83
131
  import {
84
- hoverCard
85
- } from "./chunk-755GJHKQ.mjs";
86
- import {
87
- input,
88
- passwordInput
89
- } from "./chunk-UMSU2ZEG.mjs";
132
+ calendar
133
+ } from "./chunk-JWF5ABNP.mjs";
90
134
  import {
91
135
  callout
92
- } from "./chunk-XAHAVJUM.mjs";
136
+ } from "./chunk-A3F4CV54.mjs";
93
137
  import {
94
138
  card
95
- } from "./chunk-7O57EDVS.mjs";
139
+ } from "./chunk-63C4SFQK.mjs";
96
140
  import {
97
141
  checkbox
98
142
  } from "./chunk-A4KO7QKC.mjs";
99
143
  import {
100
144
  chip
101
- } from "./chunk-JHKTRIIA.mjs";
145
+ } from "./chunk-RQYYDG26.mjs";
102
146
  import {
103
147
  code
104
148
  } from "./chunk-ROZ24JVQ.mjs";
149
+ import {
150
+ colorHighlightButton
151
+ } from "./chunk-CPERWXKN.mjs";
105
152
  import {
106
153
  command
107
154
  } from "./chunk-YPHFKGNI.mjs";
108
- import {
109
- datagrid
110
- } from "./chunk-45KIKY4A.mjs";
111
- import {
112
- dataTable
113
- } from "./chunk-GNYTZGE5.mjs";
114
155
  import {
115
156
  accordion
116
157
  } from "./chunk-TLCFFCOP.mjs";
117
158
  import {
118
159
  alertDialog
119
- } from "./chunk-CPEP2RO4.mjs";
160
+ } from "./chunk-XGUDXC5P.mjs";
161
+ import {
162
+ autocomplete
163
+ } from "./chunk-Z7D56R5U.mjs";
164
+ import {
165
+ input,
166
+ passwordInput
167
+ } from "./chunk-IHW4FWFB.mjs";
120
168
  import {
121
169
  avatarGroup
122
170
  } from "./chunk-XCLEKBCJ.mjs";
123
171
  import {
124
172
  avatar
125
- } from "./chunk-JQ74U2S3.mjs";
173
+ } from "./chunk-YH6TDPK7.mjs";
126
174
  import {
127
175
  blankstate
128
176
  } from "./chunk-DICHD74Q.mjs";
129
177
  import {
130
178
  button
131
- } from "./chunk-U32YEQZ5.mjs";
132
- import "./chunk-UEMJVVVF.mjs";
179
+ } from "./chunk-IHITEH7V.mjs";
133
180
  import "./chunk-WSEO3MLK.mjs";
134
- import {
135
- calendar
136
- } from "./chunk-JWF5ABNP.mjs";
181
+ import "./chunk-5DOB3IBE.mjs";
137
182
  export {
138
183
  accordion,
139
184
  alertDialog,
185
+ autocomplete,
140
186
  avatar,
141
187
  avatarGroup,
142
188
  blankstate,
@@ -147,17 +193,25 @@ export {
147
193
  checkbox,
148
194
  chip,
149
195
  code,
196
+ colorHighlightButton,
150
197
  command,
198
+ controlExtension,
151
199
  dataTable,
152
200
  datagrid,
153
201
  dialog,
154
202
  drawer,
155
203
  dropdownMenu,
204
+ editorBasic,
205
+ editorSpinner,
156
206
  frameworkRow,
157
207
  heading,
158
208
  hoverCard,
159
209
  input,
210
+ inputGroup,
211
+ inputWrapper,
160
212
  integrationCard,
213
+ kbd,
214
+ label,
161
215
  pageHeader,
162
216
  pageLayout,
163
217
  passwordInput,
@@ -167,18 +221,24 @@ export {
167
221
  resizable,
168
222
  riskBadge,
169
223
  riskIndicator,
224
+ scrollArea,
170
225
  sectionRow,
226
+ select,
171
227
  separator,
172
228
  sidebar,
173
229
  sidebarMenuAction,
174
230
  sidebarMenuButton,
175
231
  skeleton,
176
232
  skeletonAvatar,
233
+ slashDropdownMenu,
177
234
  spinner,
178
235
  splitPageLayout,
179
236
  standardChip,
237
+ switchVariants,
180
238
  tabNav,
181
239
  table,
182
240
  tabs,
241
+ textarea,
242
+ toolbar,
183
243
  tooltip
184
244
  };
@@ -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 };
@@ -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 };
@@ -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
  });
@@ -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-UEMJVVVF.mjs";
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": "1.7.7",
3
+ "version": "2.1.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,24 +55,25 @@
37
55
  "url": "https://github.com/kopexa-grc/sight/issues"
38
56
  },
39
57
  "dependencies": {
58
+ "@tiptap/extension-drag-handle-react": "^3.6.1",
40
59
  "clsx": "^2.1.1",
41
- "color": "^5.0.0",
60
+ "color": "^5.0.2",
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": "2.1.0",
47
- "tw-animate-css": "^1.3.6",
48
- "@kopexa/shared-utils": "1.1.7"
65
+ "tailwind-variants": "^3.1.1",
66
+ "tw-animate-css": "^1.4.0",
67
+ "@kopexa/shared-utils": "2.0.0"
49
68
  },
50
69
  "peerDependencies": {
51
70
  "tailwindcss": ">=4.0.0"
52
71
  },
53
72
  "devDependencies": {
54
73
  "@types/color": "^4.2.0",
55
- "@types/flat": "^5.0.2",
74
+ "@types/flat": "^5.0.5",
56
75
  "clean-package": "2.2.0",
57
- "tailwindcss": "4.1.12"
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",
@@ -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
- };
@@ -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
- };
@@ -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