digitinary-ui 1.0.49 → 1.0.51
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.js +1 -1
- package/dist/types/interfaces.d.ts +4 -5
- package/package.json +1 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ElementType, ComponentPropsWithRef } from 'react';
|
|
2
|
-
import { Size } from './enums';
|
|
3
2
|
import { AlertColorType, AlertVariantType, ButtonColorType, ButtonType, ButtonVariantType, InputType, PlacementType, SizeType, SwitchColorType, PositionType, ChipColorType, ChipVariantType, RadioColorType, RadioOption, HelperTextColorType } from './types';
|
|
4
3
|
interface BaseProps {
|
|
5
4
|
id?: string;
|
|
@@ -176,13 +175,13 @@ export interface CheckboxPropsType extends BaseProps {
|
|
|
176
175
|
labelPlacement?: PositionType;
|
|
177
176
|
handleCheckboxChange: () => void;
|
|
178
177
|
checked?: boolean;
|
|
179
|
-
size?:
|
|
178
|
+
size?: SizeType;
|
|
180
179
|
disabled?: boolean;
|
|
181
180
|
}
|
|
182
181
|
export interface ChipPropsType extends BaseProps {
|
|
183
182
|
color?: ChipColorType;
|
|
184
183
|
children?: JSX.Element | string;
|
|
185
|
-
size?:
|
|
184
|
+
size?: SizeType;
|
|
186
185
|
variant?: ChipVariantType;
|
|
187
186
|
clickable?: boolean;
|
|
188
187
|
onClick?: () => void;
|
|
@@ -219,7 +218,7 @@ export interface OverlayPropsType extends BaseProps {
|
|
|
219
218
|
}
|
|
220
219
|
export interface RadioPropsType extends BaseProps {
|
|
221
220
|
name?: string;
|
|
222
|
-
size?:
|
|
221
|
+
size?: SizeType;
|
|
223
222
|
checked: boolean;
|
|
224
223
|
onChange: () => void;
|
|
225
224
|
disabled?: boolean;
|
|
@@ -232,7 +231,7 @@ export interface RadioGroupProps extends BaseProps {
|
|
|
232
231
|
options: RadioOption[];
|
|
233
232
|
defaultValue?: string;
|
|
234
233
|
onChange: (value: string) => void;
|
|
235
|
-
size?:
|
|
234
|
+
size?: SizeType;
|
|
236
235
|
labelPosition?: PositionType;
|
|
237
236
|
color?: RadioColorType;
|
|
238
237
|
label?: string;
|