@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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.17.1",
2
+ "version": "0.17.2",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -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
- (label || helperText || isInvalid) && inputType !== 'checkbox'
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