@byline/ui 1.7.1 → 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.
Files changed (103) hide show
  1. package/dist/components/accordion/accordion_module.css +3 -1
  2. package/dist/components/avatar/avatar_module.css +3 -1
  3. package/dist/components/badge/badge_module.css +3 -1
  4. package/dist/components/button/button-group_module.css +3 -1
  5. package/dist/components/button/button_module.css +3 -1
  6. package/dist/components/button/combo-button_module.css +3 -1
  7. package/dist/components/button/control-buttons_module.css +3 -1
  8. package/dist/components/button/copy-button_module.css +3 -1
  9. package/dist/components/card/card_module.css +3 -1
  10. package/dist/components/chips/chip_module.css +3 -1
  11. package/dist/components/container/container_module.css +3 -1
  12. package/dist/components/dropdown/dropdown_module.css +3 -1
  13. package/dist/components/hamburger/hamburger_module.css +3 -1
  14. package/dist/components/inputs/autocomplete_module.css +3 -1
  15. package/dist/components/inputs/calendar_module.css +3 -1
  16. package/dist/components/inputs/checkbox-group_module.css +3 -1
  17. package/dist/components/inputs/checkbox_module.css +3 -1
  18. package/dist/components/inputs/error-text_module.css +3 -1
  19. package/dist/components/inputs/help-text_module.css +3 -1
  20. package/dist/components/inputs/input-adornment_module.css +3 -1
  21. package/dist/components/inputs/input_module.css +3 -1
  22. package/dist/components/inputs/label_module.css +3 -1
  23. package/dist/components/inputs/radio-group_module.css +3 -1
  24. package/dist/components/inputs/select_module.css +3 -1
  25. package/dist/components/inputs/text-area_module.css +3 -1
  26. package/dist/components/notifications/alert_module.css +3 -1
  27. package/dist/components/notifications/toast_module.css +3 -1
  28. package/dist/components/pager/pagination_module.css +3 -1
  29. package/dist/components/scroll-area/scroll-area_module.css +3 -1
  30. package/dist/components/scroll-to-top/scroll-to-top_module.css +3 -1
  31. package/dist/components/section/section_module.css +3 -1
  32. package/dist/components/shimmer/shimmer_module.css +3 -1
  33. package/dist/components/table/table_module.css +3 -1
  34. package/dist/components/tabs/tabs_module.css +3 -1
  35. package/dist/components/tooltip/tooltip_module.css +3 -1
  36. package/dist/icons/icons_module.css +3 -1
  37. package/dist/loaders/ellipses_module.css +3 -1
  38. package/dist/loaders/ring_module.css +3 -1
  39. package/dist/loaders/spinner_module.css +3 -1
  40. package/dist/styles/reset.css +172 -166
  41. package/dist/styles/styles.css +181 -1506
  42. package/dist/styles/typography.css +243 -237
  43. package/dist/widgets/datepicker/datepicker_module.css +3 -1
  44. package/dist/widgets/drawer/drawer_module.css +3 -1
  45. package/dist/widgets/image-lightbox/image-lightbox_module.css +3 -1
  46. package/dist/widgets/modal/modal_module.css +3 -1
  47. package/dist/widgets/timeline/timeline_module.css +3 -1
  48. package/package.json +4 -4
  49. package/src/components/accordion/accordion.module.css +3 -2
  50. package/src/components/avatar/avatar.module.css +3 -6
  51. package/src/components/badge/badge.module.css +3 -6
  52. package/src/components/button/button-group.module.css +3 -2
  53. package/src/components/button/button.module.css +3 -6
  54. package/src/components/button/combo-button.module.css +3 -2
  55. package/src/components/button/control-buttons.module.css +3 -2
  56. package/src/components/button/copy-button.module.css +3 -6
  57. package/src/components/card/card.module.css +3 -6
  58. package/src/components/chips/chip.module.css +3 -6
  59. package/src/components/container/container.module.css +3 -6
  60. package/src/components/dropdown/dropdown.module.css +3 -6
  61. package/src/components/hamburger/hamburger.module.css +3 -6
  62. package/src/components/inputs/autocomplete.module.css +3 -6
  63. package/src/components/inputs/calendar.module.css +3 -6
  64. package/src/components/inputs/checkbox-group.module.css +3 -6
  65. package/src/components/inputs/checkbox.module.css +3 -6
  66. package/src/components/inputs/error-text.module.css +3 -6
  67. package/src/components/inputs/help-text.module.css +3 -6
  68. package/src/components/inputs/input-adornment.module.css +3 -6
  69. package/src/components/inputs/input.module.css +3 -6
  70. package/src/components/inputs/label.module.css +3 -6
  71. package/src/components/inputs/radio-group.module.css +3 -6
  72. package/src/components/inputs/select.module.css +3 -6
  73. package/src/components/inputs/text-area.module.css +3 -6
  74. package/src/components/notifications/alert.module.css +3 -6
  75. package/src/components/notifications/toast.module.css +3 -6
  76. package/src/components/pager/pagination.module.css +3 -6
  77. package/src/components/scroll-area/scroll-area.module.css +3 -6
  78. package/src/components/scroll-to-top/scroll-to-top.module.css +3 -2
  79. package/src/components/section/section.module.css +3 -6
  80. package/src/components/shimmer/shimmer.module.css +3 -6
  81. package/src/components/table/table.module.css +3 -6
  82. package/src/components/tabs/tabs.module.css +3 -6
  83. package/src/components/tooltip/tooltip.module.css +3 -6
  84. package/src/icons/icons.module.css +3 -2
  85. package/src/loaders/ellipses.module.css +3 -6
  86. package/src/loaders/ring.module.css +3 -6
  87. package/src/loaders/spinner.module.css +3 -6
  88. package/src/styles/components/hamburger.css +3 -6
  89. package/src/styles/reset.css +337 -312
  90. package/src/styles/styles.css +3 -7
  91. package/src/styles/theme/autofill.css +53 -62
  92. package/src/styles/theme/defaults.css +67 -55
  93. package/src/styles/theme/scrollers.css +48 -39
  94. package/src/styles/typography/prose.css +270 -265
  95. package/src/styles/typography.css +20 -14
  96. package/src/widgets/datepicker/datepicker.module.css +3 -2
  97. package/src/widgets/drawer/drawer.module.css +3 -2
  98. package/src/widgets/image-lightbox/image-lightbox.module.css +3 -2
  99. package/src/widgets/modal/modal.module.css +3 -2
  100. package/src/widgets/timeline/timeline.module.css +3 -6
  101. package/src/styles/utils/scroll-layout-shift.css +0 -9
  102. package/src/styles/utils/utility-classes.css +0 -1395
  103. package/src/styles/utils/utils.css +0 -2
