@adoptaunabuelo/react-components 0.3.141 → 0.3.142
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/index.d.ts
CHANGED
|
@@ -2,7 +2,9 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as react from 'react';
|
|
3
3
|
import react__default, { ComponentPropsWithoutRef, ReactNode, ComponentPropsWithRef, ReactElement, CSSProperties } from 'react';
|
|
4
4
|
import moment from 'moment';
|
|
5
|
+
import { ButtonProps as ButtonProps$2 } from '@components/Button/Button';
|
|
5
6
|
import { PaymentMethod } from '@stripe/stripe-js';
|
|
7
|
+
import { LocationProps as LocationProps$1 } from '@components/Input/Location/InputLocation';
|
|
6
8
|
|
|
7
9
|
declare const BreadCrumb: ({ steps, selectedStep, ...restProps }: Props$g) => react_jsx_runtime.JSX.Element;
|
|
8
10
|
|
|
@@ -293,7 +295,7 @@ interface ModalPrimaryProps extends ComponentPropsWithoutRef<"div"> {
|
|
|
293
295
|
contentStyle?: CSSProperties;
|
|
294
296
|
Header?: ReactElement;
|
|
295
297
|
Bottom?: ReactElement;
|
|
296
|
-
buttonProps?: ButtonProps;
|
|
298
|
+
buttonProps?: ButtonProps$2;
|
|
297
299
|
footerStyle?: CSSProperties;
|
|
298
300
|
onClose: () => void;
|
|
299
301
|
shouldCloseOnOverlayClick?: boolean;
|
|
@@ -727,10 +729,10 @@ interface LocationFormProps {
|
|
|
727
729
|
type: "location";
|
|
728
730
|
design?: "primary" | "secondary" | "third";
|
|
729
731
|
placeholder?: string;
|
|
730
|
-
defaultLocation?: LocationProps;
|
|
732
|
+
defaultLocation?: LocationProps$1;
|
|
731
733
|
isLoaded: boolean;
|
|
732
734
|
onSubmit: (result: {
|
|
733
|
-
data?: LocationProps;
|
|
735
|
+
data?: LocationProps$1;
|
|
734
736
|
error?: string;
|
|
735
737
|
}) => void;
|
|
736
738
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adoptaunabuelo/react-components",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.142",
|
|
4
4
|
"homepage": "https://github.com/Adopta-Un-Abuelo/react-components",
|
|
5
5
|
"author": "Guillermo Angeles <guilleangeles94@gmail.com>",
|
|
6
6
|
"private": false,
|
|
@@ -59,17 +59,17 @@
|
|
|
59
59
|
"styled-media-query": "^2.1.2"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@chromatic-com/storybook": "^
|
|
62
|
+
"@chromatic-com/storybook": "^5.0.0",
|
|
63
63
|
"@rollup/plugin-commonjs": "^29.0.0",
|
|
64
64
|
"@rollup/plugin-json": "^6.1.0",
|
|
65
65
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
66
66
|
"@rollup/plugin-replace": "^6.0.3",
|
|
67
67
|
"@rollup/plugin-typescript": "^8.5.0",
|
|
68
|
-
"@storybook/addon-a11y": "^10.
|
|
69
|
-
"@storybook/addon-docs": "^10.
|
|
70
|
-
"@storybook/addon-links": "^10.
|
|
71
|
-
"@storybook/addon-onboarding": "^10.
|
|
72
|
-
"@storybook/nextjs": "^10.
|
|
68
|
+
"@storybook/addon-a11y": "^10.2.0",
|
|
69
|
+
"@storybook/addon-docs": "^10.2.0",
|
|
70
|
+
"@storybook/addon-links": "^10.2.0",
|
|
71
|
+
"@storybook/addon-onboarding": "^10.2.0",
|
|
72
|
+
"@storybook/nextjs": "^10.2.0",
|
|
73
73
|
"@svgr/rollup": "^8.1.0",
|
|
74
74
|
"@types/draftjs-to-html": "^0.8.4",
|
|
75
75
|
"@types/google-libphonenumber": "^7.4.30",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"ajv": "^8.17.1",
|
|
85
85
|
"eslint": "^9.39.1",
|
|
86
86
|
"eslint-config-next": "^16.0.8",
|
|
87
|
-
"eslint-plugin-storybook": "^10.
|
|
87
|
+
"eslint-plugin-storybook": "^10.2.0",
|
|
88
88
|
"rollup": "^2.77.2",
|
|
89
89
|
"rollup-plugin-dts": "^6.3.0",
|
|
90
90
|
"rollup-plugin-import-css": "^4.1.2",
|
|
@@ -93,7 +93,8 @@
|
|
|
93
93
|
"rollup-plugin-styles": "^4.0.0",
|
|
94
94
|
"rollup-plugin-svg": "^2.0.0",
|
|
95
95
|
"rollup-plugin-terser": "^7.0.2",
|
|
96
|
-
"
|
|
96
|
+
"rollup-plugin-typescript-paths": "^1.5.0",
|
|
97
|
+
"storybook": "^10.2.0",
|
|
97
98
|
"typescript": "^5"
|
|
98
99
|
},
|
|
99
100
|
"overrides": {
|