@byline/ui 1.10.1 → 1.10.3
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.js +5 -5
- package/dist/components/accordion/accordion_module.css +6 -6
- package/dist/components/avatar/avatar.js +4 -4
- package/dist/components/avatar/avatar_module.css +4 -4
- package/dist/components/badge/badge.js +1 -1
- package/dist/components/badge/badge_module.css +8 -8
- package/dist/components/button/button-group_module.css +2 -2
- package/dist/components/button/button.js +1 -1
- package/dist/components/button/button_module.css +46 -42
- package/dist/components/button/combo-button_module.css +6 -6
- package/dist/components/button/control-buttons.js +1 -1
- package/dist/components/button/control-buttons_module.css +1 -1
- package/dist/components/button/copy-button.js +2 -2
- package/dist/components/button/copy-button_module.css +7 -7
- package/dist/components/card/card.js +6 -6
- package/dist/components/card/card_module.css +9 -9
- package/dist/components/chips/chip.js +5 -5
- package/dist/components/chips/chip_module.css +41 -38
- package/dist/components/container/container.js +1 -1
- package/dist/components/container/container_module.css +4 -4
- package/dist/components/dropdown/dropdown.js +8 -8
- package/dist/components/dropdown/dropdown_module.css +8 -8
- package/dist/components/hamburger/hamburger.js +3 -3
- package/dist/components/hamburger/hamburger_module.css +16 -16
- package/dist/components/inputs/autocomplete.js +9 -9
- package/dist/components/inputs/autocomplete_module.css +36 -36
- package/dist/components/inputs/checkbox-group.js +1 -1
- package/dist/components/inputs/checkbox-group_module.css +1 -1
- package/dist/components/inputs/checkbox.js +5 -5
- package/dist/components/inputs/checkbox_module.css +31 -31
- package/dist/components/inputs/error-text_module.css +4 -4
- package/dist/components/inputs/help-text.js +1 -1
- package/dist/components/inputs/help-text_module.css +4 -4
- package/dist/components/inputs/input-adornment.js +1 -1
- package/dist/components/inputs/input-adornment_module.css +3 -3
- package/dist/components/inputs/input.js +5 -5
- package/dist/components/inputs/input_module.css +38 -38
- package/dist/components/inputs/label_module.css +2 -2
- package/dist/components/inputs/radio-group.js +1 -1
- package/dist/components/inputs/radio-group_module.css +18 -18
- package/dist/components/inputs/select.js +3 -3
- package/dist/components/inputs/select_module.css +8 -8
- package/dist/components/inputs/text-area.js +1 -1
- package/dist/components/inputs/text-area_module.css +3 -3
- package/dist/components/notifications/alert.js +10 -10
- package/dist/components/notifications/alert_module.css +16 -16
- package/dist/components/notifications/toast.js +7 -7
- package/dist/components/notifications/toast_module.css +25 -24
- package/dist/components/pager/pagination.js +2 -2
- package/dist/components/pager/pagination_module.css +6 -6
- package/dist/components/scroll-area/scroll-area.js +7 -7
- package/dist/components/scroll-area/scroll-area_module.css +9 -9
- package/dist/components/scroll-to-top/scroll-to-top.js +2 -2
- package/dist/components/scroll-to-top/scroll-to-top_module.css +9 -9
- package/dist/components/section/section.js +1 -1
- package/dist/components/section/section_module.css +1 -1
- package/dist/components/shimmer/shimmer_module.css +6 -6
- package/dist/components/table/table.js +8 -8
- package/dist/components/table/table_module.css +15 -15
- package/dist/components/tabs/tabs.js +4 -4
- package/dist/components/tabs/tabs_module.css +9 -9
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/components/tooltip/tooltip_module.css +6 -6
- package/dist/fields/checkbox/checkbox-field.js +2 -1
- package/dist/fields/checkbox/checkbox-field.module.js +6 -0
- package/dist/fields/checkbox/checkbox-field_module.css +4 -0
- package/dist/forms/form-context.d.ts +1 -0
- package/dist/forms/form-context.js +3 -2
- package/dist/forms/form-renderer.js +19 -20
- package/dist/loaders/ellipses.js +2 -2
- package/dist/loaders/ellipses_module.css +2 -2
- package/dist/loaders/ring.js +2 -2
- package/dist/loaders/ring_module.css +2 -2
- package/dist/loaders/spinner.js +3 -3
- package/dist/loaders/spinner_module.css +3 -3
- package/dist/styles/styles.css +12 -0
- package/dist/widgets/datepicker/datepicker.js +11 -11
- package/dist/widgets/datepicker/datepicker_module.css +21 -21
- package/dist/widgets/drawer/drawer-container.js +1 -1
- package/dist/widgets/drawer/drawer-content.js +1 -1
- package/dist/widgets/drawer/drawer-header.js +1 -1
- package/dist/widgets/drawer/drawer-top-actions.js +1 -1
- package/dist/widgets/drawer/drawer.js +2 -2
- package/dist/widgets/drawer/drawer_module.css +11 -11
- package/dist/widgets/modal/modal-actions.js +1 -1
- package/dist/widgets/modal/modal-container.js +1 -1
- package/dist/widgets/modal/modal-content.js +1 -1
- package/dist/widgets/modal/modal-header.js +1 -1
- package/dist/widgets/modal/modal.js +2 -2
- package/dist/widgets/modal/modal_module.css +12 -12
- package/dist/widgets/search/search.js +6 -0
- package/dist/widgets/timeline/timeline_module.css +10 -10
- package/package.json +14 -14
- package/src/components/accordion/accordion.module.css +4 -4
- package/src/components/accordion/accordion.tsx +5 -5
- package/src/components/avatar/avatar.module.css +4 -4
- package/src/components/avatar/avatar.tsx +4 -4
- package/src/components/badge/badge.module.css +8 -8
- package/src/components/badge/badge.tsx +2 -2
- package/src/components/button/button-group.module.css +2 -2
- package/src/components/button/button.module.css +162 -86
- package/src/components/button/button.tsx +4 -4
- package/src/components/button/combo-button.module.css +7 -7
- package/src/components/button/control-buttons.module.css +5 -5
- package/src/components/button/control-buttons.tsx +1 -1
- package/src/components/button/copy-button.module.css +7 -7
- package/src/components/button/copy-button.tsx +5 -5
- package/src/components/card/card.module.css +9 -9
- package/src/components/card/card.tsx +6 -6
- package/src/components/chips/chip.module.css +126 -71
- package/src/components/chips/chip.tsx +8 -12
- package/src/components/container/container.module.css +4 -4
- package/src/components/container/container.tsx +1 -1
- package/src/components/dropdown/dropdown.module.css +7 -7
- package/src/components/dropdown/dropdown.tsx +8 -8
- package/src/components/hamburger/hamburger.module.css +16 -16
- package/src/components/hamburger/hamburger.tsx +3 -3
- package/src/components/inputs/autocomplete.module.css +42 -42
- package/src/components/inputs/autocomplete.tsx +12 -14
- package/src/components/inputs/checkbox-group.module.css +1 -1
- package/src/components/inputs/checkbox-group.tsx +1 -1
- package/src/components/inputs/checkbox.module.css +38 -34
- package/src/components/inputs/checkbox.tsx +8 -11
- package/src/components/inputs/error-text.module.css +4 -4
- package/src/components/inputs/help-text.module.css +4 -4
- package/src/components/inputs/help-text.tsx +1 -3
- package/src/components/inputs/input-adornment.module.css +3 -3
- package/src/components/inputs/input-adornment.tsx +2 -2
- package/src/components/inputs/input.module.css +45 -45
- package/src/components/inputs/input.tsx +8 -12
- package/src/components/inputs/label.module.css +2 -2
- package/src/components/inputs/radio-group.module.css +17 -17
- package/src/components/inputs/radio-group.tsx +1 -1
- package/src/components/inputs/select.module.css +8 -8
- package/src/components/inputs/select.tsx +3 -3
- package/src/components/inputs/text-area.module.css +4 -4
- package/src/components/inputs/text-area.tsx +3 -3
- package/src/components/notifications/alert.module.css +16 -16
- package/src/components/notifications/alert.tsx +11 -11
- package/src/components/notifications/toast.module.css +41 -28
- package/src/components/notifications/toast.tsx +7 -9
- package/src/components/pager/pagination.module.css +6 -6
- package/src/components/pager/pagination.tsx +2 -2
- package/src/components/scroll-area/scroll-area.module.css +5 -5
- package/src/components/scroll-area/scroll-area.tsx +7 -7
- package/src/components/scroll-to-top/scroll-to-top.module.css +9 -9
- package/src/components/scroll-to-top/scroll-to-top.tsx +2 -2
- package/src/components/section/section.module.css +1 -1
- package/src/components/section/section.tsx +1 -1
- package/src/components/shimmer/shimmer.module.css +18 -8
- package/src/components/table/table.module.css +15 -15
- package/src/components/table/table.tsx +8 -8
- package/src/components/tabs/tabs.module.css +4 -4
- package/src/components/tabs/tabs.tsx +4 -4
- package/src/components/tooltip/tooltip.module.css +2 -2
- package/src/components/tooltip/tooltip.tsx +2 -2
- package/src/fields/checkbox/checkbox-field.module.css +4 -0
- package/src/fields/checkbox/checkbox-field.tsx +2 -1
- package/src/forms/form-context.tsx +10 -2
- package/src/forms/form-renderer.tsx +44 -30
- package/src/icons/source/icon-infonomic.svg +2 -2
- package/src/loaders/ellipses.module.css +2 -2
- package/src/loaders/ellipses.tsx +2 -2
- package/src/loaders/ring.module.css +2 -2
- package/src/loaders/ring.tsx +2 -2
- package/src/loaders/spinner.module.css +3 -3
- package/src/loaders/spinner.tsx +3 -6
- package/src/styles/styles.css +12 -0
- package/src/widgets/datepicker/datepicker.module.css +15 -15
- package/src/widgets/datepicker/datepicker.tsx +11 -21
- package/src/widgets/drawer/drawer-container.tsx +1 -1
- package/src/widgets/drawer/drawer-content.tsx +1 -1
- package/src/widgets/drawer/drawer-header.tsx +1 -1
- package/src/widgets/drawer/drawer-top-actions.tsx +1 -1
- package/src/widgets/drawer/drawer.module.css +11 -11
- package/src/widgets/drawer/drawer.tsx +2 -2
- package/src/widgets/modal/modal-actions.tsx +1 -1
- package/src/widgets/modal/modal-container.tsx +1 -1
- package/src/widgets/modal/modal-content.tsx +1 -1
- package/src/widgets/modal/modal-header.tsx +1 -1
- package/src/widgets/modal/modal.module.css +12 -12
- package/src/widgets/modal/modal.tsx +2 -2
- package/src/widgets/search/search.tsx +2 -0
- package/src/widgets/timeline/timeline.module.css +10 -10
|
@@ -41,6 +41,7 @@ interface FormContextType {
|
|
|
41
41
|
runFieldHooks: (fields: Field[]) => Promise<FormError[]>;
|
|
42
42
|
validateForm: (fields: Field[]) => FormError[];
|
|
43
43
|
errors: FormError[];
|
|
44
|
+
getErrors: () => FormError[];
|
|
44
45
|
clearErrors: () => void;
|
|
45
46
|
setFieldError: (field: string, message: string) => void;
|
|
46
47
|
clearFieldError: (field: string) => void;
|
|
@@ -330,6 +330,7 @@ const FormProvider = ({ children, initialData = {} })=>{
|
|
|
330
330
|
runFieldHooks,
|
|
331
331
|
validateForm,
|
|
332
332
|
errors: errorsRef.current,
|
|
333
|
+
getErrors: ()=>errorsRef.current,
|
|
333
334
|
clearErrors,
|
|
334
335
|
setFieldError,
|
|
335
336
|
clearFieldError,
|
|
@@ -359,8 +360,8 @@ const useSystemPath = ()=>{
|
|
|
359
360
|
};
|
|
360
361
|
const useFormStore = ()=>useFormContext();
|
|
361
362
|
const useFieldError = (name)=>{
|
|
362
|
-
const {
|
|
363
|
-
const [error, setError] = useState(
|
|
363
|
+
const { getErrors, subscribeErrors } = useFormContext();
|
|
364
|
+
const [error, setError] = useState(()=>getErrors().find((e)=>e.field === name)?.message);
|
|
364
365
|
useEffect(()=>{
|
|
365
366
|
const unsubscribe = subscribeErrors((currentErrors)=>{
|
|
366
367
|
const fieldError = currentErrors.find((e)=>e.field === name);
|
|
@@ -107,16 +107,19 @@ const FormStatusDisplay = ({ initialData, workflowStatuses, publishedVersion, on
|
|
|
107
107
|
function computeStatusTransitions(currentStatus, workflowStatuses, nextStatus) {
|
|
108
108
|
if (!workflowStatuses || 0 === workflowStatuses.length || !currentStatus) return {
|
|
109
109
|
primaryStatus: nextStatus,
|
|
110
|
-
secondaryStatuses: []
|
|
110
|
+
secondaryStatuses: [],
|
|
111
|
+
isTerminal: false
|
|
111
112
|
};
|
|
112
113
|
if (workflowStatuses.length <= 1) return {
|
|
113
114
|
primaryStatus: void 0,
|
|
114
|
-
secondaryStatuses: []
|
|
115
|
+
secondaryStatuses: [],
|
|
116
|
+
isTerminal: false
|
|
115
117
|
};
|
|
116
118
|
const currentIndex = workflowStatuses.findIndex((s)=>s.name === currentStatus);
|
|
117
119
|
if (-1 === currentIndex) return {
|
|
118
120
|
primaryStatus: nextStatus,
|
|
119
|
-
secondaryStatuses: []
|
|
121
|
+
secondaryStatuses: [],
|
|
122
|
+
isTerminal: false
|
|
120
123
|
};
|
|
121
124
|
const isAtEnd = currentIndex === workflowStatuses.length - 1;
|
|
122
125
|
const isAtStart = 0 === currentIndex;
|
|
@@ -124,19 +127,15 @@ function computeStatusTransitions(currentStatus, workflowStatuses, nextStatus) {
|
|
|
124
127
|
if (!isAtStart && workflowStatuses[0]) availableTargets.push(workflowStatuses[0]);
|
|
125
128
|
if (currentIndex > 1 && workflowStatuses[currentIndex - 1]) availableTargets.push(workflowStatuses[currentIndex - 1]);
|
|
126
129
|
if (!isAtEnd && workflowStatuses[currentIndex + 1]) availableTargets.push(workflowStatuses[currentIndex + 1]);
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
secondaryStatuses = availableTargets.filter((s)=>s.name !== prevStatus?.name);
|
|
133
|
-
} else {
|
|
134
|
-
primaryStatus = nextStatus;
|
|
135
|
-
secondaryStatuses = availableTargets.filter((s)=>s.name !== nextStatus?.name);
|
|
136
|
-
}
|
|
130
|
+
if (isAtEnd) return {
|
|
131
|
+
primaryStatus: workflowStatuses[currentIndex],
|
|
132
|
+
secondaryStatuses: availableTargets,
|
|
133
|
+
isTerminal: true
|
|
134
|
+
};
|
|
137
135
|
return {
|
|
138
|
-
primaryStatus,
|
|
139
|
-
secondaryStatuses
|
|
136
|
+
primaryStatus: nextStatus,
|
|
137
|
+
secondaryStatuses: availableTargets.filter((s)=>s.name !== nextStatus?.name),
|
|
138
|
+
isTerminal: false
|
|
140
139
|
};
|
|
141
140
|
}
|
|
142
141
|
const FormContent = ({ mode, fields, onSubmit, onCancel, onStatusChange, onUnpublish, onDelete, onDuplicate, onCopyToLocale, contentLocales, nextStatus, workflowStatuses, publishedVersion, initialData, adminConfig, useAsTitle, useAsPath, headingLabel, headerSlot, collectionPath, initialLocale, onLocaleChange, defaultLocale = 'en', useNavigationGuard: useNavigationGuardProp, restoreWarnings, _activeTabBySet, _onTabChange })=>{
|
|
@@ -245,7 +244,7 @@ const FormContent = ({ mode, fields, onSubmit, onCancel, onStatusChange, onUnpub
|
|
|
245
244
|
const useGuard = useNavigationGuardProp ?? guardFromContext;
|
|
246
245
|
const guard = useGuard(hasChanges);
|
|
247
246
|
const currentStatus = initialData?.status;
|
|
248
|
-
const { primaryStatus, secondaryStatuses } = computeStatusTransitions(currentStatus, workflowStatuses, nextStatus);
|
|
247
|
+
const { primaryStatus, secondaryStatuses, isTerminal } = computeStatusTransitions(currentStatus, workflowStatuses, nextStatus);
|
|
249
248
|
useEffect(()=>subscribeErrors((newErrors)=>setErrors(newErrors)), [
|
|
250
249
|
subscribeErrors
|
|
251
250
|
]);
|
|
@@ -415,13 +414,13 @@ const FormContent = ({ mode, fields, onSubmit, onCancel, onStatusChange, onUnpub
|
|
|
415
414
|
buttonClassName: classnames('byline-form-actions-combo-button', form_renderer_module["actions-combo-button"]),
|
|
416
415
|
triggerClassName: classnames('byline-form-actions-combo-trigger', form_renderer_module["actions-combo-trigger"]),
|
|
417
416
|
options: secondaryStatuses.map((s)=>({
|
|
418
|
-
label: s.verb ?? s.label ?? s.name,
|
|
417
|
+
label: isTerminal ? `Revert to ${s.label ?? s.name}` : s.verb ?? s.label ?? s.name,
|
|
419
418
|
value: s.name
|
|
420
419
|
})),
|
|
421
420
|
sideOffset: 5,
|
|
422
421
|
size: "sm",
|
|
423
422
|
type: "button",
|
|
424
|
-
intent:
|
|
423
|
+
intent: isTerminal ? 'info' : 'success',
|
|
425
424
|
disabled: statusBusy,
|
|
426
425
|
onOptionSelect: async (value)=>{
|
|
427
426
|
setStatusBusy(true);
|
|
@@ -431,7 +430,7 @@ const FormContent = ({ mode, fields, onSubmit, onCancel, onStatusChange, onUnpub
|
|
|
431
430
|
setStatusBusy(false);
|
|
432
431
|
}
|
|
433
432
|
},
|
|
434
|
-
onButtonClick: async ()=>{
|
|
433
|
+
onButtonClick: isTerminal ? void 0 : async ()=>{
|
|
435
434
|
setStatusBusy(true);
|
|
436
435
|
try {
|
|
437
436
|
await onStatusChange(primaryStatus.name);
|
|
@@ -439,7 +438,7 @@ const FormContent = ({ mode, fields, onSubmit, onCancel, onStatusChange, onUnpub
|
|
|
439
438
|
setStatusBusy(false);
|
|
440
439
|
}
|
|
441
440
|
},
|
|
442
|
-
children: statusBusy ? '...' : primaryStatus.verb ?? primaryStatus.label ?? primaryStatus.name
|
|
441
|
+
children: statusBusy ? '...' : isTerminal ? primaryStatus.label ?? primaryStatus.name : primaryStatus.verb ?? primaryStatus.label ?? primaryStatus.name
|
|
443
442
|
})
|
|
444
443
|
}),
|
|
445
444
|
/*#__PURE__*/ jsx(DocumentActions, {
|
package/dist/loaders/ellipses.js
CHANGED
|
@@ -10,10 +10,10 @@ function LoaderEllipsis({ color, size, className, style, ...rest }) {
|
|
|
10
10
|
const circles = [
|
|
11
11
|
...Array(4)
|
|
12
12
|
].map((_, index)=>/*#__PURE__*/ jsx("div", {
|
|
13
|
-
className: classnames('
|
|
13
|
+
className: classnames('byline-loader-ellipsis-dot', ellipses_module["loader-ellipsis-dot"])
|
|
14
14
|
}, index));
|
|
15
15
|
return /*#__PURE__*/ jsx("div", {
|
|
16
|
-
className: classnames('
|
|
16
|
+
className: classnames('byline-loader-ellipsis', ellipses_module["loader-ellipsis"], className),
|
|
17
17
|
style: ellipsisStyle,
|
|
18
18
|
...rest,
|
|
19
19
|
children: circles
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
|
-
:is(.loader-ellipsis-KxN5UN, .
|
|
4
|
+
:is(.loader-ellipsis-KxN5UN, .byline-loader-ellipsis) {
|
|
5
5
|
--_size: var(--loader-ellipsis-size, 80px);
|
|
6
6
|
--_color: var(--loader-ellipsis-color, var(--loader-color, currentColor));
|
|
7
7
|
width: var(--_size);
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
position: relative;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
:is(.loader-ellipsis-dot-o11IHe, .
|
|
13
|
+
:is(.loader-ellipsis-dot-o11IHe, .byline-loader-ellipsis-dot) {
|
|
14
14
|
background: var(--_color);
|
|
15
15
|
border-radius: 50%;
|
|
16
16
|
width: 16.25%;
|
package/dist/loaders/ring.js
CHANGED
|
@@ -10,10 +10,10 @@ function LoaderRing({ color, size, className, style, ...rest }) {
|
|
|
10
10
|
const circles = [
|
|
11
11
|
...Array(4)
|
|
12
12
|
].map((_, index)=>/*#__PURE__*/ jsx("div", {
|
|
13
|
-
className: classnames('
|
|
13
|
+
className: classnames('byline-loader-ring-arc', ring_module["loader-ring-arc"])
|
|
14
14
|
}, index));
|
|
15
15
|
return /*#__PURE__*/ jsx("div", {
|
|
16
|
-
className: classnames('
|
|
16
|
+
className: classnames('byline-loader-ring', ring_module["loader-ring"], className),
|
|
17
17
|
style: ringStyle,
|
|
18
18
|
...rest,
|
|
19
19
|
children: circles
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
|
-
:is(.loader-ring-qd6bmX, .
|
|
4
|
+
:is(.loader-ring-qd6bmX, .byline-loader-ring) {
|
|
5
5
|
--_size: var(--loader-ring-size, 60px);
|
|
6
6
|
--_color: var(--loader-ring-color, var(--loader-color, currentColor));
|
|
7
7
|
width: var(--_size);
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
position: relative;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
:is(.loader-ring-arc-MS2FMV, .
|
|
13
|
+
:is(.loader-ring-arc-MS2FMV, .byline-loader-ring-arc) {
|
|
14
14
|
box-sizing: border-box;
|
|
15
15
|
width: calc(var(--_size) * .8);
|
|
16
16
|
height: calc(var(--_size) * .8);
|
package/dist/loaders/spinner.js
CHANGED
|
@@ -5,9 +5,9 @@ function LoaderSpinner({ color, size, className, style, ...rest }) {
|
|
|
5
5
|
const circles = [
|
|
6
6
|
...Array(12)
|
|
7
7
|
].map((_, index)=>/*#__PURE__*/ jsx("div", {
|
|
8
|
-
className: classnames('
|
|
8
|
+
className: classnames('byline-loader-spinner-blade', spinner_module["loader-spinner-blade"]),
|
|
9
9
|
children: /*#__PURE__*/ jsx("div", {
|
|
10
|
-
className: classnames('
|
|
10
|
+
className: classnames('byline-loader-spinner-blade-inner', spinner_module["loader-spinner-blade-inner"])
|
|
11
11
|
})
|
|
12
12
|
}, index));
|
|
13
13
|
const spinnerStyle = {
|
|
@@ -16,7 +16,7 @@ function LoaderSpinner({ color, size, className, style, ...rest }) {
|
|
|
16
16
|
if (null != size) spinnerStyle['--loader-spinner-size'] = 'number' == typeof size ? `${size}px` : size;
|
|
17
17
|
if (color) spinnerStyle['--loader-spinner-color'] = color;
|
|
18
18
|
return /*#__PURE__*/ jsx("div", {
|
|
19
|
-
className: classnames('
|
|
19
|
+
className: classnames('byline-loader-spinner', spinner_module["loader-spinner"], className),
|
|
20
20
|
style: spinnerStyle,
|
|
21
21
|
...rest,
|
|
22
22
|
children: circles
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
|
-
:is(.loader-spinner-QHtGI_, .
|
|
4
|
+
:is(.loader-spinner-QHtGI_, .byline-loader-spinner) {
|
|
5
5
|
--_size: var(--loader-spinner-size, 56px);
|
|
6
6
|
--_color: var(--loader-spinner-color, var(--loader-color, currentColor));
|
|
7
7
|
width: var(--_size);
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
position: relative;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
:is(.loader-spinner-blade-DQvsAd, .
|
|
13
|
+
:is(.loader-spinner-blade-DQvsAd, .byline-loader-spinner-blade) {
|
|
14
14
|
transform-origin: calc(var(--_size) * .5) calc(var(--_size) * .5714);
|
|
15
15
|
animation: 1.2s linear infinite loader-spinner-QHtGI_;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
:is(.loader-spinner-blade-inner-rWTE9U, .
|
|
18
|
+
:is(.loader-spinner-blade-inner-rWTE9U, .byline-loader-spinner-blade-inner) {
|
|
19
19
|
top: 0;
|
|
20
20
|
left: calc(var(--_size) * .4464);
|
|
21
21
|
width: calc(var(--_size) * .0893);
|
package/dist/styles/styles.css
CHANGED
|
@@ -1599,3 +1599,15 @@
|
|
|
1599
1599
|
.byline-ui {
|
|
1600
1600
|
isolation: isolate;
|
|
1601
1601
|
}
|
|
1602
|
+
|
|
1603
|
+
.sr-only {
|
|
1604
|
+
clip: rect(0, 0, 0, 0);
|
|
1605
|
+
white-space: nowrap;
|
|
1606
|
+
border-width: 0;
|
|
1607
|
+
width: 1px;
|
|
1608
|
+
height: 1px;
|
|
1609
|
+
margin: -1px;
|
|
1610
|
+
padding: 0;
|
|
1611
|
+
position: absolute;
|
|
1612
|
+
overflow: hidden;
|
|
1613
|
+
}
|
|
@@ -47,7 +47,7 @@ function DatePicker({ id, name, label, required, initialValue, mode = 'datetime'
|
|
|
47
47
|
}
|
|
48
48
|
});
|
|
49
49
|
return /*#__PURE__*/ jsxs("div", {
|
|
50
|
-
className: classnames('
|
|
50
|
+
className: classnames('byline-datepicker-container', datepicker_module.container, containerClassName),
|
|
51
51
|
children: [
|
|
52
52
|
/*#__PURE__*/ jsx("div", {
|
|
53
53
|
style: {
|
|
@@ -65,8 +65,8 @@ function DatePicker({ id, name, label, required, initialValue, mode = 'datetime'
|
|
|
65
65
|
intent: intent,
|
|
66
66
|
inputSize: inputSize,
|
|
67
67
|
ref: inputRef,
|
|
68
|
-
className: classnames('
|
|
69
|
-
inputWrapperClassName: classnames('
|
|
68
|
+
className: classnames('byline-datepicker-input', datepicker_module.input, inputClassName),
|
|
69
|
+
inputWrapperClassName: classnames('byline-datepicker-input-wrapper', datepicker_module["input-wrapper"], inputWrapperClassName),
|
|
70
70
|
onKeyDown: handleOnKeyDown,
|
|
71
71
|
onClick: (e)=>{
|
|
72
72
|
e.preventDefault();
|
|
@@ -135,10 +135,10 @@ function DatePicker({ id, name, label, required, initialValue, mode = 'datetime'
|
|
|
135
135
|
children: /*#__PURE__*/ jsx(Popover.Positioner, {
|
|
136
136
|
sideOffset: 5,
|
|
137
137
|
children: /*#__PURE__*/ jsxs(Popover.Popup, {
|
|
138
|
-
className: classnames('
|
|
138
|
+
className: classnames('byline-datepicker-content', datepicker_module.content, contentClassName),
|
|
139
139
|
children: [
|
|
140
140
|
/*#__PURE__*/ jsxs("div", {
|
|
141
|
-
className: classnames('
|
|
141
|
+
className: classnames('byline-datepicker-content-components', datepicker_module["content-components"]),
|
|
142
142
|
children: [
|
|
143
143
|
/*#__PURE__*/ jsx("div", {
|
|
144
144
|
ref: calendarRef,
|
|
@@ -196,20 +196,20 @@ function DatePicker({ id, name, label, required, initialValue, mode = 'datetime'
|
|
|
196
196
|
]
|
|
197
197
|
}),
|
|
198
198
|
/*#__PURE__*/ jsxs("div", {
|
|
199
|
-
className: classnames('
|
|
199
|
+
className: classnames('byline-datepicker-status-and-actions', datepicker_module["status-and-actions"]),
|
|
200
200
|
children: [
|
|
201
201
|
/*#__PURE__*/ jsx("div", {
|
|
202
|
-
className: classnames('
|
|
202
|
+
className: classnames('byline-datepicker-content-status', datepicker_module["content-status"]),
|
|
203
203
|
children: date ? format(date, 'datetime' === mode ? 'PPPp' : 'PPP') : 'No date selected'
|
|
204
204
|
}),
|
|
205
205
|
/*#__PURE__*/ jsxs("div", {
|
|
206
|
-
className: classnames('
|
|
206
|
+
className: classnames('byline-datepicker-content-actions', datepicker_module["content-actions"]),
|
|
207
207
|
children: [
|
|
208
208
|
/*#__PURE__*/ jsx("div", {
|
|
209
209
|
children: /*#__PURE__*/ jsx(Button, {
|
|
210
210
|
variant: "outlined",
|
|
211
211
|
size: "sm",
|
|
212
|
-
className: classnames('
|
|
212
|
+
className: classnames('byline-datepicker-content-actions-button', datepicker_module["content-actions-button"]),
|
|
213
213
|
onClick: ()=>{
|
|
214
214
|
const today = new Date();
|
|
215
215
|
setDate(today);
|
|
@@ -228,7 +228,7 @@ function DatePicker({ id, name, label, required, initialValue, mode = 'datetime'
|
|
|
228
228
|
/*#__PURE__*/ jsx(Button, {
|
|
229
229
|
size: "sm",
|
|
230
230
|
intent: "noeffect",
|
|
231
|
-
className: classnames('
|
|
231
|
+
className: classnames('byline-datepicker-content-actions-button', datepicker_module["content-actions-button"]),
|
|
232
232
|
onClick: ()=>{
|
|
233
233
|
setIsOpen(false);
|
|
234
234
|
},
|
|
@@ -237,7 +237,7 @@ function DatePicker({ id, name, label, required, initialValue, mode = 'datetime'
|
|
|
237
237
|
/*#__PURE__*/ jsx(Button, {
|
|
238
238
|
variant: "outlined",
|
|
239
239
|
size: "sm",
|
|
240
|
-
className: classnames('
|
|
240
|
+
className: classnames('byline-datepicker-content-actions-button', datepicker_module["content-actions-button"]),
|
|
241
241
|
onClick: ()=>{
|
|
242
242
|
setIsOpen(false);
|
|
243
243
|
handleOnDateChange(date);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
|
-
:is(.container-u5_VUp, .
|
|
4
|
+
:is(.container-u5_VUp, .byline-datepicker-container) {
|
|
5
5
|
position: relative;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
:is(.input-SaODq9, .input-wrapper-qwAckv, .
|
|
8
|
+
:is(.input-SaODq9, .input-wrapper-qwAckv, .byline-datepicker-input, .byline-datepicker-input-wrapper) {
|
|
9
9
|
width: 100%;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
:is(.content-UK9iLF, .
|
|
12
|
+
:is(.content-UK9iLF, .byline-datepicker-content) {
|
|
13
13
|
z-index: 50;
|
|
14
14
|
width: 100%;
|
|
15
15
|
padding-top: var(--spacing-16);
|
|
@@ -25,23 +25,23 @@
|
|
|
25
25
|
animation-timing-function: cubic-bezier(.16, 1, .3, 1);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
:is(.content-UK9iLF, .
|
|
28
|
+
:is(.content-UK9iLF, .byline-datepicker-content):focus {
|
|
29
29
|
box-shadow: var(--shadow-md);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
:is(.content-UK9iLF, .
|
|
32
|
+
:is(.content-UK9iLF, .byline-datepicker-content)[data-open][data-side="top"] {
|
|
33
33
|
animation-name: slideDownAndFade-dohHTE;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
:is(.content-UK9iLF, .
|
|
36
|
+
:is(.content-UK9iLF, .byline-datepicker-content)[data-open][data-side="right"] {
|
|
37
37
|
animation-name: slideLeftAndFade-ugM6Hs;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
:is(.content-UK9iLF, .
|
|
40
|
+
:is(.content-UK9iLF, .byline-datepicker-content)[data-open][data-side="bottom"] {
|
|
41
41
|
animation-name: slideUpAndFade-bAwQJS;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
:is(.content-UK9iLF, .
|
|
44
|
+
:is(.content-UK9iLF, .byline-datepicker-content)[data-open][data-side="left"] {
|
|
45
45
|
animation-name: slideRightAndFade-o0jl7q;
|
|
46
46
|
}
|
|
47
47
|
|
|
@@ -49,13 +49,13 @@
|
|
|
49
49
|
background: var(--canvas-800);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
:is(.content-components-jcG649, .
|
|
52
|
+
:is(.content-components-jcG649, .byline-datepicker-content-components) {
|
|
53
53
|
gap: var(--spacing-8);
|
|
54
54
|
width: 100%;
|
|
55
55
|
display: flex;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
:is(.status-and-actions-Px_b57, .
|
|
58
|
+
:is(.status-and-actions-Px_b57, .byline-datepicker-status-and-actions) {
|
|
59
59
|
flex-direction: column;
|
|
60
60
|
justify-content: space-between;
|
|
61
61
|
align-items: center;
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
display: flex;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
:is(.content-status-XRGKXg, .
|
|
66
|
+
:is(.content-status-XRGKXg, .byline-datepicker-content-status) {
|
|
67
67
|
padding-left: var(--spacing-16);
|
|
68
68
|
padding-right: var(--spacing-8);
|
|
69
69
|
font-size: var(--font-size-sm);
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
display: flex;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
:is(.content-actions-GVU14S, .
|
|
76
|
+
:is(.content-actions-GVU14S, .byline-datepicker-content-actions) {
|
|
77
77
|
margin-top: var(--spacing-12);
|
|
78
78
|
padding-left: var(--spacing-16);
|
|
79
79
|
padding-right: var(--spacing-6);
|
|
@@ -84,15 +84,15 @@
|
|
|
84
84
|
display: flex;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
:is(.content-actions-button-YCN1ho, .
|
|
87
|
+
:is(.content-actions-button-YCN1ho, .byline-datepicker-content-actions-button) {
|
|
88
88
|
--ring-color: var(--violet-7);
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
:is(.arrow-mhGcHb, .
|
|
91
|
+
:is(.arrow-mhGcHb, .byline-datepicker-arrow) {
|
|
92
92
|
fill: var(--gray-50);
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
:is(.close-bJApom, .
|
|
95
|
+
:is(.close-bJApom, .byline-datepicker-close) {
|
|
96
96
|
all: unset;
|
|
97
97
|
width: 25px;
|
|
98
98
|
height: 25px;
|
|
@@ -107,25 +107,25 @@
|
|
|
107
107
|
right: 5px;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
:is(.close-bJApom, .
|
|
110
|
+
:is(.close-bJApom, .byline-datepicker-close):hover {
|
|
111
111
|
background-color: var(--primary-400);
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
:is(.close-bJApom, .
|
|
114
|
+
:is(.close-bJApom, .byline-datepicker-close):focus {
|
|
115
115
|
box-shadow: 0 0 0 2px var(--primary-600);
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
:is(.time-picker-container-sVEGKe, .
|
|
118
|
+
:is(.time-picker-container-sVEGKe, .byline-datepicker-time-picker-container) {
|
|
119
119
|
width: 80px;
|
|
120
120
|
margin: .6rem .5rem 1rem 0;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
:is(.time-picker-scroll-area-q5TiRD, .
|
|
123
|
+
:is(.time-picker-scroll-area-q5TiRD, .byline-datepicker-time-picker-scroll-area) {
|
|
124
124
|
height: 280px;
|
|
125
125
|
padding-right: var(--spacing-16);
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
:is(.time-picker-Xhertk, .
|
|
128
|
+
:is(.time-picker-Xhertk, .byline-datepicker-time-picker) {
|
|
129
129
|
padding-left: var(--spacing-4);
|
|
130
130
|
padding-right: var(--spacing-4);
|
|
131
131
|
flex-direction: column;
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
display: flex;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
:is(.time-picker-button-WA4IUz, .
|
|
136
|
+
:is(.time-picker-button-WA4IUz, .byline-datepicker-time-picker-button) {
|
|
137
137
|
width: 100%;
|
|
138
138
|
}
|
|
139
139
|
|
|
@@ -5,7 +5,7 @@ import drawer_module from "./drawer.module.js";
|
|
|
5
5
|
function DrawerContainer({ ref, children, className, ...rest }) {
|
|
6
6
|
return /*#__PURE__*/ jsx("div", {
|
|
7
7
|
ref: ref,
|
|
8
|
-
className: classnames('
|
|
8
|
+
className: classnames('byline-drawer-container', drawer_module["drawer-container"], className),
|
|
9
9
|
...rest,
|
|
10
10
|
children: children
|
|
11
11
|
});
|
|
@@ -6,7 +6,7 @@ function DrawerContent({ ref, children, className, ...rest }) {
|
|
|
6
6
|
return /*#__PURE__*/ jsx("div", {
|
|
7
7
|
ref: ref,
|
|
8
8
|
...rest,
|
|
9
|
-
className: classnames('
|
|
9
|
+
className: classnames('byline-drawer-content', drawer_module["drawer-content"], className),
|
|
10
10
|
children: children
|
|
11
11
|
});
|
|
12
12
|
}
|
|
@@ -3,7 +3,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import classnames from "classnames";
|
|
4
4
|
import drawer_module from "./drawer.module.js";
|
|
5
5
|
const drawer_header_DrawerHeader = function({ ref, children, className, ...rest }) {
|
|
6
|
-
const classes = classnames('
|
|
6
|
+
const classes = classnames('byline-drawer-header', drawer_module["drawer-header"], className);
|
|
7
7
|
return /*#__PURE__*/ jsx("div", {
|
|
8
8
|
style: {
|
|
9
9
|
overflowWrap: 'anywhere'
|
|
@@ -3,7 +3,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import classnames from "classnames";
|
|
4
4
|
import drawer_module from "./drawer.module.js";
|
|
5
5
|
const DrawerTopActions = function({ ref, children, className, ...rest }) {
|
|
6
|
-
const classes = classnames('
|
|
6
|
+
const classes = classnames('byline-drawer-top-actions', drawer_module["drawer-top-actions"], className);
|
|
7
7
|
return /*#__PURE__*/ jsx("div", {
|
|
8
8
|
style: {
|
|
9
9
|
whiteSpace: 'nowrap'
|
|
@@ -35,13 +35,13 @@ const drawer_Drawer = ({ id, isOpen, onDismiss, closeOnOverlayClick, children, w
|
|
|
35
35
|
children: /*#__PURE__*/ jsxs(Drawer.Portal, {
|
|
36
36
|
children: [
|
|
37
37
|
/*#__PURE__*/ jsx(Drawer.Backdrop, {
|
|
38
|
-
className: classnames('
|
|
38
|
+
className: classnames('byline-drawer-backdrop', drawer_module.backdrop),
|
|
39
39
|
style: hasTopOffset ? {
|
|
40
40
|
top: topOffset
|
|
41
41
|
} : void 0
|
|
42
42
|
}),
|
|
43
43
|
/*#__PURE__*/ jsx(Drawer.Popup, {
|
|
44
|
-
className: classnames('
|
|
44
|
+
className: classnames('byline-drawer-wrapper', drawer_module["drawer-wrapper"], typedStyles[`drawer-${width}`], typedStyles[`drawer-depth-${depth.toString()}`], className),
|
|
45
45
|
style: hasTopOffset ? {
|
|
46
46
|
top: topOffset
|
|
47
47
|
} : void 0,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
|
-
:is(.backdrop-Ga1s55, .
|
|
4
|
+
:is(.backdrop-Ga1s55, .byline-drawer-backdrop) {
|
|
5
5
|
background-color: #f5f5f559;
|
|
6
6
|
transition: opacity .2s;
|
|
7
7
|
position: fixed;
|
|
@@ -20,15 +20,15 @@
|
|
|
20
20
|
background-color: #00000080;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
.dark .
|
|
23
|
+
.dark .byline-drawer-backdrop {
|
|
24
24
|
background-color: #00000080;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
[data-theme="dark"] .
|
|
27
|
+
[data-theme="dark"] .byline-drawer-backdrop {
|
|
28
28
|
background-color: #00000080;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
:is(.drawer-wrapper-q0hBzd, .
|
|
31
|
+
:is(.drawer-wrapper-q0hBzd, .byline-drawer-wrapper) {
|
|
32
32
|
background-color: var(--surface-panel);
|
|
33
33
|
box-shadow: var(--shadow-md);
|
|
34
34
|
flex-direction: column;
|
|
@@ -53,11 +53,11 @@
|
|
|
53
53
|
transition: none;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
:is(.drawer-container-ssf1qn, .
|
|
56
|
+
:is(.drawer-container-ssf1qn, .byline-drawer-container) {
|
|
57
57
|
height: 100%;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
:is(.drawer-narrow-lsLgHp, .
|
|
60
|
+
:is(.drawer-narrow-lsLgHp, .byline-drawer-narrow) {
|
|
61
61
|
width: calc(100% - 32px);
|
|
62
62
|
max-width: 400px;
|
|
63
63
|
}
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
:is(.drawer-top-actions-FiHu4U, .
|
|
91
|
+
:is(.drawer-top-actions-FiHu4U, .byline-drawer-top-actions) {
|
|
92
92
|
padding-top: var(--spacing-12);
|
|
93
93
|
padding-left: var(--spacing-12);
|
|
94
94
|
padding-right: var(--spacing-12);
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
display: flex;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
:is(.drawer-header-BtfxvF, .
|
|
102
|
+
:is(.drawer-header-BtfxvF, .byline-drawer-header) {
|
|
103
103
|
justify-content: space-between;
|
|
104
104
|
align-items: center;
|
|
105
105
|
gap: var(--gap-3);
|
|
@@ -114,15 +114,15 @@
|
|
|
114
114
|
margin: 0;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
.
|
|
117
|
+
.byline-drawer-header h2 {
|
|
118
118
|
margin: 0;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
.
|
|
121
|
+
.byline-drawer-header h3 {
|
|
122
122
|
margin: 0;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
:is(.drawer-content-QQqzOR, .
|
|
125
|
+
:is(.drawer-content-QQqzOR, .byline-drawer-content) {
|
|
126
126
|
padding: var(--spacing-12);
|
|
127
127
|
}
|
|
128
128
|
}
|
|
@@ -6,7 +6,7 @@ const modal_actions_ModalActions = function({ ref, children, className, ...rest
|
|
|
6
6
|
return /*#__PURE__*/ jsx("div", {
|
|
7
7
|
ref: ref,
|
|
8
8
|
...rest,
|
|
9
|
-
className: classnames('
|
|
9
|
+
className: classnames('byline-modal-actions', modal_module["modal-actions"], className),
|
|
10
10
|
children: children
|
|
11
11
|
});
|
|
12
12
|
};
|
|
@@ -5,7 +5,7 @@ import modal_module from "./modal.module.js";
|
|
|
5
5
|
const modal_container_ModalContainer = function({ ref, children, className, ...rest }) {
|
|
6
6
|
return /*#__PURE__*/ jsx("div", {
|
|
7
7
|
ref: ref,
|
|
8
|
-
className: classnames('
|
|
8
|
+
className: classnames('byline-modal-container', modal_module["modal-container"], className),
|
|
9
9
|
...rest,
|
|
10
10
|
children: children
|
|
11
11
|
});
|
|
@@ -6,7 +6,7 @@ const modal_content_ModalContent = function({ ref, children, className, ...rest
|
|
|
6
6
|
return /*#__PURE__*/ jsx("div", {
|
|
7
7
|
ref: ref,
|
|
8
8
|
...rest,
|
|
9
|
-
className: classnames('
|
|
9
|
+
className: classnames('byline-modal-content', modal_module["modal-content"], className),
|
|
10
10
|
children: children
|
|
11
11
|
});
|
|
12
12
|
};
|
|
@@ -3,7 +3,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import classnames from "classnames";
|
|
4
4
|
import modal_module from "./modal.module.js";
|
|
5
5
|
const modal_header_ModalHeader = function({ ref, children, className, ...rest }) {
|
|
6
|
-
const classes = classnames('
|
|
6
|
+
const classes = classnames('byline-modal-header', modal_module["modal-header"], 'prose', className);
|
|
7
7
|
return /*#__PURE__*/ jsx("div", {
|
|
8
8
|
style: {
|
|
9
9
|
overflowWrap: 'anywhere'
|