@prosperitainova/mirage-ui 1.0.78 → 1.0.79
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/README.md +32 -32
- package/dist/cjs/index.js +2 -7
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/index.d.ts +1 -1
- package/dist/cjs/types/lib/BalanceAlert/BalanceAlert.d.ts +8 -8
- package/dist/cjs/types/lib/BalanceAlert/BalanceAlert.stories.d.ts +8 -8
- package/dist/cjs/types/lib/BalanceAlert/index.d.ts +1 -1
- package/dist/cjs/types/lib/Breadcrumb/Breadcrumb.d.ts +11 -11
- package/dist/cjs/types/lib/Breadcrumb/Breadcrumb.stories.d.ts +13 -13
- package/dist/cjs/types/lib/Breadcrumb/index.d.ts +1 -1
- package/dist/cjs/types/lib/Button/Button.d.ts +34 -34
- package/dist/cjs/types/lib/Button/Button.stories.d.ts +16 -16
- package/dist/cjs/types/lib/Button/index.d.ts +1 -1
- package/dist/cjs/types/lib/ButtonDropdown/ButtonDropdown.d.ts +20 -20
- package/dist/cjs/types/lib/ButtonDropdown/ButtonDropdown.stories.d.ts +11 -11
- package/dist/cjs/types/lib/ButtonDropdown/index.d.ts +1 -1
- package/dist/cjs/types/lib/ButtonMoreDetails/ButtonMoreDetails.d.ts +19 -19
- package/dist/cjs/types/lib/ButtonMoreDetails/ButtonMoreDetails.stories.d.ts +16 -16
- package/dist/cjs/types/lib/ButtonMoreDetails/index.d.ts +1 -1
- package/dist/cjs/types/lib/Checkbox/Checkbox.d.ts +13 -13
- package/dist/cjs/types/lib/Checkbox/Checkbox.stories.d.ts +8 -8
- package/dist/cjs/types/lib/Checkbox/index.d.ts +1 -1
- package/dist/cjs/types/lib/CustomSelect/CustomSelect.d.ts +11 -11
- package/dist/cjs/types/lib/CustomSelect/CustomSelect.stories.d.ts +5 -5
- package/dist/cjs/types/lib/CustomSelect/index.d.ts +1 -1
- package/dist/cjs/types/lib/CustomSelect/style.d.ts +3 -3
- package/dist/cjs/types/lib/Dropzone/Dropzone.d.ts +8 -8
- package/dist/cjs/types/lib/Dropzone/Dropzone.stories.d.ts +8 -8
- package/dist/cjs/types/lib/Dropzone/index.d.ts +1 -1
- package/dist/cjs/types/lib/Input/Input.d.ts +16 -16
- package/dist/cjs/types/lib/Input/Input.stories.d.ts +11 -11
- package/dist/cjs/types/lib/Input/index.d.ts +1 -1
- package/dist/cjs/types/lib/InputCurrency/InputCurrency.d.ts +22 -22
- package/dist/cjs/types/lib/InputCurrency/InputCurrency.stories.d.ts +8 -8
- package/dist/cjs/types/lib/InputCurrency/bolos.d.ts +2 -0
- package/dist/cjs/types/lib/InputCurrency/index.d.ts +1 -1
- package/dist/cjs/types/lib/InputToken/InputToken.d.ts +7 -7
- package/dist/cjs/types/lib/InputToken/InputToken.stories.d.ts +8 -8
- package/dist/cjs/types/lib/InputToken/index.d.ts +1 -1
- package/dist/cjs/types/lib/InteractiveModal/InteractiveModal.d.ts +12 -12
- package/dist/cjs/types/lib/InteractiveModal/InteractiveModal.stories.d.ts +8 -8
- package/dist/cjs/types/lib/InteractiveModal/TesterInteractiveModal.d.ts +2 -2
- package/dist/cjs/types/lib/InteractiveModal/TesterInteractiveModal.stories.d.ts +8 -8
- package/dist/cjs/types/lib/InteractiveModal/index.d.ts +1 -1
- package/dist/cjs/types/lib/LateralModal/LateralModal.d.ts +11 -11
- package/dist/cjs/types/lib/LateralModal/LateralModal.stories.d.ts +8 -8
- package/dist/cjs/types/lib/LateralModal/TesterLateralModal.d.ts +2 -2
- package/dist/cjs/types/lib/LateralModal/TesterLateralModal.stories.d.ts +8 -8
- package/dist/cjs/types/lib/LateralModal/index.d.ts +1 -1
- package/dist/cjs/types/lib/MenuDropdown/MenuDropdown.d.ts +16 -16
- package/dist/cjs/types/lib/MenuDropdown/MenuDropdown.stories.d.ts +8 -8
- package/dist/cjs/types/lib/MenuDropdown/index.d.ts +1 -1
- package/dist/cjs/types/lib/NotificationsBar/NotificationsBar.d.ts +19 -19
- package/dist/cjs/types/lib/NotificationsBar/NotificationsBar.stories.d.ts +9 -9
- package/dist/cjs/types/lib/NotificationsBar/index.d.ts +1 -1
- package/dist/cjs/types/lib/Pagination/Pagination.d.ts +10 -10
- package/dist/cjs/types/lib/Pagination/index.d.ts +1 -1
- package/dist/cjs/types/lib/ParcelSelector/ParcelSelector.d.ts +7 -7
- package/dist/cjs/types/lib/ParcelSelector/ParcelSelector.stories.d.ts +8 -8
- package/dist/cjs/types/lib/ParcelSelector/index.d.ts +1 -1
- package/dist/cjs/types/lib/ProgressBar/ProgressBar.d.ts +6 -6
- package/dist/cjs/types/lib/ProgressBar/ProgressBar.stories.d.ts +8 -8
- package/dist/cjs/types/lib/ProgressBar/index.d.ts +1 -1
- package/dist/cjs/types/lib/Radio/Radio.d.ts +10 -10
- package/dist/cjs/types/lib/Radio/Radio.stories.d.ts +8 -8
- package/dist/cjs/types/lib/Radio/index.d.ts +1 -1
- package/dist/cjs/types/lib/RadioGroup/Radio.d.ts +12 -12
- package/dist/cjs/types/lib/RadioGroup/RadioGroup.d.ts +20 -20
- package/dist/cjs/types/lib/RadioGroup/RadioGroup.stories.d.ts +8 -8
- package/dist/cjs/types/lib/RadioGroup/index.d.ts +1 -1
- package/dist/cjs/types/lib/ReturnButton/ReturnButton.d.ts +7 -7
- package/dist/cjs/types/lib/ReturnButton/ReturnButton.stories.d.ts +8 -8
- package/dist/cjs/types/lib/ReturnButton/index.d.ts +1 -1
- package/dist/cjs/types/lib/Search/Search.d.ts +12 -12
- package/dist/cjs/types/lib/Search/Search.stories.d.ts +8 -8
- package/dist/cjs/types/lib/Search/index.d.ts +1 -1
- package/dist/cjs/types/lib/SideBar/SideBar.d.ts +15 -15
- package/dist/cjs/types/lib/SideBar/SideBar.stories.d.ts +7 -7
- package/dist/cjs/types/lib/SideBar/index.d.ts +1 -1
- package/dist/cjs/types/lib/Spacer/Spacer.d.ts +8 -8
- package/dist/cjs/types/lib/Spacer/index.d.ts +1 -1
- package/dist/cjs/types/lib/SummaryPanel/SummaryPanel.d.ts +16 -16
- package/dist/cjs/types/lib/SummaryPanel/SummaryPanel.stories.d.ts +8 -8
- package/dist/cjs/types/lib/SummaryPanel/index.d.ts +1 -1
- package/dist/cjs/types/lib/TabMenu/TabMenu.d.ts +13 -13
- package/dist/cjs/types/lib/TabMenu/TabMenu.stories.d.ts +8 -8
- package/dist/cjs/types/lib/TabMenu/index.d.ts +1 -1
- package/dist/cjs/types/lib/Table/Table.d.ts +15 -15
- package/dist/cjs/types/lib/Table/Table.stories.d.ts +8 -8
- package/dist/cjs/types/lib/Table/index.d.ts +1 -1
- package/dist/cjs/types/lib/Toast/TesterToast.d.ts +2 -2
- package/dist/cjs/types/lib/Toast/TesterToast.stories.d.ts +8 -8
- package/dist/cjs/types/lib/Toast/Toast.d.ts +12 -12
- package/dist/cjs/types/lib/Toast/Toast.stories.d.ts +10 -10
- package/dist/cjs/types/lib/Toast/index.d.ts +1 -1
- package/dist/cjs/types/lib/Toggle/Toggle.d.ts +7 -7
- package/dist/cjs/types/lib/Toggle/Toggle.stories.d.ts +9 -9
- package/dist/cjs/types/lib/Toggle/index.d.ts +1 -1
- package/dist/cjs/types/lib/index.d.ts +29 -29
- package/dist/cjs/types/setupTests.d.ts +1 -1
- package/dist/cjs/types/theme/DefaultTheme.d.ts +4 -4
- package/dist/cjs/types/theme/index.d.ts +2 -2
- package/dist/cjs/types/theme/prosperitaTheme.d.ts +3 -3
- package/dist/cjs/types/utils.d.ts +1 -1
- package/dist/esm/index.js +2 -7
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/index.d.ts +1 -1
- package/dist/esm/types/lib/BalanceAlert/BalanceAlert.d.ts +8 -8
- package/dist/esm/types/lib/BalanceAlert/BalanceAlert.stories.d.ts +8 -8
- package/dist/esm/types/lib/BalanceAlert/index.d.ts +1 -1
- package/dist/esm/types/lib/Breadcrumb/Breadcrumb.d.ts +11 -11
- package/dist/esm/types/lib/Breadcrumb/Breadcrumb.stories.d.ts +13 -13
- package/dist/esm/types/lib/Breadcrumb/index.d.ts +1 -1
- package/dist/esm/types/lib/Button/Button.d.ts +34 -34
- package/dist/esm/types/lib/Button/Button.stories.d.ts +16 -16
- package/dist/esm/types/lib/Button/index.d.ts +1 -1
- package/dist/esm/types/lib/ButtonDropdown/ButtonDropdown.d.ts +20 -20
- package/dist/esm/types/lib/ButtonDropdown/ButtonDropdown.stories.d.ts +11 -11
- package/dist/esm/types/lib/ButtonDropdown/index.d.ts +1 -1
- package/dist/esm/types/lib/ButtonMoreDetails/ButtonMoreDetails.d.ts +19 -19
- package/dist/esm/types/lib/ButtonMoreDetails/ButtonMoreDetails.stories.d.ts +16 -16
- package/dist/esm/types/lib/ButtonMoreDetails/index.d.ts +1 -1
- package/dist/esm/types/lib/Checkbox/Checkbox.d.ts +13 -13
- package/dist/esm/types/lib/Checkbox/Checkbox.stories.d.ts +8 -8
- package/dist/esm/types/lib/Checkbox/index.d.ts +1 -1
- package/dist/esm/types/lib/CustomSelect/CustomSelect.d.ts +11 -11
- package/dist/esm/types/lib/CustomSelect/CustomSelect.stories.d.ts +5 -5
- package/dist/esm/types/lib/CustomSelect/index.d.ts +1 -1
- package/dist/esm/types/lib/CustomSelect/style.d.ts +3 -3
- package/dist/esm/types/lib/Dropzone/Dropzone.d.ts +8 -8
- package/dist/esm/types/lib/Dropzone/Dropzone.stories.d.ts +8 -8
- package/dist/esm/types/lib/Dropzone/index.d.ts +1 -1
- package/dist/esm/types/lib/Input/Input.d.ts +16 -16
- package/dist/esm/types/lib/Input/Input.stories.d.ts +11 -11
- package/dist/esm/types/lib/Input/index.d.ts +1 -1
- package/dist/esm/types/lib/InputCurrency/InputCurrency.d.ts +22 -22
- package/dist/esm/types/lib/InputCurrency/InputCurrency.stories.d.ts +8 -8
- package/dist/esm/types/lib/InputCurrency/bolos.d.ts +2 -0
- package/dist/esm/types/lib/InputCurrency/index.d.ts +1 -1
- package/dist/esm/types/lib/InputToken/InputToken.d.ts +7 -7
- package/dist/esm/types/lib/InputToken/InputToken.stories.d.ts +8 -8
- package/dist/esm/types/lib/InputToken/index.d.ts +1 -1
- package/dist/esm/types/lib/InteractiveModal/InteractiveModal.d.ts +12 -12
- package/dist/esm/types/lib/InteractiveModal/InteractiveModal.stories.d.ts +8 -8
- package/dist/esm/types/lib/InteractiveModal/TesterInteractiveModal.d.ts +2 -2
- package/dist/esm/types/lib/InteractiveModal/TesterInteractiveModal.stories.d.ts +8 -8
- package/dist/esm/types/lib/InteractiveModal/index.d.ts +1 -1
- package/dist/esm/types/lib/LateralModal/LateralModal.d.ts +11 -11
- package/dist/esm/types/lib/LateralModal/LateralModal.stories.d.ts +8 -8
- package/dist/esm/types/lib/LateralModal/TesterLateralModal.d.ts +2 -2
- package/dist/esm/types/lib/LateralModal/TesterLateralModal.stories.d.ts +8 -8
- package/dist/esm/types/lib/LateralModal/index.d.ts +1 -1
- package/dist/esm/types/lib/MenuDropdown/MenuDropdown.d.ts +16 -16
- package/dist/esm/types/lib/MenuDropdown/MenuDropdown.stories.d.ts +8 -8
- package/dist/esm/types/lib/MenuDropdown/index.d.ts +1 -1
- package/dist/esm/types/lib/NotificationsBar/NotificationsBar.d.ts +19 -19
- package/dist/esm/types/lib/NotificationsBar/NotificationsBar.stories.d.ts +9 -9
- package/dist/esm/types/lib/NotificationsBar/index.d.ts +1 -1
- package/dist/esm/types/lib/Pagination/Pagination.d.ts +10 -10
- package/dist/esm/types/lib/Pagination/index.d.ts +1 -1
- package/dist/esm/types/lib/ParcelSelector/ParcelSelector.d.ts +7 -7
- package/dist/esm/types/lib/ParcelSelector/ParcelSelector.stories.d.ts +8 -8
- package/dist/esm/types/lib/ParcelSelector/index.d.ts +1 -1
- package/dist/esm/types/lib/ProgressBar/ProgressBar.d.ts +6 -6
- package/dist/esm/types/lib/ProgressBar/ProgressBar.stories.d.ts +8 -8
- package/dist/esm/types/lib/ProgressBar/index.d.ts +1 -1
- package/dist/esm/types/lib/Radio/Radio.d.ts +10 -10
- package/dist/esm/types/lib/Radio/Radio.stories.d.ts +8 -8
- package/dist/esm/types/lib/Radio/index.d.ts +1 -1
- package/dist/esm/types/lib/RadioGroup/Radio.d.ts +12 -12
- package/dist/esm/types/lib/RadioGroup/RadioGroup.d.ts +20 -20
- package/dist/esm/types/lib/RadioGroup/RadioGroup.stories.d.ts +8 -8
- package/dist/esm/types/lib/RadioGroup/index.d.ts +1 -1
- package/dist/esm/types/lib/ReturnButton/ReturnButton.d.ts +7 -7
- package/dist/esm/types/lib/ReturnButton/ReturnButton.stories.d.ts +8 -8
- package/dist/esm/types/lib/ReturnButton/index.d.ts +1 -1
- package/dist/esm/types/lib/Search/Search.d.ts +12 -12
- package/dist/esm/types/lib/Search/Search.stories.d.ts +8 -8
- package/dist/esm/types/lib/Search/index.d.ts +1 -1
- package/dist/esm/types/lib/SideBar/SideBar.d.ts +15 -15
- package/dist/esm/types/lib/SideBar/SideBar.stories.d.ts +7 -7
- package/dist/esm/types/lib/SideBar/index.d.ts +1 -1
- package/dist/esm/types/lib/Spacer/Spacer.d.ts +8 -8
- package/dist/esm/types/lib/Spacer/index.d.ts +1 -1
- package/dist/esm/types/lib/SummaryPanel/SummaryPanel.d.ts +16 -16
- package/dist/esm/types/lib/SummaryPanel/SummaryPanel.stories.d.ts +8 -8
- package/dist/esm/types/lib/SummaryPanel/index.d.ts +1 -1
- package/dist/esm/types/lib/TabMenu/TabMenu.d.ts +13 -13
- package/dist/esm/types/lib/TabMenu/TabMenu.stories.d.ts +8 -8
- package/dist/esm/types/lib/TabMenu/index.d.ts +1 -1
- package/dist/esm/types/lib/Table/Table.d.ts +15 -15
- package/dist/esm/types/lib/Table/Table.stories.d.ts +8 -8
- package/dist/esm/types/lib/Table/index.d.ts +1 -1
- package/dist/esm/types/lib/Toast/TesterToast.d.ts +2 -2
- package/dist/esm/types/lib/Toast/TesterToast.stories.d.ts +8 -8
- package/dist/esm/types/lib/Toast/Toast.d.ts +12 -12
- package/dist/esm/types/lib/Toast/Toast.stories.d.ts +10 -10
- package/dist/esm/types/lib/Toast/index.d.ts +1 -1
- package/dist/esm/types/lib/Toggle/Toggle.d.ts +7 -7
- package/dist/esm/types/lib/Toggle/Toggle.stories.d.ts +9 -9
- package/dist/esm/types/lib/Toggle/index.d.ts +1 -1
- package/dist/esm/types/lib/index.d.ts +29 -29
- package/dist/esm/types/setupTests.d.ts +1 -1
- package/dist/esm/types/theme/DefaultTheme.d.ts +4 -4
- package/dist/esm/types/theme/index.d.ts +2 -2
- package/dist/esm/types/theme/prosperitaTheme.d.ts +3 -3
- package/dist/esm/types/utils.d.ts +1 -1
- package/dist/index.d.ts +272 -272
- package/package.json +104 -104
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export type InputTokenProps = {
|
|
3
|
-
inputsNumber?: number;
|
|
4
|
-
onInputChange?: (value: string) => void;
|
|
5
|
-
};
|
|
6
|
-
declare function InputToken({ inputsNumber: numberOfInputs, onInputChange, }: InputTokenProps): JSX.Element;
|
|
7
|
-
export default InputToken;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export type InputTokenProps = {
|
|
3
|
+
inputsNumber?: number;
|
|
4
|
+
onInputChange?: (value: string) => void;
|
|
5
|
+
};
|
|
6
|
+
declare function InputToken({ inputsNumber: numberOfInputs, onInputChange, }: InputTokenProps): JSX.Element;
|
|
7
|
+
export default InputToken;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import InputToken, { InputTokenProps } from "./InputToken";
|
|
2
|
-
import { Story } from "@storybook/react";
|
|
3
|
-
declare const InputTokenStories: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof InputToken;
|
|
6
|
-
};
|
|
7
|
-
export default InputTokenStories;
|
|
8
|
-
export declare const Primary: Story<InputTokenProps>;
|
|
1
|
+
import InputToken, { InputTokenProps } from "./InputToken";
|
|
2
|
+
import { Story } from "@storybook/react";
|
|
3
|
+
declare const InputTokenStories: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof InputToken;
|
|
6
|
+
};
|
|
7
|
+
export default InputTokenStories;
|
|
8
|
+
export declare const Primary: Story<InputTokenProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from "./InputToken";
|
|
1
|
+
export { default } from "./InputToken";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { HTMLAttributes } from "react";
|
|
2
|
-
import "../../../src/theme/fonts/ProximaNova.css";
|
|
3
|
-
export type ModalProps = HTMLAttributes<HTMLDivElement> & {
|
|
4
|
-
open?: boolean;
|
|
5
|
-
header?: boolean;
|
|
6
|
-
title?: string;
|
|
7
|
-
children?: JSX.Element;
|
|
8
|
-
size: "md" | "lg";
|
|
9
|
-
toggleModal: (event: any) => void;
|
|
10
|
-
};
|
|
11
|
-
declare const InteractiveModal: (props: ModalProps) => JSX.Element;
|
|
12
|
-
export default InteractiveModal;
|
|
1
|
+
import { HTMLAttributes } from "react";
|
|
2
|
+
import "../../../src/theme/fonts/ProximaNova.css";
|
|
3
|
+
export type ModalProps = HTMLAttributes<HTMLDivElement> & {
|
|
4
|
+
open?: boolean;
|
|
5
|
+
header?: boolean;
|
|
6
|
+
title?: string;
|
|
7
|
+
children?: JSX.Element;
|
|
8
|
+
size: "md" | "lg";
|
|
9
|
+
toggleModal: (event: any) => void;
|
|
10
|
+
};
|
|
11
|
+
declare const InteractiveModal: (props: ModalProps) => JSX.Element;
|
|
12
|
+
export default InteractiveModal;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Story } from "@storybook/react";
|
|
2
|
-
import { ModalProps } from "./InteractiveModal";
|
|
3
|
-
declare const InteractiveModalStories: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: (props: ModalProps) => JSX.Element;
|
|
6
|
-
};
|
|
7
|
-
export default InteractiveModalStories;
|
|
8
|
-
export declare const Interactive: Story<ModalProps>;
|
|
1
|
+
import { Story } from "@storybook/react";
|
|
2
|
+
import { ModalProps } from "./InteractiveModal";
|
|
3
|
+
declare const InteractiveModalStories: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (props: ModalProps) => JSX.Element;
|
|
6
|
+
};
|
|
7
|
+
export default InteractiveModalStories;
|
|
8
|
+
export declare const Interactive: Story<ModalProps>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const TesterInteractiveModal: () => JSX.Element;
|
|
2
|
-
export default TesterInteractiveModal;
|
|
1
|
+
declare const TesterInteractiveModal: () => JSX.Element;
|
|
2
|
+
export default TesterInteractiveModal;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Story } from "@storybook/react";
|
|
2
|
-
import { ModalProps } from "./InteractiveModal";
|
|
3
|
-
declare const TesterInteractiveModalStories: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: () => JSX.Element;
|
|
6
|
-
};
|
|
7
|
-
export default TesterInteractiveModalStories;
|
|
8
|
-
export declare const Interactive: Story<ModalProps>;
|
|
1
|
+
import { Story } from "@storybook/react";
|
|
2
|
+
import { ModalProps } from "./InteractiveModal";
|
|
3
|
+
declare const TesterInteractiveModalStories: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: () => JSX.Element;
|
|
6
|
+
};
|
|
7
|
+
export default TesterInteractiveModalStories;
|
|
8
|
+
export declare const Interactive: Story<ModalProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from "./InteractiveModal";
|
|
1
|
+
export { default } from "./InteractiveModal";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { HTMLAttributes } from "react";
|
|
2
|
-
import "../../../src/theme/fonts/ProximaNova.css";
|
|
3
|
-
export type ModalProps = HTMLAttributes<HTMLDivElement> & {
|
|
4
|
-
open?: boolean;
|
|
5
|
-
header?: boolean;
|
|
6
|
-
title?: string;
|
|
7
|
-
children?: JSX.Element;
|
|
8
|
-
toggleModal: () => void;
|
|
9
|
-
};
|
|
10
|
-
declare const lateralModal: (props: ModalProps) => JSX.Element;
|
|
11
|
-
export default lateralModal;
|
|
1
|
+
import { HTMLAttributes } from "react";
|
|
2
|
+
import "../../../src/theme/fonts/ProximaNova.css";
|
|
3
|
+
export type ModalProps = HTMLAttributes<HTMLDivElement> & {
|
|
4
|
+
open?: boolean;
|
|
5
|
+
header?: boolean;
|
|
6
|
+
title?: string;
|
|
7
|
+
children?: JSX.Element;
|
|
8
|
+
toggleModal: () => void;
|
|
9
|
+
};
|
|
10
|
+
declare const lateralModal: (props: ModalProps) => JSX.Element;
|
|
11
|
+
export default lateralModal;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Story } from "@storybook/react";
|
|
2
|
-
import { ModalProps } from "./LateralModal";
|
|
3
|
-
declare const LateraleModalStories: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: (props: ModalProps) => JSX.Element;
|
|
6
|
-
};
|
|
7
|
-
export default LateraleModalStories;
|
|
8
|
-
export declare const Lateral: Story<ModalProps>;
|
|
1
|
+
import { Story } from "@storybook/react";
|
|
2
|
+
import { ModalProps } from "./LateralModal";
|
|
3
|
+
declare const LateraleModalStories: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (props: ModalProps) => JSX.Element;
|
|
6
|
+
};
|
|
7
|
+
export default LateraleModalStories;
|
|
8
|
+
export declare const Lateral: Story<ModalProps>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const TesterLateralModal: () => JSX.Element;
|
|
2
|
-
export default TesterLateralModal;
|
|
1
|
+
declare const TesterLateralModal: () => JSX.Element;
|
|
2
|
+
export default TesterLateralModal;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Story } from "@storybook/react";
|
|
2
|
-
import { ModalProps } from "./LateralModal";
|
|
3
|
-
declare const TesterLateralModalStories: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: () => JSX.Element;
|
|
6
|
-
};
|
|
7
|
-
export default TesterLateralModalStories;
|
|
8
|
-
export declare const Lateral: Story<ModalProps>;
|
|
1
|
+
import { Story } from "@storybook/react";
|
|
2
|
+
import { ModalProps } from "./LateralModal";
|
|
3
|
+
declare const TesterLateralModalStories: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: () => JSX.Element;
|
|
6
|
+
};
|
|
7
|
+
export default TesterLateralModalStories;
|
|
8
|
+
export declare const Lateral: Story<ModalProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from "./LateralModal";
|
|
1
|
+
export { default } from "./LateralModal";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { ButtonHTMLAttributes } from "react";
|
|
2
|
-
import "../../../src/theme/fonts/ProximaNova.css";
|
|
3
|
-
export type UsersProps = {
|
|
4
|
-
img?: string;
|
|
5
|
-
text: string;
|
|
6
|
-
label: string;
|
|
7
|
-
changeUser?: (index?: number) => void;
|
|
8
|
-
};
|
|
9
|
-
export type MenuDropdownProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
10
|
-
open?: boolean;
|
|
11
|
-
description?: string;
|
|
12
|
-
onUserChange?: (user: UsersProps, index: number) => void;
|
|
13
|
-
users?: UsersProps[];
|
|
14
|
-
};
|
|
15
|
-
declare const MenuDropdown: (props: MenuDropdownProps) => JSX.Element;
|
|
16
|
-
export default MenuDropdown;
|
|
1
|
+
import { ButtonHTMLAttributes } from "react";
|
|
2
|
+
import "../../../src/theme/fonts/ProximaNova.css";
|
|
3
|
+
export type UsersProps = {
|
|
4
|
+
img?: string;
|
|
5
|
+
text: string;
|
|
6
|
+
label: string;
|
|
7
|
+
changeUser?: (index?: number) => void;
|
|
8
|
+
};
|
|
9
|
+
export type MenuDropdownProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
10
|
+
open?: boolean;
|
|
11
|
+
description?: string;
|
|
12
|
+
onUserChange?: (user: UsersProps, index: number) => void;
|
|
13
|
+
users?: UsersProps[];
|
|
14
|
+
};
|
|
15
|
+
declare const MenuDropdown: (props: MenuDropdownProps) => JSX.Element;
|
|
16
|
+
export default MenuDropdown;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { MenuDropdownProps } from "./MenuDropdown";
|
|
2
|
-
import { Story } from "@storybook/react";
|
|
3
|
-
declare const MenuDropdownStories: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: (props: MenuDropdownProps) => JSX.Element;
|
|
6
|
-
};
|
|
7
|
-
export default MenuDropdownStories;
|
|
8
|
-
export declare const MenuDropdownStory: Story<MenuDropdownProps>;
|
|
1
|
+
import { MenuDropdownProps } from "./MenuDropdown";
|
|
2
|
+
import { Story } from "@storybook/react";
|
|
3
|
+
declare const MenuDropdownStories: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (props: MenuDropdownProps) => JSX.Element;
|
|
6
|
+
};
|
|
7
|
+
export default MenuDropdownStories;
|
|
8
|
+
export declare const MenuDropdownStory: Story<MenuDropdownProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from "./MenuDropdown";
|
|
1
|
+
export { default } from "./MenuDropdown";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import "../../../src/theme/fonts/ProximaNova.css";
|
|
2
|
-
export type NotificationsProps = {
|
|
3
|
-
img: string;
|
|
4
|
-
text: string;
|
|
5
|
-
time: string;
|
|
6
|
-
};
|
|
7
|
-
export type NotificationsBarProps = {
|
|
8
|
-
title: string;
|
|
9
|
-
message?: string;
|
|
10
|
-
notifications?: NotificationsProps[];
|
|
11
|
-
onNotificationClick?: (notification: NotificationsProps, index: number) => void;
|
|
12
|
-
left?: number;
|
|
13
|
-
right?: number;
|
|
14
|
-
top?: number;
|
|
15
|
-
bottom?: number;
|
|
16
|
-
open?: boolean;
|
|
17
|
-
};
|
|
18
|
-
declare const NotificationBar: (props: NotificationsBarProps) => JSX.Element;
|
|
19
|
-
export default NotificationBar;
|
|
1
|
+
import "../../../src/theme/fonts/ProximaNova.css";
|
|
2
|
+
export type NotificationsProps = {
|
|
3
|
+
img: string;
|
|
4
|
+
text: string;
|
|
5
|
+
time: string;
|
|
6
|
+
};
|
|
7
|
+
export type NotificationsBarProps = {
|
|
8
|
+
title: string;
|
|
9
|
+
message?: string;
|
|
10
|
+
notifications?: NotificationsProps[];
|
|
11
|
+
onNotificationClick?: (notification: NotificationsProps, index: number) => void;
|
|
12
|
+
left?: number;
|
|
13
|
+
right?: number;
|
|
14
|
+
top?: number;
|
|
15
|
+
bottom?: number;
|
|
16
|
+
open?: boolean;
|
|
17
|
+
};
|
|
18
|
+
declare const NotificationBar: (props: NotificationsBarProps) => JSX.Element;
|
|
19
|
+
export default NotificationBar;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { NotificationsBarProps } from "./NotificationsBar";
|
|
2
|
-
import { Story } from "@storybook/react";
|
|
3
|
-
declare const SearchStories: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: (props: NotificationsBarProps) => JSX.Element;
|
|
6
|
-
};
|
|
7
|
-
export default SearchStories;
|
|
8
|
-
export declare const WithNotifications: Story<NotificationsBarProps>;
|
|
9
|
-
export declare const NoNotifications: Story<NotificationsBarProps>;
|
|
1
|
+
import { NotificationsBarProps } from "./NotificationsBar";
|
|
2
|
+
import { Story } from "@storybook/react";
|
|
3
|
+
declare const SearchStories: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (props: NotificationsBarProps) => JSX.Element;
|
|
6
|
+
};
|
|
7
|
+
export default SearchStories;
|
|
8
|
+
export declare const WithNotifications: Story<NotificationsBarProps>;
|
|
9
|
+
export declare const NoNotifications: Story<NotificationsBarProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from "./NotificationsBar";
|
|
1
|
+
export { default } from "./NotificationsBar";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { LiHTMLAttributes } from "react";
|
|
2
|
-
type PaginationProps = LiHTMLAttributes<HTMLLIElement> & {
|
|
3
|
-
total: number;
|
|
4
|
-
limit: number;
|
|
5
|
-
offset?: number;
|
|
6
|
-
changePage?: (page: number) => void;
|
|
7
|
-
setOffset?: (offset: number) => void;
|
|
8
|
-
};
|
|
9
|
-
declare const Pagination: (props: PaginationProps) => JSX.Element;
|
|
10
|
-
export default Pagination;
|
|
1
|
+
import { LiHTMLAttributes } from "react";
|
|
2
|
+
type PaginationProps = LiHTMLAttributes<HTMLLIElement> & {
|
|
3
|
+
total: number;
|
|
4
|
+
limit: number;
|
|
5
|
+
offset?: number;
|
|
6
|
+
changePage?: (page: number) => void;
|
|
7
|
+
setOffset?: (offset: number) => void;
|
|
8
|
+
};
|
|
9
|
+
declare const Pagination: (props: PaginationProps) => JSX.Element;
|
|
10
|
+
export default Pagination;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from "./Pagination";
|
|
1
|
+
export { default } from "./Pagination";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export type ParcelSelectorProps = {
|
|
3
|
-
value: number;
|
|
4
|
-
onChange: (value: number) => void;
|
|
5
|
-
};
|
|
6
|
-
declare const ParcelSelector: React.FC<ParcelSelectorProps>;
|
|
7
|
-
export default ParcelSelector;
|
|
1
|
+
import React from "react";
|
|
2
|
+
export type ParcelSelectorProps = {
|
|
3
|
+
value: number;
|
|
4
|
+
onChange: (value: number) => void;
|
|
5
|
+
};
|
|
6
|
+
declare const ParcelSelector: React.FC<ParcelSelectorProps>;
|
|
7
|
+
export default ParcelSelector;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Story } from "@storybook/react";
|
|
2
|
-
import { ParcelSelectorProps } from "./ParcelSelector";
|
|
3
|
-
declare const ParcelSelectorStories: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: import("react").FC<ParcelSelectorProps>;
|
|
6
|
-
};
|
|
7
|
-
export default ParcelSelectorStories;
|
|
8
|
-
export declare const Primary: Story<ParcelSelectorProps>;
|
|
1
|
+
import { Story } from "@storybook/react";
|
|
2
|
+
import { ParcelSelectorProps } from "./ParcelSelector";
|
|
3
|
+
declare const ParcelSelectorStories: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").FC<ParcelSelectorProps>;
|
|
6
|
+
};
|
|
7
|
+
export default ParcelSelectorStories;
|
|
8
|
+
export declare const Primary: Story<ParcelSelectorProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from "./ParcelSelector";
|
|
1
|
+
export { default } from "./ParcelSelector";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export type ProgressBarProps = {
|
|
2
|
-
percent: number;
|
|
3
|
-
color?: string;
|
|
4
|
-
};
|
|
5
|
-
declare const ProgressBar: (props: ProgressBarProps) => JSX.Element;
|
|
6
|
-
export default ProgressBar;
|
|
1
|
+
export type ProgressBarProps = {
|
|
2
|
+
percent: number;
|
|
3
|
+
color?: string;
|
|
4
|
+
};
|
|
5
|
+
declare const ProgressBar: (props: ProgressBarProps) => JSX.Element;
|
|
6
|
+
export default ProgressBar;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Story } from "@storybook/react";
|
|
2
|
-
import { ProgressBarProps } from "./ProgressBar";
|
|
3
|
-
declare const ProgressBarStories: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: (props: ProgressBarProps) => JSX.Element;
|
|
6
|
-
};
|
|
7
|
-
export default ProgressBarStories;
|
|
8
|
-
export declare const Primary: Story<ProgressBarProps>;
|
|
1
|
+
import { Story } from "@storybook/react";
|
|
2
|
+
import { ProgressBarProps } from "./ProgressBar";
|
|
3
|
+
declare const ProgressBarStories: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (props: ProgressBarProps) => JSX.Element;
|
|
6
|
+
};
|
|
7
|
+
export default ProgressBarStories;
|
|
8
|
+
export declare const Primary: Story<ProgressBarProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from "./ProgressBar";
|
|
1
|
+
export { default } from "./ProgressBar";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "../../../src/theme/fonts/ProximaNova.css";
|
|
2
|
-
export type RadioProps = {
|
|
3
|
-
label?: string;
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
checked?: boolean;
|
|
6
|
-
position?: "top" | "bottom" | "left" | "right";
|
|
7
|
-
onChange?: (value: boolean) => void;
|
|
8
|
-
};
|
|
9
|
-
declare const Radio: ({ onChange, ...props }: RadioProps) => JSX.Element;
|
|
10
|
-
export default Radio;
|
|
1
|
+
import "../../../src/theme/fonts/ProximaNova.css";
|
|
2
|
+
export type RadioProps = {
|
|
3
|
+
label?: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
checked?: boolean;
|
|
6
|
+
position?: "top" | "bottom" | "left" | "right";
|
|
7
|
+
onChange?: (value: boolean) => void;
|
|
8
|
+
};
|
|
9
|
+
declare const Radio: ({ onChange, ...props }: RadioProps) => JSX.Element;
|
|
10
|
+
export default Radio;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { RadioProps } from "./Radio";
|
|
2
|
-
import { Story } from "@storybook/react";
|
|
3
|
-
declare const RadioStories: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: ({ onChange, ...props }: RadioProps) => JSX.Element;
|
|
6
|
-
};
|
|
7
|
-
export default RadioStories;
|
|
8
|
-
export declare const RadioStory: Story<RadioProps>;
|
|
1
|
+
import { RadioProps } from "./Radio";
|
|
2
|
+
import { Story } from "@storybook/react";
|
|
3
|
+
declare const RadioStories: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: ({ onChange, ...props }: RadioProps) => JSX.Element;
|
|
6
|
+
};
|
|
7
|
+
export default RadioStories;
|
|
8
|
+
export declare const RadioStory: Story<RadioProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from "./Radio";
|
|
1
|
+
export { default } from "./Radio";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export type RadioProps = {
|
|
2
|
-
label?: string;
|
|
3
|
-
title?: string;
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
checked?: boolean;
|
|
6
|
-
position?: "top" | "bottom" | "left" | "right";
|
|
7
|
-
value: string;
|
|
8
|
-
description?: string;
|
|
9
|
-
onClick?: (value: string) => void;
|
|
10
|
-
};
|
|
11
|
-
declare const Radio: ({ onClick, ...props }: RadioProps) => JSX.Element;
|
|
12
|
-
export default Radio;
|
|
1
|
+
export type RadioProps = {
|
|
2
|
+
label?: string;
|
|
3
|
+
title?: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
checked?: boolean;
|
|
6
|
+
position?: "top" | "bottom" | "left" | "right";
|
|
7
|
+
value: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
onClick?: (value: string) => void;
|
|
10
|
+
};
|
|
11
|
+
declare const Radio: ({ onClick, ...props }: RadioProps) => JSX.Element;
|
|
12
|
+
export default Radio;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import React, { HTMLAttributes } from "react";
|
|
2
|
-
import "bootstrap/dist/css/bootstrap.min.css";
|
|
3
|
-
export type OptionsProps = {
|
|
4
|
-
title: string;
|
|
5
|
-
description: string;
|
|
6
|
-
value: string;
|
|
7
|
-
setIndex?: (event: React.MouseEvent<HTMLDivElement>) => void;
|
|
8
|
-
};
|
|
9
|
-
export type RadioGroupProps = HTMLAttributes<HTMLDivElement> & {
|
|
10
|
-
display: "row" | "column";
|
|
11
|
-
options: OptionsProps[];
|
|
12
|
-
value?: string;
|
|
13
|
-
onChange?: (value: string, index: number) => void;
|
|
14
|
-
wrap?: boolean;
|
|
15
|
-
title?: string;
|
|
16
|
-
description?: string;
|
|
17
|
-
active?: boolean;
|
|
18
|
-
};
|
|
19
|
-
declare const RadioGroup: (props: RadioGroupProps) => JSX.Element;
|
|
20
|
-
export default RadioGroup;
|
|
1
|
+
import React, { HTMLAttributes } from "react";
|
|
2
|
+
import "bootstrap/dist/css/bootstrap.min.css";
|
|
3
|
+
export type OptionsProps = {
|
|
4
|
+
title: string;
|
|
5
|
+
description: string;
|
|
6
|
+
value: string;
|
|
7
|
+
setIndex?: (event: React.MouseEvent<HTMLDivElement>) => void;
|
|
8
|
+
};
|
|
9
|
+
export type RadioGroupProps = HTMLAttributes<HTMLDivElement> & {
|
|
10
|
+
display: "row" | "column";
|
|
11
|
+
options: OptionsProps[];
|
|
12
|
+
value?: string;
|
|
13
|
+
onChange?: (value: string, index: number) => void;
|
|
14
|
+
wrap?: boolean;
|
|
15
|
+
title?: string;
|
|
16
|
+
description?: string;
|
|
17
|
+
active?: boolean;
|
|
18
|
+
};
|
|
19
|
+
declare const RadioGroup: (props: RadioGroupProps) => JSX.Element;
|
|
20
|
+
export default RadioGroup;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Story } from "@storybook/react";
|
|
2
|
-
import { RadioGroupProps } from "./RadioGroup";
|
|
3
|
-
declare const RadioGroupStories: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: (props: RadioGroupProps) => JSX.Element;
|
|
6
|
-
};
|
|
7
|
-
export default RadioGroupStories;
|
|
8
|
-
export declare const Group: Story<RadioGroupProps>;
|
|
1
|
+
import { Story } from "@storybook/react";
|
|
2
|
+
import { RadioGroupProps } from "./RadioGroup";
|
|
3
|
+
declare const RadioGroupStories: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (props: RadioGroupProps) => JSX.Element;
|
|
6
|
+
};
|
|
7
|
+
export default RadioGroupStories;
|
|
8
|
+
export declare const Group: Story<RadioGroupProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from "./RadioGroup";
|
|
1
|
+
export { default } from "./RadioGroup";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ButtonHTMLAttributes } from "react";
|
|
2
|
-
export type ReturnButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
3
|
-
label: string;
|
|
4
|
-
onClick?: () => void;
|
|
5
|
-
};
|
|
6
|
-
declare const ReturnButton: (props: ReturnButtonProps) => JSX.Element;
|
|
7
|
-
export default ReturnButton;
|
|
1
|
+
import { ButtonHTMLAttributes } from "react";
|
|
2
|
+
export type ReturnButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
3
|
+
label: string;
|
|
4
|
+
onClick?: () => void;
|
|
5
|
+
};
|
|
6
|
+
declare const ReturnButton: (props: ReturnButtonProps) => JSX.Element;
|
|
7
|
+
export default ReturnButton;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ReturnButtonProps } from "./ReturnButton";
|
|
2
|
-
import { Story } from "@storybook/react";
|
|
3
|
-
declare const ButtonStories: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: (props: ReturnButtonProps) => JSX.Element;
|
|
6
|
-
};
|
|
7
|
-
export default ButtonStories;
|
|
8
|
-
export declare const Main: Story<ReturnButtonProps>;
|
|
1
|
+
import { ReturnButtonProps } from "./ReturnButton";
|
|
2
|
+
import { Story } from "@storybook/react";
|
|
3
|
+
declare const ButtonStories: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (props: ReturnButtonProps) => JSX.Element;
|
|
6
|
+
};
|
|
7
|
+
export default ButtonStories;
|
|
8
|
+
export declare const Main: Story<ReturnButtonProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from "./ReturnButton";
|
|
1
|
+
export { default } from "./ReturnButton";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { InputHTMLAttributes } from "react";
|
|
2
|
-
import "../../../src/theme/fonts/ProximaNova.css";
|
|
3
|
-
export type ResultsProps = {
|
|
4
|
-
value: string;
|
|
5
|
-
label: string;
|
|
6
|
-
};
|
|
7
|
-
export type SearchProps = InputHTMLAttributes<HTMLInputElement> & {
|
|
8
|
-
showResults?: ResultsProps[];
|
|
9
|
-
loading?: boolean;
|
|
10
|
-
};
|
|
11
|
-
declare const Search: (props: SearchProps) => JSX.Element;
|
|
12
|
-
export default Search;
|
|
1
|
+
import { InputHTMLAttributes } from "react";
|
|
2
|
+
import "../../../src/theme/fonts/ProximaNova.css";
|
|
3
|
+
export type ResultsProps = {
|
|
4
|
+
value: string;
|
|
5
|
+
label: string;
|
|
6
|
+
};
|
|
7
|
+
export type SearchProps = InputHTMLAttributes<HTMLInputElement> & {
|
|
8
|
+
showResults?: ResultsProps[];
|
|
9
|
+
loading?: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare const Search: (props: SearchProps) => JSX.Element;
|
|
12
|
+
export default Search;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { SearchProps } from "./Search";
|
|
2
|
-
import { Story } from "@storybook/react";
|
|
3
|
-
declare const SearchStories: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: (props: SearchProps) => JSX.Element;
|
|
6
|
-
};
|
|
7
|
-
export default SearchStories;
|
|
8
|
-
export declare const SearchBar: Story<SearchProps>;
|
|
1
|
+
import { SearchProps } from "./Search";
|
|
2
|
+
import { Story } from "@storybook/react";
|
|
3
|
+
declare const SearchStories: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (props: SearchProps) => JSX.Element;
|
|
6
|
+
};
|
|
7
|
+
export default SearchStories;
|
|
8
|
+
export declare const SearchBar: Story<SearchProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from "./Search";
|
|
1
|
+
export { default } from "./Search";
|