@trebired/frontend 1.1.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,15 @@ 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
+
13
+ ## 1.2.0
14
+
15
+ - Fixed package-owned layout roots so `.tbf-layout` and `[data-tbf-layout-root]` always fill their parent width without app-side utility workarounds.
16
+ - Added verification that config-bundled Fontsource assets do not emit duplicated `/assets/assets/` or `/../assets/` URL references.
17
+
9
18
  ## 1.1.0
10
19
 
11
20
  - Moved the remaining generic app CSS surface into package-owned config CSS: base document reset, config-driven Fontsource font-face generation, global tokens, canvas background, spacing/margin helpers, wrapping row helpers, vertical alignment helpers, and generated spacing utilities.
@@ -44,6 +44,8 @@ body[data-tbf-sidebar-right-minimized="true"] {
44
44
  var(--tbf-layout-sidebar-left-active-width, 0px)
45
45
  minmax(0, 1fr)
46
46
  var(--tbf-layout-sidebar-right-active-width, 0px);
47
+ width: 100%;
48
+ max-width: 100%;
47
49
  flex: 1 1 auto;
48
50
  min-height: calc(100dvh - var(--tbf-layout-top-offset, 0px));
49
51
  }
@@ -53,6 +55,23 @@ body[data-tbf-sidebar-right-minimized="true"] {
53
55
  min-width: 0;
54
56
  }
55
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
+
56
75
  .tbf-layout-main,
57
76
  [data-tbf-layout-main] {
58
77
  display: flex;
@@ -111,6 +130,13 @@ body[data-tbf-sidebar-right-minimized="true"] {
111
130
  min-height: 0;
112
131
  }
113
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
+
114
140
  .tbf-layout-content,
115
141
  [data-tbf-layout-content] {
116
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.1.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,
@@ -56,7 +56,7 @@
56
56
  "simple-icons": "^16.28.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@trebired/bundler": "^4.4.2",
59
+ "@trebired/bundler": "^4.5.1",
60
60
  "@trebired/code-discipline": "^4.10.1",
61
61
  "@types/bun": "^1.3.14",
62
62
  "@types/node": "^24.13.3",