@byline/admin 3.3.0 → 3.4.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.
@@ -605,11 +605,11 @@ const FormContent = ({ mode, fields, onSubmit, onCancel, onStatusChange, onUnpub
605
605
  className: "prose",
606
606
  children: [
607
607
  pendingSystemFieldsSubmit.contentDirty && /*#__PURE__*/ jsx("p", {
608
- className: classnames('byline-form-system-fields-content-note', 'm-0'),
608
+ className: classnames('byline-form-system-fields-content-note', 'm-0 mt-2'),
609
609
  children: t('forms.systemFieldsConfirm.contentNote')
610
610
  }),
611
611
  /*#__PURE__*/ jsx("p", {
612
- className: "m-0",
612
+ className: "m-0 mt-2",
613
613
  style: pendingSystemFieldsSubmit.contentDirty ? {
614
614
  marginTop: 'var(--spacing-8)',
615
615
  paddingTop: 'var(--spacing-12)',
@@ -618,7 +618,7 @@ const FormContent = ({ mode, fields, onSubmit, onCancel, onStatusChange, onUnpub
618
618
  children: t('forms.systemFieldsConfirm.intro')
619
619
  }),
620
620
  /*#__PURE__*/ jsxs("ul", {
621
- className: classnames('byline-form-system-fields-list', form_renderer_module["guard-modal-text"]),
621
+ className: classnames('byline-form-system-fields-list', form_renderer_module["guard-modal-text"], 'm-0'),
622
622
  children: [
623
623
  pendingSystemFieldsSubmit.pathDirty && /*#__PURE__*/ jsx("li", {
624
624
  children: t('forms.systemFieldsConfirm.bulletPath')
@@ -169,6 +169,7 @@
169
169
  :is(.content-_P5cdJ, .byline-form-content) {
170
170
  gap: var(--spacing-20);
171
171
  flex-direction: column;
172
+ min-width: 0;
172
173
  max-width: 100%;
173
174
  margin-bottom: 2.75rem;
174
175
  display: flex;
@@ -27,10 +27,10 @@ export declare const abilityDescriptorResponseSchema: z.ZodObject<{
27
27
  description: z.ZodNullable<z.ZodString>;
28
28
  group: z.ZodString;
29
29
  source: z.ZodNullable<z.ZodEnum<{
30
+ admin: "admin";
30
31
  collection: "collection";
31
32
  plugin: "plugin";
32
33
  core: "core";
33
- admin: "admin";
34
34
  }>>;
35
35
  }, z.core.$strip>;
36
36
  export type AbilityDescriptorResponse = z.infer<typeof abilityDescriptorResponseSchema>;
@@ -42,10 +42,10 @@ export declare const abilityGroupResponseSchema: z.ZodObject<{
42
42
  description: z.ZodNullable<z.ZodString>;
43
43
  group: z.ZodString;
44
44
  source: z.ZodNullable<z.ZodEnum<{
45
+ admin: "admin";
45
46
  collection: "collection";
46
47
  plugin: "plugin";
47
48
  core: "core";
48
- admin: "admin";
49
49
  }>>;
50
50
  }, z.core.$strip>>;
51
51
  }, z.core.$strip>;
@@ -61,10 +61,10 @@ export declare const listRegisteredAbilitiesResponseSchema: z.ZodObject<{
61
61
  description: z.ZodNullable<z.ZodString>;
62
62
  group: z.ZodString;
63
63
  source: z.ZodNullable<z.ZodEnum<{
64
+ admin: "admin";
64
65
  collection: "collection";
65
66
  plugin: "plugin";
66
67
  core: "core";
67
- admin: "admin";
68
68
  }>>;
69
69
  }, z.core.$strip>>;
70
70
  groups: z.ZodArray<z.ZodObject<{
@@ -75,10 +75,10 @@ export declare const listRegisteredAbilitiesResponseSchema: z.ZodObject<{
75
75
  description: z.ZodNullable<z.ZodString>;
76
76
  group: z.ZodString;
77
77
  source: z.ZodNullable<z.ZodEnum<{
78
+ admin: "admin";
78
79
  collection: "collection";
79
80
  plugin: "plugin";
80
81
  core: "core";
81
- admin: "admin";
82
82
  }>>;
83
83
  }, z.core.$strip>>;
84
84
  }, z.core.$strip>>;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@byline/admin",
3
3
  "private": false,
4
4
  "license": "MPL-2.0",
5
- "version": "3.3.0",
5
+ "version": "3.4.0",
6
6
  "engines": {
7
7
  "node": ">=20.9.0"
8
8
  },
@@ -146,10 +146,10 @@
146
146
  "uuid": "^14.0.0",
147
147
  "zod": "^4.4.3",
148
148
  "zod-form-data": "^3.0.1",
149
- "@byline/core": "3.3.0",
150
- "@byline/i18n": "3.3.0",
151
- "@byline/auth": "3.3.0",
152
- "@byline/ui": "3.3.0"
149
+ "@byline/auth": "3.4.0",
150
+ "@byline/core": "3.4.0",
151
+ "@byline/i18n": "3.4.0",
152
+ "@byline/ui": "3.4.0"
153
153
  },
154
154
  "peerDependencies": {
155
155
  "react": "^19.0.0",
@@ -233,6 +233,11 @@
233
233
  flex-direction: column;
234
234
  gap: var(--spacing-20);
235
235
  max-width: 100%;
236
+ /* Grid item default min-width:auto refuses to shrink below its content's
237
+ * min-content size — a horizontally-scrolling code block (white-space:pre)
238
+ * has a huge min-content, which would blow this column across the sidebar.
239
+ * min-width:0 lets the column respect its minmax(0,1fr) track instead. */
240
+ min-width: 0;
236
241
  margin-bottom: 2.75rem;
237
242
  }
238
243
 
@@ -957,12 +957,12 @@ const FormContent = ({
957
957
  revision + publish workflow. The immediate, document-level
958
958
  system-field write is explained below the divider. */}
959
959
  {pendingSystemFieldsSubmit.contentDirty && (
960
- <p className={cx('byline-form-system-fields-content-note', 'm-0')}>
960
+ <p className={cx('byline-form-system-fields-content-note', 'm-0 mt-2')}>
961
961
  {t('forms.systemFieldsConfirm.contentNote')}
962
962
  </p>
963
963
  )}
964
964
  <p
965
- className="m-0"
965
+ className="m-0 mt-2"
966
966
  style={
967
967
  pendingSystemFieldsSubmit.contentDirty
968
968
  ? {
@@ -975,7 +975,9 @@ const FormContent = ({
975
975
  >
976
976
  {t('forms.systemFieldsConfirm.intro')}
977
977
  </p>
978
- <ul className={cx('byline-form-system-fields-list', styles['guard-modal-text'])}>
978
+ <ul
979
+ className={cx('byline-form-system-fields-list', styles['guard-modal-text'], 'm-0')}
980
+ >
979
981
  {pendingSystemFieldsSubmit.pathDirty && (
980
982
  <li>{t('forms.systemFieldsConfirm.bulletPath')}</li>
981
983
  )}