@mindly/ui-components 5.54.1 → 5.54.2
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/cjs/configs/tailwind/colors.d.ts +1 -0
- package/dist/cjs/index.js +4 -4
- package/dist/cjs/lib2/shared/ui/Tabs/Tab.d.ts +4 -1
- package/dist/cjs/lib2/shared/ui/Tabs/styles.d.ts +21 -0
- package/dist/esm/configs/tailwind/colors.d.ts +1 -0
- package/dist/esm/index.js +4 -4
- package/dist/esm/lib2/shared/ui/Tabs/Tab.d.ts +4 -1
- package/dist/esm/lib2/shared/ui/Tabs/styles.d.ts +21 -0
- package/dist/index.d.ts +4 -1
- package/package.json +1 -1
- package/src/configs/tailwind/colors.ts +1 -0
|
@@ -4,5 +4,8 @@ type TabProps<T> = {
|
|
|
4
4
|
state: TabListState<T>;
|
|
5
5
|
};
|
|
6
6
|
export declare function Tab<T extends Record<string, unknown>>({ item, state, }: TabProps<T>): JSX.Element;
|
|
7
|
-
export declare const TabItem: (props: ItemProps<unknown>
|
|
7
|
+
export declare const TabItem: (props: ItemProps<unknown> & {
|
|
8
|
+
onClick?: () => void;
|
|
9
|
+
className?: string;
|
|
10
|
+
}) => JSX.Element;
|
|
8
11
|
export {};
|
|
@@ -5,6 +5,9 @@ export declare const tabsStyles: import("tailwind-variants").TVReturnType<{
|
|
|
5
5
|
isFocusVisible: {
|
|
6
6
|
true: {};
|
|
7
7
|
};
|
|
8
|
+
isSelected: {
|
|
9
|
+
true: {};
|
|
10
|
+
};
|
|
8
11
|
orientation: {
|
|
9
12
|
vertical: {
|
|
10
13
|
tabs: string;
|
|
@@ -25,6 +28,9 @@ export declare const tabsStyles: import("tailwind-variants").TVReturnType<{
|
|
|
25
28
|
isFocusVisible: {
|
|
26
29
|
true: {};
|
|
27
30
|
};
|
|
31
|
+
isSelected: {
|
|
32
|
+
true: {};
|
|
33
|
+
};
|
|
28
34
|
orientation: {
|
|
29
35
|
vertical: {
|
|
30
36
|
tabs: string;
|
|
@@ -40,6 +46,9 @@ export declare const tabsStyles: import("tailwind-variants").TVReturnType<{
|
|
|
40
46
|
isFocusVisible: {
|
|
41
47
|
true: {};
|
|
42
48
|
};
|
|
49
|
+
isSelected: {
|
|
50
|
+
true: {};
|
|
51
|
+
};
|
|
43
52
|
orientation: {
|
|
44
53
|
vertical: {
|
|
45
54
|
tabs: string;
|
|
@@ -55,6 +64,9 @@ export declare const tabsStyles: import("tailwind-variants").TVReturnType<{
|
|
|
55
64
|
isFocusVisible: {
|
|
56
65
|
true: {};
|
|
57
66
|
};
|
|
67
|
+
isSelected: {
|
|
68
|
+
true: {};
|
|
69
|
+
};
|
|
58
70
|
orientation: {
|
|
59
71
|
vertical: {
|
|
60
72
|
tabs: string;
|
|
@@ -75,6 +87,9 @@ export declare const tabsStyles: import("tailwind-variants").TVReturnType<{
|
|
|
75
87
|
isFocusVisible: {
|
|
76
88
|
true: {};
|
|
77
89
|
};
|
|
90
|
+
isSelected: {
|
|
91
|
+
true: {};
|
|
92
|
+
};
|
|
78
93
|
orientation: {
|
|
79
94
|
vertical: {
|
|
80
95
|
tabs: string;
|
|
@@ -95,6 +110,9 @@ export declare const tabsStyles: import("tailwind-variants").TVReturnType<{
|
|
|
95
110
|
isFocusVisible: {
|
|
96
111
|
true: {};
|
|
97
112
|
};
|
|
113
|
+
isSelected: {
|
|
114
|
+
true: {};
|
|
115
|
+
};
|
|
98
116
|
orientation: {
|
|
99
117
|
vertical: {
|
|
100
118
|
tabs: string;
|
|
@@ -110,6 +128,9 @@ export declare const tabsStyles: import("tailwind-variants").TVReturnType<{
|
|
|
110
128
|
isFocusVisible: {
|
|
111
129
|
true: {};
|
|
112
130
|
};
|
|
131
|
+
isSelected: {
|
|
132
|
+
true: {};
|
|
133
|
+
};
|
|
113
134
|
orientation: {
|
|
114
135
|
vertical: {
|
|
115
136
|
tabs: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1987,7 +1987,10 @@ declare namespace Tabs {
|
|
|
1987
1987
|
var displayName: string;
|
|
1988
1988
|
}
|
|
1989
1989
|
|
|
1990
|
-
declare const TabItem: (props: ItemProps$1<unknown>
|
|
1990
|
+
declare const TabItem: (props: ItemProps$1<unknown> & {
|
|
1991
|
+
onClick?: () => void;
|
|
1992
|
+
className?: string;
|
|
1993
|
+
}) => JSX.Element;
|
|
1991
1994
|
|
|
1992
1995
|
declare enum appThemes {
|
|
1993
1996
|
client = "client",
|
package/package.json
CHANGED