@mindly/ui-components 5.92.2 → 5.92.3

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.
@@ -4,11 +4,16 @@ export type TabsToolbarItemIcon = 'schedule' | 'list' | 'profile';
4
4
  export type TabsToolbarItem = {
5
5
  label: string;
6
6
  icon: string | React.JSX.Element;
7
+ iconSelected?: string | React.JSX.Element;
7
8
  href: string;
8
9
  selected?: boolean;
9
10
  };
10
11
  export type TabsToolbarProps = {
12
+ className?: string;
13
+ classNameIonTabs?: string;
11
14
  user?: UserType | Specialist;
12
15
  slot?: 'bottom' | 'top';
13
16
  items: TabsToolbarItem[];
17
+ selectedTab: string;
18
+ onTabChange?(tab: string): void;
14
19
  };
@@ -63,4 +63,5 @@ export type Specialist = {
63
63
  isFavourite?: boolean;
64
64
  subscription_discounts?: Record<string, number>;
65
65
  is_disabled?: boolean;
66
+ activated_at?: number;
66
67
  };
@@ -8,7 +8,7 @@ export type AvatarProps = {
8
8
  alt?: string;
9
9
  showSkeleton?: boolean;
10
10
  onClick?(): void;
11
- border?: boolean;
11
+ border?: boolean | string;
12
12
  };
13
13
  declare const _default: React.NamedExoticComponent<AvatarProps>;
14
14
  export default _default;
@@ -5,5 +5,5 @@ export declare function getBorderRadius(props: {
5
5
  export declare const AvatarWrapper: import("styled-components").StyledComponent<"div", any, {
6
6
  round: AvatarRoundVariants;
7
7
  isLoading: boolean;
8
- border: boolean;
8
+ border: string | boolean;
9
9
  }, never>;
@@ -2,3 +2,5 @@ import { Specialist } from '../types/specialistTypes';
2
2
  export declare const isSpecialistActive: (specialist: Specialist) => boolean;
3
3
  export declare const isSpecialistPublic: (specialist: Specialist) => boolean;
4
4
  export declare const isSpecialistBlocked: (specialist: Specialist) => boolean;
5
+ export declare const isSuperSpecialist: (specialist: Specialist) => boolean;
6
+ export declare const isNewSpecialist: (specialist: Specialist) => boolean;