@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
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as tailwind_variants51 from "tailwind-variants";
|
|
2
|
+
import { VariantProps } from "tailwind-variants";
|
|
3
|
+
|
|
4
|
+
//#region src/components/Skeleton/Skeleton.styles.d.ts
|
|
5
|
+
declare const skeleton: tailwind_variants51.TVReturnType<{
|
|
6
|
+
radius: {
|
|
7
|
+
'0': string;
|
|
8
|
+
'8': string;
|
|
9
|
+
'16': string;
|
|
10
|
+
full: string;
|
|
11
|
+
};
|
|
12
|
+
tone: {
|
|
13
|
+
neutral: string;
|
|
14
|
+
magic: string;
|
|
15
|
+
};
|
|
16
|
+
}, undefined, string[], {
|
|
17
|
+
radius: {
|
|
18
|
+
'0': string;
|
|
19
|
+
'8': string;
|
|
20
|
+
'16': string;
|
|
21
|
+
full: string;
|
|
22
|
+
};
|
|
23
|
+
tone: {
|
|
24
|
+
neutral: string;
|
|
25
|
+
magic: string;
|
|
26
|
+
};
|
|
27
|
+
}, undefined, tailwind_variants51.TVReturnType<{
|
|
28
|
+
radius: {
|
|
29
|
+
'0': string;
|
|
30
|
+
'8': string;
|
|
31
|
+
'16': string;
|
|
32
|
+
full: string;
|
|
33
|
+
};
|
|
34
|
+
tone: {
|
|
35
|
+
neutral: string;
|
|
36
|
+
magic: string;
|
|
37
|
+
};
|
|
38
|
+
}, undefined, string[], unknown, unknown, undefined>>;
|
|
39
|
+
type SkeletonVariants = VariantProps<typeof skeleton>;
|
|
40
|
+
interface SkeletonSizeOptions {
|
|
41
|
+
width?: number | string;
|
|
42
|
+
height?: number | string;
|
|
43
|
+
minWidth?: number;
|
|
44
|
+
maxWidth?: number;
|
|
45
|
+
minHeight?: number;
|
|
46
|
+
maxHeight?: number;
|
|
47
|
+
}
|
|
48
|
+
//#endregion
|
|
49
|
+
export { SkeletonSizeOptions, SkeletonVariants };
|
|
50
|
+
//# sourceMappingURL=Skeleton.styles.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Skeleton.styles.d.cts","names":[],"sources":["../../../src/components/Skeleton/Skeleton.styles.ts"],"mappings":";;;;cAGa,QAAA,EAqBX,mBAAA,CArBmB,YAAA;;;;;;;;;;;;;;;;;;;;;;cAqBnB,mBAAA,CAAA,YAAA;;;;;;;;;;;;KAEU,gBAAA,GAAmB,YAAA,QAAoB,QAAA;AAAA,UAElC,mBAAA;EACf,KAAA;EACA,MAAA;EACA,QAAA;EACA,QAAA;EACA,SAAA;EACA,SAAA;AAAA"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as tailwind_variants49 from "tailwind-variants";
|
|
2
|
+
import { VariantProps } from "tailwind-variants";
|
|
3
|
+
|
|
4
|
+
//#region src/components/Skeleton/Skeleton.styles.d.ts
|
|
5
|
+
declare const skeleton: tailwind_variants49.TVReturnType<{
|
|
6
|
+
radius: {
|
|
7
|
+
'0': string;
|
|
8
|
+
'8': string;
|
|
9
|
+
'16': string;
|
|
10
|
+
full: string;
|
|
11
|
+
};
|
|
12
|
+
tone: {
|
|
13
|
+
neutral: string;
|
|
14
|
+
magic: string;
|
|
15
|
+
};
|
|
16
|
+
}, undefined, string[], {
|
|
17
|
+
radius: {
|
|
18
|
+
'0': string;
|
|
19
|
+
'8': string;
|
|
20
|
+
'16': string;
|
|
21
|
+
full: string;
|
|
22
|
+
};
|
|
23
|
+
tone: {
|
|
24
|
+
neutral: string;
|
|
25
|
+
magic: string;
|
|
26
|
+
};
|
|
27
|
+
}, undefined, tailwind_variants49.TVReturnType<{
|
|
28
|
+
radius: {
|
|
29
|
+
'0': string;
|
|
30
|
+
'8': string;
|
|
31
|
+
'16': string;
|
|
32
|
+
full: string;
|
|
33
|
+
};
|
|
34
|
+
tone: {
|
|
35
|
+
neutral: string;
|
|
36
|
+
magic: string;
|
|
37
|
+
};
|
|
38
|
+
}, undefined, string[], unknown, unknown, undefined>>;
|
|
39
|
+
type SkeletonVariants = VariantProps<typeof skeleton>;
|
|
40
|
+
interface SkeletonSizeOptions {
|
|
41
|
+
width?: number | string;
|
|
42
|
+
height?: number | string;
|
|
43
|
+
minWidth?: number;
|
|
44
|
+
maxWidth?: number;
|
|
45
|
+
minHeight?: number;
|
|
46
|
+
maxHeight?: number;
|
|
47
|
+
}
|
|
48
|
+
//#endregion
|
|
49
|
+
export { SkeletonSizeOptions, SkeletonVariants };
|
|
50
|
+
//# sourceMappingURL=Skeleton.styles.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Skeleton.styles.d.mts","names":[],"sources":["../../../src/components/Skeleton/Skeleton.styles.ts"],"mappings":";;;;cAGa,QAAA,EAqBX,mBAAA,CArBmB,YAAA;;;;;;;;;;;;;;;;;;;;;;cAqBnB,mBAAA,CAAA,YAAA;;;;;;;;;;;;KAEU,gBAAA,GAAmB,YAAA,QAAoB,QAAA;AAAA,UAElC,mBAAA;EACf,KAAA;EACA,MAAA;EACA,QAAA;EACA,QAAA;EACA,SAAA;EACA,SAAA;AAAA"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { convertPxToRem } from "../../utils/converter/converter.mjs";
|
|
2
|
+
import { tv } from "tailwind-variants";
|
|
3
|
+
|
|
4
|
+
//#region src/components/Skeleton/Skeleton.styles.ts
|
|
5
|
+
const skeleton = tv({
|
|
6
|
+
base: [
|
|
7
|
+
"relative",
|
|
8
|
+
"overflow-hidden",
|
|
9
|
+
"animate-skeleton-pulse"
|
|
10
|
+
],
|
|
11
|
+
variants: {
|
|
12
|
+
radius: {
|
|
13
|
+
"0": "rounded-none",
|
|
14
|
+
"8": "rounded-[8px]",
|
|
15
|
+
"16": "rounded-[16px]",
|
|
16
|
+
full: "rounded-full"
|
|
17
|
+
},
|
|
18
|
+
tone: {
|
|
19
|
+
neutral: "bg-gray-200",
|
|
20
|
+
magic: "bg-purple-100"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
defaultVariants: {
|
|
24
|
+
radius: "8",
|
|
25
|
+
tone: "neutral"
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
const skeletonSizeStyles = ({ width, height, minWidth, maxWidth, minHeight, maxHeight }) => ({
|
|
29
|
+
width: typeof width === "number" ? convertPxToRem(width) : width,
|
|
30
|
+
height: typeof height === "number" ? convertPxToRem(height) : height,
|
|
31
|
+
minWidth: minWidth ? convertPxToRem(minWidth) : void 0,
|
|
32
|
+
maxWidth: maxWidth ? convertPxToRem(maxWidth) : void 0,
|
|
33
|
+
minHeight: minHeight ? convertPxToRem(minHeight) : void 0,
|
|
34
|
+
maxHeight: maxHeight ? convertPxToRem(maxHeight) : void 0
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
//#endregion
|
|
38
|
+
export { skeleton, skeletonSizeStyles };
|
|
39
|
+
//# sourceMappingURL=Skeleton.styles.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Skeleton.styles.mjs","names":[],"sources":["../../../src/components/Skeleton/Skeleton.styles.ts"],"sourcesContent":["import { tv, type VariantProps } from 'tailwind-variants';\nimport { convertPxToRem } from '../../utils';\n\nexport const skeleton = tv({\n base: ['relative', 'overflow-hidden', 'animate-skeleton-pulse'],\n\n variants: {\n radius: {\n '0': 'rounded-none',\n '8': 'rounded-[8px]',\n '16': 'rounded-[16px]',\n full: 'rounded-full',\n },\n\n tone: {\n neutral: 'bg-gray-200',\n magic: 'bg-purple-100',\n },\n },\n\n defaultVariants: {\n radius: '8',\n tone: 'neutral',\n },\n});\n\nexport type SkeletonVariants = VariantProps<typeof skeleton>;\n\nexport interface SkeletonSizeOptions {\n width?: number | string;\n height?: number | string;\n minWidth?: number;\n maxWidth?: number;\n minHeight?: number;\n maxHeight?: number;\n}\n\nexport const skeletonSizeStyles = ({\n width,\n height,\n minWidth,\n maxWidth,\n minHeight,\n maxHeight,\n}: SkeletonSizeOptions) => ({\n width: typeof width === 'number' ? convertPxToRem(width) : width,\n height: typeof height === 'number' ? convertPxToRem(height) : height,\n minWidth: minWidth ? convertPxToRem(minWidth) : undefined,\n maxWidth: maxWidth ? convertPxToRem(maxWidth) : undefined,\n minHeight: minHeight ? convertPxToRem(minHeight) : undefined,\n maxHeight: maxHeight ? convertPxToRem(maxHeight) : undefined,\n});\n"],"mappings":";;;;AAGA,MAAa,WAAW,GAAG;CACzB,MAAM;EAAC;EAAY;EAAmB;EAAyB;CAE/D,UAAU;EACR,QAAQ;GACN,KAAK;GACL,KAAK;GACL,MAAM;GACN,MAAM;GACP;EAED,MAAM;GACJ,SAAS;GACT,OAAO;GACR;EACF;CAED,iBAAiB;EACf,QAAQ;EACR,MAAM;EACP;CACF,CAAC;AAaF,MAAa,sBAAsB,EACjC,OACA,QACA,UACA,UACA,WACA,iBAC0B;CAC1B,OAAO,OAAO,UAAU,WAAW,eAAe,MAAM,GAAG;CAC3D,QAAQ,OAAO,WAAW,WAAW,eAAe,OAAO,GAAG;CAC9D,UAAU,WAAW,eAAe,SAAS,GAAG;CAChD,UAAU,WAAW,eAAe,SAAS,GAAG;CAChD,WAAW,YAAY,eAAe,UAAU,GAAG;CACnD,WAAW,YAAY,eAAe,UAAU,GAAG;CACpD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { Skeleton, SkeletonProps } from "./Skeleton.cjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { Skeleton, SkeletonProps } from "./Skeleton.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Spacer.d.cts","names":[],"sources":["../../../src/components/Spacer/Spacer.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Spacer.d.cts","names":[],"sources":["../../../src/components/Spacer/Spacer.tsx"],"mappings":";;;;;;KAKY,WAAA,WAAsB,WAAA,YAAuB,gBAAA,CACvD,CAAA,EACA,cAAA;AAAA,cAGW,MAAA;EAAA,WAAoB,WAAA;IAAW,EAAA;IAAA,IAAA;IAAA,SAAA;IAAA,GAAA;EAAA,GAKzC,WAAA,CAAY,CAAA,IAAE,KAAA,CAAA,YAAA,eAAA,KAAA,CAAA,qBAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants7 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Spacer/Spacer.styles.d.ts
|
|
5
|
-
declare const spacer:
|
|
5
|
+
declare const spacer: tailwind_variants7.TVReturnType<{
|
|
6
6
|
size: {
|
|
7
7
|
1: string;
|
|
8
8
|
2: string;
|
|
@@ -30,7 +30,7 @@ declare const spacer: tailwind_variants9.TVReturnType<{
|
|
|
30
30
|
24: string;
|
|
31
31
|
auto: string;
|
|
32
32
|
};
|
|
33
|
-
}, undefined,
|
|
33
|
+
}, undefined, tailwind_variants7.TVReturnType<{
|
|
34
34
|
size: {
|
|
35
35
|
1: string;
|
|
36
36
|
2: string;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
const require_Spinner_styles = require('./Spinner.styles.cjs');
|
|
3
|
+
let react = require("react");
|
|
4
|
+
react = require_rolldown_runtime.__toESM(react);
|
|
5
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
|
+
|
|
7
|
+
//#region src/components/Spinner/Spinner.tsx
|
|
8
|
+
const Spinner = ({ className, size, color, speed, ...props }) => {
|
|
9
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
10
|
+
className: require_Spinner_styles.spinner({
|
|
11
|
+
size,
|
|
12
|
+
color,
|
|
13
|
+
speed,
|
|
14
|
+
className
|
|
15
|
+
}),
|
|
16
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
17
|
+
fill: "none",
|
|
18
|
+
viewBox: "0 0 24 24",
|
|
19
|
+
role: "status",
|
|
20
|
+
"aria-label": "loading",
|
|
21
|
+
...props,
|
|
22
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("circle", {
|
|
23
|
+
className: "opacity-25",
|
|
24
|
+
cx: "12",
|
|
25
|
+
cy: "12",
|
|
26
|
+
r: "10",
|
|
27
|
+
stroke: "currentColor",
|
|
28
|
+
strokeWidth: "4"
|
|
29
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
30
|
+
className: "opacity-75",
|
|
31
|
+
fill: "currentColor",
|
|
32
|
+
d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
|
|
33
|
+
})]
|
|
34
|
+
});
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
//#endregion
|
|
38
|
+
exports.Spinner = Spinner;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { SpinnerVariants } from "./Spinner.styles.cjs";
|
|
2
|
+
import * as react_jsx_runtime80 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/components/Spinner/Spinner.d.ts
|
|
5
|
+
interface SpinnerProps extends SpinnerVariants {
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
declare const Spinner: ({
|
|
9
|
+
className,
|
|
10
|
+
size,
|
|
11
|
+
color,
|
|
12
|
+
speed,
|
|
13
|
+
...props
|
|
14
|
+
}: SpinnerProps) => react_jsx_runtime80.JSX.Element;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { Spinner, SpinnerProps };
|
|
17
|
+
//# sourceMappingURL=Spinner.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Spinner.d.cts","names":[],"sources":["../../../src/components/Spinner/Spinner.tsx"],"mappings":";;;;UAGiB,YAAA,SAAqB,eAAA;EACpC,SAAA;AAAA;AAAA,cAKW,OAAA;EAAW,SAAA;EAAA,IAAA;EAAA,KAAA;EAAA,KAAA;EAAA,GAAA;AAAA,GAMrB,YAAA,KAAY,mBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { SpinnerVariants } from "./Spinner.styles.mjs";
|
|
2
|
+
import * as react_jsx_runtime79 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/components/Spinner/Spinner.d.ts
|
|
5
|
+
interface SpinnerProps extends SpinnerVariants {
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
declare const Spinner: ({
|
|
9
|
+
className,
|
|
10
|
+
size,
|
|
11
|
+
color,
|
|
12
|
+
speed,
|
|
13
|
+
...props
|
|
14
|
+
}: SpinnerProps) => react_jsx_runtime79.JSX.Element;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { Spinner, SpinnerProps };
|
|
17
|
+
//# sourceMappingURL=Spinner.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Spinner.d.mts","names":[],"sources":["../../../src/components/Spinner/Spinner.tsx"],"mappings":";;;;UAGiB,YAAA,SAAqB,eAAA;EACpC,SAAA;AAAA;AAAA,cAKW,OAAA;EAAW,SAAA;EAAA,IAAA;EAAA,KAAA;EAAA,KAAA;EAAA,GAAA;AAAA,GAMrB,YAAA,KAAY,mBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { spinner } from "./Spinner.styles.mjs";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region src/components/Spinner/Spinner.tsx
|
|
6
|
+
const Spinner = ({ className, size, color, speed, ...props }) => {
|
|
7
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
8
|
+
className: spinner({
|
|
9
|
+
size,
|
|
10
|
+
color,
|
|
11
|
+
speed,
|
|
12
|
+
className
|
|
13
|
+
}),
|
|
14
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
+
fill: "none",
|
|
16
|
+
viewBox: "0 0 24 24",
|
|
17
|
+
role: "status",
|
|
18
|
+
"aria-label": "loading",
|
|
19
|
+
...props,
|
|
20
|
+
children: [/* @__PURE__ */ jsx("circle", {
|
|
21
|
+
className: "opacity-25",
|
|
22
|
+
cx: "12",
|
|
23
|
+
cy: "12",
|
|
24
|
+
r: "10",
|
|
25
|
+
stroke: "currentColor",
|
|
26
|
+
strokeWidth: "4"
|
|
27
|
+
}), /* @__PURE__ */ jsx("path", {
|
|
28
|
+
className: "opacity-75",
|
|
29
|
+
fill: "currentColor",
|
|
30
|
+
d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
|
|
31
|
+
})]
|
|
32
|
+
});
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
//#endregion
|
|
36
|
+
export { Spinner };
|
|
37
|
+
//# sourceMappingURL=Spinner.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Spinner.mjs","names":[],"sources":["../../../src/components/Spinner/Spinner.tsx"],"sourcesContent":["import React from 'react';\nimport { spinner, type SpinnerVariants } from './Spinner.styles';\n\nexport interface SpinnerProps extends SpinnerVariants {\n className?: string;\n}\n\n//TODO: svg는 아이콘 패키지로 마이그레이션 필요\n\nexport const Spinner = ({\n className,\n size,\n color,\n speed,\n ...props\n}: SpinnerProps) => {\n return (\n <svg\n className={spinner({ size, color, speed, className })}\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"none\"\n viewBox=\"0 0 24 24\"\n role=\"status\"\n aria-label=\"loading\"\n {...props}\n >\n <circle\n className=\"opacity-25\"\n cx=\"12\"\n cy=\"12\"\n r=\"10\"\n stroke=\"currentColor\"\n strokeWidth=\"4\"\n ></circle>\n <path\n className=\"opacity-75\"\n fill=\"currentColor\"\n d=\"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z\"\n ></path>\n </svg>\n );\n};\n"],"mappings":";;;;;AASA,MAAa,WAAW,EACtB,WACA,MACA,OACA,OACA,GAAG,YACe;AAClB,QACE,qBAAC;EACC,WAAW,QAAQ;GAAE;GAAM;GAAO;GAAO;GAAW,CAAC;EACrD,OAAM;EACN,MAAK;EACL,SAAQ;EACR,MAAK;EACL,cAAW;EACX,GAAI;aAEJ,oBAAC;GACC,WAAU;GACV,IAAG;GACH,IAAG;GACH,GAAE;GACF,QAAO;GACP,aAAY;IACJ,EACV,oBAAC;GACC,WAAU;GACV,MAAK;GACL,GAAE;IACI;GACJ"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
let tailwind_variants = require("tailwind-variants");
|
|
3
|
+
|
|
4
|
+
//#region src/components/Spinner/Spinner.styles.ts
|
|
5
|
+
const spinner = (0, tailwind_variants.tv)({
|
|
6
|
+
base: "animate-spin",
|
|
7
|
+
variants: {
|
|
8
|
+
color: {
|
|
9
|
+
primary: "text-blue-400",
|
|
10
|
+
white: "text-white",
|
|
11
|
+
gray: "text-gray-400",
|
|
12
|
+
black: "text-gray-900"
|
|
13
|
+
},
|
|
14
|
+
size: {
|
|
15
|
+
xs: "w-3.5 h-3.5",
|
|
16
|
+
sm: "w-4 h-4",
|
|
17
|
+
md: "w-6 h-6",
|
|
18
|
+
lg: "w-8 h-8",
|
|
19
|
+
xl: "w-12 h-12"
|
|
20
|
+
},
|
|
21
|
+
speed: {
|
|
22
|
+
normal: "[animation-duration:1s]",
|
|
23
|
+
fast: "[animation-duration:0.5s]"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
defaultVariants: {
|
|
27
|
+
color: "primary",
|
|
28
|
+
size: "md",
|
|
29
|
+
speed: "normal"
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
//#endregion
|
|
34
|
+
exports.spinner = spinner;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import * as tailwind_variants57 from "tailwind-variants";
|
|
2
|
+
import { VariantProps } from "tailwind-variants";
|
|
3
|
+
|
|
4
|
+
//#region src/components/Spinner/Spinner.styles.d.ts
|
|
5
|
+
declare const spinner: tailwind_variants57.TVReturnType<{
|
|
6
|
+
color: {
|
|
7
|
+
primary: string;
|
|
8
|
+
white: string;
|
|
9
|
+
gray: string;
|
|
10
|
+
black: string;
|
|
11
|
+
};
|
|
12
|
+
size: {
|
|
13
|
+
xs: string;
|
|
14
|
+
sm: string;
|
|
15
|
+
md: string;
|
|
16
|
+
lg: string;
|
|
17
|
+
xl: string;
|
|
18
|
+
};
|
|
19
|
+
speed: {
|
|
20
|
+
normal: string;
|
|
21
|
+
fast: string;
|
|
22
|
+
};
|
|
23
|
+
}, undefined, "animate-spin", {
|
|
24
|
+
color: {
|
|
25
|
+
primary: string;
|
|
26
|
+
white: string;
|
|
27
|
+
gray: string;
|
|
28
|
+
black: string;
|
|
29
|
+
};
|
|
30
|
+
size: {
|
|
31
|
+
xs: string;
|
|
32
|
+
sm: string;
|
|
33
|
+
md: string;
|
|
34
|
+
lg: string;
|
|
35
|
+
xl: string;
|
|
36
|
+
};
|
|
37
|
+
speed: {
|
|
38
|
+
normal: string;
|
|
39
|
+
fast: string;
|
|
40
|
+
};
|
|
41
|
+
}, undefined, tailwind_variants57.TVReturnType<{
|
|
42
|
+
color: {
|
|
43
|
+
primary: string;
|
|
44
|
+
white: string;
|
|
45
|
+
gray: string;
|
|
46
|
+
black: string;
|
|
47
|
+
};
|
|
48
|
+
size: {
|
|
49
|
+
xs: string;
|
|
50
|
+
sm: string;
|
|
51
|
+
md: string;
|
|
52
|
+
lg: string;
|
|
53
|
+
xl: string;
|
|
54
|
+
};
|
|
55
|
+
speed: {
|
|
56
|
+
normal: string;
|
|
57
|
+
fast: string;
|
|
58
|
+
};
|
|
59
|
+
}, undefined, "animate-spin", unknown, unknown, undefined>>;
|
|
60
|
+
type SpinnerVariants = VariantProps<typeof spinner>;
|
|
61
|
+
//#endregion
|
|
62
|
+
export { SpinnerVariants };
|
|
63
|
+
//# sourceMappingURL=Spinner.styles.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Spinner.styles.d.cts","names":[],"sources":["../../../src/components/Spinner/Spinner.styles.ts"],"mappings":";;;;cAEa,OAAA,EA0BX,mBAAA,CA1BkB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA0BlB,mBAAA,CAAA,YAAA;;;;;;;;;;;;;;;;;;;KAEU,eAAA,GAAkB,YAAA,QAAoB,OAAA"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import * as tailwind_variants51 from "tailwind-variants";
|
|
2
|
+
import { VariantProps } from "tailwind-variants";
|
|
3
|
+
|
|
4
|
+
//#region src/components/Spinner/Spinner.styles.d.ts
|
|
5
|
+
declare const spinner: tailwind_variants51.TVReturnType<{
|
|
6
|
+
color: {
|
|
7
|
+
primary: string;
|
|
8
|
+
white: string;
|
|
9
|
+
gray: string;
|
|
10
|
+
black: string;
|
|
11
|
+
};
|
|
12
|
+
size: {
|
|
13
|
+
xs: string;
|
|
14
|
+
sm: string;
|
|
15
|
+
md: string;
|
|
16
|
+
lg: string;
|
|
17
|
+
xl: string;
|
|
18
|
+
};
|
|
19
|
+
speed: {
|
|
20
|
+
normal: string;
|
|
21
|
+
fast: string;
|
|
22
|
+
};
|
|
23
|
+
}, undefined, "animate-spin", {
|
|
24
|
+
color: {
|
|
25
|
+
primary: string;
|
|
26
|
+
white: string;
|
|
27
|
+
gray: string;
|
|
28
|
+
black: string;
|
|
29
|
+
};
|
|
30
|
+
size: {
|
|
31
|
+
xs: string;
|
|
32
|
+
sm: string;
|
|
33
|
+
md: string;
|
|
34
|
+
lg: string;
|
|
35
|
+
xl: string;
|
|
36
|
+
};
|
|
37
|
+
speed: {
|
|
38
|
+
normal: string;
|
|
39
|
+
fast: string;
|
|
40
|
+
};
|
|
41
|
+
}, undefined, tailwind_variants51.TVReturnType<{
|
|
42
|
+
color: {
|
|
43
|
+
primary: string;
|
|
44
|
+
white: string;
|
|
45
|
+
gray: string;
|
|
46
|
+
black: string;
|
|
47
|
+
};
|
|
48
|
+
size: {
|
|
49
|
+
xs: string;
|
|
50
|
+
sm: string;
|
|
51
|
+
md: string;
|
|
52
|
+
lg: string;
|
|
53
|
+
xl: string;
|
|
54
|
+
};
|
|
55
|
+
speed: {
|
|
56
|
+
normal: string;
|
|
57
|
+
fast: string;
|
|
58
|
+
};
|
|
59
|
+
}, undefined, "animate-spin", unknown, unknown, undefined>>;
|
|
60
|
+
type SpinnerVariants = VariantProps<typeof spinner>;
|
|
61
|
+
//#endregion
|
|
62
|
+
export { SpinnerVariants };
|
|
63
|
+
//# sourceMappingURL=Spinner.styles.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Spinner.styles.d.mts","names":[],"sources":["../../../src/components/Spinner/Spinner.styles.ts"],"mappings":";;;;cAEa,OAAA,EA0BX,mBAAA,CA1BkB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA0BlB,mBAAA,CAAA,YAAA;;;;;;;;;;;;;;;;;;;KAEU,eAAA,GAAkB,YAAA,QAAoB,OAAA"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { tv } from "tailwind-variants";
|
|
2
|
+
|
|
3
|
+
//#region src/components/Spinner/Spinner.styles.ts
|
|
4
|
+
const spinner = tv({
|
|
5
|
+
base: "animate-spin",
|
|
6
|
+
variants: {
|
|
7
|
+
color: {
|
|
8
|
+
primary: "text-blue-400",
|
|
9
|
+
white: "text-white",
|
|
10
|
+
gray: "text-gray-400",
|
|
11
|
+
black: "text-gray-900"
|
|
12
|
+
},
|
|
13
|
+
size: {
|
|
14
|
+
xs: "w-3.5 h-3.5",
|
|
15
|
+
sm: "w-4 h-4",
|
|
16
|
+
md: "w-6 h-6",
|
|
17
|
+
lg: "w-8 h-8",
|
|
18
|
+
xl: "w-12 h-12"
|
|
19
|
+
},
|
|
20
|
+
speed: {
|
|
21
|
+
normal: "[animation-duration:1s]",
|
|
22
|
+
fast: "[animation-duration:0.5s]"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
defaultVariants: {
|
|
26
|
+
color: "primary",
|
|
27
|
+
size: "md",
|
|
28
|
+
speed: "normal"
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
//#endregion
|
|
33
|
+
export { spinner };
|
|
34
|
+
//# sourceMappingURL=Spinner.styles.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Spinner.styles.mjs","names":[],"sources":["../../../src/components/Spinner/Spinner.styles.ts"],"sourcesContent":["import { tv, type VariantProps } from 'tailwind-variants';\n\nexport const spinner = tv({\n base: 'animate-spin',\n variants: {\n color: {\n primary: 'text-blue-400',\n white: 'text-white',\n gray: 'text-gray-400',\n black: 'text-gray-900',\n },\n size: {\n xs: 'w-3.5 h-3.5', // 14px\n sm: 'w-4 h-4', // 16px\n md: 'w-6 h-6', // 24px\n lg: 'w-8 h-8',\n xl: 'w-12 h-12',\n },\n speed: {\n normal: '[animation-duration:1s]',\n fast: '[animation-duration:0.5s]', // 2배 빠름\n },\n },\n defaultVariants: {\n color: 'primary',\n size: 'md',\n speed: 'normal',\n },\n});\n\nexport type SpinnerVariants = VariantProps<typeof spinner>;\n"],"mappings":";;;AAEA,MAAa,UAAU,GAAG;CACxB,MAAM;CACN,UAAU;EACR,OAAO;GACL,SAAS;GACT,OAAO;GACP,MAAM;GACN,OAAO;GACR;EACD,MAAM;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACL;EACD,OAAO;GACL,QAAQ;GACR,MAAM;GACP;EACF;CACD,iBAAiB;EACf,OAAO;EACP,MAAM;EACN,OAAO;EACR;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { Spinner, SpinnerProps } from "./Spinner.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stack.d.cts","names":[],"sources":["../../../src/components/Stack/Stack.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Stack.d.cts","names":[],"sources":["../../../src/components/Stack/Stack.tsx"],"mappings":";;;;;;KAKY,UAAA,WAAqB,WAAA,YAAuB,gBAAA,CACtD,CAAA,EACA,aAAA;;;AAFF;;cASa,KAAA;EAAA,WAAmB,WAAA;IAAW,EAAA;IAAA,SAAA;IAAA,GAAA;IAAA,KAAA;IAAA,OAAA;IAAA,SAAA;IAAA,QAAA;IAAA,GAAA;EAAA,GASxC,UAAA,CAAW,CAAA,IAAE,KAAA,CAAA,YAAA,eAAA,KAAA,CAAA,qBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tab.d.cts","names":[],"sources":["../../../src/components/Tab/Tab.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Tab.d.cts","names":[],"sources":["../../../src/components/Tab/Tab.tsx"],"mappings":";;;;;;;UAoBiB,YAAA,SAAqB,WAAA;EACpC,WAAA,GAAc,qBAAA;EACd,YAAA;EACA,KAAA;EACA,aAAA,IAAiB,CAAA;EACjB,EAAA;EACA,SAAA;EACA,QAAA,EAAU,OAAA,CAAM,SAAA;AAAA;AAAA,KA4CN,YAAA,GAAe,OAAA,CAAM,wBAAA;EAC/B,OAAA;AAAA;AAAA,UAkBe,eAAA,SACP,OAAA,CAAM,wBAAA,YAAoC,cAAA;EAClD,KAAA;AAAA;AAAA,KAkDU,eAAA,GAAkB,OAAA,CAAM,wBAAA;EAClC,KAAA;EACA,UAAA;EACA,OAAA;AAAA;AAAA,cAgCW,GAAA;EAAA;;;;;;;;;KA1IV,YAAA,GAAY,mBAAA,CAAA,GAAA,CAAA,OAAA;;;;;;;;;;;;;OAAZ,YAAA,GAAY,mBAAA,CAAA,GAAA,CAAA,OAAA;;;;;;;OAoC2B,YAAA,GAAY,mBAAA,CAAA,GAAA,CAAA,OAAA;;;;;;;;;;OAyBnD,eAAA,GAAe,mBAAA,CAAA,GAAA,CAAA,OAAA;;;;;;;;;;;OAuDf,eAAA,GAAe,mBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -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_variants21.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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Text.d.cts","names":[],"sources":["../../../src/components/Text/Text.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Text.d.cts","names":[],"sources":["../../../src/components/Text/Text.tsx"],"mappings":";;;;;;KAKY,WAAA;AAAA,KAaA,SAAA,WAAoB,WAAA,IAAe,gBAAA,CAC7C,CAAA,EACA,YAAA;AAAA,cAGW,IAAA;EAAA,WAAkB,WAAA;IAAW,QAAA;IAAA,UAAA;IAAA,SAAA;IAAA,KAAA;IAAA,EAAA;IAAA,SAAA;IAAA,GAAA;EAAA,GAQvC,SAAA,CAAU,CAAA,WAAE,wBAAA"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { PrimitiveProps } from "../Primitive/Primitive.cjs";
|
|
2
|
+
import "../Primitive/index.cjs";
|
|
2
3
|
import { TextAreaVariants } from "./TextArea.styles.cjs";
|
|
3
4
|
import React from "react";
|
|
4
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
5
6
|
|
|
6
7
|
//#region src/components/TextArea/TextArea.d.ts
|
|
7
8
|
interface TextAreaProps extends React.HTMLAttributes<HTMLDivElement>, PrimitiveProps {
|
|
@@ -16,7 +17,7 @@ declare const TextArea: {
|
|
|
16
17
|
className,
|
|
17
18
|
children,
|
|
18
19
|
...props
|
|
19
|
-
}: TextAreaProps):
|
|
20
|
+
}: TextAreaProps): react_jsx_runtime1.JSX.Element;
|
|
20
21
|
displayName: string;
|
|
21
22
|
} & {
|
|
22
23
|
Input: {
|
|
@@ -25,7 +26,7 @@ declare const TextArea: {
|
|
|
25
26
|
disabled: disabledProp,
|
|
26
27
|
className,
|
|
27
28
|
...props
|
|
28
|
-
}: TextAreaInputProps):
|
|
29
|
+
}: TextAreaInputProps): react_jsx_runtime1.JSX.Element;
|
|
29
30
|
displayName: string;
|
|
30
31
|
};
|
|
31
32
|
Footer: {
|
|
@@ -33,7 +34,7 @@ declare const TextArea: {
|
|
|
33
34
|
className,
|
|
34
35
|
children,
|
|
35
36
|
...props
|
|
36
|
-
}: TextAreaFooterProps):
|
|
37
|
+
}: TextAreaFooterProps): react_jsx_runtime1.JSX.Element;
|
|
37
38
|
displayName: string;
|
|
38
39
|
};
|
|
39
40
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextArea.d.cts","names":[],"sources":["../../../src/components/TextArea/TextArea.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"TextArea.d.cts","names":[],"sources":["../../../src/components/TextArea/TextArea.tsx"],"mappings":";;;;;;;UAMiB,aAAA,SACP,KAAA,CAAM,cAAA,CAAe,cAAA,GAAiB,cAAA;EAC9C,QAAA,EAAU,KAAA,CAAM,SAAA;AAAA;AAAA,UAmBD,kBAAA,SACP,KAAA,CAAM,cAAA,cAA4B,IAAA,CAAK,gBAAA;AAAA,UAmBhC,mBAAA,SACP,KAAA,CAAM,cAAA,CAAe,cAAA,GAAiB,cAAA;EAC9C,QAAA,EAAU,KAAA,CAAM,SAAA;AAAA;AAAA,cAqBL,QAAA;EAAA;;;;KA3D4C,aAAA,GAAa,kBAAA,CAAA,GAAA,CAAA,OAAA;;;;;;;;;OAwBnE,kBAAA,GAAkB,kBAAA,CAAA,GAAA,CAAA,OAAA;;;;;;;;OAqBlB,mBAAA,GAAmB,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|