@mindly/ui-components 5.49.5 → 5.51.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { TranslationType } from '../../shared/types';
3
+ type ReviewCardFeatureProps = {
4
+ avatarSrc?: string;
5
+ name: string;
6
+ date: number;
7
+ rating: number;
8
+ review: string;
9
+ size?: 'default' | 'small';
10
+ } & TranslationType;
11
+ declare const _default: React.NamedExoticComponent<ReviewCardFeatureProps>;
12
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as ReviewCardFeature } from './ReviewCardFeature';
@@ -0,0 +1,104 @@
1
+ export declare const reviewCardStyle: import("tailwind-variants").TVReturnType<{
2
+ size: {
3
+ default: {
4
+ base: string;
5
+ user: string;
6
+ rating: string;
7
+ };
8
+ small: {
9
+ base: string;
10
+ user: string;
11
+ rating: string;
12
+ };
13
+ };
14
+ }, {
15
+ base: string;
16
+ user: string;
17
+ rating: string;
18
+ }, undefined, import("tailwind-variants/dist/config").TVConfig<{
19
+ size: {
20
+ default: {
21
+ base: string;
22
+ user: string;
23
+ rating: string;
24
+ };
25
+ small: {
26
+ base: string;
27
+ user: string;
28
+ rating: string;
29
+ };
30
+ };
31
+ }, {
32
+ size: {
33
+ default: {
34
+ base: string;
35
+ user: string;
36
+ rating: string;
37
+ };
38
+ small: {
39
+ base: string;
40
+ user: string;
41
+ rating: string;
42
+ };
43
+ };
44
+ }>, {
45
+ size: {
46
+ default: {
47
+ base: string;
48
+ user: string;
49
+ rating: string;
50
+ };
51
+ small: {
52
+ base: string;
53
+ user: string;
54
+ rating: string;
55
+ };
56
+ };
57
+ }, {
58
+ base: string;
59
+ user: string;
60
+ rating: string;
61
+ }, import("tailwind-variants").TVReturnType<{
62
+ size: {
63
+ default: {
64
+ base: string;
65
+ user: string;
66
+ rating: string;
67
+ };
68
+ small: {
69
+ base: string;
70
+ user: string;
71
+ rating: string;
72
+ };
73
+ };
74
+ }, {
75
+ base: string;
76
+ user: string;
77
+ rating: string;
78
+ }, undefined, import("tailwind-variants/dist/config").TVConfig<{
79
+ size: {
80
+ default: {
81
+ base: string;
82
+ user: string;
83
+ rating: string;
84
+ };
85
+ small: {
86
+ base: string;
87
+ user: string;
88
+ rating: string;
89
+ };
90
+ };
91
+ }, {
92
+ size: {
93
+ default: {
94
+ base: string;
95
+ user: string;
96
+ rating: string;
97
+ };
98
+ small: {
99
+ base: string;
100
+ user: string;
101
+ rating: string;
102
+ };
103
+ };
104
+ }>, unknown, unknown, undefined>>;
@@ -16,3 +16,4 @@ export * from './SpecialistPaymentConsultationsFeature';
16
16
  export * from './CalendarPickerFeature';
17
17
  export * from './PaymentCalendarFeature';
18
18
  export * from './GoogleCalendarModalFeature';
19
+ export * from './ReviewCardFeature';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { AvatarRoundVariants } from './Avatar_v2.style';
3
3
  type AvatarProps = {
4
- variant?: 'small' | 'medium';
4
+ variant?: 'small' | 'medium' | 'smaller';
5
5
  round?: AvatarRoundVariants;
6
6
  className?: string;
7
7
  src?: string;
@@ -3,6 +3,7 @@ import { JSX } from '@ionic/core/components';
3
3
  type ButtonProps = {
4
4
  fill?: 'outline' | 'clear';
5
5
  size?: 'default' | 'large' | 'small';
6
+ customSize?: 'smaller';
6
7
  color?: undefined;
7
8
  fullWidth?: boolean;
8
9
  className?: string;
@@ -11,6 +12,7 @@ type ButtonProps = {
11
12
  isLoading?: boolean;
12
13
  icon?: React.ReactNode;
13
14
  iconPosition?: 'start' | 'center';
15
+ style?: React.CSSProperties;
14
16
  } & JSX.IonButton;
15
17
  declare const Button_v2: FC<ButtonProps>;
16
18
  export default Button_v2;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  type ProgressBar_v2Props = {
3
- variant?: 'default' | 'danger' | 'success';
3
+ variant?: 'default' | 'danger' | 'success' | 'dark' | 'light';
4
4
  progress: number;
5
5
  className?: string;
6
6
  reversed?: boolean;
@@ -6,6 +6,8 @@ export declare enum TypographyVariantsEnum {
6
6
  Title24Semi = "Title/24 Semi",
7
7
  Title20Semi = "Title/20 Semi",
8
8
  Title18Semi = "Title/18 Semi",
9
+ Title14Semi = "Title/14 Semi",
10
+ Title12Semi = "Title/12 Semi",
9
11
  Text48Semi = "Text/48 Semi",
10
12
  Text32Semi = "Text/32 Semi",
11
13
  Text24Semi = "Text/24 Semi",
@@ -21,7 +23,10 @@ export declare enum TypographyVariantsEnum {
21
23
  Text13Semi = "Text/13 Semi",
22
24
  Text13Regular = "Text/13 Regular",
23
25
  Text12Regular = "Text/12 Regular",
24
- Tabbar10Medium = "Tabbar/10 Medium"
26
+ Tabbar10Medium = "Tabbar/10 Medium",
27
+ Text8Regular = "Text/8 Regular",
28
+ Text7Regular = "Text/7 Regular",
29
+ Text6Regular = "Text/6 Regular"
25
30
  }
26
31
  export type TypographyAlignType = 'left' | 'center' | 'right';
27
32
  export type TypographyOpacityType = 100 | 65 | 50 | 45 | 35 | 30 | 15 | 10 | 8 | 6;
@@ -1,2 +1,3 @@
1
1
  export { mergeRefs } from './mergeRefs';
2
2
  export { priceNormalize } from './priceNormalizer';
3
+ export { newShade } from './newShade';
@@ -0,0 +1 @@
1
+ export declare const newShade: (hexColor: string, magnitude: number) => string;