magic-pill 7.1.1 → 7.1.3

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,6 +1,17 @@
1
1
  # Changelog
2
2
 
3
- ## [7.1.1]
3
+ ## [7.1.3]
4
+ ### Updated
5
+ - Updated the "Disclaimer" and "What's next ?" sections of the README file
6
+
7
+ ### Added
8
+ - Added a box-shadow to Magic Pill
9
+
10
+ ### Fixed
11
+ - Fixed a layout shift when going from collapsed info to expanded info
12
+ - Added a min-width to Magic Pill when info is expanded to keep it looking good
13
+
14
+ ## [7.1.1] -> [7.1.2]
4
15
  ### Fixed
5
16
  - Fixed the default style of CTA with a link. It no longer is underlined and blue
6
17
 
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  Let it empower you.
4
4
  ## Disclaimer
5
5
  Even though Magic Pill is already available to everyone, please keep in mind that its development is not over yet.
6
- You can technically use it but there's no real documentation yet, nor any proper license file.
6
+ You can technically use it but there's no real documentation yet.
7
7
  I'll update this section once a real usable version is released.
8
8
  #### Thank you !!
9
9
  Thank you for your patience and to all people who already have shown interest in Magic Pill, it's my very first npm package and I couldn't ask for a better reception of my package after only a few days after its initial release.
@@ -118,4 +118,4 @@ As stated before, Magic Pill is distributed under the MIT License.
118
118
  |-----------|-----------|
119
119
  | Implementation with APIs | Better conditioning of displays depending on props |
120
120
  | Proper testing | Animation fixes |
121
- | Full documentation | |
121
+ | Full documentation | Responsive version + Proportions rework |
@@ -48,6 +48,7 @@ html {
48
48
  justify-content: flex-start;
49
49
  max-width: 104.5px;
50
50
  overflow: hidden;
51
+ box-shadow: 0px 8px 8px #14141473;
51
52
  transform-origin: left;
52
53
  transition: width 250ms ease-in-out, max-width 250ms ease-in-out;
53
54
 
@@ -112,6 +113,8 @@ html {
112
113
  z-index: 1;
113
114
  min-width: max-content;
114
115
  font-family: var(--font-accent);
116
+ color: var(--themeDark);
117
+ text-decoration: none;
115
118
  }
116
119
  }
117
120
 
@@ -146,6 +149,7 @@ html {
146
149
  }
147
150
 
148
151
  .magicPill.active {
152
+ height: 104.5px;
149
153
  max-width: 1000px;
150
154
  scale: 1;
151
155
 
@@ -176,6 +180,7 @@ html {
176
180
 
177
181
  .magicPill:has(.info.active) {
178
182
  overflow: unset;
183
+ min-width: 500px;
179
184
 
180
185
  >svg,
181
186
  p {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "magic-pill",
3
- "version": "7.1.1",
3
+ "version": "7.1.3",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "types": "index.d.ts",