@kopexa/theme 2.0.0 → 13.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.
Files changed (84) hide show
  1. package/dist/{chunk-NFOF75HQ.mjs → chunk-2N3PG3TK.mjs} +1 -1
  2. package/dist/chunk-2NA54PNL.mjs +43 -0
  3. package/dist/{chunk-7O57EDVS.mjs → chunk-63C4SFQK.mjs} +20 -10
  4. package/dist/{chunk-5DOB3IBE.mjs → chunk-6IZPAS4O.mjs} +5 -0
  5. package/dist/{chunk-GA6UOB2D.mjs → chunk-7POAXCN2.mjs} +1 -1
  6. package/dist/{chunk-XAHAVJUM.mjs → chunk-A3F4CV54.mjs} +8 -1
  7. package/dist/{chunk-M3GQ563Q.mjs → chunk-ARLLAC5V.mjs} +1 -1
  8. package/dist/{chunk-Z7D56R5U.mjs → chunk-CWAFYX5G.mjs} +2 -2
  9. package/dist/{chunk-IHITEH7V.mjs → chunk-IX46TOS3.mjs} +1 -1
  10. package/dist/{chunk-IHW4FWFB.mjs → chunk-K3EVZATS.mjs} +1 -1
  11. package/dist/chunk-M4TXKRUU.mjs +7 -0
  12. package/dist/{chunk-URGRCBNW.mjs → chunk-NNKYGAZC.mjs} +1 -1
  13. package/dist/chunk-NUEQ5FLX.mjs +50 -0
  14. package/dist/{chunk-HHOMDBMZ.mjs → chunk-SYYY32OX.mjs} +1 -1
  15. package/dist/{chunk-DI54XTS5.mjs → chunk-TQVRNEIH.mjs} +1 -1
  16. package/dist/chunk-URVHE3OS.mjs +119 -0
  17. package/dist/{chunk-XRKUQMGU.mjs → chunk-UTCVHVWF.mjs} +1 -1
  18. package/dist/{chunk-YH6TDPK7.mjs → chunk-VDMXPFII.mjs} +1 -1
  19. package/dist/chunk-WQ446TVH.mjs +39 -0
  20. package/dist/components/autocomplete.js +5 -0
  21. package/dist/components/autocomplete.mjs +3 -3
  22. package/dist/components/avatar.mjs +2 -2
  23. package/dist/components/button.mjs +2 -2
  24. package/dist/components/callout.d.mts +18 -0
  25. package/dist/components/callout.d.ts +18 -0
  26. package/dist/components/callout.js +8 -1
  27. package/dist/components/callout.mjs +1 -1
  28. package/dist/components/card.d.mts +27 -0
  29. package/dist/components/card.d.ts +27 -0
  30. package/dist/components/card.js +20 -10
  31. package/dist/components/card.mjs +1 -1
  32. package/dist/components/combobox.d.mts +142 -0
  33. package/dist/components/combobox.d.ts +142 -0
  34. package/dist/components/combobox.js +228 -0
  35. package/dist/components/combobox.mjs +8 -0
  36. package/dist/components/command.d.mts +3 -3
  37. package/dist/components/command.d.ts +3 -3
  38. package/dist/components/control-extension.d.mts +5 -0
  39. package/dist/components/control-extension.d.ts +5 -0
  40. package/dist/components/control-extension.js +31 -0
  41. package/dist/components/control-extension.mjs +6 -0
  42. package/dist/components/editor-basic.d.mts +21 -4
  43. package/dist/components/editor-basic.d.ts +21 -4
  44. package/dist/components/editor-basic.js +21 -5
  45. package/dist/components/editor-basic.mjs +1 -1
  46. package/dist/components/hover-card.mjs +2 -2
  47. package/dist/components/index.d.mts +4 -1
  48. package/dist/components/index.d.ts +4 -1
  49. package/dist/components/index.js +321 -104
  50. package/dist/components/index.mjs +54 -42
  51. package/dist/components/input.js +5 -0
  52. package/dist/components/input.mjs +2 -2
  53. package/dist/components/integration-card.d.mts +3 -3
  54. package/dist/components/integration-card.d.ts +3 -3
  55. package/dist/components/popover.mjs +2 -2
  56. package/dist/components/select.js +5 -0
  57. package/dist/components/select.mjs +2 -2
  58. package/dist/components/sidebar.js +1 -1
  59. package/dist/components/sidebar.mjs +1 -1
  60. package/dist/components/skeleton-avatar.mjs +3 -3
  61. package/dist/components/slash-dropdown-menu.mjs +2 -2
  62. package/dist/components/switch.d.mts +62 -0
  63. package/dist/components/switch.d.ts +62 -0
  64. package/dist/components/switch.js +63 -0
  65. package/dist/components/switch.mjs +6 -0
  66. package/dist/components/textarea.js +5 -0
  67. package/dist/components/textarea.mjs +2 -2
  68. package/dist/components/toolbar.d.mts +57 -0
  69. package/dist/components/toolbar.d.ts +57 -0
  70. package/dist/components/toolbar.js +24 -3
  71. package/dist/components/toolbar.mjs +1 -1
  72. package/dist/editor.css +62 -7
  73. package/dist/index.d.mts +4 -1
  74. package/dist/index.d.ts +4 -1
  75. package/dist/index.js +321 -104
  76. package/dist/index.mjs +54 -42
  77. package/dist/utils/classes.d.mts +5 -0
  78. package/dist/utils/classes.d.ts +5 -0
  79. package/dist/utils/classes.js +5 -0
  80. package/dist/utils/classes.mjs +1 -1
  81. package/package.json +6 -6
  82. package/dist/chunk-BWB7MWRC.mjs +0 -22
  83. package/dist/chunk-GRPMKEI2.mjs +0 -34
  84. /package/dist/{chunk-UWWO4AVU.mjs → chunk-XMLRBNOG.mjs} +0 -0
