@byline/host-tanstack-start 6.10.0 → 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
  * TreeListView — built-in list view for `tree: true` collections. Reuses the
3
17
  * collection-list head/stats look; adds depth indentation, a branch glyph, and
@@ -10,131 +24,133 @@
10
24
  * .byline-tree-list-group — "Unplaced" separator row
11
25
  */
12
26
 
13
- .head,
14
- :global(.byline-coll-list-head) {
15
- display: flex;
16
- align-items: center;
17
- gap: 0.75rem;
18
- }
19
-
20
- .title,
21
- :global(.byline-coll-list-title) {
22
- margin: 0;
23
- padding-bottom: 2px;
24
- }
25
-
26
- .stats,
27
- :global(.byline-coll-list-stats) {
28
- display: flex;
29
- align-items: center;
30
- justify-content: center;
31
- margin-right: auto;
32
- margin-bottom: -4px;
33
- height: 28px;
34
- min-width: 28px;
35
- padding: 5px 6px;
36
- white-space: nowrap;
37
- font-size: 0.875rem;
38
- line-height: 0;
39
- background-color: var(--gray-25);
40
- border: var(--border-width-thin) var(--border-style-solid) var(--gray-200);
41
- border-radius: 0.375rem;
42
- }
43
-
44
- :is([data-theme="dark"], :global(.dark)) .stats,
45
- :is([data-theme="dark"], :global(.dark)) :global(.byline-coll-list-stats) {
46
- background-color: var(--canvas-700);
47
- }
48
-
49
- .tableWrap,
50
- :global(.byline-tree-list-table-wrap) {
51
- margin-top: 0.75rem;
52
- margin-bottom: 0.75rem;
53
- }
54
-
55
- .titleCell,
56
- :global(.byline-tree-list-title) {
57
- display: inline-flex;
58
- align-items: center;
59
- gap: 0.4rem;
60
- }
61
-
62
- .branch,
63
- :global(.byline-tree-list-branch) {
64
- color: var(--gray-400);
65
- font-family: var(--font-mono, monospace);
66
- user-select: none;
67
- }
68
-
69
- .groupRow,
70
- :global(.byline-tree-list-group) {
71
- background-color: var(--gray-25);
72
- }
73
-
74
- :is([data-theme="dark"], :global(.dark)) .groupRow,
75
- :is([data-theme="dark"], :global(.dark)) :global(.byline-tree-list-group) {
76
- background-color: var(--canvas-700);
77
- }
78
-
79
- .groupCell {
80
- font-size: 0.75rem;
81
- font-weight: 600;
82
- text-transform: uppercase;
83
- letter-spacing: 0.04em;
84
- color: var(--gray-500);
85
- }
86
-
87
- .cellRight {
88
- text-align: right;
89
- }
90
-
91
- .cellCenter {
92
- text-align: center;
93
- }
94
-
95
- /* ── Drag-to-reorder / re-parent ────────────────────────────────────── */
96
-
97
- .dragCell {
98
- width: 34px;
99
- padding-inline: 0.25rem;
100
- text-align: center;
101
- vertical-align: middle;
102
- }
103
-
104
- .dragHandle {
105
- display: inline-flex;
106
- align-items: center;
107
- justify-content: center;
108
- padding: 4px;
109
- color: var(--gray-400);
110
- background: none;
111
- border: none;
112
- border-radius: 4px;
113
- cursor: grab;
114
- touch-action: none;
115
- }
116
-
117
- .dragHandle:hover {
118
- color: var(--gray-600);
119
- background-color: var(--gray-50);
120
- }
121
-
122
- .dragHandle:active {
123
- cursor: grabbing;
124
- }
125
-
126
- :is([data-theme="dark"], :global(.dark)) .dragHandle:hover {
127
- color: var(--gray-200);
128
- background-color: var(--canvas-700);
129
- }
130
-
131
- /* The row being dragged — highlight + a left rule that reads as "this is the
27
+ @layer byline-components.cms {
28
+ .head,
29
+ :global(.byline-coll-list-head) {
30
+ display: flex;
31
+ align-items: center;
32
+ gap: 0.75rem;
33
+ }
34
+
35
+ .title,
36
+ :global(.byline-coll-list-title) {
37
+ margin: 0;
38
+ padding-bottom: 2px;
39
+ }
40
+
41
+ .stats,
42
+ :global(.byline-coll-list-stats) {
43
+ display: flex;
44
+ align-items: center;
45
+ justify-content: center;
46
+ margin-right: auto;
47
+ margin-bottom: -4px;
48
+ height: 28px;
49
+ min-width: 28px;
50
+ padding: 5px 6px;
51
+ white-space: nowrap;
52
+ font-size: 0.875rem;
53
+ line-height: 0;
54
+ background-color: var(--gray-25);
55
+ border: var(--border-width-thin) var(--border-style-solid) var(--gray-200);
56
+ border-radius: 0.375rem;
57
+ }
58
+
59
+ :is([data-theme="dark"], :global(.dark)) .stats,
60
+ :is([data-theme="dark"], :global(.dark)) :global(.byline-coll-list-stats) {
61
+ background-color: var(--canvas-700);
62
+ }
63
+
64
+ .tableWrap,
65
+ :global(.byline-tree-list-table-wrap) {
66
+ margin-top: 0.75rem;
67
+ margin-bottom: 0.75rem;
68
+ }
69
+
70
+ .titleCell,
71
+ :global(.byline-tree-list-title) {
72
+ display: inline-flex;
73
+ align-items: center;
74
+ gap: 0.4rem;
75
+ }
76
+
77
+ .branch,
78
+ :global(.byline-tree-list-branch) {
79
+ color: var(--gray-400);
80
+ font-family: var(--font-mono, monospace);
81
+ user-select: none;
82
+ }
83
+
84
+ .groupRow,
85
+ :global(.byline-tree-list-group) {
86
+ background-color: var(--gray-25);
87
+ }
88
+
89
+ :is([data-theme="dark"], :global(.dark)) .groupRow,
90
+ :is([data-theme="dark"], :global(.dark)) :global(.byline-tree-list-group) {
91
+ background-color: var(--canvas-700);
92
+ }
93
+
94
+ .groupCell {
95
+ font-size: 0.75rem;
96
+ font-weight: 600;
97
+ text-transform: uppercase;
98
+ letter-spacing: 0.04em;
99
+ color: var(--gray-500);
100
+ }
101
+
102
+ .cellRight {
103
+ text-align: right;
104
+ }
105
+
106
+ .cellCenter {
107
+ text-align: center;
108
+ }
109
+
110
+ /* ── Drag-to-reorder / re-parent ────────────────────────────────────── */
111
+
112
+ .dragCell {
113
+ width: 34px;
114
+ padding-inline: 0.25rem;
115
+ text-align: center;
116
+ vertical-align: middle;
117
+ }
118
+
119
+ .dragHandle {
120
+ display: inline-flex;
121
+ align-items: center;
122
+ justify-content: center;
123
+ padding: 4px;
124
+ color: var(--gray-400);
125
+ background: none;
126
+ border: none;
127
+ border-radius: 4px;
128
+ cursor: grab;
129
+ touch-action: none;
130
+ }
131
+
132
+ .dragHandle:hover {
133
+ color: var(--gray-600);
134
+ background-color: var(--gray-50);
135
+ }
136
+
137
+ .dragHandle:active {
138
+ cursor: grabbing;
139
+ }
140
+
141
+ :is([data-theme="dark"], :global(.dark)) .dragHandle:hover {
142
+ color: var(--gray-200);
143
+ background-color: var(--canvas-700);
144
+ }
145
+
146
+ /* The row being dragged — highlight + a left rule that reads as "this is the
132
147
  * grabbed node at its projected depth". */
