@toptal/picasso-notification 2.0.15 → 2.0.16-alpha-fx-5525-container-968fa808d.22

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/LICENSE ADDED
@@ -0,0 +1,20 @@
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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toptal/picasso-notification",
3
- "version": "2.0.15",
3
+ "version": "2.0.16-alpha-fx-5525-container-968fa808d.22+968fa808d",
4
4
  "description": "Toptal UI components library - Notification",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -22,12 +22,12 @@
22
22
  },
23
23
  "homepage": "https://github.com/toptal/picasso/tree/master/packages/picasso#readme",
24
24
  "dependencies": {
25
- "@toptal/picasso-button": "2.1.0",
26
- "@toptal/picasso-container": "1.0.3",
27
- "@toptal/picasso-icons": "1.4.0",
28
- "@toptal/picasso-shared": "15.0.0",
29
- "@toptal/picasso-typography": "2.0.2",
30
- "@toptal/picasso-utils": "1.0.3",
25
+ "@toptal/picasso-button": "2.1.1-alpha-fx-5525-container-968fa808d.22+968fa808d",
26
+ "@toptal/picasso-container": "1.0.4-alpha-fx-5525-container-968fa808d.76+968fa808d",
27
+ "@toptal/picasso-icons": "1.4.1-alpha-fx-5525-container-968fa808d.42+968fa808d",
28
+ "@toptal/picasso-shared": "15.0.1-alpha-fx-5525-container-968fa808d.76+968fa808d",
29
+ "@toptal/picasso-typography": "2.0.3-alpha-fx-5525-container-968fa808d.58+968fa808d",
30
+ "@toptal/picasso-utils": "1.0.4-alpha-fx-5525-container-968fa808d.76+968fa808d",
31
31
  "classnames": "^2.5.1",
32
32
  "notistack": "3.0.1"
33
33
  },
@@ -38,19 +38,20 @@
38
38
  "peerDependencies": {
39
39
  "@material-ui/core": "4.12.4",
40
40
  "@toptal/picasso-provider": "*",
41
- "tailwindcss": ">=3",
42
- "react": ">=16.12.0 < 19.0.0"
41
+ "react": ">=16.12.0 < 19.0.0",
42
+ "tailwindcss": ">=3"
43
43
  },
44
44
  "exports": {
45
45
  ".": "./dist-package/src/index.js"
46
46
  },
47
47
  "devDependencies": {
48
- "@toptal/picasso-provider": "4.2.1",
49
- "@toptal/picasso-test-utils": "1.1.1"
48
+ "@toptal/picasso-provider": "4.2.2-alpha-fx-5525-container-968fa808d.84+968fa808d",
49
+ "@toptal/picasso-test-utils": "1.1.2-alpha-fx-5525-container-968fa808d.76+968fa808d"
50
50
  },
51
51
  "files": [
52
52
  "dist-package/**",
53
53
  "!dist-package/tsconfig.tsbuildinfo",
54
54
  "src"
55
- ]
55
+ ],
56
+ "gitHead": "968fa808df499448786949e11d58be225c4795ce"
56
57
  }
@@ -13,10 +13,10 @@ exports[`Notification renders 1`] = `
13
13
  class="MuiSnackbarContent-message"
14
14
  >
15
15
  <div
16
- class="PicassoContainer-flex"
16
+ class="flex"
17
17
  >
18
18
  <div
19
- class="PicassoContainer-centerAlignItems PicassoContainer-flex Notification-iconWrapper Notification-iconWrapperYellow"
19
+ class="items-center flex Notification-iconWrapper Notification-iconWrapperYellow"
20
20
  >
21
21
  <svg
22
22
  class="PicassoSvgExclamationSolid16-root PicassoSvgExclamationSolid16-yellow"
@@ -13,10 +13,10 @@ exports[`NotificationActions renders 1`] = `
13
13
  class="MuiSnackbarContent-message"
14
14
  >
15
15
  <div
16
- class="PicassoContainer-flex"
16
+ class="flex"
17
17
  >
18
18
  <div
