@byline/host-tanstack-start 6.10.1 → 6.11.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.
Files changed (59) hide show
  1. package/dist/admin-shell/admin-activity/list_module.css +47 -43
  2. package/dist/admin-shell/admin-roles/container_module.css +75 -71
  3. package/dist/admin-shell/admin-roles/delete_module.css +31 -27
  4. package/dist/admin-shell/admin-roles/list_module.css +95 -91
  5. package/dist/admin-shell/admin-users/container_module.css +112 -108
  6. package/dist/admin-shell/admin-users/delete_module.css +31 -27
  7. package/dist/admin-shell/admin-users/list_module.css +92 -88
  8. package/dist/admin-shell/chrome/admin-app-bar_module.css +53 -49
  9. package/dist/admin-shell/chrome/admin-drawer-toggle_module.css +20 -16
  10. package/dist/admin-shell/chrome/admin-layout_module.css +10 -6
  11. package/dist/admin-shell/chrome/admin-menu-drawer_module.css +149 -145
  12. package/dist/admin-shell/chrome/branding_module.css +12 -8
  13. package/dist/admin-shell/chrome/breadcrumbs/breadcrumbs_module.css +179 -175
  14. package/dist/admin-shell/chrome/content_module.css +12 -8
  15. package/dist/admin-shell/chrome/dashboard_module.css +203 -199
  16. package/dist/admin-shell/chrome/hamburger_module.css +9 -5
  17. package/dist/admin-shell/chrome/route-error_module.css +78 -74
  18. package/dist/admin-shell/chrome/route-progress-bar_module.css +25 -21
  19. package/dist/admin-shell/chrome/session-change-boundary_module.css +72 -68
  20. package/dist/admin-shell/chrome/sign-in-page_module.css +65 -61
  21. package/dist/admin-shell/chrome/th-sortable_module.css +45 -41
  22. package/dist/admin-shell/collections/api_module.css +37 -33
  23. package/dist/admin-shell/collections/document-history_module.css +25 -21
  24. package/dist/admin-shell/collections/history_module.css +169 -165
  25. package/dist/admin-shell/collections/list_module.css +136 -132
  26. package/dist/admin-shell/collections/restore-version-modal_module.css +28 -24
  27. package/dist/admin-shell/collections/tree-list_module.css +119 -115
  28. package/dist/admin-shell/collections/view-menu_module.css +46 -42
  29. package/dist/admin-shell/scheduled-publications/list_module.css +99 -95
  30. package/package.json +10 -10
  31. package/src/admin-shell/admin-activity/list.module.css +60 -44
  32. package/src/admin-shell/admin-roles/container.module.css +105 -89
  33. package/src/admin-shell/admin-roles/delete.module.css +50 -34
  34. package/src/admin-shell/admin-roles/list.module.css +134 -118
  35. package/src/admin-shell/admin-users/container.module.css +157 -141
  36. package/src/admin-shell/admin-users/delete.module.css +50 -34
  37. package/src/admin-shell/admin-users/list.module.css +131 -115
  38. package/src/admin-shell/chrome/admin-app-bar.module.css +72 -56
  39. package/src/admin-shell/chrome/admin-drawer-toggle.module.css +36 -20
  40. package/src/admin-shell/chrome/admin-layout.module.css +22 -9
  41. package/src/admin-shell/chrome/admin-menu-drawer.module.css +213 -197
  42. package/src/admin-shell/chrome/branding.module.css +26 -10
  43. package/src/admin-shell/chrome/breadcrumbs/breadcrumbs.module.css +161 -145
  44. package/src/admin-shell/chrome/content.module.css +25 -9
  45. package/src/admin-shell/chrome/dashboard.module.css +270 -254
  46. package/src/admin-shell/chrome/hamburger.module.css +22 -6
  47. package/src/admin-shell/chrome/route-error.module.css +99 -83
  48. package/src/admin-shell/chrome/route-progress-bar.module.css +44 -28
  49. package/src/admin-shell/chrome/session-change-boundary.module.css +98 -82
  50. package/src/admin-shell/chrome/sign-in-page.module.css +86 -70
  51. package/src/admin-shell/chrome/th-sortable.module.css +54 -38
  52. package/src/admin-shell/collections/api.module.css +56 -40
  53. package/src/admin-shell/collections/document-history.module.css +43 -27
  54. package/src/admin-shell/collections/history.module.css +208 -192
  55. package/src/admin-shell/collections/list.module.css +162 -146
  56. package/src/admin-shell/collections/restore-version-modal.module.css +46 -30
  57. package/src/admin-shell/collections/tree-list.module.css +142 -126
  58. package/src/admin-shell/collections/view-menu.module.css +70 -57
  59. package/src/admin-shell/scheduled-publications/list.module.css +116 -100