133
- .draggingRow {
134
- background-color: var(--gray-25);
135
- box-shadow: inset 2px 0 0 var(--theme-400, var(--gray-400));
136
- }
137
-
138
- :is([data-theme="dark"], :global(.dark)) .draggingRow {
139
- background-color: var(--canvas-700);
148
+ .draggingRow {
149
+ background-color: var(--gray-25);
150
+ box-shadow: inset 2px 0 0 var(--theme-400, var(--gray-400));
151
+ }
152
+
153
+ :is([data-theme="dark"], :global(.dark)) .draggingRow {
154
+ background-color: var(--canvas-700);
155
+ }
140
156
  }
@@ -1,3 +1,15 @@
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
+ @layer byline-components.primitives, byline-components.cms;
1
13
  /**
2
14
  * ViewMenu — mini-nav bar for document-level views (Edit, History, API).
3
15
  *
@@ -10,77 +22,78 @@
10
22
  * .byline-view-menu-button — primary view buttons (Edit/API)
11
23
  * .byline-view-menu-icon-button — preview, history, and data-action icon buttons
12
24
  */
13
-
14
- /* Groups wrap as units, so a narrow viewport breaks the row between "what
25
+ @layer byline-components.cms {
26
+ /* Groups wrap as units, so a narrow viewport breaks the row between "what
15
27
  * you are looking at" and "where you can go" rather than mid-group. The
16
28
  * wider column gap marks the boundary when both groups share a line. */
