@byline/ui 1.10.2 → 1.11.0

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 +38 -38
  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 +35 -35
  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 +24 -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 +50 -50
  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 +45 -45
  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 +33 -33
  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 +26 -26
  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 +6 -6
  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
@@ -10,7 +10,7 @@
10
10
  byline-utilities;
11
11
  @layer byline-components {
12
12
  .combo-button-wrapper,
13
- :global(.infonomic-combo-button-wrapper) {
13
+ :global(.byline-combo-button-wrapper) {
14
14
  display: flex;
15
15
  align-items: center;
16
16
  gap: 0.075rem;
@@ -22,13 +22,13 @@
22
22
 
23
23
  .combo-button-wrapper:focus-within,
24
24
  .combo-button-wrapper:has([data-popup-open]),
25
- :global(.infonomic-combo-button-wrapper):focus-within,
26
- :global(.infonomic-combo-button-wrapper):has([data-popup-open]) {
25
+ :global(.byline-combo-button-wrapper):focus-within,
26
+ :global(.byline-combo-button-wrapper):has([data-popup-open]) {
27
27
  outline-color: var(--ring-color);
28
28
  }
29
29
 
30
30
  .combo-button-button,
31
- :global(.infonomic-combo-button-button) {
31
+ :global(.byline-combo-button-button) {
32
32
  border-bottom-right-radius: 0;
33
33
  border-top-right-radius: 0;
34
34
  }
@@ -39,7 +39,7 @@
39
39
  }
40
40
 
41
41
  .combo-button-trigger,
42
- :global(.infonomic-combo-button-trigger) {
42
+ :global(.byline-combo-button-trigger) {
43
43
  border-bottom-left-radius: 0;
44
44
  border-top-left-radius: 0;
45
45
  }
@@ -50,11 +50,11 @@
50
50
  }
51
51
 
52
52
  .combo-button-options,
53
- :global(.infonomic-combo-button-options) {
53
+ :global(.byline-combo-button-options) {
54
54
  min-width: 120px;
55
55
  }
56
56
 
57
57
  .combo-button-options-item,
58
- :global(.infonomic-combo-button-options-item) {
58
+ :global(.byline-combo-button-options-item) {
59
59
  }
60
60
  }
@@ -12,9 +12,9 @@
12
12
  .stop-button,
13
13
  .play-button,
14
14
  .directional-button,
15
- :global(.infonomic-stop-button),
16
- :global(.infonomic-play-button),
17
- :global(.infonomic-directional-button) {
15
+ :global(.byline-stop-button),
16
+ :global(.byline-play-button),
17
+ :global(.byline-directional-button) {
18
18
  display: flex;
19
19
  align-items: center;
20
20
  justify-content: center;
@@ -136,7 +136,7 @@
136
136
  transform: translateX(5px);
137
137
  }
138
138
 
139
- /* No dark theme overrides needed!
140
- * Tokens automatically switch in .dark and respect .not-dark
139
+ /* No dark theme overrides needed!
140
+ * Tokens automatically switch in .dark and respect .not-dark
141
141
  */
142
142
  }
@@ -42,7 +42,7 @@ export const DirectionalButton = ({
42
42
  type="button"
43
43
  aria-label={direction}
44
44
  className={cx(
45
- 'infonomic-control-button',
45
+ 'byline-control-button',
46
46
  direction,
47
47
  size,
48
48
  styles['directional-button'],
@@ -11,12 +11,12 @@
11
11
 
12
12
  @layer byline-components {
13
13
  .copy-button-container,
14
- :global(.infonomic-copy-button-container) {
14
+ :global(.byline-copy-button-container) {
15
15
  display: inline-block;
16
16
  }
17
17
 
18
18
  .copy-button svg,
19
- :global(.infonomic-copy-button) svg {
19
+ :global(.byline-copy-button) svg {
20
20
  width: 90%;
21
21
  height: 90%;
22
22
  display: block;
@@ -24,7 +24,7 @@
24
24
 
25
25
  /* Sizes */
26
26
  .xs,
27
- :global(.infonomic-copy-button-xs) {
27
+ :global(.byline-copy-button-xs) {
28
28
  width: 26px;
29
29
  height: 26px;
30
30
  min-height: 26px;
@@ -32,7 +32,7 @@
32
32
  }
33
33
 
34
34
  .sm,
35
- :global(.infonomic-copy-button-sm) {
35
+ :global(.byline-copy-button-sm) {
36
36
  width: 32px;
37
37
  height: 32px;
38
38
  min-height: 32px;
@@ -40,7 +40,7 @@
40
40
  }
41
41
 
42
42
  .md,
43
- :global(.infonomic-copy-button-md) {
43
+ :global(.byline-copy-button-md) {
44
44
  width: 38px;
45
45
  height: 38px;
46
46
  min-height: 38px;
@@ -48,7 +48,7 @@
48
48
  }
49
49
 
50
50
  .lg,
51
- :global(.infonomic-copy-button-lg) {
51
+ :global(.byline-copy-button-lg) {
52
52
  width: 46px;
53
53
  height: 46px;
54
54
  min-height: 46px;
@@ -56,7 +56,7 @@
56
56
  }
57
57
 
58
58
  .xl,
59
- :global(.infonomic-copy-button-xl) {
59
+ :global(.byline-copy-button-xl) {
60
60
  width: 54px;
61
61
  height: 54px;
62
62
  min-height: 54px;
@@ -67,7 +67,7 @@ export function CopyButton({
67
67
  return (
68
68
  <div
69
69
  className={cx(
70
- 'infonomic-copy-button-container',
70
+ 'byline-copy-button-container',
71
71
  styles['copy-button-container'],
72
72
  containerClassName
73
73
  )}
@@ -91,10 +91,10 @@ export function CopyButton({
91
91
  fullWidth={fullWidth}
92
92
  ripple={ripple}
93
93
  className={cx(
94
- 'infonomic-copy-button',
95
- `infonomic-copy-button-${variant}`,
96
- `infonomic-copy-button-${size}`,
97
- `infonomic-copy-button-${intent}`,
94
+ 'byline-copy-button',
95
+ `byline-copy-button-${variant}`,
96
+ `byline-copy-button-${size}`,
97
+ `byline-copy-button-${intent}`,
98
98
  styles[size],
99
99
  className
100
100
  )}
@@ -11,7 +11,7 @@
11
11
 
12
12
  @layer byline-components {
13
13
  .card,
14
- :global(.infonomic-card) {
14
+ :global(.byline-card) {
15
15
  display: flex;
16
16
  flex-direction: column;
17
17
  text-decoration: none;
@@ -27,25 +27,25 @@
27
27
  }
28
28
 
29
29
  .card-hover,
30
- :global(.infonomic-card-hover) {
30
+ :global(.byline-card-hover) {
31
31
  transition: background 0.2s ease-in-out;
32
32
  }
33
33
 
34
34
  .card-hover:hover,
35
- :global(.infonomic-card-hover):hover {
35
+ :global(.byline-card-hover):hover {
36
36
  background: oklch(from var(--theme-50) 1 0.03 h);
37
37
  }
38
38
 
39
39
  :global(.dark),
40
40
  :global([data-theme="dark"]) {
41
41
  .card-hover:hover,
42
- :global(.infonomic-card-hover):hover {
42
+ :global(.byline-card-hover):hover {
43
43
  background: oklch(from var(--canvas-800) 0.2 c h);
44
44
  }
45
45
  }
46
46
 
47
47
  .card-header,
48
- :global(.infonomic-card-header) {
48
+ :global(.byline-card-header) {
49
49
  display: flex;
50
50
  flex-direction: column;
51
51
  gap: 0.5rem;
@@ -53,7 +53,7 @@
53
53
  }
54
54
 
55
55
  .card-title,
56
- :global(.infonomic-card-title) {
56
+ :global(.byline-card-title) {
57
57
  color: var(--headings);
58
58
  font-size: 1.8rem;
59
59
  font-weight: bold;
@@ -62,20 +62,20 @@
62
62
  }
63
63
 
64
64
  .card-description,
65
- :global(.infonomic-card-description) {
65
+ :global(.byline-card-description) {
66
66
  font-size: 0.875rem;
67
67
  color: var(--muted);
68
68
  }
69
69
 
70
70
  .card-content,
71
- :global(.infonomic-card-content) {
71
+ :global(.byline-card-content) {
72
72
  flex: 1;
73
73
  padding: 1rem;
74
74
  padding-top: 0;
75
75
  }
76
76
 
77
77
  .card-footer,
78
- :global(.infonomic-card-footer) {
78
+ :global(.byline-card-footer) {
79
79
  display: flex;
80
80
  align-items: center;
81
81
  padding: 1rem;
@@ -14,7 +14,7 @@ export type CardProps = useRender.ComponentProps<'div'> & {
14
14
 
15
15
  const Card = ({ className, hover, children, render, ref, ...rest }: CardProps) => {
16
16
  const hoverClasses = hover != null && hover === true ? styles['card-hover'] : undefined
17
- const classes = cx('infonomic-card', styles.card, hoverClasses, className)
17
+ const classes = cx('byline-card', styles.card, hoverClasses, className)
18
18
 
19
19
  const element = useRender({
20
20
  defaultTagName: 'div',
@@ -39,7 +39,7 @@ interface OtherProps extends React.HTMLAttributes<HTMLDivElement> {
39
39
  const Header = ({ className, ref, ...props }: OtherProps) => (
40
40
  <div
41
41
  ref={ref}
42
- className={cx('infonomic-card-header', styles['card-header'], className)}
42
+ className={cx('byline-card-header', styles['card-header'], className)}
43
43
  {...props}
44
44
  />
45
45
  )
@@ -49,7 +49,7 @@ Header.displayName = 'CardHeader'
49
49
  const Title = ({ className, ref, ...props }: OtherProps) => (
50
50
  <div
51
51
  ref={ref as React.Ref<HTMLDivElement>}
52
- className={cx('infonomic-card-title', styles['card-title'], className)}
52
+ className={cx('byline-card-title', styles['card-title'], className)}
53
53
  {...props}
54
54
  />
55
55
  )
@@ -58,7 +58,7 @@ Title.displayName = 'CardTitle'
58
58
  const Description = ({ className, ref, ...props }: OtherProps) => (
59
59
  <div
60
60
  ref={ref}
61
- className={cx('infonomic-card-description', styles['card-description'], className)}
61
+ className={cx('byline-card-description', styles['card-description'], className)}
62
62
  {...props}
63
63
  />
64
64
  )
@@ -67,7 +67,7 @@ Description.displayName = 'CardDescription'
67
67
  const Content = ({ className, ref, ...props }: OtherProps) => (
68
68
  <div
69
69
  ref={ref}
70
- className={cx('infonomic-card-content', styles['card-content'], className)}
70
+ className={cx('byline-card-content', styles['card-content'], className)}
71
71
  {...props}
72
72
  />
73
73
  )
@@ -76,7 +76,7 @@ Content.displayName = 'CardContent'
76
76
  const Footer = ({ className, ref, ...props }: OtherProps) => (
77
77
  <div
78
78
  ref={ref}
79
- className={cx('infonomic-card-footer', styles['card-footer'], className)}
79
+ className={cx('byline-card-footer', styles['card-footer'], className)}
80
80
  {...props}
81
81
  />
82
82
  )
@@ -11,7 +11,7 @@
11
11
 
12
12
  @layer byline-components {
13
13
  .chip,
14
- :global(.infonomic-chip) {
14
+ :global(.byline-chip) {
15
15
  --chip-font-size: 0.9rem;
16
16
  --chip-height: 34px;
17
17
  --chip-padding-y: 0.35rem;
@@ -39,33 +39,33 @@
39
39
 
40
40
  .chip:disabled,
41
41
  .chip[disabled],
42
- :global(.infonomic-chip):disabled,
43
- :global(.infonomic-chip)[disabled] {
42
+ :global(.byline-chip):disabled,
43
+ :global(.byline-chip)[disabled] {
44
44
  pointer-events: none;
45
45
  }
46
46
 
47
47
  .chip:focus,
48
48
  .chip:active,
49
- :global(.infonomic-chip):focus,
50
- :global(.infonomic-chip):active {
49
+ :global(.byline-chip):focus,
50
+ :global(.byline-chip):active {
51
51
  outline-color: var(--ring-color);
52
52
  }
53
53
 
54
54
  .label,
55
- :global(.infonomic-chip-label) {
55
+ :global(.byline-chip-label) {
56
56
  display: inline-flex;
57
57
  align-items: center;
58
58
  white-space: nowrap;
59
59
  }
60
60
 
61
61
  .icon,
62
- :global(.infonomic-chip-icon) {
62
+ :global(.byline-chip-icon) {
63
63
  width: var(--chip-icon-size);
64
64
  height: var(--chip-icon-size);
65
65
  }
66
66
 
67
67
  .iconWrapper,
68
- :global(.infonomic-chip-icon-wrapper) {
68
+ :global(.byline-chip-icon-wrapper) {
69
69
  display: inline-flex;
70
70
  align-items: center;
71
71
  justify-content: center;
@@ -73,14 +73,14 @@
73
73
  }
74
74
 
75
75
  .close-icon,
76
- :global(.infonomic-chip-close-icon) {
76
+ :global(.byline-chip-close-icon) {
77
77
  width: calc(var(--chip-icon-size) * 0.9);
78
78
  height: calc(var(--chip-icon-size) * 0.9);
79
79
  }
80
80
 
81
81
  /* Sizes ----------------------------------------------------------- */
82
82
  .xs,
83
- :global(.infonomic-chip-xs) {
83
+ :global(.byline-chip-xs) {
84
84
  --chip-height: 24px;
85
85
  --chip-padding-y: 0.15rem;
86
86
  --chip-padding-x: 0.3rem;
@@ -90,7 +90,7 @@
90
90
  }
91
91
 
92
92
  .sm,
93
- :global(.infonomic-chip-sm) {
93
+ :global(.byline-chip-sm) {
94
94
  --chip-height: 28px;
95
95
  --chip-padding-y: 0.2rem;
96
96
  --chip-padding-x: 0.3rem;
@@ -99,7 +99,7 @@
99
99
  }
100
100
 
101
101
  .md,
102
- :global(.infonomic-chip-md) {
102
+ :global(.byline-chip-md) {
103
103
  --chip-height: 32px;
104
104
  --chip-padding-y: 0.25rem;
105
105
  --chip-padding-x: 0.3rem;
@@ -108,7 +108,7 @@
108
108
  }
109
109
 
110
110
  .lg,
111
- :global(.infonomic-chip-lg) {
111
+ :global(.byline-chip-lg) {
112
112
  --chip-gap: var(--gap-2);
113
113
  --chip-height: 36px;
114
114
  --chip-padding-y: 0.3rem;
@@ -118,7 +118,7 @@
118
118
  }
119
119
 
120
120
  .xl,
121
- :global(.infonomic-chip-xl) {
121
+ :global(.byline-chip-xl) {
122
122
  --chip-gap: var(--gap-2);
123
123
  --chip-height: 40px;
124
124
  --chip-padding-y: 0.3rem;
@@ -130,27 +130,27 @@
130
130
  /* Variants -------------------------------------------------------- */
131
131
  /* Variants - Consuming Variables */
132
132
  .filled,
133
- :global(.infonomic-chip-filled) {
133
+ :global(.byline-chip-filled) {
134
134
  color: var(--chip-variant-filled-foreground);
135
135
  background-color: var(--chip-variant-filled);
136
136
  }
137
137
 
138
138
  .filled:hover,
139
- :global(.infonomic-chip-filled):hover {
139
+ :global(.byline-chip-filled):hover {
140
140
  background-color: var(--chip-variant-filled-hover);
141
141
  }
142
142
 
143
143
  .filled:focus,
144
144
  .filled:active,
145
- :global(.infonomic-chip-filled):focus,
146
- :global(.infonomic-chip-filled):active {
145
+ :global(.byline-chip-filled):focus,
146
+ :global(.byline-chip-filled):active {
147
147
  --ring-color: var(--chip-ring-color);
148
148
  }
149
149
 
150
150
  .filled:disabled,
151
151
  .filled[disabled],
152
- :global(.infonomic-chip-filled):disabled,
153
- :global(.infonomic-chip-filled)[disabled] {
152
+ :global(.byline-chip-filled):disabled,
153
+ :global(.byline-chip-filled)[disabled] {
154
154
  background-color: var(
155
155
  --chip-variant-filled-disabled,
156
156
  oklch(from var(--chip-variant-filled) calc(l * 1.1) calc(c * 0.85) h)
@@ -165,27 +165,27 @@
165
165
  /* Weak variant for close button on selected chip */
166
166
 
167
167
  .filled-weak,
168
- :global(.infonomic-chip-filled-weak) {
168
+ :global(.byline-chip-filled-weak) {
169
169
  color: var(--chip-variant-filled-weak-foreground);
170
170
  background-color: var(--chip-variant-filled-weak);
171
171
  }
172
172
 
173
173
  .filled-weak:hover,
174
- :global(.infonomic-chip-filled-weak):hover {
174
+ :global(.byline-chip-filled-weak):hover {
175
175
  background-color: var(--chip-variant-filled-weak-hover);
176
176
  }
177
177
 
178
178
  .filled-weak:focus,
179
179
  .filled-weak:active,
180
- :global(.infonomic-chip-filled-weak):focus,
181
- :global(.infonomic-chip-filled-weak):active {
180
+ :global(.byline-chip-filled-weak):focus,
181
+ :global(.byline-chip-filled-weak):active {
182
182
  --ring-color: var(--chip-ring-color);
183
183
  }
184
184
 
185
185
  .filled-weak:disabled,
186
186
  .filled-weak[disabled],
187
- :global(.infonomic-chip-filled-weak):disabled,
188
- :global(.infonomic-chip-filled-weak)[disabled] {
187
+ :global(.byline-chip-filled-weak):disabled,
188
+ :global(.byline-chip-filled-weak)[disabled] {
189
189
  background-color: var(
190
190
  --chip-variant-filled-weak-disabled,
191
191
  oklch(from var(--chip-variant-filled-weak) calc(l * 1.1) calc(c * 0.85) h)
@@ -200,7 +200,7 @@
200
200
  /* Outlined variant */
201
201
 
202
202
  .outlined,
203
- :global(.infonomic-chip-outlined) {
203
+ :global(.byline-chip-outlined) {
204
204
  border: 1px solid var(--chip-variant-outlined-border);
205
205
  color: var(--chip-variant-outlined-foreground);
206
206
  background-color: var(--chip-variant-outlined);
@@ -208,8 +208,8 @@
208
208
 
209
209
  .outlined:disabled,
210
210
  .outlined[disabled],
211
- :global(.infonomic-chip-outlined):disabled,
212
- :global(.infonomic-chip-outlined)[disabled] {
211
+ :global(.byline-chip-outlined):disabled,
212
+ :global(.byline-chip-outlined)[disabled] {
213
213
  border-color: var(
214
214
  --chip-variant-outlined-border-disabled,
215
215
  oklch(from var(--chip-variant-outlined-border) calc(l * 1.5) calc(c * 0.8) h)
@@ -221,45 +221,45 @@
221
221
  }
222
222
 
223
223
  .outlined:hover,
224
- :global(.infonomic-chip-outlined):hover {
224
+ :global(.byline-chip-outlined):hover {
225
225
  background-color: var(--chip-variant-outlined-hover);
226
226
  }
227
227
 
228
228
  .outlined:focus,
229
229
  .outlined:active,
230
- :global(.infonomic-chip-outlined):focus,
231
- :global(.infonomic-chip-outlined):active {
230
+ :global(.byline-chip-outlined):focus,
231
+ :global(.byline-chip-outlined):active {
232
232
  --ring-color: var(--chip-ring-color);
233
233
  }
234
234
 
235
235
  .text,
236
- :global(.infonomic-chip-text) {
236
+ :global(.byline-chip-text) {
237
237
  background-color: var(--chip-variant-text);
238
238
  color: var(--chip-variant-text-foreground);
239
239
  }
240
240
 
241
241
  .text:disabled,
242
242
  .text[disabled],
243
- :global(.infonomic-chip-text):disabled,
244
- :global(.infonomic-chip-text)[disabled] {
243
+ :global(.byline-chip-text):disabled,
244
+ :global(.byline-chip-text)[disabled] {
245
245
  color: oklch(from var(--chip-variant-text-foreground) calc(l * 1.5) calc(c * 0.5) h);
246
246
  }
247
247
 
248
248
  .text:hover,
249
- :global(.infonomic-chip-text):hover {
249
+ :global(.byline-chip-text):hover {
250
250
  background-color: var(--chip-variant-text-hover);
251
251
  }
252
252
 
253
253
  .text:focus,
254
254
  .text:active,
255
- :global(.infonomic-chip-text):focus,
256
- :global(.infonomic-chip-text):active {
255
+ :global(.byline-chip-text):focus,
256
+ :global(.byline-chip-text):active {
257
257
  --ring-color: var(--chip-ring-color);
258
258
  }
259
259
 
260
260
  /* Intents - Defining Variables */
261
261
  .primary,
262
- :global(.infonomic-chip-primary) {
262
+ :global(.byline-chip-primary) {
263
263
  --chip-ring-color: var(--ring-primary);
264
264
 
265
265
  /* Filled */
@@ -286,7 +286,7 @@
286
286
  }
287
287
 
288
288
  .secondary,
289
- :global(.infonomic-chip-secondary) {
289
+ :global(.byline-chip-secondary) {
290
290
  --chip-ring-color: var(--ring-secondary);
291
291
 
292
292
  /* Filled */
@@ -313,7 +313,7 @@
313
313
  }
314
314
 
315
315
  .noeffect,
316
- :global(.infonomic-chip-noeffect) {
316
+ :global(.byline-chip-noeffect) {
317
317
  --chip-ring-color: var(--ring-noeffect);
318
318
 
319
319
  /* Filled */
@@ -340,7 +340,7 @@
340
340
  }
341
341
 
342
342
  .success,
343
- :global(.infonomic-chip-success) {
343
+ :global(.byline-chip-success) {
344
344
  --chip-ring-color: var(--ring-success);
345
345
 
346
346
  /* Filled */
@@ -367,7 +367,7 @@
367
367
  }
368
368
 
369
369
  .info,
370
- :global(.infonomic-chip-info) {
370
+ :global(.byline-chip-info) {
371
371
  --chip-ring-color: var(--ring-info);
372
372
 
373
373
  /* Filled */
@@ -394,7 +394,7 @@
394
394
  }
395
395
 
396
396
  .warning,
397
- :global(.infonomic-chip-warning) {
397
+ :global(.byline-chip-warning) {
398
398
  --chip-ring-color: var(--ring-warning);
399
399
 
400
400
  /* Filled */
@@ -421,7 +421,7 @@
421
421
  }
422
422
 
423
423
  .danger,
424
- :global(.infonomic-chip-danger) {
424
+ :global(.byline-chip-danger) {
425
425
  --chip-ring-color: var(--ring-danger);
426
426
 
427
427
  /* Filled */
@@ -138,7 +138,7 @@ export const Chip = ({
138
138
  onClick={handleRemoveClick}
139
139
  onKeyDown={handleRemoveKeyDown}
140
140
  >
141
- <CloseIcon className={cx('infonomic-chip-close-icon', styles.icon, styles['close-icon'])} />
141
+ <CloseIcon className={cx('byline-chip-close-icon', styles.icon, styles['close-icon'])} />
142
142
  </button>
143
143
  ) : (
144
144
  endIcon
@@ -154,10 +154,10 @@ export const Chip = ({
154
154
  'aria-pressed': isSelectable ? isSelected : undefined,
155
155
  'aria-selected': isSelectable ? isSelected : undefined,
156
156
  className: cx(
157
- 'infonomic-chip',
158
- `infonomic-chip-${variant}`,
159
- `infonomic-chip-${intent}`,
160
- `infonomic-chip-${size}`,
157
+ 'byline-chip',
158
+ `byline-chip-${variant}`,
159
+ `byline-chip-${intent}`,
160
+ `byline-chip-${size}`,
161
161
  { selected: isSelected, disabled, removable: isRemovable },
162
162
  styles.chip,
163
163
  styles[appliedVariant],
@@ -171,15 +171,11 @@ export const Chip = ({
171
171
  children: (
172
172
  <>
173
173
  {leadingIcon != null && (
174
- <span className={cx('infonomic-chip-icon-wrapper', styles.iconWrapper)}>
175
- {leadingIcon}
176
- </span>
174
+ <span className={cx('byline-chip-icon-wrapper', styles.iconWrapper)}>{leadingIcon}</span>
177
175
  )}
178
- <span className={cx('infonomic-chip-label', styles.label)}>{children}</span>
176
+ <span className={cx('byline-chip-label', styles.label)}>{children}</span>
179
177
  {trailingIcon != null && (
180
- <span className={cx('infonomic-chip-icon-wrapper', styles.iconWrapper)}>
181
- {trailingIcon}
182
- </span>
178
+ <span className={cx('byline-chip-icon-wrapper', styles.iconWrapper)}>{trailingIcon}</span>
183
179
  )}
184
180
  </>
185
181
  ),
@@ -11,7 +11,7 @@
11
11
 
12
12
  @layer byline-components {
13
13
  .container,
14
- :global(.infonomic-container) {
14
+ :global(.byline-container) {
15
15
  width: 100%;
16
16
  padding: 0 1rem;
17
17
  margin: 0 auto;
@@ -22,7 +22,7 @@
22
22
  /* Large */
23
23
  @media (min-width: 66rem) {
24
24
  .container,
25
- :global(.infonomic-container) {
25
+ :global(.byline-container) {
26
26
  max-width: 64rem;
27
27
  }
28
28
  }
@@ -30,7 +30,7 @@
30
30
  /* X-Large */
31
31
  @media (min-width: 77rem) {
32
32
  .container,
33
- :global(.infonomic-container) {
33
+ :global(.byline-container) {
34
34
  max-width: 74.375rem;
35
35
  }
36
36
  }
@@ -38,7 +38,7 @@
38
38
  /* 2X-Large */
39
39
  @media (min-width: 94rem) {
40
40
  .container,
41
- :global(.infonomic-container) {
41
+ :global(.byline-container) {
42
42
  max-width: 87.5rem;
43
43
  }
44
44
  }
@@ -16,7 +16,7 @@ export const Container = function Container({
16
16
  ref?: React.RefObject<HTMLDivElement>
17
17
  }): React.JSX.Element {
18
18
  return (
19
- <div ref={ref} {...rest} className={cx('infonomic-container', styles.container, className)}>
19
+ <div ref={ref} {...rest} className={cx('byline-container', styles.container, className)}>
20
20
  {children}
21
21
  </div>
22
22
  )