@adoptaunabuelo/react-components 0.1.4 → 0.1.5
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 +2 -2
- package/dist/cjs/components/BreadCrumb/BreadCrumb.d.ts +1 -1
- package/dist/cjs/components/Feedback/Feedback.d.ts +9 -0
- package/dist/cjs/components/index.d.ts +1 -0
- package/dist/cjs/index.js +51 -31
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/components/BreadCrumb/BreadCrumb.d.ts +1 -1
- package/dist/esm/components/Feedback/Feedback.d.ts +9 -0
- package/dist/esm/components/index.d.ts +1 -0
- package/dist/esm/index.js +51 -31
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +16 -7
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@ A simple, customizable, and accessible library of React components
|
|
|
3
3
|
|
|
4
4
|
[](https://www.npmjs.com/package/@adoptaunabuelo/react-components)
|
|
5
5
|
[](https://github.com/mui/material-ui/blob/HEAD/LICENSE)
|
|
6
|
-
<a href="https://
|
|
6
|
+
<a href="https://64650038c7589bed568201a8-eaedthpnzo.chromatic.com" target="_blank"><img src="https://raw.githubusercontent.com/storybooks/brand/master/badge/badge-storybook.svg"></a>
|
|
7
7
|
|
|
8
8
|
## Installation
|
|
9
9
|
|
|
@@ -46,7 +46,7 @@ function App() {
|
|
|
46
46
|
|
|
47
47
|
You can checkout all the library Components and its docs in our storybook
|
|
48
48
|
|
|
49
|
-
[Open the Storybook](https://
|
|
49
|
+
[Open the Storybook](https://64650038c7589bed568201a8-eaedthpnzo.chromatic.com)
|
|
50
50
|
|
|
51
51
|
## Changelog
|
|
52
52
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
declare const BreadCrumb: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const BreadCrumb: ({ steps, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default BreadCrumb;
|
|
4
4
|
export interface Props extends ComponentPropsWithoutRef<"div"> {
|
|
5
5
|
selectedStep?: number;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
declare const FeedBack: ({ type, isVisible, ...props }: Props) => import("react/jsx-runtime").JSX.Element | null;
|
|
3
|
+
export default FeedBack;
|
|
4
|
+
export interface Props extends ComponentPropsWithoutRef<"div"> {
|
|
5
|
+
isVisible: boolean;
|
|
6
|
+
type: 'success' | 'error';
|
|
7
|
+
text: string;
|
|
8
|
+
onClose?: () => void;
|
|
9
|
+
}
|