@prosperitainova/mirage-ui 1.0.15 → 1.0.17
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 +11 -0
- package/dist/cjs/types/lib/CustomSelect/CustomSelect.stories.d.ts +5 -0
- package/dist/cjs/types/lib/CustomSelect/index.d.ts +1 -0
- package/dist/cjs/types/lib/CustomSelect/style.d.ts +3 -0
- package/dist/cjs/types/lib/index.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 +11 -0
- package/dist/esm/types/lib/CustomSelect/CustomSelect.stories.d.ts +5 -0
- package/dist/esm/types/lib/CustomSelect/index.d.ts +1 -0
- package/dist/esm/types/lib/CustomSelect/style.d.ts +3 -0
- package/dist/esm/types/lib/index.d.ts +1 -1
- package/dist/index.d.ts +4 -3
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Props as ReactSelectProps } from "react-select";
|
|
2
|
+
import "../../../src/theme/fonts/ProximaNova.css";
|
|
3
|
+
export type SelectProps = Omit<ReactSelectProps, "onChange"> & {
|
|
4
|
+
onChange?: (e: any) => void;
|
|
5
|
+
error?: string;
|
|
6
|
+
success?: boolean;
|
|
7
|
+
helper?: string;
|
|
8
|
+
label?: string;
|
|
9
|
+
};
|
|
10
|
+
declare const CustomSelect: (props: SelectProps) => JSX.Element;
|
|
11
|
+
export default CustomSelect;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./CustomSelect";
|
|
@@ -11,7 +11,7 @@ export { default as NotificationsBar } from "./NotificationsBar";
|
|
|
11
11
|
export { default as Radio } from "./Radio";
|
|
12
12
|
export { default as RadioGroup } from "./RadioGroup";
|
|
13
13
|
export { default as Search } from "./Search";
|
|
14
|
-
export { default as
|
|
14
|
+
export { default as CustomSelect } from "./CustomSelect";
|
|
15
15
|
export { default as SideBar } from "./SideBar";
|
|
16
16
|
export { default as Spacer } from "./Spacer";
|
|
17
17
|
export { default as TabMenu } from "./TabMenu";
|
package/dist/index.d.ts
CHANGED
|
@@ -154,13 +154,14 @@ type SearchProps = InputHTMLAttributes<HTMLInputElement> & {
|
|
|
154
154
|
};
|
|
155
155
|
declare const Search: (props: SearchProps) => JSX.Element;
|
|
156
156
|
|
|
157
|
-
type SelectProps = Props & {
|
|
157
|
+
type SelectProps = Omit<Props, "onChange"> & {
|
|
158
|
+
onChange?: (e: any) => void;
|
|
158
159
|
error?: string;
|
|
159
160
|
success?: boolean;
|
|
160
161
|
helper?: string;
|
|
161
162
|
label?: string;
|
|
162
163
|
};
|
|
163
|
-
declare const
|
|
164
|
+
declare const CustomSelect: (props: SelectProps) => JSX.Element;
|
|
164
165
|
|
|
165
166
|
type MenuItem = {
|
|
166
167
|
icon: string;
|
|
@@ -212,4 +213,4 @@ type ToggleProps = {
|
|
|
212
213
|
};
|
|
213
214
|
declare const Toggle: (props: ToggleProps) => JSX.Element;
|
|
214
215
|
|
|
215
|
-
export { Breadcrumb, Button, ButtonDropdown, Checkbox, Dropzone, Input, InteractiveModal, lateralModal as LateralModal, MenuDropdown as Menudropdown, NotificationBar as NotificationsBar, Radio, RadioGroup, Search,
|
|
216
|
+
export { Breadcrumb, Button, ButtonDropdown, Checkbox, CustomSelect, Dropzone, Input, InteractiveModal, lateralModal as LateralModal, MenuDropdown as Menudropdown, NotificationBar as NotificationsBar, Radio, RadioGroup, Search, SideBar, Spacer, TabMenu, Toast, Toggle };
|