@rijkshuisstijl-community/alert-css 4.0.1 → 4.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 +10 -0
- package/README.md +5 -15
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -2,7 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
# Omschrijving
|
|
4
4
|
|
|
5
|
-
Dit
|
|
5
|
+
Dit is het Alert CSS-component van het Rijkshuisstijl Community Design System[<https://github.com/nl-design-system/rijkshuisstijl-community/>]. Zie ook de volgende links:
|
|
6
|
+
|
|
7
|
+
- README.md voor alle CSS-componenten
|
|
8
|
+
[<https://github.com/nl-design-system/rijkshuisstijl-community/blob/main/packages/components-css/library-css/README.md>]
|
|
6
9
|
|
|
7
10
|
## Installatie
|
|
8
11
|
|
|
@@ -12,17 +15,4 @@ pnpm add @rijkshuisstijl-community/alert-css
|
|
|
12
15
|
|
|
13
16
|
## Gebruik
|
|
14
17
|
|
|
15
|
-
|
|
16
|
-
import '@rijkshuisstijl-community/alert-css';
|
|
17
|
-
|
|
18
|
-
<section class="rhc-alert" role="alert">
|
|
19
|
-
<div class="rhc-alert__content">
|
|
20
|
-
<h2 class="rhc-alert__heading">Heading</h2>
|
|
21
|
-
<p class="rhc-alert__paragraph">This is an information text.</p>
|
|
22
|
-
</div>
|
|
23
|
-
</section>
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
## Rijkshuisstijl Community Componenten
|
|
27
|
-
|
|
28
|
-
**Direct aan de slag met [CSS](https://github.com/nl-design-system/rijkshuisstijl-community/blob/main/packages/components-css/library-css/README.md) | [React](https://github.com/nl-design-system/rijkshuisstijl-community/blob/main/packages/components-react/library-react/README.md) | [Web Components](https://github.com/nl-design-system/rijkshuisstijl-community/blob/main/packages/web-components/README.md) | [Twig](https://github.com/nl-design-system/rijkshuisstijl-community/blob/main/packages/components-twig/README.md)**
|
|
18
|
+
Op de Storybook voor alert-css [<https://rijkshuisstijl-community.vercel.app/?path=/docs/css-alert--docs>] staan voorbeelden voor het gebruik van dit component.
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "4.0
|
|
2
|
+
"version": "4.1.0",
|
|
3
3
|
"author": "Community for Rijkshuisstijl-Community Design System",
|
|
4
4
|
"description": "Alert component",
|
|
5
5
|
"license": "EUPL-1.2",
|
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
"rijkshuisstijl-community-design-system"
|
|
22
22
|
],
|
|
23
23
|
"publishConfig": {
|
|
24
|
-
"access": "public"
|
|
24
|
+
"access": "public",
|
|
25
|
+
"provenance": true
|
|
25
26
|
},
|
|
26
27
|
"repository": {
|
|
27
28
|
"type": "git+ssh",
|