@brightlocal/ui-components 0.1.4 → 0.3.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.
- package/README.md +2 -1
- package/dist/alert.cjs +1 -1
- package/dist/alert.d.ts +10 -1
- package/dist/alert.d.ts.map +1 -1
- package/dist/alert.js +6 -2
- package/dist/card.cjs +1 -1
- package/dist/card.d.ts +6 -2
- package/dist/card.d.ts.map +1 -1
- package/dist/card.js +89 -73
- package/dist/centred-layout.cjs +1 -1
- package/dist/centred-layout.d.ts +49 -25
- package/dist/centred-layout.d.ts.map +1 -1
- package/dist/centred-layout.js +57 -32
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.d.ts.map +1 -1
- package/dist/checkbox.js +19 -19
- package/dist/chip.cjs +1 -0
- package/dist/chip.d.ts +61 -0
- package/dist/chip.d.ts.map +1 -0
- package/dist/chip.js +165 -0
- package/dist/combobox.cjs +1 -1
- package/dist/combobox.d.ts +75 -59
- package/dist/combobox.d.ts.map +1 -1
- package/dist/combobox.js +244 -191
- package/dist/date-picker.cjs +1 -1
- package/dist/date-picker.d.ts +89 -52
- package/dist/date-picker.d.ts.map +1 -1
- package/dist/date-picker.js +228 -210
- package/dist/dropdown-menu.d.ts.map +1 -1
- package/dist/header.cjs +1 -0
- package/dist/header.d.ts +42 -0
- package/dist/header.d.ts.map +1 -0
- package/dist/header.js +22 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +428 -388
- package/dist/input-chip.cjs +1 -0
- package/dist/input-chip.d.ts +117 -0
- package/dist/input-chip.d.ts.map +1 -0
- package/dist/input-chip.js +284 -0
- package/dist/input-group.cjs +1 -1
- package/dist/input-group.d.ts +5 -0
- package/dist/input-group.d.ts.map +1 -1
- package/dist/input-group.js +47 -39
- package/dist/input-otp.cjs +1 -1
- package/dist/input-otp.d.ts +45 -32
- package/dist/input-otp.d.ts.map +1 -1
- package/dist/input-otp.js +138 -114
- package/dist/input-password.cjs +1 -1
- package/dist/input-password.d.ts +151 -19
- package/dist/input-password.d.ts.map +1 -1
- package/dist/input-password.js +197 -91
- package/dist/input.cjs +1 -1
- package/dist/input.d.ts +4 -0
- package/dist/input.d.ts.map +1 -1
- package/dist/input.js +26 -24
- package/dist/logo.cjs +1 -1
- package/dist/logo.js +13 -13
- package/dist/progress.cjs +1 -1
- package/dist/progress.d.ts +10 -0
- package/dist/progress.d.ts.map +1 -1
- package/dist/progress.js +45 -36
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.d.ts +4 -0
- package/dist/radio-group.d.ts.map +1 -1
- package/dist/radio-group.js +49 -47
- package/dist/select.cjs +1 -1
- package/dist/select.d.ts +3 -1
- package/dist/select.d.ts.map +1 -1
- package/dist/select.js +57 -56
- package/dist/slider.cjs +1 -1
- package/dist/slider.d.ts +31 -3
- package/dist/slider.d.ts.map +1 -1
- package/dist/slider.js +53 -43
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.d.ts +4 -0
- package/dist/textarea.d.ts.map +1 -1
- package/dist/textarea.js +19 -18
- package/dist/toggle.cjs +1 -1
- package/dist/toggle.d.ts.map +1 -1
- package/dist/toggle.js +17 -17
- package/package.json +1 -1
- package/src/components/alert.tsx +10 -1
- package/src/components/card.tsx +66 -38
- package/src/components/centred-layout.tsx +115 -38
- package/src/components/checkbox.tsx +2 -3
- package/src/components/chip.tsx +249 -0
- package/src/components/combobox.tsx +490 -298
- package/src/components/date-picker.tsx +410 -266
- package/src/components/dropdown-menu.tsx +6 -1
- package/src/components/header.tsx +69 -0
- package/src/components/input-chip.tsx +548 -0
- package/src/components/input-group.tsx +17 -2
- package/src/components/input-otp.tsx +161 -78
- package/src/components/input-password.tsx +473 -128
- package/src/components/input.tsx +11 -3
- package/src/components/logo.tsx +1 -1
- package/src/components/progress.tsx +21 -2
- package/src/components/radio-group.tsx +11 -0
- package/src/components/select.tsx +5 -2
- package/src/components/slider.tsx +85 -15
- package/src/components/textarea.tsx +15 -5
- package/src/components/toggle.tsx +13 -15
- package/src/index.ts +3 -0
package/dist/input-password.d.ts
CHANGED
|
@@ -1,38 +1,170 @@
|
|
|
1
|
+
import { InputGroupInput, InputGroupButton } from '../input-group';
|
|
1
2
|
import * as React from "react";
|
|
2
|
-
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Default password strength levels (industry standard)
|
|
5
|
+
*/
|
|
6
|
+
type DefaultPasswordStrength = "meter" | "weak" | "ok" | "good" | "great";
|
|
7
|
+
/**
|
|
8
|
+
* Configuration for a single strength level
|
|
9
|
+
*/
|
|
10
|
+
interface StrengthLevelConfig {
|
|
4
11
|
label: string;
|
|
5
12
|
value: number;
|
|
6
13
|
color: string;
|
|
7
14
|
}
|
|
8
|
-
|
|
9
|
-
|
|
15
|
+
/**
|
|
16
|
+
* Default strength levels configuration
|
|
17
|
+
*/
|
|
18
|
+
declare const DEFAULT_STRENGTH_LEVELS: Record<DefaultPasswordStrength, StrengthLevelConfig>;
|
|
19
|
+
/**
|
|
20
|
+
* Calculate password strength based on various criteria (default implementation)
|
|
21
|
+
* - Minimum 12 characters required for "ok" or better
|
|
22
|
+
*/
|
|
23
|
+
declare function calculatePasswordStrength(password: string): DefaultPasswordStrength;
|
|
24
|
+
export interface InputPasswordRootProps<T extends string = DefaultPasswordStrength> {
|
|
10
25
|
/**
|
|
11
|
-
*
|
|
26
|
+
* Data hook for automated testing (REQUIRED)
|
|
12
27
|
*/
|
|
13
|
-
|
|
28
|
+
dataHook: string;
|
|
14
29
|
/**
|
|
15
|
-
*
|
|
30
|
+
* Tracking element identifier for analytics
|
|
16
31
|
*/
|
|
17
|
-
|
|
32
|
+
trackingEl?: string;
|
|
18
33
|
/**
|
|
19
|
-
*
|
|
34
|
+
* Tracking label for analytics context
|
|
20
35
|
*/
|
|
21
|
-
|
|
36
|
+
trackingLabel?: string;
|
|
22
37
|
/**
|
|
23
|
-
*
|
|
38
|
+
* Disabled state
|
|
24
39
|
*/
|
|
25
|
-
|
|
40
|
+
disabled?: boolean;
|
|
26
41
|
/**
|
|
27
|
-
*
|
|
42
|
+
* Controlled password value
|
|
28
43
|
*/
|
|
29
|
-
|
|
44
|
+
value?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Callback fired when password changes
|
|
47
|
+
*/
|
|
48
|
+
onChange?: (value: string) => void;
|
|
49
|
+
/**
|
|
50
|
+
* Callback fired when password strength changes
|
|
51
|
+
*/
|
|
52
|
+
onStrengthChange?: (strength: T) => void;
|
|
53
|
+
/**
|
|
54
|
+
* Custom strength levels configuration.
|
|
55
|
+
* Define your own levels with custom keys, labels, values, and colors.
|
|
56
|
+
* @example
|
|
57
|
+
* strengthLevels={{
|
|
58
|
+
* empty: { label: "Enter password", value: 0, color: "bg-muted" },
|
|
59
|
+
* slow: { label: "Slow", value: 33, color: "bg-red-500" },
|
|
60
|
+
* medium: { label: "Medium", value: 66, color: "bg-yellow-500" },
|
|
61
|
+
* fast: { label: "Fast", value: 100, color: "bg-green-500" },
|
|
62
|
+
* }}
|
|
63
|
+
*/
|
|
64
|
+
strengthLevels?: Record<T, StrengthLevelConfig>;
|
|
65
|
+
/**
|
|
66
|
+
* Custom function to calculate password strength.
|
|
67
|
+
* Must return a key from strengthLevels (or default levels if not provided).
|
|
68
|
+
* @default calculatePasswordStrength (built-in)
|
|
69
|
+
*/
|
|
70
|
+
calculateStrength?: (password: string) => T;
|
|
71
|
+
/**
|
|
72
|
+
* Whether the input has an error state
|
|
73
|
+
*/
|
|
74
|
+
error?: boolean;
|
|
75
|
+
/**
|
|
76
|
+
* ID for the input element (for label association)
|
|
77
|
+
*/
|
|
78
|
+
id?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Children components
|
|
81
|
+
*/
|
|
82
|
+
children: React.ReactNode;
|
|
83
|
+
/**
|
|
84
|
+
* Additional class name for the root container
|
|
85
|
+
*/
|
|
86
|
+
className?: string;
|
|
30
87
|
}
|
|
31
88
|
/**
|
|
32
|
-
*
|
|
89
|
+
* InputPasswordRoot - Root component that provides context for all InputPassword parts
|
|
90
|
+
*
|
|
91
|
+
* Generic type parameter T allows custom strength levels:
|
|
92
|
+
* @example
|
|
93
|
+
* // Using default levels
|
|
94
|
+
* <InputPasswordRoot dataHook="password">...</InputPasswordRoot>
|
|
95
|
+
*
|
|
96
|
+
* // Using custom levels
|
|
97
|
+
* type MyStrength = "empty" | "slow" | "medium" | "fast";
|
|
98
|
+
* <InputPasswordRoot<MyStrength>
|
|
99
|
+
* dataHook="password"
|
|
100
|
+
* strengthLevels={{
|
|
101
|
+
* empty: { label: "Enter password", value: 0, color: "bg-muted" },
|
|
102
|
+
* slow: { label: "Slow", value: 33, color: "bg-red-500" },
|
|
103
|
+
* medium: { label: "Medium", value: 66, color: "bg-yellow-500" },
|
|
104
|
+
* fast: { label: "Fast", value: 100, color: "bg-green-500" },
|
|
105
|
+
* }}
|
|
106
|
+
* calculateStrength={(password) => {
|
|
107
|
+
* if (!password) return "empty";
|
|
108
|
+
* if (password.length < 8) return "slow";
|
|
109
|
+
* if (password.length < 12) return "medium";
|
|
110
|
+
* return "fast";
|
|
111
|
+
* }}
|
|
112
|
+
* >
|
|
113
|
+
* ...
|
|
114
|
+
* </InputPasswordRoot>
|
|
33
115
|
*/
|
|
34
|
-
declare function
|
|
35
|
-
declare
|
|
36
|
-
|
|
37
|
-
|
|
116
|
+
declare function InputPasswordRoot<T extends string = DefaultPasswordStrength>({ children, dataHook, trackingEl, trackingLabel, disabled, value, onChange, onStrengthChange, strengthLevels, calculateStrength, error, id, className, }: InputPasswordRootProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
117
|
+
declare namespace InputPasswordRoot {
|
|
118
|
+
var displayName: string;
|
|
119
|
+
}
|
|
120
|
+
export interface InputPasswordFieldProps extends Omit<React.ComponentProps<typeof InputGroupInput>, "type"> {
|
|
121
|
+
/**
|
|
122
|
+
* Additional class name for the InputGroup wrapper
|
|
123
|
+
*/
|
|
124
|
+
groupClassName?: string;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* InputPasswordField - The password input field with toggle button
|
|
128
|
+
* Wraps InputGroup with InputGroupInput and InputGroupAddon for the toggle
|
|
129
|
+
*/
|
|
130
|
+
declare const InputPasswordField: React.ForwardRefExoticComponent<Omit<InputPasswordFieldProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
131
|
+
export interface InputPasswordToggleProps extends Omit<React.ComponentProps<typeof InputGroupButton>, "onClick" | "aria-label"> {
|
|
132
|
+
/**
|
|
133
|
+
* Custom aria-label for show state
|
|
134
|
+
* @default "Show password"
|
|
135
|
+
*/
|
|
136
|
+
showLabel?: string;
|
|
137
|
+
/**
|
|
138
|
+
* Custom aria-label for hide state
|
|
139
|
+
* @default "Hide password"
|
|
140
|
+
*/
|
|
141
|
+
hideLabel?: string;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* InputPasswordToggle - Standalone toggle button for password visibility
|
|
145
|
+
* Use this when you need custom placement of the toggle button
|
|
146
|
+
*/
|
|
147
|
+
declare const InputPasswordToggle: React.ForwardRefExoticComponent<Omit<InputPasswordToggleProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
148
|
+
export interface InputPasswordStrengthProps {
|
|
149
|
+
/**
|
|
150
|
+
* Additional class name
|
|
151
|
+
*/
|
|
152
|
+
className?: string;
|
|
153
|
+
/**
|
|
154
|
+
* Whether to show the label next to the progress bar
|
|
155
|
+
* @default true
|
|
156
|
+
*/
|
|
157
|
+
showLabel?: boolean;
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* InputPasswordStrength - Password strength indicator
|
|
161
|
+
* Displays a progress bar and optional label showing password strength.
|
|
162
|
+
* Automatically uses the strength levels configured on InputPasswordRoot.
|
|
163
|
+
*/
|
|
164
|
+
declare function InputPasswordStrength({ className, showLabel, }: InputPasswordStrengthProps): import("react/jsx-runtime").JSX.Element;
|
|
165
|
+
declare namespace InputPasswordStrength {
|
|
166
|
+
var displayName: string;
|
|
167
|
+
}
|
|
168
|
+
export { InputPasswordRoot, InputPasswordField, InputPasswordToggle, InputPasswordStrength, calculatePasswordStrength, DEFAULT_STRENGTH_LEVELS, };
|
|
169
|
+
export type { DefaultPasswordStrength, StrengthLevelConfig };
|
|
38
170
|
//# sourceMappingURL=input-password.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-password.d.ts","sourceRoot":"","sources":["../../src/components/input-password.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"input-password.d.ts","sourceRoot":"","sources":["../../src/components/input-password.tsx"],"names":[],"mappings":"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"}
|
package/dist/input-password.js
CHANGED
|
@@ -1,100 +1,206 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import * as
|
|
3
|
-
import { EyeOff as
|
|
4
|
-
import { Progress as
|
|
5
|
-
import { cn as
|
|
6
|
-
import { InputGroup as
|
|
7
|
-
const
|
|
8
|
-
meter: { label: "Meter", value: 0, color: "bg-
|
|
9
|
-
weak: { label: "Weak", value: 25, color: "bg-
|
|
10
|
-
ok: { label: "Ok", value: 50, color: "bg-
|
|
1
|
+
import { jsx as o, jsxs as R } from "react/jsx-runtime";
|
|
2
|
+
import * as a from "react";
|
|
3
|
+
import { EyeOff as T, Eye as H } from "@brightlocal/icons";
|
|
4
|
+
import { Progress as F } from "@brightlocal/ui-components/progress";
|
|
5
|
+
import { cn as P } from "@brightlocal/ui-components/lib/utils";
|
|
6
|
+
import { InputGroup as j, InputGroupInput as M, InputGroupAddon as O, InputGroupButton as L } from "@brightlocal/ui-components/input-group";
|
|
7
|
+
const Z = {
|
|
8
|
+
meter: { label: "Meter", value: 0, color: "bg-green-500" },
|
|
9
|
+
weak: { label: "Weak", value: 25, color: "bg-green-500" },
|
|
10
|
+
ok: { label: "Ok", value: 50, color: "bg-green-500" },
|
|
11
11
|
good: { label: "Good", value: 75, color: "bg-green-500" },
|
|
12
|
-
great: { label: "Great", value: 100, color: "bg-green-
|
|
12
|
+
great: { label: "Great", value: 100, color: "bg-green-500" }
|
|
13
13
|
};
|
|
14
|
-
function
|
|
15
|
-
if (!
|
|
14
|
+
function _(e) {
|
|
15
|
+
if (!e || e.length === 0)
|
|
16
16
|
return "meter";
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
if (e.length < 12)
|
|
18
|
+
return "weak";
|
|
19
|
+
let t = 0;
|
|
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";
|
|
19
21
|
}
|
|
20
|
-
const
|
|
22
|
+
const V = a.createContext(null);
|
|
23
|
+
function v() {
|
|
24
|
+
const e = a.useContext(V);
|
|
25
|
+
if (!e)
|
|
26
|
+
throw new Error(
|
|
27
|
+
"InputPassword compound components must be used within InputPasswordRoot"
|
|
28
|
+
);
|
|
29
|
+
return e;
|
|
30
|
+
}
|
|
31
|
+
function B({
|
|
32
|
+
children: e,
|
|
33
|
+
dataHook: t,
|
|
34
|
+
trackingEl: n,
|
|
35
|
+
trackingLabel: i,
|
|
36
|
+
disabled: l,
|
|
37
|
+
value: s,
|
|
38
|
+
onChange: r,
|
|
39
|
+
onStrengthChange: c,
|
|
40
|
+
strengthLevels: h,
|
|
41
|
+
calculateStrength: u,
|
|
42
|
+
error: d,
|
|
43
|
+
id: b,
|
|
44
|
+
className: I
|
|
45
|
+
}) {
|
|
46
|
+
const [p, m] = a.useState(!1), [k, w] = a.useState(""), [N, A] = a.useState("meter"), $ = a.useId(), x = b || $, f = s !== void 0 ? s : k, S = h ?? Z, y = u ?? _, C = a.useCallback(
|
|
47
|
+
(g) => {
|
|
48
|
+
s === void 0 && w(g), r?.(g);
|
|
49
|
+
},
|
|
50
|
+
[s, r]
|
|
51
|
+
), E = a.useCallback(() => {
|
|
52
|
+
m((g) => !g);
|
|
53
|
+
}, []);
|
|
54
|
+
a.useEffect(() => {
|
|
55
|
+
const g = setTimeout(() => {
|
|
56
|
+
const G = y(f);
|
|
57
|
+
A(G), c?.(G);
|
|
58
|
+
}, 180);
|
|
59
|
+
return () => clearTimeout(g);
|
|
60
|
+
}, [f, y, c]);
|
|
61
|
+
const z = a.useMemo(
|
|
62
|
+
() => ({
|
|
63
|
+
showPassword: p,
|
|
64
|
+
setShowPassword: m,
|
|
65
|
+
toggleVisibility: E,
|
|
66
|
+
password: f,
|
|
67
|
+
setPassword: C,
|
|
68
|
+
strength: N,
|
|
69
|
+
strengthLevels: S,
|
|
70
|
+
disabled: l,
|
|
71
|
+
dataHook: t,
|
|
72
|
+
trackingEl: n,
|
|
73
|
+
trackingLabel: i,
|
|
74
|
+
inputId: x,
|
|
75
|
+
error: d
|
|
76
|
+
}),
|
|
77
|
+
[
|
|
78
|
+
p,
|
|
79
|
+
E,
|
|
80
|
+
f,
|
|
81
|
+
C,
|
|
82
|
+
N,
|
|
83
|
+
S,
|
|
84
|
+
l,
|
|
85
|
+
t,
|
|
86
|
+
n,
|
|
87
|
+
i,
|
|
88
|
+
x,
|
|
89
|
+
d
|
|
90
|
+
]
|
|
91
|
+
);
|
|
92
|
+
return /* @__PURE__ */ o(V.Provider, { value: z, children: /* @__PURE__ */ o("div", { className: P("w-full", I), children: e }) });
|
|
93
|
+
}
|
|
94
|
+
B.displayName = "InputPasswordRoot";
|
|
95
|
+
const D = a.forwardRef(({ className: e, groupClassName: t, onChange: n, ...i }, l) => {
|
|
96
|
+
const {
|
|
97
|
+
showPassword: s,
|
|
98
|
+
toggleVisibility: r,
|
|
99
|
+
password: c,
|
|
100
|
+
setPassword: h,
|
|
101
|
+
disabled: u,
|
|
102
|
+
dataHook: d,
|
|
103
|
+
trackingEl: b,
|
|
104
|
+
trackingLabel: I,
|
|
105
|
+
inputId: p,
|
|
106
|
+
error: m
|
|
107
|
+
} = v();
|
|
108
|
+
return /* @__PURE__ */ R(j, { className: t, dataHook: d, error: m, children: [
|
|
109
|
+
/* @__PURE__ */ o(
|
|
110
|
+
M,
|
|
111
|
+
{
|
|
112
|
+
ref: l,
|
|
113
|
+
className: e,
|
|
114
|
+
disabled: u,
|
|
115
|
+
id: p,
|
|
116
|
+
trackingEl: b,
|
|
117
|
+
trackingLabel: I,
|
|
118
|
+
type: s ? "text" : "password",
|
|
119
|
+
value: c,
|
|
120
|
+
onChange: (w) => {
|
|
121
|
+
h(w.target.value), n?.(w);
|
|
122
|
+
},
|
|
123
|
+
...i
|
|
124
|
+
}
|
|
125
|
+
),
|
|
126
|
+
/* @__PURE__ */ o(O, { align: "inline-end", children: /* @__PURE__ */ o(
|
|
127
|
+
L,
|
|
128
|
+
{
|
|
129
|
+
"aria-label": s ? "Hide password" : "Show password",
|
|
130
|
+
"data-hook": `${d}-toggle`,
|
|
131
|
+
disabled: u,
|
|
132
|
+
size: "icon",
|
|
133
|
+
variant: "ghost",
|
|
134
|
+
onClick: r,
|
|
135
|
+
children: s ? /* @__PURE__ */ o(T, { className: "h-4 w-4" }) : /* @__PURE__ */ o(H, { className: "h-4 w-4" })
|
|
136
|
+
}
|
|
137
|
+
) })
|
|
138
|
+
] });
|
|
139
|
+
});
|
|
140
|
+
D.displayName = "InputPasswordField";
|
|
141
|
+
const U = a.forwardRef(
|
|
21
142
|
({
|
|
22
|
-
className:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}, d = $[I];
|
|
46
|
-
return /* @__PURE__ */ i("div", { className: "w-full", children: [
|
|
47
|
-
/* @__PURE__ */ i(V, { className: t, dataHook: n, children: [
|
|
48
|
-
/* @__PURE__ */ r(
|
|
49
|
-
z,
|
|
50
|
-
{
|
|
51
|
-
ref: w,
|
|
52
|
-
id: G,
|
|
53
|
-
trackingEl: h,
|
|
54
|
-
trackingLabel: f,
|
|
55
|
-
type: a ? "text" : "password",
|
|
56
|
-
value: l,
|
|
57
|
-
onChange: y,
|
|
58
|
-
...u
|
|
59
|
-
}
|
|
60
|
-
),
|
|
61
|
-
/* @__PURE__ */ r(C, { align: "inline-end", children: /* @__PURE__ */ r(
|
|
62
|
-
O,
|
|
63
|
-
{
|
|
64
|
-
"aria-label": a ? "Hide password" : "Show password",
|
|
65
|
-
"data-hook": n ? `${n}-toggle` : void 0,
|
|
66
|
-
disabled: u.disabled,
|
|
67
|
-
size: "icon",
|
|
68
|
-
variant: "ghost",
|
|
69
|
-
onClick: k,
|
|
70
|
-
children: a ? /* @__PURE__ */ r(A, { className: "h-4 w-4" }) : /* @__PURE__ */ r(E, { className: "h-4 w-4" })
|
|
71
|
-
}
|
|
72
|
-
) })
|
|
73
|
-
] }),
|
|
74
|
-
e && /* @__PURE__ */ r("div", { className: "mt-1 space-y-2", children: /* @__PURE__ */ i("div", { className: "flex items-center gap-2", children: [
|
|
75
|
-
/* @__PURE__ */ r(
|
|
76
|
-
R,
|
|
77
|
-
{
|
|
78
|
-
className: T("h-2 flex-1"),
|
|
79
|
-
dataHook: n ? `${n}-strength-progress` : "password-strength-progress",
|
|
80
|
-
value: d.value
|
|
81
|
-
}
|
|
82
|
-
),
|
|
83
|
-
/* @__PURE__ */ r(
|
|
84
|
-
"span",
|
|
85
|
-
{
|
|
86
|
-
className: "text-foreground w-10 shrink-0 text-right text-sm font-medium whitespace-nowrap",
|
|
87
|
-
"data-hook": n ? `${n}-strength-label` : void 0,
|
|
88
|
-
children: d.label
|
|
89
|
-
}
|
|
90
|
-
)
|
|
91
|
-
] }) })
|
|
92
|
-
] });
|
|
143
|
+
className: e,
|
|
144
|
+
showLabel: t = "Show password",
|
|
145
|
+
hideLabel: n = "Hide password",
|
|
146
|
+
size: i = "icon",
|
|
147
|
+
variant: l = "ghost",
|
|
148
|
+
...s
|
|
149
|
+
}, r) => {
|
|
150
|
+
const { showPassword: c, toggleVisibility: h, disabled: u, dataHook: d } = v();
|
|
151
|
+
return /* @__PURE__ */ o(
|
|
152
|
+
L,
|
|
153
|
+
{
|
|
154
|
+
ref: r,
|
|
155
|
+
"aria-label": c ? n : t,
|
|
156
|
+
className: e,
|
|
157
|
+
"data-hook": `${d}-toggle`,
|
|
158
|
+
disabled: u,
|
|
159
|
+
size: i,
|
|
160
|
+
variant: l,
|
|
161
|
+
onClick: h,
|
|
162
|
+
...s,
|
|
163
|
+
children: c ? /* @__PURE__ */ o(T, { className: "h-4 w-4" }) : /* @__PURE__ */ o(H, { className: "h-4 w-4" })
|
|
164
|
+
}
|
|
165
|
+
);
|
|
93
166
|
}
|
|
94
167
|
);
|
|
95
|
-
|
|
168
|
+
U.displayName = "InputPasswordToggle";
|
|
169
|
+
function W({
|
|
170
|
+
className: e,
|
|
171
|
+
showLabel: t = !0
|
|
172
|
+
}) {
|
|
173
|
+
const { strength: n, strengthLevels: i, dataHook: l, disabled: s } = v(), r = i[n] ?? {
|
|
174
|
+
label: n,
|
|
175
|
+
value: 0,
|
|
176
|
+
color: "bg-muted"
|
|
177
|
+
};
|
|
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
|
+
/* @__PURE__ */ o(
|
|
180
|
+
F,
|
|
181
|
+
{
|
|
182
|
+
className: "h-2 flex-1",
|
|
183
|
+
dataHook: `${l}-strength-progress`,
|
|
184
|
+
indicatorClassName: r.color,
|
|
185
|
+
value: r.value
|
|
186
|
+
}
|
|
187
|
+
),
|
|
188
|
+
t && /* @__PURE__ */ o(
|
|
189
|
+
"span",
|
|
190
|
+
{
|
|
191
|
+
className: "text-foreground w-10 shrink-0 text-right text-sm font-medium whitespace-nowrap",
|
|
192
|
+
"data-hook": `${l}-strength-label`,
|
|
193
|
+
children: r.label
|
|
194
|
+
}
|
|
195
|
+
)
|
|
196
|
+
] }) });
|
|
197
|
+
}
|
|
198
|
+
W.displayName = "InputPasswordStrength";
|
|
96
199
|
export {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
200
|
+
Z as DEFAULT_STRENGTH_LEVELS,
|
|
201
|
+
D as InputPasswordField,
|
|
202
|
+
B as InputPasswordRoot,
|
|
203
|
+
W as InputPasswordStrength,
|
|
204
|
+
U as InputPasswordToggle,
|
|
205
|
+
_ as calculatePasswordStrength
|
|
100
206
|
};
|
package/dist/input.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
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;
|
package/dist/input.d.ts
CHANGED
|
@@ -33,6 +33,10 @@ export interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElem
|
|
|
33
33
|
* Required data-hook attribute for automated testing
|
|
34
34
|
*/
|
|
35
35
|
dataHook: string;
|
|
36
|
+
/**
|
|
37
|
+
* Whether the input has an error state
|
|
38
|
+
*/
|
|
39
|
+
error?: boolean;
|
|
36
40
|
/**
|
|
37
41
|
* Optional tracking element identifier for analytics
|
|
38
42
|
*/
|
package/dist/input.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../src/components/input.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE;;;GAGG;AACH,eAAO,MAAM,aAAa;;;8EAwCzB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,WAAW,UACf,SACE,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,EACzD,YAAY,CAAC,OAAO,aAAa,CAAC;IACpC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../src/components/input.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE;;;GAGG;AACH,eAAO,MAAM,aAAa;;;8EAwCzB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,WAAW,UACf,SACE,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,EACzD,YAAY,CAAC,OAAO,aAAa,CAAC;IACpC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,KAAK,qFAsCjB,CAAC"}
|
package/dist/input.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import * as
|
|
3
|
-
import { cva as
|
|
4
|
-
import { cn as
|
|
5
|
-
const
|
|
1
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import * as u from "react";
|
|
3
|
+
import { cva as f } from "class-variance-authority";
|
|
4
|
+
import { cn as b } from "@brightlocal/ui-components/lib/utils";
|
|
5
|
+
const p = f(
|
|
6
6
|
[
|
|
7
7
|
// Layout & Size
|
|
8
8
|
"flex w-full min-w-0 h-9",
|
|
@@ -42,37 +42,39 @@ const b = u(
|
|
|
42
42
|
hasSecondaryIcon: !1
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
),
|
|
45
|
+
), v = u.forwardRef(
|
|
46
46
|
({
|
|
47
|
-
className:
|
|
48
|
-
hasIcon:
|
|
49
|
-
hasSecondaryIcon:
|
|
50
|
-
dataHook:
|
|
51
|
-
|
|
47
|
+
className: r,
|
|
48
|
+
hasIcon: o = !1,
|
|
49
|
+
hasSecondaryIcon: i = !1,
|
|
50
|
+
dataHook: t,
|
|
51
|
+
error: d,
|
|
52
|
+
trackingEl: n,
|
|
52
53
|
trackingLabel: s,
|
|
53
54
|
...e
|
|
54
|
-
},
|
|
55
|
-
const
|
|
56
|
-
return /* @__PURE__ */
|
|
55
|
+
}, l) => {
|
|
56
|
+
const a = d || e["aria-invalid"] === !0 || e["aria-invalid"] === "true";
|
|
57
|
+
return /* @__PURE__ */ c(
|
|
57
58
|
"input",
|
|
58
59
|
{
|
|
59
|
-
ref:
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
a
|
|
60
|
+
ref: l,
|
|
61
|
+
"aria-invalid": a ? "true" : void 0,
|
|
62
|
+
className: b(
|
|
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
66
|
),
|
|
65
|
-
"data-hook":
|
|
67
|
+
"data-hook": t,
|
|
66
68
|
"data-slot": "input",
|
|
67
|
-
"data-tracking-el":
|
|
69
|
+
"data-tracking-el": n,
|
|
68
70
|
"data-tracking-label": s,
|
|
69
71
|
...e
|
|
70
72
|
}
|
|
71
73
|
);
|
|
72
74
|
}
|
|
73
75
|
);
|
|
74
|
-
|
|
76
|
+
v.displayName = "Input";
|
|
75
77
|
export {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
+
v as Input,
|
|
79
|
+
p as inputVariants
|
|
78
80
|
};
|
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"),V=s.cva("inline-flex [&_path]:fill-primary",{variants:{variant:{logotype:"h-6",mark:"w-6 h-6"}},defaultVariants:{variant:"logotype"}});function l({className:t,variant:i="logotype",dataHook:e,trackingEl:a,trackingLabel:o,...r}){return C.jsxs("div",{"aria-label":"BrightLocal Logo",className:h.cn(V({variant:i}),t),"data-hook":e,"data-slot":"logo","data-tracking-el":a,"data-tracking-label":o,role:"img",...r,children:[i==="logotype"&&C.jsxs("svg",{fill:"none",height:"30",viewBox:"0 0 159 30",width:"159",xmlns:"http://www.w3.org/2000/svg",children:[C.jsx("g",{clipPath:"url(#clip0_18315_468386)",children:C.jsx("path",{d:"M66.8314 7.61719C68.6663 7.61726 70.094 8.30982 71.2494 9.62598H71.3177V7.8252H75.4632V22.6514C75.4632 24.9376 74.7157 26.7393 73.2884 28.0557C71.8611 29.372 69.9577 29.9961 67.6468 29.9961C64.0445 29.9961 61.5974 28.6101 60.306 25.7695L63.6371 23.7607C64.4527 25.4232 65.744 26.2549 67.5111 26.2549C69.686 26.2548 71.181 25.0763 71.181 22.79V20.5732H71.1136C70.0941 21.8896 68.7343 22.5136 66.9671 22.5137C64.9282 22.5136 63.2292 21.82 61.9378 20.3652C60.6464 18.9796 59.9662 17.1781 59.9662 15.0996C59.9662 13.1598 60.5781 11.3582 61.8695 9.90332C63.1609 8.37924 64.7924 7.61719 66.8314 7.61719ZM116.45 7.54883C118.625 7.54888 120.528 8.31071 122.024 9.76562C123.519 11.2205 124.334 13.0223 124.334 15.2393C124.334 17.456 123.587 19.3264 122.024 20.7812C120.461 22.2361 118.625 22.9989 116.382 22.999C114.139 22.999 112.304 22.3054 110.741 20.7812C109.245 19.3264 108.429 17.5254 108.429 15.3086C108.497 13.0917 109.245 11.2205 110.808 9.76562C112.371 8.24154 114.275 7.54892 116.45 7.54883ZM132.763 7.61719C136.025 7.61726 138.677 9.2799 139.628 12.1895L135.89 13.7832C135.278 12.3285 134.19 11.5665 132.763 11.5664C130.792 11.5666 129.297 13.0215 129.297 15.3076C129.297 17.5245 130.724 19.0486 132.763 19.0488C134.258 19.0488 135.347 18.3562 135.958 16.832L139.697 18.4258C138.609 21.4048 135.958 22.9979 132.696 22.998C130.453 22.9288 128.618 22.236 127.122 20.7812C125.627 19.3263 124.947 17.5247 124.947 15.3076C124.947 13.0906 125.695 11.2889 127.258 9.83398C128.753 8.31011 130.656 7.61729 132.763 7.61719ZM31.6195 9.62988H31.7562C32.8437 8.24449 34.3392 7.55176 36.1742 7.55176C38.213 7.5519 39.8448 8.31384 41.1361 9.90723C42.4273 11.4314 43.0384 13.2331 43.0384 15.2422C43.0384 17.2513 42.3591 19.053 41.0677 20.5771C39.7084 22.1013 38.0764 22.9326 36.0375 22.9326C34.1346 22.9325 32.639 22.2399 31.6195 20.8545H31.5521V22.6553H27.4056V0.0693359H31.6195V9.62988ZM147.106 7.47852C150.912 7.4787 153.427 9.55679 153.427 13.4365V22.582H149.485V20.7803H149.416C148.465 22.1658 146.97 22.9286 145.067 22.9287C143.708 22.8594 142.551 22.5128 141.6 21.6816C140.648 20.8502 140.172 19.8105 140.172 18.4941V18.4248C140.172 16.6928 140.989 15.3765 142.348 14.7529C143.707 14.1296 145.066 13.8526 146.629 13.8525H148.057C148.805 13.8525 149.212 13.5052 149.212 12.7432C149.212 11.7042 148.397 10.9425 146.902 10.9424C145.475 10.9424 144.387 11.6351 143.707 12.9512L140.445 11.0117C141.668 8.65612 143.911 7.47852 147.106 7.47852ZM98.0316 7.8252H101.634V11.5664H98.0316V16.6934C98.0316 18.3561 98.9151 19.0488 100.546 19.0488C100.886 19.0488 101.227 19.0487 101.498 18.9102V22.5137C100.887 22.7215 100.206 22.79 99.5267 22.79C95.7206 22.79 93.7495 20.712 93.7494 17.248V11.5664H91.1664V7.8252H93.8177V3.18359H98.0316V7.8252ZM81.1742 9.55664C81.7179 8.79461 82.3299 8.24003 83.0775 7.96289C83.8929 7.68586 84.5729 7.54791 85.1166 7.54785C86.8835 7.54789 88.1754 8.10179 89.0589 9.2793C89.9425 10.3878 90.4183 11.7739 90.4183 13.4365V22.6514H86.2728V14.4072C86.2728 12.7445 85.3883 11.4972 83.7572 11.4971C82.0581 11.4972 81.1742 12.7445 81.1742 14.3379V22.582H76.9603V0.0654297H81.1742V9.55664ZM58.6712 22.5869H54.389V7.8291H58.6712V22.5869ZM52.3539 7.68652C52.6936 7.68652 52.9664 7.68666 53.1703 7.8252V12.041C52.8529 11.9846 52.5355 11.9824 52.2181 11.9824C49.4996 11.9825 48.2758 13.7142 48.2757 16.3467V22.583H44.0619V7.8252H48.2757V10.1113C48.8875 8.72579 50.4509 7.68667 52.3539 7.68652ZM107.275 22.582H102.993V0.0654297H107.275V22.582ZM159 22.582H154.718V0.0654297H159V22.582ZM10.8236 22.3809C10.9304 22.4611 11.0386 22.5176 11.1605 22.5176C11.0925 22.5176 11.0239 22.5176 10.888 22.5176C10.8657 22.5172 10.8453 22.4656 10.8236 22.3809ZM16.1908 3.1875C18.2298 3.18763 20.2687 4.3657 21.4242 6.16699C22.5794 8.10689 22.6475 10.7399 21.4242 12.6104C20.8125 13.5801 19.9965 14.3425 19.181 15.1045C16.6664 17.5984 14.0156 19.9542 11.433 22.3096L11.3646 22.3789C11.2288 22.448 11.0922 22.4481 10.9564 22.3789C10.8549 22.327 10.8007 22.2361 10.7728 22.125C10.7889 22.2258 10.8064 22.3139 10.8236 22.3809C10.6923 22.2823 10.5622 22.1477 10.4125 22.0332C7.96561 19.7469 5.51848 17.4601 3.07163 15.1045C1.98424 13.9961 0.828372 12.9566 0.284525 11.4326C-0.463117 9.07707 0.285262 6.23615 2.2562 4.64258C3.34369 3.74197 4.70294 3.25686 6.13023 3.25684C8.09487 3.25684 9.99219 4.28915 11.1488 5.94238C12.2059 4.31975 14.115 3.24975 16.1908 3.1875ZM6.06187 4.57324C4.29481 4.57343 2.59579 5.61273 1.71226 7.27539C0.896852 8.86887 0.96507 10.9475 2.12046 12.4023C2.80007 13.3028 3.61554 14.0652 4.43101 14.8271C6.33412 16.6977 8.30564 18.4995 10.2767 20.3008L10.6166 20.6475C10.6186 20.676 10.6754 21.4455 10.7513 21.9883C10.7373 21.8282 10.7532 21.6451 10.7533 21.4785C10.5494 17.8066 10.2769 14.1339 10.141 10.5312C10.0872 9.43494 10.1189 8.33822 10.471 7.31055C10.4535 7.27347 10.4127 7.26074 10.4125 7.20605C9.59681 5.61252 7.89746 4.57324 6.13023 4.57324H6.06187ZM146.629 16.5547C145.406 16.5548 144.455 17.1086 144.454 18.2168C144.454 19.1866 145.202 19.7411 146.289 19.7412C148.124 19.7411 149.212 18.4939 149.212 16.9004V16.5547H146.629ZM35.222 11.4316C34.2026 11.4317 33.387 11.778 32.7074 12.4707C32.0277 13.1635 31.6878 14.0643 31.6878 15.1729C31.6199 16.2814 32.0277 17.1822 32.7074 17.9443C33.3871 18.637 34.2709 18.9834 35.2904 18.9834C36.3098 18.9833 37.1938 18.6371 37.8734 17.9443C38.553 17.2515 38.8929 16.2813 38.8929 15.1729C38.8929 14.0644 38.5526 13.1635 37.805 12.4707C37.1254 11.7779 36.2415 11.4317 35.222 11.4316ZM116.382 11.3594C115.363 11.3594 114.547 11.7058 113.868 12.4678C113.188 13.1606 112.848 14.0614 112.848 15.1699C112.78 16.2783 113.188 17.1794 113.868 17.9414C114.547 18.6338 115.43 18.9804 116.45 18.9805C118.488 18.9804 119.985 17.3868 119.985 15.1699C119.985 14.0616 119.645 13.1606 118.965 12.4678C118.286 11.775 117.402 11.3595 116.382 11.3594ZM67.7152 11.4277C65.7441 11.4277 64.1802 12.9519 64.18 15.0303C64.18 17.2474 65.6761 18.7031 67.7152 18.7031C69.6861 18.7029 71.2494 17.2472 71.2494 15.0303C71.2492 12.9521 69.754 11.428 67.7152 11.4277ZM6.06285 6.58301C7.0821 6.58321 8.03336 7.20607 8.50913 8.10645C8.91671 8.93762 8.91714 9.83874 8.57749 10.6699C8.03366 11.7781 6.74213 12.4713 5.5189 12.2637C4.36356 12.0558 3.41188 11.0165 3.27574 9.83887C3.13981 8.9383 3.48 7.96829 4.15952 7.34473C4.70325 6.85983 5.38322 6.58302 6.06285 6.58301ZM53.2377 12.0518H53.1703V12.041C53.1925 12.045 53.2154 12.0472 53.2377 12.0518ZM16.1908 7.13672C14.8994 7.13675 13.9477 8.17585 13.9476 9.42285C14.0158 10.6004 14.9671 11.5713 16.1224 11.6406C17.3457 11.7099 18.3657 10.6697 18.4339 9.42285C18.4338 8.17594 17.414 7.1369 16.1908 7.13672ZM6.06285 7.83008C5.38316 7.83011 4.70269 8.38433 4.56675 9.07715C4.3636 10.0469 5.24762 11.2243 6.40269 11.0166C7.01407 10.8779 7.55763 10.3234 7.6937 9.7002C7.76159 8.79969 7.01416 7.83041 6.06285 7.83008ZM56.4964 0C57.9917 0.000113446 59.1468 1.17797 59.1468 2.70215C59.1468 4.15701 57.9917 5.33485 56.4964 5.33496C55.0691 5.33496 53.9135 4.15708 53.9134 2.70215C53.9134 1.24718 55.137 0 56.4964 0Z"})}),C.jsx("defs",{children:C.jsx("clipPath",{id:"clip0_18315_468386",children:C.jsx("rect",{fill:"white",height:"30",width:"159"})})})]}),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"})})})]})]})}l.displayName="Logo";exports.Logo=l;
|
|
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 l({className:t,variant:i="logotype",dataHook:e,trackingEl:r,trackingLabel:a,...o}){return C.jsxs("div",{"aria-label":"BrightLocal Logo",className:h.cn(n({variant:i}),t),"data-hook":e,"data-slot":"logo","data-tracking-el":r,"data-tracking-label":a,role:"img",...o,children:[i==="logotype"&&C.jsxs("svg",{fill:"none",height:"30",viewBox:"0 0 159 30",width:"159",xmlns:"http://www.w3.org/2000/svg",children:[C.jsx("g",{clipPath:"url(#clip0_18315_468386)",children:C.jsx("path",{d:"M66.8314 7.61719C68.6663 7.61726 70.094 8.30982 71.2494 9.62598H71.3177V7.8252H75.4632V22.6514C75.4632 24.9376 74.7157 26.7393 73.2884 28.0557C71.8611 29.372 69.9577 29.9961 67.6468 29.9961C64.0445 29.9961 61.5974 28.6101 60.306 25.7695L63.6371 23.7607C64.4527 25.4232 65.744 26.2549 67.5111 26.2549C69.686 26.2548 71.181 25.0763 71.181 22.79V20.5732H71.1136C70.0941 21.8896 68.7343 22.5136 66.9671 22.5137C64.9282 22.5136 63.2292 21.82 61.9378 20.3652C60.6464 18.9796 59.9662 17.1781 59.9662 15.0996C59.9662 13.1598 60.5781 11.3582 61.8695 9.90332C63.1609 8.37924 64.7924 7.61719 66.8314 7.61719ZM116.45 7.54883C118.625 7.54888 120.528 8.31071 122.024 9.76562C123.519 11.2205 124.334 13.0223 124.334 15.2393C124.334 17.456 123.587 19.3264 122.024 20.7812C120.461 22.2361 118.625 22.9989 116.382 22.999C114.139 22.999 112.304 22.3054 110.741 20.7812C109.245 19.3264 108.429 17.5254 108.429 15.3086C108.497 13.0917 109.245 11.2205 110.808 9.76562C112.371 8.24154 114.275 7.54892 116.45 7.54883ZM132.763 7.61719C136.025 7.61726 138.677 9.2799 139.628 12.1895L135.89 13.7832C135.278 12.3285 134.19 11.5665 132.763 11.5664C130.792 11.5666 129.297 13.0215 129.297 15.3076C129.297 17.5245 130.724 19.0486 132.763 19.0488C134.258 19.0488 135.347 18.3562 135.958 16.832L139.697 18.4258C138.609 21.4048 135.958 22.9979 132.696 22.998C130.453 22.9288 128.618 22.236 127.122 20.7812C125.627 19.3263 124.947 17.5247 124.947 15.3076C124.947 13.0906 125.695 11.2889 127.258 9.83398C128.753 8.31011 130.656 7.61729 132.763 7.61719ZM31.6195 9.62988H31.7562C32.8437 8.24449 34.3392 7.55176 36.1742 7.55176C38.213 7.5519 39.8448 8.31384 41.1361 9.90723C42.4273 11.4314 43.0384 13.2331 43.0384 15.2422C43.0384 17.2513 42.3591 19.053 41.0677 20.5771C39.7084 22.1013 38.0764 22.9326 36.0375 22.9326C34.1346 22.9325 32.639 22.2399 31.6195 20.8545H31.5521V22.6553H27.4056V0.0693359H31.6195V9.62988ZM147.106 7.47852C150.912 7.4787 153.427 9.55679 153.427 13.4365V22.582H149.485V20.7803H149.416C148.465 22.1658 146.97 22.9286 145.067 22.9287C143.708 22.8594 142.551 22.5128 141.6 21.6816C140.648 20.8502 140.172 19.8105 140.172 18.4941V18.4248C140.172 16.6928 140.989 15.3765 142.348 14.7529C143.707 14.1296 145.066 13.8526 146.629 13.8525H148.057C148.805 13.8525 149.212 13.5052 149.212 12.7432C149.212 11.7042 148.397 10.9425 146.902 10.9424C145.475 10.9424 144.387 11.6351 143.707 12.9512L140.445 11.0117C141.668 8.65612 143.911 7.47852 147.106 7.47852ZM98.0316 7.8252H101.634V11.5664H98.0316V16.6934C98.0316 18.3561 98.9151 19.0488 100.546 19.0488C100.886 19.0488 101.227 19.0487 101.498 18.9102V22.5137C100.887 22.7215 100.206 22.79 99.5267 22.79C95.7206 22.79 93.7495 20.712 93.7494 17.248V11.5664H91.1664V7.8252H93.8177V3.18359H98.0316V7.8252ZM81.1742 9.55664C81.7179 8.79461 82.3299 8.24003 83.0775 7.96289C83.8929 7.68586 84.5729 7.54791 85.1166 7.54785C86.8835 7.54789 88.1754 8.10179 89.0589 9.2793C89.9425 10.3878 90.4183 11.7739 90.4183 13.4365V22.6514H86.2728V14.4072C86.2728 12.7445 85.3883 11.4972 83.7572 11.4971C82.0581 11.4972 81.1742 12.7445 81.1742 14.3379V22.582H76.9603V0.0654297H81.1742V9.55664ZM58.6712 22.5869H54.389V7.8291H58.6712V22.5869ZM52.3539 7.68652C52.6936 7.68652 52.9664 7.68666 53.1703 7.8252V12.041C52.8529 11.9846 52.5355 11.9824 52.2181 11.9824C49.4996 11.9825 48.2758 13.7142 48.2757 16.3467V22.583H44.0619V7.8252H48.2757V10.1113C48.8875 8.72579 50.4509 7.68667 52.3539 7.68652ZM107.275 22.582H102.993V0.0654297H107.275V22.582ZM159 22.582H154.718V0.0654297H159V22.582ZM10.8236 22.3809C10.9304 22.4611 11.0386 22.5176 11.1605 22.5176C11.0925 22.5176 11.0239 22.5176 10.888 22.5176C10.8657 22.5172 10.8453 22.4656 10.8236 22.3809ZM16.1908 3.1875C18.2298 3.18763 20.2687 4.3657 21.4242 6.16699C22.5794 8.10689 22.6475 10.7399 21.4242 12.6104C20.8125 13.5801 19.9965 14.3425 19.181 15.1045C16.6664 17.5984 14.0156 19.9542 11.433 22.3096L11.3646 22.3789C11.2288 22.448 11.0922 22.4481 10.9564 22.3789C10.8549 22.327 10.8007 22.2361 10.7728 22.125C10.7889 22.2258 10.8064 22.3139 10.8236 22.3809C10.6923 22.2823 10.5622 22.1477 10.4125 22.0332C7.96561 19.7469 5.51848 17.4601 3.07163 15.1045C1.98424 13.9961 0.828372 12.9566 0.284525 11.4326C-0.463117 9.07707 0.285262 6.23615 2.2562 4.64258C3.34369 3.74197 4.70294 3.25686 6.13023 3.25684C8.09487 3.25684 9.99219 4.28915 11.1488 5.94238C12.2059 4.31975 14.115 3.24975 16.1908 3.1875ZM6.06187 4.57324C4.29481 4.57343 2.59579 5.61273 1.71226 7.27539C0.896852 8.86887 0.96507 10.9475 2.12046 12.4023C2.80007 13.3028 3.61554 14.0652 4.43101 14.8271C6.33412 16.6977 8.30564 18.4995 10.2767 20.3008L10.6166 20.6475C10.6186 20.676 10.6754 21.4455 10.7513 21.9883C10.7373 21.8282 10.7532 21.6451 10.7533 21.4785C10.5494 17.8066 10.2769 14.1339 10.141 10.5312C10.0872 9.43494 10.1189 8.33822 10.471 7.31055C10.4535 7.27347 10.4127 7.26074 10.4125 7.20605C9.59681 5.61252 7.89746 4.57324 6.13023 4.57324H6.06187ZM146.629 16.5547C145.406 16.5548 144.455 17.1086 144.454 18.2168C144.454 19.1866 145.202 19.7411 146.289 19.7412C148.124 19.7411 149.212 18.4939 149.212 16.9004V16.5547H146.629ZM35.222 11.4316C34.2026 11.4317 33.387 11.778 32.7074 12.4707C32.0277 13.1635 31.6878 14.0643 31.6878 15.1729C31.6199 16.2814 32.0277 17.1822 32.7074 17.9443C33.3871 18.637 34.2709 18.9834 35.2904 18.9834C36.3098 18.9833 37.1938 18.6371 37.8734 17.9443C38.553 17.2515 38.8929 16.2813 38.8929 15.1729C38.8929 14.0644 38.5526 13.1635 37.805 12.4707C37.1254 11.7779 36.2415 11.4317 35.222 11.4316ZM116.382 11.3594C115.363 11.3594 114.547 11.7058 113.868 12.4678C113.188 13.1606 112.848 14.0614 112.848 15.1699C112.78 16.2783 113.188 17.1794 113.868 17.9414C114.547 18.6338 115.43 18.9804 116.45 18.9805C118.488 18.9804 119.985 17.3868 119.985 15.1699C119.985 14.0616 119.645 13.1606 118.965 12.4678C118.286 11.775 117.402 11.3595 116.382 11.3594ZM67.7152 11.4277C65.7441 11.4277 64.1802 12.9519 64.18 15.0303C64.18 17.2474 65.6761 18.7031 67.7152 18.7031C69.6861 18.7029 71.2494 17.2472 71.2494 15.0303C71.2492 12.9521 69.754 11.428 67.7152 11.4277ZM6.06285 6.58301C7.0821 6.58321 8.03336 7.20607 8.50913 8.10645C8.91671 8.93762 8.91714 9.83874 8.57749 10.6699C8.03366 11.7781 6.74213 12.4713 5.5189 12.2637C4.36356 12.0558 3.41188 11.0165 3.27574 9.83887C3.13981 8.9383 3.48 7.96829 4.15952 7.34473C4.70325 6.85983 5.38322 6.58302 6.06285 6.58301ZM53.2377 12.0518H53.1703V12.041C53.1925 12.045 53.2154 12.0472 53.2377 12.0518ZM16.1908 7.13672C14.8994 7.13675 13.9477 8.17585 13.9476 9.42285C14.0158 10.6004 14.9671 11.5713 16.1224 11.6406C17.3457 11.7099 18.3657 10.6697 18.4339 9.42285C18.4338 8.17594 17.414 7.1369 16.1908 7.13672ZM6.06285 7.83008C5.38316 7.83011 4.70269 8.38433 4.56675 9.07715C4.3636 10.0469 5.24762 11.2243 6.40269 11.0166C7.01407 10.8779 7.55763 10.3234 7.6937 9.7002C7.76159 8.79969 7.01416 7.83041 6.06285 7.83008ZM56.4964 0C57.9917 0.000113446 59.1468 1.17797 59.1468 2.70215C59.1468 4.15701 57.9917 5.33485 56.4964 5.33496C55.0691 5.33496 53.9135 4.15708 53.9134 2.70215C53.9134 1.24718 55.137 0 56.4964 0Z"})}),C.jsx("defs",{children:C.jsx("clipPath",{id:"clip0_18315_468386",children:C.jsx("rect",{fill:"white",height:"30",width:"159"})})})]}),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"})})})]})]})}l.displayName="Logo";exports.Logo=l;
|