Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update major #1639

Merged
merged 3 commits into from
Jan 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 1 addition & 3 deletions .ncurc.major.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
const minorConfig = require('./.ncurc.minor');

// Prettier v3 breaks storybook: https://github.com/whitespace-se/storybook-addon-html/issues/104

module.exports = {
...minorConfig,
reject: [...minorConfig.reject],
reject: [...minorConfig.reject, '@utrecht/component-library-react'],
target: 'latest',
};
3 changes: 2 additions & 1 deletion .ncurc.minor.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
const patchConfig = require('./.ncurc.patch');

// TODO: kan update niet uitvoeren omdat functie in laatste versie is disabled: https://github.com/nl-design-system/themes/commit/637fcb0ff11e3edcb0f61f967a45dcc6c7af8669#r150807599
module.exports = {
...patchConfig,
reject: [...patchConfig.reject],
reject: [...patchConfig.reject, '@nl-design-system-unstable/theme-toolkit'],
target: 'minor',
};
2 changes: 1 addition & 1 deletion components/Action/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@
"@gemeente-denhaag/icons": "workspace:*",
"@gemeente-denhaag/link": "workspace:*",
"@gemeente-denhaag/utils": "workspace:*",
"date-fns": "3.6.0"
"date-fns": "4.1.0"
}
}
2 changes: 1 addition & 1 deletion components/Action/src/Time.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { TimeHTMLAttributes } from 'react';

interface Props extends TimeHTMLAttributes<HTMLTimeElement> {}
type Props = TimeHTMLAttributes<HTMLTimeElement>;

export const Time = ({ children, ...rest }: Props) => <time {...rest}>{children}</time>;
2 changes: 1 addition & 1 deletion components/Alert/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@
"@gemeente-denhaag/typography": "workspace:*"
},
"peerDependencies": {
"react": "^18.0.0"
"react": "^19.0.0"
}
}
6 changes: 3 additions & 3 deletions components/BadgeCounter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
"watch:components": "chokidar --silent --follow-symlinks \"src/**/*\" -c \"pnpm run build\""
},
"dependencies": {
"@utrecht/component-library-react": "7.0.0",
"@utrecht/components": "7.3.0"
"@utrecht/component-library-react": "4.2.0",
"@utrecht/components": "7.4.0"
},
"peerDependencies": {
"react": "^18.0.0"
"react": "^19.0.0"
},
"gitHead": "dcf72a9b79266c1ebede35aff4a02dd9121a980f"
}
2 changes: 1 addition & 1 deletion components/Blockquote/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"watch:components": "chokidar --silent --follow-symlinks \"src/**/*\" -c \"pnpm run build\""
},
"peerDependencies": {
"react": "^18.0.0"
"react": "^19.0.0"
},
"gitHead": "dcf72a9b79266c1ebede35aff4a02dd9121a980f"
}
2 changes: 1 addition & 1 deletion components/Breadcrumb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@gemeente-denhaag/responsive-content": "workspace:*"
},
"peerDependencies": {
"react": "^18.0.0"
"react": "^19.0.0"
},
"gitHead": "dcf72a9b79266c1ebede35aff4a02dd9121a980f"
}
2 changes: 1 addition & 1 deletion components/Breadcrumb/src/BreadcrumbListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { LiHTMLAttributes } from 'react';
import clsx from 'clsx';
import './index.scss';

export interface BreadcrumbListItemProps extends LiHTMLAttributes<HTMLLIElement> {}
export type BreadcrumbListItemProps = LiHTMLAttributes<HTMLLIElement>;

export const BreadcrumbListItem: React.FC<BreadcrumbListItemProps> = ({
hidden,
Expand Down
2 changes: 1 addition & 1 deletion components/Button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@gemeente-denhaag/icons": "workspace:*"
},
"peerDependencies": {
"react": "^18.0.0"
"react": "^19.0.0"
},
"gitHead": "dcf72a9b79266c1ebede35aff4a02dd9121a980f"
}
4 changes: 2 additions & 2 deletions components/ButtonLink/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
},
"dependencies": {
"@utrecht/component-library-react": "4.2.0",
"@utrecht/components": "6.1.0"
"@utrecht/components": "7.4.0"
},
"peerDependencies": {
"react": "^18.0.0"
"react": "^19.0.0"
}
}
2 changes: 1 addition & 1 deletion components/Card/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@gemeente-denhaag/iconbutton": "workspace:*"
},
"peerDependencies": {
"react": "^18.0.0"
"react": "^19.0.0"
},
"gitHead": "dcf72a9b79266c1ebede35aff4a02dd9121a980f"
}
2 changes: 1 addition & 1 deletion components/Card/src/Card/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { HTMLAttributes } from 'react';
import '../index.scss';
import clsx from 'clsx';