package/dist/index.mjs CHANGED
@@ -1,14 +1,29 @@
1
1
  import "./chunk-XSN6P5JL.mjs";
2
- import "./chunk-UWWO4AVU.mjs";
2
+ import "./chunk-XMLRBNOG.mjs";
3
+ import {
4
+ table
5
+ } from "./chunk-YC2FQDBV.mjs";
6
+ import {
7
+ tabs
8
+ } from "./chunk-I6M4S2KZ.mjs";
9
+ import {
10
+ textarea
11
+ } from "./chunk-ARLLAC5V.mjs";
3
12
  import {
4
13
  toolbar
5
- } from "./chunk-BWB7MWRC.mjs";
14
+ } from "./chunk-2NA54PNL.mjs";
6
15
  import {
7
16
  tooltip
8
17
  } from "./chunk-OLYO7UPH.mjs";
18
+ import {
19
+ skeletonAvatar
20
+ } from "./chunk-SYYY32OX.mjs";
21
+ import {
22
+ skeleton
23
+ } from "./chunk-VNQEJU4P.mjs";
9
24
  import {
10
25
  slashDropdownMenu
11
- } from "./chunk-URGRCBNW.mjs";
26
+ } from "./chunk-NNKYGAZC.mjs";
12
27
  import {
13
28
  spinner
14
29
  } from "./chunk-4UDOCFU5.mjs";
@@ -18,18 +33,18 @@ import {
18
33
  import {
19
34
  standardChip
20
35
  } from "./chunk-7VZZASRG.mjs";
36
+ import {
37
+ switchVariants
38
+ } from "./chunk-WQ446TVH.mjs";
21
39
  import {
22
40
  tabNav
23
41
  } from "./chunk-ZLM6Z3W2.mjs";
24
42
  import {
25
- table
26
- } from "./chunk-YC2FQDBV.mjs";
27
- import {
28
- tabs
29
- } from "./chunk-I6M4S2KZ.mjs";
43
+ resizable
44
+ } from "./chunk-RV656WRF.mjs";
30
45
  import {
31
- textarea
32
- } from "./chunk-M3GQ563Q.mjs";
46
+ riskBadge
47
+ } from "./chunk-V2J5XG34.mjs";
33
48
  import {
34
49
  riskIndicator
35
50
  } from "./chunk-CZMZHA7U.mjs";
