@byline/ui 1.8.0 → 1.8.2
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/forms/path-widget.d.ts +4 -2
- package/dist/styles/styles.css +4 -0
- package/package.json +4 -4
- package/src/admin/components/admin-permissions/inspector.tsx +1 -1
- package/src/components/accordion/accordion.module.css +10 -3
- package/src/components/avatar/avatar.module.css +10 -3
- package/src/components/badge/badge.module.css +10 -3
- package/src/components/button/button-group.module.css +10 -3
- package/src/components/button/button.module.css +10 -3
- package/src/components/button/combo-button.module.css +10 -3
- package/src/components/button/control-buttons.module.css +10 -3
- package/src/components/button/copy-button.module.css +10 -3
- package/src/components/card/card.module.css +10 -3
- package/src/components/chips/chip.module.css +10 -3
- package/src/components/container/container.module.css +10 -3
- package/src/components/dropdown/dropdown.module.css +10 -3
- package/src/components/hamburger/hamburger.module.css +10 -3
- package/src/components/inputs/autocomplete.module.css +10 -3
- package/src/components/inputs/calendar.module.css +10 -3
- package/src/components/inputs/checkbox-group.module.css +10 -3
- package/src/components/inputs/checkbox.module.css +10 -3
- package/src/components/inputs/error-text.module.css +10 -3
- package/src/components/inputs/help-text.module.css +10 -3
- package/src/components/inputs/input-adornment.module.css +10 -3
- package/src/components/inputs/input.module.css +10 -3
- package/src/components/inputs/label.module.css +10 -3
- package/src/components/inputs/radio-group.module.css +10 -3
- package/src/components/inputs/select.module.css +10 -3
- package/src/components/inputs/text-area.module.css +10 -3
- package/src/components/notifications/alert.module.css +10 -3
- package/src/components/notifications/toast.module.css +10 -3
- package/src/components/pager/pagination.module.css +10 -3
- package/src/components/scroll-area/scroll-area.module.css +10 -3
- package/src/components/scroll-to-top/scroll-to-top.module.css +10 -3
- package/src/components/section/section.module.css +10 -3
- package/src/components/shimmer/shimmer.module.css +10 -3
- package/src/components/table/table.module.css +10 -3
- package/src/components/tabs/tabs.module.css +10 -3
- package/src/components/tooltip/tooltip.module.css +10 -3
- package/src/forms/form-context.tsx +4 -3
- package/src/forms/form-renderer.tsx +8 -8
- package/src/forms/path-widget.tsx +4 -2
- package/src/icons/icons.module.css +10 -3
- package/src/loaders/ellipses.module.css +10 -3
- package/src/loaders/ring.module.css +10 -3
- package/src/loaders/spinner.module.css +10 -3
- package/src/styles/components/hamburger.css +10 -3
- package/src/styles/reset.css +10 -3
- package/src/styles/styles.css +14 -3
- package/src/styles/typography.css +10 -3
- package/src/widgets/datepicker/datepicker.module.css +10 -3
- package/src/widgets/drawer/drawer.module.css +10 -3
- package/src/widgets/image-lightbox/image-lightbox.module.css +10 -3
- package/src/widgets/modal/modal.module.css +10 -3
- package/src/widgets/timeline/timeline.module.css +10 -3
|
@@ -18,9 +18,11 @@ export interface PathWidgetProps {
|
|
|
18
18
|
mode: 'create' | 'edit';
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
|
-
* System-managed `
|
|
21
|
+
* System-managed `path` widget.
|
|
22
22
|
*
|
|
23
|
-
*
|
|
23
|
+
* Edits the path stored in `byline_document_paths` for the current
|
|
24
|
+
* (document, locale) row. Displays the current persisted/overridden
|
|
25
|
+
* value as an editable input.
|
|
24
26
|
* In create mode, when the user hasn't supplied an override, the input
|
|
25
27
|
* shows the live-derived preview (slugified `useAsPath` source field) as
|
|
26
28
|
* a placeholder so the user sees what will be saved. The "Regenerate"
|
package/dist/styles/styles.css
CHANGED
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"private": false,
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
|
-
"version": "1.8.
|
|
6
|
+
"version": "1.8.2",
|
|
7
7
|
"engines": {
|
|
8
8
|
"node": ">=20.9.0"
|
|
9
9
|
},
|
|
@@ -65,9 +65,9 @@
|
|
|
65
65
|
"react-diff-viewer-continued": "^4.2.2",
|
|
66
66
|
"zod": "^4.4.2",
|
|
67
67
|
"zod-form-data": "^3.0.1",
|
|
68
|
-
"@byline/
|
|
69
|
-
"@byline/
|
|
70
|
-
"@byline/
|
|
68
|
+
"@byline/core": "1.8.2",
|
|
69
|
+
"@byline/client": "1.8.2",
|
|
70
|
+
"@byline/admin": "1.8.2"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
73
|
"react": "^19.0.0",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* Read-only abilities inspector —
|
|
12
|
+
* Read-only abilities inspector — see docs/AUTHN-AUTHZ.md.
|
|
13
13
|
*
|
|
14
14
|
* Top level: a collapsible group per ability source (collections.docs,
|
|
15
15
|
* admin.users, etc.), each containing the abilities that group
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
@layer byline-components {
|
|
5
12
|
.item,
|
|
6
13
|
:global(.infonomic-accordion-item) {
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
|
|
5
12
|
@layer byline-components {
|
|
6
13
|
/* relative inline-flex h-10 w-10 rounded-full */
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
|
|
5
12
|
@layer byline-components {
|
|
6
13
|
.badge,
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
@layer byline-components {
|
|
5
12
|
.button-group,
|
|
6
13
|
:global(.infonomic-button-group) {
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
|
|
5
12
|
@layer byline-components {
|
|
6
13
|
.button,
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
@layer byline-components {
|
|
5
12
|
.combo-button-wrapper,
|
|
6
13
|
:global(.infonomic-combo-button-wrapper) {
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
@layer byline-components {
|
|
5
12
|
.stop-button,
|
|
6
13
|
.play-button,
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
|
|
5
12
|
@layer byline-components {
|
|
6
13
|
.copy-button-container,
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
|
|
5
12
|
@layer byline-components {
|
|
6
13
|
.card,
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
|
|
5
12
|
@layer byline-components {
|
|
6
13
|
.chip,
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
|
|
5
12
|
@layer byline-components {
|
|
6
13
|
.container,
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
|
|
5
12
|
@layer byline-components {
|
|
6
13
|
.dropdown-content,
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
|
|
5
12
|
@layer byline-components {
|
|
6
13
|
.hamburger,
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
|
|
5
12
|
@layer byline-components {
|
|
6
13
|
/* ── Wrapper ── */
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
|
|
5
12
|
@layer byline-components {
|
|
6
13
|
.day-picker {
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
|
|
5
12
|
@layer byline-components {
|
|
6
13
|
:global(.infonomic-checkbox-group),
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
|
|
5
12
|
@layer byline-components {
|
|
6
13
|
.container,
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
|
|
5
12
|
@layer byline-components {
|
|
6
13
|
.text,
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
|
|
5
12
|
@layer byline-components {
|
|
6
13
|
.text,
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
|
|
5
12
|
@layer byline-components {
|
|
6
13
|
.adornment,
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
|
|
5
12
|
@layer byline-components {
|
|
6
13
|
.input-wrapper,
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
|
|
5
12
|
@layer byline-components {
|
|
6
13
|
.label,
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
|
|
5
12
|
/* 'border-collapse w-full text-sm text-left text-gray-700 dark:text-gray-400 m-0', */
|
|
6
13
|
@layer byline-components {
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
|
|
5
12
|
@layer byline-components {
|
|
6
13
|
.positioner,
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
|
|
5
12
|
@layer byline-components {
|
|
6
13
|
.text-area,
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
|
|
5
12
|
@layer byline-components {
|
|
6
13
|
.alert,
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
|
|
5
12
|
@layer byline-components {
|
|
6
13
|
/* ============================================
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
|
|
5
12
|
@layer byline-components {
|
|
6
13
|
.pagination-root,
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
|
|
5
12
|
@layer byline-components {
|
|
6
13
|
.root,
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
@layer byline-components {
|
|
5
12
|
.scroll-to-top,
|
|
6
13
|
:global(.infonomic-scroll-to-top) {
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
|
|
5
12
|
@layer byline-components {
|
|
6
13
|
.section,
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
|
|
5
12
|
/* 'border-collapse w-full text-sm text-left text-gray-700 dark:text-gray-400 m-0', */
|
|
6
13
|
@layer byline-components {
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
|
|
5
12
|
/* 'border-collapse w-full text-sm text-left text-gray-700 dark:text-gray-400 m-0', */
|
|
6
13
|
@layer byline-components {
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
|
|
5
12
|
@layer byline-components {
|
|
6
13
|
.tabs-root,
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
|
|
5
12
|
@layer byline-components {
|
|
6
13
|
.tooltip,
|
|
@@ -65,9 +65,10 @@ interface FormContextType {
|
|
|
65
65
|
getPendingUploads: () => Map<string, PendingUpload>
|
|
66
66
|
hasPendingUploads: () => boolean
|
|
67
67
|
clearPendingUploads: () => void
|
|
68
|
-
// System-managed `
|
|
69
|
-
// `null` means the widget will fall back
|
|
70
|
-
// server-side default; a non-null value
|
|
68
|
+
// System-managed `path` slot (persisted in `byline_document_paths`),
|
|
69
|
+
// edited by the path widget. `null` means the widget will fall back
|
|
70
|
+
// to live-derived preview / the server-side default; a non-null value
|
|
71
|
+
// is sent verbatim to the server.
|
|
71
72
|
getSystemPath: () => string | null
|
|
72
73
|
setSystemPath: (value: string | null) => void
|
|
73
74
|
subscribeSystemPath: (listener: SystemPathListener) => () => void
|
|
@@ -717,14 +717,14 @@ const FormContent = ({
|
|
|
717
717
|
<div className={cx('byline-form-sidebar', styles.sidebar)}>
|
|
718
718
|
{(useAsPath ||
|
|
719
719
|
(typeof initialData?.path === 'string' && initialData.path.length > 0)) && (
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
720
|
+
<PathWidget
|
|
721
|
+
useAsPath={useAsPath}
|
|
722
|
+
collectionPath={collectionPath ?? ''}
|
|
723
|
+
defaultLocale={defaultLocale}
|
|
724
|
+
activeLocale={contentLocale}
|
|
725
|
+
mode={mode}
|
|
726
|
+
/>
|
|
727
|
+
)}
|
|
728
728
|
{(layout.sidebar ?? []).map((name) => renderItem(name))}
|
|
729
729
|
</div>
|
|
730
730
|
</div>
|
|
@@ -49,9 +49,11 @@ export interface PathWidgetProps {
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
|
-
* System-managed `
|
|
52
|
+
* System-managed `path` widget.
|
|
53
53
|
*
|
|
54
|
-
*
|
|
54
|
+
* Edits the path stored in `byline_document_paths` for the current
|
|
55
|
+
* (document, locale) row. Displays the current persisted/overridden
|
|
56
|
+
* value as an editable input.
|
|
55
57
|
* In create mode, when the user hasn't supplied an override, the input
|
|
56
58
|
* shows the live-derived preview (slugified `useAsPath` source field) as
|
|
57
59
|
* a placeholder so the user sees what will be saved. The "Regenerate"
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
@layer byline-components {
|
|
5
12
|
.element-root {
|
|
6
13
|
width: 1.375rem;
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
|
|
5
12
|
@layer byline-components {
|
|
6
13
|
.loader-ellipsis,
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
|
|
5
12
|
@layer byline-components {
|
|
6
13
|
.loader-ring,
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
|
|
5
12
|
@layer byline-components {
|
|
6
13
|
.loader-spinner,
|
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
/* No longer used in our actual hamburger React and Astro components
|
|
2
2
|
but left here as a reference. */
|
|
3
|
-
@layer base,
|
|
4
|
-
byline-
|
|
5
|
-
|
|
3
|
+
@layer base,
|
|
4
|
+
byline-base,
|
|
5
|
+
theme,
|
|
6
|
+
byline-theme,
|
|
7
|
+
byline-functional,
|
|
8
|
+
byline-typography,
|
|
9
|
+
components,
|
|
10
|
+
byline-components,
|
|
11
|
+
utilities,
|
|
12
|
+
byline-utilities;
|
|
6
13
|
|
|
7
14
|
@layer byline-components {
|
|
8
15
|
.component--hamburger {
|
package/src/styles/reset.css
CHANGED
|
@@ -22,9 +22,16 @@
|
|
|
22
22
|
*
|
|
23
23
|
* Hosts using Tailwind don't need to declare layer order themselves.
|
|
24
24
|
*/
|
|
25
|
-
@layer base,
|
|
26
|
-
byline-
|
|
27
|
-
|
|
25
|
+
@layer base,
|
|
26
|
+
byline-base,
|
|
27
|
+
theme,
|
|
28
|
+
byline-theme,
|
|
29
|
+
byline-functional,
|
|
30
|
+
byline-typography,
|
|
31
|
+
components,
|
|
32
|
+
byline-components,
|
|
33
|
+
utilities,
|
|
34
|
+
byline-utilities;
|
|
28
35
|
|
|
29
36
|
@layer byline-base {
|
|
30
37
|
@scope (.byline-ui) {
|
package/src/styles/styles.css
CHANGED
|
@@ -1,8 +1,19 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
|
|
5
12
|
@import "./base/base.css";
|
|
6
13
|
@import "./functional/functional.css";
|
|
7
14
|
@import "./theme/theme.css";
|
|
8
15
|
@import "./components/components.css";
|
|
16
|
+
|
|
17
|
+
.byline-ui {
|
|
18
|
+
isolation: isolate;
|
|
19
|
+
}
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
|
|
5
12
|
@import "./typography/fonts.css";
|
|
6
13
|
@import "./typography/prose.css";
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
@layer byline-components {
|
|
5
12
|
.container,
|
|
6
13
|
:global(.infonomic-datepicker-container) {
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
@layer byline-components {
|
|
5
12
|
/* Backdrop overlay (replaces previous Overlay component) */
|
|
6
13
|
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
@layer byline-components {
|
|
5
12
|
.container {
|
|
6
13
|
width: auto;
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
@layer byline-components {
|
|
5
12
|
/* Backdrop overlay */
|
|
6
13
|
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
@layer base,
|
|
2
|
-
byline-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
utilities,
|
|
10
|
+
byline-utilities;
|
|
4
11
|
|
|
5
12
|
@layer byline-components {
|
|
6
13
|
.timeline,
|