@nl-rvo/css-loader 2.1.2 → 2.2.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/dist/{index.min.css → loader.css} +1 -1
- package/dist/loader.css.map +1 -0
- package/package.json +15 -16
- package/CHANGELOG.md +0 -37
- package/README.md +0 -8
- package/dist/index.css +0 -49
- package/dist/index.mjs +0 -1
- package/dist/index.mjs.d.ts +0 -2
- /package/src/{index.scss → loader.scss} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
.rvo-loader{align-items:center;background-color:var(--rvo-color-grijs-050);display:flex;flex-direction:column;gap:var(--rvo-space-sm);justify-content:center;min-block-size:200px;padding-block-end:var(--rvo-space-md);padding-block-start:var(--rvo-space-md);padding-inline-end:var(--rvo-space-md);padding-inline-start:var(--rvo-space-md)}.rvo-loader--overlay{block-size:100%;inline-size:100%;position:absolute}.rvo-loader__icon{align-items:center;display:flex;justify-content:center}.rvo-loader__icon--animated{animation-duration:
|
|
1
|
+
.rvo-loader{align-items:center;background-color:var(--rvo-color-grijs-050);display:flex;flex-direction:column;gap:var(--rvo-space-sm);justify-content:center;min-block-size:200px;padding-block-end:var(--rvo-space-md);padding-block-start:var(--rvo-space-md);padding-inline-end:var(--rvo-space-md);padding-inline-start:var(--rvo-space-md)}.rvo-loader--overlay{block-size:100%;inline-size:100%;position:absolute}.rvo-loader__icon{align-items:center;display:flex;justify-content:center}.rvo-loader__icon--animated{animation-duration:3000ms;animation-iteration-count:infinite;animation-name:rvo-rotate}.rvo-loader__warning{align-items:center;display:flex;gap:var(--rvo-space-xs);justify-content:center}.rvo-loader__actions{align-items:center;display:flex;gap:var(--rvo-space-md);justify-content:center}@keyframes rvo-rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}/*# sourceMappingURL=loader.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../src/loader.scss"],"names":[],"mappings":"AAAA,YACE,mBACA,4CACA,aACA,sBACA,wBACA,uBACA,qBACA,sCACA,wCACA,uCACA,yCAEA,qBACE,gBACA,iBACA,kBAGF,kBACE,mBACA,aACA,uBAEA,4BACE,0BACA,mCACA,0BAIJ,qBACE,mBACA,aACA,wBACA,uBAGF,qBACE,mBACA,aACA,wBACA,uBAIJ,sBACE,KACE,uBAGF,GACE","file":"loader.css"}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.
|
|
2
|
+
"version": "2.2.0",
|
|
3
3
|
"author": "Community for NL Design System",
|
|
4
4
|
"license": "CC0-1.0",
|
|
5
5
|
"name": "@nl-rvo/css-loader",
|
|
@@ -9,27 +9,26 @@
|
|
|
9
9
|
"css",
|
|
10
10
|
"link"
|
|
11
11
|
],
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git+ssh",
|
|
14
|
+
"url": "git@github.com:nl-design-system/rvo.git",
|
|
15
|
+
"directory": "components/loader/style"
|
|
16
|
+
},
|
|
12
17
|
"files": [
|
|
13
|
-
"src/
|
|
14
|
-
"dist/"
|
|
15
|
-
"design-tokens.json",
|
|
16
|
-
"*.md"
|
|
18
|
+
"src/",
|
|
19
|
+
"dist/"
|
|
17
20
|
],
|
|
18
|
-
"
|
|
21
|
+
"exports": {
|
|
22
|
+
".": "./dist/loader.css",
|
|
23
|
+
"./dist/*": "./dist/*"
|
|
24
|
+
},
|
|
19
25
|
"publishConfig": {
|
|
20
26
|
"access": "public",
|
|
21
27
|
"provenance": true
|
|
22
28
|
},
|
|
23
|
-
"repository": {
|
|
24
|
-
"type": "git+ssh",
|
|
25
|
-
"url": "git@github.com:nl-design-system/rvo.git",
|
|
26
|
-
"directory": "components/loader"
|
|
27
|
-
},
|
|
28
|
-
"devDependencies": {
|
|
29
|
-
"@nl-rvo/build-utils-css": "0.1.0"
|
|
30
|
-
},
|
|
31
29
|
"scripts": {
|
|
32
|
-
"build": "
|
|
33
|
-
"
|
|
30
|
+
"build": "sass --pkg-importer=node --style=compressed ./src/:./dist/",
|
|
31
|
+
"watch": "sass --pkg-importer=node --style=compressed --watch ./src/:./dist/",
|
|
32
|
+
"clean": "rimraf ./dist/"
|
|
34
33
|
}
|
|
35
34
|
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
# @nl-rvo/css-loader
|
|
2
|
-
|
|
3
|
-
## 2.1.2
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- 084a230: Ensure package is published with provenance
|
|
8
|
-
|
|
9
|
-
## 2.1.1
|
|
10
|
-
|
|
11
|
-
### Patch Changes
|
|
12
|
-
|
|
13
|
-
- 93fdefc: Use CSS Logical properties, to support both `dir=ltr` and `dir=rtl`.
|
|
14
|
-
|
|
15
|
-
## 2.1.0
|
|
16
|
-
|
|
17
|
-
### Minor Changes
|
|
18
|
-
|
|
19
|
-
- fa36e07: Project structure updates
|
|
20
|
-
|
|
21
|
-
- Moved all Storybook stories to the /stories directory.
|
|
22
|
-
- Moved all documentation files to the /docs directory.
|
|
23
|
-
- Removed React components from library-component-react and moved them into this package.
|
|
24
|
-
- Update all .stories imports to the right react package "component-library-react"
|
|
25
|
-
- Fix all Redundant / PascalCase lint warnings for .stories files.
|
|
26
|
-
|
|
27
|
-
## 2.0.1
|
|
28
|
-
|
|
29
|
-
### Patch Changes
|
|
30
|
-
|
|
31
|
-
- 11eb258: Update imports to support storybook v10
|
|
32
|
-
|
|
33
|
-
## 2.0.0
|
|
34
|
-
|
|
35
|
-
### Major Changes
|
|
36
|
-
|
|
37
|
-
- 1dee453: Added a new componont to be used, the loader.
|
package/README.md
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
De Loader kan men gebruiken om een tijdelijk laadscherm te tonen als het ophalen van de informatie een korte tijd bedraagd, of het laden van een pagina.
|
|
2
|
-
Standaard is de loader leeg met alleen een draaiend icoon. Als je de loader over de gehele pagina wil laden vallen, of over een specieke div, maak dan gebruik van `overlay`. De Loader zal binnen het element vallen als `position: relative;` wordt gebruikt.
|
|
3
|
-
|
|
4
|
-
Als na enige tijd het laden nog te lang duurt, kun je een status bericht tonen of twee action buttons tonen. Dit zijn allemaal optionele parameters.
|
|
5
|
-
|
|
6
|
-
- Toon altijd een 'loader' bij belangrijke 'verzend'-momenten.
|
|
7
|
-
- Informeer de gebruiker tijdens het tonen van de 'loader' wat er gebeurt.
|
|
8
|
-
- Duurt het laden langer dan 30 seconden laat dan een foutmelding zien en een knop om het opnieuw te proberen.
|
package/dist/index.css
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
.rvo-loader {
|
|
2
|
-
align-items: center;
|
|
3
|
-
background-color: var(--rvo-color-grijs-050);
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
gap: var(--rvo-space-sm);
|
|
7
|
-
justify-content: center;
|
|
8
|
-
min-block-size: 200px;
|
|
9
|
-
padding-block-end: var(--rvo-space-md);
|
|
10
|
-
padding-block-start: var(--rvo-space-md);
|
|
11
|
-
padding-inline-end: var(--rvo-space-md);
|
|
12
|
-
padding-inline-start: var(--rvo-space-md);
|
|
13
|
-
}
|
|
14
|
-
.rvo-loader--overlay {
|
|
15
|
-
block-size: 100%;
|
|
16
|
-
inline-size: 100%;
|
|
17
|
-
position: absolute;
|
|
18
|
-
}
|
|
19
|
-
.rvo-loader__icon {
|
|
20
|
-
align-items: center;
|
|
21
|
-
display: flex;
|
|
22
|
-
justify-content: center;
|
|
23
|
-
}
|
|
24
|
-
.rvo-loader__icon--animated {
|
|
25
|
-
animation-duration: 3000ms;
|
|
26
|
-
animation-iteration-count: infinite;
|
|
27
|
-
animation-name: rvo-rotate;
|
|
28
|
-
}
|
|
29
|
-
.rvo-loader__warning {
|
|
30
|
-
align-items: center;
|
|
31
|
-
display: flex;
|
|
32
|
-
gap: var(--rvo-space-xs);
|
|
33
|
-
justify-content: center;
|
|
34
|
-
}
|
|
35
|
-
.rvo-loader__actions {
|
|
36
|
-
align-items: center;
|
|
37
|
-
display: flex;
|
|
38
|
-
gap: var(--rvo-space-md);
|
|
39
|
-
justify-content: center;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
@keyframes rvo-rotate {
|
|
43
|
-
from {
|
|
44
|
-
transform: rotate(0deg);
|
|
45
|
-
}
|
|
46
|
-
to {
|
|
47
|
-
transform: rotate(360deg);
|
|
48
|
-
}
|
|
49
|
-
}
|
package/dist/index.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default ".rvo-loader{align-items:center;background-color:var(--rvo-color-grijs-050);display:flex;flex-direction:column;gap:var(--rvo-space-sm);justify-content:center;min-block-size:200px;padding-block-end:var(--rvo-space-md);padding-block-start:var(--rvo-space-md);padding-inline-end:var(--rvo-space-md);padding-inline-start:var(--rvo-space-md)}.rvo-loader--overlay{block-size:100%;inline-size:100%;position:absolute}.rvo-loader__icon{align-items:center;display:flex;justify-content:center}.rvo-loader__icon--animated{animation-duration:3s;animation-iteration-count:infinite;animation-name:rvo-rotate}.rvo-loader__warning{gap:var(--rvo-space-xs)}.rvo-loader__actions,.rvo-loader__warning{align-items:center;display:flex;justify-content:center}.rvo-loader__actions{gap:var(--rvo-space-md)}@keyframes rvo-rotate{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}";
|
package/dist/index.mjs.d.ts
DELETED
|
File without changes
|