magic-pill 6.1.11 → 6.1.12

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,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [6.1.12]
4
+ ### Fixed
5
+ - Fixed a wrong import line in the README file
6
+
7
+ ### Removed
8
+ - Removed prefered theme based light/dark mode as it was conflincting with the rest of the project's stylesheet
9
+
10
+ ## [6.1.11]
11
+ ### Added
12
+ - Added prefered theme based light/dark mode
13
+
14
+ ### Fixed
15
+ - Fixed a display issue regarding CTA labels
16
+
3
17
  ## [6.1.10]
4
18
  ### Added
5
19
  - Added the changelog file to the package
package/README.md CHANGED
@@ -39,7 +39,7 @@ import 'magic-pill/dist/magicpill.css';
39
39
  Add Magic Pill to any project simply by importing it into your app and calling it inside the component :
40
40
  ```js
41
41
  import React from 'react';
42
- import { MagicPill } from 'magic-pill';
42
+ import MagicPill from 'magic-pill';
43
43
 
44
44
  export default function App() {
45
45
  // pillData would be stored in a global Context and updated dynamically through other components
@@ -18,13 +18,6 @@
18
18
  --titleSize: 31.42px;
19
19
  }
20
20
 
21
- @media (prefers-color-scheme: dark) {
22
- :root {
23
- --themeDark: #F9F9F9;
24
- --themeLight: #141414;
25
- }
26
- }
27
-
28
21
  /* General */
29
22
  *,
30
23
  *::before,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "magic-pill",
3
- "version": "6.1.11",
3
+ "version": "6.1.12",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "types": "index.d.ts",