react-minolith 2.0.4 → 2.0.5
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/README.md +1 -9
- package/dist/assets/Minolith.css +1 -1
- package/dist/layouts/Columns/Columns.stories.d.ts.map +1 -1
- package/dist/models/BorderProps.d.ts +3 -3
- package/dist/models/BorderProps.d.ts.map +1 -1
- package/dist/models/LightDarkColor.d.ts +1 -1
- package/dist/models/LightDarkColor.d.ts.map +1 -1
- package/dist/types/ColorAttributes.d.ts +1 -1
- package/dist/types/ColorAttributes.d.ts.map +1 -1
- package/dist/types/ColorProps.d.ts +1 -1
- package/dist/types/ColorProps.d.ts.map +1 -1
- package/dist/utilities/classNameUtility/classNameUtility.js.map +1 -1
- package/dist/utilities/emotionStyleUtility/emotionStyleUtility.d.ts +1 -1
- package/dist/utilities/emotionStyleUtility/emotionStyleUtility.d.ts.map +1 -1
- package/dist/utilities/emotionStyleUtility/emotionStyleUtility.js.map +1 -1
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -10,14 +10,6 @@
|
|
|
10
10
|
|
|
11
11
|
react-minolith is an open-source react wrapper for [minolith](https://github.com/minominolyly/minolith).
|
|
12
12
|
|
|
13
|
-
## ⚠️Breaking Changes version 1.0
|
|
14
|
-
|
|
15
|
-
`react-minolith` now have `@emotion/react` as dependencies.
|
|
16
|
-
|
|
17
|
-
```shell
|
|
18
|
-
npm install @emotion/react
|
|
19
|
-
```
|
|
20
|
-
|
|
21
13
|
## Installation
|
|
22
14
|
|
|
23
15
|
```shell
|
|
@@ -54,7 +46,7 @@ import {
|
|
|
54
46
|
import { useState } from "react";
|
|
55
47
|
|
|
56
48
|
export default function HelloWorldPage() {
|
|
57
|
-
const [colorScheme, setColorScheme] = useState<ColorScheme>(
|
|
49
|
+
const [colorScheme, setColorScheme] = useState<ColorScheme | undefined>(undefined);
|
|
58
50
|
const [isActive, setIsActive] = useState<boolean>(false);
|
|
59
51
|
return (
|
|
60
52
|
<Minolith colorScheme={colorScheme}>
|