@commercetools-uikit/text-input
Advanced tools
Comparing version 0.0.0-canary-20240723124651 to 0.0.0-canary-20240725110422
@@ -56,2 +56,3 @@ 'use strict'; | ||
placeholder: props.placeholder, | ||
maxLength: props.maxLength, | ||
readOnly: props.isReadOnly, | ||
@@ -93,3 +94,4 @@ autoFocus: props.isAutofocussed, | ||
placeholder: _pt__default["default"].string, | ||
horizontalConstraint: _pt__default["default"].oneOf([3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 'scale', 'auto']) | ||
horizontalConstraint: _pt__default["default"].oneOf([3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 'scale', 'auto']), | ||
maxLength: _pt__default["default"].number | ||
} : {}; | ||
@@ -96,0 +98,0 @@ TextInput.displayName = 'TextInput'; |
@@ -53,2 +53,3 @@ 'use strict'; | ||
placeholder: props.placeholder, | ||
maxLength: props.maxLength, | ||
readOnly: props.isReadOnly, | ||
@@ -55,0 +56,0 @@ autoFocus: props.isAutofocussed, |
@@ -38,2 +38,3 @@ import _Object$keys from '@babel/runtime-corejs3/core-js-stable/object/keys'; | ||
placeholder: props.placeholder, | ||
maxLength: props.maxLength, | ||
readOnly: props.isReadOnly, | ||
@@ -75,3 +76,4 @@ autoFocus: props.isAutofocussed, | ||
placeholder: _pt.string, | ||
horizontalConstraint: _pt.oneOf([3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 'scale', 'auto']) | ||
horizontalConstraint: _pt.oneOf([3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 'scale', 'auto']), | ||
maxLength: _pt.number | ||
} : {}; | ||
@@ -78,0 +80,0 @@ TextInput.displayName = 'TextInput'; |
@@ -21,2 +21,3 @@ import type { FocusEventHandler, ChangeEventHandler } from 'react'; | ||
horizontalConstraint?: 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 'scale' | 'auto'; | ||
maxLength?: number; | ||
}; | ||
@@ -23,0 +24,0 @@ declare const TextInput: { |
{ | ||
"name": "@commercetools-uikit/text-input", | ||
"description": "A controlled text input component for single-line strings with validation states.", | ||
"version": "0.0.0-canary-20240723124651", | ||
"version": "0.0.0-canary-20240725110422", | ||
"bugs": "https://github.com/commercetools/ui-kit/issues", | ||
@@ -32,6 +32,6 @@ "repository": { | ||
"@babel/runtime-corejs3": "^7.20.13", | ||
"@commercetools-uikit/constraints": "0.0.0-canary-20240723124651", | ||
"@commercetools-uikit/design-system": "0.0.0-canary-20240723124651", | ||
"@commercetools-uikit/input-utils": "0.0.0-canary-20240723124651", | ||
"@commercetools-uikit/utils": "0.0.0-canary-20240723124651", | ||
"@commercetools-uikit/constraints": "0.0.0-canary-20240725110422", | ||
"@commercetools-uikit/design-system": "0.0.0-canary-20240725110422", | ||
"@commercetools-uikit/input-utils": "0.0.0-canary-20240725110422", | ||
"@commercetools-uikit/utils": "0.0.0-canary-20240725110422", | ||
"@emotion/react": "^11.10.5", | ||
@@ -38,0 +38,0 @@ "@emotion/styled": "^11.10.5", |
@@ -63,2 +63,3 @@ <!-- THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. --> | ||
| `placeholder` | `string` | | | Placeholder text for the input | | ||
| `maxLength` | `number` | | | Maximum number of characters allowed in the input field | | ||
| `horizontalConstraint` | `union`<br/>Possible values:<br/>`, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 'scale', 'auto'` | | `'scale'` | Horizontal size limit of the input fields. | | ||
@@ -65,0 +66,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27264
308
85
+ Added@commercetools-uikit/accessible-button@0.0.0-canary-20240725110422(transitive)
+ Added@commercetools-uikit/constraints@0.0.0-canary-20240725110422(transitive)
+ Added@commercetools-uikit/design-system@0.0.0-canary-20240725110422(transitive)
+ Added@commercetools-uikit/flat-button@0.0.0-canary-20240725110422(transitive)
+ Added@commercetools-uikit/hooks@0.0.0-canary-20240725110422(transitive)
+ Added@commercetools-uikit/icons@0.0.0-canary-20240725110422(transitive)
+ Added@commercetools-uikit/input-utils@0.0.0-canary-20240725110422(transitive)
+ Added@commercetools-uikit/spacings-inline@0.0.0-canary-20240725110422(transitive)
+ Added@commercetools-uikit/text@0.0.0-canary-20240725110422(transitive)
+ Added@commercetools-uikit/utils@0.0.0-canary-20240725110422(transitive)
- Removed@commercetools-uikit/accessible-button@0.0.0-canary-20240723124651(transitive)
- Removed@commercetools-uikit/constraints@0.0.0-canary-20240723124651(transitive)
- Removed@commercetools-uikit/design-system@0.0.0-canary-20240723124651(transitive)
- Removed@commercetools-uikit/flat-button@0.0.0-canary-20240723124651(transitive)
- Removed@commercetools-uikit/hooks@0.0.0-canary-20240723124651(transitive)
- Removed@commercetools-uikit/icons@0.0.0-canary-20240723124651(transitive)
- Removed@commercetools-uikit/input-utils@0.0.0-canary-20240723124651(transitive)
- Removed@commercetools-uikit/spacings-inline@0.0.0-canary-20240723124651(transitive)
- Removed@commercetools-uikit/text@0.0.0-canary-20240723124651(transitive)
- Removed@commercetools-uikit/utils@0.0.0-canary-20240723124651(transitive)
Updated@commercetools-uikit/constraints@0.0.0-canary-20240725110422
Updated@commercetools-uikit/design-system@0.0.0-canary-20240725110422
Updated@commercetools-uikit/input-utils@0.0.0-canary-20240725110422
Updated@commercetools-uikit/utils@0.0.0-canary-20240725110422