@wikex/admin-kit 0.5.0 → 0.7.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.
@@ -0,0 +1,303 @@
1
+ 'use client';
2
+
3
+ // src/minimal/MinimalAdminProvider.tsx
4
+ import { AppRouterCacheProvider } from "@mui/material-nextjs/v15-appRouter";
5
+ import { ThemeProvider } from "@mui/material/styles";
6
+ import { useTheme as usePayloadTheme } from "@payloadcms/ui";
7
+ import { useMemo } from "react";
8
+
9
+ // src/minimal/theme.ts
10
+ import { alpha, createTheme } from "@mui/material/styles";
11
+ var grey = {
12
+ 50: "#FCFDFD",
13
+ 100: "#F9FAFB",
14
+ 200: "#F4F6F8",
15
+ 300: "#DFE3E8",
16
+ 400: "#C4CDD5",
17
+ 500: "#919EAB",
18
+ 600: "#637381",
19
+ 700: "#454F5B",
20
+ 800: "#1C252E",
21
+ 900: "#141A21"
22
+ };
23
+ var minimalPalette = {
24
+ primary: {
25
+ light: "#5BE49B",
26
+ main: "#00A76F",
27
+ dark: "#007867",
28
+ contrastText: "#FFFFFF"
29
+ },
30
+ secondary: {
31
+ light: "#C684FF",
32
+ main: "#8E33FF",
33
+ dark: "#5119B7",
34
+ contrastText: "#FFFFFF"
35
+ },
36
+ info: {
37
+ light: "#61F3F3",
38
+ main: "#00B8D9",
39
+ dark: "#006C9C",
40
+ contrastText: "#FFFFFF"
41
+ },
42
+ success: {
43
+ light: "#77ED8B",
44
+ main: "#22C55E",
45
+ dark: "#118D57",
46
+ contrastText: "#FFFFFF"
47
+ },
48
+ warning: {
49
+ light: "#FFD666",
50
+ main: "#FFAB00",
51
+ dark: "#B76E00",
52
+ contrastText: grey[800]
53
+ },
54
+ error: {
55
+ light: "#FFAC82",
56
+ main: "#FF5630",
57
+ dark: "#B71D18",
58
+ contrastText: "#FFFFFF"
59
+ },
60
+ grey
61
+ };
62
+ var createMinimalAdminTheme = (mode = "light") => {
63
+ const isDark = mode === "dark";
64
+ return createTheme({
65
+ cssVariables: true,
66
+ palette: {
67
+ mode,
68
+ ...minimalPalette,
69
+ background: {
70
+ default: isDark ? "#141A21" : "#FFFFFF",
71
+ paper: isDark ? "#1C252E" : "#FFFFFF"
72
+ },
73
+ divider: alpha(grey[500], 0.2),
74
+ text: {
75
+ primary: isDark ? "#FFFFFF" : grey[800],
76
+ secondary: isDark ? grey[500] : grey[600],
77
+ disabled: grey[500]
78
+ }
79
+ },
80
+ shape: { borderRadius: 8 },
81
+ typography: {
82
+ fontFamily: "'Public Sans Variable', 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif",
83
+ button: { fontWeight: 700, textTransform: "none" },
84
+ h6: { fontSize: "1.125rem", fontWeight: 700, lineHeight: 1.5 },
85
+ subtitle1: { fontWeight: 600 },
86
+ subtitle2: { fontWeight: 600 },
87
+ body2: { fontSize: "0.875rem", lineHeight: 1.57143 },
88
+ caption: { fontSize: "0.75rem", lineHeight: 1.5 }
89
+ },
90
+ components: {
91
+ MuiAppBar: {
92
+ styleOverrides: {
93
+ root: {
94
+ backgroundImage: "none",
95
+ boxShadow: "none"
96
+ }
97
+ }
98
+ },
99
+ MuiButton: {
100
+ defaultProps: { disableElevation: true },
101
+ styleOverrides: {
102
+ root: { borderRadius: 8, minHeight: 36, paddingInline: 12 },
103
+ containedPrimary: {
104
+ boxShadow: `0 8px 16px 0 ${alpha(minimalPalette.primary.dark, 0.24)}`
105
+ }
106
+ }
107
+ },
108
+ MuiCard: {
109
+ defaultProps: { elevation: 0 },
110
+ styleOverrides: {
111
+ root: {
112
+ backgroundImage: "none",
113
+ borderRadius: 16,
114
+ boxShadow: `0 0 2px 0 ${alpha(grey[500], 0.2)}, 0 12px 24px -4px ${alpha(
115
+ grey[500],
116
+ 0.12
117
+ )}`
118
+ }
119
+ }
120
+ },
121
+ MuiCardHeader: {
122
+ styleOverrides: {
123
+ root: { padding: "24px 24px 16px" },
124
+ title: { fontSize: "1rem", fontWeight: 700 },
125
+ subheader: { fontSize: "0.875rem", marginTop: 4 }
126
+ }
127
+ },
128
+ MuiCardContent: {
129
+ styleOverrides: { root: { padding: 24 } }
130
+ },
131
+ MuiChip: {
132
+ styleOverrides: {
133
+ root: { borderRadius: 8, fontWeight: 600 }
134
+ }
135
+ },
136
+ MuiDialog: {
137
+ styleOverrides: {
138
+ paper: { borderRadius: 16 }
139
+ }
140
+ },
141
+ MuiDivider: {
142
+ styleOverrides: {
143
+ root: { borderColor: alpha(grey[500], 0.2), borderStyle: "dashed" }
144
+ }
145
+ },
146
+ MuiIconButton: {
147
+ styleOverrides: {
148
+ root: {
149
+ "&:hover": { backgroundColor: alpha(grey[500], 0.08) }
150
+ }
151
+ }
152
+ },
153
+ MuiListItemButton: {
154
+ styleOverrides: {
155
+ root: {
156
+ borderRadius: 8,
157
+ color: isDark ? grey[500] : grey[600],
158
+ marginBottom: 4,
159
+ "&:hover": {
160
+ backgroundColor: alpha(grey[500], 0.08),
161
+ color: isDark ? "#FFFFFF" : grey[800]
162
+ },
163
+ "&.Mui-selected": {
164
+ backgroundColor: alpha(minimalPalette.primary.main, 0.08),
165
+ color: isDark ? minimalPalette.primary.light : minimalPalette.primary.dark,
166
+ "&:hover": { backgroundColor: alpha(minimalPalette.primary.main, 0.16) }
167
+ }
168
+ }
169
+ }
170
+ },
171
+ MuiListSubheader: {
172
+ styleOverrides: {
173
+ root: {
174
+ backgroundColor: "transparent",
175
+ color: grey[500],
176
+ fontSize: 11,
177
+ fontWeight: 700,
178
+ letterSpacing: "0.06em",
179
+ lineHeight: "36px",
180
+ textTransform: "uppercase"
181
+ }
182
+ }
183
+ },
184
+ MuiMenu: {
185
+ styleOverrides: {
186
+ paper: {
187
+ borderRadius: 12,
188
+ boxShadow: `0 0 2px 0 ${alpha(grey[500], 0.2)}, 0 20px 40px -4px ${alpha(
189
+ grey[500],
190
+ 0.24
191
+ )}`,
192
+ minWidth: 200,
193
+ padding: 8
194
+ },
195
+ list: { padding: 0 }
196
+ }
197
+ },
198
+ MuiMenuItem: {
199
+ styleOverrides: {
200
+ root: { borderRadius: 8, fontSize: 14, minHeight: 40 }
201
+ }
202
+ },
203
+ MuiOutlinedInput: {
204
+ styleOverrides: {
205
+ root: {
206
+ borderRadius: 8,
207
+ "& .MuiOutlinedInput-notchedOutline": {
208
+ borderColor: alpha(grey[500], 0.32)
209
+ },
210
+ "&:hover .MuiOutlinedInput-notchedOutline": {
211
+ borderColor: isDark ? grey[400] : grey[800]
212
+ }
213
+ }
214
+ }
215
+ },
216
+ MuiPaper: {
217
+ styleOverrides: {
218
+ root: { backgroundImage: "none" }
219
+ }
220
+ },
221
+ MuiSwitch: {
222
+ styleOverrides: {
223
+ root: { height: 40, padding: 8, width: 54 },
224
+ switchBase: {
225
+ "&.Mui-checked": {
226
+ color: "#FFFFFF",
227
+ "& + .MuiSwitch-track": {
228
+ backgroundColor: minimalPalette.primary.main,
229
+ opacity: 1
230
+ }
231
+ }
232
+ },
233
+ thumb: { boxShadow: `0 1px 4px ${alpha(grey[900], 0.24)}` },
234
+ track: {
235
+ backgroundColor: isDark ? grey[700] : grey[300],
236
+ borderRadius: 12,
237
+ opacity: 1
238
+ }
239
+ }
240
+ },
241
+ MuiTableContainer: {
242
+ styleOverrides: {
243
+ root: {
244
+ border: `1px solid ${alpha(grey[500], 0.16)}`,
245
+ borderRadius: 12
246
+ }
247
+ }
248
+ },
249
+ MuiTableCell: {
250
+ styleOverrides: {
251
+ root: {
252
+ borderBottom: `1px dashed ${alpha(grey[500], 0.2)}`,
253
+ padding: "16px"
254
+ },
255
+ head: {
256
+ backgroundColor: isDark ? alpha(grey[500], 0.12) : grey[200],
257
+ color: isDark ? grey[400] : grey[600],
258
+ fontSize: "0.875rem",
259
+ fontWeight: 600
260
+ }
261
+ }
262
+ },
263
+ MuiTableRow: {
264
+ styleOverrides: {
265
+ root: {
266
+ "&:last-child .MuiTableCell-body": { borderBottom: 0 },
267
+ "&:hover": { backgroundColor: alpha(grey[500], 0.06) }
268
+ }
269
+ }
270
+ },
271
+ MuiTooltip: {
272
+ styleOverrides: {
273
+ tooltip: {
274
+ backgroundColor: grey[800],
275
+ borderRadius: 8,
276
+ fontSize: 12
277
+ },
278
+ arrow: { color: grey[800] }
279
+ }
280
+ }
281
+ }
282
+ });
283
+ };
284
+
285
+ // src/minimal/MinimalAdminProvider.tsx
286
+ import { jsx } from "react/jsx-runtime";
287
+ var MinimalThemeProvider = ({ children, mode = "light" }) => {
288
+ const theme = useMemo(() => createMinimalAdminTheme(mode), [mode]);
289
+ return /* @__PURE__ */ jsx(AppRouterCacheProvider, { options: { enableCssLayer: true, key: "wikex-minimal" }, children: /* @__PURE__ */ jsx(ThemeProvider, { theme, children }) });
290
+ };
291
+ var MinimalAdminProvider = ({ children }) => {
292
+ const { theme } = usePayloadTheme();
293
+ return /* @__PURE__ */ jsx(MinimalThemeProvider, { mode: theme === "dark" ? "dark" : "light", children });
294
+ };
295
+ var MinimalAdminProvider_default = MinimalAdminProvider;
296
+
297
+ export {
298
+ minimalPalette,
299
+ createMinimalAdminTheme,
300
+ MinimalThemeProvider,
301
+ MinimalAdminProvider,
302
+ MinimalAdminProvider_default
303
+ };
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  IMAGE_UPLOAD_GUIDANCE,
3
3
  adminExperiencePlugin,
