@kopexa/theme 2.0.0 → 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 (45) hide show
  1. package/dist/chunk-2NA54PNL.mjs +43 -0
  2. package/dist/{chunk-7O57EDVS.mjs → chunk-63C4SFQK.mjs} +20 -10
  3. package/dist/{chunk-XAHAVJUM.mjs → chunk-A3F4CV54.mjs} +8 -1
  4. package/dist/chunk-M4TXKRUU.mjs +7 -0
  5. package/dist/chunk-NUEQ5FLX.mjs +50 -0
  6. package/dist/chunk-WQ446TVH.mjs +39 -0
  7. package/dist/components/callout.d.mts +18 -0
  8. package/dist/components/callout.d.ts +18 -0
  9. package/dist/components/callout.js +8 -1
  10. package/dist/components/callout.mjs +1 -1
  11. package/dist/components/card.d.mts +27 -0
  12. package/dist/components/card.d.ts +27 -0
  13. package/dist/components/card.js +20 -10
  14. package/dist/components/card.mjs +1 -1
  15. package/dist/components/control-extension.d.mts +5 -0
  16. package/dist/components/control-extension.d.ts +5 -0
  17. package/dist/components/control-extension.js +31 -0
  18. package/dist/components/control-extension.mjs +6 -0
  19. package/dist/components/editor-basic.d.mts +21 -4
  20. package/dist/components/editor-basic.d.ts +21 -4
  21. package/dist/components/editor-basic.js +21 -5
  22. package/dist/components/editor-basic.mjs +1 -1
  23. package/dist/components/index.d.mts +3 -1
  24. package/dist/components/index.d.ts +3 -1
  25. package/dist/components/index.js +199 -101
  26. package/dist/components/index.mjs +27 -19
  27. package/dist/components/integration-card.d.mts +3 -3
  28. package/dist/components/integration-card.d.ts +3 -3
  29. package/dist/components/switch.d.mts +62 -0
  30. package/dist/components/switch.d.ts +62 -0
  31. package/dist/components/switch.js +63 -0
  32. package/dist/components/switch.mjs +6 -0
  33. package/dist/components/toolbar.d.mts +57 -0
  34. package/dist/components/toolbar.d.ts +57 -0
  35. package/dist/components/toolbar.js +24 -3
  36. package/dist/components/toolbar.mjs +1 -1
  37. package/dist/editor.css +62 -7
  38. package/dist/index.d.mts +3 -1
  39. package/dist/index.d.ts +3 -1
  40. package/dist/index.js +199 -101
  41. package/dist/index.mjs +27 -19
  42. package/package.json +5 -5
  43. package/dist/chunk-BWB7MWRC.mjs +0 -22
  44. package/dist/chunk-GRPMKEI2.mjs +0 -34
  45. /package/dist/{chunk-UWWO4AVU.mjs → chunk-4I5ASWB3.mjs} +0 -0
package/dist/index.mjs CHANGED
@@ -1,11 +1,20 @@
1
1
  import "./chunk-XSN6P5JL.mjs";
2
- import "./chunk-UWWO4AVU.mjs";
2
+ import "./chunk-4I5ASWB3.mjs";
3
+ import {
4
+ tabs
5
+ } from "./chunk-I6M4S2KZ.mjs";
6
+ import {
7
+ textarea
8
+ } from "./chunk-M3GQ563Q.mjs";
3
9
  import {
4
10
  toolbar
5
- } from "./chunk-BWB7MWRC.mjs";
11
+ } from "./chunk-2NA54PNL.mjs";
6
12
  import {
7
13
  tooltip
8
14
  } from "./chunk-OLYO7UPH.mjs";
15
+ import {
16
+ skeleton
17
+ } from "./chunk-VNQEJU4P.mjs";
9
18
  import {
10
19
  slashDropdownMenu
11
20
  } from "./chunk-URGRCBNW.mjs";