@@ -1,3 +1,5 @@
1
+ @layer base, byline-base, components, byline-components, byline-functional, utilities, byline-utilities, theme, byline-theme;
2
+
1
3
  @layer byline-typography {
2
4
  :root {
3
5
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
@@ -104,295 +106,299 @@
104
106
  --prose-pre-background: #1f2937;
105
107
  }
106
108
 
107
- html {
108
- color: var(--prose-body);
109
- font-size: 1rem;
110
- }
111
-
112
- html .not-dark {
113
- color: var(--prose-body);
114
- }
109
+ @scope (.byline-ui) {
110
+ :scope {
111
+ color: var(--prose-body);
112
+ font-size: 1rem;
113
+ }
115
114
 
116
- article, .editor-text, .break-long-words {
117
- overflow-wrap: anywhere;
118
- }
115
+ .not-dark {
116
+ color: var(--prose-body);
117
+ }
119
118
 
120
- article, .dynamic-text {
121
- font-size: 1.25rem;
122
- line-height: 1.6;
123
- }
119
+ article, .editor-text, .break-long-words {
120
+ overflow-wrap: anywhere;
121
+ }
124
122
 
125
- @media screen and (width >= 48rem) {
126
123
  article, .dynamic-text {
127
- font-size: 1.125rem;
128
- line-height: 1.64;
124
+ font-size: 1.25rem;
125
+ line-height: 1.6;
129
126
  }
130
- }
131
127
 
132
- .prose {
133
- & h1, & h2, & h3, & h4, & h5 {
134
- color: var(--prose-headings);
128
+ @media screen and (width >= 48rem) {
129
+ article, .dynamic-text {
130
+ font-size: 1.125rem;
131
+ line-height: 1.64;
132
+ }
135
133
  }
136
- }
137
134
 
138
- .prose :where(h1):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
139
- margin-top: 0;
140
- margin-bottom: 1rem;
141
- font-size: 2.5rem;
142
- font-weight: 600;
143
- line-height: 1.125;
144
- }
135
+ .prose {
136
+ & h1, & h2, & h3, & h4, & h5 {
137
+ color: var(--prose-headings);
138
+ }
139
+ }
145
140
 
146
- .prose :where(h2):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
147
- margin-top: 1.5rem;
148
- margin-bottom: .75rem;
149
- font-size: 2rem;
150
- font-weight: 600;
151
- line-height: 1.2;
152
- }
141
+ .prose :where(h1):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
142
+ margin-top: 0;
143
+ margin-bottom: 1rem;
144
+ font-size: 2.5rem;
145
+ font-weight: 600;
146
+ line-height: 1.125;
147
+ }
153
148
 
