@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.cjs CHANGED
@@ -92,13 +92,13 @@ const AccordionItem = ({ controlContent, panelContent, style = "light", border =
92
92
  }),
93
93
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
94
94
  onClick: () => setIsActive(!isActive),
95
- className: `flex w-full flex-row justify-between ${style === "dark" && "text-white"} leading-8 text-lg`,
95
+ className: `flex w-full flex-row justify-between ${style === "dark" && "text-white"} leading-8 yo-text-h4`,
96
96
  children: controlContent
97
97
  }),
98
98
  endContent
99
99
  ]
100
100
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
101
- className: `transition-max-height overflow-hidden duration-500 ease-in-out ${isActive ? "max-h-1000" : "max-h-0"} leading-6 text-base`,
101
+ className: `transition-max-height overflow-hidden duration-500 ease-in-out ${isActive ? "max-h-1000" : "max-h-0"} leading-6 yo-text-body`,
102
102
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
103
103
  className: "px-4 py-3",
104
104
  children: panelContent
@@ -175,7 +175,7 @@ const Tooltip = ({ content, children, passedOpen = false, size = "md", variant =
175
175
  className: "w-full rounded bg-gray-800 pt-[3px] text-white",
176
176
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
177
177
  "data-testid": "tooltip-content",
178
- className: `${sizeClasses[size]} px-2 py-1 text-sm font-normal`,
178
+ className: `${sizeClasses[size]} px-2 py-1 yo-text-small text-white`,
179
179
  children: content
180
180
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_floating_ui_react.FloatingArrow, {
181
181
  ref: arrowRef,
@@ -188,10 +188,10 @@ const Tooltip = ({ content, children, passedOpen = false, size = "md", variant =
188
188
  })]
189
189
  }) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
190
190
  "data-testid": "tooltip-container",
191
- className: "bg-linear-gradient-x pt-[3px]",
191
+ className: "pt-[3px]",
192
192
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
193
193
  "data-testid": "tooltip-content",
194
- className: `${sizeClasses[size]} overflow-hidden bg-white p-5 px-2 py-1 text-start text-sm font-normal`,
194
+ className: `${sizeClasses[size]} overflow-hidden bg-white p-5 px-2 py-1 text-start yo-text-small text-white`,
195
195
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", { children: content })
196
196
  }), size === "md" ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_floating_ui_react.FloatingArrow, {
197
197
  ref: arrowRef,
@@ -338,7 +338,7 @@ const Alert = ({ show, title, description, type = "warning", button, plain = fal
338
338
  "aria-live": "assertive",
339
339
  "aria-atomic": "true",
340
340
  "aria-describedby": descriptionId,
341
- className: cn("flex justify-between items-start rounded-md px-5 py-3", bg, plain && "border-none py-4 text-sm font-medium", className),
341
+ className: cn("flex justify-between items-start rounded-md px-5 py-3", bg, plain && "border-none py-4 yo-text-small-medium", className),
342
342
  "data-component": "Alert",
343
343
  "data-testid": "alert",
344
344
  ...props,
@@ -357,17 +357,17 @@ const Alert = ({ show, title, description, type = "warning", button, plain = fal
357
357
  "data-testid": "alert-icon",
358
358
  "aria-hidden": "true"
359
359
  })), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
360
- className: "yo-text-base",
360
+ className: "yo-text-body",
361
361
  children: title
362
362
  })]
363
363
  }),
364
364
  description && (typeof description === "string" ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
365
365
  id: descriptionId,
366
- className: "text-sm text-color-gray-900",
366
+ className: "yo-text-small text-color-gray-900",
367
367
  children: description
368
368
  }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
369
369
  id: descriptionId,
370
- className: "text-sm text-color-gray-900",
370
+ className: "yo-text-small text-color-gray-900",
371
371
  children: description
372
372
  })),
373
373
  button && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: button })
@@ -623,14 +623,14 @@ const TextInput = react.default.forwardRef(({ rightSection, leftSection, classNa
623
623
  children: [
624
624
  typeof label === "string" ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("label", {
625
625
  htmlFor: props.id,
626
- className: "mb-2 flex items-center gap-1 text-xs font-medium text-black",
626
+ className: "mb-2 flex items-center gap-1 yo-text-label",
627
627
  children: label
628
628
  }) : label,
629
629
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
630
630
  className: "relative",
631
631
  children: [
632
632
  leftSection && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
633
- className: (0, clsx.default)("absolute top-0 left-0 flex h-10 w-12 content-center items-center justify-center align-middle text-sm font-medium text-black"),
633
+ className: (0, clsx.default)("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"),
634
634
  children: leftSection
635
635
  }),
636
636
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
@@ -652,17 +652,17 @@ const TextInput = react.default.forwardRef(({ rightSection, leftSection, classNa
652
652
  type: password ? showPassword ? "text" : "password" : "text"
653
653
  }),
654
654
  loadingState ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
655
- 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",
655
+ 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",
656
656
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconLoading, {
657
657
  className: "h-4 w-4 animate-spin text-gray-500",
658
658
  "aria-label": "Loading"
659
659
  })
660
660
  }) : rightSection && showRightSection && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
661
- 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",
661
+ 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",
662
662
  children: rightSection
663
663
  }),
