alinea 1.2.1 → 1.2.2
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/chunks/{chunk-T4WJ2RIZ.js → chunk-VF6VY6LR.js} +1 -1
- package/dist/cli/Serve.js +1 -1
- package/dist/cli/bin.js +1 -1
- package/dist/cloud/CloudBackend.js +1 -1
- package/dist/cloud/view/CloudAuth.browser.js +1 -1
- package/dist/dashboard/atoms/FormAtoms.js +1 -1
- package/dist/dashboard/util/PersistentStore.js +1 -1
- package/dist/field/path/PathField.view.js +1 -0
- package/dist/index.css +26 -6
- package/dist/preview/widget.js +1 -1
- package/package.json +1 -1
package/dist/cli/Serve.js
CHANGED
package/dist/cli/bin.js
CHANGED
|
@@ -82,7 +82,7 @@ function CloudAuthView({ setSession }) {
|
|
|
82
82
|
/* @__PURE__ */ jsx(
|
|
83
83
|
Typo.Link,
|
|
84
84
|
{
|
|
85
|
-
href: "https://alinea.sh/docs/deploy
|
|
85
|
+
href: "https://alinea.sh/docs/deploy",
|
|
86
86
|
target: "_blank",
|
|
87
87
|
children: /* @__PURE__ */ jsx("span", { children: "fully configure a custom backend" })
|
|
88
88
|
}
|
|
@@ -31,7 +31,7 @@ var FormAtoms = class {
|
|
|
31
31
|
this.path = path;
|
|
32
32
|
this.options = options;
|
|
33
33
|
const readOnly = options.readOnly;
|
|
34
|
-
const forcedOptions =
|
|
34
|
+
const forcedOptions = readOnly === true ? { readOnly } : {};
|
|
35
35
|
container.doc.transact(() => {
|
|
36
36
|
for (const section of Type.sections(type)) {
|
|
37
37
|
for (const [key, field] of entries(Section.fields(section))) {
|
package/dist/index.css
CHANGED
|
@@ -1185,14 +1185,28 @@ button {
|
|
|
1185
1185
|
display: inline-block;
|
|
1186
1186
|
vertical-align: top;
|
|
1187
1187
|
}
|
|
1188
|
-
@
|
|
1189
|
-
|
|
1190
|
-
width:
|
|
1188
|
+
@supports not (contain: inline-size) {
|
|
1189
|
+
@media (max-width: 1024px) {
|
|
1190
|
+
.alinea-InputLabel:not([style*="width: 100%"]) {
|
|
1191
|
+
width: 50% !important;
|
|
1192
|
+
}
|
|
1193
|
+
}
|
|
1194
|
+
@media (max-width: 768px) {
|
|
1195
|
+
.alinea-InputLabel:not([style*="width: 100%"]) {
|
|
1196
|
+
width: 100% !important;
|
|
1197
|
+
}
|
|
1191
1198
|
}
|
|
1192
1199
|
}
|
|
1193
|
-
@
|
|
1194
|
-
|
|
1195
|
-
width: 100%
|
|
1200
|
+
@supports (contain: inline-size) {
|
|
1201
|
+
@container lift (max-width: 480px) {
|
|
1202
|
+
.alinea-InputLabel:not([style*="width: 100%"]) {
|
|
1203
|
+
width: 50% !important;
|
|
1204
|
+
}
|
|
1205
|
+
}
|
|
1206
|
+
@container lift (max-width: 320px) {
|
|
1207
|
+
.alinea-InputLabel:not([style*="width: 100%"]) {
|
|
1208
|
+
width: 100% !important;
|
|
1209
|
+
}
|
|
1196
1210
|
}
|
|
1197
1211
|
}
|
|
1198
1212
|
.alinea-InputLabel-inner {
|
|
@@ -3754,6 +3768,12 @@ h3.alinea-RichTextKit-heading:not(:last-child) {
|
|
|
3754
3768
|
padding: 0.375rem 0.625rem 0.625rem 0.625rem;
|
|
3755
3769
|
}
|
|
3756
3770
|
}
|
|
3771
|
+
@supports (contain: inline-size) {
|
|
3772
|
+
.alinea-Lift {
|
|
3773
|
+
container-name: lift;
|
|
3774
|
+
container-type: inline-size;
|
|
3775
|
+
}
|
|
3776
|
+
}
|
|
3757
3777
|
.alinea-Lift:empty {
|
|
3758
3778
|
display: none;
|
|
3759
3779
|
}
|
package/dist/preview/widget.js
CHANGED
|
@@ -35,6 +35,7 @@ function registerPreviewWidget() {
|
|
|
35
35
|
position: fixed;
|
|
36
36
|
bottom: 15px;
|
|
37
37
|
left: 50%;
|
|
38
|
+
transform: translateX(-50%);
|
|
38
39
|
z-index: 9999;
|
|
39
40
|
}
|
|
40
41
|
.inner {
|
|
@@ -47,7 +48,6 @@ function registerPreviewWidget() {
|
|
|
47
48
|
height: 35px;
|
|
48
49
|
font-size: 14px;
|
|
49
50
|
font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
50
|
-
transform: translateX(-50%);
|
|
51
51
|
border: 1.5px solid #E4E4E7;
|
|
52
52
|
transition: border 0.2s ease-out;
|
|
53
53
|
animation: fade-in 0.3s ease-out;
|