@prosperitainova/mirage-ui 1.0.55 → 1.0.57
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/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/lib/CustomSelect/CustomSelect.d.ts +1 -2
- package/dist/cjs/types/lib/TabMenu/TabMenu.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/lib/CustomSelect/CustomSelect.d.ts +1 -2
- package/dist/esm/types/lib/TabMenu/TabMenu.d.ts +1 -1
- package/dist/index.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { Props as ReactSelectProps } from "react-select";
|
|
3
2
|
import "../../../src/theme/fonts/ProximaNova.css";
|
|
4
3
|
export type SelectProps = Omit<ReactSelectProps, "onChange"> & {
|
|
5
|
-
onChange?: (
|
|
4
|
+
onChange?: (value: string | null) => void;
|
|
6
5
|
error?: string | boolean;
|
|
7
6
|
success?: boolean;
|
|
8
7
|
helper?: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import "../../../src/theme/fonts/ProximaNova.css";
|
|
3
2
|
export type MenusProps = {
|
|
4
3
|
label: string;
|
|
5
4
|
value: string;
|
|
6
5
|
disabled?: boolean;
|
|
6
|
+
onClick?: (index: number) => void;
|
|
7
7
|
};
|
|
8
8
|
export type TabMenuProps = {
|
|
9
9
|
menus: MenusProps[];
|
package/dist/index.d.ts
CHANGED
|
@@ -173,7 +173,7 @@ type SearchProps = InputHTMLAttributes<HTMLInputElement> & {
|
|
|
173
173
|
declare const Search: (props: SearchProps) => JSX.Element;
|
|
174
174
|
|
|
175
175
|
type SelectProps = Omit<Props, "onChange"> & {
|
|
176
|
-
onChange?: (
|
|
176
|
+
onChange?: (value: string | null) => void;
|
|
177
177
|
error?: string | boolean;
|
|
178
178
|
success?: boolean;
|
|
179
179
|
helper?: string;
|
|
@@ -207,6 +207,7 @@ type MenusProps = {
|
|
|
207
207
|
label: string;
|
|
208
208
|
value: string;
|
|
209
209
|
disabled?: boolean;
|
|
210
|
+
onClick?: (index: number) => void;
|
|
210
211
|
};
|
|
211
212
|
type TabMenuProps = {
|
|
212
213
|
menus: MenusProps[];
|