@seeqdev/qomponents 0.0.101 → 0.0.102

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.js CHANGED
@@ -4743,11 +4743,7 @@ const TextField = React.forwardRef((props, ref) => {
4743
4743
  else if (inputGroup === 'right') {
4744
4744
  borderRadius = 'tw-rounded-r-sm tw-border-l-0 focus:tw-border-l active:tw-border-l';
4745
4745
  }
4746
- let hasError = showError;
4747
- if ((min && Number(value) < min) || (max && Number(value) > max)) {
4748
- hasError = true;
4749
- }
4750
- const appliedClasses = `${baseClasses$3} ${sizeClasses[size]} ${extraClassNames} ${lightTheme$1} ${darkTheme$1} ${borderRadius} ${hasError ? errorClasses$2 : borderColorClasses$2} `;
4746
+ const appliedClasses = `${baseClasses$3} ${sizeClasses[size]} ${extraClassNames} ${lightTheme$1} ${darkTheme$1} ${borderRadius} ${showError ? errorClasses$2 : borderColorClasses$2} `;
4751
4747
  const inputProp = setValidInputDimension(inputWidth, inputHeight)
4752
4748
  ? {
4753
4749
  style: setValidInputDimension(inputWidth, inputHeight),
@@ -4786,7 +4782,7 @@ const Checkbox = (props) => {
4786
4782
  : 'tw-cursor-pointer tw-text-sq-text-color dark:tw-text-sq-dark-text'}` }, label)));
4787
4783
  };
4788
4784
 
4789
- const baseClasses$1 = 'tw-leading-normal tw-outline-none tw-py-1 tw-px-3 tw-rounded-sm' +
4785
+ const baseClasses$1 = 'tw-leading-normal tw-outline-none tw-py-1 tw-px-3 tw-rounded-sm tw-w-full' +
4790
4786
  ' disabled:tw-pointer-events-none disabled:tw-bg-sq-light-gray disabled:dark:tw-bg-sq-dark-disabled-gray' +
4791
4787
  ' disabled:tw-cursor-not-allowed tw-p-1 tw-border-solid tw-border tw-text-sm';
4792
4788
  const darkTheme = 'dark:tw-bg-sq-dark-background dark:tw-text-sq-dark-text ' +