@xqmsg/ui-core 0.17.1 → 0.17.2
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/ui-core.cjs.development.js +2 -1
- package/dist/ui-core.cjs.development.js.map +1 -1
- package/dist/ui-core.cjs.production.min.js +1 -1
- package/dist/ui-core.cjs.production.min.js.map +1 -1
- package/dist/ui-core.esm.js +2 -1
- package/dist/ui-core.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/input/index.tsx +2 -5
package/package.json
CHANGED
|
@@ -243,11 +243,8 @@ export function Input<T extends FieldValues>({
|
|
|
243
243
|
id={name}
|
|
244
244
|
isInvalid={isInvalid}
|
|
245
245
|
position="relative"
|
|
246
|
-
py={
|
|
247
|
-
|
|
248
|
-
? 6
|
|
249
|
-
: 0
|
|
250
|
-
}
|
|
246
|
+
py={label || helperText || isInvalid ? 6 : 0}
|
|
247
|
+
pb={inputType === 'checkbox' ? 6 : 0}
|
|
251
248
|
>
|
|
252
249
|
{label && inputType !== 'checkbox' && (
|
|
253
250
|
<Label
|