@toptal/picasso-switch 2.0.9 → 2.0.10
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toptal/picasso-switch",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.10",
|
|
4
4
|
"description": "Toptal UI components library - Switch",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"homepage": "https://github.com/toptal/picasso/tree/master/packages/picasso#readme",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@toptal/picasso-form": "4.1.
|
|
25
|
+
"@toptal/picasso-form": "4.1.3",
|
|
26
26
|
"@toptal/picasso-shared": "15.0.0",
|
|
27
27
|
"@mui/base": "5.0.0-beta.40",
|
|
28
28
|
"classnames": "^2.5.1"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`Switch behaves correctly when interacting 1`] = `
|
|
4
4
|
<label
|
|
5
|
-
class="
|
|
5
|
+
class="inline-flex max-w align-middle -webkit-tap-highlight-color mx-0 cursor-pointer items-start text-lg"
|
|
6
6
|
data-testid="switch"
|
|
7
7
|
>
|
|
8
8
|
<span
|
|
@@ -22,7 +22,7 @@ exports[`Switch behaves correctly when interacting 1`] = `
|
|
|
22
22
|
/>
|
|
23
23
|
</span>
|
|
24
24
|
<span
|
|
25
|
-
class="inline-block leading-[1em] mb-0 text-graphite
|
|
25
|
+
class="inline-block leading-[1em] mb-0 text-graphite ml-[0.5em] mt-[0.25em] max-w-[calc(100%-1em"
|
|
26
26
|
>
|
|
27
27
|
<span
|
|
28
28
|
class="align-top text-[0.8125rem]"
|
|
@@ -61,7 +61,7 @@ exports[`Switch renders default Switch without label 1`] = `
|
|
|
61
61
|
|
|
62
62
|
exports[`Switch renders disabled state 1`] = `
|
|
63
63
|
<label
|
|
64
|
-
class="
|
|
64
|
+
class="inline-flex max-w align-middle -webkit-tap-highlight-color mx-0 cursor-default items-start text-lg"
|
|
65
65
|
data-testid="switch"
|
|
66
66
|
>
|
|
67
67
|
<span
|
|
@@ -82,7 +82,7 @@ exports[`Switch renders disabled state 1`] = `
|
|
|
82
82
|
/>
|
|
83
83
|
</span>
|
|
84
84
|
<span
|
|
85
|
-
class="inline-block leading-[1em] mb-0 text-graphite
|
|
85
|
+
class="inline-block leading-[1em] mb-0 text-graphite pointer-events ml-[0.5em] mt-[0.25em] max-w-[calc(100%-1em"
|
|
86
86
|
>
|
|
87
87
|
<span
|
|
88
88
|
class="align-top text-[0.8125rem]"
|