@byline/admin 6.10.1 → 6.12.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/dist/fields/array/array-field_module.css +57 -53
- package/dist/fields/blocks/blocks-field_module.css +134 -130
- package/dist/fields/checkbox/checkbox-field_module.css +6 -2
- package/dist/fields/code/code-field_module.css +57 -53
- package/dist/fields/datetime/datetime-field_module.css +6 -2
- package/dist/fields/draggable-context-menu_module.css +77 -73
- package/dist/fields/field-renderer_module.css +12 -8
- package/dist/fields/file/file-field_module.css +133 -129
- package/dist/fields/file/file-upload-field_module.css +67 -63
- package/dist/fields/group/group-field_module.css +25 -21
- package/dist/fields/image/image-field_module.css +123 -119
- package/dist/fields/image/image-upload-field_module.css +81 -77
- package/dist/fields/locale-badge_module.css +28 -24
- package/dist/fields/relation/relation-display_module.css +20 -16
- package/dist/fields/relation/relation-field_module.css +149 -145
- package/dist/fields/relation/relation-picker_module.css +187 -183
- package/dist/fields/relation/relation-summary_module.css +34 -30
- package/dist/fields/select/select-field_module.css +9 -5
- package/dist/fields/sortable-item_module.css +126 -122
- package/dist/fields/text/text-field_module.css +8 -4
- package/dist/fields/text-area/text-area-field_module.css +8 -4
- package/dist/forms/available-locales-widget_module.css +19 -15
- package/dist/forms/document-actions_module.css +120 -116
- package/dist/forms/form-renderer_module.css +247 -243
- package/dist/forms/path-widget_module.css +29 -25
- package/dist/forms/scheduled-publication-control_module.css +76 -72
- package/dist/forms/tree-placement-widget_module.css +61 -57
- package/dist/modules/admin-account/components/change-password_module.css +26 -22
- package/dist/modules/admin-account/components/container_module.css +93 -89
- package/dist/modules/admin-account/components/preferences_module.css +37 -33
- package/dist/modules/admin-account/components/theme-switch_module.css +16 -12
- package/dist/modules/admin-account/components/update_module.css +26 -22
- package/dist/modules/admin-permissions/components/inspector_module.css +197 -193
- package/dist/modules/admin-roles/components/create_module.css +26 -22
- package/dist/modules/admin-roles/components/permissions_module.css +159 -155
- package/dist/modules/admin-roles/components/update_module.css +26 -22
- package/dist/modules/admin-users/components/create_module.css +39 -35
- package/dist/modules/admin-users/components/roles_module.css +65 -61
- package/dist/modules/admin-users/components/set-password_module.css +29 -25
- package/dist/modules/admin-users/components/update_module.css +32 -28
- package/dist/modules/analytics/components/dashboard_module.css +268 -264
- package/dist/modules/analytics/components/timeseries_module.css +192 -188
- package/dist/modules/auth/components/passkey-manager_module.css +87 -83
- package/dist/modules/auth/components/sign-in-form_module.css +68 -64
- package/dist/presentation/group_module.css +19 -15
- package/dist/presentation/row_module.css +17 -13
- package/dist/presentation/tabs_module.css +231 -227
- package/dist/widgets/diff-viewer/diff-modal_module.css +58 -54
- package/dist/widgets/source-locale-badge/source-locale-badge_module.css +12 -8
- package/dist/widgets/status-badge/status-badge_module.css +20 -16
- package/package.json +9 -8
- package/src/fields/array/array-field.module.css +71 -55
- package/src/fields/blocks/blocks-field.module.css +173 -156
- package/src/fields/checkbox/checkbox-field.module.css +17 -3
- package/src/fields/code/code-editor.tsx +2 -0
- package/src/fields/code/code-field.module.css +75 -59
- package/src/fields/datetime/datetime-field.module.css +19 -3
- package/src/fields/draggable-context-menu.module.css +108 -92
- package/src/fields/field-renderer.module.css +26 -10
- package/src/fields/file/file-field.module.css +147 -131
- package/src/fields/file/file-upload-field.module.css +91 -75
- package/src/fields/group/group-field.module.css +42 -26
- package/src/fields/image/image-field.module.css +152 -136
- package/src/fields/image/image-upload-field.module.css +107 -91
- package/src/fields/locale-badge.module.css +43 -27
- package/src/fields/relation/relation-display.module.css +37 -21
- package/src/fields/relation/relation-field.module.css +168 -152
- package/src/fields/relation/relation-picker.module.css +207 -191
- package/src/fields/relation/relation-summary.module.css +52 -36
- package/src/fields/select/select-field.module.css +23 -7
- package/src/fields/sortable-item.module.css +143 -127
- package/src/fields/text/text-field.module.css +21 -5
- package/src/fields/text-area/text-area-field.module.css +21 -5
- package/src/forms/available-locales-widget.module.css +39 -23
- package/src/forms/document-actions.module.css +139 -123
- package/src/forms/form-layout-styles.test.node.ts +12 -4
- package/src/forms/form-renderer.module.css +312 -296
- package/src/forms/path-widget.module.css +44 -28
- package/src/forms/scheduled-publication-control.module.css +104 -91
- package/src/forms/tree-placement-widget.module.css +80 -64
- package/src/modules/admin-account/components/change-password.module.css +42 -26
- package/src/modules/admin-account/components/container.module.css +129 -113
- package/src/modules/admin-account/components/preferences.module.css +56 -40
- package/src/modules/admin-account/components/theme-switch.module.css +32 -16
- package/src/modules/admin-account/components/update.module.css +42 -26
- package/src/modules/admin-permissions/components/inspector.module.css +255 -239
- package/src/modules/admin-roles/components/create.module.css +42 -26
- package/src/modules/admin-roles/components/permissions.module.css +204 -201
- package/src/modules/admin-roles/components/update.module.css +42 -26
- package/src/modules/admin-users/components/create.module.css +58 -42
- package/src/modules/admin-users/components/roles.module.css +96 -86
- package/src/modules/admin-users/components/set-password.module.css +46 -30
- package/src/modules/admin-users/components/update.module.css +49 -33
- package/src/modules/analytics/components/dashboard.module.css +322 -306
- package/src/modules/analytics/components/timeseries.module.css +237 -221
- package/src/modules/auth/components/passkey-manager.module.css +98 -84
- package/src/modules/auth/components/sign-in-form.module.css +85 -69
- package/src/presentation/group.module.css +36 -20
- package/src/presentation/row.module.css +32 -16
- package/src/presentation/tabs.module.css +243 -227
- package/src/widgets/diff-viewer/diff-modal.module.css +71 -55
- package/src/widgets/source-locale-badge/source-locale-badge.module.css +25 -9
- package/src/widgets/status-badge/status-badge.module.css +35 -19
|
@@ -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
|
* SortableItem — drag-card wrapping array/blocks list rows.
|
|
3
17
|
*
|
|
@@ -16,152 +30,154 @@
|
|
|
16
30
|
* .byline-sortable-content-hidden — collapsed body state
|
|
17
31
|
*/
|
|
18
32
|
|
|
19
|
-
.
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
33
|
+
@layer byline-components.cms {
|
|
34
|
+
.root,
|
|
35
|
+
:global(.byline-sortable) {
|
|
36
|
+
padding: var(--spacing-16);
|
|
37
|
+
padding-top: var(--spacing-8);
|
|
38
|
+
border: var(--border-width-thin) dashed var(--gray-600);
|
|
39
|
+
border-radius: var(--border-radius-md);
|
|
40
|
+
background-color: oklch(from var(--canvas-50) l c h / 0.5);
|
|
41
|
+
box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
42
|
+
}
|
|
28
43
|
|
|
29
|
-
.dragging,
|
|
30
|
-
:global(.byline-sortable-dragging) {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
44
|
+
.dragging,
|
|
45
|
+
:global(.byline-sortable-dragging) {
|
|
46
|
+
background-color: oklch(from var(--canvas-50) l c h / 0.8);
|
|
47
|
+
box-shadow:
|
|
48
|
+
0 4px 6px -1px rgb(0 0 0 / 0.1),
|
|
49
|
+
0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
50
|
+
}
|
|
36
51
|
|
|
37
|
-
.collapsed,
|
|
38
|
-
:global(.byline-sortable-collapsed) {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
52
|
+
.collapsed,
|
|
53
|
+
:global(.byline-sortable-collapsed) {
|
|
54
|
+
padding-top: var(--spacing-8);
|
|
55
|
+
padding-bottom: var(--spacing-8);
|
|
56
|
+
}
|
|
42
57
|
|
|
43
|
-
.header,
|
|
44
|
-
:global(.byline-sortable-header) {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}
|
|
58
|
+
.header,
|
|
59
|
+
:global(.byline-sortable-header) {
|
|
60
|
+
display: flex;
|
|
61
|
+
align-items: center;
|
|
62
|
+
gap: var(--spacing-8);
|
|
63
|
+
margin-bottom: 0;
|
|
64
|
+
margin-left: -0.75rem;
|
|
65
|
+
}
|
|
51
66
|
|
|
52
|
-
.header-expanded,
|
|
53
|
-
:global(.byline-sortable-header-expanded) {
|
|
54
|
-
|
|
55
|
-
}
|
|
67
|
+
.header-expanded,
|
|
68
|
+
:global(.byline-sortable-header-expanded) {
|
|
69
|
+
margin-bottom: var(--spacing-8);
|
|
70
|
+
}
|
|
56
71
|
|
|
57
|
-
.grip,
|
|
58
|
-
:global(.byline-sortable-grip) {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
72
|
+
.grip,
|
|
73
|
+
:global(.byline-sortable-grip) {
|
|
74
|
+
display: flex;
|
|
75
|
+
align-items: center;
|
|
76
|
+
justify-content: center;
|
|
77
|
+
padding: 0.25rem;
|
|
78
|
+
border: none;
|
|
79
|
+
background: none;
|
|
80
|
+
border-radius: var(--border-radius-sm);
|
|
81
|
+
color: var(--gray-400);
|
|
82
|
+
cursor: grab;
|
|
83
|
+
}
|
|
69
84
|
|
|
70
|
-
.grip:hover,
|
|
71
|
-
:global(.byline-sortable-grip):hover {
|
|
72
|
-
|
|
73
|
-
}
|
|
85
|
+
.grip:hover,
|
|
86
|
+
:global(.byline-sortable-grip):hover {
|
|
87
|
+
background-color: var(--gray-100);
|
|
88
|
+
}
|
|
74
89
|
|
|
75
|
-
.grip:active,
|
|
76
|
-
:global(.byline-sortable-grip):active {
|
|
77
|
-
|
|
78
|
-
}
|
|
90
|
+
.grip:active,
|
|
91
|
+
:global(.byline-sortable-grip):active {
|
|
92
|
+
cursor: grabbing;
|
|
93
|
+
}
|
|
79
94
|
|
|
80
|
-
.grip-icon,
|
|
81
|
-
:global(.byline-sortable-grip-icon) {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
}
|
|
95
|
+
.grip-icon,
|
|
96
|
+
:global(.byline-sortable-grip-icon) {
|
|
97
|
+
width: 1rem;
|
|
98
|
+
height: 1rem;
|
|
99
|
+
color: var(--primary-500);
|
|
100
|
+
}
|
|
86
101
|
|
|
87
|
-
.label,
|
|
88
|
-
:global(.byline-sortable-label) {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
}
|
|
102
|
+
.label,
|
|
103
|
+
:global(.byline-sortable-label) {
|
|
104
|
+
flex: 1;
|
|
105
|
+
min-width: 0;
|
|
106
|
+
font-size: 1rem;
|
|
107
|
+
font-weight: var(--font-weight-medium);
|
|
108
|
+
overflow: hidden;
|
|
109
|
+
text-overflow: ellipsis;
|
|
110
|
+
white-space: nowrap;
|
|
111
|
+
}
|
|
97
112
|
|
|
98
|
-
.toggle,
|
|
99
|
-
:global(.byline-sortable-toggle) {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
}
|
|
113
|
+
.toggle,
|
|
114
|
+
:global(.byline-sortable-toggle) {
|
|
115
|
+
display: flex;
|
|
116
|
+
align-items: center;
|
|
117
|
+
justify-content: center;
|
|
118
|
+
padding: 0.25rem;
|
|
119
|
+
border: none;
|
|
120
|
+
background: none;
|
|
121
|
+
border-radius: var(--border-radius-sm);
|
|
122
|
+
color: var(--gray-400);
|
|
123
|
+
cursor: pointer;
|
|
124
|
+
}
|
|
110
125
|
|
|
111
|
-
.toggle:hover,
|
|
112
|
-
:global(.byline-sortable-toggle):hover {
|
|
113
|
-
|
|
114
|
-
}
|
|
126
|
+
.toggle:hover,
|
|
127
|
+
:global(.byline-sortable-toggle):hover {
|
|
128
|
+
background-color: var(--gray-800);
|
|
129
|
+
}
|
|
115
130
|
|
|
116
|
-
.toggle-icon,
|
|
117
|
-
:global(.byline-sortable-toggle-icon) {
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
}
|
|
131
|
+
.toggle-icon,
|
|
132
|
+
:global(.byline-sortable-toggle-icon) {
|
|
133
|
+
width: 1rem;
|
|
134
|
+
height: 1rem;
|
|
135
|
+
transition: transform 150ms ease;
|
|
136
|
+
}
|
|
122
137
|
|
|
123
|
-
.toggle-icon-rotated,
|
|
124
|
-
:global(.byline-sortable-toggle-icon-rotated) {
|
|
125
|
-
|
|
126
|
-
}
|
|
138
|
+
.toggle-icon-rotated,
|
|
139
|
+
:global(.byline-sortable-toggle-icon-rotated) {
|
|
140
|
+
transform: rotate(180deg);
|
|
141
|
+
}
|
|
127
142
|
|
|
128
|
-
.content,
|
|
129
|
-
:global(.byline-sortable-content) {
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
}
|
|
143
|
+
.content,
|
|
144
|
+
:global(.byline-sortable-content) {
|
|
145
|
+
position: relative;
|
|
146
|
+
display: flex;
|
|
147
|
+
flex-direction: column;
|
|
148
|
+
gap: var(--spacing-16);
|
|
149
|
+
transition: all 200ms ease;
|
|
150
|
+
opacity: 1;
|
|
151
|
+
}
|
|
137
152
|
|
|
138
|
-
.content-hidden,
|
|
139
|
-
:global(.byline-sortable-content-hidden) {
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
}
|
|
153
|
+
.content-hidden,
|
|
154
|
+
:global(.byline-sortable-content-hidden) {
|
|
155
|
+
max-height: 0;
|
|
156
|
+
opacity: 0;
|
|
157
|
+
z-index: -10;
|
|
158
|
+
}
|
|
144
159
|
|
|
145
|
-
/* ─── Dark theme variants ───────────────────────────────────── */
|
|
160
|
+
/* ─── Dark theme variants ───────────────────────────────────── */
|
|
146
161
|
|
|
147
|
-
:is([data-theme="dark"], :global(.dark)) {
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
162
|
+
:is([data-theme="dark"], :global(.dark)) {
|
|
163
|
+
.root,
|
|
164
|
+
:global(.byline-sortable) {
|
|
165
|
+
background-color: var(--canvas-800);
|
|
166
|
+
}
|
|
152
167
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
168
|
+
.dragging,
|
|
169
|
+
:global(.byline-sortable-dragging) {
|
|
170
|
+
background-color: oklch(from var(--canvas-700) l c h / 0.3);
|
|
171
|
+
}
|
|
157
172
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
173
|
+
.grip:hover,
|
|
174
|
+
:global(.byline-sortable-grip):hover {
|
|
175
|
+
background-color: var(--gray-800);
|
|
176
|
+
}
|
|
162
177
|
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
178
|
+
.grip-icon,
|
|
179
|
+
:global(.byline-sortable-grip-icon) {
|
|
180
|
+
color: var(--primary-200);
|
|
181
|
+
}
|
|
166
182
|
}
|
|
167
183
|
}
|
|
@@ -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
|
* TextField — single-line text input wrapper.
|
|
3
17
|
*
|
|
@@ -6,9 +20,11 @@
|
|
|
6
20
|
* .byline-field-text-label-row — the label + locale-badge row
|
|
7
21
|
*/
|
|
8
22
|
|
|
9
|
-
.
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
23
|
+
@layer byline-components.cms {
|
|
24
|
+
.label-row,
|
|
25
|
+
:global(.byline-field-text-label-row) {
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
margin-bottom: 0.25rem;
|
|
29
|
+
}
|
|
14
30
|
}
|
|
@@ -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
|
* TextAreaField — multi-line text input wrapper.
|
|
3
17
|
*
|
|
@@ -6,9 +20,11 @@
|
|
|
6
20
|
* .byline-field-text-area-label-row — the label + locale-badge row
|
|
7
21
|
*/
|
|
8
22
|
|
|
9
|
-
.
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
23
|
+
@layer byline-components.cms {
|
|
24
|
+
.label-row,
|
|
25
|
+
:global(.byline-field-text-area-label-row) {
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
margin-bottom: 0.25rem;
|
|
29
|
+
}
|
|
14
30
|
}
|
|
@@ -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
|
* AvailableLocalesWidget — system-managed `availableLocales` form widget.
|
|
3
17
|
*
|
|
@@ -11,29 +25,31 @@
|
|
|
11
25
|
* .byline-form-available-locales-sr-only — visually-hidden screen-reader hint
|
|
12
26
|
*/
|
|
13
27
|
|
|
14
|
-
.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
28
|
+
@layer byline-components.cms {
|
|
29
|
+
.container,
|
|
30
|
+
:global(.byline-form-available-locales) {
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
gap: var(--spacing-8);
|
|
34
|
+
}
|
|
20
35
|
|
|
21
|
-
.list,
|
|
22
|
-
:global(.byline-form-available-locales-list) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
36
|
+
.list,
|
|
37
|
+
:global(.byline-form-available-locales-list) {
|
|
38
|
+
display: flex;
|
|
39
|
+
flex-direction: column;
|
|
40
|
+
gap: var(--spacing-8);
|
|
41
|
+
}
|
|
27
42
|
|
|
28
|
-
.sr-only,
|
|
29
|
-
:global(.byline-form-available-locales-sr-only) {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
43
|
+
.sr-only,
|
|
44
|
+
:global(.byline-form-available-locales-sr-only) {
|
|
45
|
+
position: absolute;
|
|
46
|
+
width: 1px;
|
|
47
|
+
height: 1px;
|
|
48
|
+
padding: 0;
|
|
49
|
+
margin: -1px;
|
|
50
|
+
overflow: hidden;
|
|
51
|
+
clip: rect(0, 0, 0, 0);
|
|
52
|
+
white-space: nowrap;
|
|
53
|
+
border: 0;
|
|
54
|
+
}
|
|
39
55
|
}
|