@@ -1,3 +1,17 @@
1
+ @layer base,
2
+ byline-base,
3
+ theme,
4
+ byline-theme,
5
+ byline-functional,
6
+ byline-typography,
7
+ components,
8
+ byline-components,
9
+ overrides,
10
+ byline-utilities,
11
+ utilities;
12
+
13
+ @layer byline-components.primitives, byline-components.cms;
14
+
1
15
  /**
2
16
  * Admin menu drawer.
3
17
  *
@@ -12,213 +26,215 @@
12
26
  * chains stay readable; targeted via :global in this module.
13
27
  */
14
28
 
15
- .aside,
16
- :global(.byline-admin-menu-drawer-aside) {
17
- display: flex;
18
- flex-direction: column;
19
- border-right: var(--border-width-thin) var(--border-style-solid) var(--gray-50);
20
- background-color: var(--canvas-25);
21
- z-index: 40;
22
- transition: all 200ms ease-in-out;
23
- }
24
-
25
- :is([data-theme="dark"], :global(.dark)) .aside,
26
- :is([data-theme="dark"], :global(.dark)) :global(.byline-admin-menu-drawer-aside) {
27
- border-right-color: var(--canvas-700);
28
- background-color: var(--canvas-800);
29
- }
30
-
31
- .asideMobile,
32
- :global(.byline-admin-menu-drawer-aside-mobile) {
33
- position: fixed;
34
- top: 42px;
35
- bottom: 0;
36
- left: 0;
37
- }
38
-
39
- .asideMobileOpen,
40
- :global(.byline-admin-menu-drawer-aside-mobile-open) {
41
- width: 210px;
42
- }
43
-
44
- .asideMobileClosed,
45
- :global(.byline-admin-menu-drawer-aside-mobile-closed) {
46
- width: 0;
47
- overflow: hidden;
48
- }
49
-
50
- /* Pinned under the fixed app bar (45px) for the whole scroll of the page.
29
+ @layer byline-components.cms {
30
+ .aside,
31
+ :global(.byline-admin-menu-drawer-aside) {
32
+ display: flex;
33
+ flex-direction: column;
34
+ border-right: var(--border-width-thin) var(--border-style-solid) var(--gray-50);
35
+ background-color: var(--canvas-25);
36
+ z-index: 40;
37
+ transition: all 200ms ease-in-out;
38
+ }
39
+
40
+ :is([data-theme="dark"], :global(.dark)) .aside,
41
+ :is([data-theme="dark"], :global(.dark)) :global(.byline-admin-menu-drawer-aside) {
42
+ border-right-color: var(--canvas-700);
43
+ background-color: var(--canvas-800);
44
+ }
45
+
46
+ .asideMobile,
47
+ :global(.byline-admin-menu-drawer-aside-mobile) {
48
+ position: fixed;
49
+ top: 42px;
50
+ bottom: 0;
51
+ left: 0;
52
+ }
53
+
54
+ .asideMobileOpen,
55
+ :global(.byline-admin-menu-drawer-aside-mobile-open) {
56
+ width: 210px;
57
+ }
58
+
59
+ .asideMobileClosed,
60
+ :global(.byline-admin-menu-drawer-aside-mobile-closed) {
61
+ width: 0;
62
+ overflow: hidden;
63
+ }
64
+
65
+ /* Pinned under the fixed app bar (45px) for the whole scroll of the page.
51
66
  `align-self: flex-start` keeps the sticky box from being stretched to the
52
67
  full height of the flex row — a stretched sticky item has no room to move
53
68
  and never pins. */
