@causw/core 0.0.16 → 0.0.17
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/README.md +123 -0
- 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/BottomNavigation/BottomNavigation.d.cts +5 -5
- package/dist/components/BottomNavigation/BottomNavigation.d.mts +5 -5
- package/dist/components/BottomNavigation/BottomNavigation.styles.d.cts +3 -3
- package/dist/components/BottomNavigation/BottomNavigation.styles.d.mts +3 -3
- package/dist/components/BottomSheet/BottomSheet.d.cts +6 -6
- package/dist/components/BottomSheet/BottomSheet.d.mts +6 -6
- package/dist/components/BottomSheet/BottomSheet.styles.d.cts +3 -3
- package/dist/components/BottomSheet/BottomSheet.styles.d.mts +3 -3
- package/dist/components/Button/Button.d.cts +2 -2
- package/dist/components/Button/Button.d.cts.map +1 -1
- package/dist/components/Button/Button.d.mts +2 -2
- package/dist/components/Button/Button.styles.d.cts +3 -3
- 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.mts +3 -3
- package/dist/components/Calendar/Calendar.cjs +2 -2
- package/dist/components/Calendar/Calendar.d.cts +4 -2
- package/dist/components/Calendar/Calendar.d.cts.map +1 -1
- package/dist/components/Calendar/Calendar.d.mts +4 -2
- package/dist/components/Calendar/Calendar.d.mts.map +1 -1
- package/dist/components/Calendar/Calendar.mjs +2 -2
- package/dist/components/Calendar/Calendar.mjs.map +1 -1
- package/dist/components/Calendar/Calendar.styles.d.cts +3 -3
- package/dist/components/Calendar/Calendar.styles.d.mts +3 -3
- package/dist/components/Checkbox/Checkbox.d.cts +4 -4
- package/dist/components/Checkbox/Checkbox.d.mts +4 -4
- package/dist/components/Checkbox/Checkbox.styles.d.cts +3 -3
- package/dist/components/Checkbox/Checkbox.styles.d.mts +3 -3
- package/dist/components/Chip/Chip.d.cts +2 -2
- package/dist/components/Chip/Chip.d.mts +2 -2
- package/dist/components/Chip/Chip.styles.d.cts +3 -3
- package/dist/components/Chip/Chip.styles.d.mts +3 -3
- package/dist/components/DatePicker/DatePicker.cjs +93 -0
- package/dist/components/DatePicker/DatePicker.d.cts +40 -0
- package/dist/components/DatePicker/DatePicker.d.cts.map +1 -0
- package/dist/components/DatePicker/DatePicker.d.mts +41 -0
- package/dist/components/DatePicker/DatePicker.d.mts.map +1 -0
- package/dist/components/DatePicker/DatePicker.mjs +92 -0
- package/dist/components/DatePicker/DatePicker.mjs.map +1 -0
- package/dist/components/DatePicker/DatePicker.styles.cjs +33 -0
- package/dist/components/DatePicker/DatePicker.styles.d.cts +84 -0
- package/dist/components/DatePicker/DatePicker.styles.d.cts.map +1 -0
- package/dist/components/DatePicker/DatePicker.styles.d.mts +84 -0
- package/dist/components/DatePicker/DatePicker.styles.d.mts.map +1 -0
- package/dist/components/DatePicker/DatePicker.styles.mjs +33 -0
- package/dist/components/DatePicker/DatePicker.styles.mjs.map +1 -0
- package/dist/components/DatePicker/index.d.cts +2 -0
- package/dist/components/DatePicker/index.d.mts +2 -0
- package/dist/components/Dialog/Dialog.d.cts +13 -13
- 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.mts +3 -3
- package/dist/components/Drawer/Drawer.styles.d.cts +3 -3
- package/dist/components/Dropdown/Dropdown.d.cts +3 -3
- package/dist/components/Dropdown/Dropdown.d.mts +3 -3
- package/dist/components/Dropdown/Dropdown.styles.d.cts +3 -3
- package/dist/components/Dropdown/Dropdown.styles.d.mts +3 -3
- package/dist/components/Dropdown/Dropdown.styles.d.mts.map +1 -1
- package/dist/components/Field/Field.d.cts +5 -5
- 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.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 +10 -10
- 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/Primitive/Primitive.d.mts +16 -16
- package/dist/components/PullToRefresh/PullToRefresh.d.cts +2 -2
- package/dist/components/PullToRefresh/PullToRefresh.d.mts +2 -2
- package/dist/components/PullToRefresh/PullToRefresh.styles.d.cts +3 -3
- package/dist/components/PullToRefresh/PullToRefresh.styles.d.mts +3 -3
- 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/RatioChart.d.mts +5 -5
- package/dist/components/RatioChart/RatioChartEditor.d.cts +2 -2
- package/dist/components/RatioChart/RatioChartEditor.d.mts +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.cjs +1 -1
- package/dist/components/Separator/Separator.styles.mjs +1 -1
- package/dist/components/Separator/Separator.styles.mjs.map +1 -1
- package/dist/components/Sidebar/Sidebar.d.cts +8 -8
- package/dist/components/Sidebar/Sidebar.d.mts +8 -8
- package/dist/components/Sidebar/Sidebar.styles.d.cts +3 -3
- package/dist/components/Sidebar/Sidebar.styles.d.mts +3 -3
- package/dist/components/Skeleton/Skeleton.d.cts +2 -2
- package/dist/components/Skeleton/Skeleton.d.mts +2 -2
- package/dist/components/Skeleton/Skeleton.styles.d.mts +3 -3
- package/dist/components/Spacer/Spacer.styles.d.mts +3 -3
- package/dist/components/Spacer/Spacer.styles.d.mts.map +1 -1
- package/dist/components/Spinner/Spinner.d.cts +2 -2
- package/dist/components/Spinner/Spinner.d.mts +2 -2
- package/dist/components/Spinner/Spinner.styles.d.cts +3 -3
- package/dist/components/Spinner/Spinner.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/Text/Text.d.cts +1 -1
- package/dist/components/Text/Text.d.mts +1 -1
- 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.cts +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/Toast/Toast.d.cts +5 -5
- package/dist/components/Toast/Toast.d.cts.map +1 -1
- 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/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/dist/components/index.d.cts +4 -1
- package/dist/components/index.d.mts +4 -1
- package/dist/index.cjs +2 -0
- package/dist/index.d.cts +3 -1
- package/dist/index.d.mts +3 -1
- package/dist/index.mjs +2 -1
- package/package.json +2 -2
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
let tailwind_variants = require("tailwind-variants");
|
|
3
|
+
|
|
4
|
+
//#region src/components/DatePicker/DatePicker.styles.ts
|
|
5
|
+
const datePicker = (0, tailwind_variants.tv)({
|
|
6
|
+
slots: {
|
|
7
|
+
trigger: "flex w-full cursor-pointer items-center justify-between gap-2 rounded-md px-[1rem] py-[0.9375rem] text-left transition-all duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-gray-600",
|
|
8
|
+
icon: "flex-shrink-0",
|
|
9
|
+
content: "divide-y-0 p-0 overflow-auto overscroll-contain max-h-[var(--radix-dropdown-menu-content-available-height)] max-w-[calc(100vw-2rem)]"
|
|
10
|
+
},
|
|
11
|
+
variants: {
|
|
12
|
+
variant: {
|
|
13
|
+
gray: { trigger: "bg-gray-100" },
|
|
14
|
+
white: { trigger: "bg-white" }
|
|
15
|
+
},
|
|
16
|
+
error: {
|
|
17
|
+
true: { trigger: "ring-2 ring-red-400 focus:ring-red-400" },
|
|
18
|
+
false: {}
|
|
19
|
+
},
|
|
20
|
+
disabled: {
|
|
21
|
+
true: { trigger: "cursor-not-allowed opacity-50" },
|
|
22
|
+
false: {}
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
defaultVariants: {
|
|
26
|
+
variant: "white",
|
|
27
|
+
error: false,
|
|
28
|
+
disabled: false
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
//#endregion
|
|
33
|
+
exports.datePicker = datePicker;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import * as tailwind_variants19 from "tailwind-variants";
|
|
2
|
+
import { VariantProps } from "tailwind-variants";
|
|
3
|
+
|
|
4
|
+
//#region src/components/DatePicker/DatePicker.styles.d.ts
|
|
5
|
+
declare const datePicker: tailwind_variants19.TVReturnType<{
|
|
6
|
+
variant: {
|
|
7
|
+
gray: {
|
|
8
|
+
trigger: string;
|
|
9
|
+
};
|
|
10
|
+
white: {
|
|
11
|
+
trigger: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
error: {
|
|
15
|
+
true: {
|
|
16
|
+
trigger: string;
|
|
17
|
+
};
|
|
18
|
+
false: {};
|
|
19
|
+
};
|
|
20
|
+
disabled: {
|
|
21
|
+
true: {
|
|
22
|
+
trigger: string;
|
|
23
|
+
};
|
|
24
|
+
false: {};
|
|
25
|
+
};
|
|
26
|
+
}, {
|
|
27
|
+
trigger: string;
|
|
28
|
+
icon: string;
|
|
29
|
+
content: string;
|
|
30
|
+
}, undefined, {
|
|
31
|
+
variant: {
|
|
32
|
+
gray: {
|
|
33
|
+
trigger: string;
|
|
34
|
+
};
|
|
35
|
+
white: {
|
|
36
|
+
trigger: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
error: {
|
|
40
|
+
true: {
|
|
41
|
+
trigger: string;
|
|
42
|
+
};
|
|
43
|
+
false: {};
|
|
44
|
+
};
|
|
45
|
+
disabled: {
|
|
46
|
+
true: {
|
|
47
|
+
trigger: string;
|
|
48
|
+
};
|
|
49
|
+
false: {};
|
|
50
|
+
};
|
|
51
|
+
}, {
|
|
52
|
+
trigger: string;
|
|
53
|
+
icon: string;
|
|
54
|
+
content: string;
|
|
55
|
+
}, tailwind_variants19.TVReturnType<{
|
|
56
|
+
variant: {
|
|
57
|
+
gray: {
|
|
58
|
+
trigger: string;
|
|
59
|
+
};
|
|
60
|
+
white: {
|
|
61
|
+
trigger: string;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
error: {
|
|
65
|
+
true: {
|
|
66
|
+
trigger: string;
|
|
67
|
+
};
|
|
68
|
+
false: {};
|
|
69
|
+
};
|
|
70
|
+
disabled: {
|
|
71
|
+
true: {
|
|
72
|
+
trigger: string;
|
|
73
|
+
};
|
|
74
|
+
false: {};
|
|
75
|
+
};
|
|
76
|
+
}, {
|
|
77
|
+
trigger: string;
|
|
78
|
+
icon: string;
|
|
79
|
+
content: string;
|
|
80
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
81
|
+
type DatePickerVariants = VariantProps<typeof datePicker>;
|
|
82
|
+
//#endregion
|
|
83
|
+
export { DatePickerVariants };
|
|
84
|
+
//# sourceMappingURL=DatePicker.styles.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DatePicker.styles.d.cts","names":[],"sources":["../../../src/components/DatePicker/DatePicker.styles.ts"],"mappings":";;;;cAEa,UAAA,EAmCX,mBAAA,CAnCqB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCrB,mBAAA,CAAA,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;KAEU,kBAAA,GAAqB,YAAA,QAAoB,UAAA"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import * as tailwind_variants15 from "tailwind-variants";
|
|
2
|
+
import { VariantProps } from "tailwind-variants";
|
|
3
|
+
|
|
4
|
+
//#region src/components/DatePicker/DatePicker.styles.d.ts
|
|
5
|
+
declare const datePicker: tailwind_variants15.TVReturnType<{
|
|
6
|
+
variant: {
|
|
7
|
+
gray: {
|
|
8
|
+
trigger: string;
|
|
9
|
+
};
|
|
10
|
+
white: {
|
|
11
|
+
trigger: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
error: {
|
|
15
|
+
true: {
|
|
16
|
+
trigger: string;
|
|
17
|
+
};
|
|
18
|
+
false: {};
|
|
19
|
+
};
|
|
20
|
+
disabled: {
|
|
21
|
+
true: {
|
|
22
|
+
trigger: string;
|
|
23
|
+
};
|
|
24
|
+
false: {};
|
|
25
|
+
};
|
|
26
|
+
}, {
|
|
27
|
+
trigger: string;
|
|
28
|
+
icon: string;
|
|
29
|
+
content: string;
|
|
30
|
+
}, undefined, {
|
|
31
|
+
variant: {
|
|
32
|
+
gray: {
|
|
33
|
+
trigger: string;
|
|
34
|
+
};
|
|
35
|
+
white: {
|
|
36
|
+
trigger: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
error: {
|
|
40
|
+
true: {
|
|
41
|
+
trigger: string;
|
|
42
|
+
};
|
|
43
|
+
false: {};
|
|
44
|
+
};
|
|
45
|
+
disabled: {
|
|
46
|
+
true: {
|
|
47
|
+
trigger: string;
|
|
48
|
+
};
|
|
49
|
+
false: {};
|
|
50
|
+
};
|
|
51
|
+
}, {
|
|
52
|
+
trigger: string;
|
|
53
|
+
icon: string;
|
|
54
|
+
content: string;
|
|
55
|
+
}, tailwind_variants15.TVReturnType<{
|
|
56
|
+
variant: {
|
|
57
|
+
gray: {
|
|
58
|
+
trigger: string;
|
|
59
|
+
};
|
|
60
|
+
white: {
|
|
61
|
+
trigger: string;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
error: {
|
|
65
|
+
true: {
|
|
66
|
+
trigger: string;
|
|
67
|
+
};
|
|
68
|
+
false: {};
|
|
69
|
+
};
|
|
70
|
+
disabled: {
|
|
71
|
+
true: {
|
|
72
|
+
trigger: string;
|
|
73
|
+
};
|
|
74
|
+
false: {};
|
|
75
|
+
};
|
|
76
|
+
}, {
|
|
77
|
+
trigger: string;
|
|
78
|
+
icon: string;
|
|
79
|
+
content: string;
|
|
80
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
81
|
+
type DatePickerVariants = VariantProps<typeof datePicker>;
|
|
82
|
+
//#endregion
|
|
83
|
+
export { DatePickerVariants };
|
|
84
|
+
//# sourceMappingURL=DatePicker.styles.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DatePicker.styles.d.mts","names":[],"sources":["../../../src/components/DatePicker/DatePicker.styles.ts"],"mappings":";;;;cAEa,UAAA,EAmCX,mBAAA,CAnCqB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCrB,mBAAA,CAAA,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;KAEU,kBAAA,GAAqB,YAAA,QAAoB,UAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { tv } from "tailwind-variants";
|
|
2
|
+
|
|
3
|
+
//#region src/components/DatePicker/DatePicker.styles.ts
|
|
4
|
+
const datePicker = tv({
|
|
5
|
+
slots: {
|
|
6
|
+
trigger: "flex w-full cursor-pointer items-center justify-between gap-2 rounded-md px-[1rem] py-[0.9375rem] text-left transition-all duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-gray-600",
|
|
7
|
+
icon: "flex-shrink-0",
|
|
8
|
+
content: "divide-y-0 p-0 overflow-auto overscroll-contain max-h-[var(--radix-dropdown-menu-content-available-height)] max-w-[calc(100vw-2rem)]"
|
|
9
|
+
},
|
|
10
|
+
variants: {
|
|
11
|
+
variant: {
|
|
12
|
+
gray: { trigger: "bg-gray-100" },
|
|
13
|
+
white: { trigger: "bg-white" }
|
|
14
|
+
},
|
|
15
|
+
error: {
|
|
16
|
+
true: { trigger: "ring-2 ring-red-400 focus:ring-red-400" },
|
|
17
|
+
false: {}
|
|
18
|
+
},
|
|
19
|
+
disabled: {
|
|
20
|
+
true: { trigger: "cursor-not-allowed opacity-50" },
|
|
21
|
+
false: {}
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
defaultVariants: {
|
|
25
|
+
variant: "white",
|
|
26
|
+
error: false,
|
|
27
|
+
disabled: false
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
//#endregion
|
|
32
|
+
export { datePicker };
|
|
33
|
+
//# sourceMappingURL=DatePicker.styles.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DatePicker.styles.mjs","names":[],"sources":["../../../src/components/DatePicker/DatePicker.styles.ts"],"sourcesContent":["import { tv, type VariantProps } from 'tailwind-variants';\n\nexport const datePicker = tv({\n slots: {\n trigger:\n 'flex w-full cursor-pointer items-center justify-between gap-2 rounded-md px-[1rem] py-[0.9375rem] text-left transition-all duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-gray-600',\n icon: 'flex-shrink-0',\n content:\n 'divide-y-0 p-0 overflow-auto overscroll-contain max-h-[var(--radix-dropdown-menu-content-available-height)] max-w-[calc(100vw-2rem)]',\n },\n variants: {\n variant: {\n gray: {\n trigger: 'bg-gray-100',\n },\n white: {\n trigger: 'bg-white',\n },\n },\n error: {\n true: {\n trigger: 'ring-2 ring-red-400 focus:ring-red-400',\n },\n false: {},\n },\n disabled: {\n true: {\n trigger: 'cursor-not-allowed opacity-50',\n },\n false: {},\n },\n },\n defaultVariants: {\n variant: 'white',\n error: false,\n disabled: false,\n },\n});\n\nexport type DatePickerVariants = VariantProps<typeof datePicker>;\n"],"mappings":";;;AAEA,MAAa,aAAa,GAAG;CAC3B,OAAO;EACL,SACE;EACF,MAAM;EACN,SACE;EACH;CACD,UAAU;EACR,SAAS;GACP,MAAM,EACJ,SAAS,eACV;GACD,OAAO,EACL,SAAS,YACV;GACF;EACD,OAAO;GACL,MAAM,EACJ,SAAS,0CACV;GACD,OAAO,EAAE;GACV;EACD,UAAU;GACR,MAAM,EACJ,SAAS,iCACV;GACD,OAAO,EAAE;GACV;EACF;CACD,iBAAiB;EACf,SAAS;EACT,OAAO;EACP,UAAU;EACX;CACF,CAAC"}
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import { PrimitiveProps } from "../Primitive/Primitive.cjs";
|
|
2
2
|
import "../Primitive/index.cjs";
|
|
3
3
|
import { DialogSizeOptions, DialogVariants } from "./Dialog.styles.cjs";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react1 from "react";
|
|
5
5
|
import { ComponentProps } from "react";
|
|
6
|
-
import * as
|
|
6
|
+
import * as react_jsx_runtime31 from "react/jsx-runtime";
|
|
7
7
|
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
8
8
|
|
|
9
9
|
//#region src/components/Dialog/Dialog.d.ts
|
|
10
|
-
declare const DialogRoot:
|
|
10
|
+
declare const DialogRoot: react1.FC<DialogPrimitive.DialogProps>;
|
|
11
11
|
type DialogProps = ComponentProps<typeof DialogRoot>;
|
|
12
|
-
declare const DialogTrigger:
|
|
12
|
+
declare const DialogTrigger: react1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & react1.RefAttributes<HTMLButtonElement>>;
|
|
13
13
|
type DialogTriggerProps = ComponentProps<typeof DialogTrigger>;
|
|
14
|
-
declare const DialogPortal:
|
|
14
|
+
declare const DialogPortal: react1.FC<DialogPrimitive.DialogPortalProps>;
|
|
15
15
|
type DialogPortalProps = ComponentProps<typeof DialogPortal>;
|
|
16
|
-
declare const DialogClose:
|
|
16
|
+
declare const DialogClose: react1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & react1.RefAttributes<HTMLButtonElement>>;
|
|
17
17
|
type DialogCloseProps = ComponentProps<typeof DialogClose>;
|
|
18
18
|
type DialogOverlayProps = ComponentProps<typeof DialogPrimitive.Overlay>;
|
|
19
19
|
interface DialogContentProps extends ComponentProps<typeof DialogPrimitive.Content>, DialogSizeOptions, DialogVariants {}
|
|
20
20
|
type DialogTitleProps = ComponentProps<typeof DialogPrimitive.Title>;
|
|
21
21
|
type DialogDescriptionProps = ComponentProps<typeof DialogPrimitive.Description>;
|
|
22
22
|
type DialogFooterProps = ComponentProps<'div'> & PrimitiveProps;
|
|
23
|
-
declare const Dialog:
|
|
24
|
-
Trigger:
|
|
23
|
+
declare const Dialog: react1.FC<DialogPrimitive.DialogProps> & {
|
|
24
|
+
Trigger: react1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & react1.RefAttributes<HTMLButtonElement>>;
|
|
25
25
|
Content: {
|
|
26
26
|
({
|
|
27
27
|
className,
|
|
28
28
|
children,
|
|
29
29
|
...props
|
|
30
|
-
}: DialogContentProps):
|
|
30
|
+
}: DialogContentProps): react_jsx_runtime31.JSX.Element;
|
|
31
31
|
displayName: string | undefined;
|
|
32
32
|
};
|
|
33
33
|
Title: {
|
|
34
34
|
({
|
|
35
35
|
className,
|
|
36
36
|
...props
|
|
37
|
-
}: DialogTitleProps):
|
|
37
|
+
}: DialogTitleProps): react_jsx_runtime31.JSX.Element;
|
|
38
38
|
displayName: string | undefined;
|
|
39
39
|
};
|
|
40
40
|
Description: {
|
|
41
41
|
({
|
|
42
42
|
className,
|
|
43
43
|
...props
|
|
44
|
-
}: DialogDescriptionProps):
|
|
44
|
+
}: DialogDescriptionProps): react_jsx_runtime31.JSX.Element;
|
|
45
45
|
displayName: string | undefined;
|
|
46
46
|
};
|
|
47
47
|
Footer: {
|
|
48
48
|
({
|
|
49
49
|
className,
|
|
50
50
|
...props
|
|
51
|
-
}: DialogFooterProps):
|
|
51
|
+
}: DialogFooterProps): react_jsx_runtime31.JSX.Element;
|
|
52
52
|
displayName: string;
|
|
53
53
|
};
|
|
54
|
-
Close:
|
|
54
|
+
Close: react1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & react1.RefAttributes<HTMLButtonElement>>;
|
|
55
55
|
};
|
|
56
56
|
//#endregion
|
|
57
57
|
export { Dialog, DialogCloseProps, DialogContentProps, DialogDescriptionProps, DialogFooterProps, DialogOverlayProps, DialogPortalProps, DialogProps, DialogTitleProps, DialogTriggerProps };
|
|
@@ -3,7 +3,7 @@ import "../Primitive/index.mjs";
|
|
|
3
3
|
import { DialogSizeOptions, DialogVariants } from "./Dialog.styles.mjs";
|
|
4
4
|
import * as react0 from "react";
|
|
5
5
|
import { ComponentProps } from "react";
|
|
6
|
-
import * as
|
|
6
|
+
import * as react_jsx_runtime32 from "react/jsx-runtime";
|
|
7
7
|
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
8
8
|
|
|
9
9
|
//#region src/components/Dialog/Dialog.d.ts
|
|
@@ -27,28 +27,28 @@ declare const Dialog: react0.FC<DialogPrimitive.DialogProps> & {
|
|
|
27
27
|
className,
|
|
28
28
|
children,
|
|
29
29
|
...props
|
|
30
|
-
}: DialogContentProps):
|
|
30
|
+
}: DialogContentProps): react_jsx_runtime32.JSX.Element;
|
|
31
31
|
displayName: string | undefined;
|
|
32
32
|
};
|
|
33
33
|
Title: {
|
|
34
34
|
({
|
|
35
35
|
className,
|
|
36
36
|
...props
|
|
37
|
-
}: DialogTitleProps):
|
|
37
|
+
}: DialogTitleProps): react_jsx_runtime32.JSX.Element;
|
|
38
38
|
displayName: string | undefined;
|
|
39
39
|
};
|
|
40
40
|
Description: {
|
|
41
41
|
({
|
|
42
42
|
className,
|
|
43
43
|
...props
|
|
44
|
-
}: DialogDescriptionProps):
|
|
44
|
+
}: DialogDescriptionProps): react_jsx_runtime32.JSX.Element;
|
|
45
45
|
displayName: string | undefined;
|
|
46
46
|
};
|
|
47
47
|
Footer: {
|
|
48
48
|
({
|
|
49
49
|
className,
|
|
50
50
|
...props
|
|
51
|
-
}: DialogFooterProps):
|
|
51
|
+
}: DialogFooterProps): react_jsx_runtime32.JSX.Element;
|
|
52
52
|
displayName: string;
|
|
53
53
|
};
|
|
54
54
|
Close: react0.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & react0.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants15 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Dialog/Dialog.styles.d.ts
|
|
5
|
-
declare const dialog:
|
|
5
|
+
declare const dialog: tailwind_variants15.TVReturnType<{
|
|
6
6
|
fullscreen: {
|
|
7
7
|
true: {
|
|
8
8
|
content: string;
|
|
@@ -22,7 +22,7 @@ declare const dialog: tailwind_variants11.TVReturnType<{
|
|
|
22
22
|
overlay: string;
|
|
23
23
|
content: string;
|
|
24
24
|
close: string;
|
|
25
|
-
},
|
|
25
|
+
}, tailwind_variants15.TVReturnType<{
|
|
26
26
|
fullscreen: {
|
|
27
27
|
true: {
|
|
28
28
|
content: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants17 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Dialog/Dialog.styles.d.ts
|
|
5
|
-
declare const dialog:
|
|
5
|
+
declare const dialog: tailwind_variants17.TVReturnType<{
|
|
6
6
|
fullscreen: {
|
|
7
7
|
true: {
|
|
8
8
|
content: string;
|
|
@@ -22,7 +22,7 @@ declare const dialog: tailwind_variants15.TVReturnType<{
|
|
|
22
22
|
overlay: string;
|
|
23
23
|
content: string;
|
|
24
24
|
close: string;
|
|
25
|
-
},
|
|
25
|
+
}, tailwind_variants17.TVReturnType<{
|
|
26
26
|
fullscreen: {
|
|
27
27
|
true: {
|
|
28
28
|
content: string;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { DrawerVariants } from "./Drawer.styles.cjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as react16 from "react";
|
|
3
|
+
import * as react_jsx_runtime77 from "react/jsx-runtime";
|
|
4
4
|
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
5
5
|
|
|
6
6
|
//#region src/components/Drawer/Drawer.d.ts
|
|
7
7
|
type DrawerOverlayProps = React.ComponentProps<typeof DialogPrimitive.Overlay>;
|
|
8
8
|
type DrawerContentProps = React.ComponentProps<typeof DialogPrimitive.Content> & DrawerVariants;
|
|
9
|
-
declare const Drawer:
|
|
10
|
-
Root:
|
|
11
|
-
Trigger:
|
|
12
|
-
Close:
|
|
13
|
-
Portal:
|
|
9
|
+
declare const Drawer: react16.FC<DialogPrimitive.DialogProps> & {
|
|
10
|
+
Root: react16.FC<DialogPrimitive.DialogProps>;
|
|
11
|
+
Trigger: react16.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & react16.RefAttributes<HTMLButtonElement>>;
|
|
12
|
+
Close: react16.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & react16.RefAttributes<HTMLButtonElement>>;
|
|
13
|
+
Portal: react16.FC<DialogPrimitive.DialogPortalProps>;
|
|
14
14
|
Overlay: ({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: DrawerOverlayProps) =>
|
|
17
|
+
}: DrawerOverlayProps) => react_jsx_runtime77.JSX.Element;
|
|
18
18
|
Content: ({
|
|
19
19
|
position,
|
|
20
20
|
className,
|
|
21
21
|
children,
|
|
22
22
|
...props
|
|
23
|
-
}: DrawerContentProps) =>
|
|
24
|
-
Title:
|
|
25
|
-
Description:
|
|
23
|
+
}: DrawerContentProps) => react_jsx_runtime77.JSX.Element;
|
|
24
|
+
Title: react16.ForwardRefExoticComponent<DialogPrimitive.DialogTitleProps & react16.RefAttributes<HTMLHeadingElement>>;
|
|
25
|
+
Description: react16.ForwardRefExoticComponent<DialogPrimitive.DialogDescriptionProps & react16.RefAttributes<HTMLParagraphElement>>;
|
|
26
26
|
};
|
|
27
27
|
//#endregion
|
|
28
28
|
export { Drawer };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DrawerVariants } from "./Drawer.styles.mjs";
|
|
2
2
|
import * as react16 from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime83 from "react/jsx-runtime";
|
|
4
4
|
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
5
5
|
|
|
6
6
|
//#region src/components/Drawer/Drawer.d.ts
|
|
@@ -14,13 +14,13 @@ declare const Drawer: react16.FC<DialogPrimitive.DialogProps> & {
|
|
|
14
14
|
Overlay: ({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: DrawerOverlayProps) =>
|
|
17
|
+
}: DrawerOverlayProps) => react_jsx_runtime83.JSX.Element;
|
|
18
18
|
Content: ({
|
|
19
19
|
position,
|
|
20
20
|
className,
|
|
21
21
|
children,
|
|
22
22
|
...props
|
|
23
|
-
}: DrawerContentProps) =>
|
|
23
|
+
}: DrawerContentProps) => react_jsx_runtime83.JSX.Element;
|
|
24
24
|
Title: react16.ForwardRefExoticComponent<DialogPrimitive.DialogTitleProps & react16.RefAttributes<HTMLHeadingElement>>;
|
|
25
25
|
Description: react16.ForwardRefExoticComponent<DialogPrimitive.DialogDescriptionProps & react16.RefAttributes<HTMLParagraphElement>>;
|
|
26
26
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants49 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Drawer/Drawer.styles.d.ts
|
|
5
|
-
declare const drawer:
|
|
5
|
+
declare const drawer: tailwind_variants49.TVReturnType<{
|
|
6
6
|
position: {
|
|
7
7
|
bottom: {
|
|
8
8
|
content: string;
|
|
@@ -20,7 +20,7 @@ declare const drawer: tailwind_variants55.TVReturnType<{
|
|
|
20
20
|
}, {
|
|
21
21
|
overlay: string[];
|
|
22
22
|
content: string[];
|
|
23
|
-
},
|
|
23
|
+
}, tailwind_variants49.TVReturnType<{
|
|
24
24
|
position: {
|
|
25
25
|
bottom: {
|
|
26
26
|
content: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DropdownVariants } from "./Dropdown.styles.cjs";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime35 from "react/jsx-runtime";
|
|
4
4
|
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
5
5
|
|
|
6
6
|
//#region src/components/Dropdown/Dropdown.d.ts
|
|
@@ -18,7 +18,7 @@ declare const Dropdown: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps> & {
|
|
|
18
18
|
sideOffset,
|
|
19
19
|
ref,
|
|
20
20
|
...props
|
|
21
|
-
}: DropdownContentProps):
|
|
21
|
+
}: DropdownContentProps): react_jsx_runtime35.JSX.Element;
|
|
22
22
|
displayName: string | undefined;
|
|
23
23
|
};
|
|
24
24
|
Item: {
|
|
@@ -27,7 +27,7 @@ declare const Dropdown: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps> & {
|
|
|
27
27
|
color,
|
|
28
28
|
ref,
|
|
29
29
|
...props
|
|
30
|
-
}: DropdownItemProps):
|
|
30
|
+
}: DropdownItemProps): react_jsx_runtime35.JSX.Element;
|
|
31
31
|
displayName: string | undefined;
|
|
32
32
|
};
|
|
33
33
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DropdownVariants } from "./Dropdown.styles.mjs";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime18 from "react/jsx-runtime";
|
|
4
4
|
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
5
5
|
|
|
6
6
|
//#region src/components/Dropdown/Dropdown.d.ts
|
|
@@ -18,7 +18,7 @@ declare const Dropdown: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps> & {
|
|
|
18
18
|
sideOffset,
|
|
19
19
|
ref,
|
|
20
20
|
...props
|
|
21
|
-
}: DropdownContentProps):
|
|
21
|
+
}: DropdownContentProps): react_jsx_runtime18.JSX.Element;
|
|
22
22
|
displayName: string | undefined;
|
|
23
23
|
};
|
|
24
24
|
Item: {
|
|
@@ -27,7 +27,7 @@ declare const Dropdown: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps> & {
|
|
|
27
27
|
color,
|
|
28
28
|
ref,
|
|
29
29
|
...props
|
|
30
|
-
}: DropdownItemProps):
|
|
30
|
+
}: DropdownItemProps): react_jsx_runtime18.JSX.Element;
|
|
31
31
|
displayName: string | undefined;
|
|
32
32
|
};
|
|
33
33
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants17 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Dropdown/Dropdown.styles.d.ts
|
|
5
|
-
declare const dropdown:
|
|
5
|
+
declare const dropdown: tailwind_variants17.TVReturnType<{
|
|
6
6
|
color: {
|
|
7
7
|
default: {
|
|
8
8
|
item: string;
|
|
@@ -32,7 +32,7 @@ declare const dropdown: tailwind_variants15.TVReturnType<{
|
|
|
32
32
|
}, {
|
|
33
33
|
content: string;
|
|
34
34
|
item: string;
|
|
35
|
-
},
|
|
35
|
+
}, tailwind_variants17.TVReturnType<{
|
|
36
36
|
color: {
|
|
37
37
|
default: {
|
|
38
38
|
item: 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/Dropdown/Dropdown.styles.d.ts
|
|
5
|
-
declare const dropdown:
|
|
5
|
+
declare const dropdown: tailwind_variants5.TVReturnType<{
|
|
6
6
|
color: {
|
|
7
7
|
default: {
|
|
8
8
|
item: string;
|
|
@@ -32,7 +32,7 @@ declare const dropdown: tailwind_variants13.TVReturnType<{
|
|
|
32
32
|
}, {
|
|
33
33
|
content: string;
|
|
34
34
|
item: string;
|
|
35
|
-
},
|
|
35
|
+
}, tailwind_variants5.TVReturnType<{
|
|
36
36
|
color: {
|
|
37
37
|
default: {
|
|
38
38
|
item: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dropdown.styles.d.mts","names":[],"sources":["../../../src/components/Dropdown/Dropdown.styles.ts"],"mappings":";;;;cAEa,QAAA,EAsBX,
|
|
1
|
+
{"version":3,"file":"Dropdown.styles.d.mts","names":[],"sources":["../../../src/components/Dropdown/Dropdown.styles.ts"],"mappings":";;;;cAEa,QAAA,EAsBX,kBAAA,CAtBmB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsBnB,kBAAA,CAAA,YAAA;;;;;;;;;;;;;;;;KAEU,gBAAA,GAAmB,YAAA,QAAoB,QAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TextVariants } from "../Text/Text.styles.cjs";
|
|
2
2
|
import "../Text/index.cjs";
|
|
3
3
|
import React, { ComponentProps } from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/Field/Field.d.ts
|
|
7
7
|
interface FieldProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
@@ -25,7 +25,7 @@ declare const Field: {
|
|
|
25
25
|
error,
|
|
26
26
|
className,
|
|
27
27
|
...props
|
|
28
|
-
}: FieldProps):
|
|
28
|
+
}: FieldProps): react_jsx_runtime3.JSX.Element;
|
|
29
29
|
displayName: string;
|
|
30
30
|
} & {
|
|
31
31
|
Label: {
|
|
@@ -35,7 +35,7 @@ declare const Field: {
|
|
|
35
35
|
typography,
|
|
36
36
|
textColor,
|
|
37
37
|
...labelProps
|
|
38
|
-
}: FieldLabelProps):
|
|
38
|
+
}: FieldLabelProps): react_jsx_runtime3.JSX.Element;
|
|
39
39
|
displayName: string;
|
|
40
40
|
};
|
|
41
41
|
Description: {
|
|
@@ -43,7 +43,7 @@ declare const Field: {
|
|
|
43
43
|
children,
|
|
44
44
|
className,
|
|
45
45
|
...props
|
|
46
|
-
}: FieldDescriptionProps):
|
|
46
|
+
}: FieldDescriptionProps): react_jsx_runtime3.JSX.Element | null;
|
|
47
47
|
displayName: string;
|
|
48
48
|
};
|
|
49
49
|
ErrorDescription: {
|
|
@@ -51,7 +51,7 @@ declare const Field: {
|
|
|
51
51
|
children,
|
|
52
52
|
className,
|
|
53
53
|
...props
|
|
54
|
-
}: FieldErrorDescriptionProps):
|
|
54
|
+
}: FieldErrorDescriptionProps): react_jsx_runtime3.JSX.Element | null;
|
|
55
55
|
displayName: string;
|
|
56
56
|
};
|
|
57
57
|
};
|