Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
5a5f4bc
added transition and box-shadow to CardWrapper
remko48 May 7, 2024
39ca144
added font-style to CardHeader
remko48 May 7, 2024
56e0ecd
added tabindex and font-weight to Tab
remko48 May 7, 2024
1571919
added border-color, border-style, border-width and transition to Prim…
remko48 May 7, 2024
315ace8
updated package
remko48 May 7, 2024
e986726
Merge pull request #188 from ConductionNL/feature/NDT-57/moerdijk
remko48 May 7, 2024
d559760
Updated tokens
remko48 Oct 31, 2024
578a222
Updated package and readme
remko48 Oct 31, 2024
1c771ec
Merge pull request #189 from ConductionNL/feature/BEHEER-2948/Lansing…
remko48 Oct 31, 2024
a337998
Added hover filter to Logo component
remko48 Apr 16, 2025
aebc6d2
Updated Pagination and PrimaryTopNav components to allow text-decorat…
remko48 Jul 15, 2025
61abbb3
Updated CardHeader to allow padding-block-end on title
remko48 Jul 18, 2025
c73fbc7
updated logo to accept aria-label
SudoThijn Feb 9, 2026
0850e95
fixed issue in DisplaySwitch where layoutClassName is always added
SudoThijn Feb 9, 2026
c36e7f6
WOO-451 - fixed select dropdown icon color to be WCAG AA compliant
SudoThijn Feb 9, 2026
625e1c4
Fixed WCAG errors
remko48 Feb 9, 2026
86c0537
updated logo to use camelCase aria label
SudoThijn Feb 9, 2026
8fbcec7
Merge remote-tracking branch 'origin/WCAG' into feature/WOO-446/WCAG
SudoThijn Feb 9, 2026
d97938e
updated package.json
SudoThijn Feb 10, 2026
887e4b3
Merge pull request #191 from ConductionNL/feature/WOO-446/WCAG
remko48 Feb 10, 2026
29baab9
WOO-458 - fixed WCAG compliance issue
SudoThijn Feb 10, 2026
3af79df
Merge pull request #192 from ConductionNL/feature/WOO-446/WCAG
remko48 Feb 11, 2026
f33581d
fixed clear button on select not being usable on focus
SudoThijn Feb 11, 2026
b182538
updated logo to be focusable
SudoThijn Feb 11, 2026
489e3a8
Updated readme
remko48 Feb 11, 2026
6dab2c1
Fixed card not being clickable
remko48 Feb 11, 2026
372cf49
Merge pull request #193 from ConductionNL/feature/WOO-446/WCAG
remko48 Feb 11, 2026
667d1f5
WOO-479 - Added feature to Select to configure clear button attributes
SudoThijn Apr 15, 2026
2c6b0ac
WOO-479 - Fixed nested interactive elements in Pagination
SudoThijn Apr 16, 2026
3a9d402
Fix combobox ARIA attributes for VoiceOver compatibility in Select co…
SudoThijn Apr 16, 2026
e252968
Merge pull request #194 from ConductionNL/feature/WOO-479/select-attr…
SudoThijn Apr 16, 2026
8204945
Updated HorizontalOverflowWrapper props
remko48 May 19, 2026
a09984a
Merge pull request #196 from ConductionNL/feature/WOO-446/WCAG
remko48 May 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,32 @@

- **Version 2.2 (breaking changes from 2.1.x)**

- 2.2.59: Added optional scrollMode prop to HorizontalOverflowWrapper with native and button scroll modes
- 2.2.58:
- Added feature to Select to configure clear button attributes
- Fixed pagination having nested interactive elements
- 2.2.57:
- Fixed clear button on SelectSingle not being clickable with keyboard functions.
- Fixed Logo not being focusable when being clickable.
- Fixed CardWrapper not being clickable with keyboard functions
- 2.2.56: Fixed WCAG issue in Pagination by adding aria labels to buttons
- 2.2.55:
- Updated Logo to accept aria-label for accessibility.
- Fixed bug in DisplaySwitch where layoutClassName is added even when empty.
- Fixed color of the Select dropdown icon to be WCAG-AA compliant.
- Added more WCAG roles and support to Select box.
- 2.2.54: Updated CardHeader to allow padding-block-end on title.
- 2.2.53: Updated Pagination and PrimaryTopNav components to allow text-decorations and border-bottoms.
- 2.2.52: Added hover filter to Logo component.
- 2.2.51:
- Added text-decoration tokens to CardHeader.
- Added label color tokens to checkbox.
- Added font-weight, gap, padding and hover box-shadow tokens to PrimaryTopNav.
- 2.2.50:
- Added transition and box-shadow to CardWrapper.
- Added font-style to CardHeader.
- Added tabindex and font-weight to Tab.
- Added border-color, border-style, border-width and transition to PrimaryTopNav.
- 2.2.49: Removed Jumbotron component.
- 2.2.48: Updated CardHeader and package.json.
- 2.2.46 / 2.2.47: Fixed minor css parse error.
Expand Down
2,120 changes: 1,012 additions & 1,108 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@conduction/components",
"version": "2.2.49",
"version": "2.2.59",
"description": "React (Gatsby) components used within the Conduction Skeleton Application (and its implementations)",
"main": "lib/index.js",
"scripts": {
Expand Down
4 changes: 4 additions & 0 deletions src/components/Pagination/Pagination.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
/* --conduction-pagination-item-border-bottom-width: unset;
--conduction-pagination-item-border-bottom-style: unset;
--conduction-pagination-item-border-bottom-color: unset; */
/* --conduction-pagination-item-text-decoration: unset; */
/* --conduction-pagination-item-text-decoration-thickness: 0px; */

/* --conduction-pagination-navigation-button-background-color: #4376fc; */
/* --conduction-pagination-navigation-button-color: #ffffff; */
Expand Down Expand Up @@ -112,6 +114,7 @@
font-weight: var(--conduction-pagination-current-page-font-weight);
font-family: var(--conduction-pagination-item-font-family);
text-decoration: var(--conduction-pagination-current-page-text-decoration);
text-decoration-thickness: var(--conduction-pagination-current-page-text-decoration-thickness);
}

