@brightlocal/ui-components 0.4.1 → 1.0.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 (156) hide show
  1. package/README.md +2 -1
  2. package/dist/accordion.cjs +1 -1
  3. package/dist/accordion.js +2 -2
  4. package/dist/alert.cjs +1 -1
  5. package/dist/alert.d.ts +2 -2
  6. package/dist/alert.js +64 -64
  7. package/dist/blocks/data-table.cjs +1 -1
  8. package/dist/blocks/data-table.js +38 -38
  9. package/dist/blocks/sidebar.cjs +1 -1
  10. package/dist/blocks/sidebar.d.ts +2 -2
  11. package/dist/blocks/sidebar.d.ts.map +1 -1
  12. package/dist/blocks/sidebar.js +23 -23
  13. package/dist/breadcrumb.cjs +1 -1
  14. package/dist/breadcrumb.js +34 -34
  15. package/dist/button.cjs +1 -1
  16. package/dist/button.d.ts +2 -2
  17. package/dist/button.d.ts.map +1 -1
  18. package/dist/button.js +58 -57
  19. package/dist/calendar.cjs +1 -1
  20. package/dist/calendar.d.ts.map +1 -1
  21. package/dist/calendar.js +19 -40
  22. package/dist/centred-layout.cjs +1 -1
  23. package/dist/centred-layout.js +1 -1
  24. package/dist/chart.cjs +2 -2
  25. package/dist/chart.d.ts +3 -1
  26. package/dist/chart.d.ts.map +1 -1
  27. package/dist/chart.js +21 -21
  28. package/dist/checkbox.cjs +1 -1
  29. package/dist/checkbox.js +3 -3
  30. package/dist/combobox.cjs +1 -1
  31. package/dist/combobox.d.ts +6 -2
  32. package/dist/combobox.d.ts.map +1 -1
  33. package/dist/combobox.js +157 -149
  34. package/dist/command.cjs +1 -1
  35. package/dist/command.js +35 -35
  36. package/dist/context-menu.cjs +1 -1
  37. package/dist/context-menu.js +2 -2
  38. package/dist/date-picker.cjs +1 -1
  39. package/dist/date-picker.js +7 -7
  40. package/dist/dialog.cjs +1 -1
  41. package/dist/dialog.js +22 -22
  42. package/dist/dropdown-menu.cjs +1 -1
  43. package/dist/dropdown-menu.d.ts.map +1 -1
  44. package/dist/dropdown-menu.js +40 -45
  45. package/dist/field.cjs +1 -1
  46. package/dist/field.d.ts +8 -1
  47. package/dist/field.d.ts.map +1 -1
  48. package/dist/field.js +133 -92
  49. package/dist/header.d.ts.map +1 -1
  50. package/dist/header.js +1 -4
  51. package/dist/index.cjs +1 -1
  52. package/dist/index.d.ts +1 -0
  53. package/dist/index.d.ts.map +1 -1
  54. package/dist/index.js +394 -381
  55. package/dist/input-chip.d.ts.map +1 -1
  56. package/dist/input-chip.js +18 -25
  57. package/dist/input-group.cjs +1 -1
  58. package/dist/input-group.d.ts +1 -1
  59. package/dist/input-group.js +10 -10
  60. package/dist/input-otp.cjs +1 -1
  61. package/dist/input-otp.d.ts +3 -20
  62. package/dist/input-otp.d.ts.map +1 -1
  63. package/dist/input-otp.js +93 -134
  64. package/dist/input-password.cjs +1 -1
  65. package/dist/input-password.d.ts.map +1 -1
  66. package/dist/input-password.js +16 -16
  67. package/dist/input.cjs +1 -1
  68. package/dist/input.js +9 -9
  69. package/dist/label.cjs +1 -1
  70. package/dist/label.js +1 -1
  71. package/dist/link.cjs +1 -1
  72. package/dist/link.d.ts.map +1 -1
  73. package/dist/link.js +1 -8
  74. package/dist/logo.cjs +1 -1
  75. package/dist/logo.d.ts.map +1 -1
  76. package/dist/logo.js +23 -11
  77. package/dist/menubar.cjs +1 -1
  78. package/dist/menubar.js +12 -12
  79. package/dist/pagination.cjs +1 -1
  80. package/dist/pagination.d.ts.map +1 -1
  81. package/dist/pagination.js +15 -15
  82. package/dist/radio-group.cjs +1 -1
  83. package/dist/radio-group.d.ts +3 -19
  84. package/dist/radio-group.d.ts.map +1 -1
  85. package/dist/radio-group.js +93 -121
  86. package/dist/resizable.d.ts +1 -1
  87. package/dist/select.cjs +1 -1
  88. package/dist/select.d.ts +1 -1
  89. package/dist/select.d.ts.map +1 -1
  90. package/dist/select.js +46 -50
  91. package/dist/sheet.cjs +1 -1
  92. package/dist/sheet.d.ts.map +1 -1
  93. package/dist/sheet.js +19 -19
  94. package/dist/sonner.cjs +1 -1
  95. package/dist/sonner.d.ts.map +1 -1
  96. package/dist/sonner.js +7 -8
  97. package/dist/switch.cjs +1 -1
  98. package/dist/switch.d.ts +1 -21
  99. package/dist/switch.d.ts.map +1 -1
  100. package/dist/switch.js +31 -100
  101. package/dist/tabs.cjs +1 -1
  102. package/dist/tabs.d.ts.map +1 -1
  103. package/dist/tabs.js +10 -12
  104. package/dist/toggle.cjs +1 -1
  105. package/dist/toggle.js +9 -9
  106. package/dist/typography.cjs +1 -0
  107. package/dist/typography.d.ts +176 -0
  108. package/dist/typography.d.ts.map +1 -0
  109. package/dist/typography.js +331 -0
  110. package/package.json +2 -2
  111. package/src/blocks/data-table.tsx +10 -10
  112. package/src/blocks/sidebar.tsx +13 -13
  113. package/src/components/accordion.tsx +2 -2
  114. package/src/components/alert.tsx +10 -10
  115. package/src/components/breadcrumb.tsx +3 -3
  116. package/src/components/button.tsx +7 -7
  117. package/src/components/calendar.tsx +4 -22
  118. package/src/components/centred-layout.tsx +1 -1
  119. package/src/components/chart.tsx +5 -5
  120. package/src/components/checkbox.tsx +3 -3
  121. package/src/components/combobox.tsx +26 -10
  122. package/src/components/command.tsx +5 -5
  123. package/src/components/context-menu.tsx +2 -2
  124. package/src/components/date-picker.tsx +1 -1
  125. package/src/components/dialog.tsx +3 -3
  126. package/src/components/dropdown-menu.tsx +6 -11
  127. package/src/components/field.tsx +70 -22
  128. package/src/components/header.tsx +1 -4
  129. package/src/components/input-chip.tsx +1 -4
  130. package/src/components/input-group.tsx +1 -1
  131. package/src/components/input-otp.tsx +12 -92
  132. package/src/components/input-password.tsx +2 -10
  133. package/src/components/input.tsx +1 -1
  134. package/src/components/label.tsx +1 -1
  135. package/src/components/link.tsx +1 -5
  136. package/src/components/logo.tsx +11 -5
  137. package/src/components/menubar.tsx +2 -2
  138. package/src/components/pagination.tsx +4 -8
  139. package/src/components/radio-group.tsx +66 -130
  140. package/src/components/select.tsx +8 -12
  141. package/src/components/sheet.tsx +5 -5
  142. package/src/components/sonner.tsx +4 -5
  143. package/src/components/switch.tsx +29 -140
  144. package/src/components/tabs.tsx +0 -2
  145. package/src/components/toggle.tsx +1 -1
  146. package/src/components/typography.tsx +678 -0
  147. package/src/index.ts +1 -0
  148. package/dist/link.figma.d.ts +0 -2
  149. package/dist/link.figma.d.ts.map +0 -1
  150. package/dist/switch.figma.d.ts +0 -2
  151. package/dist/switch.figma.d.ts.map +0 -1
  152. package/dist/toggle.figma.d.ts +0 -2
  153. package/dist/toggle.figma.d.ts.map +0 -1
  154. package/src/components/link.figma.tsx +0 -71
  155. package/src/components/switch.figma.tsx +0 -111
  156. package/src/components/toggle.figma.tsx +0 -75
