@iroco/ui 0.10.0 → 0.12.0
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 +5 -5
- package/lib/containers.scss +2 -2
- package/lib/index.js +324 -119
- package/lib/index.min.js +3 -3
- package/lib/index.mjs +324 -120
- package/lib/index.mjs.css +195 -189
- package/package.json +2 -3
- package/scss/containers.scss +2 -2
- package/src/Button.svelte +4 -1
- package/src/IconMastodon.svelte +13 -0
- package/src/index.ts +1 -0
package/README.md
CHANGED
|
@@ -11,13 +11,13 @@ See the [Documentation](https://iroco-co.github.io/iroco-ui/)
|
|
|
11
11
|
To install dependencies :
|
|
12
12
|
|
|
13
13
|
```shell
|
|
14
|
-
~/src/iroco-ui$
|
|
14
|
+
~/src/iroco-ui$ npm ci
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
Building :
|
|
18
18
|
|
|
19
19
|
```shell
|
|
20
|
-
~/src/iroco-ui$
|
|
20
|
+
~/src/iroco-ui$ npm run build
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
# documentation
|
|
@@ -25,7 +25,7 @@ Building :
|
|
|
25
25
|
The docs directory contains the documentation app deployed on github pages. To install dependencies :
|
|
26
26
|
|
|
27
27
|
```shell
|
|
28
|
-
~/src/iroco-ui/docs$
|
|
28
|
+
~/src/iroco-ui/docs$ npm ci
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
You can add/update components documentation into `docs/src/pages/components` and update the left menu in `docs/src/includes/sidebar.md`.
|
|
@@ -38,11 +38,11 @@ When you have to work on the CSS for components, you can have hot reloading. To
|
|
|
38
38
|
And in the same time launch the dev server for docs :
|
|
39
39
|
|
|
40
40
|
```shell
|
|
41
|
-
~/src/iroco-ui/docs$
|
|
41
|
+
~/src/iroco-ui/docs$ npm run dev
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
To build the documentation (in docs) :
|
|
45
45
|
|
|
46
46
|
```shell
|
|
47
|
-
~/src/iroco-ui/docs$
|
|
47
|
+
~/src/iroco-ui/docs$ npm run build
|
|
48
48
|
```
|
package/lib/containers.scss
CHANGED
|
@@ -155,7 +155,7 @@ $width-mobile-S: calc(100% - 20px);
|
|
|
155
155
|
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
@mixin container-medium {
|
|
158
|
+
@mixin container-medium() {
|
|
159
159
|
width: $width-mobile-S;
|
|
160
160
|
max-width: $width-laptop-L;
|
|
161
161
|
margin-left: auto;
|
|
@@ -188,7 +188,7 @@ $width-mobile-S: calc(100% - 20px);
|
|
|
188
188
|
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
@mixin container-small {
|
|
191
|
+
@mixin container-small() {
|
|
192
192
|
width: $width-mobile-S;
|
|
193
193
|
max-width: $width-tablet;
|
|
194
194
|
margin-left: auto;
|