@byline/ui 1.7.6 → 1.8.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/components/accordion/accordion_module.css +2 -2
- package/dist/components/avatar/avatar_module.css +2 -2
- package/dist/components/badge/badge_module.css +2 -2
- package/dist/components/button/button-group_module.css +2 -2
- package/dist/components/button/button_module.css +2 -2
- package/dist/components/button/combo-button_module.css +2 -2
- package/dist/components/button/control-buttons_module.css +2 -2
- package/dist/components/button/copy-button_module.css +2 -2
- package/dist/components/card/card_module.css +2 -2
- package/dist/components/chips/chip_module.css +2 -2
- package/dist/components/container/container_module.css +2 -2
- package/dist/components/dropdown/dropdown_module.css +2 -2
- package/dist/components/hamburger/hamburger_module.css +2 -2
- package/dist/components/inputs/autocomplete_module.css +2 -2
- package/dist/components/inputs/calendar_module.css +2 -2
- package/dist/components/inputs/checkbox-group_module.css +2 -2
- package/dist/components/inputs/checkbox_module.css +2 -2
- package/dist/components/inputs/error-text_module.css +2 -2
- package/dist/components/inputs/help-text_module.css +2 -2
- package/dist/components/inputs/input-adornment_module.css +2 -2
- package/dist/components/inputs/input_module.css +2 -2
- package/dist/components/inputs/label_module.css +2 -2
- package/dist/components/inputs/radio-group_module.css +2 -2
- package/dist/components/inputs/select_module.css +2 -2
- package/dist/components/inputs/text-area_module.css +2 -2
- package/dist/components/notifications/alert_module.css +2 -2
- package/dist/components/notifications/toast_module.css +2 -2
- package/dist/components/pager/pagination_module.css +2 -2
- package/dist/components/scroll-area/scroll-area_module.css +2 -2
- package/dist/components/scroll-to-top/scroll-to-top_module.css +2 -2
- package/dist/components/section/section_module.css +2 -2
- package/dist/components/shimmer/shimmer_module.css +2 -2
- package/dist/components/table/table_module.css +2 -2
- package/dist/components/tabs/tabs_module.css +2 -2
- package/dist/components/tooltip/tooltip_module.css +2 -2
- package/dist/forms/form-renderer.js +1 -0
- package/dist/forms/path-widget.d.ts +10 -1
- package/dist/forms/path-widget.js +9 -4
- package/dist/icons/icons_module.css +2 -2
- package/dist/loaders/ellipses_module.css +2 -2
- package/dist/loaders/ring_module.css +2 -2
- package/dist/loaders/spinner_module.css +2 -2
- package/dist/styles/reset.css +1 -1
- package/dist/styles/styles.css +2 -2
- package/dist/styles/typography.css +3 -1
- package/dist/widgets/datepicker/datepicker_module.css +2 -2
- package/dist/widgets/drawer/drawer_module.css +2 -2
- package/dist/widgets/image-lightbox/image-lightbox_module.css +2 -2
- package/dist/widgets/modal/modal_module.css +2 -2
- package/dist/widgets/timeline/timeline_module.css +2 -2
- package/package.json +4 -4
- package/src/components/accordion/accordion.module.css +2 -2
- package/src/components/avatar/avatar.module.css +2 -2
- package/src/components/badge/badge.module.css +2 -2
- package/src/components/button/button-group.module.css +2 -2
- package/src/components/button/button.module.css +2 -2
- package/src/components/button/combo-button.module.css +2 -2
- package/src/components/button/control-buttons.module.css +2 -2
- package/src/components/button/copy-button.module.css +2 -2
- package/src/components/card/card.module.css +2 -2
- package/src/components/chips/chip.module.css +2 -2
- package/src/components/container/container.module.css +2 -2
- package/src/components/dropdown/dropdown.module.css +2 -2
- package/src/components/hamburger/hamburger.module.css +2 -2
- package/src/components/inputs/autocomplete.module.css +2 -2
- package/src/components/inputs/calendar.module.css +2 -2
- package/src/components/inputs/checkbox-group.module.css +2 -2
- package/src/components/inputs/checkbox.module.css +2 -2
- package/src/components/inputs/error-text.module.css +2 -2
- package/src/components/inputs/help-text.module.css +2 -2
- package/src/components/inputs/input-adornment.module.css +2 -2
- package/src/components/inputs/input.module.css +2 -2
- package/src/components/inputs/label.module.css +2 -2
- package/src/components/inputs/radio-group.module.css +2 -2
- package/src/components/inputs/select.module.css +2 -2
- package/src/components/inputs/text-area.module.css +2 -2
- package/src/components/notifications/alert.module.css +2 -2
- package/src/components/notifications/toast.module.css +2 -2
- package/src/components/pager/pagination.module.css +2 -2
- package/src/components/scroll-area/scroll-area.module.css +2 -2
- package/src/components/scroll-to-top/scroll-to-top.module.css +2 -2
- package/src/components/section/section.module.css +2 -2
- package/src/components/shimmer/shimmer.module.css +2 -2
- package/src/components/table/table.module.css +2 -2
- package/src/components/tabs/tabs.module.css +2 -2
- package/src/components/tooltip/tooltip.module.css +2 -2
- package/src/forms/form-renderer.tsx +1 -0
- package/src/forms/path-widget.tsx +43 -7
- package/src/icons/icons.module.css +2 -2
- package/src/loaders/ellipses.module.css +2 -2
- package/src/loaders/ring.module.css +2 -2
- package/src/loaders/spinner.module.css +2 -2
- package/src/styles/components/hamburger.css +2 -2
- package/src/styles/reset.css +2 -2
- package/src/styles/styles.css +2 -2
- package/src/styles/typography.css +2 -2
- package/src/widgets/datepicker/datepicker.module.css +2 -2
- package/src/widgets/drawer/drawer.module.css +2 -2
- package/src/widgets/image-lightbox/image-lightbox.module.css +2 -2
- package/src/widgets/modal/modal.module.css +2 -2
- package/src/widgets/timeline/timeline.module.css +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
:is(.item-iZzmBc, .infonomic-accordion-item) {
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
@layer utilities, byline-utilities
|
|
54
|
+
@layer utilities, byline-utilities;
|
|
55
55
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
:is(.avatar-root-WYOuF_, .infonomic-avatar-root) {
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
@layer utilities, byline-utilities
|
|
37
|
+
@layer utilities, byline-utilities;
|
|
38
38
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
:is(.badge-8xVidp, .infonomic-badge) {
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
@layer utilities, byline-utilities
|
|
52
|
+
@layer utilities, byline-utilities;
|
|
53
53
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
:is(.button-group-uqvOi8, .infonomic-button-group) {
|
|
@@ -15,5 +15,5 @@
|
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
@layer utilities, byline-utilities
|
|
18
|
+
@layer utilities, byline-utilities;
|
|
19
19
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
:is(.button-IjDhC0, .infonomic-button) {
|
|
@@ -380,5 +380,5 @@
|
|
|
380
380
|
}
|
|
381
381
|
}
|
|
382
382
|
|
|
383
|
-
@layer utilities, byline-utilities
|
|
383
|
+
@layer utilities, byline-utilities;
|
|
384
384
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
:is(.combo-button-wrapper-nRtH6j, .infonomic-combo-button-wrapper) {
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
@layer utilities, byline-utilities
|
|
53
|
+
@layer utilities, byline-utilities;
|
|
54
54
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
:is(.stop-button-krMTsl, .play-button-GfHYHO, .directional-button-kGS8rA, .infonomic-stop-button, .infonomic-play-button, .infonomic-directional-button) {
|
|
@@ -107,5 +107,5 @@
|
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
@layer utilities, byline-utilities
|
|
110
|
+
@layer utilities, byline-utilities;
|
|
111
111
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
:is(.copy-button-container-vCNz8o, .infonomic-copy-button-container) {
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
@layer utilities, byline-utilities
|
|
50
|
+
@layer utilities, byline-utilities;
|
|
51
51
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
:is(.card-mqJaiW, .infonomic-card) {
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
@layer utilities, byline-utilities
|
|
63
|
+
@layer utilities, byline-utilities;
|
|
64
64
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
:is(.chip-AhhT7N, .infonomic-chip) {
|
|
@@ -313,5 +313,5 @@
|
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
@layer utilities, byline-utilities
|
|
316
|
+
@layer utilities, byline-utilities;
|
|
317
317
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
:is(.container-tSpizY, .infonomic-container) {
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
@layer utilities, byline-utilities
|
|
30
|
+
@layer utilities, byline-utilities;
|
|
31
31
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
:is(.dropdown-content-oNxY22, .dropdown-subcontent-JZGnvB, .infonomic-dropdown-content, .infonomic-dropdown-subcontent) {
|
|
@@ -109,5 +109,5 @@
|
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
@layer utilities, byline-utilities
|
|
112
|
+
@layer utilities, byline-utilities;
|
|
113
113
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
:is(.hamburger-CFjgP7, .infonomic-hamburger) {
|
|
@@ -167,5 +167,5 @@
|
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
|
|
170
|
-
@layer utilities, byline-utilities
|
|
170
|
+
@layer utilities, byline-utilities;
|
|
171
171
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
:is(.autocomplete-wrapper-JirsmI, .infonomic-autocomplete-wrapper) {
|
|
@@ -310,5 +310,5 @@
|
|
|
310
310
|
}
|
|
311
311
|
}
|
|
312
312
|
|
|
313
|
-
@layer utilities, byline-utilities
|
|
313
|
+
@layer utilities, byline-utilities;
|
|
314
314
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
.day-picker-HSdX8f {
|
|
@@ -221,5 +221,5 @@
|
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
223
|
|
|
224
|
-
@layer utilities, byline-utilities
|
|
224
|
+
@layer utilities, byline-utilities;
|
|
225
225
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
:is(.infonomic-checkbox-group, .checkbox-group-hPRXiQ) {
|
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
@layer utilities, byline-utilities
|
|
11
|
+
@layer utilities, byline-utilities;
|
|
12
12
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
:is(.container-oQwpyX, .infonomic-checkbox-container) {
|
|
@@ -214,5 +214,5 @@
|
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
216
|
|
|
217
|
-
@layer utilities, byline-utilities
|
|
217
|
+
@layer utilities, byline-utilities;
|
|
218
218
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
:is(.text-DoybHX, .infonomic-error-text) {
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
@layer utilities, byline-utilities
|
|
22
|
+
@layer utilities, byline-utilities;
|
|
23
23
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
:is(.text-tefb0a, .infonomic-help-text) {
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
@layer utilities, byline-utilities
|
|
22
|
+
@layer utilities, byline-utilities;
|
|
23
23
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
:is(.adornment-JKPOkF, .infonomic-input-adornment) {
|
|
@@ -17,5 +17,5 @@
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
@layer utilities, byline-utilities
|
|
20
|
+
@layer utilities, byline-utilities;
|
|
21
21
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
:is(.input-wrapper-OJAKML, .infonomic-input-wrapper) {
|
|
@@ -257,5 +257,5 @@
|
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
259
|
|
|
260
|
-
@layer utilities, byline-utilities
|
|
260
|
+
@layer utilities, byline-utilities;
|
|
261
261
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
:is(.label-pYbboO, .infonomic-label) {
|
|
@@ -12,5 +12,5 @@
|
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
@layer utilities, byline-utilities
|
|
15
|
+
@layer utilities, byline-utilities;
|
|
16
16
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
:is(.column-Ca6c3z, .infonomic-radio-group-column) {
|
|
@@ -158,5 +158,5 @@
|
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
@layer utilities, byline-utilities
|
|
161
|
+
@layer utilities, byline-utilities;
|
|
162
162
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
:is(.positioner-Mjx718, .infonomic-select-positioner) {
|
|
@@ -139,5 +139,5 @@
|
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
@layer utilities, byline-utilities
|
|
142
|
+
@layer utilities, byline-utilities;
|
|
143
143
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
:is(.text-area-TY2VVE, .infonomic-text-area) {
|
|
@@ -17,5 +17,5 @@
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
@layer utilities, byline-utilities
|
|
20
|
+
@layer utilities, byline-utilities;
|
|
21
21
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
:is(.alert-dXimWG, .infonomic-alert) {
|
|
@@ -117,5 +117,5 @@
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
@layer utilities, byline-utilities
|
|
120
|
+
@layer utilities, byline-utilities;
|
|
121
121
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
:is(.viewport-x4CvHl, .infonomic-toast-viewport) {
|
|
@@ -210,5 +210,5 @@
|
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
212
|
|
|
213
|
-
@layer utilities, byline-utilities
|
|
213
|
+
@layer utilities, byline-utilities;
|
|
214
214
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
:is(.pagination-root-yB674z, .infonomic-pagination-root) {
|
|
@@ -101,5 +101,5 @@
|
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
@layer utilities, byline-utilities
|
|
104
|
+
@layer utilities, byline-utilities;
|
|
105
105
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
:is(.root-XJbuOo, .infonomic-scroll-area) {
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
@layer utilities, byline-utilities
|
|
64
|
+
@layer utilities, byline-utilities;
|
|
65
65
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
:is(.scroll-to-top-WYqAAl, .infonomic-scroll-to-top) {
|
|
@@ -98,5 +98,5 @@
|
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
@layer utilities, byline-utilities
|
|
101
|
+
@layer utilities, byline-utilities;
|
|
102
102
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
:is(.section-CEcZOp, .infonomic-section) {
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
@layer utilities, byline-utilities
|
|
10
|
+
@layer utilities, byline-utilities;
|
|
11
11
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
:is(.shimmer-hQj5gn, .infonomic-shimmer) {
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
@layer utilities, byline-utilities
|
|
48
|
+
@layer utilities, byline-utilities;
|
|
49
49
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
:is(.table-container-SdhhjR, .infonomic-table-container) {
|
|
@@ -89,5 +89,5 @@
|
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
@layer utilities, byline-utilities
|
|
92
|
+
@layer utilities, byline-utilities;
|
|
93
93
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
:is(.tabs-root-H5dXfK, .infonomic-tabs-root) {
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
@layer utilities, byline-utilities
|
|
57
|
+
@layer utilities, byline-utilities;
|
|
58
58
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
:is(.tooltip-Oc7lRI, .infonomic-tooltip) {
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
@layer utilities, byline-utilities
|
|
74
|
+
@layer utilities, byline-utilities;
|
|
75
75
|
|
|
@@ -487,6 +487,7 @@ const FormContent = ({ mode, fields, onSubmit, onCancel, onStatusChange, onUnpub
|
|
|
487
487
|
useAsPath: useAsPath,
|
|
488
488
|
collectionPath: collectionPath ?? '',
|
|
489
489
|
defaultLocale: defaultLocale,
|
|
490
|
+
activeLocale: contentLocale,
|
|
490
491
|
mode: mode
|
|
491
492
|
}),
|
|
492
493
|
(layout.sidebar ?? []).map((name)=>renderItem(name))
|
|
@@ -5,6 +5,15 @@ export interface PathWidgetProps {
|
|
|
5
5
|
collectionPath: string;
|
|
6
6
|
/** Default content locale, forwarded to the slugifier as context. */
|
|
7
7
|
defaultLocale: string;
|
|
8
|
+
/**
|
|
9
|
+
* The locale currently being edited in the form. When this differs
|
|
10
|
+
* from `defaultLocale` (i.e. the editor is editing a translation),
|
|
11
|
+
* the widget renders read-only — phase 1 paths are default-locale
|
|
12
|
+
* territory, and the lifecycle drops translation-locale path changes
|
|
13
|
+
* with a warn. Locking the input prevents the warn path being hit
|
|
14
|
+
* through the admin form and gives editors a clear cue.
|
|
15
|
+
*/
|
|
16
|
+
activeLocale: string;
|
|
8
17
|
/** `'create'` shows the live derived preview as placeholder text. */
|
|
9
18
|
mode: 'create' | 'edit';
|
|
10
19
|
}
|
|
@@ -22,4 +31,4 @@ export interface PathWidgetProps {
|
|
|
22
31
|
* Stable override handles: `.byline-form-path`, `.byline-form-path-header`,
|
|
23
32
|
* `.byline-form-path-regenerate`.
|
|
24
33
|
*/
|
|
25
|
-
export declare const PathWidget: ({ useAsPath, collectionPath, defaultLocale, mode }: PathWidgetProps) => import("react").JSX.Element;
|
|
34
|
+
export declare const PathWidget: ({ useAsPath, collectionPath, defaultLocale, activeLocale, mode, }: PathWidgetProps) => import("react").JSX.Element;
|
|
@@ -11,10 +11,11 @@ function coerceToString(value) {
|
|
|
11
11
|
if (value instanceof Date) return value.toISOString();
|
|
12
12
|
return String(value);
|
|
13
13
|
}
|
|
14
|
-
const PathWidget = ({ useAsPath, collectionPath, defaultLocale, mode })=>{
|
|
14
|
+
const PathWidget = ({ useAsPath, collectionPath, defaultLocale, activeLocale, mode })=>{
|
|
15
15
|
const { setSystemPath } = useFormContext();
|
|
16
16
|
const systemPath = useSystemPath();
|
|
17
17
|
const sourceValue = useFieldValue(useAsPath ?? '');
|
|
18
|
+
const isReadOnly = activeLocale !== defaultLocale;
|
|
18
19
|
const livePreview = useMemo(()=>{
|
|
19
20
|
if (!useAsPath) return '';
|
|
20
21
|
const asString = coerceToString(sourceValue);
|
|
@@ -52,13 +53,16 @@ const PathWidget = ({ useAsPath, collectionPath, defaultLocale, mode })=>{
|
|
|
52
53
|
defaultLocale,
|
|
53
54
|
collectionPath
|
|
54
55
|
]);
|
|
55
|
-
const
|
|
56
|
-
const
|
|
56
|
+
const validationHint = inputValue.length > 0 && formatted !== inputValue ? `Suggested: "${formatted}"` : void 0;
|
|
57
|
+
const readOnlyHint = isReadOnly ? `Path is set in the default locale ("${defaultLocale}") and applies across translations.` : void 0;
|
|
58
|
+
const hint = readOnlyHint ?? validationHint;
|
|
59
|
+
const placeholder = !isReadOnly && 'create' === mode && livePreview.length > 0 ? `Will be saved as "${livePreview}"` : void 0;
|
|
57
60
|
const srDescription = [
|
|
58
61
|
'System-managed URL path for this document.',
|
|
59
62
|
placeholder,
|
|
60
63
|
hint
|
|
61
64
|
].filter(Boolean).join(' ');
|
|
65
|
+
const showRegenerate = !isReadOnly && useAsPath && livePreview.length > 0 && livePreview !== systemPath;
|
|
62
66
|
return /*#__PURE__*/ jsxs("div", {
|
|
63
67
|
className: "byline-form-path",
|
|
64
68
|
children: [
|
|
@@ -70,7 +74,7 @@ const PathWidget = ({ useAsPath, collectionPath, defaultLocale, mode })=>{
|
|
|
70
74
|
htmlFor: "system-path",
|
|
71
75
|
label: "Path"
|
|
72
76
|
}),
|
|
73
|
-
|
|
77
|
+
showRegenerate && /*#__PURE__*/ jsxs("button", {
|
|
74
78
|
type: "button",
|
|
75
79
|
onClick: handleRegenerate,
|
|
76
80
|
className: classnames('byline-form-path-regenerate', path_widget_module.regenerate),
|
|
@@ -89,6 +93,7 @@ const PathWidget = ({ useAsPath, collectionPath, defaultLocale, mode })=>{
|
|
|
89
93
|
placeholder: placeholder,
|
|
90
94
|
onChange: (e)=>handleChange(e.target.value),
|
|
91
95
|
helpText: hint,
|
|
96
|
+
readOnly: isReadOnly,
|
|
92
97
|
"aria-describedby": "system-path-description"
|
|
93
98
|
}),
|
|
94
99
|
/*#__PURE__*/ jsx("span", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
.element-root-UxROLs {
|
|
@@ -161,5 +161,5 @@
|
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
@layer utilities, byline-utilities
|
|
164
|
+
@layer utilities, byline-utilities;
|
|
165
165
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
:is(.loader-ellipsis-KxN5UN, .infonomic-loader-ellipsis) {
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
@layer utilities, byline-utilities
|
|
74
|
+
@layer utilities, byline-utilities;
|
|
75
75
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
:is(.loader-ring-qd6bmX, .infonomic-loader-ring) {
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
@layer utilities, byline-utilities
|
|
50
|
+
@layer utilities, byline-utilities;
|
|
51
51
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional, components;
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
4
|
:is(.loader-spinner-QHtGI_, .infonomic-loader-spinner) {
|
|
@@ -97,5 +97,5 @@
|
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
@layer utilities, byline-utilities
|
|
100
|
+
@layer utilities, byline-utilities;
|
|
101
101
|
|
package/dist/styles/reset.css
CHANGED
|
@@ -212,4 +212,4 @@
|
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
214
|
|
|
215
|
-
@layer theme, byline-theme, byline-functional, components, byline-components, utilities, byline-utilities
|
|
215
|
+
@layer theme, byline-theme, byline-functional, byline-typography, components, byline-components, utilities, byline-utilities;
|
package/dist/styles/styles.css
CHANGED
|
@@ -1490,7 +1490,7 @@
|
|
|
1490
1490
|
}
|
|
1491
1491
|
}
|
|
1492
1492
|
|
|
1493
|
-
@layer components;
|
|
1493
|
+
@layer byline-typography, components;
|
|
1494
1494
|
|
|
1495
1495
|
@layer byline-components {
|
|
1496
1496
|
.component--hamburger {
|
|
@@ -1580,7 +1580,7 @@
|
|
|
1580
1580
|
}
|
|
1581
1581
|
}
|
|
1582
1582
|
|
|
1583
|
-
@layer utilities, byline-utilities
|
|
1583
|
+
@layer utilities, byline-utilities;
|
|
1584
1584
|
|
|
1585
1585
|
.component--fade-in-lift {
|
|
1586
1586
|
opacity: 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer base, byline-base, theme, byline-theme, byline-functional
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional;
|
|
2
2
|
|
|
3
3
|
@layer byline-typography {
|
|
4
4
|
:root {
|
|
@@ -402,3 +402,5 @@
|
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
404
|
}
|
|
405
|
+
|
|
406
|
+
@layer components, byline-components, utilities, byline-utilities;
|