@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,209 +1,215 @@
1
+ @layer base;
2
+
1
3
  @layer byline-base {
2
- *, :before, :after {
3
- box-sizing: border-box;
4
- border: 0 solid #e5e7eb;
5
- }
4
+ @scope (.byline-ui) {
5
+ *, :before, :after {
6
+ box-sizing: border-box;
7
+ border: 0 solid #e5e7eb;
8
+ }
6
9
 
7
- :before, :after {
8
- --tw-content: "";
9
- }
10
+ :before, :after {
11
+ --tw-content: "";
12
+ }
10
13
 
11
- html, :host {
12
- scroll-behavior: smooth;
13
- -webkit-text-size-adjust: 100%;
14
- -moz-tab-size: 4;
15
- -o-tab-size: 4;
16
- tab-size: 4;
17
- font-feature-settings: normal;
18
- font-variation-settings: normal;
19
- -webkit-tap-highlight-color: transparent;
20
- font-family: Inter, ui-sans-serif, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
21
- line-height: 1.5;
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
- body {
25
- line-height: inherit;
26
- margin: 0;
27
- }
27
+ body {
28
+ line-height: inherit;
29
+ margin: 0;
30
+ }
28
31
 
29
- hr {
30
- height: 0;
31
- color: inherit;
32
- border-top-width: 1px;
33
- }
32
+ hr {
33
+ height: 0;
34
+ color: inherit;
35
+ border-top-width: 1px;
36
+ }
34
37
 
35
- abbr:where([title]) {
36
- text-decoration: underline dotted;
37
- }
38
+ abbr:where([title]) {
39
+ text-decoration: underline dotted;
40
+ }
38
41
 
39
- h1, h2, h3, h4, h5, h6 {
40
- font-size: inherit;
41
- font-weight: inherit;
42
- }
42
+ h1, h2, h3, h4, h5, h6 {
43
+ font-size: inherit;
44
+ font-weight: inherit;
45
+ }
43
46
 
44
- a {
45
- color: inherit;
46
- text-decoration: inherit;
47
- }
47
+ a {
48
+ color: inherit;
49
+ text-decoration: inherit;
50
+ }
48
51
 
49
- b, strong {
50
- font-weight: bolder;
51
- }
52
+ b, strong {
53
+ font-weight: bolder;
54
+ }
52
55
 
53
- code, kbd, samp, pre {
54
- font-feature-settings: normal;
55
- font-variation-settings: normal;
56
- font-family: Source Code Pro, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
57
- font-size: 1em;
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
- small {
61
- font-size: 80%;
62
- }
63
+ small {
64
+ font-size: 80%;
65
+ }
63
66
 
64
- sub, sup {
65
- vertical-align: baseline;
66
- font-size: 75%;
67
- line-height: 0;
68
- position: relative;
69
- }
67
+ sub, sup {
68
+ vertical-align: baseline;
69
+ font-size: 75%;
70
+ line-height: 0;
71
+ position: relative;
72
+ }
70
73
 
71
- sub {
72
- bottom: -.25em;
73
- }
74
+ sub {
75
+ bottom: -.25em;
76
+ }
74
77
 
75
- sup {
76
- top: -.5em;
77
- }
78
+ sup {
79
+ top: -.5em;
80
+ }
78
81
 
79
- table {
80
- text-indent: 0;
81
- border-color: inherit;
82
- border-collapse: collapse;
83
- }
82
+ table {
83
+ text-indent: 0;
84
+ border-color: inherit;
85
+ border-collapse: collapse;
86
+ }
84
87
 
85
- button, input, optgroup, select, textarea {
86
- font-feature-settings: inherit;
87
- font-variation-settings: inherit;
88
- font-family: inherit;
89
- font-size: 100%;
90
- font-weight: inherit;
91
- line-height: inherit;
92
- letter-spacing: inherit;
93
- color: inherit;
94
- margin: 0;
95
- padding: 0;
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
- button, select {
99
- text-transform: none;
100
- }
101
+ button, select {
102
+ text-transform: none;
103
+ }
101
104
 
102
- button, input:where([type="button"]), input:where([type="reset"]), input:where([type="submit"]) {
103
- -webkit-appearance: button;
104
- background-color: #0000;
105
- background-image: none;
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
- :-moz-focusring {
109
- outline: auto;
110
- }
111
+ :-moz-focusring {
112
+ outline: auto;
113
+ }
111
114
 
112
- :-moz-ui-invalid {
113
- box-shadow: none;
114
- }
115
+ :-moz-ui-invalid {
116
+ box-shadow: none;
117
+ }
115
118
 
116
- progress {
117
- vertical-align: baseline;
118
- }
119
+ progress {
120
+ vertical-align: baseline;
121
+ }
119
122
 
120
- ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
121
- height: auto;
122
- }
123
+ ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
124
+ height: auto;
125
+ }
123
126
 
124
- [type="search"] {
125
- -webkit-appearance: textfield;
126
- outline-offset: -2px;
127
- }
127
+ [type="search"] {
128
+ -webkit-appearance: textfield;
129
+ outline-offset: -2px;
130
+ }
128
131
 
129
- ::-webkit-search-decoration {
130
- -webkit-appearance: none;
131
- }
132
+ ::-webkit-search-decoration {
133
+ -webkit-appearance: none;
134
+ }
132
135
 
133
- ::-webkit-file-upload-button {
134
- -webkit-appearance: button;
135
- font: inherit;
136
- }
136
+ ::-webkit-file-upload-button {
137
+ -webkit-appearance: button;
138
+ font: inherit;
139
+ }
137
140
 
138
- summary {
139
- display: list-item;
140
- }
141
+ summary {
142
+ display: list-item;
143
+ }
141
144
 
142
- blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre {
143
- margin: 0;
144
- }
145
+ blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre {
146
+ margin: 0;
147
+ }
145
148
 
146
- fieldset {
147
- margin: 0;
148
- padding: 0;
149
- }
149
+ fieldset {
150
+ margin: 0;
151
+ padding: 0;
152
+ }
150
153
 
151
- legend {
152
- padding: 0;
153
- }
154
+ legend {
155
+ padding: 0;
156
+ }
154
157
 
155
- ol, ul, menu {
156
- margin: 0;
157
- padding: 0;
158
- list-style: none;
159
- }
158
+ ol, ul, menu {
159
+ margin: 0;
160
+ padding: 0;
161
+ list-style: none;
162
+ }
160
163
 
161
- dialog {
162
- padding: 0;
163
- }
164
+ dialog {
165
+ padding: 0;
166
+ }
164
167
 
165
- textarea {
166
- resize: vertical;
167
- }
168
+ textarea {
169
+ resize: vertical;
170
+ }
168
171
 
169
- input::-moz-placeholder, textarea::-moz-placeholder {
170
- opacity: 1;
171
- color: #9ca3af;
172
- }
172
+ input::-moz-placeholder, textarea::-moz-placeholder {
173
+ opacity: 1;
174
+ color: #9ca3af;
175
+ }
173
176
 
174
- input::placeholder, textarea::placeholder {
175
- opacity: 1;
176
- color: #9ca3af;
177
- }
177
+ input::placeholder, textarea::placeholder {
178
+ opacity: 1;
179
+ color: #9ca3af;
180
+ }
178
181
 
179
- button, [role="button"] {
180
- cursor: pointer;
181
- }
182
+ button, [role="button"] {
183
+ cursor: pointer;
184
+ }
182
185
 
183
- :disabled {
184
- cursor: default;
185
- }
186
+ :disabled {
187
+ cursor: default;
188
+ }
186
189
 
187
- img, svg, video, canvas, audio, iframe, embed, object {
188
- vertical-align: middle;
189
- display: block;
190
- }
190
+ img, svg, video, canvas, audio, iframe, embed, object {
191
+ vertical-align: middle;
192
+ display: block;
193
+ }
191
194
 
192
- img, video {
193
- max-width: 100%;
194
- height: auto;
195
- }
195
+ img, video {
196
+ max-width: 100%;
197
+ height: auto;
198
+ }
196
199
 
197
- [hidden]:where(:not([hidden="until-found"])) {
198
- display: none;
199
- }
200
+ [hidden]:where(:not([hidden="until-found"])) {
201
+ display: none;
202
+ }
200
203
 
201
- @media (prefers-reduced-motion: reduce) {
202
- *, :before, :after {
203
- scroll-behavior: auto;
204
- transition-duration: .01ms;
205
- animation-duration: .01ms;
206
- animation-iteration-count: 1;
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;