54
- .asideDesktop,
55
- :global(.byline-admin-menu-drawer-aside-desktop) {
56
- position: sticky;
57
- top: 45px;
58
- align-self: flex-start;
59
- height: calc(100vh - 45px);
60
- flex-shrink: 0;
61
- }
62
-
63
- .asideDesktopOpen,
64
- :global(.byline-admin-menu-drawer-aside-desktop-open) {
65
- width: 210px;
66
- }
67
-
68
- .asideDesktopClosed,
69
- :global(.byline-admin-menu-drawer-aside-desktop-closed) {
70
- width: 60px;
71
- }
72
-
73
- /* The aside owns the viewport-height box; the nav just fills it and scrolls
69
+ .asideDesktop,
70
+ :global(.byline-admin-menu-drawer-aside-desktop) {
71
+ position: sticky;
72
+ top: 45px;
73
+ align-self: flex-start;
74
+ height: calc(100vh - 45px);
75
+ flex-shrink: 0;
76
+ }
77
+
78
+ .asideDesktopOpen,
79
+ :global(.byline-admin-menu-drawer-aside-desktop-open) {
80
+ width: 210px;
81
+ }
82
+
83
+ .asideDesktopClosed,
84
+ :global(.byline-admin-menu-drawer-aside-desktop-closed) {
85
+ width: 60px;
86
+ }
87
+
88
+ /* The aside owns the viewport-height box; the nav just fills it and scrolls
74
89
  internally when the menu is longer than the drawer. */
75
- .nav,
76
- :global(.byline-admin-menu-drawer) {
77
- flex: 1 1 auto;
78
- min-height: 0;
79
- margin: 0;
80
- overflow-y: auto;
81
- }
82
-
83
- .nav ul,
84
- :global(.byline-admin-menu-drawer) ul {
85
- margin: 0.75rem 0.5rem 0.5rem;
86
- padding: 0;
87
- list-style: none;
88
- list-style-position: outside;
89
- }
90
-
91
- .nav ul :global(li.menu-item),
92
- :global(.byline-admin-menu-drawer) ul :global(li.menu-item) {
93
- border-radius: 4px;
94
- margin: 0;
95
- transition: all 200ms ease;
96
- }
97
-
98
- .nav ul :global(li.menu-item .icon),
99
- :global(.byline-admin-menu-drawer) ul :global(li.menu-item .icon) {
100
- display: flex;
101
- align-items: center;
102
- justify-content: center;
103
- width: 24px;
104
- }
105
-
106
- /* A real line-height, not 0. Zero leaves every line box with no height, which
90
+ .nav,
91
+ :global(.byline-admin-menu-drawer) {
92
+ flex: 1 1 auto;
93
+ min-height: 0;
94
+ margin: 0;
95
+ overflow-y: auto;
96
+ }
97
+
98
+ .nav ul,
99
+ :global(.byline-admin-menu-drawer) ul {
100
+ margin: 0.75rem 0.5rem 0.5rem;
101
+ padding: 0;
102
+ list-style: none;
103
+ list-style-position: outside;
104
+ }
105
+
106
+ .nav ul :global(li.menu-item),
107
+ :global(.byline-admin-menu-drawer) ul :global(li.menu-item) {
108
+ border-radius: 4px;
109
+ margin: 0;
110
+ transition: all 200ms ease;
111
+ }
112
+
113
+ .nav ul :global(li.menu-item .icon),
114
+ :global(.byline-admin-menu-drawer) ul :global(li.menu-item .icon) {
115
+ display: flex;
116
+ align-items: center;
117
+ justify-content: center;
118
+ width: 24px;
119
+ }
120
+
121
+ /* A real line-height, not 0. Zero leaves every line box with no height, which
107
122
  a single-line label survives — the flex row centres it anyway — but a label
108
123
  long enough to wrap does not: both lines land in the same place and render
109
124
  on top of each other. "Scheduled Publications" is the first label in this
110
125
  menu long enough to reach that. Non-compact rows have no fixed height, so
111
126
  the row simply grows to fit a second line. */
