Skip to content

Storybook & build setup for css #3227

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

Merged
merged 7 commits into from
May 4, 2023
Merged

Storybook & build setup for css #3227

merged 7 commits into from
May 4, 2023

Conversation

siddharthkp
Copy link
Member

@changeset-bot

This comment was marked as outdated.

@siddharthkp siddharthkp added the skip changeset This change does not need a changelog label Apr 26, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Apr 26, 2023

size-limit report 📦

Path Size
dist/browser.esm.js 121.25 KB (0%)
dist/browser.umd.js 121.52 KB (0%)

@github-actions github-actions bot temporarily deployed to storybook-preview-3227 April 26, 2023 14:23 Inactive
@siddharthkp siddharthkp requested a review from colebemis April 26, 2023 14:29
@siddharthkp siddharthkp self-assigned this Apr 26, 2023
@siddharthkp siddharthkp marked this pull request as ready for review April 26, 2023 14:29
@siddharthkp siddharthkp requested a review from a team April 26, 2023 14:29
@github-actions github-actions bot temporarily deployed to storybook-preview-3227 April 26, 2023 14:29 Inactive
background-color: tomato;
color: white;
width: fit-content;
padding: 0.625rem 0.75rem;
Copy link
Member Author

@siddharthkp siddharthkp Apr 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not using primer/primitives yet, will create another follow up PR for that!

(theming setup with primitives deserves it's own PR)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy to pair or collab async on this!

@siddharthkp siddharthkp temporarily deployed to github-pages April 26, 2023 14:35 — with GitHub Actions Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview-3227 April 26, 2023 14:35 Inactive
import merge from 'classnames'
import classNames from './component.module.css'

export const Component: React.FC<React.HTMLProps<HTMLDivElement>> = ({className, ...props}) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What purpose does this component serve?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No purpose to the user, I added this as a temporary component to show in storybook and to build with rollup

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't that what Button2 was for?

Copy link
Member Author

@siddharthkp siddharthkp May 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, that PR became too messy to maintain, so I wanted to set up a generic dev environment, before getting into Button specifics in a new PR

Next 2 PRs after this one would be:

  1. theming with primitives
  2. Button component

Would you prefer reviewing these changes with the context of Button instead?

@siddharthkp siddharthkp changed the title Setup for css Storybook & rollup setup for css Apr 28, 2023
@siddharthkp siddharthkp changed the title Storybook & rollup setup for css Storybook & build setup for css Apr 28, 2023
@siddharthkp siddharthkp requested a review from joshblack May 1, 2023 14:36
Copy link
Member

@joshblack joshblack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥳 Just left a couple of questions, excited to see this get started!

Merged via the queue into main with commit 247cb53 May 4, 2023
@siddharthkp siddharthkp deleted the setup-for-css branch May 4, 2023 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
react skip changeset This change does not need a changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants