@youngonesworks/ui 1.0.5 → 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
@@ -66,13 +66,13 @@ const AccordionItem = ({ controlContent, panelContent, style = "light", border =
66
66
  }),
67
67
  /* @__PURE__ */ jsx("div", {
68
68
  onClick: () => setIsActive(!isActive),
69
- 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`,
70
70
  children: controlContent
71
71
  }),
72
72
  endContent
73
73
  ]
74
74
  }), /* @__PURE__ */ jsx("div", {
75
- 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`,
76
76
  children: /* @__PURE__ */ jsx("div", {
77
77
  className: "px-4 py-3",
78
78
  children: panelContent
@@ -145,7 +145,7 @@ const Tooltip = ({ content, children, passedOpen = false, size = "md", variant =
145
145
  className: "w-full rounded bg-gray-800 pt-[3px] text-white",
146
146
  children: [/* @__PURE__ */ jsx("div", {
147
147
  "data-testid": "tooltip-content",
148
- className: `${sizeClasses[size]} px-2 py-1 text-sm font-normal`,
148
+ className: `${sizeClasses[size]} px-2 py-1 yo-text-small text-white`,
149
149
  children: content
150
150
  }), /* @__PURE__ */ jsx(FloatingArrow, {
151
151
  ref: arrowRef,
@@ -158,10 +158,10 @@ const Tooltip = ({ content, children, passedOpen = false, size = "md", variant =
158
158
  })]
159
159
  }) : /* @__PURE__ */ jsxs("div", {
160
160
  "data-testid": "tooltip-container",
161
- className: "bg-linear-gradient-x pt-[3px]",
161
+ className: "pt-[3px]",
162
162
  children: [/* @__PURE__ */ jsx("div", {
163
163
  "data-testid": "tooltip-content",
164
- 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`,
165
165
  children: /* @__PURE__ */ jsx("p", { children: content })
166
166
  }), size === "md" ? /* @__PURE__ */ jsx(FloatingArrow, {
167
167
  ref: arrowRef,
@@ -308,7 +308,7 @@ const Alert = ({ show, title, description, type = "warning", button, plain = fal
308
308
  "aria-live": "assertive",
309
309
  "aria-atomic": "true",
310
310
  "aria-describedby": descriptionId,
311
- 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),
312
312
  "data-component": "Alert",
313
313
  "data-testid": "alert",
314
314
  ...props,
@@ -327,17 +327,17 @@ const Alert = ({ show, title, description, type = "warning", button, plain = fal
327
327
  "data-testid": "alert-icon",
328
328
  "aria-hidden": "true"
329
329
  })), /* @__PURE__ */ jsx("span", {
330
- className: "yo-text-base",
330
+ className: "yo-text-body",
331
331
  children: title
332
332
  })]
333
333
  }),
334
334
  description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", {
335
335
  id: descriptionId,
336
- className: "text-sm text-color-gray-900",
336
+ className: "yo-text-small text-color-gray-900",
337
337
  children: description
338
338
  }) : /* @__PURE__ */ jsx("div", {
339
339
  id: descriptionId,
340
- className: "text-sm text-color-gray-900",
340
+ className: "yo-text-small text-color-gray-900",
341
341
  children: description
342
342
  })),
343
343
  button && /* @__PURE__ */ jsx("div", { children: button })
@@ -593,14 +593,14 @@ const TextInput = React.forwardRef(({ rightSection, leftSection, className, erro
593
593
  children: [
594
594
  typeof label === "string" ? /* @__PURE__ */ jsx("label", {
595
595
  htmlFor: props.id,
596
- 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",
597
597
  children: label
598
598
  }) : label,
599
599
  /* @__PURE__ */ jsxs("div", {
600
600
  className: "relative",
601
601
  children: [
602
602
  leftSection && /* @__PURE__ */ jsx("div", {
603
- 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"),
604
604
  children: leftSection
605
605
  }),
606
606
  /* @__PURE__ */ jsx("input", {
@@ -622,17 +622,17 @@ const TextInput = React.forwardRef(({ rightSection, leftSection, className, erro
622
622
  type: password ? showPassword ? "text" : "password" : "text"
623
623
  }),
624
624
  loadingState ? /* @__PURE__ */ jsx("div", {
625
- 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",
626
626
  children: /* @__PURE__ */ jsx(IconLoading, {
627
627
  className: "h-4 w-4 animate-spin text-gray-500",
628
628
  "aria-label": "Loading"
629
629
  })
630
630
  }) : rightSection && showRightSection && /* @__PURE__ */ jsx("div", {
631
- 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",
632
632
  children: rightSection
633
633
  }),
634
634
  password && /* @__PURE__ */ jsx("div", {
635
- 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",
636
636
  children: showPassword ? /* @__PURE__ */ jsx(IconEyeCheck, {
637
637
  "data-testid": "password-visibility-toggle",
638
638
  className: "cursor-pointer text-gray-500",
@@ -648,7 +648,7 @@ const TextInput = React.forwardRef(({ rightSection, leftSection, className, erro
648
648
  ]
649
649
  }),
650
650
  error && /* @__PURE__ */ jsx("div", {
651
- className: "mt-2 text-xs font-normal text-red-500",
651
+ className: "mt-2 yo-text-caption text-red-500",
652
652
  children: error
653
653
  })
654
654
  ]
@@ -718,7 +718,7 @@ const Badge = ({ styleVariant = COLOR.ACCENT_BLUE, className, favorite, children
718
718
  return /* @__PURE__ */ jsx("span", {
719
719
  "data-testid": "badge",
720
720
  "data-component": "Badge",
721
- 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", {
722
722
  "bg-accent-blue-light text-accent-blue": styleVariant === COLOR.ACCENT_BLUE,
723
723
  "bg-green-light text-green": styleVariant === COLOR.GREEN_LIGHT,
724
724
  "bg-red-50 text-red-500": styleVariant === COLOR.RED,
@@ -745,7 +745,7 @@ Badge.displayName = "Badge";
745
745
  const BigBadge = ({ styleVariant = COLOR.GREEN, className, children, ...props }) => /* @__PURE__ */ jsx("div", {
746
746
  "data-component": "BigBadge",
747
747
  "data-testid": "big-badge",
748
- 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", {
749
749
  "border-green text-green bg-white": styleVariant === COLOR.GREEN,
750
750
  "border-accent-blue text-accent-blue bg-white": styleVariant === COLOR.ACCENT_BLUE,
751
751
  "border-orange text-orange bg-white": styleVariant === COLOR.ORANGE,
@@ -777,7 +777,7 @@ const buttonVariants = {
777
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"),
778
778
  danger: clsx(defaultButtonStyling, "border-transparent bg-red-500 text-white hover:bg-red-700 disabled:bg-red-100 disabled:hover:bg-red-100"),
779
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"),
780
- 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"),
781
781
  search: clsx(defaultButtonStyling, "absolute top-0 right-0 h-full w-[50px] border-0 bg-transparent bg-no-repeat"),
782
782
  icon__primary: clsx(defaultButtonStyling, "flex! items-center justify-center"),
783
783
  icon__danger: clsx(defaultButtonStyling, "flex! items-center justify-center"),
@@ -799,7 +799,7 @@ function Button({ type = "button", variant = "primary", ariaLabel, block = false
799
799
  type,
800
800
  "aria-label": ariaLabel,
801
801
  "data-testid": dataTestId,
802
- className: cn(buttonVariants[variant], className, block && "w-full text-sm"),
802
+ className: cn(buttonVariants[variant], className, block && "w-full yo-text-small"),
803
803
  onClick: handleOnClick,
804
804
  ...props,
805
805
  children: [
@@ -861,18 +861,18 @@ const CheckboxComponent = ({ size = "md", className, error, mediumBoldText, labe
861
861
  ]
862
862
  }), label && /* @__PURE__ */ jsx("span", {
863
863
  "data-testid": "checkbox-label",
864
- className: cn("grow text-sm font-normal", labelClassName, { "font-medium": mediumBoldText }),
864
+ className: cn("grow yo-text-small", labelClassName, { "font-medium": mediumBoldText }),
865
865
  children: label
866
866
  })]
867
867
  }), error && /* @__PURE__ */ jsx("small", {
868
- className: "text-xs font-normal text-red-500",
868
+ className: "yo-text-caption text-red-500",
869
869
  children: error
870
870
  })]
871
871
  });
872
872
  const Checkbox = forwardRef(CheckboxComponent);
873
873
  //#endregion
874
874
  //#region src/components/popover/index.tsx
875
- 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) => {
876
876
  const [isOpen, setIsOpen] = useState(passedOpen);
877
877
  const mobileStyles = { width: `${style === "card" && "100%"}` };
878
878
  const { refs, floatingStyles, context } = useFloating({
@@ -927,7 +927,7 @@ const Popover = forwardRef(({ content, children, hoverEnabled = false, passedOpe
927
927
  "data-testid": "popover-container",
928
928
  "data-component": "Popover",
929
929
  children: [style === "minimal" && content, style === "card" && /* @__PURE__ */ jsx("div", {
930
- className: "bg-linear-gradient-x pt-[3px]",
930
+ className: cn("pt-[3px]", gradientVariant === "client" && "bg-gradient-blue-turquoise", gradientVariant === "agency" && "bg-gradient-blue-purple"),
931
931
  children: /* @__PURE__ */ jsxs("div", {
932
932
  className: "relative overflow-hidden bg-white p-5",
933
933
  children: [!hoverEnabled && /* @__PURE__ */ jsx(ActionIcon, {
@@ -1031,17 +1031,17 @@ const DatePickerInput = ({ lang, todayText, value, disabledFrom, disabledUntil,
1031
1031
  className,
1032
1032
  classNames: {
1033
1033
  month_grid: "mt-3 max-w-[400px] border-t border-gray-100",
1034
- month_caption: "text-sm font-bold",
1034
+ month_caption: "yo-text-small font-bold",
1035
1035
  dropdowns: "flex items-center w-[190px] gap-1 left-0 justify-center h-8",
1036
- 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]",
1037
1037
  chevron: "w-4 h-4 z-50",
1038
1038
  nav: "absolute w-[190px] justify-between flex h-8 items-center",
1039
1039
  nav_button: "h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100 cursor-pointer",
1040
1040
  nav_button_previous: "absolute left-1",
1041
1041
  nav_button_next: "absolute right-1",
1042
- 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",
1043
1043
  weekdays: "pt-12",
1044
- weekday: "text-gray-300 text-sm font-normal pt-4 pb-2",
1044
+ weekday: "text-gray-300 yo-text-small pt-4 pb-2",
1045
1045
  day_today: "bg-accent text-accent-foreground",
1046
1046
  day_outside: "day-outside text-gray-800 aria-selected:bg-accent/50 aria-selected:text-muted-foreground aria-selected:opacity-30",
1047
1047
  day_disabled: "text-gray-800",
@@ -1055,7 +1055,7 @@ const DatePickerInput = ({ lang, todayText, value, disabledFrom, disabledUntil,
1055
1055
  return /* @__PURE__ */ jsx("button", {
1056
1056
  type: "button",
1057
1057
  ...buttonProps,
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 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"),
1059
1059
  onClick: () => {
1060
1060
  goToMonth(day.date);
1061
1061
  handleDayClick(day.date);
@@ -1104,7 +1104,7 @@ const DatePickerInput = ({ lang, todayText, value, disabledFrom, disabledUntil,
1104
1104
  }), /* @__PURE__ */ jsx(Button, {
1105
1105
  variant: "secondary",
1106
1106
  type: "button",
1107
- 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",
1108
1108
  onClick: () => {
1109
1109
  goToMonth(today);
1110
1110
  handleDayClick(today);
@@ -1158,7 +1158,7 @@ const DatePickerInput = ({ lang, todayText, value, disabledFrom, disabledUntil,
1158
1158
  className: cn("relative", className),
1159
1159
  children: [
1160
1160
  label && /* @__PURE__ */ jsx("label", {
1161
- className: "mb-2 flex items-center gap-1 text-xs font-medium",
1161
+ className: "mb-2 flex items-center gap-1 yo-text-label",
1162
1162
  children: label
1163
1163
  }),
1164
1164
  /* @__PURE__ */ jsxs(Button, {
@@ -1174,11 +1174,11 @@ const DatePickerInput = ({ lang, todayText, value, disabledFrom, disabledUntil,
1174
1174
  children: [
1175
1175
  /* @__PURE__ */ jsx(IconCalendar, {}),
1176
1176
  /* @__PURE__ */ jsx("span", {
1177
- className: "text-sm font-normal text-nowrap text-black",
1177
+ className: "yo-text-small text-nowrap text-black",
1178
1178
  children: selected ? selected.toLocaleDateString() : placeholder
1179
1179
  }),
1180
1180
  selected !== void 0 && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("span", {
1181
- className: "cursor-pointer text-sm font-normal text-gray-800",
1181
+ className: "cursor-pointer yo-text-small text-gray-800",
1182
1182
  role: "button",
1183
1183
  "aria-label": "Clear date",
1184
1184
  tabIndex: 0,
@@ -1198,7 +1198,7 @@ const DatePickerInput = ({ lang, todayText, value, disabledFrom, disabledUntil,
1198
1198
  ]
1199
1199
  }),
1200
1200
  error && /* @__PURE__ */ jsx("small", {
1201
- className: "text-xs font-normal text-red-500",
1201
+ className: "yo-text-caption text-red-500",
1202
1202
  children: error
1203
1203
  })
1204
1204
  ]
@@ -1241,7 +1241,7 @@ const FilterButton = ({ onClick, hasFilters, reset, filtersText, resetText }) =>
1241
1241
  icon: /* @__PURE__ */ jsx(IconFilter, { stroke: 1 }),
1242
1242
  children: filtersText
1243
1243
  }), /* @__PURE__ */ jsx(UnstyledButton, {
1244
- className: "text-sm font-normal disabled:text-gray-500",
1244
+ className: "yo-text-small disabled:text-gray-500",
1245
1245
  onClick: reset,
1246
1246
  disabled: !hasFilters,
1247
1247
  children: resetText
@@ -1250,7 +1250,7 @@ const FilterButton = ({ onClick, hasFilters, reset, filtersText, resetText }) =>
1250
1250
  //#endregion
1251
1251
  //#region src/components/filters/FilterItem.tsx
1252
1252
  const FilterItem = ({ title, isActive = false, onClick }) => /* @__PURE__ */ jsxs("label", {
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 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"),
1254
1254
  children: [/* @__PURE__ */ jsx("input", {
1255
1255
  type: "checkbox",
1256
1256
  className: "hidden",
@@ -1279,7 +1279,7 @@ const Filters = ({ filters, setFilters, selectedFilters, selectedFiltersText, fi
1279
1279
  children: [/* @__PURE__ */ jsxs("div", {
1280
1280
  className: "flex items-center justify-end gap-3",
1281
1281
  children: [/* @__PURE__ */ jsx("span", {
1282
- className: "text-sm font-medium",
1282
+ className: "yo-text-small-medium",
1283
1283
  "data-testid": "filters-title",
1284
1284
  children: selectedFiltersText
1285
1285
  }), /* @__PURE__ */ jsx(FilterButton, {
@@ -1607,7 +1607,7 @@ const KebabMenu = ({ title, tooltip, content, disabled = false, styleVariant = "
1607
1607
  children: content.map((c, index) => {
1608
1608
  const button = /* @__PURE__ */ jsx(UnstyledButton, {
1609
1609
  onClick: () => handleItemClick(c.onClick),
1610
- 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",
1611
1611
  "aria-label": "Options Menu Item",
1612
1612
  disabled: c.disabled,
1613
1613
  children: c.title
@@ -1629,7 +1629,7 @@ KebabMenu.displayName = "KebabMenu";
1629
1629
  const Label = ({ children, className, ...props }) => /* @__PURE__ */ jsx("label", {
1630
1630
  "data-component": "label",
1631
1631
  "data-testid": "label",
1632
- 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),
1633
1633
  ...props,
1634
1634
  children
1635
1635
  });
@@ -1715,7 +1715,7 @@ const LogoBlack = (props) => /* @__PURE__ */ jsxs("svg", {
1715
1715
  });
1716
1716
  //#endregion
1717
1717
  //#region src/components/modal/index.tsx
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 }) => {
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" }) => {
1719
1719
  const ref = useRef(null);
1720
1720
  const refContainer = useRef(null);
1721
1721
  const [isOpen, setIsOpen] = useState(false);
@@ -1796,16 +1796,15 @@ const Modal = ({ title, children, withCloseButton = true, opened, additionalClas
1796
1796
  }),
1797
1797
  title && /* @__PURE__ */ jsx("div", {
1798
1798
  className: "relative w-full pt-14",
1799
- children: /* @__PURE__ */ jsx("h2", {
1800
- 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",
1801
1801
  children: title
1802
1802
  })
1803
1803
  }),
1804
1804
  /* @__PURE__ */ jsx("div", { children }),
1805
1805
  gradient && /* @__PURE__ */ jsx("hr", {
1806
1806
  "data-testid": "modal-gradient",
1807
- className: "absolute bottom-0 left-0 mt-8 mb-0 h-2! w-full border-none",
1808
- 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")
1809
1808
  })
1810
1809
  ]
1811
1810
  })
@@ -1858,7 +1857,7 @@ const NumberField = ({ name, value = 0, max, min = 0, isDisabled, id, className
1858
1857
  children: [
1859
1858
  label && /* @__PURE__ */ jsx("label", {
1860
1859
  htmlFor: id,
1861
- className: "mb-1 text-sm font-medium text-gray-700",
1860
+ className: "mb-1 yo-text-label",
1862
1861
  children: label
1863
1862
  }),
1864
1863
  /* @__PURE__ */ jsxs("div", {
@@ -1892,7 +1891,7 @@ const NumberField = ({ name, value = 0, max, min = 0, isDisabled, id, className
1892
1891
  ]
1893
1892
  }),
1894
1893
  error && /* @__PURE__ */ jsx("p", {
1895
- className: "mt-1 text-sm font-normal text-red-600",
1894
+ className: "mt-1 yo-text-small text-red-600",
1896
1895
  children: error
1897
1896
  })
1898
1897
  ]
@@ -1904,7 +1903,7 @@ const PageUnavailable = ({ notAvailableButton, notAvailableDescription, notAvail
1904
1903
  className: "mx-auto grid max-w-[900px] justify-items-center gap-8 text-center",
1905
1904
  children: [
1906
1905
  /* @__PURE__ */ jsx("h1", {
1907
- className: "text-3xl font-bold",
1906
+ className: "yo-text-h1",
1908
1907
  children: notAvailableHeaderText
1909
1908
  }),
1910
1909
  /* @__PURE__ */ jsx("p", { children: notAvailableDescription }),
@@ -1974,7 +1973,7 @@ const RadioButton = ({ id, name, value, label, onChange, checked, dataTestId, cl
1974
1973
  })]
1975
1974
  }), /* @__PURE__ */ jsx("label", {
1976
1975
  htmlFor: id,
1977
- 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 })}`,
1978
1977
  children: label
1979
1978
  })]
1980
1979
  });
@@ -2055,23 +2054,23 @@ const Rating = ({ rating, ratings, size = "normal", setReview, className, setRev
2055
2054
  const roundedRating = Math.round(rating * 2) / 2;
2056
2055
  const hasHalf = roundedRating % 1 === .5;
2057
2056
  const effectiveRating = roundedRating;
2058
- if (index <= Math.floor(effectiveRating)) return /* @__PURE__ */ jsx(IconStarFilled, { className: `text-yellow ${sizeClasses[size]}` });
2059
- if (hasHalf && index === Math.ceil(effectiveRating)) return /* @__PURE__ */ jsx(IconStarHalfFilled, { className: `text-yellow ${sizeClasses[size]}` });
2060
- return /* @__PURE__ */ jsx(IconStarEmpty, { className: `text-yellow ${sizeClasses[size]}` });
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]}` });
2061
2060
  }
2062
2061
  const displayRating = reviewIsSet ? Number(reviewIsSet) : currentRating;
2063
2062
  const roundedRating = Math.round(displayRating * 2) / 2;
2064
2063
  const hasHalf = roundedRating % 1 === .5;
2065
2064
  const effectiveRating = roundedRating;
2066
- if (index <= Math.floor(effectiveRating)) return /* @__PURE__ */ jsx(IconStarFilled, { className: `text-yellow ${sizeClasses[size]}` });
2067
- if (hasHalf && index === Math.ceil(effectiveRating)) return /* @__PURE__ */ jsx(IconStarHalfFilled, { className: `text-yellow ${sizeClasses[size]}` });
2068
- return /* @__PURE__ */ jsx(IconStarEmpty, { className: `text-yellow ${sizeClasses[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]} ` });
2069
2068
  };
2070
2069
  const StarSmallIcon = ({ index, className }) => {
2071
2070
  const roundedRating = Math.round(currentSmallRating * 2) / 2;
2072
- if (index === roundedRating) return /* @__PURE__ */ jsx(IconStarFilled, { className: cn(className, "text-yellow") });
2073
- if (index - roundedRating === .5) return /* @__PURE__ */ jsx(IconStarHalfFilled, { className: cn(className, "text-yellow") });
2074
- return /* @__PURE__ */ jsx(IconStarEmpty, { className: cn(className, "text-yellow") });
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") });
2075
2074
  };
2076
2075
  return /* @__PURE__ */ jsxs("span", {
2077
2076
  className: cn("flex flex-col", className),
@@ -2100,7 +2099,7 @@ const Rating = ({ rating, ratings, size = "normal", setReview, className, setRev
2100
2099
  onClick: () => handleStarClick(value),
2101
2100
  children: [Array.from({ length: value }).map((_, i) => /* @__PURE__ */ jsx(StarSmallIcon, {
2102
2101
  index: value,
2103
- className: "text-yellow size-5"
2102
+ className: "text-navy-blue size-5"
2104
2103
  }, i)), /* @__PURE__ */ jsx("span", {
2105
2104
  className: "mt-[5px] flex items-center pl-2 text-[12px] text-gray-800",
2106
2105
  children: label
@@ -2123,7 +2122,7 @@ const RegionSelector = ({ title, regions, ...props }) => {
2123
2122
  className: "flex w-full flex-col items-center justify-center gap-11 break-words lg:gap-14",
2124
2123
  ...props,
2125
2124
  children: [/* @__PURE__ */ jsx("h1", {
2126
- 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",
2127
2126
  children: title
2128
2127
  }), /* @__PURE__ */ jsx("ul", {
2129
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",
@@ -2413,7 +2412,7 @@ function Select({ id, options, placeholder, label, errorText, hideError = false,
2413
2412
  },
2414
2413
  ...getReferenceProps(),
2415
2414
  disabled,
2416
- 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"),
2417
2416
  "aria-haspopup": "listbox",
2418
2417
  "aria-expanded": open,
2419
2418
  "aria-disabled": disabled,
@@ -2458,7 +2457,7 @@ function Select({ id, options, placeholder, label, errorText, hideError = false,
2458
2457
  "aria-labelledby": `${id}-label`,
2459
2458
  className: cn("z-[99999] mt-2 rounded-md border border-gray-200 bg-white shadow-md", "overflow-hidden animate-in fade-in"),
2460
2459
  children: /* @__PURE__ */ jsxs("div", {
2461
- className: "p-1 text-sm max-h-[250px] overflow-auto",
2460
+ className: "p-1 yo-text-small max-h-[250px] overflow-auto",
2462
2461
  children: [searchable && /* @__PURE__ */ jsxs("div", {
2463
2462
  className: "flex items-center gap-2 px-2 py-1 border-b border-gray-100 sticky top-0 bg-white",
2464
2463
  role: "search",
@@ -2472,7 +2471,7 @@ function Select({ id, options, placeholder, label, errorText, hideError = false,
2472
2471
  value: searchTerm,
2473
2472
  onChange: (e) => setSearchTerm(e.target.value),
2474
2473
  placeholder: searchPlaceholder,
2475
- 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",
2476
2475
  "aria-label": "Search options"
2477
2476
  })]
2478
2477
  }), /* @__PURE__ */ jsx("div", {
@@ -2488,7 +2487,7 @@ function Select({ id, options, placeholder, label, errorText, hideError = false,
2488
2487
  role: "option",
2489
2488
  "aria-selected": isSelected,
2490
2489
  tabIndex: -1,
2491
- 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"),
2492
2491
  children: [multiSelect && /* @__PURE__ */ jsx("span", {
2493
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"),
2494
2493
  "aria-hidden": "true",
@@ -2513,7 +2512,7 @@ function Select({ id, options, placeholder, label, errorText, hideError = false,
2513
2512
  })
2514
2513
  }) }),
2515
2514
  !hideError && errorText && /* @__PURE__ */ jsx("span", {
2516
- className: "text-xs text-red-500",
2515
+ className: "yo-text-caption text-red-500",
2517
2516
  role: "alert",
2518
2517
  children: errorText
2519
2518
  })
@@ -2530,11 +2529,11 @@ const SettingsCard = ({ icon, title, link, ManageText, LinkComponent }) => /* @_
2530
2529
  children: [/* @__PURE__ */ jsxs("div", {
2531
2530
  className: "flex items-center gap-4",
2532
2531
  children: [/* @__PURE__ */ jsx("div", { children: icon }), /* @__PURE__ */ jsx("div", {
2533
- className: "text-base font-normal",
2532
+ className: "yo-text-body",
2534
2533
  children: title
2535
2534
  })]
2536
2535
  }), /* @__PURE__ */ jsx(LinkComponent, {
2537
- className: "text-xs font-medium text-sky-600 no-underline hover:underline",
2536
+ className: "yo-text-link text-sky-600 no-underline hover:underline",
2538
2537
  href: link,
2539
2538
  children: ManageText
2540
2539
  })]
@@ -2582,10 +2581,10 @@ const NumberedStepper = ({ steps, active, className, stepsCompleted, completedLa
2582
2581
  className: "flex flex-auto flex-col justify-center",
2583
2582
  children: [/* @__PURE__ */ jsx("span", {
2584
2583
  "data-testid": `stepper-label-${index}`,
2585
- 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"}`,
2586
2585
  children: step.label
2587
2586
  }), /* @__PURE__ */ jsxs("span", { children: [completedLabel && active === 1 && index === 0 && stepsCompleted.length > 0 ? /* @__PURE__ */ jsxs("span", {
2588
- className: "text-green flex items-center text-xs font-medium",
2587
+ className: "text-green flex items-center yo-text-caption",
2589
2588
  children: [
2590
2589
  completedLabel,
2591
2590
  " ",
@@ -2638,7 +2637,7 @@ const Stepper = ({ steps, setStep = () => {}, variant = "default", clickableStep
2638
2637
  /* @__PURE__ */ jsx("div", {
2639
2638
  className: "flex flex-wrap items-center justify-center",
2640
2639
  children: /* @__PURE__ */ jsx("span", {
2641
- 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"}`,
2642
2641
  children: step.label
2643
2642
  })
2644
2643
  }),
@@ -2674,7 +2673,7 @@ const Table = ({ children, className, ...props }) => /* @__PURE__ */ jsx("div",
2674
2673
  const TableCell = ({ children, smallPadding, className }) => /* @__PURE__ */ jsx("div", {
2675
2674
  "data-testid": "tableCell",
2676
2675
  "data-component": "tableCell",
2677
- 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)}`,
2678
2677
  children
2679
2678
  });
2680
2679
  //#endregion
@@ -2690,7 +2689,7 @@ const TableHeader = ({ children }) => /* @__PURE__ */ jsx("div", {
2690
2689
  const TableHeaderItem = ({ children, smallPadding, className, ...props }) => /* @__PURE__ */ jsx("div", {
2691
2690
  "data-testid": "tableHeaderItem",
2692
2691
  "data-component": "tableHeaderItem",
2693
- 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),
2694
2693
  ...props,
2695
2694
  children
2696
2695
  });
@@ -2719,7 +2718,7 @@ function TableRow({ children, className, header, ...props }) {
2719
2718
  const Tab = forwardRef(({ tabId, activeTab, tabContent, clickFnc, rightSection }, ref) => /* @__PURE__ */ jsxs("button", {
2720
2719
  ref,
2721
2720
  "data-testid": `tab-${tabId}`,
2722
- 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`,
2723
2722
  onClick: () => clickFnc(tabId),
2724
2723
  children: [tabContent, rightSection && /* @__PURE__ */ jsx("span", {
2725
2724
  className: "ml-2 inline-flex",
@@ -2732,7 +2731,7 @@ const TabsBadge = ({ children }) => {
2732
2731
  const isCircular = typeof children === "number" && children <= 9 || typeof children === "string" && children.length === 1 || false;
2733
2732
  return /* @__PURE__ */ jsx("div", {
2734
2733
  "data-testid": "tabs-badge",
2735
- 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", {
2736
2735
  "w-5 text-center": isCircular,
2737
2736
  "px-2": !isCircular
2738
2737
  }),
@@ -2810,18 +2809,18 @@ const Textarea = forwardRef(({ className, label, error, rows = 8, ...props }, re
2810
2809
  className: "relative grid gap-2",
2811
2810
  children: [
2812
2811
  label && /* @__PURE__ */ jsx("label", {
2813
- className: "flex items-center gap-1 text-xs font-medium text-black",
2812
+ className: "flex items-center gap-1 yo-text-label",
2814
2813
  children: label
2815
2814
  }),
2816
2815
  /* @__PURE__ */ jsx("textarea", {
2817
2816
  "data-component": "TextArea",
2818
2817
  rows,
2819
2818
  ref,
2820
- 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),
2821
2820
  ...props
2822
2821
  }),
2823
2822
  error && /* @__PURE__ */ jsx("small", {
2824
- className: "text-xs font-normal text-red-500",
2823
+ className: "yo-text-caption text-red-500",
2825
2824
  children: error
2826
2825
  })
2827
2826
  ]
@@ -2864,7 +2863,7 @@ const TimeInput = forwardRef(({ label, error, withSeconds, className = "", ...pr
2864
2863
  "data-component": "timeInput",
2865
2864
  children: [
2866
2865
  label && /* @__PURE__ */ jsx("label", {
2867
- className: "mb-2 block text-xs font-medium",
2866
+ className: "mb-2 block yo-text-label",
2868
2867
  htmlFor: props.id,
2869
2868
  children: label
2870
2869
  }),
@@ -2874,10 +2873,10 @@ const TimeInput = forwardRef(({ label, error, withSeconds, className = "", ...pr
2874
2873
  type: "time",
2875
2874
  step: withSeconds ? "1" : "60",
2876
2875
  onChange: handleTimeChange,
2877
- 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}`
2878
2877
  }),
2879
2878
  error && /* @__PURE__ */ jsx("p", {
2880
- className: "pt-2 text-xs font-normal text-red-500",
2879
+ className: "pt-2 yo-text-caption text-red-500",
2881
2880
  children: error
2882
2881
  })
2883
2882
  ]
@@ -2915,7 +2914,7 @@ const TruncatedText = ({ text, limit = 20 }) => {
2915
2914
  return /* @__PURE__ */ jsxs("div", {
2916
2915
  className: "flex items-center gap-2",
2917
2916
  children: [/* @__PURE__ */ jsx("span", {
2918
- className: "text-sm font-normal",
2917
+ className: "yo-text-small",
2919
2918
  children: truncatedText
2920
2919
  }), text.length > limit && /* @__PURE__ */ jsx(Tooltip, {
2921
2920
  content: text,
@@ -2944,7 +2943,7 @@ const UnorderedList = ({ children, className, actionItem, ...props }) => /* @__P
2944
2943
  const UnorderedListItem = ({ children, actionItem, className, header = false, ...props }) => /* @__PURE__ */ jsxs("li", {
2945
2944
  ...props,
2946
2945
  "data-component": "unorderedListItem",
2947
- 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),
2948
2947
  children: [children, actionItem && /* @__PURE__ */ jsx("span", {
2949
2948
  className: "flex justify-end gap-2 md:absolute md:right-8 md:items-center",
2950
2949
  children: actionItem
@@ -3080,7 +3079,7 @@ const CountrySelector = ({ searchPlaceholder, defaultCountry, ref }) => {
3080
3079
  children: /* @__PURE__ */ jsx("div", {
3081
3080
  className: "flex items-center gap-1",
3082
3081
  children: /* @__PURE__ */ jsx("span", {
3083
- className: "text-xs font-medium",
3082
+ className: "yo-text-label",
3084
3083
  children: selectedCountry?.dial_code
3085
3084
  })
3086
3085
  })
@@ -3118,10 +3117,10 @@ const CountrySelector = ({ searchPlaceholder, defaultCountry, ref }) => {
3118
3117
  role: "option",
3119
3118
  "aria-selected": selectedCountry?.code === country.code,
3120
3119
  onClick: () => handleSelect(country),
3121
- 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"),
3122
3121
  children: [
3123
3122
  /* @__PURE__ */ jsx("span", {
3124
- className: "text-base",
3123
+ className: "yo-text-body",
3125
3124
  children: country.flag
3126
3125
  }),
3127
3126
  /* @__PURE__ */ jsx("span", {
@@ -3129,12 +3128,12 @@ const CountrySelector = ({ searchPlaceholder, defaultCountry, ref }) => {
3129
3128
  children: country.name
3130
3129
  }),
3131
3130
  /* @__PURE__ */ jsx("span", {
3132
- className: "text-xs font-medium text-gray-600",
3131
+ className: "yo-text-label text-gray-600",
3133
3132
  children: country.dial_code
3134
3133
  })
3135
3134
  ]
3136
3135
  }, country.code + country.name + country.dial_code)) : /* @__PURE__ */ jsx("div", {
3137
- 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",
3138
3137
  children: "No countries found"
3139
3138
  })
3140
3139
  })]
@@ -3323,7 +3322,7 @@ const ProfileMenu = ({ title, metaTitle, icon, content, disabled = false, classN
3323
3322
  role: "menuitem",
3324
3323
  tabIndex: -1,
3325
3324
  onClick: () => handleItemClick(c.onClick),
3326
- 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"),
3327
3326
  "aria-label": c.title,
3328
3327
  disabled: c.disabled,
3329
3328
  children: c.title
@@ -3368,7 +3367,7 @@ const WysiwygEditor = forwardRef(({ id, content, className, placeholder, onChang
3368
3367
  Underline,
3369
3368
  Placeholder.configure({ placeholder })
3370
3369
  ],
3371
- 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" } },
3372
3371
  content,
3373
3372
  immediatelyRender: false,
3374
3373
  editable: !readOnly,
@@ -3405,28 +3404,28 @@ const WysiwygEditor = forwardRef(({ id, content, className, placeholder, onChang
3405
3404
  type: "button",
3406
3405
  "data-testid": "bold-button",
3407
3406
  onClick: () => editor.chain().focus().toggleBold().run(),
3408
- 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`,
3409
3408
  children: /* @__PURE__ */ jsx(BoldIcon, {})
3410
3409
  }),
3411
3410
  /* @__PURE__ */ jsx("button", {
3412
3411
  type: "button",
3413
3412
  "data-testid": "italic-button",
3414
3413
  onClick: () => editor.chain().focus().toggleItalic().run(),
3415
- 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`,
3416
3415
  children: /* @__PURE__ */ jsx(ItalicIcon, {})
3417
3416
  }),
3418
3417
  /* @__PURE__ */ jsx("button", {
3419
3418
  type: "button",
3420
3419
  "data-testid": "underline-button",
3421
3420
  onClick: () => editor.chain().focus().toggleUnderline().run(),
3422
- 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`,
3423
3422
  children: /* @__PURE__ */ jsx(UnderlineIcon, {})
3424
3423
  }),
3425
3424
  /* @__PURE__ */ jsx("button", {
3426
3425
  type: "button",
3427
3426
  "data-testid": "clear-formatting-button",
3428
3427
  onClick: () => editor.chain().focus().clearNodes().unsetAllMarks().run(),
3429
- 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",
3430
3429
  children: /* @__PURE__ */ jsx(ClearFormattingIcon, {})
3431
3430
  })
3432
3431
  ]
@@ -3436,13 +3435,13 @@ const WysiwygEditor = forwardRef(({ id, content, className, placeholder, onChang
3436
3435
  type: "button",
3437
3436
  "data-testid": "bullet-list-button",
3438
3437
  onClick: () => editor.chain().focus().toggleBulletList().run(),
3439
- 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`,
3440
3439
  children: /* @__PURE__ */ jsx(ListIcon, {})
3441
3440
  }), /* @__PURE__ */ jsx("button", {
3442
3441
  type: "button",
3443
3442
  "data-testid": "ordered-list-button",
3444
3443
  onClick: () => editor.chain().focus().toggleOrderedList().run(),
3445
- 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`,
3446
3445
  children: /* @__PURE__ */ jsx(ListNumbersIcon, {})
3447
3446
  })]
3448
3447
  })]
@@ -3454,7 +3453,7 @@ const WysiwygEditor = forwardRef(({ id, content, className, placeholder, onChang
3454
3453
  className: cn("overflow-hidden rounded-[inherit]")
3455
3454
  })]
3456
3455
  }), error && /* @__PURE__ */ jsx("span", {
3457
- className: "mt-1 text-xs font-normal text-red-600",
3456
+ className: "mt-1 yo-text-small text-red-600",
3458
3457
  children: error
3459
3458
  })] });
3460
3459
  });