@youngonesworks/ui 1.0.4 → 1.0.6

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/dist/index.js CHANGED
@@ -1,6 +1,4 @@
1
- 'use client';
2
-
3
-
1
+ "use client";
4
2
  import * as React$1 from "react";
5
3
  import React, { Fragment, cloneElement, createRef, forwardRef, isValidElement, useCallback, useEffect, useImperativeHandle, useMemo, useRef, useState } from "react";
6
4
  import { IconAlertCircle, IconAlertTriangle, IconArrowNarrowLeft, IconBold, IconCalendar, IconCheck, IconChevronDown, IconChevronLeft, IconChevronRight, IconChevronUp, IconCircleCheck, IconClearFormatting, IconDotsVertical, IconEyeCheck, IconEyeOff, IconFilter, IconHeart, IconHeartFilled, IconItalic, IconList, IconListNumbers, IconMessageDots, IconSearch, IconSelector, IconUnderline, IconX } from "@tabler/icons-react";
@@ -14,26 +12,22 @@ import { enGB, fr, nl, nlBE } from "date-fns/locale";
14
12
  import { createPortal } from "react-dom";
15
13
  import { Tooltip as Tooltip$1 } from "react-tooltip";
16
14
  import phone from "phone";
17
- import CountryList from "country-list-with-dial-code-and-flag";
15
+ import CountryListImport from "country-list-with-dial-code-and-flag";
18
16
  import { Placeholder } from "@tiptap/extension-placeholder";
19
17
  import { Underline } from "@tiptap/extension-underline";
20
18
  import { EditorContent, useEditor } from "@tiptap/react";
21
19
  import { StarterKit } from "@tiptap/starter-kit";
22
-
23
- //#region src/jsx-runtime-shim.ts
24
- const jsx$1 = React$1.createElement;
25
- const jsxs$1 = React$1.createElement;
26
- const Fragment$2 = React$1.Fragment;
27
-
20
+ React$1.createElement;
21
+ React$1.createElement;
22
+ React$1.Fragment;
28
23
  //#endregion
29
24
  //#region src/utils/cn.ts
30
25
  function cn(...inputs) {
31
26
  return twMerge(clsx(inputs));
32
27
  }
33
-
34
28
  //#endregion
35
29
  //#region src/components/unstyledButton/index.tsx
36
- const UnstyledButton = forwardRef(({ className,...props }, ref) => /* @__PURE__ */ jsx("button", {
30
+ const UnstyledButton = forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("button", {
37
31
  type: "button",
38
32
  "data-component": "unstyledButton",
39
33
  className: cn("appearance-none", className),
@@ -41,7 +35,6 @@ const UnstyledButton = forwardRef(({ className,...props }, ref) => /* @__PURE__
41
35
  ...props
42
36
  }));
43
37
  UnstyledButton.displayName = "UnstyledButton";
44
-
45
38
  //#endregion
46
39
  //#region src/components/accordion/AccordionItem.tsx
47
40
  const AccordionItem = ({ controlContent, panelContent, style = "light", border = false, chevronPosition = "left", disabled = false, active = false, endContent, className }) => {
@@ -73,13 +66,13 @@ const AccordionItem = ({ controlContent, panelContent, style = "light", border =
73
66
  }),
74
67
  /* @__PURE__ */ jsx("div", {
75
68
  onClick: () => setIsActive(!isActive),
76
- className: `flex w-full flex-row justify-between ${style === "dark" && "text-white"} leading-8 text-lg`,
69
+ className: `flex w-full flex-row justify-between ${style === "dark" && "text-white"} leading-8 yo-text-h4`,
77
70
  children: controlContent
78
71
  }),
79
72
  endContent
80
73
  ]
81
74
  }), /* @__PURE__ */ jsx("div", {
82
- className: `transition-max-height overflow-hidden duration-500 ease-in-out ${isActive ? "max-h-1000" : "max-h-0"} leading-6 text-base`,
75
+ className: `transition-max-height overflow-hidden duration-500 ease-in-out ${isActive ? "max-h-1000" : "max-h-0"} leading-6 yo-text-body`,
83
76
  children: /* @__PURE__ */ jsx("div", {
84
77
  className: "px-4 py-3",
85
78
  children: panelContent
@@ -87,7 +80,6 @@ const AccordionItem = ({ controlContent, panelContent, style = "light", border =
87
80
  })]
88
81
  }) });
89
82
  };
90
-
91
83
  //#endregion
92
84
  //#region src/components/accordion/AccordionWrapper.tsx
93
85
  const AccordionWrapper = ({ children, className }) => /* @__PURE__ */ jsx("div", {
@@ -96,21 +88,16 @@ const AccordionWrapper = ({ children, className }) => /* @__PURE__ */ jsx("div",
96
88
  className: cn(className, "flex flex-col gap-2"),
97
89
  children
98
90
  });
99
-
100
91
  //#endregion
101
92
  //#region src/hooks/useMergeRefs.ts
102
93
  function useMergeRefs(...refs) {
103
94
  return useCallback((value) => {
104
95
  refs.forEach((ref) => {
105
- if (typeof ref === "function") {
106
- ref(value);
107
- } else if (ref) {
108
- ref.current = value;
109
- }
96
+ if (typeof ref === "function") ref(value);
97
+ else if (ref) ref.current = value;
110
98
  });
111
99
  }, [refs]);
112
100
  }
113
-
114
101
  //#endregion
115
102
  //#region src/components/tooltip/index.tsx
116
103
  const sizeClasses = {
@@ -134,15 +121,11 @@ const Tooltip = ({ content, children, passedOpen = false, size = "md", variant =
134
121
  ],
135
122
  whileElementsMounted: autoUpdate
136
123
  });
137
- const hover = useHover(context, { move: false });
138
- const focus = useFocus(context);
139
- const dismiss = useDismiss(context);
140
- const role = useRole(context, { role: "tooltip" });
141
124
  const { getReferenceProps, getFloatingProps } = useInteractions([
142
- hover,
143
- focus,
144
- dismiss,
145
- role
125
+ useHover(context, { move: false }),
126
+ useFocus(context),
127
+ useDismiss(context),
128
+ useRole(context, { role: "tooltip" })
146
129
  ]);
147
130
  const childRef = children.ref;
148
131
  const mergedRef = useMergeRefs(refs.setReference, childRef);
@@ -162,7 +145,7 @@ const Tooltip = ({ content, children, passedOpen = false, size = "md", variant =
162
145
  className: "w-full rounded bg-gray-800 pt-[3px] text-white",
163
146
  children: [/* @__PURE__ */ jsx("div", {
164
147
  "data-testid": "tooltip-content",
165
- className: `${sizeClasses[size]} px-2 py-1 text-sm font-normal`,
148
+ className: `${sizeClasses[size]} px-2 py-1 yo-text-small text-white`,
166
149
  children: content
167
150
  }), /* @__PURE__ */ jsx(FloatingArrow, {
168
151
  ref: arrowRef,
@@ -175,10 +158,10 @@ const Tooltip = ({ content, children, passedOpen = false, size = "md", variant =
175
158
  })]
176
159
  }) : /* @__PURE__ */ jsxs("div", {
177
160
  "data-testid": "tooltip-container",
178
- className: "bg-linear-gradient-x pt-[3px]",
161
+ className: "pt-[3px]",
179
162
  children: [/* @__PURE__ */ jsx("div", {
180
163
  "data-testid": "tooltip-content",
181
- className: `${sizeClasses[size]} overflow-hidden bg-white p-5 px-2 py-1 text-start text-sm font-normal`,
164
+ className: `${sizeClasses[size]} overflow-hidden bg-white p-5 px-2 py-1 text-start yo-text-small text-white`,
182
165
  children: /* @__PURE__ */ jsx("p", { children: content })
183
166
  }), size === "md" ? /* @__PURE__ */ jsx(FloatingArrow, {
184
167
  ref: arrowRef,
@@ -203,65 +186,52 @@ const Tooltip = ({ content, children, passedOpen = false, size = "md", variant =
203
186
  })] });
204
187
  };
205
188
  Tooltip.displayName = "Tooltip";
206
-
207
189
  //#endregion
208
190
  //#region src/utils/enums.ts
209
- let ACTION_ICON_STYLE_VARIANT = /* @__PURE__ */ function(ACTION_ICON_STYLE_VARIANT$1) {
210
- ACTION_ICON_STYLE_VARIANT$1["DEFAULT"] = "default";
211
- ACTION_ICON_STYLE_VARIANT$1["TRANSPARENT"] = "transparent";
212
- ACTION_ICON_STYLE_VARIANT$1["SMALL"] = "small";
213
- ACTION_ICON_STYLE_VARIANT$1["ROUND"] = "round";
214
- return ACTION_ICON_STYLE_VARIANT$1;
215
- }({});
216
- let THEME_ICON_STYLE_VARIANT = /* @__PURE__ */ function(THEME_ICON_STYLE_VARIANT$1) {
217
- THEME_ICON_STYLE_VARIANT$1["SECONDARY_WITH_BACKGROUND"] = "secondary-with-background";
218
- return THEME_ICON_STYLE_VARIANT$1;
219
- }({});
220
- let COLOR = /* @__PURE__ */ function(COLOR$1) {
221
- COLOR$1["PRIMARY"] = "primary";
222
- COLOR$1["BLACK"] = "black";
223
- COLOR$1["NAVY_BLUE"] = "navy-blue";
224
- COLOR$1["LIGHT_BLUE"] = "light-blue";
225
- COLOR$1["LIGHT_BLUE_DISABLED"] = "light-blue-disabled";
226
- COLOR$1["GREEN"] = "green";
227
- COLOR$1["GREEN_LIGHT"] = "green-light";
228
- COLOR$1["SECONDARY"] = "secondary";
229
- COLOR$1["SECONDARY_LIGHT"] = "secondary-light";
230
- COLOR$1["ORANGE"] = "orange";
231
- COLOR$1["ORANGE_LIGHT"] = "orange-light";
232
- COLOR$1["ACCENT_BLUE"] = "accent-blue";
233
- COLOR$1["ACCENT_BLUE_LIGHT"] = "accent-blue-light";
234
- COLOR$1["YELLOW"] = "yellow";
235
- COLOR$1["CHECK"] = "check";
236
- COLOR$1["WARNING"] = "warning";
237
- COLOR$1["ERROR"] = "error";
238
- COLOR$1["SUCCESS"] = "success";
239
- COLOR$1["WARNING_LIGHT"] = "warning-light";
240
- COLOR$1["ULTRA_LIGHT_BLUE"] = "ultra-light-blue";
241
- COLOR$1["ULTRA_LIGHT_GRAY"] = "ultra-light-gray";
242
- COLOR$1["ULTRA_LIGHT_BLUE_GRAY"] = "ultra-light-blue-gray";
243
- COLOR$1["TURQUOISE"] = "turquoise";
244
- COLOR$1["RED"] = "red";
245
- COLOR$1["DARK_GRAY"] = "dark-gray";
246
- COLOR$1["GRAY"] = "gray";
247
- COLOR$1["WHITE"] = "white";
248
- COLOR$1["PURPLE"] = "purple";
249
- COLOR$1["PURPLE_LIGHT"] = "purple-light";
250
- COLOR$1["NAVY_BLUE_SHADES"] = "navy-blue-shades";
251
- return COLOR$1;
191
+ let ACTION_ICON_STYLE_VARIANT = /* @__PURE__ */ function(ACTION_ICON_STYLE_VARIANT) {
192
+ ACTION_ICON_STYLE_VARIANT["DEFAULT"] = "default";
193
+ ACTION_ICON_STYLE_VARIANT["TRANSPARENT"] = "transparent";
194
+ ACTION_ICON_STYLE_VARIANT["SMALL"] = "small";
195
+ ACTION_ICON_STYLE_VARIANT["ROUND"] = "round";
196
+ return ACTION_ICON_STYLE_VARIANT;
252
197
  }({});
253
- let REGION = /* @__PURE__ */ function(REGION$1) {
254
- REGION$1["NETHERLANDS"] = "nl";
255
- REGION$1["BELGIUM"] = "nl-BE";
256
- REGION$1["UNITED_KINGDOM"] = "gb";
257
- return REGION$1;
198
+ let THEME_ICON_STYLE_VARIANT = /* @__PURE__ */ function(THEME_ICON_STYLE_VARIANT) {
199
+ THEME_ICON_STYLE_VARIANT["SECONDARY_WITH_BACKGROUND"] = "secondary-with-background";
200
+ return THEME_ICON_STYLE_VARIANT;
258
201
  }({});
259
- let TOOLTIP_COLOR = /* @__PURE__ */ function(TOOLTIP_COLOR$1) {
260
- TOOLTIP_COLOR$1["DEFAULT"] = "default";
261
- TOOLTIP_COLOR$1["WHITE"] = "white";
262
- return TOOLTIP_COLOR$1;
202
+ let COLOR = /* @__PURE__ */ function(COLOR) {
203
+ COLOR["PRIMARY"] = "primary";
204
+ COLOR["BLACK"] = "black";
205
+ COLOR["NAVY_BLUE"] = "navy-blue";
206
+ COLOR["LIGHT_BLUE"] = "light-blue";
207
+ COLOR["LIGHT_BLUE_DISABLED"] = "light-blue-disabled";
208
+ COLOR["GREEN"] = "green";
209
+ COLOR["GREEN_LIGHT"] = "green-light";
210
+ COLOR["SECONDARY"] = "secondary";
211
+ COLOR["SECONDARY_LIGHT"] = "secondary-light";
212
+ COLOR["ORANGE"] = "orange";
213
+ COLOR["ORANGE_LIGHT"] = "orange-light";
214
+ COLOR["ACCENT_BLUE"] = "accent-blue";
215
+ COLOR["ACCENT_BLUE_LIGHT"] = "accent-blue-light";
216
+ COLOR["YELLOW"] = "yellow";
217
+ COLOR["CHECK"] = "check";
218
+ COLOR["WARNING"] = "warning";
219
+ COLOR["ERROR"] = "error";
220
+ COLOR["SUCCESS"] = "success";
221
+ COLOR["WARNING_LIGHT"] = "warning-light";
222
+ COLOR["ULTRA_LIGHT_BLUE"] = "ultra-light-blue";
223
+ COLOR["ULTRA_LIGHT_GRAY"] = "ultra-light-gray";
224
+ COLOR["ULTRA_LIGHT_BLUE_GRAY"] = "ultra-light-blue-gray";
225
+ COLOR["TURQUOISE"] = "turquoise";
226
+ COLOR["RED"] = "red";
227
+ COLOR["DARK_GRAY"] = "dark-gray";
228
+ COLOR["GRAY"] = "gray";
229
+ COLOR["WHITE"] = "white";
230
+ COLOR["PURPLE"] = "purple";
231
+ COLOR["PURPLE_LIGHT"] = "purple-light";
232
+ COLOR["NAVY_BLUE_SHADES"] = "navy-blue-shades";
233
+ return COLOR;
263
234
  }({});
264
-
265
235
  //#endregion
266
236
  //#region src/utils/formatIcon.ts
267
237
  const globalDefaultFormatAttributes = {};
@@ -276,13 +246,12 @@ function formatIcon(icon, defaultFormatAttributes) {
276
246
  ...globalDefaultFormatAttributes,
277
247
  ...defaultFormatAttributes,
278
248
  ...icon.props,
279
- ...{ className: clsx(globalDefaultFormatAttributes.className, defaultFormatAttributes.className, icon.props.className) }
249
+ className: clsx(globalDefaultFormatAttributes.className, defaultFormatAttributes.className, icon.props.className)
280
250
  });
281
251
  }
282
-
283
252
  //#endregion
284
253
  //#region src/components/actionIcon/index.tsx
285
- const ActionIcon = ({ ref, title, disabled = false, styleVariant = "default", icon, type = "button", "data-testid": testId, iconSize = 20, strokeWidth = 1, onClick, className,...props }) => {
254
+ const ActionIcon = ({ ref, title, disabled = false, styleVariant = "default", icon, type = "button", "data-testid": testId, iconSize = 20, strokeWidth = 1, onClick, className, ...props }) => {
286
255
  const variantClassNames = clsx({
287
256
  "active:translate-y-[1px] content-center flex items-center justify-center rounded-[4px] border border-gray-200 hover:border-black text-black child:p-10 w-[36px] h-[36px] disabled:text-gray-500": styleVariant === ACTION_ICON_STYLE_VARIANT.DEFAULT,
288
257
  "active:translate-y-[1px] border-none content-center flex items-center justify-center rounded-[4px] border text-black child:p-10 w-[36px] h-[36px] disabled:text-gray-500": styleVariant === ACTION_ICON_STYLE_VARIANT.TRANSPARENT,
@@ -312,12 +281,11 @@ const ActionIcon = ({ ref, title, disabled = false, styleVariant = "default", ic
312
281
  }) });
313
282
  };
314
283
  ActionIcon.displayName = "ActionIcon";
315
-
316
284
  //#endregion
317
285
  //#region src/components/alert/index.tsx
318
- const Alert = ({ show, title, description, type = "warning", button, plain = false, closable = false, className, icon, onClose,...props }) => {
286
+ const Alert = ({ show, title, description, type = "warning", button, plain = false, closable = false, className, icon, onClose, ...props }) => {
319
287
  if (!show || !title) return null;
320
- const typeConfig = {
288
+ const { bg, iconColor, Icon } = {
321
289
  success: {
322
290
  bg: "bg-green-light",
323
291
  iconColor: "text-green",
@@ -333,16 +301,14 @@ const Alert = ({ show, title, description, type = "warning", button, plain = fal
333
301
  iconColor: "text-red-500",
334
302
  Icon: IconAlertCircle
335
303
  }
336
- };
337
- const config = typeConfig[type];
338
- const { bg, iconColor, Icon } = config;
339
- const descriptionId = description ? "alert-desc" : undefined;
304
+ }[type];
305
+ const descriptionId = description ? "alert-desc" : void 0;
340
306
  return /* @__PURE__ */ jsxs("div", {
341
307
  role: "alert",
342
308
  "aria-live": "assertive",
343
309
  "aria-atomic": "true",
344
310
  "aria-describedby": descriptionId,
345
- className: cn("flex justify-between items-start rounded-md px-5 py-3", bg, plain && "border-none py-4 text-sm font-medium", className),
311
+ className: cn("flex justify-between items-start rounded-md px-5 py-3", bg, plain && "border-none py-4 yo-text-small-medium", className),
346
312
  "data-component": "Alert",
347
313
  "data-testid": "alert",
348
314
  ...props,
@@ -361,17 +327,17 @@ const Alert = ({ show, title, description, type = "warning", button, plain = fal
361
327
  "data-testid": "alert-icon",
362
328
  "aria-hidden": "true"
363
329
  })), /* @__PURE__ */ jsx("span", {
364
- className: "yo-text-base",
330
+ className: "yo-text-body",
365
331
  children: title
366
332
  })]
367
333
  }),
368
334
  description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", {
369
335
  id: descriptionId,
370
- className: "text-sm text-color-gray-900",
336
+ className: "yo-text-small text-color-gray-900",
371
337
  children: description
372
338
  }) : /* @__PURE__ */ jsx("div", {
373
339
  id: descriptionId,
374
- className: "text-sm text-color-gray-900",
340
+ className: "yo-text-small text-color-gray-900",
375
341
  children: description
376
342
  })),
377
343
  button && /* @__PURE__ */ jsx("div", { children: button })
@@ -390,7 +356,6 @@ const Alert = ({ show, title, description, type = "warning", button, plain = fal
390
356
  });
391
357
  };
392
358
  Alert.displayName = "Alert";
393
-
394
359
  //#endregion
395
360
  //#region src/components/appleAppButtonIcon/index.tsx
396
361
  const AppleAppButtonIcon = (props) => /* @__PURE__ */ jsxs("svg", {
@@ -531,10 +496,9 @@ const AppleAppButtonIcon = (props) => /* @__PURE__ */ jsxs("svg", {
531
496
  })
532
497
  }) })]
533
498
  });
