@refinn/core-ui 0.1.7 → 0.1.9
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/index.cjs +202 -178
- package/dist/index.d.mts +7 -5
- package/dist/index.d.ts +7 -5
- package/dist/index.js +233 -205
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -109,7 +109,7 @@ interface ChipProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
109
109
|
icon?: ReactNode;
|
|
110
110
|
isOutlined?: boolean;
|
|
111
111
|
isDark?: boolean;
|
|
112
|
-
|
|
112
|
+
isSelected?: boolean;
|
|
113
113
|
disabled?: boolean;
|
|
114
114
|
}
|
|
115
115
|
declare const Chip: react.ForwardRefExoticComponent<ChipProps & react.RefAttributes<HTMLDivElement>>;
|
|
@@ -132,11 +132,13 @@ interface DialogProps extends HTMLAttributes<HTMLSpanElement> {
|
|
|
132
132
|
}
|
|
133
133
|
declare const Dialog: react__default.ForwardRefExoticComponent<DialogProps & react__default.RefAttributes<HTMLSpanElement>>;
|
|
134
134
|
|
|
135
|
+
type DropdownSize = "md" | "lg";
|
|
135
136
|
interface DropdownItemsInterface {
|
|
136
137
|
label: string;
|
|
137
138
|
value: string;
|
|
138
139
|
}
|
|
139
|
-
interface DropdownProps {
|
|
140
|
+
interface DropdownProps extends HTMLAttributes<HTMLDivElement> {
|
|
141
|
+
size?: DropdownSize;
|
|
140
142
|
error?: string;
|
|
141
143
|
label?: string;
|
|
142
144
|
placeholder?: string;
|
|
@@ -147,7 +149,7 @@ interface DropdownProps {
|
|
|
147
149
|
setValue: (value: DropdownItemsInterface) => void;
|
|
148
150
|
dropDownItems?: DropdownItemsInterface[];
|
|
149
151
|
}
|
|
150
|
-
declare const Dropdown: react__default.
|
|
152
|
+
declare const Dropdown: react__default.ForwardRefExoticComponent<DropdownProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
151
153
|
|
|
152
154
|
type AlertVariant = 'info' | 'success' | 'warning' | 'danger' | 'common';
|
|
153
155
|
type AlertMode = 'inline' | 'page';
|
|
@@ -262,13 +264,13 @@ interface TextAreaProps extends HTMLAttributes<HTMLTextAreaElement> {
|
|
|
262
264
|
declare const TextArea: react__default.ForwardRefExoticComponent<TextAreaProps & react__default.RefAttributes<HTMLTextAreaElement>>;
|
|
263
265
|
|
|
264
266
|
type TextFieldSize = "md" | "lg";
|
|
265
|
-
interface TextFieldProps extends
|
|
267
|
+
interface TextFieldProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
266
268
|
inputSize?: TextFieldSize;
|
|
267
269
|
error?: string;
|
|
268
270
|
label?: string;
|
|
269
271
|
placeholder?: string;
|
|
270
272
|
description?: string;
|
|
271
|
-
icon?:
|
|
273
|
+
icon?: ReactNode;
|
|
272
274
|
isDisabled?: boolean;
|
|
273
275
|
isLoading?: boolean;
|
|
274
276
|
isVertify?: boolean;
|