154
- .prose :where(h3):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
155
- margin-top: 1.25rem;
156
- margin-bottom: .75rem;
157
- font-size: 1.75rem;
158
- font-weight: 600;
159
- line-height: 1.1;
160
- }
149
+ .prose :where(h2):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
150
+ margin-top: 1.5rem;
151
+ margin-bottom: .75rem;
152
+ font-size: 2rem;
153
+ font-weight: 600;
154
+ line-height: 1.2;
155
+ }
161
156
 
162
- .prose :where(h4):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
163
- margin-top: 1.25rem;
164
- margin-bottom: .65rem;
165
- font-size: 1.55rem;
166
- font-weight: 600;
167
- line-height: 1.1;
168
- }
157
+ .prose :where(h3):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
158
+ margin-top: 1.25rem;
159
+ margin-bottom: .75rem;
160
+ font-size: 1.75rem;
161
+ font-weight: 600;
162
+ line-height: 1.1;
163
+ }
169
164
 
170
- .prose :where(p):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
171
- margin-top: 1.25em;
172
- margin-bottom: 1.25em;
173
- }
165
+ .prose :where(h4):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
166
+ margin-top: 1.25rem;
167
+ margin-bottom: .65rem;
168
+ font-size: 1.55rem;
169
+ font-weight: 600;
170
+ line-height: 1.1;
171
+ }
174
172
 
175
- .prose-lg :where(p):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
176
- margin-top: 1.25em;
177
- margin-bottom: 1.25em;
178
- font-size: 1.125rem;
179
- line-height: 1.64;
180
- }
173
+ .prose :where(p):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
174
+ margin-top: 1.25em;
175
+ margin-bottom: 1.25em;
176
+ }
181
177
 
182
- .prose-xl :where(p):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
183
- margin-top: 1.25em;
184
- margin-bottom: 1.25em;
185
- font-size: 1.25rem;
186
- line-height: 1.6;
187
- }
178
+ .prose-lg :where(p):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
179
+ margin-top: 1.25em;
180
+ margin-bottom: 1.25em;
181
+ font-size: 1.125rem;
182
+ line-height: 1.64;
183
+ }
188
184
 
189
- .prose :where([class~="lead"]):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
190
- color: var(--prose-lead);
191
- margin-top: 1.2em;
192
- margin-bottom: 1.2em;
193
- font-size: 1.25em;
194
- line-height: 1.4;
195
- }
185
+ .prose-xl :where(p):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
186
+ margin-top: 1.25em;
187
+ margin-bottom: 1.25em;
188
+ font-size: 1.25rem;
189
+ line-height: 1.6;
190
+ }
196
191
 
197
- .prose :where(a):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
198
- color: var(--prose-links);
199
- font-weight: 500;
200
- text-decoration: underline;
201
- }
192
+ .prose :where([class~="lead"]):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
193
+ color: var(--prose-lead);
194
+ margin-top: 1.2em;
195
+ margin-bottom: 1.2em;
196
+ font-size: 1.25em;
197
+ line-height: 1.4;
198
+ }
202
199
 
