@autobusal/common 1.29.0 → 1.30.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.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  # Changelog
2
2
 
3
3
 
4
+ ## 1.30.0
5
+
6
+ ### Changed
7
+
8
+ - **`Viewer`'s field grid stays at two columns on every screen width.** It
9
+ used to widen to three columns at >=1300px - fine for a form of
10
+ independent, unrelated fields, but a form built for a two-column rhythm
11
+ (one field, a divider row, a related pair, a divider row, ...) reflows
12
+ into three and starts mixing fields from different logical groups onto
13
+ the same row, with nothing to say which group a given row belongs to.
14
+ Affects every Viewer-based form in the app, not just admin-label's.
15
+
4
16
  ## 1.29.0
5
17
 
6
18
  ### Added
package/Viewer/styles.ts CHANGED
@@ -28,7 +28,7 @@ export const Container = styled.div`
28
28
 
29
29
  /*
30
30
  * Edited: Ferjolt Ozuni - Date: 2026-08-07
31
- * A rich-text editor gets the full row. At a third of the width it has
31
+ * A rich-text editor gets the full row - even at half the width it has
32
32
  * less room for its own toolbar than for the text, and every consumer
33
33
  * that uses one wants it wide - so this belongs here rather than as a
34
34
  * flag each caller has to remember to pass.
@@ -38,11 +38,17 @@ export const Container = styled.div`
38
38
  }
39
39
  }
40
40
 
41
- @media (min-width: 1300px) {
42
- & > div {
43
- flex-basis: calc(33.33333% - 14px);
44
- }
45
- }
41
+ /*
42
+ * Edited: Ferjolt Ozuni - Date: 2026-08-08
43
+ * DELIBERATELY no wider breakpoint pushing this to three columns - it
44
+ * used to (>=1300px, flex-basis 33%), and the result was a grid with no
45
+ * visual boundary between one logical group's fields and the next: a
46
+ * form built for a two-column rhythm (field, spacer-row, field pair,
47
+ * spacer-row, ...) reflowed into three columns and mixed unrelated
48
+ * fields onto the same row. Every admin-label tab (and every other
49
+ * Viewer-based form in the app) now stays at the same two-column layout
50
+ * from 540px up, at any screen width.
51
+ */
46
52
  `;
47
53
 
48
54
  export const ContainerActions = styled.div`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autobusal/common",
3
- "version": "1.29.0",
3
+ "version": "1.30.0",
4
4
  "author": "Ferjolt Ozuni",
5
5
  "type": "module",
6
6
  "main": "index.ts"