thailife-react 0.0.24 → 0.0.26

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/cjs/index.js CHANGED
@@ -350,7 +350,7 @@ const Input = React.forwardRef(({ label, error, helperText, size = 'md', fullWid
350
350
  leftIcon && (React.createElement("div", { className: "absolute left-3 top-1/2 -translate-y-1/2 text-gray-400" }, leftIcon)),
351
351
  React.createElement("input", { ref: ref, type: type, id: id, name: name, disabled: disabled, readOnly: readOnly, required: required, autoComplete: autoComplete, autoFocus: autoFocus, placeholder: placeholder, value: value, defaultValue: defaultValue, onChange: onChange, onBlur: onBlur, onFocus: onFocus, className: `${className} ${baseStyles} ${sizes[size]} ${iconPadding[size]} ${stateStyles} ${widthClass} ` }),
352
352
  rightIcon && (React.createElement("div", { className: "absolute right-3 top-1/2 -translate-y-1/2 text-gray-400" }, rightIcon))),
353
- (error || helperText) && (React.createElement("p", { className: `mt-1 text-sm ${error ? 'text-danger' : 'text-gray-500'}` }, error || helperText))));
353
+ (error || helperText) && (React.createElement("p", { className: `mt-1 ${error ? 'text-danger' : 'text-gray-500'}` }, error || helperText))));
354
354
  });
355
355
  Input.displayName = 'Input';
356
356
 
@@ -366,7 +366,7 @@ const Radio = React.forwardRef(function RadioItem(_a, ref) {
366
366
  : "border-gray-400 bg-white group-hover:border-primary",
367
367
  disabled ? "" : "shadow-sm",
368
368
  ].join(" "), role: "presentation" }, checked && (React.createElement("span", { className: "w-3 h-3 bg-primary rounded-full", "aria-hidden": "true" }))),
369
- label && (React.createElement("span", { className: `text-sm transition-colors ${checked ? "text-primary" : "text-gray-700"} ${className !== null && className !== void 0 ? className : ""}` }, label))));
369
+ label && (React.createElement("span", { className: `transition-colors ${checked ? "text-primary" : "text-gray-700"} ${className !== null && className !== void 0 ? className : ""}` }, label))));
370
370
  });
371
371
  Radio.displayName = "Radio";
372
372