-
Notifications
You must be signed in to change notification settings - Fork 4
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: add DropdownButton #804
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
size-limit report
Path | Size |
---|---|
components | 65.44 KB (+1.89% 🔺) |
styles | 4.38 KB (0%) |
Codecov Report
@@ Coverage Diff @@
## main #804 +/- ##
==========================================
+ Coverage 95.84% 95.89% +0.05%
==========================================
Files 132 134 +2
Lines 938 950 +12
Branches 125 125
==========================================
+ Hits 899 911 +12
Misses 39 39
Continue to review full report at Codecov.
|
c4779a3
to
5975ba1
Compare
packages/components/src/index.ts
Outdated
@@ -2,6 +2,7 @@ export { default as Banner } from "./Banner"; | |||
export { default as Button } from "./Button"; | |||
export { default as Checkbox } from "./Checkbox"; | |||
export { default as ClickableStyle } from "./ClickableStyle"; | |||
export { default as DropdownButton } from "./ClickableStyle"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lol wait one sec
packages/components/package.json
Outdated
@@ -1,6 +1,6 @@ | |||
{ | |||
"name": "@chanzuckerberg/eds-components", | |||
"version": "0.5.0", | |||
"version": "0.5.1-alpha.3", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uh wait I need to remove this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
size-limit report
Path | Size |
---|---|
components | 65.44 KB (+1.9% 🔺) |
styles | 4.38 KB (0%) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🤘
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
size-limit report
Path | Size |
---|---|
components | 66.66 KB (+1.87% 🔺) |
styles | 4.44 KB (0%) |
Summary:
Clubhouse ticket: https://app.shortcut.com/czi-edu/story/169593/dropdownbutton-move-to-eds
DropdownButton
intraject
: https://github.com/FB-PLP/traject/tree/c5e16483f7e199696b7dc32ed6e4350428edc6eb/app/assets/javascripts/v2/core/EDSCandidates/DropdownButtonCopies the
DropdownButton
component fromtraject
. Please note we're not pulling over the wholeDropdown
component just yet because there are a few changes we want to make to the API first.Test Plan:
traject
'sDropdown
component in storybook using version0.5.1-alpha.4