@causw/core 0.0.15 → 0.0.16
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 +3 -2
- package/dist/components/Avatar/Avatar.d.cts.map +1 -1
- 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/Avatar/index.d.cts +2 -0
- package/dist/components/BottomNavigation/BottomNavigation.d.cts +6 -5
- package/dist/components/BottomNavigation/BottomNavigation.d.cts.map +1 -1
- 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/BottomNavigation/index.d.cts +1 -0
- package/dist/components/BottomSheet/BottomSheet.d.cts +6 -6
- package/dist/components/BottomSheet/BottomSheet.styles.d.cts +3 -3
- package/dist/components/BottomSheet/index.d.cts +1 -0
- package/dist/components/Box/Box.d.cts +1 -0
- package/dist/components/Box/Box.d.cts.map +1 -1
- package/dist/components/Box/index.d.cts +2 -0
- package/dist/components/Button/Button.d.cts +3 -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.d.mts.map +1 -1
- package/dist/components/Button/Button.styles.cjs +1 -1
- package/dist/components/Button/Button.styles.d.cts +2 -2
- package/dist/components/Button/Button.styles.d.mts +5 -5
- package/dist/components/Button/Button.styles.mjs +1 -1
- package/dist/components/Button/Button.styles.mjs.map +1 -1
- package/dist/components/Button/index.d.cts +1 -0
- package/dist/components/CTAButton/CTAButton.d.cts +3 -2
- package/dist/components/CTAButton/CTAButton.d.cts.map +1 -1
- package/dist/components/CTAButton/CTAButton.d.mts +2 -2
- package/dist/components/CTAButton/CTAButton.styles.cjs +1 -1
- package/dist/components/CTAButton/CTAButton.styles.d.cts +5 -5
- package/dist/components/CTAButton/CTAButton.styles.d.mts +5 -5
- package/dist/components/CTAButton/CTAButton.styles.mjs +1 -1
- package/dist/components/CTAButton/CTAButton.styles.mjs.map +1 -1
- package/dist/components/CTAButton/index.d.cts +1 -0
- package/dist/components/Calendar/Calendar.d.cts +2 -2
- 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.cts +6 -4
- package/dist/components/Checkbox/Checkbox.d.cts.map +1 -1
- package/dist/components/Checkbox/Checkbox.d.mts +4 -4
- package/dist/components/Checkbox/Checkbox.styles.d.mts +3 -3
- package/dist/components/Checkbox/index.d.cts +1 -0
- package/dist/components/Chip/Chip.d.cts +3 -2
- package/dist/components/Chip/Chip.d.cts.map +1 -1
- package/dist/components/Chip/Chip.styles.cjs +1 -1
- package/dist/components/Chip/Chip.styles.d.cts +3 -3
- package/dist/components/Chip/Chip.styles.mjs +1 -1
- package/dist/components/Chip/Chip.styles.mjs.map +1 -1
- package/dist/components/Chip/index.d.cts +2 -0
- package/dist/components/Dialog/Dialog.d.cts +14 -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/Dialog/index.d.cts +2 -0
- package/dist/components/Drawer/Drawer.d.cts +11 -11
- package/dist/components/Drawer/Drawer.d.cts.map +1 -1
- package/dist/components/Drawer/Drawer.d.mts +3 -3
- package/dist/components/Drawer/Drawer.styles.d.cts +3 -3
- package/dist/components/Drawer/Drawer.styles.d.mts +3 -3
- package/dist/components/Drawer/index.d.cts +1 -0
- 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.mts +3 -3
- package/dist/components/Dropdown/index.d.cts +2 -0
- package/dist/components/Field/Field.d.cts +6 -5
- package/dist/components/Field/Field.d.cts.map +1 -1
- package/dist/components/Field/index.d.cts +1 -0
- package/dist/components/Flex/Flex.d.cts +1 -0
- package/dist/components/Flex/Flex.d.cts.map +1 -1
- package/dist/components/Flex/index.d.cts +2 -0
- package/dist/components/Float/Float.d.cts +1 -0
- package/dist/components/Float/Float.d.cts.map +1 -1
- package/dist/components/Float/Float.styles.d.cts +3 -3
- package/dist/components/Float/index.d.cts +1 -0
- package/dist/components/FloatingActionButton/FloatingActionButton.d.cts +3 -2
- package/dist/components/FloatingActionButton/FloatingActionButton.d.cts.map +1 -1
- package/dist/components/FloatingActionButton/FloatingActionButton.d.mts +2 -2
- package/dist/components/FloatingActionButton/FloatingActionButton.styles.d.mts +3 -3
- package/dist/components/FloatingActionButton/index.d.cts +1 -0
- package/dist/components/Grid/Grid.d.cts +1 -0
- package/dist/components/Grid/Grid.d.cts.map +1 -1
- package/dist/components/Grid/Grid.styles.d.cts +3 -3
- package/dist/components/Grid/index.d.cts +1 -0
- package/dist/components/HStack/HStack.d.cts +3 -2
- package/dist/components/HStack/HStack.d.cts.map +1 -1
- package/dist/components/HStack/index.d.cts +1 -0
- package/dist/components/Modal/Modal.cjs +4 -7
- package/dist/components/Modal/Modal.d.cts +11 -12
- package/dist/components/Modal/Modal.d.cts.map +1 -1
- package/dist/components/Modal/Modal.d.mts +10 -12
- package/dist/components/Modal/Modal.d.mts.map +1 -1
- package/dist/components/Modal/Modal.mjs +4 -7
- package/dist/components/Modal/Modal.mjs.map +1 -1
- package/dist/components/Modal/Modal.styles.cjs +15 -26
- package/dist/components/Modal/Modal.styles.d.cts +3 -39
- package/dist/components/Modal/Modal.styles.d.cts.map +1 -1
- package/dist/components/Modal/Modal.styles.d.mts +3 -39
- package/dist/components/Modal/Modal.styles.d.mts.map +1 -1
- package/dist/components/Modal/Modal.styles.mjs +15 -26
- package/dist/components/Modal/Modal.styles.mjs.map +1 -1
- package/dist/components/Modal/index.d.cts +2 -0
- package/dist/components/Primitive/Primitive.d.cts +16 -16
- package/dist/components/Primitive/Primitive.d.mts +16 -16
- package/dist/components/Primitive/index.d.cts +1 -0
- package/dist/components/PullToRefresh/PullToRefresh.cjs +79 -0
- package/dist/components/PullToRefresh/PullToRefresh.d.cts +20 -0
- package/dist/components/PullToRefresh/PullToRefresh.d.cts.map +1 -0
- package/dist/components/PullToRefresh/PullToRefresh.d.mts +20 -0
- package/dist/components/PullToRefresh/PullToRefresh.d.mts.map +1 -0
- package/dist/components/PullToRefresh/PullToRefresh.mjs +78 -0
- package/dist/components/PullToRefresh/PullToRefresh.mjs.map +1 -0
- package/dist/components/PullToRefresh/PullToRefresh.styles.cjs +12 -0
- package/dist/components/PullToRefresh/PullToRefresh.styles.d.cts +46 -0
- package/dist/components/PullToRefresh/PullToRefresh.styles.d.cts.map +1 -0
- package/dist/components/PullToRefresh/PullToRefresh.styles.d.mts +46 -0
- package/dist/components/PullToRefresh/PullToRefresh.styles.d.mts.map +1 -0
- package/dist/components/PullToRefresh/PullToRefresh.styles.mjs +12 -0
- package/dist/components/PullToRefresh/PullToRefresh.styles.mjs.map +1 -0
- package/dist/components/PullToRefresh/index.d.cts +1 -0
- package/dist/components/PullToRefresh/index.d.mts +1 -0
- package/dist/components/Radio/Radio.d.cts +4 -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/Radio/index.d.cts +1 -0
- package/dist/components/RatioChart/RatioChart.d.cts +5 -5
- package/dist/components/RatioChart/RatioChartEditor.d.cts +2 -2
- package/dist/components/RatioChart/index.d.cts +2 -0
- 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.cts +3 -3
- package/dist/components/Select/Select.styles.d.mts +3 -3
- package/dist/components/Select/index.d.cts +2 -0
- package/dist/components/Separator/Separator.d.cts +1 -0
- package/dist/components/Separator/Separator.d.cts.map +1 -1
- package/dist/components/Separator/Separator.styles.d.mts +3 -3
- package/dist/components/Separator/index.d.cts +2 -0
- package/dist/components/Sidebar/Sidebar.d.cts +9 -8
- package/dist/components/Sidebar/Sidebar.d.cts.map +1 -1
- 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/Sidebar/hooks/useSidebarContext.d.cts +2 -0
- package/dist/components/Sidebar/hooks/useSidebarContext.d.cts.map +1 -1
- package/dist/components/Sidebar/index.d.cts +2 -0
- package/dist/components/Skeleton/Skeleton.cjs +34 -0
- package/dist/components/Skeleton/Skeleton.d.cts +25 -0
- package/dist/components/Skeleton/Skeleton.d.cts.map +1 -0
- package/dist/components/Skeleton/Skeleton.d.mts +25 -0
- package/dist/components/Skeleton/Skeleton.d.mts.map +1 -0
- package/dist/components/Skeleton/Skeleton.mjs +33 -0
- package/dist/components/Skeleton/Skeleton.mjs.map +1 -0
- package/dist/components/Skeleton/Skeleton.styles.cjs +40 -0
- package/dist/components/Skeleton/Skeleton.styles.d.cts +50 -0
- package/dist/components/Skeleton/Skeleton.styles.d.cts.map +1 -0
- package/dist/components/Skeleton/Skeleton.styles.d.mts +50 -0
- package/dist/components/Skeleton/Skeleton.styles.d.mts.map +1 -0
- package/dist/components/Skeleton/Skeleton.styles.mjs +39 -0
- package/dist/components/Skeleton/Skeleton.styles.mjs.map +1 -0
- package/dist/components/Skeleton/index.d.cts +1 -0
- package/dist/components/Skeleton/index.d.mts +1 -0
- package/dist/components/Spacer/Spacer.d.cts +1 -0
- package/dist/components/Spacer/Spacer.d.cts.map +1 -1
- package/dist/components/Spacer/Spacer.styles.d.mts +3 -3
- package/dist/components/Spacer/index.d.cts +2 -0
- package/dist/components/Spinner/Spinner.cjs +38 -0
- package/dist/components/Spinner/Spinner.d.cts +17 -0
- package/dist/components/Spinner/Spinner.d.cts.map +1 -0
- package/dist/components/Spinner/Spinner.d.mts +17 -0
- package/dist/components/Spinner/Spinner.d.mts.map +1 -0
- package/dist/components/Spinner/Spinner.mjs +37 -0
- package/dist/components/Spinner/Spinner.mjs.map +1 -0
- package/dist/components/Spinner/Spinner.styles.cjs +34 -0
- package/dist/components/Spinner/Spinner.styles.d.cts +63 -0
- package/dist/components/Spinner/Spinner.styles.d.cts.map +1 -0
- package/dist/components/Spinner/Spinner.styles.d.mts +63 -0
- package/dist/components/Spinner/Spinner.styles.d.mts.map +1 -0
- package/dist/components/Spinner/Spinner.styles.mjs +34 -0
- package/dist/components/Spinner/Spinner.styles.mjs.map +1 -0
- package/dist/components/Spinner/index.d.mts +1 -0
- package/dist/components/Stack/Stack.d.cts +1 -0
- package/dist/components/Stack/Stack.d.cts.map +1 -1
- package/dist/components/Stack/index.d.cts +2 -0
- package/dist/components/Tab/Tab.d.cts +1 -0
- package/dist/components/Tab/Tab.d.cts.map +1 -1
- package/dist/components/Tab/Tab.styles.d.cts +3 -3
- package/dist/components/Tab/index.d.cts +2 -0
- package/dist/components/Text/Text.d.cts +1 -0
- package/dist/components/Text/Text.d.cts.map +1 -1
- package/dist/components/Text/index.d.cts +2 -0
- package/dist/components/TextArea/TextArea.d.cts +5 -4
- package/dist/components/TextArea/TextArea.d.cts.map +1 -1
- package/dist/components/TextArea/TextArea.d.mts +4 -4
- package/dist/components/TextArea/TextArea.styles.d.mts +3 -3
- package/dist/components/TextArea/index.d.cts +1 -0
- package/dist/components/TextInput/TextInput.d.cts +3 -2
- package/dist/components/TextInput/TextInput.d.cts.map +1 -1
- package/dist/components/TextInput/TextInput.d.mts +2 -2
- package/dist/components/TextInput/index.d.cts +2 -0
- package/dist/components/Toast/Toast.d.cts +5 -5
- 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/Toast/index.d.cts +3 -0
- package/dist/components/Toast/index.d.mts +2 -1
- package/dist/components/Toast/toastStore.cjs +38 -0
- package/dist/components/Toast/toastStore.d.cts +19 -0
- package/dist/components/Toast/toastStore.d.cts.map +1 -0
- package/dist/components/Toast/toastStore.d.mts +19 -0
- package/dist/components/Toast/toastStore.d.mts.map +1 -0
- package/dist/components/Toast/toastStore.mjs +39 -0
- package/dist/components/Toast/toastStore.mjs.map +1 -0
- package/dist/components/Toggle/Toggle.d.cts +6 -4
- package/dist/components/Toggle/Toggle.d.cts.map +1 -1
- 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.cts +3 -3
- package/dist/components/Toggle/Toggle.styles.d.mts +3 -3
- package/dist/components/Toggle/index.d.cts +1 -0
- package/dist/components/VStack/VStack.d.cts +3 -2
- package/dist/components/VStack/VStack.d.cts.map +1 -1
- package/dist/components/VStack/VStack.d.mts +2 -2
- package/dist/components/VStack/index.d.cts +1 -0
- package/dist/components/index.d.cts +90 -0
- package/dist/components/index.d.mts +8 -1
- package/dist/index.cjs +8 -0
- package/dist/index.d.cts +7 -1
- package/dist/index.d.mts +5 -1
- package/dist/index.mjs +5 -1
- package/dist/utils/index.d.cts +5 -0
- package/dist/utils/polymorphic/index.d.cts +1 -0
- package/package.json +3 -3
- package/src/styles/global.css +32 -0
|
@@ -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,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_variants29.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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { TextArea, TextAreaFooterProps, TextAreaInputProps, TextAreaProps } from "./TextArea.cjs";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { TextVariants } from "../Text/Text.styles.cjs";
|
|
2
|
+
import "../Text/index.cjs";
|
|
2
3
|
import { TextInputVariants } from "./TextInput.styles.cjs";
|
|
3
4
|
import React from "react";
|
|
4
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime13 from "react/jsx-runtime";
|
|
5
6
|
|
|
6
7
|
//#region src/components/TextInput/TextInput.d.ts
|
|
7
8
|
interface TextInputProps extends React.ComponentProps<'input'>, TextVariants, TextInputVariants {
|
|
@@ -24,7 +25,7 @@ declare const TextInput: {
|
|
|
24
25
|
typography,
|
|
25
26
|
textColor,
|
|
26
27
|
...props
|
|
27
|
-
}: TextInputProps):
|
|
28
|
+
}: TextInputProps): react_jsx_runtime13.JSX.Element;
|
|
28
29
|
displayName: string;
|
|
29
30
|
};
|
|
30
31
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextInput.d.cts","names":[],"sources":["../../../src/components/TextInput/TextInput.tsx"],"mappings":"
|
|
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;;EAEjB,SAAA,GAAY,KAAA,CAAM,SAAA;EAJlB;EAMA,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_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,6 +1,6 @@
|
|
|
1
1
|
import { ToastVariants } from "./Toast.styles.cjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as react11 from "react";
|
|
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,13 +15,13 @@ 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) =>
|
|
24
|
-
declare const ToastProvider:
|
|
23
|
+
}: ToastViewportProps) => react_jsx_runtime37.JSX.Element;
|
|
24
|
+
declare const ToastProvider: react11.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_runtime36 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_runtime36.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_runtime36.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_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;
|
|
@@ -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/Toast/Toast.styles.d.ts
|
|
5
|
-
declare const toast:
|
|
5
|
+
declare const toast: tailwind_variants19.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_variants19.TVReturnType<{
|
|
24
24
|
variant: {
|
|
25
25
|
default: {
|
|
26
26
|
root: string;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { ToastVariants } from "./Toast.styles.mjs";
|
|
2
|
-
import { Toast, ToastProps, ToastProvider, ToastViewport, ToastViewportProps } from "./Toast.mjs";
|
|
2
|
+
import { Toast, ToastProps, ToastProvider, ToastViewport, ToastViewportProps } from "./Toast.mjs";
|
|
3
|
+
import { toast } from "./toastStore.mjs";
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
let react = require("react");
|
|
2
|
+
|
|
3
|
+
//#region src/components/Toast/toastStore.ts
|
|
4
|
+
let memoryState = [];
|
|
5
|
+
let listeners = [];
|
|
6
|
+
const notify = () => listeners.forEach((l) => l());
|
|
7
|
+
let count = 0;
|
|
8
|
+
const genId = () => {
|
|
9
|
+
count = (count + 1) % Number.MAX_SAFE_INTEGER;
|
|
10
|
+
return count.toString();
|
|
11
|
+
};
|
|
12
|
+
const dispatch = (message, type, options) => {
|
|
13
|
+
const id = genId();
|
|
14
|
+
memoryState = [{
|
|
15
|
+
id,
|
|
16
|
+
message,
|
|
17
|
+
type,
|
|
18
|
+
...options
|
|
19
|
+
}];
|
|
20
|
+
notify();
|
|
21
|
+
return id;
|
|
22
|
+
};
|
|
23
|
+
const toastRoot = (message, options) => dispatch(message, "default", options);
|
|
24
|
+
const toast = Object.assign(toastRoot, {
|
|
25
|
+
success: (message, options) => dispatch(message, "success", options),
|
|
26
|
+
error: (message, options) => dispatch(message, "error", options),
|
|
27
|
+
loading: (message, options) => dispatch(message, "loading", {
|
|
28
|
+
...options,
|
|
29
|
+
duration: options?.duration ?? 1e5
|
|
30
|
+
}),
|
|
31
|
+
dismiss: (id) => {
|
|
32
|
+
memoryState = memoryState.filter((t) => t.id !== id);
|
|
33
|
+
notify();
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
//#endregion
|
|
38
|
+
exports.toast = toast;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
//#region src/components/Toast/toastStore.d.ts
|
|
2
|
+
type ToastType = 'default' | 'success' | 'error' | 'loading';
|
|
3
|
+
interface ToastData {
|
|
4
|
+
id: string;
|
|
5
|
+
message: string;
|
|
6
|
+
type: ToastType;
|
|
7
|
+
duration?: number;
|
|
8
|
+
icon?: React.ReactNode;
|
|
9
|
+
}
|
|
10
|
+
type ToastOptions = Omit<ToastData, 'id' | 'message' | 'type'>;
|
|
11
|
+
declare const toast: ((message: string, options?: ToastOptions) => string) & {
|
|
12
|
+
success: (message: string, options?: ToastOptions) => string;
|
|
13
|
+
error: (message: string, options?: ToastOptions) => string;
|
|
14
|
+
loading: (message: string, options?: ToastOptions) => string;
|
|
15
|
+
dismiss: (id: string) => void;
|
|
16
|
+
};
|
|
17
|
+
//#endregion
|
|
18
|
+
export { toast };
|
|
19
|
+
//# sourceMappingURL=toastStore.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toastStore.d.cts","names":[],"sources":["../../../src/components/Toast/toastStore.ts"],"mappings":";KAEY,SAAA;AAAA,UAEK,SAAA;EACf,EAAA;EACA,OAAA;EACA,IAAA,EAAM,SAAA;EACN,QAAA;EACA,IAAA,GAAO,KAAA,CAAM,SAAA;AAAA;AAAA,KAGV,YAAA,GAAe,IAAA,CAAK,SAAA;AAAA,cAoCZ,KAAA,IAAK,OAAA,UAHgB,OAAA,GAAY,YAAA;6BAInB,OAAA,GAAY,YAAA;2BAEd,OAAA,GAAY,YAAA;6BAEV,OAAA,GAAY,YAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
//#region src/components/Toast/toastStore.d.ts
|
|
2
|
+
type ToastType = 'default' | 'success' | 'error' | 'loading';
|
|
3
|
+
interface ToastData {
|
|
4
|
+
id: string;
|
|
5
|
+
message: string;
|
|
6
|
+
type: ToastType;
|
|
7
|
+
duration?: number;
|
|
8
|
+
icon?: React.ReactNode;
|
|
9
|
+
}
|
|
10
|
+
type ToastOptions = Omit<ToastData, 'id' | 'message' | 'type'>;
|
|
11
|
+
declare const toast: ((message: string, options?: ToastOptions) => string) & {
|
|
12
|
+
success: (message: string, options?: ToastOptions) => string;
|
|
13
|
+
error: (message: string, options?: ToastOptions) => string;
|
|
14
|
+
loading: (message: string, options?: ToastOptions) => string;
|
|
15
|
+
dismiss: (id: string) => void;
|
|
16
|
+
};
|
|
17
|
+
//#endregion
|
|
18
|
+
export { toast };
|
|
19
|
+
//# sourceMappingURL=toastStore.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toastStore.d.mts","names":[],"sources":["../../../src/components/Toast/toastStore.ts"],"mappings":";KAEY,SAAA;AAAA,UAEK,SAAA;EACf,EAAA;EACA,OAAA;EACA,IAAA,EAAM,SAAA;EACN,QAAA;EACA,IAAA,GAAO,KAAA,CAAM,SAAA;AAAA;AAAA,KAGV,YAAA,GAAe,IAAA,CAAK,SAAA;AAAA,cAoCZ,KAAA,IAAK,OAAA,UAHgB,OAAA,GAAY,YAAA;6BAInB,OAAA,GAAY,YAAA;2BAEd,OAAA,GAAY,YAAA;6BAEV,OAAA,GAAY,YAAA"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import "react";
|
|
2
|
+
|
|
3
|
+
//#region src/components/Toast/toastStore.ts
|
|
4
|
+
let memoryState = [];
|
|
5
|
+
let listeners = [];
|
|
6
|
+
const notify = () => listeners.forEach((l) => l());
|
|
7
|
+
let count = 0;
|
|
8
|
+
const genId = () => {
|
|
9
|
+
count = (count + 1) % Number.MAX_SAFE_INTEGER;
|
|
10
|
+
return count.toString();
|
|
11
|
+
};
|
|
12
|
+
const dispatch = (message, type, options) => {
|
|
13
|
+
const id = genId();
|
|
14
|
+
memoryState = [{
|
|
15
|
+
id,
|
|
16
|
+
message,
|
|
17
|
+
type,
|
|
18
|
+
...options
|
|
19
|
+
}];
|
|
20
|
+
notify();
|
|
21
|
+
return id;
|
|
22
|
+
};
|
|
23
|
+
const toastRoot = (message, options) => dispatch(message, "default", options);
|
|
24
|
+
const toast = Object.assign(toastRoot, {
|
|
25
|
+
success: (message, options) => dispatch(message, "success", options),
|
|
26
|
+
error: (message, options) => dispatch(message, "error", options),
|
|
27
|
+
loading: (message, options) => dispatch(message, "loading", {
|
|
28
|
+
...options,
|
|
29
|
+
duration: options?.duration ?? 1e5
|
|
30
|
+
}),
|
|
31
|
+
dismiss: (id) => {
|
|
32
|
+
memoryState = memoryState.filter((t) => t.id !== id);
|
|
33
|
+
notify();
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
//#endregion
|
|
38
|
+
export { toast };
|
|
39
|
+
//# sourceMappingURL=toastStore.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toastStore.mjs","names":[],"sources":["../../../src/components/Toast/toastStore.ts"],"sourcesContent":["import { useSyncExternalStore } from 'react';\n\nexport type ToastType = 'default' | 'success' | 'error' | 'loading';\n\nexport interface ToastData {\n id: string;\n message: string;\n type: ToastType;\n duration?: number;\n icon?: React.ReactNode;\n}\n\ntype ToastOptions = Omit<ToastData, 'id' | 'message' | 'type'>;\n\nlet memoryState: ToastData[] = [];\nlet listeners: Array<() => void> = [];\nconst notify = () => listeners.forEach((l) => l());\n\nlet count = 0;\nconst genId = () => {\n count = (count + 1) % Number.MAX_SAFE_INTEGER;\n return count.toString();\n};\n\nconst dispatch = (message: string, type: ToastType, options?: ToastOptions) => {\n const id = genId();\n const newToast = { id, message, type, ...options };\n\n memoryState = [newToast];\n notify();\n return id;\n};\n\nexport const useToastStore = () => {\n return useSyncExternalStore(\n (listener) => {\n listeners.push(listener);\n return () => {\n listeners = listeners.filter((l) => l !== listener);\n };\n },\n () => memoryState,\n );\n};\n\nconst toastRoot = (message: string, options?: ToastOptions) =>\n dispatch(message, 'default', options);\n\nexport const toast = Object.assign(toastRoot, {\n success: (message: string, options?: ToastOptions) =>\n dispatch(message, 'success', options),\n error: (message: string, options?: ToastOptions) =>\n dispatch(message, 'error', options),\n loading: (message: string, options?: ToastOptions) =>\n dispatch(message, 'loading', {\n ...options,\n duration: options?.duration ?? 100000,\n }),\n dismiss: (id: string) => {\n memoryState = memoryState.filter((t) => t.id !== id);\n notify();\n },\n});\n"],"mappings":";;;AAcA,IAAI,cAA2B,EAAE;AACjC,IAAI,YAA+B,EAAE;AACrC,MAAM,eAAe,UAAU,SAAS,MAAM,GAAG,CAAC;AAElD,IAAI,QAAQ;AACZ,MAAM,cAAc;AAClB,UAAS,QAAQ,KAAK,OAAO;AAC7B,QAAO,MAAM,UAAU;;AAGzB,MAAM,YAAY,SAAiB,MAAiB,YAA2B;CAC7E,MAAM,KAAK,OAAO;AAGlB,eAAc,CAFG;EAAE;EAAI;EAAS;EAAM,GAAG;EAAS,CAE1B;AACxB,SAAQ;AACR,QAAO;;AAeT,MAAM,aAAa,SAAiB,YAClC,SAAS,SAAS,WAAW,QAAQ;AAEvC,MAAa,QAAQ,OAAO,OAAO,WAAW;CAC5C,UAAU,SAAiB,YACzB,SAAS,SAAS,WAAW,QAAQ;CACvC,QAAQ,SAAiB,YACvB,SAAS,SAAS,SAAS,QAAQ;CACrC,UAAU,SAAiB,YACzB,SAAS,SAAS,WAAW;EAC3B,GAAG;EACH,UAAU,SAAS,YAAY;EAChC,CAAC;CACJ,UAAU,OAAe;AACvB,gBAAc,YAAY,QAAQ,MAAM,EAAE,OAAO,GAAG;AACpD,UAAQ;;CAEX,CAAC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { TextVariants } from "../Text/Text.styles.cjs";
|
|
2
2
|
import { PolymorphicProps } from "../../utils/polymorphic/polymorphic.cjs";
|
|
3
3
|
import { TextElement } from "../Text/Text.cjs";
|
|
4
|
+
import "../Text/index.cjs";
|
|
5
|
+
import "../../utils/index.cjs";
|
|
4
6
|
import { ToggleVariants } from "./Toggle.styles.cjs";
|
|
5
7
|
import React from "react";
|
|
6
|
-
import * as
|
|
8
|
+
import * as react_jsx_runtime15 from "react/jsx-runtime";
|
|
7
9
|
|
|
8
10
|
//#region src/components/Toggle/Toggle.d.ts
|
|
9
11
|
interface ToggleRootProps extends Omit<React.ComponentProps<'label'>, 'onChange'>, ToggleVariants {
|
|
@@ -21,11 +23,11 @@ declare const Toggle: {
|
|
|
21
23
|
children,
|
|
22
24
|
className,
|
|
23
25
|
...props
|
|
24
|
-
}: ToggleRootProps):
|
|
26
|
+
}: ToggleRootProps): react_jsx_runtime15.JSX.Element;
|
|
25
27
|
displayName: string;
|
|
26
28
|
} & {
|
|
27
29
|
Switch: {
|
|
28
|
-
():
|
|
30
|
+
(): react_jsx_runtime15.JSX.Element;
|
|
29
31
|
displayName: string;
|
|
30
32
|
};
|
|
31
33
|
Label: {
|
|
@@ -35,7 +37,7 @@ declare const Toggle: {
|
|
|
35
37
|
textColor,
|
|
36
38
|
className,
|
|
37
39
|
...props
|
|
38
|
-
}: ToggleLabelProps<E>):
|
|
40
|
+
}: ToggleLabelProps<E>): react_jsx_runtime15.JSX.Element;
|
|
39
41
|
displayName: string;
|
|
40
42
|
};
|
|
41
43
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toggle.d.cts","names":[],"sources":["../../../src/components/Toggle/Toggle.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Toggle.d.cts","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"}
|
|
@@ -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 +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,kBAAA,CAAA,GAAA,CAAA,OAAA;;;;;;;;eAkDa,WAAA;MAAW,QAAA;MAAA,UAAA;MAAA,SAAA;MAAA,SAAA;MAAA,GAAA;IAAA,GAMvC,gBAAA,CAAiB,CAAA,IAAE,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants39 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_variants39.TVReturnType<{
|
|
6
6
|
checked: {
|
|
7
7
|
true: {
|
|
8
8
|
switch: string;
|
|
@@ -46,7 +46,7 @@ declare const toggle: tailwind_variants31.TVReturnType<{
|
|
|
46
46
|
switch: string;
|
|
47
47
|
switchThumb: string;
|
|
48
48
|
label: string;
|
|
49
|
-
},
|
|
49
|
+
}, tailwind_variants39.TVReturnType<{
|
|
50
50
|
checked: {
|
|
51
51
|
true: {
|
|
52
52
|
switch: string;
|
|
@@ -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/Toggle/Toggle.styles.d.ts
|
|
5
|
-
declare const toggle:
|
|
5
|
+
declare const toggle: tailwind_variants29.TVReturnType<{
|
|
6
6
|
checked: {
|
|
7
7
|
true: {
|
|
8
8
|
switch: string;
|
|
@@ -46,7 +46,7 @@ declare const toggle: tailwind_variants33.TVReturnType<{
|
|
|
46
46
|
switch: string;
|
|
47
47
|
switchThumb: string;
|
|
48
48
|
label: string;
|
|
49
|
-
},
|
|
49
|
+
}, tailwind_variants29.TVReturnType<{
|
|
50
50
|
checked: {
|
|
51
51
|
true: {
|
|
52
52
|
switch: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { Toggle, ToggleLabelProps, ToggleRootProps } from "./Toggle.cjs";
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { StackProps } from "../Stack/Stack.cjs";
|
|
2
|
+
import "../Stack/index.cjs";
|
|
2
3
|
import { ElementType } from "react";
|
|
3
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime18 from "react/jsx-runtime";
|
|
4
5
|
|
|
5
6
|
//#region src/components/VStack/VStack.d.ts
|
|
6
7
|
type VStackProps<E extends ElementType = 'div'> = Omit<StackProps<E>, 'direction'>;
|
|
7
8
|
declare const VStack: {
|
|
8
9
|
<E extends ElementType = "div">({
|
|
9
10
|
...props
|
|
10
|
-
}: VStackProps<E>):
|
|
11
|
+
}: VStackProps<E>): react_jsx_runtime18.JSX.Element;
|
|
11
12
|
displayName: string;
|
|
12
13
|
};
|
|
13
14
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VStack.d.cts","names":[],"sources":["../../../src/components/VStack/VStack.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"VStack.d.cts","names":[],"sources":["../../../src/components/VStack/VStack.tsx"],"mappings":";;;;;;KAGY,WAAA,WAAsB,WAAA,YAAuB,IAAA,CACvD,UAAA,CAAW,CAAA;AAAA,cAIA,MAAA;EAAA,WAAoB,WAAA;IAAA,GAAW;EAAA,GAEzC,WAAA,CAAY,CAAA,IAAE,mBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { VStack, VStackProps } from "./VStack.cjs";
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { TextVariants } from "./Text/Text.styles.cjs";
|
|
2
|
+
import { Text, TextElement, TextProps } from "./Text/Text.cjs";
|
|
3
|
+
import "./Text/index.cjs";
|
|
4
|
+
import { Field, FieldDescriptionProps, FieldErrorDescriptionProps, FieldLabelProps, FieldProps } from "./Field/Field.cjs";
|
|
5
|
+
import "./Field/index.cjs";
|
|
6
|
+
import { TextInputVariants } from "./TextInput/TextInput.styles.cjs";
|
|
7
|
+
import { TextInput, TextInputProps } from "./TextInput/TextInput.cjs";
|
|
8
|
+
import "./TextInput/index.cjs";
|
|
9
|
+
import { Primitive, PrimitiveProps } from "./Primitive/Primitive.cjs";
|
|
10
|
+
import "./Primitive/index.cjs";
|
|
11
|
+
import { TextArea, TextAreaFooterProps, TextAreaInputProps, TextAreaProps } from "./TextArea/TextArea.cjs";
|
|
12
|
+
import "./TextArea/index.cjs";
|
|
13
|
+
import { Radio, RadioGroup, RadioGroupProps, RadioProps, useRadioGroupContext } from "./Radio/Radio.cjs";
|
|
14
|
+
import "./Radio/index.cjs";
|
|
15
|
+
import { Toggle, ToggleLabelProps, ToggleRootProps } from "./Toggle/Toggle.cjs";
|
|
16
|
+
import "./Toggle/index.cjs";
|
|
17
|
+
import { Checkbox, CheckboxLabelProps, CheckboxRootProps } from "./Checkbox/Checkbox.cjs";
|
|
18
|
+
import "./Checkbox/index.cjs";
|
|
19
|
+
import { Button, ButtonProps } from "./Button/Button.cjs";
|
|
20
|
+
import "./Button/index.cjs";
|
|
21
|
+
import { CTAButton, CTAButtonProps } from "./CTAButton/CTAButton.cjs";
|
|
22
|
+
import "./CTAButton/index.cjs";
|
|
23
|
+
import { FloatingActionButton, FloatingActionButtonProps } from "./FloatingActionButton/FloatingActionButton.cjs";
|
|
24
|
+
import "./FloatingActionButton/index.cjs";
|
|
25
|
+
import { BoxVariants, box } from "./Box/Box.styles.cjs";
|
|
26
|
+
import { Box, BoxProps } from "./Box/Box.cjs";
|
|
27
|
+
import "./Box/index.cjs";
|
|
28
|
+
import { StackVariants } from "./Stack/Stack.styles.cjs";
|
|
29
|
+
import { Stack, StackProps } from "./Stack/Stack.cjs";
|
|
30
|
+
import "./Stack/index.cjs";
|
|
31
|
+
import { VStack, VStackProps } from "./VStack/VStack.cjs";
|
|
32
|
+
import "./VStack/index.cjs";
|
|
33
|
+
import { HStack, HStackProps } from "./HStack/HStack.cjs";
|
|
34
|
+
import "./HStack/index.cjs";
|
|
35
|
+
import { FlexAlign, FlexDirection, FlexGap, FlexJustify } from "./Flex/Flex.styles.cjs";
|
|
36
|
+
import { Flex, FlexProps } from "./Flex/Flex.cjs";
|
|
37
|
+
import "./Flex/index.cjs";
|
|
38
|
+
import { Grid, GridProps } from "./Grid/Grid.cjs";
|
|
39
|
+
import "./Grid/index.cjs";
|
|
40
|
+
import { SeparatorVariants } from "./Separator/Separator.styles.cjs";
|
|
41
|
+
import { Separator, SeparatorProps } from "./Separator/Separator.cjs";
|
|
42
|
+
import "./Separator/index.cjs";
|
|
43
|
+
import { SpacerVariants } from "./Spacer/Spacer.styles.cjs";
|
|
44
|
+
import { Spacer, SpacerProps } from "./Spacer/Spacer.cjs";
|
|
45
|
+
import "./Spacer/index.cjs";
|
|
46
|
+
import { RatioChart, RatioChartFooterProps, RatioChartItemProps, RatioChartRootProps } from "./RatioChart/RatioChart.cjs";
|
|
47
|
+
import { RatioChartEditor, RatioChartEditorOption, RatioChartEditorProps } from "./RatioChart/RatioChartEditor.cjs";
|
|
48
|
+
import "./RatioChart/index.cjs";
|
|
49
|
+
import { SelectVariants } from "./Select/Select.styles.cjs";
|
|
50
|
+
import { Select, SelectContentProps, SelectGroupProps, SelectItemProps, SelectLabelProps, SelectProps, SelectTriggerProps, SelectValueProps } from "./Select/Select.cjs";
|
|
51
|
+
import "./Select/index.cjs";
|
|
52
|
+
import { DialogVariants } from "./Dialog/Dialog.styles.cjs";
|
|
53
|
+
import { Dialog, DialogCloseProps, DialogContentProps, DialogDescriptionProps, DialogFooterProps, DialogOverlayProps, DialogPortalProps, DialogProps, DialogTitleProps, DialogTriggerProps } from "./Dialog/Dialog.cjs";
|
|
54
|
+
import "./Dialog/index.cjs";
|
|
55
|
+
import { DropdownVariants } from "./Dropdown/Dropdown.styles.cjs";
|
|
56
|
+
import { Dropdown, DropdownContentProps, DropdownItemProps, DropdownProps, DropdownTriggerProps } from "./Dropdown/Dropdown.cjs";
|
|
57
|
+
import "./Dropdown/index.cjs";
|
|
58
|
+
import { Float, FloatProps } from "./Float/Float.cjs";
|
|
59
|
+
import "./Float/index.cjs";
|
|
60
|
+
import { ChipVariants } from "./Chip/Chip.styles.cjs";
|
|
61
|
+
import { Chip, ChipProps } from "./Chip/Chip.cjs";
|
|
62
|
+
import "./Chip/index.cjs";
|
|
63
|
+
import { AvatarVariants } from "./Avatar/Avatar.styles.cjs";
|
|
64
|
+
import { Avatar, AvatarProps } from "./Avatar/Avatar.cjs";
|
|
65
|
+
import "./Avatar/index.cjs";
|
|
66
|
+
import { TabVariants } from "./Tab/Tab.styles.cjs";
|
|
67
|
+
import { Tab, TabContentProps, TabListProps, TabRootProps, TabTabItemProps } from "./Tab/Tab.cjs";
|
|
68
|
+
import "./Tab/index.cjs";
|
|
69
|
+
import { ToastVariants } from "./Toast/Toast.styles.cjs";
|
|
70
|
+
import { Toast, ToastProps, ToastProvider, ToastViewport, ToastViewportProps } from "./Toast/Toast.cjs";
|
|
71
|
+
import { toast } from "./Toast/toastStore.cjs";
|
|
72
|
+
import "./Toast/index.cjs";
|
|
73
|
+
import { ModalVariants } from "./Modal/Modal.styles.cjs";
|
|
74
|
+
import { Modal, ModalActionProps, ModalContentProps, ModalDescriptionProps, ModalFooterProps, ModalOverlayProps, ModalTitleProps } from "./Modal/Modal.cjs";
|
|
75
|
+
import "./Modal/index.cjs";
|
|
76
|
+
import { SidebarVariants } from "./Sidebar/Sidebar.styles.cjs";
|
|
77
|
+
import { Sidebar } from "./Sidebar/Sidebar.cjs";
|
|
78
|
+
import "./Sidebar/index.cjs";
|
|
79
|
+
import { BottomNavigation } from "./BottomNavigation/BottomNavigation.cjs";
|
|
80
|
+
import "./BottomNavigation/index.cjs";
|
|
81
|
+
import { Calendar, CalendarEvent, CalendarProps } from "./Calendar/Calendar.cjs";
|
|
82
|
+
import { Drawer } from "./Drawer/Drawer.cjs";
|
|
83
|
+
import { BottomSheet } from "./BottomSheet/BottomSheet.cjs";
|
|
84
|
+
import "./BottomSheet/index.cjs";
|
|
85
|
+
import "./Drawer/index.cjs";
|
|
86
|
+
import { Skeleton, SkeletonProps } from "./Skeleton/Skeleton.cjs";
|
|
87
|
+
import "./Skeleton/index.cjs";
|
|
88
|
+
import { Spinner, SpinnerProps } from "./Spinner/Spinner.cjs";
|
|
89
|
+
import { PullToRefresh, PullToRefreshProps } from "./PullToRefresh/PullToRefresh.cjs";
|
|
90
|
+
import "./PullToRefresh/index.cjs";
|
|
@@ -68,6 +68,7 @@ import { Tab, TabContentProps, TabListProps, TabRootProps, TabTabItemProps } fro
|
|
|
68
68
|
import "./Tab/index.mjs";
|
|
69
69
|
import { ToastVariants } from "./Toast/Toast.styles.mjs";
|
|
70
70
|
import { Toast, ToastProps, ToastProvider, ToastViewport, ToastViewportProps } from "./Toast/Toast.mjs";
|
|
71
|
+
import { toast } from "./Toast/toastStore.mjs";
|
|
71
72
|
import "./Toast/index.mjs";
|
|
72
73
|
import { ModalVariants } from "./Modal/Modal.styles.mjs";
|
|
73
74
|
import { Modal, ModalActionProps, ModalContentProps, ModalDescriptionProps, ModalFooterProps, ModalOverlayProps, ModalTitleProps } from "./Modal/Modal.mjs";
|
|
@@ -82,4 +83,10 @@ import "./Calendar/index.mjs";
|
|
|
82
83
|
import { Drawer } from "./Drawer/Drawer.mjs";
|
|
83
84
|
import { BottomSheet } from "./BottomSheet/BottomSheet.mjs";
|
|
84
85
|
import "./BottomSheet/index.mjs";
|
|
85
|
-
import "./Drawer/index.mjs";
|
|
86
|
+
import "./Drawer/index.mjs";
|
|
87
|
+
import { Skeleton, SkeletonProps } from "./Skeleton/Skeleton.mjs";
|
|
88
|
+
import "./Skeleton/index.mjs";
|
|
89
|
+
import { Spinner, SpinnerProps } from "./Spinner/Spinner.mjs";
|
|
90
|
+
import "./Spinner/index.mjs";
|
|
91
|
+
import { PullToRefresh, PullToRefreshProps } from "./PullToRefresh/PullToRefresh.mjs";
|
|
92
|
+
import "./PullToRefresh/index.mjs";
|