export interface CardProps extends HTMLAttributes<HTMLDivElement> {}
export type CardProps = HTMLAttributes<HTMLDivElement>;

export const Card = ({ className, ...props }: CardProps) => {
const classNames = clsx('denhaag-card', className);
Expand Down
2 changes: 1 addition & 1 deletion components/Card/src/Card/CardActions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { HTMLAttributes } from 'react';
import '../index.scss';
import clsx from 'clsx';

export interface CardActionsProps extends HTMLAttributes<HTMLDivElement> {}
export type CardActionsProps = HTMLAttributes<HTMLDivElement>;

export const CardActions = ({ className, ...props }: CardActionsProps) => {
const classNames = clsx('denhaag-card__actions', className);
Expand Down
2 changes: 1 addition & 1 deletion components/Card/src/Card/CardBackground.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { HTMLAttributes } from 'react';
import '../index.scss';
import clsx from 'clsx';

export interface CardBackgroundProps extends HTMLAttributes<HTMLDivElement> {}
export type CardBackgroundProps = HTMLAttributes<HTMLDivElement>;

export const CardBackground = ({ className, ...props }: CardBackgroundProps) => {
const classNames = clsx('denhaag-card__background', className);
Expand Down
2 changes: 1 addition & 1 deletion components/Card/src/Card/CardContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { HTMLAttributes } from 'react';
import '../index.scss';
import clsx from 'clsx';

export interface CardContentProps extends HTMLAttributes<HTMLDivElement> {}
export type CardContentProps = HTMLAttributes<HTMLDivElement>;

export const CardContent = ({ className, ...props }: CardContentProps) => {
const classNames = clsx('denhaag-card__content', className);
Expand Down
2 changes: 1 addition & 1 deletion components/Card/src/Card/CardDate.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { TimeHTMLAttributes } from 'react';
import '../index.scss';

export interface CardDateProps extends TimeHTMLAttributes<HTMLTimeElement> {}
export type CardDateProps = TimeHTMLAttributes<HTMLTimeElement>;

export const CardDate = ({ ...props }: CardDateProps) => {
return <time {...props}></time>;
Expand Down
2 changes: 1 addition & 1 deletion components/Card/src/Card/CardDateWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { HTMLAttributes } from 'react';
import '../index.scss';
import clsx from 'clsx';

export interface CardDateWrapperProps extends HTMLAttributes<HTMLDivElement> {}
export type CardDateWrapperProps = HTMLAttributes<HTMLDivElement>;

export const CardDateWrapper = ({ className, ...props }: CardDateWrapperProps) => {
const classNames = clsx('denhaag-card__date-wrapper', className);
Expand Down
2 changes: 1 addition & 1 deletion components/Card/src/Card/CardTextWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { HTMLAttributes } from 'react';
import '../index.scss';
import clsx from 'clsx';

export interface CardTextWrapperProps extends HTMLAttributes<HTMLDivElement> {}
export type CardTextWrapperProps = HTMLAttributes<HTMLDivElement>;

export const CardTextWrapper = ({ className, ...props }: CardTextWrapperProps) => {
const classNames = clsx('denhaag-card__text-wrapper', className);
Expand Down
2 changes: 1 addition & 1 deletion components/Card/src/Card/CardWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { HTMLAttributes } from 'react';
import '../index.scss';
import clsx from 'clsx';

export interface CardWrapperProps extends HTMLAttributes<HTMLDivElement> {}
export type CardWrapperProps = HTMLAttributes<HTMLDivElement>;

export const CardWrapper = ({ className, ...props }: CardWrapperProps) => {
const classNames = clsx('denhaag-card__wrapper', className);
Expand Down
4 changes: 2 additions & 2 deletions components/Checkbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
},
"dependencies": {
"@utrecht/component-library-react": "4.2.0",
"@utrecht/components": "6.1.0"
"@utrecht/components": "7.4.0"
},
"peerDependencies": {
"react": "^18.0.0"
"react": "^19.0.0"
},
"gitHead": "dcf72a9b79266c1ebede35aff4a02dd9121a980f"
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import clsx from 'clsx';
import React, { HTMLAttributes } from 'react';

interface ContactTimelineHeaderChannelProps extends HTMLAttributes<HTMLDivElement> {}
type ContactTimelineHeaderChannelProps = HTMLAttributes<HTMLDivElement>;

export const ContactTimelineHeaderChannel: React.FC<ContactTimelineHeaderChannelProps> = ({ children }) => {
return <div className={clsx('denhaag-contact-timeline__step-header__channel')}>{children}</div>;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import clsx from 'clsx';
import React, { HTMLAttributes } from 'react';

interface ContactTimelineHeaderContentProps extends HTMLAttributes<HTMLDivElement> {}
type ContactTimelineHeaderContentProps = HTMLAttributes<HTMLDivElement>;

export const ContactTimelineHeaderContent: React.FC<ContactTimelineHeaderContentProps> = ({ children }) => {
return <div className={clsx('denhaag-contact-timeline__step-header__content')}>{children}</div>;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import clsx from 'clsx';
import React, { HTMLAttributes } from 'react';

interface ContactTimelineHeaderDateProps extends HTMLAttributes<HTMLDivElement> {}
type ContactTimelineHeaderDateProps = HTMLAttributes<HTMLDivElement>;

export const ContactTimelineHeaderDate: React.FC<ContactTimelineHeaderDateProps> = ({ children }) => {
return <div className={clsx('denhaag-contact-timeline__step-header__date')}>{children}</div>;
Expand Down
2 changes: 1 addition & 1 deletion components/ContactTimeline/src/ContactTimelineItemFile.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import clsx from 'clsx';
import React, { HTMLAttributes } from 'react';

interface ContactTimelineItemFileProps extends HTMLAttributes<HTMLDivElement> {}
type ContactTimelineItemFileProps = HTMLAttributes<HTMLDivElement>;

export const ContactTimelineItemFile: React.FC<ContactTimelineItemFileProps> = ({ children }) => {
return <div className={clsx('denhaag-contact-timeline__step-item-file')}>{children}</div>;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import clsx from 'clsx';
import React, { HTMLAttributes } from 'react';

interface ContactTimelineItemSenderProps extends HTMLAttributes<HTMLDivElement> {}
type ContactTimelineItemSenderProps = HTMLAttributes<HTMLDivElement>;

export const ContactTimelineItemSender: React.FC<ContactTimelineItemSenderProps> = ({ children }) => {
return <div className={clsx('denhaag-contact-timeline__step-item-sender')}>{children}</div>;
Expand Down
2 changes: 1 addition & 1 deletion components/ContactTimeline/src/ContactTimelineList.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import clsx from 'clsx';
import React, { OlHTMLAttributes } from 'react';

export interface ContactTimelineListProps extends OlHTMLAttributes<HTMLOListElement> {}
export type ContactTimelineListProps = OlHTMLAttributes<HTMLOListElement>;

export const ContactTimelineList: React.FC<ContactTimelineListProps> = ({
className,
Expand Down
2 changes: 1 addition & 1 deletion components/ContactTimeline/src/ContactTimelineMeta.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import clsx from 'clsx';
import React, { HTMLAttributes } from 'react';

interface ContactTimelineMetaProps extends HTMLAttributes<HTMLDivElement> {}
type ContactTimelineMetaProps = HTMLAttributes<HTMLDivElement>;

export const ContactTimelineMeta: React.FC<ContactTimelineMetaProps> = ({ children }) => {
return <div className={clsx('denhaag-contact-timeline__meta')}>{children}</div>;
Expand Down
2 changes: 1 addition & 1 deletion components/ContactTimeline/src/ContactTimelineMetaItem.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import clsx from 'clsx';
import React, { HTMLAttributes } from 'react';

interface ContactTimelineMetaItemProps extends HTMLAttributes<HTMLDivElement> {}
type ContactTimelineMetaItemProps = HTMLAttributes<HTMLDivElement>;

export const ContactTimelineMetaItem: React.FC<ContactTimelineMetaItemProps> = ({ children }) => {
return <div className={clsx('denhaag-contact-timeline__meta-item')}>{children}</div>;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import clsx from 'clsx';
import React, { HTMLAttributes } from 'react';

interface ContactTimelineMetaSeparatorProps extends HTMLAttributes<HTMLDivElement> {}
type ContactTimelineMetaSeparatorProps = HTMLAttributes<HTMLDivElement>;

export const ContactTimelineMetaSeparator: React.FC<ContactTimelineMetaSeparatorProps> = ({ children }) => {
return <div className={clsx('denhaag-contact-timeline__meta-separator')}>{children}</div>;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import clsx from 'clsx';
import React, { TimeHTMLAttributes } from 'react';

interface ContactTimelineMetaTimeItemProps extends TimeHTMLAttributes<HTMLTimeElement> {}
type ContactTimelineMetaTimeItemProps = TimeHTMLAttributes<HTMLTimeElement>;

export const ContactTimelineMetaTimeItem: React.FC<ContactTimelineMetaTimeItemProps> = ({
children,
Expand Down
2 changes: 1 addition & 1 deletion components/DescriptionList/src/DescriptionListItem.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { HTMLAttributes } from 'react';
import clsx from 'clsx';

export interface DescriptionListItemProps extends HTMLAttributes<HTMLDivElement> {}
export type DescriptionListItemProps = HTMLAttributes<HTMLDivElement>;

export const DescriptionListItem = ({ className, children, ...props }: DescriptionListItemProps) => {
const classNames = clsx('denhaag-description-list-item', className);
Expand Down
2 changes: 1 addition & 1 deletion components/Divider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@gemeente-denhaag/icons": "workspace:*"
},
"peerDependencies": {
"react": "^18.0.0"
"react": "^19.0.0"
},
"gitHead": "dcf72a9b79266c1ebede35aff4a02dd9121a980f"
}
2 changes: 1 addition & 1 deletion components/DotIndicator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@gemeente-denhaag/button": "workspace:*"
},
"peerDependencies": {
"react": "^18.0.0"
"react": "^19.0.0"
},
"gitHead": "dcf72a9b79266c1ebede35aff4a02dd9121a980f"
}
2 changes: 1 addition & 1 deletion components/Footer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@gemeente-denhaag/link-group": "workspace:*",
"@gemeente-denhaag/list": "workspace:*",
"@gemeente-denhaag/responsive-content": "workspace:*",
"@utrecht/component-library-css": "4.1.0",
"@utrecht/component-library-css": "7.0.0",
"@utrecht/component-library-react": "4.2.0"
}
}
4 changes: 2 additions & 2 deletions components/FormField/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
},
"dependencies": {
"@utrecht/component-library-react": "4.2.0",
"@utrecht/components": "6.1.0"
"@utrecht/components": "7.4.0"
},
"peerDependencies": {
"react": "^18.0.0"
"react": "^19.0.0"
}
}
4 changes: 2 additions & 2 deletions components/FormFieldDescription/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
},
"dependencies": {
"@utrecht/component-library-react": "4.2.0",
"@utrecht/components": "6.1.0"
"@utrecht/components": "7.4.0"
},
"peerDependencies": {
"react": "^18.0.0"
"react": "^19.0.0"
}
}
4 changes: 2 additions & 2 deletions components/FormFieldErrorMessage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
},
"devDependencies": {
"@utrecht/component-library-react": "4.2.0",
"@utrecht/components": "6.1.0"
"@utrecht/components": "7.4.0"
},
"peerDependencies": {
"react": "^18.0.0"
"react": "^19.0.0"
}
}
4 changes: 2 additions & 2 deletions components/FormFieldSet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
},
"dependencies": {
"@utrecht/component-library-react": "4.2.0",
"@utrecht/components": "6.1.0"
"@utrecht/components": "7.4.0"
},
"peerDependencies": {
"react": "^18.0.0"
"react": "^19.0.0"
}
}
4 changes: 2 additions & 2 deletions components/FormLabel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
},
"dependencies": {
"@utrecht/component-library-react": "4.2.0",
"@utrecht/components": "6.1.0"
"@utrecht/components": "7.4.0"
},
"peerDependencies": {
"react": "^18.0.0"
"react": "^19.0.0"
}
}
2 changes: 1 addition & 1 deletion components/FormProgress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@gemeente-denhaag/link": "workspace:*"
},
"peerDependencies": {
"react": "^18.0.0"
"react": "^19.0.0"
},
"gitHead": "dcf72a9b79266c1ebede35aff4a02dd9121a980f"
}
Loading
Loading