4
4
  wikexAdminPlugin
5
- } from "./chunk-7FEACJUN.js";
5
+ } from "./chunk-5DJKPKJ6.js";
6
6
  import {
7
7
  createVisualEditorRouteResolver,
8
8
  defineWikexProject
@@ -0,0 +1,107 @@
1
+ export { MinimalAdminProvider, MinimalThemeProvider, MinimalThemeProviderProps } from './provider.js';
2
+ import * as react_jsx_runtime from 'react/jsx-runtime';
3
+ import * as _mui_material from '@mui/material';
4
+ import { CardProps, CardContentProps, TableCellProps, TableProps, FormControlProps, SelectProps } from '@mui/material';
5
+ import { ReactNode, Key } from 'react';
6
+ import { PaletteMode } from '@mui/material/styles';
7
+
8
+ type MinimalBlockCardProps = Omit<CardProps, 'title'> & {
9
+ actions?: ReactNode;
10
+ children: ReactNode;
11
+ contentProps?: CardContentProps;
12
+ description?: ReactNode;
13
+ label?: string;
14
+ title: ReactNode;
15
+ };
16
+ declare const MinimalBlockCard: ({ actions, children, contentProps, description, label, title, ...cardProps }: MinimalBlockCardProps) => react_jsx_runtime.JSX.Element;
17
+
18
+ type MinimalTableColumn<Row> = {
19
+ align?: TableCellProps['align'];
20
+ header: ReactNode;
21
+ id: string;
22
+ render: (row: Row, index: number) => ReactNode;
23
+ width?: number | string;
24
+ };
25
+ type MinimalDataTableProps<Row> = {
26
+ caption?: string;
27
+ columns: MinimalTableColumn<Row>[];
28
+ emptyText?: string;
29
+ loading?: boolean;
30
+ maxHeight?: number | string;
31
+ rowKey: keyof Row | ((row: Row, index: number) => Key);
32
+ rows: Row[];
33
+ size?: TableProps['size'];
34
+ stickyHeader?: boolean;
35
+ };
36
+ declare const MinimalDataTable: <Row>({ caption, columns, emptyText, loading, maxHeight, rowKey, rows, size, stickyHeader, }: MinimalDataTableProps<Row>) => react_jsx_runtime.JSX.Element;
37
+
38
+ type MinimalSelectValue = number | string;
39
+ type MinimalSelectOption = {
40
+ disabled?: boolean;
41
+ label: string;
42
+ value: MinimalSelectValue;
43
+ };
44
+ type MinimalSelectProps = Omit<FormControlProps, 'onChange'> & {
45
+ helperText?: string;
46
+ label: string;
47
+ onChange: (value: MinimalSelectValue) => void;
48
+ options: MinimalSelectOption[];
49
+ selectProps?: Omit<SelectProps<MinimalSelectValue>, 'label' | 'onChange' | 'value'>;
50
+ value: MinimalSelectValue;
51
+ };
52
+ declare const MinimalSelect: ({ helperText, label, onChange, options, selectProps, value, ...formControlProps }: MinimalSelectProps) => react_jsx_runtime.JSX.Element;
53
+
54
+ declare const minimalPalette: {
55
+ readonly primary: {
56
+ readonly light: "#5BE49B";
57
+ readonly main: "#00A76F";
58
+ readonly dark: "#007867";
59
+ readonly contrastText: "#FFFFFF";
60
+ };
61
+ readonly secondary: {
62
+ readonly light: "#C684FF";
63
+ readonly main: "#8E33FF";
64
+ readonly dark: "#5119B7";
65
+ readonly contrastText: "#FFFFFF";
66
+ };
67
+ readonly info: {
68
+ readonly light: "#61F3F3";
69
+ readonly main: "#00B8D9";
70
+ readonly dark: "#006C9C";
71
+ readonly contrastText: "#FFFFFF";
72
+ };
73
+ readonly success: {
74
+ readonly light: "#77ED8B";
75
+ readonly main: "#22C55E";
76
+ readonly dark: "#118D57";
77
+ readonly contrastText: "#FFFFFF";
78
+ };
79
+ readonly warning: {
80
+ readonly light: "#FFD666";
81
+ readonly main: "#FFAB00";
82
+ readonly dark: "#B76E00";
83
+ readonly contrastText: "#1C252E";
84
+ };
85
+ readonly error: {
86
+ readonly light: "#FFAC82";
87
+ readonly main: "#FF5630";
88
+ readonly dark: "#B71D18";
89
+ readonly contrastText: "#FFFFFF";
90
+ };
91
+ readonly grey: {
92
+ readonly 50: "#FCFDFD";
93
+ readonly 100: "#F9FAFB";
94
+ readonly 200: "#F4F6F8";
95
+ readonly 300: "#DFE3E8";
96
+ readonly 400: "#C4CDD5";
97
+ readonly 500: "#919EAB";
98
+ readonly 600: "#637381";
99
+ readonly 700: "#454F5B";
100
+ readonly 800: "#1C252E";
101
+ readonly 900: "#141A21";
102
+ };
103
+ };
104
+ declare const createMinimalAdminTheme: (mode?: PaletteMode) => _mui_material.Theme;
105
+ type MinimalAdminTheme = ReturnType<typeof createMinimalAdminTheme>;
106
+
107
+ export { type MinimalAdminTheme, MinimalBlockCard, type MinimalBlockCardProps, MinimalDataTable, type MinimalDataTableProps, MinimalSelect, type MinimalSelectOption, type MinimalSelectProps, type MinimalSelectValue, type MinimalTableColumn, createMinimalAdminTheme, minimalPalette };
@@ -0,0 +1,132 @@
1
+ 'use client';
2
+ "use client";
3
+ import {
4
+ MinimalAdminProvider,
5
+ MinimalThemeProvider,
6
+ createMinimalAdminTheme,
7
+ minimalPalette
8
+ } from "../chunk-PPWCNGRB.js";
9
+
10
+ // src/minimal/MinimalBlockCard.tsx
11
+ import {
12
+ Card,
13
+ CardContent,
14
+ CardHeader,
15
+ Chip,
16
+ Divider,
17
+ Stack
18
+ } from "@mui/material";
19
+ import { jsx, jsxs } from "react/jsx-runtime";
20
+ var MinimalBlockCard = ({
21
+ actions,
22
+ children,
23
+ contentProps,
24
+ description,
25
+ label,
26
+ title,
27
+ ...cardProps
28
+ }) => /* @__PURE__ */ jsxs(Card, { ...cardProps, children: [
29
+ /* @__PURE__ */ jsx(
30
+ CardHeader,
31
+ {
32
+ action: actions,
33
+ subheader: description,
34
+ title: /* @__PURE__ */ jsxs(Stack, { alignItems: "center", direction: "row", spacing: 1, children: [
35
+ /* @__PURE__ */ jsx("span", { children: title }),
36
+ label ? /* @__PURE__ */ jsx(Chip, { color: "primary", label, size: "small" }) : null
37
+ ] })
38
+ }
39
+ ),
40
+ /* @__PURE__ */ jsx(Divider, {}),
41
+ /* @__PURE__ */ jsx(CardContent, { ...contentProps, children })
42
+ ] });
43
+
44
+ // src/minimal/MinimalDataTable.tsx
45
+ import {
46
+ Box,
47
+ CircularProgress,
48
+ Table,
49
+ TableBody,
50
+ TableCell,
51
+ TableContainer,
52
+ TableHead,
53
+ TableRow,
54
+ Typography
55
+ } from "@mui/material";
56
+ import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
57
+ var MinimalDataTable = ({
58
+ caption,
59
+ columns,
60
+ emptyText = "Kh\xF4ng c\xF3 d\u1EEF li\u1EC7u",
61
+ loading = false,
62
+ maxHeight,
63
+ rowKey,
64
+ rows,
65
+ size = "medium",
66
+ stickyHeader = false
67
+ }) => {
68
+ const getRowKey = (row, index) => {
69
+ if (typeof rowKey === "function") return rowKey(row, index);
70
+ return String(row[rowKey]);
71
+ };
72
+ return /* @__PURE__ */ jsx2(TableContainer, { sx: { maxHeight }, children: /* @__PURE__ */ jsxs2(Table, { "aria-label": caption, size, stickyHeader, children: [
73
+ caption ? /* @__PURE__ */ jsx2("caption", { children: caption }) : null,
74
+ /* @__PURE__ */ jsx2(TableHead, { children: /* @__PURE__ */ jsx2(TableRow, { children: columns.map((column) => /* @__PURE__ */ jsx2(TableCell, { align: column.align, sx: { width: column.width }, children: column.header }, column.id)) }) }),
75
+ /* @__PURE__ */ jsxs2(TableBody, { children: [
76
+ loading ? /* @__PURE__ */ jsx2(TableRow, { children: /* @__PURE__ */ jsx2(TableCell, { colSpan: columns.length, children: /* @__PURE__ */ jsx2(Box, { alignItems: "center", display: "flex", justifyContent: "center", minHeight: 120, children: /* @__PURE__ */ jsx2(CircularProgress, { "aria-label": "\u0110ang t\u1EA3i d\u1EEF li\u1EC7u", size: 28 }) }) }) }) : null,
77
+ !loading && rows.length === 0 ? /* @__PURE__ */ jsx2(TableRow, { children: /* @__PURE__ */ jsx2(TableCell, { colSpan: columns.length, children: /* @__PURE__ */ jsx2(Typography, { color: "text.secondary", sx: { py: 4, textAlign: "center" }, variant: "body2", children: emptyText }) }) }) : null,
78
+ !loading ? rows.map((row, rowIndex) => /* @__PURE__ */ jsx2(TableRow, { children: columns.map((column) => /* @__PURE__ */ jsx2(TableCell, { align: column.align, children: column.render(row, rowIndex) }, column.id)) }, getRowKey(row, rowIndex))) : null
79
+ ] })
80
+ ] }) });
81
+ };
82
+
83
+ // src/minimal/MinimalSelect.tsx
84
+ import {
85
+ FormControl,
86
+ FormHelperText,
87
+ InputLabel,
88
+ MenuItem,
89
+ Select
90
+ } from "@mui/material";
91
+ import { useId } from "react";
92
+ import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
93
+ var MinimalSelect = ({
94
+ helperText,
95
+ label,
96
+ onChange,
97
+ options,
98
+ selectProps,
99
+ value,
100
+ ...formControlProps
101
+ }) => {
102
+ const fieldId = useId();
103
+ const labelId = `${fieldId}-label`;
104
+ const handleChange = (event) => {
105
+ onChange(event.target.value);
106
+ };
107
+ return /* @__PURE__ */ jsxs3(FormControl, { fullWidth: true, size: "small", ...formControlProps, children: [
108
+ /* @__PURE__ */ jsx3(InputLabel, { id: labelId, children: label }),
109
+ /* @__PURE__ */ jsx3(
110
+ Select,
111
+ {
112
+ ...selectProps,
113
+ id: fieldId,
114
+ label,
115
+ labelId,
116
+ onChange: handleChange,
117
+ value,
118
+ children: options.map((option) => /* @__PURE__ */ jsx3(MenuItem, { disabled: option.disabled, value: option.value, children: option.label }, option.value))
119
+ }
120
+ ),
121
+ helperText ? /* @__PURE__ */ jsx3(FormHelperText, { children: helperText }) : null
122
+ ] });
123
+ };
124
+ export {
125
+ MinimalAdminProvider,
126
+ MinimalBlockCard,
127
+ MinimalDataTable,
128
+ MinimalSelect,
129
+ MinimalThemeProvider,
130
+ createMinimalAdminTheme,
131
+ minimalPalette
132
+ };
@@ -0,0 +1,14 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { ReactNode } from 'react';
3
+
4
+ type MinimalThemeProviderProps = {
5
+ children: ReactNode;
6
+ mode?: 'dark' | 'light';
7
+ };
8
+ declare const MinimalThemeProvider: ({ children, mode }: MinimalThemeProviderProps) => react_jsx_runtime.JSX.Element;
9
+ /** Keeps MUI's color mode aligned with Payload's light/dark theme setting. */
10
+ declare const MinimalAdminProvider: ({ children }: {
11
+ children: ReactNode;
12
+ }) => react_jsx_runtime.JSX.Element;
13
+
14
+ export { MinimalAdminProvider, MinimalThemeProvider, type MinimalThemeProviderProps, MinimalAdminProvider as default };
@@ -0,0 +1,12 @@
1
+ 'use client';
2
+ "use client";
3
+ import {
4
+ MinimalAdminProvider,
5
+ MinimalAdminProvider_default,
6
+ MinimalThemeProvider
7
+ } from "../chunk-PPWCNGRB.js";
8
+ export {
9
+ MinimalAdminProvider,
10
+ MinimalThemeProvider,
11
+ MinimalAdminProvider_default as default
12
+ };
package/dist/starter.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  adminExperiencePlugin,
3
3
  wikexAdminPlugin
4
- } from "./chunk-7FEACJUN.js";
4
+ } from "./chunk-5DJKPKJ6.js";
5
5
  import {
6
6
  createVisualEditorRouteResolver,
7
7
  defineWikexProject
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wikex/admin-kit",
3
- "version": "0.5.0",
3
+ "version": "0.7.0",
4
4
  "description": "Reusable Payload CMS admin shell, visual editor and typography tools for Wikex projects",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,
@@ -20,6 +20,12 @@
20
20
  "registry": "https://registry.npmjs.org/"
21
21
  },
22
22
  "dependencies": {
23
+ "@emotion/cache": "11.14.0",
24
+ "@emotion/react": "11.14.0",
25
+ "@emotion/server": "11.11.0",
26
+ "@emotion/styled": "11.14.1",
27
+ "@mui/material": "7.3.6",
28
+ "@mui/material-nextjs": "7.3.6",
23
29
  "@wikex/content-kit": "^0.1.1"
24
30
  },
25
31
  "exports": {
@@ -33,6 +39,8 @@
33
39
  "./admin/theme-toggle": "./dist/admin/theme-toggle.js",
34
40
  "./admin/view-site": "./dist/admin/view-site.js",
35
41
  "./live-preview": "./dist/live-preview.js",
42
+ "./minimal": "./dist/minimal/index.js",
43
+ "./minimal/provider": "./dist/minimal/provider.js",
36
44
  "./project": "./dist/project.js",
37
45
  "./rich-text": "./dist/rich-text.js",
38
46
  "./rich-text/client": "./dist/rich-text-client.js",