@deepnoid/ui 0.1.157 → 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 +185 -175
- package/dist/{chunk-DQ3ZRNX4.mjs → chunk-3QE57PU3.mjs} +1 -1
- package/dist/{chunk-5KOTQEFC.mjs → chunk-3X376ACN.mjs} +1 -1
- package/dist/{chunk-IN6M25YL.mjs → chunk-46EIW6MN.mjs} +2 -2
- package/dist/{chunk-T7IJB3N4.mjs → chunk-7YMXOYES.mjs} +4 -4
- package/dist/{chunk-ACFDUCPL.mjs → chunk-CSG6FDBX.mjs} +2 -2
- package/dist/{chunk-VUMESK5D.mjs → chunk-DDFJMHBC.mjs} +37 -2
- package/dist/{chunk-JJAPJQUD.mjs → chunk-HKHVSCER.mjs} +1 -1
- package/dist/{chunk-MGGBCCZL.mjs → chunk-IRJP6BF3.mjs} +2 -2
- package/dist/{chunk-NB45YSED.mjs → chunk-ITFEV25U.mjs} +1 -1
- package/dist/{chunk-DSEF7GGB.mjs → chunk-JKYLYL3A.mjs} +1 -1
- package/dist/{chunk-QJUPHJN6.mjs → chunk-KLBA5J2H.mjs} +1 -1
- package/dist/chunk-L5FRTUM6.mjs +100 -0
- package/dist/chunk-OLQOLLKG.mjs +1 -0
- package/dist/{chunk-PO4H65C3.mjs → chunk-PXAJEOZS.mjs} +1 -1
- package/dist/{chunk-T6V6BJOT.mjs → chunk-QHETCLHO.mjs} +2 -2
- package/dist/{chunk-LBJN5TAP.mjs → chunk-R7KUEH3N.mjs} +1 -1
- package/dist/{chunk-BFC4VP3B.mjs → chunk-SFGFRMWL.mjs} +1 -1
- package/dist/{chunk-ZUAOUHWS.mjs → chunk-V64PCWVW.mjs} +3 -3
- package/dist/{chunk-HLWNJLRZ.mjs → chunk-XHCPYYMC.mjs} +1 -1
- package/dist/{chunk-73NBUI4Y.mjs → chunk-YQYO5RLZ.mjs} +1 -1
- package/dist/{chunk-SHI7P4DQ.mjs → chunk-Z7CLJYRF.mjs} +1 -1
- package/dist/components/avatar/avatar.js +37 -2
- package/dist/components/avatar/avatar.mjs +2 -2
- package/dist/components/avatar/index.js +37 -2
- package/dist/components/avatar/index.mjs +2 -2
- package/dist/components/breadcrumb/breadcrumb.js +37 -2
- package/dist/components/breadcrumb/breadcrumb.mjs +5 -5
- package/dist/components/breadcrumb/index.js +37 -2
- package/dist/components/breadcrumb/index.mjs +5 -5
- package/dist/components/button/button.js +37 -2
- package/dist/components/button/button.mjs +3 -3
- package/dist/components/button/icon-button.js +37 -2
- package/dist/components/button/icon-button.mjs +3 -3
- package/dist/components/button/index.js +37 -2
- package/dist/components/button/index.mjs +4 -4
- package/dist/components/chip/chip.js +37 -2
- package/dist/components/chip/chip.mjs +3 -3
- package/dist/components/chip/index.js +37 -2
- package/dist/components/chip/index.mjs +3 -3
- package/dist/components/fileUpload/fileUpload.js +37 -2
- package/dist/components/fileUpload/fileUpload.mjs +6 -6
- package/dist/components/fileUpload/index.js +37 -2
- package/dist/components/fileUpload/index.mjs +6 -6
- package/dist/components/icon/Icon.d.mts +4 -0
- package/dist/components/icon/Icon.d.ts +4 -0
- package/dist/components/icon/Icon.js +37 -2
- package/dist/components/icon/Icon.mjs +2 -2
- package/dist/components/icon/index.js +37 -2
- package/dist/components/icon/index.mjs +2 -2
- package/dist/components/icon/template.d.mts +1 -0
- package/dist/components/icon/template.d.ts +1 -0
- package/dist/components/icon/template.js +37 -2
- package/dist/components/icon/template.mjs +1 -1
- package/dist/components/input/index.js +37 -2
- package/dist/components/input/index.mjs +3 -3
- package/dist/components/input/input.js +37 -2
- package/dist/components/input/input.mjs +3 -3
- package/dist/components/list/index.js +37 -2
- package/dist/components/list/index.mjs +4 -4
- package/dist/components/list/listItem.js +37 -2
- package/dist/components/list/listItem.mjs +4 -4
- package/dist/components/modal/index.js +37 -2
- package/dist/components/modal/index.mjs +5 -5
- package/dist/components/modal/modal.js +37 -2
- package/dist/components/modal/modal.mjs +5 -5
- package/dist/components/pagination/index.js +37 -2
- package/dist/components/pagination/index.mjs +4 -4
- package/dist/components/pagination/pagination.js +37 -2
- package/dist/components/pagination/pagination.mjs +4 -4
- package/dist/components/picker/datePicker.js +37 -2
- 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.js +37 -2
- package/dist/components/picker/index.mjs +8 -8
- package/dist/components/picker/timePicker.js +37 -2
- package/dist/components/picker/timePicker.mjs +4 -4
- package/dist/components/select/index.js +37 -2
- package/dist/components/select/index.mjs +3 -3
- package/dist/components/select/select.js +37 -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 +37 -2
- package/dist/components/table/index.mjs +7 -7
- package/dist/components/table/table-body.js +37 -2
- package/dist/components/table/table-body.mjs +5 -5
- package/dist/components/table/table-head.js +37 -2
- package/dist/components/table/table-head.mjs +5 -5
- package/dist/components/table/table.js +37 -2
- package/dist/components/table/table.mjs +5 -5
- package/dist/components/timePicker/calendar.js +37 -2
- package/dist/components/timePicker/calendar.mjs +2 -2
- package/dist/components/toast/index.js +37 -2
- package/dist/components/toast/index.mjs +4 -4
- package/dist/components/toast/toast.js +37 -2
- package/dist/components/toast/toast.mjs +3 -3
- package/dist/components/toast/use-toast.js +37 -2
- package/dist/components/toast/use-toast.mjs +4 -4
- package/dist/components/tree/index.js +37 -2
- package/dist/components/tree/index.mjs +3 -3
- package/dist/components/tree/tree.js +37 -2
- package/dist/components/tree/tree.mjs +3 -3
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +124 -2
- package/dist/index.mjs +37 -32
- package/package.json +1 -1
|
@@ -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 };
|