@@ -41,7 +56,7 @@ import {
41
56
  } from "./chunk-I4ZIT7EK.mjs";
42
57
  import {
43
58
  select
44
- } from "./chunk-NFOF75HQ.mjs";
59
+ } from "./chunk-2N3PG3TK.mjs";
45
60
  import {
46
61
  separator
47
62
  } from "./chunk-LM7MKBHT.mjs";
@@ -49,13 +64,13 @@ import {
49
64
  sidebar,
50
65
  sidebarMenuAction,
51
66
  sidebarMenuButton
52
- } from "./chunk-GA6UOB2D.mjs";
67
+ } from "./chunk-7POAXCN2.mjs";
53
68
  import {
54
- skeletonAvatar
55
- } from "./chunk-HHOMDBMZ.mjs";
69
+ integrationCard
70
+ } from "./chunk-QOW6FLZ6.mjs";
56
71
  import {
57
- skeleton
58
- } from "./chunk-VNQEJU4P.mjs";
72
+ kbd
73
+ } from "./chunk-BETLBSSF.mjs";
59
74
  import {
60
75
  label
61
76
  } from "./chunk-LMCM4CW2.mjs";
@@ -67,7 +82,7 @@ import {
67
82
  } from "./chunk-OULAICSC.mjs";
68
83
  import {
69
84
  popover
70
- } from "./chunk-DI54XTS5.mjs";
85
+ } from "./chunk-TQVRNEIH.mjs";
71
86
  import {
72
87
  previewCard
73
88
  } from "./chunk-WPOYEHD2.mjs";
@@ -75,17 +90,17 @@ import {
75
90
  relatedControlChip
76
91
  } from "./chunk-7BZAMXH2.mjs";
77
92
  import {
78
- resizable
79
- } from "./chunk-RV656WRF.mjs";
93
+ editorSpinner
94
+ } from "./chunk-TVC4THD6.mjs";
80
95
  import {
81
- riskBadge
82
- } from "./chunk-V2J5XG34.mjs";
96
+ frameworkRow
97
+ } from "./chunk-TPFAZH22.mjs";
83
98
  import {
84
99
  heading
85
100
  } from "./chunk-NWKBPO37.mjs";
86
101
  import {
87
102
  hoverCard
88
- } from "./chunk-XRKUQMGU.mjs";
103
+ } from "./chunk-UTCVHVWF.mjs";
89
104
  import {
90
105
  inputGroup
91
106
  } from "./chunk-HWEYNK3O.mjs";
@@ -93,11 +108,11 @@ import {
93
108
  inputWrapper
94
109
  } from "./chunk-VSVGOX3P.mjs";
95
110
  import {
96
- integrationCard
97
- } from "./chunk-QOW6FLZ6.mjs";
111
+ command
112
+ } from "./chunk-YPHFKGNI.mjs";
98
113
  import {
99
- kbd
100
- } from "./chunk-BETLBSSF.mjs";
114
+ controlExtension
115
+ } from "./chunk-M4TXKRUU.mjs";
101
116
  import {
102
117
  datagrid
103
118
  } from "./chunk-45KIKY4A.mjs";
@@ -115,22 +130,16 @@ import {
115
130
  } from "./chunk-3PCDCW7G.mjs";
116
131
  import {
117
132
  editorBasic
118
- } from "./chunk-GRPMKEI2.mjs";
119
- import {
120
- editorSpinner
121
- } from "./chunk-TVC4THD6.mjs";
122
- import {
123
- frameworkRow
124
- } from "./chunk-TPFAZH22.mjs";
133
+ } from "./chunk-NUEQ5FLX.mjs";
125
134
  import {
126
135
  calendar
127
136
  } from "./chunk-JWF5ABNP.mjs";
