@byline/ui 1.10.2 → 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/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 +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/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
|
@@ -73,6 +73,9 @@ function Search({ variant, inputSize, inputClassName, intent, className, onClear
|
|
|
73
73
|
role: "button",
|
|
74
74
|
intent: "noeffect",
|
|
75
75
|
variant: "text",
|
|
76
|
+
style: {
|
|
77
|
+
outline: 'none'
|
|
78
|
+
},
|
|
76
79
|
ripple: false,
|
|
77
80
|
"arial-label": ariaLabelForSearch,
|
|
78
81
|
size: "xs",
|
|
@@ -90,6 +93,9 @@ function Search({ variant, inputSize, inputClassName, intent, className, onClear
|
|
|
90
93
|
children: /*#__PURE__*/ jsx(IconButton, {
|
|
91
94
|
role: "button",
|
|
92
95
|
intent: "noeffect",
|
|
96
|
+
style: {
|
|
97
|
+
outline: 'none'
|
|
98
|
+
},
|
|
93
99
|
variant: "text",
|
|
94
100
|
"arial-label": ariaLabelForClear,
|
|
95
101
|
size: "xs",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer byline-components {
|
|
4
|
-
:is(.timeline-qJOU85, .
|
|
4
|
+
:is(.timeline-qJOU85, .byline-timeline) {
|
|
5
5
|
margin-left: var(--spacing-8);
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
:is(.timeline-root-kIek3q, .
|
|
8
|
+
:is(.timeline-root-kIek3q, .byline-timeline-root) {
|
|
9
9
|
margin-left: var(--spacing-8);
|
|
10
10
|
padding-left: var(--spacing-8);
|
|
11
11
|
border-left-width: var(--border-width-thin);
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
position: relative;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
:is(.timeline-item-VoOzOk, .
|
|
18
|
+
:is(.timeline-item-VoOzOk, .byline-timeline-item) {
|
|
19
19
|
margin: 0 0 var(--spacing-16) var(--spacing-20);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
:is(.timeline-icon-xO1p1F, .
|
|
22
|
+
:is(.timeline-icon-xO1p1F, .byline-timeline-icon) {
|
|
23
23
|
color: #fff;
|
|
24
24
|
background-color: var(--primary-600);
|
|
25
25
|
border-width: 6px;
|
|
@@ -41,20 +41,20 @@
|
|
|
41
41
|
display: block;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
.
|
|
44
|
+
.byline-timeline-icon svg {
|
|
45
45
|
color: #fff;
|
|
46
46
|
width: 60%;
|
|
47
47
|
display: block;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
:is(.timeline-heading-bPWlJ4, .
|
|
50
|
+
:is(.timeline-heading-bPWlJ4, .byline-timeline-heading) {
|
|
51
51
|
font-size: 1.5rem;
|
|
52
52
|
line-height: 1.2;
|
|
53
53
|
font-weight: var(--font-weight-semibold);
|
|
54
54
|
margin: 0;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
:is(.timeline-date-U7Pr_G, .
|
|
57
|
+
:is(.timeline-date-U7Pr_G, .byline-timeline-date) {
|
|
58
58
|
margin-top: var(--spacing-8);
|
|
59
59
|
margin-bottom: var(--spacing-8);
|
|
60
60
|
font-size: .9em;
|
|
@@ -64,19 +64,19 @@
|
|
|
64
64
|
display: block;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
:is(.timeline-content-rwFfPc, .
|
|
67
|
+
:is(.timeline-content-rwFfPc, .byline-timeline-content) {
|
|
68
68
|
margin: 0;
|
|
69
69
|
margin-bottom: var(--spacing-16);
|
|
70
70
|
font-size: 1.125rem;
|
|
71
71
|
font-weight: var(--font-weight-normal);
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
:is(.timeline-content-rwFfPc, .
|
|
74
|
+
:is(.timeline-content-rwFfPc, .byline-timeline-content) p {
|
|
75
75
|
margin: 0;
|
|
76
76
|
margin-bottom: var(--spacing-16);
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
:is(:is(.dark, [data-theme="dark"]) .
|
|
79
|
+
:is(:is(.dark, [data-theme="dark"]) .byline-timeline-icon, :is(.dark, [data-theme="dark"]) .timeline-icon-xO1p1F) {
|
|
80
80
|
border-color: var(--canvas-600);
|
|
81
81
|
}
|
|
82
82
|
}
|
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.10.
|
|
6
|
+
"version": "1.10.3",
|
|
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.3",
|
|
67
67
|
"zod-form-data": "^3.0.1",
|
|
68
|
-
"@byline/admin": "1.10.
|
|
69
|
-
"@byline/client": "1.10.
|
|
70
|
-
"@byline/core": "1.10.
|
|
68
|
+
"@byline/admin": "1.10.3",
|
|
69
|
+
"@byline/client": "1.10.3",
|
|
70
|
+
"@byline/core": "1.10.3"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
73
|
"react": "^19.0.0",
|
|
@@ -10,19 +10,19 @@
|
|
|
10
10
|
byline-utilities;
|
|
11
11
|
@layer byline-components {
|
|
12
12
|
.item,
|
|
13
|
-
:global(.
|
|
13
|
+
:global(.byline-accordion-item) {
|
|
14
14
|
overflow: hidden;
|
|
15
15
|
margin-top: 1px;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.header,
|
|
19
|
-
:global(.
|
|
19
|
+
:global(.byline-accordion-header) {
|
|
20
20
|
margin: 0;
|
|
21
21
|
display: flex;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.trigger,
|
|
25
|
-
:global(.
|
|
25
|
+
:global(.byline-accordion-trigger) {
|
|
26
26
|
display: flex;
|
|
27
27
|
cursor: pointer;
|
|
28
28
|
align-items: center;
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
.content,
|
|
33
|
-
:global(.
|
|
33
|
+
:global(.byline-accordion-content) {
|
|
34
34
|
overflow: hidden;
|
|
35
35
|
|
|
36
36
|
&[data-open] {
|
|
@@ -28,7 +28,7 @@ const Root = ({
|
|
|
28
28
|
return (
|
|
29
29
|
<AccordionPrimitive.Root
|
|
30
30
|
ref={ref}
|
|
31
|
-
className={cx('
|
|
31
|
+
className={cx('byline-accordion-root', className)}
|
|
32
32
|
{...props}
|
|
33
33
|
>
|
|
34
34
|
{children}
|
|
@@ -47,7 +47,7 @@ const Item = function AccordionItem({
|
|
|
47
47
|
}) {
|
|
48
48
|
return (
|
|
49
49
|
<AccordionPrimitive.Item
|
|
50
|
-
className={cx('
|
|
50
|
+
className={cx('byline-accordion-item', className)}
|
|
51
51
|
{...props}
|
|
52
52
|
ref={ref}
|
|
53
53
|
>
|
|
@@ -67,7 +67,7 @@ const Header = function AccordionHeader({
|
|
|
67
67
|
}) {
|
|
68
68
|
return (
|
|
69
69
|
<AccordionPrimitive.Header
|
|
70
|
-
className={cx('
|
|
70
|
+
className={cx('byline-accordion-header', className)}
|
|
71
71
|
{...props}
|
|
72
72
|
ref={ref}
|
|
73
73
|
>
|
|
@@ -88,7 +88,7 @@ const Trigger = function AccordionTrigger({
|
|
|
88
88
|
return (
|
|
89
89
|
<AccordionPrimitive.Trigger
|
|
90
90
|
ref={ref}
|
|
91
|
-
className={cx('
|
|
91
|
+
className={cx('byline-accordion-trigger', styles.trigger, className)}
|
|
92
92
|
{...props}
|
|
93
93
|
>
|
|
94
94
|
{children}
|
|
@@ -107,7 +107,7 @@ const Panel = function AccordionPanel({
|
|
|
107
107
|
}) {
|
|
108
108
|
return (
|
|
109
109
|
<AccordionPrimitive.Panel
|
|
110
|
-
className={cx('
|
|
110
|
+
className={cx('byline-accordion-content', styles.content, className)}
|
|
111
111
|
{...props}
|
|
112
112
|
ref={ref}
|
|
113
113
|
>
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
@layer byline-components {
|
|
13
13
|
/* relative inline-flex h-10 w-10 rounded-full */
|
|
14
14
|
.avatar-root,
|
|
15
|
-
:global(.
|
|
15
|
+
:global(.byline-avatar-root) {
|
|
16
16
|
position: relative;
|
|
17
17
|
display: inline-flex;
|
|
18
18
|
height: 100%;
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
.avatar-image,
|
|
24
|
-
:global(.
|
|
24
|
+
:global(.byline-avatar-image) {
|
|
25
25
|
height: 100%;
|
|
26
26
|
width: 100%;
|
|
27
27
|
border-radius: 50%;
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
.avatar-fallback,
|
|
32
|
-
:global(.
|
|
32
|
+
:global(.byline-avatar-fallback) {
|
|
33
33
|
display: flex;
|
|
34
34
|
height: 100%;
|
|
35
35
|
width: 100%;
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
.avatar-text,
|
|
43
|
-
:global(.
|
|
43
|
+
:global(.byline-avatar-text) {
|
|
44
44
|
font-size: var(--font-size-sm);
|
|
45
45
|
font-weight: var(--font-weight-medium);
|
|
46
46
|
text-transform: uppercase;
|
|
@@ -11,17 +11,17 @@ const url = 'https://picsum.photos/150'
|
|
|
11
11
|
|
|
12
12
|
export const Avatar = ({ initials }: { initials: string }): React.JSX.Element => {
|
|
13
13
|
return (
|
|
14
|
-
<AvatarPrimitive.Root className={cx('
|
|
14
|
+
<AvatarPrimitive.Root className={cx('byline-avatar-root', styles['avatar-root'])}>
|
|
15
15
|
<AvatarPrimitive.Image
|
|
16
16
|
src={url}
|
|
17
17
|
alt="Avatar"
|
|
18
|
-
className={cx('
|
|
18
|
+
className={cx('byline-avatar-image', styles['avatar-image'])}
|
|
19
19
|
/>
|
|
20
20
|
<AvatarPrimitive.Fallback
|
|
21
|
-
className={cx('
|
|
21
|
+
className={cx('byline-avatar-fallback', styles['avatar-fallback'])}
|
|
22
22
|
delay={600}
|
|
23
23
|
>
|
|
24
|
-
<span className={cx('
|
|
24
|
+
<span className={cx('byline-avatar-text', styles['avatar-text'])}>{initials}</span>
|
|
25
25
|
</AvatarPrimitive.Fallback>
|
|
26
26
|
</AvatarPrimitive.Root>
|
|
27
27
|
)
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
@layer byline-components {
|
|
13
13
|
.badge,
|
|
14
|
-
:global(.
|
|
14
|
+
:global(.byline-badge) {
|
|
15
15
|
display: inline-block;
|
|
16
16
|
padding: 0.25em 0.4em;
|
|
17
17
|
font-size: var(--font-size-sm);
|
|
@@ -24,43 +24,43 @@
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
.primary,
|
|
27
|
-
:global(.
|
|
27
|
+
:global(.byline-badge-primary) {
|
|
28
28
|
color: var(--text-on-primary-strong);
|
|
29
29
|
background-color: var(--fill-primary-strong);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
.secondary,
|
|
33
|
-
:global(.
|
|
33
|
+
:global(.byline-badge-secondary) {
|
|
34
34
|
color: var(--text-on-secondary-strong);
|
|
35
35
|
background-color: var(--fill-secondary-strong);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
.noeffect,
|
|
39
|
-
:global(.
|
|
39
|
+
:global(.byline-badge-noeffect) {
|
|
40
40
|
color: var(--text-on-noeffect-strong);
|
|
41
41
|
background-color: var(--fill-noeffect-strong);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.success,
|
|
45
|
-
:global(.
|
|
45
|
+
:global(.byline-badge-success) {
|
|
46
46
|
color: var(--text-on-success-strong);
|
|
47
47
|
background-color: var(--fill-success-strong);
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
.info,
|
|
51
|
-
:global(.
|
|
51
|
+
:global(.byline-badge-info) {
|
|
52
52
|
color: var(--text-on-info-strong);
|
|
53
53
|
background-color: var(--fill-info-strong);
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.warning,
|
|
57
|
-
:global(.
|
|
57
|
+
:global(.byline-badge-warning) {
|
|
58
58
|
color: var(--text-on-warning-strong);
|
|
59
59
|
background-color: var(--fill-warning-strong);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
.danger,
|
|
63
|
-
:global(.
|
|
63
|
+
:global(.byline-badge-danger) {
|
|
64
64
|
color: var(--text-on-danger-strong);
|
|
65
65
|
background-color: var(--fill-danger-strong);
|
|
66
66
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
byline-utilities;
|
|
11
11
|
@layer byline-components {
|
|
12
12
|
.button-group,
|
|
13
|
-
:global(.
|
|
13
|
+
:global(.byline-button-group) {
|
|
14
14
|
display: flex;
|
|
15
15
|
flex-direction: column;
|
|
16
16
|
align-items: center;
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
@media screen and (min-width: 40rem) {
|
|
22
22
|
.button-group,
|
|
23
|
-
:global(.
|
|
23
|
+
:global(.byline-button-group) {
|
|
24
24
|
flex-direction: row;
|
|
25
25
|
}
|
|
26
26
|
}
|