@deepnoid/ui 0.0.88 → 0.0.90
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/{chunk-4VIEZ5FT.mjs → chunk-2BCJZILI.mjs} +10 -9
- package/dist/chunk-2ZFHB4JM.mjs +76 -0
- package/dist/{chunk-4DLTBZUQ.mjs → chunk-3DRIHQOM.mjs} +7 -5
- package/dist/{chunk-IXFP2WQ4.mjs → chunk-6YE26GOI.mjs} +10 -8
- package/dist/chunk-75HLCORR.mjs +1 -0
- package/dist/{chunk-K6HPMTN4.mjs → chunk-7HHFRKJU.mjs} +1 -1
- package/dist/{chunk-H2HUJ4N2.mjs → chunk-A3RWT3JJ.mjs} +9 -4
- package/dist/{chunk-BE2OG6M4.mjs → chunk-ANYPMQH4.mjs} +28 -21
- package/dist/{chunk-5HSZ5AYM.mjs → chunk-B4KZBOGT.mjs} +16 -16
- package/dist/{chunk-KHWFCTPX.mjs → chunk-DWROPKZW.mjs} +6 -6
- package/dist/{chunk-FPCP4OOL.mjs → chunk-EDEV4IK4.mjs} +3 -3
- package/dist/{chunk-IOV7MEPG.mjs → chunk-IOCRFIQF.mjs} +30 -0
- package/dist/{chunk-SFNR4F3J.mjs → chunk-L6BQA6GI.mjs} +2 -2
- package/dist/{chunk-YGTJU3GD.mjs → chunk-L7P6OBUX.mjs} +10 -17
- package/dist/{chunk-PRUAIZTU.mjs → chunk-LCI6RPWE.mjs} +1 -1
- package/dist/{chunk-QVGXHUYW.mjs → chunk-N2JULHST.mjs} +9 -9
- package/dist/chunk-N6IEGD4K.mjs +119 -0
- package/dist/chunk-OJ2OEI5B.mjs +202 -0
- package/dist/chunk-P732YGHO.mjs +18 -0
- package/dist/{chunk-QRHT7MSO.mjs → chunk-PXUBPWKU.mjs} +1 -1
- package/dist/{chunk-PCIONGEJ.mjs → chunk-QWFOYO3D.mjs} +37 -19
- package/dist/{chunk-LY6LJRUX.mjs → chunk-RZZWHI6O.mjs} +1 -1
- package/dist/chunk-S2VUKVCH.mjs +319 -0
- package/dist/{chunk-IZOMH2SL.mjs → chunk-S3O52LLG.mjs} +14 -14
- package/dist/chunk-UR64ZUAU.mjs +671 -0
- package/dist/{chunk-PUFNT5LS.mjs → chunk-VG4644BG.mjs} +1 -1
- package/dist/chunk-WX32MAKV.mjs +219 -0
- package/dist/components/accordion/accordion.d.mts +3 -3
- package/dist/components/accordion/accordion.d.ts +3 -3
- package/dist/components/accordion/accordion.test.mjs +3 -3
- package/dist/components/accordion/accordionItem.d.mts +3 -3
- package/dist/components/accordion/accordionItem.d.ts +3 -3
- package/dist/components/accordion/accordionItem.js +31 -1
- package/dist/components/accordion/accordionItem.mjs +3 -3
- package/dist/components/accordion/index.js +31 -1
- package/dist/components/accordion/index.mjs +3 -3
- package/dist/components/button/button-group.d.mts +2 -2
- package/dist/components/button/button-group.d.ts +2 -2
- package/dist/components/button/button-group.test.js +4103 -167
- package/dist/components/button/button-group.test.mjs +7 -3
- package/dist/components/button/button.d.mts +360 -12
- package/dist/components/button/button.d.ts +360 -12
- package/dist/components/button/button.js +4054 -110
- package/dist/components/button/button.mjs +5 -1
- package/dist/components/button/button.test.js +4059 -125
- package/dist/components/button/button.test.mjs +7 -3
- package/dist/components/button/index.d.mts +3 -0
- package/dist/components/button/index.d.ts +3 -0
- package/dist/components/button/index.js +4046 -112
- package/dist/components/button/index.mjs +5 -1
- package/dist/components/card/card.d.mts +3 -3
- package/dist/components/card/card.d.ts +3 -3
- package/dist/components/checkbox/checkbox.d.mts +71 -71
- package/dist/components/checkbox/checkbox.d.ts +71 -71
- package/dist/components/checkbox/checkbox.js +28 -21
- package/dist/components/checkbox/checkbox.mjs +1 -1
- package/dist/components/checkbox/checkbox.test.js +28 -21
- package/dist/components/checkbox/checkbox.test.mjs +4 -4
- package/dist/components/checkbox/index.js +28 -21
- package/dist/components/checkbox/index.mjs +1 -1
- package/dist/components/dateTimePicker/calendar.d.mts +118 -0
- package/dist/components/dateTimePicker/calendar.d.ts +118 -0
- package/dist/components/dateTimePicker/calendar.js +3854 -0
- package/dist/components/dateTimePicker/calendar.mjs +16 -0
- package/dist/components/dateTimePicker/dateTimePicker.d.mts +443 -0
- package/dist/components/dateTimePicker/dateTimePicker.d.ts +443 -0
- package/dist/components/dateTimePicker/dateTimePicker.js +4486 -0
- package/dist/components/dateTimePicker/dateTimePicker.mjs +22 -0
- package/dist/components/dateTimePicker/index.d.mts +5 -0
- package/dist/components/dateTimePicker/index.d.ts +5 -0
- package/dist/components/dateTimePicker/index.js +4487 -0
- package/dist/components/dateTimePicker/index.mjs +21 -0
- package/dist/components/dateTimePicker/timePicker.d.mts +10 -0
- package/dist/components/dateTimePicker/timePicker.d.ts +10 -0
- package/dist/components/dateTimePicker/timePicker.js +342 -0
- package/dist/components/dateTimePicker/timePicker.mjs +13 -0
- package/dist/components/dateTimePicker/useDateTimePicker.d.mts +31 -0
- package/dist/components/dateTimePicker/useDateTimePicker.d.ts +31 -0
- package/dist/components/dateTimePicker/useDateTimePicker.js +106 -0
- package/dist/components/dateTimePicker/useDateTimePicker.mjs +9 -0
- package/dist/components/dateTimePicker/util.d.mts +4 -0
- package/dist/components/dateTimePicker/util.d.ts +4 -0
- package/dist/components/dateTimePicker/util.js +42 -0
- package/dist/components/dateTimePicker/util.mjs +10 -0
- package/dist/components/icon/Icon.d.mts +4 -0
- package/dist/components/icon/Icon.d.ts +4 -0
- package/dist/components/icon/Icon.js +30 -0
- package/dist/components/icon/Icon.mjs +2 -2
- package/dist/components/icon/index.js +30 -0
- 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 +30 -0
- package/dist/components/icon/template.mjs +1 -1
- package/dist/components/input/index.js +36 -4
- package/dist/components/input/index.mjs +3 -3
- package/dist/components/input/input.d.mts +9 -4
- package/dist/components/input/input.d.ts +9 -4
- package/dist/components/input/input.js +36 -4
- package/dist/components/input/input.mjs +3 -3
- package/dist/components/input/input.test.js +36 -4
- package/dist/components/input/input.test.mjs +6 -6
- package/dist/components/list/index.js +3 -3
- package/dist/components/list/index.mjs +1 -1
- package/dist/components/list/list.d.mts +3 -3
- package/dist/components/list/list.d.ts +3 -3
- package/dist/components/list/list.test.mjs +1 -1
- package/dist/components/list/listItem.d.mts +4 -4
- package/dist/components/list/listItem.d.ts +4 -4
- package/dist/components/list/listItem.js +3 -3
- package/dist/components/list/listItem.mjs +1 -1
- package/dist/components/modal/index.js +506 -128
- package/dist/components/modal/index.mjs +6 -5
- package/dist/components/modal/modal.d.mts +2 -2
- package/dist/components/modal/modal.d.ts +2 -2
- package/dist/components/modal/modal.js +506 -128
- package/dist/components/modal/modal.mjs +6 -5
- package/dist/components/modal/modal.test.js +498 -130
- package/dist/components/modal/modal.test.mjs +6 -5
- package/dist/components/pagination/index.js +16 -16
- package/dist/components/pagination/index.mjs +1 -1
- package/dist/components/pagination/pagination.d.mts +2 -2
- package/dist/components/pagination/pagination.d.ts +2 -2
- package/dist/components/pagination/pagination.js +16 -16
- package/dist/components/pagination/pagination.mjs +1 -1
- package/dist/components/pagination/pagination.test.js +16 -16
- package/dist/components/pagination/pagination.test.mjs +2 -2
- package/dist/components/progress/index.js +9 -9
- package/dist/components/progress/index.mjs +1 -1
- package/dist/components/progress/progress.d.mts +35 -35
- package/dist/components/progress/progress.d.ts +35 -35
- package/dist/components/progress/progress.js +9 -9
- package/dist/components/progress/progress.mjs +1 -1
- package/dist/components/progress/progress.test.js +9 -9
- package/dist/components/progress/progress.test.mjs +1 -1
- package/dist/components/radio/index.js +37 -19
- package/dist/components/radio/index.mjs +1 -1
- package/dist/components/radio/radio.d.mts +35 -35
- package/dist/components/radio/radio.d.ts +35 -35
- package/dist/components/radio/radio.js +37 -19
- package/dist/components/radio/radio.mjs +1 -1
- package/dist/components/radio/radio.test.js +37 -19
- package/dist/components/radio/radio.test.mjs +2 -2
- package/dist/components/select/index.js +36 -5
- package/dist/components/select/index.mjs +4 -4
- package/dist/components/select/option.js +30 -0
- package/dist/components/select/option.mjs +3 -3
- package/dist/components/select/select.d.mts +4 -4
- package/dist/components/select/select.d.ts +4 -4
- package/dist/components/select/select.js +36 -5
- package/dist/components/select/select.mjs +4 -4
- package/dist/components/select/select.test.js +36 -5
- package/dist/components/select/select.test.mjs +9 -9
- package/dist/components/select/useSelect.d.mts +3 -3
- package/dist/components/select/useSelect.d.ts +3 -3
- package/dist/components/slider/index.js +9 -4
- package/dist/components/slider/index.mjs +1 -1
- package/dist/components/slider/slider.d.mts +28 -2
- package/dist/components/slider/slider.d.ts +28 -2
- package/dist/components/slider/slider.js +9 -4
- package/dist/components/slider/slider.mjs +1 -1
- package/dist/components/slider/slider.test.js +9 -4
- package/dist/components/slider/slider.test.mjs +1 -1
- package/dist/components/switch/index.js +14 -14
- package/dist/components/switch/index.mjs +1 -1
- package/dist/components/switch/switch.d.mts +50 -50
- package/dist/components/switch/switch.d.ts +50 -50
- package/dist/components/switch/switch.js +14 -14
- package/dist/components/switch/switch.mjs +1 -1
- package/dist/components/switch/switch.test.js +14 -14
- package/dist/components/switch/switch.test.mjs +2 -2
- package/dist/components/table/index.js +66 -27
- package/dist/components/table/index.mjs +7 -7
- package/dist/components/table/table-body.d.mts +2 -2
- package/dist/components/table/table-body.d.ts +2 -2
- package/dist/components/table/table-body.js +60 -23
- package/dist/components/table/table-body.mjs +5 -5
- package/dist/components/table/table-head.js +28 -21
- package/dist/components/table/table-head.mjs +2 -2
- package/dist/components/table/table.d.mts +26 -12
- package/dist/components/table/table.d.ts +26 -12
- package/dist/components/table/table.js +66 -27
- package/dist/components/table/table.mjs +7 -7
- package/dist/components/table/table.test.js +66 -27
- package/dist/components/table/table.test.mjs +8 -8
- package/dist/components/tabs/tabs.d.mts +3 -3
- package/dist/components/tabs/tabs.d.ts +3 -3
- package/dist/components/tabs/tabs.test.mjs +4 -4
- package/dist/components/textarea/index.d.mts +3 -0
- package/dist/components/textarea/index.d.ts +3 -0
- package/dist/components/textarea/index.js +89 -30
- package/dist/components/textarea/index.mjs +2 -1
- package/dist/components/textarea/textarea.d.mts +512 -11
- package/dist/components/textarea/textarea.d.ts +512 -11
- package/dist/components/textarea/textarea.js +89 -30
- package/dist/components/textarea/textarea.mjs +2 -1
- package/dist/components/textarea/textarea.test.js +89 -30
- package/dist/components/textarea/textarea.test.mjs +3 -2
- package/dist/components/toast/index.js +30 -0
- package/dist/components/toast/index.mjs +4 -4
- package/dist/components/toast/toast.d.mts +2 -2
- package/dist/components/toast/toast.d.ts +2 -2
- package/dist/components/toast/toast.js +30 -0
- package/dist/components/toast/toast.mjs +3 -3
- package/dist/components/toast/toast.test.js +30 -0
- package/dist/components/toast/toast.test.mjs +5 -5
- package/dist/components/toast/use-toast.js +30 -0
- package/dist/components/toast/use-toast.mjs +4 -4
- package/dist/components/tooltip/index.d.mts +1 -1
- package/dist/components/tooltip/index.d.ts +1 -1
- package/dist/components/tooltip/tooltip-utils.d.mts +1 -1
- package/dist/components/tooltip/tooltip-utils.d.ts +1 -1
- package/dist/components/tooltip/tooltip.d.mts +3 -3
- package/dist/components/tooltip/tooltip.d.ts +3 -3
- package/dist/components/tooltip/tooltip.test.js +4034 -118
- package/dist/components/tooltip/tooltip.test.mjs +7 -4
- package/dist/components/tooltip/useTooltip.d.mts +1 -1
- package/dist/components/tooltip/useTooltip.d.ts +1 -1
- package/dist/index.d.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +3741 -2611
- package/dist/index.mjs +71 -52
- package/dist/{tooltip-utils-DCKA5gnI.d.ts → tooltip-utils-CrCabndd.d.mts} +2 -2
- package/dist/{tooltip-utils-DCKA5gnI.d.mts → tooltip-utils-CrCabndd.d.ts} +2 -2
- package/package.json +1 -1
- package/dist/chunk-66WCZEEU.mjs +0 -320
- package/dist/chunk-WOX3SLJB.mjs +0 -162
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
modal_default
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-L7P6OBUX.mjs";
|
|
5
5
|
import "../../chunk-VUYUQGLF.mjs";
|
|
6
|
-
import "../../chunk-PRUAIZTU.mjs";
|
|
7
|
-
import "../../chunk-IOV7MEPG.mjs";
|
|
8
|
-
import "../../chunk-E3G5QXSH.mjs";
|
|
9
6
|
import "../../chunk-NGQ3MK2J.mjs";
|
|
7
|
+
import "../../chunk-UR64ZUAU.mjs";
|
|
10
8
|
import {
|
|
11
9
|
fireEvent,
|
|
12
10
|
render
|
|
13
11
|
} from "../../chunk-FNPWLOGV.mjs";
|
|
14
|
-
import "../../chunk-
|
|
12
|
+
import "../../chunk-ZYIIXWVY.mjs";
|
|
13
|
+
import "../../chunk-LCI6RPWE.mjs";
|
|
14
|
+
import "../../chunk-IOCRFIQF.mjs";
|
|
15
|
+
import "../../chunk-E3G5QXSH.mjs";
|
|
15
16
|
import "../../chunk-J725QONZ.mjs";
|
|
16
17
|
import "../../chunk-IZ6II3QA.mjs";
|
|
17
18
|
|
|
@@ -189,7 +189,7 @@ var pagination = tv(
|
|
|
189
189
|
{
|
|
190
190
|
slots: {
|
|
191
191
|
base: "flex items-center select-none",
|
|
192
|
-
label: "text-primary-main text-right",
|
|
192
|
+
label: "text-primary-main text-right whitespace-nowrap",
|
|
193
193
|
wrapper: "flex overflow-hidden",
|
|
194
194
|
icon: "flex items-center justify-center cursor-pointer",
|
|
195
195
|
button: "flex items-center justify-center cursor-pointer data-[selected=true]:font-[600] transition duration-200"
|
|
@@ -208,22 +208,22 @@ var pagination = tv(
|
|
|
208
208
|
},
|
|
209
209
|
size: {
|
|
210
210
|
sm: {
|
|
211
|
-
wrapper: "gap-[
|
|
212
|
-
label: "w-[85px] text-sm mr-[10px]",
|
|
211
|
+
wrapper: "gap-[6px]",
|
|
212
|
+
label: "min-w-[85px] text-sm mr-[10px]",
|
|
213
213
|
icon: ["h-[15px] text-sm"],
|
|
214
|
-
button: ["w-[28px] h-[15px] text-sm"]
|
|
214
|
+
button: ["min-w-[28px] h-[15px] text-sm"]
|
|
215
215
|
},
|
|
216
216
|
md: {
|
|
217
|
-
wrapper: "gap-[
|
|
218
|
-
label: "w-[95px] text-md mr-[12px]",
|
|
217
|
+
wrapper: "gap-[8px]",
|
|
218
|
+
label: "min-w-[95px] text-md mr-[12px]",
|
|
219
219
|
icon: ["h-[17px] text-md"],
|
|
220
|
-
button: ["w-[32px] h-[17px] text-md"]
|
|
220
|
+
button: ["min-w-[32px] h-[17px] text-md"]
|
|
221
221
|
},
|
|
222
222
|
lg: {
|
|
223
|
-
wrapper: "gap-[
|
|
224
|
-
label: "w-[105px] text-lg mr-[14px]",
|
|
223
|
+
wrapper: "gap-[10px]",
|
|
224
|
+
label: "min-w-[105px] text-lg mr-[14px]",
|
|
225
225
|
icon: ["h-[20px] text-lg"],
|
|
226
|
-
button: ["w-[37px] h-[20px] text-lg"]
|
|
226
|
+
button: ["min-w-[37px] h-[20px] text-lg"]
|
|
227
227
|
}
|
|
228
228
|
},
|
|
229
229
|
color: {
|
|
@@ -262,8 +262,8 @@ var pagination = tv(
|
|
|
262
262
|
size: "sm",
|
|
263
263
|
class: {
|
|
264
264
|
wrapper: "border rounded-sm gap-0",
|
|
265
|
-
button: "!w-[40px] h-[
|
|
266
|
-
icon: "w-[40px] h-[
|
|
265
|
+
button: "!min-w-[40px] h-[20px] border-l",
|
|
266
|
+
icon: "min-w-[40px] h-[20px] border-l"
|
|
267
267
|
}
|
|
268
268
|
},
|
|
269
269
|
{
|
|
@@ -271,8 +271,8 @@ var pagination = tv(
|
|
|
271
271
|
size: "md",
|
|
272
272
|
class: {
|
|
273
273
|
wrapper: "border rounded-md gap-0",
|
|
274
|
-
button: "!w-[
|
|
275
|
-
icon: "w-[
|
|
274
|
+
button: "!min-w-[45px] h-[22px] border-l",
|
|
275
|
+
icon: "min-w-[45px] h-[22px] border-l"
|
|
276
276
|
}
|
|
277
277
|
},
|
|
278
278
|
{
|
|
@@ -280,8 +280,8 @@ var pagination = tv(
|
|
|
280
280
|
size: "lg",
|
|
281
281
|
class: {
|
|
282
282
|
wrapper: "border rounded-lg gap-0",
|
|
283
|
-
button: "!w-[
|
|
284
|
-
icon: "w-[
|
|
283
|
+
button: "!min-w-[50px] h-[24px] border-l",
|
|
284
|
+
icon: "min-w-[50px] h-[24px] border-l"
|
|
285
285
|
}
|
|
286
286
|
},
|
|
287
287
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as tailwind_variants from 'tailwind-variants';
|
|
2
2
|
import { VariantProps } from 'tailwind-variants';
|
|
3
|
-
import * as
|
|
3
|
+
import * as React from 'react';
|
|
4
4
|
import { ComponentPropsWithRef } from 'react';
|
|
5
5
|
import { SlotsToClasses } from '../../utils/types.mjs';
|
|
6
6
|
|
|
@@ -15,7 +15,7 @@ interface Props extends Omit<ComponentPropsWithRef<"div">, "ref"> {
|
|
|
15
15
|
handleChangePage?: (currentPage: number) => void;
|
|
16
16
|
}
|
|
17
17
|
type PaginationProps = Props & PaginationVariantProps;
|
|
18
|
-
declare const Pagination:
|
|
18
|
+
declare const Pagination: React.ForwardRefExoticComponent<Props & PaginationVariantProps & React.RefAttributes<HTMLDivElement>>;
|
|
19
19
|
|
|
20
20
|
declare const pagination: tailwind_variants.TVReturnType<{
|
|
21
21
|
variant: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as tailwind_variants from 'tailwind-variants';
|
|
2
2
|
import { VariantProps } from 'tailwind-variants';
|
|
3
|
-
import * as
|
|
3
|
+
import * as React from 'react';
|
|
4
4
|
import { ComponentPropsWithRef } from 'react';
|
|
5
5
|
import { SlotsToClasses } from '../../utils/types.js';
|
|
6
6
|
|
|
@@ -15,7 +15,7 @@ interface Props extends Omit<ComponentPropsWithRef<"div">, "ref"> {
|
|
|
15
15
|
handleChangePage?: (currentPage: number) => void;
|
|
16
16
|
}
|
|
17
17
|
type PaginationProps = Props & PaginationVariantProps;
|
|
18
|
-
declare const Pagination:
|
|
18
|
+
declare const Pagination: React.ForwardRefExoticComponent<Props & PaginationVariantProps & React.RefAttributes<HTMLDivElement>>;
|
|
19
19
|
|
|
20
20
|
declare const pagination: tailwind_variants.TVReturnType<{
|
|
21
21
|
variant: {
|
|
@@ -189,7 +189,7 @@ var pagination = tv(
|
|
|
189
189
|
{
|
|
190
190
|
slots: {
|
|
191
191
|
base: "flex items-center select-none",
|
|
192
|
-
label: "text-primary-main text-right",
|
|
192
|
+
label: "text-primary-main text-right whitespace-nowrap",
|
|
193
193
|
wrapper: "flex overflow-hidden",
|
|
194
194
|
icon: "flex items-center justify-center cursor-pointer",
|
|
195
195
|
button: "flex items-center justify-center cursor-pointer data-[selected=true]:font-[600] transition duration-200"
|
|
@@ -208,22 +208,22 @@ var pagination = tv(
|
|
|
208
208
|
},
|
|
209
209
|
size: {
|
|
210
210
|
sm: {
|
|
211
|
-
wrapper: "gap-[
|
|
212
|
-
label: "w-[85px] text-sm mr-[10px]",
|
|
211
|
+
wrapper: "gap-[6px]",
|
|
212
|
+
label: "min-w-[85px] text-sm mr-[10px]",
|
|
213
213
|
icon: ["h-[15px] text-sm"],
|
|
214
|
-
button: ["w-[28px] h-[15px] text-sm"]
|
|
214
|
+
button: ["min-w-[28px] h-[15px] text-sm"]
|
|
215
215
|
},
|
|
216
216
|
md: {
|
|
217
|
-
wrapper: "gap-[
|
|
218
|
-
label: "w-[95px] text-md mr-[12px]",
|
|
217
|
+
wrapper: "gap-[8px]",
|
|
218
|
+
label: "min-w-[95px] text-md mr-[12px]",
|
|
219
219
|
icon: ["h-[17px] text-md"],
|
|
220
|
-
button: ["w-[32px] h-[17px] text-md"]
|
|
220
|
+
button: ["min-w-[32px] h-[17px] text-md"]
|
|
221
221
|
},
|
|
222
222
|
lg: {
|
|
223
|
-
wrapper: "gap-[
|
|
224
|
-
label: "w-[105px] text-lg mr-[14px]",
|
|
223
|
+
wrapper: "gap-[10px]",
|
|
224
|
+
label: "min-w-[105px] text-lg mr-[14px]",
|
|
225
225
|
icon: ["h-[20px] text-lg"],
|
|
226
|
-
button: ["w-[37px] h-[20px] text-lg"]
|
|
226
|
+
button: ["min-w-[37px] h-[20px] text-lg"]
|
|
227
227
|
}
|
|
228
228
|
},
|
|
229
229
|
color: {
|
|
@@ -262,8 +262,8 @@ var pagination = tv(
|
|
|
262
262
|
size: "sm",
|
|
263
263
|
class: {
|
|
264
264
|
wrapper: "border rounded-sm gap-0",
|
|
265
|
-
button: "!w-[40px] h-[
|
|
266
|
-
icon: "w-[40px] h-[
|
|
265
|
+
button: "!min-w-[40px] h-[20px] border-l",
|
|
266
|
+
icon: "min-w-[40px] h-[20px] border-l"
|
|
267
267
|
}
|
|
268
268
|
},
|
|
269
269
|
{
|
|
@@ -271,8 +271,8 @@ var pagination = tv(
|
|
|
271
271
|
size: "md",
|
|
272
272
|
class: {
|
|
273
273
|
wrapper: "border rounded-md gap-0",
|
|
274
|
-
button: "!w-[
|
|
275
|
-
icon: "w-[
|
|
274
|
+
button: "!min-w-[45px] h-[22px] border-l",
|
|
275
|
+
icon: "min-w-[45px] h-[22px] border-l"
|
|
276
276
|
}
|
|
277
277
|
},
|
|
278
278
|
{
|
|
@@ -280,8 +280,8 @@ var pagination = tv(
|
|
|
280
280
|
size: "lg",
|
|
281
281
|
class: {
|
|
282
282
|
wrapper: "border rounded-lg gap-0",
|
|
283
|
-
button: "!w-[
|
|
284
|
-
icon: "w-[
|
|
283
|
+
button: "!min-w-[50px] h-[24px] border-l",
|
|
284
|
+
icon: "min-w-[50px] h-[24px] border-l"
|
|
285
285
|
}
|
|
286
286
|
},
|
|
287
287
|
{
|
|
@@ -13034,7 +13034,7 @@ var pagination = tv(
|
|
|
13034
13034
|
{
|
|
13035
13035
|
slots: {
|
|
13036
13036
|
base: "flex items-center select-none",
|
|
13037
|
-
label: "text-primary-main text-right",
|
|
13037
|
+
label: "text-primary-main text-right whitespace-nowrap",
|
|
13038
13038
|
wrapper: "flex overflow-hidden",
|
|
13039
13039
|
icon: "flex items-center justify-center cursor-pointer",
|
|
13040
13040
|
button: "flex items-center justify-center cursor-pointer data-[selected=true]:font-[600] transition duration-200"
|
|
@@ -13053,22 +13053,22 @@ var pagination = tv(
|
|
|
13053
13053
|
},
|
|
13054
13054
|
size: {
|
|
13055
13055
|
sm: {
|
|
13056
|
-
wrapper: "gap-[
|
|
13057
|
-
label: "w-[85px] text-sm mr-[10px]",
|
|
13056
|
+
wrapper: "gap-[6px]",
|
|
13057
|
+
label: "min-w-[85px] text-sm mr-[10px]",
|
|
13058
13058
|
icon: ["h-[15px] text-sm"],
|
|
13059
|
-
button: ["w-[28px] h-[15px] text-sm"]
|
|
13059
|
+
button: ["min-w-[28px] h-[15px] text-sm"]
|
|
13060
13060
|
},
|
|
13061
13061
|
md: {
|
|
13062
|
-
wrapper: "gap-[
|
|
13063
|
-
label: "w-[95px] text-md mr-[12px]",
|
|
13062
|
+
wrapper: "gap-[8px]",
|
|
13063
|
+
label: "min-w-[95px] text-md mr-[12px]",
|
|
13064
13064
|
icon: ["h-[17px] text-md"],
|
|
13065
|
-
button: ["w-[32px] h-[17px] text-md"]
|
|
13065
|
+
button: ["min-w-[32px] h-[17px] text-md"]
|
|
13066
13066
|
},
|
|
13067
13067
|
lg: {
|
|
13068
|
-
wrapper: "gap-[
|
|
13069
|
-
label: "w-[105px] text-lg mr-[14px]",
|
|
13068
|
+
wrapper: "gap-[10px]",
|
|
13069
|
+
label: "min-w-[105px] text-lg mr-[14px]",
|
|
13070
13070
|
icon: ["h-[20px] text-lg"],
|
|
13071
|
-
button: ["w-[37px] h-[20px] text-lg"]
|
|
13071
|
+
button: ["min-w-[37px] h-[20px] text-lg"]
|
|
13072
13072
|
}
|
|
13073
13073
|
},
|
|
13074
13074
|
color: {
|
|
@@ -13107,8 +13107,8 @@ var pagination = tv(
|
|
|
13107
13107
|
size: "sm",
|
|
13108
13108
|
class: {
|
|
13109
13109
|
wrapper: "border rounded-sm gap-0",
|
|
13110
|
-
button: "!w-[40px] h-[
|
|
13111
|
-
icon: "w-[40px] h-[
|
|
13110
|
+
button: "!min-w-[40px] h-[20px] border-l",
|
|
13111
|
+
icon: "min-w-[40px] h-[20px] border-l"
|
|
13112
13112
|
}
|
|
13113
13113
|
},
|
|
13114
13114
|
{
|
|
@@ -13116,8 +13116,8 @@ var pagination = tv(
|
|
|
13116
13116
|
size: "md",
|
|
13117
13117
|
class: {
|
|
13118
13118
|
wrapper: "border rounded-md gap-0",
|
|
13119
|
-
button: "!w-[
|
|
13120
|
-
icon: "w-[
|
|
13119
|
+
button: "!min-w-[45px] h-[22px] border-l",
|
|
13120
|
+
icon: "min-w-[45px] h-[22px] border-l"
|
|
13121
13121
|
}
|
|
13122
13122
|
},
|
|
13123
13123
|
{
|
|
@@ -13125,8 +13125,8 @@ var pagination = tv(
|
|
|
13125
13125
|
size: "lg",
|
|
13126
13126
|
class: {
|
|
13127
13127
|
wrapper: "border rounded-lg gap-0",
|
|
13128
|
-
button: "!w-[
|
|
13129
|
-
icon: "w-[
|
|
13128
|
+
button: "!min-w-[50px] h-[24px] border-l",
|
|
13129
|
+
icon: "min-w-[50px] h-[24px] border-l"
|
|
13130
13130
|
}
|
|
13131
13131
|
},
|
|
13132
13132
|
{
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
pagination_default
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-B4KZBOGT.mjs";
|
|
5
5
|
import "../../chunk-F3HENRVM.mjs";
|
|
6
|
-
import "../../chunk-E3G5QXSH.mjs";
|
|
7
6
|
import {
|
|
8
7
|
render
|
|
9
8
|
} from "../../chunk-FNPWLOGV.mjs";
|
|
9
|
+
import "../../chunk-E3G5QXSH.mjs";
|
|
10
10
|
import "../../chunk-J725QONZ.mjs";
|
|
11
11
|
import "../../chunk-IZ6II3QA.mjs";
|
|
12
12
|
|
|
@@ -123,12 +123,12 @@ Progress.displayName = "Progress";
|
|
|
123
123
|
var progress_default = Progress;
|
|
124
124
|
var progress = tv({
|
|
125
125
|
slots: {
|
|
126
|
-
base: "flex flex-col gap-2 w-[200px]",
|
|
127
|
-
labelWrapper: "flex justify-between",
|
|
128
|
-
label: "font-[500]",
|
|
129
|
-
output: "font-[500]",
|
|
130
|
-
track: "relative bg-neutral-soft rounded-full overflow-hidden",
|
|
131
|
-
indicator: "absolute h-full rounded-full"
|
|
126
|
+
base: ["flex", "flex-col", "gap-2", "w-[200px]"],
|
|
127
|
+
labelWrapper: ["flex", "justify-between"],
|
|
128
|
+
label: ["font-[500]"],
|
|
129
|
+
output: ["font-[500]"],
|
|
130
|
+
track: ["relative", "bg-neutral-soft", "rounded-full", "overflow-hidden"],
|
|
131
|
+
indicator: ["absolute", "h-full", "rounded-full"]
|
|
132
132
|
},
|
|
133
133
|
variants: {
|
|
134
134
|
color: {
|
|
@@ -158,7 +158,7 @@ var progress = tv({
|
|
|
158
158
|
},
|
|
159
159
|
gradient: {
|
|
160
160
|
true: {
|
|
161
|
-
indicator: "bg-gradient-to-r from-primary-main to-secondary-main"
|
|
161
|
+
indicator: ["bg-gradient-to-r", "from-primary-main", "to-secondary-main"]
|
|
162
162
|
}
|
|
163
163
|
},
|
|
164
164
|
fullWidth: {
|
|
@@ -168,8 +168,8 @@ var progress = tv({
|
|
|
168
168
|
},
|
|
169
169
|
isDisabled: {
|
|
170
170
|
true: {
|
|
171
|
-
base: "opacity-disabled cursor-not-allowed",
|
|
172
|
-
indicator: "bg-neutral-light"
|
|
171
|
+
base: ["opacity-disabled", "cursor-not-allowed"],
|
|
172
|
+
indicator: ["bg-neutral-light", "from-none", "to-none"]
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
175
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as tailwind_variants from 'tailwind-variants';
|
|
2
2
|
import { VariantProps } from 'tailwind-variants';
|
|
3
3
|
import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
|
|
4
|
-
import * as
|
|
4
|
+
import * as React from 'react';
|
|
5
5
|
import { ComponentPropsWithRef } from 'react';
|
|
6
6
|
import { SlotsToClasses } from '../../utils/types.mjs';
|
|
7
7
|
|
|
@@ -12,7 +12,7 @@ interface Props extends Omit<ComponentPropsWithRef<"div">, "ref"> {
|
|
|
12
12
|
classNames?: SlotsToClasses<ProgressSlots>;
|
|
13
13
|
}
|
|
14
14
|
type ProgressProps = Props & ProgressVariantProps;
|
|
15
|
-
declare const Progress:
|
|
15
|
+
declare const Progress: React.ForwardRefExoticComponent<Props & ProgressVariantProps & React.RefAttributes<HTMLDivElement>>;
|
|
16
16
|
|
|
17
17
|
declare const progress: tailwind_variants.TVReturnType<{
|
|
18
18
|
color: {
|
|
@@ -42,7 +42,7 @@ declare const progress: tailwind_variants.TVReturnType<{
|
|
|
42
42
|
};
|
|
43
43
|
gradient: {
|
|
44
44
|
true: {
|
|
45
|
-
indicator: string;
|
|
45
|
+
indicator: string[];
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
48
|
fullWidth: {
|
|
@@ -52,17 +52,17 @@ declare const progress: tailwind_variants.TVReturnType<{
|
|
|
52
52
|
};
|
|
53
53
|
isDisabled: {
|
|
54
54
|
true: {
|
|
55
|
-
base: string;
|
|
56
|
-
indicator: string;
|
|
55
|
+
base: string[];
|
|
56
|
+
indicator: string[];
|
|
57
57
|
};
|
|
58
58
|
};
|
|
59
59
|
}, {
|
|
60
|
-
base: string;
|
|
61
|
-
labelWrapper: string;
|
|
62
|
-
label: string;
|
|
63
|
-
output: string;
|
|
64
|
-
track: string;
|
|
65
|
-
indicator: string;
|
|
60
|
+
base: string[];
|
|
61
|
+
labelWrapper: string[];
|
|
62
|
+
label: string[];
|
|
63
|
+
output: string[];
|
|
64
|
+
track: string[];
|
|
65
|
+
indicator: string[];
|
|
66
66
|
}, undefined, {
|
|
67
67
|
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
68
68
|
size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
@@ -119,7 +119,7 @@ declare const progress: tailwind_variants.TVReturnType<{
|
|
|
119
119
|
};
|
|
120
120
|
gradient: {
|
|
121
121
|
true: {
|
|
122
|
-
indicator: string;
|
|
122
|
+
indicator: string[];
|
|
123
123
|
};
|
|
124
124
|
};
|
|
125
125
|
fullWidth: {
|
|
@@ -129,17 +129,17 @@ declare const progress: tailwind_variants.TVReturnType<{
|
|
|
129
129
|
};
|
|
130
130
|
isDisabled: {
|
|
131
131
|
true: {
|
|
132
|
-
base: string;
|
|
133
|
-
indicator: string;
|
|
132
|
+
base: string[];
|
|
133
|
+
indicator: string[];
|
|
134
134
|
};
|
|
135
135
|
};
|
|
136
136
|
}, {
|
|
137
|
-
base: string;
|
|
138
|
-
labelWrapper: string;
|
|
139
|
-
label: string;
|
|
140
|
-
output: string;
|
|
141
|
-
track: string;
|
|
142
|
-
indicator: string;
|
|
137
|
+
base: string[];
|
|
138
|
+
labelWrapper: string[];
|
|
139
|
+
label: string[];
|
|
140
|
+
output: string[];
|
|
141
|
+
track: string[];
|
|
142
|
+
indicator: string[];
|
|
143
143
|
}, tailwind_variants.TVReturnType<{
|
|
144
144
|
color: {
|
|
145
145
|
primary: {
|
|
@@ -168,7 +168,7 @@ declare const progress: tailwind_variants.TVReturnType<{
|
|
|
168
168
|
};
|
|
169
169
|
gradient: {
|
|
170
170
|
true: {
|
|
171
|
-
indicator: string;
|
|
171
|
+
indicator: string[];
|
|
172
172
|
};
|
|
173
173
|
};
|
|
174
174
|
fullWidth: {
|
|
@@ -178,17 +178,17 @@ declare const progress: tailwind_variants.TVReturnType<{
|
|
|
178
178
|
};
|
|
179
179
|
isDisabled: {
|
|
180
180
|
true: {
|
|
181
|
-
base: string;
|
|
182
|
-
indicator: string;
|
|
181
|
+
base: string[];
|
|
182
|
+
indicator: string[];
|
|
183
183
|
};
|
|
184
184
|
};
|
|
185
185
|
}, {
|
|
186
|
-
base: string;
|
|
187
|
-
labelWrapper: string;
|
|
188
|
-
label: string;
|
|
189
|
-
output: string;
|
|
190
|
-
track: string;
|
|
191
|
-
indicator: string;
|
|
186
|
+
base: string[];
|
|
187
|
+
labelWrapper: string[];
|
|
188
|
+
label: string[];
|
|
189
|
+
output: string[];
|
|
190
|
+
track: string[];
|
|
191
|
+
indicator: string[];
|
|
192
192
|
}, undefined, tailwind_variants_dist_config.TVConfig<{
|
|
193
193
|
color: {
|
|
194
194
|
primary: {
|
|
@@ -217,7 +217,7 @@ declare const progress: tailwind_variants.TVReturnType<{
|
|
|
217
217
|
};
|
|
218
218
|
gradient: {
|
|
219
219
|
true: {
|
|
220
|
-
indicator: string;
|
|
220
|
+
indicator: string[];
|
|
221
221
|
};
|
|
222
222
|
};
|
|
223
223
|
fullWidth: {
|
|
@@ -227,8 +227,8 @@ declare const progress: tailwind_variants.TVReturnType<{
|
|
|
227
227
|
};
|
|
228
228
|
isDisabled: {
|
|
229
229
|
true: {
|
|
230
|
-
base: string;
|
|
231
|
-
indicator: string;
|
|
230
|
+
base: string[];
|
|
231
|
+
indicator: string[];
|
|
232
232
|
};
|
|
233
233
|
};
|
|
234
234
|
}, {
|
|
@@ -259,7 +259,7 @@ declare const progress: tailwind_variants.TVReturnType<{
|
|
|
259
259
|
};
|
|
260
260
|
gradient: {
|
|
261
261
|
true: {
|
|
262
|
-
indicator: string;
|
|
262
|
+
indicator: string[];
|
|
263
263
|
};
|
|
264
264
|
};
|
|
265
265
|
fullWidth: {
|
|
@@ -269,8 +269,8 @@ declare const progress: tailwind_variants.TVReturnType<{
|
|
|
269
269
|
};
|
|
270
270
|
isDisabled: {
|
|
271
271
|
true: {
|
|
272
|
-
base: string;
|
|
273
|
-
indicator: string;
|
|
272
|
+
base: string[];
|
|
273
|
+
indicator: string[];
|
|
274
274
|
};
|
|
275
275
|
};
|
|
276
276
|
}>, unknown, unknown, undefined>>;
|