Commit 18f1901
FBCM-5076 Add pill blocks
We add variants style buttons to `Button` which we call "pills". These
are intended for button-like elements that require a more "flat"
appearance.
We depart a bit from the traditional "block" pattern here, which has
proved difficult to scale, when there are a multiplicity of variants.
Instead, we use `Option` to provide a convenient API for taking
advantage of the various configurations we offer. We won't know for sure
without enough usage, but this does seem a major improvement over the
current "block" pattern, and we ought to consider adopting it more
broadly.1 parent 9145355 commit 18f1901
File tree
8 files changed
+665
-3
lines changed- css/src
- dist
- src
8 files changed
+665
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| 194 | + | |
194 | 195 | | |
| 196 | + | |
195 | 197 | | |
196 | 198 | | |
197 | 199 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
0 commit comments