128
137
  import {
129
138
  callout
130
- } from "./chunk-XAHAVJUM.mjs";
139
+ } from "./chunk-A3F4CV54.mjs";
131
140
  import {
132
141
  card
133
- } from "./chunk-7O57EDVS.mjs";
142
+ } from "./chunk-63C4SFQK.mjs";
134
143
  import {
135
144
  checkbox
136
145
  } from "./chunk-A4KO7QKC.mjs";
@@ -144,8 +153,8 @@ import {
144
153
  colorHighlightButton
145
154
  } from "./chunk-CPERWXKN.mjs";
146
155
  import {
147
- command
148
- } from "./chunk-YPHFKGNI.mjs";
156
+ combobox
157
+ } from "./chunk-URVHE3OS.mjs";
149
158
  import {
150
159
  accordion
151
160
  } from "./chunk-TLCFFCOP.mjs";
@@ -154,25 +163,25 @@ import {
154
163
  } from "./chunk-XGUDXC5P.mjs";
155
164
  import {
156
165
  autocomplete
157
- } from "./chunk-Z7D56R5U.mjs";
166
+ } from "./chunk-CWAFYX5G.mjs";
158
167
  import {
159
168
  input,
160
169
  passwordInput
161
- } from "./chunk-IHW4FWFB.mjs";
170
+ } from "./chunk-K3EVZATS.mjs";
162
171
  import {
163
172
  avatarGroup
164
173
  } from "./chunk-XCLEKBCJ.mjs";
165
174
  import {
166
175
  avatar
167
- } from "./chunk-YH6TDPK7.mjs";
176
+ } from "./chunk-VDMXPFII.mjs";
168
177
  import {
169
178
  blankstate
170
179
  } from "./chunk-DICHD74Q.mjs";
171
180
  import {
172
181
  button
173
- } from "./chunk-IHITEH7V.mjs";
182
+ } from "./chunk-IX46TOS3.mjs";
174
183
  import "./chunk-WSEO3MLK.mjs";
175
- import "./chunk-5DOB3IBE.mjs";
184
+ import "./chunk-6IZPAS4O.mjs";
176
185
  export {
177
186
  accordion,
178
187
  alertDialog,
@@ -188,7 +197,9 @@ export {
188
197
  chip,
189
198
  code,
190
199
  colorHighlightButton,
200
+ combobox,
191
201
  command,
202
+ controlExtension,
192
203
  dataTable,
193
204
  datagrid,
194
205
  dialog,
@@ -227,6 +238,7 @@ export {
227
238
  spinner,
228
239
  splitPageLayout,
229
240
  standardChip,
241
+ switchVariants,
230
242
  tabNav,
231
243
  table,
232
244
  tabs,
@@ -20,6 +20,11 @@ declare const inputClasses: {
20
20
  md: string;
21
21
  lg: string;
22
22
  };
23
+ text: {
24
+ sm: string;
25
+ md: string;
26
+ lg: string;
27
+ };
23
28
  };
24
29
 
25
30
  export { dataFocusVisibleClasses, focusVisibleClasses, focusWithinClasses, inputClasses, popoverContentClasses, translateCenterClasses };
@@ -20,6 +20,11 @@ declare const inputClasses: {
20
20
  md: string;
21
21
  lg: string;
22
22
  };
23
+ text: {
24
+ sm: string;
25
+ md: string;
26
+ lg: string;
27
+ };
23
28
  };
24
29
 
25
30
  export { dataFocusVisibleClasses, focusVisibleClasses, focusWithinClasses, inputClasses, popoverContentClasses, translateCenterClasses };
@@ -57,6 +57,11 @@ var inputClasses = {
57
57
  sm: "h-7 min-h-7",
58
58
  md: "h-8.5 min-h-8.5",
59
59
  lg: "h-10 min-h-10"
60
+ },
61
+ text: {
62
+ sm: "text-sm",
63
+ md: "text-base md:text-sm",
64
+ lg: "text-base"
60
65
  }
61
66
  };
