@mindly/ui-components 5.53.0 → 5.54.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.
- package/dist/cjs/index.js +4 -4
- package/dist/cjs/lib2/shared/ui/AppHeader_v2/AppHeader_v2.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/Tabs/Tab.d.ts +8 -0
- package/dist/cjs/lib2/shared/ui/Tabs/TabPanel.d.ts +10 -0
- package/dist/cjs/lib2/shared/ui/Tabs/Tabs.d.ts +7 -0
- package/dist/cjs/lib2/shared/ui/Tabs/index.d.ts +2 -0
- package/dist/cjs/lib2/shared/ui/Tabs/styles.d.ts +121 -0
- package/dist/esm/index.js +4 -4
- package/dist/esm/lib2/shared/ui/AppHeader_v2/AppHeader_v2.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/Tabs/Tab.d.ts +8 -0
- package/dist/esm/lib2/shared/ui/Tabs/TabPanel.d.ts +10 -0
- package/dist/esm/lib2/shared/ui/Tabs/Tabs.d.ts +7 -0
- package/dist/esm/lib2/shared/ui/Tabs/index.d.ts +2 -0
- package/dist/esm/lib2/shared/ui/Tabs/styles.d.ts +121 -0
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ItemProps, Node, TabListState } from 'react-stately';
|
|
2
|
+
type TabProps<T> = {
|
|
3
|
+
item: Node<T>;
|
|
4
|
+
state: TabListState<T>;
|
|
5
|
+
};
|
|
6
|
+
export declare function Tab<T extends Record<string, unknown>>({ item, state, }: TabProps<T>): JSX.Element;
|
|
7
|
+
export declare const TabItem: (props: ItemProps<unknown>) => JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AriaTabPanelProps } from 'react-aria';
|
|
2
|
+
import type { TabListState } from 'react-stately';
|
|
3
|
+
type TabPanelProps<T> = AriaTabPanelProps & {
|
|
4
|
+
state: TabListState<T>;
|
|
5
|
+
};
|
|
6
|
+
export declare function TabPanel<T extends Record<string, unknown>>({ state, ...props }: TabPanelProps<T>): JSX.Element;
|
|
7
|
+
export declare namespace TabPanel {
|
|
8
|
+
var displayName: string;
|
|
9
|
+
}
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AriaTabListProps } from 'react-aria';
|
|
2
|
+
type TabsProps<T> = AriaTabListProps<T>;
|
|
3
|
+
export declare function Tabs<T extends Record<string, unknown>>(props: TabsProps<T>): JSX.Element;
|
|
4
|
+
export declare namespace Tabs {
|
|
5
|
+
var displayName: string;
|
|
6
|
+
}
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
export declare const tabsStyles: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
isPressed: {
|
|
3
|
+
true: {};
|
|
4
|
+
};
|
|
5
|
+
isFocusVisible: {
|
|
6
|
+
true: {};
|
|
7
|
+
};
|
|
8
|
+
orientation: {
|
|
9
|
+
vertical: {
|
|
10
|
+
tabs: string;
|
|
11
|
+
};
|
|
12
|
+
horizontal: {
|
|
13
|
+
tabs: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
}, {
|
|
17
|
+
tab: string;
|
|
18
|
+
tabs: string;
|
|
19
|
+
tabList: string;
|
|
20
|
+
activeTab: string;
|
|
21
|
+
}, undefined, import("tailwind-variants/dist/config").TVConfig<{
|
|
22
|
+
isPressed: {
|
|
23
|
+
true: {};
|
|
24
|
+
};
|
|
25
|
+
isFocusVisible: {
|
|
26
|
+
true: {};
|
|
27
|
+
};
|
|
28
|
+
orientation: {
|
|
29
|
+
vertical: {
|
|
30
|
+
tabs: string;
|
|
31
|
+
};
|
|
32
|
+
horizontal: {
|
|
33
|
+
tabs: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
}, {
|
|
37
|
+
isPressed: {
|
|
38
|
+
true: {};
|
|
39
|
+
};
|
|
40
|
+
isFocusVisible: {
|
|
41
|
+
true: {};
|
|
42
|
+
};
|
|
43
|
+
orientation: {
|
|
44
|
+
vertical: {
|
|
45
|
+
tabs: string;
|
|
46
|
+
};
|
|
47
|
+
horizontal: {
|
|
48
|
+
tabs: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}>, {
|
|
52
|
+
isPressed: {
|
|
53
|
+
true: {};
|
|
54
|
+
};
|
|
55
|
+
isFocusVisible: {
|
|
56
|
+
true: {};
|
|
57
|
+
};
|
|
58
|
+
orientation: {
|
|
59
|
+
vertical: {
|
|
60
|
+
tabs: string;
|
|
61
|
+
};
|
|
62
|
+
horizontal: {
|
|
63
|
+
tabs: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
}, {
|
|
67
|
+
tab: string;
|
|
68
|
+
tabs: string;
|
|
69
|
+
tabList: string;
|
|
70
|
+
activeTab: string;
|
|
71
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
72
|
+
isPressed: {
|
|
73
|
+
true: {};
|
|
74
|
+
};
|
|
75
|
+
isFocusVisible: {
|
|
76
|
+
true: {};
|
|
77
|
+
};
|
|
78
|
+
orientation: {
|
|
79
|
+
vertical: {
|
|
80
|
+
tabs: string;
|
|
81
|
+
};
|
|
82
|
+
horizontal: {
|
|
83
|
+
tabs: string;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
}, {
|
|
87
|
+
tab: string;
|
|
88
|
+
tabs: string;
|
|
89
|
+
tabList: string;
|
|
90
|
+
activeTab: string;
|
|
91
|
+
}, undefined, import("tailwind-variants/dist/config").TVConfig<{
|
|
92
|
+
isPressed: {
|
|
93
|
+
true: {};
|
|
94
|
+
};
|
|
95
|
+
isFocusVisible: {
|
|
96
|
+
true: {};
|
|
97
|
+
};
|
|
98
|
+
orientation: {
|
|
99
|
+
vertical: {
|
|
100
|
+
tabs: string;
|
|
101
|
+
};
|
|
102
|
+
horizontal: {
|
|
103
|
+
tabs: string;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
}, {
|
|
107
|
+
isPressed: {
|
|
108
|
+
true: {};
|
|
109
|
+
};
|
|
110
|
+
isFocusVisible: {
|
|
111
|
+
true: {};
|
|
112
|
+
};
|
|
113
|
+
orientation: {
|
|
114
|
+
vertical: {
|
|
115
|
+
tabs: string;
|
|
116
|
+
};
|
|
117
|
+
horizontal: {
|
|
118
|
+
tabs: string;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
}>, unknown, unknown, undefined>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1540,6 +1540,7 @@ declare const _default$k: React.NamedExoticComponent<ItemCardProps>;
|
|
|
1540
1540
|
type AppHeaderProps = {
|
|
1541
1541
|
fullwidth?: boolean;
|
|
1542
1542
|
className?: string;
|
|
1543
|
+
toolbarClassName?: string;
|
|
1543
1544
|
};
|
|
1544
1545
|
declare const AppHeader_v2: FC<AppHeaderProps>;
|
|
1545
1546
|
|