@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.
Files changed (115) hide show
  1. package/.turbo/turbo-build.log +185 -175
  2. package/dist/{chunk-DQ3ZRNX4.mjs → chunk-3QE57PU3.mjs} +1 -1
  3. package/dist/{chunk-5KOTQEFC.mjs → chunk-3X376ACN.mjs} +1 -1
  4. package/dist/{chunk-IN6M25YL.mjs → chunk-46EIW6MN.mjs} +2 -2
  5. package/dist/{chunk-T7IJB3N4.mjs → chunk-7YMXOYES.mjs} +4 -4
  6. package/dist/{chunk-ACFDUCPL.mjs → chunk-CSG6FDBX.mjs} +2 -2
  7. package/dist/{chunk-VUMESK5D.mjs → chunk-DDFJMHBC.mjs} +37 -2
  8. package/dist/{chunk-JJAPJQUD.mjs → chunk-HKHVSCER.mjs} +1 -1
  9. package/dist/{chunk-MGGBCCZL.mjs → chunk-IRJP6BF3.mjs} +2 -2
  10. package/dist/{chunk-NB45YSED.mjs → chunk-ITFEV25U.mjs} +1 -1
  11. package/dist/{chunk-DSEF7GGB.mjs → chunk-JKYLYL3A.mjs} +1 -1
  12. package/dist/{chunk-QJUPHJN6.mjs → chunk-KLBA5J2H.mjs} +1 -1
  13. package/dist/chunk-L5FRTUM6.mjs +100 -0
  14. package/dist/chunk-OLQOLLKG.mjs +1 -0
  15. package/dist/{chunk-PO4H65C3.mjs → chunk-PXAJEOZS.mjs} +1 -1
  16. package/dist/{chunk-T6V6BJOT.mjs → chunk-QHETCLHO.mjs} +2 -2
  17. package/dist/{chunk-LBJN5TAP.mjs → chunk-R7KUEH3N.mjs} +1 -1
  18. package/dist/{chunk-BFC4VP3B.mjs → chunk-SFGFRMWL.mjs} +1 -1
  19. package/dist/{chunk-ZUAOUHWS.mjs → chunk-V64PCWVW.mjs} +3 -3
  20. package/dist/{chunk-HLWNJLRZ.mjs → chunk-XHCPYYMC.mjs} +1 -1
  21. package/dist/{chunk-73NBUI4Y.mjs → chunk-YQYO5RLZ.mjs} +1 -1
  22. package/dist/{chunk-SHI7P4DQ.mjs → chunk-Z7CLJYRF.mjs} +1 -1
  23. package/dist/components/avatar/avatar.js +37 -2
  24. package/dist/components/avatar/avatar.mjs +2 -2
  25. package/dist/components/avatar/index.js +37 -2
  26. package/dist/components/avatar/index.mjs +2 -2
  27. package/dist/components/breadcrumb/breadcrumb.js +37 -2
  28. package/dist/components/breadcrumb/breadcrumb.mjs +5 -5
  29. package/dist/components/breadcrumb/index.js +37 -2
  30. package/dist/components/breadcrumb/index.mjs +5 -5
  31. package/dist/components/button/button.js +37 -2
  32. package/dist/components/button/button.mjs +3 -3
  33. package/dist/components/button/icon-button.js +37 -2
  34. package/dist/components/button/icon-button.mjs +3 -3
  35. package/dist/components/button/index.js +37 -2
  36. package/dist/components/button/index.mjs +4 -4
  37. package/dist/components/chip/chip.js +37 -2
  38. package/dist/components/chip/chip.mjs +3 -3
  39. package/dist/components/chip/index.js +37 -2
  40. package/dist/components/chip/index.mjs +3 -3
  41. package/dist/components/fileUpload/fileUpload.js +37 -2
  42. package/dist/components/fileUpload/fileUpload.mjs +6 -6
  43. package/dist/components/fileUpload/index.js +37 -2
  44. package/dist/components/fileUpload/index.mjs +6 -6
  45. package/dist/components/icon/Icon.d.mts +4 -0
  46. package/dist/components/icon/Icon.d.ts +4 -0
  47. package/dist/components/icon/Icon.js +37 -2
  48. package/dist/components/icon/Icon.mjs +2 -2
  49. package/dist/components/icon/index.js +37 -2
  50. package/dist/components/icon/index.mjs +2 -2
  51. package/dist/components/icon/template.d.mts +1 -0
  52. package/dist/components/icon/template.d.ts +1 -0
  53. package/dist/components/icon/template.js +37 -2
  54. package/dist/components/icon/template.mjs +1 -1
  55. package/dist/components/input/index.js +37 -2
  56. package/dist/components/input/index.mjs +3 -3
  57. package/dist/components/input/input.js +37 -2
  58. package/dist/components/input/input.mjs +3 -3
  59. package/dist/components/list/index.js +37 -2
  60. package/dist/components/list/index.mjs +4 -4
  61. package/dist/components/list/listItem.js +37 -2
  62. package/dist/components/list/listItem.mjs +4 -4
  63. package/dist/components/modal/index.js +37 -2
  64. package/dist/components/modal/index.mjs +5 -5
  65. package/dist/components/modal/modal.js +37 -2
  66. package/dist/components/modal/modal.mjs +5 -5
  67. package/dist/components/pagination/index.js +37 -2
  68. package/dist/components/pagination/index.mjs +4 -4
  69. package/dist/components/pagination/pagination.js +37 -2
  70. package/dist/components/pagination/pagination.mjs +4 -4
  71. package/dist/components/picker/datePicker.js +37 -2
  72. package/dist/components/picker/datePicker.mjs +6 -6
  73. package/dist/components/picker/day.d.mts +2 -2
  74. package/dist/components/picker/day.d.ts +2 -2
  75. package/dist/components/picker/index.js +37 -2
  76. package/dist/components/picker/index.mjs +8 -8
  77. package/dist/components/picker/timePicker.js +37 -2
  78. package/dist/components/picker/timePicker.mjs +4 -4
  79. package/dist/components/select/index.js +37 -2
  80. package/dist/components/select/index.mjs +3 -3
  81. package/dist/components/select/select.js +37 -2
  82. package/dist/components/select/select.mjs +3 -3
  83. package/dist/components/starRating/index.d.mts +4 -0
  84. package/dist/components/starRating/index.d.ts +4 -0
  85. package/dist/components/starRating/index.js +5279 -0
  86. package/dist/components/starRating/index.mjs +14 -0
  87. package/dist/components/starRating/starRating.d.mts +60 -0
  88. package/dist/components/starRating/starRating.d.ts +60 -0
  89. package/dist/components/starRating/starRating.js +5278 -0
  90. package/dist/components/starRating/starRating.mjs +15 -0
  91. package/dist/components/table/index.js +37 -2
  92. package/dist/components/table/index.mjs +7 -7
  93. package/dist/components/table/table-body.js +37 -2
  94. package/dist/components/table/table-body.mjs +5 -5
  95. package/dist/components/table/table-head.js +37 -2
  96. package/dist/components/table/table-head.mjs +5 -5
  97. package/dist/components/table/table.js +37 -2
  98. package/dist/components/table/table.mjs +5 -5
  99. package/dist/components/timePicker/calendar.js +37 -2
  100. package/dist/components/timePicker/calendar.mjs +2 -2
  101. package/dist/components/toast/index.js +37 -2
  102. package/dist/components/toast/index.mjs +4 -4
  103. package/dist/components/toast/toast.js +37 -2
  104. package/dist/components/toast/toast.mjs +3 -3
  105. package/dist/components/toast/use-toast.js +37 -2
  106. package/dist/components/toast/use-toast.mjs +4 -4
  107. package/dist/components/tree/index.js +37 -2
  108. package/dist/components/tree/index.mjs +3 -3
  109. package/dist/components/tree/tree.js +37 -2
  110. package/dist/components/tree/tree.mjs +3 -3
  111. package/dist/index.d.mts +1 -0
  112. package/dist/index.d.ts +1 -0
  113. package/dist/index.js +124 -2
  114. package/dist/index.mjs +37 -32
  115. 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 };