62
67
  // Annotate the CommonJS export names for ESM import in node:
@@ -5,7 +5,7 @@ import {
5
5
  inputClasses,
6
6
  popoverContentClasses,
7
7
  translateCenterClasses
8
- } from "../chunk-5DOB3IBE.mjs";
8
+ } from "../chunk-6IZPAS4O.mjs";
9
9
  export {
10
10
  dataFocusVisibleClasses,
11
11
  focusVisibleClasses,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kopexa/theme",
3
- "version": "2.0.0",
3
+ "version": "13.0.0",
4
4
  "description": "The default theme for Kopexa components",
5
5
  "keywords": [
6
6
  "theme",
@@ -55,23 +55,23 @@
55
55
  "url": "https://github.com/kopexa-grc/sight/issues"
56
56
  },
57
57
  "dependencies": {
58
- "@tiptap/extension-drag-handle-react": "^3.4.6",
58
+ "@tiptap/extension-drag-handle-react": "^3.6.1",
59
59
  "clsx": "^2.1.1",
60
- "color": "^5.0.0",
60
+ "color": "^5.0.2",
61
61
  "color2k": "^2.0.3",
62
62
  "deepmerge": "4.3.1",
63
63
  "flat": "^6.0.1",
64
64
  "tailwind-merge": "3.3.1",
65
65
  "tailwind-variants": "^3.1.1",
66
- "tw-animate-css": "^1.3.8",
67
- "@kopexa/shared-utils": "2.0.0"
66
+ "tw-animate-css": "^1.4.0",
67
+ "@kopexa/shared-utils": "13.0.0"
68
68
  },
69
69
  "peerDependencies": {
70
70
  "tailwindcss": ">=4.0.0"
71
71
  },
72
72
  "devDependencies": {
73
73
  "@types/color": "^4.2.0",
74
- "@types/flat": "^5.0.2",
74
+ "@types/flat": "^5.0.5",
75
75
  "clean-package": "2.2.0",
76
76
  "tailwindcss": "^4.1.13"
77
77
  },
@@ -1,22 +0,0 @@
1
- // src/components/toolbar.ts
2
- import { tv } from "tailwind-variants";
3
- var toolbar = tv({
4
- slots: {
5
- root: "flex items-center gap-2.5 rounded-md p-1",
6
- button: "shrink-0",
7
- separator: "bg-border h-6 w-px shrink-0",
8
- group: "flex items-center gap-1"
9
- },
10
- variants: {
11
- color: {
12
- default: "bg-popover outline-border shadow-xs outline"
13
- }
14
- },
15
- defaultVariants: {
16
- color: "default"
17
- }
18
- });
19
-
20
- export {
21
- toolbar
22
- };
@@ -1,34 +0,0 @@
1
- // src/components/editor-basic.ts
2
- import { tv } from "tailwind-variants";
3
- var editorBasic = tv({
4
- slots: {
5
- wrapper: [
6
- "overflow-y-auto",
7
- "h-[calc(100%-var(--spacing-editor-toolbar))]"
8
- ],
9
- content: [
10
- "w-full",
11
- "[&_.tiptap.ProseMirror]:py-4",
12
- "[&_.tiptap.ProseMirror]:px-6"
13
- ],
14
- toolbar: "flex items-center gap-0.5",
15
- toolbarGroup: "flex items-center gap-0.5"
16
- },
17
- variants: {
18
- variant: {
19
- // rounded toolbar, muted background
20
- default: {
21
- wrapper: ["border rounded-md"],
22
- toolbar: "bg-muted rounded-md p-1 mb-2",
23
- content: ""
24
- }
25
- }
26
- },
27
- defaultVariants: {
28
- variant: "default"
29
- }
30
- });
31
-
32
- export {
33
- editorBasic
34
- };
File without changes