magic-pill 6.1.15 → 6.1.16

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [6.1.16]
4
+ ### Fixed
5
+ - Fixed various display issues
6
+ - Improved layout breaks
7
+ - Started fixing info pop-up display issues
8
+ - Fixed z-index issues
9
+
3
10
  ## [6.1.15]
4
11
  ### Fixed
5
12
  - Fixed an issue regarding the useEffect which could create errors leading to crashes because of bad syntax. It's now fixed and the component should render correctly without causing crashes
@@ -32,6 +32,7 @@ html {
32
32
  }
33
33
 
34
34
  .magicPill {
35
+ z-index: 1;
35
36
  scale: 0;
36
37
  position: absolute;
37
38
  top: calc(95dvh - 110px);
@@ -61,6 +62,11 @@ html {
61
62
  font-style: var(--italic);
62
63
  font-size: var(--textSize);
63
64
 
65
+ >* {
66
+ opacity: 0;
67
+ transition: opacity 250ms 0ms ease-in-out;
68
+ }
69
+
64
70
  >.title {
65
71
  font-weight: var(--black);
66
72
  font-size: var(--titleSize);
@@ -82,7 +88,7 @@ html {
82
88
  display: flex;
83
89
  justify-content: flex-start;
84
90
  align-items: center;
85
- gap: 10px;
91
+ gap: 15px;
86
92
  padding: 15px;
87
93
  max-width: 54.5px;
88
94
  min-width: 54.5px;
@@ -97,10 +103,12 @@ html {
97
103
  min-width: calc(54.5px / 2);
98
104
  width: 100%;
99
105
  z-index: 1;
106
+ max-width: calc(54.5px / 2);
100
107
  }
101
108
 
102
109
  >span {
103
110
  z-index: 1;
111
+ min-width: max-content;
104
112
  font-family: var(--font-accent);
105
113
  }
106
114
  }
@@ -121,7 +129,7 @@ html {
121
129
  background-color: var(--themeDark);
122
130
  border-radius: 55px;
123
131
  bottom: 0px;
124
- transition: height 250ms ease-in-out, bottom 250ms ease-in-out, border-radius 250ms ease-in-out;
132
+ transition: height 250ms 250ms ease-in-out, bottom 250ms 250ms ease-in-out, border-radius 250ms 250ms ease-in-out;
125
133
  }
126
134
 
127
135
  >.info::after {
@@ -134,13 +142,18 @@ html {
134
142
  transform: translateX(-50%) translateY(-50%);
135
143
  background-color: var(--themeDark);
136
144
  border-radius: 55px;
137
- transition: height 250ms 250ms ease-in-out;
145
+ transition: top 250ms ease-in-out, height 250ms ease-in-out;
138
146
  }
139
147
 
140
148
  >.info.active {
141
149
  border-radius: 50px 50px 0px 0px;
142
150
  bottom: calc(106.5px / 2);
143
151
  height: fit-content !important;
152
+ transition: height 250ms 0ms ease-in-out, bottom 250ms 0ms ease-in-out, border-radius 250ms 0ms ease-in-out;
153
+ >* {
154
+ opacity: 1;
155
+ transition: opacity 250ms 250ms ease-in-out;
156
+ }
144
157
  }
145
158
 
146
159
  >.info.active::after {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "magic-pill",
3
- "version": "6.1.15",
3
+ "version": "6.1.16",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "types": "index.d.ts",