@mindly/ui-components 5.72.0 → 5.73.1

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,8 @@ type UserInfoModalProps = {
13
13
  onClose: () => void;
14
14
  isClient?: boolean;
15
15
  isShowContract?: boolean;
16
- contractStatus?: 'not_signed' | 'pending' | 'active' | "expired";
16
+ isContractLoading?: boolean;
17
+ contractStatus?: 'not_signed' | 'pending' | 'active' | 'expired';
17
18
  handleOpenContract: () => void;
18
19
  translations?: {
19
20
  contractTitle: string;
@@ -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,8 @@ type UserInfoModalProps = {
823
823
  onClose: () => void;
824
824
  isClient?: boolean;
825
825
  isShowContract?: boolean;
826
- contractStatus?: 'not_signed' | 'pending' | 'active' | "expired";
826
+ isContractLoading?: boolean;
827
+ contractStatus?: 'not_signed' | 'pending' | 'active' | 'expired';
827
828
  handleOpenContract: () => void;
828
829
  translations?: {
829
830
  contractTitle: string;
@@ -2027,6 +2028,7 @@ declare namespace Tabs$1 {
2027
2028
  declare const TabItem: (props: ItemProps$1<unknown> & {
2028
2029
  onClick?: () => void;
2029
2030
  className?: string;
2031
+ textTransform?: 'uppercase' | 'capitalize' | 'lowercase' | 'none';
2030
2032
  }) => JSX.Element;
2031
2033
 
2032
2034
  declare enum appThemes {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "5.72.0",
3
+ "version": "5.73.1",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",