@toptal/picasso-input 2.0.7 → 2.0.8-alpha-fx-5525-container-968fa808d.22
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/LICENSE +20 -0
- package/package.json +12 -11
- package/src/Input/__snapshots__/test.tsx.snap +4 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2021-2022 Toptal, LLC
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
6
|
+
this software and associated documentation files (the “Software”), to deal in
|
|
7
|
+
the Software without restriction, including without limitation the rights to
|
|
8
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
9
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
10
|
+
subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
17
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
18
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
19
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
20
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toptal/picasso-input",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.8-alpha-fx-5525-container-968fa808d.22+968fa808d",
|
|
4
4
|
"description": "Toptal UI components library - Input",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
},
|
|
23
23
|
"homepage": "https://github.com/toptal/picasso/tree/master/packages/picasso#readme",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@toptal/picasso-container": "1.0.
|
|
26
|
-
"@toptal/picasso-form": "3.0.
|
|
27
|
-
"@toptal/picasso-icons": "1.4.
|
|
28
|
-
"@toptal/picasso-input-adornment": "1.0.
|
|
29
|
-
"@toptal/picasso-outlined-input": "1.1.
|
|
30
|
-
"@toptal/picasso-shared": "15.0.
|
|
31
|
-
"@toptal/picasso-utils": "1.0.
|
|
25
|
+
"@toptal/picasso-container": "1.0.4-alpha-fx-5525-container-968fa808d.76+968fa808d",
|
|
26
|
+
"@toptal/picasso-form": "3.0.7-alpha-fx-5525-container-968fa808d.42+968fa808d",
|
|
27
|
+
"@toptal/picasso-icons": "1.4.1-alpha-fx-5525-container-968fa808d.42+968fa808d",
|
|
28
|
+
"@toptal/picasso-input-adornment": "1.0.8-alpha-fx-5525-container-968fa808d.42+968fa808d",
|
|
29
|
+
"@toptal/picasso-outlined-input": "1.1.5-alpha-fx-5525-container-968fa808d.22+968fa808d",
|
|
30
|
+
"@toptal/picasso-shared": "15.0.1-alpha-fx-5525-container-968fa808d.76+968fa808d",
|
|
31
|
+
"@toptal/picasso-utils": "1.0.4-alpha-fx-5525-container-968fa808d.76+968fa808d",
|
|
32
32
|
"classnames": "^2.5.1"
|
|
33
33
|
},
|
|
34
34
|
"sideEffects": [
|
|
@@ -45,12 +45,13 @@
|
|
|
45
45
|
"./styles": "./dist-package/src/styles.js"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@toptal/picasso-provider": "4.2.
|
|
49
|
-
"@toptal/picasso-test-utils": "1.1.
|
|
48
|
+
"@toptal/picasso-provider": "4.2.2-alpha-fx-5525-container-968fa808d.84+968fa808d",
|
|
49
|
+
"@toptal/picasso-test-utils": "1.1.2-alpha-fx-5525-container-968fa808d.76+968fa808d"
|
|
50
50
|
},
|
|
51
51
|
"files": [
|
|
52
52
|
"dist-package/**",
|
|
53
53
|
"!dist-package/tsconfig.tsbuildinfo",
|
|
54
54
|
"src"
|
|
55
|
-
]
|
|
55
|
+
],
|
|
56
|
+
"gitHead": "968fa808df499448786949e11d58be225c4795ce"
|
|
56
57
|
}
|
|
@@ -165,7 +165,7 @@ exports[`Input should show reset button 1`] = `
|
|
|
165
165
|
type="button"
|
|
166
166
|
>
|
|
167
167
|
<span
|
|
168
|
-
class="
|
|
168
|
+
class="items-center inline-flex font-semibold whitespace-nowrap text-button"
|
|
169
169
|
>
|
|
170
170
|
<svg
|
|
171
171
|
class="PicassoSvgCloseMinor16-root text-[1.2em] flex-1"
|
|
@@ -236,7 +236,7 @@ exports[`Input shows counter for multiline input 1`] = `
|
|
|
236
236
|
</fieldset>
|
|
237
237
|
</div>
|
|
238
238
|
<div
|
|
239
|
-
class="
|
|
239
|
+
class="flex"
|
|
240
240
|
/>
|
|
241
241
|
</div>
|
|
242
242
|
</div>
|
|
@@ -278,7 +278,7 @@ exports[`Input shows counter for regular input 1`] = `
|
|
|
278
278
|
|
|
279
279
|
exports[`Input shows excess chars for multiline input with exceeded limit 1`] = `
|
|
280
280
|
<div
|
|
281
|
-
class="
|
|
281
|
+
class="flex PicassoInputMultilineAdornment-root PicassoInputMultilineAdornment-error"
|
|
282
282
|
data-testid="limit-adornment-multiline-label"
|
|
283
283
|
>
|
|
284
284
|
<span>
|
|
@@ -297,7 +297,7 @@ exports[`Input shows excess chars for multiline input with exceeded limit 1`] =
|
|
|
297
297
|
|
|
298
298
|
exports[`Input shows remaining chars for for multiline input with limit 1`] = `
|
|
299
299
|
<div
|
|
300
|
-
class="
|
|
300
|
+
class="flex PicassoInputMultilineAdornment-root PicassoInputMultilineAdornment-error"
|
|
301
301
|
data-testid="limit-adornment-multiline-label"
|
|
302
302
|
>
|
|
303
303
|
<span>
|