203
- .prose :where(strong):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
204
- color: var(--prose-bold);
205
- font-weight: 500;
206
- }
200
+ .prose :where(a):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
201
+ color: var(--prose-links);
202
+ font-weight: 500;
203
+ text-decoration: underline;
204
+ }
207
205
 
208
- .prose :where(a strong):not(:where([class~="not-prose"], [class~="not-prose"] *)), .prose :where(blockquote strong):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
209
- color: inherit;
210
- }
206
+ .prose :where(strong):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
207
+ color: var(--prose-bold);
208
+ font-weight: 500;
209
+ }
211
210
 
212
- .prose :where(ol):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
213
- margin-top: 1.25em;
214
- margin-bottom: 1.25em;
215
- padding-inline-start: 1.625em;
216
- list-style-type: decimal;
217
- }
211
+ .prose :where(a strong):not(:where([class~="not-prose"], [class~="not-prose"] *)), .prose :where(blockquote strong):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
212
+ color: inherit;
213
+ }
218
214
 
219
- .prose :where(ol[type="A"]):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
220
- list-style-type: upper-alpha;
221
- }
215
+ .prose :where(ol):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
216
+ margin-top: 1.25em;
217
+ margin-bottom: 1.25em;
218
+ padding-inline-start: 1.625em;
219
+ list-style-type: decimal;
220
+ }
222
221
 
223
- .prose :where(ol[type="a"]):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
224
- list-style-type: lower-alpha;
225
- }
222
+ .prose :where(ol[type="A"]):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
223
+ list-style-type: upper-alpha;
224
+ }
226
225
 
227
- .prose :where(ol[type="A" s]):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
228
- list-style-type: upper-alpha;
229
- }
226
+ .prose :where(ol[type="a"]):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
227
+ list-style-type: lower-alpha;
228
+ }
230
229
 
231
- .prose :where(ol[type="a" s]):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
232
- list-style-type: lower-alpha;
233
- }
230
+ .prose :where(ol[type="A" s]):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
231
+ list-style-type: upper-alpha;
232
+ }
234
233
 
235
- .prose :where(ol[type="I"]):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
236
- list-style-type: upper-roman;
237
- }
234
+ .prose :where(ol[type="a" s]):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
235
+ list-style-type: lower-alpha;
236
+ }
238
237
 
239
- .prose :where(ol[type="i"]):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
240
- list-style-type: lower-roman;
241
- }
238
+ .prose :where(ol[type="I"]):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
239
+ list-style-type: upper-roman;
240
+ }
242
241
 
243
- .prose :where(ol[type="I" s]):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
244
- list-style-type: upper-roman;
245
- }
242
+ .prose :where(ol[type="i"]):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
243
+ list-style-type: lower-roman;
244
+ }
246
245
 
247
- .prose :where(ol[type="i" s]):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
248
- list-style-type: lower-roman;
249
- }
246
+ .prose :where(ol[type="I" s]):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
247
+ list-style-type: upper-roman;
248
+ }
250
249
 
251
- .prose :where(ol[type="1"]):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
252
- list-style-type: decimal;
253
- }
250
+ .prose :where(ol[type="i" s]):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
251
+ list-style-type: lower-roman;
252
+ }
254
253
 
255
- .prose :where(ul):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
256
- margin-top: 1.25em;
257
- margin-bottom: 1.25em;
258
- padding-inline-start: 1.625em;
259
- list-style-type: disc;
260
- }
254
+ .prose :where(ol[type="1"]):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
255
+ list-style-type: decimal;
256
+ }
261
257
 
262
- .prose :where(ol > li):not(:where([class~="not-prose"], [class~="not-prose"] *))::marker {
263
- color: var(--prose-counters);
264
- font-weight: 400;
265
- }
258
+ .prose :where(ul):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
259
+ margin-top: 1.25em;
260
+ margin-bottom: 1.25em;
261
+ padding-inline-start: 1.625em;
262
+ list-style-type: disc;
263
+ }
266
264
 
