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.
@@ -2,7 +2,7 @@
2
2
  var package_default = {
3
3
  bin: "./dist/cli.js",
4
4
  name: "alinea",
5
- version: "1.2.1",
5
+ version: "1.2.2",
6
6
  description: "Headless git-based CMS",
7
7
  repository: {
8
8
  type: "git",
package/dist/cli/Serve.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  package_default
3
- } from "../chunks/chunk-T4WJ2RIZ.js";
3
+ } from "../chunks/chunk-VF6VY6LR.js";
4
4
  import "../chunks/chunk-U5RRZUYZ.js";
5
5
 
6
6
  // src/cli/Serve.ts
package/dist/cli/bin.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  package_default
3
- } from "../chunks/chunk-T4WJ2RIZ.js";
3
+ } from "../chunks/chunk-VF6VY6LR.js";
4
4
  import "../chunks/chunk-U5RRZUYZ.js";
5
5
 
6
6
  // node_modules/mri/lib/index.mjs
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  package_default
3
- } from "../chunks/chunk-T4WJ2RIZ.js";
3
+ } from "../chunks/chunk-VF6VY6LR.js";
4
4
  import {
5
5
  PLazy
6
6
  } from "../chunks/chunk-IKINPSS5.js";
@@ -82,7 +82,7 @@ function CloudAuthView({ setSession }) {
82
82
  /* @__PURE__ */ jsx(
83
83
  Typo.Link,
84
84
  {
85
- href: "https://alinea.sh/docs/deploy/intro",
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 = typeof readOnly === "boolean" ? { readOnly } : {};
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))) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  package_default
3
- } from "../../chunks/chunk-T4WJ2RIZ.js";
3
+ } from "../../chunks/chunk-VF6VY6LR.js";
4
4
  import {
5
5
  create as create2
6
6
  } from "../../chunks/chunk-IOTY7UTU.js";
@@ -120,6 +120,7 @@ function PathInput({ field }) {
120
120
  onBlur: () => {
121
121
  setFocus(false);
122
122
  applySuffix();
123
+ setEndsWithSeparator(false);
123
124
  },
124
125
  style: { paddingRight: px(getRightInputPadding()) },
125
126
  readOnly: options.readOnly
package/dist/index.css CHANGED
@@ -1185,14 +1185,28 @@ button {
1185
1185
  display: inline-block;
1186
1186
  vertical-align: top;
1187
1187
  }
1188
- @media (max-width: 1024px) {
1189
- .alinea-InputLabel:not([style*="width: 100%"]) {
1190
- width: 50% !important;
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
- @media (max-width: 768px) {
1194
- .alinea-InputLabel:not([style*="width: 100%"]) {
1195
- width: 100% !important;
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
  }
@@ -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;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "bin": "./dist/cli.js",
3
3
  "name": "alinea",
4
- "version": "1.2.1",
4
+ "version": "1.2.2",
5
5
  "description": "Headless git-based CMS",
6
6
  "repository": {
7
7
  "type": "git",