@adoptaunabuelo/react-components 0.3.143 → 0.3.144
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/LICENSE +1 -1
- package/README.md +26 -3
- package/dist/esm/index.js +212 -212
- package/dist/esm/index.js.map +1 -1
- package/package.json +55 -19
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) 2026 Fundación Adopta Un Abuelo.
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/README.md
CHANGED
|
@@ -14,15 +14,38 @@ React Components is available as an [npm package](https://www.npmjs.com/package/
|
|
|
14
14
|
**npm:**
|
|
15
15
|
|
|
16
16
|
```sh
|
|
17
|
-
npm install @adoptaunabuelo/react-components
|
|
17
|
+
npm install @adoptaunabuelo/react-components react react-dom styled-components
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
**yarn:**
|
|
21
21
|
|
|
22
22
|
```sh
|
|
23
|
-
yarn add @adoptaunabuelo/react-components
|
|
23
|
+
yarn add @adoptaunabuelo/react-components react react-dom styled-components
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
+
### Peer Dependencies
|
|
27
|
+
|
|
28
|
+
This library requires the following peer dependencies to be installed in your project:
|
|
29
|
+
|
|
30
|
+
| Package | Version | Required |
|
|
31
|
+
|---------|---------|----------|
|
|
32
|
+
| `react` | ^18.0.0 \|\| ^19.0.0 | ✅ Yes |
|
|
33
|
+
| `react-dom` | ^18.0.0 \|\| ^19.0.0 | ✅ Yes |
|
|
34
|
+
| `styled-components` | ^5.0.0 \|\| ^6.0.0 | ✅ Yes |
|
|
35
|
+
|
|
36
|
+
### Optional Dependencies (Required for Specific Components)
|
|
37
|
+
|
|
38
|
+
Some components require additional dependencies. Install only what you need:
|
|
39
|
+
|
|
40
|
+
| Component(s) | Package(s) | Installation |
|
|
41
|
+
|--------------|-----------|--------------|
|
|
42
|
+
| `InputLocation` | `@react-google-maps/api` | `npm install @react-google-maps/api` |
|
|
43
|
+
| `Payout` | `@stripe/react-stripe-js` `@stripe/stripe-js` | `npm install @stripe/react-stripe-js @stripe/stripe-js` |
|
|
44
|
+
| `TextArea` (Rich Text) | `@tiptap/react` `@tiptap/starter-kit` `@tiptap/extension-text-align` `@tiptap/extension-text-style` `@tiptap/extensions` | `npm install @tiptap/react @tiptap/starter-kit @tiptap/extension-text-align @tiptap/extension-text-style @tiptap/extensions` |
|
|
45
|
+
| `Button` (Loading animations) | `@lottiefiles/react-lottie-player` | `npm install @lottiefiles/react-lottie-player` |
|
|
46
|
+
| `InputImage` | `react-webcam` | `npm install react-webcam` |
|
|
47
|
+
| Styled Components | `@emotion/is-prop-valid` | `npm install @emotion/is-prop-valid` |
|
|
48
|
+
|
|
26
49
|
## Getting started with React Components
|
|
27
50
|
|
|
28
51
|
Here is an example of a basic app using React Components `ProgressBar` component:
|
|
@@ -58,7 +81,7 @@ You can checkout all the library Components and its docs in our storybook
|
|
|
58
81
|
|
|
59
82
|
## Changelog
|
|
60
83
|
|
|
61
|
-
The [changelog](https://github.com/
|
|
84
|
+
The [changelog](https://github.com/Adopta-Un-Abuelo/react-components/releases) is regularly updated to reflect what's changed in each new release.
|
|
62
85
|
|
|
63
86
|
## License
|
|
64
87
|
|