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.
@@ -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?: 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?: 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?: 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?: Size;
234
+ size?: SizeType;
236
235
  labelPosition?: PositionType;
237
236
  color?: RadioColorType;
238
237
  label?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digitinary-ui",
3
- "version": "1.0.49",
3
+ "version": "1.0.51",
4
4
  "description": "Digitinary UI Library",
5
5
  "author": "Digitinary Company",
6
6
  "repository": {