@hywax/cms 3.9.0 → 3.9.1

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/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hywax/cms",
3
- "version": "3.9.0",
3
+ "version": "3.9.1",
4
4
  "configKey": "cms",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
package/dist/module.mjs CHANGED
@@ -7,7 +7,7 @@ import { pascalCase, kebabCase, camelCase } from 'scule';
7
7
  import { globSync } from 'tinyglobby';
8
8
 
9
9
  const name = "@hywax/cms";
10
- const version = "3.9.0";
10
+ const version = "3.9.1";
11
11
 
12
12
  function createContext(options, nuxt) {
13
13
  const { resolve } = createResolver(import.meta.url);
@@ -3,8 +3,8 @@
3
3
  v-if="madeRaw"
4
4
  v-bind="forwardedTextarea"
5
5
  :ui="{
6
- root: 'w-full px-6',
7
- base: 'text-md text-default min-h-screen'
6
+ root: 'w-full px-5',
7
+ base: 'text-md text-default min-h-screen leading-7 py-0 px-3'
8
8
  }"
9
9
  variant="none"
10
10
  placeholder="Введите текст..."
@@ -1,12 +1,13 @@
1
1
  <template>
2
2
  <div class="relative flex items-center gap-2">
3
- <!-- TODO: добавить <CUploraPlaceholder /> -->
4
- <div v-if="image" class="overflow-hidden rounded-lg shrink-0 size-8">
3
+ <div class="overflow-hidden rounded-lg shrink-0 size-8">
5
4
  <CUploraImage
5
+ v-if="image"
6
6
  v-bind="image"
7
7
  :sizes="[{ width: 32, height: 32, descriptor: '1x' }]"
8
8
  :ui="{ picture: 'aspect-square' }"
9
9
  />
10
+ <div v-else class="w-full h-full bg-elevated" />
10
11
  </div>
11
12
  <div class="flex-1 truncate max-w-100">
12
13
  <ULink
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hywax/cms",
3
3
  "type": "module",
4
- "version": "3.9.0",
4
+ "version": "3.9.1",
5
5
  "description": "Hywax CMS. ⚠️ This package is intended for internal use only.",
6
6
  "imports": {
7
7
  "#build/cms/*": "./.nuxt/cms/*.ts",
@@ -84,7 +84,7 @@
84
84
  "zod": "^4.3.5"
85
85
  },
86
86
  "devDependencies": {
87
- "@antfu/eslint-config": "^6.7.3",
87
+ "@antfu/eslint-config": "^7.0.0",
88
88
  "@commitlint/cli": "^20.3.1",
89
89
  "@commitlint/config-conventional": "^20.3.1",
90
90
  "@nuxt/devtools": "^3.1.1",