@rijkshuisstijl-community/components-twig 1.3.1 → 1.3.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 +4 -4
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ _Dit project wordt **niet** gesteund door het Ministerie van Algemene Zaken._
|
|
|
7
7
|
**Het toepassen van design-elementen uit dit project is strikt verboden voor organisaties die geen deel uitmaken van de
|
|
8
8
|
centrale overheid van Nederland.**
|
|
9
9
|
|
|
10
|
-
Deze package is onderdeel van het [Rijkshuisstijl Community](
|
|
10
|
+
Deze package is onderdeel van het [Rijkshuisstijl Community](https://github.com/nl-design-system/rijkshuisstijl-community/blob/main/README.md) project.
|
|
11
11
|
|
|
12
12
|
## Aan de slag met Twig-componenten
|
|
13
13
|
|
|
@@ -25,10 +25,10 @@ Om deze componenten te gebruiken, kun je ze importeren in jouw omgeving met behu
|
|
|
25
25
|
|
|
26
26
|
### Thema toepassen
|
|
27
27
|
|
|
28
|
-
Om de Rijkshuisstijl aan je project toe te voegen, installeer je het [design-tokens npm package](https://www.npmjs.com/package/@rijkshuisstijl-community/design-tokens).
|
|
28
|
+
De Twig-componenten hebben geen eigen styling. Om de Rijkshuisstijl aan je project toe te voegen, installeer je het [design-tokens npm package](https://www.npmjs.com/package/@rijkshuisstijl-community/design-tokens) en het [components-css npm package](https://www.npmjs.com/package/@rijkshuisstijl-community/components-css).
|
|
29
29
|
|
|
30
30
|
```bash
|
|
31
|
-
npm install --save-dev @rijkshuisstijl-community/design-tokens
|
|
31
|
+
npm install --save-dev @rijkshuisstijl-community/design-tokens @rijkshuisstijl-community/components-css
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
Dit pakket bevat de CSS-variabelen van het design systeem. Importeer het `index.css`-bestand uit de `dist` map van het
|
|
@@ -39,4 +39,4 @@ pakket, en omring het deel van je applicatie waar je het thema wilt toepassen me
|
|
|
39
39
|
@import '@rijkshuisstijl-community/components-css/dist/index.css'; // css importeren
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
-
Bekijk de [packages/font/README.md](packages/font/README.md) voor de meerdere manieren om de lettertypen te installeren voor jouw project.
|
|
42
|
+
Bekijk de [packages/font/README.md](https://github.com/nl-design-system/rijkshuisstijl-community/blob/main/packages/font/README.md) voor de meerdere manieren om de lettertypen te installeren voor jouw project.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rijkshuisstijl-community/components-twig",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2",
|
|
4
4
|
"author": "Community for NL Design System",
|
|
5
5
|
"description": "Twig component library for the Rijkshuisstijl Community repository, based on the NL Design System architecture",
|
|
6
6
|
"license": "EUPL-1.2",
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
],
|
|
24
24
|
"sideEffects": false,
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@rijkshuisstijl-community/components-css": "1.0
|
|
26
|
+
"@rijkshuisstijl-community/components-css": "1.1.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@nl-design-system/tsconfig": "1.0.
|
|
29
|
+
"@nl-design-system/tsconfig": "1.0.2",
|
|
30
30
|
"cpx": "1.5.0",
|
|
31
31
|
"drupal-attribute": "1.1.0",
|
|
32
32
|
"drupal-twig-extensions": "1.0.0-beta.5",
|