@toptal/picasso-show-more 2.0.5-alpha-fx-null-button-overridable-a6bdbbaa2.0 → 2.0.6
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 +7 -8
- package/src/ShowMore/__snapshots__/test.tsx.snap +6 -6
- package/LICENSE +0 -20
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toptal/picasso-show-more",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.6",
|
|
4
4
|
"description": "Toptal UI components library - ShowMore",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
},
|
|
23
23
|
"homepage": "https://github.com/toptal/picasso/tree/master/packages/picasso#readme",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@toptal/picasso-button": "4.0.
|
|
26
|
-
"@toptal/picasso-icons": "1.
|
|
27
|
-
"@toptal/picasso-typography": "4.0.
|
|
25
|
+
"@toptal/picasso-button": "4.0.7",
|
|
26
|
+
"@toptal/picasso-icons": "1.7.0",
|
|
27
|
+
"@toptal/picasso-typography": "4.0.1",
|
|
28
28
|
"react-truncate": "^2.4.0"
|
|
29
29
|
},
|
|
30
30
|
"sideEffects": [
|
|
@@ -40,13 +40,12 @@
|
|
|
40
40
|
".": "./dist-package/src/index.js"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@toptal/picasso-
|
|
44
|
-
"@toptal/picasso-
|
|
43
|
+
"@toptal/picasso-test-utils": "1.1.1",
|
|
44
|
+
"@toptal/picasso-tailwind-merge": "2.0.1"
|
|
45
45
|
},
|
|
46
46
|
"files": [
|
|
47
47
|
"dist-package/**",
|
|
48
48
|
"!dist-package/tsconfig.tsbuildinfo",
|
|
49
49
|
"src"
|
|
50
|
-
]
|
|
51
|
-
"gitHead": "a6bdbbaa25247c35686b5c9b17b14a02b9f497ba"
|
|
50
|
+
]
|
|
52
51
|
}
|
|
@@ -24,7 +24,7 @@ exports[`ShowMore renders 1`] = `
|
|
|
24
24
|
</p>
|
|
25
25
|
<button
|
|
26
26
|
aria-disabled="false"
|
|
27
|
-
class="base-Button text-lg justify-center select-none appearance-none m-0 relative normal-case align-middle duration-350 ease-out shrink-0 outline-none [
|
|
27
|
+
class="base-Button text-lg justify-center select-none appearance-none m-0 relative normal-case align-middle duration-350 ease-out shrink-0 outline-none [[data-component-type="button"]+&]:ml cursor-pointer border-none px-0 bg-transparent h-[1.5em] hover:text-blue hover:underline active:text-blue active:underline focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-visible:rounded-sm inline-flex items-center transition-none"
|
|
28
28
|
data-component-type="button"
|
|
29
29
|
role="button"
|
|
30
30
|
tabindex="0"
|
|
@@ -77,7 +77,7 @@ exports[`ShowMore when custom lessText text is specified should render with cust
|
|
|
77
77
|
</p>
|
|
78
78
|
<button
|
|
79
79
|
aria-disabled="false"
|
|
80
|
-
class="base-Button text-lg justify-center select-none appearance-none m-0 relative normal-case align-middle duration-350 ease-out shrink-0 outline-none [
|
|
80
|
+
class="base-Button text-lg justify-center select-none appearance-none m-0 relative normal-case align-middle duration-350 ease-out shrink-0 outline-none [[data-component-type="button"]+&]:ml cursor-pointer border-none px-0 bg-transparent h-[1.5em] hover:text-blue hover:underline active:text-blue active:underline focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-visible:rounded-sm inline-flex items-center transition-none"
|
|
81
81
|
data-component-type="button"
|
|
82
82
|
role="button"
|
|
83
83
|
tabindex="0"
|
|
@@ -130,7 +130,7 @@ exports[`ShowMore when custom showMore text is specified should render with cust
|
|
|
130
130
|
</p>
|
|
131
131
|
<button
|
|
132
132
|
aria-disabled="false"
|
|
133
|
-
class="base-Button text-lg justify-center select-none appearance-none m-0 relative normal-case align-middle duration-350 ease-out shrink-0 outline-none [
|
|
133
|
+
class="base-Button text-lg justify-center select-none appearance-none m-0 relative normal-case align-middle duration-350 ease-out shrink-0 outline-none [[data-component-type="button"]+&]:ml cursor-pointer border-none px-0 bg-transparent h-[1.5em] hover:text-blue hover:underline active:text-blue active:underline focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-visible:rounded-sm inline-flex items-center transition-none"
|
|
134
134
|
data-component-type="button"
|
|
135
135
|
role="button"
|
|
136
136
|
tabindex="0"
|
|
@@ -197,7 +197,7 @@ exports[`ShowMore when initialExpanded prop is true should render expanded versi
|
|
|
197
197
|
</p>
|
|
198
198
|
<button
|
|
199
199
|
aria-disabled="false"
|
|
200
|
-
class="base-Button text-lg justify-center select-none appearance-none m-0 relative normal-case align-middle duration-350 ease-out shrink-0 outline-none [
|
|
200
|
+
class="base-Button text-lg justify-center select-none appearance-none m-0 relative normal-case align-middle duration-350 ease-out shrink-0 outline-none [[data-component-type="button"]+&]:ml cursor-pointer border-none px-0 bg-transparent h-[1.5em] hover:text-blue hover:underline active:text-blue active:underline focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-visible:rounded-sm inline-flex items-center transition-none"
|
|
201
201
|
data-component-type="button"
|
|
202
202
|
role="button"
|
|
203
203
|
tabindex="0"
|
|
@@ -250,7 +250,7 @@ exports[`ShowMore when initialExpanded prop is true when show less link is click
|
|
|
250
250
|
</p>
|
|
251
251
|
<button
|
|
252
252
|
aria-disabled="false"
|
|
253
|
-
class="base-Button text-lg justify-center select-none appearance-none m-0 relative normal-case align-middle duration-350 ease-out shrink-0 outline-none [
|
|
253
|
+
class="base-Button text-lg justify-center select-none appearance-none m-0 relative normal-case align-middle duration-350 ease-out shrink-0 outline-none [[data-component-type="button"]+&]:ml cursor-pointer border-none px-0 bg-transparent h-[1.5em] hover:text-blue hover:underline active:text-blue active:underline focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-visible:rounded-sm inline-flex items-center transition-none"
|
|
254
254
|
data-component-type="button"
|
|
255
255
|
role="button"
|
|
256
256
|
tabindex="0"
|
|
@@ -291,7 +291,7 @@ exports[`ShowMore when show more link is clicked should render expanded version
|
|
|
291
291
|
</p>
|
|
292
292
|
<button
|
|
293
293
|
aria-disabled="false"
|
|
294
|
-
class="base-Button text-lg justify-center select-none appearance-none m-0 relative normal-case align-middle duration-350 ease-out shrink-0 outline-none [
|
|
294
|
+
class="base-Button text-lg justify-center select-none appearance-none m-0 relative normal-case align-middle duration-350 ease-out shrink-0 outline-none [[data-component-type="button"]+&]:ml cursor-pointer border-none px-0 bg-transparent h-[1.5em] hover:text-blue hover:underline active:text-blue active:underline focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-visible:rounded-sm inline-flex items-center transition-none"
|
|
295
295
|
data-component-type="button"
|
|
296
296
|
role="button"
|
|
297
297
|
tabindex="0"
|
package/LICENSE
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
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.
|