@miljodirektoratet/md-css 1.0.0 → 1.0.2
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 +2 -0
- package/package.json +1 -1
- package/src/button/button.css +1 -0
- package/src/loadingSpinner/loadingSpinner.css +14 -0
- package/src/modal/modal.css +1 -0
- package/src/tile/tile.css +1 -0
package/README.md
CHANGED
|
@@ -19,6 +19,8 @@ const MyComponent = () => {
|
|
|
19
19
|
}
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
+
**For more documentation, please refer to the [Storybook](https://miljodir.github.io/md-components/)**
|
|
23
|
+
|
|
22
24
|
**For HTML structure for each component, see the README.md for each css-file, located in /src. This must be followed if stylesheets are used as standalone, without React components.**
|
|
23
25
|
|
|
24
26
|
_For React components, see [@miljodirektoratet/md-react](https://www.npmjs.com/package/@miljodirektoratet/md-react)_
|
package/package.json
CHANGED
package/src/button/button.css
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
1
|
.md-loading-spinner {
|
|
2
2
|
animation: spinAnimation 1s linear infinite;
|
|
3
3
|
}
|
|
4
|
+
|
|
5
|
+
.md-loading-spinner__container {
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
justify-content: center;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.md-loading-spinner__container--left {
|
|
12
|
+
justify-content: flex-start;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.md-loading-spinner__container--right {
|
|
16
|
+
justify-content: flex-end;
|
|
17
|
+
}
|
package/src/modal/modal.css
CHANGED