534
-
535
499
  //#endregion
536
500
  //#region src/icons/IconLoading.tsx
537
- const IconLoading = ({ className,...props }) => /* @__PURE__ */ jsxs("svg", {
501
+ const IconLoading = ({ className, ...props }) => /* @__PURE__ */ jsxs("svg", {
538
502
  "data-component": "button",
539
503
  "data-testid": "loading-svg-button",
540
504
  viewBox: "0 0 256 256",
@@ -618,10 +582,9 @@ const IconLoading = ({ className,...props }) => /* @__PURE__ */ jsxs("svg", {
618
582
  })
619
583
  ]
620
584
  });
621
-
622
585
  //#endregion
623
586
  //#region src/components/textInput/index.tsx
624
- const TextInput = React.forwardRef(({ rightSection, leftSection, className, error, autoFocus, label, maxLength, enablePasswordManagerAutofill = false, onBlur, disabled, loadingState, onKeyDown, min = "0", max, autoComplete, showRightSection = true, step, wrapperClassName, password = false,...props }, ref) => {
587
+ const TextInput = React.forwardRef(({ rightSection, leftSection, className, error, autoFocus, label, maxLength, enablePasswordManagerAutofill = false, onBlur, disabled, loadingState, onKeyDown, min = "0", max, autoComplete, showRightSection = true, step, wrapperClassName, password = false, ...props }, ref) => {
625
588
  const [showPassword, setShowPassword] = React.useState(false);
626
589
  return /* @__PURE__ */ jsxs("div", {
627
590
  "data-component": "TextInput",
@@ -630,14 +593,14 @@ const TextInput = React.forwardRef(({ rightSection, leftSection, className, erro
630
593
  children: [
631
594
  typeof label === "string" ? /* @__PURE__ */ jsx("label", {
632
595
  htmlFor: props.id,
633
- className: "mb-2 flex items-center gap-1 text-xs font-medium text-black",
596
+ className: "mb-2 flex items-center gap-1 yo-text-label",
634
597
  children: label
635
598
  }) : label,
636
599
  /* @__PURE__ */ jsxs("div", {
637
600
  className: "relative",
638
601
  children: [
639
602
  leftSection && /* @__PURE__ */ jsx("div", {
640
- className: clsx("absolute top-0 left-0 flex h-10 w-12 content-center items-center justify-center align-middle text-sm font-medium text-black"),
603
+ className: clsx("absolute top-0 left-0 flex h-10 w-12 content-center items-center justify-center align-middle yo-text-small font-medium text-black"),
641
604
  children: leftSection
642
605
  }),
643
606
  /* @__PURE__ */ jsx("input", {
@@ -651,25 +614,25 @@ const TextInput = React.forwardRef(({ rightSection, leftSection, className, erro
651
614
  step,
652
615
  maxLength,
653
616
  className: clsx(`${loadingState ? "cursor-not-allowed" : ""}`, `${disabled ? "text-gray-500" : "text-gray-900"} selection:bg-turquoise-200 focus:border-turquoise-500 focus:ring-turquoise-500 active:border-turquoise-500 active:ring-turquoise-500 h-10 w-full rounded-[4px] border border-gray-200 bg-ultra-light-gray px-3 text-sm font-normal outline-hidden ${rightSection && "pr-12"} ${leftSection && "pl-12"} ${error && "border-red-500 text-red-500 selection:bg-red-200 focus:border-red-500 focus:ring-red-500 focus:placeholder:text-red-500 active:border-red-500 active:ring-red-500"}`, className),
654
- "aria-busy": loadingState || undefined,
655
- "data-lpignore": enablePasswordManagerAutofill ? undefined : "true",
656
- "data-1p-ignore": enablePasswordManagerAutofill ? undefined : "true",
617
+ "aria-busy": loadingState || void 0,
618
+ "data-lpignore": enablePasswordManagerAutofill ? void 0 : "true",
619
+ "data-1p-ignore": enablePasswordManagerAutofill ? void 0 : "true",
657
620
  ref,
658
621
  ...props,
659
622
  type: password ? showPassword ? "text" : "password" : "text"
660
623
  }),
661
624
  loadingState ? /* @__PURE__ */ jsx("div", {
662
- className: "absolute inset-y-0 right-0 flex h-10 w-12 content-center items-center justify-center align-middle text-sm font-medium text-black",
625
+ className: "absolute inset-y-0 right-0 flex h-10 w-12 content-center items-center justify-center align-middle yo-text-small-medium text-black",
663
626
  children: /* @__PURE__ */ jsx(IconLoading, {
664
627
  className: "h-4 w-4 animate-spin text-gray-500",
665
628
  "aria-label": "Loading"
666
629
  })
667
630
  }) : rightSection && showRightSection && /* @__PURE__ */ jsx("div", {
668
- className: "absolute inset-y-0 right-0 flex h-10 w-12 content-center items-center justify-center align-middle text-sm font-medium text-black",
631
+ className: "absolute inset-y-0 right-0 flex h-10 w-12 content-center items-center justify-center align-middle yo-text-small-medium text-black",
669
632
  children: rightSection
670
633
  }),
671
634
  password && /* @__PURE__ */ jsx("div", {
672
- className: "absolute inset-y-0 right-4 flex content-center items-center justify-center align-middle text-sm font-medium text-black",
635
+ className: "absolute inset-y-0 right-4 flex content-center items-center justify-center align-middle yo-text-small-medium text-black",
673
636
  children: showPassword ? /* @__PURE__ */ jsx(IconEyeCheck, {
674
637
  "data-testid": "password-visibility-toggle",
675
638
  className: "cursor-pointer text-gray-500",
@@ -685,13 +648,12 @@ const TextInput = React.forwardRef(({ rightSection, leftSection, className, erro
685
648
  ]
686
649
  }),
687
650
  error && /* @__PURE__ */ jsx("div", {
688
- className: "mt-2 text-xs font-normal text-red-500",
651
+ className: "mt-2 yo-text-caption text-red-500",
689
652
  children: error
690
653
  })
691
654
  ]
692
655
  });
693
656
  });
694
-
695
657
  //#endregion
696
658
  //#region src/components/autoCompleteInput/index.tsx
697
659
  const AutoCompleteInput = ({ label, onChange, onFocus, inputValue, showSuggestions, handleOnKeyDown, children, error, rightSection, inputRef }) => /* @__PURE__ */ jsxs("div", {
@@ -712,7 +674,6 @@ const AutoCompleteInput = ({ label, onChange, onFocus, inputValue, showSuggestio
712
674
  "aria-controls": "suggestions-googlemaps-location-list"
713
675
  }), showSuggestions && inputValue && children]
714
676
  });
715
-
716
677
  //#endregion
717
678
  //#region src/components/avatar/index.tsx
718
679
  const radiusFormatter = {
@@ -738,10 +699,9 @@ const Avatar = ({ src, alt = "", size = 50, radius = 100, "data-testid": dataTes
738
699
  })
739
700
  });
740
701
  Avatar.displayName = "Avatar";
741
-
742
702
  //#endregion
743
703
  //#region src/components/avatarIndicator/index.tsx
744
- const AvatarIndicator = ({ indicatorCount, className,...props }) => /* @__PURE__ */ jsx("div", {
704
+ const AvatarIndicator = ({ indicatorCount, className, ...props }) => /* @__PURE__ */ jsx("div", {
745
705
  className: cn("grid h-5 min-w-5 w-fit flex-col place-content-center items-center justify-center rounded-full bg-white px-0.5", className),
746
706
  "data-component": "AvatarIndicator",
747
707
  "data-testid": "AvatarIndicator",
@@ -751,15 +711,14 @@ const AvatarIndicator = ({ indicatorCount, className,...props }) => /* @__PURE__
751
711
  children: `+${indicatorCount}`
752
712
  })
753
713
  });
754
-
755
714
  //#endregion
756
715
  //#region src/components/badge/index.tsx
757
- const Badge = ({ styleVariant = COLOR.ACCENT_BLUE, className, favorite, children,...props }) => {
716
+ const Badge = ({ styleVariant = COLOR.ACCENT_BLUE, className, favorite, children, ...props }) => {
758
717
  if (!children) return null;
759
718
  return /* @__PURE__ */ jsx("span", {
760
719
  "data-testid": "badge",
761
720
  "data-component": "Badge",
762
- className: cn("inline-flex max-w-full place-content-center items-center px-2.5 align-middle text-xs leading-[20px] font-semibold tracking-wide text-wrap whitespace-normal normal-case rounded-sm", {
721
+ className: cn("inline-flex max-w-full place-content-center items-center px-2.5 align-middle yo-text-label leading-[20px] tracking-wide text-wrap whitespace-normal normal-case rounded-sm", {
763
722
  "bg-accent-blue-light text-accent-blue": styleVariant === COLOR.ACCENT_BLUE,
764
723
  "bg-green-light text-green": styleVariant === COLOR.GREEN_LIGHT,
765
724
  "bg-red-50 text-red-500": styleVariant === COLOR.RED,
@@ -781,13 +740,12 @@ const Badge = ({ styleVariant = COLOR.ACCENT_BLUE, className, favorite, children
781
740
  });
782
741
  };
783
742
  Badge.displayName = "Badge";
784
-
785
743
  //#endregion
786
744
  //#region src/components/bigBadge/index.tsx
787
- const BigBadge = ({ styleVariant = COLOR.GREEN, className, children,...props }) => /* @__PURE__ */ jsx("div", {
745
+ const BigBadge = ({ styleVariant = COLOR.GREEN, className, children, ...props }) => /* @__PURE__ */ jsx("div", {
788
746
  "data-component": "BigBadge",
789
747
  "data-testid": "big-badge",
790
- className: cn("grid h-9 max-w-full min-w-[140px] place-content-center rounded-full border border-solid px-6 py-1 text-sm font-medium whitespace-nowrap lowercase", {
748
+ className: cn("grid h-9 max-w-full min-w-[140px] place-content-center rounded-full border border-solid px-6 py-1 yo-text-small-medium whitespace-nowrap lowercase", {
791
749
  "border-green text-green bg-white": styleVariant === COLOR.GREEN,
792
750
  "border-accent-blue text-accent-blue bg-white": styleVariant === COLOR.ACCENT_BLUE,
793
751
  "border-orange text-orange bg-white": styleVariant === COLOR.ORANGE,
@@ -800,7 +758,6 @@ const BigBadge = ({ styleVariant = COLOR.GREEN, className, children,...props })
800
758
  ...props,
801
759
  children
802
760
  });
803
-
804
761
  //#endregion
805
762
  //#region src/components/breadCrumb/index.tsx
806
763
  const BreadCrumb = ({ children, LinkText }) => /* @__PURE__ */ jsx(LinkText, {
@@ -812,7 +769,6 @@ const BreadCrumb = ({ children, LinkText }) => /* @__PURE__ */ jsx(LinkText, {
812
769
  })] })
813
770
  });
814
771
  BreadCrumb.displayName = "BreadCrumb";
815
-
816
772
  //#endregion
817
773
  //#region src/components/button/buttonVariants.ts
818
774
  const defaultButtonStyling = "justify-center group relative flex items-center gap-2 cursor-pointer border rounded py-2 px-5 text-sx md:text-sm md:font-medium font-medium hover:outline-hidden focus:outline-hidden disabled:cursor-not-allowed transition-colors duration-100 ease-in-out";
@@ -821,16 +777,15 @@ const buttonVariants = {
821
777
  secondary: clsx(defaultButtonStyling, "border-solid border-gray-200 bg-white text-black hover:border-gray-800 hover:bg-gray-50 hover:fill-white disabled:text-gray-800 disabled:hover:border-gray-200 disabled:hover:bg-white"),
822
778
  danger: clsx(defaultButtonStyling, "border-transparent bg-red-500 text-white hover:bg-red-700 disabled:bg-red-100 disabled:hover:bg-red-100"),
823
779
  link: clsx(defaultButtonStyling, "border-transparent bg-transparent text-accent-blue hover:bg-gray-50 disabled:bg-transparent disabled:text-gray-800 disabled:hover:bg-transparent"),
824
- outline: clsx(defaultButtonStyling, "border-solid border-gray-200 bg-transparent text-white hover:border-gray-800 hover:bg-[rgba(255,255,255,0.1)] disabled:text-gray-800 disabled:hover:border-gray-200 disabled:hover:bg-white"),
780
+ outline: clsx(defaultButtonStyling, "border-solid border-gray-200 bg-transparent hover:border-gray-800 hover:bg-[rgba(255,255,255,0.1)] disabled:text-gray-800 disabled:hover:border-gray-200 disabled:hover:bg-white"),
825
781
  search: clsx(defaultButtonStyling, "absolute top-0 right-0 h-full w-[50px] border-0 bg-transparent bg-no-repeat"),
826
782
  icon__primary: clsx(defaultButtonStyling, "flex! items-center justify-center"),
827
783
  icon__danger: clsx(defaultButtonStyling, "flex! items-center justify-center"),
828
784
  action: clsx(defaultButtonStyling, "w-full bg-transparent border border-gray-200 whitespace-nowrap", "lg:w-[36px] lg:h-[36px]", "lg:p-0 lg:gap-0", "lg:hover:bg-transparent lg:hover:border-black", "lg:[&_svg]:-ml-2 lg:[&_svg]:-mr-2")
829
785
  };
830
-
831
786
  //#endregion
832
787
  //#region src/components/button/index.tsx
833
- function Button({ type = "button", variant = "primary", ariaLabel, block = false, isLoading = false, icon: iconFromProps = null, iconRight = false, onClick, className, children, dataTestId,...props }) {
788
+ function Button({ type = "button", variant = "primary", ariaLabel, block = false, isLoading = false, icon: iconFromProps = null, iconRight = false, onClick, className, children, dataTestId, ...props }) {
834
789
  const loadingIcon = /* @__PURE__ */ jsx(IconLoading, { className: "animate-spin-slow mr-2 stroke-current" });
835
790
  const icon = isLoading ? loadingIcon : iconFromProps;
836
791
  const formattedIcon = icon ? formatIcon(icon, { className: clsx({
@@ -844,7 +799,7 @@ function Button({ type = "button", variant = "primary", ariaLabel, block = false
844
799
  type,
845
800
  "aria-label": ariaLabel,
846
801
  "data-testid": dataTestId,
847
- className: cn(buttonVariants[variant], className, block && "w-full text-sm"),
802
+ className: cn(buttonVariants[variant], className, block && "w-full yo-text-small"),
848
803
  onClick: handleOnClick,
849
804
  ...props,
850
805
  children: [
@@ -855,10 +810,9 @@ function Button({ type = "button", variant = "primary", ariaLabel, block = false
855
810
  });
856
811
  }
857
812
  Button.displayName = "Button";
858
-
859
813
  //#endregion
860
814
  //#region src/components/checkbox/index.tsx
861
- const CheckboxComponent = ({ size = "md", className, error, mediumBoldText, label, labelClassName, indeterminate = false, disabled = false,...props }, ref) => /* @__PURE__ */ jsxs("div", {
815
+ const CheckboxComponent = ({ size = "md", className, error, mediumBoldText, label, labelClassName, indeterminate = false, disabled = false, ...props }, ref) => /* @__PURE__ */ jsxs("div", {
862
816
  "data-testid": "checkbox-wrapper",
863
817
  className: cn("relative grid gap-2", className),
864
818
  children: [/* @__PURE__ */ jsxs("label", {
@@ -907,19 +861,18 @@ const CheckboxComponent = ({ size = "md", className, error, mediumBoldText, labe
907
861
  ]
908
862
  }), label && /* @__PURE__ */ jsx("span", {
909
863
  "data-testid": "checkbox-label",
910
- className: cn("grow text-sm font-normal", labelClassName, { "font-medium": mediumBoldText }),
864
+ className: cn("grow yo-text-small", labelClassName, { "font-medium": mediumBoldText }),
911
865
  children: label
912
866
  })]
913
867
  }), error && /* @__PURE__ */ jsx("small", {
914
- className: "text-xs font-normal text-red-500",
868
+ className: "yo-text-caption text-red-500",
915
869
  children: error
916
870
  })]
917
871
  });
918
872
  const Checkbox = forwardRef(CheckboxComponent);
919
-
920
873
  //#endregion
921
874
  //#region src/components/popover/index.tsx
922
- const Popover = forwardRef(({ content, children, hoverEnabled = false, passedOpen = false, placement = "right", style = "card", isMobile = false, className }, ref) => {
875
+ const Popover = forwardRef(({ content, children, hoverEnabled = false, passedOpen = false, placement = "right", style = "card", isMobile = false, className, gradientVariant = "client" }, ref) => {
923
876
  const [isOpen, setIsOpen] = useState(passedOpen);
924
877
  const mobileStyles = { width: `${style === "card" && "100%"}` };
925
878
  const { refs, floatingStyles, context } = useFloating({
@@ -942,16 +895,13 @@ const Popover = forwardRef(({ content, children, hoverEnabled = false, passedOpe
942
895
  });
943
896
  const focus = useFocus(context);
944
897
  const hover = useHover(context, { enabled: hoverEnabled });
945
- const dismiss = useDismiss(context);
946
- const role = useRole(context, { role: "tooltip" });
947
- const interactions = [
898
+ const { getReferenceProps, getFloatingProps } = useInteractions([
948
899
  click,
949
900
  focus,
950
- dismiss,
951
- role,
901
+ useDismiss(context),
902
+ useRole(context, { role: "tooltip" }),
952
903
  hover
953
- ];
954
- const { getReferenceProps, getFloatingProps } = useInteractions(interactions);
904
+ ]);
955
905
  useImperativeHandle(ref, () => ({
956
906
  closePopover: () => setIsOpen(false),
957
907
  openPopover: () => setIsOpen(true),
@@ -977,7 +927,7 @@ const Popover = forwardRef(({ content, children, hoverEnabled = false, passedOpe
977
927
  "data-testid": "popover-container",
978
928
  "data-component": "Popover",
979
929
  children: [style === "minimal" && content, style === "card" && /* @__PURE__ */ jsx("div", {
980
- className: "bg-linear-gradient-x pt-[3px]",
930
+ className: cn("pt-[3px]", gradientVariant === "client" && "bg-gradient-blue-turquoise", gradientVariant === "agency" && "bg-gradient-blue-purple"),
981
931
  children: /* @__PURE__ */ jsxs("div", {
982
932
  className: "relative overflow-hidden bg-white p-5",
983
933
  children: [!hoverEnabled && /* @__PURE__ */ jsx(ActionIcon, {
@@ -992,12 +942,11 @@ const Popover = forwardRef(({ content, children, hoverEnabled = false, passedOpe
992
942
  })]
993
943
  });
994
944
  });
995
-
996
945
  //#endregion
997
946
  //#region src/components/datePickerInput/index.tsx
998
947
  const DatePickerInput = ({ lang, todayText, value, disabledFrom, disabledUntil, className, error, onChange, placeholder, label, disabled, minimalDropdownYears = 4 }) => {
999
948
  const [selected, setSelected] = useState(value);
1000
- const today = new Date();
949
+ const today = /* @__PURE__ */ new Date();
1001
950
  const [newMonth, setNewMonth] = useState(selected || today);
1002
951
  const [dropdownOpened, setDropdownOpened] = useState({
1003
952
  month: false,
@@ -1076,23 +1025,23 @@ const DatePickerInput = ({ lang, todayText, value, disabledFrom, disabledUntil,
1076
1025
  fixedWeeks: true,
1077
1026
  endMonth: addMonths(today, 13),
1078
1027
  captionLayout: "dropdown",
1079
- onMonthChange: (newMonth$1) => setNewMonth(newMonth$1),
1028
+ onMonthChange: (newMonth) => setNewMonth(newMonth),
1080
1029
  showOutsideDays: true,
1081
- disabled: disabledFrom ? { before: disabledFrom } : disabledUntil ? { after: disabledUntil } : undefined,
1030
+ disabled: disabledFrom ? { before: disabledFrom } : disabledUntil ? { after: disabledUntil } : void 0,
1082
1031
  className,
1083
1032
  classNames: {
1084
1033
  month_grid: "mt-3 max-w-[400px] border-t border-gray-100",
1085
- month_caption: "text-sm font-bold",
1034
+ month_caption: "yo-text-small font-bold",
1086
1035
  dropdowns: "flex items-center w-[190px] gap-1 left-0 justify-center h-8",
1087
- caption_label: "text-sm font-medium flex items-center justify-center w-[190px]",
1036
+ caption_label: "yo-text-small-medium flex items-center justify-center w-[190px]",
1088
1037
  chevron: "w-4 h-4 z-50",
1089
1038
  nav: "absolute w-[190px] justify-between flex h-8 items-center",
1090
1039
  nav_button: "h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100 cursor-pointer",
1091
1040
  nav_button_previous: "absolute left-1",
1092
1041
  nav_button_next: "absolute right-1",
1093
- day: "h-8 w-8 p-0 aria-selected:opacity-100 font-normal text-sm",
1042
+ day: "h-8 w-8 p-0 aria-selected:opacity-100 font-normal yo-text-small",
1094
1043
  weekdays: "pt-12",
1095
- weekday: "text-gray-300 text-sm font-normal pt-4 pb-2",
1044
+ weekday: "text-gray-300 yo-text-small pt-4 pb-2",
1096
1045
  day_today: "bg-accent text-accent-foreground",
1097
1046
  day_outside: "day-outside text-gray-800 aria-selected:bg-accent/50 aria-selected:text-muted-foreground aria-selected:opacity-30",
1098
1047
  day_disabled: "text-gray-800",
@@ -1101,12 +1050,12 @@ const DatePickerInput = ({ lang, todayText, value, disabledFrom, disabledUntil,
1101
1050
  },
1102
1051
  components: {
1103
1052
  DayButton: (props) => {
1104
- const { day,...buttonProps } = props;
1053
+ const { day, ...buttonProps } = props;
1105
1054
  const { goToMonth } = useDayPicker();
1106
1055
  return /* @__PURE__ */ jsx("button", {
1107
1056
  type: "button",
1108
1057
  ...buttonProps,
1109
- className: clsx("m-1 size-8 text-black transition-all duration-100 ease-in-out", "md:hover:bg-gradient-calendar hover:rounded md:hover:text-white", isDateSelected(day) && "bg-gradient-calendar rounded text-sm font-normal text-white", isDateToday(day) && "border-b-primary border border-transparent", "translate-y-0 active:translate-y-0.5"),
1058
+ className: clsx("m-1 size-8 text-black transition-all duration-100 ease-in-out", "md:hover:bg-gradient-calendar hover:rounded md:hover:text-white", isDateSelected(day) && "bg-gradient-calendar rounded yo-text-small text-white", isDateToday(day) && "border-b-primary border border-transparent", "translate-y-0 active:translate-y-0.5"),
1110
1059
  onClick: () => {
1111
1060
  goToMonth(day.date);
1112
1061
  handleDayClick(day.date);
@@ -1116,7 +1065,7 @@ const DatePickerInput = ({ lang, todayText, value, disabledFrom, disabledUntil,
1116
1065
  Dropdown: (props) => {
1117
1066
  const { goToMonth, months } = useDayPicker();
1118
1067
  const { className: dropdownClassName } = props;
1119
- const today$1 = new Date();
1068
+ const today = /* @__PURE__ */ new Date();
1120
1069
  /* istanbul ignore next - react-day-picker may not pass this className in our test env */
1121
1070
  if (dropdownClassName === "rdp-months_dropdown") {
1122
1071
  const selectedYear = newMonth.getFullYear();
@@ -1142,8 +1091,7 @@ const DatePickerInput = ({ lang, todayText, value, disabledFrom, disabledUntil,
1142
1091
  className: "shadow-dropdown absolute z-70 rounded-md border border-gray-50 bg-white",
1143
1092
  children: selectItems.map((item) => /* @__PURE__ */ jsx("div", {
1144
1093
  onClick: () => {
1145
- const newDate = new Date(selectedYear, parseInt(item.value));
1146
- goToMonth(newDate);
1094
+ goToMonth(new Date(selectedYear, parseInt(item.value)));
1147
1095
  setDropdownOpened({
1148
1096
  month: false,
1149
1097
  year: false
@@ -1156,16 +1104,16 @@ const DatePickerInput = ({ lang, todayText, value, disabledFrom, disabledUntil,
1156
1104
  }), /* @__PURE__ */ jsx(Button, {
1157
1105
  variant: "secondary",
1158
1106
  type: "button",
1159
- className: "absolute top-4 right-4 z-10 h-8 px-3 text-xs font-normal",
1107
+ className: "absolute top-4 right-4 z-10 h-8 px-3 yo-text-small",
1160
1108
  onClick: () => {
1161
- goToMonth(today$1);
1162
- handleDayClick(today$1);
1109
+ goToMonth(today);
1110
+ handleDayClick(today);
1163
1111
  },
1164
1112
  children: todayText
1165
1113
  })] });
1166
1114
  } else if (dropdownClassName === "rdp-years_dropdown") {
1167
- const earliestYear = new Date().getFullYear() - minimalDropdownYears;
1168
- const latestYear = new Date().getFullYear() + 1;
1115
+ const earliestYear = (/* @__PURE__ */ new Date()).getFullYear() - minimalDropdownYears;
1116
+ const latestYear = (/* @__PURE__ */ new Date()).getFullYear() + 1;
1169
1117
  /* istanbul ignore else - defensive guard will always be truthy */
1170
1118
  if (earliestYear && latestYear) {
1171
1119
  const years = Array.from({ length: latestYear - earliestYear + 1 }, (_, i) => earliestYear + i).reverse();
@@ -1184,7 +1132,7 @@ const DatePickerInput = ({ lang, todayText, value, disabledFrom, disabledUntil,
1184
1132
  className: "shadow-dropdown absolute z-70 rounded-md border border-gray-50 bg-white max-h-64 overflow-y-auto",
1185
1133
  children: years.map((year) => /* @__PURE__ */ jsx("div", {
1186
1134
  onClick: () => {
1187
- const newDate = months?.[0].date || new Date();
1135
+ const newDate = months?.[0].date || /* @__PURE__ */ new Date();
1188
1136
  newDate.setFullYear(year);
1189
1137
  goToMonth(newDate);
1190
1138
  setDropdownOpened({
@@ -1210,7 +1158,7 @@ const DatePickerInput = ({ lang, todayText, value, disabledFrom, disabledUntil,
1210
1158
  className: cn("relative", className),
1211
1159
  children: [
1212
1160
  label && /* @__PURE__ */ jsx("label", {
1213
- className: "mb-2 flex items-center gap-1 text-xs font-medium",
1161
+ className: "mb-2 flex items-center gap-1 yo-text-label",
1214
1162
  children: label
1215
1163
  }),
1216
1164
  /* @__PURE__ */ jsxs(Button, {
@@ -1226,23 +1174,23 @@ const DatePickerInput = ({ lang, todayText, value, disabledFrom, disabledUntil,
1226
1174
  children: [
1227
1175
  /* @__PURE__ */ jsx(IconCalendar, {}),
1228
1176
  /* @__PURE__ */ jsx("span", {
1229
- className: "text-sm font-normal text-nowrap text-black",
1177
+ className: "yo-text-small text-nowrap text-black",
1230
1178
  children: selected ? selected.toLocaleDateString() : placeholder
1231
1179
  }),
1232
- selected !== undefined && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("span", {
1233
- className: "cursor-pointer text-sm font-normal text-gray-800",
1180
+ selected !== void 0 && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("span", {
1181
+ className: "cursor-pointer yo-text-small text-gray-800",
1234
1182
  role: "button",
1235
1183
  "aria-label": "Clear date",
1236
1184
  tabIndex: 0,
1237
1185
  onClick: () => {
1238
- setSelected(undefined);
1239
- onChange?.(undefined);
1186
+ setSelected(void 0);
1187
+ onChange?.(void 0);
1240
1188
  },
1241
1189
  onKeyDown: (e) => {
1242
1190
  if (e.key === "Enter" || e.key === " ") {
1243
1191
  e.preventDefault();
1244
- setSelected(undefined);
1245
- onChange?.(undefined);
1192
+ setSelected(void 0);
1193
+ onChange?.(void 0);
1246
1194
  }
1247
1195
  },
1248
1196
  children: /* @__PURE__ */ jsx(IconX, { size: 15 })
@@ -1250,26 +1198,24 @@ const DatePickerInput = ({ lang, todayText, value, disabledFrom, disabledUntil,
1250
1198
  ]
1251
1199
  }),
1252
1200
  error && /* @__PURE__ */ jsx("small", {
1253
- className: "text-xs font-normal text-red-500",
1201
+ className: "yo-text-caption text-red-500",
1254
1202
  children: error
1255
1203
  })
1256
1204
  ]
1257
1205
  })
1258
1206
  });
1259
1207
  };
1260
-
1261
1208
  //#endregion
1262
1209
  //#region src/components/divider/index.tsx
1263
- const Divider = ({ className,...props }) => /* @__PURE__ */ jsx("div", {
1210
+ const Divider = ({ className, ...props }) => /* @__PURE__ */ jsx("div", {
1264
1211
  "data-component": "divider",
1265
1212
  className: clsx("block h-px w-full bg-gray-200", className),
1266
1213
  ...props
1267
1214
  });
1268
-
1269
1215
  //#endregion
1270
1216
  //#region src/components/favouriteButton/index.tsx
1271
1217
  const FavouriteButton = forwardRef((props, ref) => {
1272
- const { onClick, favourite, iconFilled, iconOutline, favouriteTitle, iconColorSelected = "text-secondary", iconColor = "text-gray-800", iconSize, className = "", styleVariant = "transparent", children,...rest } = props;
1218
+ const { onClick, favourite, iconFilled, iconOutline, favouriteTitle, iconColorSelected = "text-secondary", iconColor = "text-gray-800", iconSize, className = "", styleVariant = "transparent", children, ...rest } = props;
1273
1219
  return /* @__PURE__ */ jsx(ActionIcon, {
1274
1220
  onClick,
1275
1221
  "data-component": "favouriteButton",
@@ -1283,7 +1229,6 @@ const FavouriteButton = forwardRef((props, ref) => {
1283
1229
  children
1284
1230
  });
1285
1231
  });
1286
-
1287
1232
  //#endregion
1288
1233
  //#region src/components/filters/FilterButton.tsx
1289
1234
  const FilterButton = ({ onClick, hasFilters, reset, filtersText, resetText }) => /* @__PURE__ */ jsxs("div", {
@@ -1296,17 +1241,16 @@ const FilterButton = ({ onClick, hasFilters, reset, filtersText, resetText }) =>
1296
1241
  icon: /* @__PURE__ */ jsx(IconFilter, { stroke: 1 }),
1297
1242
  children: filtersText
1298
1243
  }), /* @__PURE__ */ jsx(UnstyledButton, {
1299
- className: "text-sm font-normal disabled:text-gray-500",
1244
+ className: "yo-text-small disabled:text-gray-500",
1300
1245
  onClick: reset,
1301
1246
  disabled: !hasFilters,
1302
1247
  children: resetText
1303
1248
  })]
1304
1249
  });
1305
-
1306
1250
  //#endregion
1307
1251
  //#region src/components/filters/FilterItem.tsx
1308
1252
  const FilterItem = ({ title, isActive = false, onClick }) => /* @__PURE__ */ jsxs("label", {
1309
- className: cn("has-checked:border-primary has-checked:bg-turquoise-100 flex cursor-pointer items-center gap-3 rounded-full border border-gray-200 px-7 py-1.5 text-sm leading-6 font-normal transition-all duration-300 ease-in-out hover:bg-gray-50"),
1253
+ className: cn("has-checked:border-primary has-checked:bg-turquoise-100 flex cursor-pointer items-center gap-3 rounded-full border border-gray-200 px-7 py-1.5 yo-text-small leading-6 transition-all duration-300 ease-in-out hover:bg-gray-50"),
1310
1254
  children: [/* @__PURE__ */ jsx("input", {
1311
1255
  type: "checkbox",
1312
1256
  className: "hidden",
@@ -1314,7 +1258,6 @@ const FilterItem = ({ title, isActive = false, onClick }) => /* @__PURE__ */ jsx
1314
1258
  checked: isActive
1315
1259
  }), title]
1316
1260
  });
1317
-
1318
1261
  //#endregion
1319
1262
  //#region src/components/filters/index.tsx
1320
1263
  const Filters = ({ filters, setFilters, selectedFilters, selectedFiltersText, filtersText, resetText }) => {
@@ -1336,7 +1279,7 @@ const Filters = ({ filters, setFilters, selectedFilters, selectedFiltersText, fi
1336
1279
  children: [/* @__PURE__ */ jsxs("div", {
1337
1280
  className: "flex items-center justify-end gap-3",
1338
1281
  children: [/* @__PURE__ */ jsx("span", {
1339
- className: "text-sm font-medium",
1282
+ className: "yo-text-small-medium",
1340
1283
  "data-testid": "filters-title",
1341
1284
  children: selectedFiltersText
1342
1285
  }), /* @__PURE__ */ jsx(FilterButton, {
@@ -1360,7 +1303,6 @@ const Filters = ({ filters, setFilters, selectedFilters, selectedFiltersText, fi
1360
1303
  })]
1361
1304
  });
1362
1305
  };
1363
-
1364
1306
  //#endregion
1365
1307
  //#region src/components/googleAppButtonIcon/index.tsx
1366
1308
  const GoogleAppButtonIcon = (props) => /* @__PURE__ */ jsxs("svg", {
@@ -1552,7 +1494,6 @@ const GoogleAppButtonIcon = (props) => /* @__PURE__ */ jsxs("svg", {
1552
1494
  ]
1553
1495
  })]
1554
1496
  });
1555
-
1556
1497
  //#endregion
1557
1498
  //#region src/components/hamburgerMenuButton/index.tsx
1558
1499
  const HamburgerMenuButton = forwardRef(({ menuState, setMenuState }, ref) => {
@@ -1581,7 +1522,6 @@ const HamburgerMenuButton = forwardRef(({ menuState, setMenuState }, ref) => {
1581
1522
  });
1582
1523
  });
1583
1524
  HamburgerMenuButton.displayName = "HamburgerMenuButton";
1584
-
1585
1525
  //#endregion
1586
1526
  //#region src/components/hr/index.tsx
1587
1527
  const HR = ({ className }) => /* @__PURE__ */ jsx("hr", {
@@ -1589,10 +1529,9 @@ const HR = ({ className }) => /* @__PURE__ */ jsx("hr", {
1589
1529
  className: `h-px w-full border-none bg-gray-200 ${className}`
1590
1530
  });
1591
1531
  HR.displayName = "HR";
1592
-
1593
1532
  //#endregion
1594
1533
  //#region src/components/island/index.tsx
1595
- const Island = ({ children, className, noShadow = false, noPadding = false,...props }) => /* @__PURE__ */ jsx("div", {
1534
+ const Island = ({ children, className, noShadow = false, noPadding = false, ...props }) => /* @__PURE__ */ jsx("div", {
1596
1535
  "data-testid": "island",
1597
1536
  "data-component": "island",
1598
1537
  className: cn("relative bg-white px-5 py-5 md:px-10 md:py-9", {
@@ -1604,7 +1543,6 @@ const Island = ({ children, className, noShadow = false, noPadding = false,...pr
1604
1543
  children
1605
1544
  });
1606
1545
  Island.displayName = "Island";
1607
-
1608
1546
  //#endregion
1609
1547
  //#region src/components/kebabMenu/index.tsx
1610
1548
  const KebabMenu = ({ title, tooltip, content, disabled = false, styleVariant = "default" }) => {
@@ -1667,9 +1605,9 @@ const KebabMenu = ({ title, tooltip, content, disabled = false, styleVariant = "
1667
1605
  children: /* @__PURE__ */ jsx("div", {
1668
1606
  className: "absolute right-0 z-10 mt-2 w-auto min-w-[200px] rounded-md border-[0.0625rem] border-gray-200 bg-white p-1 shadow-md",
1669
1607
  children: content.map((c, index) => {
1670
- const button$1 = /* @__PURE__ */ jsx(UnstyledButton, {
1608
+ const button = /* @__PURE__ */ jsx(UnstyledButton, {
1671
1609
  onClick: () => handleItemClick(c.onClick),
1672
- className: "w-full rounded-md px-4 py-2 text-left text-sm font-normal whitespace-nowrap hover:bg-gray-50",
1610
+ className: "w-full rounded-md px-4 py-2 text-left yo-text-small whitespace-nowrap hover:bg-gray-50",
1673
1611
  "aria-label": "Options Menu Item",
1674
1612
  disabled: c.disabled,
1675
1613
  children: c.title
@@ -1678,25 +1616,23 @@ const KebabMenu = ({ title, tooltip, content, disabled = false, styleVariant = "
1678
1616
  passedOpen: false,
1679
1617
  size: "sm",
1680
1618
  content: c.tooltip,
1681
- children: button$1
1682
- }, index) : /* @__PURE__ */ jsx(Fragment, { children: button$1 }, index);
1619
+ children: button
1620
+ }, index) : /* @__PURE__ */ jsx(Fragment, { children: button }, index);
1683
1621
  })
1684
1622
  })
1685
1623
  })]
1686
1624
  }) });
1687
1625
  };
1688
1626
  KebabMenu.displayName = "KebabMenu";
1689
-
1690
1627
  //#endregion
1691
1628
  //#region src/components/label/index.tsx
1692
- const Label = ({ children, className,...props }) => /* @__PURE__ */ jsx("label", {
1629
+ const Label = ({ children, className, ...props }) => /* @__PURE__ */ jsx("label", {
1693
1630
  "data-component": "label",
1694
1631
  "data-testid": "label",
1695
- className: cn("flex items-center gap-1 text-xs font-medium text-black", className),
1632
+ className: cn("flex items-center gap-1 yo-text-label text-black", className),
1696
1633
  ...props,
1697
1634
  children
1698
1635
  });
1699
-
1700
1636
  //#endregion
1701
1637
  //#region src/components/loader/index.tsx
1702
1638
  const Loader = () => /* @__PURE__ */ jsx("div", {
@@ -1708,7 +1644,6 @@ const Loader = () => /* @__PURE__ */ jsx("div", {
1708
1644
  })
1709
1645
  });
1710
1646
  Loader.displayName = "Loader";
1711
-
1712
1647
  //#endregion
1713
1648
  //#region src/components/logo/index.tsx
1714
1649
  const LogoBlack = (props) => /* @__PURE__ */ jsxs("svg", {
@@ -1778,10 +1713,9 @@ const LogoBlack = (props) => /* @__PURE__ */ jsxs("svg", {
1778
1713
  })
1779
1714
  }) })]
1780
1715
  });
1781
-
1782
1716
  //#endregion
1783
1717
  //#region src/components/modal/index.tsx
1784
- const Modal = ({ title, children, withCloseButton = true, opened, additionalClassNames, closeModalWithConfirmation = false, gradient = true, uncloseAble = false, confirmText = "Are you sure you want to close this modal?", dataTestId, onClose, size }) => {
1718
+ const Modal = ({ title, children, withCloseButton = true, opened, additionalClassNames, closeModalWithConfirmation = false, gradient = true, uncloseAble = false, confirmText = "Are you sure you want to close this modal?", dataTestId, onClose, size, gradientVariant = "client" }) => {
1785
1719
  const ref = useRef(null);
1786
1720
  const refContainer = useRef(null);
1787
1721
  const [isOpen, setIsOpen] = useState(false);
@@ -1862,16 +1796,15 @@ const Modal = ({ title, children, withCloseButton = true, opened, additionalClas
1862
1796
  }),
1863
1797
  title && /* @__PURE__ */ jsx("div", {
1864
1798
  className: "relative w-full pt-14",
1865
- children: /* @__PURE__ */ jsx("h2", {
1866
- className: "mt-0 mb-8 text-left text-3xl font-bold",
1799
+ children: /* @__PURE__ */ jsx("h1", {
1800
+ className: "yo-text-h1 mt-0 mb-8 text-left",
1867
1801
  children: title
1868
1802
  })
1869
1803
  }),
1870
1804
  /* @__PURE__ */ jsx("div", { children }),
1871
1805
  gradient && /* @__PURE__ */ jsx("hr", {
1872
1806
  "data-testid": "modal-gradient",
1873
- className: "absolute bottom-0 left-0 mt-8 mb-0 h-2! w-full border-none",
1874
- style: { backgroundImage: "linear-gradient(90deg, var(--color-light-blue) 0%, var(--color-primary) 50.52%, var(--color-secondary) 100%)" }
1807
+ className: cn("absolute bottom-0 left-0 mt-8 mb-0 h-2! w-full border-none", gradientVariant === "client" && "bg-gradient-blue-turquoise", gradientVariant === "agency" && "bg-gradient-blue-purple")
1875
1808
  })
1876
1809
  ]
1877
1810
  })
@@ -1879,7 +1812,6 @@ const Modal = ({ title, children, withCloseButton = true, opened, additionalClas
1879
1812
  }), document.body);
1880
1813
  };
1881
1814
  Modal.displayName = "Modal";
1882
-
1883
1815
  //#endregion
1884
1816
  //#region src/components/navButtons/index.tsx
1885
1817
  const NavButtons = ({ onNext, onPrev }) => /* @__PURE__ */ jsxs("div", {
@@ -1906,7 +1838,6 @@ const NavButtons = ({ onNext, onPrev }) => /* @__PURE__ */ jsxs("div", {
1906
1838
  })
1907
1839
  ]
1908
1840
  });
1909
-
1910
1841
  //#endregion
1911
1842
  //#region src/components/numberField/index.tsx
1912
1843
  const NumberField = ({ name, value = 0, max, min = 0, isDisabled, id, className = "", label, error, onChange }) => {
@@ -1926,7 +1857,7 @@ const NumberField = ({ name, value = 0, max, min = 0, isDisabled, id, className
1926
1857
  children: [
1927
1858
  label && /* @__PURE__ */ jsx("label", {
1928
1859
  htmlFor: id,
1929
- className: "mb-1 text-sm font-medium text-gray-700",
1860
+ className: "mb-1 yo-text-label",
1930
1861
  children: label
1931
1862
  }),
1932
1863
  /* @__PURE__ */ jsxs("div", {
@@ -1960,27 +1891,25 @@ const NumberField = ({ name, value = 0, max, min = 0, isDisabled, id, className
1960
1891
  ]
1961
1892
  }),
1962
1893
  error && /* @__PURE__ */ jsx("p", {
1963
- className: "mt-1 text-sm font-normal text-red-600",
1894
+ className: "mt-1 yo-text-small text-red-600",
1964
1895
  children: error
1965
1896
  })
1966
1897
  ]
1967
1898
  });
1968
1899
  };
1969
-
1970
1900
  //#endregion
1971
1901
  //#region src/components/pageUnavailable/index.tsx
1972
1902
  const PageUnavailable = ({ notAvailableButton, notAvailableDescription, notAvailableHeaderText }) => /* @__PURE__ */ jsx(Island, { children: /* @__PURE__ */ jsxs("div", {
1973
1903
  className: "mx-auto grid max-w-[900px] justify-items-center gap-8 text-center",
1974
1904
  children: [
1975
1905
  /* @__PURE__ */ jsx("h1", {
1976
- className: "text-3xl font-bold",
1906
+ className: "yo-text-h1",
1977
1907
  children: notAvailableHeaderText
1978
1908
  }),
1979
1909
  /* @__PURE__ */ jsx("p", { children: notAvailableDescription }),
1980
1910
  /* @__PURE__ */ jsx("div", { children: notAvailableButton })
1981
1911
  ]
1982
1912
  }) });
1983
-
1984
1913
  //#endregion
1985
1914
  //#region src/components/passwordInput/index.tsx
1986
1915
  const PasswordInput = React.forwardRef((props, ref) => /* @__PURE__ */ jsx(TextInput, {
@@ -1991,7 +1920,6 @@ const PasswordInput = React.forwardRef((props, ref) => /* @__PURE__ */ jsx(TextI
1991
1920
  ref
1992
1921
  }));
1993
1922
  PasswordInput.displayName = "PasswordInput";
1994
-
1995
1923
  //#endregion
1996
1924
  //#region src/components/progressBar/index.tsx
1997
1925
  const ProgressBar = ({ value, maxValue = 100, className }) => {
@@ -2015,10 +1943,9 @@ const ProgressBar = ({ value, maxValue = 100, className }) => {
2015
1943
  })
2016
1944
  });
2017
1945
  };
2018
-
2019
1946
  //#endregion
2020
1947
  //#region src/components/radioButton/index.tsx
2021
- const RadioButton = ({ id, name, value, label, onChange, checked, dataTestId, className, containerClassName, labelClassName,...props }) => /* @__PURE__ */ jsxs("div", {
1948
+ const RadioButton = ({ id, name, value, label, onChange, checked, dataTestId, className, containerClassName, labelClassName, ...props }) => /* @__PURE__ */ jsxs("div", {
2022
1949
  "data-testid": "radio-button-container",
2023
1950
  className: `${containerClassName || "radio-button-container"} relative flex items-start`,
2024
1951
  children: [/* @__PURE__ */ jsxs("div", {
@@ -2028,7 +1955,7 @@ const RadioButton = ({ id, name, value, label, onChange, checked, dataTestId, cl
2028
1955
  id,
2029
1956
  name,
2030
1957
  value,
2031
- onChange: props.disabled ? undefined : onChange,
1958
+ onChange: props.disabled ? void 0 : onChange,
2032
1959
  checked,
2033
1960
  "data-testid": dataTestId,
2034
1961
  className: `${clsx(className, "ease checked:border-navyBlue checked:bg-navy-blue relative m-0 flex size-5 cursor-pointer appearance-none items-center justify-center rounded-full border border-gray-400 bg-white transition-colors duration-100 focus:ring-0 focus:outline-hidden focus-visible:ring-0", { "cursor-not-allowed opacity-50": props.disabled })}`,
@@ -2046,12 +1973,11 @@ const RadioButton = ({ id, name, value, label, onChange, checked, dataTestId, cl
2046
1973
  })]
2047
1974
  }), /* @__PURE__ */ jsx("label", {
2048
1975
  htmlFor: id,
2049
- className: ` ${clsx(labelClassName, "mb-0 cursor-pointer pl-3 text-sm font-normal", { "text-gray-400": props.disabled })}`,
1976
+ className: ` ${clsx(labelClassName, "mb-0 cursor-pointer pl-3 yo-text-small font-normal", { "text-gray-400": props.disabled })}`,
2050
1977
  children: label
2051
1978
  })]
2052
1979
  });
2053
1980
  RadioButton.displayName = "RadioButton";
2054
-
2055
1981
  //#endregion
2056
1982
  //#region src/icons/IconStarEmpty.tsx
2057
1983
  const IconStarEmpty = (props) => /* @__PURE__ */ jsx("svg", {
@@ -2068,7 +1994,6 @@ const IconStarEmpty = (props) => /* @__PURE__ */ jsx("svg", {
2068
1994
  fill: "#E0E0E0"
2069
1995
  })
2070
1996
  });
2071
-
2072
1997
  //#endregion
2073
1998
  //#region src/icons/IconStarFilled.tsx
2074
1999
  const IconStarFilled = (props) => /* @__PURE__ */ jsx("svg", {
@@ -2085,7 +2010,6 @@ const IconStarFilled = (props) => /* @__PURE__ */ jsx("svg", {
2085
2010
  fill: "currentColor"
2086
2011
  })
2087
2012
  });
2088
-
2089
2013
  //#endregion
2090
2014
  //#region src/icons/IconStarHalfFilled.tsx
2091
2015
  const IconStarHalfFilled = (props) => /* @__PURE__ */ jsxs("svg", {
@@ -2105,7 +2029,6 @@ const IconStarHalfFilled = (props) => /* @__PURE__ */ jsxs("svg", {
2105
2029
  fill: "currentColor"
2106
2030
  })]
2107
2031
  });
2108
-
2109
2032
  //#endregion
2110
2033
  //#region src/components/rating/index.tsx
2111
2034
  const Rating = ({ rating, ratings, size = "normal", setReview, className, setReviewError, error }) => {
@@ -2114,7 +2037,7 @@ const Rating = ({ rating, ratings, size = "normal", setReview, className, setRev
2114
2037
  const [reviewIsSet, setReviewIsSet] = useState(false);
2115
2038
  const currentRating = hoveredStars || Math.round(rating * 2) / 2;
2116
2039
  const currentSmallRating = hoveredSmallStars;
2117
- const sizeClasses$1 = {
2040
+ const sizeClasses = {
2118
2041
  small: "h-4 w-4",
2119
2042
  normal: "h-[22px] w-[22px]",
2120
2043
  large: "h-[32px] w-[32px]"
@@ -2128,29 +2051,26 @@ const Rating = ({ rating, ratings, size = "normal", setReview, className, setRev
2128
2051
  const handleHover = (value) => setReview && setHoveredStars(value);
2129
2052
  const StarIcon = ({ index }) => {
2130
2053
  if (!setReview) {
2131
- const roundedRating$1 = Math.round(rating * 2) / 2;
2132
- const hasHalf$1 = roundedRating$1 % 1 === .5;
2133
- const effectiveRating$1 = roundedRating$1;
2134
- const fullStars$1 = Math.floor(effectiveRating$1);
2135
- if (index <= fullStars$1) return /* @__PURE__ */ jsx(IconStarFilled, { className: `text-yellow ${sizeClasses$1[size]}` });
2136
- if (hasHalf$1 && index === Math.ceil(effectiveRating$1)) return /* @__PURE__ */ jsx(IconStarHalfFilled, { className: `text-yellow ${sizeClasses$1[size]}` });
2137
- return /* @__PURE__ */ jsx(IconStarEmpty, { className: `text-yellow ${sizeClasses$1[size]}` });
2054
+ const roundedRating = Math.round(rating * 2) / 2;
2055
+ const hasHalf = roundedRating % 1 === .5;
2056
+ const effectiveRating = roundedRating;
2057
+ if (index <= Math.floor(effectiveRating)) return /* @__PURE__ */ jsx(IconStarFilled, { className: `text-navy-blue ${sizeClasses[size]}` });
2058
+ if (hasHalf && index === Math.ceil(effectiveRating)) return /* @__PURE__ */ jsx(IconStarHalfFilled, { className: `text-navy-blue ${sizeClasses[size]}` });
2059
+ return /* @__PURE__ */ jsx(IconStarEmpty, { className: `text-navy-blue ${sizeClasses[size]}` });
2138
2060
  }
2139
2061
  const displayRating = reviewIsSet ? Number(reviewIsSet) : currentRating;
2140
2062
  const roundedRating = Math.round(displayRating * 2) / 2;
2141
2063
  const hasHalf = roundedRating % 1 === .5;
2142
2064
  const effectiveRating = roundedRating;
2143
- const fullStars = Math.floor(effectiveRating);
2144
- if (index <= fullStars) return /* @__PURE__ */ jsx(IconStarFilled, { className: `text-yellow ${sizeClasses$1[size]}` });
2145
- if (hasHalf && index === Math.ceil(effectiveRating)) return /* @__PURE__ */ jsx(IconStarHalfFilled, { className: `text-yellow ${sizeClasses$1[size]}` });
2146
- return /* @__PURE__ */ jsx(IconStarEmpty, { className: `text-yellow ${sizeClasses$1[size]} ` });
2065
+ if (index <= Math.floor(effectiveRating)) return /* @__PURE__ */ jsx(IconStarFilled, { className: `text-navy-blue ${sizeClasses[size]}` });
2066
+ if (hasHalf && index === Math.ceil(effectiveRating)) return /* @__PURE__ */ jsx(IconStarHalfFilled, { className: `text-navy-blue ${sizeClasses[size]}` });
2067
+ return /* @__PURE__ */ jsx(IconStarEmpty, { className: `text-navy-blue ${sizeClasses[size]} ` });
2147
2068
  };
2148
- const StarSmallIcon = ({ index, className: className$1 }) => {
2149
- const displayRating = currentSmallRating;
2150
- const roundedRating = Math.round(displayRating * 2) / 2;
2151
- if (index === roundedRating) return /* @__PURE__ */ jsx(IconStarFilled, { className: cn(className$1, "text-yellow") });
2152
- if (index - roundedRating === .5) return /* @__PURE__ */ jsx(IconStarHalfFilled, { className: cn(className$1, "text-yellow") });
2153
- return /* @__PURE__ */ jsx(IconStarEmpty, { className: cn(className$1, "text-yellow") });
2069
+ const StarSmallIcon = ({ index, className }) => {
2070
+ const roundedRating = Math.round(currentSmallRating * 2) / 2;
2071
+ if (index === roundedRating) return /* @__PURE__ */ jsx(IconStarFilled, { className: cn(className, "text-navy-blue") });
2072
+ if (index - roundedRating === .5) return /* @__PURE__ */ jsx(IconStarHalfFilled, { className: cn(className, "text-navy-blue") });
2073
+ return /* @__PURE__ */ jsx(IconStarEmpty, { className: cn(className, "text-navy-blue") });
2154
2074
  };
2155
2075
  return /* @__PURE__ */ jsxs("span", {
2156
2076
  className: cn("flex flex-col", className),
@@ -2179,7 +2099,7 @@ const Rating = ({ rating, ratings, size = "normal", setReview, className, setRev
2179
2099
  onClick: () => handleStarClick(value),
2180
2100
  children: [Array.from({ length: value }).map((_, i) => /* @__PURE__ */ jsx(StarSmallIcon, {
2181
2101
  index: value,
2182
- className: "text-yellow size-5"
2102
+ className: "text-navy-blue size-5"
2183
2103
  }, i)), /* @__PURE__ */ jsx("span", {
2184
2104
  className: "mt-[5px] flex items-center pl-2 text-[12px] text-gray-800",
2185
2105
  children: label
@@ -2193,17 +2113,16 @@ const Rating = ({ rating, ratings, size = "normal", setReview, className, setRev
2193
2113
  ]
2194
2114
  });
2195
2115
  };
2196
-
2197
2116
  //#endregion
2198
2117
  //#region src/components/regionSelector/index.tsx
2199
- const RegionSelector = ({ title, regions,...props }) => {
2118
+ const RegionSelector = ({ title, regions, ...props }) => {
2200
2119
  if (regions?.length === 0) return null;
2201
2120
  return /* @__PURE__ */ jsxs("div", {
2202
2121
  "data-component": "regionSelector",
2203
2122
  className: "flex w-full flex-col items-center justify-center gap-11 break-words lg:gap-14",
2204
2123
  ...props,
2205
2124
  children: [/* @__PURE__ */ jsx("h1", {
2206
- className: "w-full text-2xl leading-10 font-bold md:text-3xl",
2125
+ className: "w-full yo-text-h2 leading-10 font-bold md:text-3xl",
2207
2126
  children: title
2208
2127
  }), /* @__PURE__ */ jsx("ul", {
2209
2128
  className: "mx-auto flex w-full max-w-[415px] list-none flex-col items-start justify-start gap-3.5 pl-0 hover:cursor-pointer",
@@ -2213,7 +2132,6 @@ const RegionSelector = ({ title, regions,...props }) => {
2213
2132
  });
2214
2133
  };
2215
2134
  RegionSelector.displayName = "RegionSelector";
2216
-
2217
2135
  //#endregion
2218
2136
  //#region src/components/reviews/index.tsx
2219
2137
  const ReviewsLine = ({ maxValue, amount, countStarsText }) => /* @__PURE__ */ jsxs("div", {
@@ -2275,7 +2193,6 @@ const Reviews = ({ totalRatings, ratings, averageRating, aggregatedRating, count
2275
2193
  })
2276
2194
  })]
2277
2195
  });
2278
-
2279
2196
  //#endregion
2280
2197
  //#region src/components/scrollToTop/index.tsx
2281
2198
  const ScrollToTop = ({ scrollToTopTitle }) => {
@@ -2315,10 +2232,9 @@ const ScrollToTop = ({ scrollToTopTitle }) => {
2315
2232
  className: "z-[99]"
2316
2233
  })] });
2317
2234
  };
2318
-
2319
2235
  //#endregion
2320
2236
  //#region src/components/searchInput/index.tsx
2321
- const SearchInput = ({ placeholder, value, onChange, className, rightSection,...props }) => /* @__PURE__ */ jsx(TextInput, {
2237
+ const SearchInput = ({ placeholder, value, onChange, className, rightSection, ...props }) => /* @__PURE__ */ jsx(TextInput, {
2322
2238
  placeholder,
2323
2239
  className: className || "w-full lg:w-auto lg:min-w-[23.75rem]",
2324
2240
  rightSection: rightSection || /* @__PURE__ */ jsx(Fragment$1, {}),
@@ -2326,7 +2242,6 @@ const SearchInput = ({ placeholder, value, onChange, className, rightSection,...
2326
2242
  onChange,
2327
2243
  ...props
2328
2244
  });
2329
-
2330
2245
  //#endregion
2331
2246
  //#region src/hooks/useDebouncedValue.ts
2332
2247
  function useDebouncedValue(value, delay = 200) {
@@ -2337,10 +2252,9 @@ function useDebouncedValue(value, delay = 200) {
2337
2252
  }, [value, delay]);
2338
2253
  return debouncedValue;
2339
2254
  }
2340
-
2341
2255
  //#endregion
2342
2256
  //#region src/components/select/index.tsx
2343
- function Select({ id, options, placeholder, label, errorText, hideError = false, isClearable = false, disabled = false, multiSelect = false, searchable = false, value, defaultValue, onValueChange, className, searchPlaceholder, noResultsText,...props }) {
2257
+ function Select({ id, options, placeholder, label, errorText, hideError = false, isClearable = false, disabled = false, multiSelect = false, searchable = false, value, defaultValue, onValueChange, className, searchPlaceholder, noResultsText, ...props }) {
2344
2258
  const innerRef = useRef(null);
2345
2259
  const buttonRef = useRef(null);
2346
2260
  const optionRefs = useRef([]);
@@ -2350,12 +2264,10 @@ function Select({ id, options, placeholder, label, errorText, hideError = false,
2350
2264
  const [searchTerm, setSearchTerm] = useState("");
2351
2265
  const [focusedIndex, setFocusedIndex] = useState(-1);
2352
2266
  const debouncedSearch = useDebouncedValue(searchTerm);
2353
- const isControlled = value !== undefined;
2267
+ const isControlled = value !== void 0;
2354
2268
  const currentValue = isControlled ? value : internalValue;
2355
2269
  const selectedLabels = useMemo(() => {
2356
- if (Array.isArray(currentValue)) {
2357
- return options.filter((o) => currentValue.includes(o.value)).map((o) => o.label).join(", ");
2358
- }
2270
+ if (Array.isArray(currentValue)) return options.filter((o) => currentValue.includes(o.value)).map((o) => o.label).join(", ");
2359
2271
  return options.find((o) => o.value === currentValue)?.label;
2360
2272
  }, [currentValue, options]);
2361
2273
  const { refs, floatingStyles, context } = useFloating({
@@ -2369,13 +2281,10 @@ function Select({ id, options, placeholder, label, errorText, hideError = false,
2369
2281
  whileElementsMounted: autoUpdate,
2370
2282
  placement: "bottom-start"
2371
2283
  });
2372
- const click = useClick(context);
2373
- const dismiss = useDismiss(context);
2374
- const role = useRole(context, { role: "combobox" });
2375
2284
  const { getReferenceProps, getFloatingProps } = useInteractions([
2376
- click,
2377
- dismiss,
2378
- role
2285
+ useClick(context),
2286
+ useDismiss(context),
2287
+ useRole(context, { role: "combobox" })
2379
2288
  ]);
2380
2289
  const handleSelect = useCallback((val) => {
2381
2290
  if (multiSelect) {
@@ -2398,8 +2307,8 @@ function Select({ id, options, placeholder, label, errorText, hideError = false,
2398
2307
  const handleClear = useCallback((e) => {
2399
2308
  e.preventDefault();
2400
2309
  e.stopPropagation();
2401
- if (!isControlled) setInternalValue(undefined);
2402
- onValueChange?.(undefined);
2310
+ if (!isControlled) setInternalValue(void 0);
2311
+ onValueChange?.(void 0);
2403
2312
  setSearchTerm("");
2404
2313
  }, [isControlled, onValueChange]);
2405
2314
  const showPlaceholder = !currentValue || Array.isArray(currentValue) && currentValue.length === 0;
@@ -2503,7 +2412,7 @@ function Select({ id, options, placeholder, label, errorText, hideError = false,
2503
2412
  },
2504
2413
  ...getReferenceProps(),
2505
2414
  disabled,
2506
- className: cn("flex h-10 w-full items-center justify-between rounded-md border px-3 text-sm transition-colors bg-gray-20", "border-gray-200 hover:border-gray-300 focus:border-gray-300 outline-none", !hideError && errorText && "border-red-500 hover:border-red-500 focus:border-red-500", disabled && "opacity-50 cursor-not-allowed"),
2415
+ className: cn("flex h-10 w-full items-center justify-between rounded-md border px-3 yo-text-small transition-colors bg-gray-20", "border-gray-200 hover:border-gray-300 focus:border-gray-300 outline-none", !hideError && errorText && "border-red-500 hover:border-red-500 focus:border-red-500", disabled && "opacity-50 cursor-not-allowed"),
2507
2416
  "aria-haspopup": "listbox",
2508
2417
  "aria-expanded": open,
2509
2418
  "aria-disabled": disabled,
@@ -2548,7 +2457,7 @@ function Select({ id, options, placeholder, label, errorText, hideError = false,
2548
2457
  "aria-labelledby": `${id}-label`,
2549
2458
  className: cn("z-[99999] mt-2 rounded-md border border-gray-200 bg-white shadow-md", "overflow-hidden animate-in fade-in"),
2550
2459
  children: /* @__PURE__ */ jsxs("div", {
2551
- className: "p-1 text-sm max-h-[250px] overflow-auto",
2460
+ className: "p-1 yo-text-small max-h-[250px] overflow-auto",
2552
2461
  children: [searchable && /* @__PURE__ */ jsxs("div", {
2553
2462
  className: "flex items-center gap-2 px-2 py-1 border-b border-gray-100 sticky top-0 bg-white",
2554
2463
  role: "search",
@@ -2562,7 +2471,7 @@ function Select({ id, options, placeholder, label, errorText, hideError = false,
2562
2471
  value: searchTerm,
2563
2472
  onChange: (e) => setSearchTerm(e.target.value),
2564
2473
  placeholder: searchPlaceholder,
2565
- className: "w-full text-sm outline-none bg-transparent placeholder-gray-300",
2474
+ className: "w-full yo-text-small outline-none bg-transparent placeholder-gray-300",
2566
2475
  "aria-label": "Search options"
2567
2476
  })]
2568
2477
  }), /* @__PURE__ */ jsx("div", {
@@ -2570,13 +2479,15 @@ function Select({ id, options, placeholder, label, errorText, hideError = false,
2570
2479
  children: filteredOptions.length ? filteredOptions.map((opt, index) => {
2571
2480
  const isSelected = Array.isArray(currentValue) ? currentValue.includes(opt.value) : currentValue === opt.value;
2572
2481
  return /* @__PURE__ */ jsxs("button", {
2573
- ref: (el) => optionRefs.current[index] = el,
2482
+ ref: (el) => {
2483
+ optionRefs.current[index] = el;
2484
+ },
2574
2485
  type: "button",
2575
2486
  onClick: () => handleSelect(opt.value),
2576
2487
  role: "option",
2577
2488
  "aria-selected": isSelected,
2578
2489
  tabIndex: -1,
2579
- className: cn("relative flex w-full items-center gap-2 rounded px-3 py-2 text-sm text-black select-none", "hover:bg-gray-50 mx-1 my-[2px]", isSelected && "bg-gray-50", focusedIndex === index && "bg-gray-50 ring-1 ring-primary"),
2490
+ className: cn("relative flex w-full items-center gap-2 rounded px-3 py-2 yo-text-small text-black select-none", "hover:bg-gray-50 mx-1 my-[2px]", isSelected && "bg-gray-50", focusedIndex === index && "bg-gray-50 ring-1 ring-primary"),
2580
2491
  children: [multiSelect && /* @__PURE__ */ jsx("span", {
2581
2492
  className: cn("flex h-4 w-4 items-center justify-center rounded-sm border", isSelected ? "border-light-blue bg-light-blue" : "border-gray-400 bg-white"),
2582
2493
  "aria-hidden": "true",
@@ -2601,7 +2512,7 @@ function Select({ id, options, placeholder, label, errorText, hideError = false,
2601
2512
  })
2602
2513
  }) }),
2603
2514
  !hideError && errorText && /* @__PURE__ */ jsx("span", {
2604
- className: "text-xs text-red-500",
2515
+ className: "yo-text-caption text-red-500",
2605
2516
  role: "alert",
2606
2517
  children: errorText
2607
2518
  })
@@ -2609,7 +2520,6 @@ function Select({ id, options, placeholder, label, errorText, hideError = false,
2609
2520
  });
2610
2521
  }
2611
2522
  Select.displayName = "Select";
2612
-
2613
2523
  //#endregion
2614
2524
  //#region src/components/settingsCard/index.tsx
2615
2525
  const SettingsCard = ({ icon, title, link, ManageText, LinkComponent }) => /* @__PURE__ */ jsxs("div", {
@@ -2619,16 +2529,15 @@ const SettingsCard = ({ icon, title, link, ManageText, LinkComponent }) => /* @_
2619
2529
  children: [/* @__PURE__ */ jsxs("div", {
2620
2530
  className: "flex items-center gap-4",
2621
2531
  children: [/* @__PURE__ */ jsx("div", { children: icon }), /* @__PURE__ */ jsx("div", {
2622
- className: "text-base font-normal",
2532
+ className: "yo-text-body",
2623
2533
  children: title
2624
2534
  })]
2625
2535
  }), /* @__PURE__ */ jsx(LinkComponent, {
2626
- className: "text-xs font-medium text-sky-600 no-underline hover:underline",
2536
+ className: "yo-text-link text-sky-600 no-underline hover:underline",
2627
2537
  href: link,
2628
2538
  children: ManageText
2629
2539
  })]
2630
2540
  });
2631
-
2632
2541
  //#endregion
2633
2542
  //#region src/components/skeleton/index.tsx
2634
2543
  const Skeleton = ({ className, "data-testid": dataTestId }) => /* @__PURE__ */ jsx("span", {
@@ -2636,7 +2545,6 @@ const Skeleton = ({ className, "data-testid": dataTestId }) => /* @__PURE__ */ j
2636
2545
  "data-testid": dataTestId || "skeleton",
2637
2546
  className: cn("inline-block rounded-md", "animate-pulse bg-gray-100/50", className)
2638
2547
  });
2639
-
2640
2548
  //#endregion
2641
2549
  //#region src/components/skillPill/index.tsx
2642
2550
  const SkillPill = ({ name, number }) => /* @__PURE__ */ jsxs("div", {
@@ -2651,7 +2559,6 @@ const SkillPill = ({ name, number }) => /* @__PURE__ */ jsxs("div", {
2651
2559
  children: number
2652
2560
  })]
2653
2561
  });
2654
-
2655
2562
  //#endregion
2656
2563
  //#region src/components/stepper/NumberedStepper.tsx
2657
2564
  const NumberedStepper = ({ steps, active, className, stepsCompleted, completedLabel, onStepClick }) => /* @__PURE__ */ jsx("div", {
@@ -2674,10 +2581,10 @@ const NumberedStepper = ({ steps, active, className, stepsCompleted, completedLa
2674
2581
  className: "flex flex-auto flex-col justify-center",
2675
2582
  children: [/* @__PURE__ */ jsx("span", {
2676
2583
  "data-testid": `stepper-label-${index}`,
2677
- className: `content-center text-sm font-medium! whitespace-nowrap md:text-lg md:font-bold ${index <= active ? "text-gray-900" : "text-gray-500"}`,
2584
+ className: `content-center yo-text-small font-medium! whitespace-nowrap md:text-lg md:font-bold ${index <= active ? "text-gray-900" : "text-gray-500"}`,
2678
2585
  children: step.label
2679
2586
  }), /* @__PURE__ */ jsxs("span", { children: [completedLabel && active === 1 && index === 0 && stepsCompleted.length > 0 ? /* @__PURE__ */ jsxs("span", {
2680
- className: "text-green flex items-center text-xs font-medium",
2587
+ className: "text-green flex items-center yo-text-caption",
2681
2588
  children: [
2682
2589
  completedLabel,
2683
2590
  " ",
@@ -2691,7 +2598,6 @@ const NumberedStepper = ({ steps, active, className, stepsCompleted, completedLa
2691
2598
  })
2692
2599
  }), index < steps.length - 1 && /* @__PURE__ */ jsx("div", { className: `my-2 ml-6 flex h-[24px] w-px align-middle md:ml-0 md:h-px md:w-auto md:flex-1 ${active === 1 ? "bg-light-blue" : "bg-[#CCCCCC]"}` })] }, index))
2693
2600
  });
2694
-
2695
2601
  //#endregion
2696
2602
  //#region src/components/stepper/Stepper.tsx
2697
2603
  const Stepper = ({ steps, setStep = () => {}, variant = "default", clickableSteps, completedSteps, activeStep, isMobile, className }) => /* @__PURE__ */ jsx("div", {
@@ -2731,7 +2637,7 @@ const Stepper = ({ steps, setStep = () => {}, variant = "default", clickableStep
2731
2637
  /* @__PURE__ */ jsx("div", {
2732
2638
  className: "flex flex-wrap items-center justify-center",
2733
2639
  children: /* @__PURE__ */ jsx("span", {
2734
- className: `text-center ${variant === "small" || isMobile ? "text-xs-fields" : "text-sm font-normal"} ${index <= activeStep ? "text-gray-900" : "text-gray-500"}`,
2640
+ className: `text-center ${variant === "small" || isMobile ? "text-xs-fields" : "yo-text-small"} ${index <= activeStep ? "text-gray-900" : "text-gray-500"}`,
2735
2641
  children: step.label
2736
2642
  })
2737
2643
  }),
@@ -2742,7 +2648,6 @@ const Stepper = ({ steps, setStep = () => {}, variant = "default", clickableStep
2742
2648
  }, index);
2743
2649
  })
2744
2650
  });
2745
-
2746
2651
  //#endregion
2747
2652
  //#region src/components/stickyMobileButton/index.tsx
2748
2653
  const StickyMobileButtonWrapper = ({ children }) => /* @__PURE__ */ jsx("div", {
@@ -2754,26 +2659,23 @@ const StickyMobileButtonWrapper = ({ children }) => /* @__PURE__ */ jsx("div", {
2754
2659
  children
2755
2660
  })
2756
2661
  });
2757
-
2758
2662
  //#endregion
2759
2663
  //#region src/components/table/index.tsx
2760
- const Table = ({ children, className,...props }) => /* @__PURE__ */ jsx("div", {
2664
+ const Table = ({ children, className, ...props }) => /* @__PURE__ */ jsx("div", {
2761
2665
  "data-testid": "table",
2762
2666
  "data-component": "table",
2763
2667
  className: cn("table w-full table-fixed border-collapse overflow-auto", className),
2764
2668
  ...props,
2765
2669
  children
2766
2670
  });
2767
-
2768
2671
  //#endregion
2769
2672
  //#region src/components/table/tableCell/index.tsx
2770
2673
  const TableCell = ({ children, smallPadding, className }) => /* @__PURE__ */ jsx("div", {
2771
2674
  "data-testid": "tableCell",
2772
2675
  "data-component": "tableCell",
2773
- className: `${cn("table-cell py-2 align-middle text-sm font-normal first:pl-2 last:pr-2 md:py-0 md:xl:first:pl-10 md:xl:last:pr-10", { "md:xl:first:pl-5 md:xl:last:pr-5": smallPadding }, className)}`,
2676
+ className: `${cn("table-cell py-2 align-middle yo-text-small first:pl-2 last:pr-2 md:py-0 md:xl:first:pl-10 md:xl:last:pr-10", { "md:xl:first:pl-5 md:xl:last:pr-5": smallPadding }, className)}`,
2774
2677
  children
2775
2678
  });
2776
-
2777
2679
  //#endregion
2778
2680
  //#region src/components/table/tableHeader/index.tsx
2779
2681
  const TableHeader = ({ children }) => /* @__PURE__ */ jsx("div", {
@@ -2782,30 +2684,27 @@ const TableHeader = ({ children }) => /* @__PURE__ */ jsx("div", {
2782
2684
  className: "table-header-group border-b border-gray-200",
2783
2685
  children
2784
2686
  });
2785
-
2786
2687
  //#endregion
2787
2688
  //#region src/components/table/tableHeaderItem/index.tsx
2788
- const TableHeaderItem = ({ children, smallPadding, className,...props }) => /* @__PURE__ */ jsx("div", {
2689
+ const TableHeaderItem = ({ children, smallPadding, className, ...props }) => /* @__PURE__ */ jsx("div", {
2789
2690
  "data-testid": "tableHeaderItem",
2790
2691
  "data-component": "tableHeaderItem",
2791
- className: cn("hidden h-10 align-middle text-xs font-medium first:pl-10 last:pr-10 xl:table-cell", { "xl:first:pl-5 xl:last:pr-5": smallPadding }, className),
2692
+ className: cn("hidden h-10 align-middle yo-text-caption first:pl-10 last:pr-10 xl:table-cell", { "xl:first:pl-5 xl:last:pr-5": smallPadding }, className),
2792
2693
  ...props,
2793
2694
  children
2794
2695
  });
2795
-
2796
2696
  //#endregion
2797
2697
  //#region src/components/table/tableHeaderRow/index.tsx
2798
- const TableHeaderRow = ({ children,...props }) => /* @__PURE__ */ jsx("div", {
2698
+ const TableHeaderRow = ({ children, ...props }) => /* @__PURE__ */ jsx("div", {
2799
2699
  "data-testid": "tableHeaderRow",
2800
2700
  "data-component": "tableHeaderRow",
2801
2701
  className: "table-row xl:border-0 xl:border-b xl:border-solid xl:border-gray-200",
2802
2702
  ...props,
2803
2703
  children
2804
2704
  });
2805
-
2806
2705
  //#endregion
2807
2706
  //#region src/components/table/tableRow/index.tsx
2808
- function TableRow({ children, className, header,...props }) {
2707
+ function TableRow({ children, className, header, ...props }) {
2809
2708
  return /* @__PURE__ */ jsx("div", {
2810
2709
  "data-testid": "tableRow",
2811
2710
  "data-component": "tableRow",
@@ -2814,27 +2713,25 @@ function TableRow({ children, className, header,...props }) {
2814
2713
  children
2815
2714
  });
2816
2715
  }
2817
-
2818
2716
  //#endregion
2819
2717
  //#region src/components/tabs/Tab.tsx
2820
2718
  const Tab = forwardRef(({ tabId, activeTab, tabContent, clickFnc, rightSection }, ref) => /* @__PURE__ */ jsxs("button", {
2821
2719
  ref,
2822
2720
  "data-testid": `tab-${tabId}`,
2823
- className: `${activeTab && "text-light-blue bg-[#F0F0F6]"} bg-ultra-light-blue px-5 py-[10px] text-xs font-normal whitespace-nowrap text-black transition-colors duration-100 hover:border-black hover:bg-[#F0F0F6] data-active:border-black data-active:bg-[#F0F0F6] data-active:font-medium data-active:text-black`,
2721
+ className: `${activeTab && "text-light-blue bg-[#F0F0F6]"} bg-ultra-light-blue px-5 py-[10px] yo-text-caption whitespace-nowrap text-black transition-colors duration-100 hover:border-black hover:bg-[#F0F0F6] data-active:border-black data-active:bg-[#F0F0F6] data-active:font-medium data-active:text-black`,
2824
2722
  onClick: () => clickFnc(tabId),
2825
2723
  children: [tabContent, rightSection && /* @__PURE__ */ jsx("span", {
2826
2724
  className: "ml-2 inline-flex",
2827
2725
  children: rightSection
2828
2726
  })]
2829
2727
  }));
2830
-
2831
2728
  //#endregion
2832
2729
  //#region src/components/tabs/TabsBadge.tsx
2833
2730
  const TabsBadge = ({ children }) => {
2834
2731
  const isCircular = typeof children === "number" && children <= 9 || typeof children === "string" && children.length === 1 || false;
2835
2732
  return /* @__PURE__ */ jsx("div", {
2836
2733
  "data-testid": "tabs-badge",
2837
- className: clsx("bg-secondary h-5 rounded-full text-xs leading-5 font-medium text-white", {
2734
+ className: clsx("bg-secondary h-5 rounded-full yo-text-caption leading-5 text-white", {
2838
2735
  "w-5 text-center": isCircular,
2839
2736
  "px-2": !isCircular
2840
2737
  }),
@@ -2842,7 +2739,6 @@ const TabsBadge = ({ children }) => {
2842
2739
  });
2843
2740
  };
2844
2741
  TabsBadge.displayName = "TabsBadge";
2845
-
2846
2742
  //#endregion
2847
2743
  //#region src/components/tabs/TabsWrapper.tsx
2848
2744
  const TabsWrapper = ({ setActiveTab, activeTab, tabs }) => {
@@ -2900,40 +2796,38 @@ const TabContent = forwardRef(({ tab, setActiveTab, activeTab }, ref) => /* @__P
2900
2796
  setActiveTab,
2901
2797
  activeTab: activeTab === tab.value,
2902
2798
  tabContent: tab.name,
2903
- rightSection: tab?.rightSection || undefined,
2799
+ rightSection: tab?.rightSection || void 0,
2904
2800
  clickFnc: () => {
2905
2801
  tab.clickFnc && tab.clickFnc(tab.value);
2906
2802
  setActiveTab(tab.value);
2907
2803
  }
2908
2804
  }));
2909
2805
  TabContent.displayName = "TabContent";
2910
-
2911
2806
  //#endregion
2912
2807
  //#region src/components/textArea/index.tsx
2913
- const Textarea = forwardRef(({ className, label, error, rows = 8,...props }, ref) => /* @__PURE__ */ jsxs("div", {
2808
+ const Textarea = forwardRef(({ className, label, error, rows = 8, ...props }, ref) => /* @__PURE__ */ jsxs("div", {
2914
2809
  className: "relative grid gap-2",
2915
2810
  children: [
2916
2811
  label && /* @__PURE__ */ jsx("label", {
2917
- className: "flex items-center gap-1 text-xs font-medium text-black",
2812
+ className: "flex items-center gap-1 yo-text-label",
2918
2813
  children: label
2919
2814
  }),
2920
2815
  /* @__PURE__ */ jsx("textarea", {
2921
2816
  "data-component": "TextArea",
2922
2817
  rows,
2923
2818
  ref,
2924
- className: cn("disabled:bg-grey-100 bg-ultra-light-gray w-full rounded border border-gray-200 p-3 text-sm font-normal text-black placeholder:text-gray-800 focus:ring-0 focus:outline-hidden disabled:cursor-not-allowed disabled:border-gray-300", { "border-red-500 text-red-500 selection:bg-red-200 focus:border-red-500 focus:ring-red-500 focus:placeholder:text-red-500 active:border-red-500 active:ring-red-500": !!error }, className),
2819
+ className: cn("disabled:bg-grey-100 bg-ultra-light-gray w-full rounded border border-gray-200 p-3 yo-text-small text-black placeholder:text-gray-800 focus:ring-0 focus:outline-hidden disabled:cursor-not-allowed disabled:border-gray-300", { "border-red-500 text-red-500 selection:bg-red-200 focus:border-red-500 focus:ring-red-500 focus:placeholder:text-red-500 active:border-red-500 active:ring-red-500": !!error }, className),
2925
2820
  ...props
2926
2821
  }),
2927
2822
  error && /* @__PURE__ */ jsx("small", {
2928
- className: "text-xs font-normal text-red-500",
2823
+ className: "yo-text-caption text-red-500",
2929
2824
  children: error
2930
2825
  })
2931
2826
  ]
2932
2827
  }));
2933
-
2934
2828
  //#endregion
2935
2829
  //#region src/components/themeIcon/index.tsx
2936
- function ThemeIcon({ styleVariant = "black", className, icon, adjustedSize, title,...props }) {
2830
+ function ThemeIcon({ styleVariant = "black", className, icon, adjustedSize, title, ...props }) {
2937
2831
  const classNames = cn("bg-transparent h-9 w-9 rounded-[5px] grid place-content-center", {
2938
2832
  "text-black": styleVariant === COLOR.BLACK,
2939
2833
  "text-gray-500": styleVariant === COLOR.GRAY,
@@ -2958,10 +2852,9 @@ function ThemeIcon({ styleVariant = "black", className, icon, adjustedSize, titl
2958
2852
  })
2959
2853
  }), /* @__PURE__ */ jsx(Tooltip$1, { id: title })] });
2960
2854
  }
2961
-
2962
2855
  //#endregion
2963
2856
  //#region src/components/timeInput/index.tsx
2964
- const TimeInput = forwardRef(({ label, error, withSeconds, className = "",...props }, ref) => {
2857
+ const TimeInput = forwardRef(({ label, error, withSeconds, className = "", ...props }, ref) => {
2965
2858
  const handleTimeChange = (e) => {
2966
2859
  if (props.onChange) props.onChange(e);
2967
2860
  };
@@ -2970,7 +2863,7 @@ const TimeInput = forwardRef(({ label, error, withSeconds, className = "",...pro
2970
2863
  "data-component": "timeInput",
2971
2864
  children: [
2972
2865
  label && /* @__PURE__ */ jsx("label", {
2973
- className: "mb-2 block text-xs font-medium",
2866
+ className: "mb-2 block yo-text-label",
2974
2867
  htmlFor: props.id,
2975
2868
  children: label
2976
2869
  }),
@@ -2980,16 +2873,15 @@ const TimeInput = forwardRef(({ label, error, withSeconds, className = "",...pro
2980
2873
  type: "time",
2981
2874
  step: withSeconds ? "1" : "60",
2982
2875
  onChange: handleTimeChange,
2983
- className: `bg-ultra-light-gray focus:border-primary flex h-10 min-h-[36px] w-full items-center rounded-[5px] border border-solid border-gray-200 px-3 text-sm font-normal focus:outline-hidden ${error ? "border-red-500" : ""} ${className}`
2876
+ className: `bg-ultra-light-gray focus:border-primary flex h-10 min-h-[36px] w-full items-center rounded-[5px] border border-solid border-gray-200 px-3 yo-text-small focus:outline-hidden ${error ? "border-red-500" : ""} ${className}`
2984
2877
  }),
2985
2878
  error && /* @__PURE__ */ jsx("p", {
2986
- className: "pt-2 text-xs font-normal text-red-500",
2879
+ className: "pt-2 yo-text-caption text-red-500",
2987
2880
  children: error
2988
2881
  })
2989
2882
  ]
2990
2883
  });
2991
2884
  });
2992
-
2993
2885
  //#endregion
2994
2886
  //#region src/components/toggle/index.tsx
2995
2887
  const Toggle = ({ onClick, value, disabled = false }) => {
@@ -3011,7 +2903,6 @@ const Toggle = ({ onClick, value, disabled = false }) => {
3011
2903
  })
3012
2904
  });
3013
2905
  };
3014
-
3015
2906
  //#endregion
3016
2907
  //#region src/components/truncatedText/index.tsx
3017
2908
  const TruncatedText = ({ text, limit = 20 }) => {
@@ -3023,7 +2914,7 @@ const TruncatedText = ({ text, limit = 20 }) => {
3023
2914
  return /* @__PURE__ */ jsxs("div", {
3024
2915
  className: "flex items-center gap-2",
3025
2916
  children: [/* @__PURE__ */ jsx("span", {
3026
- className: "text-sm font-normal",
2917
+ className: "yo-text-small",
3027
2918
  children: truncatedText
3028
2919
  }), text.length > limit && /* @__PURE__ */ jsx(Tooltip, {
3029
2920
  content: text,
@@ -3035,10 +2926,9 @@ const TruncatedText = ({ text, limit = 20 }) => {
3035
2926
  })]
3036
2927
  });
3037
2928
  };
3038
-
3039
2929
  //#endregion
3040
2930
  //#region src/components/unorderedList/index.tsx
3041
- const UnorderedList = ({ children, className, actionItem,...props }) => /* @__PURE__ */ jsxs("ul", {
2931
+ const UnorderedList = ({ children, className, actionItem, ...props }) => /* @__PURE__ */ jsxs("ul", {
3042
2932
  className: cn("m-0 last:border-none", className),
3043
2933
  "data-component": "unorderedList",
3044
2934
  "data-testid": "unorderedList",
@@ -3048,72 +2938,55 @@ const UnorderedList = ({ children, className, actionItem,...props }) => /* @__PU
3048
2938
  children: actionItem
3049
2939
  })]
3050
2940
  });
3051
-
3052
2941
  //#endregion
3053
2942
  //#region src/components/unorderedListItem/index.tsx
3054
- const UnorderedListItem = ({ children, actionItem, className, header = false,...props }) => /* @__PURE__ */ jsxs("li", {
2943
+ const UnorderedListItem = ({ children, actionItem, className, header = false, ...props }) => /* @__PURE__ */ jsxs("li", {
3055
2944
  ...props,
3056
2945
  "data-component": "unorderedListItem",
3057
- className: cn("grid min-h-[74px] list-none items-center border-b border-solid border-b-gray-200 py-5 text-sm font-normal last:border-none md:flex md:py-4 md:pr-10 md:pl-10", header ? "md:items-end" : "hover:bg-ultra-light-blue-gray", { "grid-cols-2": actionItem }, className),
2946
+ className: cn("grid min-h-[74px] list-none items-center border-b border-solid border-b-gray-200 py-5 yo-text-small last:border-none md:flex md:py-4 md:pr-10 md:pl-10", header ? "md:items-end" : "hover:bg-ultra-light-blue-gray", { "grid-cols-2": actionItem }, className),
3058
2947
  children: [children, actionItem && /* @__PURE__ */ jsx("span", {
3059
2948
  className: "flex justify-end gap-2 md:absolute md:right-8 md:items-center",
3060
2949
  children: actionItem
3061
2950
  })]
3062
2951
  });
3063
-
3064
2952
  //#endregion
3065
2953
  //#region src/hooks/phone/usePhoneNumber.ts
3066
2954
  function usePhoneNumber() {
3067
- /**
3068
- * Validates a phone number and returns parsing results
3069
- */
3070
- const validatePhone = useCallback((phoneNumber, options) => phone(phoneNumber, options), []);
3071
- /**
3072
- * Strips the country code from a phone number
3073
- * Example: +85265698900 -> 65698900
3074
- */
3075
- const stripCountryCode = useCallback((phoneNumber) => {
3076
- const result = phone(phoneNumber);
3077
- if (!result.isValid) return phoneNumber;
3078
- return result.phoneNumber.replace(result.countryCode, "");
3079
- }, []);
3080
- /**
3081
- * Returns the country code from a phone number
3082
- * Example: +85265698900 -> +852
3083
- */
3084
- const getCountryCode = useCallback((phoneNumber) => {
3085
- const result = phone(phoneNumber);
3086
- if (!result.isValid) return phoneNumber;
3087
- return result.countryCode;
3088
- }, []);
3089
- /**
3090
- * Formats a phone number to international format with country code
3091
- * Example: 0648711212 (with country: 'NL') -> +31648711212
3092
- */
3093
- const formatToInternational = useCallback((phoneNumber, options) => {
3094
- const result = phone(phoneNumber, options);
3095
- if (!result.isValid) return phoneNumber;
3096
- return result.phoneNumber;
3097
- }, []);
3098
2955
  return {
3099
- validatePhone,
3100
- stripCountryCode,
3101
- getCountryCode,
3102
- formatToInternational
2956
+ validatePhone: useCallback((phoneNumber, options) => phone(phoneNumber, options), []),
2957
+ stripCountryCode: useCallback((phoneNumber) => {
2958
+ const result = phone(phoneNumber);
2959
+ if (!result.isValid) return phoneNumber;
2960
+ return result.phoneNumber.replace(result.countryCode, "");
2961
+ }, []),
2962
+ getCountryCode: useCallback((phoneNumber) => {
2963
+ const result = phone(phoneNumber);
2964
+ if (!result.isValid) return phoneNumber;
2965
+ return result.countryCode;
2966
+ }, []),
2967
+ formatToInternational: useCallback((phoneNumber, options) => {
2968
+ const result = phone(phoneNumber, options);
2969
+ if (!result.isValid) return phoneNumber;
2970
+ return result.phoneNumber;
2971
+ }, [])
3103
2972
  };
3104
2973
  }
3105
-
3106
2974
  //#endregion
3107
2975
  //#region src/hooks/phone/usePhoneNumberPrefix.ts
2976
+ /** CJS package often exposes `{ Country, default: api }`; Vite/Node ESM may not unwrap `.default`. */
2977
+ const countryListApi = (() => {
2978
+ const mod = CountryListImport;
2979
+ if (typeof mod.getAll === "function") return mod;
2980
+ if (mod.default && typeof mod.default.getAll === "function") return mod.default;
2981
+ throw new Error("country-list-with-dial-code-and-flag: expected getAll()");
2982
+ })();
3108
2983
  const usePhoneNumberPrefix = (defaultCountry) => {
3109
- const countryList = CountryList.getAll();
3110
- return countryList.filter((country) => country.dial_code).sort((a, b) => {
2984
+ return countryListApi.getAll().filter((country) => country.dial_code).sort((a, b) => {
3111
2985
  if (a?.code === defaultCountry) return -1;
3112
2986
  if (b?.code === defaultCountry) return 1;
3113
2987
  return a.name.localeCompare(b.name);
3114
2988
  });
3115
2989
  };
3116
-
3117
2990
  //#endregion
3118
2991
  //#region src/components/phoneInput/index.tsx
3119
2992
  const CountrySelector = ({ searchPlaceholder, defaultCountry, ref }) => {
@@ -3138,13 +3011,10 @@ const CountrySelector = ({ searchPlaceholder, defaultCountry, ref }) => {
3138
3011
  whileElementsMounted: autoUpdate,
3139
3012
  placement: "bottom-start"
3140
3013
  });
3141
- const click = useClick(context);
3142
- const dismiss = useDismiss(context);
3143
- const role = useRole(context, { role: "combobox" });
3144
3014
  const { getReferenceProps, getFloatingProps } = useInteractions([
3145
- click,
3146
- dismiss,
3147
- role
3015
+ useClick(context),
3016
+ useDismiss(context),
3017
+ useRole(context, { role: "combobox" })
3148
3018
  ]);
3149
3019
  const performSearch = useCallback((query) => {
3150
3020
  if (!query) return phoneNumberPrefixes;
@@ -3152,20 +3022,17 @@ const CountrySelector = ({ searchPlaceholder, defaultCountry, ref }) => {
3152
3022
  return phoneNumberPrefixes.filter((country) => country.name.toLowerCase().includes(lowerQuery) || country.dial_code.toLowerCase().includes(lowerQuery) || country.code.toLowerCase().includes(lowerQuery));
3153
3023
  }, [phoneNumberPrefixes]);
3154
3024
  useEffect(() => {
3155
- const results = performSearch(searchQuery);
3156
- setFilteredCountries(results);
3025
+ setFilteredCountries(performSearch(searchQuery));
3157
3026
  setHighlightedIndex(-1);
3158
3027
  }, [searchQuery]);
3159
3028
  useEffect(() => {
3160
3029
  optionRefs.current = optionRefs.current.slice(0, filteredCountries.length);
3161
3030
  }, [filteredCountries]);
3162
3031
  useEffect(() => {
3163
- if (highlightedIndex >= 0 && optionRefs.current[highlightedIndex]) {
3164
- optionRefs.current[highlightedIndex]?.scrollIntoView({
3165
- behavior: "auto",
3166
- block: "nearest"
3167
- });
3168
- }
3032
+ if (highlightedIndex >= 0 && optionRefs.current[highlightedIndex]) optionRefs.current[highlightedIndex]?.scrollIntoView({
3033
+ behavior: "auto",
3034
+ block: "nearest"
3035
+ });
3169
3036
  }, [highlightedIndex]);
3170
3037
  const handleSelect = (country) => {
3171
3038
  setSelectedCountry(country);
@@ -3182,11 +3049,10 @@ const CountrySelector = ({ searchPlaceholder, defaultCountry, ref }) => {
3182
3049
  e.preventDefault();
3183
3050
  setHighlightedIndex((prev) => prev > 0 ? prev - 1 : filteredCountries.length - 1);
3184
3051
  break;
3185
- case "Enter": {
3052
+ case "Enter":
3186
3053
  e.preventDefault();
3187
3054
  if (highlightedIndex >= 0) handleSelect(filteredCountries[highlightedIndex]);
3188
3055
  break;
3189
- }
3190
3056
  case "Escape":
3191
3057
  e.preventDefault();
3192
3058
  setOpenDropdown(false);
@@ -3213,7 +3079,7 @@ const CountrySelector = ({ searchPlaceholder, defaultCountry, ref }) => {
3213
3079
  children: /* @__PURE__ */ jsx("div", {
3214
3080
  className: "flex items-center gap-1",
3215
3081
  children: /* @__PURE__ */ jsx("span", {
3216
- className: "text-xs font-medium",
3082
+ className: "yo-text-label",
3217
3083
  children: selectedCountry?.dial_code
3218
3084
  })
3219
3085
  })
@@ -3244,15 +3110,17 @@ const CountrySelector = ({ searchPlaceholder, defaultCountry, ref }) => {
3244
3110
  }), /* @__PURE__ */ jsx("div", {
3245
3111
  className: "max-h-[200px] overflow-auto p-1",
3246
3112
  children: filteredCountries.length > 0 ? filteredCountries.map((country, index) => /* @__PURE__ */ jsxs("button", {
3247
- ref: (el) => optionRefs.current[index] = el,
3113
+ ref: (el) => {
3114
+ optionRefs.current[index] = el;
3115
+ },
3248
3116
  type: "button",
3249
3117
  role: "option",
3250
3118
  "aria-selected": selectedCountry?.code === country.code,
3251
3119
  onClick: () => handleSelect(country),
3252
- className: cn("flex w-full items-center gap-3 rounded px-3 py-2 text-sm hover:bg-gray-50", selectedCountry?.code === country.code && "bg-gray-50", highlightedIndex === index && "bg-gray-50 border border-gray-100"),
3120
+ className: cn("flex w-full items-center gap-3 rounded px-3 py-2 yo-text-small hover:bg-gray-50", selectedCountry?.code === country.code && "bg-gray-50", highlightedIndex === index && "bg-gray-50 border border-gray-100"),
3253
3121
  children: [
3254
3122
  /* @__PURE__ */ jsx("span", {
3255
- className: "text-base",
3123
+ className: "yo-text-body",
3256
3124
  children: country.flag
3257
3125
  }),
3258
3126
  /* @__PURE__ */ jsx("span", {
@@ -3260,12 +3128,12 @@ const CountrySelector = ({ searchPlaceholder, defaultCountry, ref }) => {
3260
3128
  children: country.name
3261
3129
  }),
3262
3130
  /* @__PURE__ */ jsx("span", {
3263
- className: "text-xs font-medium text-gray-600",
3131
+ className: "yo-text-label text-gray-600",
3264
3132
  children: country.dial_code
3265
3133
  })
3266
3134
  ]
3267
3135
  }, country.code + country.name + country.dial_code)) : /* @__PURE__ */ jsx("div", {
3268
- className: "px-3 py-2 text-sm text-gray-500 text-center",
3136
+ className: "px-3 py-2 yo-text-small text-gray-500 text-center",
3269
3137
  children: "No countries found"
3270
3138
  })
3271
3139
  })]
@@ -3273,7 +3141,7 @@ const CountrySelector = ({ searchPlaceholder, defaultCountry, ref }) => {
3273
3141
  }) })]
3274
3142
  });
3275
3143
  };
3276
- const PhoneInput = ({ placeholder, searchPlaceHolder, defaultCountry = "NL", invalidMessage, defaultValue, onChange, ref,...rest }) => {
3144
+ const PhoneInput = ({ placeholder, searchPlaceHolder, defaultCountry = "NL", invalidMessage, defaultValue, onChange, ref, ...rest }) => {
3277
3145
  const inputRef = useRef(null);
3278
3146
  const [phoneNumber, setPhoneNumber] = useState(defaultValue || "");
3279
3147
  const { validatePhone, stripCountryCode, getCountryCode, formatToInternational } = usePhoneNumber();
@@ -3286,18 +3154,15 @@ const PhoneInput = ({ placeholder, searchPlaceHolder, defaultCountry = "NL", inv
3286
3154
  if (filteredValue.startsWith("+") && filteredValue.length > 1) {
3287
3155
  const countryCode = getCountryCode(filteredValue);
3288
3156
  if (countryCode) countrySelectorRef.current?.updateCountry(countryCode);
3289
- const strippedNumber = stripCountryCode(filteredValue);
3290
- setPhoneNumber(strippedNumber);
3157
+ setPhoneNumber(stripCountryCode(filteredValue));
3291
3158
  return;
3292
3159
  } else setPhoneNumber(filteredValue);
3293
3160
  };
3294
3161
  const handleBlur = () => {
3295
3162
  if (phoneNumber.trim()) {
3296
3163
  const selectedCountry = countrySelectorRef.current?.getSelectedCountry();
3297
- const validationResult = validatePhone(phoneNumber, { country: selectedCountry?.code });
3298
- if (validationResult.isValid) {
3299
- const formattedNumber = formatToInternational(phoneNumber, { country: selectedCountry?.code });
3300
- const displayNumber = stripCountryCode(formattedNumber);
3164
+ if (validatePhone(phoneNumber, { country: selectedCountry?.code }).isValid) {
3165
+ const displayNumber = stripCountryCode(formatToInternational(phoneNumber, { country: selectedCountry?.code }));
3301
3166
  const fullNumber = selectedCountry?.dial_code + displayNumber;
3302
3167
  setPhoneNumber(displayNumber);
3303
3168
  onChange(fullNumber);
@@ -3323,7 +3188,6 @@ const PhoneInput = ({ placeholder, searchPlaceHolder, defaultCountry = "NL", inv
3323
3188
  });
3324
3189
  };
3325
3190
  PhoneInput.displayName = "PhoneInput";
3326
-
3327
3191
  //#endregion
3328
3192
  //#region src/components/profileMenu/index.tsx
3329
3193
  const ProfileMenu = ({ title, metaTitle, icon, content, disabled = false, classNames }) => {
@@ -3338,26 +3202,23 @@ const ProfileMenu = ({ title, metaTitle, icon, content, disabled = false, classN
3338
3202
  const buttonId = `${menuId}-button`;
3339
3203
  const defaultStyling = "text-black flex items-center gap-1 bg-transparent py-1 px-2.5 h-9 min-w-9 cursor-pointer border-gray-200 focus:bg-gray-50 focus:ring focus:ring-primary focus:outline-none focus:border-0 focus:ring-inset";
3340
3204
  const handleToggle = () => {
3341
- if (!disabled) {
3342
- setIsOpen((prev) => {
3343
- const newIsOpen = !prev;
3344
- /* istanbul ignore next - branch depends on async DOM focus */
3345
- if (newIsOpen) {
3346
- setTimeout(() => {
3347
- /* istanbul ignore next - async focus behavior depends on DOM/timing */
3348
- setFocusedIndex(0);
3349
- /* istanbul ignore next - async focus behavior depends on DOM/timing */
3350
- menuItemRefs.current[0]?.focus();
3351
- }, 0);
3352
- } else {
3353
- /* istanbul ignore next - focus reset depends on DOM/timing */
3354
- setFocusedIndex(-1);
3355
- /* istanbul ignore next - focus reset depends on DOM/timing */
3356
- buttonRef.current?.focus();
3357
- }
3358
- return newIsOpen;
3359
- });
3360
- }
3205
+ if (!disabled) setIsOpen((prev) => {
3206
+ const newIsOpen = !prev;
3207
+ /* istanbul ignore next - branch depends on async DOM focus */
3208
+ if (newIsOpen) setTimeout(() => {
3209
+ /* istanbul ignore next - async focus behavior depends on DOM/timing */
3210
+ setFocusedIndex(0);
3211
+ /* istanbul ignore next - async focus behavior depends on DOM/timing */
3212
+ menuItemRefs.current[0]?.focus();
3213
+ }, 0);
3214
+ else {
3215
+ /* istanbul ignore next - focus reset depends on DOM/timing */
3216
+ setFocusedIndex(-1);
3217
+ /* istanbul ignore next - focus reset depends on DOM/timing */
3218
+ buttonRef.current?.focus();
3219
+ }
3220
+ return newIsOpen;
3221
+ });
3361
3222
  };
3362
3223
  /* istanbul ignore next - click handler behavior covered via integration; unit env flaky */
3363
3224
  const handleItemClick = (onClick) => {
@@ -3439,7 +3300,7 @@ const ProfileMenu = ({ title, metaTitle, icon, content, disabled = false, classN
3439
3300
  "aria-label": "Toggle profile menu",
3440
3301
  "aria-expanded": isOpen,
3441
3302
  "aria-haspopup": "menu",
3442
- "aria-controls": isOpen ? menuId : undefined,
3303
+ "aria-controls": isOpen ? menuId : void 0,
3443
3304
  className: cn(buttonVariants["secondary"], defaultStyling, classNames?.button),
3444
3305
  disabled,
3445
3306
  onClick: handleToggle,
@@ -3461,7 +3322,7 @@ const ProfileMenu = ({ title, metaTitle, icon, content, disabled = false, classN
3461
3322
  role: "menuitem",
3462
3323
  tabIndex: -1,
3463
3324
  onClick: () => handleItemClick(c.onClick),
3464
- className: cn("w-full rounded-md px-4 py-2 text-left text-sm font-normal whitespace-nowrap transition-colors", "focus:ring-primary hover:bg-gray-50 focus:bg-gray-50 focus:ring focus:outline-none focus:ring-inset", c.disabled && "cursor-not-allowed opacity-50", focusedIndex === index && "bg-gray-50"),
3325
+ className: cn("w-full rounded-md px-4 py-2 text-left yo-text-small whitespace-nowrap transition-colors", "focus:ring-primary hover:bg-gray-50 focus:bg-gray-50 focus:ring focus:outline-none focus:ring-inset", c.disabled && "cursor-not-allowed opacity-50", focusedIndex === index && "bg-gray-50"),
3465
3326
  "aria-label": c.title,
3466
3327
  disabled: c.disabled,
3467
3328
  children: c.title
@@ -3470,11 +3331,9 @@ const ProfileMenu = ({ title, metaTitle, icon, content, disabled = false, classN
3470
3331
  })]
3471
3332
  }) });
3472
3333
  };
3473
-
3474
3334
  //#endregion
3475
3335
  //#region src/utils/ssr.ts
3476
3336
  const isSSR = () => typeof window === "undefined" || typeof document === "undefined";
3477
-
3478
3337
  //#endregion
3479
3338
  //#region src/components/wysiwygEditor/index.tsx
3480
3339
  const BoldIcon = () => /* @__PURE__ */ jsx(IconBold, {
@@ -3508,12 +3367,12 @@ const WysiwygEditor = forwardRef(({ id, content, className, placeholder, onChang
3508
3367
  Underline,
3509
3368
  Placeholder.configure({ placeholder })
3510
3369
  ],
3511
- editorProps: { attributes: { class: "min-h-[190px] md:min-h-[150px] bg-ultra-light-gray text-sm font-normal p-4 prose prose-sm sm:prose-base lg:prose-lg xl:prose-2xl focus:outline-hidden" } },
3370
+ editorProps: { attributes: { class: "min-h-[190px] md:min-h-[150px] bg-ultra-light-gray yo-text-small p-4 prose prose-sm sm:prose-base lg:prose-lg xl:prose-2xl focus:outline-hidden" } },
3512
3371
  content,
3513
3372
  immediatelyRender: false,
3514
3373
  editable: !readOnly,
3515
- onUpdate({ editor: editor$1 }) {
3516
- let sanitizedOutput = editor$1.getHTML().replaceAll(/<li><p>(.*?)<\/p><(\/?)(ol|li|ul)>/gi, "<li>$1<$2$3>");
3374
+ onUpdate({ editor }) {
3375
+ let sanitizedOutput = editor.getHTML().replaceAll(/<li><p>(.*?)<\/p><(\/?)(ol|li|ul)>/gi, "<li>$1<$2$3>");
3517
3376
  sanitizedOutput = sanitizedOutput.replace(/(<p><\/p>\s*)+/gi, "<p></p>");
3518
3377
  sanitizedOutput = sanitizedOutput.replace(/^(<p><\/p>\s*)+/gi, "");
3519
3378
  sanitizedOutput = sanitizedOutput.replace(/(<p><\/p>\s*)+$/gi, "");
@@ -3545,28 +3404,28 @@ const WysiwygEditor = forwardRef(({ id, content, className, placeholder, onChang
3545
3404
  type: "button",
3546
3405
  "data-testid": "bold-button",
3547
3406
  onClick: () => editor.chain().focus().toggleBold().run(),
3548
- className: `${editor.isActive("bold") ? "bg-primary/20" : "bg-white"} flex size-[26px] items-center justify-center rounded-l-md border-gray-400 text-xs font-normal hover:bg-gray-100 focus:ring-2 focus:ring-teal-500 focus:outline-hidden`,
3407
+ className: `${editor.isActive("bold") ? "bg-primary/20" : "bg-white"} flex size-[26px] items-center justify-center rounded-l-md border-gray-400 yo-text-small hover:bg-gray-100 focus:ring-2 focus:ring-teal-500 focus:outline-hidden`,
3549
3408
  children: /* @__PURE__ */ jsx(BoldIcon, {})
3550
3409
  }),
3551
3410
  /* @__PURE__ */ jsx("button", {
3552
3411
  type: "button",
3553
3412
  "data-testid": "italic-button",
3554
3413
  onClick: () => editor.chain().focus().toggleItalic().run(),
3555
- className: `${editor.isActive("italic") ? "bg-primary/20" : "bg-white"} flex size-[26px] items-center justify-center border-gray-400 text-xs font-normal hover:bg-gray-100 focus:ring-2 focus:ring-teal-500 focus:outline-hidden`,
3414
+ className: `${editor.isActive("italic") ? "bg-primary/20" : "bg-white"} flex size-[26px] items-center justify-center border-gray-400 yo-text-small hover:bg-gray-100 focus:ring-2 focus:ring-teal-500 focus:outline-hidden`,
3556
3415
  children: /* @__PURE__ */ jsx(ItalicIcon, {})
3557
3416
  }),
3558
3417
  /* @__PURE__ */ jsx("button", {
3559
3418
  type: "button",
3560
3419
  "data-testid": "underline-button",
3561
3420
  onClick: () => editor.chain().focus().toggleUnderline().run(),
3562
- className: `${editor.isActive("underline") ? "bg-primary/20" : "bg-white"} flex size-[26px] items-center justify-center border-gray-400 text-xs font-normal hover:bg-gray-100 focus:ring-2 focus:ring-teal-500 focus:outline-hidden`,
3421
+ className: `${editor.isActive("underline") ? "bg-primary/20" : "bg-white"} flex size-[26px] items-center justify-center border-gray-400 yo-text-small hover:bg-gray-100 focus:ring-2 focus:ring-teal-500 focus:outline-hidden`,
3563
3422
  children: /* @__PURE__ */ jsx(UnderlineIcon, {})
3564
3423
  }),
3565
3424
  /* @__PURE__ */ jsx("button", {
3566
3425
  type: "button",
3567
3426
  "data-testid": "clear-formatting-button",
3568
3427
  onClick: () => editor.chain().focus().clearNodes().unsetAllMarks().run(),
3569
- className: "flex size-[26px] items-center justify-center rounded-r-md border-gray-400 bg-white text-xs font-normal hover:bg-gray-100 focus:ring-2 focus:ring-teal-500 focus:outline-hidden",
3428
+ className: "flex size-[26px] items-center justify-center rounded-r-md border-gray-400 bg-white yo-text-small hover:bg-gray-100 focus:ring-2 focus:ring-teal-500 focus:outline-hidden",
3570
3429
  children: /* @__PURE__ */ jsx(ClearFormattingIcon, {})
3571
3430
  })
3572
3431
  ]
@@ -3576,13 +3435,13 @@ const WysiwygEditor = forwardRef(({ id, content, className, placeholder, onChang
3576
3435
  type: "button",
3577
3436
  "data-testid": "bullet-list-button",
3578
3437
  onClick: () => editor.chain().focus().toggleBulletList().run(),
3579
- className: `${editor.isActive("bulletList") ? "bg-primary/20" : "bg-white"} flex size-[26px] items-center justify-center rounded-l-md border-gray-400 text-xs font-normal hover:bg-gray-100 focus:ring-2 focus:ring-teal-500 focus:outline-hidden`,
3438
+ className: `${editor.isActive("bulletList") ? "bg-primary/20" : "bg-white"} flex size-[26px] items-center justify-center rounded-l-md border-gray-400 yo-text-small hover:bg-gray-100 focus:ring-2 focus:ring-teal-500 focus:outline-hidden`,
3580
3439
  children: /* @__PURE__ */ jsx(ListIcon, {})
3581
3440
  }), /* @__PURE__ */ jsx("button", {
3582
3441
  type: "button",
3583
3442
  "data-testid": "ordered-list-button",
3584
3443
  onClick: () => editor.chain().focus().toggleOrderedList().run(),
3585
- className: `${editor.isActive("orderedList") ? "bg-primary/20 text-primary" : "bg-white"} flex size-[26px] items-center justify-center rounded-r-md border-gray-400 text-xs font-normal hover:bg-gray-100 focus:ring-2 focus:ring-teal-500 focus:outline-hidden`,
3444
+ className: `${editor.isActive("orderedList") ? "bg-primary/20 text-primary" : "bg-white"} flex size-[26px] items-center justify-center rounded-r-md border-gray-400 yo-text-small hover:bg-gray-100 focus:ring-2 focus:ring-teal-500 focus:outline-hidden`,
3586
3445
  children: /* @__PURE__ */ jsx(ListNumbersIcon, {})
3587
3446
  })]
3588
3447
  })]
@@ -3594,11 +3453,11 @@ const WysiwygEditor = forwardRef(({ id, content, className, placeholder, onChang
3594
3453
  className: cn("overflow-hidden rounded-[inherit]")
3595
3454
  })]
3596
3455
  }), error && /* @__PURE__ */ jsx("span", {
3597
- className: "mt-1 text-xs font-normal text-red-600",
3456
+ className: "mt-1 yo-text-small text-red-600",
3598
3457
  children: error
3599
3458
  })] });
3600
3459
  });
3601
-
3602
3460
  //#endregion
3603
3461
  export { AccordionItem, AccordionWrapper, ActionIcon, Alert, AppleAppButtonIcon, AutoCompleteInput, Avatar, AvatarIndicator, Badge, BigBadge, BreadCrumb, Button, Checkbox, DatePickerInput, Divider, FavouriteButton, Filters, GoogleAppButtonIcon, HR, HamburgerMenuButton, Island, KebabMenu, Label, Loader, LogoBlack, Modal, NavButtons, NumberField, NumberedStepper, PageUnavailable, PasswordInput, PhoneInput, Popover, ProfileMenu, ProgressBar, RadioButton, Rating, RegionSelector, Reviews, ScrollToTop, SearchInput, Select, SettingsCard, Skeleton, SkillPill, Stepper, StickyMobileButtonWrapper, Table, TableCell, TableHeader, TableHeaderItem, TableHeaderRow, TableRow, TabsBadge, TabsWrapper, TextInput, Textarea, ThemeIcon, TimeInput, Toggle, Tooltip, TruncatedText, UnorderedList, UnorderedListItem, UnstyledButton, WysiwygEditor, buttonVariants };
3462
+
3604
3463
  //# sourceMappingURL=index.js.map