@onesy/ui-react 1.0.95 → 1.0.96

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.
@@ -259,7 +259,7 @@ const Checkbox = react_1.default.forwardRef((props_, ref) => {
259
259
  if (['text', 'outlined', undefined].includes(version))
260
260
  styles.iconItem.color = theme.palette.background.default.primary;
261
261
  let colorValue = color;
262
- if (!value)
262
+ if (!value && tonal)
263
263
  colorValue = colorUnchecked;
264
264
  if (indeterminate)
265
265
  colorValue = colorIndeterminate;
@@ -280,7 +280,7 @@ const Checkbox = /*#__PURE__*/React.forwardRef((props_, ref) => {
280
280
  styles.iconItem.color = styles.iconDone.color;
281
281
  if (['text', 'outlined', undefined].includes(version)) styles.iconItem.color = theme.palette.background.default.primary;
282
282
  let colorValue = color;
283
- if (!value) colorValue = colorUnchecked;
283
+ if (!value && tonal) colorValue = colorUnchecked;
284
284
  if (indeterminate) colorValue = colorIndeterminate;
285
285
  return /*#__PURE__*/React.createElement(IconButton, _extends({
286
286
  ref: ref,
package/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license UiReact v1.0.95
1
+ /** @license UiReact v1.0.96
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onesy/ui-react",
3
- "version": "1.0.95",
3
+ "version": "1.0.96",
4
4
  "description": "UI for React",
5
5
  "repository": "https://github.com/onesy-me/onesy.git",
6
6
  "author": "Lazar <lazareric2@gmail.com>",