Skip to content

Commit

Permalink
Merge branch 'develop' into bug/grid-sizing-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentSmedinga authored Nov 27, 2023
2 parents 3606f10 + 1953e9d commit 6ab7c9a
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 27 deletions.
10 changes: 0 additions & 10 deletions packages/css/src/footer/footer.scss

This file was deleted.

1 change: 0 additions & 1 deletion packages/css/src/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
@import "./button/button";
@import "./card/card";
@import "./checkbox/checkbox";
@import "./footer/footer";
@import "./form-label/form-label";
@import "./grid/grid";
@import "./grid/grid-cell";
Expand Down
5 changes: 3 additions & 2 deletions packages/react/src/Footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,16 @@ import {
PropsWithChildren,
RefAttributes,
} from 'react'
import { Highlight } from '../Highlight/Highlight'

export const FooterTop = forwardRef(
(
{ children, className, ...restProps }: PropsWithChildren<HTMLAttributes<HTMLDivElement>>,
ref: ForwardedRef<HTMLDivElement>,
) => (
<div {...restProps} ref={ref} className={clsx('amsterdam-footer__top', className)}>
<Highlight {...restProps} color="blue" ref={ref} className={clsx('amsterdam-footer__top', className)}>
{children}
</div>
</Highlight>
),
)

Expand Down
11 changes: 0 additions & 11 deletions proprietary/tokens/src/components/amsterdam/footer.tokens.json

This file was deleted.

4 changes: 2 additions & 2 deletions storybook/storybook-react/src/Footer/Footer.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const Default: Story = {
<VisuallyHidden>
<Heading>Colofon</Heading>
</VisuallyHidden>
<Grid>
<Grid paddingVertical="medium">
<Grid.Cell span={3}>
<div style={{ display: 'grid', gap: '2.5rem' }}>
<Heading level={2} size="level-4" inverseColor>
Expand Down Expand Up @@ -116,7 +116,7 @@ export const Default: Story = {
<VisuallyHidden>
<Heading level={2}>Over deze website</Heading>
</VisuallyHidden>
<Grid>
<Grid paddingVertical="small">
<Grid.Cell fullWidth>
<PageMenu>
<PageMenu.Link href="/">Privacy</PageMenu.Link>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const meta = {
},
render: ({ color }) => (
<Highlight color={color}>
<Grid>
<Grid paddingVertical="medium">
<Grid.Cell fullWidth>
<Blockquote inverseColor={!color || !['green', 'yellow'].includes(color)}>
We kunnen in heel Nederland schoolpleinen creëren waar kinderen worden uitgedaagd om samen te spelen en te
Expand Down

0 comments on commit 6ab7c9a

Please sign in to comment.