@prosperitainova/mirage-ui 1.0.45 → 1.0.47

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.
@@ -10,7 +10,6 @@ export type DropdownOptions = {
10
10
  onClick?: (value: string) => void;
11
11
  };
12
12
  export type ButtonMoreDetailsProps = ButtonHTMLAttributes<HTMLButtonElement> & {
13
- onClick?: () => void;
14
13
  icon?: string;
15
14
  value?: string;
16
15
  options?: DropdownOptions[];
@@ -4,7 +4,6 @@ import { Story } from "@storybook/react";
4
4
  declare const ButtonMoreDetailsStories: {
5
5
  title: string;
6
6
  component: (props: React.ButtonHTMLAttributes<HTMLButtonElement> & {
7
- onClick?: (() => void) | undefined;
8
7
  icon?: string | undefined;
9
8
  value?: string | undefined;
10
9
  options?: import("./ButtonMoreDetails").DropdownOptions[] | undefined;
@@ -1,7 +1,9 @@
1
1
  /// <reference types="react" />
2
- import "../../../src/theme/fonts/ProximaNova.css";
3
2
  export type InputCurrencyProps = {
4
3
  value?: string | number | boolean | readonly string[] | undefined;
4
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
5
+ placeholder?: string;
6
+ name?: string;
5
7
  error?: string | boolean;
6
8
  success?: boolean;
7
9
  helper?: string;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import React, { ButtonHTMLAttributes, InputHTMLAttributes, TextareaHTMLAttributes, HTMLAttributes, LiHTMLAttributes } from 'react';
2
+ import React$1, { ButtonHTMLAttributes, InputHTMLAttributes, TextareaHTMLAttributes, HTMLAttributes, LiHTMLAttributes } from 'react';
3
3
  import { Props } from 'react-select';
4
4
 
5
5
  type ItemsProps = {
@@ -59,8 +59,8 @@ type CheckboxProps = InputHTMLAttributes<HTMLInputElement> & {
59
59
  checked?: boolean;
60
60
  position?: "top" | "bottom" | "left" | "right";
61
61
  name?: string;
62
- onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
63
- onClick?: (event: React.MouseEvent<HTMLInputElement>) => void;
62
+ onChange?: (event: React$1.ChangeEvent<HTMLInputElement>) => void;
63
+ onClick?: (event: React$1.MouseEvent<HTMLInputElement>) => void;
64
64
  };
65
65
  declare const Checkbox: ({ onChange, ...props }: CheckboxProps) => JSX.Element;
66
66
 
@@ -261,6 +261,9 @@ declare const Table: (props: TableProps) => JSX.Element;
261
261
 
262
262
  type InputCurrencyProps = {
263
263
  value?: string | number | boolean | readonly string[] | undefined;
264
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
265
+ placeholder?: string;
266
+ name?: string;
264
267
  error?: string | boolean;
265
268
  success?: boolean;
266
269
  helper?: string;
@@ -305,7 +308,7 @@ type ParcelSelectorProps = {
305
308
  value: number;
306
309
  onChange: (value: number) => void;
307
310
  };
308
- declare const ParcelSelector: React.FC<ParcelSelectorProps>;
311
+ declare const ParcelSelector: React$1.FC<ParcelSelectorProps>;
309
312
 
310
313
  type DropContainerProps = {
311
314
  open?: boolean;
@@ -318,7 +321,6 @@ type DropdownOptions = {
318
321
  onClick?: (value: string) => void;
319
322
  };
320
323
  type ButtonMoreDetailsProps = ButtonHTMLAttributes<HTMLButtonElement> & {
321
- onClick?: () => void;
322
324
  icon?: string;
323
325
  value?: string;
324
326
  options?: DropdownOptions[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosperitainova/mirage-ui",
3
- "version": "1.0.45",
3
+ "version": "1.0.47",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "publishConfig": {