112
- .nav ul :global(li.menu-item .label),
113
- :global(.byline-admin-menu-drawer) ul :global(li.menu-item .label) {
114
- line-height: 1.2;
115
- }
116
-
117
- .nav ul :global(li.menu-item.compact .label),
118
- :global(.byline-admin-menu-drawer) ul :global(li.menu-item.compact .label) {
119
- display: none;
120
- }
121
-
122
- .nav ul :global(li.menu-item.active),
123
- .nav ul :global(li.menu-item:hover),
124
- :global(.byline-admin-menu-drawer) ul :global(li.menu-item.active),
125
- :global(.byline-admin-menu-drawer) ul :global(li.menu-item:hover) {
126
- background-color: var(--canvas-50);
127
- }
128
-
129
- .nav ul :global(li.menu-item) :is(a, button),
130
- :global(.byline-admin-menu-drawer) ul :global(li.menu-item) :is(a, button) {
131
- display: flex;
132
- align-items: center;
133
- justify-content: flex-start;
134
- width: 100%;
135
- padding: 7px;
136
- gap: 8px;
137
- color: #111111;
138
- font-size: 0.9rem;
139
- font-weight: normal;
140
- text-decoration: none;
141
- background: none;
142
- border: none;
143
- cursor: pointer;
144
- text-align: left;
145
- }
146
-
147
- .nav ul :global(li.menu-item) :is(a, button):disabled,
148
- :global(.byline-admin-menu-drawer) ul :global(li.menu-item) :is(a, button):disabled {
149
- cursor: not-allowed;
150
- opacity: 0.6;
151
- }
152
-
153
- /* Compact items render as a centered square so the hover/active background
127
+ .nav ul :global(li.menu-item .label),
128
+ :global(.byline-admin-menu-drawer) ul :global(li.menu-item .label) {
129
+ line-height: 1.2;
130
+ }
131
+
132
+ .nav ul :global(li.menu-item.compact .label),
133
+ :global(.byline-admin-menu-drawer) ul :global(li.menu-item.compact .label) {
134
+ display: none;
135
+ }
136
+
137
+ .nav ul :global(li.menu-item.active),
138
+ .nav ul :global(li.menu-item:hover),
139
+ :global(.byline-admin-menu-drawer) ul :global(li.menu-item.active),
140
+ :global(.byline-admin-menu-drawer) ul :global(li.menu-item:hover) {
141
+ background-color: var(--canvas-50);
142
+ }
143
+
144
+ .nav ul :global(li.menu-item) :is(a, button),
145
+ :global(.byline-admin-menu-drawer) ul :global(li.menu-item) :is(a, button) {
146
+ display: flex;
147
+ align-items: center;
148
+ justify-content: flex-start;
149
+ width: 100%;
150
+ padding: 7px;
151
+ gap: 8px;
152
+ color: #111111;
153
+ font-size: 0.9rem;
154
+ font-weight: normal;
155
+ text-decoration: none;
156
+ background: none;
157
+ border: none;
158
+ cursor: pointer;
159
+ text-align: left;
160
+ }
161
+
162
+ .nav ul :global(li.menu-item) :is(a, button):disabled,
163
+ :global(.byline-admin-menu-drawer) ul :global(li.menu-item) :is(a, button):disabled {
164
+ cursor: not-allowed;
165
+ opacity: 0.6;
166
+ }
167
+
168
+ /* Compact items render as a centered square so the hover/active background
154
169
  (applied to the <li>) reads as a square icon button rather than a wide
155
170
  rectangle. The <li> is the hover target, so it must carry the square size. */
