@webx-ui/module-blog 0.5.16 → 0.5.18
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/index.js +931 -900
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types.d.ts +6 -0
- package/package.json +5 -5
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.wx-article-editor[data-v-
|
|
1
|
+
.wx-article-editor[data-v-98dc2b0f]{display:flex;flex-direction:column;gap:var(--wx-gap, var(--wx-space-16));height:100%;min-height:0;container-type:inline-size}.wx-article-editor__ghost[data-v-98dc2b0f]{max-width:420px}.wx-article-editor__screen[data-v-98dc2b0f]{display:flex;flex-direction:column;flex:1;min-height:0}.wx-article-editor__screen[data-v-98dc2b0f] .wx-screen-host,.wx-article-editor__screen[data-v-98dc2b0f] .wx-screen,.wx-article-editor__screen[data-v-98dc2b0f] .wx-tabs,.wx-article-editor__screen[data-v-98dc2b0f] .wx-tabs__layout,.wx-article-editor__screen[data-v-98dc2b0f] .wx-tabs__panels,.wx-article-editor__screen[data-v-98dc2b0f] .wx-tab:not([hidden]){display:flex;flex-direction:column;flex:1;min-height:0}.wx-article-history[data-v-0a997938]{display:flex;flex-direction:column;border:1px solid var(--wx-border-default);border-radius:var(--wx-radius-md);background:var(--wx-bg-surface);overflow:hidden}.wx-article-history__ghost[data-v-0a997938]{padding:var(--wx-space-10) var(--wx-space-12)}.wx-article-history__row[data-v-0a997938]{display:flex;align-items:center;gap:var(--wx-space-12);padding:var(--wx-space-10) var(--wx-space-12);border-block-end:1px solid var(--wx-border-default);flex-wrap:wrap}.wx-article-history__row[data-v-0a997938]:last-child{border-block-end:0}.wx-article-history__number[data-v-0a997938]{width:40px;font-family:var(--wx-font-family-mono);font-size:var(--wx-font-size-sm);color:var(--wx-text-muted)}.wx-article-history__who[data-v-0a997938]{display:flex;flex-direction:column;flex:1;min-width:160px}.wx-article-related[data-v-164e86fe]{display:flex;flex-direction:column;gap:var(--wx-space-8)}.wx-article-related__name[data-v-164e86fe]{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wx-article-slug[data-v-5da20e5e]{display:flex;flex-direction:column;gap:var(--wx-space-8)}.wx-article-slug__prefix[data-v-5da20e5e],.wx-article-slug[data-v-5da20e5e] .wx-input__inner{font-family:var(--wx-font-family-mono)}.wx-article-slug__prefix[data-v-5da20e5e]{color:var(--wx-text-muted)}.wx-article-tags[data-v-faf5adec]{display:flex;flex-direction:column;gap:var(--wx-space-8)}.wx-article-tags__chips[data-v-faf5adec]{display:flex;flex-wrap:wrap;gap:var(--wx-space-6)}.wx-article-tags__pick[data-v-faf5adec]{display:flex;align-items:center;gap:var(--wx-space-8);flex-wrap:wrap}.wx-article-tags__pick[data-v-faf5adec]>.wx-select{flex:1 1 220px;min-width:0}.wx-article-unpublish[data-v-c311cff2] .wx-button{align-self:flex-start}.wx-articles[data-v-5dfe798a]{min-width:0}.wx-articles__cover[data-v-5dfe798a]{display:flex;align-items:center;justify-content:center;width:44px;height:32px;overflow:hidden;border-radius:var(--wx-radius-xs);background:var(--wx-bg-subtle);color:var(--wx-text-muted)}.wx-articles__cover.is-empty[data-v-5dfe798a]{border:1px dashed var(--wx-border-default);background:var(--wx-bg-surface)}.wx-articles__cover img[data-v-5dfe798a]{width:100%;height:100%;min-width:0;object-fit:cover}.wx-articles__name[data-v-5dfe798a]{display:flex;align-items:center;gap:var(--wx-space-8);min-width:0}.wx-articles__name-text[data-v-5dfe798a]{display:flex;flex-direction:column;min-width:0}.wx-articles__pin[data-v-5dfe798a]{flex:none;color:var(--wx-color-primary)}.wx-articles__title[data-v-5dfe798a]{overflow:hidden;font-weight:var(--wx-font-weight-medium);white-space:nowrap;text-overflow:ellipsis}.wx-articles__address[data-v-5dfe798a]{overflow:hidden;color:var(--wx-text-muted);font-family:var(--wx-font-family-mono);font-size:var(--wx-font-size-xs);white-space:nowrap;text-overflow:ellipsis}.wx-articles__chips[data-v-5dfe798a],.wx-articles__state[data-v-5dfe798a]{display:flex;align-items:center;gap:var(--wx-space-4);min-width:0;overflow:hidden}.wx-articles[data-v-5dfe798a] .wx-articles__when{white-space:nowrap}.wx-tag-merge[data-v-aa68b3a8]{display:flex;flex-direction:column;gap:var(--wx-space-12)}.wx-tag-merge__chips[data-v-aa68b3a8]{display:flex;flex-wrap:wrap;align-items:center;gap:var(--wx-space-6);min-width:0}.wx-tag-merge__redirect[data-v-aa68b3a8]{display:flex;flex-direction:column;gap:var(--wx-space-2)}.wx-tags[data-v-d9b8d73d]{display:flex;flex-direction:column;gap:var(--wx-space-12);min-width:0}.wx-tags__rename[data-v-d9b8d73d]{display:block;min-width:0}.wx-tags__sort[data-v-d9b8d73d]{display:flex;gap:var(--wx-space-4);min-width:0}.wx-tags__name[data-v-d9b8d73d]{max-width:100%;overflow:hidden;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:start;text-overflow:ellipsis;white-space:nowrap;cursor:text}.wx-tags__name[data-v-d9b8d73d]:hover{text-decoration:underline;text-decoration-style:dotted}.wx-tags__bar[data-v-d9b8d73d] .wx-action-bar__state{flex:0 1 auto}
|
package/dist/types.d.ts
CHANGED
|
@@ -53,6 +53,10 @@ export interface ArticleRow {
|
|
|
53
53
|
lead: string;
|
|
54
54
|
/** `null` — this article names no address in the language the panel is open in (§9). */
|
|
55
55
|
path: string | null;
|
|
56
|
+
/** Where publishing moves it: a slug renamed in the draft, `null` when publishing moves nothing. */
|
|
57
|
+
next_path?: string | null;
|
|
58
|
+
/** The language of `path` when it is the site's main one, shown because this language has none. */
|
|
59
|
+
address_locale?: string | null;
|
|
56
60
|
url: string | null;
|
|
57
61
|
status: ArticleStatus;
|
|
58
62
|
pinned: boolean;
|
|
@@ -201,6 +205,8 @@ export interface TagRow {
|
|
|
201
205
|
slug: string;
|
|
202
206
|
/** The address a SEO rule for this page would be written for: language prefix and all. */
|
|
203
207
|
path: string | null;
|
|
208
|
+
/** The language of `path` when it is the site's main one, shown because this language has none. */
|
|
209
|
+
address_locale?: string | null;
|
|
204
210
|
url: string | null;
|
|
205
211
|
noindex: boolean;
|
|
206
212
|
indexing: TagIndexing;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webx-ui/module-blog",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.18",
|
|
4
4
|
"description": "Blog for the WebX UI admin panel: articles made of blocks, rubrics and tags, scheduled publication.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
"vue-router": "^4.5.0"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@webx-ui/core": "^0.
|
|
47
|
-
"@webx-ui/module-admin": "^0.23.
|
|
48
|
-
"@webx-ui/module-blocks": "^0.11.
|
|
49
|
-
"@webx-ui/schema": "^0.7.
|
|
46
|
+
"@webx-ui/core": "^0.37.1",
|
|
47
|
+
"@webx-ui/module-admin": "^0.23.4",
|
|
48
|
+
"@webx-ui/module-blocks": "^0.11.7",
|
|
49
|
+
"@webx-ui/schema": "^0.7.4"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@types/node": "^24.10.1",
|