267
- .prose :where(ul > li):not(:where([class~="not-prose"], [class~="not-prose"] *))::marker {
268
- color: var(--prose-bullets);
269
- }
265
+ .prose :where(ol > li):not(:where([class~="not-prose"], [class~="not-prose"] *))::marker {
266
+ color: var(--prose-counters);
267
+ font-weight: 400;
268
+ }
270
269
 
271
- .prose :where(dt):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
272
- color: var(--prose-headings);
273
- margin-top: 1.25em;
274
- font-weight: 500;
275
- }
270
+ .prose :where(ul > li):not(:where([class~="not-prose"], [class~="not-prose"] *))::marker {
271
+ color: var(--prose-bullets);
272
+ }
276
273
 
277
- .prose :where(hr):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
278
- border-color: var(--prose-hr);
279
- border-top-width: 1px;
280
- margin-top: 3em;
281
- margin-bottom: 3em;
282
- }
274
+ .prose :where(dt):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
275
+ color: var(--prose-headings);
276
+ margin-top: 1.25em;
277
+ font-weight: 500;
278
+ }
283
279
 
284
- .prose :where(blockquote):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
285
- color: var(--prose-quotes);
286
- quotes: none;
287
- border-inline-start-width: .25rem;
288
- border-inline-start-color: var(--prose-quote-borders);
289
- margin-top: 1.3rem;
290
- margin-bottom: 1.3rem;
291
- margin-right: 2rem;
292
- padding-inline-start: 1rem;
293
- font-size: 1.2em;
294
- font-style: normal;
295
- font-weight: 600;
296
- line-height: 1.3;
297
- }
280
+ .prose :where(hr):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
281
+ border-color: var(--prose-hr);
282
+ border-top-width: 1px;
283
+ margin-top: 3em;
284
+ margin-bottom: 3em;
285
+ }
298
286
 
299
- @media (width >= 48rem) {
300
287
  .prose :where(blockquote):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
288
+ color: var(--prose-quotes);
289
+ quotes: none;
290
+ border-inline-start-width: .25rem;
291
+ border-inline-start-color: var(--prose-quote-borders);
292
+ margin-top: 1.3rem;
293
+ margin-bottom: 1.3rem;
294
+ margin-right: 2rem;
295
+ padding-inline-start: 1rem;
301
296
  font-size: 1.2em;
297
+ font-style: normal;
298
+ font-weight: 600;
302
299
  line-height: 1.3;
303
300
  }
304
- }
305
301
 
306
- .prose :where(blockquote p:first-of-type):not(:where([class~="not-prose"], [class~="not-prose"] *)):before {
307
- content: open-quote;
308
- }
302
+ @media (width >= 48rem) {
303
+ .prose :where(blockquote):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
304
+ font-size: 1.2em;
305
+ line-height: 1.3;
306
+ }
307
+ }
309
308
 
310
- .prose :where(blockquote p:last-of-type):not(:where([class~="not-prose"], [class~="not-prose"] *)):after {
311
- content: close-quote;
312
- }
309
+ .prose :where(blockquote p:first-of-type):not(:where([class~="not-prose"], [class~="not-prose"] *)):before {
310
+ content: open-quote;
311
+ }
313
312
 
314
- .prose :where(img):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
315
- margin-top: 2em;
316
- margin-bottom: 2em;
317
- }
313
+ .prose :where(blockquote p:last-of-type):not(:where([class~="not-prose"], [class~="not-prose"] *)):after {
314
+ content: close-quote;
315
+ }
318
316
 
319
- .prose :where(picture):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
320
- margin-top: 2em;
321
- margin-bottom: 2em;
322
- display: block;
323
- }
317
+ .prose :where(img):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
318
+ margin-top: 2em;
319
+ margin-bottom: 2em;
320
+ }
324
321
 
325
- .prose :where(video):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
326
- margin-top: 2em;
327
- margin-bottom: 2em;
328
- }
322
+ .prose :where(picture):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
323
+ margin-top: 2em;
324
+ margin-bottom: 2em;
325
+ display: block;
326
+ }
329
327
 