19
- class="PicassoContainer-centerAlignItems PicassoContainer-flex Notification-iconWrapper Notification-iconWrapperYellow"
19
+ class="items-center flex Notification-iconWrapper Notification-iconWrapperYellow"
20
20
  >
21
21
  <svg
22
22
  class="PicassoSvgExclamationSolid16-root PicassoSvgExclamationSolid16-yellow"
@@ -33,7 +33,7 @@ exports[`NotificationActions renders 1`] = `
33
33
  >
34
34
  The time zone in your profile is set to (UTC -08:00) America - Los
35
35
  <div
36
- class="PicassoContainer-topxsmallMargin PicassoContainer-flex"
36
+ class="mt-2 flex"
37
37
  >
38
38
  Test
39
39
  </div>
@@ -14,7 +14,7 @@ exports[`useNotifications error notification render 1`] = `
14
14
  type="button"
15
15
  >
16
16
  <span
17
- class="PicassoContainer-centerAlignItems PicassoContainer-flex PicassoContainer-inline font-semibold whitespace-nowrap text-button"
17
+ class="items-center inline-flex font-semibold whitespace-nowrap text-button"
18
18
  >
19
19
  Show Error
20
20
  </span>
@@ -28,7 +28,7 @@ exports[`useNotifications error notification render 1`] = `
28
28
  type="button"
29
29
  >
30
30
  <span
31
- class="PicassoContainer-centerAlignItems PicassoContainer-flex PicassoContainer-inline font-semibold whitespace-nowrap text-button"
31
+ class="items-center inline-flex font-semibold whitespace-nowrap text-button"
32
32
  >
33
33
  Show Info
34
34
  </span>
@@ -42,7 +42,7 @@ exports[`useNotifications error notification render 1`] = `
42
42
  type="button"
43
43
  >
44
44
  <span
45
- class="PicassoContainer-centerAlignItems PicassoContainer-flex PicassoContainer-inline font-semibold whitespace-nowrap text-button"
45
+ class="items-center inline-flex font-semibold whitespace-nowrap text-button"
46
46
  >
47
47
  Show Success
48
48
  </span>
@@ -70,10 +70,10 @@ exports[`useNotifications error notification render 1`] = `
70
70
  class="MuiSnackbarContent-message"
71
71
  >
72
72
  <div
73
- class="PicassoContainer-flex"
73
+ class="flex"
74
74
  >
75
75
  <div
76
- class="PicassoContainer-centerAlignItems PicassoContainer-flex Notification-iconWrapper"
76
+ class="items-center flex Notification-iconWrapper"
77
77
  >
78
78
  <svg
79
79
  class="PicassoSvgExclamationSolid24-root PicassoSvgExclamationSolid24-red"
@@ -99,7 +99,7 @@ exports[`useNotifications error notification render 1`] = `
99
99
  type="button"
100
100
  >
101
101
  <span
102
- class="PicassoContainer-centerAlignItems PicassoContainer-flex PicassoContainer-inline font-semibold whitespace-nowrap text-button"
102
+ class="items-center inline-flex font-semibold whitespace-nowrap text-button"
103
103
  >
104
104
  <svg
105
105
  class="PicassoSvgCloseMinor16-root text-[1.2em] flex-1 PicassoSvgCloseMinor16-darkGrey"
@@ -137,7 +137,7 @@ exports[`useNotifications info notification render 1`] = `
137
137
  type="button"
138
138
  >
139
139
  <span
140
- class="PicassoContainer-centerAlignItems PicassoContainer-flex PicassoContainer-inline font-semibold whitespace-nowrap text-button"
140
+ class="items-center inline-flex font-semibold whitespace-nowrap text-button"
141
141
  >
142
142
  Show Error
143
143
  </span>
@@ -151,7 +151,7 @@ exports[`useNotifications info notification render 1`] = `
151
151
  type="button"
152
152
  >
153
153
  <span
154
- class="PicassoContainer-centerAlignItems PicassoContainer-flex PicassoContainer-inline font-semibold whitespace-nowrap text-button"
154
+ class="items-center inline-flex font-semibold whitespace-nowrap text-button"
155
155
  >
156
156
  Show Info
157
157
  </span>
