@byline/ui 1.10.1 → 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.
Files changed (184) hide show
  1. package/dist/components/accordion/accordion.js +5 -5
  2. package/dist/components/accordion/accordion_module.css +6 -6
  3. package/dist/components/avatar/avatar.js +4 -4
  4. package/dist/components/avatar/avatar_module.css +4 -4
  5. package/dist/components/badge/badge.js +1 -1
  6. package/dist/components/badge/badge_module.css +8 -8
  7. package/dist/components/button/button-group_module.css +2 -2
  8. package/dist/components/button/button.js +1 -1
  9. package/dist/components/button/button_module.css +46 -42
  10. package/dist/components/button/combo-button_module.css +6 -6
  11. package/dist/components/button/control-buttons.js +1 -1
  12. package/dist/components/button/control-buttons_module.css +1 -1
  13. package/dist/components/button/copy-button.js +2 -2
  14. package/dist/components/button/copy-button_module.css +7 -7
  15. package/dist/components/card/card.js +6 -6
  16. package/dist/components/card/card_module.css +9 -9
  17. package/dist/components/chips/chip.js +5 -5
  18. package/dist/components/chips/chip_module.css +41 -38
  19. package/dist/components/container/container.js +1 -1
  20. package/dist/components/container/container_module.css +4 -4
  21. package/dist/components/dropdown/dropdown.js +8 -8
  22. package/dist/components/dropdown/dropdown_module.css +8 -8
  23. package/dist/components/hamburger/hamburger.js +3 -3
  24. package/dist/components/hamburger/hamburger_module.css +16 -16
  25. package/dist/components/inputs/autocomplete.js +9 -9
  26. package/dist/components/inputs/autocomplete_module.css +36 -36
  27. package/dist/components/inputs/checkbox-group.js +1 -1
  28. package/dist/components/inputs/checkbox-group_module.css +1 -1
  29. package/dist/components/inputs/checkbox.js +5 -5
  30. package/dist/components/inputs/checkbox_module.css +31 -31
  31. package/dist/components/inputs/error-text_module.css +4 -4
  32. package/dist/components/inputs/help-text.js +1 -1
  33. package/dist/components/inputs/help-text_module.css +4 -4
  34. package/dist/components/inputs/input-adornment.js +1 -1
  35. package/dist/components/inputs/input-adornment_module.css +3 -3
  36. package/dist/components/inputs/input.js +5 -5
  37. package/dist/components/inputs/input_module.css +38 -38
  38. package/dist/components/inputs/label_module.css +2 -2
  39. package/dist/components/inputs/radio-group.js +1 -1
  40. package/dist/components/inputs/radio-group_module.css +18 -18
  41. package/dist/components/inputs/select.js +3 -3
  42. package/dist/components/inputs/select_module.css +8 -8
  43. package/dist/components/inputs/text-area.js +1 -1
  44. package/dist/components/inputs/text-area_module.css +3 -3
  45. package/dist/components/notifications/alert.js +10 -10
  46. package/dist/components/notifications/alert_module.css +16 -16
  47. package/dist/components/notifications/toast.js +7 -7
  48. package/dist/components/notifications/toast_module.css +25 -24
  49. package/dist/components/pager/pagination.js +2 -2
  50. package/dist/components/pager/pagination_module.css +6 -6
  51. package/dist/components/scroll-area/scroll-area.js +7 -7
  52. package/dist/components/scroll-area/scroll-area_module.css +9 -9
  53. package/dist/components/scroll-to-top/scroll-to-top.js +2 -2
  54. package/dist/components/scroll-to-top/scroll-to-top_module.css +9 -9
  55. package/dist/components/section/section.js +1 -1
  56. package/dist/components/section/section_module.css +1 -1
  57. package/dist/components/shimmer/shimmer_module.css +6 -6
  58. package/dist/components/table/table.js +8 -8
  59. package/dist/components/table/table_module.css +15 -15
  60. package/dist/components/tabs/tabs.js +4 -4
  61. package/dist/components/tabs/tabs_module.css +9 -9
  62. package/dist/components/tooltip/tooltip.js +2 -2
  63. package/dist/components/tooltip/tooltip_module.css +6 -6
  64. package/dist/fields/checkbox/checkbox-field.js +2 -1
  65. package/dist/fields/checkbox/checkbox-field.module.js +6 -0
  66. package/dist/fields/checkbox/checkbox-field_module.css +4 -0
  67. package/dist/forms/form-context.d.ts +1 -0
  68. package/dist/forms/form-context.js +3 -2
  69. package/dist/forms/form-renderer.js +19 -20
  70. package/dist/loaders/ellipses.js +2 -2
  71. package/dist/loaders/ellipses_module.css +2 -2
  72. package/dist/loaders/ring.js +2 -2
  73. package/dist/loaders/ring_module.css +2 -2
  74. package/dist/loaders/spinner.js +3 -3
  75. package/dist/loaders/spinner_module.css +3 -3
  76. package/dist/styles/styles.css +12 -0
  77. package/dist/widgets/datepicker/datepicker.js +11 -11
  78. package/dist/widgets/datepicker/datepicker_module.css +21 -21
  79. package/dist/widgets/drawer/drawer-container.js +1 -1
  80. package/dist/widgets/drawer/drawer-content.js +1 -1
  81. package/dist/widgets/drawer/drawer-header.js +1 -1
  82. package/dist/widgets/drawer/drawer-top-actions.js +1 -1
  83. package/dist/widgets/drawer/drawer.js +2 -2
  84. package/dist/widgets/drawer/drawer_module.css +11 -11
  85. package/dist/widgets/modal/modal-actions.js +1 -1
  86. package/dist/widgets/modal/modal-container.js +1 -1
  87. package/dist/widgets/modal/modal-content.js +1 -1
  88. package/dist/widgets/modal/modal-header.js +1 -1
  89. package/dist/widgets/modal/modal.js +2 -2
  90. package/dist/widgets/modal/modal_module.css +12 -12
  91. package/dist/widgets/search/search.js +6 -0
  92. package/dist/widgets/timeline/timeline_module.css +10 -10
  93. package/package.json +14 -14
  94. package/src/components/accordion/accordion.module.css +4 -4
  95. package/src/components/accordion/accordion.tsx +5 -5
  96. package/src/components/avatar/avatar.module.css +4 -4
  97. package/src/components/avatar/avatar.tsx +4 -4
  98. package/src/components/badge/badge.module.css +8 -8
  99. package/src/components/badge/badge.tsx +2 -2
  100. package/src/components/button/button-group.module.css +2 -2
  101. package/src/components/button/button.module.css +162 -86
  102. package/src/components/button/button.tsx +4 -4
  103. package/src/components/button/combo-button.module.css +7 -7
  104. package/src/components/button/control-buttons.module.css +5 -5
  105. package/src/components/button/control-buttons.tsx +1 -1
  106. package/src/components/button/copy-button.module.css +7 -7
  107. package/src/components/button/copy-button.tsx +5 -5
  108. package/src/components/card/card.module.css +9 -9
  109. package/src/components/card/card.tsx +6 -6
  110. package/src/components/chips/chip.module.css +126 -71
  111. package/src/components/chips/chip.tsx +8 -12
  112. package/src/components/container/container.module.css +4 -4
  113. package/src/components/container/container.tsx +1 -1
  114. package/src/components/dropdown/dropdown.module.css +7 -7
  115. package/src/components/dropdown/dropdown.tsx +8 -8
  116. package/src/components/hamburger/hamburger.module.css +16 -16
  117. package/src/components/hamburger/hamburger.tsx +3 -3
  118. package/src/components/inputs/autocomplete.module.css +42 -42
  119. package/src/components/inputs/autocomplete.tsx +12 -14
  120. package/src/components/inputs/checkbox-group.module.css +1 -1
  121. package/src/components/inputs/checkbox-group.tsx +1 -1
  122. package/src/components/inputs/checkbox.module.css +38 -34
  123. package/src/components/inputs/checkbox.tsx +8 -11
  124. package/src/components/inputs/error-text.module.css +4 -4
  125. package/src/components/inputs/help-text.module.css +4 -4
  126. package/src/components/inputs/help-text.tsx +1 -3
  127. package/src/components/inputs/input-adornment.module.css +3 -3
  128. package/src/components/inputs/input-adornment.tsx +2 -2
  129. package/src/components/inputs/input.module.css +45 -45
  130. package/src/components/inputs/input.tsx +8 -12
  131. package/src/components/inputs/label.module.css +2 -2
  132. package/src/components/inputs/radio-group.module.css +17 -17
  133. package/src/components/inputs/radio-group.tsx +1 -1
  134. package/src/components/inputs/select.module.css +8 -8
  135. package/src/components/inputs/select.tsx +3 -3
  136. package/src/components/inputs/text-area.module.css +4 -4
  137. package/src/components/inputs/text-area.tsx +3 -3
  138. package/src/components/notifications/alert.module.css +16 -16
  139. package/src/components/notifications/alert.tsx +11 -11
  140. package/src/components/notifications/toast.module.css +41 -28
  141. package/src/components/notifications/toast.tsx +7 -9
  142. package/src/components/pager/pagination.module.css +6 -6
  143. package/src/components/pager/pagination.tsx +2 -2
  144. package/src/components/scroll-area/scroll-area.module.css +5 -5
  145. package/src/components/scroll-area/scroll-area.tsx +7 -7
  146. package/src/components/scroll-to-top/scroll-to-top.module.css +9 -9
  147. package/src/components/scroll-to-top/scroll-to-top.tsx +2 -2
  148. package/src/components/section/section.module.css +1 -1
  149. package/src/components/section/section.tsx +1 -1
  150. package/src/components/shimmer/shimmer.module.css +18 -8
  151. package/src/components/table/table.module.css +15 -15
  152. package/src/components/table/table.tsx +8 -8
  153. package/src/components/tabs/tabs.module.css +4 -4
  154. package/src/components/tabs/tabs.tsx +4 -4
  155. package/src/components/tooltip/tooltip.module.css +2 -2
  156. package/src/components/tooltip/tooltip.tsx +2 -2
  157. package/src/fields/checkbox/checkbox-field.module.css +4 -0
  158. package/src/fields/checkbox/checkbox-field.tsx +2 -1
  159. package/src/forms/form-context.tsx +10 -2
  160. package/src/forms/form-renderer.tsx +44 -30
  161. package/src/icons/source/icon-infonomic.svg +2 -2
  162. package/src/loaders/ellipses.module.css +2 -2
  163. package/src/loaders/ellipses.tsx +2 -2
  164. package/src/loaders/ring.module.css +2 -2
  165. package/src/loaders/ring.tsx +2 -2
  166. package/src/loaders/spinner.module.css +3 -3
  167. package/src/loaders/spinner.tsx +3 -6
  168. package/src/styles/styles.css +12 -0
  169. package/src/widgets/datepicker/datepicker.module.css +15 -15
  170. package/src/widgets/datepicker/datepicker.tsx +11 -21
  171. package/src/widgets/drawer/drawer-container.tsx +1 -1
  172. package/src/widgets/drawer/drawer-content.tsx +1 -1
  173. package/src/widgets/drawer/drawer-header.tsx +1 -1
  174. package/src/widgets/drawer/drawer-top-actions.tsx +1 -1
  175. package/src/widgets/drawer/drawer.module.css +11 -11
  176. package/src/widgets/drawer/drawer.tsx +2 -2
  177. package/src/widgets/modal/modal-actions.tsx +1 -1
  178. package/src/widgets/modal/modal-container.tsx +1 -1
  179. package/src/widgets/modal/modal-content.tsx +1 -1
  180. package/src/widgets/modal/modal-header.tsx +1 -1
  181. package/src/widgets/modal/modal.module.css +12 -12
  182. package/src/widgets/modal/modal.tsx +2 -2
  183. package/src/widgets/search/search.tsx +2 -0
  184. package/src/widgets/timeline/timeline.module.css +10 -10
