@wlloyalty/wll-react-sdk 1.0.31 → 1.0.33
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 +20 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -88,6 +88,26 @@ yarn commit
|
|
|
88
88
|
yarn prepare
|
|
89
89
|
```
|
|
90
90
|
|
|
91
|
+
### Creating New Components
|
|
92
|
+
|
|
93
|
+
We provide an interactive component generator to help maintain consistent structure. To create a new component:
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
yarn create-component
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
You'll be prompted for:
|
|
100
|
+
1. Component name - The name of your new component
|
|
101
|
+
2. Component type - Choose from:
|
|
102
|
+
- atoms: Basic building blocks
|
|
103
|
+
- molecules: Simple combinations of atoms
|
|
104
|
+
- organisms: Complex combinations of molecules
|
|
105
|
+
- particles: Smallest UI elements
|
|
106
|
+
- templates: Page-level components
|
|
107
|
+
3. Base directory - Where to create the component (defaults to ./lib/components)
|
|
108
|
+
|
|
109
|
+
The script will generate a new component with the proper file structure and boilerplate code.
|
|
110
|
+
|
|
91
111
|
## 📄 License
|
|
92
112
|
|
|
93
113
|
MIT License - See [LICENSE](LICENSE) for more information.
|
package/dist/index.js
CHANGED
|
@@ -19558,7 +19558,8 @@ var useBannerTileStyles = function () {
|
|
|
19558
19558
|
position: 'relative',
|
|
19559
19559
|
overflow: 'hidden',
|
|
19560
19560
|
marginRight: useResponsiveValue(theme.sizes.xxl, theme.sizes.xxs, isDesktop, isTablet),
|
|
19561
|
-
maxHeight:
|
|
19561
|
+
maxHeight: useResponsiveValue(253, 120, isDesktop, isTablet),
|
|
19562
|
+
minHeight: 120
|
|
19562
19563
|
},
|
|
19563
19564
|
media: {
|
|
19564
19565
|
position: 'absolute',
|