@byline/ui 1.10.2 → 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 (182) 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/loaders/ellipses.js +2 -2
  70. package/dist/loaders/ellipses_module.css +2 -2
  71. package/dist/loaders/ring.js +2 -2
  72. package/dist/loaders/ring_module.css +2 -2
  73. package/dist/loaders/spinner.js +3 -3
  74. package/dist/loaders/spinner_module.css +3 -3
  75. package/dist/styles/styles.css +12 -0
  76. package/dist/widgets/datepicker/datepicker.js +11 -11
  77. package/dist/widgets/datepicker/datepicker_module.css +21 -21
  78. package/dist/widgets/drawer/drawer-container.js +1 -1
  79. package/dist/widgets/drawer/drawer-content.js +1 -1
  80. package/dist/widgets/drawer/drawer-header.js +1 -1
  81. package/dist/widgets/drawer/drawer-top-actions.js +1 -1
  82. package/dist/widgets/drawer/drawer.js +2 -2
  83. package/dist/widgets/drawer/drawer_module.css +11 -11
  84. package/dist/widgets/modal/modal-actions.js +1 -1
  85. package/dist/widgets/modal/modal-container.js +1 -1
  86. package/dist/widgets/modal/modal-content.js +1 -1
  87. package/dist/widgets/modal/modal-header.js +1 -1
  88. package/dist/widgets/modal/modal.js +2 -2
  89. package/dist/widgets/modal/modal_module.css +12 -12
  90. package/dist/widgets/search/search.js +6 -0
  91. package/dist/widgets/timeline/timeline_module.css +10 -10
  92. package/package.json +4 -4
  93. package/src/components/accordion/accordion.module.css +4 -4
  94. package/src/components/accordion/accordion.tsx +5 -5
  95. package/src/components/avatar/avatar.module.css +4 -4
  96. package/src/components/avatar/avatar.tsx +4 -4
  97. package/src/components/badge/badge.module.css +8 -8
  98. package/src/components/badge/badge.tsx +2 -2
  99. package/src/components/button/button-group.module.css +2 -2
  100. package/src/components/button/button.module.css +162 -86
  101. package/src/components/button/button.tsx +4 -4
  102. package/src/components/button/combo-button.module.css +7 -7
  103. package/src/components/button/control-buttons.module.css +5 -5
  104. package/src/components/button/control-buttons.tsx +1 -1
  105. package/src/components/button/copy-button.module.css +7 -7
  106. package/src/components/button/copy-button.tsx +5 -5
  107. package/src/components/card/card.module.css +9 -9
  108. package/src/components/card/card.tsx +6 -6
  109. package/src/components/chips/chip.module.css +126 -71
  110. package/src/components/chips/chip.tsx +8 -12
  111. package/src/components/container/container.module.css +4 -4
  112. package/src/components/container/container.tsx +1 -1
  113. package/src/components/dropdown/dropdown.module.css +7 -7
  114. package/src/components/dropdown/dropdown.tsx +8 -8
  115. package/src/components/hamburger/hamburger.module.css +16 -16
  116. package/src/components/hamburger/hamburger.tsx +3 -3
  117. package/src/components/inputs/autocomplete.module.css +42 -42
  118. package/src/components/inputs/autocomplete.tsx +12 -14
  119. package/src/components/inputs/checkbox-group.module.css +1 -1
  120. package/src/components/inputs/checkbox-group.tsx +1 -1
  121. package/src/components/inputs/checkbox.module.css +38 -34
  122. package/src/components/inputs/checkbox.tsx +8 -11
  123. package/src/components/inputs/error-text.module.css +4 -4
  124. package/src/components/inputs/help-text.module.css +4 -4
  125. package/src/components/inputs/help-text.tsx +1 -3
  126. package/src/components/inputs/input-adornment.module.css +3 -3
  127. package/src/components/inputs/input-adornment.tsx +2 -2
  128. package/src/components/inputs/input.module.css +45 -45
  129. package/src/components/inputs/input.tsx +8 -12
  130. package/src/components/inputs/label.module.css +2 -2
  131. package/src/components/inputs/radio-group.module.css +17 -17
  132. package/src/components/inputs/radio-group.tsx +1 -1
  133. package/src/components/inputs/select.module.css +8 -8
  134. package/src/components/inputs/select.tsx +3 -3
  135. package/src/components/inputs/text-area.module.css +4 -4
  136. package/src/components/inputs/text-area.tsx +3 -3
  137. package/src/components/notifications/alert.module.css +16 -16
  138. package/src/components/notifications/alert.tsx +11 -11
  139. package/src/components/notifications/toast.module.css +41 -28
  140. package/src/components/notifications/toast.tsx +7 -9
  141. package/src/components/pager/pagination.module.css +6 -6
  142. package/src/components/pager/pagination.tsx +2 -2
  143. package/src/components/scroll-area/scroll-area.module.css +5 -5
  144. package/src/components/scroll-area/scroll-area.tsx +7 -7
  145. package/src/components/scroll-to-top/scroll-to-top.module.css +9 -9
  146. package/src/components/scroll-to-top/scroll-to-top.tsx +2 -2
  147. package/src/components/section/section.module.css +1 -1
  148. package/src/components/section/section.tsx +1 -1
  149. package/src/components/shimmer/shimmer.module.css +18 -8
  150. package/src/components/table/table.module.css +15 -15
  151. package/src/components/table/table.tsx +8 -8
  152. package/src/components/tabs/tabs.module.css +4 -4
  153. package/src/components/tabs/tabs.tsx +4 -4
  154. package/src/components/tooltip/tooltip.module.css +2 -2
  155. package/src/components/tooltip/tooltip.tsx +2 -2
  156. package/src/fields/checkbox/checkbox-field.module.css +4 -0
  157. package/src/fields/checkbox/checkbox-field.tsx +2 -1
  158. package/src/forms/form-context.tsx +10 -2
  159. package/src/icons/source/icon-infonomic.svg +2 -2
  160. package/src/loaders/ellipses.module.css +2 -2
  161. package/src/loaders/ellipses.tsx +2 -2
  162. package/src/loaders/ring.module.css +2 -2
  163. package/src/loaders/ring.tsx +2 -2
  164. package/src/loaders/spinner.module.css +3 -3
  165. package/src/loaders/spinner.tsx +3 -6
  166. package/src/styles/styles.css +12 -0
  167. package/src/widgets/datepicker/datepicker.module.css +15 -15
  168. package/src/widgets/datepicker/datepicker.tsx +11 -21
  169. package/src/widgets/drawer/drawer-container.tsx +1 -1
  170. package/src/widgets/drawer/drawer-content.tsx +1 -1
  171. package/src/widgets/drawer/drawer-header.tsx +1 -1
  172. package/src/widgets/drawer/drawer-top-actions.tsx +1 -1
  173. package/src/widgets/drawer/drawer.module.css +11 -11
  174. package/src/widgets/drawer/drawer.tsx +2 -2
  175. package/src/widgets/modal/modal-actions.tsx +1 -1
  176. package/src/widgets/modal/modal-container.tsx +1 -1
  177. package/src/widgets/modal/modal-content.tsx +1 -1
  178. package/src/widgets/modal/modal-header.tsx +1 -1
  179. package/src/widgets/modal/modal.module.css +12 -12
  180. package/src/widgets/modal/modal.tsx +2 -2
  181. package/src/widgets/search/search.tsx +2 -0
  182. package/src/widgets/timeline/timeline.module.css +10 -10
