magic-pill 7.1.2 → 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,5 +1,16 @@
1
1
  # Changelog
2
2
 
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
+
3
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
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
 
@@ -148,6 +149,7 @@ html {
148
149
  }
149
150
 
150
151
  .magicPill.active {
152
+ height: 104.5px;
151
153
  max-width: 1000px;
152
154
  scale: 1;
153
155
 
@@ -178,6 +180,7 @@ html {
178
180
 
179
181
  .magicPill:has(.info.active) {
180
182
  overflow: unset;
183
+ min-width: 500px;
181
184
 
182
185
  >svg,
183
186
  p {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "magic-pill",
3
- "version": "7.1.2",
3
+ "version": "7.1.3",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "types": "index.d.ts",