Skip to content

Storybook & build setup for css - #3227

Merged
siddharthkp merged 7 commits into
mainfrom
setup-for-css
May 4, 2023
Merged

Storybook & build setup for css#3227
siddharthkp merged 7 commits into
mainfrom
setup-for-css

Conversation

@siddharthkp

Copy link
Copy Markdown
Member

@changeset-bot

This comment was marked as outdated.

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

github-actionsBot commented Apr 26, 2023

Copy link
Copy Markdown
Contributor

size-limit report 📦

PathSize
dist/browser.esm.js121.25 KB (0%)
dist/browser.umd.js121.52 KB (0%)

@github-actions
github-actionsBot temporarily deployed to storybook-preview-3227 April 26, 2023 14:23 Inactive
@siddharthkpsiddharthkp 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 teamApril 26, 2023 14:29
@github-actions
github-actionsBot 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;

@siddharthkpsiddharthkpApr 26, 2023

Copy link
Copy Markdown
MemberAuthor

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
Copy Markdown
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-actionsBot 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
Copy Markdown
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
Copy Markdown
MemberAuthor

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
Copy Markdown
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?

@siddharthkpsiddharthkpMay 1, 2023

Copy link
Copy Markdown
MemberAuthor

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?

@siddharthkpsiddharthkp changed the title Setup for cssStorybook & rollup setup for cssApr 28, 2023
@siddharthkpsiddharthkp changed the title Storybook & rollup setup for cssStorybook & build setup for cssApr 28, 2023
@siddharthkp
siddharthkp requested a review from joshblackMay 1, 2023 14:36

@joshblackjoshblack left a comment

Copy link
Copy Markdown
Member

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!

Comment thread.storybook/main.js Outdated
Comment threadrollup.config.js
Merged via the queue into main with commit 247cb53May 4, 2023
@siddharthkp
siddharthkp deleted the setup-for-css branch May 4, 2023 12:47
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

reactskip changesetThis change does not need a changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@siddharthkp@joshblack@colebemis@langermank