jattac.libs.web.zest-button 1.2.4 → 1.2.6
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/ZestButton.d.ts +1 -1
- package/dist/index.cjs.js +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +4 -4
- package/dist/index.esm.js.map +1 -1
- package/docs/api.md +1 -1
- package/docs/breaking-changes.md +36 -0
- package/docs/examples.md +1 -1
- package/package.json +4 -4
package/docs/breaking-changes.md
CHANGED
|
@@ -4,6 +4,42 @@ This document lists significant changes between versions that might require modi
|
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
## Version 1.2.6
|
|
8
|
+
|
|
9
|
+
### Renamed `fullWidth` prop to `stretch`
|
|
10
|
+
|
|
11
|
+
To better reflect its behavior and avoid potential confusion with other layout properties, the `fullWidth` prop within `visualOptions` has been renamed to `stretch`. This means any usage of `fullWidth` in your `ZestButton` configurations must be updated.
|
|
12
|
+
|
|
13
|
+
**Before:**
|
|
14
|
+
|
|
15
|
+
```tsx
|
|
16
|
+
<ZestButton
|
|
17
|
+
zest={{
|
|
18
|
+
visualOptions: {
|
|
19
|
+
fullWidth: true,
|
|
20
|
+
},
|
|
21
|
+
}}
|
|
22
|
+
>
|
|
23
|
+
Stretched Button
|
|
24
|
+
</ZestButton>
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
**After:**
|
|
28
|
+
|
|
29
|
+
```tsx
|
|
30
|
+
<ZestButton
|
|
31
|
+
zest={{
|
|
32
|
+
visualOptions: {
|
|
33
|
+
stretch: true,
|
|
34
|
+
},
|
|
35
|
+
}}
|
|
36
|
+
>
|
|
37
|
+
Stretched Button
|
|
38
|
+
</ZestButton>
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
7
43
|
## Version 1.2.0
|
|
8
44
|
|
|
9
45
|
### Encapsulated Custom Props under `zest` Object
|
package/docs/examples.md
CHANGED
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jattac.libs.web.zest-button",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.6",
|
|
4
4
|
"description": "A highly customizable and production-ready React button component featuring robust asynchronous handling, rich visual feedback, and built-in confirmation flows for enhanced user experience",
|
|
5
|
-
"homepage": "https://github.com/nyingimaina/jattac.libs.web.zest-button
|
|
5
|
+
"homepage": "https://github.com/nyingimaina/jattac.libs.web.zest-button#readme",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "git+https://github.com/nyingimaina/jattac.libs.web.zest-button.git
|
|
8
|
+
"url": "git+https://github.com/nyingimaina/jattac.libs.web.zest-button.git"
|
|
9
9
|
},
|
|
10
10
|
"bugs": {
|
|
11
|
-
"url": "https://github.com/nyingimaina/jattac.libs.web.zest-button
|
|
11
|
+
"url": "https://github.com/nyingimaina/jattac.libs.web.zest-button/issues"
|
|
12
12
|
},
|
|
13
13
|
"main": "dist/index.cjs.js",
|
|
14
14
|
"module": "dist/index.esm.js",
|