@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.
- package/dist/index.iife.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.iife.js
CHANGED
|
@@ -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 &&
|
|
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 &&
|
|
465
|
+
label && inputEl.value ? 'mui-textfield-has-value' : '',
|
|
466
466
|
label ? '' : 'mui-textfield-no-label',
|
|
467
467
|
].join(' ');
|
|
468
468
|
};
|