@ktjs/mui 0.18.3 → 0.18.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.
@@ -462,7 +462,7 @@ var __ktjs_mui__ = (function (exports, jsxRuntime, kt_js) {
462
462
  error ? 'mui-textfield-error' : '',
463
463
  disabled ? 'mui-textfield-disabled' : '',
464
464
  fullWidth ? 'mui-textfield-fullwidth' : '',
465
- label && isFocused && inputEl.value ? 'mui-textfield-has-value' : '',
465
+ label && inputEl.value ? 'mui-textfield-has-value' : '',
466
466
  label ? '' : 'mui-textfield-no-label',
467
467
  ].join(' ');
468
468
  };
package/dist/index.mjs CHANGED
@@ -462,7 +462,7 @@ function TextField(props) {
462
462
  error ? 'mui-textfield-error' : '',
463
463
  disabled ? 'mui-textfield-disabled' : '',
464
464
  fullWidth ? 'mui-textfield-fullwidth' : '',
465
- label && isFocused && inputEl.value ? 'mui-textfield-has-value' : '',
465
+ label && inputEl.value ? 'mui-textfield-has-value' : '',
466
466
  label ? '' : 'mui-textfield-no-label',
467
467
  ].join(' ');
468
468
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ktjs/mui",
3
- "version": "0.18.3",
3
+ "version": "0.18.4",
4
4
  "description": "Material-UI inspired components for kt.js - pre-styled UI components",
5
5
  "type": "module",
6
6
  "module": "./dist/index.mjs",