@formicoidea/labre-core-database 0.53.0 → 0.54.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.
|
@@ -76,9 +76,17 @@ export class DatabasePageRoot extends BlockComponent {
|
|
|
76
76
|
margin: 0 auto;
|
|
77
77
|
padding: 0 var(--affine-editor-side-padding, 24px);
|
|
78
78
|
}
|
|
79
|
-
/* The page title above is the database's name.
|
|
79
|
+
/* The page title above is the database's name. !important: the row is
|
|
80
|
+
an emotion class (display: flex), which outweighs this selector. */
|
|
80
81
|
affine-database-page-root div:has(> affine-database-title) {
|
|
81
|
-
display: none;
|
|
82
|
+
display: none !important;
|
|
83
|
+
}
|
|
84
|
+
/* A phone keeps the page root's narrow padding (page-root-block.ts). */
|
|
85
|
+
@container viewport (width <= 640px) {
|
|
86
|
+
affine-database-page-root {
|
|
87
|
+
padding-left: 24px;
|
|
88
|
+
padding-right: 24px;
|
|
89
|
+
}
|
|
82
90
|
}
|
|
83
91
|
.affine-database-page-missing {
|
|
84
92
|
padding: 16px 0;
|
|
@@ -97,6 +97,9 @@ let DatabasePageHost = (() => {
|
|
|
97
97
|
}
|
|
98
98
|
affine-database-page > .affine-page-viewport {
|
|
99
99
|
height: 100%;
|
|
100
|
+
/* The container the page root's narrow-screen query reads. */
|
|
101
|
+
container-type: inline-size;
|
|
102
|
+
container-name: viewport;
|
|
100
103
|
}
|
|
101
104
|
`; }
|
|
102
105
|
/** The editor of the page, once `store` and `hostBlockId` are set. */
|
package/dist/translations.d.ts
CHANGED
|
@@ -10,6 +10,11 @@ export declare const DATABASE_ADD_VIEW_UNTITLED_SOURCE: ChromeWording;
|
|
|
10
10
|
export declare const DATABASE_ADD_VIEW_IMPORT: ChromeWording;
|
|
11
11
|
/** The document has no block by the id the host named as the views' host. */
|
|
12
12
|
export declare const DATABASE_PAGE_HOST_MISSING: ChromeWording;
|
|
13
|
+
/**
|
|
14
|
+
* "Layout" and "Group" are the view settings' own entries too: declared once
|
|
15
|
+
* by `@labre/data-view` (`DATA_VIEW_LAYOUT`, `DATA_VIEW_GROUP`), restated
|
|
16
|
+
* here, so not listed below.
|
|
17
|
+
*/
|
|
13
18
|
export declare const VIEW_MENU_LAYOUT: ChromeWording;
|
|
14
19
|
export declare const VIEW_MENU_GROUP: ChromeWording;
|
|
15
20
|
/**
|
package/dist/translations.js
CHANGED
|
@@ -27,6 +27,11 @@ export const DATABASE_PAGE_HOST_MISSING = [
|
|
|
27
27
|
'This database has no views to show.',
|
|
28
28
|
];
|
|
29
29
|
/* ── The full page's view-menu commands (labre REQ-DB-10) ───────────── */
|
|
30
|
+
/**
|
|
31
|
+
* "Layout" and "Group" are the view settings' own entries too: declared once
|
|
32
|
+
* by `@labre/data-view` (`DATA_VIEW_LAYOUT`, `DATA_VIEW_GROUP`), restated
|
|
33
|
+
* here, so not listed below.
|
|
34
|
+
*/
|
|
30
35
|
export const VIEW_MENU_LAYOUT = [
|
|
31
36
|
'com.labre.database.view-menu.layout',
|
|
32
37
|
'Layout',
|
|
@@ -133,9 +138,7 @@ const DATABASE_EDITOR_WORDINGS = [
|
|
|
133
138
|
PROPERTIES_PANEL_UNAVAILABLE,
|
|
134
139
|
SLASH_LINKED_VIEW,
|
|
135
140
|
SLASH_LINKED_VIEW_DESCRIPTION,
|
|
136
|
-
VIEW_MENU_GROUP,
|
|
137
141
|
VIEW_MENU_IMPORT,
|
|
138
|
-
VIEW_MENU_LAYOUT,
|
|
139
142
|
];
|
|
140
143
|
/**
|
|
141
144
|
* This package's `com.labre.database.*` wordings, exported from the package
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formicoidea/labre-core-database",
|
|
3
3
|
"description": "Labre core-database editing chrome for @formicoidea/labre-core.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.54.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"author": "lajola",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"dist"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@formicoidea/labre-core": "0.
|
|
30
|
+
"@formicoidea/labre-core": "0.54.0",
|
|
31
31
|
"@blocksuite/icons": "^2.2.12",
|
|
32
32
|
"@preact/signals-core": "^1.8.0",
|
|
33
33
|
"lit": "^3.2.0"
|