@autobusal/common 1.30.0 → 1.31.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,12 @@
1
1
  # Changelog
2
2
 
3
3
 
4
+ ## 1.31.0
5
+
6
+ ### Added
7
+
8
+ - **A `row-component` field spans the full row width**, same as `row-textarea-html` already did - what lets a Viewer form's own section headings (`SectionHeading`, admin-label's Content/styles.ts) sit as a full-width divider instead of sharing a row with whatever field lands beside them.
9
+
4
10
  ## 1.30.0
5
11
 
6
12
  ### Changed
package/Viewer/styles.ts CHANGED
@@ -36,6 +36,18 @@ export const Container = styled.div`
36
36
  & > div.row-textarea-html {
37
37
  flex-basis: 100% !important;
38
38
  }
39
+
40
+ /*
41
+ * Edited: Ferjolt Ozuni - Date: 2026-08-08
42
+ * A 'component' row gets the full width too, same reasoning as
43
+ * row-textarea-html above - it is how a form's own section headings
44
+ * (SectionHeading, see admin-label's Content/styles.ts) span the row
45
+ * instead of sharing it with whatever field happens to land beside
46
+ * them.
47
+ */
48
+ & > div.row-component {
49
+ flex-basis: 100% !important;
50
+ }
39
51
  }
40
52
 
41
53
  /*
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autobusal/common",
3
- "version": "1.30.0",
3
+ "version": "1.31.0",
4
4
  "author": "Ferjolt Ozuni",
5
5
  "type": "module",
6
6
  "main": "index.ts"