664
664
  password && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
665
- className: "absolute inset-y-0 right-4 flex content-center items-center justify-center align-middle text-sm font-medium text-black",
665
+ className: "absolute inset-y-0 right-4 flex content-center items-center justify-center align-middle yo-text-small-medium text-black",
666
666
  children: showPassword ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_tabler_icons_react.IconEyeCheck, {
667
667
  "data-testid": "password-visibility-toggle",
668
668
  className: "cursor-pointer text-gray-500",
@@ -678,7 +678,7 @@ const TextInput = react.default.forwardRef(({ rightSection, leftSection, classNa
678
678
  ]
679
679
  }),
680
680
  error && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
681
- className: "mt-2 text-xs font-normal text-red-500",
681
+ className: "mt-2 yo-text-caption text-red-500",
682
682
  children: error
683
683
  })
684
684
  ]
@@ -748,7 +748,7 @@ const Badge = ({ styleVariant = COLOR.ACCENT_BLUE, className, favorite, children
748
748
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
749
749
  "data-testid": "badge",
750
750
  "data-component": "Badge",
751
- 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", {
751
+ 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", {
752
752
  "bg-accent-blue-light text-accent-blue": styleVariant === COLOR.ACCENT_BLUE,
753
753
  "bg-green-light text-green": styleVariant === COLOR.GREEN_LIGHT,
754
754
  "bg-red-50 text-red-500": styleVariant === COLOR.RED,
@@ -775,7 +775,7 @@ Badge.displayName = "Badge";
775
775
  const BigBadge = ({ styleVariant = COLOR.GREEN, className, children, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
776
776
  "data-component": "BigBadge",
777
777
  "data-testid": "big-badge",
778
- 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", {
778
+ 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", {
779
779
  "border-green text-green bg-white": styleVariant === COLOR.GREEN,
780
780
  "border-accent-blue text-accent-blue bg-white": styleVariant === COLOR.ACCENT_BLUE,
781
781
  "border-orange text-orange bg-white": styleVariant === COLOR.ORANGE,
@@ -807,7 +807,7 @@ const buttonVariants = {
807
807
  secondary: (0, clsx.default)(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"),
808
808
  danger: (0, clsx.default)(defaultButtonStyling, "border-transparent bg-red-500 text-white hover:bg-red-700 disabled:bg-red-100 disabled:hover:bg-red-100"),
809
809
  link: (0, clsx.default)(defaultButtonStyling, "border-transparent bg-transparent text-accent-blue hover:bg-gray-50 disabled:bg-transparent disabled:text-gray-800 disabled:hover:bg-transparent"),
810
- outline: (0, clsx.default)(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"),
810
+ outline: (0, clsx.default)(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"),
811
811
  search: (0, clsx.default)(defaultButtonStyling, "absolute top-0 right-0 h-full w-[50px] border-0 bg-transparent bg-no-repeat"),
812
812
  icon__primary: (0, clsx.default)(defaultButtonStyling, "flex! items-center justify-center"),
813
813
  icon__danger: (0, clsx.default)(defaultButtonStyling, "flex! items-center justify-center"),
@@ -829,7 +829,7 @@ function Button({ type = "button", variant = "primary", ariaLabel, block = false
829
829
  type,
830
830
  "aria-label": ariaLabel,
831
831
  "data-testid": dataTestId,
832
- className: cn(buttonVariants[variant], className, block && "w-full text-sm"),
832
+ className: cn(buttonVariants[variant], className, block && "w-full yo-text-small"),
833
833
  onClick: handleOnClick,
834
834
  ...props,
835
835
  children: [
@@ -891,18 +891,18 @@ const CheckboxComponent = ({ size = "md", className, error, mediumBoldText, labe
891
891
  ]
892
892
  }), label && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
893
893
  "data-testid": "checkbox-label",
894
- className: cn("grow text-sm font-normal", labelClassName, { "font-medium": mediumBoldText }),
894
+ className: cn("grow yo-text-small", labelClassName, { "font-medium": mediumBoldText }),
895
895
  children: label
896
896
  })]
897
897
  }), error && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("small", {
898
- className: "text-xs font-normal text-red-500",
898
+ className: "yo-text-caption text-red-500",
899
899
  children: error
900
900
  })]
901
901
  });
902
902
  const Checkbox = (0, react.forwardRef)(CheckboxComponent);
903
903
  //#endregion
904
904
  //#region src/components/popover/index.tsx
905
- const Popover = (0, react.forwardRef)(({ content, children, hoverEnabled = false, passedOpen = false, placement = "right", style = "card", isMobile = false, className }, ref) => {
905
+ const Popover = (0, react.forwardRef)(({ content, children, hoverEnabled = false, passedOpen = false, placement = "right", style = "card", isMobile = false, className, gradientVariant = "client" }, ref) => {
906
906
  const [isOpen, setIsOpen] = (0, react.useState)(passedOpen);
907
907
  const mobileStyles = { width: `${style === "card" && "100%"}` };
908
908
  const { refs, floatingStyles, context } = (0, _floating_ui_react.useFloating)({
@@ -958,7 +958,7 @@ const Popover = (0, react.forwardRef)(({ content, children, hoverEnabled = false
958
958
  "data-testid": "popover-container",
959
959
  "data-component": "Popover",
960
960
  children: [style === "minimal" && content, style === "card" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
961
- className: "bg-linear-gradient-x pt-[3px]",
961
+ className: cn("pt-[3px]", gradientVariant === "client" && "bg-gradient-blue-turquoise", gradientVariant === "agency" && "bg-gradient-blue-purple"),
962
962
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
963
963
  className: "relative overflow-hidden bg-white p-5",
964
964
  children: [!hoverEnabled && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ActionIcon, {
@@ -1062,17 +1062,17 @@ const DatePickerInput = ({ lang, todayText, value, disabledFrom, disabledUntil,
1062
1062
  className,
1063
1063
  classNames: {
1064
1064
  month_grid: "mt-3 max-w-[400px] border-t border-gray-100",
1065
- month_caption: "text-sm font-bold",
1065
+ month_caption: "yo-text-small font-bold",
1066
1066
  dropdowns: "flex items-center w-[190px] gap-1 left-0 justify-center h-8",
1067
- caption_label: "text-sm font-medium flex items-center justify-center w-[190px]",
1067
+ caption_label: "yo-text-small-medium flex items-center justify-center w-[190px]",
1068
1068
  chevron: "w-4 h-4 z-50",
1069
1069
  nav: "absolute w-[190px] justify-between flex h-8 items-center",
1070
1070
  nav_button: "h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100 cursor-pointer",
1071
1071
  nav_button_previous: "absolute left-1",
1072
1072
  nav_button_next: "absolute right-1",
1073
- day: "h-8 w-8 p-0 aria-selected:opacity-100 font-normal text-sm",
1073
+ day: "h-8 w-8 p-0 aria-selected:opacity-100 font-normal yo-text-small",
1074
1074
  weekdays: "pt-12",
1075
- weekday: "text-gray-300 text-sm font-normal pt-4 pb-2",
1075
+ weekday: "text-gray-300 yo-text-small pt-4 pb-2",
1076
1076
  day_today: "bg-accent text-accent-foreground",
1077
1077
  day_outside: "day-outside text-gray-800 aria-selected:bg-accent/50 aria-selected:text-muted-foreground aria-selected:opacity-30",
1078
1078
  day_disabled: "text-gray-800",
@@ -1086,7 +1086,7 @@ const DatePickerInput = ({ lang, todayText, value, disabledFrom, disabledUntil,
1086
1086
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
1087
1087
  type: "button",
1088
1088
  ...buttonProps,
1089
- className: (0, clsx.default)("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"),
1089
+ className: (0, clsx.default)("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"),
1090
1090
  onClick: () => {
1091
1091
  goToMonth(day.date);
1092
1092
  handleDayClick(day.date);
@@ -1135,7 +1135,7 @@ const DatePickerInput = ({ lang, todayText, value, disabledFrom, disabledUntil,
1135
1135
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Button, {
1136
1136
  variant: "secondary",
1137
1137
  type: "button",
1138
- className: "absolute top-4 right-4 z-10 h-8 px-3 text-xs font-normal",
1138
+ className: "absolute top-4 right-4 z-10 h-8 px-3 yo-text-small",
1139
1139
  onClick: () => {
1140
1140
  goToMonth(today);
1141
1141
  handleDayClick(today);
@@ -1189,7 +1189,7 @@ const DatePickerInput = ({ lang, todayText, value, disabledFrom, disabledUntil,
1189
1189
  className: cn("relative", className),
1190
1190
  children: [
1191
1191
  label && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("label", {
1192
- className: "mb-2 flex items-center gap-1 text-xs font-medium",
1192
+ className: "mb-2 flex items-center gap-1 yo-text-label",
1193
1193
  children: label
1194
1194
  }),
1195
1195
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(Button, {
@@ -1205,11 +1205,11 @@ const DatePickerInput = ({ lang, todayText, value, disabledFrom, disabledUntil,
1205
1205
  children: [
1206
1206
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_tabler_icons_react.IconCalendar, {}),
1207
1207
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
1208
- className: "text-sm font-normal text-nowrap text-black",
1208
+ className: "yo-text-small text-nowrap text-black",
1209
1209
  children: selected ? selected.toLocaleDateString() : placeholder
1210
1210
  }),
1211
1211
  selected !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
1212
- className: "cursor-pointer text-sm font-normal text-gray-800",
1212
+ className: "cursor-pointer yo-text-small text-gray-800",
1213
1213
  role: "button",
1214
1214
  "aria-label": "Clear date",
1215
1215
  tabIndex: 0,
@@ -1229,7 +1229,7 @@ const DatePickerInput = ({ lang, todayText, value, disabledFrom, disabledUntil,
1229
1229
  ]
1230
1230
  }),
1231
1231
  error && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("small", {
1232
- className: "text-xs font-normal text-red-500",
1232
+ className: "yo-text-caption text-red-500",
1233
1233
  children: error
1234
1234
  })
1235
1235
  ]
@@ -1272,7 +1272,7 @@ const FilterButton = ({ onClick, hasFilters, reset, filtersText, resetText }) =>
1272
1272
  icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_tabler_icons_react.IconFilter, { stroke: 1 }),
1273
1273
  children: filtersText
1274
1274
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(UnstyledButton, {
1275
- className: "text-sm font-normal disabled:text-gray-500",
1275
+ className: "yo-text-small disabled:text-gray-500",
1276
1276
  onClick: reset,
1277
1277
  disabled: !hasFilters,
1278
1278
  children: resetText
@@ -1281,7 +1281,7 @@ const FilterButton = ({ onClick, hasFilters, reset, filtersText, resetText }) =>
1281
1281
  //#endregion
1282
1282
  //#region src/components/filters/FilterItem.tsx
1283
1283
  const FilterItem = ({ title, isActive = false, onClick }) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
1284
- 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"),
1284
+ 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"),
1285
1285
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
1286
1286
  type: "checkbox",
1287
1287
  className: "hidden",
@@ -1310,7 +1310,7 @@ const Filters = ({ filters, setFilters, selectedFilters, selectedFiltersText, fi
1310
1310
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
1311
1311
  className: "flex items-center justify-end gap-3",
1312
1312
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
1313
- className: "text-sm font-medium",
1313
+ className: "yo-text-small-medium",
1314
1314
  "data-testid": "filters-title",
1315
1315
  children: selectedFiltersText
1316
1316
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(FilterButton, {
@@ -1638,7 +1638,7 @@ const KebabMenu = ({ title, tooltip, content, disabled = false, styleVariant = "
1638
1638
  children: content.map((c, index) => {
1639
1639
  const button = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(UnstyledButton, {
1640
1640
  onClick: () => handleItemClick(c.onClick),
1641
- className: "w-full rounded-md px-4 py-2 text-left text-sm font-normal whitespace-nowrap hover:bg-gray-50",
1641
+ className: "w-full rounded-md px-4 py-2 text-left yo-text-small whitespace-nowrap hover:bg-gray-50",
1642
1642
  "aria-label": "Options Menu Item",
1643
1643
  disabled: c.disabled,
1644
1644
  children: c.title
@@ -1660,7 +1660,7 @@ KebabMenu.displayName = "KebabMenu";
1660
1660
  const Label = ({ children, className, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("label", {
1661
1661
  "data-component": "label",
1662
1662
  "data-testid": "label",
1663
- className: cn("flex items-center gap-1 text-xs font-medium text-black", className),
1663
+ className: cn("flex items-center gap-1 yo-text-label text-black", className),
1664
1664
  ...props,
1665
1665
  children
1666
1666
  });
@@ -1746,7 +1746,7 @@ const LogoBlack = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg",
1746
1746
  });
1747
1747
  //#endregion
1748
1748
  //#region src/components/modal/index.tsx
1749
- 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 }) => {
1749
+ 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" }) => {
1750
1750
  const ref = (0, react.useRef)(null);
1751
1751
  const refContainer = (0, react.useRef)(null);
1752
1752
  const [isOpen, setIsOpen] = (0, react.useState)(false);
@@ -1827,16 +1827,15 @@ const Modal = ({ title, children, withCloseButton = true, opened, additionalClas
1827
1827
  }),
1828
1828
  title && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
1829
1829
  className: "relative w-full pt-14",
1830
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("h2", {
1831
- className: "mt-0 mb-8 text-left text-3xl font-bold",
1830
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("h1", {
1831
+ className: "yo-text-h1 mt-0 mb-8 text-left",
1832
1832
  children: title
1833
1833
  })
1834
1834
  }),
1835
1835
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children }),
1836
1836
  gradient && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("hr", {
1837
1837
  "data-testid": "modal-gradient",
1838
- className: "absolute bottom-0 left-0 mt-8 mb-0 h-2! w-full border-none",
1839
- style: { backgroundImage: "linear-gradient(90deg, var(--color-light-blue) 0%, var(--color-primary) 50.52%, var(--color-secondary) 100%)" }
1838
+ 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")
1840
1839
  })
1841
1840
  ]
1842
1841
  })
@@ -1889,7 +1888,7 @@ const NumberField = ({ name, value = 0, max, min = 0, isDisabled, id, className
1889
1888
  children: [
1890
1889
  label && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("label", {
1891
1890
  htmlFor: id,
1892
- className: "mb-1 text-sm font-medium text-gray-700",
1891
+ className: "mb-1 yo-text-label",
1893
1892
  children: label
1894
1893
  }),
1895
1894
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
@@ -1923,7 +1922,7 @@ const NumberField = ({ name, value = 0, max, min = 0, isDisabled, id, className
1923
1922
  ]
1924
1923
  }),
1925
1924
  error && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
1926
- className: "mt-1 text-sm font-normal text-red-600",
1925
+ className: "mt-1 yo-text-small text-red-600",
1927
1926
  children: error
1928
1927
  })
1929
1928
  ]
@@ -1935,7 +1934,7 @@ const PageUnavailable = ({ notAvailableButton, notAvailableDescription, notAvail
1935
1934
  className: "mx-auto grid max-w-[900px] justify-items-center gap-8 text-center",
1936
1935
  children: [
1937
1936
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("h1", {
1938
- className: "text-3xl font-bold",
1937
+ className: "yo-text-h1",
1939
1938
  children: notAvailableHeaderText
1940
1939
  }),
1941
1940
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", { children: notAvailableDescription }),
@@ -2005,7 +2004,7 @@ const RadioButton = ({ id, name, value, label, onChange, checked, dataTestId, cl
2005
2004
  })]
2006
2005
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("label", {
2007
2006
  htmlFor: id,
2008
- className: ` ${(0, clsx.default)(labelClassName, "mb-0 cursor-pointer pl-3 text-sm font-normal", { "text-gray-400": props.disabled })}`,
2007
+ className: ` ${(0, clsx.default)(labelClassName, "mb-0 cursor-pointer pl-3 yo-text-small font-normal", { "text-gray-400": props.disabled })}`,
2009
2008
  children: label
2010
2009
  })]
2011
2010
  });
@@ -2086,23 +2085,23 @@ const Rating = ({ rating, ratings, size = "normal", setReview, className, setRev
2086
2085
  const roundedRating = Math.round(rating * 2) / 2;
2087
2086
  const hasHalf = roundedRating % 1 === .5;
2088
2087
  const effectiveRating = roundedRating;
2089
- if (index <= Math.floor(effectiveRating)) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconStarFilled, { className: `text-yellow ${sizeClasses[size]}` });
2090
- if (hasHalf && index === Math.ceil(effectiveRating)) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconStarHalfFilled, { className: `text-yellow ${sizeClasses[size]}` });
2091
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconStarEmpty, { className: `text-yellow ${sizeClasses[size]}` });
2088
+ if (index <= Math.floor(effectiveRating)) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconStarFilled, { className: `text-navy-blue ${sizeClasses[size]}` });
2089
+ if (hasHalf && index === Math.ceil(effectiveRating)) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconStarHalfFilled, { className: `text-navy-blue ${sizeClasses[size]}` });
2090
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconStarEmpty, { className: `text-navy-blue ${sizeClasses[size]}` });
2092
2091
  }
2093
2092
  const displayRating = reviewIsSet ? Number(reviewIsSet) : currentRating;
2094
2093
  const roundedRating = Math.round(displayRating * 2) / 2;
2095
2094
  const hasHalf = roundedRating % 1 === .5;
2096
2095
  const effectiveRating = roundedRating;
2097
- if (index <= Math.floor(effectiveRating)) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconStarFilled, { className: `text-yellow ${sizeClasses[size]}` });
2098
- if (hasHalf && index === Math.ceil(effectiveRating)) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconStarHalfFilled, { className: `text-yellow ${sizeClasses[size]}` });
2099
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconStarEmpty, { className: `text-yellow ${sizeClasses[size]} ` });
2096
+ if (index <= Math.floor(effectiveRating)) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconStarFilled, { className: `text-navy-blue ${sizeClasses[size]}` });
2097
+ if (hasHalf && index === Math.ceil(effectiveRating)) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconStarHalfFilled, { className: `text-navy-blue ${sizeClasses[size]}` });
2098
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconStarEmpty, { className: `text-navy-blue ${sizeClasses[size]} ` });
2100
2099
  };
2101
2100
  const StarSmallIcon = ({ index, className }) => {
2102
2101
  const roundedRating = Math.round(currentSmallRating * 2) / 2;
2103
- if (index === roundedRating) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconStarFilled, { className: cn(className, "text-yellow") });
2104
- if (index - roundedRating === .5) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconStarHalfFilled, { className: cn(className, "text-yellow") });
2105
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconStarEmpty, { className: cn(className, "text-yellow") });
2102
+ if (index === roundedRating) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconStarFilled, { className: cn(className, "text-navy-blue") });
2103
+ if (index - roundedRating === .5) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconStarHalfFilled, { className: cn(className, "text-navy-blue") });
2104
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconStarEmpty, { className: cn(className, "text-navy-blue") });
2106
2105
  };
2107
2106
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
2108
2107
  className: cn("flex flex-col", className),
@@ -2131,7 +2130,7 @@ const Rating = ({ rating, ratings, size = "normal", setReview, className, setRev
2131
2130
  onClick: () => handleStarClick(value),
2132
2131
  children: [Array.from({ length: value }).map((_, i) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StarSmallIcon, {
2133
2132
  index: value,
2134
- className: "text-yellow size-5"
2133
+ className: "text-navy-blue size-5"
2135
2134
  }, i)), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
2136
2135
  className: "mt-[5px] flex items-center pl-2 text-[12px] text-gray-800",
2137
2136
  children: label
@@ -2154,7 +2153,7 @@ const RegionSelector = ({ title, regions, ...props }) => {
2154
2153
  className: "flex w-full flex-col items-center justify-center gap-11 break-words lg:gap-14",
2155
2154
  ...props,
2156
2155
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h1", {
2157
- className: "w-full text-2xl leading-10 font-bold md:text-3xl",
2156
+ className: "w-full yo-text-h2 leading-10 font-bold md:text-3xl",
2158
2157
  children: title
2159
2158
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
2160
2159
  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",
@@ -2447,7 +2446,7 @@ function Select({ id, options, placeholder, label, errorText, hideError = false,
2447
2446
  },
2448
2447
  ...getReferenceProps(),
2449
2448
  disabled,
2450
- 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"),
2449
+ 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"),
2451
2450
  "aria-haspopup": "listbox",
2452
2451
  "aria-expanded": open,
2453
2452
  "aria-disabled": disabled,
@@ -2492,7 +2491,7 @@ function Select({ id, options, placeholder, label, errorText, hideError = false,
2492
2491
  "aria-labelledby": `${id}-label`,
2493
2492
  className: cn("z-[99999] mt-2 rounded-md border border-gray-200 bg-white shadow-md", "overflow-hidden animate-in fade-in"),
2494
2493
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
2495
- className: "p-1 text-sm max-h-[250px] overflow-auto",
2494
+ className: "p-1 yo-text-small max-h-[250px] overflow-auto",
2496
2495
  children: [searchable && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
2497
2496
  className: "flex items-center gap-2 px-2 py-1 border-b border-gray-100 sticky top-0 bg-white",
2498
2497
  role: "search",
@@ -2506,7 +2505,7 @@ function Select({ id, options, placeholder, label, errorText, hideError = false,
2506
2505
  value: searchTerm,
2507
2506
  onChange: (e) => setSearchTerm(e.target.value),
2508
2507
  placeholder: searchPlaceholder,
2509
- className: "w-full text-sm outline-none bg-transparent placeholder-gray-300",
2508
+ className: "w-full yo-text-small outline-none bg-transparent placeholder-gray-300",
2510
2509
  "aria-label": "Search options"
2511
2510
  })]
2512
2511
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
@@ -2522,7 +2521,7 @@ function Select({ id, options, placeholder, label, errorText, hideError = false,
2522
2521
  role: "option",
2523
2522
  "aria-selected": isSelected,
2524
2523
  tabIndex: -1,
2525
- 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"),
2524
+ 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"),
2526
2525
  children: [multiSelect && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
2527
2526
  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"),
2528
2527
  "aria-hidden": "true",
@@ -2547,7 +2546,7 @@ function Select({ id, options, placeholder, label, errorText, hideError = false,
2547
2546
  })
2548
2547
  }) }),
2549
2548
  !hideError && errorText && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
2550
- className: "text-xs text-red-500",
2549
+ className: "yo-text-caption text-red-500",
2551
2550
  role: "alert",
2552
2551
  children: errorText
2553
2552
  })
@@ -2564,11 +2563,11 @@ const SettingsCard = ({ icon, title, link, ManageText, LinkComponent }) => /* @_
2564
2563
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
2565
2564
  className: "flex items-center gap-4",
2566
2565
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: icon }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
2567
- className: "text-base font-normal",
2566
+ className: "yo-text-body",
2568
2567
  children: title
2569
2568
  })]
2570
2569
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(LinkComponent, {
2571
- className: "text-xs font-medium text-sky-600 no-underline hover:underline",
2570
+ className: "yo-text-link text-sky-600 no-underline hover:underline",
2572
2571
  href: link,
2573
2572
  children: ManageText
2574
2573
  })]
@@ -2616,10 +2615,10 @@ const NumberedStepper = ({ steps, active, className, stepsCompleted, completedLa
2616
2615
  className: "flex flex-auto flex-col justify-center",
2617
2616
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
2618
2617
  "data-testid": `stepper-label-${index}`,
2619
- className: `content-center text-sm font-medium! whitespace-nowrap md:text-lg md:font-bold ${index <= active ? "text-gray-900" : "text-gray-500"}`,
2618
+ className: `content-center yo-text-small font-medium! whitespace-nowrap md:text-lg md:font-bold ${index <= active ? "text-gray-900" : "text-gray-500"}`,
2620
2619
  children: step.label
2621
2620
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", { children: [completedLabel && active === 1 && index === 0 && stepsCompleted.length > 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
2622
- className: "text-green flex items-center text-xs font-medium",
2621
+ className: "text-green flex items-center yo-text-caption",
2623
2622
  children: [
2624
2623
  completedLabel,
2625
2624
  " ",
@@ -2672,7 +2671,7 @@ const Stepper = ({ steps, setStep = () => {}, variant = "default", clickableStep
2672
2671
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
2673
2672
  className: "flex flex-wrap items-center justify-center",
2674
2673
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
2675
- className: `text-center ${variant === "small" || isMobile ? "text-xs-fields" : "text-sm font-normal"} ${index <= activeStep ? "text-gray-900" : "text-gray-500"}`,
2674
+ className: `text-center ${variant === "small" || isMobile ? "text-xs-fields" : "yo-text-small"} ${index <= activeStep ? "text-gray-900" : "text-gray-500"}`,
2676
2675
  children: step.label
2677
2676
  })
2678
2677
  }),
@@ -2708,7 +2707,7 @@ const Table = ({ children, className, ...props }) => /* @__PURE__ */ (0, react_j
2708
2707
  const TableCell = ({ children, smallPadding, className }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
2709
2708
  "data-testid": "tableCell",
2710
2709
  "data-component": "tableCell",
2711
- 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)}`,
2710
+ 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)}`,
2712
2711
  children
2713
2712
  });
2714
2713
  //#endregion
@@ -2724,7 +2723,7 @@ const TableHeader = ({ children }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)
2724
2723
  const TableHeaderItem = ({ children, smallPadding, className, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
2725
2724
  "data-testid": "tableHeaderItem",
2726
2725
  "data-component": "tableHeaderItem",
2727
- 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),
2726
+ 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),
2728
2727
  ...props,
2729
2728
  children
2730
2729
  });
@@ -2753,7 +2752,7 @@ function TableRow({ children, className, header, ...props }) {
2753
2752
  const Tab = (0, react.forwardRef)(({ tabId, activeTab, tabContent, clickFnc, rightSection }, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
2754
2753
  ref,
2755
2754
  "data-testid": `tab-${tabId}`,
2756
- 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`,
2755
+ 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`,
2757
2756
  onClick: () => clickFnc(tabId),
2758
2757
  children: [tabContent, rightSection && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
2759
2758
  className: "ml-2 inline-flex",
@@ -2766,7 +2765,7 @@ const TabsBadge = ({ children }) => {
2766
2765
  const isCircular = typeof children === "number" && children <= 9 || typeof children === "string" && children.length === 1 || false;
2767
2766
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
2768
2767
  "data-testid": "tabs-badge",
2769
- className: (0, clsx.default)("bg-secondary h-5 rounded-full text-xs leading-5 font-medium text-white", {
2768
+ className: (0, clsx.default)("bg-secondary h-5 rounded-full yo-text-caption leading-5 text-white", {
2770
2769
  "w-5 text-center": isCircular,
2771
2770
  "px-2": !isCircular
2772
2771
  }),
@@ -2844,18 +2843,18 @@ const Textarea = (0, react.forwardRef)(({ className, label, error, rows = 8, ...
2844
2843
  className: "relative grid gap-2",
2845
2844
  children: [
2846
2845
  label && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("label", {
2847
- className: "flex items-center gap-1 text-xs font-medium text-black",
2846
+ className: "flex items-center gap-1 yo-text-label",
2848
2847
  children: label
2849
2848
  }),
2850
2849
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("textarea", {
2851
2850
  "data-component": "TextArea",
2852
2851
  rows,
2853
2852
  ref,
2854
- 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),
2853
+ 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),
2855
2854
  ...props
2856
2855
  }),
2857
2856
  error && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("small", {
2858
- className: "text-xs font-normal text-red-500",
2857
+ className: "yo-text-caption text-red-500",
2859
2858
  children: error
2860
2859
  })
2861
2860
  ]
@@ -2898,7 +2897,7 @@ const TimeInput = (0, react.forwardRef)(({ label, error, withSeconds, className
2898
2897
  "data-component": "timeInput",
2899
2898
  children: [
2900
2899
  label && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("label", {
2901
- className: "mb-2 block text-xs font-medium",
2900
+ className: "mb-2 block yo-text-label",
2902
2901
  htmlFor: props.id,
2903
2902
  children: label
2904
2903
  }),
@@ -2908,10 +2907,10 @@ const TimeInput = (0, react.forwardRef)(({ label, error, withSeconds, className
2908
2907
  type: "time",
2909
2908
  step: withSeconds ? "1" : "60",
2910
2909
  onChange: handleTimeChange,
2911
- 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}`
2910
+ 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}`
2912
2911
  }),
2913
2912
  error && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
2914
- className: "pt-2 text-xs font-normal text-red-500",
2913
+ className: "pt-2 yo-text-caption text-red-500",
2915
2914
  children: error
2916
2915
  })
2917
2916
  ]
@@ -2949,7 +2948,7 @@ const TruncatedText = ({ text, limit = 20 }) => {
2949
2948
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
2950
2949
  className: "flex items-center gap-2",
2951
2950
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
2952
- className: "text-sm font-normal",
2951
+ className: "yo-text-small",
2953
2952
  children: truncatedText
2954
2953
  }), text.length > limit && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Tooltip, {
2955
2954
  content: text,
@@ -2978,7 +2977,7 @@ const UnorderedList = ({ children, className, actionItem, ...props }) => /* @__P
2978
2977
  const UnorderedListItem = ({ children, actionItem, className, header = false, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("li", {
2979
2978
  ...props,
2980
2979
  "data-component": "unorderedListItem",
2981
- 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),
2980
+ 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),
2982
2981
  children: [children, actionItem && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
2983
2982
  className: "flex justify-end gap-2 md:absolute md:right-8 md:items-center",
2984
2983
  children: actionItem
@@ -3117,7 +3116,7 @@ const CountrySelector = ({ searchPlaceholder, defaultCountry, ref }) => {
3117
3116
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
3118
3117
  className: "flex items-center gap-1",
3119
3118
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
3120
- className: "text-xs font-medium",
3119
+ className: "yo-text-label",
3121
3120
  children: selectedCountry?.dial_code
3122
3121
  })
3123
3122
  })
@@ -3155,10 +3154,10 @@ const CountrySelector = ({ searchPlaceholder, defaultCountry, ref }) => {
3155
3154
  role: "option",
3156
3155
  "aria-selected": selectedCountry?.code === country.code,
3157
3156
  onClick: () => handleSelect(country),
3158
- 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"),
3157
+ 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"),
3159
3158
  children: [
3160
3159
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
3161
- className: "text-base",
3160
+ className: "yo-text-body",
3162
3161
  children: country.flag
3163
3162
  }),
3164
3163
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
@@ -3166,12 +3165,12 @@ const CountrySelector = ({ searchPlaceholder, defaultCountry, ref }) => {
3166
3165
  children: country.name
3167
3166
  }),
3168
3167
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
3169
- className: "text-xs font-medium text-gray-600",
3168
+ className: "yo-text-label text-gray-600",
3170
3169
  children: country.dial_code
3171
3170
  })
3172
3171
  ]
3173
3172
  }, country.code + country.name + country.dial_code)) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
3174
- className: "px-3 py-2 text-sm text-gray-500 text-center",
3173
+ className: "px-3 py-2 yo-text-small text-gray-500 text-center",
3175
3174
  children: "No countries found"
3176
3175
  })
3177
3176
  })]
@@ -3360,7 +3359,7 @@ const ProfileMenu = ({ title, metaTitle, icon, content, disabled = false, classN
3360
3359
  role: "menuitem",
3361
3360
  tabIndex: -1,
3362
3361
  onClick: () => handleItemClick(c.onClick),
3363
- 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"),
3362
+ 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"),
3364
3363
  "aria-label": c.title,
3365
3364
  disabled: c.disabled,
3366
3365
  children: c.title
@@ -3405,7 +3404,7 @@ const WysiwygEditor = (0, react.forwardRef)(({ id, content, className, placehold
3405
3404
  _tiptap_extension_underline.Underline,
3406
3405
  _tiptap_extension_placeholder.Placeholder.configure({ placeholder })
3407
3406
  ],
3408
- 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" } },
3407
+ 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" } },
3409
3408
  content,
3410
3409
  immediatelyRender: false,
3411
3410
  editable: !readOnly,
@@ -3442,28 +3441,28 @@ const WysiwygEditor = (0, react.forwardRef)(({ id, content, className, placehold
3442
3441
  type: "button",
3443
3442
  "data-testid": "bold-button",
3444
3443
  onClick: () => editor.chain().focus().toggleBold().run(),
3445
- 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`,
3444
+ 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`,
3446
3445
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(BoldIcon, {})
3447
3446
  }),
3448
3447
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
3449
3448
  type: "button",
3450
3449
  "data-testid": "italic-button",
3451
3450
  onClick: () => editor.chain().focus().toggleItalic().run(),
3452
- 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`,
3451
+ 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`,
3453
3452
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ItalicIcon, {})
3454
3453
  }),
3455
3454
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
3456
3455
  type: "button",
3457
3456
  "data-testid": "underline-button",
3458
3457
  onClick: () => editor.chain().focus().toggleUnderline().run(),
3459
- 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`,
3458
+ 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`,
3460
3459
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(UnderlineIcon, {})
3461
3460
  }),
3462
3461
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
3463
3462
  type: "button",
3464
3463
  "data-testid": "clear-formatting-button",
3465
3464
  onClick: () => editor.chain().focus().clearNodes().unsetAllMarks().run(),
3466
- 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",
3465
+ 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",
3467
3466
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ClearFormattingIcon, {})
3468
3467
  })
3469
3468
  ]
@@ -3473,13 +3472,13 @@ const WysiwygEditor = (0, react.forwardRef)(({ id, content, className, placehold
3473
3472
  type: "button",
3474
3473
  "data-testid": "bullet-list-button",
3475
3474
  onClick: () => editor.chain().focus().toggleBulletList().run(),
3476
- 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`,
3475
+ 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`,
3477
3476
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ListIcon, {})
3478
3477
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
3479
3478
  type: "button",
3480
3479
  "data-testid": "ordered-list-button",
3481
3480
  onClick: () => editor.chain().focus().toggleOrderedList().run(),
3482
- 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`,
3481
+ 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`,
3483
3482
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ListNumbersIcon, {})
3484
3483
  })]
3485
3484
  })]
@@ -3491,7 +3490,7 @@ const WysiwygEditor = (0, react.forwardRef)(({ id, content, className, placehold
3491
3490
  className: cn("overflow-hidden rounded-[inherit]")
3492
3491
  })]
3493
3492
  }), error && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
3494
- className: "mt-1 text-xs font-normal text-red-600",
3493
+ className: "mt-1 yo-text-small text-red-600",
3495
3494
  children: error
3496
3495
  })] });
3497
3496
  });