@byline/ui 1.7.0 → 1.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/accordion/accordion_module.css +3 -1
- package/dist/components/avatar/avatar_module.css +3 -1
- package/dist/components/badge/badge_module.css +3 -1
- package/dist/components/button/button-group_module.css +3 -1
- package/dist/components/button/button_module.css +3 -1
- package/dist/components/button/combo-button_module.css +3 -1
- package/dist/components/button/control-buttons_module.css +3 -1
- package/dist/components/button/copy-button_module.css +3 -1
- package/dist/components/card/card_module.css +3 -1
- package/dist/components/chips/chip_module.css +3 -1
- package/dist/components/container/container_module.css +3 -1
- package/dist/components/dropdown/dropdown_module.css +3 -1
- package/dist/components/hamburger/hamburger_module.css +3 -1
- package/dist/components/inputs/autocomplete_module.css +3 -1
- package/dist/components/inputs/calendar_module.css +3 -1
- package/dist/components/inputs/checkbox-group_module.css +3 -1
- package/dist/components/inputs/checkbox_module.css +3 -1
- package/dist/components/inputs/error-text_module.css +3 -1
- package/dist/components/inputs/help-text_module.css +3 -1
- package/dist/components/inputs/input-adornment_module.css +3 -1
- package/dist/components/inputs/input_module.css +3 -1
- package/dist/components/inputs/label_module.css +3 -1
- package/dist/components/inputs/radio-group_module.css +3 -1
- package/dist/components/inputs/select_module.css +3 -1
- package/dist/components/inputs/text-area_module.css +3 -1
- package/dist/components/notifications/alert_module.css +3 -1
- package/dist/components/notifications/toast_module.css +3 -1
- package/dist/components/pager/pagination_module.css +3 -1
- package/dist/components/scroll-area/scroll-area_module.css +3 -1
- package/dist/components/scroll-to-top/scroll-to-top_module.css +3 -1
- package/dist/components/section/section_module.css +3 -1
- package/dist/components/shimmer/shimmer_module.css +3 -1
- package/dist/components/table/table_module.css +3 -1
- package/dist/components/tabs/tabs_module.css +3 -1
- package/dist/components/tooltip/tooltip_module.css +3 -1
- package/dist/icons/icons_module.css +3 -1
- package/dist/loaders/ellipses_module.css +3 -1
- package/dist/loaders/ring_module.css +3 -1
- package/dist/loaders/spinner_module.css +3 -1
- package/dist/styles/reset.css +172 -166
- package/dist/styles/styles.css +181 -1506
- package/dist/styles/typography.css +243 -237
- package/dist/widgets/datepicker/datepicker_module.css +3 -1
- package/dist/widgets/drawer/drawer_module.css +3 -1
- package/dist/widgets/image-lightbox/image-lightbox_module.css +3 -1
- package/dist/widgets/modal/modal_module.css +3 -1
- package/dist/widgets/timeline/timeline_module.css +3 -1
- package/package.json +4 -4
- package/src/components/accordion/accordion.module.css +3 -2
- package/src/components/avatar/avatar.module.css +3 -6
- package/src/components/badge/badge.module.css +3 -6
- package/src/components/button/button-group.module.css +3 -2
- package/src/components/button/button.module.css +3 -6
- package/src/components/button/combo-button.module.css +3 -2
- package/src/components/button/control-buttons.module.css +3 -2
- package/src/components/button/copy-button.module.css +3 -6
- package/src/components/card/card.module.css +3 -6
- package/src/components/chips/chip.module.css +3 -6
- package/src/components/container/container.module.css +3 -6
- package/src/components/dropdown/dropdown.module.css +3 -6
- package/src/components/hamburger/hamburger.module.css +3 -6
- package/src/components/inputs/autocomplete.module.css +3 -6
- package/src/components/inputs/calendar.module.css +3 -6
- package/src/components/inputs/checkbox-group.module.css +3 -6
- package/src/components/inputs/checkbox.module.css +3 -6
- package/src/components/inputs/error-text.module.css +3 -6
- package/src/components/inputs/help-text.module.css +3 -6
- package/src/components/inputs/input-adornment.module.css +3 -6
- package/src/components/inputs/input.module.css +3 -6
- package/src/components/inputs/label.module.css +3 -6
- package/src/components/inputs/radio-group.module.css +3 -6
- package/src/components/inputs/select.module.css +3 -6
- package/src/components/inputs/text-area.module.css +3 -6
- package/src/components/notifications/alert.module.css +3 -6
- package/src/components/notifications/toast.module.css +3 -6
- package/src/components/pager/pagination.module.css +3 -6
- package/src/components/scroll-area/scroll-area.module.css +3 -6
- package/src/components/scroll-to-top/scroll-to-top.module.css +3 -2
- package/src/components/section/section.module.css +3 -6
- package/src/components/shimmer/shimmer.module.css +3 -6
- package/src/components/table/table.module.css +3 -6
- package/src/components/tabs/tabs.module.css +3 -6
- package/src/components/tooltip/tooltip.module.css +3 -6
- package/src/icons/icons.module.css +3 -2
- package/src/loaders/ellipses.module.css +3 -6
- package/src/loaders/ring.module.css +3 -6
- package/src/loaders/spinner.module.css +3 -6
- package/src/styles/components/hamburger.css +3 -6
- package/src/styles/reset.css +337 -312
- package/src/styles/styles.css +3 -7
- package/src/styles/theme/autofill.css +53 -62
- package/src/styles/theme/defaults.css +67 -55
- package/src/styles/theme/scrollers.css +48 -39
- package/src/styles/typography/prose.css +270 -265
- package/src/styles/typography.css +20 -14
- package/src/widgets/datepicker/datepicker.module.css +3 -2
- package/src/widgets/drawer/drawer.module.css +3 -2
- package/src/widgets/image-lightbox/image-lightbox.module.css +3 -2
- package/src/widgets/modal/modal.module.css +3 -2
- package/src/widgets/timeline/timeline.module.css +3 -6
- package/src/styles/utils/scroll-layout-shift.css +0 -9
- package/src/styles/utils/utility-classes.css +0 -1395
- package/src/styles/utils/utils.css +0 -2
package/dist/styles/reset.css
CHANGED
|
@@ -1,209 +1,215 @@
|
|
|
1
|
+
@layer base;
|
|
2
|
+
|
|
1
3
|
@layer byline-base {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
@scope (.byline-ui) {
|
|
5
|
+
*, :before, :after {
|
|
6
|
+
box-sizing: border-box;
|
|
7
|
+
border: 0 solid #e5e7eb;
|
|
8
|
+
}
|
|
6
9
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
+
:before, :after {
|
|
11
|
+
--tw-content: "";
|
|
12
|
+
}
|
|
10
13
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
14
|
+
:scope, :host {
|
|
15
|
+
scroll-behavior: smooth;
|
|
16
|
+
-webkit-text-size-adjust: 100%;
|
|
17
|
+
-moz-tab-size: 4;
|
|
18
|
+
-o-tab-size: 4;
|
|
19
|
+
tab-size: 4;
|
|
20
|
+
font-feature-settings: normal;
|
|
21
|
+
font-variation-settings: normal;
|
|
22
|
+
-webkit-tap-highlight-color: transparent;
|
|
23
|
+
font-family: Inter, ui-sans-serif, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
|
|
24
|
+
line-height: 1.5;
|
|
25
|
+
}
|
|
23
26
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
27
|
+
body {
|
|
28
|
+
line-height: inherit;
|
|
29
|
+
margin: 0;
|
|
30
|
+
}
|
|
28
31
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
hr {
|
|
33
|
+
height: 0;
|
|
34
|
+
color: inherit;
|
|
35
|
+
border-top-width: 1px;
|
|
36
|
+
}
|
|
34
37
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
+
abbr:where([title]) {
|
|
39
|
+
text-decoration: underline dotted;
|
|
40
|
+
}
|
|
38
41
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
42
|
+
h1, h2, h3, h4, h5, h6 {
|
|
43
|
+
font-size: inherit;
|
|
44
|
+
font-weight: inherit;
|
|
45
|
+
}
|
|
43
46
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
47
|
+
a {
|
|
48
|
+
color: inherit;
|
|
49
|
+
text-decoration: inherit;
|
|
50
|
+
}
|
|
48
51
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
+
b, strong {
|
|
53
|
+
font-weight: bolder;
|
|
54
|
+
}
|
|
52
55
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
56
|
+
code, kbd, samp, pre {
|
|
57
|
+
font-feature-settings: normal;
|
|
58
|
+
font-variation-settings: normal;
|
|
59
|
+
font-family: Source Code Pro, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
|
|
60
|
+
font-size: 1em;
|
|
61
|
+
}
|
|
59
62
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
+
small {
|
|
64
|
+
font-size: 80%;
|
|
65
|
+
}
|
|
63
66
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
sub, sup {
|
|
68
|
+
vertical-align: baseline;
|
|
69
|
+
font-size: 75%;
|
|
70
|
+
line-height: 0;
|
|
71
|
+
position: relative;
|
|
72
|
+
}
|
|
70
73
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
+
sub {
|
|
75
|
+
bottom: -.25em;
|
|
76
|
+
}
|
|
74
77
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
+
sup {
|
|
79
|
+
top: -.5em;
|
|
80
|
+
}
|
|
78
81
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
table {
|
|
83
|
+
text-indent: 0;
|
|
84
|
+
border-color: inherit;
|
|
85
|
+
border-collapse: collapse;
|
|
86
|
+
}
|
|
84
87
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
88
|
+
button, input, optgroup, select, textarea {
|
|
89
|
+
font-feature-settings: inherit;
|
|
90
|
+
font-variation-settings: inherit;
|
|
91
|
+
font-family: inherit;
|
|
92
|
+
font-size: 100%;
|
|
93
|
+
font-weight: inherit;
|
|
94
|
+
line-height: inherit;
|
|
95
|
+
letter-spacing: inherit;
|
|
96
|
+
color: inherit;
|
|
97
|
+
margin: 0;
|
|
98
|
+
padding: 0;
|
|
99
|
+
}
|
|
97
100
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
+
button, select {
|
|
102
|
+
text-transform: none;
|
|
103
|
+
}
|
|
101
104
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
105
|
+
button, input:where([type="button"]), input:where([type="reset"]), input:where([type="submit"]) {
|
|
106
|
+
-webkit-appearance: button;
|
|
107
|
+
background-color: #0000;
|
|
108
|
+
background-image: none;
|
|
109
|
+
}
|
|
107
110
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
+
:-moz-focusring {
|
|
112
|
+
outline: auto;
|
|
113
|
+
}
|
|
111
114
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
+
:-moz-ui-invalid {
|
|
116
|
+
box-shadow: none;
|
|
117
|
+
}
|
|
115
118
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
+
progress {
|
|
120
|
+
vertical-align: baseline;
|
|
121
|
+
}
|
|
119
122
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
+
::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
|
|
124
|
+
height: auto;
|
|
125
|
+
}
|
|
123
126
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
127
|
+
[type="search"] {
|
|
128
|
+
-webkit-appearance: textfield;
|
|
129
|
+
outline-offset: -2px;
|
|
130
|
+
}
|
|
128
131
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
+
::-webkit-search-decoration {
|
|
133
|
+
-webkit-appearance: none;
|
|
134
|
+
}
|
|
132
135
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
136
|
+
::-webkit-file-upload-button {
|
|
137
|
+
-webkit-appearance: button;
|
|
138
|
+
font: inherit;
|
|
139
|
+
}
|
|
137
140
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
+
summary {
|
|
142
|
+
display: list-item;
|
|
143
|
+
}
|
|
141
144
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
+
blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre {
|
|
146
|
+
margin: 0;
|
|
147
|
+
}
|
|
145
148
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
149
|
+
fieldset {
|
|
150
|
+
margin: 0;
|
|
151
|
+
padding: 0;
|
|
152
|
+
}
|
|
150
153
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
+
legend {
|
|
155
|
+
padding: 0;
|
|
156
|
+
}
|
|
154
157
|
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
158
|
+
ol, ul, menu {
|
|
159
|
+
margin: 0;
|
|
160
|
+
padding: 0;
|
|
161
|
+
list-style: none;
|
|
162
|
+
}
|
|
160
163
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
+
dialog {
|
|
165
|
+
padding: 0;
|
|
166
|
+
}
|
|
164
167
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
+
textarea {
|
|
169
|
+
resize: vertical;
|
|
170
|
+
}
|
|
168
171
|
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
172
|
+
input::-moz-placeholder, textarea::-moz-placeholder {
|
|
173
|
+
opacity: 1;
|
|
174
|
+
color: #9ca3af;
|
|
175
|
+
}
|
|
173
176
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
177
|
+
input::placeholder, textarea::placeholder {
|
|
178
|
+
opacity: 1;
|
|
179
|
+
color: #9ca3af;
|
|
180
|
+
}
|
|
178
181
|
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
+
button, [role="button"] {
|
|
183
|
+
cursor: pointer;
|
|
184
|
+
}
|
|
182
185
|
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
+
:disabled {
|
|
187
|
+
cursor: default;
|
|
188
|
+
}
|
|
186
189
|
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
190
|
+
img, svg, video, canvas, audio, iframe, embed, object {
|
|
191
|
+
vertical-align: middle;
|
|
192
|
+
display: block;
|
|
193
|
+
}
|
|
191
194
|
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
195
|
+
img, video {
|
|
196
|
+
max-width: 100%;
|
|
197
|
+
height: auto;
|
|
198
|
+
}
|
|
196
199
|
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
+
[hidden]:where(:not([hidden="until-found"])) {
|
|
201
|
+
display: none;
|
|
202
|
+
}
|
|
200
203
|
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
204
|
+
@media (prefers-reduced-motion: reduce) {
|
|
205
|
+
*, :before, :after {
|
|
206
|
+
scroll-behavior: auto;
|
|
207
|
+
transition-duration: .01ms;
|
|
208
|
+
animation-duration: .01ms;
|
|
209
|
+
animation-iteration-count: 1;
|
|
210
|
+
}
|
|
207
211
|
}
|
|
208
212
|
}
|
|
209
213
|
}
|
|
214
|
+
|
|
215
|
+
@layer components, byline-components, byline-functional, utilities, byline-utilities, theme, byline-theme, byline-typography;
|