@rijkshuisstijl-community/components-css 2.0.0 → 3.1.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/CHANGELOG.md +25 -0
- package/README.md +10 -0
- package/dist/index.css +3 -3
- package/index.scss +2 -1
- package/package.json +3 -2
- package/src/alert/index.scss +6 -0
- package/src/{card → card-as-link}/_mixin.scss +29 -29
- package/src/card-as-link/index.scss +121 -0
- package/src/data-badge-button/_mixin.scss +28 -0
- package/src/data-badge-button/index.scss +23 -0
- package/src/data-summary/_mixin.scss +9 -0
- package/src/card/index.scss +0 -121
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# @rijkshuisstijl-community/components-css
|
|
2
2
|
|
|
3
|
+
## 3.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- a1502a5: Update Utrecht dependencies
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 9e83410: Added "how to switch theme" instructions in the README.
|
|
12
|
+
|
|
13
|
+
## 3.0.0
|
|
14
|
+
|
|
15
|
+
### Major Changes
|
|
16
|
+
|
|
17
|
+
- f4a37da: Alert text color now follows design
|
|
18
|
+
|
|
19
|
+
### Minor Changes
|
|
20
|
+
|
|
21
|
+
- f8f4bab: - Add DataDadgeButton
|
|
22
|
+
- 790ead0: Rename "Card" component to "Card as Link" component, to match definition of NL Design System "Card as Link" and in preparation of incoming "Card (not as Link)" component.
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- 9916255: Improve UX by always reserving space for optional action in Data Summary component.
|
|
27
|
+
|
|
3
28
|
## 2.0.0
|
|
4
29
|
|
|
5
30
|
### Major Changes
|
package/README.md
CHANGED
|
@@ -35,4 +35,14 @@ pakket, en omring het deel van je applicatie waar je het thema wilt toepassen me
|
|
|
35
35
|
@import '@rijkshuisstijl-community/components-css/dist/index.css'; // css importeren
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
+
#### Thema wijzigen
|
|
39
|
+
|
|
40
|
+
Om een ander thema toe te passen moet je het importeren van `import '@rijkshuisstijl-community/design-tokens/dist/{thema}/index.css';` en de class aanpassen naar het desbetreffende thema.
|
|
41
|
+
Zie het volgende voorbeeld om het uitvoerend-groen thema toe te passen:
|
|
42
|
+
|
|
43
|
+
```scss
|
|
44
|
+
@import '@rijkshuisstijl-community/design-tokens/dist/uitvoerend-groen/index.css'; // design tokens importeren
|
|
45
|
+
@import '@rijkshuisstijl-community/components-css/dist/index.css'; // css importeren
|
|
46
|
+
```
|
|
47
|
+
|
|
38
48
|
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.
|