@@ -11,13 +11,13 @@
11
11
 
12
12
  @layer byline-components {
13
13
  .container,
14
- :global(.infonomic-checkbox-container) {
14
+ :global(.byline-checkbox-container) {
15
15
  width: 100%;
16
16
  padding: 0;
17
17
  }
18
18
 
19
19
  .component,
20
- :global(.infonomic-checkbox-component) {
20
+ :global(.byline-checkbox-component) {
21
21
  display: flex;
22
22
  width: 100%;
23
23
  padding: 0;
@@ -26,12 +26,12 @@
26
26
  }
27
27
 
28
28
  .reverse,
29
- :global(.infonomic-checkbox-reverse) {
29
+ :global(.byline-checkbox-reverse) {
30
30
  flex-direction: row-reverse;
31
31
  }
32
32
 
33
33
  .checkbox,
34
- :global(.infonomic-checkbox) {
34
+ :global(.byline-checkbox) {
35
35
  display: inline-flex;
36
36
  align-items: center;
37
37
  justify-content: center;
@@ -42,24 +42,24 @@
42
42
  }
43
43
 
44
44
  .checkbox[data-checked],
45
- :global(.infonomic-checkbox)[data-checked] {
45
+ :global(.byline-checkbox)[data-checked] {
46
46
  outline-color: var(--ring-color);
47
47
  }
48
48
 
49
49
  .checkbox[data-disabled],
50
- :global(.infonomic-checkbox)[data-disabled] {
50
+ :global(.byline-checkbox)[data-disabled] {
51
51
  pointer-events: none;
52
52
  }
53
53
 
54
54
  .indicator,
55
- :global(.infonomic-checkbox-indicator) {
55
+ :global(.byline-checkbox-indicator) {
56
56
  display: flex;
57
57
  align-items: center;
58
58
  justify-content: center;
59
59
  }
60
60
 
61
61
  .icon,
62
- :global(.infonomic-checkbox-icon) {
62
+ :global(.byline-checkbox-icon) {
63
63
  width: 20px;
64
64
  height: 20px;
65
65
  color: var(--checkbox-icon-color);
@@ -75,7 +75,8 @@
75
75
 
76
76
  /* Style for the "checked" state — animation overrides the transition for bouncy entry */
77
77
  .indicator[data-checked] .icon,
78
- :global(.infonomic-checkbox-indicator)[data-checked] :global(.infonomic-checkbox-icon) {
78
+ :global(.byline-checkbox-indicator)[data-checked]
79
+ :global(.byline-checkbox-icon) {
79
80
  animation: checkBoxIn 0.3s cubic-bezier(0.25, 1.5, 0.5, 1) forwards;
80
81
  opacity: 1;
81
82
  transform: scale(1);
@@ -83,13 +84,14 @@
83
84
 
84
85
  /* Style for the "unchecked" state — no animation, let the CSS transition handle the exit */
85
86
  .indicator[data-unchecked] .icon,
86
- :global(.infonomic-checkbox-indicator)[data-unchecked] :global(.infonomic-checkbox-icon) {
87
+ :global(.byline-checkbox-indicator)[data-unchecked]
88
+ :global(.byline-checkbox-icon) {
87
89
  opacity: 0;
88
90
  transform: scale(0.8);
89
91
  }
90
92
 
91
93
  .label,
92
- :global(.infonomic-checkbox-label) {
94
+ :global(.byline-checkbox-label) {
93
95
  margin-left: 0.25rem;
94
96
  cursor: pointer;
95
97
  font-weight: 500;
@@ -97,12 +99,12 @@
97
99
  }
98
100
 
99
101
  .checkbox[data-disabled] ~ .label,
100
- :global(.infonomic-checkbox)[data-disabled] ~ :global(.infonomic-checkbox-label) {
102
+ :global(.byline-checkbox)[data-disabled] ~ :global(.byline-checkbox-label) {
101
103
  pointer-events: none;
102
104
  }
103
105
 
104
106
  .errorText,
105
- :global(.infonomic-dropdown-error-text) {
107
+ :global(.byline-dropdown-error-text) {
106
108
  margin-top: 0.25rem;
107
109
  font-size: 0.875rem;
108
110
  color: red;
@@ -110,83 +112,83 @@
110
112
 
111
113
  /* Sizes */
112
114
  .sm,
113
- :global(.infonomic-checkbox-sm) {
115
+ :global(.byline-checkbox-sm) {
114
116
  width: 16px;
115
117
  height: 16px;
116
118
  }
117
119
 
118
120
  .sm .icon,
119
- :global(.infonomic-checkbox-sm) :global(.infonomic-checkbox-icon) {
121
+ :global(.byline-checkbox-sm) :global(.byline-checkbox-icon) {
120
122
  width: 16px;
121
123
  height: 16px;
122
124
  }
123
125
 
124
126
  .sm ~ .label,
125
- :global(.infonomic-checkbox-sm) ~ :global(.infonomic-checkbox-label) {
127
+ :global(.byline-checkbox-sm) ~ :global(.byline-checkbox-label) {
126
128
  font-size: 0.85rem;
127
129
  }
128
130
 
129
131
  .md,
130
- :global(.infonomic-checkbox-md) {
132
+ :global(.byline-checkbox-md) {
131
133
  width: 18px;
132
134
  height: 18px;
133
135
  }
134
136
 
135
137
  .md .icon,
136
- :global(.infonomic-checkbox-md) :global(.infonomic-checkbox-icon) {
138
+ :global(.byline-checkbox-md) :global(.byline-checkbox-icon) {
137
139
  width: 18px;
138
140
  height: 18px;
139
141
  }
140
142
 
141
143
  .md ~ .label,
142
- :global(.infonomic-checkbox-md) ~ :global(.infonomic-checkbox-label) {
144
+ :global(.byline-checkbox-md) ~ :global(.byline-checkbox-label) {
143
145
  font-size: 0.875rem;
144
146
  }
145
147
 
146
148
  .lg,
147
- :global(.infonomic-checkbox-lg) {
149
+ :global(.byline-checkbox-lg) {
148
150
  width: 20px;
149
151
  height: 20px;
150
152
  }
151
153
 
152
154
  .lg .icon,
153
- :global(.infonomic-checkbox-lg) :global(.infonomic-checkbox-icon) {
155
+ :global(.byline-checkbox-lg) :global(.byline-checkbox-icon) {
154
156
  width: 22px;
155
157
  height: 22px;
156
158
  }
157
159
 
158
160
  .lg ~ .label,
159
- :global(.infonomic-checkbox-lg) ~ :global(.infonomic-checkbox-label) {
161
+ :global(.byline-checkbox-lg) ~ :global(.byline-checkbox-label) {
160
162
  font-size: 1rem;
161
163
  }
162
164
 
163
165
  /* Variants */
164
166
  .outlined,
165
- :global(.infonomic-checkbox-outlined) {
167
+ :global(.byline-checkbox-outlined) {
166
168
  border: 2px solid var(--checkbox-variant-outlined-border);
167
169
  --checkbox-icon-color: white;
168
170
  }
169
171
 
170
172
  .outlined[data-checked],
171
- :global(.infonomic-checkbox-outlined)[data-checked] {
173
+ :global(.byline-checkbox-outlined)[data-checked] {
172
174
  --ring-color: var(--checkbox-variant-outline-ring-color);
173
175
  background-color: var(--checkbox-variant-outlined);
174
176
  }
175
177
 
176
178
  .filled,
177
- :global(.infonomic-checkbox-filled) {
179
+ :global(.byline-checkbox-filled) {
178
180
  background-color: var(--checkbox-variant-filled);
179
181
  --checkbox-icon-color: white;
180
182
  }
181
183
 
182
184
  .filled[data-checked],
183
- :global(.infonomic-checkbox-filled)[data-checked] {
185
+ :global(.byline-checkbox-filled)[data-checked] {
184
186
  --ring-color: var(--checkbox-variant-outline-ring-color);
185
187
  }
186
188
 
187
189
  /* Intents */
188
190
  .primary,
189
- :global(.infonomic-checkbox-primary) {
191
+ :global(.byline-checkbox-primary) {
190
192
  --checkbox-variant-outlined-border: var(--fill-primary-strong);
191
193
  --checkbox-variant-outlined: var(--fill-primary-strong);
192
194
  --checkbox-variant-outlined-hover-border: var(--fill-primary-strong-hover);
@@ -196,17 +198,19 @@
196
198
  }
197
199
 
198
200
  .secondary,
199
- :global(.infonomic-checkbox-secondary) {
201
+ :global(.byline-checkbox-secondary) {
200
202
  --checkbox-variant-outlined-border: var(--fill-secondary-strong);
201
203
  --checkbox-variant-outlined: var(--fill-secondary-strong);
202
- --checkbox-variant-outlined-hover-border: var(--fill-secondary-strong-hover);
204
+ --checkbox-variant-outlined-hover-border: var(
205
+ --fill-secondary-strong-hover
206
+ );
203
207
  --checkbox-variant-outline-ring-color: var(--ring-secondary);
204
208
  --checkbox-variant-filled: var(--fill-secondary-strong);
205
209
  --checkbox-icon-color: black;
206
210
  }
207
211
 
208
212
  .noeffect,
209
- :global(.infonomic-checkbox-noeffect) {
213
+ :global(.byline-checkbox-noeffect) {
210
214
  --checkbox-variant-outlined-border: var(--fill-noeffect-strong);
211
215
  --checkbox-variant-outlined: var(--fill-noeffect-strong);
212
216
  --checkbox-variant-outlined-hover-border: var(--fill-noeffect-strong-hover);
@@ -216,7 +220,7 @@
216
220
  }
217
221
 
218
222
  .success,
219
- :global(.infonomic-checkbox-success) {
223
+ :global(.byline-checkbox-success) {
220
224
  --checkbox-variant-outlined-border: var(--fill-success-strong);
221
225
  --checkbox-variant-outlined: var(--fill-success-strong);
222
226
  --checkbox-variant-outlined-hover-border: var(--fill-success-strong-hover);
@@ -226,7 +230,7 @@
226
230
  }
227
231
 
228
232
  .info,
229
- :global(.infonomic-checkbox-info) {
233
+ :global(.byline-checkbox-info) {
230
234
  --checkbox-variant-outlined-border: var(--fill-info-strong);
231
235
  --checkbox-variant-outlined: var(--fill-info-strong);
232
236
  --checkbox-variant-outlined-hover-border: var(--fill-info-strong-hover);
@@ -236,7 +240,7 @@
236
240
  }
237
241
 
238
242
  .warning,
239
- :global(.infonomic-checkbox-warning) {
243
+ :global(.byline-checkbox-warning) {
240
244
  --checkbox-variant-outlined-border: var(--fill-warning-strong);
241
245
  --checkbox-variant-outlined: var(--fill-warning-strong);
242
246
  --checkbox-variant-outlined-hover-border: var(--fill-warning-strong-hover);
@@ -246,7 +250,7 @@
246
250
  }
247
251
 
248
252
  .danger,
249
- :global(.infonomic-checkbox-danger) {
253
+ :global(.byline-checkbox-danger) {
250
254
  --checkbox-variant-outlined-border: var(--fill-danger-strong);
251
255
  --checkbox-variant-outlined: var(--fill-danger-strong);
252
256
  --checkbox-variant-outlined-hover-border: var(--fill-danger-strong-hover);
@@ -56,9 +56,9 @@ export const Checkbox = function Checkbox({
56
56
  ref?: React.RefObject<HTMLButtonElement>
57
57
  }): React.JSX.Element {
58
58
  return (
59
- <div className={cx('infonomic-checkbox-container', styles.container, containerClasses)}>
59
+ <div className={cx('byline-checkbox-container', styles.container, containerClasses)}>
60
60
  <div
61
- className={cx('infonomic-checkbox-component', styles.component, componentClasses, {
61
+ className={cx('byline-checkbox-component', styles.component, componentClasses, {
62
62
  [styles.reverse]: reverse,
63
63
  })}
64
64
  >
@@ -69,10 +69,10 @@ export const Checkbox = function Checkbox({
69
69
  nativeButton
70
70
  render={<button type="button" />}
71
71
  className={cx(
72
- 'infonomic-checkbox',
73
- `infonomic-checkbox-${variant}`,
74
- `infonomic-checkbox-${size}`,
75
- `infonomic-checkbox-${intent}`,
72
+ 'byline-checkbox',
73
+ `byline-checkbox-${variant}`,
74
+ `byline-checkbox-${size}`,
75
+ `byline-checkbox-${intent}`,
76
76
  styles.checkbox,
77
77
  styles[variant],
78
78
  styles[size],
@@ -84,17 +84,14 @@ export const Checkbox = function Checkbox({
84
84
  >
85
85
  <CheckboxPrimitive.Indicator
86
86
  keepMounted
87
- className={cx('infonomic-checkbox-indicator', styles.indicator)}
87
+ className={cx('byline-checkbox-indicator', styles.indicator)}
88
88
  >
89
89
  <CheckIcon className={styles.icon} />
90
90
  </CheckboxPrimitive.Indicator>
91
91
  </CheckboxPrimitive.Root>
92
92
 
93
93
  {label != null && (
94
- <label
95
- htmlFor={id}
96
- className={cx('infonomic-checkbox-label', styles.label, labelClasses)}
97
- >
94
+ <label htmlFor={id} className={cx('byline-checkbox-label', styles.label, labelClasses)}>
98
95
  {label}
99
96
  </label>
100
97
  )}
@@ -11,23 +11,23 @@
11
11
 
12
12
  @layer byline-components {
13
13
  .text,
14
- :global(.infonomic-error-text) {
14
+ :global(.byline-error-text) {
15
15
  font-size: 0.875rem;
16
16
  color: var(--text-danger);
17
17
  }
18
18
 
19
19
  .sm,
20
- :global(.infonomic-error-text-sm) {
20
+ :global(.byline-error-text-sm) {
21
21
  font-size: 0.85rem;
22
22
  }
23
23
 
24
24
  .md,
25
- :global(.infonomic-error-text-md) {
25
+ :global(.byline-error-text-md) {
26
26
  font-size: 0.875rem;
27
27
  }
28
28
 
29
29
  .lg,
30
- :global(.infonomic-error-text-lg) {
30
+ :global(.byline-error-text-lg) {
31
31
  font-size: 0.9rem;
32
32
  }
33
33
  }
@@ -11,23 +11,23 @@
11
11
 
12
12
  @layer byline-components {
13
13
  .text,
14
- :global(.infonomic-help-text) {
14
+ :global(.byline-help-text) {
15
15
  font-size: 0.875rem;
16
16
  color: var(--muted);
17
17
  }
18
18
 
19
19
  .sm,
20
- :global(.infonomic-help-text-sm) {
20
+ :global(.byline-help-text-sm) {
21
21
  font-size: 0.85rem;
22
22
  }
23
23
 
24
24
  .md,
25
- :global(.infonomic-help-text-md) {
25
+ :global(.byline-help-text-md) {
26
26
  font-size: 0.875rem;
27
27
  }
28
28
 
29
29
  .lg,
30
- :global(.infonomic-help-text-lg) {
30
+ :global(.byline-help-text-lg) {
31
31
  font-size: 0.9rem;
32
32
  }
33
33
  }
@@ -12,8 +12,6 @@ interface HelpTextProps {
12
12
 
13
13
  export function HelpText({ className, size, text }: HelpTextProps): React.JSX.Element {
14
14
  return (
15
- <p className={cx('infonomic-help-text', styles.text, size && styles[size], className)}>
16
- {text}
17
- </p>
15
+ <p className={cx('byline-help-text', styles.text, size && styles[size], className)}>{text}</p>
18
16
  )
19
17
  }
@@ -11,7 +11,7 @@
11
11
 
12
12
  @layer byline-components {
13
13
  .adornment,
14
- :global(.infonomic-input-adornment) {
14
+ :global(.byline-input-adornment) {
15
15
  display: flex;
16
16
  align-items: center;
17
17
  line-height: 0;
@@ -19,12 +19,12 @@
19
19
  }
20
20
 
21
21
  .start,
22
- :global(.infonomic-input-adornment-start) {
22
+ :global(.byline-input-adornment-start) {
23
23
  justify-content: flex-start;
24
24
  }
25
25
 
26
26
  .end,
27
- :global(.infonomic-input-adornment-end) {
27
+ :global(.byline-input-adornment-end) {
28
28
  justify-content: flex-end;
29
29
  }
30
30
  }
@@ -22,8 +22,8 @@ export function InputAdornment({
22
22
  return (
23
23
  <div
24
24
  className={cx(
25
- 'infonomic-input-adornment',
26
- `infonomic-input-adornment-${position}`,
25
+ 'byline-input-adornment',
26
+ `byline-input-adornment-${position}`,
27
27
  styles.adornment,
28
28
  { [styles.start]: position === 'start' },
29
29
  { [styles.end]: position === 'end' },