@deepnoid/ui 0.0.89 → 0.0.91
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-75HLCORR.mjs +1 -0
- package/dist/chunk-D5GGG7IO.mjs +122 -0
- package/dist/{chunk-FPCP4OOL.mjs → chunk-EDEV4IK4.mjs} +3 -3
- package/dist/chunk-FWJ2ZKH6.mjs +87 -0
- package/dist/chunk-HHYPMVLY.mjs +359 -0
- package/dist/{chunk-HFVZFUC3.mjs → chunk-L7P6OBUX.mjs} +1 -1
- package/dist/chunk-P732YGHO.mjs +18 -0
- package/dist/{chunk-MOINJECK.mjs → chunk-S3O52LLG.mjs} +1 -2
- package/dist/chunk-WX32MAKV.mjs +219 -0
- package/dist/components/accordion/accordion.d.mts +2 -2
- package/dist/components/accordion/accordion.d.ts +2 -2
- package/dist/components/accordion/accordion.test.mjs +3 -3
- package/dist/components/accordion/accordionItem.d.mts +2 -2
- package/dist/components/accordion/accordionItem.d.ts +2 -2
- 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.mjs +3 -3
- package/dist/components/button/button.d.mts +2 -2
- package/dist/components/button/button.d.ts +2 -2
- package/dist/components/button/button.test.mjs +3 -3
- package/dist/components/card/card.d.mts +2 -2
- package/dist/components/card/card.d.ts +2 -2
- package/dist/components/checkbox/checkbox.d.mts +2 -2
- package/dist/components/checkbox/checkbox.d.ts +2 -2
- package/dist/components/checkbox/checkbox.test.mjs +3 -3
- 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 +445 -0
- package/dist/components/dateTimePicker/dateTimePicker.d.ts +445 -0
- package/dist/components/dateTimePicker/dateTimePicker.js +4540 -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 +4541 -0
- package/dist/components/dateTimePicker/index.mjs +21 -0
- package/dist/components/dateTimePicker/timePicker.d.mts +11 -0
- package/dist/components/dateTimePicker/timePicker.d.ts +11 -0
- package/dist/components/dateTimePicker/timePicker.js +345 -0
- package/dist/components/dateTimePicker/timePicker.mjs +13 -0
- package/dist/components/dateTimePicker/useDateTimePicker.d.mts +34 -0
- package/dist/components/dateTimePicker/useDateTimePicker.d.ts +34 -0
- package/dist/components/dateTimePicker/useDateTimePicker.js +117 -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/input/input.d.mts +2 -2
- package/dist/components/input/input.d.ts +2 -2
- package/dist/components/input/input.test.mjs +1 -1
- package/dist/components/list/index.js +3 -3
- package/dist/components/list/index.mjs +1 -1
- package/dist/components/list/list.d.mts +2 -2
- package/dist/components/list/list.d.ts +2 -2
- package/dist/components/list/listItem.d.mts +3 -3
- package/dist/components/list/listItem.d.ts +3 -3
- package/dist/components/list/listItem.js +3 -3
- package/dist/components/list/listItem.mjs +1 -1
- package/dist/components/modal/index.js +1 -1
- package/dist/components/modal/index.mjs +1 -1
- package/dist/components/modal/modal.d.mts +2 -2
- package/dist/components/modal/modal.d.ts +2 -2
- package/dist/components/modal/modal.js +1 -1
- package/dist/components/modal/modal.mjs +1 -1
- package/dist/components/modal/modal.test.js +1 -1
- package/dist/components/modal/modal.test.mjs +2 -2
- package/dist/components/pagination/pagination.d.mts +2 -2
- package/dist/components/pagination/pagination.d.ts +2 -2
- package/dist/components/progress/progress.d.mts +2 -2
- package/dist/components/progress/progress.d.ts +2 -2
- package/dist/components/radio/radio.d.mts +2 -2
- package/dist/components/radio/radio.d.ts +2 -2
- package/dist/components/select/select.d.mts +2 -2
- package/dist/components/select/select.d.ts +2 -2
- package/dist/components/select/select.test.mjs +3 -3
- package/dist/components/select/useSelect.d.mts +3 -3
- package/dist/components/select/useSelect.d.ts +3 -3
- package/dist/components/slider/slider.d.mts +2 -2
- package/dist/components/slider/slider.d.ts +2 -2
- package/dist/components/switch/index.js +1 -2
- package/dist/components/switch/index.mjs +1 -1
- package/dist/components/switch/switch.d.mts +2 -2
- package/dist/components/switch/switch.d.ts +2 -2
- package/dist/components/switch/switch.js +1 -2
- package/dist/components/switch/switch.mjs +1 -1
- package/dist/components/switch/switch.test.js +1 -2
- package/dist/components/switch/switch.test.mjs +1 -1
- 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.d.mts +5 -5
- package/dist/components/table/table.d.ts +5 -5
- package/dist/components/tabs/tabs.d.mts +2 -2
- package/dist/components/tabs/tabs.d.ts +2 -2
- package/dist/components/tabs/tabs.test.mjs +3 -3
- package/dist/components/textarea/textarea.d.mts +2 -2
- package/dist/components/textarea/textarea.d.ts +2 -2
- package/dist/components/textarea/textarea.test.mjs +1 -1
- package/dist/components/toast/toast.d.mts +2 -2
- package/dist/components/toast/toast.d.ts +2 -2
- 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.mjs +3 -3
- package/dist/components/tooltip/useTooltip.d.mts +1 -1
- package/dist/components/tooltip/useTooltip.d.ts +1 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +751 -6
- package/dist/index.mjs +62 -43
- 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
|
@@ -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
|
|
4
|
+
import React__default, { ComponentProps, ReactElement } from 'react';
|
|
5
5
|
import { SlotsToClasses } from '../../utils/types.mjs';
|
|
6
6
|
|
|
7
7
|
interface Props extends Omit<ComponentProps<"input">, "size"> {
|
|
@@ -18,7 +18,7 @@ interface Props extends Omit<ComponentProps<"input">, "size"> {
|
|
|
18
18
|
classNames?: SlotsToClasses<InputSlots>;
|
|
19
19
|
}
|
|
20
20
|
type InputProps = Props & InputVariantProps;
|
|
21
|
-
declare const Input:
|
|
21
|
+
declare const Input: React__default.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React__default.RefAttributes<HTMLInputElement>>;
|
|
22
22
|
|
|
23
23
|
declare const inputStyle: tailwind_variants.TVReturnType<{
|
|
24
24
|
variant: {
|
|
@@ -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
|
|
4
|
+
import React__default, { ComponentProps, ReactElement } from 'react';
|
|
5
5
|
import { SlotsToClasses } from '../../utils/types.js';
|
|
6
6
|
|
|
7
7
|
interface Props extends Omit<ComponentProps<"input">, "size"> {
|
|
@@ -18,7 +18,7 @@ interface Props extends Omit<ComponentProps<"input">, "size"> {
|
|
|
18
18
|
classNames?: SlotsToClasses<InputSlots>;
|
|
19
19
|
}
|
|
20
20
|
type InputProps = Props & InputVariantProps;
|
|
21
|
-
declare const Input:
|
|
21
|
+
declare const Input: React__default.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React__default.RefAttributes<HTMLInputElement>>;
|
|
22
22
|
|
|
23
23
|
declare const inputStyle: tailwind_variants.TVReturnType<{
|
|
24
24
|
variant: {
|
|
@@ -183,13 +183,13 @@ var listItem = tv({
|
|
|
183
183
|
},
|
|
184
184
|
size: {
|
|
185
185
|
sm: {
|
|
186
|
-
base: "h-[30px] text-sm"
|
|
186
|
+
base: "min-h-[30px] text-sm"
|
|
187
187
|
},
|
|
188
188
|
md: {
|
|
189
|
-
base: "h-[40px] text-md"
|
|
189
|
+
base: "min-h-[40px] text-md"
|
|
190
190
|
},
|
|
191
191
|
lg: {
|
|
192
|
-
base: "h-[50px] text-lg"
|
|
192
|
+
base: "min-h-[50px] text-lg"
|
|
193
193
|
}
|
|
194
194
|
},
|
|
195
195
|
color: {
|
|
@@ -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
|
|
4
|
+
import React__default, { ReactNode } from 'react';
|
|
5
5
|
import { SlotsToClasses } from '../../utils/types.mjs';
|
|
6
6
|
|
|
7
7
|
interface Props {
|
|
@@ -9,7 +9,7 @@ interface Props {
|
|
|
9
9
|
classNames?: SlotsToClasses<ListSlots>;
|
|
10
10
|
}
|
|
11
11
|
type ListProps = Props & ListVariantProps;
|
|
12
|
-
declare const List:
|
|
12
|
+
declare const List: React__default.ForwardRefExoticComponent<Props & ListVariantProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
13
13
|
|
|
14
14
|
declare const list: tailwind_variants.TVReturnType<{
|
|
15
15
|
variant: {
|
|
@@ -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
|
|
4
|
+
import React__default, { ReactNode } from 'react';
|
|
5
5
|
import { SlotsToClasses } from '../../utils/types.js';
|
|
6
6
|
|
|
7
7
|
interface Props {
|
|
@@ -9,7 +9,7 @@ interface Props {
|
|
|
9
9
|
classNames?: SlotsToClasses<ListSlots>;
|
|
10
10
|
}
|
|
11
11
|
type ListProps = Props & ListVariantProps;
|
|
12
|
-
declare const List:
|
|
12
|
+
declare const List: React__default.ForwardRefExoticComponent<Props & ListVariantProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
13
13
|
|
|
14
14
|
declare const list: tailwind_variants.TVReturnType<{
|
|
15
15
|
variant: {
|
|
@@ -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
|
|
4
|
+
import React__default, { ReactElement } from 'react';
|
|
5
5
|
import { SlotsToClasses } from '../../utils/types.mjs';
|
|
6
6
|
|
|
7
7
|
interface Props {
|
|
@@ -16,10 +16,10 @@ interface Props {
|
|
|
16
16
|
size?: "sm" | "md" | "lg";
|
|
17
17
|
}>;
|
|
18
18
|
classNames?: SlotsToClasses<ListItemSlots>;
|
|
19
|
-
onClick?: (e:
|
|
19
|
+
onClick?: (e: React__default.MouseEvent) => void;
|
|
20
20
|
}
|
|
21
21
|
type ListItemProps = Props & ListItemVariantProps;
|
|
22
|
-
declare const ListItem:
|
|
22
|
+
declare const ListItem: React__default.ForwardRefExoticComponent<Props & ListItemVariantProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
23
23
|
|
|
24
24
|
declare const listItem: tailwind_variants.TVReturnType<{
|
|
25
25
|
variant: {
|
|
@@ -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
|
|
4
|
+
import React__default, { ReactElement } from 'react';
|
|
5
5
|
import { SlotsToClasses } from '../../utils/types.js';
|
|
6
6
|
|
|
7
7
|
interface Props {
|
|
@@ -16,10 +16,10 @@ interface Props {
|
|
|
16
16
|
size?: "sm" | "md" | "lg";
|
|
17
17
|
}>;
|
|
18
18
|
classNames?: SlotsToClasses<ListItemSlots>;
|
|
19
|
-
onClick?: (e:
|
|
19
|
+
onClick?: (e: React__default.MouseEvent) => void;
|
|
20
20
|
}
|
|
21
21
|
type ListItemProps = Props & ListItemVariantProps;
|
|
22
|
-
declare const ListItem:
|
|
22
|
+
declare const ListItem: React__default.ForwardRefExoticComponent<Props & ListItemVariantProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
23
23
|
|
|
24
24
|
declare const listItem: tailwind_variants.TVReturnType<{
|
|
25
25
|
variant: {
|
|
@@ -123,13 +123,13 @@ var listItem = tv({
|
|
|
123
123
|
},
|
|
124
124
|
size: {
|
|
125
125
|
sm: {
|
|
126
|
-
base: "h-[30px] text-sm"
|
|
126
|
+
base: "min-h-[30px] text-sm"
|
|
127
127
|
},
|
|
128
128
|
md: {
|
|
129
|
-
base: "h-[40px] text-md"
|
|
129
|
+
base: "min-h-[40px] text-md"
|
|
130
130
|
},
|
|
131
131
|
lg: {
|
|
132
|
-
base: "h-[50px] text-lg"
|
|
132
|
+
base: "min-h-[50px] text-lg"
|
|
133
133
|
}
|
|
134
134
|
},
|
|
135
135
|
color: {
|
|
@@ -4439,7 +4439,7 @@ Modal.displayName = "Modal";
|
|
|
4439
4439
|
var modal_default = Modal;
|
|
4440
4440
|
var modal = tv({
|
|
4441
4441
|
slots: {
|
|
4442
|
-
backdrop: ["relative w-screen h-screen fixed inset-0 bg-black/60", "z-[
|
|
4442
|
+
backdrop: ["relative w-screen h-screen fixed inset-0 bg-black/60", "z-[900]"],
|
|
4443
4443
|
modalWrapper: ["group/modal", "absolute", "top-1/2", "-translate-y-1/2", "left-1/2", "-translate-x-1/2"],
|
|
4444
4444
|
icon: ["absolute", "top-[20px]", "left-1/2", "-translate-x-1/2", "z-10"],
|
|
4445
4445
|
closeIcon: [
|
|
@@ -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
|
|
4
|
+
import React__default, { ReactNode } from 'react';
|
|
5
5
|
import { SlotsToClasses } from '../../utils/types.mjs';
|
|
6
6
|
import { IconName } from '../icon/Icon.mjs';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
@@ -24,7 +24,7 @@ interface Props {
|
|
|
24
24
|
onCancel?: () => void;
|
|
25
25
|
}
|
|
26
26
|
type ModalProps = Props & ModalVariantProps;
|
|
27
|
-
declare const Modal:
|
|
27
|
+
declare const Modal: React__default.ForwardRefExoticComponent<Props & ModalVariantProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
28
28
|
|
|
29
29
|
declare const modal: tailwind_variants.TVReturnType<{
|
|
30
30
|
color: {
|
|
@@ -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
|
|
4
|
+
import React__default, { ReactNode } from 'react';
|
|
5
5
|
import { SlotsToClasses } from '../../utils/types.js';
|
|
6
6
|
import { IconName } from '../icon/Icon.js';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
@@ -24,7 +24,7 @@ interface Props {
|
|
|
24
24
|
onCancel?: () => void;
|
|
25
25
|
}
|
|
26
26
|
type ModalProps = Props & ModalVariantProps;
|
|
27
|
-
declare const Modal:
|
|
27
|
+
declare const Modal: React__default.ForwardRefExoticComponent<Props & ModalVariantProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
28
28
|
|
|
29
29
|
declare const modal: tailwind_variants.TVReturnType<{
|
|
30
30
|
color: {
|
|
@@ -4438,7 +4438,7 @@ Modal.displayName = "Modal";
|
|
|
4438
4438
|
var modal_default = Modal;
|
|
4439
4439
|
var modal = tv({
|
|
4440
4440
|
slots: {
|
|
4441
|
-
backdrop: ["relative w-screen h-screen fixed inset-0 bg-black/60", "z-[
|
|
4441
|
+
backdrop: ["relative w-screen h-screen fixed inset-0 bg-black/60", "z-[900]"],
|
|
4442
4442
|
modalWrapper: ["group/modal", "absolute", "top-1/2", "-translate-y-1/2", "left-1/2", "-translate-x-1/2"],
|
|
4443
4443
|
icon: ["absolute", "top-[20px]", "left-1/2", "-translate-x-1/2", "z-10"],
|
|
4444
4444
|
closeIcon: [
|
|
@@ -17274,7 +17274,7 @@ Modal.displayName = "Modal";
|
|
|
17274
17274
|
var modal_default = Modal;
|
|
17275
17275
|
var modal = tv({
|
|
17276
17276
|
slots: {
|
|
17277
|
-
backdrop: ["relative w-screen h-screen fixed inset-0 bg-black/60", "z-[
|
|
17277
|
+
backdrop: ["relative w-screen h-screen fixed inset-0 bg-black/60", "z-[900]"],
|
|
17278
17278
|
modalWrapper: ["group/modal", "absolute", "top-1/2", "-translate-y-1/2", "left-1/2", "-translate-x-1/2"],
|
|
17279
17279
|
icon: ["absolute", "top-[20px]", "left-1/2", "-translate-x-1/2", "z-10"],
|
|
17280
17280
|
closeIcon: [
|
|
@@ -1,14 +1,14 @@
|
|
|
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
6
|
import "../../chunk-NGQ3MK2J.mjs";
|
|
7
|
+
import "../../chunk-UR64ZUAU.mjs";
|
|
7
8
|
import {
|
|
8
9
|
fireEvent,
|
|
9
10
|
render
|
|
10
11
|
} from "../../chunk-FNPWLOGV.mjs";
|
|
11
|
-
import "../../chunk-UR64ZUAU.mjs";
|
|
12
12
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
13
13
|
import "../../chunk-LCI6RPWE.mjs";
|
|
14
14
|
import "../../chunk-IOCRFIQF.mjs";
|
|
@@ -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: {
|
|
@@ -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: {
|
|
@@ -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.js';
|
|
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: {
|
|
@@ -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$1 from 'react';
|
|
5
5
|
import { ReactNode } from 'react';
|
|
6
6
|
import { SlotsToClasses } from '../../utils/types.mjs';
|
|
7
7
|
|
|
@@ -10,7 +10,7 @@ interface Props extends Omit<React.ComponentPropsWithRef<"input">, "ref" | "colo
|
|
|
10
10
|
classNames?: SlotsToClasses<RadioSlots>;
|
|
11
11
|
}
|
|
12
12
|
type RadioProps = Props & RadioVariantProps;
|
|
13
|
-
declare const Radio:
|
|
13
|
+
declare const Radio: React$1.ForwardRefExoticComponent<Props & RadioVariantProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
14
14
|
|
|
15
15
|
declare const radio: tailwind_variants.TVReturnType<{
|
|
16
16
|
color: {
|
|
@@ -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$1 from 'react';
|
|
5
5
|
import { ReactNode } from 'react';
|
|
6
6
|
import { SlotsToClasses } from '../../utils/types.js';
|
|
7
7
|
|
|
@@ -10,7 +10,7 @@ interface Props extends Omit<React.ComponentPropsWithRef<"input">, "ref" | "colo
|
|
|
10
10
|
classNames?: SlotsToClasses<RadioSlots>;
|
|
11
11
|
}
|
|
12
12
|
type RadioProps = Props & RadioVariantProps;
|
|
13
|
-
declare const Radio:
|
|
13
|
+
declare const Radio: React$1.ForwardRefExoticComponent<Props & RadioVariantProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
14
14
|
|
|
15
15
|
declare const radio: tailwind_variants.TVReturnType<{
|
|
16
16
|
color: {
|
|
@@ -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
|
|
|
@@ -18,7 +18,7 @@ type SelectOption = {
|
|
|
18
18
|
key: string | number;
|
|
19
19
|
value: string;
|
|
20
20
|
};
|
|
21
|
-
declare const Select:
|
|
21
|
+
declare const Select: React.ForwardRefExoticComponent<Omit<SelectProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
22
22
|
|
|
23
23
|
declare const select: tailwind_variants.TVReturnType<{
|
|
24
24
|
variant: {
|
|
@@ -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.js';
|
|
7
7
|
|
|
@@ -18,7 +18,7 @@ type SelectOption = {
|
|
|
18
18
|
key: string | number;
|
|
19
19
|
value: string;
|
|
20
20
|
};
|
|
21
|
-
declare const Select:
|
|
21
|
+
declare const Select: React.ForwardRefExoticComponent<Omit<SelectProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
22
22
|
|
|
23
23
|
declare const select: tailwind_variants.TVReturnType<{
|
|
24
24
|
variant: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
userEvent
|
|
4
|
+
} from "../../chunk-S4DTK5GI.mjs";
|
|
2
5
|
import {
|
|
3
6
|
select_default
|
|
4
7
|
} from "../../chunk-JN7EGKJL.mjs";
|
|
5
8
|
import "../../chunk-RZZWHI6O.mjs";
|
|
6
9
|
import "../../chunk-S3QS5B7F.mjs";
|
|
7
|
-
import {
|
|
8
|
-
userEvent
|
|
9
|
-
} from "../../chunk-S4DTK5GI.mjs";
|
|
10
10
|
import {
|
|
11
11
|
act,
|
|
12
12
|
render
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { SelectOption } from './select.mjs';
|
|
3
3
|
import 'tailwind-variants';
|
|
4
4
|
import 'tailwind-variants/dist/config';
|
|
@@ -19,8 +19,8 @@ declare const useSelect: ({ options, defaultOption, onChange }: SelectHookProps)
|
|
|
19
19
|
selectedOption: SelectOption | undefined;
|
|
20
20
|
targetRect: TargetRect | null;
|
|
21
21
|
optionWrapperHeight: number;
|
|
22
|
-
selectWrapperRef:
|
|
23
|
-
optionWrapperRef:
|
|
22
|
+
selectWrapperRef: React.RefObject<HTMLDivElement>;
|
|
23
|
+
optionWrapperRef: React.RefObject<HTMLDivElement>;
|
|
24
24
|
handleToggleSelect: () => void;
|
|
25
25
|
handleChangeOption: (option: SelectOption) => void;
|
|
26
26
|
calculatePositionWithScroll: (targetRect: TargetRect, optionWrapperHeight: number) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { SelectOption } from './select.js';
|
|
3
3
|
import 'tailwind-variants';
|
|
4
4
|
import 'tailwind-variants/dist/config';
|
|
@@ -19,8 +19,8 @@ declare const useSelect: ({ options, defaultOption, onChange }: SelectHookProps)
|
|
|
19
19
|
selectedOption: SelectOption | undefined;
|
|
20
20
|
targetRect: TargetRect | null;
|
|
21
21
|
optionWrapperHeight: number;
|
|
22
|
-
selectWrapperRef:
|
|
23
|
-
optionWrapperRef:
|
|
22
|
+
selectWrapperRef: React.RefObject<HTMLDivElement>;
|
|
23
|
+
optionWrapperRef: React.RefObject<HTMLDivElement>;
|
|
24
24
|
handleToggleSelect: () => void;
|
|
25
25
|
handleChangeOption: (option: SelectOption) => void;
|
|
26
26
|
calculatePositionWithScroll: (targetRect: TargetRect, optionWrapperHeight: number) => {
|
|
@@ -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
|
|
|
@@ -14,7 +14,7 @@ interface Props extends Omit<ComponentPropsWithRef<"input">, "ref" | "size" | "o
|
|
|
14
14
|
onChange?: (value: number) => void;
|
|
15
15
|
}
|
|
16
16
|
type SliderProps = Props & SliderVariantProps;
|
|
17
|
-
declare const Slider:
|
|
17
|
+
declare const Slider: React.ForwardRefExoticComponent<Props & SliderVariantProps & React.RefAttributes<HTMLInputElement>>;
|
|
18
18
|
|
|
19
19
|
declare const slider: tailwind_variants.TVReturnType<{
|
|
20
20
|
size: {
|
|
@@ -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.js';
|
|
7
7
|
|
|
@@ -14,7 +14,7 @@ interface Props extends Omit<ComponentPropsWithRef<"input">, "ref" | "size" | "o
|
|
|
14
14
|
onChange?: (value: number) => void;
|
|
15
15
|
}
|
|
16
16
|
type SliderProps = Props & SliderVariantProps;
|
|
17
|
-
declare const Slider:
|
|
17
|
+
declare const Slider: React.ForwardRefExoticComponent<Props & SliderVariantProps & React.RefAttributes<HTMLInputElement>>;
|
|
18
18
|
|
|
19
19
|
declare const slider: tailwind_variants.TVReturnType<{
|
|
20
20
|
size: {
|
|
@@ -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
|
|
|
@@ -11,7 +11,7 @@ interface Props extends Omit<ComponentPropsWithRef<"input">, "ref" | "size"> {
|
|
|
11
11
|
label?: string;
|
|
12
12
|
}
|
|
13
13
|
type SwitchProps = Props & ToggleVariantProps;
|
|
14
|
-
declare const Switch:
|
|
14
|
+
declare const Switch: React.ForwardRefExoticComponent<Props & ToggleVariantProps & React.RefAttributes<HTMLInputElement>>;
|
|
15
15
|
|
|
16
16
|
declare const toggle: tailwind_variants.TVReturnType<{
|
|
17
17
|
size: {
|
|
@@ -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.js';
|
|
7
7
|
|
|
@@ -11,7 +11,7 @@ interface Props extends Omit<ComponentPropsWithRef<"input">, "ref" | "size"> {
|
|
|
11
11
|
label?: string;
|
|
12
12
|
}
|
|
13
13
|
type SwitchProps = Props & ToggleVariantProps;
|
|
14
|
-
declare const Switch:
|
|
14
|
+
declare const Switch: React.ForwardRefExoticComponent<Props & ToggleVariantProps & React.RefAttributes<HTMLInputElement>>;
|
|
15
15
|
|
|
16
16
|
declare const toggle: tailwind_variants.TVReturnType<{
|
|
17
17
|
size: {
|
|
@@ -12962,8 +12962,7 @@ var toggle = (0, import_tailwind_variants.tv)({
|
|
|
12962
12962
|
"bg-neutral-soft",
|
|
12963
12963
|
"overflow-hidden",
|
|
12964
12964
|
"rounded-full",
|
|
12965
|
-
"px-[2px]"
|
|
12966
|
-
"hover:bg-primary-main/20"
|
|
12965
|
+
"px-[2px]"
|
|
12967
12966
|
],
|
|
12968
12967
|
wrapper: [
|
|
12969
12968
|
"relative",
|