@kyro-cms/admin 0.2.2 → 0.2.10
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/package.json +8 -6
- package/src/components/AutoForm.tsx +2 -2
- package/src/styles/main.css +2 -41
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kyro-cms/admin",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.10",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -47,9 +47,8 @@
|
|
|
47
47
|
"@dnd-kit/sortable": "^10.0.0",
|
|
48
48
|
"@dnd-kit/utilities": "^3.2.2",
|
|
49
49
|
"@graphiql/react": "^0.37.3",
|
|
50
|
-
"@kyro-cms/core": "^0.2.
|
|
51
|
-
"@kyro-cms/utils": "^0.2.
|
|
52
|
-
"@platejs/dnd": "^53.0.0",
|
|
50
|
+
"@kyro-cms/core": "^0.2.9",
|
|
51
|
+
"@kyro-cms/utils": "^0.2.9",
|
|
53
52
|
"@portabletext/editor": "^6.6.3",
|
|
54
53
|
"@portabletext/react": "^6.0.3",
|
|
55
54
|
"@portabletext/schema": "^2.1.1",
|
|
@@ -57,20 +56,19 @@
|
|
|
57
56
|
"@portabletext/types": "^4.0.2",
|
|
58
57
|
"@tailwindcss/vite": "^4.0.0",
|
|
59
58
|
"@types/pg": "^8.20.0",
|
|
60
|
-
"@udecode/plate-dnd": "^49.0.0",
|
|
61
59
|
"@uiw/codemirror-theme-aura": "^4.25.9",
|
|
62
60
|
"@uiw/codemirror-theme-dracula": "^4.25.9",
|
|
63
61
|
"@uiw/codemirror-theme-github": "^4.25.9",
|
|
64
62
|
"@uiw/react-codemirror": "^4.25.9",
|
|
65
63
|
"astro": "^5.4.0",
|
|
66
64
|
"better-sqlite3": "^11.10.0",
|
|
65
|
+
"bcryptjs": "^2.4.3",
|
|
67
66
|
"drizzle-orm": "^0.45.2",
|
|
68
67
|
"graphiql": "^5.2.2",
|
|
69
68
|
"lucide-react": "^0.475.0",
|
|
70
69
|
"mongodb": "^7.1.1",
|
|
71
70
|
"mysql2": "^3.21.0",
|
|
72
71
|
"pg": "^8.20.0",
|
|
73
|
-
"platejs": "^53.0.0",
|
|
74
72
|
"react": "^19.0.0",
|
|
75
73
|
"react-dom": "^19.0.0",
|
|
76
74
|
"react-image-crop": "^11.0.10",
|
|
@@ -92,5 +90,9 @@
|
|
|
92
90
|
},
|
|
93
91
|
"peerDependencies": {
|
|
94
92
|
"@kyro-cms/core": "^0.1.2"
|
|
93
|
+
},
|
|
94
|
+
"repository": {
|
|
95
|
+
"type": "git",
|
|
96
|
+
"url": "https://github.com/danielDozie/kyro-cms"
|
|
95
97
|
}
|
|
96
98
|
}
|
|
@@ -12,8 +12,8 @@ import CheckboxField from "./fields/CheckboxField";
|
|
|
12
12
|
import SelectField from "./fields/SelectField";
|
|
13
13
|
import DateField from "./fields/DateField";
|
|
14
14
|
import { MarkdownField } from "./fields/MarkdownField";
|
|
15
|
-
import { globals, collections } from "
|
|
16
|
-
import { slugifyText } from "
|
|
15
|
+
import { globals, collections } from "../lib/config";
|
|
16
|
+
import { slugifyText } from "../lib/slugify";
|
|
17
17
|
|
|
18
18
|
import { BlocksField } from "./fields/BlocksField";
|
|
19
19
|
import PortableTextField from "./fields/PortableTextField";
|
package/src/styles/main.css
CHANGED
|
@@ -1,48 +1,9 @@
|
|
|
1
1
|
@import "tailwindcss";
|
|
2
|
+
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&display=swap");
|
|
2
3
|
@custom-variant dark (&:where(.dark, .dark *));
|
|
3
4
|
|
|
4
5
|
@source "../../src/**/*.{astro,html,js,jsx,ts,tsx}";
|
|
5
6
|
|
|
6
|
-
@font-face {
|
|
7
|
-
font-family: "Serotiva Sans";
|
|
8
|
-
src: url("/fonts/Serotiva-Regular.woff2") format("woff2");
|
|
9
|
-
font-weight: 400;
|
|
10
|
-
font-style: normal;
|
|
11
|
-
font-display: swap;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
@font-face {
|
|
15
|
-
font-family: "Serotiva Sans";
|
|
16
|
-
src: url("/fonts/Serotiva-Medium.woff2") format("woff2");
|
|
17
|
-
font-weight: 500;
|
|
18
|
-
font-style: normal;
|
|
19
|
-
font-display: swap;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
@font-face {
|
|
23
|
-
font-family: "Serotiva Sans";
|
|
24
|
-
src: url("/fonts/Serotiva-SemiBold.woff2") format("woff2");
|
|
25
|
-
font-weight: 600;
|
|
26
|
-
font-style: normal;
|
|
27
|
-
font-display: swap;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
@font-face {
|
|
31
|
-
font-family: "Serotiva Sans";
|
|
32
|
-
src: url("/fonts/Serotiva-Bold.woff2") format("woff2");
|
|
33
|
-
font-weight: 700;
|
|
34
|
-
font-style: normal;
|
|
35
|
-
font-display: swap;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@font-face {
|
|
39
|
-
font-family: "Serotiva Sans";
|
|
40
|
-
src: url("/fonts/Serotiva-Black.woff2") format("woff2");
|
|
41
|
-
font-weight: 900;
|
|
42
|
-
font-style: normal;
|
|
43
|
-
font-display: swap;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
7
|
:root {
|
|
47
8
|
/* Monochrome Palette */
|
|
48
9
|
--kyro-black: #0b1222;
|
|
@@ -165,7 +126,7 @@
|
|
|
165
126
|
}
|
|
166
127
|
|
|
167
128
|
@theme {
|
|
168
|
-
--font-sans: "
|
|
129
|
+
--font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
|
|
169
130
|
|
|
170
131
|
--color-primary: var(--kyro-black);
|
|
171
132
|
--color-primary-hover: var(--kyro-black-hover);
|