@trebired/frontend 1.2.0 → 1.2.1

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
@@ -6,6 +6,10 @@ This project follows semantic versioning once published.
6
6
 
7
7
  ## Unreleased
8
8
 
9
+ ## 1.2.1
10
+
11
+ - Fixed package layout grid placement so main content stays in the center track when either sidebar is omitted.
12
+
9
13
  ## 1.2.0
10
14
 
11
15
  - Fixed package-owned layout roots so `.tbf-layout` and `[data-tbf-layout-root]` always fill their parent width without app-side utility workarounds.
@@ -55,6 +55,23 @@ body[data-tbf-sidebar-right-minimized="true"] {
55
55
  min-width: 0;
56
56
  }
57
57
 
58
+ .tbf-layout > [data-tbf-sidebar-shell][data-tbf-sidebar-side="left"],
59
+ [data-tbf-layout-root] > [data-tbf-sidebar-shell][data-tbf-sidebar-side="left"] {
60
+ grid-column: 1;
61
+ }
62
+
63
+ .tbf-layout > .tbf-layout-main,
64
+ .tbf-layout > [data-tbf-layout-main],
65
+ [data-tbf-layout-root] > .tbf-layout-main,
66
+ [data-tbf-layout-root] > [data-tbf-layout-main] {
67
+ grid-column: 2;
68
+ }
69
+
70
+ .tbf-layout > [data-tbf-sidebar-shell][data-tbf-sidebar-side="right"],
71
+ [data-tbf-layout-root] > [data-tbf-sidebar-shell][data-tbf-sidebar-side="right"] {
72
+ grid-column: 3;
73
+ }
74
+
58
75
  .tbf-layout-main,
59
76
  [data-tbf-layout-main] {
60
77
  display: flex;
@@ -113,6 +130,13 @@ body[data-tbf-sidebar-right-minimized="true"] {
113
130
  min-height: 0;
114
131
  }
115
132
 
133
+ .tbf-layout > .tbf-layout-main,
134
+ .tbf-layout > [data-tbf-layout-main],
135
+ [data-tbf-layout-root] > .tbf-layout-main,
136
+ [data-tbf-layout-root] > [data-tbf-layout-main] {
137
+ grid-column: 1;
138
+ }
139
+
116
140
  .tbf-layout-content,
117
141
  [data-tbf-layout-content] {
118
142
  padding: var(--tbf-layout-mobile-content-padding);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trebired/frontend",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Generic browser runtime systems for Trebired frontend packages and applications.",
5
5
  "type": "module",
6
6
  "private": false,