@@ -11,7 +11,7 @@
11
11
 
12
12
  @layer byline-components {
13
13
  .alert,
14
- :global(.infonomic-alert) {
14
+ :global(.byline-alert) {
15
15
  display: flex;
16
16
  align-items: start;
17
17
  width: 100%;
@@ -28,14 +28,14 @@
28
28
  }
29
29
 
30
30
  .alert-with-title,
31
- :global(.infonomic-alert-with-title) {
31
+ :global(.byline-alert-with-title) {
32
32
  display: flex;
33
33
  flex-direction: column;
34
34
  width: 100%;
35
35
  }
36
36
 
37
37
  .icon,
38
- :global(.infonomic-alert-icon) {
38
+ :global(.byline-alert-icon) {
39
39
  display: flex;
40
40
  align-items: center;
41
41
  justify-content: center;
@@ -46,7 +46,7 @@
46
46
  }
47
47
 
48
48
  .close,
49
- :global(.infonomic-alert-close) {
49
+ :global(.byline-alert-close) {
50
50
  display: flex;
51
51
  align-items: center;
52
52
  justify-content: center;
@@ -61,13 +61,13 @@
61
61
  }
62
62
 
63
63
  .fade,
64
- :global(.infonomic-alert-fade) {
64
+ :global(.byline-alert-fade) {
65
65
  opacity: 0;
66
66
  transition: opacity 0.4s ease-in-out;
67
67
  }
68
68
 
69
69
  .header,
70
- :global(.infonomic-alert-header) {
70
+ :global(.byline-alert-header) {
71
71
  display: flex;
72
72
  align-items: start;
73
73
  width: 100%;
@@ -76,7 +76,7 @@
76
76
  }
77
77
 
78
78
  .title,
79
- :global(.infonomic-alert-title) {
79
+ :global(.byline-alert-title) {
80
80
  display: flex;
81
81
  font-weight: bold;
82
82
  font-size: 1.2rem;
@@ -85,55 +85,55 @@
85
85
  }
86
86
 
87
87
  .content,
88
- :global(.infonomic-alert-content) {
88
+ :global(.byline-alert-content) {
89
89
  padding-top: 1px;
90
90
  font-size: var(--font-size-sm);
91
91
  }
92
92
 
93
93
  .content:first-child,
94
- :global(.infonomic-alert-content:first-child) {
94
+ :global(.byline-alert-content:first-child) {
95
95
  margin-top: 0;
96
96
  }
97
97
 
98
98
  /* Intents */
99
99
  .primary,
100
- :global(.infonomic-alert-primary) {
100
+ :global(.byline-alert-primary) {
101
101
  --alert-border: var(--stroke-primary);
102
102
  --alert-background: var(--fill-primary-weak);
103
103
  }
104
104
 
105
105
  .secondary,
106
- :global(.infonomic-alert-secondary) {
106
+ :global(.byline-alert-secondary) {
107
107
  --alert-border: var(--stroke-secondary);
108
108
  --alert-background: var(--fill-secondary-weak);
109
109
  }
110
110
 
111
111
  .noeffect,
112
- :global(.infonomic-alert-noeffect) {
112
+ :global(.byline-alert-noeffect) {
113
113
  --alert-border: var(--stroke-noeffect);
114
114
  --alert-background: var(--fill-noeffect-weak);
115
115
  }
116
116
 
117
117
  .success,
118
- :global(.infonomic-alert-success) {
118
+ :global(.byline-alert-success) {
119
119
  --alert-border: var(--stroke-success);
120
120
  --alert-background: var(--fill-success-weak);
121
121
  }
122
122
 
123
123
  .info,
124
- :global(.infonomic-alert-info) {
124
+ :global(.byline-alert-info) {
125
125
  --alert-border: var(--stroke-info);
126
126
  --alert-background: var(--fill-info-weak);
127
127
  }
128
128
 
129
129
  .warning,
130
- :global(.infonomic-alert-warning) {
130
+ :global(.byline-alert-warning) {
131
131
  --alert-border: var(--stroke-warning);
132
132
  --alert-background: var(--fill-warning-weak);
133
133
  }
134
134
 
135
135
  .danger,
136
- :global(.infonomic-alert-danger) {
136
+ :global(.byline-alert-danger) {
137
137
  --alert-border: var(--stroke-danger);
138
138
  --alert-background: var(--fill-danger-weak);
139
139
  }
@@ -66,8 +66,8 @@ export const Alert = function Alert({
66
66
  <div
67
67
  ref={ref}
68
68
  className={cx(
69
- 'infonomic-alert',
70
- `infonomic-alert-${intent}`,
69
+ 'byline-alert',
70
+ `byline-alert-${intent}`,
71
71
  styles.alert,
72
72
  styles[intent],
73
73
  className,
@@ -78,10 +78,10 @@ export const Alert = function Alert({
78
78
  {...rest}
79
79
  >
80
80
  {title != null ? (
81
- <div className={cx('infonomic-alert-with-title', styles['alert-with-title'])}>
82
- <div className={cx('infonomic-alert-header', styles.header)}>
83
- {icon && <Icon className={cx('infonomic-alert-icon', styles.icon)} />}
84
- <div className={cx('infonomic-alert-title', styles.title)}>
81
+ <div className={cx('byline-alert-with-title', styles['alert-with-title'])}>
82
+ <div className={cx('byline-alert-header', styles.header)}>
83
+ {icon && <Icon className={cx('byline-alert-icon', styles.icon)} />}
84
+ <div className={cx('byline-alert-title', styles.title)}>
85
85
  <span>{title}</span>
86
86
  </div>
87
87
  {close === true && (
@@ -89,7 +89,7 @@ export const Alert = function Alert({
89
89
  intent={intent}
90
90
  variant="filled"
91
91
  aria-label="Close"
92
- className={cx('infonomic-alert-close', styles.close)}
92
+ className={cx('byline-alert-close', styles.close)}
93
93
  type="button"
94
94
  onClick={handleOnClose}
95
95
  {...rest}
@@ -98,18 +98,18 @@ export const Alert = function Alert({
98
98
  </Button>
99
99
  )}
100
100
  </div>
101
- <div className={cx('infonomic-alert-content', styles.content)}>{children}</div>
101
+ <div className={cx('byline-alert-content', styles.content)}>{children}</div>
102
102
  </div>
103
103
  ) : (
104
104
  <>
105
- {icon && <Icon className={cx('infonomic-alert-icon', styles.icon)} />}
106
- <div className={cx('infonomic-alert-content', styles.content)}>{children}</div>
105
+ {icon && <Icon className={cx('byline-alert-icon', styles.icon)} />}
106
+ <div className={cx('byline-alert-content', styles.content)}>{children}</div>
107
107
  {close === true && (
108
108
  <Button
109
109
  intent={intent}
110
110
  variant="filled"
111
111
  aria-label="Close"
112
- className={cx('infonomic-alert-close', styles.close)}
112
+ className={cx('byline-alert-close', styles.close)}
113
113
  type="button"
114
114
  onClick={handleOnClose}
115
115
  {...rest}
@@ -16,7 +16,7 @@
16
16
  ============================================ */
17
17
 
18
18
  .viewport,
19
- :global(.infonomic-toast-viewport) {
19
+ :global(.byline-toast-viewport) {
20
20
  --viewport-padding: 16px;
21
21
  position: fixed;
22
22
  display: flex;
@@ -29,28 +29,28 @@
29
29
  /* Mobile: full-width at all positions */
30
30
 
31
31
  .top-left,
32
- :global(.infonomic-toast-top-left) {
32
+ :global(.byline-toast-top-left) {
33
33
  top: 88px;
34
34
  right: var(--viewport-padding);
35
35
  left: var(--viewport-padding);
36
36
  }
37
37
 
38
38
  .top-right,
39
- :global(.infonomic-toast-top-right) {
39
+ :global(.byline-toast-top-right) {
40
40
  top: 88px;
41
41
  right: var(--viewport-padding);
42
42
  left: var(--viewport-padding);
43
43
  }
44
44
 
45
45
  .bottom-left,
46
- :global(.infonomic-toast-bottom-left) {
46
+ :global(.byline-toast-bottom-left) {
47
47
  bottom: var(--viewport-padding);
48
48
  right: var(--viewport-padding);
49
49
  left: var(--viewport-padding);
50
50
  }
51
51
 
52
52
  .bottom-right,
53
- :global(.infonomic-toast-bottom-right) {
53
+ :global(.byline-toast-bottom-right) {
54
54
  bottom: var(--viewport-padding);
55
55
  right: var(--viewport-padding);
56
56
  left: var(--viewport-padding);
@@ -58,7 +58,7 @@
58
58
 
59
59
  @media (min-width: 48rem) {
60
60
  .bottom-right,
61
- :global(.infonomic-toast-bottom-right) {
61
+ :global(.byline-toast-bottom-right) {
62
62
  bottom: var(--viewport-padding);
63
63
  right: var(--viewport-padding);
64
64
  left: auto;
@@ -67,7 +67,7 @@
67
67
  }
68
68
 
69
69
  .bottom-left,
70
- :global(.infonomic-toast-bottom-left) {
70
+ :global(.byline-toast-bottom-left) {
71
71
  bottom: var(--viewport-padding);
72
72
  left: var(--viewport-padding);
73
73
  right: auto;
@@ -76,7 +76,7 @@
76
76
  }
77
77
 
78
78
  .top-left,
79
- :global(.infonomic-toast-top-left) {
79
+ :global(.byline-toast-top-left) {
80
80
  top: 88px;
81
81
  left: var(--viewport-padding);
82
82
  right: auto;
@@ -86,7 +86,7 @@
86
86
  }
87
87
 
88
88
  .top-right,
89
- :global(.infonomic-toast-top-right) {
89
+ :global(.byline-toast-top-right) {
90
90
  top: 88px;
91
91
  right: var(--viewport-padding);
92
92
  bottom: auto;
@@ -101,7 +101,7 @@
101
101
  ============================================ */
102
102
 
103
103
  .root,
104
- :global(.infonomic-toast-root) {
104
+ :global(.byline-toast-root) {
105
105
  display: flex;
106
106
  flex-direction: column;
107
107
  gap: var(--gap-1);
@@ -122,7 +122,7 @@
122
122
 
123
123
  /* Entry animation */
124
124
  .root[data-starting-style],
125
- :global(.infonomic-toast-root[data-starting-style]) {
125
+ :global(.byline-toast-root[data-starting-style]) {
126
126
  opacity: 0;
127
127
  transform: translateY(calc(100% + var(--viewport-padding)));
128
128
  }
@@ -130,16 +130,25 @@
130
130
  @media (min-width: 48rem) {
131
131
  .viewport.top-right .root[data-starting-style],
132
132
  .viewport.bottom-right .root[data-starting-style],
133
- :global(.infonomic-toast-viewport.top-right .infonomic-toast-root[data-starting-style]),
134
- :global(.infonomic-toast-viewport.bottom-right .infonomic-toast-root[data-starting-style]) {
133
+ :global(
134
+ .byline-toast-viewport.top-right .byline-toast-root[data-starting-style]
135
+ ),
136
+ :global(
137
+ .byline-toast-viewport.bottom-right
138
+ .byline-toast-root[data-starting-style]
139
+ ) {
135
140
  opacity: 0;
136
141
  transform: translateX(calc(100% + var(--viewport-padding)));
137
142
  }
138
143
 
139
144
  .viewport.top-left .root[data-starting-style],
140
145
  .viewport.bottom-left .root[data-starting-style],
141
- :global(.infonomic-toast-viewport.top-left .infonomic-toast-root[data-starting-style]),
142
- :global(.infonomic-toast-viewport.bottom-left .infonomic-toast-root[data-starting-style]) {
146
+ :global(
147
+ .byline-toast-viewport.top-left .byline-toast-root[data-starting-style]
148
+ ),
149
+ :global(
150
+ .byline-toast-viewport.bottom-left .byline-toast-root[data-starting-style]
151
+ ) {
143
152
  opacity: 0;
144
153
  transform: translateX(calc(-100% - var(--viewport-padding)));
145
154
  }
@@ -147,22 +156,26 @@
147
156
 
148
157
  /* Exit animation */
149
158
  .root[data-ending-style],
150
- :global(.infonomic-toast-root[data-ending-style]) {
159
+ :global(.byline-toast-root[data-ending-style]) {
151
160
  opacity: 0;
152
161
  }
153
162
 
154
163
  .root[data-ending-style][data-swipe-direction="right"],
155
- :global(.infonomic-toast-root[data-ending-style][data-swipe-direction="right"]) {
156
- transform: translateX(calc(var(--toast-swipe-movement-x, 0) + 100% + var(--viewport-padding)));
164
+ :global(.byline-toast-root[data-ending-style][data-swipe-direction="right"]) {
165
+ transform: translateX(
166
+ calc(var(--toast-swipe-movement-x, 0) + 100% + var(--viewport-padding))
167
+ );
157
168
  }
158
169
 
159
170
  .root[data-ending-style][data-swipe-direction="left"],
160
- :global(.infonomic-toast-root[data-ending-style][data-swipe-direction="left"]) {
161
- transform: translateX(calc(var(--toast-swipe-movement-x, 0) - 100% - var(--viewport-padding)));
171
+ :global(.byline-toast-root[data-ending-style][data-swipe-direction="left"]) {
172
+ transform: translateX(
173
+ calc(var(--toast-swipe-movement-x, 0) - 100% - var(--viewport-padding))
174
+ );
162
175
  }
163
176
 
164
177
  .root[data-ending-style][data-swipe-direction="down"],
165
- :global(.infonomic-toast-root[data-ending-style][data-swipe-direction="down"]) {
178
+ :global(.byline-toast-root[data-ending-style][data-swipe-direction="down"]) {
166
179
  transform: translateY(calc(var(--toast-swipe-movement-y, 0) + 150%));
167
180
  }
168
181
 
@@ -171,7 +184,7 @@
171
184
  ============================================ */
172
185
 
173
186
  .content,
174
- :global(.infonomic-toast-content) {
187
+ :global(.byline-toast-content) {
175
188
  display: flex;
176
189
  flex-direction: column;
177
190
  gap: var(--gap-1);
@@ -182,7 +195,7 @@
182
195
  ============================================ */
183
196
 
184
197
  .header,
185
- :global(.infonomic-toast-header) {
198
+ :global(.byline-toast-header) {
186
199
  display: flex;
187
200
  padding: 0 16px 0 12px;
188
201
  align-items: start;
@@ -191,7 +204,7 @@
191
204
  }
192
205
 
193
206
  .close,
194
- :global(.infonomic-toast-close) {
207
+ :global(.byline-toast-close) {
195
208
  display: flex;
196
209
  align-items: center;
197
210
  justify-content: center;
@@ -206,12 +219,12 @@
206
219
  }
207
220
 
208
221
  .close svg,
209
- :global(.infonomic-toast-close svg) {
222
+ :global(.byline-toast-close svg) {
210
223
  fill: white;
211
224
  }
212
225
 
213
226
  .title,
214
- :global(.infonomic-toast-title) {
227
+ :global(.byline-toast-title) {
215
228
  display: flex;
216
229
  padding: 0 12px 0 8px;
217
230
  align-items: start;
@@ -222,7 +235,7 @@
222
235
  }
223
236
 
224
237
  .description,
225
- :global(.infonomic-toast-description) {
238
+ :global(.byline-toast-description) {
226
239
  margin: 0;
227
240
  padding: 0 8px 0 12px;
228
241
  font-size: var(--font-size-sm);
@@ -230,7 +243,7 @@
230
243
  }
231
244
 
232
245
  .action,
233
- :global(.infonomic-toast-action) {
246
+ :global(.byline-toast-action) {
234
247
  display: flex;
235
248
  justify-content: end;
236
249
  padding: 0 12px 0 12px;
@@ -55,7 +55,7 @@ export function ToastViewport({ position = 'bottom-right', className }: ToastVie
55
55
  return (
56
56
  <ToastPrimitive.Portal>
57
57
  <ToastPrimitive.Viewport
58
- className={cx('infonomic-toast-viewport', styles.viewport, styles[position], className)}
58
+ className={cx('byline-toast-viewport', styles.viewport, styles[position], className)}
59
59
  >
60
60
  {toasts.map((toast) => (
61
61
  <ToastItem key={toast.id} toast={toast} />
@@ -78,10 +78,10 @@ function ToastItem({ toast }: { toast: ToastPrimitive.Root.ToastObject<ToastData
78
78
  <ToastPrimitive.Root
79
79
  toast={toast}
80
80
  swipeDirection={swipeDirection}
81
- className={cx('infonomic-toast', styles.root)}
81
+ className={cx('byline-toast', styles.root)}
82
82
  >
83
- <ToastPrimitive.Content className={cx('infonomic-toast-content', styles.content)}>
84
- <div className={cx('infonomic-toast-header', styles.header)}>
83
+ <ToastPrimitive.Content className={cx('byline-toast-content', styles.content)}>
84
+ <div className={cx('byline-toast-header', styles.header)}>
85
85
  <time dateTime={eventDateRef.current.toISOString()} className="text-sm">
86
86
  {new Intl.DateTimeFormat('default', {
87
87
  hour12: true,
@@ -97,7 +97,7 @@ function ToastItem({ toast }: { toast: ToastPrimitive.Root.ToastObject<ToastData
97
97
  tabIndex={0}
98
98
  variant="filled"
99
99
  aria-label="Close"
100
- className={cx('infonomic-toast-close', styles.close)}
100
+ className={cx('byline-toast-close', styles.close)}
101
101
  type="button"
102
102
  />
103
103
  }
@@ -106,13 +106,11 @@ function ToastItem({ toast }: { toast: ToastPrimitive.Root.ToastObject<ToastData
106
106
  </ToastPrimitive.Close>
107
107
  )}
108
108
  </div>
109
- <ToastPrimitive.Title className={cx('infonomic-toast-title', styles.title)}>
109
+ <ToastPrimitive.Title className={cx('byline-toast-title', styles.title)}>
110
110
  {icon && Icon && <Icon />}
111
111
  {toast.title}
112
112
  </ToastPrimitive.Title>
113
- <ToastPrimitive.Description
114
- className={cx('infonomic-toast-description', styles.description)}
115
- >
113
+ <ToastPrimitive.Description className={cx('byline-toast-description', styles.description)}>
116
114
  {toast.description}
117
115
  </ToastPrimitive.Description>
118
116
  </ToastPrimitive.Content>
@@ -11,14 +11,14 @@
11
11
 
12
12
  @layer byline-components {
13
13
  .pagination-root,
14
- :global(.infonomic-pagination-root) {
14
+ :global(.byline-pagination-root) {
15
15
  display: flex;
16
16
  padding: 0;
17
17
  align-items: center;
18
18
  }
19
19
 
20
20
  .pagination-items,
21
- :global(.infonomic-pagination-items) {
21
+ :global(.byline-pagination-items) {
22
22
  display: flex;
23
23
  align-items: center;
24
24
  list-style: none;
@@ -26,18 +26,18 @@
26
26
 
27
27
  .pagination-items.dashboard li,
28
28
  .pagination-items.default li,
29
- :global(.infonomic-pagination-items.dashboard) li,
30
- :global(.infonomic-pagination-items.default) li {
29
+ :global(.byline-pagination-items.dashboard) li,
30
+ :global(.byline-pagination-items.default) li {
31
31
  margin-right: -1px;
32
32
  }
33
33
 
34
34
  .pagination-items.classic li,
35
- :global(.infonomic-pagination-items.classic) li {
35
+ :global(.byline-pagination-items.classic) li {
36
36
  margin-right: 0;
37
37
  }
38
38
 
39
39
  .pagination-items.classic,
40
- :global(.infonomic-pagination-items.classic) {
40
+ :global(.byline-pagination-items.classic) {
41
41
  gap: 6px;
42
42
  }
43
43
 
@@ -231,7 +231,7 @@ const Root = ({
231
231
  data-testid={dataTestId}
232
232
  ref={ref}
233
233
  className={cx(
234
- 'infonomic-pagination-root',
234
+ 'byline-pagination-root',
235
235
  styles['pagination-root'],
236
236
  'pagination-root',
237
237
  className
@@ -241,7 +241,7 @@ const Root = ({
241
241
  >
242
242
  <ul
243
243
  className={cx(
244
- 'infonomic-pagination-items',
244
+ 'byline-pagination-items',
245
245
  styles['pagination-items'],
246
246
  styles[variant],
247
247
  itemsClassName
@@ -11,7 +11,7 @@
11
11
 
12
12
  @layer byline-components {
13
13
  .root,
14
- :global(.infonomic-scroll-area) {
14
+ :global(.byline-scroll-area) {
15
15
  border-radius: 4px;
16
16
  overflow: hidden;
17
17
  background-color: inherit;
@@ -19,14 +19,14 @@
19
19
  }
20
20
 
21
21
  .viewport,
22
- :global(.infonomic-scroll-area-viewport) {
22
+ :global(.byline-scroll-area-viewport) {
23
23
  width: 100%;
24
24
  height: 100%;
25
25
  border-radius: inherit;
26
26
  }
27
27
 
28
28
  .scrollbar,
29
- :global(.infonomic-scroll-area-scrollbar) {
29
+ :global(.byline-scroll-area-scrollbar) {
30
30
  display: flex;
31
31
  /* ensures no selection */
32
32
  user-select: none;
@@ -51,7 +51,7 @@
51
51
  }
52
52
 
53
53
  .thumb,
54
- :global(.infonomic-scroll-area-thumb) {
54
+ :global(.byline-scroll-area-thumb) {
55
55
  flex: 1;
56
56
  background: var(--surface-panel-scrollbar-thumb);
57
57
  border-radius: var(--border-radius-sm);
@@ -72,7 +72,7 @@
72
72
  }
73
73
 
74
74
  .corner,
75
- :global(.infonomic-scroll-area-corner) {
75
+ :global(.byline-scroll-area-corner) {
76
76
  background: var(--surface-panel-scrollbar);
77
77
  }
78
78
  }
@@ -10,23 +10,23 @@ interface ScrollAreaProps extends React.ComponentProps<typeof ScrollAreaPrimitiv
10
10
  export const ScrollArea = ({ children, style, className }: ScrollAreaProps) => (
11
11
  <ScrollAreaPrimitive.Root
12
12
  style={style}
13
- className={cx('infonomic-scroll-area', styles.root, className)}
13
+ className={cx('byline-scroll-area', styles.root, className)}
14
14
  >
15
- <ScrollAreaPrimitive.Viewport className={cx('infonomic-scroll-area-viewport', styles.viewport)}>
15
+ <ScrollAreaPrimitive.Viewport className={cx('byline-scroll-area-viewport', styles.viewport)}>
16
16
  <ScrollAreaPrimitive.Content>{children}</ScrollAreaPrimitive.Content>
17
17
  </ScrollAreaPrimitive.Viewport>
18
18
  <ScrollAreaPrimitive.Scrollbar
19
- className={cx('infonomic-scroll-area-scrollbar', styles.scrollbar)}
19
+ className={cx('byline-scroll-area-scrollbar', styles.scrollbar)}
20
20
  orientation="vertical"
21
21
  >
22
- <ScrollAreaPrimitive.Thumb className={cx('infonomic-scroll-area-thumb', styles.thumb)} />
22
+ <ScrollAreaPrimitive.Thumb className={cx('byline-scroll-area-thumb', styles.thumb)} />
23
23
  </ScrollAreaPrimitive.Scrollbar>
24
24
  <ScrollAreaPrimitive.Scrollbar
25
- className={cx('infonomic-scroll-area-scrollbar', styles.scrollbar)}
25
+ className={cx('byline-scroll-area-scrollbar', styles.scrollbar)}
26
26
  orientation="horizontal"
27
27
  >
28
- <ScrollAreaPrimitive.Thumb className={cx('infonomic-scroll-area-thumb', styles.thumb)} />
28
+ <ScrollAreaPrimitive.Thumb className={cx('byline-scroll-area-thumb', styles.thumb)} />
29
29
  </ScrollAreaPrimitive.Scrollbar>
30
- <ScrollAreaPrimitive.Corner className={cx('infonomic-scroll-area-corner', styles.corner)} />
30
+ <ScrollAreaPrimitive.Corner className={cx('byline-scroll-area-corner', styles.corner)} />
31
31
  </ScrollAreaPrimitive.Root>
32
32
  )
@@ -10,7 +10,7 @@
10
10
  byline-utilities;
11
11
  @layer byline-components {
12
12
  .scroll-to-top,
13
- :global(.infonomic-scroll-to-top) {
13
+ :global(.byline-scroll-to-top) {
14
14
  display: flex;
15
15
  position: fixed;
16
16
  width: 0;
@@ -37,28 +37,28 @@
37
37
  }
38
38
 
39
39
  .scroll-to-top span,
40
- :global(.infonomic-scroll-to-top span) {
40
+ :global(.byline-scroll-to-top span) {
41
41
  width: 18px;
42
42
  padding-bottom: 3px;
43
43
  }
44
44
 
45
45
  .scroll-to-top span svg path,
46
- :global(.infonomic-scroll-to-top span svg path) {
46
+ :global(.byline-scroll-to-top span svg path) {
47
47
  stroke: none;
48
48
  fill: var(--text-on-primary-strong);
49
49
  }
50
50
 
51
51
  .scroll-to-top:hover,
52
52
  .scroll-to-top:focus,
53
- :global(.infonomic-scroll-to-top:hover),
54
- :global(.infonomic-scroll-to-top:focus) {
53
+ :global(.byline-scroll-to-top:hover),
54
+ :global(.byline-scroll-to-top:focus) {
55
55
  color: var(--text-on-primary-strong);
56
56
  background-color: var(--fill-primary-strong-hover);
57
57
  transform: translateY(-5px);
58
58
  }
59
59
 
60
60
  .scroll-to-top-shown,
61
- :global(.infonomic-scroll-to-top-shown) {
61
+ :global(.byline-scroll-to-top-shown) {
62
62
  min-width: 0;
63
63
  opacity: 1;
64
64
  visibility: visible;
@@ -72,18 +72,18 @@
72
72
 
73
73
  @media screen and (min-width: 587px) {
74
74
  .scroll-to-top,
75
- :global(.infonomic-scroll-to-top) {
75
+ :global(.byline-scroll-to-top) {
76
76
  bottom: 45px;
77
77
  right: 45px;
78
78
  }
79
79
 
80
80
  .scroll-to-top span,
81
- :global(.infonomic-scroll-to-top span) {
81
+ :global(.byline-scroll-to-top span) {
82
82
  width: 18px;
83
83
  }
84
84
 
85
85
  .scroll-to-top-shown,
86
- :global(.infonomic-scroll-to-top-shown) {
86
+ :global(.byline-scroll-to-top-shown) {
87
87
  width: 42px;
88
88
  height: 42px;
89
89
  border-radius: 21px;
@@ -61,10 +61,10 @@ export function ScrollToTop({
61
61
  aria-label={ariaLabel}
62
62
  onClick={handleOnClick}
63
63
  className={cx(
64
- 'infonomic-scroll-to-top',
64
+ 'byline-scroll-to-top',
65
65
  styles['scroll-to-top'],
66
66
  {
67
- 'infonomic-scroll-to-top-shown': show,
67
+ 'byline-scroll-to-top-shown': show,
68
68
  [styles['scroll-to-top-shown']]: show,
69
69
  },
70
70
  className
@@ -11,7 +11,7 @@
11
11
 
12
12
  @layer byline-components {
13
13
  .section,
14
- :global(.infonomic-section) {
14
+ :global(.byline-section) {
15
15
  width: 100%;
16
16
  position: relative;
17
17
  }
@@ -16,7 +16,7 @@ export const Section = function Section({
16
16
  ref?: React.RefObject<HTMLElement>
17
17
  }): React.JSX.Element {
18
18
  return (
19
- <section className={cx('infonomic-section', styles.section, className)} ref={ref} {...rest}>
19
+ <section className={cx('byline-section', styles.section, className)} ref={ref} {...rest}>
20
20
  {children}
21
21
  </section>
22
22
  )