@toptal/picasso-utils 1.0.4-alpha-feature-tailwind-w21-a69309e6a.55 → 1.0.4-alpha-cjs-and-esm-publish-test-99555d2ed.65
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-utils",
|
|
3
|
-
"version": "1.0.4-alpha-
|
|
3
|
+
"version": "1.0.4-alpha-cjs-and-esm-publish-test-99555d2ed.65+99555d2ed",
|
|
4
4
|
"description": "Toptal UI components library - Utils",
|
|
5
5
|
"homepage": "https://github.com/toptal/picasso/tree/master/packages/picasso#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
"prepublishOnly": "yarn build:package"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@toptal/picasso-shared": "15.0.1-alpha-
|
|
29
|
+
"@toptal/picasso-shared": "15.0.1-alpha-cjs-and-esm-publish-test-99555d2ed.65+99555d2ed",
|
|
30
30
|
"ap-style-title-case": "^1.1.2",
|
|
31
31
|
"classnames": "^2.5.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@toptal/picasso-provider": "4.2.2-alpha-
|
|
35
|
-
"@toptal/picasso-test-utils": "1.1.2-alpha-
|
|
34
|
+
"@toptal/picasso-provider": "4.2.2-alpha-cjs-and-esm-publish-test-99555d2ed.73+99555d2ed",
|
|
35
|
+
"@toptal/picasso-test-utils": "1.1.2-alpha-cjs-and-esm-publish-test-99555d2ed.65+99555d2ed",
|
|
36
36
|
"styled-components": "^6.1.1"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"!dist-package/tsconfig.tsbuildinfo",
|
|
50
50
|
"src"
|
|
51
51
|
],
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "99555d2edcfa544cb6eb59eb953365a04c359b45"
|
|
53
53
|
}
|
|
@@ -25,44 +25,50 @@ exports[`Modal useModal opens and closes modal 1`] = `
|
|
|
25
25
|
</span>
|
|
26
26
|
</button>
|
|
27
27
|
<div
|
|
28
|
-
class="
|
|
28
|
+
class="MuiDialog-root PicassoModal-root"
|
|
29
29
|
role="presentation"
|
|
30
|
+
style="position: fixed; z-index: 1300; right: 0px; bottom: 0px; top: 0px; left: 0px;"
|
|
30
31
|
>
|
|
31
32
|
<div
|
|
32
33
|
aria-hidden="true"
|
|
33
|
-
class="
|
|
34
|
-
style="transition
|
|
34
|
+
class="MuiBackdrop-root"
|
|
35
|
+
style="opacity: 1; webkit-transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;"
|
|
35
36
|
/>
|
|
36
37
|
<div
|
|
37
|
-
data-
|
|
38
|
+
data-test="sentinelStart"
|
|
38
39
|
tabindex="0"
|
|
39
40
|
/>
|
|
40
41
|
<div
|
|
41
|
-
class="
|
|
42
|
-
role="
|
|
43
|
-
style="transition
|
|
42
|
+
class="MuiDialog-container PicassoModal-container MuiDialog-scrollPaper"
|
|
43
|
+
role="none presentation"
|
|
44
|
+
style="opacity: 1; webkit-transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;"
|
|
44
45
|
tabindex="-1"
|
|
45
46
|
>
|
|
46
|
-
<
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
<button
|
|
50
|
-
aria-disabled="false"
|
|
51
|
-
class="base-Button text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none [&+&]:ml-4 cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-within:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] border-none text-white visited:text-white hover:bg-[#4269D6] active:bg-[#1A41AB] bg-blue min-w h-8 py-0 px-4"
|
|
52
|
-
data-component-type="button"
|
|
53
|
-
role="button"
|
|
54
|
-
tabindex="0"
|
|
55
|
-
type="button"
|
|
47
|
+
<div
|
|
48
|
+
class="MuiPaper-root MuiDialog-paper PicassoModal-paper PicassoModal-medium MuiDialog-paperScrollPaper MuiDialog-paperWidthFalse MuiPaper-elevation2"
|
|
49
|
+
role="dialog"
|
|
56
50
|
>
|
|
57
|
-
<
|
|
58
|
-
|
|
51
|
+
<p>
|
|
52
|
+
Modal content
|
|
53
|
+
</p>
|
|
54
|
+
<button
|
|
55
|
+
aria-disabled="false"
|
|
56
|
+
class="base-Button text-lg inline-flex items-center justify-center select-none appearance-none m-0 relative normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-none [&+&]:ml-4 cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] focus-within:shadow-[0_0_0_3px_rgba(32,78,207,0.48)] border-none text-white visited:text-white hover:bg-[#4269D6] active:bg-[#1A41AB] bg-blue min-w h-8 py-0 px-4"
|
|
57
|
+
data-component-type="button"
|
|
58
|
+
role="button"
|
|
59
|
+
tabindex="0"
|
|
60
|
+
type="button"
|
|
59
61
|
>
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
62
|
+
<span
|
|
63
|
+
class="PicassoContainer-centerAlignItems PicassoContainer-flex PicassoContainer-inline font-semibold whitespace-nowrap text-button"
|
|
64
|
+
>
|
|
65
|
+
Hide
|
|
66
|
+
</span>
|
|
67
|
+
</button>
|
|
68
|
+
</div>
|
|
63
69
|
</div>
|
|
64
70
|
<div
|
|
65
|
-
data-
|
|
71
|
+
data-test="sentinelEnd"
|
|
66
72
|
tabindex="0"
|
|
67
73
|
/>
|
|
68
74
|
</div>
|
|
@@ -140,58 +146,70 @@ exports[`Modal useModal shows multiple modals at the same time 1`] = `
|
|
|
140
146
|
</button>
|
|
141
147
|
<div
|
|
142
148
|
aria-hidden="true"
|
|
143
|
-
class="
|
|
149
|
+
class="MuiDialog-root PicassoModal-root"
|
|
144
150
|
role="presentation"
|
|
151
|
+
style="position: fixed; z-index: 1300; right: 0px; bottom: 0px; top: 0px; left: 0px;"
|
|
145
152
|
>
|
|
146
153
|
<div
|
|
147
154
|
aria-hidden="true"
|
|
148
|
-
class="
|
|
149
|
-
style="transition
|
|
155
|
+
class="MuiBackdrop-root"
|
|
156
|
+
style="opacity: 1; webkit-transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;"
|
|
150
157
|
/>
|
|
151
158
|
<div
|
|
152
|
-
data-
|
|
159
|
+
data-test="sentinelStart"
|
|
153
160
|
tabindex="0"
|
|
154
161
|
/>
|
|
155
162
|
<div
|
|
156
|
-
class="
|
|
157
|
-
role="
|
|
158
|
-
style="transition
|
|
163
|
+
class="MuiDialog-container PicassoModal-container MuiDialog-scrollPaper"
|
|
164
|
+
role="none presentation"
|
|
165
|
+
style="opacity: 1; webkit-transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;"
|
|
159
166
|
tabindex="-1"
|
|
160
167
|
>
|
|
161
|
-
<
|
|
162
|
-
|
|
163
|
-
|
|
168
|
+
<div
|
|
169
|
+
class="MuiPaper-root MuiDialog-paper PicassoModal-paper PicassoModal-medium MuiDialog-paperScrollPaper MuiDialog-paperWidthFalse MuiPaper-elevation2"
|
|
170
|
+
role="dialog"
|
|
171
|
+
>
|
|
172
|
+
<p>
|
|
173
|
+
First modal content
|
|
174
|
+
</p>
|
|
175
|
+
</div>
|
|
164
176
|
</div>
|
|
165
177
|
<div
|
|
166
|
-
data-
|
|
178
|
+
data-test="sentinelEnd"
|
|
167
179
|
tabindex="0"
|
|
168
180
|
/>
|
|
169
181
|
</div>
|
|
170
182
|
<div
|
|
171
|
-
class="
|
|
183
|
+
class="MuiDialog-root PicassoModal-root"
|
|
172
184
|
role="presentation"
|
|
185
|
+
style="position: fixed; z-index: 1300; right: 0px; bottom: 0px; top: 0px; left: 0px;"
|
|
173
186
|
>
|
|
174
187
|
<div
|
|
175
188
|
aria-hidden="true"
|
|
176
|
-
class="
|
|
177
|
-
style="transition
|
|
189
|
+
class="MuiBackdrop-root"
|
|
190
|
+
style="opacity: 1; webkit-transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;"
|
|
178
191
|
/>
|
|
179
192
|
<div
|
|
180
|
-
data-
|
|
193
|
+
data-test="sentinelStart"
|
|
181
194
|
tabindex="0"
|
|
182
195
|
/>
|
|
183
196
|
<div
|
|
184
|
-
class="
|
|
185
|
-
role="
|
|
186
|
-
style="transition
|
|
197
|
+
class="MuiDialog-container PicassoModal-container MuiDialog-scrollPaper"
|
|
198
|
+
role="none presentation"
|
|
199
|
+
style="opacity: 1; webkit-transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;"
|
|
187
200
|
tabindex="-1"
|
|
188
201
|
>
|
|
189
|
-
<
|
|
190
|
-
|
|
191
|
-
|
|
202
|
+
<div
|
|
203
|
+
class="MuiPaper-root MuiDialog-paper PicassoModal-paper PicassoModal-medium MuiDialog-paperScrollPaper MuiDialog-paperWidthFalse MuiPaper-elevation2"
|
|
204
|
+
role="dialog"
|
|
205
|
+
>
|
|
206
|
+
<p>
|
|
207
|
+
Second modal content
|
|
208
|
+
</p>
|
|
209
|
+
</div>
|
|
192
210
|
</div>
|
|
193
211
|
<div
|
|
194
|
-
data-
|
|
212
|
+
data-test="sentinelEnd"
|
|
195
213
|
tabindex="0"
|
|
196
214
|
/>
|
|
197
215
|
</div>
|