@deepnoid/ui 0.0.83 → 0.0.84

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 (207) hide show
  1. package/dist/{chunk-KWOLWE6I.mjs → chunk-463XE4SI.mjs} +4 -4
  2. package/dist/chunk-5T5F5WVS.mjs +32 -0
  3. package/dist/{chunk-S4DTK5GI.mjs → chunk-ADDUBJ4I.mjs} +1 -1
  4. package/dist/{chunk-GJKNTX2T.mjs → chunk-AHORH5PH.mjs} +6 -4
  5. package/dist/{chunk-7LYJAJIS.mjs → chunk-EWKYBS7I.mjs} +13 -6
  6. package/dist/{chunk-H7BLXC5M.mjs → chunk-ILMIS63S.mjs} +14 -14
  7. package/dist/{chunk-H737LHAY.mjs → chunk-KA4L5SCT.mjs} +8 -8
  8. package/dist/{chunk-BHSCW5D6.mjs → chunk-LGELMZCN.mjs} +1 -1
  9. package/dist/chunk-LXPWTJ3F.mjs +58 -0
  10. package/dist/{chunk-FNPWLOGV.mjs → chunk-NTTHTGDK.mjs} +39 -37
  11. package/dist/{chunk-WIKB37T7.mjs → chunk-QCOPD2HG.mjs} +1 -1
  12. package/dist/{chunk-TLYAFXE2.mjs → chunk-QURXBWKK.mjs} +1902 -746
  13. package/dist/{chunk-6U736HAX.mjs → chunk-RTH3FPAS.mjs} +3 -3
  14. package/dist/chunk-SDNTEP5C.mjs +61 -0
  15. package/dist/{chunk-FLJ4ZZXV.mjs → chunk-SQLRQTFC.mjs} +1 -1
  16. package/dist/chunk-W7ABNK3K.mjs +1 -0
  17. package/dist/chunk-XTJL67KM.mjs +127 -0
  18. package/dist/chunk-ZYIIXWVY.mjs +1 -0
  19. package/dist/components/accordion/accordion.test.js +39 -37
  20. package/dist/components/accordion/accordion.test.mjs +1 -1
  21. package/dist/components/accordion/accordionItem.js +1905 -749
  22. package/dist/components/accordion/accordionItem.mjs +4 -4
  23. package/dist/components/accordion/index.js +1905 -749
  24. package/dist/components/accordion/index.mjs +4 -4
  25. package/dist/components/button/button-group.test.js +39 -37
  26. package/dist/components/button/button-group.test.mjs +2 -2
  27. package/dist/components/button/button.test.js +52 -50
  28. package/dist/components/button/button.test.mjs +2 -2
  29. package/dist/components/card/card.test.js +39 -37
  30. package/dist/components/card/card.test.mjs +1 -1
  31. package/dist/components/checkbox/checkbox.test.js +39 -37
  32. package/dist/components/checkbox/checkbox.test.mjs +2 -2
  33. package/dist/components/{list/list.d.mts → dropdown/dropdown.d.ts} +9 -9
  34. package/dist/components/dropdown/dropdown.js +122 -0
  35. package/dist/components/dropdown/dropdown.mjs +10 -0
  36. package/dist/components/dropdown/dropdown.test.js +12997 -0
  37. package/dist/components/dropdown/dropdown.test.mjs +25 -0
  38. package/dist/components/dropdown/index.js +128 -0
  39. package/dist/components/dropdown/index.mjs +11 -0
  40. package/dist/components/icon/Icon.d.ts +499 -1
  41. package/dist/components/icon/Icon.js +1940 -778
  42. package/dist/components/icon/Icon.mjs +6 -4
  43. package/dist/components/icon/index.js +1910 -751
  44. package/dist/components/icon/index.mjs +7 -5
  45. package/dist/components/icon/template.d.ts +98 -61
  46. package/dist/components/icon/template.js +1902 -746
  47. package/dist/components/icon/template.mjs +1 -1
  48. package/dist/components/input/index.js +1912 -756
  49. package/dist/components/input/index.mjs +4 -4
  50. package/dist/components/input/input.js +1912 -756
  51. package/dist/components/input/input.mjs +4 -4
  52. package/dist/components/input/input.test.js +1983 -825
  53. package/dist/components/input/input.test.mjs +6 -6
  54. package/dist/components/list/index.mjs +3 -3
  55. package/dist/components/list/list.test.js +39 -37
  56. package/dist/components/list/list.test.mjs +1 -1
  57. package/dist/components/modal/index.js +1942 -779
  58. package/dist/components/modal/index.mjs +3 -3
  59. package/dist/components/modal/modal.js +1942 -779
  60. package/dist/components/modal/modal.mjs +3 -3
  61. package/dist/components/modal/modal.test.js +1981 -816
  62. package/dist/components/modal/modal.test.mjs +4 -4
  63. package/dist/components/pagination/pagination.test.js +39 -37
  64. package/dist/components/pagination/pagination.test.mjs +1 -1
  65. package/dist/components/progress/progress.test.d.ts +0 -2
  66. package/dist/components/progress/progress.test.js +39 -37
  67. package/dist/components/progress/progress.test.mjs +1 -1
  68. package/dist/components/radio/radio.test.js +39 -37
  69. package/dist/components/radio/radio.test.mjs +1 -1
  70. package/dist/components/select/index.js +1905 -749
  71. package/dist/components/select/index.mjs +5 -5
  72. package/dist/components/select/option.js +1905 -749
  73. package/dist/components/select/option.mjs +4 -4
  74. package/dist/components/select/select.js +1905 -749
  75. package/dist/components/select/select.mjs +5 -5
  76. package/dist/components/select/select.test.js +1951 -793
  77. package/dist/components/select/select.test.mjs +7 -7
  78. package/dist/components/slider/slider.test.d.ts +0 -2
  79. package/dist/components/slider/slider.test.js +39 -37
  80. package/dist/components/slider/slider.test.mjs +1 -1
  81. package/dist/components/switch/switch.test.d.ts +0 -2
  82. package/dist/components/switch/switch.test.js +39 -37
  83. package/dist/components/switch/switch.test.mjs +1 -1
  84. package/dist/components/table/index.js +1905 -749
  85. package/dist/components/table/index.mjs +5 -5
  86. package/dist/components/table/table-body.js +1905 -749
  87. package/dist/components/table/table-body.mjs +4 -4
  88. package/dist/components/table/table.js +1905 -749
  89. package/dist/components/table/table.mjs +5 -5
  90. package/dist/components/table/table.test.d.ts +0 -2
  91. package/dist/components/table/table.test.js +1951 -793
  92. package/dist/components/table/table.test.mjs +6 -6
  93. package/dist/components/tabs/tabs.test.d.ts +0 -2
  94. package/dist/components/tabs/tabs.test.js +39 -37
  95. package/dist/components/tabs/tabs.test.mjs +2 -2
  96. package/dist/components/textarea/textarea.test.d.ts +0 -2
  97. package/dist/components/textarea/textarea.test.js +52 -50
  98. package/dist/components/textarea/textarea.test.mjs +2 -2
  99. package/dist/components/toast/index.js +3810 -0
  100. package/dist/components/toast/index.mjs +16 -0
  101. package/dist/components/toast/toast-utils.js +84 -0
  102. package/dist/components/toast/toast-utils.mjs +8 -0
  103. package/dist/components/toast/toast.d.ts +204 -0
  104. package/dist/components/toast/toast.js +3804 -0
  105. package/dist/components/toast/toast.mjs +15 -0
  106. package/dist/components/toast/toast.test.d.ts +0 -0
  107. package/dist/components/toast/toast.test.js +16689 -0
  108. package/dist/components/toast/toast.test.mjs +30 -0
  109. package/dist/components/toast/useToast.d.ts +0 -0
  110. package/dist/components/toast/useToast.js +110 -0
  111. package/dist/components/toast/useToast.mjs +9 -0
  112. package/dist/components/tooltip/tooltip-utils.d.ts +0 -2
  113. package/dist/components/tooltip/tooltip.test.d.ts +0 -2
  114. package/dist/components/tooltip/tooltip.test.js +39 -37
  115. package/dist/components/tooltip/tooltip.test.mjs +1 -1
  116. package/dist/components/tooltip/useTooltip.d.ts +0 -2
  117. package/dist/index.d.ts +4 -1
  118. package/dist/index.js +2172 -761
  119. package/dist/index.mjs +44 -30
  120. package/package.json +4 -3
  121. package/dist/components/accordion/accordion.d.mts +0 -154
  122. package/dist/components/accordion/accordionItem.d.mts +0 -282
  123. package/dist/components/accordion/index.d.mts +0 -6
  124. package/dist/components/button/button-group.d.mts +0 -14
  125. package/dist/components/button/button-group.test.d.mts +0 -2
  126. package/dist/components/button/button.d.mts +0 -18
  127. package/dist/components/button/button.test.d.mts +0 -2
  128. package/dist/components/button/index.d.mts +0 -3
  129. package/dist/components/card/card.d.mts +0 -124
  130. package/dist/components/card/card.test.d.mts +0 -2
  131. package/dist/components/card/index.d.mts +0 -5
  132. package/dist/components/card/index.d.ts +0 -5
  133. package/dist/components/checkbox/checkbox.d.mts +0 -349
  134. package/dist/components/checkbox/checkbox.test.d.mts +0 -2
  135. package/dist/components/checkbox/index.d.mts +0 -5
  136. package/dist/components/checkbox/index.d.ts +0 -5
  137. package/dist/components/icon/Icon.d.mts +0 -15
  138. package/dist/components/icon/index.d.mts +0 -4
  139. package/dist/components/icon/index.d.ts +0 -4
  140. package/dist/components/icon/template.d.mts +0 -97
  141. package/dist/components/input/index.d.mts +0 -5
  142. package/dist/components/input/index.d.ts +0 -5
  143. package/dist/components/input/input.d.mts +0 -437
  144. package/dist/components/input/input.test.d.mts +0 -2
  145. package/dist/components/list/index.d.mts +0 -6
  146. package/dist/components/list/list.test.d.mts +0 -2
  147. package/dist/components/list/listItem.d.mts +0 -183
  148. package/dist/components/modal/index.d.mts +0 -8
  149. package/dist/components/modal/index.d.ts +0 -8
  150. package/dist/components/modal/modal.d.mts +0 -214
  151. package/dist/components/modal/modal.test.d.mts +0 -2
  152. package/dist/components/pagination/index.d.mts +0 -4
  153. package/dist/components/pagination/index.d.ts +0 -4
  154. package/dist/components/pagination/pagination.d.mts +0 -186
  155. package/dist/components/pagination/pagination.test.d.mts +0 -2
  156. package/dist/components/pagination/usePagination.d.mts +0 -16
  157. package/dist/components/progress/index.d.mts +0 -5
  158. package/dist/components/progress/index.d.ts +0 -5
  159. package/dist/components/progress/progress.d.mts +0 -281
  160. package/dist/components/progress/progress.test.d.mts +0 -2
  161. package/dist/components/radio/index.d.mts +0 -5
  162. package/dist/components/radio/index.d.ts +0 -5
  163. package/dist/components/radio/radio.d.mts +0 -278
  164. package/dist/components/radio/radio.test.d.mts +0 -2
  165. package/dist/components/select/index.d.mts +0 -5
  166. package/dist/components/select/index.d.ts +0 -5
  167. package/dist/components/select/option.d.mts +0 -18
  168. package/dist/components/select/select.d.mts +0 -449
  169. package/dist/components/select/select.test.d.mts +0 -2
  170. package/dist/components/select/useSelect.d.mts +0 -32
  171. package/dist/components/slider/index.d.mts +0 -5
  172. package/dist/components/slider/index.d.ts +0 -5
  173. package/dist/components/slider/slider.d.mts +0 -333
  174. package/dist/components/slider/slider.test.d.mts +0 -2
  175. package/dist/components/switch/index.d.mts +0 -5
  176. package/dist/components/switch/index.d.ts +0 -5
  177. package/dist/components/switch/switch.d.mts +0 -304
  178. package/dist/components/switch/switch.test.d.mts +0 -2
  179. package/dist/components/table/index.d.mts +0 -5
  180. package/dist/components/table/index.d.ts +0 -5
  181. package/dist/components/table/table-body.d.mts +0 -26
  182. package/dist/components/table/table-head.d.mts +0 -21
  183. package/dist/components/table/table.d.mts +0 -583
  184. package/dist/components/table/table.test.d.mts +0 -2
  185. package/dist/components/tabs/index.d.mts +0 -5
  186. package/dist/components/tabs/index.d.ts +0 -5
  187. package/dist/components/tabs/tabs.d.mts +0 -241
  188. package/dist/components/tabs/tabs.test.d.mts +0 -2
  189. package/dist/components/textarea/index.d.mts +0 -2
  190. package/dist/components/textarea/index.d.ts +0 -2
  191. package/dist/components/textarea/textarea.d.mts +0 -17
  192. package/dist/components/textarea/textarea.test.d.mts +0 -2
  193. package/dist/components/tooltip/index.d.mts +0 -6
  194. package/dist/components/tooltip/index.d.ts +0 -6
  195. package/dist/components/tooltip/tooltip-utils.d.mts +0 -2
  196. package/dist/components/tooltip/tooltip.d.mts +0 -143
  197. package/dist/components/tooltip/tooltip.test.d.mts +0 -2
  198. package/dist/components/tooltip/useTooltip.d.mts +0 -2
  199. package/dist/index.d.mts +0 -30
  200. package/dist/tooltip-utils-DCKA5gnI.d.mts +0 -30
  201. package/dist/tooltip-utils-DCKA5gnI.d.ts +0 -30
  202. package/dist/utils/clsx.d.mts +0 -3
  203. package/dist/utils/props.d.mts +0 -3
  204. package/dist/utils/tailwind-variants.d.mts +0 -26
  205. package/dist/utils/types.d.mts +0 -10
  206. /package/dist/{chunk-M5PMA3CT.mjs → chunk-RDEWIZV3.mjs} +0 -0
  207. /package/dist/components/{accordion/accordion.test.d.mts → dropdown/dropdown.test.d.ts} +0 -0
