@mindly/ui-components 5.71.1 → 5.73.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.
@@ -13,7 +13,7 @@ type UserInfoModalProps = {
13
13
  onClose: () => void;
14
14
  isClient?: boolean;
15
15
  isShowContract?: boolean;
16
- contractStatus?: 'not_signed' | 'pending' | 'active';
16
+ contractStatus?: 'not_signed' | 'pending' | 'active' | "expired";
17
17
  handleOpenContract: () => void;
18
18
  translations?: {
19
19
  contractTitle: string;
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  type TextAreaFormFeatureProps = {
3
3
  title?: string;
4
+ subtitle?: string;
4
5
  placeholder?: string;
5
6
  buttonText?: string;
6
7
  defaultValue?: string;
@@ -1,6 +1,7 @@
1
1
  import { FC } from 'react';
2
2
  type SpinnerProps = {
3
3
  size?: number;
4
+ className?: string;
4
5
  };
5
6
  declare const Spinner_v2: FC<SpinnerProps>;
6
7
  export default Spinner_v2;
@@ -1,11 +1,14 @@
1
1
  import { ItemProps, Node, TabListState } from 'react-stately';
2
2
  type TabProps<T> = {
3
- item: Node<T>;
3
+ item: Node<T> & {
4
+ textTransform?: 'uppercase' | 'capitalize' | 'lowercase' | 'none';
5
+ };
4
6
  state: TabListState<T>;
5
7
  };
6
8
  export declare function Tab<T extends Record<string, unknown>>({ item, state, }: TabProps<T>): JSX.Element;
7
9
  export declare const TabItem: (props: ItemProps<unknown> & {
8
10
  onClick?: () => void;
9
11
  className?: string;
12
+ textTransform?: 'uppercase' | 'capitalize' | 'lowercase' | 'none';
10
13
  }) => JSX.Element;
11
14
  export {};
@@ -1,4 +1,18 @@
1
1
  export declare const tabsStyles: import("tailwind-variants").TVReturnType<{
2
+ textTransform: {
3
+ uppercase: {
4
+ tabText: string;
5
+ };
6
+ capitalize: {
7
+ tabText: string;
8
+ };
9
+ lowercase: {
10
+ tabText: string;
11
+ };
12
+ none: {
13
+ tabText: string;
14
+ };
15
+ };
2
16
  isPressed: {
3
17
  true: {};
4
18
  };
@@ -18,10 +32,25 @@ export declare const tabsStyles: import("tailwind-variants").TVReturnType<{
18
32
  };
19
33
  }, {
20
34
  tab: string;
35
+ tabText: string;
21
36
  tabs: string;
22
37
  tabList: string;
23
38
  activeTab: string;
24
39
  }, undefined, import("tailwind-variants/dist/config").TVConfig<{
40
+ textTransform: {
41
+ uppercase: {
42
+ tabText: string;
43
+ };
44
+ capitalize: {
45
+ tabText: string;
46
+ };
47
+ lowercase: {
48
+ tabText: string;
49
+ };
50
+ none: {
51
+ tabText: string;
52
+ };
53
+ };
25
54
  isPressed: {
26
55
  true: {};
27
56
  };
@@ -40,6 +69,20 @@ export declare const tabsStyles: import("tailwind-variants").TVReturnType<{
40
69
  };
41
70
  };
42
71
  }, {
72
+ textTransform: {
73
+ uppercase: {
74
+ tabText: string;
75
+ };
76
+ capitalize: {
77
+ tabText: string;
78
+ };
79
+ lowercase: {
80
+ tabText: string;
81
+ };
82
+ none: {
83
+ tabText: string;
84
+ };
85
+ };
43
86
  isPressed: {
44
87
  true: {};
45
88
  };
@@ -58,6 +101,20 @@ export declare const tabsStyles: import("tailwind-variants").TVReturnType<{
58
101
  };
59
102
  };
60
103
  }>, {
104
+ textTransform: {
105
+ uppercase: {
106
+ tabText: string;
107
+ };
108
+ capitalize: {
109
+ tabText: string;
110
+ };
111
+ lowercase: {
112
+ tabText: string;
113
+ };
114
+ none: {
115
+ tabText: string;
116
+ };
117
+ };
61
118
  isPressed: {
62
119
  true: {};
63
120
  };
@@ -77,10 +134,25 @@ export declare const tabsStyles: import("tailwind-variants").TVReturnType<{
77
134
  };
78
135
  }, {
79
136
  tab: string;
137
+ tabText: string;
80
138
  tabs: string;
81
139
  tabList: string;
82
140
  activeTab: string;
83
141
  }, import("tailwind-variants").TVReturnType<{
142
+ textTransform: {
143
+ uppercase: {
144
+ tabText: string;
145
+ };
146
+ capitalize: {
147
+ tabText: string;
148
+ };
149
+ lowercase: {
150
+ tabText: string;
151
+ };
152
+ none: {
153
+ tabText: string;
154
+ };
155
+ };
84
156
  isPressed: {
85
157
  true: {};
86
158
  };
@@ -100,10 +172,25 @@ export declare const tabsStyles: import("tailwind-variants").TVReturnType<{
100
172
  };
101
173
  }, {
102
174
  tab: string;
175
+ tabText: string;
103
176
  tabs: string;
104
177
  tabList: string;
105
178
  activeTab: string;
106
179
  }, undefined, import("tailwind-variants/dist/config").TVConfig<{
180
+ textTransform: {
181
+ uppercase: {
182
+ tabText: string;
183
+ };
184
+ capitalize: {
185
+ tabText: string;
186
+ };
187
+ lowercase: {
188
+ tabText: string;
189
+ };
190
+ none: {
191
+ tabText: string;
192
+ };
193
+ };
107
194
  isPressed: {
108
195
  true: {};
109
196
  };
@@ -122,6 +209,20 @@ export declare const tabsStyles: import("tailwind-variants").TVReturnType<{
122
209
  };
123
210
  };
124
211
  }, {
212
+ textTransform: {
213
+ uppercase: {
214
+ tabText: string;
215
+ };
216
+ capitalize: {
217
+ tabText: string;
218
+ };
219
+ lowercase: {
220
+ tabText: string;
221
+ };
222
+ none: {
223
+ tabText: string;
224
+ };
225
+ };
125
226
  isPressed: {
126
227
  true: {};
127
228
  };
package/dist/index.d.ts CHANGED
@@ -823,7 +823,7 @@ type UserInfoModalProps = {
823
823
  onClose: () => void;
824
824
  isClient?: boolean;
825
825
  isShowContract?: boolean;
826
- contractStatus?: 'not_signed' | 'pending' | 'active';
826
+ contractStatus?: 'not_signed' | 'pending' | 'active' | "expired";
827
827
  handleOpenContract: () => void;
828
828
  translations?: {
829
829
  contractTitle: string;
@@ -1886,6 +1886,7 @@ declare const ScreenInput: React__default.ForwardRefExoticComponent<ScreenInputP
1886
1886
 
1887
1887
  type SpinnerProps = {
1888
1888
  size?: number;
1889
+ className?: string;
1889
1890
  };
1890
1891
  declare const Spinner_v2: FC<SpinnerProps>;
1891
1892
 
@@ -2026,6 +2027,7 @@ declare namespace Tabs$1 {
2026
2027
  declare const TabItem: (props: ItemProps$1<unknown> & {
2027
2028
  onClick?: () => void;
2028
2029
  className?: string;
2030
+ textTransform?: 'uppercase' | 'capitalize' | 'lowercase' | 'none';
2029
2031
  }) => JSX.Element;
2030
2032
 
2031
2033
  declare enum appThemes {
@@ -2766,6 +2768,7 @@ declare const _default$4: React__default.NamedExoticComponent<SpecialistDrumPick
2766
2768
 
2767
2769
  type TextAreaFormFeatureProps = {
2768
2770
  title?: string;
2771
+ subtitle?: string;
2769
2772
  placeholder?: string;
2770
2773
  buttonText?: string;
2771
2774
  defaultValue?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "5.71.1",
3
+ "version": "5.73.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",