@toptal/picasso-modal 102.0.0 → 102.0.2-alpha-pf-field-array-shared-entry-seed-0b36b605e.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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toptal/picasso-modal",
|
|
3
|
-
"version": "102.0.0",
|
|
3
|
+
"version": "102.0.2-alpha-pf-field-array-shared-entry-seed-0b36b605e.0",
|
|
4
4
|
"description": "Toptal UI components library - Modal",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@base-ui/react": "^1.6.0",
|
|
22
22
|
"debounce": "^1.2.1",
|
|
23
|
-
"@toptal/picasso-paper": "102.0.0",
|
|
24
|
-
"@toptal/picasso-
|
|
25
|
-
"@toptal/picasso-
|
|
26
|
-
"@toptal/picasso-icons": "102.0.0",
|
|
27
|
-
"@toptal/picasso-typography": "102.0.0",
|
|
28
|
-
"@toptal/picasso-utils": "102.0.0",
|
|
29
|
-
"@toptal/picasso-modal-context": "102.0.0"
|
|
23
|
+
"@toptal/picasso-paper": "102.0.2-alpha-pf-field-array-shared-entry-seed-0b36b605e.0",
|
|
24
|
+
"@toptal/picasso-button": "102.0.2-alpha-pf-field-array-shared-entry-seed-0b36b605e.0",
|
|
25
|
+
"@toptal/picasso-shared": "102.1.1-alpha-pf-field-array-shared-entry-seed-0b36b605e.0",
|
|
26
|
+
"@toptal/picasso-icons": "102.0.2-alpha-pf-field-array-shared-entry-seed-0b36b605e.0",
|
|
27
|
+
"@toptal/picasso-typography": "102.0.2-alpha-pf-field-array-shared-entry-seed-0b36b605e.0",
|
|
28
|
+
"@toptal/picasso-utils": "102.0.2-alpha-pf-field-array-shared-entry-seed-0b36b605e.0",
|
|
29
|
+
"@toptal/picasso-modal-context": "102.0.1-alpha-pf-field-array-shared-entry-seed-0b36b605e.0"
|
|
30
30
|
},
|
|
31
31
|
"sideEffects": [
|
|
32
32
|
"**/styles.ts",
|
|
@@ -34,17 +34,17 @@
|
|
|
34
34
|
],
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
37
|
-
"@toptal/picasso-provider": "^102.0.0",
|
|
38
|
-
"@toptal/picasso-tailwind": "^102.0.0",
|
|
39
|
-
"@toptal/picasso-tailwind-merge": "^102.0.0"
|
|
37
|
+
"@toptal/picasso-provider": "^102.0.1-alpha-pf-field-array-shared-entry-seed-0b36b605e.0",
|
|
38
|
+
"@toptal/picasso-tailwind": "^102.0.1-alpha-pf-field-array-shared-entry-seed-0b36b605e.0",
|
|
39
|
+
"@toptal/picasso-tailwind-merge": "^102.0.1-alpha-pf-field-array-shared-entry-seed-0b36b605e.0"
|
|
40
40
|
},
|
|
41
41
|
"exports": {
|
|
42
42
|
".": "./dist-package/src/index.js"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@toptal/picasso-
|
|
46
|
-
"@toptal/picasso-
|
|
47
|
-
"@toptal/picasso-test-utils": "102.0.0"
|
|
45
|
+
"@toptal/picasso-tailwind-merge": "102.0.1-alpha-pf-field-array-shared-entry-seed-0b36b605e.0",
|
|
46
|
+
"@toptal/picasso-provider": "102.0.1-alpha-pf-field-array-shared-entry-seed-0b36b605e.0",
|
|
47
|
+
"@toptal/picasso-test-utils": "102.0.2-alpha-pf-field-array-shared-entry-seed-0b36b605e.0"
|
|
48
48
|
},
|
|
49
49
|
"files": [
|
|
50
50
|
"dist-package/**",
|
|
@@ -90,7 +90,7 @@ exports[`Modal renders 1`] = `
|
|
|
90
90
|
>
|
|
91
91
|
<button
|
|
92
92
|
aria-disabled="false"
|
|
93
|
-
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-hidden [[data-component-type="button"]+&]:ml cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[
|
|
93
|
+
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-hidden [[data-component-type="button"]+&]:ml cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[0_0_0_0.1875rem_color-mix(in_srgb,theme(colors.blue.500)_48%,transparent)] border border-solid text-black hover:border-black visited:text-black active:bg-gray active:border-black bg-white border-gray min-w h-8 py-0 px-4"
|
|
94
94
|
data-component-type="button"
|
|
95
95
|
role="button"
|
|
96
96
|
tabindex="0"
|
|
@@ -104,7 +104,7 @@ exports[`Modal renders 1`] = `
|
|
|
104
104
|
</button>
|
|
105
105
|
<button
|
|
106
106
|
aria-disabled="false"
|
|
107
|
-
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-hidden [[data-component-type="button"]+&]:ml cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[
|
|
107
|
+
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-hidden [[data-component-type="button"]+&]:ml cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[0_0_0_0.1875rem_color-mix(in_srgb,theme(colors.blue.500)_48%,transparent)] border-none text-white visited:text-white hover:bg-[#27D496] active:bg-[#00A96C] bg-green min-w h-8 py-0 px-4"
|
|
108
108
|
data-component-type="button"
|
|
109
109
|
role="button"
|
|
110
110
|
tabindex="0"
|
|
@@ -120,7 +120,7 @@ exports[`Modal renders 1`] = `
|
|
|
120
120
|
<button
|
|
121
121
|
aria-disabled="false"
|
|
122
122
|
aria-label="Close"
|
|
123
|
-
class="base-Button text-lg inline-flex items-center justify-center select-none appearance-none m-0 normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-hidden [[data-component-type="button"]+&]:ml cursor-pointer rounded-full p-0 w-[1.5em] h-[1.5em] border-none text-graphite hover:bg-gray active:bg-gray focus-visible:shadow-[
|
|
123
|
+
class="base-Button text-lg inline-flex items-center justify-center select-none appearance-none m-0 normal-case align-middle transition-colors duration-350 ease-out shrink-0 outline-hidden [[data-component-type="button"]+&]:ml cursor-pointer rounded-full p-0 w-[1.5em] h-[1.5em] border-none text-graphite hover:bg-gray active:bg-gray focus-visible:shadow-[0_0_0_0.1875rem_color-mix(in_srgb,theme(colors.blue.500)_48%,transparent)] bg-transparent absolute top-8 right-8"
|
|
124
124
|
data-component-type="button"
|
|
125
125
|
data-testid="close-modal"
|
|
126
126
|
role="button"
|
|
@@ -163,7 +163,7 @@ exports[`Modal useModal opens and closes modal 1`] = `
|
|
|
163
163
|
>
|
|
164
164
|
<button
|
|
165
165
|
aria-disabled="false"
|
|
166
|
-
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-hidden [[data-component-type="button"]+&]:ml cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[
|
|
166
|
+
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-hidden [[data-component-type="button"]+&]:ml cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[0_0_0_0.1875rem_color-mix(in_srgb,theme(colors.blue.500)_48%,transparent)] border-none text-white visited:text-white hover:bg-[#4269D6] active:bg-[#1A41AB] bg-blue min-w h-8 py-0 px-4"
|
|
167
167
|
data-base-ui-inert=""
|
|
168
168
|
data-component-type="button"
|
|
169
169
|
role="button"
|
|
@@ -215,7 +215,7 @@ exports[`Modal useModal opens and closes modal 1`] = `
|
|
|
215
215
|
</p>
|
|
216
216
|
<button
|
|
217
217
|
aria-disabled="false"
|
|
218
|
-
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-hidden [[data-component-type="button"]+&]:ml cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[
|
|
218
|
+
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-hidden [[data-component-type="button"]+&]:ml cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[0_0_0_0.1875rem_color-mix(in_srgb,theme(colors.blue.500)_48%,transparent)] border-none text-white visited:text-white hover:bg-[#4269D6] active:bg-[#1A41AB] bg-blue min-w h-8 py-0 px-4"
|
|
219
219
|
data-component-type="button"
|
|
220
220
|
role="button"
|
|
221
221
|
tabindex="0"
|
|
@@ -272,7 +272,7 @@ exports[`Modal useModal opens and closes modal 2`] = `
|
|
|
272
272
|
>
|
|
273
273
|
<button
|
|
274
274
|
aria-disabled="false"
|
|
275
|
-
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-hidden [[data-component-type="button"]+&]:ml cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[
|
|
275
|
+
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-hidden [[data-component-type="button"]+&]:ml cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[0_0_0_0.1875rem_color-mix(in_srgb,theme(colors.blue.500)_48%,transparent)] border-none text-white visited:text-white hover:bg-[#4269D6] active:bg-[#1A41AB] bg-blue min-w h-8 py-0 px-4"
|
|
276
276
|
data-component-type="button"
|
|
277
277
|
role="button"
|
|
278
278
|
tabindex="0"
|
|
@@ -297,7 +297,7 @@ exports[`Modal useModal shows multiple modals at the same time 1`] = `
|
|
|
297
297
|
>
|
|
298
298
|
<button
|
|
299
299
|
aria-disabled="false"
|
|
300
|
-
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-hidden [[data-component-type="button"]+&]:ml cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[
|
|
300
|
+
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-hidden [[data-component-type="button"]+&]:ml cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[0_0_0_0.1875rem_color-mix(in_srgb,theme(colors.blue.500)_48%,transparent)] border-none text-white visited:text-white hover:bg-[#4269D6] active:bg-[#1A41AB] bg-blue min-w h-8 py-0 px-4"
|
|
301
301
|
data-base-ui-inert=""
|
|
302
302
|
data-component-type="button"
|
|
303
303
|
role="button"
|
|
@@ -312,7 +312,7 @@ exports[`Modal useModal shows multiple modals at the same time 1`] = `
|
|
|
312
312
|
</button>
|
|
313
313
|
<button
|
|
314
314
|
aria-disabled="false"
|
|
315
|
-
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-hidden [[data-component-type="button"]+&]:ml cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[
|
|
315
|
+
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-hidden [[data-component-type="button"]+&]:ml cursor-pointer no-underline hover:no-underline rounded-sm shadow-none focus-visible:shadow-[0_0_0_0.1875rem_color-mix(in_srgb,theme(colors.blue.500)_48%,transparent)] border-none text-white visited:text-white hover:bg-[#4269D6] active:bg-[#1A41AB] bg-blue min-w h-8 py-0 px-4"
|
|
316
316
|
data-base-ui-inert=""
|
|
317
317
|
data-component-type="button"
|
|
318
318
|
role="button"
|