erudit 4.3.5 → 4.3.6

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.
@@ -132,19 +132,20 @@ async function searchResultClick() {
132
132
  />
133
133
  {{ formatText(secondaryTitle) }}
134
134
  </div>
135
- <div class="gap-small text-text flex items-center">
136
- <div class="relative size-[1.2em] shrink-0">
135
+ <div class="text-text">
136
+ <span class="mr-small relative">
137
+ <MyIcon name="__missing" class="invisible inline size-[1.2em]" />
137
138
  <TransitionFade>
138
139
  <MaybeMyIcon
139
140
  :name="icon"
140
141
  :key="iconKey"
141
- class="absolute top-px left-0 size-full"
142
+ class="absolute top-0 left-0 inline size-[1.2em]"
142
143
  />
143
144
  </TransitionFade>
144
- </div>
145
- <div>
145
+ </span>
146
+ <span>
146
147
  {{ formatText(primaryTitle) }}
147
- </div>
148
+ </span>
148
149
  </div>
149
150
  <div>
150
151
  <div
@@ -26,8 +26,14 @@ defineProps<{
26
26
  },
27
27
  ]"
28
28
  >
29
- <MaybeMyIcon v-if="icon" :name="icon" class="shrink-0 text-[1.2em]" />
30
- <div class="flex-1">{{ main }}</div>
29
+ <div class="flex-1">
30
+ <MaybeMyIcon
31
+ v-if="icon"
32
+ :name="icon"
33
+ class="mr-small inline text-[1.2em]"
34
+ />
35
+ <span>{{ main }}</span>
36
+ </div>
31
37
  <div class="shrink-0" v-if="$slots.secondary">
32
38
  <slot name="secondary"></slot>
33
39
  </div>
@@ -111,7 +111,7 @@ export async function useContentSeo(args: {
111
111
 
112
112
  const fullTitle =
113
113
  (args.seo?.title || args.title) +
114
- (args.contentTypeSuffix ? ' [' + args.contentTypeSuffix + ']' : '') +
114
+ (args.contentTypeSuffix ? ' - ' + args.contentTypeSuffix : '') +
115
115
  ' - ' +
116
116
  seoSiteTitle;
117
117
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "erudit",
3
- "version": "4.3.5",
3
+ "version": "4.3.6",
4
4
  "type": "module",
5
5
  "description": "🤓 CMS for perfect educational sites.",
6
6
  "license": "MIT",
@@ -24,13 +24,13 @@
24
24
  }
25
25
  },
26
26
  "dependencies": {
27
- "@erudit-js/cli": "4.3.5",
28
- "@erudit-js/core": "4.3.5",
29
- "@erudit-js/prose": "4.3.5",
27
+ "@erudit-js/cli": "4.3.6",
28
+ "@erudit-js/core": "4.3.6",
29
+ "@erudit-js/prose": "4.3.6",
30
30
  "@floating-ui/vue": "^1.1.11",
31
31
  "@resvg/resvg-js": "^2.6.2",
32
32
  "@tailwindcss/vite": "^4.2.1",
33
- "better-sqlite3": "^12.8.0",
33
+ "better-sqlite3": "^12.9.0",
34
34
  "chokidar": "^5.0.0",
35
35
  "consola": "^3.4.2",
36
36
  "drizzle-kit": "^0.31.10",
@@ -40,7 +40,7 @@
40
40
  "glob": "^13.0.6",
41
41
  "image-size": "^2.0.2",
42
42
  "jiti": "^2.6.1",
43
- "nuxt": "4.4.2",
43
+ "nuxt": "4.4.4",
44
44
  "nuxt-my-icons": "1.2.2",
45
45
  "perfect-debounce": "^2.1.0",
46
46
  "satori": "^0.26.0",
@@ -33,7 +33,7 @@ export const phrases: LanguagePhrases = {
33
33
  topic: 'Тема',
34
34
  article: 'Статья',
35
35
  summary: 'Конспект',
36
- practice: 'Практика',
36
+ practice: 'Задачи',
37
37
  page: 'Страница',
38
38
  preview_content_page_description:
39
39
  'Вы собираетесь перейти на страницу контента:',