Releases: primer/view_components
v0.0.40
New
-
Create
ImageCrop
component.Kristján Oddsson
Changes
-
Promote
IconButton
to beta.Manuel Puyol
-
Add
box
argument toIconButton
.Manuel Puyol
-
Promote
Markdown
to beta.Manuel Puyol
Bug fixes
-
Fix
IconButton
raising whenaria-label
was provided using an object.Manuel Puyol
-
Fix disabling of default styles for
SpinnerComponent
vianil
style parameter.Chris Wilson
Deprecations
-
Deprecate
Flex
in favor ofBoxComponent
.Manuel Puyol
Breaking Changes
-
Restrict
ButtonGroup
tag to:div
and update docs forText
tag.Kate Higa
-
Remove non-functional
width
andheight
:fill
option.Jon Rohan, Joel Hawksley
-
Restrict
Subhead
heading
slot tag todiv
andh1
-h6
.Kate Higa
-
Restrict
Blankslate
tag todiv
.Kate Higa
-
Explicitly limit tag for
AvatarStack
to:div
and:span
.Kate Higa
-
Rename
MarkdownComponent
toMarkdown
.Manuel Puyol
v0.0.39
-
Promote
CloseButton
to beta.Manuel Puyol
-
Update
ClipboardCopy
to not toggle icons unless they both exist.Kristjan Oddsson
-
Add
icon
andcounter
slots toButtonComponent
.Manuel Puyol
-
Create
IconButton
component.Manuel Puyol
-
Removing trailing whitespace from output of
class=""
Classify generation.Jon Rohan
-
Deprecate
FlexItem
in favor ofBoxComponent
.Manuel Puyol
-
Dropping requirement of
octicons_helper
and updatingOcticonComponent
to useocticon
gem directly.Jon Rohan
-
Breaking change: Remove
:overlay
option fromborder_color
.Simon Luthi
v0.0.38
-
Extract
BaseButton
component.Manuel Puyol
-
Add default
aria-label
of "Close" toCloseButton
component.Kate Higa
-
Set button variants in the
ButtonGroup
parent.Manuel Puyol
-
Breaking change: Rename
ButtonGroupComponent
toButtonGroup
and promote it to beta.Manuel Puyol
-
Breaking change: Do not provide default for
Heading
and improve documentation.Kate Higa
-
Breaking change: Don't allow
StateComponent
to be a link.Kate Higa
v0.0.37
-
Update NPM package to include subdirectory JS files.
Manuel Puyol
v0.0.36
-
Add
block
flag toButtonComponent
.Manuel Puyol
-
Add
link
andinvisible
schemes toButtonComponent
.Manuel Puyol
-
Create
CloseButton
andHiddenTextExpander
component.Manuel Puyol
-
Breaking change: Rename
AutoCompleteComponent
toAutoComplete
andAutoCompleteItemComponent
toAutoComplete::Item
.Manuel Puyol
-
Breaking change: Rename
TruncateComponent
toTruncate
and promote it to beta.Manuel Puyol
v0.0.35
-
Promote
AutoCompleteComponent
,AutoCompleteItemComponent
,AvatarStackComponent
andButtonComponent
to beta.Manuel Puyol
-
Allow
UnderlineNav
tabs to be rendered as a<ul><li>
list.Manuel Puyol
-
Accessibility: Don't add tab roles when
UnderlineNav
orTabNav
use link redirects.Manuel Puyol
-
Breaking change: Make
label
required forUnderlineNav
andTabNav
.Manuel Puyol
v0.0.34
-
Add
p: :responsive
andm: :auto
system arguments.Manuel Puyol
-
Remove
my: :auto
and negativem:
system arguments.Manuel Puyol
-
Breaking change: Rename
FlashComponent
variant
argument toscheme
.Manuel Puyol
-
Breaking change: Rename
LinkComponent
variant
argument toscheme
.Manuel Puyol
-
Breaking change: Rename
ButtonComponent
button_type
argument toscheme
.Manuel Puyol
-
Breaking change: Rename
ButtonMarketingComponent
button_type
argument toscheme
.Manuel Puyol
-
Breaking change: Rename
StateComponent
color
argument toscheme
.Manuel Puyol
v0.0.33
-
Remove
TabbedComponent
validation requiring a tab to be selected.Manuel Puyol
v0.0.32
-
Allow passing the icon name as a positional argument to
OcticonComponent
.Manuel Puyol
-
Promote
TimeAgoComponent
to beta.Manuel Puyol
-
Breaking change: Update
TabNav#tab
API to accept the tab content as a block and panel content as a slot.Manuel Puyol
-
Breaking change: Update
UnderlineNavComponent
API be more strict and supportTabContainer
.Manuel Puyol
v0.0.31
-
Fix
Popover
bug where body was only returning the last line of the HTML.Manuel Puyol, Blake Williams