17
- .root,
18
- :global(.byline-view-menu) {
19
- display: flex;
20
- flex-wrap: wrap;
21
- align-items: center;
22
- gap: 0.5rem 1.25rem;
23
- margin-top: 0.5rem;
24
- margin-bottom: 0.5rem;
25
- }
26
-
27
- /* Beside the heading (every host switches to a row at 40rem), keep a wrapped
28
- * second line flush with the right edge rather than stranded under the
29
- * heading's side of the menu. */
30
- @media (min-width: 40rem) {
31
29
  .root,
32
30
  :global(.byline-view-menu) {
33
- justify-content: flex-end;
31
+ display: flex;
32
+ flex-wrap: wrap;
33
+ align-items: center;
34
+ gap: 0.5rem 1.25rem;
35
+ margin-top: 0.5rem;
36
+ margin-bottom: 0.5rem;
34
37
  }
35
- }
36
38
 
37
- .group,
38
- :global(.byline-view-menu-data),
39
- :global(.byline-view-menu-nav) {
40
- display: flex;
41
- flex-wrap: wrap;
42
- align-items: center;
43
- gap: 0.5rem;
44
- }
39
+ /* Beside the heading (every host switches to a row at 40rem), keep a wrapped
40
+ * second line flush with the right edge rather than stranded under the
41
+ * heading's side of the menu. */
42
+ @media (min-width: 40rem) {
43
+ .root,
44
+ :global(.byline-view-menu) {
45
+ justify-content: flex-end;
46
+ }
47
+ }
45
48
 
46
- .label,
47
- :global(.byline-view-menu-label) {
48
- display: none;
49
- color: var(--gray-400);
50
- font-size: 0.75rem;
51
- padding-top: 2px;
52
- }
49
+ .group,
50
+ :global(.byline-view-menu-data),
51
+ :global(.byline-view-menu-nav) {
52
+ display: flex;
53
+ flex-wrap: wrap;
54
+ align-items: center;
55
+ gap: 0.5rem;
56
+ }
53
57
 
54
- @media (min-width: 66rem) {
55
58
  .label,
56
59
  :global(.byline-view-menu-label) {
57
- display: block;
60
+ display: none;
61
+ color: var(--gray-400);
62
+ font-size: 0.75rem;
63
+ padding-top: 2px;
58
64
  }
59
- }
60
65
 
61
- .localeSelect,
62
- :global(.byline-view-menu-locale-select) {
63
- min-width: 100px;
64
- padding: 0.1rem 0;
65
- }
66
+ @media (min-width: 66rem) {
67
+ .label,
68
+ :global(.byline-view-menu-label) {
69
+ display: block;
70
+ }
71
+ }
66
72
 
67
- .depthSelect,
68
- :global(.byline-view-menu-depth-select) {
69
- min-width: 60px;
70
- }
73
+ .localeSelect,
74
+ :global(.byline-view-menu-locale-select) {
75
+ min-width: 100px;
76
+ padding: 0.1rem 0;
77
+ }
71
78
 
72
- .iconButton,
73
- :global(.byline-view-menu-icon-button) {
74
- min-width: 24px;
75
- }
79
+ .depthSelect,
80
+ :global(.byline-view-menu-depth-select) {
81
+ min-width: 60px;
82
+ }
76
83
 
77
- .iconButtonIcon,
78
- :global(.byline-view-menu-icon-button-icon) {
79
- width: 1.25rem;
80
- height: 1.25rem;
81
- }
84
+ .iconButton,
85
+ :global(.byline-view-menu-icon-button) {
86
+ min-width: 24px;
87
+ }
82
88
 
83
- .button,
84
- :global(.byline-view-menu-button) {
85
- min-width: 50px;
89
+ .iconButtonIcon,
90
+ :global(.byline-view-menu-icon-button-icon) {
91
+ width: 1.25rem;
92
+ height: 1.25rem;
93
+ }
94
+
95
+ .button,
96
+ :global(.byline-view-menu-button) {
97
+ min-width: 50px;
98
+ }
86
99
  }
@@ -1,105 +1,121 @@
1
- .head {
2
- margin-bottom: var(--spacing-16);
3
- }
4
-
5
- .title {
6
- margin-bottom: var(--spacing-4);
7
- }
8
-
9
- .intro {
10
- margin: 0;
11
- color: var(--gray-500);
12
- }
13
-
14
- .health {
15
- margin-bottom: var(--spacing-16);
16
- }
17
-
18
- /* Filters and pagination are separate jobs and used at different moments, so
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
+
15
+ @layer byline-components.cms {
16
+ .head {
17
+ margin-bottom: var(--spacing-16);
18
+ }
19
+
20
+ .title {
21
+ margin-bottom: var(--spacing-4);
22
+ }
23
+
24
+ .intro {
25
+ margin: 0;
26
+ color: var(--gray-500);
27
+ }
28
+
29
+ .health {
30
+ margin-bottom: var(--spacing-16);
31
+ }
32
+
33
+ /* Filters and pagination are separate jobs and used at different moments, so
19
34
  they sit at opposite ends of one row rather than running together — the
20
35
  pager previously read as a third filter control. */