@@ -1,214 +0,0 @@
1
- import * as tailwind_variants from 'tailwind-variants';
2
- import { VariantProps } from 'tailwind-variants';
3
- import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
4
- import react__default, { ReactNode } from 'react';
5
- import { SlotsToClasses } from '../../utils/types.mjs';
6
- import { IconName } from '../icon/Icon.mjs';
7
- import 'react/jsx-runtime';
8
- import '../icon/template.mjs';
9
-
10
- interface Props {
11
- color?: "primary" | "secondary" | "neutral" | "success" | "info" | "warning" | "danger";
12
- classNames?: SlotsToClasses<ModalSlots>;
13
- isOpen?: boolean;
14
- icon?: IconName | JSX.Element;
15
- title?: string;
16
- subTitle?: string;
17
- content?: ReactNode | string;
18
- confirmButtonText?: string;
19
- cancelButtonText?: string;
20
- showCloseButton?: boolean;
21
- isDismissable?: boolean;
22
- isKeyboardDismissDisabled?: boolean;
23
- onConfirm?: () => void;
24
- onCancel?: () => void;
25
- }
26
- type ModalProps = Props & ModalVariantProps;
27
- declare const Modal: react__default.ForwardRefExoticComponent<Props & ModalVariantProps & react__default.RefAttributes<HTMLDivElement>>;
28
-
29
- declare const modal: tailwind_variants.TVReturnType<{
30
- color: {
31
- primary: {
32
- icon: string;
33
- };
34
- secondary: {
35
- icon: string;
36
- };
37
- neutral: {
38
- icon: string;
39
- };
40
- success: {
41
- icon: string;
42
- };
43
- info: {
44
- icon: string;
45
- };
46
- warning: {
47
- icon: string;
48
- };
49
- danger: {
50
- icon: string;
51
- };
52
- };
53
- }, {
54
- backdrop: string[];
55
- modalWrapper: string[];
56
- icon: string[];
57
- closeIcon: string[];
58
- titleWrapper: string[];
59
- title: string;
60
- subTitle: string;
61
- bodyWrapper: string[];
62
- body: string[];
63
- content: string[];
64
- footerWrapper: string[];
65
- }, undefined, {
66
- responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
67
- color?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
68
- } | undefined;
69
- } & tailwind_variants_dist_config.TWMConfig & {
70
- twMergeConfig: {
71
- classGroups: {
72
- fontSize: {
73
- text: string[];
74
- }[];
75
- borderRadius: {
76
- rounded: string[];
77
- }[];
78
- boxShadow: {
79
- shadow: string[];
80
- }[];
81
- padding: {
82
- p: string[];
83
- }[];
84
- gap: {
85
- gap: string[];
86
- }[];
87
- };
88
- };
89
- }, {
90
- color: {
91
- primary: {
92
- icon: string;
93
- };
94
- secondary: {
95
- icon: string;
96
- };
97
- neutral: {
98
- icon: string;
99
- };
100
- success: {
101
- icon: string;
102
- };
103
- info: {
104
- icon: string;
105
- };
106
- warning: {
107
- icon: string;
108
- };
109
- danger: {
110
- icon: string;
111
- };
112
- };
113
- }, {
114
- backdrop: string[];
115
- modalWrapper: string[];
116
- icon: string[];
117
- closeIcon: string[];
118
- titleWrapper: string[];
119
- title: string;
120
- subTitle: string;
121
- bodyWrapper: string[];
122
- body: string[];
123
- content: string[];
124
- footerWrapper: string[];
125
- }, tailwind_variants.TVReturnType<{
126
- color: {
127
- primary: {
128
- icon: string;
129
- };
130
- secondary: {
131
- icon: string;
132
- };
133
- neutral: {
134
- icon: string;
135
- };
136
- success: {
137
- icon: string;
138
- };
139
- info: {
140
- icon: string;
141
- };
142
- warning: {
143
- icon: string;
144
- };
145
- danger: {
146
- icon: string;
147
- };
148
- };
149
- }, {
150
- backdrop: string[];
151
- modalWrapper: string[];
152
- icon: string[];
153
- closeIcon: string[];
154
- titleWrapper: string[];
155
- title: string;
156
- subTitle: string;
157
- bodyWrapper: string[];
158
- body: string[];
159
- content: string[];
160
- footerWrapper: string[];
161
- }, undefined, tailwind_variants_dist_config.TVConfig<{
162
- color: {
163
- primary: {
164
- icon: string;
165
- };
166
- secondary: {
167
- icon: string;
168
- };
169
- neutral: {
170
- icon: string;
171
- };
172
- success: {
173
- icon: string;
174
- };
175
- info: {
176
- icon: string;
177
- };
178
- warning: {
179
- icon: string;
180
- };
181
- danger: {
182
- icon: string;
183
- };
184
- };
185
- }, {
186
- color: {
187
- primary: {
188
- icon: string;
189
- };
190
- secondary: {
191
- icon: string;
192
- };
193
- neutral: {
194
- icon: string;
195
- };
196
- success: {
197
- icon: string;
198
- };
199
- info: {
200
- icon: string;
201
- };
202
- warning: {
203
- icon: string;
204
- };
205
- danger: {
206
- icon: string;
207
- };
208
- };
209
- }>, unknown, unknown, undefined>>;
210
- type ModalVariantProps = VariantProps<typeof modal>;
211
- type ModalSlots = keyof ReturnType<typeof modal>;
212
- type ModalReturnType = ReturnType<typeof modal>;
213
-
214
- export { type ModalProps, type ModalReturnType, type ModalSlots, type ModalVariantProps, type Props, Modal as default, modal };
@@ -1,2 +0,0 @@
1
-
2
- export { }
@@ -1,4 +0,0 @@
1
- export { default as Pagination, PaginationProps } from './pagination.mjs';
2
- import 'tailwind-variants';
3
- import 'react';
4
- import '../../utils/types.mjs';
@@ -1,4 +0,0 @@
1
- export { default as Pagination, PaginationProps } from './pagination.js';
2
- import 'tailwind-variants';
3
- import 'react';
4
- import '../../utils/types.js';
@@ -1,186 +0,0 @@
1
- import * as tailwind_variants from 'tailwind-variants';
2
- import { VariantProps } from 'tailwind-variants';
3
- import * as react from 'react';
4
- import { ComponentPropsWithRef } from 'react';
5
- import { SlotsToClasses } from '../../utils/types.mjs';
6
-
7
- interface Props extends Omit<ComponentPropsWithRef<"div">, "ref"> {
8
- classNames?: SlotsToClasses<PaginationSlots>;
9
- currentPage: number;
10
- totalPage: number;
11
- groupSize: number;
12
- showPageNumber?: boolean;
13
- showPageLabel?: boolean;
14
- showFirstLastButtons?: boolean;
15
- handleChangePage?: (currentPage: number) => void;
16
- }
17
- type PaginationProps = Props & PaginationVariantProps;
18
- declare const Pagination: react.ForwardRefExoticComponent<Props & PaginationVariantProps & react.RefAttributes<HTMLDivElement>>;
19
-
20
- declare const pagination: tailwind_variants.TVReturnType<{
21
- variant: {
22
- solid: {
23
- button: string[];
24
- icon: string;
25
- };
26
- line: {
27
- wrapper: string;
28
- button: string[];
29
- icon: string;
30
- };
31
- };
32
- size: {
33
- sm: {
34
- wrapper: string;
35
- label: string;
36
- icon: string[];
37
- button: string[];
38
- };
39
- md: {
40
- wrapper: string;
41
- label: string;
42
- icon: string[];
43
- button: string[];
44
- };
45
- lg: {
46
- wrapper: string;
47
- label: string;
48
- icon: string[];
49
- button: string[];
50
- };
51
- };
52
- color: {
53
- primary: {
54
- label: string;
55
- };
56
- secondary: {
57
- label: string;
58
- };
59
- };
60
- }, {
61
- base: string;
62
- label: string;
63
- wrapper: string;
64
- icon: string;
65
- button: string;
66
- }, undefined, {
67
- twMerge: false;
68
- } & {
69
- twMergeConfig: {
70
- classGroups: {
71
- fontSize: {
72
- text: string[];
73
- }[];
74
- borderRadius: {
75
- rounded: string[];
76
- }[];
77
- boxShadow: {
78
- shadow: string[];
79
- }[];
80
- padding: {
81
- p: string[];
82
- }[];
83
- gap: {
84
- gap: string[];
85
- }[];
86
- };
87
- };
88
- }, {
89
- variant: {
90
- solid: {
91
- button: string[];
92
- icon: string;
93
- };
94
- line: {
95
- wrapper: string;
96
- button: string[];
97
- icon: string;
98
- };
99
- };
100
- size: {
101
- sm: {
102
- wrapper: string;
103
- label: string;
104
- icon: string[];
105
- button: string[];
106
- };
107
- md: {
108
- wrapper: string;
109
- label: string;
110
- icon: string[];
111
- button: string[];
112
- };
113
- lg: {
114
- wrapper: string;
115
- label: string;
116
- icon: string[];
117
- button: string[];
118
- };
119
- };
120
- color: {
121
- primary: {
122
- label: string;
123
- };
124
- secondary: {
125
- label: string;
126
- };
127
- };
128
- }, {
129
- base: string;
130
- label: string;
131
- wrapper: string;
132
- icon: string;
133
- button: string;
134
- }, tailwind_variants.TVReturnType<{
135
- variant: {
136
- solid: {
137
- button: string[];
138
- icon: string;
139
- };
140
- line: {
141
- wrapper: string;
142
- button: string[];
143
- icon: string;
144
- };
145
- };
146
- size: {
147
- sm: {
148
- wrapper: string;
149
- label: string;
150
- icon: string[];
151
- button: string[];
152
- };
153
- md: {
154
- wrapper: string;
155
- label: string;
156
- icon: string[];
157
- button: string[];
158
- };
159
- lg: {
160
- wrapper: string;
161
- label: string;
162
- icon: string[];
163
- button: string[];
164
- };
165
- };
166
- color: {
167
- primary: {
168
- label: string;
169
- };
170
- secondary: {
171
- label: string;
172
- };
173
- };
174
- }, {
175
- base: string;
176
- label: string;
177
- wrapper: string;
178
- icon: string;
179
- button: string;
180
- }, undefined, {
181
- twMerge: false;
182
- }, unknown, unknown, undefined>>;
183
- type PaginationVariantProps = VariantProps<typeof pagination>;
184
- type PaginationSlots = keyof ReturnType<typeof pagination>;
185
-
186
- export { Pagination, type PaginationProps, type PaginationSlots, type PaginationVariantProps, type Props, Pagination as default, pagination };
@@ -1,2 +0,0 @@
1
-
2
- export { }
@@ -1,16 +0,0 @@
1
- import { MouseEvent } from 'react';
2
-
3
- interface UsePaginationProps {
4
- currentPage: number;
5
- totalPage: number;
6
- groupSize: number;
7
- handleChangePage?: (currentPage: number) => void;
8
- }
9
- declare const usePagination: ({ currentPage, totalPage, groupSize, handleChangePage }: UsePaginationProps) => {
10
- startPage: number;
11
- endPage: number;
12
- pageList: number[];
13
- handleClickMovePage: (page: number) => (event: MouseEvent) => void;
14
- };
15
-
16
- export { usePagination as default };
@@ -1,5 +0,0 @@
1
- export { default as Progress, ProgressProps } from './progress.mjs';
2
- import 'tailwind-variants';
3
- import 'tailwind-variants/dist/config';
4
- import 'react';
5
- import '../../utils/types.mjs';
@@ -1,5 +0,0 @@
1
- export { default as Progress, ProgressProps } from './progress.js';
2
- import 'tailwind-variants';
3
- import 'tailwind-variants/dist/config';
4
- import 'react';
5
- import '../../utils/types.js';