@@ -165,7 +165,7 @@ exports[`useNotifications info notification render 1`] = `
165
165
  type="button"
166
166
  >
167
167
  <span
168
- class="PicassoContainer-centerAlignItems PicassoContainer-flex PicassoContainer-inline font-semibold whitespace-nowrap text-button"
168
+ class="items-center inline-flex font-semibold whitespace-nowrap text-button"
169
169
  >
170
170
  Show Success
171
171
  </span>
@@ -193,10 +193,10 @@ exports[`useNotifications info notification render 1`] = `
193
193
  class="MuiSnackbarContent-message"
194
194
  >
195
195
  <div
196
- class="PicassoContainer-flex"
196
+ class="flex"
197
197
  >
198
198
  <div
199
- class="PicassoContainer-centerAlignItems PicassoContainer-flex Notification-iconWrapper"
199
+ class="items-center flex Notification-iconWrapper"
200
200
  >
201
201
  <svg
202
202
  class="PicassoSvgInfo24-root PicassoSvgInfo24-grey"
@@ -225,7 +225,7 @@ exports[`useNotifications info notification render 1`] = `
225
225
  type="button"
226
226
  >
227
227
  <span
228
- class="PicassoContainer-centerAlignItems PicassoContainer-flex PicassoContainer-inline font-semibold whitespace-nowrap text-button"
228
+ class="items-center inline-flex font-semibold whitespace-nowrap text-button"
229
229
  >
230
230
  <svg
231
231
  class="PicassoSvgCloseMinor16-root text-[1.2em] flex-1 PicassoSvgCloseMinor16-darkGrey"
@@ -263,7 +263,7 @@ exports[`useNotifications success notification render 1`] = `
263
263
  type="button"
264
264
  >
265
265
  <span
266
- class="PicassoContainer-centerAlignItems PicassoContainer-flex PicassoContainer-inline font-semibold whitespace-nowrap text-button"
266
+ class="items-center inline-flex font-semibold whitespace-nowrap text-button"
267
267
  >
268
268
  Show Error
269
269
  </span>
@@ -277,7 +277,7 @@ exports[`useNotifications success notification render 1`] = `
277
277
  type="button"
278
278
  >
279
279
  <span
280
- class="PicassoContainer-centerAlignItems PicassoContainer-flex PicassoContainer-inline font-semibold whitespace-nowrap text-button"
280
+ class="items-center inline-flex font-semibold whitespace-nowrap text-button"
281
281
  >
282
282
  Show Info
283
283
  </span>
@@ -291,7 +291,7 @@ exports[`useNotifications success notification render 1`] = `
291
291
  type="button"
292
292
  >
293
293
  <span
294
- class="PicassoContainer-centerAlignItems PicassoContainer-flex PicassoContainer-inline font-semibold whitespace-nowrap text-button"
294
+ class="items-center inline-flex font-semibold whitespace-nowrap text-button"
295
295
  >
296
296
  Show Success
297
297
  </span>
@@ -319,10 +319,10 @@ exports[`useNotifications success notification render 1`] = `
319
319
  class="MuiSnackbarContent-message"
320
320
  >
321
321
  <div
322
- class="PicassoContainer-flex"
322
+ class="flex"
323
323
  >
324
324
  <div
325
- class="PicassoContainer-centerAlignItems PicassoContainer-flex Notification-iconWrapper"
325
+ class="items-center flex Notification-iconWrapper"
326
326
  >
327
327
  <svg
328
328
  class="PicassoSvgCheckSolid24-root PicassoSvgCheckSolid24-green"
@@ -348,7 +348,7 @@ exports[`useNotifications success notification render 1`] = `
348
348
  type="button"
349
349
  >
350
350
  <span
351
- class="PicassoContainer-centerAlignItems PicassoContainer-flex PicassoContainer-inline font-semibold whitespace-nowrap text-button"
351
+ class="items-center inline-flex font-semibold whitespace-nowrap text-button"
352
352
  >
353
353
  <svg
354
354
  class="PicassoSvgCloseMinor16-root text-[1.2em] flex-1 PicassoSvgCloseMinor16-darkGrey"