@causw/core 0.0.13 → 0.0.15
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.mts +3 -3
- package/dist/components/BottomNavigation/BottomNavigation.d.mts +5 -5
- package/dist/components/BottomNavigation/BottomNavigation.styles.d.mts +3 -3
- package/dist/components/BottomSheet/BottomSheet.d.mts +6 -6
- package/dist/components/BottomSheet/BottomSheet.styles.d.mts +3 -3
- package/dist/components/Button/Button.d.mts +2 -2
- package/dist/components/Button/Button.d.mts.map +1 -1
- package/dist/components/Button/Button.styles.d.mts +3 -3
- package/dist/components/CTAButton/CTAButton.d.mts +2 -2
- package/dist/components/CTAButton/CTAButton.styles.d.mts +3 -3
- package/dist/components/Calendar/Calendar.d.mts +2 -2
- package/dist/components/Calendar/Calendar.styles.d.mts +3 -3
- package/dist/components/Checkbox/Checkbox.d.mts +4 -4
- 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 +13 -13
- package/dist/components/Dialog/Dialog.d.cts.map +1 -1
- package/dist/components/Dialog/Dialog.d.mts +5 -5
- package/dist/components/Dialog/Dialog.styles.d.cts +3 -3
- package/dist/components/Dialog/Dialog.styles.d.mts +3 -3
- package/dist/components/Drawer/Drawer.d.cts +11 -11
- package/dist/components/Drawer/Drawer.d.cts.map +1 -1
- package/dist/components/Drawer/Drawer.styles.d.cts +3 -3
- package/dist/components/Drawer/Drawer.styles.d.mts +3 -3
- package/dist/components/Dropdown/Dropdown.d.cts +3 -3
- package/dist/components/Dropdown/Dropdown.styles.d.cts +3 -3
- package/dist/components/Float/Float.styles.d.cts +3 -3
- package/dist/components/FloatingActionButton/FloatingActionButton.d.mts +2 -2
- package/dist/components/FloatingActionButton/FloatingActionButton.styles.d.mts +3 -3
- package/dist/components/Grid/Grid.styles.d.cts +3 -3
- package/dist/components/HStack/HStack.d.cts +2 -2
- package/dist/components/Modal/Modal.d.cts +10 -10
- package/dist/components/Modal/Modal.d.mts +7 -7
- package/dist/components/Modal/Modal.styles.d.mts +3 -3
- package/dist/components/Primitive/Primitive.d.mts +16 -16
- package/dist/components/Radio/Radio.d.cts +3 -3
- 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.d.mts +5 -5
- package/dist/components/Select/Select.styles.d.mts +3 -3
- package/dist/components/Separator/Separator.styles.d.mts +3 -3
- package/dist/components/Sidebar/Sidebar.d.mts +8 -8
- package/dist/components/Sidebar/Sidebar.styles.d.mts +3 -3
- package/dist/components/Spacer/Spacer.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.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.styles.d.mts +3 -3
- package/dist/components/TextInput/TextInput.d.cts +2 -2
- package/dist/components/TextInput/TextInput.d.cts.map +1 -1
- 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 +5 -5
- package/dist/components/Toast/Toast.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.d.mts.map +1 -1
- package/dist/components/Toggle/Toggle.styles.d.mts +3 -3
- package/dist/components/VStack/VStack.d.cts +2 -2
- package/dist/components/VStack/VStack.d.mts +2 -2
- package/package.json +3 -3
|
@@ -3,7 +3,7 @@ import "../Primitive/index.mjs";
|
|
|
3
3
|
import { SidebarVariants } from "./Sidebar.styles.mjs";
|
|
4
4
|
import { SidebarValue } from "./hooks/useSidebarContext.mjs";
|
|
5
5
|
import { ComponentProps, SVGProps } from "react";
|
|
6
|
-
import * as
|
|
6
|
+
import * as react_jsx_runtime44 from "react/jsx-runtime";
|
|
7
7
|
|
|
8
8
|
//#region src/components/Sidebar/Sidebar.d.ts
|
|
9
9
|
interface SidebarProps extends ComponentProps<'nav'>, PrimitiveProps {
|
|
@@ -31,34 +31,34 @@ declare const Sidebar: (({
|
|
|
31
31
|
selected,
|
|
32
32
|
onSelectChange,
|
|
33
33
|
...props
|
|
34
|
-
}: SidebarProps) =>
|
|
34
|
+
}: SidebarProps) => react_jsx_runtime44.JSX.Element) & {
|
|
35
35
|
Header: ({
|
|
36
36
|
children,
|
|
37
37
|
...props
|
|
38
|
-
}: SidebarHeaderProps) =>
|
|
38
|
+
}: SidebarHeaderProps) => react_jsx_runtime44.JSX.Element;
|
|
39
39
|
Content: ({
|
|
40
40
|
children,
|
|
41
41
|
...props
|
|
42
|
-
}: SidebarContentProps) =>
|
|
42
|
+
}: SidebarContentProps) => react_jsx_runtime44.JSX.Element;
|
|
43
43
|
Item: ({
|
|
44
44
|
selected,
|
|
45
45
|
value,
|
|
46
46
|
children,
|
|
47
47
|
onClick,
|
|
48
48
|
...props
|
|
49
|
-
}: SidebarItemProps) =>
|
|
49
|
+
}: SidebarItemProps) => react_jsx_runtime44.JSX.Element;
|
|
50
50
|
ItemIcon: ({
|
|
51
51
|
children,
|
|
52
52
|
...props
|
|
53
|
-
}: SidebarItemIconProps) =>
|
|
53
|
+
}: SidebarItemIconProps) => react_jsx_runtime44.JSX.Element;
|
|
54
54
|
ItemText: ({
|
|
55
55
|
children,
|
|
56
56
|
...props
|
|
57
|
-
}: SidebarItemTextProps) =>
|
|
57
|
+
}: SidebarItemTextProps) => react_jsx_runtime44.JSX.Element;
|
|
58
58
|
Footer: ({
|
|
59
59
|
children,
|
|
60
60
|
...props
|
|
61
|
-
}: SidebarFooterProps) =>
|
|
61
|
+
}: SidebarFooterProps) => react_jsx_runtime44.JSX.Element;
|
|
62
62
|
};
|
|
63
63
|
//#endregion
|
|
64
64
|
export { Sidebar };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants25 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Sidebar/Sidebar.styles.d.ts
|
|
5
|
-
declare const sidebar:
|
|
5
|
+
declare const sidebar: tailwind_variants25.TVReturnType<{
|
|
6
6
|
selected: {
|
|
7
7
|
true: {
|
|
8
8
|
item: string;
|
|
@@ -46,7 +46,7 @@ declare const sidebar: tailwind_variants27.TVReturnType<{
|
|
|
46
46
|
badge: string;
|
|
47
47
|
icon: string;
|
|
48
48
|
text: string;
|
|
49
|
-
},
|
|
49
|
+
}, tailwind_variants25.TVReturnType<{
|
|
50
50
|
selected: {
|
|
51
51
|
true: {
|
|
52
52
|
item: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants9 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_variants9.TVReturnType<{
|
|
6
6
|
size: {
|
|
7
7
|
1: string;
|
|
8
8
|
2: string;
|
|
@@ -30,7 +30,7 @@ declare const spacer: tailwind_variants7.TVReturnType<{
|
|
|
30
30
|
24: string;
|
|
31
31
|
auto: string;
|
|
32
32
|
};
|
|
33
|
-
}, undefined,
|
|
33
|
+
}, undefined, tailwind_variants9.TVReturnType<{
|
|
34
34
|
size: {
|
|
35
35
|
1: string;
|
|
36
36
|
2: 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_runtime39 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_runtime39.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_runtime39.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_runtime39.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_runtime39.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_runtime39.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_runtime39 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_runtime39.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_runtime39.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_runtime39.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_runtime39.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_runtime39.JSX.Element | null;
|
|
80
80
|
displayName: string;
|
|
81
81
|
};
|
|
82
82
|
};
|
|
@@ -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/Tab/Tab.styles.d.ts
|
|
5
|
-
declare const tabs:
|
|
5
|
+
declare const tabs: tailwind_variants23.TVReturnType<{
|
|
6
6
|
variant: {
|
|
7
7
|
underline: {
|
|
8
8
|
list: string;
|
|
@@ -30,7 +30,7 @@ declare const tabs: tailwind_variants19.TVReturnType<{
|
|
|
30
30
|
}, {
|
|
31
31
|
list: string;
|
|
32
32
|
item: string;
|
|
33
|
-
},
|
|
33
|
+
}, tailwind_variants23.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>, "typography" | "textColor" | "align" | "as" | "className" | "children">, 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>, "typography" | "textColor" | "align" | "as" | "className" | "children">, HTMLSpanElement>;
|
|
21
21
|
displayName: string;
|
|
22
22
|
};
|
|
23
23
|
//#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/Text/Text.styles.d.ts
|
|
5
|
-
declare const text:
|
|
5
|
+
declare const text: tailwind_variants0.TVReturnType<{
|
|
6
6
|
typography: {
|
|
7
7
|
'title-48-bold': string;
|
|
8
8
|
'title-32-bold': string;
|
|
@@ -96,7 +96,7 @@ declare const text: tailwind_variants1.TVReturnType<{
|
|
|
96
96
|
right: string;
|
|
97
97
|
justify: string;
|
|
98
98
|
};
|
|
99
|
-
}, undefined,
|
|
99
|
+
}, undefined, tailwind_variants0.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_variants0 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_variants0.TVReturnType<{
|
|
6
6
|
typography: {
|
|
7
7
|
'title-48-bold': string;
|
|
8
8
|
'title-32-bold': string;
|
|
@@ -96,7 +96,7 @@ declare const text: tailwind_variants1.TVReturnType<{
|
|
|
96
96
|
right: string;
|
|
97
97
|
justify: string;
|
|
98
98
|
};
|
|
99
|
-
}, undefined,
|
|
99
|
+
}, undefined, tailwind_variants0.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_runtime3 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_runtime3.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_runtime3.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_runtime3.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_runtime4 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_runtime4.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_runtime4.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_runtime4.JSX.Element;
|
|
38
38
|
displayName: string;
|
|
39
39
|
};
|
|
40
40
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants29 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_variants29.TVReturnType<{
|
|
6
6
|
disabled: {
|
|
7
7
|
true: {
|
|
8
8
|
root: string;
|
|
@@ -52,7 +52,7 @@ declare const textArea: tailwind_variants31.TVReturnType<{
|
|
|
52
52
|
root: string;
|
|
53
53
|
input: string;
|
|
54
54
|
footer: string;
|
|
55
|
-
},
|
|
55
|
+
}, tailwind_variants29.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_runtime11 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_runtime11.JSX.Element;
|
|
28
28
|
displayName: string;
|
|
29
29
|
};
|
|
30
30
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextInput.d.cts","names":[],"sources":["../../../src/components/TextInput/TextInput.tsx"],"mappings":";;;;;;UAMiB,cAAA,SACP,KAAA,CAAM,cAAA,WAAyB,YAAA,EAAc,iBAAA;;EAErD,QAAA,GAAW,KAAA,CAAM,SAAA;EAHF;EAKf,SAAA,GAAY,KAAA,CAAM,SAAA;;EAElB,KAAA;AAAA;AAAA,cAGW,SAAA;EAAA;;;;;;;;;;;KAWV,cAAA,GAAc,
|
|
1
|
+
{"version":3,"file":"TextInput.d.cts","names":[],"sources":["../../../src/components/TextInput/TextInput.tsx"],"mappings":";;;;;;UAMiB,cAAA,SACP,KAAA,CAAM,cAAA,WAAyB,YAAA,EAAc,iBAAA;;EAErD,QAAA,GAAW,KAAA,CAAM,SAAA;EAHF;EAKf,SAAA,GAAY,KAAA,CAAM,SAAA;;EAElB,KAAA;AAAA;AAAA,cAGW,SAAA;EAAA;;;;;;;;;;;KAWV,cAAA,GAAc,mBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -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_runtime3 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_runtime3.JSX.Element;
|
|
29
29
|
displayName: string;
|
|
30
30
|
};
|
|
31
31
|
//#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/TextInput/TextInput.styles.d.ts
|
|
5
|
-
declare const textInput:
|
|
5
|
+
declare const textInput: tailwind_variants1.TVReturnType<{
|
|
6
6
|
variant: {
|
|
7
7
|
default: {
|
|
8
8
|
root: string;
|
|
@@ -50,7 +50,7 @@ declare const textInput: tailwind_variants0.TVReturnType<{
|
|
|
50
50
|
input: string;
|
|
51
51
|
leftIcon: string;
|
|
52
52
|
rightIcon: string;
|
|
53
|
-
},
|
|
53
|
+
}, tailwind_variants1.TVReturnType<{
|
|
54
54
|
variant: {
|
|
55
55
|
default: {
|
|
56
56
|
root: 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/TextInput/TextInput.styles.d.ts
|
|
5
|
-
declare const textInput:
|
|
5
|
+
declare const textInput: tailwind_variants1.TVReturnType<{
|
|
6
6
|
variant: {
|
|
7
7
|
default: {
|
|
8
8
|
root: string;
|
|
@@ -50,7 +50,7 @@ declare const textInput: tailwind_variants0.TVReturnType<{
|
|
|
50
50
|
input: string;
|
|
51
51
|
leftIcon: string;
|
|
52
52
|
rightIcon: string;
|
|
53
|
-
},
|
|
53
|
+
}, tailwind_variants1.TVReturnType<{
|
|
54
54
|
variant: {
|
|
55
55
|
default: {
|
|
56
56
|
root: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ToastVariants } from "./Toast.styles.cjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as react22 from "react";
|
|
3
|
+
import * as react_jsx_runtime44 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,13 +15,13 @@ declare const Toast: ({
|
|
|
15
15
|
message,
|
|
16
16
|
icon,
|
|
17
17
|
...props
|
|
18
|
-
}: ToastProps) =>
|
|
18
|
+
}: ToastProps) => react_jsx_runtime44.JSX.Element;
|
|
19
19
|
type ToastViewportProps = React.ComponentProps<typeof ToastPrimitives.Viewport>;
|
|
20
20
|
declare const ToastViewport: ({
|
|
21
21
|
className,
|
|
22
22
|
...props
|
|
23
|
-
}: ToastViewportProps) =>
|
|
24
|
-
declare const ToastProvider:
|
|
23
|
+
}: ToastViewportProps) => react_jsx_runtime44.JSX.Element;
|
|
24
|
+
declare const ToastProvider: react22.FC<ToastPrimitives.ToastProviderProps>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { Toast, ToastProps, ToastProvider, ToastViewport, ToastViewportProps };
|
|
27
27
|
//# sourceMappingURL=Toast.d.cts.map
|
|
@@ -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_runtime37 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_runtime37.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_runtime37.JSX.Element;
|
|
24
24
|
declare const ToastProvider: react11.FC<ToastPrimitives.ToastProviderProps>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { Toast, ToastProps, ToastProvider, ToastViewport, ToastViewportProps };
|
|
@@ -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_runtime8 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_runtime8.JSX.Element;
|
|
25
25
|
displayName: string;
|
|
26
26
|
} & {
|
|
27
27
|
Switch: {
|
|
28
|
-
():
|
|
28
|
+
(): react_jsx_runtime8.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_runtime8.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_runtime10 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_runtime10.JSX.Element;
|
|
27
27
|
displayName: string;
|
|
28
28
|
} & {
|
|
29
29
|
Switch: {
|
|
30
|
-
():
|
|
30
|
+
(): react_jsx_runtime10.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_runtime10.JSX.Element;
|
|
41
41
|
displayName: string;
|
|
42
42
|
};
|
|
43
43
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toggle.d.mts","names":[],"sources":["../../../src/components/Toggle/Toggle.tsx"],"mappings":";;;;;;;;;;UAyBiB,eAAA,SACP,IAAA,CAAK,KAAA,CAAM,cAAA,wBAAsC,cAAA;EACzD,cAAA;EACA,eAAA,IAAmB,OAAA;EACnB,QAAA,GAAW,KAAA,CAAM,SAAA;AAAA;AAAA,KAwDP,gBAAA,WAA2B,WAAA,aAAwB,gBAAA,CAC7D,CAAA,EACA,YAAA;AAAA,cA8BW,MAAA;EAAA;;;;;;;;KA7EV,eAAA,GAAe,
|
|
1
|
+
{"version":3,"file":"Toggle.d.mts","names":[],"sources":["../../../src/components/Toggle/Toggle.tsx"],"mappings":";;;;;;;;;;UAyBiB,eAAA,SACP,IAAA,CAAK,KAAA,CAAM,cAAA,wBAAsC,cAAA;EACzD,cAAA;EACA,eAAA,IAAmB,OAAA;EACnB,QAAA,GAAW,KAAA,CAAM,SAAA;AAAA;AAAA,KAwDP,gBAAA,WAA2B,WAAA,aAAwB,gBAAA,CAC7D,CAAA,EACA,YAAA;AAAA,cA8BW,MAAA;EAAA;;;;;;;;KA7EV,eAAA,GAAe,mBAAA,CAAA,GAAA,CAAA,OAAA;;;;;;;;eAkDa,WAAA;MAAW,QAAA;MAAA,UAAA;MAAA,SAAA;MAAA,SAAA;MAAA,GAAA;IAAA,GAMvC,gBAAA,CAAiB,CAAA,IAAE,mBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants33 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_variants33.TVReturnType<{
|
|
6
6
|
checked: {
|
|
7
7
|
true: {
|
|
8
8
|
switch: string;
|
|
@@ -46,7 +46,7 @@ declare const toggle: tailwind_variants29.TVReturnType<{
|
|
|
46
46
|
switch: string;
|
|
47
47
|
switchThumb: string;
|
|
48
48
|
label: string;
|
|
49
|
-
},
|
|
49
|
+
}, tailwind_variants33.TVReturnType<{
|
|
50
50
|
checked: {
|
|
51
51
|
true: {
|
|
52
52
|
switch: string;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { StackProps } from "../Stack/Stack.cjs";
|
|
2
2
|
import { ElementType } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime20 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/VStack/VStack.d.ts
|
|
6
6
|
type VStackProps<E extends ElementType = 'div'> = Omit<StackProps<E>, 'direction'>;
|
|
7
7
|
declare const VStack: {
|
|
8
8
|
<E extends ElementType = "div">({
|
|
9
9
|
...props
|
|
10
|
-
}: VStackProps<E>):
|
|
10
|
+
}: VStackProps<E>): react_jsx_runtime20.JSX.Element;
|
|
11
11
|
displayName: string;
|
|
12
12
|
};
|
|
13
13
|
//#endregion
|
|
@@ -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_runtime17 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_runtime17.JSX.Element;
|
|
12
12
|
displayName: string;
|
|
13
13
|
};
|
|
14
14
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@causw/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.15",
|
|
4
4
|
"description": "Core components and utilities for CAUSW Design System - CAU Software Community Service",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"date-fns": "^4.1.0",
|
|
37
37
|
"tailwind-merge": "^3.4.0",
|
|
38
38
|
"tailwind-variants": "^3.2.2",
|
|
39
|
-
"@causw/
|
|
40
|
-
"@causw/
|
|
39
|
+
"@causw/tokens": "0.0.12",
|
|
40
|
+
"@causw/icons": "1.0.0"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"react": ">=18",
|