@memori.ai/memori-react 7.4.3 → 7.4.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
 
2
2
 
3
+ ## [7.4.4](https://github.com/memori-ai/memori-react/compare/v7.4.3...v7.4.4) (2024-09-11)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * readability and a11y about disabled buttons ([452559e](https://github.com/memori-ai/memori-react/commit/452559eb6447c88f267da636fb42e80e9d83d46b))
9
+
3
10
  ## [7.4.3](https://github.com/memori-ai/memori-react/compare/v7.4.2...v7.4.3) (2024-09-11)
4
11
 
5
12
 
@@ -155,8 +155,8 @@
155
155
  }
156
156
 
157
157
  .memori-button[disabled] {
158
- background: var(--memori-button-disabled-bg, #f9f9f9);
159
- color: var(--memori-primary);
158
+ background: var(--memori-button-disabled-bg, #ccc);
159
+ color: var(--memori-button-disabled-color, #000);
160
160
  cursor: not-allowed;
161
161
  opacity: 0.5;
162
- }
162
+ }
package/dist/styles.css CHANGED
@@ -89,6 +89,8 @@ body.sb-show-main #root,
89
89
  --memori-button-border-color: #d9d9d9;
90
90
  --memori-button-radius: var(--memori-border-radius);
91
91
  --memori-button-box-shadow: var(--memori-box-shadow);
92
+ --memori-button-disabled-bg: #ccc;
93
+ --memori-button-disabled-color: #000;
92
94
  --memori-blur-background: 0px;
93
95
  --memori-drawer--width: 80%;
94
96
  --memori-drawer--width--md: 80%;
@@ -97,7 +99,6 @@ body.sb-show-main #root,
97
99
  --memori-modal--width--md: 80%;
98
100
  --memori-error-color: #ff4d4f;
99
101
  --memori-warning-color: #faad14;
100
- --memori-button-disabled-bg: #f9f9f9;
101
102
 
102
103
  font-family: var(--memori-font-family, 'Lexend Deca Variable', 'Lexend Deca', sans-serif);
103
104
  font-size: 16px;
@@ -155,8 +155,8 @@
155
155
  }
156
156
 
157
157
  .memori-button[disabled] {
158
- background: var(--memori-button-disabled-bg, #f9f9f9);
159
- color: var(--memori-primary);
158
+ background: var(--memori-button-disabled-bg, #ccc);
159
+ color: var(--memori-button-disabled-color, #000);
160
160
  cursor: not-allowed;
161
161
  opacity: 0.5;
162
- }
162
+ }
package/esm/styles.css CHANGED
@@ -89,6 +89,8 @@ body.sb-show-main #root,
89
89
  --memori-button-border-color: #d9d9d9;
90
90
  --memori-button-radius: var(--memori-border-radius);
91
91
  --memori-button-box-shadow: var(--memori-box-shadow);
92
+ --memori-button-disabled-bg: #ccc;
93
+ --memori-button-disabled-color: #000;
92
94
  --memori-blur-background: 0px;
93
95
  --memori-drawer--width: 80%;
94
96
  --memori-drawer--width--md: 80%;
@@ -97,7 +99,6 @@ body.sb-show-main #root,
97
99
  --memori-modal--width--md: 80%;
98
100
  --memori-error-color: #ff4d4f;
99
101
  --memori-warning-color: #faad14;
100
- --memori-button-disabled-bg: #f9f9f9;
101
102
 
102
103
  font-family: var(--memori-font-family, 'Lexend Deca Variable', 'Lexend Deca', sans-serif);
103
104
  font-size: 16px;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "7.4.3",
2
+ "version": "7.4.4",
3
3
  "name": "@memori.ai/memori-react",
4
4
  "author": "Memori Srl",
5
5
  "main": "dist/index.js",
@@ -155,8 +155,8 @@
155
155
  }
156
156
 
157
157
  .memori-button[disabled] {
158
- background: var(--memori-button-disabled-bg, #f9f9f9);
159
- color: var(--memori-primary);
158
+ background: var(--memori-button-disabled-bg, #ccc);
159
+ color: var(--memori-button-disabled-color, #000);
160
160
  cursor: not-allowed;
161
161
  opacity: 0.5;
162
- }
162
+ }
package/src/styles.css CHANGED
@@ -89,6 +89,8 @@ body.sb-show-main #root,
89
89
  --memori-button-border-color: #d9d9d9;
90
90
  --memori-button-radius: var(--memori-border-radius);
91
91
  --memori-button-box-shadow: var(--memori-box-shadow);
92
+ --memori-button-disabled-bg: #ccc;
93
+ --memori-button-disabled-color: #000;
92
94
  --memori-blur-background: 0px;
93
95
  --memori-drawer--width: 80%;
94
96
  --memori-drawer--width--md: 80%;
@@ -97,7 +99,6 @@ body.sb-show-main #root,
97
99
  --memori-modal--width--md: 80%;
98
100
  --memori-error-color: #ff4d4f;
99
101
  --memori-warning-color: #faad14;
100
- --memori-button-disabled-bg: #f9f9f9;
101
102
 
102
103
  font-family: var(--memori-font-family, 'Lexend Deca Variable', 'Lexend Deca', sans-serif);
103
104
  font-size: 16px;