diff --git a/package.json b/package.json index 0eedb551a2..d46aaf2616 100644 --- a/package.json +++ b/package.json @@ -24,8 +24,8 @@ "@lerna-lite/run": "3.1.0", "@lerna-lite/version": "3.1.0", "@types/node": "20.10.5", - "@typescript-eslint/eslint-plugin": "6.14.0", - "@typescript-eslint/parser": "6.14.0", + "@typescript-eslint/eslint-plugin": "6.15.0", + "@typescript-eslint/parser": "6.15.0", "conventional-changelog-conventionalcommits": "7.0.2", "eslint": "8.56.0", "eslint-config-prettier": "9.1.0", diff --git a/packages/css/package.json b/packages/css/package.json index 1bd9549f1a..b6ef36cc59 100644 --- a/packages/css/package.json +++ b/packages/css/package.json @@ -23,6 +23,6 @@ "sass": "1.69.5" }, "dependencies": { - "@utrecht/components": "2.0.0" + "@utrecht/components": "3.0.0" } } diff --git a/packages/css/src/components/header/README.md b/packages/css/src/components/header/README.md new file mode 100644 index 0000000000..a3d22e9217 --- /dev/null +++ b/packages/css/src/components/header/README.md @@ -0,0 +1,14 @@ +# Header + +A Header offers a container to display a City of Amsterdam logo, subsite title and page menu. + +## Guidelines + +- Use the Header when the site is hosted on amsterdam.nl or one of its subdomains. +- The page menu can contain a maximum of 5 items, including menu and search. +- When you have a long subsite title, use no or as little page menu items as possible. + +## References + +- A Header is a [landmark](https://www.w3.org/TR/wai-aria-practices-1.1/#aria_landmark_roles) and can be use to group navigation elements. +- [WCAG 3.2.3](https://wcag.com/designers/3-2-3-consistent-navigation/) Consistent Navigation: Navigation menus that appear on multiple pages are consistent. diff --git a/packages/css/src/components/header/header.scss b/packages/css/src/components/header/header.scss new file mode 100644 index 0000000000..fd96a3d750 --- /dev/null +++ b/packages/css/src/components/header/header.scss @@ -0,0 +1,85 @@ +/** + * @license EUPL-1.2+ + * Copyright (c) 2023 Gemeente Amsterdam + */ + +@import "../../common/breakpoint"; + +.amsterdam-header { + align-items: center; + display: flex; + flex-wrap: wrap; + padding-block: 1rem; + row-gap: 1.5rem; + + @media screen and (min-width: $amsterdam-breakpoint-wide) { + column-gap: var(--amsterdam-header-column-gap); + flex-wrap: nowrap; + } +} + +.amsterdam-header__logo { + flex: none; + outline-offset: var(--amsterdam-link-outline-offset); +} + +.amsterdam-header__links { + display: none; + + @media screen and (min-width: $amsterdam-breakpoint-medium) { + display: block; + flex: 10 0 auto; + } + + @media screen and (min-width: $amsterdam-breakpoint-wide) { + order: 3; + } +} + +.amsterdam-header__menu { + flex: 1; + padding-inline-start: var(--amsterdam-page-menu-column-gap); + text-align: end; + + @media screen and (min-width: $amsterdam-breakpoint-wide) { + order: 4; + padding-inline-start: 0; + } +} + +.amsterdam-header__title { + flex: 1 1 100%; + + @media screen and (min-width: $amsterdam-breakpoint-wide) { + min-width: 0; + order: 2; + + .amsterdam-header__title-heading { + display: block; + line-height: 1; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + width: 100%; + } + } +} + +// Temporary, will move to megamenu (and/or iconButton) +.amsterdam-header__menu-button { + background-color: transparent; + background-image: url("data:image/svg+xml;utf8,"); + background-position: center right; + background-repeat: no-repeat; + background-size: 19px 19px; + border: 0; + color: var(--amsterdam-page-menu-item-color); + font-family: var(--amsterdam-page-menu-item-font-family); + font-size: var(--amsterdam-page-menu-item-spacious-font-size); + font-weight: var(--amsterdam-page-menu-item-font-weight); + line-height: var(--amsterdam-page-menu-item-spacious-line-height); + margin-block: 0; + padding-inline: 0 30px; + text-align: center; + touch-action: manipulation; +} diff --git a/packages/css/src/components/index.scss b/packages/css/src/components/index.scss index 2543d58358..2a12305770 100644 --- a/packages/css/src/components/index.scss +++ b/packages/css/src/components/index.scss @@ -5,6 +5,7 @@ /* Append here */ @import "./skip-link/skip-link"; +@import "./header/header"; @import "./mark/mark"; @import "./text-input/text-input"; @import "./search-field/search-field"; diff --git a/packages/css/src/components/logo/logo.scss b/packages/css/src/components/logo/logo.scss index c08b1c12e3..71095a8090 100644 --- a/packages/css/src/components/logo/logo.scss +++ b/packages/css/src/components/logo/logo.scss @@ -4,6 +4,7 @@ */ .amsterdam-logo { + display: block; height: var(--amsterdam-logo-height); } diff --git a/packages/css/src/components/page-menu/page-menu.scss b/packages/css/src/components/page-menu/page-menu.scss index 778b2adbc9..9bcd29be35 100644 --- a/packages/css/src/components/page-menu/page-menu.scss +++ b/packages/css/src/components/page-menu/page-menu.scss @@ -14,19 +14,11 @@ -webkit-text-size-adjust: 100%; } -@mixin reset-button { - background-color: transparent; - border: 0; - margin-block: 0; - padding-inline: 0; -} - .amsterdam-page-menu { align-items: center; column-gap: var(--amsterdam-page-menu-column-gap); display: flex; flex-direction: row; - flex-wrap: wrap; list-style: none; row-gap: var(--amsterdam-page-menu-row-gap); @@ -52,6 +44,7 @@ text-decoration-thickness: var(--amsterdam-page-menu-item-text-decoration-thickness); text-underline-offset: var(--amsterdam-page-menu-item-text-underline-offset); touch-action: manipulation; + white-space: nowrap; .amsterdam-theme--compact & { font-size: var(--amsterdam-page-menu-item-compact-font-size); @@ -64,21 +57,12 @@ @include reset-item; } -.amsterdam-page-menu__button { - cursor: pointer; - - @include reset-item; - @include reset-button; - @include page-menu-item; -} - .amsterdam-page-menu__link:hover, .amsterdam-page-menu__button:hover { color: var(--amsterdam-page-menu-item-hover-color); text-decoration-line: var(--amsterdam-page-menu-item-hover-text-decoration-line); } -.amsterdam-page-menu__link svg, -.amsterdam-page-menu__button svg { +.amsterdam-page-menu__link svg { color: currentColor; } diff --git a/packages/react/package.json b/packages/react/package.json index 164f8b2fb8..6a1640fd50 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -33,7 +33,7 @@ ], "dependencies": { "@amsterdam/design-system-react-icons": "workspace:*", - "@utrecht/component-library-react": "2.0.0", + "@utrecht/component-library-react": "3.0.0", "clsx": "2.0.0" }, "devDependencies": { diff --git a/packages/react/src/Header/Header.test.tsx b/packages/react/src/Header/Header.test.tsx new file mode 100644 index 0000000000..4c5e346ad3 --- /dev/null +++ b/packages/react/src/Header/Header.test.tsx @@ -0,0 +1,79 @@ +import { render, screen } from '@testing-library/react' +import { createRef } from 'react' +import { Header, HeaderProps } from './Header' +import '@testing-library/jest-dom' + +describe('Header', () => { + const defaultProps: HeaderProps = { + logoLink: '/', + } + + it('renders', () => { + render(
) + + const component = screen.getByRole('banner') + + expect(component).toBeInTheDocument() + expect(component).toBeVisible() + }) + + it('renders a design system BEM class name', () => { + render(
) + + const component = screen.getByRole('banner') + + expect(component).toHaveClass('amsterdam-header') + }) + + it('renders an additional class name', () => { + render(
) + + const component = screen.getByRole('banner') + + expect(component).toHaveClass('extra') + expect(component).toHaveClass('amsterdam-header') + }) + + it('supports ForwardRef in React', () => { + const ref = createRef() + + render(
) + + const component = screen.getByRole('banner') + + expect(ref.current).toBe(component) + }) + + it('renders with a logo link', () => { + render(
) + + const logoLink = screen.getByRole('link') + + expect(logoLink).toHaveAttribute('href', '/home') + }) + + it('renders with a logo link title', () => { + render(
) + + const logoLinkTitle = screen.getByRole('link', { name: 'Go to homepage' }) + + expect(logoLinkTitle).toHaveTextContent('Go to homepage') + }) + + it('renders with links', () => { + const { container } = render(
Menu Content} />) + + const menu = container.querySelector('.amsterdam-header__links') + + expect(menu).toBeInTheDocument() + expect(menu).toHaveTextContent('Menu Content') + }) + + it('renders with menu button', () => { + render(
Menu Button} />) + + const menu = screen.getByRole('button') + + expect(menu).toBeInTheDocument() + }) +}) diff --git a/packages/react/src/Header/Header.tsx b/packages/react/src/Header/Header.tsx new file mode 100644 index 0000000000..58431439d8 --- /dev/null +++ b/packages/react/src/Header/Header.tsx @@ -0,0 +1,58 @@ +/** + * @license EUPL-1.2+ + * Copyright (c) 2023 Gemeente Amsterdam + */ + +import clsx from 'clsx' +import { ForwardedRef, forwardRef, HTMLAttributes, ReactNode } from 'react' +import { Heading } from '../Heading' +import { Logo } from '../Logo' +import type { LogoBrand } from '../Logo' +import { VisuallyHidden } from '../VisuallyHidden' + +export interface HeaderProps extends HTMLAttributes { + logoBrand?: LogoBrand + logoLink?: string + logoLinkTitle?: string + title?: string + links?: ReactNode + menu?: ReactNode +} + +export const Header = forwardRef( + ( + { + className, + logoBrand = 'amsterdam', + logoLink = '/', + logoLinkTitle = 'Ga naar de homepage', + title, + links, + menu, + ...restProps + }: HeaderProps, + ref: ForwardedRef, + ) => { + return ( + <> +
+ + {logoLinkTitle} + + + {links &&
{links}
} + {menu &&
{menu}
} + {title && ( +
+ + {title} + +
+ )} +
+ + ) + }, +) + +Header.displayName = 'Header' diff --git a/packages/react/src/Header/README.md b/packages/react/src/Header/README.md new file mode 100644 index 0000000000..81814b1e6d --- /dev/null +++ b/packages/react/src/Header/README.md @@ -0,0 +1,3 @@ +# React Header component + +[Header documentation](../../../css/src/header/README.md) diff --git a/packages/react/src/Header/index.ts b/packages/react/src/Header/index.ts new file mode 100644 index 0000000000..acc1f0dbc9 --- /dev/null +++ b/packages/react/src/Header/index.ts @@ -0,0 +1,2 @@ +export { Header } from './Header' +export type { HeaderProps } from './Header' diff --git a/packages/react/src/Logo/Logo.tsx b/packages/react/src/Logo/Logo.tsx index 6d5d8f1dbc..a50322fb10 100644 --- a/packages/react/src/Logo/Logo.tsx +++ b/packages/react/src/Logo/Logo.tsx @@ -13,7 +13,7 @@ import { LogoVgaVerzekeringen, } from './brand' -type LogoBrand = 'amsterdam' | 'ggd-amsterdam' | 'stadsarchief' | 'stadsbank-van-lening' | 'vga-verzekeringen' +export type LogoBrand = 'amsterdam' | 'ggd-amsterdam' | 'stadsarchief' | 'stadsbank-van-lening' | 'vga-verzekeringen' export interface LogoProps extends SVGProps { brand?: LogoBrand diff --git a/packages/react/src/Logo/index.ts b/packages/react/src/Logo/index.ts index 42283d84d8..074124480a 100644 --- a/packages/react/src/Logo/index.ts +++ b/packages/react/src/Logo/index.ts @@ -1,2 +1,2 @@ export { Logo } from './Logo' -export type { LogoProps } from './Logo' +export type { LogoProps, LogoBrand } from './Logo' diff --git a/packages/react/src/PageMenu/PageMenu.test.tsx b/packages/react/src/PageMenu/PageMenu.test.tsx index d198d4df35..bf35e241a7 100644 --- a/packages/react/src/PageMenu/PageMenu.test.tsx +++ b/packages/react/src/PageMenu/PageMenu.test.tsx @@ -1,4 +1,4 @@ -import { LoginIcon, MenuIcon } from '@amsterdam/design-system-react-icons' +import { LoginIcon } from '@amsterdam/design-system-react-icons' import { render } from '@testing-library/react' import { createRef } from 'react' import { PageMenu } from './PageMenu' @@ -12,7 +12,6 @@ describe('Page menu', () => { Inloggen Mijn Amsterdam - Alle onderwerpen , ) const component = container.querySelector(':only-child') @@ -20,8 +19,8 @@ describe('Page menu', () => { const icons = container.querySelectorAll('svg') expect(component).toBeInTheDocument() expect(component).toBeVisible() - expect(children.length).toBe(3) - expect(icons.length).toBe(2) + expect(children.length).toBe(2) + expect(icons.length).toBe(1) }) it('renders a design system BEM class name', () => { diff --git a/packages/react/src/PageMenu/PageMenu.tsx b/packages/react/src/PageMenu/PageMenu.tsx index 4090f1da15..bc2ccfadd6 100644 --- a/packages/react/src/PageMenu/PageMenu.tsx +++ b/packages/react/src/PageMenu/PageMenu.tsx @@ -26,7 +26,6 @@ type PageMenuProps = { interface PageMenuComponent extends ForwardRefExoticComponent> { Link: typeof PageMenuLink - Button: typeof PageMenuButton } export const PageMenu = forwardRef( @@ -49,6 +48,7 @@ export interface PageMenuLinkProps extends PropsWithChildren> { icon?: Function + showOnMobile?: boolean } const PageMenuLink = forwardRef( @@ -64,21 +64,6 @@ const PageMenuLink = forwardRef( }, ) -const PageMenuButton = forwardRef( - ({ children, icon, ...restProps }: PageMenuButtonProps, ref: ForwardedRef) => { - return ( -
  • - -
  • - ) - }, -) - PageMenu.displayName = 'PageMenu' PageMenuLink.displayName = 'PageMenu.Link' -PageMenuButton.displayName = 'PageMenu.Button' PageMenu.Link = PageMenuLink -PageMenu.Button = PageMenuButton diff --git a/packages/react/src/TextInput/TextInput.tsx b/packages/react/src/TextInput/TextInput.tsx index 2724c3bf7e..3df8ce16e2 100644 --- a/packages/react/src/TextInput/TextInput.tsx +++ b/packages/react/src/TextInput/TextInput.tsx @@ -6,9 +6,7 @@ import clsx from 'clsx' import { ForwardedRef, forwardRef, InputHTMLAttributes } from 'react' -export interface TextInputProps extends InputHTMLAttributes { - label?: string -} +export interface TextInputProps extends InputHTMLAttributes {} export const TextInput = forwardRef( ({ className, ...restProps }: TextInputProps, ref: ForwardedRef) => ( diff --git a/packages/react/src/index.ts b/packages/react/src/index.ts index f135212c9c..689ea07497 100644 --- a/packages/react/src/index.ts +++ b/packages/react/src/index.ts @@ -5,6 +5,7 @@ /* Append here */ export * from './SkipLink' +export * from './Header' export * from './Mark' export * from './TextInput' export * from './SearchField' diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 81d1151fde..e11721d30f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -28,11 +28,11 @@ importers: specifier: 20.10.5 version: 20.10.5 '@typescript-eslint/eslint-plugin': - specifier: 6.14.0 - version: 6.14.0(@typescript-eslint/parser@6.14.0)(eslint@8.56.0)(typescript@5.3.3) + specifier: 6.15.0 + version: 6.15.0(@typescript-eslint/parser@6.15.0)(eslint@8.56.0)(typescript@5.3.3) '@typescript-eslint/parser': - specifier: 6.14.0 - version: 6.14.0(eslint@8.56.0)(typescript@5.3.3) + specifier: 6.15.0 + version: 6.15.0(eslint@8.56.0)(typescript@5.3.3) conventional-changelog-conventionalcommits: specifier: 7.0.2 version: 7.0.2 @@ -44,10 +44,10 @@ importers: version: 9.1.0(eslint@8.56.0) eslint-plugin-import: specifier: 2.29.1 - version: 2.29.1(@typescript-eslint/parser@6.14.0)(eslint@8.56.0) + version: 2.29.1(@typescript-eslint/parser@6.15.0)(eslint@8.56.0) eslint-plugin-jest: specifier: 27.6.0 - version: 27.6.0(@typescript-eslint/eslint-plugin@6.14.0)(eslint@8.56.0)(typescript@5.3.3) + version: 27.6.0(@typescript-eslint/eslint-plugin@6.15.0)(eslint@8.56.0)(typescript@5.3.3) eslint-plugin-json: specifier: 3.1.0 version: 3.1.0 @@ -109,8 +109,8 @@ importers: packages/css: dependencies: '@utrecht/components': - specifier: 2.0.0 - version: 2.0.0 + specifier: 3.0.0 + version: 3.0.0 devDependencies: '@amsterdam/design-system-tokens': specifier: workspace:* @@ -125,8 +125,8 @@ importers: specifier: workspace:* version: link:../../proprietary/react-icons '@utrecht/component-library-react': - specifier: 2.0.0 - version: 2.0.0(react-dom@18.2.0)(react@18.2.0) + specifier: 3.0.0 + version: 3.0.0(react-dom@18.2.0)(react@18.2.0) clsx: specifier: 2.0.0 version: 2.0.0 @@ -308,47 +308,47 @@ importers: specifier: 2.3.0 version: 2.3.0(react@18.2.0) '@storybook/addon-a11y': - specifier: 7.6.5 - version: 7.6.5 + specifier: 7.6.6 + version: 7.6.6 '@storybook/addon-actions': - specifier: 7.6.5 - version: 7.6.5 + specifier: 7.6.6 + version: 7.6.6 '@storybook/addon-docs': - specifier: 7.6.5 - version: 7.6.5(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0) + specifier: 7.6.6 + version: 7.6.6(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0) '@storybook/addon-essentials': - specifier: 7.6.5 - version: 7.6.5(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0) + specifier: 7.6.6 + version: 7.6.6(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0) '@storybook/addon-interactions': - specifier: 7.6.5 - version: 7.6.5 + specifier: 7.6.6 + version: 7.6.6 '@storybook/addon-links': - specifier: 7.6.5 - version: 7.6.5(react@18.2.0) + specifier: 7.6.6 + version: 7.6.6(react@18.2.0) '@storybook/addon-viewport': - specifier: 7.6.5 - version: 7.6.5 + specifier: 7.6.6 + version: 7.6.6 '@storybook/blocks': - specifier: 7.6.5 - version: 7.6.5(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0) + specifier: 7.6.6 + version: 7.6.6(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0) '@storybook/manager-api': - specifier: 7.6.5 - version: 7.6.5(react-dom@18.2.0)(react@18.2.0) + specifier: 7.6.6 + version: 7.6.6(react-dom@18.2.0)(react@18.2.0) '@storybook/mdx2-csf': specifier: 1.1.0 version: 1.1.0 '@storybook/react': - specifier: 7.6.5 - version: 7.6.5(react-dom@18.2.0)(react@18.2.0)(typescript@5.3.3) + specifier: 7.6.6 + version: 7.6.6(react-dom@18.2.0)(react@18.2.0)(typescript@5.3.3) '@storybook/react-vite': - specifier: 7.6.5 - version: 7.6.5(react-dom@18.2.0)(react@18.2.0)(typescript@5.3.3)(vite@5.0.10) + specifier: 7.6.6 + version: 7.6.6(react-dom@18.2.0)(react@18.2.0)(typescript@5.3.3)(vite@5.0.10) '@storybook/testing-library': specifier: 0.2.2 version: 0.2.2 '@storybook/theming': - specifier: 7.6.5 - version: 7.6.5(react-dom@18.2.0)(react@18.2.0) + specifier: 7.6.6 + version: 7.6.6(react-dom@18.2.0)(react@18.2.0) '@types/react': specifier: 18.2.45 version: 18.2.45 @@ -374,8 +374,8 @@ importers: specifier: 1.69.5 version: 1.69.5 storybook: - specifier: 7.6.5 - version: 7.6.5 + specifier: 7.6.6 + version: 7.6.6 vite: specifier: 5.0.10 version: 5.0.10(@types/node@20.10.5)(sass@1.69.5) @@ -408,59 +408,59 @@ importers: specifier: 2.3.0 version: 2.3.0(react@18.2.0) '@storybook/addon-a11y': - specifier: 7.6.5 - version: 7.6.5 + specifier: 7.6.6 + version: 7.6.6 '@storybook/addon-actions': - specifier: 7.6.5 - version: 7.6.5 + specifier: 7.6.6 + version: 7.6.6 '@storybook/addon-docs': - specifier: 7.6.5 - version: 7.6.5(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0) + specifier: 7.6.6 + version: 7.6.6(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0) '@storybook/addon-essentials': - specifier: 7.6.5 - version: 7.6.5(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0) + specifier: 7.6.6 + version: 7.6.6(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0) '@storybook/addon-interactions': - specifier: 7.6.5 - version: 7.6.5 + specifier: 7.6.6 + version: 7.6.6 '@storybook/addon-links': - specifier: 7.6.5 - version: 7.6.5(react@18.2.0) + specifier: 7.6.6 + version: 7.6.6(react@18.2.0) '@storybook/addons': - specifier: 7.6.5 - version: 7.6.5(react-dom@18.2.0)(react@18.2.0) + specifier: 7.6.6 + version: 7.6.6(react-dom@18.2.0)(react@18.2.0) '@storybook/api': - specifier: 7.6.5 - version: 7.6.5(react-dom@18.2.0)(react@18.2.0) + specifier: 7.6.6 + version: 7.6.6(react-dom@18.2.0)(react@18.2.0) '@storybook/blocks': - specifier: 7.6.5 - version: 7.6.5(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0) + specifier: 7.6.6 + version: 7.6.6(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0) '@storybook/components': - specifier: 7.6.5 - version: 7.6.5(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0) + specifier: 7.6.6 + version: 7.6.6(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0) '@storybook/core-events': - specifier: 7.6.5 - version: 7.6.5 + specifier: 7.6.6 + version: 7.6.6 '@storybook/manager-api': - specifier: 7.6.5 - version: 7.6.5(react-dom@18.2.0)(react@18.2.0) + specifier: 7.6.6 + version: 7.6.6(react-dom@18.2.0)(react@18.2.0) '@storybook/mdx2-csf': specifier: 1.1.0 version: 1.1.0 '@storybook/preview-api': - specifier: 7.6.5 - version: 7.6.5 + specifier: 7.6.6 + version: 7.6.6 '@storybook/react': - specifier: 7.6.5 - version: 7.6.5(react-dom@18.2.0)(react@18.2.0)(typescript@5.3.3) + specifier: 7.6.6 + version: 7.6.6(react-dom@18.2.0)(react@18.2.0)(typescript@5.3.3) '@storybook/react-vite': - specifier: 7.6.5 - version: 7.6.5(react-dom@18.2.0)(react@18.2.0)(typescript@5.3.3)(vite@5.0.10) + specifier: 7.6.6 + version: 7.6.6(react-dom@18.2.0)(react@18.2.0)(typescript@5.3.3)(vite@5.0.10) '@storybook/testing-library': specifier: 0.2.2 version: 0.2.2 '@storybook/theming': - specifier: 7.6.5 - version: 7.6.5(react-dom@18.2.0)(react@18.2.0) + specifier: 7.6.6 + version: 7.6.6(react-dom@18.2.0)(react@18.2.0) '@types/react': specifier: 18.2.45 version: 18.2.45 @@ -480,8 +480,8 @@ importers: specifier: 2.0.2 version: 2.0.2 storybook: - specifier: 7.6.5 - version: 7.6.5 + specifier: 7.6.6 + version: 7.6.6 vite: specifier: 5.0.10 version: 5.0.10(@types/node@20.10.5)(sass@1.69.5) @@ -4511,17 +4511,17 @@ packages: '@sinonjs/commons': 2.0.0 dev: true - /@storybook/addon-a11y@7.6.5: - resolution: {integrity: sha512-mbwjgdlNDcp0nL29s9FoF+HEFmWn0fMXfTcgMNjQWHs+sfmOy6w3llk0n0RJeDjc+x2Y8Oj2c+JwLU1hhJBnag==} + /@storybook/addon-a11y@7.6.6: + resolution: {integrity: sha512-D7TlxmPB4qoqN1q1WoVvRCIAB6RhDN7s0JL4qvznK3cdDDkQyfk3zvip97NhbT5ZSLjpszyElV9CfWht1O341w==} dependencies: - '@storybook/addon-highlight': 7.6.5 + '@storybook/addon-highlight': 7.6.6 axe-core: 4.7.0 dev: true - /@storybook/addon-actions@7.6.5: - resolution: {integrity: sha512-lW/m9YcaNfBZk+TZLxyzHdd563mBWpsUIveOKYjcPdl/q0FblWWZrRsFHqwLK1ldZ4AZXs8J/47G8CBr6Ew2uQ==} + /@storybook/addon-actions@7.6.6: + resolution: {integrity: sha512-mLJip9Evb2Chj7ymKbpaybe5NgDy3Du7oSWeURPy/0qXJ2cBqHWnhZ8CTK2DasrstsUhQSJaZVXHhaENT+fn+g==} dependencies: - '@storybook/core-events': 7.6.5 + '@storybook/core-events': 7.6.6 '@storybook/global': 5.0.0 '@types/uuid': 9.0.7 dequal: 2.0.3 @@ -4529,18 +4529,18 @@ packages: uuid: 9.0.1 dev: true - /@storybook/addon-backgrounds@7.6.5: - resolution: {integrity: sha512-wZZOL19vg4TTRtOTl71XKqPe5hQx3XUh9Fle0wOi91FiFrBdqusrppnyS89wPS8RQG5lXEOFEUvYcMmdCcdZfw==} + /@storybook/addon-backgrounds@7.6.6: + resolution: {integrity: sha512-w5dZ/0cOe55M2G/Lx9f+Ptk4txUPb+Ng+KqEvTaTNqHoh0Xw4QxEn/ciJwmh1u1g3aMZsOgOvwPwug7ykmLgsA==} dependencies: '@storybook/global': 5.0.0 memoizerific: 1.11.3 ts-dedent: 2.2.0 dev: true - /@storybook/addon-controls@7.6.5(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-EdSZ2pYf74mOXZGGJ22lrDvdvL0YKc95iWv9FFEhUFOloMy/0OZPB2ybYmd2KVCy3SeIE4Zfeiw8pDXdCUniOQ==} + /@storybook/addon-controls@7.6.6(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-VAXXfPLi1M3RXhBf3uIBZ2hrD9UPDe7yvXHIlCzgj1HIJELODCFyUc+RtvN0mPc/nnlEfzhGfJtenZou5LYwIw==} dependencies: - '@storybook/blocks': 7.6.5(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0) + '@storybook/blocks': 7.6.6(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0) lodash: 4.17.21 ts-dedent: 2.2.0 transitivePeerDependencies: @@ -4552,27 +4552,27 @@ packages: - supports-color dev: true - /@storybook/addon-docs@7.6.5(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-D9tZyD41IujCHiPYdfS2bKtZRJPNwO4EydzyqODXppomluhFbY3uTEaf0H1UFnJLQxWNXZ7rr3aS0V3O6yu8pA==} + /@storybook/addon-docs@7.6.6(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-l4gtoNTn1wHE11x44te1cDkqfm+/w+eNonHe56bwgSqETclS5z18wvM9bQZF32G6C9fpSefaJW3cxVvcuJL1fg==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 dependencies: '@jest/transform': 29.7.0 '@mdx-js/react': 2.3.0(react@18.2.0) - '@storybook/blocks': 7.6.5(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0) - '@storybook/client-logger': 7.6.5 - '@storybook/components': 7.6.5(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0) - '@storybook/csf-plugin': 7.6.5 - '@storybook/csf-tools': 7.6.5 + '@storybook/blocks': 7.6.6(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0) + '@storybook/client-logger': 7.6.6 + '@storybook/components': 7.6.6(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0) + '@storybook/csf-plugin': 7.6.6 + '@storybook/csf-tools': 7.6.6 '@storybook/global': 5.0.0 '@storybook/mdx2-csf': 1.1.0 - '@storybook/node-logger': 7.6.5 - '@storybook/postinstall': 7.6.5 - '@storybook/preview-api': 7.6.5 - '@storybook/react-dom-shim': 7.6.5(react-dom@18.2.0)(react@18.2.0) - '@storybook/theming': 7.6.5(react-dom@18.2.0)(react@18.2.0) - '@storybook/types': 7.6.5 + '@storybook/node-logger': 7.6.6 + '@storybook/postinstall': 7.6.6 + '@storybook/preview-api': 7.6.6 + '@storybook/react-dom-shim': 7.6.6(react-dom@18.2.0)(react@18.2.0) + '@storybook/theming': 7.6.6(react-dom@18.2.0)(react@18.2.0) + '@storybook/types': 7.6.6 fs-extra: 11.2.0 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) @@ -4586,25 +4586,25 @@ packages: - supports-color dev: true - /@storybook/addon-essentials@7.6.5(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-VCLj1JAEpGoqF5iFJOo1CZFFck/tg4m/98DLdQuNuXvxT6jqaF0NI9UUQuJLIGteDCR7NKRbTFc1hV3/Ev+Ziw==} + /@storybook/addon-essentials@7.6.6(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-OQ8A6r06mg/HvyIk/j2Gt9DK5Qtqgtwq2Ydm5IgVW6gZsuRnv1FAeUG6okf8oXowAzpYoHdsDmCVwNOAGWGO7w==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 dependencies: - '@storybook/addon-actions': 7.6.5 - '@storybook/addon-backgrounds': 7.6.5 - '@storybook/addon-controls': 7.6.5(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0) - '@storybook/addon-docs': 7.6.5(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0) - '@storybook/addon-highlight': 7.6.5 - '@storybook/addon-measure': 7.6.5 - '@storybook/addon-outline': 7.6.5 - '@storybook/addon-toolbars': 7.6.5 - '@storybook/addon-viewport': 7.6.5 - '@storybook/core-common': 7.6.5 - '@storybook/manager-api': 7.6.5(react-dom@18.2.0)(react@18.2.0) - '@storybook/node-logger': 7.6.5 - '@storybook/preview-api': 7.6.5 + '@storybook/addon-actions': 7.6.6 + '@storybook/addon-backgrounds': 7.6.6 + '@storybook/addon-controls': 7.6.6(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0) + '@storybook/addon-docs': 7.6.6(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0) + '@storybook/addon-highlight': 7.6.6 + '@storybook/addon-measure': 7.6.6 + '@storybook/addon-outline': 7.6.6 + '@storybook/addon-toolbars': 7.6.6 + '@storybook/addon-viewport': 7.6.6 + '@storybook/core-common': 7.6.6 + '@storybook/manager-api': 7.6.6(react-dom@18.2.0)(react@18.2.0) + '@storybook/node-logger': 7.6.6 + '@storybook/preview-api': 7.6.6 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) ts-dedent: 2.2.0 @@ -4615,24 +4615,24 @@ packages: - supports-color dev: true - /@storybook/addon-highlight@7.6.5: - resolution: {integrity: sha512-CxzmIb30F9nLPQwT0lCPYhOAwGlGF4IkgkO8hYA7VfGCGUkJZEyyN/YkP/ZCUSdCIRChDBouR3KiFFd4mDFKzg==} + /@storybook/addon-highlight@7.6.6: + resolution: {integrity: sha512-B85UaCts2uMpa0yHBSnupzy2WCdW4vfB+lfaBug9beyOyZQdel07BumblE0KwSJftYgdCNPUZ5MRlqEDzMLTWQ==} dependencies: '@storybook/global': 5.0.0 dev: true - /@storybook/addon-interactions@7.6.5: - resolution: {integrity: sha512-8Hzt9u1DQzFvtGER/hCGIvGpCoVwzVoqpM98f2KAIVx/NMFmRW7UyKihXzw1j2t4q2ZaF2jZDYWCBqlP+iwILA==} + /@storybook/addon-interactions@7.6.6: + resolution: {integrity: sha512-EJWx6ciJPgv1c75tB/M4smWDpPDGM/L24v4DZxGpl1eV3oQOSQCKImG5btwoy6QcIi68ozroUHdUti/kzCKS1w==} dependencies: '@storybook/global': 5.0.0 - '@storybook/types': 7.6.5 + '@storybook/types': 7.6.6 jest-mock: 27.5.1 polished: 4.2.2 ts-dedent: 2.2.0 dev: true - /@storybook/addon-links@7.6.5(react@18.2.0): - resolution: {integrity: sha512-Lx4Ng+iXt0YpIrKGr+nOZlpN9ypOoEDoP/7bZ6m7GXuVAkDm3JrRCBp7e2ZKSKcTxPdjPuO9HVKkIjtqjINlpw==} + /@storybook/addon-links@7.6.6(react@18.2.0): + resolution: {integrity: sha512-NEcqOz6zZ1dJnCcVmYdaQTAMAGIb8NFAZGnr9DU0q+t4B1fTaWUgqLtBM5V6YqIrXGSC/oKLpjWUkS5UpswlHA==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 peerDependenciesMeta: @@ -4645,68 +4645,68 @@ packages: ts-dedent: 2.2.0 dev: true - /@storybook/addon-measure@7.6.5: - resolution: {integrity: sha512-tlUudVQSrA+bwI4dhO8J7nYHtYdylcBZ86ybnqMmdTthsnyc7jnaFVQwbb6bbQJpPxvEvoNds5bVGUFocuvymQ==} + /@storybook/addon-measure@7.6.6: + resolution: {integrity: sha512-b4hyCudlhsbYN1We8pfZHZJ0i0sfC8+GJvrqZQqdSqGicUmA00mggY1GE+gEoHziQ5/4auxFRS3HfUgaQWUNjg==} dependencies: '@storybook/global': 5.0.0 tiny-invariant: 1.3.1 dev: true - /@storybook/addon-outline@7.6.5: - resolution: {integrity: sha512-P7X4+Z9L/l/RZW9UvvM+iuK2SUHD22KPc+dbYOifRXDovUqhfmcKVh1CUqTDMyZrg2ZAbropehMz1eI9BlQfxg==} + /@storybook/addon-outline@7.6.6: + resolution: {integrity: sha512-BMjpjzNEnN8LC7JK92WCXyWgmJwAaEQjRDinr7eD4cBt4Uas5kbciw1g8PtTnh0GbYUsImKao0nzakSVObAdzg==} dependencies: '@storybook/global': 5.0.0 ts-dedent: 2.2.0 dev: true - /@storybook/addon-toolbars@7.6.5: - resolution: {integrity: sha512-/zqWbVNE/SHc8I5Prnd2Q8U57RGEIYvHfeXjfkuLcE2Quc4Iss4x/9eU7SKu4jm+IOO2s0wlN6HcqI3XEf2XxA==} + /@storybook/addon-toolbars@7.6.6: + resolution: {integrity: sha512-sQm5+FcoSMSGn1ioXHoukO6OhUlcNZil0/fonAY50uvp6Z4DyI0FTU7BKIm/NoMqAExQk3sZRfAC/nZZ9Epb0Q==} dev: true - /@storybook/addon-viewport@7.6.5: - resolution: {integrity: sha512-9ghKTaduIUvQ6oShmWLuwMeTjtMR4RgKeKHrTJ7THMqvE/ydDPCYeL7ugF65ocXZSEz/QmxdK7uL686ZMKsqNA==} + /@storybook/addon-viewport@7.6.6: + resolution: {integrity: sha512-/ijbzDf1Iq30LvZW2NE8cO4TeHusw0N+jTDUK1+vhxGNMFo9DUIgRkAi6VpFEfS0aQ5d82523WSWzVso7b/Hmg==} dependencies: memoizerific: 1.11.3 dev: true - /@storybook/addons@7.6.5(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-v+d8io1MsgTd7rruYInfKXY0c1uXn+ADLxAppUI0PUwPFYwg9tLn3cvwgt5SVum9E5IkVQwXoW6JNkDC5fC8XQ==} + /@storybook/addons@7.6.6(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-QkbN0KNCyfuiJOfV5kCn1gy6rEpntQ95csbtBKldIlgVcaXe8g8DH/b7+4KS4fo5mdGyTgvGO+LUapVN5YtUqQ==} dependencies: - '@storybook/manager-api': 7.6.5(react-dom@18.2.0)(react@18.2.0) - '@storybook/preview-api': 7.6.5 - '@storybook/types': 7.6.5 + '@storybook/manager-api': 7.6.6(react-dom@18.2.0)(react@18.2.0) + '@storybook/preview-api': 7.6.6 + '@storybook/types': 7.6.6 transitivePeerDependencies: - react - react-dom dev: true - /@storybook/api@7.6.5(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-o1RH47iIgG4ie4hjJP1HgsCiuTKlGW0egaAy6E6Np3bDmujy5udWEf8vnXbcaBerc5ZSrQs45kfSWugHy2a4FA==} + /@storybook/api@7.6.6(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-e3k45k7twP3z5ZJ+rCCaHI+jmYm5yoFo2eLjYmnYFUv2V3vvYPgqD2CiT0crne7uWmhpRxP49aU9DEvQaEZtdA==} dependencies: - '@storybook/client-logger': 7.6.5 - '@storybook/manager-api': 7.6.5(react-dom@18.2.0)(react@18.2.0) + '@storybook/client-logger': 7.6.6 + '@storybook/manager-api': 7.6.6(react-dom@18.2.0)(react@18.2.0) transitivePeerDependencies: - react - react-dom dev: true - /@storybook/blocks@7.6.5(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-/NjuYkPks5w9lKn47KLgVC5cBkwfc+ERAp0CY0Xe//BQJkP+bcI8lE8d9Qc9IXFbOTvYEULeQrFgCkesk5BmLg==} + /@storybook/blocks@7.6.6(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-QLqkiSNrtGnh8RK9ipD63jVAUenkRu+72xR31DViZWRV9V8G2hzky5E/RoZWPEx+DfmBIUJ7Tcef6cCRcxEj9A==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 dependencies: - '@storybook/channels': 7.6.5 - '@storybook/client-logger': 7.6.5 - '@storybook/components': 7.6.5(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0) - '@storybook/core-events': 7.6.5 + '@storybook/channels': 7.6.6 + '@storybook/client-logger': 7.6.6 + '@storybook/components': 7.6.6(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0) + '@storybook/core-events': 7.6.6 '@storybook/csf': 0.1.2 - '@storybook/docs-tools': 7.6.5 + '@storybook/docs-tools': 7.6.6 '@storybook/global': 5.0.0 - '@storybook/manager-api': 7.6.5(react-dom@18.2.0)(react@18.2.0) - '@storybook/preview-api': 7.6.5 - '@storybook/theming': 7.6.5(react-dom@18.2.0)(react@18.2.0) - '@storybook/types': 7.6.5 + '@storybook/manager-api': 7.6.6(react-dom@18.2.0)(react@18.2.0) + '@storybook/preview-api': 7.6.6 + '@storybook/theming': 7.6.6(react-dom@18.2.0)(react@18.2.0) + '@storybook/types': 7.6.6 '@types/lodash': 4.14.202 color-convert: 2.0.1 dequal: 2.0.3 @@ -4728,13 +4728,13 @@ packages: - supports-color dev: true - /@storybook/builder-manager@7.6.5: - resolution: {integrity: sha512-FQyI+tfzMam2XKXq7k921YVafIJs9Vqvos5qx8vyRnRffo55UU8tgunwjGn0PswtbMm6sThVqE0C0ZzVr7RG8A==} + /@storybook/builder-manager@7.6.6: + resolution: {integrity: sha512-96vmtUqh016H2n80xhvBZU2w5flTOzY7S0nW9nfxbY4UY4b39WajgwJ5wpg8l0YmCwQTrxCwY9/VE2Pd6CCqPA==} dependencies: '@fal-works/esbuild-plugin-global-externals': 2.1.2 - '@storybook/core-common': 7.6.5 - '@storybook/manager': 7.6.5 - '@storybook/node-logger': 7.6.5 + '@storybook/core-common': 7.6.6 + '@storybook/manager': 7.6.6 + '@storybook/node-logger': 7.6.6 '@types/ejs': 3.1.2 '@types/find-cache-dir': 3.2.1 '@yarnpkg/esbuild-plugin-pnp': 3.0.0-rc.15(esbuild@0.18.12) @@ -4752,8 +4752,8 @@ packages: - supports-color dev: true - /@storybook/builder-vite@7.6.5(typescript@5.3.3)(vite@5.0.10): - resolution: {integrity: sha512-VbAYTGr92lgCWTwO2Z7NgSW3f5/K4Vr0Qxa2IlTgMCymWdDbWdIQiREcmCP0vjAGM2ftq1+vxngohVgx/r7pUw==} + /@storybook/builder-vite@7.6.6(typescript@5.3.3)(vite@5.0.10): + resolution: {integrity: sha512-vDBHjsswnVScVgGHeIZ22R/LoRt5T1F62p5czusydBSxKGzma5Va4JHQJp4/IKXwiCZbXcua/Cs7VKtBLO+50A==} peerDependencies: '@preact/preset-vite': '*' typescript: '>= 4.3.x' @@ -4767,14 +4767,14 @@ packages: vite-plugin-glimmerx: optional: true dependencies: - '@storybook/channels': 7.6.5 - '@storybook/client-logger': 7.6.5 - '@storybook/core-common': 7.6.5 - '@storybook/csf-plugin': 7.6.5 - '@storybook/node-logger': 7.6.5 - '@storybook/preview': 7.6.5 - '@storybook/preview-api': 7.6.5 - '@storybook/types': 7.6.5 + '@storybook/channels': 7.6.6 + '@storybook/client-logger': 7.6.6 + '@storybook/core-common': 7.6.6 + '@storybook/csf-plugin': 7.6.6 + '@storybook/node-logger': 7.6.6 + '@storybook/preview': 7.6.6 + '@storybook/preview-api': 7.6.6 + '@storybook/types': 7.6.6 '@types/find-cache-dir': 3.2.1 browser-assert: 1.2.1 es-module-lexer: 0.9.3 @@ -4790,33 +4790,33 @@ packages: - supports-color dev: true - /@storybook/channels@7.6.5: - resolution: {integrity: sha512-FIlNkyfQy9uHoJfAFL2/wO3ASGJELFvBzURBE2rcEF/TS7GcUiqWnBfiDxAbwSEjSOm2F0eEq3UXhaZEjpJHDw==} + /@storybook/channels@7.6.6: + resolution: {integrity: sha512-vvo7fBe2WffPonNNOA7Xx7jcHAto8qJYlq+VMysfheXrsRRbhHl3WQOA18Vm8hV9txtqdqk0hwQiXOWvhYVpeQ==} dependencies: - '@storybook/client-logger': 7.6.5 - '@storybook/core-events': 7.6.5 + '@storybook/client-logger': 7.6.6 + '@storybook/core-events': 7.6.6 '@storybook/global': 5.0.0 qs: 6.11.1 telejson: 7.2.0 tiny-invariant: 1.3.1 dev: true - /@storybook/cli@7.6.5: - resolution: {integrity: sha512-w+Y8dx5oCLQVESOVmpsQuFksr/ewARKrnSKl9kwnVMN4sMgjOgoZ3zmV66J7SKexvwyuwlOjf840pmEglGdPPg==} + /@storybook/cli@7.6.6: + resolution: {integrity: sha512-FLmWrbmGOqe1VYwqyIWxU2lJcYPssORmSbSVVPw6OqQIXx3NrNBrmZDLncMwbVCDQ8eU54J1zb+MyDmSqMbVFg==} hasBin: true dependencies: '@babel/core': 7.23.6 '@babel/preset-env': 7.23.6(@babel/core@7.23.6) '@babel/types': 7.23.6 '@ndelangen/get-tarball': 3.0.7 - '@storybook/codemod': 7.6.5 - '@storybook/core-common': 7.6.5 - '@storybook/core-events': 7.6.5 - '@storybook/core-server': 7.6.5 - '@storybook/csf-tools': 7.6.5 - '@storybook/node-logger': 7.6.5 - '@storybook/telemetry': 7.6.5 - '@storybook/types': 7.6.5 + '@storybook/codemod': 7.6.6 + '@storybook/core-common': 7.6.6 + '@storybook/core-events': 7.6.6 + '@storybook/core-server': 7.6.6 + '@storybook/csf-tools': 7.6.6 + '@storybook/node-logger': 7.6.6 + '@storybook/telemetry': 7.6.6 + '@storybook/types': 7.6.6 '@types/semver': 7.5.5 '@yarnpkg/fslib': 2.10.3 '@yarnpkg/libzip': 2.3.0 @@ -4853,22 +4853,22 @@ packages: - utf-8-validate dev: true - /@storybook/client-logger@7.6.5: - resolution: {integrity: sha512-S5aROWgssqg7tcs9lgW5wmCAz4SxMAtioiyVj5oFecmPCbQtFVIAREYzeoxE4GfJL+plrfRkum4BzziANn8EhQ==} + /@storybook/client-logger@7.6.6: + resolution: {integrity: sha512-WEvVyuQR5oNF8jcMmGA13zDjxP/l46kOBBvB6JSc8toUdtLZ/kZWSnU0ioNM8+ECpFqXHjBcF2K6uSJOEb6YEg==} dependencies: '@storybook/global': 5.0.0 dev: true - /@storybook/codemod@7.6.5: - resolution: {integrity: sha512-K5C9ltBClZ0aSyujGt3RJFtRicrUZy8nzhHrcADUj27rrQD26jH/p+Y05jWKj9JcI8SyMg978GN5X/1aw2Y31A==} + /@storybook/codemod@7.6.6: + resolution: {integrity: sha512-6QwW6T6ZgwwbTkEoZ7CAoX7lUUob7Sy7bRkMHhSjJe2++wEVFOYLvzHcLUJCupK59+WhmsJU9PpUMlXEKi40TQ==} dependencies: '@babel/core': 7.23.6 '@babel/preset-env': 7.23.6(@babel/core@7.23.6) '@babel/types': 7.23.6 '@storybook/csf': 0.1.2 - '@storybook/csf-tools': 7.6.5 - '@storybook/node-logger': 7.6.5 - '@storybook/types': 7.6.5 + '@storybook/csf-tools': 7.6.6 + '@storybook/node-logger': 7.6.6 + '@storybook/types': 7.6.6 '@types/cross-spawn': 6.0.2 cross-spawn: 7.0.3 globby: 11.1.0 @@ -4880,19 +4880,19 @@ packages: - supports-color dev: true - /@storybook/components@7.6.5(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-w4ZucbBBZ+NKMWlJKVj2I/bMBBq7gzDp9lzc4+8QaQ3vUPXKqc1ilIPYo/7UR5oxwDVMZocmMSgl9L8lvf7+Mw==} + /@storybook/components@7.6.6(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-FSfcRxdmV4+LJHjMk0eodGVnZdb2qrKKmbtsn0O/434z586zPA287/wJJsm4JS/Xr1WS9oTvU6mYMDChkcxgeQ==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 dependencies: '@radix-ui/react-select': 1.2.2(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0) '@radix-ui/react-toolbar': 1.0.4(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0) - '@storybook/client-logger': 7.6.5 + '@storybook/client-logger': 7.6.6 '@storybook/csf': 0.1.2 '@storybook/global': 5.0.0 - '@storybook/theming': 7.6.5(react-dom@18.2.0)(react@18.2.0) - '@storybook/types': 7.6.5 + '@storybook/theming': 7.6.6(react-dom@18.2.0)(react@18.2.0) + '@storybook/types': 7.6.6 memoizerific: 1.11.3 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) @@ -4903,19 +4903,19 @@ packages: - '@types/react-dom' dev: true - /@storybook/core-client@7.6.5: - resolution: {integrity: sha512-6FtyJcz8MSl+JYwNJZ53FM6rkT27pFHWcJPdtw/9229Ec8as9RpkNeZ/NBZjRTeDkn9Ki0VOiVAefNie9tZ/8Q==} + /@storybook/core-client@7.6.6: + resolution: {integrity: sha512-P100aNf+WpvzlfULZp1NPd60/nxsppLmft2DdIyAx1j4QPMZvUJyJB+hdBMzTFiPEhIUncIMoIVf2R3UXC5DfA==} dependencies: - '@storybook/client-logger': 7.6.5 - '@storybook/preview-api': 7.6.5 + '@storybook/client-logger': 7.6.6 + '@storybook/preview-api': 7.6.6 dev: true - /@storybook/core-common@7.6.5: - resolution: {integrity: sha512-z4EgzZSIVbID6Ib0jhh3jimKeaDWU8OOhoZYfn3galFmgQWowWOv1oMgipWiXfRLWw9DaLFQiCHIdLANH+VO2g==} + /@storybook/core-common@7.6.6: + resolution: {integrity: sha512-DpbFSYw8LHuwpeU2ec5uWryxrSqslFJnWTfNA7AvpzCviWXkz4kq+YYrDee9XExF6OozNwILmG6m52SnraysBA==} dependencies: - '@storybook/core-events': 7.6.5 - '@storybook/node-logger': 7.6.5 - '@storybook/types': 7.6.5 + '@storybook/core-events': 7.6.6 + '@storybook/node-logger': 7.6.6 + '@storybook/types': 7.6.6 '@types/find-cache-dir': 3.2.1 '@types/node': 18.18.0 '@types/node-fetch': 2.6.4 @@ -4941,30 +4941,30 @@ packages: - supports-color dev: true - /@storybook/core-events@7.6.5: - resolution: {integrity: sha512-zk2q/qicYXAzHA4oV3GDbIql+Kd4TOHUgDE8e4jPCOPp856z2ScqEKUAbiJizs6eEJOH4nW9Db1kuzgrBVEykQ==} + /@storybook/core-events@7.6.6: + resolution: {integrity: sha512-7+q9HiZiLxaQcwpaSLQrLdjHNHBoOoUY9ZcZXI9iNFSopOgb/ItDnzzlpv08NC7CbKae1hVKJM/t5aSTl7tCMw==} dependencies: ts-dedent: 2.2.0 dev: true - /@storybook/core-server@7.6.5: - resolution: {integrity: sha512-BfKzK/ObTjUcPvE5/r1pogCifM/4nLRhOUYJl7XekwHkOQwn19e6H3/ku1W3jDoYXBu642Dc9X7l/ERjKTqxFg==} + /@storybook/core-server@7.6.6: + resolution: {integrity: sha512-QFVahaExgGtq9swBXgQAMUiCqpCcyVXOiKTIy1j+1uAhPVqhpCxBkkFoXruih5hbIMZyohE4mLPCAr/ivicoDg==} dependencies: '@aw-web-design/x-default-browser': 1.4.126 '@discoveryjs/json-ext': 0.5.7 - '@storybook/builder-manager': 7.6.5 - '@storybook/channels': 7.6.5 - '@storybook/core-common': 7.6.5 - '@storybook/core-events': 7.6.5 + '@storybook/builder-manager': 7.6.6 + '@storybook/channels': 7.6.6 + '@storybook/core-common': 7.6.6 + '@storybook/core-events': 7.6.6 '@storybook/csf': 0.1.2 - '@storybook/csf-tools': 7.6.5 + '@storybook/csf-tools': 7.6.6 '@storybook/docs-mdx': 0.1.0 '@storybook/global': 5.0.0 - '@storybook/manager': 7.6.5 - '@storybook/node-logger': 7.6.5 - '@storybook/preview-api': 7.6.5 - '@storybook/telemetry': 7.6.5 - '@storybook/types': 7.6.5 + '@storybook/manager': 7.6.6 + '@storybook/node-logger': 7.6.6 + '@storybook/preview-api': 7.6.6 + '@storybook/telemetry': 7.6.6 + '@storybook/types': 7.6.6 '@types/detect-port': 1.3.2 '@types/node': 18.18.0 '@types/pretty-hrtime': 1.0.1 @@ -4998,24 +4998,24 @@ packages: - utf-8-validate dev: true - /@storybook/csf-plugin@7.6.5: - resolution: {integrity: sha512-iQ8Y/Qq1IUhHRddjDVicWJA2sM7OZA1FR97OvWUT2240WjCuQSCfy32JD8TQlYjqXgEolJeLPv3zW4qH5om4LQ==} + /@storybook/csf-plugin@7.6.6: + resolution: {integrity: sha512-SqdffT14+XNpf+7vA29Elur28VArXtFv4cXMlsCbswbRuY+a0A8vYNwVIfCUy9u4WHTcQX1/tUkDAMh80lrVRQ==} dependencies: - '@storybook/csf-tools': 7.6.5 + '@storybook/csf-tools': 7.6.6 unplugin: 1.4.0 transitivePeerDependencies: - supports-color dev: true - /@storybook/csf-tools@7.6.5: - resolution: {integrity: sha512-1iaCh7nt+WE7Q5UwRhLLc5flMNoAV/vBr0tvDSCKiHaO+D3dZzlZOe/U+S6wegdyN2QNcvT2xs179CcrX6Qp6w==} + /@storybook/csf-tools@7.6.6: + resolution: {integrity: sha512-VXOZCzfSVJL832u17pPhFu1x3PPaAN9d8VXNFX+t/2raga7tK3T7Qhe7lWfP7EZcrVvSCEEp0aMRz2EzzDGVtw==} dependencies: '@babel/generator': 7.23.6 '@babel/parser': 7.23.6 '@babel/traverse': 7.23.6 '@babel/types': 7.23.6 '@storybook/csf': 0.1.2 - '@storybook/types': 7.6.5 + '@storybook/types': 7.6.6 fs-extra: 11.2.0 recast: 0.23.4 ts-dedent: 2.2.0 @@ -5033,12 +5033,12 @@ packages: resolution: {integrity: sha512-JDaBR9lwVY4eSH5W8EGHrhODjygPd6QImRbwjAuJNEnY0Vw4ie3bPkeGfnacB3OBW6u/agqPv2aRlR46JcAQLg==} dev: true - /@storybook/docs-tools@7.6.5: - resolution: {integrity: sha512-UyHkHu5Af6jMpYsR4lZ69D32GQGeA0pLAn7jaBbQndgAjBdK1ykZcifiUC7Wz1hG7+YpuYspEGuDEddOh+X8FQ==} + /@storybook/docs-tools@7.6.6: + resolution: {integrity: sha512-nc5ZjN2s8SC2PtsZoFf9Wm6gD8TcSlkYbF/mjtyLCGN+Fi+k5B5iudqoa65H19hwiLlzBdcnpQ8C89AiK33J9Q==} dependencies: - '@storybook/core-common': 7.6.5 - '@storybook/preview-api': 7.6.5 - '@storybook/types': 7.6.5 + '@storybook/core-common': 7.6.6 + '@storybook/preview-api': 7.6.6 + '@storybook/types': 7.6.6 '@types/doctrine': 0.0.3 assert: 2.1.0 doctrine: 3.0.0 @@ -5052,17 +5052,17 @@ packages: resolution: {integrity: sha512-FcOqPAXACP0I3oJ/ws6/rrPT9WGhu915Cg8D02a9YxLo0DE9zI+a9A5gRGvmQ09fiWPukqI8ZAEoQEdWUKMQdQ==} dev: true - /@storybook/manager-api@7.6.5(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-tE3OShOcs6A3XtI3NJd6hYQOZLaP++Fn0dCtowBwYh/vS1EN/AyroVmL97tsxn1DZTyoRt0GidwbB6dvLMBOwA==} + /@storybook/manager-api@7.6.6(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-euRAbSZAUzHDt6z1Pq/g45N/RNqta9RaQAym18zt/oLWiYOIrkLmdf7kCuFYsmuA5XQBytiJqwkAD7uF1aLe0g==} dependencies: - '@storybook/channels': 7.6.5 - '@storybook/client-logger': 7.6.5 - '@storybook/core-events': 7.6.5 + '@storybook/channels': 7.6.6 + '@storybook/client-logger': 7.6.6 + '@storybook/core-events': 7.6.6 '@storybook/csf': 0.1.2 '@storybook/global': 5.0.0 - '@storybook/router': 7.6.5 - '@storybook/theming': 7.6.5(react-dom@18.2.0)(react@18.2.0) - '@storybook/types': 7.6.5 + '@storybook/router': 7.6.6 + '@storybook/theming': 7.6.6(react-dom@18.2.0)(react@18.2.0) + '@storybook/types': 7.6.6 dequal: 2.0.3 lodash: 4.17.21 memoizerific: 1.11.3 @@ -5075,31 +5075,31 @@ packages: - react-dom dev: true - /@storybook/manager@7.6.5: - resolution: {integrity: sha512-y1KLH0O1PGPyMxGMvOhppzFSO7r4ibjTve5iqsI0JZwxUjNuBKRLYbrhXdAyC2iacvxYNrHgevae1k9XdD+FQw==} + /@storybook/manager@7.6.6: + resolution: {integrity: sha512-Ga3LcSu/xxSyg+cLlO9AS8QjW+D667V+c9qQPmsFyU6qfFc6m6mVqcRLSmFVD5e7P/o0FL7STOf9jAKkDcW8xw==} dev: true /@storybook/mdx2-csf@1.1.0: resolution: {integrity: sha512-TXJJd5RAKakWx4BtpwvSNdgTDkKM6RkXU8GK34S/LhidQ5Pjz3wcnqb0TxEkfhK/ztbP8nKHqXFwLfa2CYkvQw==} dev: true - /@storybook/node-logger@7.6.5: - resolution: {integrity: sha512-xKw6IH1wLkIssekdBv3bd13xYKUF1t8EwqDR8BYcN8AVjZlqJMTifssqG4bYV+G/B7J3tz4ugJ5nmtWg6RQ0Qw==} + /@storybook/node-logger@7.6.6: + resolution: {integrity: sha512-b2OF9GRNI01MlBlnDGS8S6/yOpBNl8eH/0ONafuMPzFEZs5PouHGsFflJvQwwcdVTknMjF5uVS2eSmnLZ8spvA==} dev: true - /@storybook/postinstall@7.6.5: - resolution: {integrity: sha512-12WxfpqGKsk7GQ3KWiZSbamsYK8vtRmhOTkavZ9IQkcJ/zuVfmqK80/Mds+njJMudUPzuREuSFGWACczo17EDA==} + /@storybook/postinstall@7.6.6: + resolution: {integrity: sha512-jamn7QNTJPZiu22nu25LqfSTJohugFhCu4b48yqP+pdMdkQ3qVd3NdDYhBlgkH/Btar+kppiJP1gRtoiJF761w==} dev: true - /@storybook/preview-api@7.6.5: - resolution: {integrity: sha512-9XzuDXXgNuA6dDZ3DXsUwEG6ElxeTbzLuYuzcjtS1FusSICZ2iYmxfS0GfSud9MjPPYOJYoSOvMdIHjorjgByA==} + /@storybook/preview-api@7.6.6: + resolution: {integrity: sha512-Bt6xIAR5yZ/JWc90X4BbLOA97iL65glZ1SOBgFFv2mHrdZ1lcdKhAlQr2aeJAf1mLvBtalPjvKzi9EuVY3FZ4w==} dependencies: - '@storybook/channels': 7.6.5 - '@storybook/client-logger': 7.6.5 - '@storybook/core-events': 7.6.5 + '@storybook/channels': 7.6.6 + '@storybook/client-logger': 7.6.6 + '@storybook/core-events': 7.6.6 '@storybook/csf': 0.1.2 '@storybook/global': 5.0.0 - '@storybook/types': 7.6.5 + '@storybook/types': 7.6.6 '@types/qs': 6.9.7 dequal: 2.0.3 lodash: 4.17.21 @@ -5110,12 +5110,12 @@ packages: util-deprecate: 1.0.2 dev: true - /@storybook/preview@7.6.5: - resolution: {integrity: sha512-zmLa7C7yFGTYhgGZXoecdww9rx0Z5HpNi/GDBRWoNSK+FEdE8Jj2jF5NJ2ncldtYIyegz9ku29JFMKbhMj9K5Q==} + /@storybook/preview@7.6.6: + resolution: {integrity: sha512-Rl+Pom2bNwzc0MdlbFALmvxsbCkbIwlpTZlRZZTh5Ah8JViV9htQgP9e8uwo3NZA2BhjbDLkmnZeloWxQnI5Ig==} dev: true - /@storybook/react-dom-shim@7.6.5(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-Qp3N3zENdvx20ikHmz5yI03z+mAWF8bUAwUofqXarVtZUkBNtvfTfUwgAezOAF0eClClH+ktIziIKd976tLSPw==} + /@storybook/react-dom-shim@7.6.6(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-WWNlXtCVoBWXX/kLNulUeMgzmlAEHi2aBrdIv2jz0DScPf0YxeWAkWmgK7F0zMot9mdwYncr+pk1AILbTBJSyg==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -5124,8 +5124,8 @@ packages: react-dom: 18.2.0(react@18.2.0) dev: true - /@storybook/react-vite@7.6.5(react-dom@18.2.0)(react@18.2.0)(typescript@5.3.3)(vite@5.0.10): - resolution: {integrity: sha512-fIoSBbou3rQdOo6qX/nD5givb3qIOSwXeZWjAqRB6560cqmeSQFlRGtKUJ0nzQYADwJ0/iNHz3nOvJOOSnPepA==} + /@storybook/react-vite@7.6.6(react-dom@18.2.0)(react@18.2.0)(typescript@5.3.3)(vite@5.0.10): + resolution: {integrity: sha512-76jH+rX0OhEwGraA2BphSu+19nKaSUnNw1Gp1zQ/UUX2FefZuI+6DI34LEzJNfq7T2kbGFzZgf1xDkL6RSwrXA==} engines: {node: '>=16'} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -5134,8 +5134,8 @@ packages: dependencies: '@joshwooding/vite-plugin-react-docgen-typescript': 0.3.0(typescript@5.3.3)(vite@5.0.10) '@rollup/pluginutils': 5.1.0(rollup@4.9.1) - '@storybook/builder-vite': 7.6.5(typescript@5.3.3)(vite@5.0.10) - '@storybook/react': 7.6.5(react-dom@18.2.0)(react@18.2.0)(typescript@5.3.3) + '@storybook/builder-vite': 7.6.6(typescript@5.3.3)(vite@5.0.10) + '@storybook/react': 7.6.6(react-dom@18.2.0)(react@18.2.0)(typescript@5.3.3) '@vitejs/plugin-react': 3.1.0(vite@5.0.10) magic-string: 0.30.5 react: 18.2.0 @@ -5151,8 +5151,8 @@ packages: - vite-plugin-glimmerx dev: true - /@storybook/react@7.6.5(react-dom@18.2.0)(react@18.2.0)(typescript@5.3.3): - resolution: {integrity: sha512-z0l5T+gL//VekMXnHi+lW5qr7OQ8X7WoeIRMk38e62ppSpGUZRfoxRmmhU/9YcIFAlCgMaoLSYmhOceKGRZuVw==} + /@storybook/react@7.6.6(react-dom@18.2.0)(react@18.2.0)(typescript@5.3.3): + resolution: {integrity: sha512-pE6GJ4hPGJIsX6AREjW6HibshwZE6rFhWRtjeX5MV0eKMmQgoRWRgiRfg9/YB6Z0tRtuptI83Uaszimmif1BKg==} engines: {node: '>=16.0.0'} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -5162,13 +5162,13 @@ packages: typescript: optional: true dependencies: - '@storybook/client-logger': 7.6.5 - '@storybook/core-client': 7.6.5 - '@storybook/docs-tools': 7.6.5 + '@storybook/client-logger': 7.6.6 + '@storybook/core-client': 7.6.6 + '@storybook/docs-tools': 7.6.6 '@storybook/global': 5.0.0 - '@storybook/preview-api': 7.6.5 - '@storybook/react-dom-shim': 7.6.5(react-dom@18.2.0)(react@18.2.0) - '@storybook/types': 7.6.5 + '@storybook/preview-api': 7.6.6 + '@storybook/react-dom-shim': 7.6.6(react-dom@18.2.0)(react@18.2.0) + '@storybook/types': 7.6.6 '@types/escodegen': 0.0.6 '@types/estree': 0.0.51 '@types/node': 18.18.0 @@ -5191,20 +5191,20 @@ packages: - supports-color dev: true - /@storybook/router@7.6.5: - resolution: {integrity: sha512-QiTC86gRuoepzzmS6HNJZTwfz/n27NcqtaVEIxJi1Yvsx2/kLa9NkRhylNkfTuZ1gEry9stAlKWanMsB2aKyjQ==} + /@storybook/router@7.6.6: + resolution: {integrity: sha512-dkn81MtxrG7JMDbOHEcVZkTDVKsneg72CyqJ8ELZfC81iKQcDMQkV9mdmnMl45aKn6UrscudI4K23OxQmsevkw==} dependencies: - '@storybook/client-logger': 7.6.5 + '@storybook/client-logger': 7.6.6 memoizerific: 1.11.3 qs: 6.11.1 dev: true - /@storybook/telemetry@7.6.5: - resolution: {integrity: sha512-FiLRh9k9LoGphqgBqPYySWdGqplihiZyDwqdo+Qs19RcQ/eiKg0W7fdA09nStcdcsHmDl/1cMfRhz9KUiMtwOw==} + /@storybook/telemetry@7.6.6: + resolution: {integrity: sha512-2WdDcrMrt1bPVgdMVO0tFmVxT6YIjiPRfKbH/7wwYMOGmV75m4mJ9Ha2gzZc/oXTSK1M4/fiK12IgW+S3ErcMg==} dependencies: - '@storybook/client-logger': 7.6.5 - '@storybook/core-common': 7.6.5 - '@storybook/csf-tools': 7.6.5 + '@storybook/client-logger': 7.6.6 + '@storybook/core-common': 7.6.6 + '@storybook/csf-tools': 7.6.6 chalk: 4.1.2 detect-package-manager: 2.0.1 fetch-retry: 5.0.4 @@ -5223,24 +5223,24 @@ packages: ts-dedent: 2.2.0 dev: true - /@storybook/theming@7.6.5(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-RpcWT0YEgiobO41McVPDfQQHHFnjyr1sJnNTPJIvOUgSfURdgSj17mQVxtD5xcXcPWUdle5UhIOrCixHbL/NNw==} + /@storybook/theming@7.6.6(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-hNZOOxaF55iAGUEM0dvAIP6LfGMgPKCJQIk/qyotFk+SKkg3PBqzph89XfFl9yCD3KiX5cryqarULgVuNawLJg==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 dependencies: '@emotion/use-insertion-effect-with-fallbacks': 1.0.0(react@18.2.0) - '@storybook/client-logger': 7.6.5 + '@storybook/client-logger': 7.6.6 '@storybook/global': 5.0.0 memoizerific: 1.11.3 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: true - /@storybook/types@7.6.5: - resolution: {integrity: sha512-Q757v+fYZZSaEpks/zDL5YgXRozxkgKakXFc+BoQHK5q5sVhJ+0jvpLJiAQAniIIaMIkqY/G24Kd6Uo6UdKBCg==} + /@storybook/types@7.6.6: + resolution: {integrity: sha512-77vbQp3GX93OD8UzFkY4a0fAmkZrqLe61XVo6yABrwbVDY0EcAwaCF5gcXRhOHldlH7KYbLfEQkDkkKTBjX7ow==} dependencies: - '@storybook/channels': 7.6.5 + '@storybook/channels': 7.6.6 '@types/babel__core': 7.20.5 '@types/express': 4.17.17 file-system-cache: 2.3.0 @@ -5925,8 +5925,8 @@ packages: '@types/yargs-parser': 21.0.0 dev: true - /@typescript-eslint/eslint-plugin@6.14.0(@typescript-eslint/parser@6.14.0)(eslint@8.56.0)(typescript@5.3.3): - resolution: {integrity: sha512-1ZJBykBCXaSHG94vMMKmiHoL0MhNHKSVlcHVYZNw+BKxufhqQVTOawNpwwI1P5nIFZ/4jLVop0mcY6mJJDFNaw==} + /@typescript-eslint/eslint-plugin@6.15.0(@typescript-eslint/parser@6.15.0)(eslint@8.56.0)(typescript@5.3.3): + resolution: {integrity: sha512-j5qoikQqPccq9QoBAupOP+CBu8BaJ8BLjaXSioDISeTZkVO3ig7oSIKh3H+rEpee7xCXtWwSB4KIL5l6hWZzpg==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha @@ -5937,11 +5937,11 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.8.2 - '@typescript-eslint/parser': 6.14.0(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/scope-manager': 6.14.0 - '@typescript-eslint/type-utils': 6.14.0(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/utils': 6.14.0(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/visitor-keys': 6.14.0 + '@typescript-eslint/parser': 6.15.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/scope-manager': 6.15.0 + '@typescript-eslint/type-utils': 6.15.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/utils': 6.15.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/visitor-keys': 6.15.0 debug: 4.3.4 eslint: 8.56.0 graphemer: 1.4.0 @@ -5954,8 +5954,8 @@ packages: - supports-color dev: true - /@typescript-eslint/parser@6.14.0(eslint@8.56.0)(typescript@5.3.3): - resolution: {integrity: sha512-QjToC14CKacd4Pa7JK4GeB/vHmWFJckec49FR4hmIRf97+KXole0T97xxu9IFiPxVQ1DBWrQ5wreLwAGwWAVQA==} + /@typescript-eslint/parser@6.15.0(eslint@8.56.0)(typescript@5.3.3): + resolution: {integrity: sha512-MkgKNnsjC6QwcMdlNAel24jjkEO/0hQaMDLqP4S9zq5HBAUJNQB6y+3DwLjX7b3l2b37eNAxMPLwb3/kh8VKdA==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -5964,10 +5964,10 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 6.14.0 - '@typescript-eslint/types': 6.14.0 - '@typescript-eslint/typescript-estree': 6.14.0(typescript@5.3.3) - '@typescript-eslint/visitor-keys': 6.14.0 + '@typescript-eslint/scope-manager': 6.15.0 + '@typescript-eslint/types': 6.15.0 + '@typescript-eslint/typescript-estree': 6.15.0(typescript@5.3.3) + '@typescript-eslint/visitor-keys': 6.15.0 debug: 4.3.4 eslint: 8.56.0 typescript: 5.3.3 @@ -5983,16 +5983,16 @@ packages: '@typescript-eslint/visitor-keys': 5.62.0 dev: true - /@typescript-eslint/scope-manager@6.14.0: - resolution: {integrity: sha512-VT7CFWHbZipPncAZtuALr9y3EuzY1b1t1AEkIq2bTXUPKw+pHoXflGNG5L+Gv6nKul1cz1VH8fz16IThIU0tdg==} + /@typescript-eslint/scope-manager@6.15.0: + resolution: {integrity: sha512-+BdvxYBltqrmgCNu4Li+fGDIkW9n//NrruzG9X1vBzaNK+ExVXPoGB71kneaVw/Jp+4rH/vaMAGC6JfMbHstVg==} engines: {node: ^16.0.0 || >=18.0.0} dependencies: - '@typescript-eslint/types': 6.14.0 - '@typescript-eslint/visitor-keys': 6.14.0 + '@typescript-eslint/types': 6.15.0 + '@typescript-eslint/visitor-keys': 6.15.0 dev: true - /@typescript-eslint/type-utils@6.14.0(eslint@8.56.0)(typescript@5.3.3): - resolution: {integrity: sha512-x6OC9Q7HfYKqjnuNu5a7kffIYs3No30isapRBJl1iCHLitD8O0lFbRcVGiOcuyN837fqXzPZ1NS10maQzZMKqw==} + /@typescript-eslint/type-utils@6.15.0(eslint@8.56.0)(typescript@5.3.3): + resolution: {integrity: sha512-CnmHKTfX6450Bo49hPg2OkIm/D/TVYV7jO1MCfPYGwf6x3GO0VU8YMO5AYMn+u3X05lRRxA4fWCz87GFQV6yVQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -6001,8 +6001,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 6.14.0(typescript@5.3.3) - '@typescript-eslint/utils': 6.14.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/typescript-estree': 6.15.0(typescript@5.3.3) + '@typescript-eslint/utils': 6.15.0(eslint@8.56.0)(typescript@5.3.3) debug: 4.3.4 eslint: 8.56.0 ts-api-utils: 1.0.3(typescript@5.3.3) @@ -6016,8 +6016,8 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@typescript-eslint/types@6.14.0: - resolution: {integrity: sha512-uty9H2K4Xs8E47z3SnXEPRNDfsis8JO27amp2GNCnzGETEW3yTqEIVg5+AI7U276oGF/tw6ZA+UesxeQ104ceA==} + /@typescript-eslint/types@6.15.0: + resolution: {integrity: sha512-yXjbt//E4T/ee8Ia1b5mGlbNj9fB9lJP4jqLbZualwpP2BCQ5is6BcWwxpIsY4XKAhmdv3hrW92GdtJbatC6dQ==} engines: {node: ^16.0.0 || >=18.0.0} dev: true @@ -6042,8 +6042,8 @@ packages: - supports-color dev: true - /@typescript-eslint/typescript-estree@6.14.0(typescript@5.3.3): - resolution: {integrity: sha512-yPkaLwK0yH2mZKFE/bXkPAkkFgOv15GJAUzgUVonAbv0Hr4PK/N2yaA/4XQbTZQdygiDkpt5DkxPELqHguNvyw==} + /@typescript-eslint/typescript-estree@6.15.0(typescript@5.3.3): + resolution: {integrity: sha512-7mVZJN7Hd15OmGuWrp2T9UvqR2Ecg+1j/Bp1jXUEY2GZKV6FXlOIoqVDmLpBiEiq3katvj/2n2mR0SDwtloCew==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: typescript: '*' @@ -6051,8 +6051,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/types': 6.14.0 - '@typescript-eslint/visitor-keys': 6.14.0 + '@typescript-eslint/types': 6.15.0 + '@typescript-eslint/visitor-keys': 6.15.0 debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 @@ -6083,8 +6083,8 @@ packages: - typescript dev: true - /@typescript-eslint/utils@6.14.0(eslint@8.56.0)(typescript@5.3.3): - resolution: {integrity: sha512-XwRTnbvRr7Ey9a1NT6jqdKX8y/atWG+8fAIu3z73HSP8h06i3r/ClMhmaF/RGWGW1tHJEwij1uEg2GbEmPYvYg==} + /@typescript-eslint/utils@6.15.0(eslint@8.56.0)(typescript@5.3.3): + resolution: {integrity: sha512-eF82p0Wrrlt8fQSRL0bGXzK5nWPRV2dYQZdajcfzOD9+cQz9O7ugifrJxclB+xVOvWvagXfqS4Es7vpLP4augw==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -6092,9 +6092,9 @@ packages: '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) '@types/json-schema': 7.0.13 '@types/semver': 7.5.5 - '@typescript-eslint/scope-manager': 6.14.0 - '@typescript-eslint/types': 6.14.0 - '@typescript-eslint/typescript-estree': 6.14.0(typescript@5.3.3) + '@typescript-eslint/scope-manager': 6.15.0 + '@typescript-eslint/types': 6.15.0 + '@typescript-eslint/typescript-estree': 6.15.0(typescript@5.3.3) eslint: 8.56.0 semver: 7.5.4 transitivePeerDependencies: @@ -6110,11 +6110,11 @@ packages: eslint-visitor-keys: 3.4.3 dev: true - /@typescript-eslint/visitor-keys@6.14.0: - resolution: {integrity: sha512-fB5cw6GRhJUz03MrROVuj5Zm/Q+XWlVdIsFj+Zb1Hvqouc8t+XP2H5y53QYU/MGtd2dPg6/vJJlhoX3xc2ehfw==} + /@typescript-eslint/visitor-keys@6.15.0: + resolution: {integrity: sha512-1zvtdC1a9h5Tb5jU9x3ADNXO9yjP8rXlaoChu0DQX40vf5ACVpYIVIZhIMZ6d5sDXH7vq4dsZBT1fEGj8D2n2w==} engines: {node: ^16.0.0 || >=18.0.0} dependencies: - '@typescript-eslint/types': 6.14.0 + '@typescript-eslint/types': 6.15.0 eslint-visitor-keys: 3.4.3 dev: true @@ -6122,8 +6122,8 @@ packages: resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} dev: true - /@utrecht/component-library-react@2.0.0(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-WiZXgMhoDVRUZdPf9aVWBO1FIBVrY+qCNBHhX31lbUHZL83fMmcke4BFneu8Uk5ZB/ckDG+lFdbA23YuC9h0OA==} + /@utrecht/component-library-react@3.0.0(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-7ftpjtQ6ygIMqlB+pWQZAT7psFo1oXkbBSlbVw/uMV5OABRDX5t3V2lN/UDTPjdMRtcj8ZBYl19zPcfkV+Gc5w==} peerDependencies: date-fns: ^2.30.0 react: '18' @@ -6144,8 +6144,8 @@ packages: react-dom: 18.2.0(react@18.2.0) dev: false - /@utrecht/components@2.0.0: - resolution: {integrity: sha512-PZmvcmHa5SB4V5xLV/5iqyQfN7rVXN5FKY/pXKX2MopUd/FdRM0uTaVcDmUn62jDOcoisO4UrmttzKe75ysh/Q==} + /@utrecht/components@3.0.0: + resolution: {integrity: sha512-TO39Ti6Af50l+I2gt4S3iacGVuVoxBK/+G/bsK9wvii53fO35NYJul7xB98/IYSBmewaN4GtmyWGphVDdFMt1A==} dependencies: clsx: 1.2.1 dev: false @@ -8727,7 +8727,7 @@ packages: - supports-color dev: true - /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.14.0)(eslint-import-resolver-node@0.3.9)(eslint@8.56.0): + /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.15.0)(eslint-import-resolver-node@0.3.9)(eslint@8.56.0): resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} engines: {node: '>=4'} peerDependencies: @@ -8748,7 +8748,7 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 6.14.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.15.0(eslint@8.56.0)(typescript@5.3.3) debug: 3.2.7 eslint: 8.56.0 eslint-import-resolver-node: 0.3.9 @@ -8756,7 +8756,7 @@ packages: - supports-color dev: true - /eslint-plugin-import@2.29.1(@typescript-eslint/parser@6.14.0)(eslint@8.56.0): + /eslint-plugin-import@2.29.1(@typescript-eslint/parser@6.15.0)(eslint@8.56.0): resolution: {integrity: sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==} engines: {node: '>=4'} peerDependencies: @@ -8766,7 +8766,7 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 6.14.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.15.0(eslint@8.56.0)(typescript@5.3.3) array-includes: 3.1.7 array.prototype.findlastindex: 1.2.3 array.prototype.flat: 1.3.2 @@ -8775,7 +8775,7 @@ packages: doctrine: 2.1.0 eslint: 8.56.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.14.0)(eslint-import-resolver-node@0.3.9)(eslint@8.56.0) + eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.15.0)(eslint-import-resolver-node@0.3.9)(eslint@8.56.0) hasown: 2.0.0 is-core-module: 2.13.1 is-glob: 4.0.3 @@ -8791,7 +8791,7 @@ packages: - supports-color dev: true - /eslint-plugin-jest@27.6.0(@typescript-eslint/eslint-plugin@6.14.0)(eslint@8.56.0)(typescript@5.3.3): + /eslint-plugin-jest@27.6.0(@typescript-eslint/eslint-plugin@6.15.0)(eslint@8.56.0)(typescript@5.3.3): resolution: {integrity: sha512-MTlusnnDMChbElsszJvrwD1dN3x6nZl//s4JD23BxB6MgR66TZlL064su24xEIS3VACfAoHV1vgyMgPw8nkdng==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: @@ -8804,7 +8804,7 @@ packages: jest: optional: true dependencies: - '@typescript-eslint/eslint-plugin': 6.14.0(@typescript-eslint/parser@6.14.0)(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/eslint-plugin': 6.15.0(@typescript-eslint/parser@6.15.0)(eslint@8.56.0)(typescript@5.3.3) '@typescript-eslint/utils': 5.62.0(eslint@8.56.0)(typescript@5.3.3) eslint: 8.56.0 transitivePeerDependencies: @@ -16011,11 +16011,11 @@ packages: resolution: {integrity: sha512-siT1RiqlfQnGqgT/YzXVUNsom9S0H1OX+dpdGN1xkyYATo4I6sep5NmsRD/40s3IIOvlCq6akxkqG82urIZW1w==} dev: true - /storybook@7.6.5: - resolution: {integrity: sha512-uHPrL+g/0v6iIVtDA8J0uWd3jDZcdr51lCR/vPXTkrCY1uVaFjswzl8EMy5PR05I7jMpKUzkJWZtFbgbh9e1Bw==} + /storybook@7.6.6: + resolution: {integrity: sha512-PmJxpjGdLvDOHaRzqLOvcJ3ALQPaNeW6D5Lv7rPPVbuO24wdDzd/75dPRP7gJKYcGE0NnDZ6cLQq3UlCfbkIBA==} hasBin: true dependencies: - '@storybook/cli': 7.6.5 + '@storybook/cli': 7.6.6 transitivePeerDependencies: - bufferutil - encoding diff --git a/proprietary/tokens/src/components/amsterdam/button.tokens.json b/proprietary/tokens/src/components/amsterdam/button.tokens.json index 9cd2420461..c07033be2a 100644 --- a/proprietary/tokens/src/components/amsterdam/button.tokens.json +++ b/proprietary/tokens/src/components/amsterdam/button.tokens.json @@ -23,7 +23,7 @@ }, "tertiary": { "hover": { - "box-shadow": { "value": "inset 0 0 0 2px {amsterdam.color.neutral-grey3}" } + "box-shadow": { "value": "inset 0 0 0 2px {amsterdam.color.dark-blue}" } } } } diff --git a/proprietary/tokens/src/components/amsterdam/header.tokens.json b/proprietary/tokens/src/components/amsterdam/header.tokens.json new file mode 100644 index 0000000000..7dff95fbde --- /dev/null +++ b/proprietary/tokens/src/components/amsterdam/header.tokens.json @@ -0,0 +1,7 @@ +{ + "amsterdam": { + "header": { + "column-gap": { "value": "{amsterdam.grid.spacious.gap}" } + } + } +} diff --git a/storybook/storybook-docs/package.json b/storybook/storybook-docs/package.json index d4c3ccd75b..a6cbbc9632 100644 --- a/storybook/storybook-docs/package.json +++ b/storybook/storybook-docs/package.json @@ -26,20 +26,20 @@ "@amsterdam/design-system-tokens": "workspace:*", "@babel/core": "7.23.6", "@mdx-js/react": "2.3.0", - "@storybook/addon-a11y": "7.6.5", - "@storybook/addon-actions": "7.6.5", - "@storybook/addon-docs": "7.6.5", - "@storybook/addon-essentials": "7.6.5", - "@storybook/addon-interactions": "7.6.5", - "@storybook/addon-links": "7.6.5", - "@storybook/addon-viewport": "7.6.5", - "@storybook/blocks": "7.6.5", - "@storybook/manager-api": "7.6.5", + "@storybook/addon-a11y": "7.6.6", + "@storybook/addon-actions": "7.6.6", + "@storybook/addon-docs": "7.6.6", + "@storybook/addon-essentials": "7.6.6", + "@storybook/addon-interactions": "7.6.6", + "@storybook/addon-links": "7.6.6", + "@storybook/addon-viewport": "7.6.6", + "@storybook/blocks": "7.6.6", + "@storybook/manager-api": "7.6.6", "@storybook/mdx2-csf": "1.1.0", - "@storybook/react": "7.6.5", - "@storybook/react-vite": "7.6.5", + "@storybook/react": "7.6.6", + "@storybook/react-vite": "7.6.6", "@storybook/testing-library": "0.2.2", - "@storybook/theming": "7.6.5", + "@storybook/theming": "7.6.6", "@types/react": "18.2.45", "@types/react-dom": "18.2.18", "@vitejs/plugin-react": "4.2.1", @@ -48,7 +48,7 @@ "react-dom": "18.2.0", "require-from-string": "2.0.2", "sass": "1.69.5", - "storybook": "7.6.5", + "storybook": "7.6.6", "vite": "5.0.10" }, "dependencies": { diff --git a/storybook/storybook-react/package.json b/storybook/storybook-react/package.json index 51f4b5d472..61d61a45d0 100644 --- a/storybook/storybook-react/package.json +++ b/storybook/storybook-react/package.json @@ -27,31 +27,31 @@ "@amsterdam/design-system-tokens": "workspace:*", "@babel/core": "7.23.6", "@mdx-js/react": "2.3.0", - "@storybook/addon-a11y": "7.6.5", - "@storybook/addon-actions": "7.6.5", - "@storybook/addon-docs": "7.6.5", - "@storybook/addon-essentials": "7.6.5", - "@storybook/addon-interactions": "7.6.5", - "@storybook/addon-links": "7.6.5", - "@storybook/addons": "7.6.5", - "@storybook/api": "7.6.5", - "@storybook/blocks": "7.6.5", - "@storybook/components": "7.6.5", - "@storybook/core-events": "7.6.5", - "@storybook/manager-api": "7.6.5", + "@storybook/addon-a11y": "7.6.6", + "@storybook/addon-actions": "7.6.6", + "@storybook/addon-docs": "7.6.6", + "@storybook/addon-essentials": "7.6.6", + "@storybook/addon-interactions": "7.6.6", + "@storybook/addon-links": "7.6.6", + "@storybook/addons": "7.6.6", + "@storybook/api": "7.6.6", + "@storybook/blocks": "7.6.6", + "@storybook/components": "7.6.6", + "@storybook/core-events": "7.6.6", + "@storybook/manager-api": "7.6.6", "@storybook/mdx2-csf": "1.1.0", - "@storybook/preview-api": "7.6.5", - "@storybook/react": "7.6.5", - "@storybook/react-vite": "7.6.5", + "@storybook/preview-api": "7.6.6", + "@storybook/react": "7.6.6", + "@storybook/react-vite": "7.6.6", "@storybook/testing-library": "0.2.2", - "@storybook/theming": "7.6.5", + "@storybook/theming": "7.6.6", "@types/react": "18.2.45", "@vitejs/plugin-react": "4.2.1", "http-server": "14.1.1", "react": "18.2.0", "react-dom": "18.2.0", "require-from-string": "2.0.2", - "storybook": "7.6.5", + "storybook": "7.6.6", "vite": "5.0.10" }, "dependencies": { diff --git a/storybook/storybook-react/src/Header/Header.docs.mdx b/storybook/storybook-react/src/Header/Header.docs.mdx new file mode 100644 index 0000000000..7085453b7e --- /dev/null +++ b/storybook/storybook-react/src/Header/Header.docs.mdx @@ -0,0 +1,37 @@ +import { Canvas, Markdown, Meta, Primary } from "@storybook/blocks"; +import * as HeaderStories from "./Header.stories.tsx"; +import README from "../../../../packages/css/src/components/header/README.md?raw"; + + + +{README} + + + +## With logo variant + + + +## With subsite title + + + +## With menu + + + +## With links + + + +## With links and menu + + + +## With a title and menu + + + +## With a title, links and menu + + diff --git a/storybook/storybook-react/src/Header/Header.stories.tsx b/storybook/storybook-react/src/Header/Header.stories.tsx new file mode 100644 index 0000000000..f269d04b37 --- /dev/null +++ b/storybook/storybook-react/src/Header/Header.stories.tsx @@ -0,0 +1,99 @@ +/** + * @license EUPL-1.2+ + * Copyright (c) 2023 Gemeente Amsterdam + */ + +import { Header, PageMenu } from '@amsterdam/design-system-react' +import { SearchIcon } from '@amsterdam/design-system-react-icons' +import { Meta, StoryObj } from '@storybook/react' + +const meta = { + title: 'Containers/Header', + component: Header, + argTypes: { + logoBrand: { + control: { + type: 'select', + }, + options: ['amsterdam', 'ggd-amsterdam', 'stadsarchief', 'stadsbank-van-lening', 'vga-verzekeringen'], + }, + }, +} satisfies Meta + +export default meta + +type Story = StoryObj + +export const Default: Story = {} + +export const WithLogoVariant: Story = { + args: { + logoBrand: 'ggd-amsterdam', + logoLink: 'https://www.ggd.amsterdam.nl/', + logoLinkTitle: 'Naar de homepage van de GGD Amsterdam', + }, +} + +export const WithTitle: Story = { + args: { + title: 'Aan de Amsterdamse grachten', + }, +} + +export const WithLinks: Story = { + args: { + links: ( + + Contact + Mijn Amsterdam + + Zoeken + + + ), + }, +} + +export const WithMenu: Story = { + args: { + menu: , + }, +} + +export const WithLinksAndMenu: Story = { + args: { + menu: , + links: ( + + Contact + Mijn Amsterdam + + Zoeken + + + ), + }, +} + +export const WithTitleAndMenu: Story = { + args: { + title: 'Aan de Amsterdamse grachten', + menu: , + }, +} + +export const WithTitleLinksAndMenu: Story = { + args: { + title: 'Aan de Amsterdamse grachten', + links: ( + + Contact + Mijn Amsterdam + + Zoeken + + + ), + menu: , + }, +} diff --git a/storybook/storybook-react/src/PageMenu/PageMenu.stories.tsx b/storybook/storybook-react/src/PageMenu/PageMenu.stories.tsx index b0b98d77b6..9651dd8bf8 100644 --- a/storybook/storybook-react/src/PageMenu/PageMenu.stories.tsx +++ b/storybook/storybook-react/src/PageMenu/PageMenu.stories.tsx @@ -4,7 +4,7 @@ */ import { PageMenu } from '@amsterdam/design-system-react' -import { LoginIcon, MenuIcon } from '@amsterdam/design-system-react-icons' +import { LoginIcon } from '@amsterdam/design-system-react-icons' import { Meta, StoryObj } from '@storybook/react' const meta = { @@ -23,7 +23,6 @@ export const Default: Story = { Inloggen Mijn Amsterdam - Alle onderwerpen ), parameters: {