330
- .prose :where(kbd):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
331
- color: var(--prose-kbd);
332
- box-shadow: 0 0 0 1px rgb(var(--prose-kbd-shadows) / 10%),
333
- 0 3px 0 rgb(var(--prose-kbd-shadows) / 10%);
334
- padding-top: .1875em;
335
- padding-inline-end: .375em;
336
- padding-bottom: .1875em;
337
- border-radius: .3125rem;
338
- padding-inline-start: .375em;
339
- font-family: inherit;
340
- font-size: .875em;
341
- font-weight: 500;
342
- }
328
+ .prose :where(video):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
329
+ margin-top: 2em;
330
+ margin-bottom: 2em;
331
+ }
343
332
 
344
- .prose :where(code):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
345
- color: var(--prose-code);
346
- background-color: var(--prose-code-background);
347
- border-color: var(--prose-code-borders);
348
- border-width: 1px;
349
- border-radius: .25rem;
350
- padding: .125rem .375rem;
351
- font-size: .875em;
352
- font-weight: 400;
353
- }
333
+ .prose :where(kbd):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
334
+ color: var(--prose-kbd);
335
+ box-shadow: 0 0 0 1px rgb(var(--prose-kbd-shadows) / 10%),
336
+ 0 3px 0 rgb(var(--prose-kbd-shadows) / 10%);
337
+ padding-top: .1875em;
338
+ padding-inline-end: .375em;
339
+ padding-bottom: .1875em;
340
+ border-radius: .3125rem;
341
+ padding-inline-start: .375em;
342
+ font-family: inherit;
343
+ font-size: .875em;
344
+ font-weight: 500;
345
+ }
354
346
 
355
- .prose :where(pre):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
356
- color: var(--prose-pre-code);
357
- background-color: var(--prose-pre-background);
358
- padding-top: .857143em;
359
- padding-inline-end: 1.14286em;
360
- padding-bottom: .857143em;
361
- border-radius: .375rem;
362
- margin-top: 1.71429em;
363
- margin-bottom: 1.71429em;
364
- padding-inline-start: 1.14286em;
365
- font-weight: 400;
366
- line-height: 1.71429;
367
- overflow-x: auto;
368
- }
347
+ .prose :where(code):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
348
+ color: var(--prose-code);
349
+ background-color: var(--prose-code-background);
350
+ border-color: var(--prose-code-borders);
351
+ border-width: 1px;
352
+ border-radius: .25rem;
353
+ padding: .125rem .375rem;
354
+ font-size: .875em;
355
+ font-weight: 400;
356
+ }
369
357
 
370
- .prose :where(pre code):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
371
- background-color: initial;
372
- font-weight: inherit;
373
- color: inherit;
374
- font-family: inherit;
375
- font-size: 1em;
376
- line-height: inherit;
377
- padding: 0;
378
- border-width: 0;
379
- border-radius: 0;
380
- padding: 0;
381
- }
358
+ .prose :where(pre):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
359
+ color: var(--prose-pre-code);
360
+ background-color: var(--prose-pre-background);
361
+ padding-top: .857143em;
362
+ padding-inline-end: 1.14286em;
363
+ padding-bottom: .857143em;
364
+ border-radius: .375rem;
365
+ margin-top: 1.71429em;
366
+ margin-bottom: 1.71429em;
367
+ padding-inline-start: 1.14286em;
368
+ font-weight: 400;
369
+ line-height: 1.71429;
370
+ overflow-x: auto;
371
+ }
382
372
 
383
- html, .font-sans {
384
- font-family: var(--font-sans);
373
+ .prose :where(pre code):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
374
+ background-color: initial;
375
+ font-weight: inherit;
376
+ color: inherit;
377
+ font-family: inherit;
378
+ font-size: 1em;
379
+ line-height: inherit;
380
+ padding: 0;
381
+ border-width: 0;
382
+ border-radius: 0;
383
+ padding: 0;
384
+ }
385
385
  }
386
386
 
