@deepnoid/ui 0.1.156 → 0.1.158
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/.turbo/turbo-build.log +198 -188
- package/dist/{chunk-6YTT5ACI.mjs → chunk-3QE57PU3.mjs} +1 -1
- package/dist/{chunk-KKHOCWXJ.mjs → chunk-3X376ACN.mjs} +1 -1
- package/dist/{chunk-URJA4W4R.mjs → chunk-46EIW6MN.mjs} +2 -2
- package/dist/chunk-7YMXOYES.mjs +449 -0
- package/dist/{chunk-2DAIOZ7N.mjs → chunk-CSG6FDBX.mjs} +2 -2
- package/dist/{chunk-WHU5VP5G.mjs → chunk-DDFJMHBC.mjs} +57 -2
- package/dist/{chunk-ZY3HNPPG.mjs → chunk-HKHVSCER.mjs} +1 -1
- package/dist/{chunk-ZNQML73F.mjs → chunk-IRJP6BF3.mjs} +2 -2
- package/dist/{chunk-HP4ARKW3.mjs → chunk-ITFEV25U.mjs} +1 -1
- package/dist/{chunk-7RG7CQQM.mjs → chunk-JKYLYL3A.mjs} +1 -1
- package/dist/{chunk-KX6WG4VG.mjs → chunk-KLBA5J2H.mjs} +1 -1
- package/dist/chunk-L5FRTUM6.mjs +100 -0
- package/dist/chunk-OLQOLLKG.mjs +1 -0
- package/dist/{chunk-LFALITPU.mjs → chunk-PXAJEOZS.mjs} +1 -1
- package/dist/{chunk-5VVNAW4E.mjs → chunk-QHETCLHO.mjs} +2 -2
- package/dist/{chunk-Q2YLULZH.mjs → chunk-R7KUEH3N.mjs} +1 -1
- package/dist/{chunk-47MQPUEY.mjs → chunk-SFGFRMWL.mjs} +1 -1
- package/dist/{chunk-4YVZ3XKA.mjs → chunk-V64PCWVW.mjs} +3 -3
- package/dist/{chunk-R2USZD77.mjs → chunk-XHCPYYMC.mjs} +1 -1
- package/dist/{chunk-UIRHCS6B.mjs → chunk-YQYO5RLZ.mjs} +1 -1
- package/dist/{chunk-ZGUTKE5H.mjs → chunk-Z7CLJYRF.mjs} +1 -1
- package/dist/components/avatar/avatar.js +57 -2
- package/dist/components/avatar/avatar.mjs +2 -2
- package/dist/components/avatar/index.js +57 -2
- package/dist/components/avatar/index.mjs +2 -2
- package/dist/components/breadcrumb/breadcrumb.js +57 -2
- package/dist/components/breadcrumb/breadcrumb.mjs +5 -5
- package/dist/components/breadcrumb/index.js +57 -2
- package/dist/components/breadcrumb/index.mjs +5 -5
- package/dist/components/button/button.js +57 -2
- package/dist/components/button/button.mjs +3 -3
- package/dist/components/button/icon-button.js +57 -2
- package/dist/components/button/icon-button.mjs +3 -3
- package/dist/components/button/index.js +57 -2
- package/dist/components/button/index.mjs +4 -4
- package/dist/components/chip/chip.js +57 -2
- package/dist/components/chip/chip.mjs +3 -3
- package/dist/components/chip/index.js +57 -2
- package/dist/components/chip/index.mjs +3 -3
- package/dist/components/fileUpload/fileUpload.js +57 -2
- package/dist/components/fileUpload/fileUpload.mjs +6 -6
- package/dist/components/fileUpload/index.js +57 -2
- package/dist/components/fileUpload/index.mjs +6 -6
- package/dist/components/icon/Icon.d.mts +8 -0
- package/dist/components/icon/Icon.d.ts +8 -0
- package/dist/components/icon/Icon.js +57 -2
- package/dist/components/icon/Icon.mjs +2 -2
- package/dist/components/icon/index.js +57 -2
- package/dist/components/icon/index.mjs +2 -2
- package/dist/components/icon/template.d.mts +2 -0
- package/dist/components/icon/template.d.ts +2 -0
- package/dist/components/icon/template.js +57 -2
- package/dist/components/icon/template.mjs +1 -1
- package/dist/components/input/index.js +57 -2
- package/dist/components/input/index.mjs +3 -3
- package/dist/components/input/input.js +57 -2
- package/dist/components/input/input.mjs +3 -3
- package/dist/components/list/index.js +57 -2
- package/dist/components/list/index.mjs +4 -4
- package/dist/components/list/listItem.js +57 -2
- package/dist/components/list/listItem.mjs +4 -4
- package/dist/components/modal/index.js +57 -2
- package/dist/components/modal/index.mjs +5 -5
- package/dist/components/modal/modal.js +57 -2
- package/dist/components/modal/modal.mjs +5 -5
- package/dist/components/pagination/index.js +57 -2
- package/dist/components/pagination/index.mjs +4 -4
- package/dist/components/pagination/pagination.js +57 -2
- package/dist/components/pagination/pagination.mjs +4 -4
- package/dist/components/picker/datePicker.d.mts +35 -4
- package/dist/components/picker/datePicker.d.ts +35 -4
- package/dist/components/picker/datePicker.js +238 -49
- package/dist/components/picker/datePicker.mjs +6 -6
- package/dist/components/picker/day.d.mts +2 -2
- package/dist/components/picker/day.d.ts +2 -2
- package/dist/components/picker/index.d.mts +1 -1
- package/dist/components/picker/index.d.ts +1 -1
- package/dist/components/picker/index.js +238 -49
- package/dist/components/picker/index.mjs +8 -8
- package/dist/components/picker/timePicker.js +57 -2
- package/dist/components/picker/timePicker.mjs +4 -4
- package/dist/components/radio/index.d.mts +1 -1
- package/dist/components/radio/index.d.ts +1 -1
- package/dist/components/select/index.js +57 -2
- package/dist/components/select/index.mjs +3 -3
- package/dist/components/select/select.js +57 -2
- package/dist/components/select/select.mjs +3 -3
- package/dist/components/starRating/index.d.mts +4 -0
- package/dist/components/starRating/index.d.ts +4 -0
- package/dist/components/starRating/index.js +5279 -0
- package/dist/components/starRating/index.mjs +14 -0
- package/dist/components/starRating/starRating.d.mts +60 -0
- package/dist/components/starRating/starRating.d.ts +60 -0
- package/dist/components/starRating/starRating.js +5278 -0
- package/dist/components/starRating/starRating.mjs +15 -0
- package/dist/components/table/index.js +57 -2
- package/dist/components/table/index.mjs +7 -7
- package/dist/components/table/table-body.js +57 -2
- package/dist/components/table/table-body.mjs +5 -5
- package/dist/components/table/table-head.js +57 -2
- package/dist/components/table/table-head.mjs +5 -5
- package/dist/components/table/table.js +57 -2
- package/dist/components/table/table.mjs +5 -5
- package/dist/components/timePicker/calendar.js +57 -2
- package/dist/components/timePicker/calendar.mjs +2 -2
- package/dist/components/toast/index.js +57 -2
- package/dist/components/toast/index.mjs +4 -4
- package/dist/components/toast/toast.js +57 -2
- package/dist/components/toast/toast.mjs +3 -3
- package/dist/components/toast/use-toast.js +57 -2
- package/dist/components/toast/use-toast.mjs +4 -4
- package/dist/components/tree/index.js +57 -2
- package/dist/components/tree/index.mjs +3 -3
- package/dist/components/tree/tree.js +57 -2
- package/dist/components/tree/tree.mjs +3 -3
- package/dist/index.d.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +325 -49
- package/dist/index.mjs +37 -32
- package/package.json +1 -1
- package/dist/chunk-TCURFCQ2.mjs +0 -315
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "../../chunk-OLQOLLKG.mjs";
|
|
3
|
+
import {
|
|
4
|
+
starRating_default
|
|
5
|
+
} from "../../chunk-L5FRTUM6.mjs";
|
|
6
|
+
import "../../chunk-ZYIIXWVY.mjs";
|
|
7
|
+
import "../../chunk-R7KUEH3N.mjs";
|
|
8
|
+
import "../../chunk-E3G5QXSH.mjs";
|
|
9
|
+
import "../../chunk-DDFJMHBC.mjs";
|
|
10
|
+
import "../../chunk-CDXBML6O.mjs";
|
|
11
|
+
import "../../chunk-AC6TWLRT.mjs";
|
|
12
|
+
export {
|
|
13
|
+
starRating_default as StarRating
|
|
14
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
import * as react from 'react';
|
|
4
|
+
import { HTMLAttributes } from 'react';
|
|
5
|
+
import { SlotsToClasses } from '../../utils/types.mjs';
|
|
6
|
+
|
|
7
|
+
interface Props extends Omit<HTMLAttributes<HTMLDivElement>, "onChange">, VariantProps<typeof starRatingStyle> {
|
|
8
|
+
stars: number;
|
|
9
|
+
value: number;
|
|
10
|
+
onChange?: (rating: number) => void;
|
|
11
|
+
readOnly?: boolean;
|
|
12
|
+
allowHalf?: boolean;
|
|
13
|
+
classNames?: SlotsToClasses<StarRatingSlots>;
|
|
14
|
+
filledColor?: string;
|
|
15
|
+
emptyColor?: string;
|
|
16
|
+
}
|
|
17
|
+
type StarRatingProps = Props & StarRatingVariantProps;
|
|
18
|
+
declare const StarRating: react.ForwardRefExoticComponent<Props & StarRatingVariantProps & react.RefAttributes<HTMLDivElement>>;
|
|
19
|
+
|
|
20
|
+
declare const starRatingStyle: tailwind_variants.TVReturnType<{
|
|
21
|
+
size: {
|
|
22
|
+
sm: {};
|
|
23
|
+
md: {};
|
|
24
|
+
lg: {};
|
|
25
|
+
xl: {};
|
|
26
|
+
};
|
|
27
|
+
}, {
|
|
28
|
+
base: string[];
|
|
29
|
+
starWrapper: string[];
|
|
30
|
+
star: string[];
|
|
31
|
+
starHalf: string[];
|
|
32
|
+
}, undefined, {
|
|
33
|
+
size: {
|
|
34
|
+
sm: {};
|
|
35
|
+
md: {};
|
|
36
|
+
lg: {};
|
|
37
|
+
xl: {};
|
|
38
|
+
};
|
|
39
|
+
}, {
|
|
40
|
+
base: string[];
|
|
41
|
+
starWrapper: string[];
|
|
42
|
+
star: string[];
|
|
43
|
+
starHalf: string[];
|
|
44
|
+
}, tailwind_variants.TVReturnType<{
|
|
45
|
+
size: {
|
|
46
|
+
sm: {};
|
|
47
|
+
md: {};
|
|
48
|
+
lg: {};
|
|
49
|
+
xl: {};
|
|
50
|
+
};
|
|
51
|
+
}, {
|
|
52
|
+
base: string[];
|
|
53
|
+
starWrapper: string[];
|
|
54
|
+
star: string[];
|
|
55
|
+
starHalf: string[];
|
|
56
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
57
|
+
type StarRatingVariantProps = VariantProps<typeof starRatingStyle>;
|
|
58
|
+
type StarRatingSlots = keyof ReturnType<typeof starRatingStyle>;
|
|
59
|
+
|
|
60
|
+
export { type StarRatingProps, StarRating as default, starRatingStyle };
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
import * as react from 'react';
|
|
4
|
+
import { HTMLAttributes } from 'react';
|
|
5
|
+
import { SlotsToClasses } from '../../utils/types.js';
|
|
6
|
+
|
|
7
|
+
interface Props extends Omit<HTMLAttributes<HTMLDivElement>, "onChange">, VariantProps<typeof starRatingStyle> {
|
|
8
|
+
stars: number;
|
|
9
|
+
value: number;
|
|
10
|
+
onChange?: (rating: number) => void;
|
|
11
|
+
readOnly?: boolean;
|
|
12
|
+
allowHalf?: boolean;
|
|
13
|
+
classNames?: SlotsToClasses<StarRatingSlots>;
|
|
14
|
+
filledColor?: string;
|
|
15
|
+
emptyColor?: string;
|
|
16
|
+
}
|
|
17
|
+
type StarRatingProps = Props & StarRatingVariantProps;
|
|
18
|
+
declare const StarRating: react.ForwardRefExoticComponent<Props & StarRatingVariantProps & react.RefAttributes<HTMLDivElement>>;
|
|
19
|
+
|
|
20
|
+
declare const starRatingStyle: tailwind_variants.TVReturnType<{
|
|
21
|
+
size: {
|
|
22
|
+
sm: {};
|
|
23
|
+
md: {};
|
|
24
|
+
lg: {};
|
|
25
|
+
xl: {};
|
|
26
|
+
};
|
|
27
|
+
}, {
|
|
28
|
+
base: string[];
|
|
29
|
+
starWrapper: string[];
|
|
30
|
+
star: string[];
|
|
31
|
+
starHalf: string[];
|
|
32
|
+
}, undefined, {
|
|
33
|
+
size: {
|
|
34
|
+
sm: {};
|
|
35
|
+
md: {};
|
|
36
|
+
lg: {};
|
|
37
|
+
xl: {};
|
|
38
|
+
};
|
|
39
|
+
}, {
|
|
40
|
+
base: string[];
|
|
41
|
+
starWrapper: string[];
|
|
42
|
+
star: string[];
|
|
43
|
+
starHalf: string[];
|
|
44
|
+
}, tailwind_variants.TVReturnType<{
|
|
45
|
+
size: {
|
|
46
|
+
sm: {};
|
|
47
|
+
md: {};
|
|
48
|
+
lg: {};
|
|
49
|
+
xl: {};
|
|
50
|
+
};
|
|
51
|
+
}, {
|
|
52
|
+
base: string[];
|
|
53
|
+
starWrapper: string[];
|
|
54
|
+
star: string[];
|
|
55
|
+
starHalf: string[];
|
|
56
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
57
|
+
type StarRatingVariantProps = VariantProps<typeof starRatingStyle>;
|
|
58
|
+
type StarRatingSlots = keyof ReturnType<typeof starRatingStyle>;
|
|
59
|
+
|
|
60
|
+
export { type StarRatingProps, StarRating as default, starRatingStyle };
|