Socket
Socket
Sign inDemoInstall

@commercetools-uikit/text-input

Package Overview
Dependencies
Maintainers
0
Versions
852
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commercetools-uikit/text-input - npm Package Compare versions

Comparing version 0.0.0-canary-20240723124651 to 0.0.0-canary-20240725110422

4

dist/commercetools-uikit-text-input.cjs.dev.js

@@ -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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc