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

feat: create tooltip #212

Merged
merged 24 commits into from
Sep 13, 2022
Merged
Show file tree
Hide file tree
Changes from 20 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
e154545
feat: create tooltip component
atomictangerine Aug 26, 2022
7659e76
chore: fix exports
atomictangerine Aug 30, 2022
e1e62b1
Merge branch 'main' into feat/create-tooltip
atomictangerine Aug 31, 2022
fa4d814
chore: update examples, refactor helper function
atomictangerine Sep 7, 2022
b76d12c
Merge branch 'main' into feat/create-tooltip
atomictangerine Sep 7, 2022
17467a9
chore: refactor + move content out to other file
atomictangerine Sep 7, 2022
cd3ee1d
chore: update package-lock.json + add stroke to caret
atomictangerine Sep 7, 2022
faa8a43
chore: add description, add example images
atomictangerine Sep 8, 2022
73a40d9
chore: update JSDocs for variants
atomictangerine Sep 8, 2022
92810f3
chore: add types to props, update displayName
atomictangerine Sep 8, 2022
4e9ec6b
chore: refactor helper function, add types, fix type errors
atomictangerine Sep 8, 2022
3978b2e
chore: bump up tooltip component to match others
atomictangerine Sep 8, 2022
e027742
chore: add border to caret
atomictangerine Sep 8, 2022
59c4113
chore: make avatar in example consistent + export components for prop…
atomictangerine Sep 8, 2022
3cb5ce2
chore: add storybook interactive test
atomictangerine Sep 9, 2022
b6e2042
chore: move util func to utils file
atomictangerine Sep 9, 2022
ca6c758
chore: export type
atomictangerine Sep 9, 2022
b991f65
chore: fix svg fill bug, update component descriptions
atomictangerine Sep 13, 2022
23b95f8
Merge branch 'main' into feat/create-tooltip
atomictangerine Sep 13, 2022
de108c1
chore: update package.json
atomictangerine Sep 13, 2022
eb92201
chore: add tooltip to kitchen sink
atomictangerine Sep 13, 2022
0192491
chore: add tooltip to kitchen sink
atomictangerine Sep 13, 2022
634150a
chore: fix storybook bug
atomictangerine Sep 13, 2022
151cc4f
chore: fix options
atomictangerine Sep 13, 2022
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
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import { styled, theme } from "@washingtonpost/wpds-ui-kit";
export default function Container({ children, caption }) {
export default function Container({ children, caption, css }) {
const Div = styled("div", {
width: "100%",
maxWidth: "100vw",
Expand All @@ -19,7 +19,7 @@ export default function Container({ children, caption }) {
});
return (
<>
<Div>{children}</Div>
<Div css={css}>{children}</Div>
{caption && <Caption>{caption}</Caption>}
</>
);
Expand Down
2 changes: 1 addition & 1 deletion build.washingtonpost.com/components/Markdown/Styling.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { styled, theme, Box, Button } from "@washingtonpost/wpds-ui-kit";
import { List, ListItem } from "~/components/Markdown/Components/list";
import dynamic from "next/dynamic";
import { Grid, Cell } from "./Components/Grid";
import * as AlertBanner from "@washingtonpost/wpds-alert-banner";
import { AlertBanner } from "@washingtonpost/wpds-alert-banner";
atomictangerine marked this conversation as resolved.
Show resolved Hide resolved
import CollapsibleContainer from "./Components/collapsible";
const InputCheckbox = dynamic(() =>
import("./Components/Checkbox").then((mod) => mod.InputCheckbox)
Expand Down
Loading