@byline/ui 1.10.2 → 1.11.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.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 +38 -38
- 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 +35 -35
- 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 +24 -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/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 +4 -4
- 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 +50 -50
- 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 +45 -45
- 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 +33 -33
- 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 +26 -26
- 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 +6 -6
- 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/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
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
/* Backdrop overlay (replaces previous Overlay component) */
|
|
13
13
|
|
|
14
14
|
.backdrop,
|
|
15
|
-
:global(.
|
|
15
|
+
:global(.byline-drawer-backdrop) {
|
|
16
16
|
position: fixed;
|
|
17
17
|
top: 0;
|
|
18
18
|
left: 0;
|
|
@@ -29,15 +29,15 @@
|
|
|
29
29
|
|
|
30
30
|
:global(.dark) .backdrop,
|
|
31
31
|
:global([data-theme="dark"]) .backdrop,
|
|
32
|
-
:global(.dark .
|
|
33
|
-
:global([data-theme="dark"] .
|
|
32
|
+
:global(.dark .byline-drawer-backdrop),
|
|
33
|
+
:global([data-theme="dark"] .byline-drawer-backdrop) {
|
|
34
34
|
background-color: rgba(0, 0, 0, 0.5);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
/* Drawer wrapper / popup — the sliding panel itself */
|
|
38
38
|
|
|
39
39
|
.drawer-wrapper,
|
|
40
|
-
:global(.
|
|
40
|
+
:global(.byline-drawer-wrapper) {
|
|
41
41
|
position: fixed;
|
|
42
42
|
display: flex;
|
|
43
43
|
flex-direction: column;
|
|
@@ -66,14 +66,14 @@
|
|
|
66
66
|
/* Container (inner wrapper, no longer needs positioning) */
|
|
67
67
|
|
|
68
68
|
.drawer-container,
|
|
69
|
-
:global(.
|
|
69
|
+
:global(.byline-drawer-container) {
|
|
70
70
|
height: 100%;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
/* Width variant: narrow */
|
|
74
74
|
|
|
75
75
|
.drawer-narrow,
|
|
76
|
-
:global(.
|
|
76
|
+
:global(.byline-drawer-narrow) {
|
|
77
77
|
width: calc(100% - 32px);
|
|
78
78
|
max-width: 400px;
|
|
79
79
|
}
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
/* Sub-component styles */
|
|
113
113
|
|
|
114
114
|
.drawer-top-actions,
|
|
115
|
-
:global(.
|
|
115
|
+
:global(.byline-drawer-top-actions) {
|
|
116
116
|
display: flex;
|
|
117
117
|
align-items: center;
|
|
118
118
|
justify-content: flex-end;
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
.drawer-header,
|
|
127
|
-
:global(.
|
|
127
|
+
:global(.byline-drawer-header) {
|
|
128
128
|
display: flex;
|
|
129
129
|
align-items: center;
|
|
130
130
|
justify-content: space-between;
|
|
@@ -137,13 +137,13 @@
|
|
|
137
137
|
|
|
138
138
|
.drawer-header h2,
|
|
139
139
|
.drawer-header h3,
|
|
140
|
-
:global(.
|
|
141
|
-
:global(.
|
|
140
|
+
:global(.byline-drawer-header h2),
|
|
141
|
+
:global(.byline-drawer-header h3) {
|
|
142
142
|
margin: 0;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
.drawer-content,
|
|
146
|
-
:global(.
|
|
146
|
+
:global(.byline-drawer-content) {
|
|
147
147
|
padding: var(--spacing-12);
|
|
148
148
|
}
|
|
149
149
|
}
|
|
@@ -68,12 +68,12 @@ const Drawer = ({
|
|
|
68
68
|
>
|
|
69
69
|
<BaseDrawer.Portal>
|
|
70
70
|
<BaseDrawer.Backdrop
|
|
71
|
-
className={cx('
|
|
71
|
+
className={cx('byline-drawer-backdrop', styles.backdrop)}
|
|
72
72
|
style={hasTopOffset ? { top: topOffset } : undefined}
|
|
73
73
|
/>
|
|
74
74
|
<BaseDrawer.Popup
|
|
75
75
|
className={cx(
|
|
76
|
-
'
|
|
76
|
+
'byline-drawer-wrapper',
|
|
77
77
|
styles['drawer-wrapper'],
|
|
78
78
|
typedStyles[`drawer-${width}`],
|
|
79
79
|
typedStyles[`drawer-depth-${depth.toString()}`],
|
|
@@ -23,7 +23,7 @@ export const ModalActions = function ModalActions({
|
|
|
23
23
|
<div
|
|
24
24
|
ref={ref}
|
|
25
25
|
{...rest}
|
|
26
|
-
className={cx('
|
|
26
|
+
className={cx('byline-modal-actions', styles['modal-actions'], className)}
|
|
27
27
|
>
|
|
28
28
|
{children}
|
|
29
29
|
</div>
|
|
@@ -22,7 +22,7 @@ export const ModalContainer = function ModalContainer({
|
|
|
22
22
|
return (
|
|
23
23
|
<div
|
|
24
24
|
ref={ref}
|
|
25
|
-
className={cx('
|
|
25
|
+
className={cx('byline-modal-container', styles['modal-container'], className)}
|
|
26
26
|
{...rest}
|
|
27
27
|
>
|
|
28
28
|
{children}
|
|
@@ -23,7 +23,7 @@ export const ModalContent = function ModalContent({
|
|
|
23
23
|
<div
|
|
24
24
|
ref={ref}
|
|
25
25
|
{...rest}
|
|
26
|
-
className={cx('
|
|
26
|
+
className={cx('byline-modal-content', styles['modal-content'], className)}
|
|
27
27
|
>
|
|
28
28
|
{children}
|
|
29
29
|
</div>
|
|
@@ -19,7 +19,7 @@ export const ModalHeader = function ModalHeader({
|
|
|
19
19
|
}: ModalHeaderProps & {
|
|
20
20
|
ref?: React.RefObject<HTMLDivElement>
|
|
21
21
|
}) {
|
|
22
|
-
const classes = cx('
|
|
22
|
+
const classes = cx('byline-modal-header', styles['modal-header'], 'prose', className)
|
|
23
23
|
return (
|
|
24
24
|
<div style={{ overflowWrap: 'anywhere' }} ref={ref} {...rest} className={classes}>
|
|
25
25
|
{children}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
/* Backdrop overlay */
|
|
13
13
|
|
|
14
14
|
.backdrop,
|
|
15
|
-
:global(.
|
|
15
|
+
:global(.byline-modal-backdrop) {
|
|
16
16
|
position: fixed;
|
|
17
17
|
top: 0;
|
|
18
18
|
left: 0;
|
|
@@ -29,15 +29,15 @@
|
|
|
29
29
|
|
|
30
30
|
:global(.dark) .backdrop,
|
|
31
31
|
:global([data-theme="dark"]) .backdrop,
|
|
32
|
-
:global(.dark .
|
|
33
|
-
:global([data-theme="dark"] .
|
|
32
|
+
:global(.dark .byline-modal-backdrop),
|
|
33
|
+
:global([data-theme="dark"] .byline-modal-backdrop) {
|
|
34
34
|
background-color: rgba(0, 0, 0, 0.5);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
/* Modal wrapper / popup — the dialog surface */
|
|
38
38
|
|
|
39
39
|
.modal-wrapper,
|
|
40
|
-
:global(.
|
|
40
|
+
:global(.byline-modal-wrapper) {
|
|
41
41
|
position: fixed;
|
|
42
42
|
display: flex;
|
|
43
43
|
flex-direction: column;
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
|
|
58
58
|
@media screen and (min-width: 40rem) {
|
|
59
59
|
.modal-wrapper,
|
|
60
|
-
:global(.
|
|
60
|
+
:global(.byline-modal-wrapper) {
|
|
61
61
|
justify-content: center;
|
|
62
62
|
}
|
|
63
63
|
}
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
/* Container — the visible dialog box */
|
|
66
66
|
|
|
67
67
|
.modal-container,
|
|
68
|
-
:global(.
|
|
68
|
+
:global(.byline-modal-container) {
|
|
69
69
|
display: flex;
|
|
70
70
|
flex-direction: column;
|
|
71
71
|
box-shadow: var(--shadow-md);
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
|
|
82
82
|
@media screen and (min-width: 40rem) {
|
|
83
83
|
.modal-container,
|
|
84
|
-
:global(.
|
|
84
|
+
:global(.byline-modal-container) {
|
|
85
85
|
max-height: calc(100vh - 24px);
|
|
86
86
|
min-height: auto;
|
|
87
87
|
width: auto;
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
/* Sub-component styles */
|
|
92
92
|
|
|
93
93
|
.modal-header,
|
|
94
|
-
:global(.
|
|
94
|
+
:global(.byline-modal-header) {
|
|
95
95
|
display: flex;
|
|
96
96
|
align-items: center;
|
|
97
97
|
justify-content: space-between;
|
|
@@ -104,13 +104,13 @@
|
|
|
104
104
|
|
|
105
105
|
.modal-header h2,
|
|
106
106
|
.modal-header h3,
|
|
107
|
-
:global(.
|
|
108
|
-
:global(.
|
|
107
|
+
:global(.byline-modal-header h2),
|
|
108
|
+
:global(.byline-modal-header h3) {
|
|
109
109
|
margin: 0;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
.modal-content,
|
|
113
|
-
:global(.
|
|
113
|
+
:global(.byline-modal-content) {
|
|
114
114
|
display: flex;
|
|
115
115
|
flex: 1;
|
|
116
116
|
flex-direction: column;
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
.modal-actions,
|
|
125
|
-
:global(.
|
|
125
|
+
:global(.byline-modal-actions) {
|
|
126
126
|
display: flex;
|
|
127
127
|
align-items: center;
|
|
128
128
|
justify-content: flex-end;
|
|
@@ -68,8 +68,8 @@ function Modal({
|
|
|
68
68
|
disablePointerDismissal={closeOnOverlayClick !== true}
|
|
69
69
|
>
|
|
70
70
|
<Dialog.Portal>
|
|
71
|
-
<Dialog.Backdrop className={cx('
|
|
72
|
-
<Dialog.Popup className={cx('
|
|
71
|
+
<Dialog.Backdrop className={cx('byline-modal-backdrop', styles.backdrop)} />
|
|
72
|
+
<Dialog.Popup className={cx('byline-modal-wrapper', styles['modal-wrapper'])}>
|
|
73
73
|
{children}
|
|
74
74
|
</Dialog.Popup>
|
|
75
75
|
</Dialog.Portal>
|
|
@@ -153,6 +153,7 @@ export function Search({
|
|
|
153
153
|
role="button"
|
|
154
154
|
intent="noeffect"
|
|
155
155
|
variant="text"
|
|
156
|
+
style={{ outline: 'none' }}
|
|
156
157
|
ripple={false}
|
|
157
158
|
arial-label={ariaLabelForSearch}
|
|
158
159
|
size="xs"
|
|
@@ -169,6 +170,7 @@ export function Search({
|
|
|
169
170
|
<IconButton
|
|
170
171
|
role="button"
|
|
171
172
|
intent="noeffect"
|
|
173
|
+
style={{ outline: 'none' }}
|
|
172
174
|
variant="text"
|
|
173
175
|
arial-label={ariaLabelForClear}
|
|
174
176
|
size="xs"
|
|
@@ -11,12 +11,12 @@
|
|
|
11
11
|
|
|
12
12
|
@layer byline-components {
|
|
13
13
|
.timeline,
|
|
14
|
-
:global(.
|
|
14
|
+
:global(.byline-timeline) {
|
|
15
15
|
margin-left: var(--spacing-8);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.timeline-root,
|
|
19
|
-
:global(.
|
|
19
|
+
:global(.byline-timeline-root) {
|
|
20
20
|
position: relative;
|
|
21
21
|
list-style: none;
|
|
22
22
|
margin-left: var(--spacing-8);
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
.timeline-item,
|
|
30
|
-
:global(.
|
|
30
|
+
:global(.byline-timeline-item) {
|
|
31
31
|
margin: 0 0 var(--spacing-16) var(--spacing-20);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
/* 'absolute block flex items-center justify-center w-[36px] h-[36px] rounded-full -mt-[3px] sm:mt-0 -left-[18px] border-[6px] bg-secondary-600 dark:bg-secondary-900 border-gray-50 dark:border-canvas-600', */
|
|
35
35
|
.timeline-icon,
|
|
36
|
-
:global(.
|
|
36
|
+
:global(.byline-timeline-icon) {
|
|
37
37
|
position: absolute;
|
|
38
38
|
display: flex;
|
|
39
39
|
align-items: center;
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
.timeline-icon svg,
|
|
53
|
-
:global(.
|
|
53
|
+
:global(.byline-timeline-icon svg) {
|
|
54
54
|
display: block;
|
|
55
55
|
width: 60%;
|
|
56
56
|
color: white;
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
|
|
59
59
|
/* 'text-[1.5rem] sm:text-[1.57rem] leading-[1.2] !m-0 font-semibold' */
|
|
60
60
|
.timeline-heading,
|
|
61
|
-
:global(.
|
|
61
|
+
:global(.byline-timeline-heading) {
|
|
62
62
|
font-size: 1.5rem;
|
|
63
63
|
line-height: 1.2;
|
|
64
64
|
margin: 0;
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
|
|
68
68
|
/* 'block mt-2 mb-2 text-[0.9em] font-medium leading-none text-gray-900 dark:text-gray-100' */
|
|
69
69
|
.timeline-date,
|
|
70
|
-
:global(.
|
|
70
|
+
:global(.byline-timeline-date) {
|
|
71
71
|
display: block;
|
|
72
72
|
margin-top: var(--spacing-8);
|
|
73
73
|
margin-bottom: var(--spacing-8);
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
|
|
80
80
|
/* '[&_p]:m-0 [&_p]:mb-4 [&_p]:sm:m-0 [&_p]:sm:mb-4 text-lg font-normal text-gray-900 dark:text-gray-300' */
|
|
81
81
|
.timeline-content,
|
|
82
|
-
:global(.
|
|
82
|
+
:global(.byline-timeline-content) {
|
|
83
83
|
margin: 0;
|
|
84
84
|
margin-bottom: var(--spacing-16);
|
|
85
85
|
font-size: 1.125rem;
|
|
@@ -91,14 +91,14 @@
|
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
/* 🌙 Dark via `.dark` class. We rely on the
|
|
94
|
+
/* 🌙 Dark via `.dark` class. We rely on the
|
|
95
95
|
* consuming application to detect a user's preferred
|
|
96
96
|
* color scheme - either by header or cookie, and set
|
|
97
97
|
* a root html class accordingly
|
|
98
98
|
*/
|
|
99
99
|
:global(.dark),
|
|
100
100
|
:global([data-theme="dark"]) {
|
|
101
|
-
:global(.
|
|
101
|
+
:global(.byline-timeline-icon),
|
|
102
102
|
.timeline-icon {
|
|
103
103
|
border-color: var(--canvas-600);
|
|
104
104
|
}
|