@@ -18,6 +27,9 @@ import {
18
27
  import {
19
28
  standardChip
20
29
  } from "./chunk-7VZZASRG.mjs";
30
+ import {
31
+ switchVariants
32
+ } from "./chunk-WQ446TVH.mjs";
21
33
  import {
22
34
  tabNav
23
35
  } from "./chunk-ZLM6Z3W2.mjs";
@@ -25,11 +37,8 @@ import {
25
37
  table
26
38
  } from "./chunk-YC2FQDBV.mjs";
27
39
  import {
28
- tabs
29
- } from "./chunk-I6M4S2KZ.mjs";
30
- import {
31
- textarea
32
- } from "./chunk-M3GQ563Q.mjs";
40
+ riskBadge
41
+ } from "./chunk-V2J5XG34.mjs";
33
42
  import {
34
43
  riskIndicator
35
44
  } from "./chunk-CZMZHA7U.mjs";
@@ -54,8 +63,8 @@ import {
54
63
  skeletonAvatar
55
64
  } from "./chunk-HHOMDBMZ.mjs";
56
65
  import {
57
- skeleton
58
- } from "./chunk-VNQEJU4P.mjs";
66
+ kbd
67
+ } from "./chunk-BETLBSSF.mjs";
59
68
  import {
60
69
  label
61
70
  } from "./chunk-LMCM4CW2.mjs";
@@ -78,8 +87,8 @@ import {
78
87
  resizable
79
88
  } from "./chunk-RV656WRF.mjs";
80
89
  import {
81
- riskBadge
82
- } from "./chunk-V2J5XG34.mjs";
90
+ frameworkRow
91
+ } from "./chunk-TPFAZH22.mjs";
83
92
  import {
84
93
  heading
85
94
  } from "./chunk-NWKBPO37.mjs";
@@ -96,8 +105,8 @@ import {
96
105
  integrationCard
97
106
  } from "./chunk-QOW6FLZ6.mjs";
98
107
  import {
99
- kbd
100
- } from "./chunk-BETLBSSF.mjs";
108
+ controlExtension
109
+ } from "./chunk-M4TXKRUU.mjs";
101
110
  import {
102
111
  datagrid
103
112
  } from "./chunk-45KIKY4A.mjs";
@@ -115,22 +124,19 @@ import {
115
124
  } from "./chunk-3PCDCW7G.mjs";
116
125
  import {
117
126
  editorBasic
118
- } from "./chunk-GRPMKEI2.mjs";
127
+ } from "./chunk-NUEQ5FLX.mjs";
119
128
  import {
120
129
  editorSpinner
121
130
  } from "./chunk-TVC4THD6.mjs";
122
- import {
123
- frameworkRow
124
- } from "./chunk-TPFAZH22.mjs";
125
131
  import {
126
132
  calendar
127
133
  } from "./chunk-JWF5ABNP.mjs";
128
134
  import {
129
135
  callout
130
- } from "./chunk-XAHAVJUM.mjs";
136
+ } from "./chunk-A3F4CV54.mjs";
131
137
  import {
132
138
  card
133
- } from "./chunk-7O57EDVS.mjs";
139
+ } from "./chunk-63C4SFQK.mjs";
134
140
  import {
135
141
  checkbox
136
142
  } from "./chunk-A4KO7QKC.mjs";
@@ -189,6 +195,7 @@ export {
189
195
  code,
190
196
  colorHighlightButton,
191
197
  command,
198
+ controlExtension,
192
199
  dataTable,
193
200
  datagrid,
194
201
  dialog,
@@ -227,6 +234,7 @@ export {
227
234
  spinner,
228
235
  splitPageLayout,
229
236
  standardChip,
237
+ switchVariants,
230
238
  tabNav,
231
239
  table,
232
240
  tabs,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kopexa/theme",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "description": "The default theme for Kopexa components",
5
5
  "keywords": [
6
6
  "theme",
@@ -55,15 +55,15 @@
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",
66
+ "tw-animate-css": "^1.4.0",
67
67
  "@kopexa/shared-utils": "2.0.0"
68
68
  },
69
69
  "peerDependencies": {
@@ -71,7 +71,7 @@
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