156
- .nav ul :global(li.menu-item.compact),
157
- :global(.byline-admin-menu-drawer) ul :global(li.menu-item.compact) {
158
- width: 34px;
159
- height: 34px;
160
- margin-left: auto;
161
- margin-right: auto;
162
- }
163
-
164
- /* Fill the square and drop the default 7px padding so the icon centers
171
+ .nav ul :global(li.menu-item.compact),
172
+ :global(.byline-admin-menu-drawer) ul :global(li.menu-item.compact) {
173
+ width: 34px;
174
+ height: 34px;
175
+ margin-left: auto;
176
+ margin-right: auto;
177
+ }
178
+
179
+ /* Fill the square and drop the default 7px padding so the icon centers
165
180
  exactly within the <li> hover area. */
166
- .nav ul :global(li.menu-item.compact) :is(a, button),
167
- :global(.byline-admin-menu-drawer) ul :global(li.menu-item.compact) :is(a, button) {
168
- justify-content: center;
169
- padding: 0;
170
- height: 100%;
171
- }
172
-
173
- .nav ul :global(li.menu-item.active) :is(a, button),
174
- :global(.byline-admin-menu-drawer) ul :global(li.menu-item.active) :is(a, button) {
175
- color: #111111;
176
- text-decoration: none;
177
- }
178
-
179
- .nav ul :global(li.menu-separator),
180
- :global(.byline-admin-menu-drawer) ul :global(li.menu-separator) {
181
- padding-top: 0.5px;
182
- margin: 0.75rem auto;
183
- width: 90%;
184
- background-color: #dddddd;
185
- }
186
-
187
- :is([data-theme="dark"], :global(.dark)) .nav ul :global(li.menu-item) :is(a, button),
188
- :is([data-theme="dark"], :global(.dark))
189
- :global(.byline-admin-menu-drawer)
190
- ul
191
- :global(li.menu-item)
192
- :is(a, button) {
193
- color: #dddddd;
194
- }
195
-
196
- :is([data-theme="dark"], :global(.dark)) .nav ul :global(li.menu-item.active) :is(a, button),
197
- :is([data-theme="dark"], :global(.dark))
198
- :global(.byline-admin-menu-drawer)
199
- ul
200
- :global(li.menu-item.active)
201
- :is(a, button) {
202
- color: #ffffff;
203
- }
204
-
205
- :is([data-theme="dark"], :global(.dark)) .nav ul :global(li.menu-item.active),
206
- :is([data-theme="dark"], :global(.dark)) .nav ul :global(li.menu-item:hover),
207
- :is([data-theme="dark"], :global(.dark))
208
- :global(.byline-admin-menu-drawer)
209
- ul
210
- :global(li.menu-item.active),
211
- :is([data-theme="dark"], :global(.dark))
212
- :global(.byline-admin-menu-drawer)
213
- ul
214
- :global(li.menu-item:hover) {
215
- background-color: oklch(from var(--canvas-700) calc(l * 0.95) c h);
216
- }
217
-
218
- :is([data-theme="dark"], :global(.dark)) .nav ul :global(li.menu-separator),
219
- :is([data-theme="dark"], :global(.dark))
220
- :global(.byline-admin-menu-drawer)
221
- ul
222
- :global(li.menu-separator) {
223
- background-color: #444444;
181
+ .nav ul :global(li.menu-item.compact) :is(a, button),
182
+ :global(.byline-admin-menu-drawer) ul :global(li.menu-item.compact) :is(a, button) {
183
+ justify-content: center;
184
+ padding: 0;
185
+ height: 100%;
186
+ }
187
+
188
+ .nav ul :global(li.menu-item.active) :is(a, button),
189
+ :global(.byline-admin-menu-drawer) ul :global(li.menu-item.active) :is(a, button) {
190
+ color: #111111;
191
+ text-decoration: none;
192
+ }
193
+
194
+ .nav ul :global(li.menu-separator),
195
+ :global(.byline-admin-menu-drawer) ul :global(li.menu-separator) {
196
+ padding-top: 0.5px;
197
+ margin: 0.75rem auto;
198
+ width: 90%;
199
+ background-color: #dddddd;
200
+ }
201
+
202
+ :is([data-theme="dark"], :global(.dark)) .nav ul :global(li.menu-item) :is(a, button),
203
+ :is([data-theme="dark"], :global(.dark))
204
+ :global(.byline-admin-menu-drawer)
205
+ ul
206
+ :global(li.menu-item)
207
+ :is(a, button) {
208
+ color: #dddddd;
209
+ }
210
+
211
+ :is([data-theme="dark"], :global(.dark)) .nav ul :global(li.menu-item.active) :is(a, button),
212
+ :is([data-theme="dark"], :global(.dark))
213
+ :global(.byline-admin-menu-drawer)
214
+ ul
215
+ :global(li.menu-item.active)
216
+ :is(a, button) {
217
+ color: #ffffff;
218
+ }
219
+
220
+ :is([data-theme="dark"], :global(.dark)) .nav ul :global(li.menu-item.active),
221
+ :is([data-theme="dark"], :global(.dark)) .nav ul :global(li.menu-item:hover),
222
+ :is([data-theme="dark"], :global(.dark))
223
+ :global(.byline-admin-menu-drawer)
224
+ ul
225
+ :global(li.menu-item.active),
226
+ :is([data-theme="dark"], :global(.dark))
227
+ :global(.byline-admin-menu-drawer)
228
+ ul
229
+ :global(li.menu-item:hover) {
230
+ background-color: oklch(from var(--canvas-700) calc(l * 0.95) c h);
231
+ }
232
+
233
+ :is([data-theme="dark"], :global(.dark)) .nav ul :global(li.menu-separator),
234
+ :is([data-theme="dark"], :global(.dark))
235
+ :global(.byline-admin-menu-drawer)
236
+ ul
237
+ :global(li.menu-separator) {
238
+ background-color: #444444;
239
+ }
224
240
  }
