@hywax/cms 0.0.20 → 0.0.22
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/.nuxt/cms/input-uplora-image.ts +1 -1
- package/.nuxt/cms/table-cell-user.ts +1 -1
- package/cli/package.json +3 -3
- package/dist/module.d.mts +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +5 -5
- package/dist/runtime/components/AutocompleteSelect.vue +2 -1
- package/dist/runtime/components/TableCellPreview.vue +1 -1
- package/dist/runtime/components/TableCellPreview.vue.d.ts +1 -1
- package/package.json +5 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
"slots": {
|
|
3
|
-
"root": "relative w-full rounded-md overflow-hidden
|
|
3
|
+
"root": "relative w-full rounded-md overflow-hidden ring ring-inset ring-accented aspect-3/2 text-sm",
|
|
4
4
|
"image": "",
|
|
5
5
|
"imageActions": "absolute top-4 right-4 flex gap-2",
|
|
6
6
|
"uploader": "flex flex-col items-center justify-center w-full h-full p-4",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
"slots": {
|
|
3
3
|
"root": "flex items-center gap-2",
|
|
4
|
-
"avatar": "bg-elevated size-7 rounded-
|
|
4
|
+
"avatar": "bg-elevated size-7 rounded-full",
|
|
5
5
|
"container": "text-xs",
|
|
6
6
|
"name": "font-medium text-default",
|
|
7
7
|
"description": "text-muted truncate max-w-40"
|
package/cli/package.json
CHANGED
package/dist/module.d.mts
CHANGED
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { snakeCase, kebabCase } from 'scule';
|
|
|
6
6
|
import { readFile, writeFile } from 'node:fs/promises';
|
|
7
7
|
|
|
8
8
|
const name = "@hywax/cms";
|
|
9
|
-
const version = "0.0.
|
|
9
|
+
const version = "0.0.22";
|
|
10
10
|
|
|
11
11
|
function createContext(options, nuxt) {
|
|
12
12
|
const { resolve } = createResolver(import.meta.url);
|
|
@@ -28,7 +28,7 @@ function defaultCMSConfig(options) {
|
|
|
28
28
|
}
|
|
29
29
|
const defaultModuleOptions = {
|
|
30
30
|
name: "cms",
|
|
31
|
-
|
|
31
|
+
componentsPrefix: "C",
|
|
32
32
|
uploraUrl: "http://uplora.ru",
|
|
33
33
|
fluxorUrl: "https://fluxor.uplora.ru",
|
|
34
34
|
envPrefix: "APP_",
|
|
@@ -58,7 +58,7 @@ function prepareAutoImports({ resolve, options, nuxt }) {
|
|
|
58
58
|
addComponentsDir({
|
|
59
59
|
path: resolve("./runtime/components"),
|
|
60
60
|
pathPrefix: false,
|
|
61
|
-
prefix: options
|
|
61
|
+
prefix: options.componentsPrefix,
|
|
62
62
|
ignore: ["prose/**"]
|
|
63
63
|
});
|
|
64
64
|
addComponentsDir({
|
|
@@ -287,7 +287,7 @@ const inputSlug = {
|
|
|
287
287
|
|
|
288
288
|
const inputUploraImage = {
|
|
289
289
|
slots: {
|
|
290
|
-
root: "relative w-full rounded-md overflow-hidden
|
|
290
|
+
root: "relative w-full rounded-md overflow-hidden ring ring-inset ring-accented aspect-3/2 text-sm",
|
|
291
291
|
image: "",
|
|
292
292
|
imageActions: "absolute top-4 right-4 flex gap-2",
|
|
293
293
|
uploader: "flex flex-col items-center justify-center w-full h-full p-4",
|
|
@@ -326,7 +326,7 @@ const tableCellSeo = {
|
|
|
326
326
|
const tableCellUser = {
|
|
327
327
|
slots: {
|
|
328
328
|
root: "flex items-center gap-2",
|
|
329
|
-
avatar: "bg-elevated size-7 rounded-
|
|
329
|
+
avatar: "bg-elevated size-7 rounded-full",
|
|
330
330
|
container: "text-xs",
|
|
331
331
|
name: "font-medium text-default",
|
|
332
332
|
description: "text-muted truncate max-w-40"
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
:placeholder="placeholder"
|
|
12
12
|
:content="{ 'data-autocomplete-select-content': autocompleteSelectId }"
|
|
13
13
|
:multiple="multiple"
|
|
14
|
+
:class="ui.root({ class: [props.ui?.root, props.class] })"
|
|
14
15
|
@update:model-value="emit('update:modelValue', $event)"
|
|
15
16
|
>
|
|
16
17
|
<template v-if="modelValue && !props.multiple">
|
|
@@ -166,5 +167,5 @@ function useAutocompleteCache(options) {
|
|
|
166
167
|
};
|
|
167
168
|
return { selectedItemCache, getCachedLabel: getCachedLabel2 };
|
|
168
169
|
}
|
|
169
|
-
const
|
|
170
|
+
const ui = computed(() => tv({ extend: tv(theme), ...appConfig.cms?.autocompleteSelect || {} })());
|
|
170
171
|
</script>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hywax/cms",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.22",
|
|
5
5
|
"description": "Hywax CMS. ⚠️ This package is intended for internal use only.",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -55,9 +55,9 @@
|
|
|
55
55
|
"dist"
|
|
56
56
|
],
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@dicebear/collection": "^9.2.
|
|
59
|
-
"@dicebear/core": "^9.2.
|
|
60
|
-
"@iconify-json/lucide": "1.2.
|
|
58
|
+
"@dicebear/collection": "^9.2.3",
|
|
59
|
+
"@dicebear/core": "^9.2.3",
|
|
60
|
+
"@iconify-json/lucide": "1.2.52",
|
|
61
61
|
"@nuxt/kit": "^3.17.5",
|
|
62
62
|
"@nuxt/ui-pro": "^3.1.3",
|
|
63
63
|
"@nuxtjs/mdc": "^0.17.0",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"zod": "^3.25.67"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
|
-
"@antfu/eslint-config": "^4.
|
|
79
|
+
"@antfu/eslint-config": "^4.16.1",
|
|
80
80
|
"@commitlint/cli": "^19.8.1",
|
|
81
81
|
"@commitlint/config-conventional": "^19.8.1",
|
|
82
82
|
"@nuxt/devtools": "^2.5.0",
|