@deepnoid/ui 1.0.22 → 1.0.23
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-Q3SNUBIS.mjs +114 -0
- package/dist/components/breadcrumb/breadcrumb.mjs +3 -2
- package/dist/components/breadcrumb/index.mjs +3 -2
- package/dist/components/button/image-button.d.mts +194 -0
- package/dist/components/button/image-button.d.ts +194 -0
- package/dist/components/button/image-button.js +5572 -0
- package/dist/components/button/image-button.mjs +16 -0
- package/dist/components/button/index.d.mts +1 -0
- package/dist/components/button/index.d.ts +1 -0
- package/dist/components/button/index.js +93 -0
- package/dist/components/button/index.mjs +8 -4
- package/dist/components/fileUpload/fileUpload.mjs +3 -2
- package/dist/components/fileUpload/index.mjs +3 -2
- package/dist/components/list/index.mjs +3 -3
- package/dist/components/modal/GlobalModalProvider.mjs +3 -2
- package/dist/components/modal/index.mjs +3 -2
- package/dist/components/modal/modal.mjs +3 -2
- package/dist/components/modal/useGlobalModal.mjs +3 -2
- package/dist/components/picker/datePicker.mjs +4 -3
- package/dist/components/picker/index.mjs +4 -3
- package/dist/components/picker/timePicker/Panel.mjs +3 -2
- package/dist/components/picker/timePicker/index.mjs +3 -2
- package/dist/components/select/index.mjs +3 -2
- package/dist/components/select/select.mjs +3 -2
- package/dist/components/table/index.mjs +7 -7
- package/dist/components/table/table-body.mjs +4 -4
- package/dist/components/table/table-head.mjs +4 -4
- package/dist/components/table/table.mjs +4 -4
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +740 -647
- package/dist/index.mjs +64 -60
- package/package.json +1 -1
- package/dist/{chunk-W7ECZ3MW.mjs → chunk-7K3EB4DC.mjs} +3 -3
- /package/dist/{chunk-MY5U63QO.mjs → chunk-WG2WVMAR.mjs} +0 -0
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
ripple_default
|
|
4
|
+
} from "./chunk-EAFNOTY3.mjs";
|
|
5
|
+
import {
|
|
6
|
+
useRipple
|
|
7
|
+
} from "./chunk-SZL743JC.mjs";
|
|
8
|
+
import {
|
|
9
|
+
Icon_default
|
|
10
|
+
} from "./chunk-C7OETP3D.mjs";
|
|
11
|
+
import {
|
|
12
|
+
buttonBaseStyle
|
|
13
|
+
} from "./chunk-2WAQRWST.mjs";
|
|
14
|
+
import {
|
|
15
|
+
mapPropsVariants
|
|
16
|
+
} from "./chunk-UWT2WB6H.mjs";
|
|
17
|
+
import {
|
|
18
|
+
tv
|
|
19
|
+
} from "./chunk-UP6RPQDX.mjs";
|
|
20
|
+
|
|
21
|
+
// src/components/button/image-button.tsx
|
|
22
|
+
import { forwardRef, useMemo, useCallback } from "react";
|
|
23
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
24
|
+
var ImageButton = forwardRef((props, ref) => {
|
|
25
|
+
const [localProps, variantProps] = mapPropsVariants(props, imageButtonStyle.variantKeys);
|
|
26
|
+
const { classNames, src, alt, disableRipple, disabled, isLoading, size, isInGroup, onMouseDown, ...buttonProps } = {
|
|
27
|
+
...localProps,
|
|
28
|
+
...variantProps
|
|
29
|
+
};
|
|
30
|
+
const slots = useMemo(() => imageButtonStyle({ ...variantProps }), [variantProps]);
|
|
31
|
+
const { onPress, onClear, ripples } = useRipple();
|
|
32
|
+
const handleRipple = useCallback(
|
|
33
|
+
(e) => {
|
|
34
|
+
if (!disableRipple && !disabled) {
|
|
35
|
+
onPress(e);
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
[disableRipple, disabled, onPress]
|
|
39
|
+
);
|
|
40
|
+
const handleMouseDown = useCallback(
|
|
41
|
+
(e) => {
|
|
42
|
+
onMouseDown == null ? void 0 : onMouseDown(e);
|
|
43
|
+
handleRipple(e);
|
|
44
|
+
},
|
|
45
|
+
[onMouseDown, handleRipple]
|
|
46
|
+
);
|
|
47
|
+
const rippleProps = useMemo(() => ({ ripples, onClear }), [ripples, onClear]);
|
|
48
|
+
return /* @__PURE__ */ jsx(
|
|
49
|
+
"button",
|
|
50
|
+
{
|
|
51
|
+
...buttonProps,
|
|
52
|
+
className: slots.base({ class: classNames == null ? void 0 : classNames.base }),
|
|
53
|
+
"data-loading": isLoading,
|
|
54
|
+
disabled: disabled || isLoading,
|
|
55
|
+
onMouseDown: handleMouseDown,
|
|
56
|
+
ref,
|
|
57
|
+
style: { padding: 0, ...buttonProps.style },
|
|
58
|
+
children: isLoading ? /* @__PURE__ */ jsx(Icon_default, { className: "animate-spin", name: "loading", size }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
59
|
+
/* @__PURE__ */ jsx("img", { src, alt, className: slots.image({ class: classNames == null ? void 0 : classNames.image }) }),
|
|
60
|
+
!disableRipple && /* @__PURE__ */ jsx(ripple_default, { ...rippleProps })
|
|
61
|
+
] })
|
|
62
|
+
}
|
|
63
|
+
);
|
|
64
|
+
});
|
|
65
|
+
ImageButton.displayName = "ImageButton";
|
|
66
|
+
var image_button_default = ImageButton;
|
|
67
|
+
var imageButtonStyle = tv({
|
|
68
|
+
extend: buttonBaseStyle,
|
|
69
|
+
slots: {
|
|
70
|
+
base: [],
|
|
71
|
+
image: ["object-cover", "object-center"]
|
|
72
|
+
},
|
|
73
|
+
variants: {
|
|
74
|
+
size: {
|
|
75
|
+
sm: {
|
|
76
|
+
base: ["w-[24px]", "h-[24px]", "rounded-sm"],
|
|
77
|
+
image: ["w-[12px]", "h-[12px]"]
|
|
78
|
+
},
|
|
79
|
+
md: {
|
|
80
|
+
base: ["w-[32px]", "h-[32px]", "rounded-md"],
|
|
81
|
+
image: ["w-[14px]", "h-[14px]"]
|
|
82
|
+
},
|
|
83
|
+
lg: {
|
|
84
|
+
base: ["w-[40px]", "h-[40px]", "rounded-lg"],
|
|
85
|
+
image: ["w-[16px]", "h-[16px]"]
|
|
86
|
+
},
|
|
87
|
+
xl: {
|
|
88
|
+
base: ["w-[50px]", "h-[50px]", "rounded-xl"],
|
|
89
|
+
image: ["w-[18px]", "h-[18px]"]
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
full: {
|
|
93
|
+
true: {
|
|
94
|
+
base: ["w-full", "h-full"]
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
isLoading: {
|
|
98
|
+
true: {}
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
defaultVariants: {
|
|
102
|
+
size: "md",
|
|
103
|
+
variant: "solid",
|
|
104
|
+
color: "primary",
|
|
105
|
+
full: false,
|
|
106
|
+
disabled: false,
|
|
107
|
+
isLoading: false,
|
|
108
|
+
isInGroup: false
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
|
|
112
|
+
export {
|
|
113
|
+
image_button_default
|
|
114
|
+
};
|
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
import {
|
|
3
3
|
breadcrumb_default
|
|
4
4
|
} from "../../chunk-3Z2WSTCH.mjs";
|
|
5
|
-
import "../../chunk-
|
|
5
|
+
import "../../chunk-WG2WVMAR.mjs";
|
|
6
|
+
import "../../chunk-APZCX3PY.mjs";
|
|
7
|
+
import "../../chunk-Q3SNUBIS.mjs";
|
|
6
8
|
import "../../chunk-MS65QLWR.mjs";
|
|
7
9
|
import "../../chunk-6J6AXUUE.mjs";
|
|
8
10
|
import "../../chunk-4FUD3BZV.mjs";
|
|
9
|
-
import "../../chunk-APZCX3PY.mjs";
|
|
10
11
|
import "../../chunk-6WSACUIB.mjs";
|
|
11
12
|
import "../../chunk-EAFNOTY3.mjs";
|
|
12
13
|
import "../../chunk-SZL743JC.mjs";
|
|
@@ -3,11 +3,12 @@ import "../../chunk-KYIODWXL.mjs";
|
|
|
3
3
|
import {
|
|
4
4
|
breadcrumb_default
|
|
5
5
|
} from "../../chunk-3Z2WSTCH.mjs";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-WG2WVMAR.mjs";
|
|
7
|
+
import "../../chunk-APZCX3PY.mjs";
|
|
8
|
+
import "../../chunk-Q3SNUBIS.mjs";
|
|
7
9
|
import "../../chunk-MS65QLWR.mjs";
|
|
8
10
|
import "../../chunk-6J6AXUUE.mjs";
|
|
9
11
|
import "../../chunk-4FUD3BZV.mjs";
|
|
10
|
-
import "../../chunk-APZCX3PY.mjs";
|
|
11
12
|
import "../../chunk-6WSACUIB.mjs";
|
|
12
13
|
import "../../chunk-EAFNOTY3.mjs";
|
|
13
14
|
import "../../chunk-SZL743JC.mjs";
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
import * as react from 'react';
|
|
4
|
+
import { ButtonHTMLAttributes } from 'react';
|
|
5
|
+
import { SlotsToClasses } from '../../utils/types.mjs';
|
|
6
|
+
|
|
7
|
+
interface Props extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
8
|
+
src: string;
|
|
9
|
+
alt: string;
|
|
10
|
+
disableRipple?: boolean;
|
|
11
|
+
classNames?: SlotsToClasses<ImageButtonSlots>;
|
|
12
|
+
}
|
|
13
|
+
type ImageButtonProps = Props & ImageButtonVariantProps;
|
|
14
|
+
declare const ImageButton: react.ForwardRefExoticComponent<Props & ImageButtonVariantProps & react.RefAttributes<HTMLButtonElement>>;
|
|
15
|
+
|
|
16
|
+
declare const imageButtonStyle: tailwind_variants.TVReturnType<{
|
|
17
|
+
size: {
|
|
18
|
+
sm: {
|
|
19
|
+
base: string[];
|
|
20
|
+
image: string[];
|
|
21
|
+
};
|
|
22
|
+
md: {
|
|
23
|
+
base: string[];
|
|
24
|
+
image: string[];
|
|
25
|
+
};
|
|
26
|
+
lg: {
|
|
27
|
+
base: string[];
|
|
28
|
+
image: string[];
|
|
29
|
+
};
|
|
30
|
+
xl: {
|
|
31
|
+
base: string[];
|
|
32
|
+
image: string[];
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
full: {
|
|
36
|
+
true: {
|
|
37
|
+
base: string[];
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
isLoading: {
|
|
41
|
+
true: {};
|
|
42
|
+
};
|
|
43
|
+
}, {
|
|
44
|
+
base: never[];
|
|
45
|
+
image: string[];
|
|
46
|
+
}, undefined, {
|
|
47
|
+
variant: {
|
|
48
|
+
solid: {};
|
|
49
|
+
soft: {};
|
|
50
|
+
outline: {
|
|
51
|
+
base: string[];
|
|
52
|
+
};
|
|
53
|
+
ghost: {};
|
|
54
|
+
};
|
|
55
|
+
color: {
|
|
56
|
+
primary: {};
|
|
57
|
+
secondary: {};
|
|
58
|
+
neutral: {};
|
|
59
|
+
info: {};
|
|
60
|
+
success: {};
|
|
61
|
+
warning: {};
|
|
62
|
+
danger: {};
|
|
63
|
+
};
|
|
64
|
+
size: {
|
|
65
|
+
sm: {};
|
|
66
|
+
md: {};
|
|
67
|
+
lg: {};
|
|
68
|
+
xl: {};
|
|
69
|
+
};
|
|
70
|
+
disabled: {
|
|
71
|
+
true: {
|
|
72
|
+
base: string[];
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
isInGroup: {
|
|
76
|
+
true: {
|
|
77
|
+
base: string[];
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
}, {
|
|
81
|
+
base: string[];
|
|
82
|
+
}, tailwind_variants.TVReturnType<{
|
|
83
|
+
variant: {
|
|
84
|
+
solid: {};
|
|
85
|
+
soft: {};
|
|
86
|
+
outline: {
|
|
87
|
+
base: string[];
|
|
88
|
+
};
|
|
89
|
+
ghost: {};
|
|
90
|
+
};
|
|
91
|
+
color: {
|
|
92
|
+
primary: {};
|
|
93
|
+
secondary: {};
|
|
94
|
+
neutral: {};
|
|
95
|
+
info: {};
|
|
96
|
+
success: {};
|
|
97
|
+
warning: {};
|
|
98
|
+
danger: {};
|
|
99
|
+
};
|
|
100
|
+
size: {
|
|
101
|
+
sm: {};
|
|
102
|
+
md: {};
|
|
103
|
+
lg: {};
|
|
104
|
+
xl: {};
|
|
105
|
+
};
|
|
106
|
+
disabled: {
|
|
107
|
+
true: {
|
|
108
|
+
base: string[];
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
isInGroup: {
|
|
112
|
+
true: {
|
|
113
|
+
base: string[];
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
}, {
|
|
117
|
+
base: string[];
|
|
118
|
+
}, undefined, {
|
|
119
|
+
variant: {
|
|
120
|
+
solid: {};
|
|
121
|
+
soft: {};
|
|
122
|
+
outline: {
|
|
123
|
+
base: string[];
|
|
124
|
+
};
|
|
125
|
+
ghost: {};
|
|
126
|
+
};
|
|
127
|
+
color: {
|
|
128
|
+
primary: {};
|
|
129
|
+
secondary: {};
|
|
130
|
+
neutral: {};
|
|
131
|
+
info: {};
|
|
132
|
+
success: {};
|
|
133
|
+
warning: {};
|
|
134
|
+
danger: {};
|
|
135
|
+
};
|
|
136
|
+
size: {
|
|
137
|
+
sm: {};
|
|
138
|
+
md: {};
|
|
139
|
+
lg: {};
|
|
140
|
+
xl: {};
|
|
141
|
+
};
|
|
142
|
+
disabled: {
|
|
143
|
+
true: {
|
|
144
|
+
base: string[];
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
isInGroup: {
|
|
148
|
+
true: {
|
|
149
|
+
base: string[];
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
}, {
|
|
153
|
+
base: string[];
|
|
154
|
+
}, tailwind_variants.TVReturnType<{
|
|
155
|
+
variant: {
|
|
156
|
+
solid: {};
|
|
157
|
+
soft: {};
|
|
158
|
+
outline: {
|
|
159
|
+
base: string[];
|
|
160
|
+
};
|
|
161
|
+
ghost: {};
|
|
162
|
+
};
|
|
163
|
+
color: {
|
|
164
|
+
primary: {};
|
|
165
|
+
secondary: {};
|
|
166
|
+
neutral: {};
|
|
167
|
+
info: {};
|
|
168
|
+
success: {};
|
|
169
|
+
warning: {};
|
|
170
|
+
danger: {};
|
|
171
|
+
};
|
|
172
|
+
size: {
|
|
173
|
+
sm: {};
|
|
174
|
+
md: {};
|
|
175
|
+
lg: {};
|
|
176
|
+
xl: {};
|
|
177
|
+
};
|
|
178
|
+
disabled: {
|
|
179
|
+
true: {
|
|
180
|
+
base: string[];
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
isInGroup: {
|
|
184
|
+
true: {
|
|
185
|
+
base: string[];
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
}, {
|
|
189
|
+
base: string[];
|
|
190
|
+
}, undefined, unknown, unknown, undefined>>>;
|
|
191
|
+
type ImageButtonVariantProps = VariantProps<typeof imageButtonStyle>;
|
|
192
|
+
type ImageButtonSlots = keyof ReturnType<typeof imageButtonStyle>;
|
|
193
|
+
|
|
194
|
+
export { type ImageButtonProps, type Props, ImageButton as default };
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
import * as react from 'react';
|
|
4
|
+
import { ButtonHTMLAttributes } from 'react';
|
|
5
|
+
import { SlotsToClasses } from '../../utils/types.js';
|
|
6
|
+
|
|
7
|
+
interface Props extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
8
|
+
src: string;
|
|
9
|
+
alt: string;
|
|
10
|
+
disableRipple?: boolean;
|
|
11
|
+
classNames?: SlotsToClasses<ImageButtonSlots>;
|
|
12
|
+
}
|
|
13
|
+
type ImageButtonProps = Props & ImageButtonVariantProps;
|
|
14
|
+
declare const ImageButton: react.ForwardRefExoticComponent<Props & ImageButtonVariantProps & react.RefAttributes<HTMLButtonElement>>;
|
|
15
|
+
|
|
16
|
+
declare const imageButtonStyle: tailwind_variants.TVReturnType<{
|
|
17
|
+
size: {
|
|
18
|
+
sm: {
|
|
19
|
+
base: string[];
|
|
20
|
+
image: string[];
|
|
21
|
+
};
|
|
22
|
+
md: {
|
|
23
|
+
base: string[];
|
|
24
|
+
image: string[];
|
|
25
|
+
};
|
|
26
|
+
lg: {
|
|
27
|
+
base: string[];
|
|
28
|
+
image: string[];
|
|
29
|
+
};
|
|
30
|
+
xl: {
|
|
31
|
+
base: string[];
|
|
32
|
+
image: string[];
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
full: {
|
|
36
|
+
true: {
|
|
37
|
+
base: string[];
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
isLoading: {
|
|
41
|
+
true: {};
|
|
42
|
+
};
|
|
43
|
+
}, {
|
|
44
|
+
base: never[];
|
|
45
|
+
image: string[];
|
|
46
|
+
}, undefined, {
|
|
47
|
+
variant: {
|
|
48
|
+
solid: {};
|
|
49
|
+
soft: {};
|
|
50
|
+
outline: {
|
|
51
|
+
base: string[];
|
|
52
|
+
};
|
|
53
|
+
ghost: {};
|
|
54
|
+
};
|
|
55
|
+
color: {
|
|
56
|
+
primary: {};
|
|
57
|
+
secondary: {};
|
|
58
|
+
neutral: {};
|
|
59
|
+
info: {};
|
|
60
|
+
success: {};
|
|
61
|
+
warning: {};
|
|
62
|
+
danger: {};
|
|
63
|
+
};
|
|
64
|
+
size: {
|
|
65
|
+
sm: {};
|
|
66
|
+
md: {};
|
|
67
|
+
lg: {};
|
|
68
|
+
xl: {};
|
|
69
|
+
};
|
|
70
|
+
disabled: {
|
|
71
|
+
true: {
|
|
72
|
+
base: string[];
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
isInGroup: {
|
|
76
|
+
true: {
|
|
77
|
+
base: string[];
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
}, {
|
|
81
|
+
base: string[];
|
|
82
|
+
}, tailwind_variants.TVReturnType<{
|
|
83
|
+
variant: {
|
|
84
|
+
solid: {};
|
|
85
|
+
soft: {};
|
|
86
|
+
outline: {
|
|
87
|
+
base: string[];
|
|
88
|
+
};
|
|
89
|
+
ghost: {};
|
|
90
|
+
};
|
|
91
|
+
color: {
|
|
92
|
+
primary: {};
|
|
93
|
+
secondary: {};
|
|
94
|
+
neutral: {};
|
|
95
|
+
info: {};
|
|
96
|
+
success: {};
|
|
97
|
+
warning: {};
|
|
98
|
+
danger: {};
|
|
99
|
+
};
|
|
100
|
+
size: {
|
|
101
|
+
sm: {};
|
|
102
|
+
md: {};
|
|
103
|
+
lg: {};
|
|
104
|
+
xl: {};
|
|
105
|
+
};
|
|
106
|
+
disabled: {
|
|
107
|
+
true: {
|
|
108
|
+
base: string[];
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
isInGroup: {
|
|
112
|
+
true: {
|
|
113
|
+
base: string[];
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
}, {
|
|
117
|
+
base: string[];
|
|
118
|
+
}, undefined, {
|
|
119
|
+
variant: {
|
|
120
|
+
solid: {};
|
|
121
|
+
soft: {};
|
|
122
|
+
outline: {
|
|
123
|
+
base: string[];
|
|
124
|
+
};
|
|
125
|
+
ghost: {};
|
|
126
|
+
};
|
|
127
|
+
color: {
|
|
128
|
+
primary: {};
|
|
129
|
+
secondary: {};
|
|
130
|
+
neutral: {};
|
|
131
|
+
info: {};
|
|
132
|
+
success: {};
|
|
133
|
+
warning: {};
|
|
134
|
+
danger: {};
|
|
135
|
+
};
|
|
136
|
+
size: {
|
|
137
|
+
sm: {};
|
|
138
|
+
md: {};
|
|
139
|
+
lg: {};
|
|
140
|
+
xl: {};
|
|
141
|
+
};
|
|
142
|
+
disabled: {
|
|
143
|
+
true: {
|
|
144
|
+
base: string[];
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
isInGroup: {
|
|
148
|
+
true: {
|
|
149
|
+
base: string[];
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
}, {
|
|
153
|
+
base: string[];
|
|
154
|
+
}, tailwind_variants.TVReturnType<{
|
|
155
|
+
variant: {
|
|
156
|
+
solid: {};
|
|
157
|
+
soft: {};
|
|
158
|
+
outline: {
|
|
159
|
+
base: string[];
|
|
160
|
+
};
|
|
161
|
+
ghost: {};
|
|
162
|
+
};
|
|
163
|
+
color: {
|
|
164
|
+
primary: {};
|
|
165
|
+
secondary: {};
|
|
166
|
+
neutral: {};
|
|
167
|
+
info: {};
|
|
168
|
+
success: {};
|
|
169
|
+
warning: {};
|
|
170
|
+
danger: {};
|
|
171
|
+
};
|
|
172
|
+
size: {
|
|
173
|
+
sm: {};
|
|
174
|
+
md: {};
|
|
175
|
+
lg: {};
|
|
176
|
+
xl: {};
|
|
177
|
+
};
|
|
178
|
+
disabled: {
|
|
179
|
+
true: {
|
|
180
|
+
base: string[];
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
isInGroup: {
|
|
184
|
+
true: {
|
|
185
|
+
base: string[];
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
}, {
|
|
189
|
+
base: string[];
|
|
190
|
+
}, undefined, unknown, unknown, undefined>>>;
|
|
191
|
+
type ImageButtonVariantProps = VariantProps<typeof imageButtonStyle>;
|
|
192
|
+
type ImageButtonSlots = keyof ReturnType<typeof imageButtonStyle>;
|
|
193
|
+
|
|
194
|
+
export { type ImageButtonProps, type Props, ImageButton as default };
|