@developer-overheid-nl/don-register-components 1.3.1 → 1.6.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/CHANGELOG.md +176 -130
- package/LICENSE.md +291 -291
- package/README.md +20 -20
- package/package.json +10 -8
- package/src/Introduction.mdx +52 -0
- package/src/alert/Alert.stories.tsx +57 -0
- package/src/alert/Alert.tsx +19 -19
- package/src/alert/styles.module.css +3 -3
- package/src/alignBox/AlignBox.stories.tsx +84 -0
- package/src/alignBox/AlignBox.tsx +114 -114
- package/src/alignBox/styles.module.css +110 -110
- package/src/amountLabel/AmountLabel.stories.tsx +28 -0
- package/src/amountLabel/AmountLabel.tsx +21 -16
- package/src/amountLabel/styles.module.css +11 -11
- package/src/analytics/PiwikPro.tsx +94 -94
- package/src/analytics/index.ts +1 -1
- package/src/article/Article.stories.tsx +53 -0
- package/src/article/Article.tsx +10 -10
- package/src/badgeList/BadgeList.tsx +34 -34
- package/src/badgeList/styles.module.css +37 -37
- package/src/block/Block.stories.tsx +58 -0
- package/src/block/Block.tsx +35 -35
- package/src/block/styles.module.css +29 -29
- package/src/button/Button.stories.tsx +56 -0
- package/src/button/Button.tsx +3 -3
- package/src/button/ButtonAction.stories.tsx +62 -0
- package/src/button/ButtonAction.tsx +51 -0
- package/src/cardAsLink/CardAsLink.stories.tsx +81 -0
- package/src/cardAsLink/CardAsLink.tsx +21 -21
- package/src/cardAsLink/styles.module.css +23 -23
- package/src/cardsList/CardsList.tsx +56 -56
- package/src/cardsList/styles.module.css +18 -19
- package/src/client.ts +7 -7
- package/src/container/Container.stories.tsx +21 -0
- package/src/container/Container.tsx +10 -10
- package/src/container/styles.module.css +28 -28
- package/src/copyButton/CopyButton.stories.tsx +41 -0
- package/src/copyButton/CopyButton.tsx +45 -39
- package/src/copyButton/styles.module.css +13 -13
- package/src/dataBadgeLink/DataBadgeLink.stories.tsx +137 -0
- package/src/dataBadgeLink/DataBadgeLink.tsx +59 -53
- package/src/dataBadgeLink/styles.module.css +89 -89
- package/src/dataSummary/DataSummary.tsx +22 -22
- package/src/dataSummary/DataSummaryItem.tsx +21 -21
- package/src/dataSummary/styles.module.css +75 -75
- package/src/facetFilters/FacetFilters.stories.tsx +93 -0
- package/src/facetFilters/FacetFilters.tsx +424 -419
- package/src/facetFilters/styles.module.css +3 -3
- package/src/fieldset/FieldSet.stories.tsx +45 -0
- package/src/fieldset/FieldSet.tsx +3 -3
- package/src/filters/Filters.stories.tsx +45 -0
- package/src/filters/Filters.tsx +116 -116
- package/src/filters/styles.module.css +26 -26
- package/src/footer/Footer.stories.tsx +127 -0
- package/src/footer/Footer.tsx +81 -76
- package/src/footer/styles.module.css +103 -103
- package/src/formFieldCheckboxGroup/FormFieldCheckboxGroup.stories.tsx +48 -0
- package/src/formFieldCheckboxGroup/FormFieldCheckboxGroup.tsx +16 -16
- package/src/formFieldCheckboxGroup/styles.module.css +5 -5
- package/src/formFieldCheckboxOption/FormFieldCheckboxOption.stories.tsx +61 -0
- package/src/formFieldCheckboxOption/FormFieldCheckboxOption.tsx +26 -26
- package/src/formFieldCheckboxOption/styles.module.css +22 -22
- package/src/formFieldLabel/FormFieldLabel.stories.tsx +21 -0
- package/src/formFieldLabel/FormFieldLabel.tsx +23 -23
- package/src/formFieldRadioGroup/FormFieldRadioGroup.stories.tsx +57 -0
- package/src/formFieldRadioGroup/FormFieldRadioGroup.tsx +13 -13
- package/src/formFieldRadioGroup/styles.module.css +5 -5
- package/src/formFieldRadioOption/FormFieldRadioOption.stories.tsx +48 -0
- package/src/formFieldRadioOption/FormFieldRadioOption.tsx +75 -75
- package/src/formFieldRadioOption/styles.module.css +49 -49
- package/src/formFieldSwitch/FormFieldSwitch.stories.tsx +61 -0
- package/src/formFieldSwitch/FormFieldSwitch.tsx +82 -79
- package/src/formFieldSwitch/styles.module.css +32 -32
- package/src/formFieldTextInput/FormFieldTextInput.stories.tsx +45 -0
- package/src/formFieldTextInput/FormFieldTextInput.tsx +3 -3
- package/src/grid/Grid.stories.tsx +37 -0
- package/src/grid/Grid.tsx +48 -0
- package/src/grid/styles.module.css +24 -0
- package/src/header/Header.stories.tsx +54 -0
- package/src/header/Header.tsx +137 -137
- package/src/header/styles.module.css +71 -71
- package/src/heading/Heading.stories.tsx +60 -0
- package/src/heading/Heading.tsx +15 -15
- package/src/headingGroup/HeadingGroup.stories.tsx +57 -0
- package/src/headingGroup/HeadingGroup.tsx +48 -48
- package/src/headingGroup/styles.module.css +3 -3
- package/src/i18n.ts +24 -25
- package/src/iconBadge/IconBadge.stories.tsx +46 -0
- package/src/iconBadge/IconBadge.tsx +35 -35
- package/src/iconBadge/getAppearance.ts +53 -53
- package/src/iconBadge/styles.module.css +19 -19
- package/src/iconsSprite/Icon.stories.tsx +73 -0
- package/src/iconsSprite/Icon.tsx +17 -17
- package/src/iconsSprite/IconsSprite.tsx +5 -5
- package/src/index.ts +117 -107
- package/src/infoButton/InfoButton.stories.tsx +52 -0
- package/src/infoButton/InfoButton.tsx +45 -45
- package/src/infoButton/styles.module.css +43 -43
- package/src/link/Link.stories.tsx +49 -0
- package/src/link/Link.tsx +10 -10
- package/src/markdown/Markdown.stories.tsx +48 -0
- package/src/markdown/Markdown.tsx +42 -42
- package/src/overlay/Overlay.stories.tsx +38 -0
- package/src/overlay/Overlay.tsx +18 -18
- package/src/overlay/styles.module.css +15 -15
- package/src/pagination/Pagination.stories.tsx +91 -0
- package/src/pagination/Pagination.tsx +267 -267
- package/src/pagination/styles.module.css +28 -28
- package/src/paragraph/Paragraph.stories.tsx +45 -0
- package/src/paragraph/Paragraph.tsx +24 -24
- package/src/paragraph/styles.module.css +6 -6
- package/src/pillBadge/PillBadge.examples.tsx +107 -107
- package/src/pillBadge/PillBadge.stories.tsx +257 -0
- package/src/pillBadge/PillBadge.tsx +60 -51
- package/src/pillBadge/styles.module.css +214 -214
- package/src/readOnlyTextInput/ReadOnlyTextInput.stories.tsx +49 -0
- package/src/readOnlyTextInput/ReadOnlyTextInput.tsx +24 -24
- package/src/readOnlyTextInput/styles.module.css +19 -19
- package/src/scoreBadge/ScoreBadge.stories.tsx +45 -0
- package/src/scoreBadge/ScoreBadge.tsx +135 -133
- package/src/search/Search.stories.tsx +65 -0
- package/src/search/Search.tsx +82 -82
- package/src/search/styles.module.css +40 -39
- package/src/siteLogo/ExampleLogo.stories.tsx +40 -0
- package/src/siteLogo/SiteLogo.stories.tsx +28 -0
- package/src/siteLogo/SiteLogo.tsx +24 -24
- package/src/sortForm/SortForm.stories.tsx +111 -0
- package/src/sortForm/SortForm.tsx +121 -0
- package/src/sortForm/styles.module.css +40 -0
- package/src/switch/Switch.stories.tsx +68 -0
- package/src/switch/Switch.tsx +152 -86
- package/src/switch/styles.module.css +54 -7
- package/src/toolTip/ToolTip.stories.tsx +131 -0
- package/src/toolTip/ToolTip.tsx +55 -55
- package/src/toolTip/styles.module.css +49 -49
- package/src/topNavigation/TopNavigation.stories.tsx +71 -0
- package/src/topNavigation/TopNavigation.tsx +67 -67
- package/src/topNavigation/styles.module.css +54 -54
- package/tsconfig.json +122 -121
package/CHANGELOG.md
CHANGED
|
@@ -1,130 +1,176 @@
|
|
|
1
|
-
# @developer-overheid-nl/don-register-components
|
|
2
|
-
|
|
3
|
-
## 1.
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
-
|
|
28
|
-
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
-
|
|
67
|
-
-
|
|
68
|
-
-
|
|
69
|
-
|
|
70
|
-
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
-
|
|
79
|
-
|
|
80
|
-
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
-
|
|
85
|
-
-
|
|
86
|
-
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
-
|
|
105
|
-
-
|
|
106
|
-
-
|
|
107
|
-
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
-
|
|
114
|
-
-
|
|
115
|
-
|
|
116
|
-
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
1
|
+
# @developer-overheid-nl/don-register-components
|
|
2
|
+
|
|
3
|
+
## 1.6.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 476c880: Replace `parse-link-header` with a TypeScript port (`parseLinkHeader`) that does not need Node's `url.parse`, and remove the `PARSE_LINK_HEADER_*` env workaround from the apps. Query parameters that appear more than once in a link URL are returned as an array; `parseHeaders` uses the first value when `page` or `perPage` is repeated.
|
|
8
|
+
|
|
9
|
+
## 1.6.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 54d183b: Updated Readme files to point to the correct CHANGELOG links in the GitHub repository instead of local paths.
|
|
14
|
+
- Updated dependencies [54d183b]
|
|
15
|
+
- @developer-overheid-nl/don-register-locales@1.2.3
|
|
16
|
+
|
|
17
|
+
## 1.6.0
|
|
18
|
+
|
|
19
|
+
### Minor Changes
|
|
20
|
+
|
|
21
|
+
- 812b070: `ButtonAction` toegevoegd: een link in de vorm van een knop, voor calls to action zoals "API toevoegen".
|
|
22
|
+
|
|
23
|
+
## 1.5.1
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- Updated dependencies [fe3b5a0]
|
|
28
|
+
- @developer-overheid-nl/don-register-locales@1.2.2
|
|
29
|
+
|
|
30
|
+
## 1.5.0
|
|
31
|
+
|
|
32
|
+
### Minor Changes
|
|
33
|
+
|
|
34
|
+
- 2eb8237: Add a generic sorting form and enable sorting by the supported fields in the API Register and Open Source Register.
|
|
35
|
+
|
|
36
|
+
## 1.4.0
|
|
37
|
+
|
|
38
|
+
### Minor Changes
|
|
39
|
+
|
|
40
|
+
- ffd6c71: Add Storybook stories and documentation for every component, add a new `Grid` layout component,
|
|
41
|
+
and fix a `ScoreBadge` deprecation message.
|
|
42
|
+
|
|
43
|
+
## 1.3.2
|
|
44
|
+
|
|
45
|
+
### Patch Changes
|
|
46
|
+
|
|
47
|
+
- 9d30474: Voeg Storybook toe met basisstories voor gedeelde componenten en Chromatic-ondersteuning voor visuele review.
|
|
48
|
+
|
|
49
|
+
## 1.3.1
|
|
50
|
+
|
|
51
|
+
### Patch Changes
|
|
52
|
+
|
|
53
|
+
- d8a39db: Bugfixes pagination parsers en facetfilters, description toegevoegd aan single-select.
|
|
54
|
+
- e5f0a52: Keep the publiccode filter state explicit in the OSS register.
|
|
55
|
+
Toggle filters now preserve both `true` and `false` values in the query string, and selected filter badges correctly toggle the publiccode filter instead of removing it.
|
|
56
|
+
- 0f983ad: Upgraded Astro to 6.4.2
|
|
57
|
+
- Updated dependencies [de238a8]
|
|
58
|
+
- Updated dependencies [0f983ad]
|
|
59
|
+
- @developer-overheid-nl/don-register-locales@1.2.1
|
|
60
|
+
|
|
61
|
+
## 1.3.0
|
|
62
|
+
|
|
63
|
+
### Minor Changes
|
|
64
|
+
|
|
65
|
+
- 4d320fc: Pagination component update:
|
|
66
|
+
- Eerste- en laatste-pagina knoppen toegevoegd.
|
|
67
|
+
- Mogelijkheid toegevoegd voor paginaknoppen voor en na huidige pagina.
|
|
68
|
+
- Ellips toegevoegd voor pagina's buiten bereik.
|
|
69
|
+
- Verbeterde toegankelijkheid met ARIA-labels en title-tags.
|
|
70
|
+
- Helper-functions uitgebreidt voor paginering logica.
|
|
71
|
+
- translation.json bijgewerkt voor nieuwe paginering labels.
|
|
72
|
+
- Tests toegevoegd.
|
|
73
|
+
- 4521021: Hidden fields toegevoegd om bijv search- en filters in url te behouden. In:
|
|
74
|
+
- Search component
|
|
75
|
+
- Facet Filters component
|
|
76
|
+
- 817ee0f: Nieuwe features voor BadgeList, DataBadgeLink en FacetFilters componenten
|
|
77
|
+
- `table` layout style toegevoegd aan BadgeList, element met class `.label` krijgt table-caption styling.
|
|
78
|
+
- `link` layout style toegevoegd aan DataBadgeLink toegevoegd.
|
|
79
|
+
- getSelectedFiltersMap function toegevoegd, zodat labels van de categorieen ook getoond kunnen worden.
|
|
80
|
+
- Deprecations:
|
|
81
|
+
- getSelectedFilters function deprecated.
|
|
82
|
+
- Filters component.
|
|
83
|
+
- Fixes:
|
|
84
|
+
- Tooltip triangle fix.
|
|
85
|
+
- Localisation:
|
|
86
|
+
- Filter-gerelateerde termen geupdated en toegevoegd.
|
|
87
|
+
|
|
88
|
+
### Patch Changes
|
|
89
|
+
|
|
90
|
+
- Updated dependencies [4d320fc]
|
|
91
|
+
- Updated dependencies [817ee0f]
|
|
92
|
+
- @developer-overheid-nl/don-register-locales@1.2.0
|
|
93
|
+
|
|
94
|
+
## 1.2.0
|
|
95
|
+
|
|
96
|
+
### Minor Changes
|
|
97
|
+
|
|
98
|
+
- b404400: Nieuwe components:
|
|
99
|
+
|
|
100
|
+
- FacetFilters, met de types:
|
|
101
|
+
- toggle: boolean filter (switch)
|
|
102
|
+
- multi-select: multiple options, multiple selectable (checkboxes)
|
|
103
|
+
- single-select: multiple options, single selectable (radiobuttons)
|
|
104
|
+
- AmountLabel: label with amount, used in FacetFilters
|
|
105
|
+
- FormFieldCheckboxGroup
|
|
106
|
+
- FormFieldCheckboxOption, with amount label
|
|
107
|
+
- FormFieldRadioGroup
|
|
108
|
+
- FormFieldRadioOption, with amount label
|
|
109
|
+
- Switch: toggle (checkbox)
|
|
110
|
+
- FormFieldSwitch, with amount label
|
|
111
|
+
- InfoButton
|
|
112
|
+
- Tooltip: html popover tooltip; default met InfoButton
|
|
113
|
+
- Overlay: overlay component, blurs the background
|
|
114
|
+
- BadgeList, list for Badge components
|
|
115
|
+
|
|
116
|
+
- Changed components:
|
|
117
|
+
|
|
118
|
+
- AlignBox: wrap toegevoegd
|
|
119
|
+
- DataBadgeLink: tabIndex toegevoegd met default `undefined`, omdat RHC tabindex=0 op `span` had gezet, fixed Focus styling.
|
|
120
|
+
- Heading: HeadingProps, clampHeadingLevel exported
|
|
121
|
+
- Paragraph: `short` property en styling toegevoegd
|
|
122
|
+
- PillBadge: focus and hover styling toegevoegd
|
|
123
|
+
|
|
124
|
+
- Nieuwe translation keys toegevoegd
|
|
125
|
+
|
|
126
|
+
- 4bc38b3: Refactor PiwikPro component to deprecate pageTitle prop and introduce customEvent for event tracking
|
|
127
|
+
|
|
128
|
+
### Patch Changes
|
|
129
|
+
|
|
130
|
+
- a7a1405: Small bugfixes, server error details in action, future test file setup
|
|
131
|
+
- Updated dependencies [b404400]
|
|
132
|
+
- Updated dependencies [b404400]
|
|
133
|
+
- Updated dependencies [a7a1405]
|
|
134
|
+
- @developer-overheid-nl/don-register-locales@1.1.0
|
|
135
|
+
|
|
136
|
+
## 1.1.0
|
|
137
|
+
|
|
138
|
+
### Minor Changes
|
|
139
|
+
|
|
140
|
+
- 804dc03: Added Analytics component.
|
|
141
|
+
- Added `PiwikPro` component to encapsulate Piwik analytics tracking.
|
|
142
|
+
- Added restProps to `AlignBox` component and `CopyButton` component.
|
|
143
|
+
|
|
144
|
+
### Patch Changes
|
|
145
|
+
|
|
146
|
+
- 4447980: Updated dependencies
|
|
147
|
+
|
|
148
|
+
Removed standalone postcss.config.cjs files from apps (integrated into astro.config.mjs)
|
|
149
|
+
|
|
150
|
+
- f7034b9: Updated dependencies:
|
|
151
|
+
- @rijkshuisstijl-community/components-css
|
|
152
|
+
- @rijkshuisstijl-community/components-react
|
|
153
|
+
- ded15aa: fix: exclude 'current' property when mapping NavBar items
|
|
154
|
+
|
|
155
|
+
## 1.0.0
|
|
156
|
+
|
|
157
|
+
### Major Changes
|
|
158
|
+
|
|
159
|
+
- d8d2e78: Version 1.0!
|
|
160
|
+
- 8dde9ed: Nieuwe componenten
|
|
161
|
+
|
|
162
|
+
- Button
|
|
163
|
+
- Fieldset
|
|
164
|
+
- FormFieldLabel
|
|
165
|
+
- FormFieldTextInput
|
|
166
|
+
|
|
167
|
+
Wijzigingen
|
|
168
|
+
|
|
169
|
+
- ReadOnlyTextInput: fontVariant toegevoegd.
|
|
170
|
+
|
|
171
|
+
### Patch Changes
|
|
172
|
+
|
|
173
|
+
- 3b4f506: Change value to defaultValue in search form.
|
|
174
|
+
- Updated dependencies [8dde9ed]
|
|
175
|
+
- Updated dependencies [d8d2e78]
|
|
176
|
+
- @developer-overheid-nl/don-register-locales@1.0.0
|