@djb25/digit-ui-css 1.0.54 → 1.0.55

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": "@djb25/digit-ui-css",
3
- "version": "1.0.54",
3
+ "version": "1.0.55",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.css",
6
6
  "author": "satyam",
@@ -49,7 +49,6 @@
49
49
 
50
50
  @media (min-width: 780px) {
51
51
  .search-form-wrapper {
52
- display: flex;
53
52
  .pt-form-field {
54
53
  width: 30% !important;
55
54
  margin-bottom: 20px;
@@ -1,4 +1,5 @@
1
- .toast-success {
1
+ .toast-success,
2
+ .toast-error {
2
3
  max-width: 480px;
3
4
  width: calc(100% - 20px);
4
5
  bottom: 100px;
@@ -7,11 +8,12 @@
7
8
  gap: 16px;
8
9
  border-radius: 4px;
9
10
  min-height: 48px;
10
- @apply fixed flex bg-success-gradient leading-7 z-20 items-center pl-md pr-sm;
11
+ @apply fixed flex leading-7 z-20 items-center pl-md pr-sm;
11
12
 
12
13
  svg {
13
14
  height: 20px;
14
15
  width: 20px;
16
+ fill: white;
15
17
  }
16
18
 
17
19
  .toast-close-btn {
@@ -23,33 +25,22 @@
23
25
  }
24
26
  }
25
27
 
28
+ .toast-success {
29
+ @apply bg-success-gradient;
30
+ }
31
+
32
+ .toast-error {
33
+ @apply bg-error-gradient;
34
+ }
35
+
26
36
  @screen dt {
27
- .toast-success {
37
+ .toast-success,
38
+ .toast-error {
28
39
  width: 100%;
29
40
  left: calc(50% - 240px);
30
41
  }
31
42
  }
32
43
 
33
- /* Toast base */
34
- .toast-success {
35
- display: flex;
36
- align-items: center;
37
- gap: 10px;
38
-
39
- padding: 12px 16px;
40
- border-radius: 8px;
41
-
42
- color: #fff;
43
- background-color: #22c55e;
44
-
45
- box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
46
-
47
- z-index: 9999;
48
-
49
- /* 👇 animation trigger */
50
- animation: slideInRight 0.4s ease forwards;
51
- }
52
-
53
44
  /* Slide-in from right */
54
45
  @keyframes slideInRight {
55
46
  from {