.container > li:not(.previous):not(.next):not(.currentPage) > a {
Expand All @@ -131,6 +134,7 @@
font-size: var(--conduction-pagination-item-font-size);
font-weight: var(--conduction-pagination-item-font-weight);
font-family: var(--conduction-pagination-item-font-family);
text-decoration: var(--conduction-pagination-item-text-decoration);
}

.button {
Expand Down
10 changes: 5 additions & 5 deletions src/components/Pagination/Pagination.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as styles from "./Pagination.module.css";
import clsx from "clsx";

import ReactPaginate from "react-paginate";
import { Button } from "@utrecht/component-library-react";

import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { faChevronRight, faChevronLeft } from "@fortawesome/free-solid-svg-icons";

Expand Down Expand Up @@ -73,14 +73,14 @@ export const Pagination: React.FC<PaginationProps> = ({
previousAriaLabel={ariaLabels.previousPage}
ariaLabelBuilder={(currentPage) => `${ariaLabels.page} ${currentPage}`}
nextLabel={
<Button tabIndex={-1} className={styles.button}>
<span className={clsx("utrecht-button", styles.button)} aria-hidden="true">
<FontAwesomeIcon icon={faChevronRight} />
</Button>
</span>
}
previousLabel={
<Button tabIndex={-1} className={styles.button}>
<span className={clsx("utrecht-button", styles.button)} aria-hidden="true">
<FontAwesomeIcon icon={faChevronLeft} />
</Button>
</span>
}
/>
);
Expand Down
15 changes: 14 additions & 1 deletion src/components/card/cardHeader/CardHeader.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,24 @@
/* --conduction-card-header-hover-border-bottom-style: unset; */
/* --conduction-card-header-hover-border-bottom-color: unset; */
--conduction-card-header-title-color: #000000;
/* --conduction-card-header-title-text-decoration: none; */
/* --conduction-card-header-title-text-underline-offset: 2px; */
/* --conduction-card-header-title-hover-color: #000000; */
/* --conduction-card-header-title-hover-text-decoration: none; */
/* --conduction-card-header-title-hover-text-underline-offset: 2px; */
/* --conduction-card-header-title-padding-block-end: 0px; */

--conduction-card-header-date-color: #000000;
--conduction-card-header-date-font-size: 16px;
--conduction-card-header-date-font-weight: 100;
/* --conduction-card-header-date-font-style: normal; */
--conduction-card-header-date-margin-block-end: 8px;
}

.container {
border-bottom-width: var(--conduction-card-header-border-bottom-width);
border-bottom-style: var(--conduction-card-header-border-bottom-style);
border-bottom-color: var(--conduction-card-header-border-bottom-color);
border-bottom-style: var(--conduction-card-header-border-bottom-style);
}

.container:hover {
Expand All @@ -27,15 +34,21 @@

.title > * {
color: var(--conduction-card-header-title-color) !important;
text-decoration: var(--conduction-card-header-title-text-decoration) !important;
text-underline-offset: var(--conduction-card-header-title-text-underline-offset) !important;
padding-block-end: var(--conduction-card-header-title-padding-block-end) !important;
}

.title:hover > * {
color: var(--conduction-card-header-title-hover-color, var(--conduction-card-header-title-color)) !important;
text-decoration: var(--conduction-card-header-title-hover-text-decoration, var(--conduction-card-header-title-text-decoration)) !important;
text-underline-offset: var(--conduction-card-header-title-hover-text-underline-offset, var(--conduction-card-header-title-text-underline-offset)) !important;
}

.date {
color: var(--conduction-card-header-date-color);
font-size: var(--conduction-card-header-date-font-size);
font-weight: var(--conduction-card-header-date-font-weight);
font-style: var(--conduction-card-header-date-font-style);
margin-block-end: var(--conduction-card-header-date-margin-block-end);
}
12 changes: 10 additions & 2 deletions src/components/card/cardWrapper/CardWrapper.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,26 @@
/* --conduction-card-wrapper-border-width: unset; */
/* --conduction-card-wrapper-border-style: unset; */
/* --conduction-card-wrapper-border-color: unset; */
--conduction-card-wrapper-border-radius: 16px;
/* --conduction-card-wrapper-border-bottom-width: unset; */
/* --conduction-card-wrapper-border-bottom-style: unset; */
/* --conduction-card-wrapper-border-bottom-color: unset; */
/* --conduction-card-wrapper-box-shadow: unset; */
/* --conduction-card-wrapper-hover-background-color: unset; */
/* --conduction-card-wrapper-hover-border-width: unset; */
/* --conduction-card-wrapper-hover-border-style: unset; */
/* --conduction-card-wrapper-hover-border-color: unset; */
/* --conduction-card-wrapper-hover-border-radius: 16px; */
/* --conduction-card-wrapper-hover-border-bottom-width: unset; */
/* --conduction-card-wrapper-hover-border-bottom-style: unset; */
/* --conduction-card-wrapper-hover-border-bottom-color: unset; */
--conduction-card-wrapper-border-radius: 16px;
/* --conduction-card-wrapper-hover-box-shadow: unset; */
--conduction-card-wrapper-color: #000000;
/* --conduction-card-wrapper-hover-background-color: unset; */
--conduction-card-wrapper-padding-inline-end: 18px;
--conduction-card-wrapper-padding-inline-start: 18px;
--conduction-card-wrapper-padding-block-end: 18px;
--conduction-card-wrapper-padding-block-start: 18px;
/* --conduction-card-wrapper-transition: unset; */
}

.container {
Expand All @@ -28,6 +31,8 @@
position: relative;
box-shadow: var(--conduction-card-wrapper-box-shadow);

transition: var(--conduction-card-wrapper-transition);

border-radius: var(--conduction-card-wrapper-border-radius);
border-width: var(--conduction-card-wrapper-border-width);
border-style: var(--conduction-card-wrapper-border-style);
Expand All @@ -47,6 +52,9 @@
color: var(--conduction-card-wrapper-hover-color, var(--conduction-card-wrapper-color));
cursor: pointer;

box-shadow: var(--conduction-card-wrapper-hover-box-shadow, var(--conduction-card-wrapper-box-shadow));

border-radius: var(--conduction-card-wrapper-hover-border-radius, var(--conduction-card-wrapper-border-radius));
border-width: var(--conduction-card-wrapper-hover-border-width, var(--conduction-card-wrapper-border-width));
border-style: var(--conduction-card-wrapper-hover-border-style, var(--conduction-card-wrapper-border-style));
border-color: var(--conduction-card-wrapper-hover-border-color, var(--conduction-card-wrapper-border-color));
Expand Down
15 changes: 14 additions & 1 deletion src/components/card/cardWrapper/CardWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,20 @@ import * as React from "react";
import * as styles from "./CardWrapper.module.css";

export const CardWrapper = (props: React.HTMLAttributes<HTMLDivElement>): JSX.Element => {
const _props = { ...props, className: `${props.className} ${styles.container}` };
const handleKeyDown = (event: React.KeyboardEvent<HTMLDivElement>) => {
if (props.onClick && (event.key === "Enter" || event.key === " ")) {
event.preventDefault();
props.onClick(event as any);
}
};

const _props = {
...props,
className: `${props.className} ${styles.container}`,
role: props.onClick ? "button" : undefined,
tabIndex: props.onClick ? 0 : undefined,
...(props.onClick && { onKeyDown: handleKeyDown }),
};

return <div {..._props}>{props.children}</div>;
};
2 changes: 1 addition & 1 deletion src/components/displaySwitch/DisplaySwitch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export declare type IDisplaySwitchButton = DisplaySwitchButtonProps;

const DisplaySwitch: React.FC<DisplaySwitchProps> = ({ layoutClassName, buttons }) => {
return (
<ButtonGroup className={clsx(styles.displaySwitchButtons, [layoutClassName] && layoutClassName)}>
<ButtonGroup className={clsx(styles.displaySwitchButtons, layoutClassName && layoutClassName)}>
{buttons.map((button, idx: number) => {
// TODO: Once the Rotterdam design system supports the "pressed" state,
// remove the `appereance` switch, and use the same appearance for each button.
Expand Down
4 changes: 4 additions & 0 deletions src/components/formFields/checkbox/Checkbox.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@
box-sizing: border-box;
}

.checkbox:hover + label {
color: var(--conduction-input-checkbox-label-hover-color, var(--conduction-input-checkbox-label-color, var(--utrecht-document-color)));

}
.checkbox:hover + label::before {
content: " ";
display: inline-block;
Expand Down
Loading
Loading