@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
@@ -1,9 +1,9 @@
1
- import { jsxs as G, jsx as o } from "react/jsx-runtime";
1
+ import { jsxs as R, jsx as o } from "react/jsx-runtime";
2
2
  import * as r from "react";
3
- import { EyeOff as R, Eye as T } from "@brightlocal/icons";
3
+ import { EyeOff as T, Eye as H } from "@brightlocal/icons";
4
4
  import { Progress as F } from "@brightlocal/ui-components/progress";
5
5
  import { cn as P } from "@brightlocal/ui-components/lib/utils";
6
- import { InputGroup as j, InputGroupInput as M, InputGroupAddon as O, InputGroupButton as H } from "@brightlocal/ui-components/input-group";
6
+ import { InputGroup as j, InputGroupInput as M, InputGroupAddon as O, InputGroupButton as L } from "@brightlocal/ui-components/input-group";
7
7
  const Z = {
8
8
  meter: { label: "Meter", value: 0, color: "bg-green-500" },
9
9
  weak: { label: "Weak", value: 25, color: "bg-green-500" },
@@ -19,9 +19,9 @@ function _(e) {
19
19
  let t = 0;
20
20
  return e.length >= 16 && (t += 1), /[a-z]/.test(e) && (t += 1), /[A-Z]/.test(e) && (t += 1), /[0-9]/.test(e) && (t += 1), /[^a-zA-Z0-9]/.test(e) && (t += 1), t <= 1 ? "ok" : t <= 3 ? "good" : "great";
21
21
  }
22
- const L = r.createContext(null);
22
+ const V = r.createContext(null);
23
23
  function v() {
24
- const e = r.useContext(L);
24
+ const e = r.useContext(V);
25
25
  if (!e)
26
26
  throw new Error(
27
27
  "InputPassword compound components must be used within InputPasswordRoot"
@@ -43,7 +43,7 @@ function B({
43
43
  id: b,
44
44
  className: I
45
45
  }) {
46
- const [h, m] = r.useState(!1), [k, w] = r.useState(""), [x, V] = r.useState("meter"), A = r.useId(), S = b || A, f = s !== void 0 ? s : k, y = p ?? Z, N = u ?? _, C = r.useCallback(
46
+ const [h, m] = r.useState(!1), [k, w] = r.useState(""), [x, A] = r.useState("meter"), $ = r.useId(), S = b || $, f = s !== void 0 ? s : k, y = p ?? Z, N = u ?? _, C = r.useCallback(
47
47
  (g) => {
48
48
  s === void 0 && w(g), n?.(g);
49
49
  },
@@ -53,12 +53,12 @@ function B({
53
53
  }, []);
54
54
  r.useEffect(() => {
55
55
  const g = setTimeout(() => {
56
- const z = N(f);
57
- V(z), d?.(z);
56
+ const G = N(f);
57
+ A(G), d?.(G);
58
58
  }, 180);
59
59
  return () => clearTimeout(g);
60
60
  }, [f, N, d]);
61
- const $ = r.useMemo(
61
+ const z = r.useMemo(
62
62
  () => ({
63
63
  showPassword: h,
64
64
  setShowPassword: m,
@@ -89,7 +89,7 @@ function B({
89
89
  c
90
90
  ]
91
91
  );
92
- return /* @__PURE__ */ o(L.Provider, { value: $, children: /* @__PURE__ */ o("div", { className: P("w-full", I), children: e }) });
92
+ return /* @__PURE__ */ o(V.Provider, { value: z, children: /* @__PURE__ */ o("div", { className: P("w-full", I), children: e }) });
93
93
  }
94
94
  B.displayName = "InputPasswordRoot";
95
95
  const D = r.forwardRef(({ className: e, groupClassName: t, onChange: a, ...i }, l) => {
@@ -105,7 +105,7 @@ const D = r.forwardRef(({ className: e, groupClassName: t, onChange: a, ...i },
105
105
  inputId: h,
106
106
  error: m
107
107
  } = v();
108
- return /* @__PURE__ */ G(j, { className: t, dataHook: c, error: m, children: [
108
+ return /* @__PURE__ */ R(j, { className: t, dataHook: c, error: m, children: [
109
109
  /* @__PURE__ */ o(
110
110
  M,
111
111
  {
@@ -124,7 +124,7 @@ const D = r.forwardRef(({ className: e, groupClassName: t, onChange: a, ...i },
124
124
  }
125
125
  ),
126
126
  /* @__PURE__ */ o(O, { align: "inline-end", children: /* @__PURE__ */ o(
127
- H,
127
+ L,
128
128
  {
129
129
  "aria-label": s ? "Hide password" : "Show password",
130
130
  "data-hook": `${c}-toggle`,
@@ -132,7 +132,7 @@ const D = r.forwardRef(({ className: e, groupClassName: t, onChange: a, ...i },
132
132
  size: "icon",
133
133
  variant: "ghost",
134
134
  onClick: n,
135
- children: s ? /* @__PURE__ */ o(R, { size: 16 }) : /* @__PURE__ */ o(T, { size: 16 })
135
+ children: s ? /* @__PURE__ */ o(T, {}) : /* @__PURE__ */ o(H, {})
136
136
  }
137
137
  ) })
138
138
  ] });
@@ -149,7 +149,7 @@ const U = r.forwardRef(
149
149
  }, n) => {
150
150
  const { showPassword: d, toggleVisibility: p, disabled: u, dataHook: c } = v();
151
151
  return /* @__PURE__ */ o(
152
- H,
152
+ L,
153
153
  {
154
154
  ref: n,
155
155
  "aria-label": d ? a : t,
@@ -160,7 +160,7 @@ const U = r.forwardRef(
160
160
  variant: l,
161
161
  onClick: p,
162
162
  ...s,
163
- children: d ? /* @__PURE__ */ o(R, { size: 16 }) : /* @__PURE__ */ o(T, { size: 16 })
163
+ children: d ? /* @__PURE__ */ o(T, {}) : /* @__PURE__ */ o(H, {})
164
164
  }
165
165
  );
166
166
  }
@@ -175,7 +175,7 @@ function W({
175
175
  value: 0,
176
176
  color: "bg-muted"
177
177
  };
178
- return /* @__PURE__ */ o("div", { className: P("mt-1 space-y-2", e), children: /* @__PURE__ */ G("div", { className: P("flex items-center gap-2", s && "opacity-50"), children: [
178
+ return /* @__PURE__ */ o("div", { className: P("mt-1 space-y-2", e), children: /* @__PURE__ */ R("div", { className: P("flex items-center gap-2", s && "opacity-50"), children: [
179
179
  /* @__PURE__ */ o(
180
180
  F,
181
181
  {
package/dist/input.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("react/jsx-runtime"),b=require("react"),p=require("class-variance-authority"),v=require("@brightlocal/ui-components/lib/utils");function g(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const a=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,a.get?a:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const h=g(b),o=p.cva(["flex w-full min-w-0 h-9","border border-input bg-background rounded-sm","outline-none transition-all","text-sm font-sans","text-foreground","overflow-hidden text-ellipsis","focus-visible:outline-none focus-visible:border-ring focus-visible:bg-background","focus-visible:shadow-default","disabled:cursor-not-allowed disabled:opacity-50","placeholder:text-muted-foreground","placeholder:overflow-hidden placeholder:text-ellipsis","items-center px-3 pb-[1px] leading-5","[&::-webkit-calendar-picker-indicator]:hidden"],{variants:{hasIcon:{true:"pl-9",false:""},hasSecondaryIcon:{true:"pr-9",false:""}},defaultVariants:{hasIcon:!1,hasSecondaryIcon:!1}}),s=h.forwardRef(({className:e,hasIcon:r=!1,hasSecondaryIcon:t=!1,dataHook:a,error:l,trackingEl:d,trackingLabel:c,...i},u)=>{const n=l||i["aria-invalid"]===!0||i["aria-invalid"]==="true";return f.jsx("input",{ref:u,"aria-invalid":n?"true":void 0,className:v.cn(o({hasIcon:r,hasSecondaryIcon:t}),n&&"focus-visible:border-destructive focus-visible:shadow-destructive border-red-600/40 dark:border-red-400/60",e),"data-hook":a,"data-slot":"input","data-tracking-el":d,"data-tracking-label":c,...i})});s.displayName="Input";exports.Input=s;exports.inputVariants=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("react/jsx-runtime"),b=require("react"),p=require("class-variance-authority"),g=require("@brightlocal/ui-components/lib/utils");function v(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const a=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,a.get?a:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const h=v(b),i=p.cva(["flex w-full min-w-0 h-9","border border-input bg-background rounded-sm","outline-none transition-[border-color,box-shadow,background-color]","text-sm font-sans","text-foreground","overflow-hidden text-ellipsis","focus-visible:outline-none focus-visible:border-ring focus-visible:bg-background","focus-visible:shadow-default","disabled:cursor-not-allowed disabled:opacity-50","placeholder:text-muted-foreground","placeholder:overflow-hidden placeholder:text-ellipsis","items-center px-3 pb-[1px] leading-5","[&::-webkit-calendar-picker-indicator]:hidden"],{variants:{hasIcon:{true:"pl-9",false:""},hasSecondaryIcon:{true:"pr-9",false:""}},defaultVariants:{hasIcon:!1,hasSecondaryIcon:!1}}),s=h.forwardRef(({className:e,hasIcon:r=!1,hasSecondaryIcon:t=!1,dataHook:a,error:l,trackingEl:d,trackingLabel:c,...o},u)=>{const n=l||o["aria-invalid"]===!0||o["aria-invalid"]==="true";return f.jsx("input",{ref:u,"aria-invalid":n?"true":void 0,className:g.cn(i({hasIcon:r,hasSecondaryIcon:t}),n&&"focus-visible:border-destructive focus-visible:shadow-destructive border-red-600/40 dark:border-red-400/60",e),"data-hook":a,"data-slot":"input","data-tracking-el":d,"data-tracking-label":c,...o})});s.displayName="Input";exports.Input=s;exports.inputVariants=i;
package/dist/input.js CHANGED
@@ -8,7 +8,7 @@ const p = f(
8
8
  "flex w-full min-w-0 h-9",
9
9
  // Appearance
10
10
  "border border-input bg-background rounded-sm",
11
- "outline-none transition-all",
11
+ "outline-none transition-[border-color,box-shadow,background-color]",
12
12
  // Typography
13
13
  "text-sm font-sans",
14
14
  "text-foreground",
@@ -42,9 +42,9 @@ const p = f(
42
42
  hasSecondaryIcon: !1
43
43
  }
44
44
  }
45
- ), v = u.forwardRef(
45
+ ), h = u.forwardRef(
46
46
  ({
47
- className: r,
47
+ className: a,
48
48
  hasIcon: o = !1,
49
49
  hasSecondaryIcon: i = !1,
50
50
  dataHook: t,
@@ -53,16 +53,16 @@ const p = f(
53
53
  trackingLabel: s,
54
54
  ...e
55
55
  }, l) => {
56
- const a = d || e["aria-invalid"] === !0 || e["aria-invalid"] === "true";
56
+ const r = d || e["aria-invalid"] === !0 || e["aria-invalid"] === "true";
57
57
  return /* @__PURE__ */ c(
58
58
  "input",
59
59
  {
60
60
  ref: l,
61
- "aria-invalid": a ? "true" : void 0,
61
+ "aria-invalid": r ? "true" : void 0,
62
62
  className: b(
63
63
  p({ hasIcon: o, hasSecondaryIcon: i }),
64
- a && "focus-visible:border-destructive focus-visible:shadow-destructive border-red-600/40 dark:border-red-400/60",
65
- r
64
+ r && "focus-visible:border-destructive focus-visible:shadow-destructive border-red-600/40 dark:border-red-400/60",
65
+ a
66
66
  ),
67
67
  "data-hook": t,
68
68
  "data-slot": "input",
@@ -73,8 +73,8 @@ const p = f(
73
73
  );
74
74
  }
75
75
  );
76
- v.displayName = "Input";
76
+ h.displayName = "Input";
77
77
  export {
78
- v as Input,
78
+ h as Input,
79
79
  p as inputVariants
80
80
  };
package/dist/label.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react/jsx-runtime"),b=require("react"),f=require("@radix-ui/react-label"),p=require("class-variance-authority"),m=require("@brightlocal/ui-components/lib/utils");function n(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(a,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return a.default=e,Object.freeze(a)}const g=n(b),y=n(f),o=p.cva(["text-sm font-medium leading-normal","text-foreground"],{variants:{optional:{true:"after:ml-1 after:content-['(optional)']"}},defaultVariants:{}}),l=g.forwardRef(({className:e,optional:a,dataHook:t,trackingEl:r,trackingLabel:i,children:s,...c},u)=>d.jsx(y.Root,{ref:u,className:m.cn("flex items-center select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",o({optional:a}),e),"data-hook":t,"data-slot":"label","data-tracking-el":r||"label","data-tracking-label":i,...c,children:s}));l.displayName="Label";exports.Label=l;exports.labelVariants=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react/jsx-runtime"),b=require("react"),f=require("@radix-ui/react-label"),p=require("class-variance-authority"),m=require("@brightlocal/ui-components/lib/utils");function n(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(a,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return a.default=e,Object.freeze(a)}const g=n(b),y=n(f),o=p.cva(["text-sm font-medium leading-none","text-foreground"],{variants:{optional:{true:"after:ml-1 after:content-['(optional)']"}},defaultVariants:{}}),l=g.forwardRef(({className:e,optional:a,dataHook:t,trackingEl:r,trackingLabel:i,children:s,...c},u)=>d.jsx(y.Root,{ref:u,className:m.cn("flex items-center select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",o({optional:a}),e),"data-hook":t,"data-slot":"label","data-tracking-el":r||"label","data-tracking-label":i,...c,children:s}));l.displayName="Label";exports.Label=l;exports.labelVariants=o;
package/dist/label.js CHANGED
@@ -4,7 +4,7 @@ import * as m from "@radix-ui/react-label";
4
4
  import { cva as p } from "class-variance-authority";
5
5
  import { cn as c } from "@brightlocal/ui-components/lib/utils";
6
6
  const f = p(
7
- ["text-sm font-medium leading-normal", "text-foreground"],
7
+ ["text-sm font-medium leading-none", "text-foreground"],
8
8
  {
9
9
  variants: {
10
10
  optional: {
package/dist/link.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),b=require("react"),g=require("@brightlocal/icons"),v=require("@radix-ui/react-slot"),x=require("class-variance-authority"),p=require("@brightlocal/ui-components/lib/utils");function m(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,i.get?i:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const j=m(b),y=x.cva(["inline-flex","items-center","gap-1","text-link","dark:text-link-dark","no-underline","hover:underline","hover:underline-offset-4","active:text-link/80","visited:text-link-visited","visited:dark:text-link-visited-dark","transition-[text-decoration,text-decoration-color,text-underline-offset,color]","duration-300","cursor-pointer","focus-visible:outline-none","focus-visible:ring-2","focus-visible:ring-outline","focus-visible:ring-offset-2"]),a=j.forwardRef(({className:e,dataHook:n,trackingEl:t,trackingLabel:i,asChild:s=!1,external:r=!1,showExternalIcon:l=!0,children:c,...u},d)=>{const f=s?v.Slot:"a",k=r?{target:"_blank",rel:"noopener noreferrer"}:{};return o.jsxs(f,{ref:d,className:p.cn(y(),e),"data-hook":n,"data-slot":"link","data-tracking-el":t||"link-default","data-tracking-label":i,...k,...u,children:[c,r&&l&&o.jsx(g.ExternalLink,{"aria-hidden":"true","data-slot":"external-icon",size:16})]})});a.displayName="Link";exports.Link=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),b=require("react"),g=require("@brightlocal/icons"),v=require("@radix-ui/react-slot"),x=require("class-variance-authority"),p=require("@brightlocal/ui-components/lib/utils");function m(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const j=m(b),y=x.cva(["inline-flex","items-center","gap-1","text-link","dark:text-link-dark","no-underline","hover:underline","hover:underline-offset-4","active:text-link/80","visited:text-link-visited","visited:dark:text-link-visited-dark","transition-[text-decoration,text-decoration-color,text-underline-offset,color]","duration-300","cursor-pointer","focus-visible:outline-none","focus-visible:ring-2","focus-visible:ring-outline","focus-visible:ring-offset-2"]),a=j.forwardRef(({className:e,dataHook:n,trackingEl:t,trackingLabel:r,asChild:s=!1,external:i=!1,showExternalIcon:l=!0,children:c,...u},d)=>{const f=s?v.Slot:"a",k=i?{target:"_blank",rel:"noopener noreferrer"}:{};return o.jsxs(f,{ref:d,className:p.cn(y(),e),"data-hook":n,"data-slot":"link","data-tracking-el":t||"link-default","data-tracking-label":r,...k,...u,children:[c,i&&l&&o.jsx(g.ExternalLink,{"aria-hidden":"true","data-slot":"external-icon"})]})});a.displayName="Link";exports.Link=a;
@@ -1 +1 @@
1
- {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../src/components/link.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,QAAA,MAAM,YAAY,oFAuBhB,CAAC;AAEH,MAAM,WAAW,SACf,SACE,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAC7C,YAAY,CAAC,OAAO,YAAY,CAAC;IACnC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,QAAA,MAAM,IAAI,qFA0CT,CAAC;AAIF,OAAO,EAAE,IAAI,EAAE,CAAC"}
1
+ {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../src/components/link.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,QAAA,MAAM,YAAY,oFAuBhB,CAAC;AAEH,MAAM,WAAW,SACf,SACE,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAC7C,YAAY,CAAC,OAAO,YAAY,CAAC;IACnC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,QAAA,MAAM,IAAI,qFAsCT,CAAC;AAIF,OAAO,EAAE,IAAI,EAAE,CAAC"}
package/dist/link.js CHANGED
@@ -53,14 +53,7 @@ const b = v([
53
53
  ...s,
54
54
  children: [
55
55
  l,
56
- e && a && /* @__PURE__ */ m(
57
- x,
58
- {
59
- "aria-hidden": "true",
60
- "data-slot": "external-icon",
61
- size: 16
62
- }
63
- )
56
+ e && a && /* @__PURE__ */ m(x, { "aria-hidden": "true", "data-slot": "external-icon" })
64
57
  ]
65
58
  }
66
59
  );
package/dist/logo.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("react/jsx-runtime"),s=require("class-variance-authority"),h=require("@brightlocal/ui-components/lib/utils"),n=s.cva("inline-flex [&_path]:fill-brand-primary-foreground",{variants:{variant:{logotype:"h-6",mark:"w-6 h-6"}},defaultVariants:{variant:"logotype"}});function t({className:l,variant:i="logotype",dataHook:e,trackingEl:a,trackingLabel:r,...o}){return C.jsxs("div",{"aria-label":"BrightLocal Logo",className:h.cn(n({variant:i}),l),"data-hook":e,"data-slot":"logo","data-tracking-el":a,"data-tracking-label":r,"data-variant":i,role:"img",...o,children:[i==="logotype"&&C.jsxs("svg",{fill:"none",height:"24",viewBox:"0 0 128 24.1509",width:"128",xmlns:"http://www.w3.org/2000/svg",children:[C.jsx("g",{clipPath:"url(#clip0_18315_468855)",children:C.jsx("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"})}),C.jsx("defs",{children:C.jsx("clipPath",{id:"clip0_18315_468855",children:C.jsx("rect",{fill:"white",height:"24.1509",width:"128"})})})]}),i==="mark"&&C.jsxs("svg",{fill:"none",height:"21",viewBox:"0 0 23 21",width:"23",xmlns:"http://www.w3.org/2000/svg",children:[C.jsx("g",{clipPath:"url(#clip0_18315_468405)",children:C.jsx("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"})}),C.jsx("defs",{children:C.jsx("clipPath",{id:"clip0_18315_468405",children:C.jsx("rect",{fill:"white",height:"21",width:"23"})})})]})]})}t.displayName="Logo";exports.Logo=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("react/jsx-runtime"),s=require("class-variance-authority"),n=require("@brightlocal/ui-components/lib/utils"),c=s.cva("inline-flex text-brand-primary-foreground",{variants:{variant:{logotype:"h-6",mark:"w-6 h-6"}},defaultVariants:{variant:"logotype"}});function l({className:t,variant:i="logotype",dataHook:e,trackingEl:r,trackingLabel:o,...a}){return C.jsxs("div",{"aria-label":"BrightLocal Logo",className:n.cn(c({variant:i}),t),"data-hook":e,"data-slot":"logo","data-tracking-el":r,"data-tracking-label":o,"data-variant":i,role:"img",...a,children:[i==="logotype"&&C.jsxs("svg",{fill:"none",height:"24",viewBox:"0 0 128 24.1509",width:"128",xmlns:"http://www.w3.org/2000/svg",children:[C.jsx("g",{clipPath:"url(#clip0_18315_468855)",children:C.jsx("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",fill:"currentColor"})}),C.jsx("defs",{children:C.jsx("clipPath",{id:"clip0_18315_468855",children:C.jsx("rect",{fill:"white",height:"24.1509",width:"128"})})})]}),i==="mark"&&C.jsxs("svg",{fill:"none",height:"21",viewBox:"0 0 23 21",width:"23",xmlns:"http://www.w3.org/2000/svg",children:[C.jsx("g",{clipPath:"url(#clip0_18315_468405)",children:C.jsx("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",fill:"currentColor"})}),C.jsx("defs",{children:C.jsx("clipPath",{id:"clip0_18315_468405",children:C.jsx("rect",{fill:"white",height:"21",width:"23"})})})]})]})}l.displayName="Logo";exports.Logo=l;
@@ -1 +1 @@
1
- {"version":3,"file":"logo.d.ts","sourceRoot":"","sources":["../../src/components/logo.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAG7D;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,UAAU,GAAG,MAAM,CAAC;AAE9C,QAAA,MAAM,YAAY;;8EAUhB,CAAC;AAEH,UAAU,SACR,SACA,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC,EACtD,YAAY,CAAC,OAAO,YAAY,CAAC;IACjC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,iBAAS,IAAI,CAAC,EACZ,SAAS,EACT,OAAoB,EACpB,QAAQ,EACR,UAAU,EACV,aAAa,EACb,GAAG,KAAK,EACT,EAAE,SAAS,2CAmDX;kBA1DQ,IAAI;;;AA8Db,OAAO,EAAE,IAAI,EAAE,CAAC"}
1
+ {"version":3,"file":"logo.d.ts","sourceRoot":"","sources":["../../src/components/logo.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAG7D;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,UAAU,GAAG,MAAM,CAAC;AAE9C,QAAA,MAAM,YAAY;;8EAUhB,CAAC;AAEH,UAAU,SACR,SACE,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC,EACtD,YAAY,CAAC,OAAO,YAAY,CAAC;IACnC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,iBAAS,IAAI,CAAC,EACZ,SAAS,EACT,OAAoB,EACpB,QAAQ,EACR,UAAU,EACV,aAAa,EACb,GAAG,KAAK,EACT,EAAE,SAAS,2CAyDX;kBAhEQ,IAAI;;;AAoEb,OAAO,EAAE,IAAI,EAAE,CAAC"}
package/dist/logo.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsxs as l, jsx as C } from "react/jsx-runtime";
2
2
  import { cva as h } from "class-variance-authority";
3
3
  import { cn as V } from "@brightlocal/ui-components/lib/utils";
4
- const H = h("inline-flex [&_path]:fill-brand-primary-foreground", {
4
+ const n = h("inline-flex text-brand-primary-foreground", {
5
5
  variants: {
6
6
  variant: {
7
7
  logotype: "h-6",
@@ -12,26 +12,26 @@ const H = h("inline-flex [&_path]:fill-brand-primary-foreground", {
12
12
  variant: "logotype"
13
13
  }
14
14
  });
15
- function d({
15
+ function H({
16
16
  className: t,
17
17
  variant: i = "logotype",
18
- dataHook: a,
18
+ dataHook: r,
19
19
  trackingEl: o,
20
20
  trackingLabel: e,
21
- ...r
21
+ ...a
22
22
  }) {
23
23
  return /* @__PURE__ */ l(
24
24
  "div",
25
25
  {
26
26
  "aria-label": "BrightLocal Logo",
27
- className: V(H({ variant: i }), t),
28
- "data-hook": a,
27
+ className: V(n({ variant: i }), t),
28
+ "data-hook": r,
29
29
  "data-slot": "logo",
30
30
  "data-tracking-el": o,
31
31
  "data-tracking-label": e,
32
32
  "data-variant": i,
33
33
  role: "img",
34
- ...r,
34
+ ...a,
35
35
  children: [
36
36
  i === "logotype" && /* @__PURE__ */ l(
37
37
  "svg",
@@ -42,7 +42,13 @@ function d({
42
42
  width: "128",
43
43
  xmlns: "http://www.w3.org/2000/svg",
44
44
  children: [
45
- /* @__PURE__ */ C("g", { clipPath: "url(#clip0_18315_468855)", children: /* @__PURE__ */ C("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" }) }),
45
+ /* @__PURE__ */ C("g", { clipPath: "url(#clip0_18315_468855)", children: /* @__PURE__ */ C(
46
+ "path",
47
+ {
48
+ 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",
49
+ fill: "currentColor"
50
+ }
51
+ ) }),
46
52
  /* @__PURE__ */ C("defs", { children: /* @__PURE__ */ C("clipPath", { id: "clip0_18315_468855", children: /* @__PURE__ */ C("rect", { fill: "white", height: "24.1509", width: "128" }) }) })
47
53
  ]
48
54
  }
@@ -56,7 +62,13 @@ function d({
56
62
  width: "23",
57
63
  xmlns: "http://www.w3.org/2000/svg",
58
64
  children: [
59
- /* @__PURE__ */ C("g", { clipPath: "url(#clip0_18315_468405)", children: /* @__PURE__ */ C("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" }) }),
65
+ /* @__PURE__ */ C("g", { clipPath: "url(#clip0_18315_468405)", children: /* @__PURE__ */ C(
66
+ "path",
67
+ {
68
+ 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",
69
+ fill: "currentColor"
70
+ }
71
+ ) }),
60
72
  /* @__PURE__ */ C("defs", { children: /* @__PURE__ */ C("clipPath", { id: "clip0_18315_468405", children: /* @__PURE__ */ C("rect", { fill: "white", height: "21", width: "23" }) }) })
61
73
  ]
62
74
  }
@@ -65,7 +77,7 @@ function d({
65
77
  }
66
78
  );
67
79
  }
68
- d.displayName = "Logo";
80
+ H.displayName = "Logo";
69
81
  export {
70
- d as Logo
82
+ H as Logo
71
83
  };
package/dist/menubar.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),m=require("@radix-ui/react-menubar"),c=require("@brightlocal/icons"),s=require("@brightlocal/ui-components/lib/utils");function f(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const o=f(m);function b({className:e,dataHook:t,defaultValue:r,...a}){return n.jsx(o.Root,{className:s.cn("border-border bg-background flex h-9 items-center gap-1 rounded-md border p-1 shadow-xs",e),"data-hook":t,"data-slot":"menubar","data-tracking-el":"menubar","data-tracking-label":t,defaultValue:r,...a})}b.displayName="Menubar";function p({value:e,...t}){return n.jsx(o.Menu,{"data-slot":"menubar-menu",value:e,...t})}function g({className:e,...t}){return n.jsx(o.Trigger,{className:s.cn("text-foreground flex cursor-pointer items-center justify-center gap-2 rounded-xs px-3 py-1 text-sm font-normal transition-colors","hover:bg-accent hover:text-accent-foreground","focus:bg-accent focus:text-accent-foreground focus:outline-none","data-[state=open]:bg-accent data-[state=open]:text-accent-foreground","disabled:pointer-events-none disabled:opacity-50",e),"data-slot":"menubar-trigger",...t})}function x({align:e="start",alignOffset:t=-4,className:r,sideOffset:a=8,...u}){return n.jsx(o.Portal,{children:n.jsx(o.Content,{align:e,alignOffset:t,className:s.cn("border-border bg-popover text-popover-foreground z-50 min-w-[12rem] origin-(--radix-menubar-content-transform-origin) rounded-md border p-1 shadow-md","data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r),"data-slot":"menubar-content",sideOffset:a,...u})})}function h({className:e,disabled:t,inset:r,...a}){return n.jsx(o.Item,{className:s.cn("text-foreground relative flex cursor-pointer items-center justify-between rounded-sm px-2 py-1.5 text-sm font-normal transition-colors outline-none","hover:bg-accent hover:text-foreground","focus:bg-accent focus:text-foreground","data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r&&"pl-8",e),"data-slot":"menubar-item",disabled:t,...a})}function M({checked:e,children:t,className:r,closeOnSelect:a=!0,onCheckedChange:u,onSelect:d,...i}){return n.jsxs(o.CheckboxItem,{checked:e,className:s.cn("text-foreground relative flex cursor-pointer items-center justify-between rounded-sm py-1.5 pr-2 pl-8 text-sm font-normal transition-colors outline-none","hover:bg-accent hover:text-foreground","focus:bg-accent focus:text-foreground","data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r),"data-slot":"menubar-checkbox-item",onCheckedChange:u,onSelect:l=>{a||l.preventDefault(),d?.(l)},...i,children:[n.jsx("span",{className:"absolute left-2 flex size-4 items-center justify-center",children:n.jsx(o.ItemIndicator,{children:n.jsx(c.Check,{className:"text-foreground",size:16})})}),t]})}function j({onValueChange:e,value:t,...r}){return n.jsx(o.RadioGroup,{"data-slot":"menubar-radio-group",value:t,onValueChange:e,...r})}function v({children:e,className:t,closeOnSelect:r=!0,onSelect:a,value:u,...d}){return n.jsxs(o.RadioItem,{className:s.cn("text-foreground relative flex cursor-pointer items-center justify-between rounded-sm py-1.5 pr-2 pl-8 text-sm font-normal transition-colors outline-none","hover:bg-accent hover:text-foreground","focus:bg-accent focus:text-foreground","data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),"data-slot":"menubar-radio-item",value:u,onSelect:i=>{r||i.preventDefault(),a?.(i)},...d,children:[n.jsx("span",{className:"absolute left-3 flex size-2 items-center justify-center",children:n.jsx(o.ItemIndicator,{children:n.jsx(c.Circle,{className:"fill-foreground",size:8})})}),e]})}function y({className:e,inset:t,...r}){return n.jsx(o.Label,{className:s.cn("text-foreground px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),"data-slot":"menubar-label",...r})}function S({className:e,...t}){return n.jsx(o.Separator,{className:s.cn("bg-border -mx-1 my-1 h-px",e),"data-slot":"menubar-separator",...t})}function N({className:e,...t}){return n.jsx("span",{className:s.cn("text-muted-foreground ml-auto text-xs tracking-widest",e),"data-slot":"menubar-shortcut",...t})}function I({...e}){return n.jsx(o.Sub,{"data-slot":"menubar-sub",...e})}function z({children:e,className:t,inset:r,...a}){return n.jsxs(o.SubTrigger,{className:s.cn("text-foreground flex cursor-pointer items-center justify-between rounded-xs px-2 py-1.5 text-sm font-normal transition-colors outline-none","hover:bg-accent hover:text-foreground","focus:bg-accent focus:text-foreground","data-[state=open]:bg-accent data-[state=open]:text-foreground","data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r&&"pl-8",t),"data-slot":"menubar-sub-trigger",...a,children:[e,n.jsx(c.ChevronRight,{className:"ml-auto",size:16})]})}function C({className:e,...t}){return n.jsx(o.SubContent,{className:s.cn("border-border bg-popover text-popover-foreground z-50 min-w-[8rem] origin-(--radix-menubar-content-transform-origin) rounded-md border p-1 shadow-lg","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),"data-slot":"menubar-sub-content",...t})}exports.Menubar=b;exports.MenubarCheckboxItem=M;exports.MenubarContent=x;exports.MenubarItem=h;exports.MenubarLabel=y;exports.MenubarMenu=p;exports.MenubarRadioGroup=j;exports.MenubarRadioItem=v;exports.MenubarSeparator=S;exports.MenubarShortcut=N;exports.MenubarSub=I;exports.MenubarSubContent=C;exports.MenubarSubTrigger=z;exports.MenubarTrigger=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),m=require("@radix-ui/react-menubar"),c=require("@brightlocal/icons"),s=require("@brightlocal/ui-components/lib/utils");function f(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const o=f(m);function b({className:e,dataHook:t,defaultValue:r,...a}){return n.jsx(o.Root,{className:s.cn("border-border bg-background flex h-9 items-center gap-1 rounded-md border p-1 shadow-xs",e),"data-hook":t,"data-slot":"menubar","data-tracking-el":"menubar","data-tracking-label":t,defaultValue:r,...a})}b.displayName="Menubar";function p({value:e,...t}){return n.jsx(o.Menu,{"data-slot":"menubar-menu",value:e,...t})}function g({className:e,...t}){return n.jsx(o.Trigger,{className:s.cn("text-foreground flex cursor-pointer items-center justify-center gap-2 rounded-xs px-3 py-1 text-sm font-normal transition-colors","hover:bg-accent hover:text-accent-foreground","focus:bg-accent focus:text-accent-foreground focus:outline-none","data-[state=open]:bg-accent data-[state=open]:text-accent-foreground","disabled:pointer-events-none disabled:opacity-50",e),"data-slot":"menubar-trigger",...t})}function x({align:e="start",alignOffset:t=-4,className:r,sideOffset:a=8,...u}){return n.jsx(o.Portal,{children:n.jsx(o.Content,{align:e,alignOffset:t,className:s.cn("border-border bg-popover text-popover-foreground z-50 min-w-[12rem] origin-(--radix-menubar-content-transform-origin) rounded-md border p-1 shadow-md","data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r),"data-slot":"menubar-content",sideOffset:a,...u})})}function h({className:e,disabled:t,inset:r,...a}){return n.jsx(o.Item,{className:s.cn("text-foreground relative flex cursor-pointer items-center justify-between rounded-sm px-2 py-1.5 text-sm font-normal transition-colors outline-none","hover:bg-accent hover:text-foreground","focus:bg-accent focus:text-foreground","data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r&&"pl-8",e),"data-slot":"menubar-item",disabled:t,...a})}function M({checked:e,children:t,className:r,closeOnSelect:a=!0,onCheckedChange:u,onSelect:d,...i}){return n.jsxs(o.CheckboxItem,{checked:e,className:s.cn("text-foreground relative flex cursor-pointer items-center justify-between rounded-sm py-1.5 pr-2 pl-8 text-sm font-normal transition-colors outline-none","hover:bg-accent hover:text-foreground","focus:bg-accent focus:text-foreground","data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r),"data-slot":"menubar-checkbox-item",onCheckedChange:u,onSelect:l=>{a||l.preventDefault(),d?.(l)},...i,children:[n.jsx("span",{className:"absolute left-2 flex size-4 items-center justify-center",children:n.jsx(o.ItemIndicator,{children:n.jsx(c.Check,{className:"text-foreground"})})}),t]})}function j({onValueChange:e,value:t,...r}){return n.jsx(o.RadioGroup,{"data-slot":"menubar-radio-group",value:t,onValueChange:e,...r})}function v({children:e,className:t,closeOnSelect:r=!0,onSelect:a,value:u,...d}){return n.jsxs(o.RadioItem,{className:s.cn("text-foreground relative flex cursor-pointer items-center justify-between rounded-sm py-1.5 pr-2 pl-8 text-sm font-normal transition-colors outline-none","hover:bg-accent hover:text-foreground","focus:bg-accent focus:text-foreground","data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),"data-slot":"menubar-radio-item",value:u,onSelect:i=>{r||i.preventDefault(),a?.(i)},...d,children:[n.jsx("span",{className:"absolute left-3 flex size-2 items-center justify-center",children:n.jsx(o.ItemIndicator,{children:n.jsx(c.Circle,{className:"fill-foreground",size:8})})}),e]})}function y({className:e,inset:t,...r}){return n.jsx(o.Label,{className:s.cn("text-foreground px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),"data-slot":"menubar-label",...r})}function S({className:e,...t}){return n.jsx(o.Separator,{className:s.cn("bg-border -mx-1 my-1 h-px",e),"data-slot":"menubar-separator",...t})}function N({className:e,...t}){return n.jsx("span",{className:s.cn("text-muted-foreground ml-auto text-xs tracking-widest",e),"data-slot":"menubar-shortcut",...t})}function I({...e}){return n.jsx(o.Sub,{"data-slot":"menubar-sub",...e})}function C({children:e,className:t,inset:r,...a}){return n.jsxs(o.SubTrigger,{className:s.cn("text-foreground flex cursor-pointer items-center justify-between rounded-xs px-2 py-1.5 text-sm font-normal transition-colors outline-none","hover:bg-accent hover:text-foreground","focus:bg-accent focus:text-foreground","data-[state=open]:bg-accent data-[state=open]:text-foreground","data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r&&"pl-8",t),"data-slot":"menubar-sub-trigger",...a,children:[e,n.jsx(c.ChevronRight,{className:"ml-auto"})]})}function w({className:e,...t}){return n.jsx(o.SubContent,{className:s.cn("border-border bg-popover text-popover-foreground z-50 min-w-[8rem] origin-(--radix-menubar-content-transform-origin) rounded-md border p-1 shadow-lg","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),"data-slot":"menubar-sub-content",...t})}exports.Menubar=b;exports.MenubarCheckboxItem=M;exports.MenubarContent=x;exports.MenubarItem=h;exports.MenubarLabel=y;exports.MenubarMenu=p;exports.MenubarRadioGroup=j;exports.MenubarRadioItem=v;exports.MenubarSeparator=S;exports.MenubarShortcut=N;exports.MenubarSub=I;exports.MenubarSubContent=w;exports.MenubarSubTrigger=C;exports.MenubarTrigger=g;
package/dist/menubar.js CHANGED
@@ -98,7 +98,7 @@ function N({
98
98
  }
99
99
  );
100
100
  }
101
- function z({
101
+ function S({
102
102
  checked: e,
103
103
  children: t,
104
104
  className: a,
@@ -125,13 +125,13 @@ function z({
125
125
  },
126
126
  ...i,
127
127
  children: [
128
- /* @__PURE__ */ o("span", { className: "absolute left-2 flex size-4 items-center justify-center", children: /* @__PURE__ */ o(r.ItemIndicator, { children: /* @__PURE__ */ o(m, { className: "text-foreground", size: 16 }) }) }),
128
+ /* @__PURE__ */ o("span", { className: "absolute left-2 flex size-4 items-center justify-center", children: /* @__PURE__ */ o(r.ItemIndicator, { children: /* @__PURE__ */ o(m, { className: "text-foreground" }) }) }),
129
129
  t
130
130
  ]
131
131
  }
132
132
  );
133
133
  }
134
- function S({
134
+ function w({
135
135
  onValueChange: e,
136
136
  value: t,
137
137
  ...a
@@ -146,7 +146,7 @@ function S({
146
146
  }
147
147
  );
148
148
  }
149
- function w({
149
+ function I({
150
150
  children: e,
151
151
  className: t,
152
152
  closeOnSelect: a = !0,
@@ -177,7 +177,7 @@ function w({
177
177
  }
178
178
  );
179
179
  }
180
- function I({
180
+ function j({
181
181
  className: e,
182
182
  inset: t,
183
183
  ...a
@@ -195,7 +195,7 @@ function I({
195
195
  }
196
196
  );
197
197
  }
198
- function j({
198
+ function z({
199
199
  className: e,
200
200
  ...t
201
201
  }) {
@@ -251,7 +251,7 @@ function R({
251
251
  ...n,
252
252
  children: [
253
253
  e,
254
- /* @__PURE__ */ o(b, { className: "ml-auto", size: 16 })
254
+ /* @__PURE__ */ o(b, { className: "ml-auto" })
255
255
  ]
256
256
  }
257
257
  );
@@ -276,14 +276,14 @@ function T({
276
276
  }
277
277
  export {
278
278
  p as Menubar,
279
- z as MenubarCheckboxItem,
279
+ S as MenubarCheckboxItem,
280
280
  M as MenubarContent,
281
281
  N as MenubarItem,
282
- I as MenubarLabel,
282
+ j as MenubarLabel,
283
283
  v as MenubarMenu,
284
- S as MenubarRadioGroup,
285
- w as MenubarRadioItem,
286
- j as MenubarSeparator,
284
+ w as MenubarRadioGroup,
285
+ I as MenubarRadioItem,
286
+ z as MenubarSeparator,
287
287
  C as MenubarShortcut,
288
288
  k as MenubarSub,
289
289
  T as MenubarSubContent,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),j=require("react"),d=require("@brightlocal/icons"),N=require("class-variance-authority"),f=require("@brightlocal/ui-components/lib/utils");function k(a){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const n in a)if(n!=="default"){const i=Object.getOwnPropertyDescriptor(a,n);Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:()=>a[n]})}}return e.default=a,Object.freeze(e)}const l=k(j);function w({page:a,totalPages:e,siblingCount:n=1,boundaryCount:i=1}){return l.useMemo(()=>{const r=[];r.push("previous");const u=Math.max(a-n,i+1),p=Math.min(a+n,e-i),b=u>i+2,P=p<e-i-1;for(let t=1;t<=Math.min(i,e);t++)r.push(t);if(b)r.push("ellipsis");else if(i+1<u)for(let t=i+1;t<u;t++)r.push(t);for(let t=u;t<=p;t++)t>i&&t<=e-i&&r.push(t);if(P)r.push("ellipsis");else if(p<e-i)for(let t=p+1;t<e-i+1;t++)r.push(t);for(let t=Math.max(e-i+1,i+1);t<=e;t++)t>i&&r.push(t);return r.push("next"),r},[a,e,n,i])}const g=N.cva(["inline-flex items-center justify-center","h-9 w-9","rounded-full","text-sm font-medium","transition-colors","focus-visible:outline-none focus-visible:shadow-default"],{variants:{variant:{previous:["text-foreground","hover:bg-accent","aria-disabled:opacity-50 aria-disabled:cursor-default aria-disabled:pointer-events-none"],next:["text-foreground","hover:bg-accent","aria-disabled:opacity-50 aria-disabled:cursor-default aria-disabled:pointer-events-none"],link:["text-foreground","hover:bg-accent hover:text-accent-foreground","aria-[current=page]:bg-background aria-[current=page]:border aria-[current=page]:border-input","dark:aria-[current=page]:bg-input/30","aria-[current=page]:hover:bg-accent","aria-[current=page]:focus-visible:border-ring","aria-disabled:opacity-50 aria-disabled:cursor-default aria-disabled:pointer-events-none"],ellipsis:["cursor-default","text-foreground","pointer-events-none"]}},defaultVariants:{variant:"link"}});function h({className:a,dataHook:e,trackingEl:n,trackingLabel:i,ariaLabel:o="Pagination",...r}){return s.jsx("nav",{"aria-label":o,className:f.cn("mx-auto flex w-full justify-center",a),"data-hook":e,"data-slot":"pagination","data-tracking-el":n||"pagination","data-tracking-label":i,role:"navigation",...r})}h.displayName="Pagination";function M({className:a,...e}){return s.jsx("ul",{className:f.cn("flex flex-row items-center gap-2",a),"data-slot":"pagination-content",...e})}function R(a){return s.jsx("li",{"data-slot":"pagination-item",...a})}const c=l.forwardRef(({className:a,variant:e,isActive:n,children:i,...o},r)=>s.jsx("button",{ref:r,"aria-current":n?"page":void 0,className:f.cn(g({variant:e}),a),"data-active":n,"data-slot":"pagination-button",type:"button",...o,children:i}));c.displayName="PaginationButton";const x=l.forwardRef(({className:a,disabled:e,...n},i)=>s.jsx(c,{ref:i,"aria-disabled":e,"aria-label":"Go to previous page",className:a,disabled:e,variant:"previous",...n,children:s.jsx(d.ChevronLeftIcon,{size:16})}));x.displayName="PaginationPrevious";const v=l.forwardRef(({className:a,disabled:e,...n},i)=>s.jsx(c,{ref:i,"aria-disabled":e,"aria-label":"Go to next page",className:a,disabled:e,variant:"next",...n,children:s.jsx(d.ChevronRightIcon,{size:16})}));v.displayName="PaginationNext";const m=l.forwardRef(({className:a,page:e,isActive:n,...i},o)=>s.jsx(c,{ref:o,"aria-label":`Go to page ${e}`,className:a,isActive:n,variant:"link",...i,children:e}));m.displayName="PaginationLink";function I({className:a,...e}){return s.jsxs("span",{"aria-hidden":"true",className:f.cn(g({variant:"ellipsis"}),a),"data-slot":"pagination-ellipsis",...e,children:[s.jsx(d.MoreHorizontalIcon,{size:16}),s.jsx("span",{className:"sr-only",children:"More pages"})]})}exports.Pagination=h;exports.PaginationButton=c;exports.PaginationContent=M;exports.PaginationEllipsis=I;exports.PaginationItem=R;exports.PaginationLink=m;exports.PaginationNext=v;exports.PaginationPrevious=x;exports.usePagination=w;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),j=require("react"),d=require("@brightlocal/icons"),N=require("class-variance-authority"),f=require("@brightlocal/ui-components/lib/utils");function k(a){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const n in a)if(n!=="default"){const i=Object.getOwnPropertyDescriptor(a,n);Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:()=>a[n]})}}return e.default=a,Object.freeze(e)}const l=k(j);function w({page:a,totalPages:e,siblingCount:n=1,boundaryCount:i=1}){return l.useMemo(()=>{const r=[];r.push("previous");const u=Math.max(a-n,i+1),p=Math.min(a+n,e-i),b=u>i+2,P=p<e-i-1;for(let t=1;t<=Math.min(i,e);t++)r.push(t);if(b)r.push("ellipsis");else if(i+1<u)for(let t=i+1;t<u;t++)r.push(t);for(let t=u;t<=p;t++)t>i&&t<=e-i&&r.push(t);if(P)r.push("ellipsis");else if(p<e-i)for(let t=p+1;t<e-i+1;t++)r.push(t);for(let t=Math.max(e-i+1,i+1);t<=e;t++)t>i&&r.push(t);return r.push("next"),r},[a,e,n,i])}const g=N.cva(["inline-flex items-center justify-center","h-9 w-9","rounded-full","text-sm font-medium","transition-colors","focus-visible:outline-none focus-visible:shadow-default"],{variants:{variant:{previous:["text-foreground","hover:bg-accent","aria-disabled:opacity-50 aria-disabled:cursor-default aria-disabled:pointer-events-none"],next:["text-foreground","hover:bg-accent","aria-disabled:opacity-50 aria-disabled:cursor-default aria-disabled:pointer-events-none"],link:["text-foreground","hover:bg-accent hover:text-accent-foreground","aria-[current=page]:bg-background aria-[current=page]:border aria-[current=page]:border-input","dark:aria-[current=page]:bg-input/30","aria-[current=page]:hover:bg-accent","aria-[current=page]:focus-visible:border-ring","aria-disabled:opacity-50 aria-disabled:cursor-default aria-disabled:pointer-events-none"],ellipsis:["cursor-default","text-foreground","pointer-events-none"]}},defaultVariants:{variant:"link"}});function h({className:a,dataHook:e,trackingEl:n,trackingLabel:i,ariaLabel:o="Pagination",...r}){return s.jsx("nav",{"aria-label":o,className:f.cn("mx-auto flex w-full justify-center",a),"data-hook":e,"data-slot":"pagination","data-tracking-el":n||"pagination","data-tracking-label":i,role:"navigation",...r})}h.displayName="Pagination";function M({className:a,...e}){return s.jsx("ul",{className:f.cn("flex flex-row items-center gap-2",a),"data-slot":"pagination-content",...e})}function R(a){return s.jsx("li",{"data-slot":"pagination-item",...a})}const c=l.forwardRef(({className:a,variant:e,isActive:n,children:i,...o},r)=>s.jsx("button",{ref:r,"aria-current":n?"page":void 0,className:f.cn(g({variant:e}),a),"data-active":n,"data-slot":"pagination-button",type:"button",...o,children:i}));c.displayName="PaginationButton";const x=l.forwardRef(({className:a,disabled:e,...n},i)=>s.jsx(c,{ref:i,"aria-disabled":e,"aria-label":"Go to previous page",className:a,disabled:e,variant:"previous",...n,children:s.jsx(d.ChevronLeft,{})}));x.displayName="PaginationPrevious";const v=l.forwardRef(({className:a,disabled:e,...n},i)=>s.jsx(c,{ref:i,"aria-disabled":e,"aria-label":"Go to next page",className:a,disabled:e,variant:"next",...n,children:s.jsx(d.ChevronRight,{})}));v.displayName="PaginationNext";const m=l.forwardRef(({className:a,page:e,isActive:n,...i},o)=>s.jsx(c,{ref:o,"aria-label":`Go to page ${e}`,className:a,isActive:n,variant:"link",...i,children:e}));m.displayName="PaginationLink";function O({className:a,...e}){return s.jsxs("span",{"aria-hidden":"true",className:f.cn(g({variant:"ellipsis"}),a),"data-slot":"pagination-ellipsis",...e,children:[s.jsx(d.MoreHorizontal,{}),s.jsx("span",{className:"sr-only",children:"More pages"})]})}exports.Pagination=h;exports.PaginationButton=c;exports.PaginationContent=M;exports.PaginationEllipsis=O;exports.PaginationItem=R;exports.PaginationLink=m;exports.PaginationNext=v;exports.PaginationPrevious=x;exports.usePagination=w;
@@ -1 +1 @@
1
- {"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../../src/components/pagination.tsx"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../../src/components/pagination.tsx"],"names":[],"mappings":"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"}