21
- .controls {
22
- display: flex;
23
- flex-wrap: wrap;
24
- align-items: flex-end;
25
- justify-content: space-between;
26
- gap: var(--spacing-16);
27
- margin-bottom: var(--spacing-4);
28
- }
29
-
30
- .filters-help {
31
- margin: 0 0 var(--spacing-16);
32
- color: var(--gray-500);
33
- font-size: var(--font-size-sm);
34
- }
35
-
36
- .filters {
37
- display: flex;
38
- flex-wrap: wrap;
39
- align-items: flex-end;
40
- gap: var(--spacing-12);
41
- }
42
-
43
- .filter {
44
- display: flex;
45
- flex-direction: column;
46
- gap: var(--spacing-4);
47
- min-width: 12rem;
48
- }
49
-
50
- .filter-authorizer :global(.byline-input-wrapper) {
51
- min-width: 22rem;
52
- }
53
-
54
- /* Sits on the control baseline, not the label baseline, so the buttons line up
36
+ .controls {
37
+ display: flex;
38
+ flex-wrap: wrap;
39
+ align-items: flex-end;
40
+ justify-content: space-between;
41
+ gap: var(--spacing-16);
42
+ margin-bottom: var(--spacing-4);
43
+ }
44
+
45
+ .filters-help {
46
+ margin: 0 0 var(--spacing-16);
47
+ color: var(--gray-500);
48
+ font-size: var(--font-size-sm);
49
+ }
50
+
51
+ .filters {
52
+ display: flex;
53
+ flex-wrap: wrap;
54
+ align-items: flex-end;
55
+ gap: var(--spacing-12);
56
+ }
57
+
58
+ .filter {
59
+ display: flex;
60
+ flex-direction: column;
61
+ gap: var(--spacing-4);
62
+ min-width: 12rem;
63
+ }
64
+
65
+ .filter-authorizer :global(.byline-input-wrapper) {
66
+ min-width: 22rem;
67
+ }
68
+
69
+ /* Sits on the control baseline, not the label baseline, so the buttons line up
55
70
  with the inputs rather than floating against their labels. */
56
- .filter-actions {
57
- display: flex;
58
- align-items: center;
59
- gap: var(--spacing-8);
60
- padding-bottom: 0.1rem;
61
- }
62
-
63
- .tableWrap {
64
- margin-top: 0.75rem;
65
- overflow-x: auto;
66
- }
67
-
68
- .collection,
69
- .zone,
70
- .error {
71
- display: block;
72
- margin-top: var(--spacing-4);
73
- color: var(--gray-500);
74
- font-size: var(--font-size-xs);
75
- }
76
-
77
- .instant {
78
- white-space: nowrap;
79
- }
80
-
81
- /* The whole point of this column is offboarding — an operator pastes an
71
+ .filter-actions {
72
+ display: flex;
73
+ align-items: center;
74
+ gap: var(--spacing-8);
75
+ padding-bottom: 0.1rem;
76
+ }
77
+
78
+ .tableWrap {
79
+ margin-top: 0.75rem;
80
+ overflow-x: auto;
81
+ }
82
+
83
+ .collection,
84
+ .zone,
85
+ .error {
86
+ display: block;
87
+ margin-top: var(--spacing-4);
88
+ color: var(--gray-500);
89
+ font-size: var(--font-size-xs);
90
+ }
91
+
92
+ .instant {
93
+ white-space: nowrap;
94
+ }
95
+
96
+ /* The whole point of this column is offboarding — an operator pastes an
82
97
  account id in and compares. Tabular figures make mismatches visible. */
83
- .authorizer {
84
- font-family: var(--font-family-mono, monospace);
85
- font-size: var(--font-size-xs);
86
- overflow-wrap: anywhere;
87
- }
88
-
89
- .error {
90
- max-width: 24rem;
91
- color: var(--red-600);
92
- white-space: normal;
93
- }
94
-
95
- .empty {
96
- padding: var(--spacing-32) 0;
97
- color: var(--gray-500);
98
- text-align: center;
99
- }
100
-
101
- .pagerBottom {
102
- display: flex;
103
- justify-content: flex-end;
104
- margin-top: var(--spacing-16);
98
+ .authorizer {
99
+ font-family: var(--font-family-mono, monospace);
100
+ font-size: var(--font-size-xs);
101
+ overflow-wrap: anywhere;
102
+ }
103
+
104
+ .error {
105
+ max-width: 24rem;
106
+ color: var(--red-600);
107
+ white-space: normal;
108
+ }
109
+
110
+ .empty {
111
+ padding: var(--spacing-32) 0;
112
+ color: var(--gray-500);
113
+ text-align: center;
114
+ }
115
+
116
+ .pagerBottom {
117
+ display: flex;
118
+ justify-content: flex-end;
119
+ margin-top: var(--spacing-16);
120
+ }
105
121
  }