@toptal/picasso-input 4.1.2 → 4.1.3-alpha-1757603192867.0
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/package.json +13 -12
- package/dist-package/src/Input/Input.d.ts +0 -68
- package/dist-package/src/Input/Input.d.ts.map +0 -1
- package/dist-package/src/Input/Input.js +0 -103
- package/dist-package/src/Input/Input.js.map +0 -1
- package/dist-package/src/Input/index.d.ts +0 -5
- package/dist-package/src/Input/index.d.ts.map +0 -1
- package/dist-package/src/Input/index.js +0 -2
- package/dist-package/src/Input/index.js.map +0 -1
- package/dist-package/src/index.d.ts +0 -2
- package/dist-package/src/index.d.ts.map +0 -1
- package/dist-package/src/index.js +0 -2
- package/dist-package/src/index.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toptal/picasso-input",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.3-alpha-1757603192867.0",
|
|
4
4
|
"description": "Toptal UI components library - Input",
|
|
5
5
|
"publishConfig": {
|
|
6
|
-
"access": "public"
|
|
6
|
+
"access": "public",
|
|
7
|
+
"provenance": true
|
|
7
8
|
},
|
|
8
9
|
"main": "./dist-package/src/index.js",
|
|
9
10
|
"module": "./dist-package/src/index.js",
|
|
10
11
|
"scripts": {
|
|
11
12
|
"build:package": "tsc -b tsconfig.json",
|
|
12
|
-
"prepublishOnly": "
|
|
13
|
+
"prepublishOnly": "echo 0"
|
|
13
14
|
},
|
|
14
15
|
"repository": {
|
|
15
16
|
"type": "git",
|
|
@@ -22,20 +23,20 @@
|
|
|
22
23
|
},
|
|
23
24
|
"homepage": "https://github.com/toptal/picasso/tree/master/packages/picasso#readme",
|
|
24
25
|
"dependencies": {
|
|
25
|
-
"@toptal/picasso-container": "3.1.
|
|
26
|
-
"@toptal/picasso-form": "6.3.
|
|
27
|
-
"@toptal/picasso-icons": "1.12.
|
|
28
|
-
"@toptal/picasso-input-adornment": "3.0.
|
|
29
|
-
"@toptal/picasso-outlined-input": "4.1.
|
|
30
|
-
"@toptal/picasso-shared": "15.0.0",
|
|
31
|
-
"@toptal/picasso-utils": "3.1.0"
|
|
26
|
+
"@toptal/picasso-container": "3.1.3-alpha-1757603192867.0",
|
|
27
|
+
"@toptal/picasso-form": "6.3.3-alpha-1757603192867.0",
|
|
28
|
+
"@toptal/picasso-icons": "1.12.2-alpha-1757603192867.0",
|
|
29
|
+
"@toptal/picasso-input-adornment": "3.0.11-alpha-1757603192867.0",
|
|
30
|
+
"@toptal/picasso-outlined-input": "4.1.3-alpha-1757603192867.0",
|
|
31
|
+
"@toptal/picasso-shared": "15.0.1-alpha-1757603192867.0",
|
|
32
|
+
"@toptal/picasso-utils": "3.1.1-alpha-1757603192867.0"
|
|
32
33
|
},
|
|
33
34
|
"sideEffects": [
|
|
34
35
|
"**/styles.ts",
|
|
35
36
|
"**/styles.js"
|
|
36
37
|
],
|
|
37
38
|
"peerDependencies": {
|
|
38
|
-
"@toptal/picasso-tailwind": "
|
|
39
|
+
"@toptal/picasso-tailwind": "3.0.1-alpha-1757603192867.0",
|
|
39
40
|
"react": ">=16.12.0 < 19.0.0"
|
|
40
41
|
},
|
|
41
42
|
"exports": {
|
|
@@ -43,7 +44,7 @@
|
|
|
43
44
|
"./styles": "./dist-package/src/styles.js"
|
|
44
45
|
},
|
|
45
46
|
"devDependencies": {
|
|
46
|
-
"@toptal/picasso-test-utils": "1.1.
|
|
47
|
+
"@toptal/picasso-test-utils": "1.1.2-alpha-1757603192867.0"
|
|
47
48
|
},
|
|
48
49
|
"files": [
|
|
49
50
|
"dist-package/**",
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import type { ReactNode, ChangeEvent, InputHTMLAttributes, MouseEvent } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import type { BaseProps, SizeType } from '@toptal/picasso-shared';
|
|
4
|
-
import type { InputLimitAdornmentProps, InputIconAdornmentProps } from '@toptal/picasso-input-adornment';
|
|
5
|
-
import type { BaseInputProps, Status } from '@toptal/picasso-outlined-input';
|
|
6
|
-
export interface Props extends BaseProps, Omit<InputHTMLAttributes<HTMLInputElement>, 'size'> {
|
|
7
|
-
/** The id of the `input` element. */
|
|
8
|
-
id?: string;
|
|
9
|
-
/** Name attribute of the input element */
|
|
10
|
-
name?: string;
|
|
11
|
-
/** The default `input` element value. Use when the component is not controlled. */
|
|
12
|
-
defaultValue?: string;
|
|
13
|
-
/** The value of the `input` element, required for a controlled component. */
|
|
14
|
-
value?: string;
|
|
15
|
-
/** Placeholder for value */
|
|
16
|
-
placeholder?: string;
|
|
17
|
-
/** Indicate `Input` status */
|
|
18
|
-
status?: Status;
|
|
19
|
-
/** If true, the `Input` will be disabled */
|
|
20
|
-
disabled?: boolean;
|
|
21
|
-
/** Width of the component */
|
|
22
|
-
width?: 'full' | 'shrink' | 'auto';
|
|
23
|
-
/** Whether icon should be placed at the beginning or end of the `Input` */
|
|
24
|
-
iconPosition?: InputIconAdornmentProps['position'];
|
|
25
|
-
/** Specify icon which should be rendered inside Input */
|
|
26
|
-
icon?: InputIconAdornmentProps['icon'];
|
|
27
|
-
inputProps?: BaseInputProps;
|
|
28
|
-
/** Whether `Input` should be rendered as `TextArea` or not */
|
|
29
|
-
multiline?: boolean;
|
|
30
|
-
/** Whether a multiline can be manually resized by the user, requires multiline prop to be set to true */
|
|
31
|
-
multilineResizable?: boolean;
|
|
32
|
-
/** If true, the input element will be focused during the first mount */
|
|
33
|
-
autoFocus?: boolean;
|
|
34
|
-
/** Specify rows amount for `TextArea` */
|
|
35
|
-
rows?: string | number;
|
|
36
|
-
/** Maximum number of rows to display when multiline option is set to true. */
|
|
37
|
-
rowsMax?: string | number;
|
|
38
|
-
/** Type attribute of the Input element. It should be a valid HTML5 input type */
|
|
39
|
-
type?: string;
|
|
40
|
-
/** Adds element at the start of the input - can't be used in combination with `iconPosition: start` */
|
|
41
|
-
startAdornment?: ReactNode;
|
|
42
|
-
/** Adds element at the end of the input - can't be used in combination with `iconPosition: end` */
|
|
43
|
-
endAdornment?: ReactNode;
|
|
44
|
-
/** Callback invoked when `Input` changes its state */
|
|
45
|
-
onChange?: (event: ChangeEvent<HTMLTextAreaElement | HTMLInputElement | HTMLSelectElement>) => void;
|
|
46
|
-
/** Adds a counter of characters (ignored in combination with `counter: entered`) */
|
|
47
|
-
limit?: InputLimitAdornmentProps['limit'];
|
|
48
|
-
/** Type of the counter of characters */
|
|
49
|
-
counter?: InputLimitAdornmentProps['counter'];
|
|
50
|
-
/** Component size */
|
|
51
|
-
size?: SizeType<'small' | 'medium' | 'large'>;
|
|
52
|
-
/** Whether to render reset icon when there is a value in the input */
|
|
53
|
-
enableReset?: boolean;
|
|
54
|
-
/** Callback invoked when reset button was clicked */
|
|
55
|
-
onResetClick?: (event: MouseEvent<HTMLButtonElement & HTMLAnchorElement>) => void;
|
|
56
|
-
/** Ref of the input outline */
|
|
57
|
-
outlineRef?: React.Ref<HTMLElement>;
|
|
58
|
-
testIds?: {
|
|
59
|
-
inputAdornment?: string;
|
|
60
|
-
resetButton?: string;
|
|
61
|
-
validIcon?: string;
|
|
62
|
-
};
|
|
63
|
-
setHasMultilineCounter?: (name: string, hasCounter: boolean) => void;
|
|
64
|
-
highlight?: 'autofill';
|
|
65
|
-
}
|
|
66
|
-
export declare const Input: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLInputElement>>;
|
|
67
|
-
export default Input;
|
|
68
|
-
//# sourceMappingURL=Input.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/Input/Input.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,SAAS,EACT,WAAW,EACX,mBAAmB,EACnB,UAAU,EACX,MAAM,OAAO,CAAA;AACd,OAAO,KAAqB,MAAM,OAAO,CAAA;AACzC,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,wBAAw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AE,SAAS,CAAA;IAC1B,mGAAmG;IACnG,YAAY,CAAC,EAAE,SAAS,CAAA;IACxB,uDAAuD;IACvD,QAAQ,CAAC,EAAE,CACT,KAAK,EAAE,WAAW,CAChB,mBAAmB,GAAG,gBAAgB,GAAG,iBAAiB,CAC3D,KACE,IAAI,CAAA;IACT,oFAAoF;IACpF,KAAK,CAAC,EAAE,wBAAwB,CAAC,OAAO,CAAC,CAAA;IACzC,wCAAwC;IACxC,OAAO,CAAC,EAAE,wBAAwB,CAAC,SAAS,CAAC,CAAA;IAC7C,qBAAqB;IACrB,IAAI,CAAC,EAAE,QAAQ,CAAC,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC,CAAA;IAC7C,sEAAsE;IACtE,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,qDAAqD;IACrD,YAAY,CAAC,EAAE,CACb,KAAK,EAAE,UAAU,CAAC,iBAAiB,GAAG,iBAAiB,CAAC,KACrD,IAAI,CAAA;IACT,+BAA+B;IAC/B,UAAU,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,WAAW,CAAC,CAAA;IACnC,OAAO,CAAC,EAAE;QACR,cAAc,CAAC,EAAE,MAAM,CAAA;QACvB,WAAW,CAAC,EAAE,MAAM,CAAA;QACpB,SAAS,CAAC,EAAE,MAAM,CAAA;KACnB,CAAA;IACD,sBAAsB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,KAAK,IAAI,CAAA;IACpE,SAAS,CAAC,EAAE,UAAU,CAAA;CACvB;AA4ID,eAAO,MAAM,KAAK,gFA6HhB,CAAA;AAgBF,eAAe,KAAK,CAAA"}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
-
var t = {};
|
|
3
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
-
t[p] = s[p];
|
|
5
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
-
t[p[i]] = s[p[i]];
|
|
9
|
-
}
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
12
|
-
import React, { forwardRef } from 'react';
|
|
13
|
-
import { useHasMultilineCounter } from '@toptal/picasso-shared';
|
|
14
|
-
import { OutlinedInput } from '@toptal/picasso-outlined-input';
|
|
15
|
-
import { disableUnsupportedProps } from '@toptal/picasso-utils';
|
|
16
|
-
import { InputLimitAdornment, InputIconAdornment, InputValidIconAdornment, } from '@toptal/picasso-input-adornment';
|
|
17
|
-
import { Container } from '@toptal/picasso-container';
|
|
18
|
-
import { useFieldsLayoutContext } from '@toptal/picasso-form';
|
|
19
|
-
const hasRemainingCounter = ({ counter, limit, }) => Boolean(counter === 'remaining' && limit);
|
|
20
|
-
const hasEnteredCounter = ({ counter }) => counter === 'entered';
|
|
21
|
-
const hasCounter = ({ counter, limit }) => hasRemainingCounter({ counter, limit }) || hasEnteredCounter({ counter });
|
|
22
|
-
const hasMultilineAdornment = ({ multiline, status, counter, limit, }) => multiline && (status === 'success' || hasCounter({ counter, limit }));
|
|
23
|
-
const StartAdornment = ({ icon, iconPosition, disabled, }) => {
|
|
24
|
-
if (!icon || iconPosition !== 'start') {
|
|
25
|
-
return null;
|
|
26
|
-
}
|
|
27
|
-
return React.createElement(InputIconAdornment, { disabled: disabled, position: 'start', icon: icon });
|
|
28
|
-
};
|
|
29
|
-
const EndAdornment = (props) => {
|
|
30
|
-
const { icon, iconPosition, disabled, limit, multiline, charsLength, testIds, counter, showCounter, } = props;
|
|
31
|
-
if (icon && iconPosition === 'end') {
|
|
32
|
-
return React.createElement(InputIconAdornment, { disabled: disabled, position: 'end', icon: icon });
|
|
33
|
-
}
|
|
34
|
-
if (!multiline && showCounter) {
|
|
35
|
-
return (React.createElement(InputLimitAdornment
|
|
36
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
37
|
-
, {
|
|
38
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
39
|
-
charsLength: charsLength, multiline: multiline,
|
|
40
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
41
|
-
counter: counter,
|
|
42
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
43
|
-
limit: limit, testIds: testIds }));
|
|
44
|
-
}
|
|
45
|
-
return null;
|
|
46
|
-
};
|
|
47
|
-
const MultilineAdornment = ({ charsLength, counter, limit, showCounter, status, testIds, }) => {
|
|
48
|
-
const { layout } = useFieldsLayoutContext();
|
|
49
|
-
return (React.createElement(Container, { flex: true, className: layout === 'horizontal' ? '[grid-area:error]' : '' },
|
|
50
|
-
showCounter && (React.createElement(InputLimitAdornment, { testIds: testIds,
|
|
51
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
52
|
-
charsLength: charsLength,
|
|
53
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
54
|
-
counter: counter,
|
|
55
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
56
|
-
limit: limit, multiline: true })),
|
|
57
|
-
status === 'success' && (React.createElement(InputValidIconAdornment, { "data-testid": testIds === null || testIds === void 0 ? void 0 : testIds.validIcon, multiline: true }))));
|
|
58
|
-
};
|
|
59
|
-
const purifyProps = (props) => {
|
|
60
|
-
const sizeOptions = {
|
|
61
|
-
featureProps: {
|
|
62
|
-
size: 'small',
|
|
63
|
-
},
|
|
64
|
-
unsupportedProps: {
|
|
65
|
-
multiline: false,
|
|
66
|
-
icon: undefined,
|
|
67
|
-
startAdornment: undefined,
|
|
68
|
-
endAdornment: undefined,
|
|
69
|
-
limit: undefined,
|
|
70
|
-
},
|
|
71
|
-
};
|
|
72
|
-
return disableUnsupportedProps('Input', props, sizeOptions);
|
|
73
|
-
};
|
|
74
|
-
export const Input = forwardRef(function Input(props, ref) {
|
|
75
|
-
const _a = purifyProps(props), { id, name, defaultValue, value, placeholder, status, disabled, icon, iconPosition, inputProps, children, multiline, multilineResizable, autoFocus, width, className, style, rows, rowsMax, type, onChange, onClick, startAdornment, endAdornment, limit, counter, size, enableReset, onResetClick, outlineRef, testIds, setHasMultilineCounter, highlight } = _a, rest = __rest(_a, ["id", "name", "defaultValue", "value", "placeholder", "status", "disabled", "icon", "iconPosition", "inputProps", "children", "multiline", "multilineResizable", "autoFocus", "width", "className", "style", "rows", "rowsMax", "type", "onChange", "onClick", "startAdornment", "endAdornment", "limit", "counter", "size", "enableReset", "onResetClick", "outlineRef", "testIds", "setHasMultilineCounter", "highlight"]);
|
|
76
|
-
const charsLength = value ? value.length : 0;
|
|
77
|
-
const showCounter = !!charsLength && hasCounter({ counter, limit });
|
|
78
|
-
useHasMultilineCounter(name, showCounter && multiline, setHasMultilineCounter);
|
|
79
|
-
return (React.createElement(React.Fragment, null,
|
|
80
|
-
React.createElement(OutlinedInput, { ref: outlineRef, inputRef: ref, className: className, style: style, highlight: highlight, multiline: multiline, multilineResizable: multilineResizable, id: id, name: name, defaultValue: defaultValue, value: value, placeholder: placeholder, status: status, disabled: disabled, autoFocus: autoFocus, rows: rows, rowsMax: rowsMax, type: type, width: width, size: size, onClick: onClick,
|
|
81
|
-
// html attributes
|
|
82
|
-
inputProps: Object.assign(Object.assign({}, rest), inputProps), startAdornment: startAdornment || (React.createElement(StartAdornment, { icon: icon, iconPosition: iconPosition, disabled: disabled })), endAdornment: endAdornment || (React.createElement(EndAdornment, { icon: icon, iconPosition: iconPosition, disabled: disabled, limit: limit, charsLength: charsLength, multiline: multiline, counter: counter, status: status, testIds: testIds, showCounter: showCounter })), onChange: onChange, enableReset: enableReset, onResetClick: onResetClick, testIds: testIds }, children),
|
|
83
|
-
hasMultilineAdornment({
|
|
84
|
-
multiline,
|
|
85
|
-
status,
|
|
86
|
-
limit,
|
|
87
|
-
counter,
|
|
88
|
-
}) && (React.createElement(MultilineAdornment, { charsLength: charsLength, status: status, testIds: testIds, showCounter: showCounter, counter: counter, limit: limit }))));
|
|
89
|
-
});
|
|
90
|
-
Input.defaultProps = {
|
|
91
|
-
autoComplete: 'none',
|
|
92
|
-
counter: 'remaining',
|
|
93
|
-
iconPosition: 'start',
|
|
94
|
-
multiline: false,
|
|
95
|
-
size: 'medium',
|
|
96
|
-
width: 'auto',
|
|
97
|
-
onChange: () => { },
|
|
98
|
-
onResetClick: () => { },
|
|
99
|
-
status: 'default',
|
|
100
|
-
};
|
|
101
|
-
Input.displayName = 'Input';
|
|
102
|
-
export default Input;
|
|
103
|
-
//# sourceMappingURL=Input.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Input.js","sourceRoot":"","sources":["../../../src/Input/Input.tsx"],"names":[],"mappings":";;;;;;;;;;;AAOA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAA;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAA;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAA;AAE/D,OAAO,EACL,mBAAmB,EACnB,kBAAkB,EAClB,uBAAuB,GACxB,MAAM,iCAAiC,CAAA;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AAMrD,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAqF7D,MAAM,mBAAmB,GAAG,CAAC,EAC3B,OAAO,EACP,KAAK,GAC4B,EAAE,EAAE,CACrC,OAAO,CAAC,OAAO,KAAK,WAAW,IAAI,KAAK,CAAC,CAAA;AAE3C,MAAM,iBAAiB,GAAG,CAAC,EAAE,OAAO,EAA0B,EAAE,EAAE,CAChE,OAAO,KAAK,SAAS,CAAA;AAEvB,MAAM,UAAU,GAAG,CAAC,EAAE,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KAAK,CAAC,WAAW,GAAG,OAAO,CAAA;AAE3B,eAAe,KAAK,CAAA"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { OmitInternalProps } from '@toptal/picasso-shared';
|
|
2
|
-
import type { Props as InternalInputProps } from './Input';
|
|
3
|
-
export { default as Input } from './Input';
|
|
4
|
-
export declare type InputProps = OmitInternalProps<InternalInputProps>;
|
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Input/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAE/D,OAAO,KAAK,EAAE,KAAK,IAAI,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAC1D,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAA;AAC1C,oBAAY,UAAU,GAAG,iBAAiB,CAAC,kBAAkB,CAAC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/Input/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
|