myoperator-ui 0.0.172-beta.2 → 0.0.172-beta.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.
Files changed (2) hide show
  1. package/dist/index.js +2 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1735,11 +1735,6 @@ const TextField = React.forwardRef<HTMLInputElement, TextFieldProps>(
1735
1735
  const ariaDescribedBy = error ? errorId : helperText ? helperId : undefined;
1736
1736
 
1737
1737
  // Render the input element
1738
- const numberSpinnerClasses =
1739
- type === "number"
1740
- ? "[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none"
1741
- : undefined;
1742
-
1743
1738
  const inputElement = (
1744
1739
  <input
1745
1740
  ref={ref}
@@ -1749,7 +1744,8 @@ const TextField = React.forwardRef<HTMLInputElement, TextFieldProps>(
1749
1744
  hasAddons
1750
1745
  ? "flex-1 bg-transparent border-0 outline-none focus:ring-0 px-0 h-full text-sm text-semantic-text-primary placeholder:text-semantic-text-placeholder disabled:cursor-not-allowed"
1751
1746
  : textFieldInputVariants({ state: derivedState, className }),
1752
- numberSpinnerClasses
1747
+ type === "number" &&
1748
+ "[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none"
1753
1749
  )}
1754
1750
  disabled={disabled || loading}
1755
1751
  maxLength={maxLength}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "myoperator-ui",
3
- "version": "0.0.172-beta.2",
3
+ "version": "0.0.172-beta.4",
4
4
  "description": "CLI for adding myOperator UI components to your project",
5
5
  "type": "module",
6
6
  "exports": "./dist/index.js",