387
- .font-display {
388
- font-family: var(--font-display);
389
- }
387
+ @scope (.byline-ui) {
388
+ :scope, .font-sans {
389
+ font-family: var(--font-sans);
390
+ }
390
391
 
391
- .font-serif {
392
- font-family: var(--font-serif);
393
- }
392
+ .font-display {
393
+ font-family: var(--font-display);
394
+ }
394
395
 
395
- .font-mono {
396
- font-family: var(--font-mono);
396
+ .font-serif {
397
+ font-family: var(--font-serif);
398
+ }
399
+
400
+ .font-mono {
401
+ font-family: var(--font-mono);
402
+ }
397
403
  }
398
404
  }
@@ -1,4 +1,4 @@
1
- @layer byline-base, byline-utilities, byline-theme;
1
+ @layer base, byline-base, components;
2
2
 
3
3
  @layer byline-components {
4
4
  :is(.container-u5_VUp, .infonomic-datepicker-container) {
@@ -186,3 +186,5 @@
186
186
  }
187
187
  }
188
188
 
189
+ @layer byline-functional, utilities, byline-utilities, theme, byline-theme, byline-typography;
190
+
@@ -1,4 +1,4 @@
1
- @layer byline-base, byline-utilities, byline-theme;
1
+ @layer base, byline-base, components;
2
2
 
3
3
  @layer byline-components {
4
4
  :is(.backdrop-Ga1s55, .infonomic-drawer-backdrop) {
@@ -127,3 +127,5 @@
127
127
  }
128
128
  }
129
129
 
130
+ @layer byline-functional, utilities, byline-utilities, theme, byline-theme, byline-typography;
131
+
@@ -1,4 +1,4 @@
1
- @layer byline-base, byline-utilities, byline-theme;
1
+ @layer base, byline-base, components;
2
2
 
3
3
  @layer byline-components {
4
4
  .container-E7tMnX {
@@ -80,3 +80,5 @@
80
80
  }
81
81
  }
82
82
 
83
+ @layer byline-functional, utilities, byline-utilities, theme, byline-theme, byline-typography;
84
+
@@ -1,4 +1,4 @@
1
- @layer byline-base, byline-utilities, byline-theme;
1
+ @layer base, byline-base, components;
2
2
 
3
3
  @layer byline-components {
4
4
  :is(.backdrop-BgKon2, .infonomic-modal-backdrop) {
@@ -116,3 +116,5 @@
116
116
  }
117
117
  }
118
118
 
119
+ @layer byline-functional, utilities, byline-utilities, theme, byline-theme, byline-typography;
120
+
@@ -1,4 +1,4 @@
1
- @layer byline-base, byline-functional, byline-utilities, byline-theme, byline-typography;
1
+ @layer base, byline-base, components;
2
2
 
3
3
  @layer byline-components {
4
4
  :is(.timeline-qJOU85, .infonomic-timeline) {
@@ -81,3 +81,5 @@
81
81
  }
82
82
  }
83
83
 
84
+ @layer byline-functional, utilities, byline-utilities, theme, byline-theme, byline-typography;
85
+
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.7.1",
6
+ "version": "1.7.2",
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.2",
67
67
  "zod-form-data": "^3.0.1",
68
- "@byline/admin": "1.7.1",
69
- "@byline/core": "1.7.1",
70
- "@byline/client": "1.7.1"
68
+ "@byline/core": "1.7.2",
69
+ "@byline/admin": "1.7.2",
70
+ "@byline/client": "1.7.2"
71
71
  },
72
72
  "peerDependencies": {
73
73
  "react": "^19.0.0",
@@ -1,5 +1,6 @@
1
- @layer byline-base, byline-utilities, byline-theme, byline-components;
2
-
1
+ @layer base, byline-base, components, byline-components,
2
+ byline-functional, utilities, byline-utilities,
3
+ theme, byline-theme, byline-typography;
3
4
  @layer byline-components {
4
5
  .item,
5
6
  :global(.infonomic-accordion-item) {
@@ -1,9 +1,6 @@
1
- @layer byline-base,
2
- byline-functional,
3
- byline-utilities,
4
- byline-theme,
5
- byline-typography,
6
- byline-components;
1
+ @layer base, byline-base, components, byline-components,
2
+ byline-functional, utilities, byline-utilities,
3
+ theme, byline-theme, byline-typography;
7
4
 
8
5
  @layer byline-components {
9
6
  /* relative inline-flex h-10 w-10 rounded-full */