@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
|
* UserRoles — drawer for assigning roles to a user.
|
|
3
17
|
*
|
|
@@ -16,104 +30,100 @@
|
|
|
16
30
|
* .byline-user-roles-action — buttons in the actions row
|
|
17
31
|
*/
|
|
18
32
|
|
|
19
|
-
.
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
33
|
+
@layer byline-components.cms {
|
|
34
|
+
.wrap,
|
|
35
|
+
:global(.byline-user-roles-wrap) {
|
|
36
|
+
display: flex;
|
|
37
|
+
flex-direction: column;
|
|
38
|
+
gap: var(--spacing-12);
|
|
39
|
+
padding: var(--spacing-4);
|
|
40
|
+
margin-top: var(--spacing-4);
|
|
41
|
+
}
|
|
27
42
|
|
|
28
|
-
.empty,
|
|
29
|
-
:global(.byline-user-roles-empty) {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
43
|
+
.empty,
|
|
44
|
+
:global(.byline-user-roles-empty) {
|
|
45
|
+
margin: 0;
|
|
46
|
+
font-style: italic;
|
|
47
|
+
}
|
|
33
48
|
|
|
34
|
-
.empty-hint,
|
|
35
|
-
:global(.byline-user-roles-empty-hint) {
|
|
36
|
-
|
|
37
|
-
}
|
|
49
|
+
.empty-hint,
|
|
50
|
+
:global(.byline-user-roles-empty-hint) {
|
|
51
|
+
/* Inherits muted colour from the parent .muted utility. */
|
|
52
|
+
}
|
|
38
53
|
|
|
39
|
-
.list,
|
|
40
|
-
:global(.byline-user-roles-list) {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}
|
|
54
|
+
.list,
|
|
55
|
+
:global(.byline-user-roles-list) {
|
|
56
|
+
display: flex;
|
|
57
|
+
flex-direction: column;
|
|
58
|
+
gap: var(--spacing-4);
|
|
59
|
+
}
|
|
45
60
|
|
|
46
|
-
.row,
|
|
47
|
-
:global(.byline-user-roles-row) {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
61
|
+
.row,
|
|
62
|
+
:global(.byline-user-roles-row) {
|
|
63
|
+
display: flex;
|
|
64
|
+
align-items: flex-start;
|
|
65
|
+
gap: var(--spacing-8);
|
|
66
|
+
padding: var(--spacing-4) 0;
|
|
67
|
+
}
|
|
53
68
|
|
|
54
|
-
.label,
|
|
55
|
-
:global(.byline-user-roles-label) {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
69
|
+
.label,
|
|
70
|
+
:global(.byline-user-roles-label) {
|
|
71
|
+
min-width: 0;
|
|
72
|
+
flex: 1 1 0;
|
|
73
|
+
cursor: pointer;
|
|
74
|
+
}
|
|
60
75
|
|
|
61
|
-
.label-head,
|
|
62
|
-
:global(.byline-user-roles-label-head) {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
76
|
+
.label-head,
|
|
77
|
+
:global(.byline-user-roles-label-head) {
|
|
78
|
+
display: flex;
|
|
79
|
+
align-items: center;
|
|
80
|
+
gap: var(--spacing-8);
|
|
81
|
+
}
|
|
67
82
|
|
|
68
|
-
.name,
|
|
69
|
-
:global(.byline-user-roles-name) {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}
|
|
83
|
+
.name,
|
|
84
|
+
:global(.byline-user-roles-name) {
|
|
85
|
+
font-size: var(--font-size-sm);
|
|
86
|
+
font-weight: var(--font-weight-medium);
|
|
87
|
+
}
|
|
73
88
|
|
|
74
|
-
.machine,
|
|
75
|
-
:global(.byline-user-roles-machine) {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}
|
|
89
|
+
.machine,
|
|
90
|
+
:global(.byline-user-roles-machine) {
|
|
91
|
+
background-color: var(--gray-100);
|
|
92
|
+
padding: 0.125rem 0.375rem;
|
|
93
|
+
font-size: var(--font-size-xs);
|
|
94
|
+
border-radius: var(--border-radius-sm);
|
|
95
|
+
}
|
|
81
96
|
|
|
82
|
-
.description,
|
|
83
|
-
:global(.byline-user-roles-description) {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
}
|
|
97
|
+
.description,
|
|
98
|
+
:global(.byline-user-roles-description) {
|
|
99
|
+
margin-bottom: 0;
|
|
100
|
+
font-size: var(--font-size-xs);
|
|
101
|
+
}
|
|
87
102
|
|
|
88
|
-
.actions,
|
|
89
|
-
:global(.byline-user-roles-actions) {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
}
|
|
103
|
+
.actions,
|
|
104
|
+
:global(.byline-user-roles-actions) {
|
|
105
|
+
display: flex;
|
|
106
|
+
align-items: center;
|
|
107
|
+
justify-content: flex-end;
|
|
108
|
+
gap: var(--spacing-8);
|
|
109
|
+
margin-top: var(--spacing-16);
|
|
110
|
+
}
|
|
96
111
|
|
|
97
|
-
.action,
|
|
98
|
-
:global(.byline-user-roles-action) {
|
|
99
|
-
|
|
100
|
-
}
|
|
112
|
+
.action,
|
|
113
|
+
:global(.byline-user-roles-action) {
|
|
114
|
+
min-width: 4rem;
|
|
115
|
+
}
|
|
101
116
|
|
|
102
|
-
/*
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
*/
|
|
108
|
-
.checkbox-auto,
|
|
109
|
-
:global(.byline-user-roles-checkbox-auto) {
|
|
110
|
-
/* biome-ignore lint/complexity/noImportantStyles: see admin-roles/permissions.module.css */
|
|
111
|
-
width: auto !important;
|
|
112
|
-
}
|
|
117
|
+
/* The CMS sublayer refines the primitive checkbox width; direct utilities still win. */
|
|
118
|
+
.checkbox-auto,
|
|
119
|
+
:global(.byline-user-roles-checkbox-auto) {
|
|
120
|
+
width: auto;
|
|
121
|
+
}
|
|
113
122
|
|
|
114
|
-
:is([data-theme="dark"], :global(.dark)) {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
123
|
+
:is([data-theme="dark"], :global(.dark)) {
|
|
124
|
+
.machine,
|
|
125
|
+
:global(.byline-user-roles-machine) {
|
|
126
|
+
background-color: var(--canvas-800);
|
|
127
|
+
}
|
|
118
128
|
}
|
|
119
129
|
}
|
|
@@ -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
|
* SetAdminUserPassword — privileged "set password" drawer form.
|
|
3
17
|
*
|
|
@@ -9,38 +23,40 @@
|
|
|
9
23
|
* .byline-user-set-password-action — buttons in the actions row
|
|
10
24
|
*/
|
|
11
25
|
|
|
12
|
-
.
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
26
|
+
@layer byline-components.cms {
|
|
27
|
+
.wrap,
|
|
28
|
+
:global(.byline-user-set-password-wrap) {
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
gap: var(--spacing-8);
|
|
32
|
+
padding: var(--spacing-4);
|
|
33
|
+
margin-top: var(--spacing-4);
|
|
34
|
+
}
|
|
20
35
|
|
|
21
|
-
.form,
|
|
22
|
-
:global(.byline-user-set-password-form) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
36
|
+
.form,
|
|
37
|
+
:global(.byline-user-set-password-form) {
|
|
38
|
+
display: flex;
|
|
39
|
+
flex-direction: column;
|
|
40
|
+
gap: var(--spacing-16);
|
|
41
|
+
padding-top: var(--spacing-8);
|
|
42
|
+
}
|
|
28
43
|
|
|
29
|
-
.target,
|
|
30
|
-
:global(.byline-user-set-password-target) {
|
|
31
|
-
|
|
32
|
-
}
|
|
44
|
+
.target,
|
|
45
|
+
:global(.byline-user-set-password-target) {
|
|
46
|
+
font-weight: var(--font-weight-semibold);
|
|
47
|
+
}
|
|
33
48
|
|
|
34
|
-
.actions,
|
|
35
|
-
:global(.byline-user-set-password-actions) {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
49
|
+
.actions,
|
|
50
|
+
:global(.byline-user-set-password-actions) {
|
|
51
|
+
display: flex;
|
|
52
|
+
align-items: center;
|
|
53
|
+
justify-content: flex-end;
|
|
54
|
+
gap: var(--spacing-8);
|
|
55
|
+
margin-top: var(--spacing-16);
|
|
56
|
+
}
|
|
42
57
|
|
|
43
|
-
.action,
|
|
44
|
-
:global(.byline-user-set-password-action) {
|
|
45
|
-
|
|
58
|
+
.action,
|
|
59
|
+
:global(.byline-user-set-password-action) {
|
|
60
|
+
min-width: 4rem;
|
|
61
|
+
}
|
|
46
62
|
}
|
|
@@ -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
|
* UpdateAdminUser — drawer form for editing an admin user.
|
|
3
17
|
*
|
|
@@ -9,41 +23,43 @@
|
|
|
9
23
|
* .byline-user-update-action — buttons in the actions row
|
|
10
24
|
*/
|
|
11
25
|
|
|
12
|
-
.
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
26
|
+
@layer byline-components.cms {
|
|
27
|
+
.wrap,
|
|
28
|
+
:global(.byline-user-update-wrap) {
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
gap: var(--spacing-8);
|
|
32
|
+
padding: var(--spacing-4);
|
|
33
|
+
margin-top: var(--spacing-4);
|
|
34
|
+
}
|
|
20
35
|
|
|
21
|
-
.form,
|
|
22
|
-
:global(.byline-user-update-form) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
36
|
+
.form,
|
|
37
|
+
:global(.byline-user-update-form) {
|
|
38
|
+
display: flex;
|
|
39
|
+
flex-direction: column;
|
|
40
|
+
gap: var(--spacing-16);
|
|
41
|
+
padding-top: var(--spacing-8);
|
|
42
|
+
}
|
|
28
43
|
|
|
29
|
-
.flags,
|
|
30
|
-
:global(.byline-user-update-flags) {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
44
|
+
.flags,
|
|
45
|
+
:global(.byline-user-update-flags) {
|
|
46
|
+
display: flex;
|
|
47
|
+
flex-direction: column;
|
|
48
|
+
gap: var(--spacing-8);
|
|
49
|
+
padding: var(--spacing-4);
|
|
50
|
+
}
|
|
36
51
|
|
|
37
|
-
.actions,
|
|
38
|
-
:global(.byline-user-update-actions) {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}
|
|
52
|
+
.actions,
|
|
53
|
+
:global(.byline-user-update-actions) {
|
|
54
|
+
display: flex;
|
|
55
|
+
align-items: center;
|
|
56
|
+
justify-content: flex-end;
|
|
57
|
+
gap: var(--spacing-8);
|
|
58
|
+
margin-top: var(--spacing-16);
|
|
59
|
+
}
|
|
45
60
|
|
|
46
|
-
.action,
|
|
47
|
-
:global(.byline-user-update-action) {
|
|
48
|
-
|
|
61
|
+
.action,
|
|
62
|
+
:global(.byline-user-update-action) {
|
|
63
|
+
min-width: 4rem;
|
|
64
|
+
}
|
|
49
65
|
}
|