@@ -296,7 +296,7 @@ const DatePickerTrigger = React.forwardRef<
296
296
  >
297
297
  <CalendarIcon
298
298
  className={cn(
299
- "text-muted-foreground pointer-events-none absolute top-1/2 left-3 size-4 -translate-y-1/2",
299
+ "text-muted-foreground pointer-events-none absolute top-1/2 left-3 -translate-y-1/2",
300
300
  disabled && "opacity-50"
301
301
  )}
302
302
  data-slot="calendar-icon"
@@ -2,7 +2,7 @@
2
2
 
3
3
  import * as React from "react";
4
4
  import * as DialogPrimitive from "@radix-ui/react-dialog";
5
- import { XIcon } from "@brightlocal/icons";
5
+ import { X } from "@brightlocal/icons";
6
6
 
7
7
  import { cn } from "@brightlocal/ui-components/lib/utils";
8
8
 
@@ -130,8 +130,8 @@ const DialogContent = React.forwardRef<HTMLDivElement, DialogContentProps>(
130
130
  {...props}
131
131
  >
132
132
  {children}
133
- <DialogPrimitive.Close className="ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-8 right-8 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4">
134
- <XIcon />
133
+ <DialogPrimitive.Close className="ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-8 right-8 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0">
134
+ <X />
135
135
  <span className="sr-only">Close</span>
136
136
  </DialogPrimitive.Close>
137
137
  </DialogPrimitive.Content>
@@ -203,8 +203,6 @@ const DropdownMenuItem = React.forwardRef<
203
203
  "data-[inset]:pl-8",
204
204
  // Icon styling
205
205
  "[&_svg]:pointer-events-none [&_svg]:shrink-0",
206
- "[&_svg:not([class*='size-'])]:size-4",
207
- "[&_svg:not([class*='text-'])]:text-muted-foreground",
208
206
  ],
209
207
  className
210
208
  )}
@@ -268,8 +266,7 @@ const DropdownMenuCheckboxItem = React.forwardRef<
268
266
  "focus:bg-accent focus:text-accent-foreground",
269
267
  "data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
270
268
  // Icon styling
271
- "[&_svg]:pointer-events-none [&_svg]:shrink-0",
272
- "[&_svg:not([class*='size-'])]:size-4",
269
+ "[&_svg]:pointer-events-none [&_svg]:shrink-0"
273
270
  ],
274
271
  className
275
272
  )}
@@ -281,7 +278,7 @@ const DropdownMenuCheckboxItem = React.forwardRef<
281
278
  >
282
279
  <span className="pointer-events-none absolute left-2 flex size-3.5 items-center justify-center">
283
280
  <DropdownMenuPrimitive.ItemIndicator>
284
- <Check size={16} />
281
+ <Check />
285
282
  </DropdownMenuPrimitive.ItemIndicator>
286
283
  </span>
287
284
  {children}
@@ -341,8 +338,7 @@ const DropdownMenuRadioItem = React.forwardRef<
341
338
  "focus:bg-accent focus:text-accent-foreground",
342
339
  "data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
343
340
  // Icon styling
344
- "[&_svg]:pointer-events-none [&_svg]:shrink-0",
345
- "[&_svg:not([class*='size-'])]:size-4",
341
+ "[&_svg]:pointer-events-none [&_svg]:shrink-0"
346
342
  ],
347
343
  className
348
344
  )}
@@ -502,8 +498,7 @@ const DropdownMenuSubTrigger = React.forwardRef<
502
498
  "data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
503
499
  "data-[inset]:pl-8",
504
500
  // Icon styling
505
- "[&_svg]:pointer-events-none [&_svg]:shrink-0",
506
- "[&_svg:not([class*='size-'])]:size-4",
501
+ "[&_svg]:pointer-events-none [&_svg]:shrink-0"
507
502
  ],
508
503
  className
509
504
  )}
@@ -515,7 +510,7 @@ const DropdownMenuSubTrigger = React.forwardRef<
515
510
  {...props}
516
511
  >
517
512
  {children}
518
- <ChevronRight className="ml-auto" size={16} />
513
+ <ChevronRight className="ml-auto" />
519
514
  </DropdownMenuPrimitive.SubTrigger>
520
515
  );
521
516
  }
@@ -647,7 +642,7 @@ const DropdownMenuTriggerAvatar = React.forwardRef<
647
642
  </span>
648
643
  )}
649
644
  </div>
650
- <ChevronsUpDown className="text-muted-foreground opacity-50" size={16} />
645
+ <ChevronsUpDown className="text-muted-foreground opacity-50" />
651
646
  </DropdownMenuPrimitive.Trigger>
652
647
  );
653
648
  }
@@ -64,39 +64,84 @@ function FieldGroup({ className, ...props }: React.ComponentProps<"div">) {
64
64
  );
65
65
  }
66
66
 
