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.
@@ -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
@@ -43,7 +43,7 @@ const SaveButton = () => {
43
43
  <ZestButton
44
44
  onClick={handleSave}
45
45
  zest={{
46
- visualOptions: { iconLeft: <FaSave />, fullWidth: true },
46
+ visualOptions: { iconLeft: <FaSave />, stretch: true },
47
47
  }}
48
48
  >
49
49
  Save Settings
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "jattac.libs.web.zest-button",
3
- "version": "1.2.4",
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.git#readme",
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.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.git/issues"
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",