@causw/core 0.0.12 → 0.0.13
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/components/Avatar/Avatar.d.cts +2 -2
- package/dist/components/Avatar/Avatar.d.mts +2 -2
- package/dist/components/Avatar/Avatar.styles.d.cts +3 -3
- package/dist/components/Avatar/Avatar.styles.d.mts +3 -3
- package/dist/components/BottomNavigation/BottomNavigation.cjs +78 -0
- package/dist/components/BottomNavigation/BottomNavigation.d.cts +48 -0
- package/dist/components/BottomNavigation/BottomNavigation.d.cts.map +1 -0
- package/dist/components/BottomNavigation/BottomNavigation.d.mts +49 -0
- package/dist/components/BottomNavigation/BottomNavigation.d.mts.map +1 -0
- package/dist/components/BottomNavigation/BottomNavigation.mjs +78 -0
- package/dist/components/BottomNavigation/BottomNavigation.mjs.map +1 -0
- package/dist/components/BottomNavigation/BottomNavigation.styles.cjs +26 -0
- package/dist/components/BottomNavigation/BottomNavigation.styles.d.cts +57 -0
- package/dist/components/BottomNavigation/BottomNavigation.styles.d.cts.map +1 -0
- package/dist/components/BottomNavigation/BottomNavigation.styles.d.mts +57 -0
- package/dist/components/BottomNavigation/BottomNavigation.styles.d.mts.map +1 -0
- package/dist/components/BottomNavigation/BottomNavigation.styles.mjs +26 -0
- package/dist/components/BottomNavigation/BottomNavigation.styles.mjs.map +1 -0
- package/dist/components/BottomNavigation/hooks/useBottomNavigationContext.cjs +22 -0
- package/dist/components/BottomNavigation/hooks/useBottomNavigationContext.mjs +19 -0
- package/dist/components/BottomNavigation/hooks/useBottomNavigationContext.mjs.map +1 -0
- package/dist/components/BottomNavigation/index.d.mts +1 -0
- package/dist/components/BottomSheet/BottomSheet.cjs +94 -0
- package/dist/components/BottomSheet/BottomSheet.d.cts +69 -0
- package/dist/components/BottomSheet/BottomSheet.d.cts.map +1 -0
- package/dist/components/BottomSheet/BottomSheet.d.mts +69 -0
- package/dist/components/BottomSheet/BottomSheet.d.mts.map +1 -0
- package/dist/components/BottomSheet/BottomSheet.mjs +93 -0
- package/dist/components/BottomSheet/BottomSheet.mjs.map +1 -0
- package/dist/components/BottomSheet/BottomSheet.styles.cjs +21 -0
- package/dist/components/BottomSheet/BottomSheet.styles.d.cts +54 -0
- package/dist/components/BottomSheet/BottomSheet.styles.d.cts.map +1 -0
- package/dist/components/BottomSheet/BottomSheet.styles.d.mts +54 -0
- package/dist/components/BottomSheet/BottomSheet.styles.d.mts.map +1 -0
- package/dist/components/BottomSheet/BottomSheet.styles.mjs +21 -0
- package/dist/components/BottomSheet/BottomSheet.styles.mjs.map +1 -0
- package/dist/components/BottomSheet/index.d.mts +1 -0
- package/dist/components/Box/Box.styles.d.mts +3 -3
- package/dist/components/Button/Button.d.cts +2 -2
- package/dist/components/Button/Button.d.mts +2 -2
- package/dist/components/Button/Button.styles.d.mts +3 -3
- package/dist/components/CTAButton/CTAButton.d.cts +2 -2
- package/dist/components/CTAButton/CTAButton.d.mts +2 -2
- package/dist/components/CTAButton/CTAButton.styles.d.cts +3 -3
- package/dist/components/CTAButton/CTAButton.styles.d.mts +3 -3
- package/dist/components/Calendar/Calendar.cjs +191 -0
- package/dist/components/Calendar/Calendar.d.cts +40 -0
- package/dist/components/Calendar/Calendar.d.cts.map +1 -0
- package/dist/components/Calendar/Calendar.d.mts +40 -0
- package/dist/components/Calendar/Calendar.d.mts.map +1 -0
- package/dist/components/Calendar/Calendar.mjs +190 -0
- package/dist/components/Calendar/Calendar.mjs.map +1 -0
- package/dist/components/Calendar/Calendar.styles.cjs +121 -0
- package/dist/components/Calendar/Calendar.styles.d.cts +269 -0
- package/dist/components/Calendar/Calendar.styles.d.cts.map +1 -0
- package/dist/components/Calendar/Calendar.styles.d.mts +269 -0
- package/dist/components/Calendar/Calendar.styles.d.mts.map +1 -0
- package/dist/components/Calendar/Calendar.styles.mjs +120 -0
- package/dist/components/Calendar/Calendar.styles.mjs.map +1 -0
- package/dist/components/Calendar/index.d.mts +1 -0
- package/dist/components/Checkbox/Checkbox.d.cts +4 -4
- package/dist/components/Checkbox/Checkbox.d.mts +4 -4
- package/dist/components/Checkbox/Checkbox.d.mts.map +1 -1
- package/dist/components/Checkbox/Checkbox.styles.d.mts +3 -3
- package/dist/components/Chip/Chip.d.cts +2 -2
- package/dist/components/Chip/Chip.styles.d.cts +3 -3
- package/dist/components/Dialog/Dialog.d.cts +5 -5
- package/dist/components/Dialog/Dialog.styles.d.cts +3 -3
- package/dist/components/Dialog/Dialog.styles.d.cts.map +1 -1
- package/dist/components/Drawer/Drawer.cjs +41 -0
- package/dist/components/Drawer/Drawer.d.cts +29 -0
- package/dist/components/Drawer/Drawer.d.cts.map +1 -0
- package/dist/components/Drawer/Drawer.d.mts +29 -0
- package/dist/components/Drawer/Drawer.d.mts.map +1 -0
- package/dist/components/Drawer/Drawer.mjs +40 -0
- package/dist/components/Drawer/Drawer.mjs.map +1 -0
- package/dist/components/Drawer/Drawer.styles.cjs +23 -0
- package/dist/components/Drawer/Drawer.styles.d.cts +36 -0
- package/dist/components/Drawer/Drawer.styles.d.cts.map +1 -0
- package/dist/components/Drawer/Drawer.styles.d.mts +36 -0
- package/dist/components/Drawer/Drawer.styles.d.mts.map +1 -0
- package/dist/components/Drawer/Drawer.styles.mjs +23 -0
- package/dist/components/Drawer/Drawer.styles.mjs.map +1 -0
- package/dist/components/Drawer/index.d.mts +1 -0
- package/dist/components/Dropdown/Dropdown.d.cts +3 -3
- package/dist/components/Field/Field.d.mts +5 -5
- package/dist/components/Float/Float.styles.d.cts +3 -3
- package/dist/components/Float/Float.styles.d.mts +3 -3
- package/dist/components/FloatingActionButton/FloatingActionButton.d.cts +2 -2
- package/dist/components/FloatingActionButton/FloatingActionButton.d.mts +2 -2
- package/dist/components/FloatingActionButton/FloatingActionButton.styles.d.cts +3 -3
- package/dist/components/FloatingActionButton/FloatingActionButton.styles.d.mts +3 -3
- package/dist/components/Grid/Grid.styles.d.cts +3 -3
- package/dist/components/Grid/Grid.styles.d.mts +3 -3
- package/dist/components/HStack/HStack.d.cts +2 -2
- package/dist/components/HStack/HStack.d.mts +2 -2
- package/dist/components/Modal/Modal.d.cts +7 -7
- package/dist/components/Modal/Modal.d.mts +7 -7
- package/dist/components/Modal/Modal.styles.d.cts +3 -3
- package/dist/components/Modal/Modal.styles.d.mts +3 -3
- package/dist/components/Primitive/Primitive.d.cts +16 -16
- package/dist/components/Radio/Radio.d.cts +3 -3
- package/dist/components/Radio/Radio.d.cts.map +1 -1
- package/dist/components/Radio/Radio.d.mts +3 -3
- package/dist/components/Radio/Radio.d.mts.map +1 -1
- package/dist/components/RatioChart/RatioChart.d.cts +5 -5
- package/dist/components/RatioChart/RatioChartEditor.d.cts +2 -2
- package/dist/components/Select/Select.d.cts +5 -5
- package/dist/components/Select/Select.styles.d.cts +3 -3
- package/dist/components/Separator/Separator.styles.d.mts +3 -3
- package/dist/components/Sidebar/Sidebar.cjs +95 -0
- package/dist/components/Sidebar/Sidebar.d.cts +64 -0
- package/dist/components/Sidebar/Sidebar.d.cts.map +1 -0
- package/dist/components/Sidebar/Sidebar.d.mts +65 -0
- package/dist/components/Sidebar/Sidebar.d.mts.map +1 -0
- package/dist/components/Sidebar/Sidebar.mjs +95 -0
- package/dist/components/Sidebar/Sidebar.mjs.map +1 -0
- package/dist/components/Sidebar/Sidebar.styles.cjs +32 -0
- package/dist/components/Sidebar/Sidebar.styles.d.cts +75 -0
- package/dist/components/Sidebar/Sidebar.styles.d.cts.map +1 -0
- package/dist/components/Sidebar/Sidebar.styles.d.mts +75 -0
- package/dist/components/Sidebar/Sidebar.styles.d.mts.map +1 -0
- package/dist/components/Sidebar/Sidebar.styles.mjs +32 -0
- package/dist/components/Sidebar/Sidebar.styles.mjs.map +1 -0
- package/dist/components/Sidebar/hooks/useSidebarContext.cjs +22 -0
- package/dist/components/Sidebar/hooks/useSidebarContext.d.cts +5 -0
- package/dist/components/Sidebar/hooks/useSidebarContext.d.cts.map +1 -0
- package/dist/components/Sidebar/hooks/useSidebarContext.d.mts +7 -0
- package/dist/components/Sidebar/hooks/useSidebarContext.d.mts.map +1 -0
- package/dist/components/Sidebar/hooks/useSidebarContext.mjs +19 -0
- package/dist/components/Sidebar/hooks/useSidebarContext.mjs.map +1 -0
- package/dist/components/Sidebar/index.d.mts +2 -0
- package/dist/components/Spacer/Spacer.styles.d.cts +3 -3
- package/dist/components/Spacer/Spacer.styles.d.cts.map +1 -1
- package/dist/components/Spacer/Spacer.styles.d.mts +3 -3
- package/dist/components/Stack/Stack.styles.d.mts +3 -3
- package/dist/components/Tab/Tab.d.cts +6 -6
- package/dist/components/Tab/Tab.d.mts +6 -6
- package/dist/components/Tab/Tab.styles.d.cts +3 -3
- package/dist/components/Tab/Tab.styles.d.mts +3 -3
- package/dist/components/Text/Text.d.cts +1 -1
- package/dist/components/Text/Text.d.mts +1 -1
- package/dist/components/Text/Text.styles.d.cts +3 -3
- package/dist/components/Text/Text.styles.d.mts +3 -3
- package/dist/components/TextArea/TextArea.d.cts +4 -4
- package/dist/components/TextArea/TextArea.d.mts +4 -4
- package/dist/components/TextArea/TextArea.d.mts.map +1 -1
- package/dist/components/TextArea/TextArea.styles.d.mts +3 -3
- package/dist/components/TextInput/TextInput.d.cts +2 -2
- package/dist/components/TextInput/TextInput.d.mts +2 -2
- package/dist/components/TextInput/TextInput.styles.d.cts +3 -3
- package/dist/components/TextInput/TextInput.styles.d.mts +3 -3
- package/dist/components/Toast/Toast.d.cts +3 -3
- package/dist/components/Toast/Toast.d.mts +3 -3
- package/dist/components/Toast/Toast.styles.d.cts +3 -3
- package/dist/components/Toast/Toast.styles.d.mts +3 -3
- package/dist/components/Toggle/Toggle.d.cts +4 -4
- package/dist/components/Toggle/Toggle.d.mts +4 -4
- package/dist/components/Toggle/Toggle.styles.d.cts +3 -3
- package/dist/components/VStack/VStack.d.mts +2 -2
- package/dist/components/index.d.mts +12 -1
- package/dist/hooks/bottomSheet/useBottomSheet.cjs +15 -0
- package/dist/hooks/bottomSheet/useBottomSheet.mjs +13 -0
- package/dist/hooks/bottomSheet/useBottomSheet.mjs.map +1 -0
- package/dist/index.cjs +10 -0
- package/dist/index.d.cts +7 -1
- package/dist/index.d.mts +7 -1
- package/dist/index.mjs +6 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Spacer.styles.d.cts","names":[],"sources":["../../../src/components/Spacer/Spacer.styles.ts"],"mappings":";;;;cAEa,MAAA,EAoBX,
|
|
1
|
+
{"version":3,"file":"Spacer.styles.d.cts","names":[],"sources":["../../../src/components/Spacer/Spacer.styles.ts"],"mappings":";;;;cAEa,MAAA,EAoBX,kBAAA,CApBiB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoBjB,kBAAA,CAAA,YAAA;;;;;;;;;;;;;;;KAEU,cAAA,GAAiB,YAAA,QAAoB,MAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants7 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Spacer/Spacer.styles.d.ts
|
|
5
|
-
declare const spacer:
|
|
5
|
+
declare const spacer: tailwind_variants7.TVReturnType<{
|
|
6
6
|
size: {
|
|
7
7
|
1: string;
|
|
8
8
|
2: string;
|
|
@@ -30,7 +30,7 @@ declare const spacer: tailwind_variants9.TVReturnType<{
|
|
|
30
30
|
24: string;
|
|
31
31
|
auto: string;
|
|
32
32
|
};
|
|
33
|
-
}, undefined,
|
|
33
|
+
}, undefined, tailwind_variants7.TVReturnType<{
|
|
34
34
|
size: {
|
|
35
35
|
1: string;
|
|
36
36
|
2: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants5 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Stack/Stack.styles.d.ts
|
|
5
|
-
declare const stack:
|
|
5
|
+
declare const stack: tailwind_variants5.TVReturnType<{
|
|
6
6
|
direction: {
|
|
7
7
|
horizontal: string;
|
|
8
8
|
vertical: string;
|
|
@@ -52,7 +52,7 @@ declare const stack: tailwind_variants3.TVReturnType<{
|
|
|
52
52
|
end: string;
|
|
53
53
|
between: string;
|
|
54
54
|
};
|
|
55
|
-
}, undefined,
|
|
55
|
+
}, undefined, tailwind_variants5.TVReturnType<{
|
|
56
56
|
direction: {
|
|
57
57
|
horizontal: string;
|
|
58
58
|
vertical: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PrimitiveProps } from "../Primitive/Primitive.cjs";
|
|
2
2
|
import { TabVariants } from "./Tab.styles.cjs";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime37 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/Tab/Tab.d.ts
|
|
7
7
|
interface TabRootProps extends TabVariants {
|
|
@@ -34,7 +34,7 @@ declare const Tab: {
|
|
|
34
34
|
id,
|
|
35
35
|
className,
|
|
36
36
|
children
|
|
37
|
-
}: TabRootProps):
|
|
37
|
+
}: TabRootProps): react_jsx_runtime37.JSX.Element;
|
|
38
38
|
displayName: string;
|
|
39
39
|
} & {
|
|
40
40
|
Root: {
|
|
@@ -47,14 +47,14 @@ declare const Tab: {
|
|
|
47
47
|
id,
|
|
48
48
|
className,
|
|
49
49
|
children
|
|
50
|
-
}: TabRootProps):
|
|
50
|
+
}: TabRootProps): react_jsx_runtime37.JSX.Element;
|
|
51
51
|
displayName: string;
|
|
52
52
|
};
|
|
53
53
|
List: {
|
|
54
54
|
({
|
|
55
55
|
className,
|
|
56
56
|
...props
|
|
57
|
-
}: TabListProps):
|
|
57
|
+
}: TabListProps): react_jsx_runtime37.JSX.Element;
|
|
58
58
|
displayName: string;
|
|
59
59
|
};
|
|
60
60
|
TabItem: {
|
|
@@ -64,7 +64,7 @@ declare const Tab: {
|
|
|
64
64
|
className,
|
|
65
65
|
onClick,
|
|
66
66
|
...props
|
|
67
|
-
}: TabTabItemProps):
|
|
67
|
+
}: TabTabItemProps): react_jsx_runtime37.JSX.Element;
|
|
68
68
|
displayName: string;
|
|
69
69
|
};
|
|
70
70
|
Content: {
|
|
@@ -75,7 +75,7 @@ declare const Tab: {
|
|
|
75
75
|
className,
|
|
76
76
|
children,
|
|
77
77
|
...props
|
|
78
|
-
}: TabContentProps):
|
|
78
|
+
}: TabContentProps): react_jsx_runtime37.JSX.Element | null;
|
|
79
79
|
displayName: string;
|
|
80
80
|
};
|
|
81
81
|
};
|
|
@@ -2,7 +2,7 @@ import { PrimitiveProps } from "../Primitive/Primitive.mjs";
|
|
|
2
2
|
import "../Primitive/index.mjs";
|
|
3
3
|
import { TabVariants } from "./Tab.styles.mjs";
|
|
4
4
|
import * as React$1 from "react";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime36 from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/components/Tab/Tab.d.ts
|
|
8
8
|
interface TabRootProps extends TabVariants {
|
|
@@ -35,7 +35,7 @@ declare const Tab: {
|
|
|
35
35
|
id,
|
|
36
36
|
className,
|
|
37
37
|
children
|
|
38
|
-
}: TabRootProps):
|
|
38
|
+
}: TabRootProps): react_jsx_runtime36.JSX.Element;
|
|
39
39
|
displayName: string;
|
|
40
40
|
} & {
|
|
41
41
|
Root: {
|
|
@@ -48,14 +48,14 @@ declare const Tab: {
|
|
|
48
48
|
id,
|
|
49
49
|
className,
|
|
50
50
|
children
|
|
51
|
-
}: TabRootProps):
|
|
51
|
+
}: TabRootProps): react_jsx_runtime36.JSX.Element;
|
|
52
52
|
displayName: string;
|
|
53
53
|
};
|
|
54
54
|
List: {
|
|
55
55
|
({
|
|
56
56
|
className,
|
|
57
57
|
...props
|
|
58
|
-
}: TabListProps):
|
|
58
|
+
}: TabListProps): react_jsx_runtime36.JSX.Element;
|
|
59
59
|
displayName: string;
|
|
60
60
|
};
|
|
61
61
|
TabItem: {
|
|
@@ -65,7 +65,7 @@ declare const Tab: {
|
|
|
65
65
|
className,
|
|
66
66
|
onClick,
|
|
67
67
|
...props
|
|
68
|
-
}: TabTabItemProps):
|
|
68
|
+
}: TabTabItemProps): react_jsx_runtime36.JSX.Element;
|
|
69
69
|
displayName: string;
|
|
70
70
|
};
|
|
71
71
|
Content: {
|
|
@@ -76,7 +76,7 @@ declare const Tab: {
|
|
|
76
76
|
className,
|
|
77
77
|
children,
|
|
78
78
|
...props
|
|
79
|
-
}: TabContentProps):
|
|
79
|
+
}: TabContentProps): react_jsx_runtime36.JSX.Element | null;
|
|
80
80
|
displayName: string;
|
|
81
81
|
};
|
|
82
82
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants21 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Tab/Tab.styles.d.ts
|
|
5
|
-
declare const tabs:
|
|
5
|
+
declare const tabs: tailwind_variants21.TVReturnType<{
|
|
6
6
|
variant: {
|
|
7
7
|
underline: {
|
|
8
8
|
list: string;
|
|
@@ -30,7 +30,7 @@ declare const tabs: tailwind_variants15.TVReturnType<{
|
|
|
30
30
|
}, {
|
|
31
31
|
list: string;
|
|
32
32
|
item: string;
|
|
33
|
-
},
|
|
33
|
+
}, tailwind_variants21.TVReturnType<{
|
|
34
34
|
variant: {
|
|
35
35
|
underline: {
|
|
36
36
|
list: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants19 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Tab/Tab.styles.d.ts
|
|
5
|
-
declare const tabs:
|
|
5
|
+
declare const tabs: tailwind_variants19.TVReturnType<{
|
|
6
6
|
variant: {
|
|
7
7
|
underline: {
|
|
8
8
|
list: string;
|
|
@@ -30,7 +30,7 @@ declare const tabs: tailwind_variants21.TVReturnType<{
|
|
|
30
30
|
}, {
|
|
31
31
|
list: string;
|
|
32
32
|
item: string;
|
|
33
|
-
},
|
|
33
|
+
}, tailwind_variants19.TVReturnType<{
|
|
34
34
|
variant: {
|
|
35
35
|
underline: {
|
|
36
36
|
list: string;
|
|
@@ -16,7 +16,7 @@ declare const Text: {
|
|
|
16
16
|
...props
|
|
17
17
|
}: TextProps<E>): react0.DetailedReactHTMLElement<{
|
|
18
18
|
className: string;
|
|
19
|
-
} & Omit<TextProps<E>, "
|
|
19
|
+
} & Omit<TextProps<E>, "className" | "typography" | "textColor" | "align" | "children" | "as">, HTMLSpanElement>;
|
|
20
20
|
displayName: string;
|
|
21
21
|
};
|
|
22
22
|
//#endregion
|
|
@@ -17,7 +17,7 @@ declare const Text: {
|
|
|
17
17
|
...props
|
|
18
18
|
}: TextProps<E>): react0.DetailedReactHTMLElement<{
|
|
19
19
|
className: string;
|
|
20
|
-
} & Omit<TextProps<E>, "
|
|
20
|
+
} & Omit<TextProps<E>, "className" | "typography" | "textColor" | "align" | "children" | "as">, HTMLSpanElement>;
|
|
21
21
|
displayName: string;
|
|
22
22
|
};
|
|
23
23
|
//#endregion
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants1 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Text/Text.styles.d.ts
|
|
5
|
-
declare const text:
|
|
5
|
+
declare const text: tailwind_variants1.TVReturnType<{
|
|
6
6
|
typography: {
|
|
7
7
|
'title-48-bold': string;
|
|
8
8
|
'title-32-bold': string;
|
|
@@ -96,7 +96,7 @@ declare const text: tailwind_variants0.TVReturnType<{
|
|
|
96
96
|
right: string;
|
|
97
97
|
justify: string;
|
|
98
98
|
};
|
|
99
|
-
}, undefined,
|
|
99
|
+
}, undefined, tailwind_variants1.TVReturnType<{
|
|
100
100
|
typography: {
|
|
101
101
|
'title-48-bold': string;
|
|
102
102
|
'title-32-bold': string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants1 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Text/Text.styles.d.ts
|
|
5
|
-
declare const text:
|
|
5
|
+
declare const text: tailwind_variants1.TVReturnType<{
|
|
6
6
|
typography: {
|
|
7
7
|
'title-48-bold': string;
|
|
8
8
|
'title-32-bold': string;
|
|
@@ -96,7 +96,7 @@ declare const text: tailwind_variants0.TVReturnType<{
|
|
|
96
96
|
right: string;
|
|
97
97
|
justify: string;
|
|
98
98
|
};
|
|
99
|
-
}, undefined,
|
|
99
|
+
}, undefined, tailwind_variants1.TVReturnType<{
|
|
100
100
|
typography: {
|
|
101
101
|
'title-48-bold': string;
|
|
102
102
|
'title-32-bold': string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PrimitiveProps } from "../Primitive/Primitive.cjs";
|
|
2
2
|
import { TextAreaVariants } from "./TextArea.styles.cjs";
|
|
3
3
|
import React from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/TextArea/TextArea.d.ts
|
|
7
7
|
interface TextAreaProps extends React.HTMLAttributes<HTMLDivElement>, PrimitiveProps {
|
|
@@ -16,7 +16,7 @@ declare const TextArea: {
|
|
|
16
16
|
className,
|
|
17
17
|
children,
|
|
18
18
|
...props
|
|
19
|
-
}: TextAreaProps):
|
|
19
|
+
}: TextAreaProps): react_jsx_runtime6.JSX.Element;
|
|
20
20
|
displayName: string;
|
|
21
21
|
} & {
|
|
22
22
|
Input: {
|
|
@@ -25,7 +25,7 @@ declare const TextArea: {
|
|
|
25
25
|
disabled: disabledProp,
|
|
26
26
|
className,
|
|
27
27
|
...props
|
|
28
|
-
}: TextAreaInputProps):
|
|
28
|
+
}: TextAreaInputProps): react_jsx_runtime6.JSX.Element;
|
|
29
29
|
displayName: string;
|
|
30
30
|
};
|
|
31
31
|
Footer: {
|
|
@@ -33,7 +33,7 @@ declare const TextArea: {
|
|
|
33
33
|
className,
|
|
34
34
|
children,
|
|
35
35
|
...props
|
|
36
|
-
}: TextAreaFooterProps):
|
|
36
|
+
}: TextAreaFooterProps): react_jsx_runtime6.JSX.Element;
|
|
37
37
|
displayName: string;
|
|
38
38
|
};
|
|
39
39
|
};
|
|
@@ -2,7 +2,7 @@ import { PrimitiveProps } from "../Primitive/Primitive.mjs";
|
|
|
2
2
|
import "../Primitive/index.mjs";
|
|
3
3
|
import { TextAreaVariants } from "./TextArea.styles.mjs";
|
|
4
4
|
import React from "react";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime7 from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/components/TextArea/TextArea.d.ts
|
|
8
8
|
interface TextAreaProps extends React.HTMLAttributes<HTMLDivElement>, PrimitiveProps {
|
|
@@ -17,7 +17,7 @@ declare const TextArea: {
|
|
|
17
17
|
className,
|
|
18
18
|
children,
|
|
19
19
|
...props
|
|
20
|
-
}: TextAreaProps):
|
|
20
|
+
}: TextAreaProps): react_jsx_runtime7.JSX.Element;
|
|
21
21
|
displayName: string;
|
|
22
22
|
} & {
|
|
23
23
|
Input: {
|
|
@@ -26,7 +26,7 @@ declare const TextArea: {
|
|
|
26
26
|
disabled: disabledProp,
|
|
27
27
|
className,
|
|
28
28
|
...props
|
|
29
|
-
}: TextAreaInputProps):
|
|
29
|
+
}: TextAreaInputProps): react_jsx_runtime7.JSX.Element;
|
|
30
30
|
displayName: string;
|
|
31
31
|
};
|
|
32
32
|
Footer: {
|
|
@@ -34,7 +34,7 @@ declare const TextArea: {
|
|
|
34
34
|
className,
|
|
35
35
|
children,
|
|
36
36
|
...props
|
|
37
|
-
}: TextAreaFooterProps):
|
|
37
|
+
}: TextAreaFooterProps): react_jsx_runtime7.JSX.Element;
|
|
38
38
|
displayName: string;
|
|
39
39
|
};
|
|
40
40
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextArea.d.mts","names":[],"sources":["../../../src/components/TextArea/TextArea.tsx"],"mappings":";;;;;;;UAMiB,aAAA,SACP,KAAA,CAAM,cAAA,CAAe,cAAA,GAAiB,cAAA;EAC9C,QAAA,EAAU,KAAA,CAAM,SAAA;AAAA;AAAA,UAmBD,kBAAA,SACP,KAAA,CAAM,cAAA,cAA4B,IAAA,CAAK,gBAAA;AAAA,UAmBhC,mBAAA,SACP,KAAA,CAAM,cAAA,CAAe,cAAA,GAAiB,cAAA;EAC9C,QAAA,EAAU,KAAA,CAAM,SAAA;AAAA;AAAA,cAqBL,QAAA;EAAA;;;;KA3D4C,aAAA,GAAa,
|
|
1
|
+
{"version":3,"file":"TextArea.d.mts","names":[],"sources":["../../../src/components/TextArea/TextArea.tsx"],"mappings":";;;;;;;UAMiB,aAAA,SACP,KAAA,CAAM,cAAA,CAAe,cAAA,GAAiB,cAAA;EAC9C,QAAA,EAAU,KAAA,CAAM,SAAA;AAAA;AAAA,UAmBD,kBAAA,SACP,KAAA,CAAM,cAAA,cAA4B,IAAA,CAAK,gBAAA;AAAA,UAmBhC,mBAAA,SACP,KAAA,CAAM,cAAA,CAAe,cAAA,GAAiB,cAAA;EAC9C,QAAA,EAAU,KAAA,CAAM,SAAA;AAAA;AAAA,cAqBL,QAAA;EAAA;;;;KA3D4C,aAAA,GAAa,kBAAA,CAAA,GAAA,CAAA,OAAA;;;;;;;;;OAwBnE,kBAAA,GAAkB,kBAAA,CAAA,GAAA,CAAA,OAAA;;;;;;;;OAqBlB,mBAAA,GAAmB,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants31 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/components/TextArea/TextArea.styles.d.ts
|
|
5
|
-
declare const textArea:
|
|
5
|
+
declare const textArea: tailwind_variants31.TVReturnType<{
|
|
6
6
|
disabled: {
|
|
7
7
|
true: {
|
|
8
8
|
root: string;
|
|
@@ -52,7 +52,7 @@ declare const textArea: tailwind_variants33.TVReturnType<{
|
|
|
52
52
|
root: string;
|
|
53
53
|
input: string;
|
|
54
54
|
footer: string;
|
|
55
|
-
},
|
|
55
|
+
}, tailwind_variants31.TVReturnType<{
|
|
56
56
|
disabled: {
|
|
57
57
|
true: {
|
|
58
58
|
root: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TextVariants } from "../Text/Text.styles.cjs";
|
|
2
2
|
import { TextInputVariants } from "./TextInput.styles.cjs";
|
|
3
3
|
import React from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/TextInput/TextInput.d.ts
|
|
7
7
|
interface TextInputProps extends React.ComponentProps<'input'>, TextVariants, TextInputVariants {
|
|
@@ -24,7 +24,7 @@ declare const TextInput: {
|
|
|
24
24
|
typography,
|
|
25
25
|
textColor,
|
|
26
26
|
...props
|
|
27
|
-
}: TextInputProps):
|
|
27
|
+
}: TextInputProps): react_jsx_runtime0.JSX.Element;
|
|
28
28
|
displayName: string;
|
|
29
29
|
};
|
|
30
30
|
//#endregion
|
|
@@ -2,7 +2,7 @@ import { TextVariants } from "../Text/Text.styles.mjs";
|
|
|
2
2
|
import "../Text/index.mjs";
|
|
3
3
|
import { TextInputVariants } from "./TextInput.styles.mjs";
|
|
4
4
|
import React from "react";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/components/TextInput/TextInput.d.ts
|
|
8
8
|
interface TextInputProps extends React.ComponentProps<'input'>, TextVariants, TextInputVariants {
|
|
@@ -25,7 +25,7 @@ declare const TextInput: {
|
|
|
25
25
|
typography,
|
|
26
26
|
textColor,
|
|
27
27
|
...props
|
|
28
|
-
}: TextInputProps):
|
|
28
|
+
}: TextInputProps): react_jsx_runtime0.JSX.Element;
|
|
29
29
|
displayName: string;
|
|
30
30
|
};
|
|
31
31
|
//#endregion
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants0 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/components/TextInput/TextInput.styles.d.ts
|
|
5
|
-
declare const textInput:
|
|
5
|
+
declare const textInput: tailwind_variants0.TVReturnType<{
|
|
6
6
|
variant: {
|
|
7
7
|
default: {
|
|
8
8
|
root: string;
|
|
@@ -50,7 +50,7 @@ declare const textInput: tailwind_variants1.TVReturnType<{
|
|
|
50
50
|
input: string;
|
|
51
51
|
leftIcon: string;
|
|
52
52
|
rightIcon: string;
|
|
53
|
-
},
|
|
53
|
+
}, tailwind_variants0.TVReturnType<{
|
|
54
54
|
variant: {
|
|
55
55
|
default: {
|
|
56
56
|
root: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants0 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/components/TextInput/TextInput.styles.d.ts
|
|
5
|
-
declare const textInput:
|
|
5
|
+
declare const textInput: tailwind_variants0.TVReturnType<{
|
|
6
6
|
variant: {
|
|
7
7
|
default: {
|
|
8
8
|
root: string;
|
|
@@ -50,7 +50,7 @@ declare const textInput: tailwind_variants1.TVReturnType<{
|
|
|
50
50
|
input: string;
|
|
51
51
|
leftIcon: string;
|
|
52
52
|
rightIcon: string;
|
|
53
|
-
},
|
|
53
|
+
}, tailwind_variants0.TVReturnType<{
|
|
54
54
|
variant: {
|
|
55
55
|
default: {
|
|
56
56
|
root: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ToastVariants } from "./Toast.styles.cjs";
|
|
2
2
|
import * as react11 from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime42 from "react/jsx-runtime";
|
|
4
4
|
import * as ToastPrimitives from "@radix-ui/react-toast";
|
|
5
5
|
|
|
6
6
|
//#region src/components/Toast/Toast.d.ts
|
|
@@ -15,12 +15,12 @@ declare const Toast: ({
|
|
|
15
15
|
message,
|
|
16
16
|
icon,
|
|
17
17
|
...props
|
|
18
|
-
}: ToastProps) =>
|
|
18
|
+
}: ToastProps) => react_jsx_runtime42.JSX.Element;
|
|
19
19
|
type ToastViewportProps = React.ComponentProps<typeof ToastPrimitives.Viewport>;
|
|
20
20
|
declare const ToastViewport: ({
|
|
21
21
|
className,
|
|
22
22
|
...props
|
|
23
|
-
}: ToastViewportProps) =>
|
|
23
|
+
}: ToastViewportProps) => react_jsx_runtime42.JSX.Element;
|
|
24
24
|
declare const ToastProvider: react11.FC<ToastPrimitives.ToastProviderProps>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { Toast, ToastProps, ToastProvider, ToastViewport, ToastViewportProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ToastVariants } from "./Toast.styles.mjs";
|
|
2
2
|
import * as react11 from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime41 from "react/jsx-runtime";
|
|
4
4
|
import * as ToastPrimitives from "@radix-ui/react-toast";
|
|
5
5
|
|
|
6
6
|
//#region src/components/Toast/Toast.d.ts
|
|
@@ -15,12 +15,12 @@ declare const Toast: ({
|
|
|
15
15
|
message,
|
|
16
16
|
icon,
|
|
17
17
|
...props
|
|
18
|
-
}: ToastProps) =>
|
|
18
|
+
}: ToastProps) => react_jsx_runtime41.JSX.Element;
|
|
19
19
|
type ToastViewportProps = React.ComponentProps<typeof ToastPrimitives.Viewport>;
|
|
20
20
|
declare const ToastViewport: ({
|
|
21
21
|
className,
|
|
22
22
|
...props
|
|
23
|
-
}: ToastViewportProps) =>
|
|
23
|
+
}: ToastViewportProps) => react_jsx_runtime41.JSX.Element;
|
|
24
24
|
declare const ToastProvider: react11.FC<ToastPrimitives.ToastProviderProps>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { Toast, ToastProps, ToastProvider, ToastViewport, ToastViewportProps };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants23 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Toast/Toast.styles.d.ts
|
|
5
|
-
declare const toast:
|
|
5
|
+
declare const toast: tailwind_variants23.TVReturnType<{
|
|
6
6
|
variant: {
|
|
7
7
|
default: {
|
|
8
8
|
root: string;
|
|
@@ -20,7 +20,7 @@ declare const toast: tailwind_variants21.TVReturnType<{
|
|
|
20
20
|
}, {
|
|
21
21
|
root: string[];
|
|
22
22
|
viewport: string[];
|
|
23
|
-
},
|
|
23
|
+
}, tailwind_variants23.TVReturnType<{
|
|
24
24
|
variant: {
|
|
25
25
|
default: {
|
|
26
26
|
root: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants21 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Toast/Toast.styles.d.ts
|
|
5
|
-
declare const toast:
|
|
5
|
+
declare const toast: tailwind_variants21.TVReturnType<{
|
|
6
6
|
variant: {
|
|
7
7
|
default: {
|
|
8
8
|
root: string;
|
|
@@ -20,7 +20,7 @@ declare const toast: tailwind_variants23.TVReturnType<{
|
|
|
20
20
|
}, {
|
|
21
21
|
root: string[];
|
|
22
22
|
viewport: string[];
|
|
23
|
-
},
|
|
23
|
+
}, tailwind_variants21.TVReturnType<{
|
|
24
24
|
variant: {
|
|
25
25
|
default: {
|
|
26
26
|
root: string;
|
|
@@ -3,7 +3,7 @@ import { PolymorphicProps } from "../../utils/polymorphic/polymorphic.cjs";
|
|
|
3
3
|
import { TextElement } from "../Text/Text.cjs";
|
|
4
4
|
import { ToggleVariants } from "./Toggle.styles.cjs";
|
|
5
5
|
import React from "react";
|
|
6
|
-
import * as
|
|
6
|
+
import * as react_jsx_runtime9 from "react/jsx-runtime";
|
|
7
7
|
|
|
8
8
|
//#region src/components/Toggle/Toggle.d.ts
|
|
9
9
|
interface ToggleRootProps extends Omit<React.ComponentProps<'label'>, 'onChange'>, ToggleVariants {
|
|
@@ -21,11 +21,11 @@ declare const Toggle: {
|
|
|
21
21
|
children,
|
|
22
22
|
className,
|
|
23
23
|
...props
|
|
24
|
-
}: ToggleRootProps):
|
|
24
|
+
}: ToggleRootProps): react_jsx_runtime9.JSX.Element;
|
|
25
25
|
displayName: string;
|
|
26
26
|
} & {
|
|
27
27
|
Switch: {
|
|
28
|
-
():
|
|
28
|
+
(): react_jsx_runtime9.JSX.Element;
|
|
29
29
|
displayName: string;
|
|
30
30
|
};
|
|
31
31
|
Label: {
|
|
@@ -35,7 +35,7 @@ declare const Toggle: {
|
|
|
35
35
|
textColor,
|
|
36
36
|
className,
|
|
37
37
|
...props
|
|
38
|
-
}: ToggleLabelProps<E>):
|
|
38
|
+
}: ToggleLabelProps<E>): react_jsx_runtime9.JSX.Element;
|
|
39
39
|
displayName: string;
|
|
40
40
|
};
|
|
41
41
|
};
|
|
@@ -5,7 +5,7 @@ import "../Text/index.mjs";
|
|
|
5
5
|
import "../../utils/index.mjs";
|
|
6
6
|
import { ToggleVariants } from "./Toggle.styles.mjs";
|
|
7
7
|
import React from "react";
|
|
8
|
-
import * as
|
|
8
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
9
9
|
|
|
10
10
|
//#region src/components/Toggle/Toggle.d.ts
|
|
11
11
|
interface ToggleRootProps extends Omit<React.ComponentProps<'label'>, 'onChange'>, ToggleVariants {
|
|
@@ -23,11 +23,11 @@ declare const Toggle: {
|
|
|
23
23
|
children,
|
|
24
24
|
className,
|
|
25
25
|
...props
|
|
26
|
-
}: ToggleRootProps):
|
|
26
|
+
}: ToggleRootProps): react_jsx_runtime4.JSX.Element;
|
|
27
27
|
displayName: string;
|
|
28
28
|
} & {
|
|
29
29
|
Switch: {
|
|
30
|
-
():
|
|
30
|
+
(): react_jsx_runtime4.JSX.Element;
|
|
31
31
|
displayName: string;
|
|
32
32
|
};
|
|
33
33
|
Label: {
|
|
@@ -37,7 +37,7 @@ declare const Toggle: {
|
|
|
37
37
|
textColor,
|
|
38
38
|
className,
|
|
39
39
|
...props
|
|
40
|
-
}: ToggleLabelProps<E>):
|
|
40
|
+
}: ToggleLabelProps<E>): react_jsx_runtime4.JSX.Element;
|
|
41
41
|
displayName: string;
|
|
42
42
|
};
|
|
43
43
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants31 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Toggle/Toggle.styles.d.ts
|
|
5
|
-
declare const toggle:
|
|
5
|
+
declare const toggle: tailwind_variants31.TVReturnType<{
|
|
6
6
|
checked: {
|
|
7
7
|
true: {
|
|
8
8
|
switch: string;
|
|
@@ -46,7 +46,7 @@ declare const toggle: tailwind_variants27.TVReturnType<{
|
|
|
46
46
|
switch: string;
|
|
47
47
|
switchThumb: string;
|
|
48
48
|
label: string;
|
|
49
|
-
},
|
|
49
|
+
}, tailwind_variants31.TVReturnType<{
|
|
50
50
|
checked: {
|
|
51
51
|
true: {
|
|
52
52
|
switch: string;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { StackProps } from "../Stack/Stack.mjs";
|
|
2
2
|
import "../Stack/index.mjs";
|
|
3
3
|
import { ElementType } from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime19 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/VStack/VStack.d.ts
|
|
7
7
|
type VStackProps<E extends ElementType = 'div'> = Omit<StackProps<E>, 'direction'>;
|
|
8
8
|
declare const VStack: {
|
|
9
9
|
<E extends ElementType = "div">({
|
|
10
10
|
...props
|
|
11
|
-
}: VStackProps<E>):
|
|
11
|
+
}: VStackProps<E>): react_jsx_runtime19.JSX.Element;
|
|
12
12
|
displayName: string;
|
|
13
13
|
};
|
|
14
14
|
//#endregion
|
|
@@ -71,4 +71,15 @@ import { Toast, ToastProps, ToastProvider, ToastViewport, ToastViewportProps } f
|
|
|
71
71
|
import "./Toast/index.mjs";
|
|
72
72
|
import { ModalVariants } from "./Modal/Modal.styles.mjs";
|
|
73
73
|
import { Modal, ModalActionProps, ModalContentProps, ModalDescriptionProps, ModalFooterProps, ModalOverlayProps, ModalTitleProps } from "./Modal/Modal.mjs";
|
|
74
|
-
import "./Modal/index.mjs";
|
|
74
|
+
import "./Modal/index.mjs";
|
|
75
|
+
import { SidebarVariants } from "./Sidebar/Sidebar.styles.mjs";
|
|
76
|
+
import { Sidebar } from "./Sidebar/Sidebar.mjs";
|
|
77
|
+
import "./Sidebar/index.mjs";
|
|
78
|
+
import { BottomNavigation } from "./BottomNavigation/BottomNavigation.mjs";
|
|
79
|
+
import "./BottomNavigation/index.mjs";
|
|
80
|
+
import { Calendar, CalendarEvent, CalendarProps } from "./Calendar/Calendar.mjs";
|
|
81
|
+
import "./Calendar/index.mjs";
|
|
82
|
+
import { Drawer } from "./Drawer/Drawer.mjs";
|
|
83
|
+
import { BottomSheet } from "./BottomSheet/BottomSheet.mjs";
|
|
84
|
+
import "./BottomSheet/index.mjs";
|
|
85
|
+
import "./Drawer/index.mjs";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
let react = require("react");
|
|
3
|
+
react = require_rolldown_runtime.__toESM(react);
|
|
4
|
+
|
|
5
|
+
//#region src/hooks/bottomSheet/useBottomSheet.ts
|
|
6
|
+
const BottomSheetContext = (0, react.createContext)(void 0);
|
|
7
|
+
const useBottomSheet = () => {
|
|
8
|
+
const context = react.default.useContext(BottomSheetContext);
|
|
9
|
+
if (!context) throw new Error("useBottomSheet must be used within a BottomSheetProvider");
|
|
10
|
+
return context;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.BottomSheetContext = BottomSheetContext;
|
|
15
|
+
exports.useBottomSheet = useBottomSheet;
|