@toptal/picasso-modal 3.0.17-alpha-fx-null-button-overridable-a6bdbbaa2.0 → 3.0.18

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": "3.0.17-alpha-fx-null-button-overridable-a6bdbbaa2.0+a6bdbbaa2",
3
+ "version": "3.0.18",
4
4
  "description": "Toptal UI components library - Modal",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -23,15 +23,15 @@
23
23
  "homepage": "https://github.com/toptal/picasso/tree/master/packages/picasso#readme",
24
24
  "dependencies": {
25
25
  "@mui/base": "5.0.0-beta.40",
26
- "@toptal/picasso-backdrop": "1.0.7-alpha-fx-null-button-overridable-a6bdbbaa2.14+a6bdbbaa2",
27
- "@toptal/picasso-button": "4.0.6-alpha-fx-null-button-overridable-a6bdbbaa2.0+a6bdbbaa2",
28
- "@toptal/picasso-fade": "1.0.7-alpha-fx-null-button-overridable-a6bdbbaa2.14+a6bdbbaa2",
29
- "@toptal/picasso-icons": "1.6.2-alpha-fx-null-button-overridable-a6bdbbaa2.14+a6bdbbaa2",
30
- "@toptal/picasso-modal-context": "1.0.2-alpha-fx-null-button-overridable-a6bdbbaa2.310+a6bdbbaa2",
31
- "@toptal/picasso-paper": "4.0.2-alpha-fx-null-button-overridable-a6bdbbaa2.14+a6bdbbaa2",
32
- "@toptal/picasso-shared": "15.0.1-alpha-fx-null-button-overridable-a6bdbbaa2.208+a6bdbbaa2",
33
- "@toptal/picasso-typography": "4.0.2-alpha-fx-null-button-overridable-a6bdbbaa2.14+a6bdbbaa2",
34
- "@toptal/picasso-utils": "2.0.1-alpha-fx-null-button-overridable-a6bdbbaa2.14+a6bdbbaa2",
26
+ "@toptal/picasso-backdrop": "1.0.6",
27
+ "@toptal/picasso-fade": "1.0.6",
28
+ "@toptal/picasso-paper": "4.0.1",
29
+ "@toptal/picasso-shared": "15.0.0",
30
+ "@toptal/picasso-button": "4.0.7",
31
+ "@toptal/picasso-icons": "1.7.0",
32
+ "@toptal/picasso-typography": "4.0.1",
33
+ "@toptal/picasso-utils": "2.0.0",
34
+ "@toptal/picasso-modal-context": "1.0.1",
35
35
  "classnames": "^2.5.1",
36
36
  "debounce": "^1.2.1"
37
37
  },
@@ -41,20 +41,19 @@
41
41
  ],
42
42
  "peerDependencies": {
43
43
  "@toptal/picasso-provider": "*",
44
- "@toptal/picasso-tailwind": ">=2.5.0",
45
- "react": ">=16.12.0 < 19.0.0"
44
+ "react": ">=16.12.0 < 19.0.0",
45
+ "@toptal/picasso-tailwind": ">=2.5.0"
46
46
  },
47
47
  "exports": {
48
48
  ".": "./dist-package/src/index.js"
49
49
  },
50
50
  "devDependencies": {
51
- "@toptal/picasso-provider": "5.0.1-alpha-fx-null-button-overridable-a6bdbbaa2.129+a6bdbbaa2",
52
- "@toptal/picasso-test-utils": "1.1.2-alpha-fx-null-button-overridable-a6bdbbaa2.208+a6bdbbaa2"
51
+ "@toptal/picasso-provider": "5.0.0",
52
+ "@toptal/picasso-test-utils": "1.1.1"
53
53
  },
54
54
  "files": [
55
55
  "dist-package/**",
56
56
  "!dist-package/tsconfig.tsbuildinfo",
57
57
  "src"
58
- ],
59
- "gitHead": "a6bdbbaa25247c35686b5c9b17b14a02b9f497ba"
58
+ ]
60
59
  }
@@ -50,7 +50,7 @@ exports[`Modal renders 1`] = `
50
50
  >
51
51
  <button
52
52
  aria-disabled="false"
53
- 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 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"
53
+ 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 [[data-component-type="button"]+&]:ml 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 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"
54
54
  data-component-type="button"
55
55
  role="button"
56
56
  tabindex="0"
@@ -64,7 +64,7 @@ exports[`Modal renders 1`] = `
64
64
  </button>
65
65
  <button
66
66
  aria-disabled="false"
67
- 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-[#27D496] active:bg-[#00A96C] bg-green min-w h-8 py-0 px-4"
67
+ 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 [[data-component-type="button"]+&]:ml 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-[#27D496] active:bg-[#00A96C] bg-green min-w h-8 py-0 px-4"
68
68
  data-component-type="button"
69
69
  role="button"
70
70
  tabindex="0"
@@ -80,7 +80,7 @@ exports[`Modal renders 1`] = `
80
80
  <button
81
81
  aria-disabled="false"
82
82
  aria-label="Close"
83
- 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-none [&+&]:ml-4 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_3px_rgba(32,78,207,0.48)] bg-transparent absolute top-8 right-8"
83
+ 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-none [[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_3px_rgba(32,78,207,0.48)] bg-transparent absolute top-8 right-8"
84
84
  data-component-type="button"
85
85
  data-testid="close-modal"
86
86
  role="button"
@@ -119,7 +119,7 @@ exports[`Modal useModal opens and closes modal 1`] = `
119
119
  <button
120
120
  aria-disabled="false"
121
121
  aria-hidden="true"
122
- 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"
122
+ 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 [[data-component-type="button"]+&]:ml 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"
123
123
  data-component-type="button"
124
124
  role="button"
125
125
  tabindex="0"
@@ -155,7 +155,7 @@ exports[`Modal useModal opens and closes modal 1`] = `
155
155
  </p>
156
156
  <button
157
157
  aria-disabled="false"
158
- 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"
158
+ 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 [[data-component-type="button"]+&]:ml 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"
159
159
  data-component-type="button"
160
160
  role="button"
161
161
  tabindex="0"
@@ -186,7 +186,7 @@ exports[`Modal useModal opens and closes modal 2`] = `
186
186
  >
187
187
  <button
188
188
  aria-disabled="false"
189
- 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"
189
+ 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 [[data-component-type="button"]+&]:ml 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"
190
190
  data-component-type="button"
191
191
  role="button"
192
192
  tabindex="0"
@@ -212,7 +212,7 @@ exports[`Modal useModal shows multiple modals at the same time 1`] = `
212
212
  <button
213
213
  aria-disabled="false"
214
214
  aria-hidden="true"
215
- 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"
215
+ 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 [[data-component-type="button"]+&]:ml 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"
216
216
  data-component-type="button"
217
217
  role="button"
218
218
  tabindex="0"
@@ -227,7 +227,7 @@ exports[`Modal useModal shows multiple modals at the same time 1`] = `
227
227
  <button
228
228
  aria-disabled="false"
229
229
  aria-hidden="true"
230
- 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"
230
+ 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 [[data-component-type="button"]+&]:ml 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"
231
231
  data-component-type="button"
232
232
  role="button"
233
233
  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.