@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
@@ -18,13 +18,10 @@ export function LoaderSpinner({
18
18
  // biome-ignore lint/suspicious/noArrayIndexKey: <explanation>
19
19
  <div
20
20
  key={index}
21
- className={cx('infonomic-loader-spinner-blade', styles['loader-spinner-blade'])}
21
+ className={cx('byline-loader-spinner-blade', styles['loader-spinner-blade'])}
22
22
  >
23
23
  <div
24
- className={cx(
25
- 'infonomic-loader-spinner-blade-inner',
26
- styles['loader-spinner-blade-inner']
27
- )}
24
+ className={cx('byline-loader-spinner-blade-inner', styles['loader-spinner-blade-inner'])}
28
25
  />
29
26
  </div>
30
27
  )
@@ -42,7 +39,7 @@ export function LoaderSpinner({
42
39
 
43
40
  return (
44
41
  <div
45
- className={cx('infonomic-loader-spinner', styles['loader-spinner'], className)}
42
+ className={cx('byline-loader-spinner', styles['loader-spinner'], className)}
46
43
  style={spinnerStyle}
47
44
  {...rest}
48
45
  >
@@ -17,3 +17,15 @@
17
17
  .byline-ui {
18
18
  isolation: isolate;
19
19
  }
20
+
21
+ .sr-only {
22
+ position: absolute;
23
+ width: 1px;
24
+ height: 1px;
25
+ padding: 0;
26
+ margin: -1px;
27
+ overflow: hidden;
28
+ clip: rect(0, 0, 0, 0);
29
+ white-space: nowrap;
30
+ border-width: 0;
31
+ }
@@ -10,19 +10,19 @@
10
10
  byline-utilities;
11
11
  @layer byline-components {
12
12
  .container,
13
- :global(.infonomic-datepicker-container) {
13
+ :global(.byline-datepicker-container) {
14
14
  position: relative;
15
15
  }
16
16
 
17
17
  .input,
18
18
  .input-wrapper,
19
- :global(.infonomic-datepicker-input),
20
- :global(.infonomic-datepicker-input-wrapper) {
19
+ :global(.byline-datepicker-input),
20
+ :global(.byline-datepicker-input-wrapper) {
21
21
  width: 100%;
22
22
  }
23
23
 
24
24
  .content,
25
- :global(.infonomic-datepicker-content) {
25
+ :global(.byline-datepicker-content) {
26
26
  width: 100%;
27
27
  z-index: 50;
28
28
  border-radius: 4px;
@@ -66,14 +66,14 @@
66
66
  }
67
67
 
68
68
  .content-components,
69
- :global(.infonomic-datepicker-content-components) {
69
+ :global(.byline-datepicker-content-components) {
70
70
  display: flex;
71
71
  width: 100%;
72
72
  gap: var(--spacing-8);
73
73
  }
74
74
 
75
75
  .status-and-actions,
76
- :global(.infonomic-datepicker-status-and-actions) {
76
+ :global(.byline-datepicker-status-and-actions) {
77
77
  display: flex;
78
78
  flex-direction: column;
79
79
  justify-content: space-between;
@@ -82,7 +82,7 @@
82
82
  }
83
83
 
84
84
  .content-status,
85
- :global(.infonomic-datepicker-content-status) {
85
+ :global(.byline-datepicker-content-status) {
86
86
  display: flex;
87
87
  align-items: center;
88
88
  padding-left: var(--spacing-16);
@@ -93,7 +93,7 @@
93
93
  }
94
94
 
95
95
  .content-actions,
96
- :global(.infonomic-datepicker-content-actions) {
96
+ :global(.byline-datepicker-content-actions) {
97
97
  display: flex;
98
98
  flex-direction: row;
99
99
  justify-content: space-between;
@@ -105,18 +105,18 @@
105
105
  }
106
106
 
107
107
  .content-actions-button,
108
- :global(.infonomic-datepicker-content-actions-button) {
108
+ :global(.byline-datepicker-content-actions-button) {
109
109
  /* min-width: 100px; */
110
110
  --ring-color: var(--violet-7);
111
111
  }
112
112
 
113
113
  .arrow,
114
- :global(.infonomic-datepicker-arrow) {
114
+ :global(.byline-datepicker-arrow) {
115
115
  fill: var(--gray-50);
116
116
  }
117
117
 
118
118
  .close,
119
- :global(.infonomic-datepicker-close) {
119
+ :global(.byline-datepicker-close) {
120
120
  all: unset;
121
121
  font-family: inherit;
122
122
  border-radius: 100%;
@@ -140,19 +140,19 @@
140
140
  }
141
141
 
142
142
  .time-picker-container,
143
- :global(.infonomic-datepicker-time-picker-container) {
143
+ :global(.byline-datepicker-time-picker-container) {
144
144
  width: 80px;
145
145
  margin: 0.6rem 0.5rem 1rem 0;
146
146
  }
147
147
 
148
148
  .time-picker-scroll-area,
149
- :global(.infonomic-datepicker-time-picker-scroll-area) {
149
+ :global(.byline-datepicker-time-picker-scroll-area) {
150
150
  height: 280px;
151
151
  padding-right: var(--spacing-16);
152
152
  }
153
153
 
154
154
  .time-picker,
155
- :global(.infonomic-datepicker-time-picker) {
155
+ :global(.byline-datepicker-time-picker) {
156
156
  display: flex;
157
157
  padding-left: var(--spacing-4);
158
158
  padding-right: var(--spacing-4);
@@ -161,7 +161,7 @@
161
161
  }
162
162
 
163
163
  .time-picker-button,
164
- :global(.infonomic-datepicker-time-picker-button) {
164
+ :global(.byline-datepicker-time-picker-button) {
165
165
  width: 100%;
166
166
  }
167
167
 
@@ -136,7 +136,7 @@ export function DatePicker({
136
136
  })
137
137
 
138
138
  return (
139
- <div className={cx('infonomic-datepicker-container', styles.container, containerClassName)}>
139
+ <div className={cx('byline-datepicker-container', styles.container, containerClassName)}>
140
140
  <div style={{ display: 'flex', alignItems: 'center', gap: 'var(--spacing-8)' }}>
141
141
  <Input
142
142
  id={id}
@@ -148,9 +148,9 @@ export function DatePicker({
148
148
  intent={intent}
149
149
  inputSize={inputSize}
150
150
  ref={inputRef}
151
- className={cx('infonomic-datepicker-input', styles.input, inputClassName)}
151
+ className={cx('byline-datepicker-input', styles.input, inputClassName)}
152
152
  inputWrapperClassName={cx(
153
- 'infonomic-datepicker-input-wrapper',
153
+ 'byline-datepicker-input-wrapper',
154
154
  styles['input-wrapper'],
155
155
  inputWrapperClassName
156
156
  )}
@@ -207,13 +207,10 @@ export function DatePicker({
207
207
  <Popover.Portal>
208
208
  <Popover.Positioner sideOffset={5}>
209
209
  <Popover.Popup
210
- className={cx('infonomic-datepicker-content', styles.content, contentClassName)}
210
+ className={cx('byline-datepicker-content', styles.content, contentClassName)}
211
211
  >
212
212
  <div
213
- className={cx(
214
- 'infonomic-datepicker-content-components',
215
- styles['content-components']
216
- )}
213
+ className={cx('byline-datepicker-content-components', styles['content-components'])}
217
214
  >
218
215
  <div ref={calendarRef}>
219
216
  <Calendar
@@ -284,25 +281,18 @@ export function DatePicker({
284
281
  )}
285
282
  </div>
286
283
  <div
287
- className={cx(
288
- 'infonomic-datepicker-status-and-actions',
289
- styles['status-and-actions']
290
- )}
284
+ className={cx('byline-datepicker-status-and-actions', styles['status-and-actions'])}
291
285
  >
292
- <div
293
- className={cx('infonomic-datepicker-content-status', styles['content-status'])}
294
- >
286
+ <div className={cx('byline-datepicker-content-status', styles['content-status'])}>
295
287
  {date ? format(date, mode === 'datetime' ? 'PPPp' : 'PPP') : 'No date selected'}
296
288
  </div>
297
- <div
298
- className={cx('infonomic-datepicker-content-actions', styles['content-actions'])}
299
- >
289
+ <div className={cx('byline-datepicker-content-actions', styles['content-actions'])}>
300
290
  <div>
301
291
  <Button
302
292
  variant="outlined"
303
293
  size="sm"
304
294
  className={cx(
305
- 'infonomic-datepicker-content-actions-button',
295
+ 'byline-datepicker-content-actions-button',
306
296
  styles['content-actions-button']
307
297
  )}
308
298
  onClick={() => {
@@ -320,7 +310,7 @@ export function DatePicker({
320
310
  size="sm"
321
311
  intent="noeffect"
322
312
  className={cx(
323
- 'infonomic-datepicker-content-actions-button',
313
+ 'byline-datepicker-content-actions-button',
324
314
  styles['content-actions-button']
325
315
  )}
326
316
  onClick={() => {
@@ -333,7 +323,7 @@ export function DatePicker({
333
323
  variant="outlined"
334
324
  size="sm"
335
325
  className={cx(
336
- 'infonomic-datepicker-content-actions-button',
326
+ 'byline-datepicker-content-actions-button',
337
327
  styles['content-actions-button']
338
328
  )}
339
329
  onClick={() => {
@@ -22,7 +22,7 @@ export function DrawerContainer({
22
22
  return (
23
23
  <div
24
24
  ref={ref}
25
- className={cx('infonomic-drawer-container', styles['drawer-container'], className)}
25
+ className={cx('byline-drawer-container', styles['drawer-container'], className)}
26
26
  {...rest}
27
27
  >
28
28
  {children}
@@ -23,7 +23,7 @@ export function DrawerContent({
23
23
  <div
24
24
  ref={ref}
25
25
  {...rest}
26
- className={cx('infonomic-drawer-content', styles['drawer-content'], className)}
26
+ className={cx('byline-drawer-content', styles['drawer-content'], className)}
27
27
  >
28
28
  {children}
29
29
  </div>
@@ -19,7 +19,7 @@ export const DrawerHeader = function DrawerHeader({
19
19
  }: DrawerHeaderProps & {
20
20
  ref?: React.RefObject<HTMLDivElement>
21
21
  }) {
22
- const classes = cx('infonomic-drawer-header', styles['drawer-header'], className)
22
+ const classes = cx('byline-drawer-header', styles['drawer-header'], className)
23
23
  return (
24
24
  <div style={{ overflowWrap: 'anywhere' }} ref={ref} {...rest} className={classes}>
25
25
  {children}
@@ -19,7 +19,7 @@ export const DrawerTopActions = function DrawerHeader({
19
19
  }: DrawerTopActionProps & {
20
20
  ref?: React.RefObject<HTMLDivElement>
21
21
  }) {
22
- const classes = cx('infonomic-drawer-top-actions', styles['drawer-top-actions'], className)
22
+ const classes = cx('byline-drawer-top-actions', styles['drawer-top-actions'], className)
23
23
  return (
24
24
  <div style={{ whiteSpace: 'nowrap' }} ref={ref} {...rest} className={classes}>
25
25
  {children}
@@ -12,7 +12,7 @@
12
12
  /* Backdrop overlay (replaces previous Overlay component) */
13
13
 
14
14
  .backdrop,
15
- :global(.infonomic-drawer-backdrop) {
15
+ :global(.byline-drawer-backdrop) {
16
16
  position: fixed;
17
17
  top: 0;
18
18
  left: 0;
@@ -29,15 +29,15 @@
29
29
 
30
30
  :global(.dark) .backdrop,
31
31
  :global([data-theme="dark"]) .backdrop,
32
- :global(.dark .infonomic-drawer-backdrop),
33
- :global([data-theme="dark"] .infonomic-drawer-backdrop) {
32
+ :global(.dark .byline-drawer-backdrop),
33
+ :global([data-theme="dark"] .byline-drawer-backdrop) {
34
34
  background-color: rgba(0, 0, 0, 0.5);
35
35
  }
36
36
 
37
37
  /* Drawer wrapper / popup — the sliding panel itself */
38
38
 
39
39
  .drawer-wrapper,
40
- :global(.infonomic-drawer-wrapper) {
40
+ :global(.byline-drawer-wrapper) {
41
41
  position: fixed;
42
42
  display: flex;
43
43
  flex-direction: column;
@@ -66,14 +66,14 @@
66
66
  /* Container (inner wrapper, no longer needs positioning) */
67
67
 
68
68
  .drawer-container,
69
- :global(.infonomic-drawer-container) {
69
+ :global(.byline-drawer-container) {
70
70
  height: 100%;
71
71
  }
72
72
 
73
73
  /* Width variant: narrow */
74
74
 
75
75
  .drawer-narrow,
76
- :global(.infonomic-drawer-narrow) {
76
+ :global(.byline-drawer-narrow) {
77
77
  width: calc(100% - 32px);
78
78
  max-width: 400px;
79
79
  }
@@ -112,7 +112,7 @@
112
112
  /* Sub-component styles */
113
113
 
114
114
  .drawer-top-actions,
115
- :global(.infonomic-drawer-top-actions) {
115
+ :global(.byline-drawer-top-actions) {
116
116
  display: flex;
117
117
  align-items: center;
118
118
  justify-content: flex-end;
@@ -124,7 +124,7 @@
124
124
  }
125
125
 
126
126
  .drawer-header,
127
- :global(.infonomic-drawer-header) {
127
+ :global(.byline-drawer-header) {
128
128
  display: flex;
129
129
  align-items: center;
130
130
  justify-content: space-between;
@@ -137,13 +137,13 @@
137
137
 
138
138
  .drawer-header h2,
139
139
  .drawer-header h3,
140
- :global(.infonomic-drawer-header h2),
141
- :global(.infonomic-drawer-header h3) {
140
+ :global(.byline-drawer-header h2),
141
+ :global(.byline-drawer-header h3) {
142
142
  margin: 0;
143
143
  }
144
144
 
145
145
  .drawer-content,
146
- :global(.infonomic-drawer-content) {
146
+ :global(.byline-drawer-content) {
147
147
  padding: var(--spacing-12);
148
148
  }
149
149
  }
@@ -68,12 +68,12 @@ const Drawer = ({
68
68
  >
69
69
  <BaseDrawer.Portal>
70
70
  <BaseDrawer.Backdrop
71
- className={cx('infonomic-drawer-backdrop', styles.backdrop)}
71
+ className={cx('byline-drawer-backdrop', styles.backdrop)}
72
72
  style={hasTopOffset ? { top: topOffset } : undefined}
73
73
  />
74
74
  <BaseDrawer.Popup
75
75
  className={cx(
76
- 'infonomic-drawer-wrapper',
76
+ 'byline-drawer-wrapper',
77
77
  styles['drawer-wrapper'],
78
78
  typedStyles[`drawer-${width}`],
79
79
  typedStyles[`drawer-depth-${depth.toString()}`],
@@ -23,7 +23,7 @@ export const ModalActions = function ModalActions({
23
23
  <div
24
24
  ref={ref}
25
25
  {...rest}
26
- className={cx('infonomic-modal-actions', styles['modal-actions'], className)}
26
+ className={cx('byline-modal-actions', styles['modal-actions'], className)}
27
27
  >
28
28
  {children}
29
29
  </div>
@@ -22,7 +22,7 @@ export const ModalContainer = function ModalContainer({
22
22
  return (
23
23
  <div
24
24
  ref={ref}
25
- className={cx('infonomic-modal-container', styles['modal-container'], className)}
25
+ className={cx('byline-modal-container', styles['modal-container'], className)}
26
26
  {...rest}
27
27
  >
28
28
  {children}
@@ -23,7 +23,7 @@ export const ModalContent = function ModalContent({
23
23
  <div
24
24
  ref={ref}
25
25
  {...rest}
26
- className={cx('infonomic-modal-content', styles['modal-content'], className)}
26
+ className={cx('byline-modal-content', styles['modal-content'], className)}
27
27
  >
28
28
  {children}
29
29
  </div>
@@ -19,7 +19,7 @@ export const ModalHeader = function ModalHeader({
19
19
  }: ModalHeaderProps & {
20
20
  ref?: React.RefObject<HTMLDivElement>
21
21
  }) {
22
- const classes = cx('infonomic-modal-header', styles['modal-header'], 'prose', className)
22
+ const classes = cx('byline-modal-header', styles['modal-header'], 'prose', className)
23
23
  return (
24
24
  <div style={{ overflowWrap: 'anywhere' }} ref={ref} {...rest} className={classes}>
25
25
  {children}
@@ -12,7 +12,7 @@
12
12
  /* Backdrop overlay */
13
13
 
14
14
  .backdrop,
15
- :global(.infonomic-modal-backdrop) {
15
+ :global(.byline-modal-backdrop) {
16
16
  position: fixed;
17
17
  top: 0;
18
18
  left: 0;
@@ -29,15 +29,15 @@
29
29
 
30
30
  :global(.dark) .backdrop,
31
31
  :global([data-theme="dark"]) .backdrop,
32
- :global(.dark .infonomic-modal-backdrop),
33
- :global([data-theme="dark"] .infonomic-modal-backdrop) {
32
+ :global(.dark .byline-modal-backdrop),
33
+ :global([data-theme="dark"] .byline-modal-backdrop) {
34
34
  background-color: rgba(0, 0, 0, 0.5);
35
35
  }
36
36
 
37
37
  /* Modal wrapper / popup — the dialog surface */
38
38
 
39
39
  .modal-wrapper,
40
- :global(.infonomic-modal-wrapper) {
40
+ :global(.byline-modal-wrapper) {
41
41
  position: fixed;
42
42
  display: flex;
43
43
  flex-direction: column;
@@ -57,7 +57,7 @@
57
57
 
58
58
  @media screen and (min-width: 40rem) {
59
59
  .modal-wrapper,
60
- :global(.infonomic-modal-wrapper) {
60
+ :global(.byline-modal-wrapper) {
61
61
  justify-content: center;
62
62
  }
63
63
  }
@@ -65,7 +65,7 @@
65
65
  /* Container — the visible dialog box */
66
66
 
67
67
  .modal-container,
68
- :global(.infonomic-modal-container) {
68
+ :global(.byline-modal-container) {
69
69
  display: flex;
70
70
  flex-direction: column;
71
71
  box-shadow: var(--shadow-md);
@@ -81,7 +81,7 @@
81
81
 
82
82
  @media screen and (min-width: 40rem) {
83
83
  .modal-container,
84
- :global(.infonomic-modal-container) {
84
+ :global(.byline-modal-container) {
85
85
  max-height: calc(100vh - 24px);
86
86
  min-height: auto;
87
87
  width: auto;
@@ -91,7 +91,7 @@
91
91
  /* Sub-component styles */
92
92
 
93
93
  .modal-header,
94
- :global(.infonomic-modal-header) {
94
+ :global(.byline-modal-header) {
95
95
  display: flex;
96
96
  align-items: center;
97
97
  justify-content: space-between;
@@ -104,13 +104,13 @@
104
104
 
105
105
  .modal-header h2,
106
106
  .modal-header h3,
107
- :global(.infonomic-modal-header h2),
108
- :global(.infonomic-modal-header h3) {
107
+ :global(.byline-modal-header h2),
108
+ :global(.byline-modal-header h3) {
109
109
  margin: 0;
110
110
  }
111
111
 
112
112
  .modal-content,
113
- :global(.infonomic-modal-content) {
113
+ :global(.byline-modal-content) {
114
114
  display: flex;
115
115
  flex: 1;
116
116
  flex-direction: column;
@@ -122,7 +122,7 @@
122
122
  }
123
123
 
124
124
  .modal-actions,
125
- :global(.infonomic-modal-actions) {
125
+ :global(.byline-modal-actions) {
126
126
  display: flex;
127
127
  align-items: center;
128
128
  justify-content: flex-end;
@@ -68,8 +68,8 @@ function Modal({
68
68
  disablePointerDismissal={closeOnOverlayClick !== true}
69
69
  >
70
70
  <Dialog.Portal>
71
- <Dialog.Backdrop className={cx('infonomic-modal-backdrop', styles.backdrop)} />
72
- <Dialog.Popup className={cx('infonomic-modal-wrapper', styles['modal-wrapper'])}>
71
+ <Dialog.Backdrop className={cx('byline-modal-backdrop', styles.backdrop)} />
72
+ <Dialog.Popup className={cx('byline-modal-wrapper', styles['modal-wrapper'])}>
73
73
  {children}
74
74
  </Dialog.Popup>
75
75
  </Dialog.Portal>
@@ -153,6 +153,7 @@ export function Search({
153
153
  role="button"
154
154
  intent="noeffect"
155
155
  variant="text"
156
+ style={{ outline: 'none' }}
156
157
  ripple={false}
157
158
  arial-label={ariaLabelForSearch}
158
159
  size="xs"
@@ -169,6 +170,7 @@ export function Search({
169
170
  <IconButton
170
171
  role="button"
171
172
  intent="noeffect"
173
+ style={{ outline: 'none' }}
172
174
  variant="text"
173
175
  arial-label={ariaLabelForClear}
174
176
  size="xs"
@@ -11,12 +11,12 @@
11
11
 
12
12
  @layer byline-components {
13
13
  .timeline,
14
- :global(.infonomic-timeline) {
14
+ :global(.byline-timeline) {
15
15
  margin-left: var(--spacing-8);
16
16
  }
17
17
 
18
18
  .timeline-root,
19
- :global(.infonomic-timeline-root) {
19
+ :global(.byline-timeline-root) {
20
20
  position: relative;
21
21
  list-style: none;
22
22
  margin-left: var(--spacing-8);
@@ -27,13 +27,13 @@
27
27
  }
28
28
 
29
29
  .timeline-item,
30
- :global(.infonomic-timeline-item) {
30
+ :global(.byline-timeline-item) {
31
31
  margin: 0 0 var(--spacing-16) var(--spacing-20);
32
32
  }
33
33
 
34
34
  /* 'absolute block flex items-center justify-center w-[36px] h-[36px] rounded-full -mt-[3px] sm:mt-0 -left-[18px] border-[6px] bg-secondary-600 dark:bg-secondary-900 border-gray-50 dark:border-canvas-600', */
35
35
  .timeline-icon,
36
- :global(.infonomic-timeline-icon) {
36
+ :global(.byline-timeline-icon) {
37
37
  position: absolute;
38
38
  display: flex;
39
39
  align-items: center;
@@ -50,7 +50,7 @@
50
50
  }
51
51
 
52
52
  .timeline-icon svg,
53
- :global(.infonomic-timeline-icon svg) {
53
+ :global(.byline-timeline-icon svg) {
54
54
  display: block;
55
55
  width: 60%;
56
56
  color: white;
@@ -58,7 +58,7 @@
58
58
 
59
59
  /* 'text-[1.5rem] sm:text-[1.57rem] leading-[1.2] !m-0 font-semibold' */
60
60
  .timeline-heading,
61
- :global(.infonomic-timeline-heading) {
61
+ :global(.byline-timeline-heading) {
62
62
  font-size: 1.5rem;
63
63
  line-height: 1.2;
64
64
  margin: 0;
@@ -67,7 +67,7 @@
67
67
 
68
68
  /* 'block mt-2 mb-2 text-[0.9em] font-medium leading-none text-gray-900 dark:text-gray-100' */
69
69
  .timeline-date,
70
- :global(.infonomic-timeline-date) {
70
+ :global(.byline-timeline-date) {
71
71
  display: block;
72
72
  margin-top: var(--spacing-8);
73
73
  margin-bottom: var(--spacing-8);
@@ -79,7 +79,7 @@
79
79
 
80
80
  /* '[&_p]:m-0 [&_p]:mb-4 [&_p]:sm:m-0 [&_p]:sm:mb-4 text-lg font-normal text-gray-900 dark:text-gray-300' */
81
81
  .timeline-content,
82
- :global(.infonomic-timeline-content) {
82
+ :global(.byline-timeline-content) {
83
83
  margin: 0;
84
84
  margin-bottom: var(--spacing-16);
85
85
  font-size: 1.125rem;
@@ -91,14 +91,14 @@
91
91
  }
92
92
  }
93
93
 
94
- /* 🌙 Dark via `.dark` class. We rely on the
94
+ /* 🌙 Dark via `.dark` class. We rely on the
95
95
  * consuming application to detect a user's preferred
96
96
  * color scheme - either by header or cookie, and set
97
97
  * a root html class accordingly
98
98
  */
99
99
  :global(.dark),
100
100
  :global([data-theme="dark"]) {
101
- :global(.infonomic-timeline-icon),
101
+ :global(.byline-timeline-icon),
102
102
  .timeline-icon {
103
103
  border-color: var(--canvas-600);
104
104
  }