67
- const fieldVariants = cva("group/field flex w-full gap-2", {
68
- variants: {
69
- orientation: {
70
- vertical: ["flex-col [&>*]:w-full [&>.sr-only]:w-auto"],
71
- horizontal: [
72
- "grid grid-cols-[auto_1fr] items-center",
73
- "[&>[data-slot=field-description]]:col-start-2 [&>[data-slot=field-error]]:col-start-2",
74
- "has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px",
75
- ],
76
- responsive: [
77
- "flex-col [&>*]:w-full [&>.sr-only]:w-auto @md/field-group:grid @md/field-group:grid-cols-[auto_1fr] @md/field-group:items-center @md/field-group:[&>*]:w-auto",
78
- "@md/field-group:[&>[data-slot=field-description]]:col-start-2 @md/field-group:[&>[data-slot=field-error]]:col-start-2",
79
- "@md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px",
80
- ],
67
+ const fieldVariants = cva(
68
+ [
69
+ "group/field flex w-full gap-2",
70
+ // RadioGroup context: positioned ancestor for RadioGroupItem click overlay + pointer cursor
71
+ "[[data-slot=radio-group]_&]:relative [[data-slot=radio-group]_&]:cursor-pointer [[data-slot=radio-group]_&]:gap-3 [[data-slot=radio-group]_&]:has-[[data-disabled]]:cursor-not-allowed",
72
+ // Label leading overrides: use leading-normal for wrap-capable labels (checkbox)
73
+ "has-[>[role=checkbox]]:[&_[data-slot=field-label]]:leading-normal",
74
+ ],
75
+ {
76
+ variants: {
77
+ orientation: {
78
+ vertical: ["flex-col [&>*]:w-full [&>.sr-only]:w-auto"],
79
+ horizontal: [
80
+ "grid grid-cols-[auto_1fr] items-center gap-x-2",
81
+ "[&>[data-slot=field-description]]:col-start-2 [&>[data-slot=field-error]]:col-start-2",
82
+ "has-[>[data-slot=field-content]]:items-start",
83
+ ],
84
+ responsive: [
85
+ "flex-col [&>*]:w-full [&>.sr-only]:w-auto @md/field-group:grid @md/field-group:grid-cols-[auto_1fr] @md/field-group:items-center @md/field-group:[&>*]:w-auto",
86
+ "@md/field-group:[&>[data-slot=field-description]]:col-start-2 @md/field-group:[&>[data-slot=field-error]]:col-start-2",
87
+ "@md/field-group:has-[>[data-slot=field-content]]:items-start",
88
+ ],
89
+ },
90
+ variant: {
91
+ default: [],
92
+ box: [
93
+ "relative cursor-pointer",
94
+ "rounded-lg border border-border bg-background p-3",
95
+ "transition-colors",
96
+ "[&_[data-slot=field-label]]:after:absolute [&_[data-slot=field-label]]:after:inset-0 [&_[data-slot=field-label]]:after:cursor-pointer",
97
+ // Focus ring when a child control receives focus
98
+ "has-[:focus-visible]:shadow-default has-[:focus-visible]:border-ring",
99
+ // Checked-state for radio/checkbox (not switch)
100
+ "has-[[data-state=checked]:not([role=switch])]:border-primary has-[[data-state=checked]:not([role=switch])]:bg-primary/10",
101
+ "dark:has-[[data-state=checked]:not([role=switch])]:bg-alpha-10",
102
+ // Error-state when inside an invalid container (e.g. RadioGroup with error)
103
+ "[[aria-invalid=true]_&]:border-red-600/40 dark:[[aria-invalid=true]_&]:border-red-400/60",
104
+ "[[aria-invalid=true]_&]:has-[:focus-visible]:border-destructive [[aria-invalid=true]_&]:has-[:focus-visible]:shadow-destructive",
105
+ ],
106
+ },
81
107
  },
82
- },
83
- defaultVariants: {
84
- orientation: "vertical",
85
- },
86
- });
108
+ defaultVariants: {
109
+ orientation: "vertical",
110
+ variant: "default",
111
+ },
112
+ }
113
+ );
87
114
 
88
115
  /**
89
116
  * Props for the Field component
90
117
  */
91
118
  interface FieldProps
92
- extends React.ComponentProps<"div">, VariantProps<typeof fieldVariants> {}
119
+ extends React.ComponentProps<"div">, VariantProps<typeof fieldVariants> {
120
+ /**
121
+ * Controls the grid column sizing for horizontal orientation.
122
+ * - `"start"` (default): `auto 1fr` — control left, content right
123
+ * - `"end"`: `1fr auto` — content left, control right
124
+ */
125
+ align?: "start" | "end";
126
+ }
93
127
 
94
- function Field({ className, orientation = "vertical", ...props }: FieldProps) {
128
+ function Field({
129
+ className,
130
+ orientation = "vertical",
131
+ variant = "default",
132
+ align = "start",
133
+ ...props
134
+ }: FieldProps) {
95
135
  return (
96
136
  <div
97
- className={cn(fieldVariants({ orientation }), className)}
137
+ className={cn(
138
+ fieldVariants({ orientation, variant }),
139
+ align === "end" && orientation === "horizontal" && "grid-cols-[1fr_auto]",
140
+ className
141
+ )}
98
142
  data-orientation={orientation}
99
143
  data-slot="field"
144
+ data-variant={variant}
100
145
  role="group"
101
146
  {...props}
102
147
  />
@@ -108,6 +153,8 @@ function FieldContent({ className, ...props }: React.ComponentProps<"div">) {
108
153
  <div
109
154
  className={cn(
110
155
  "group/field-content flex flex-1 flex-col gap-1.5 leading-snug",
156
+ // Center text for boxIconVertical RadioGroup
157
+ "[[data-variant=boxIconVertical]_&]:items-center [[data-variant=boxIconVertical]_&]:text-center",
111
158
  className
112
159
  )}
113
160
  data-slot="field-content"
@@ -137,6 +184,7 @@ function FieldLabel({
137
184
  <Label
138
185
  className={cn(
139
186
  // Base label styles from primitives are inherited via Label component
187
+ // Reset to mb-0 when label wraps a field (card variant for radio/checkbox)
140
188
  "group/field-label peer/field-label w-fit",
141
189
  // Field-specific container styles
142
190
  "has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border [&>*]:data-[slot=field]:p-4",
@@ -49,10 +49,7 @@ const Header = React.forwardRef<HTMLElement, HeaderProps>(
49
49
  return (
50
50
  <header
51
51
  ref={ref}
52
- className={cn(
53
- "flex items-center",
54
- className
55
- )}
52
+ className={cn("flex items-center", className)}
56
53
  data-hook={dataHook}
57
54
  data-slot="header"
58
55
  data-tracking-el={trackingEl}
@@ -504,10 +504,7 @@ function InputChipItems({
504
504
  }
505
505
 
506
506
  return (
507
- <div
508
- className={cn("contents", className)}
509
- data-slot="input-chip-items"
510
- >
507
+ <div className={cn("contents", className)} data-slot="input-chip-items">
511
508
  {value.map((item, index) => (
512
509
  <Chip
513
510
  key={`${item}-${index}`}
@@ -141,7 +141,7 @@ const inputGroupButtonVariants = cva(
141
141
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
142
142
  "disabled:pointer-events-none disabled:opacity-50",
143
143
  "text-muted-foreground hover:text-foreground",
144
- "[&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
144
+ "[&_svg]:pointer-events-none [&_svg]:shrink-0",
145
145
  ],
146
146
  {
147
147
  variants: {
@@ -9,10 +9,9 @@ import {
9
9
  REGEXP_ONLY_CHARS,
10
10
  REGEXP_ONLY_DIGITS_AND_CHARS,
11
11
  } from "input-otp";
12
- import { MinusIcon } from "@brightlocal/icons";
12
+ import { Minus } from "@brightlocal/icons";
13
13
 
14
14
  import { cn } from "@brightlocal/ui-components/lib/utils";
15
- import { Label } from "@brightlocal/ui-components/label";
16
15
 
17
16
  /* -------------------------------------------------------------------------------------------------
18
17
  * InputOTP Context
@@ -138,7 +137,7 @@ function InputOTPSlot({ index, className, ...props }: InputOTPSlotProps) {
138
137
  // Base styles
139
138
  "relative flex h-9 w-9 items-center justify-center",
140
139
  "border-input bg-background border-y border-r",
141
- "text-foreground text-sm font-normal transition-all outline-none",
140
+ "text-foreground text-sm font-normal transition-[border-color,box-shadow] outline-none",
142
141
  "first:rounded-l-md first:border-l last:rounded-r-md",
143
142
  // Focus state
144
143
  "data-[active=true]:border-ring data-[active=true]:z-10",
@@ -174,91 +173,16 @@ type InputOTPSeparatorProps = React.ComponentProps<"div">;
174
173
  function InputOTPSeparator({ ...props }: InputOTPSeparatorProps) {
175
174
  return (
176
175
  <div data-slot="input-otp-separator" role="separator" {...props}>
177
- <MinusIcon />
176
+ <Minus />
178
177
  </div>
179
178
  );
180
179
  }
181
180
 
182
- /* -------------------------------------------------------------------------------------------------
183
- * InputOTP Label
184
- * -----------------------------------------------------------------------------------------------*/
185
-
186
- interface InputOTPLabelProps extends React.ComponentProps<typeof Label> {
187
- /** Data hook for automated testing */
188
- dataHook?: string;
189
- }
190
-
191
- function InputOTPLabel({ dataHook, className, ...props }: InputOTPLabelProps) {
192
- return (
193
- <Label
194
- className={cn("mb-2", className)}
195
- data-hook={dataHook}
196
- data-slot="input-otp-label"
197
- {...props}
198
- />
199
- );
200
- }
201
-
202
- /* -------------------------------------------------------------------------------------------------
203
- * InputOTP Field (Convenience wrapper with label)
204
- * -----------------------------------------------------------------------------------------------*/
205
-
206
- interface InputOTPFieldProps extends Omit<InputOTPProps, "children"> {
207
- /** Label text */
208
- label?: string;
209
- /** Custom ID for the input */
210
- id?: string;
211
- /** Accessible label when no visible label is provided */
212
- "aria-label"?: string;
213
- /** Children components */
214
- children: React.ReactNode;
215
- }
216
-
217
- const InputOTPField = React.forwardRef<HTMLInputElement, InputOTPFieldProps>(
218
- (
219
- { label, id, dataHook, "aria-label": ariaLabel, children, ...props },
220
- ref
221
- ) => {
222
- const generatedId = React.useId();
223
- const inputId = id || generatedId;
224
-
225
- const effectiveAriaLabel =
226
- ariaLabel || (!label ? "One-time password" : undefined);
227
-
228
- return (
229
- <div className="w-fit" data-slot="input-otp-field">
230
- {label && (
231
- <InputOTPLabel
232
- dataHook={dataHook ? `${dataHook}-label` : undefined}
233
- htmlFor={inputId}
234
- >
235
- {label}
236
- </InputOTPLabel>
237
- )}
238
- <InputOTP
239
- ref={ref}
240
- aria-label={effectiveAriaLabel}
241
- dataHook={dataHook}
242
- id={label ? inputId : undefined}
243
- {...props}
244
- >
245
- {children}
246
- </InputOTP>
247
- </div>
248
- );
249
- }
250
- );
251
-
252
- InputOTPField.displayName = "InputOTPField";
253
-
254
181
  /* -------------------------------------------------------------------------------------------------
255
182
  * Variant Components (Convenience wrappers)
256
183
  * -----------------------------------------------------------------------------------------------*/
257
184
 
258
- interface InputOTPVariantProps extends Omit<
259
- InputOTPFieldProps,
260
- "children" | "maxLength"
261
- > {
185
+ interface InputOTPVariantProps extends Omit<InputOTPProps, "children" | "maxLength"> {
262
186
  /** Number of OTP digits */
263
187
  maxLength?: number;
264
188
  }
@@ -269,7 +193,7 @@ const InputOTPDigitsOnly = React.forwardRef<
269
193
  InputOTPVariantProps
270
194
  >(({ maxLength = 6, ...props }, ref) => {
271
195
  return (
272
- <InputOTPField
196
+ <InputOTP
273
197
  ref={ref}
274
198
  inputMode="numeric"
275
199
  maxLength={maxLength}
@@ -284,7 +208,7 @@ const InputOTPDigitsOnly = React.forwardRef<
284
208
  <InputOTPSlot key={i} index={i} />
285
209
  ))}
286
210
  </InputOTPGroup>
287
- </InputOTPField>
211
+ </InputOTP>
288
212
  );
289
213
  });
290
214
 
@@ -296,7 +220,7 @@ const InputOTPWithSpacing = React.forwardRef<
296
220
  InputOTPVariantProps
297
221
  >(({ maxLength = 4, ...props }, ref) => {
298
222
  return (
299
- <InputOTPField
223
+ <InputOTP
300
224
  ref={ref}
301
225
  containerClassName="gap-2"
302
226
  maxLength={maxLength}
@@ -309,7 +233,7 @@ const InputOTPWithSpacing = React.forwardRef<
309
233
  index={i}
310
234
  />
311
235
  ))}
312
- </InputOTPField>
236
+ </InputOTP>
313
237
  );
314
238
  });
315
239
 
@@ -322,7 +246,7 @@ const InputOTPSimple = React.forwardRef<HTMLInputElement, InputOTPVariantProps>(
322
246
  const secondGroupLength = maxLength - firstGroupLength;
323
247
 
324
248
  return (
325
- <InputOTPField ref={ref} maxLength={maxLength} {...props}>
249
+ <InputOTP ref={ref} maxLength={maxLength} {...props}>
326
250
  <InputOTPGroup>
327
251
  {Array.from({ length: firstGroupLength }, (_, i) => (
328
252
  <InputOTPSlot key={i} index={i} />
@@ -337,7 +261,7 @@ const InputOTPSimple = React.forwardRef<HTMLInputElement, InputOTPVariantProps>(
337
261
  />
338
262
  ))}
339
263
  </InputOTPGroup>
340
- </InputOTPField>
264
+ </InputOTP>
341
265
  );
342
266
  }
343
267
  );
@@ -353,7 +277,7 @@ const InputOTPWithSeparator = React.forwardRef<
353
277
  const groups = Math.ceil(maxLength / groupSize);
354
278
 
355
279
  return (
356
- <InputOTPField ref={ref} maxLength={maxLength} {...props}>
280
+ <InputOTP ref={ref} maxLength={maxLength} {...props}>
357
281
  {Array.from({ length: groups }, (_, groupIndex) => {
358
282
  const startIndex = groupIndex * groupSize;
359
283
  const endIndex = Math.min(startIndex + groupSize, maxLength);
@@ -370,7 +294,7 @@ const InputOTPWithSeparator = React.forwardRef<
370
294
  </React.Fragment>
371
295
  );
372
296
  })}
373
- </InputOTPField>
297
+ </InputOTP>
374
298
  );
375
299
  });
376
300
 
@@ -386,8 +310,6 @@ export {
386
310
  InputOTPGroup,
387
311
  InputOTPSlot,
388
312
  InputOTPSeparator,
389
- InputOTPLabel,
390
- InputOTPField,
391
313
  // Variant components
392
314
  InputOTPDigitsOnly,
393
315
  InputOTPWithSpacing,
@@ -404,7 +326,5 @@ export type {
404
326
  InputOTPGroupProps,
405
327
  InputOTPSlotProps,
406
328
  InputOTPSeparatorProps,
407
- InputOTPLabelProps,
408
- InputOTPFieldProps,
409
329
  InputOTPVariantProps,
410
330
  };
@@ -381,11 +381,7 @@ const InputPasswordField = React.forwardRef<
381
381
  variant="ghost"
382
382
  onClick={toggleVisibility}
383
383
  >
384
- {showPassword ? (
385
- <EyeOff size={16} />
386
- ) : (
387
- <Eye size={16} />
388
- )}
384
+ {showPassword ? <EyeOff /> : <Eye />}
389
385
  </InputGroupButton>
390
386
  </InputGroupAddon>
391
387
  </InputGroup>
@@ -448,11 +444,7 @@ const InputPasswordToggle = React.forwardRef<
448
444
  onClick={toggleVisibility}
449
445
  {...props}
450
446
  >
451
- {showPassword ? (
452
- <EyeOff size={16} />
453
- ) : (
454
- <Eye size={16} />
455
- )}
447
+ {showPassword ? <EyeOff /> : <Eye />}
456
448
  </InputGroupButton>
457
449
  );
458
450
  }
@@ -14,7 +14,7 @@ export const inputVariants = cva(
14
14
  "flex w-full min-w-0 h-9",
15
15
  // Appearance
16
16
  "border border-input bg-background rounded-sm",
17
- "outline-none transition-all",
17
+ "outline-none transition-[border-color,box-shadow,background-color]",
18
18
  // Typography
19
19
  "text-sm font-sans",
20
20
  "text-foreground",
@@ -6,7 +6,7 @@ import { cva } from "class-variance-authority";
6
6
  import { cn } from "@brightlocal/ui-components/lib/utils";
7
7
 
8
8
  const labelVariants = cva(
9
- ["text-sm font-medium leading-normal", "text-foreground"],
9
+ ["text-sm font-medium leading-none", "text-foreground"],
10
10
  {
11
11
  variants: {
12
12
  optional: {
@@ -95,11 +95,7 @@ const Link = React.forwardRef<HTMLAnchorElement, LinkProps>(
95
95
  >
96
96
  {children}
97
97
  {external && showExternalIcon && (
98
- <ExternalLink
99
- aria-hidden="true"
100
- data-slot="external-icon"
101
- size={16}
102
- />
98
+ <ExternalLink aria-hidden="true" data-slot="external-icon" />
103
99
  )}
104
100
  </Comp>
105
101
  );
@@ -8,7 +8,7 @@ import { cn } from "@brightlocal/ui-components/lib/utils";
8
8
  */
9
9
  export type LogoVariant = "logotype" | "mark";
10
10
 
11
- const logoVariants = cva("inline-flex [&_path]:fill-brand-primary-foreground", {
11
+ const logoVariants = cva("inline-flex text-brand-primary-foreground", {
12
12
  variants: {
13
13
  variant: {
14
14
  logotype: "h-6",
@@ -22,8 +22,8 @@ const logoVariants = cva("inline-flex [&_path]:fill-brand-primary-foreground", {
22
22
 
23
23
  interface LogoProps
24
24
  extends
25
- Omit<React.HTMLAttributes<HTMLDivElement>, "children">,
26
- VariantProps<typeof logoVariants> {
25
+ Omit<React.HTMLAttributes<HTMLDivElement>, "children">,
26
+ VariantProps<typeof logoVariants> {
27
27
  /**
28
28
  * Required data-hook attribute for testing and component identification
29
29
  */
@@ -67,7 +67,10 @@ function Logo({
67
67
  xmlns="http://www.w3.org/2000/svg"
68
68
  >
69
69
  <g clipPath="url(#clip0_18315_468855)">
70
- <path d="M53.8012 6.13184C55.2785 6.13191 56.4277 6.69033 57.3579 7.75H57.4126V6.2998H60.7505V18.2354C60.7505 20.0759 60.1485 21.5262 58.9995 22.5859C57.8506 23.6455 56.3185 24.1473 54.4585 24.1475C51.5584 24.1475 49.588 23.0319 48.5483 20.7451L51.23 19.1279C51.8866 20.4664 52.9265 21.1357 54.3491 21.1357C56.0997 21.1355 57.3032 20.187 57.3032 18.3467V16.5625H57.2485C56.4278 17.622 55.333 18.124 53.9106 18.124C52.2693 18.124 50.9014 17.5657 49.8618 16.3945C48.8223 15.2791 48.275 13.8293 48.2749 12.1562C48.2749 10.5945 48.7675 9.14395 49.8071 7.97266C50.8467 6.74577 52.1599 6.13189 53.8012 6.13184ZM93.7456 6.07617C95.4964 6.07624 97.0292 6.69017 98.2329 7.86133C99.4366 9.03255 100.093 10.4829 100.093 12.2676C100.093 14.0523 99.4912 15.5582 98.2329 16.7295C96.9744 17.9007 95.4965 18.5146 93.6909 18.5146C91.8855 18.5146 90.4083 17.9564 89.1499 16.7295C87.9461 15.5582 87.2895 14.108 87.2895 12.3232C87.3443 10.5386 87.9461 9.03255 89.2046 7.86133C90.4629 6.63457 91.9949 6.07627 93.7456 6.07617ZM106.879 6.13184C109.506 6.13207 111.64 7.4711 112.406 9.81348L109.396 11.0957C108.904 9.92489 108.028 9.31177 106.879 9.31152C105.293 9.31152 104.088 10.4826 104.088 12.3232C104.088 14.108 105.238 15.335 106.879 15.335C108.083 15.3347 108.958 14.7766 109.451 13.5498L112.46 14.833C111.585 17.2311 109.451 18.5144 106.825 18.5146C105.019 18.4589 103.541 17.9007 102.337 16.7295C101.134 15.5582 100.586 14.108 100.586 12.3232C100.586 10.5384 101.188 9.08828 102.447 7.91699C103.651 6.69002 105.183 6.13184 106.879 6.13184ZM25.4555 7.75293H25.5649C26.4404 6.63751 27.6442 6.0791 29.1216 6.0791C30.7628 6.07926 32.0762 6.69291 33.1157 7.97559C34.1553 9.20262 34.6479 10.6531 34.6479 12.2705C34.6479 13.8879 34.1005 15.3384 33.061 16.5654C31.9668 17.7922 30.6533 18.4617 29.0122 18.4619C27.4802 18.4619 26.2763 17.9034 25.4555 16.7881H25.3999V18.2383H22.063V0.0556641H25.4555V7.75293ZM118.424 6.02051C121.488 6.02061 123.513 7.69329 123.513 10.8164V18.1787H120.34V16.7295H120.286C119.52 17.8449 118.315 18.4579 116.783 18.458C115.689 18.4022 114.759 18.1232 113.993 17.4541C113.227 16.7848 112.843 15.9483 112.843 14.8887V14.833C112.843 13.4388 113.5 12.379 114.594 11.877C115.688 11.3751 116.783 11.1514 118.041 11.1514H119.191C119.793 11.1512 120.121 10.8722 120.121 10.2588C120.12 9.42233 119.464 8.80869 118.26 8.80859C117.111 8.8087 116.236 9.3672 115.689 10.4268L113.062 8.86426C114.047 6.96816 115.853 6.02061 118.424 6.02051ZM78.9184 6.2998H81.8188V9.31152H78.9184V13.4385C78.9184 14.777 79.6299 15.3349 80.9428 15.335C81.2163 15.335 81.4907 15.3351 81.7094 15.2236V18.124C81.2171 18.2913 80.6696 18.3467 80.1225 18.3467C77.0583 18.3467 75.4712 16.6736 75.4712 13.8848V9.31152H73.3921V6.2998H75.5259V2.5625H78.9184V6.2998ZM65.3481 7.69336C65.7858 7.07999 66.2786 6.63424 66.8803 6.41113C67.5368 6.18809 68.0843 6.07617 68.5219 6.07617C69.9445 6.07623 70.9845 6.52258 71.6958 7.4707C72.4069 8.36306 72.7895 9.47894 72.7895 10.8174V18.2354H69.4526V11.5977C69.4525 10.2592 68.7402 9.25503 67.4272 9.25488C66.0595 9.25506 65.3482 10.2593 65.3481 11.542V18.1797H61.9555V0.0527344H65.3481V7.69336ZM47.2329 18.1826H43.7856V6.30273H47.2329V18.1826ZM42.1469 6.1875C42.4203 6.1875 42.6391 6.18837 42.8032 6.2998V9.69336C42.548 9.64804 42.2928 9.64649 42.0376 9.64648C39.8488 9.64648 38.8637 11.0407 38.8637 13.1602V18.1797H35.4712V6.2998H38.8637V8.13965C39.3563 7.02434 40.615 6.18751 42.1469 6.1875ZM86.3598 18.1797H82.9126V0.0527344H86.3598V18.1797ZM128 18.1797H124.553V0.0527344H128V18.1797ZM8.71433 18.0176C8.80009 18.0818 8.88699 18.1279 8.98484 18.1279H8.76609C8.74808 18.1279 8.73185 18.0857 8.71433 18.0176ZM13.0337 2.56641C14.6751 2.56649 16.3174 3.51474 17.2475 4.96484C18.1773 6.52641 18.2321 8.64568 17.2475 10.1514C16.7552 10.932 16.0983 11.5458 15.4419 12.1592C13.4173 14.1671 11.2828 16.0636 9.20359 17.96L9.1489 18.0156C9.0396 18.0713 8.93008 18.0712 8.82078 18.0156C8.73907 17.9739 8.69483 17.901 8.67234 17.8115C8.68532 17.8928 8.70051 17.9637 8.71433 18.0176C8.60851 17.9382 8.50302 17.8297 8.3823 17.7373C6.4126 15.8969 4.44282 14.0554 2.47312 12.1592C1.5978 11.267 0.667749 10.4298 0.229957 9.20312C-0.371808 7.30683 0.230178 5.02011 1.81687 3.7373C2.69222 3.01247 3.78622 2.62215 4.93504 2.62207C6.51656 2.62215 8.04402 3.45333 8.97507 4.78418C9.826 3.47781 11.3626 2.61666 13.0337 2.56641ZM4.88035 3.68164C3.45778 3.68176 2.08968 4.5189 1.37839 5.85742C0.722236 7.14009 0.776662 8.81333 1.70652 9.98438C2.25364 10.7093 2.91135 11.3231 3.56785 11.9365C5.09973 13.4422 6.68635 14.8928 8.27293 16.3428L8.54636 16.6221C8.54827 16.6481 8.59438 17.2709 8.65574 17.707C8.64361 17.5769 8.65668 17.4271 8.65671 17.291C8.49257 14.3351 8.27397 11.3787 8.16453 8.47852C8.12122 7.59564 8.14647 6.71234 8.43015 5.88477C8.41595 5.8552 8.38255 5.84458 8.3823 5.80078C7.72563 4.51826 6.35747 3.68173 4.93504 3.68164H4.88035ZM118.041 13.3271C117.057 13.3272 116.291 13.7729 116.291 14.665C116.291 15.4459 116.893 15.8926 117.768 15.8926C119.245 15.8924 120.121 14.8882 120.121 13.6055V13.3271H118.041ZM28.355 9.20312C27.5344 9.20317 26.8776 9.48152 26.3305 10.0391C25.7834 10.5968 25.5102 11.3224 25.5102 12.2148C25.4556 13.1071 25.7835 13.8319 26.3305 14.4453C26.8777 15.0029 27.589 15.2822 28.4096 15.2822C29.2303 15.2822 29.9416 15.003 30.4887 14.4453C31.0358 13.8876 31.31 13.1071 31.31 12.2148C31.31 11.3225 31.0359 10.5968 30.4341 10.0391C29.887 9.48158 29.1755 9.20319 28.355 9.20312ZM93.6909 9.14453C92.8704 9.14463 92.2135 9.42379 91.6665 10.0371C91.1195 10.5948 90.8462 11.3197 90.8462 12.2119C90.7914 13.1043 91.1193 13.8298 91.6665 14.4434C92.2135 15.0009 92.9251 15.2792 93.7456 15.2793C95.387 15.2791 96.5913 13.9966 96.5913 12.2119C96.5913 11.3198 96.3178 10.5948 95.771 10.0371C95.2238 9.47942 94.5116 9.14461 93.6909 9.14453ZM54.5132 9.2002C52.9265 9.2002 51.6677 10.4266 51.6675 12.0996C51.6675 13.8844 52.8716 15.0566 54.5132 15.0566C56.0997 15.0563 57.3579 13.8842 57.3579 12.0996C57.3577 10.4268 56.1542 9.20052 54.5132 9.2002ZM4.88035 5.29883C5.70098 5.29892 6.46705 5.80143 6.85007 6.52637C7.1781 7.19544 7.17914 7.92078 6.90574 8.58984C6.46795 9.48199 5.42758 10.0402 4.44285 9.87305C3.51289 9.70573 2.74691 8.86878 2.63718 7.9209C2.52778 7.19605 2.80129 6.41509 3.34812 5.91309C3.78578 5.52274 4.33328 5.29892 4.88035 5.29883ZM42.8579 9.70215H42.8032V9.69336C42.8212 9.69655 42.8398 9.69847 42.8579 9.70215ZM13.0337 5.74512C11.9943 5.74536 11.228 6.58213 11.228 7.58594C11.283 8.53376 12.0491 9.31512 12.979 9.37109C13.9636 9.4267 14.7854 8.58961 14.8403 7.58594C14.8403 6.58206 14.0185 5.74525 13.0337 5.74512ZM4.88035 6.30273C4.33328 6.30292 3.78664 6.74998 3.67722 7.30762C3.51371 8.08833 4.22486 9.03641 5.15476 8.86914C5.64674 8.75746 6.08412 8.31104 6.19382 7.80957C6.24854 7.08456 5.6463 6.30289 4.88035 6.30273ZM45.4819 0C46.6853 0.000335991 47.6155 0.948173 47.6157 2.1748C47.6157 3.34589 46.6854 4.29459 45.4819 4.29492C44.3328 4.29492 43.4018 3.3461 43.4018 2.1748C43.4021 1.00371 44.3877 0 45.4819 0Z" />
70
+ <path
71
+ d="M53.8012 6.13184C55.2785 6.13191 56.4277 6.69033 57.3579 7.75H57.4126V6.2998H60.7505V18.2354C60.7505 20.0759 60.1485 21.5262 58.9995 22.5859C57.8506 23.6455 56.3185 24.1473 54.4585 24.1475C51.5584 24.1475 49.588 23.0319 48.5483 20.7451L51.23 19.1279C51.8866 20.4664 52.9265 21.1357 54.3491 21.1357C56.0997 21.1355 57.3032 20.187 57.3032 18.3467V16.5625H57.2485C56.4278 17.622 55.333 18.124 53.9106 18.124C52.2693 18.124 50.9014 17.5657 49.8618 16.3945C48.8223 15.2791 48.275 13.8293 48.2749 12.1562C48.2749 10.5945 48.7675 9.14395 49.8071 7.97266C50.8467 6.74577 52.1599 6.13189 53.8012 6.13184ZM93.7456 6.07617C95.4964 6.07624 97.0292 6.69017 98.2329 7.86133C99.4366 9.03255 100.093 10.4829 100.093 12.2676C100.093 14.0523 99.4912 15.5582 98.2329 16.7295C96.9744 17.9007 95.4965 18.5146 93.6909 18.5146C91.8855 18.5146 90.4083 17.9564 89.1499 16.7295C87.9461 15.5582 87.2895 14.108 87.2895 12.3232C87.3443 10.5386 87.9461 9.03255 89.2046 7.86133C90.4629 6.63457 91.9949 6.07627 93.7456 6.07617ZM106.879 6.13184C109.506 6.13207 111.64 7.4711 112.406 9.81348L109.396 11.0957C108.904 9.92489 108.028 9.31177 106.879 9.31152C105.293 9.31152 104.088 10.4826 104.088 12.3232C104.088 14.108 105.238 15.335 106.879 15.335C108.083 15.3347 108.958 14.7766 109.451 13.5498L112.46 14.833C111.585 17.2311 109.451 18.5144 106.825 18.5146C105.019 18.4589 103.541 17.9007 102.337 16.7295C101.134 15.5582 100.586 14.108 100.586 12.3232C100.586 10.5384 101.188 9.08828 102.447 7.91699C103.651 6.69002 105.183 6.13184 106.879 6.13184ZM25.4555 7.75293H25.5649C26.4404 6.63751 27.6442 6.0791 29.1216 6.0791C30.7628 6.07926 32.0762 6.69291 33.1157 7.97559C34.1553 9.20262 34.6479 10.6531 34.6479 12.2705C34.6479 13.8879 34.1005 15.3384 33.061 16.5654C31.9668 17.7922 30.6533 18.4617 29.0122 18.4619C27.4802 18.4619 26.2763 17.9034 25.4555 16.7881H25.3999V18.2383H22.063V0.0556641H25.4555V7.75293ZM118.424 6.02051C121.488 6.02061 123.513 7.69329 123.513 10.8164V18.1787H120.34V16.7295H120.286C119.52 17.8449 118.315 18.4579 116.783 18.458C115.689 18.4022 114.759 18.1232 113.993 17.4541C113.227 16.7848 112.843 15.9483 112.843 14.8887V14.833C112.843 13.4388 113.5 12.379 114.594 11.877C115.688 11.3751 116.783 11.1514 118.041 11.1514H119.191C119.793 11.1512 120.121 10.8722 120.121 10.2588C120.12 9.42233 119.464 8.80869 118.26 8.80859C117.111 8.8087 116.236 9.3672 115.689 10.4268L113.062 8.86426C114.047 6.96816 115.853 6.02061 118.424 6.02051ZM78.9184 6.2998H81.8188V9.31152H78.9184V13.4385C78.9184 14.777 79.6299 15.3349 80.9428 15.335C81.2163 15.335 81.4907 15.3351 81.7094 15.2236V18.124C81.2171 18.2913 80.6696 18.3467 80.1225 18.3467C77.0583 18.3467 75.4712 16.6736 75.4712 13.8848V9.31152H73.3921V6.2998H75.5259V2.5625H78.9184V6.2998ZM65.3481 7.69336C65.7858 7.07999 66.2786 6.63424 66.8803 6.41113C67.5368 6.18809 68.0843 6.07617 68.5219 6.07617C69.9445 6.07623 70.9845 6.52258 71.6958 7.4707C72.4069 8.36306 72.7895 9.47894 72.7895 10.8174V18.2354H69.4526V11.5977C69.4525 10.2592 68.7402 9.25503 67.4272 9.25488C66.0595 9.25506 65.3482 10.2593 65.3481 11.542V18.1797H61.9555V0.0527344H65.3481V7.69336ZM47.2329 18.1826H43.7856V6.30273H47.2329V18.1826ZM42.1469 6.1875C42.4203 6.1875 42.6391 6.18837 42.8032 6.2998V9.69336C42.548 9.64804 42.2928 9.64649 42.0376 9.64648C39.8488 9.64648 38.8637 11.0407 38.8637 13.1602V18.1797H35.4712V6.2998H38.8637V8.13965C39.3563 7.02434 40.615 6.18751 42.1469 6.1875ZM86.3598 18.1797H82.9126V0.0527344H86.3598V18.1797ZM128 18.1797H124.553V0.0527344H128V18.1797ZM8.71433 18.0176C8.80009 18.0818 8.88699 18.1279 8.98484 18.1279H8.76609C8.74808 18.1279 8.73185 18.0857 8.71433 18.0176ZM13.0337 2.56641C14.6751 2.56649 16.3174 3.51474 17.2475 4.96484C18.1773 6.52641 18.2321 8.64568 17.2475 10.1514C16.7552 10.932 16.0983 11.5458 15.4419 12.1592C13.4173 14.1671 11.2828 16.0636 9.20359 17.96L9.1489 18.0156C9.0396 18.0713 8.93008 18.0712 8.82078 18.0156C8.73907 17.9739 8.69483 17.901 8.67234 17.8115C8.68532 17.8928 8.70051 17.9637 8.71433 18.0176C8.60851 17.9382 8.50302 17.8297 8.3823 17.7373C6.4126 15.8969 4.44282 14.0554 2.47312 12.1592C1.5978 11.267 0.667749 10.4298 0.229957 9.20312C-0.371808 7.30683 0.230178 5.02011 1.81687 3.7373C2.69222 3.01247 3.78622 2.62215 4.93504 2.62207C6.51656 2.62215 8.04402 3.45333 8.97507 4.78418C9.826 3.47781 11.3626 2.61666 13.0337 2.56641ZM4.88035 3.68164C3.45778 3.68176 2.08968 4.5189 1.37839 5.85742C0.722236 7.14009 0.776662 8.81333 1.70652 9.98438C2.25364 10.7093 2.91135 11.3231 3.56785 11.9365C5.09973 13.4422 6.68635 14.8928 8.27293 16.3428L8.54636 16.6221C8.54827 16.6481 8.59438 17.2709 8.65574 17.707C8.64361 17.5769 8.65668 17.4271 8.65671 17.291C8.49257 14.3351 8.27397 11.3787 8.16453 8.47852C8.12122 7.59564 8.14647 6.71234 8.43015 5.88477C8.41595 5.8552 8.38255 5.84458 8.3823 5.80078C7.72563 4.51826 6.35747 3.68173 4.93504 3.68164H4.88035ZM118.041 13.3271C117.057 13.3272 116.291 13.7729 116.291 14.665C116.291 15.4459 116.893 15.8926 117.768 15.8926C119.245 15.8924 120.121 14.8882 120.121 13.6055V13.3271H118.041ZM28.355 9.20312C27.5344 9.20317 26.8776 9.48152 26.3305 10.0391C25.7834 10.5968 25.5102 11.3224 25.5102 12.2148C25.4556 13.1071 25.7835 13.8319 26.3305 14.4453C26.8777 15.0029 27.589 15.2822 28.4096 15.2822C29.2303 15.2822 29.9416 15.003 30.4887 14.4453C31.0358 13.8876 31.31 13.1071 31.31 12.2148C31.31 11.3225 31.0359 10.5968 30.4341 10.0391C29.887 9.48158 29.1755 9.20319 28.355 9.20312ZM93.6909 9.14453C92.8704 9.14463 92.2135 9.42379 91.6665 10.0371C91.1195 10.5948 90.8462 11.3197 90.8462 12.2119C90.7914 13.1043 91.1193 13.8298 91.6665 14.4434C92.2135 15.0009 92.9251 15.2792 93.7456 15.2793C95.387 15.2791 96.5913 13.9966 96.5913 12.2119C96.5913 11.3198 96.3178 10.5948 95.771 10.0371C95.2238 9.47942 94.5116 9.14461 93.6909 9.14453ZM54.5132 9.2002C52.9265 9.2002 51.6677 10.4266 51.6675 12.0996C51.6675 13.8844 52.8716 15.0566 54.5132 15.0566C56.0997 15.0563 57.3579 13.8842 57.3579 12.0996C57.3577 10.4268 56.1542 9.20052 54.5132 9.2002ZM4.88035 5.29883C5.70098 5.29892 6.46705 5.80143 6.85007 6.52637C7.1781 7.19544 7.17914 7.92078 6.90574 8.58984C6.46795 9.48199 5.42758 10.0402 4.44285 9.87305C3.51289 9.70573 2.74691 8.86878 2.63718 7.9209C2.52778 7.19605 2.80129 6.41509 3.34812 5.91309C3.78578 5.52274 4.33328 5.29892 4.88035 5.29883ZM42.8579 9.70215H42.8032V9.69336C42.8212 9.69655 42.8398 9.69847 42.8579 9.70215ZM13.0337 5.74512C11.9943 5.74536 11.228 6.58213 11.228 7.58594C11.283 8.53376 12.0491 9.31512 12.979 9.37109C13.9636 9.4267 14.7854 8.58961 14.8403 7.58594C14.8403 6.58206 14.0185 5.74525 13.0337 5.74512ZM4.88035 6.30273C4.33328 6.30292 3.78664 6.74998 3.67722 7.30762C3.51371 8.08833 4.22486 9.03641 5.15476 8.86914C5.64674 8.75746 6.08412 8.31104 6.19382 7.80957C6.24854 7.08456 5.6463 6.30289 4.88035 6.30273ZM45.4819 0C46.6853 0.000335991 47.6155 0.948173 47.6157 2.1748C47.6157 3.34589 46.6854 4.29459 45.4819 4.29492C44.3328 4.29492 43.4018 3.3461 43.4018 2.1748C43.4021 1.00371 44.3877 0 45.4819 0Z"
72
+ fill="currentColor"
73
+ />
71
74
  </g>
72
75
  <defs>
73
76
  <clipPath id="clip0_18315_468855">
@@ -85,7 +88,10 @@ function Logo({
85
88
  xmlns="http://www.w3.org/2000/svg"
86
89
  >
87
90
  <g clipPath="url(#clip0_18315_468405)">
88
- <path d="M10.824 20.1854C10.9307 20.2655 11.0382 20.3221 11.1599 20.3221C11.0921 20.3221 11.0239 20.3221 10.8885 20.3221C10.866 20.3221 10.8458 20.2706 10.824 20.1854ZM16.1902 0.992035C18.2292 0.992157 20.2682 2.17023 21.4236 3.97153C22.579 5.91141 22.6469 8.54428 21.4236 10.4149C20.812 11.3846 19.9969 12.1471 19.1814 12.909C16.6666 15.4031 14.0152 17.7586 11.4324 20.1141L11.364 20.1834C11.2283 20.2526 11.0926 20.2525 10.9568 20.1834C10.855 20.1315 10.8002 20.041 10.7722 19.9295C10.7884 20.0306 10.8068 20.1184 10.824 20.1854C10.6926 20.0868 10.5618 19.9524 10.4119 19.8377C7.96503 17.5514 5.51794 15.2646 3.07107 12.909C1.9837 11.8007 0.828732 10.7611 0.284942 9.23715C-0.46271 6.88157 0.284639 4.04068 2.25565 2.44711C3.34314 1.54652 4.70335 1.06137 6.13065 1.06137C8.09519 1.06163 9.9918 2.09463 11.1482 3.74789C12.2053 2.12485 14.1142 1.05429 16.1902 0.992035ZM6.06229 2.37778C4.2951 2.37778 2.59534 3.41718 1.7117 5.07993C0.896188 6.67342 0.96448 8.75199 2.1199 10.2069C2.79959 11.1075 3.61583 11.8696 4.43143 12.6317C6.33446 14.5022 8.30516 16.3041 10.2762 18.1053L10.616 18.452C10.6173 18.47 10.6752 19.2471 10.7517 19.7938C10.7376 19.6333 10.7527 19.4502 10.7527 19.2831C10.5488 15.611 10.2764 11.9386 10.1404 8.33578C10.0867 7.23956 10.1194 6.14366 10.4715 5.11606C10.4542 5.07806 10.4119 5.06619 10.4119 5.01059C9.59633 3.41737 7.89755 2.37807 6.13065 2.37778H6.06229ZM6.06229 4.38754C7.0816 4.38762 8.03273 5.01058 8.50858 5.91098C8.91635 6.7423 8.91667 7.64313 8.57693 8.47446C8.03317 9.583 6.74181 10.2761 5.51834 10.0682C4.36285 9.86035 3.41112 8.82123 3.27518 7.6434C3.13925 6.74272 3.47928 5.77281 4.15897 5.14926C4.70273 4.66427 5.38258 4.38754 6.06229 4.38754ZM16.1902 4.94125C14.8989 4.94128 13.9472 5.98038 13.9471 7.22739C14.015 8.40507 14.9665 9.37568 16.1219 9.44516C17.3452 9.51425 18.3654 8.47439 18.4334 7.22739C18.4333 5.98048 17.4135 4.94143 16.1902 4.94125ZM6.06229 5.63461C5.38258 5.63461 4.70311 6.18884 4.56717 6.88168C4.3635 7.8516 5.24675 9.02897 6.40213 8.82114C7.01379 8.6825 7.55722 8.12822 7.69315 7.50473C7.76106 6.60412 7.01375 5.63474 6.06229 5.63461Z" />
91
+ <path
92
+ d="M10.824 20.1854C10.9307 20.2655 11.0382 20.3221 11.1599 20.3221C11.0921 20.3221 11.0239 20.3221 10.8885 20.3221C10.866 20.3221 10.8458 20.2706 10.824 20.1854ZM16.1902 0.992035C18.2292 0.992157 20.2682 2.17023 21.4236 3.97153C22.579 5.91141 22.6469 8.54428 21.4236 10.4149C20.812 11.3846 19.9969 12.1471 19.1814 12.909C16.6666 15.4031 14.0152 17.7586 11.4324 20.1141L11.364 20.1834C11.2283 20.2526 11.0926 20.2525 10.9568 20.1834C10.855 20.1315 10.8002 20.041 10.7722 19.9295C10.7884 20.0306 10.8068 20.1184 10.824 20.1854C10.6926 20.0868 10.5618 19.9524 10.4119 19.8377C7.96503 17.5514 5.51794 15.2646 3.07107 12.909C1.9837 11.8007 0.828732 10.7611 0.284942 9.23715C-0.46271 6.88157 0.284639 4.04068 2.25565 2.44711C3.34314 1.54652 4.70335 1.06137 6.13065 1.06137C8.09519 1.06163 9.9918 2.09463 11.1482 3.74789C12.2053 2.12485 14.1142 1.05429 16.1902 0.992035ZM6.06229 2.37778C4.2951 2.37778 2.59534 3.41718 1.7117 5.07993C0.896188 6.67342 0.96448 8.75199 2.1199 10.2069C2.79959 11.1075 3.61583 11.8696 4.43143 12.6317C6.33446 14.5022 8.30516 16.3041 10.2762 18.1053L10.616 18.452C10.6173 18.47 10.6752 19.2471 10.7517 19.7938C10.7376 19.6333 10.7527 19.4502 10.7527 19.2831C10.5488 15.611 10.2764 11.9386 10.1404 8.33578C10.0867 7.23956 10.1194 6.14366 10.4715 5.11606C10.4542 5.07806 10.4119 5.06619 10.4119 5.01059C9.59633 3.41737 7.89755 2.37807 6.13065 2.37778H6.06229ZM6.06229 4.38754C7.0816 4.38762 8.03273 5.01058 8.50858 5.91098C8.91635 6.7423 8.91667 7.64313 8.57693 8.47446C8.03317 9.583 6.74181 10.2761 5.51834 10.0682C4.36285 9.86035 3.41112 8.82123 3.27518 7.6434C3.13925 6.74272 3.47928 5.77281 4.15897 5.14926C4.70273 4.66427 5.38258 4.38754 6.06229 4.38754ZM16.1902 4.94125C14.8989 4.94128 13.9472 5.98038 13.9471 7.22739C14.015 8.40507 14.9665 9.37568 16.1219 9.44516C17.3452 9.51425 18.3654 8.47439 18.4334 7.22739C18.4333 5.98048 17.4135 4.94143 16.1902 4.94125ZM6.06229 5.63461C5.38258 5.63461 4.70311 6.18884 4.56717 6.88168C4.3635 7.8516 5.24675 9.02897 6.40213 8.82114C7.01379 8.6825 7.55722 8.12822 7.69315 7.50473C7.76106 6.60412 7.01375 5.63474 6.06229 5.63461Z"
93
+ fill="currentColor"
94
+ />
89
95
  </g>
90
96
  <defs>
91
97
  <clipPath id="clip0_18315_468405">
@@ -207,7 +207,7 @@ function MenubarCheckboxItem({
207
207
  >
208
208
  <span className="absolute left-2 flex size-4 items-center justify-center">
209
209
  <MenubarPrimitive.ItemIndicator>
210
- <Check className="text-foreground" size={16} />
210
+ <Check className="text-foreground" />
211
211
  </MenubarPrimitive.ItemIndicator>
212
212
  </span>
213
213
  {children}
@@ -391,7 +391,7 @@ function MenubarSubTrigger({
391
391
  {...props}
392
392
  >
393
393
  {children}
394
- <ChevronRight className="ml-auto" size={16} />
394
+ <ChevronRight className="ml-auto" />
395
395
  </MenubarPrimitive.SubTrigger>
396
396
  );
397
397
  }
@@ -1,9 +1,5 @@
1
1
  import * as React from "react";
2
- import {
3
- ChevronLeftIcon,
4
- ChevronRightIcon,
5
- MoreHorizontalIcon,
6
- } from "@brightlocal/icons";
2
+ import { ChevronLeft, ChevronRight, MoreHorizontal } from "@brightlocal/icons";
7
3
  import { cva, type VariantProps } from "class-variance-authority";
8
4
  import { cn } from "@brightlocal/ui-components/lib/utils";
9
5
 
@@ -270,7 +266,7 @@ const PaginationPrevious = React.forwardRef<
270
266
  variant="previous"
271
267
  {...props}
272
268
  >
273
- <ChevronLeftIcon size={16} />
269
+ <ChevronLeft />
274
270
  </PaginationButton>
275
271
  );
276
272
  });
@@ -294,7 +290,7 @@ const PaginationNext = React.forwardRef<HTMLButtonElement, PaginationNextProps>(
294
290
  variant="next"
295
291
  {...props}
296
292
  >
297
- <ChevronRightIcon size={16} />
293
+ <ChevronRight />
298
294
  </PaginationButton>
299
295
  );
300
296
  }
@@ -337,7 +333,7 @@ function PaginationEllipsis({
337
333
  data-slot="pagination-ellipsis"
338
334
  {...props}
339
335
  >
340
- <MoreHorizontalIcon size={16} />
336
+ <MoreHorizontal />
341
337
  <span className="sr-only">More pages</span>
342
338
  </span>
343
339
  );