@@ -1,3 +1,17 @@
1
+ @layer base,
2
+ byline-base,
3
+ theme,
4
+ byline-theme,
5
+ byline-functional,
6
+ byline-typography,
7
+ components,
8
+ byline-components,
9
+ overrides,
10
+ byline-utilities,
11
+ utilities;
12
+
13
+ @layer byline-components.primitives, byline-components.cms;
14
+
1
15
  /**
2
16
  * Branding — admin app-bar logo wrapper.
3
17
  *
@@ -6,15 +20,17 @@
6
20
  * .byline-admin-branding-logo — logo SVG
7
21
  */
8
22
 
9
- .root,
10
- :global(.byline-admin-branding) {
11
- display: flex;
12
- align-items: center;
13
- gap: 0.5rem;
14
- }
23
+ @layer byline-components.cms {
24
+ .root,
25
+ :global(.byline-admin-branding) {
26
+ display: flex;
27
+ align-items: center;
28
+ gap: 0.5rem;
29
+ }
15
30
 
16
- .logo,
17
- :global(.byline-admin-branding-logo) {
18
- width: 24px;
19
- height: 24px;
31
+ .logo,
32
+ :global(.byline-admin-branding-logo) {
33
+ width: 24px;
34
+ height: 24px;
35
+ }
20
36
  }