@deepnoid/ui 0.1.11 → 0.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +157 -147
- package/dist/{chunk-LHDOM76J.mjs → chunk-2KAR2PTQ.mjs} +1 -1
- package/dist/{chunk-QYJORE4E.mjs → chunk-4GLKWK3Z.mjs} +1 -1
- package/dist/{chunk-H5DOTBKA.mjs → chunk-56RN6YOP.mjs} +1 -1
- package/dist/{chunk-RMTHVIPI.mjs → chunk-57WBWSSL.mjs} +2 -2
- package/dist/{chunk-ILFY6MZ6.mjs → chunk-6G7GOPSB.mjs} +5 -5
- package/dist/{chunk-DG3KRCXB.mjs → chunk-7R4NOC2G.mjs} +9 -9
- package/dist/{chunk-6BBDU4HW.mjs → chunk-7R4QY3TA.mjs} +1 -1
- package/dist/{chunk-M5KV3WZ2.mjs → chunk-A7OXEUCC.mjs} +29 -37
- package/dist/{chunk-W55GVLPJ.mjs → chunk-AHTNXGAY.mjs} +1 -1
- package/dist/{chunk-RRI3I435.mjs → chunk-DADMVOYI.mjs} +1 -1
- package/dist/{chunk-ASQAVFM5.mjs → chunk-GQS6V47G.mjs} +1 -1
- package/dist/{chunk-C62UPLCC.mjs → chunk-GXWSYM7Z.mjs} +2 -2
- package/dist/{chunk-KHI2DZTG.mjs → chunk-LP724WOP.mjs} +4 -4
- package/dist/{chunk-BWURZ3WF.mjs → chunk-NEUCUEIG.mjs} +2 -2
- package/dist/{chunk-DPCE4DLW.mjs → chunk-NJ4PBW65.mjs} +1 -1
- package/dist/{chunk-53O3RJVP.mjs → chunk-O5UA4WDU.mjs} +2 -2
- package/dist/{chunk-OHDRKCOC.mjs → chunk-T5LK5CJS.mjs} +41 -23
- package/dist/chunk-TTY3EEXX.mjs +143 -0
- package/dist/{chunk-N4F3R6HG.mjs → chunk-WB24YDE2.mjs} +1 -1
- package/dist/{chunk-N4UFXIUC.mjs → chunk-YQGZRSUQ.mjs} +1 -1
- package/dist/chunk-ZMJYDLTS.mjs +380 -0
- package/dist/components/avatar/avatar.js +29 -37
- package/dist/components/avatar/avatar.mjs +2 -2
- package/dist/components/avatar/index.js +29 -37
- package/dist/components/avatar/index.mjs +2 -2
- package/dist/components/breadcrumb/breadcrumb.d.mts +0 -3
- package/dist/components/breadcrumb/breadcrumb.d.ts +0 -3
- package/dist/components/breadcrumb/breadcrumb.js +257 -65
- package/dist/components/breadcrumb/breadcrumb.mjs +13 -3
- package/dist/components/breadcrumb/index.js +257 -65
- package/dist/components/breadcrumb/index.mjs +13 -3
- package/dist/components/button/button-group.js +1 -1
- package/dist/components/button/button-group.mjs +1 -1
- package/dist/components/button/button.js +29 -37
- package/dist/components/button/button.mjs +4 -4
- package/dist/components/button/icon-button.d.mts +157 -0
- package/dist/components/button/icon-button.d.ts +157 -0
- package/dist/components/button/icon-button.js +4674 -0
- package/dist/components/button/icon-button.mjs +16 -0
- package/dist/components/button/index.d.mts +5 -0
- package/dist/components/button/index.d.ts +5 -0
- package/dist/components/button/index.js +566 -45
- package/dist/components/button/index.mjs +16 -7
- package/dist/components/button/text-button.d.mts +146 -0
- package/dist/components/button/text-button.d.ts +146 -0
- package/dist/components/button/text-button.js +507 -0
- package/dist/components/button/text-button.mjs +11 -0
- package/dist/components/chip/chip.js +29 -37
- package/dist/components/chip/chip.mjs +3 -3
- package/dist/components/chip/index.js +29 -37
- package/dist/components/chip/index.mjs +3 -3
- package/dist/components/dateTimePicker/calendar.js +29 -37
- package/dist/components/dateTimePicker/calendar.mjs +3 -3
- package/dist/components/dateTimePicker/dateTimePicker.js +29 -37
- package/dist/components/dateTimePicker/dateTimePicker.mjs +7 -7
- package/dist/components/dateTimePicker/index.js +29 -37
- package/dist/components/dateTimePicker/index.mjs +7 -7
- package/dist/components/dateTimePicker/timePicker.js +29 -37
- package/dist/components/dateTimePicker/timePicker.mjs +5 -5
- package/dist/components/icon/Icon.d.mts +4 -4
- package/dist/components/icon/Icon.d.ts +4 -4
- package/dist/components/icon/Icon.js +29 -37
- package/dist/components/icon/Icon.mjs +2 -2
- package/dist/components/icon/index.js +29 -37
- package/dist/components/icon/index.mjs +2 -2
- package/dist/components/icon/template.d.mts +1 -1
- package/dist/components/icon/template.d.ts +1 -1
- package/dist/components/icon/template.js +29 -37
- package/dist/components/icon/template.mjs +1 -1
- package/dist/components/input/index.js +29 -37
- package/dist/components/input/index.mjs +3 -3
- package/dist/components/input/input.js +29 -37
- package/dist/components/input/input.mjs +3 -3
- package/dist/components/list/index.js +29 -37
- package/dist/components/list/index.mjs +4 -4
- package/dist/components/list/listItem.js +29 -37
- package/dist/components/list/listItem.mjs +4 -4
- package/dist/components/modal/index.js +29 -37
- package/dist/components/modal/index.mjs +10 -7
- package/dist/components/modal/modal.js +29 -37
- package/dist/components/modal/modal.mjs +10 -7
- package/dist/components/pagination/index.js +36 -44
- package/dist/components/pagination/index.mjs +4 -4
- package/dist/components/pagination/pagination.js +36 -44
- package/dist/components/pagination/pagination.mjs +4 -4
- package/dist/components/ripple/index.mjs +3 -3
- package/dist/components/select/index.js +29 -37
- package/dist/components/select/index.mjs +4 -4
- package/dist/components/select/option.js +29 -37
- package/dist/components/select/option.mjs +3 -3
- package/dist/components/select/select.js +29 -37
- package/dist/components/select/select.mjs +4 -4
- package/dist/components/table/index.js +37 -45
- package/dist/components/table/index.mjs +5 -5
- package/dist/components/table/table.d.mts +1 -1
- package/dist/components/table/table.d.ts +1 -1
- package/dist/components/table/table.js +37 -45
- package/dist/components/table/table.mjs +5 -5
- package/dist/components/toast/index.js +29 -37
- package/dist/components/toast/index.mjs +4 -4
- package/dist/components/toast/toast.js +29 -37
- package/dist/components/toast/toast.mjs +3 -3
- package/dist/components/toast/use-toast.js +29 -37
- package/dist/components/toast/use-toast.mjs +4 -4
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1103 -609
- package/dist/index.mjs +50 -42
- package/package.json +1 -1
- /package/dist/{chunk-VUYUQGLF.mjs → chunk-MY5U63QO.mjs} +0 -0
|
@@ -1,21 +1,30 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import "../../chunk-
|
|
2
|
+
import "../../chunk-MY5U63QO.mjs";
|
|
3
3
|
import {
|
|
4
4
|
button_group_default
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-WB24YDE2.mjs";
|
|
6
6
|
import {
|
|
7
7
|
button_default
|
|
8
|
-
} from "../../chunk-
|
|
8
|
+
} from "../../chunk-LP724WOP.mjs";
|
|
9
|
+
import {
|
|
10
|
+
icon_button_default
|
|
11
|
+
} from "../../chunk-ZMJYDLTS.mjs";
|
|
9
12
|
import "../../chunk-6WSACUIB.mjs";
|
|
10
|
-
import "../../chunk-LXHUO6VM.mjs";
|
|
11
13
|
import "../../chunk-6PNKRBUT.mjs";
|
|
14
|
+
import "../../chunk-LXHUO6VM.mjs";
|
|
15
|
+
import {
|
|
16
|
+
text_button_default
|
|
17
|
+
} from "../../chunk-TTY3EEXX.mjs";
|
|
12
18
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
13
|
-
import "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
19
|
+
import "../../chunk-DADMVOYI.mjs";
|
|
20
|
+
import "../../chunk-A7OXEUCC.mjs";
|
|
15
21
|
import "../../chunk-2ZT6V4QR.mjs";
|
|
22
|
+
import "../../chunk-27Y6K5NK.mjs";
|
|
16
23
|
import "../../chunk-E3G5QXSH.mjs";
|
|
17
24
|
import "../../chunk-AC6TWLRT.mjs";
|
|
18
25
|
export {
|
|
19
26
|
button_default as Button,
|
|
20
|
-
button_group_default as ButtonGroup
|
|
27
|
+
button_group_default as ButtonGroup,
|
|
28
|
+
icon_button_default as IconButton,
|
|
29
|
+
text_button_default as TextButton
|
|
21
30
|
};
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
import * as react from 'react';
|
|
4
|
+
import { ButtonHTMLAttributes, ReactNode } from 'react';
|
|
5
|
+
import { SlotsToClasses } from '../../utils/types.mjs';
|
|
6
|
+
|
|
7
|
+
interface Props extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
startContent?: ReactNode;
|
|
10
|
+
endContent?: ReactNode;
|
|
11
|
+
classNames?: SlotsToClasses<TextButtonSlots>;
|
|
12
|
+
}
|
|
13
|
+
type TextButtonProps = Props & TextButtonVariantProps;
|
|
14
|
+
declare const TextButton: react.ForwardRefExoticComponent<Props & TextButtonVariantProps & react.RefAttributes<HTMLButtonElement>>;
|
|
15
|
+
|
|
16
|
+
declare const textButtonStyle: tailwind_variants.TVReturnType<{
|
|
17
|
+
variant: {
|
|
18
|
+
"non-under": never[];
|
|
19
|
+
underline: never[];
|
|
20
|
+
};
|
|
21
|
+
color: {
|
|
22
|
+
primary: never[];
|
|
23
|
+
secondary: never[];
|
|
24
|
+
neutral: never[];
|
|
25
|
+
};
|
|
26
|
+
size: {
|
|
27
|
+
sm: {
|
|
28
|
+
base: string[];
|
|
29
|
+
underline: string[];
|
|
30
|
+
};
|
|
31
|
+
md: {
|
|
32
|
+
base: string[];
|
|
33
|
+
underline: string[];
|
|
34
|
+
};
|
|
35
|
+
lg: {
|
|
36
|
+
base: string[];
|
|
37
|
+
underline: string[];
|
|
38
|
+
};
|
|
39
|
+
xl: {
|
|
40
|
+
base: string[];
|
|
41
|
+
underline: string[];
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
isDisabled: {
|
|
45
|
+
true: {
|
|
46
|
+
base: string[];
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
isInGroup: {
|
|
50
|
+
true: {
|
|
51
|
+
base: string[];
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
}, {
|
|
55
|
+
base: string[];
|
|
56
|
+
content: never[];
|
|
57
|
+
underline: string[];
|
|
58
|
+
}, undefined, {
|
|
59
|
+
variant: {
|
|
60
|
+
"non-under": never[];
|
|
61
|
+
underline: never[];
|
|
62
|
+
};
|
|
63
|
+
color: {
|
|
64
|
+
primary: never[];
|
|
65
|
+
secondary: never[];
|
|
66
|
+
neutral: never[];
|
|
67
|
+
};
|
|
68
|
+
size: {
|
|
69
|
+
sm: {
|
|
70
|
+
base: string[];
|
|
71
|
+
underline: string[];
|
|
72
|
+
};
|
|
73
|
+
md: {
|
|
74
|
+
base: string[];
|
|
75
|
+
underline: string[];
|
|
76
|
+
};
|
|
77
|
+
lg: {
|
|
78
|
+
base: string[];
|
|
79
|
+
underline: string[];
|
|
80
|
+
};
|
|
81
|
+
xl: {
|
|
82
|
+
base: string[];
|
|
83
|
+
underline: string[];
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
isDisabled: {
|
|
87
|
+
true: {
|
|
88
|
+
base: string[];
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
isInGroup: {
|
|
92
|
+
true: {
|
|
93
|
+
base: string[];
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
}, {
|
|
97
|
+
base: string[];
|
|
98
|
+
content: never[];
|
|
99
|
+
underline: string[];
|
|
100
|
+
}, tailwind_variants.TVReturnType<{
|
|
101
|
+
variant: {
|
|
102
|
+
"non-under": never[];
|
|
103
|
+
underline: never[];
|
|
104
|
+
};
|
|
105
|
+
color: {
|
|
106
|
+
primary: never[];
|
|
107
|
+
secondary: never[];
|
|
108
|
+
neutral: never[];
|
|
109
|
+
};
|
|
110
|
+
size: {
|
|
111
|
+
sm: {
|
|
112
|
+
base: string[];
|
|
113
|
+
underline: string[];
|
|
114
|
+
};
|
|
115
|
+
md: {
|
|
116
|
+
base: string[];
|
|
117
|
+
underline: string[];
|
|
118
|
+
};
|
|
119
|
+
lg: {
|
|
120
|
+
base: string[];
|
|
121
|
+
underline: string[];
|
|
122
|
+
};
|
|
123
|
+
xl: {
|
|
124
|
+
base: string[];
|
|
125
|
+
underline: string[];
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
isDisabled: {
|
|
129
|
+
true: {
|
|
130
|
+
base: string[];
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
isInGroup: {
|
|
134
|
+
true: {
|
|
135
|
+
base: string[];
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
}, {
|
|
139
|
+
base: string[];
|
|
140
|
+
content: never[];
|
|
141
|
+
underline: string[];
|
|
142
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
143
|
+
type TextButtonVariantProps = VariantProps<typeof textButtonStyle>;
|
|
144
|
+
type TextButtonSlots = keyof ReturnType<typeof textButtonStyle>;
|
|
145
|
+
|
|
146
|
+
export { type Props, type TextButtonProps, TextButton as default };
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
import * as react from 'react';
|
|
4
|
+
import { ButtonHTMLAttributes, ReactNode } from 'react';
|
|
5
|
+
import { SlotsToClasses } from '../../utils/types.js';
|
|
6
|
+
|
|
7
|
+
interface Props extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
startContent?: ReactNode;
|
|
10
|
+
endContent?: ReactNode;
|
|
11
|
+
classNames?: SlotsToClasses<TextButtonSlots>;
|
|
12
|
+
}
|
|
13
|
+
type TextButtonProps = Props & TextButtonVariantProps;
|
|
14
|
+
declare const TextButton: react.ForwardRefExoticComponent<Props & TextButtonVariantProps & react.RefAttributes<HTMLButtonElement>>;
|
|
15
|
+
|
|
16
|
+
declare const textButtonStyle: tailwind_variants.TVReturnType<{
|
|
17
|
+
variant: {
|
|
18
|
+
"non-under": never[];
|
|
19
|
+
underline: never[];
|
|
20
|
+
};
|
|
21
|
+
color: {
|
|
22
|
+
primary: never[];
|
|
23
|
+
secondary: never[];
|
|
24
|
+
neutral: never[];
|
|
25
|
+
};
|
|
26
|
+
size: {
|
|
27
|
+
sm: {
|
|
28
|
+
base: string[];
|
|
29
|
+
underline: string[];
|
|
30
|
+
};
|
|
31
|
+
md: {
|
|
32
|
+
base: string[];
|
|
33
|
+
underline: string[];
|
|
34
|
+
};
|
|
35
|
+
lg: {
|
|
36
|
+
base: string[];
|
|
37
|
+
underline: string[];
|
|
38
|
+
};
|
|
39
|
+
xl: {
|
|
40
|
+
base: string[];
|
|
41
|
+
underline: string[];
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
isDisabled: {
|
|
45
|
+
true: {
|
|
46
|
+
base: string[];
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
isInGroup: {
|
|
50
|
+
true: {
|
|
51
|
+
base: string[];
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
}, {
|
|
55
|
+
base: string[];
|
|
56
|
+
content: never[];
|
|
57
|
+
underline: string[];
|
|
58
|
+
}, undefined, {
|
|
59
|
+
variant: {
|
|
60
|
+
"non-under": never[];
|
|
61
|
+
underline: never[];
|
|
62
|
+
};
|
|
63
|
+
color: {
|
|
64
|
+
primary: never[];
|
|
65
|
+
secondary: never[];
|
|
66
|
+
neutral: never[];
|
|
67
|
+
};
|
|
68
|
+
size: {
|
|
69
|
+
sm: {
|
|
70
|
+
base: string[];
|
|
71
|
+
underline: string[];
|
|
72
|
+
};
|
|
73
|
+
md: {
|
|
74
|
+
base: string[];
|
|
75
|
+
underline: string[];
|
|
76
|
+
};
|
|
77
|
+
lg: {
|
|
78
|
+
base: string[];
|
|
79
|
+
underline: string[];
|
|
80
|
+
};
|
|
81
|
+
xl: {
|
|
82
|
+
base: string[];
|
|
83
|
+
underline: string[];
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
isDisabled: {
|
|
87
|
+
true: {
|
|
88
|
+
base: string[];
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
isInGroup: {
|
|
92
|
+
true: {
|
|
93
|
+
base: string[];
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
}, {
|
|
97
|
+
base: string[];
|
|
98
|
+
content: never[];
|
|
99
|
+
underline: string[];
|
|
100
|
+
}, tailwind_variants.TVReturnType<{
|
|
101
|
+
variant: {
|
|
102
|
+
"non-under": never[];
|
|
103
|
+
underline: never[];
|
|
104
|
+
};
|
|
105
|
+
color: {
|
|
106
|
+
primary: never[];
|
|
107
|
+
secondary: never[];
|
|
108
|
+
neutral: never[];
|
|
109
|
+
};
|
|
110
|
+
size: {
|
|
111
|
+
sm: {
|
|
112
|
+
base: string[];
|
|
113
|
+
underline: string[];
|
|
114
|
+
};
|
|
115
|
+
md: {
|
|
116
|
+
base: string[];
|
|
117
|
+
underline: string[];
|
|
118
|
+
};
|
|
119
|
+
lg: {
|
|
120
|
+
base: string[];
|
|
121
|
+
underline: string[];
|
|
122
|
+
};
|
|
123
|
+
xl: {
|
|
124
|
+
base: string[];
|
|
125
|
+
underline: string[];
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
isDisabled: {
|
|
129
|
+
true: {
|
|
130
|
+
base: string[];
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
isInGroup: {
|
|
134
|
+
true: {
|
|
135
|
+
base: string[];
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
}, {
|
|
139
|
+
base: string[];
|
|
140
|
+
content: never[];
|
|
141
|
+
underline: string[];
|
|
142
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
143
|
+
type TextButtonVariantProps = VariantProps<typeof textButtonStyle>;
|
|
144
|
+
type TextButtonSlots = keyof ReturnType<typeof textButtonStyle>;
|
|
145
|
+
|
|
146
|
+
export { type Props, type TextButtonProps, TextButton as default };
|