Releases: primer/view_components
v0.0.47
Breaking changes
-
Restrict tag for
Popover
to:div
andPopover
heading slot to headings.Kate Higa
-
Renames:
-
Primer::AutoComplete
toPrimer::Beta::AutoComplete
-
Primer::AutoComplete::Item
toPrimer::Beta::AutoComplete::Item
-
Primer::AvatarComponent
toPrimer::Beta::Avatar
Manuel Puyol
-
Misc
-
Update
doc_examples_axe_test
to exclude non-standalone components and fixMarkdown
example.Kate Higa
-
Update
DetailsComponent
examples.Manuel Puyol
-
Add linter to suggest system arguments instead of classes.
Manuel Puyol
-
Update component generator to create components in the right status module.
Manuel Puyol
-
Add example for truncating HTML to
Truncate
.Joel Hawksley
-
Update docs generation to point to the correct file sources.
Manuel Puyol
-
Add ENV flag to dump linter data into a file.
Manuel Puyol
v0.0.46
Updates
-
Default to matching
name
andid
ofinput
.Kate Higa
-
Restrict usage of padding system arguments on BorderBox, recommending use of
padding
density instead.Joel Hawksley
Breaking changes
-
Restrict
TabNav
andTab
tags.Kate Higa
-
Restrict
AvatarStack
body slot tag andImageCrop
spinner tag.Kate Higa
-
Restrict
Details
body slot tags andUnderlineNav
body slot tags.Kate Higa
-
Move Primer::Classify from
app/lib/
tolib/
. This requires an extrarequire "primer/classify"
statement for anywhere Classify is needed.Manuel Puyol, Jon Rohan
-
Restrict
Menu
heading slot tags to heading tags and requiretag
argument.Kate Higa
-
Adding animation, vertical_align, word_break, display, visibility, & position arguments to the utilities class.
animation: :grow
is nowanimation: :hover_grow
this was a change because we changed the class name in primer.Jon Rohan
Misc
-
Update contributing guidelines with release instructions.
Kate Higa
-
Prevent flexible tag syntax with rubocop rule.
Kate Higa
-
Update linter autocorrection to use
""
instead oftrue
for boolean attributes.Manuel Puyol
-
Update Storybook version.
Manuel Puyol
-
Added a changelog authoring guide to
CHANGELOG.md
.Amélia Chavot
v0.0.45
Updates
-
Allow copying from elements using
for
inClipboardCopy
.Manuel Puyol
Breaking changes
-
Remove
label
argument in favor ofaria-label
inClipboardCopy
.Manuel Puyol
Misc
-
Add autocorrect for button linters.
Manuel Puyol
-
Unify contributing guidelines.
Kate Higa
-
Rerun flaky system tests.
Manuel Puyol
-
Check if selector is a classify class in Utilities.
Jon Rohan
v0.0.44
Updates
-
Allow
Dropdown
menu items to be rendered outside a list.Manuel Puyol
Breaking changes
-
Require a label or
aria-label
to be provided forAutoComplete
component.Kate Higa
-
Renames:
-
DropdownComponent
toDropdown
. -
Dropdown::MenuComponent
toDropdown::Menu
. -
Primer::ButtonMarketingComponent
toPrimer::Alpha::ButtonMarketing
. -
Primer::TextComponent
toPrimer::Beta::Text
.Manuel Puyol
-
-
Removes
summary_classes
attribute in favor of thesummary
slot inDropdown
.Manuel Puyol
Misc
-
Add linter suggestions for
Button
component.Manuel Puyol
-
Sort documentation arguments.
Jon Rohan
-
Add validations for docs generation.
Manuel Puyol, Kate Higa
-
Change docs header order.
Manuel Puyol, Kate Higa
-
Add preliminary criteria for new
alpha
components.Joel Hawksley
v0.0.43
New
-
Add
clearfix
andcontainer
system arguments.Manuel Puyol
Updates
-
Promote
TabNav
component to beta.Manuel Puyol
-
Allow customizing
TabContainer
when usingTabNav
andUnderlineNav
components.Manuel Puyol
Breaking changes
-
Restrict
col
system arguments to only accept values between 1 and 12.Manuel Puyol
Misc
-
Raise an error if
class
is used as a system argument.Manuel Puyol
-
Don't commit auto-generated component previews.
Kate Higa
-
Provide linters for component migrations.
Manuel Puyol
-
Update docs to accept multiline descriptions.
Manuel Puyol
-
Upgrade primer/css to 17.2.1
Jon Rohan
v0.0.42
New
-
Add
font_family
,font_style
andtext_transform
system arguments.Manuel Puyol
-
Add more options for
font_size
andfont_weight
.Manuel Puyol
Updates
-
Add
align
option to theTabNav
extra slot to allow HTML ordering.Manuel Puyol
Misc
-
Auto-generate component previews from doc examples and run integration test checks.
Kate Higa, Joel Hawksley
-
Configure previews controller to allow view helper usage in preview template.
Kate Higa
-
Only include
ViewComponent::SlotableV2
ifViewComponent::Base
does not already include it.Manuel Puyol
-
Add
force_system_arguments
option to raise an error if a class is used instead of using System Arguments.Manuel Puyol
Breaking changes
-
Restrict allowed tags for
Truncate
,Markdown
, andHiddenTextExpander
.Kate Higa
v0.0.41
New
-
Create
LocalTime
component.Kristján Oddsson
-
Create
Image
component.Manuel Puyol
-
Add
extra
slot toTabNav
.Manuel Puyol
-
Do not raise error if Primer CSS class name is passed to component if
PRIMER_WARNINGS_DISABLED
is set.Joel Hawksley
Accessibility
-
Accept
aria-current="true"
in tabbed components.Manuel Puyol
Changes
-
Promote
Tooltip
component to beta.Manuel Puyol
Bug fixes
-
Ensure that
ClipboardCopy
behaviors only target ViewComponents.Manuel Puyol
-
Ensure that the
rounded
attribute for<image-crop>
is represented as a boolean attribute.Kristján Oddsson
Breaking changes
-
Don't allow
OcticonComponent
height/width values under 16pxJon Rohan
-
Remove
:large
size option fromOcticonComponent
and change:medium
to 24pxJon Rohan
-
Restrict
Label
tag tospan
,div
,a
,summary
.Kate Higa
Misc
-
Add a CI check for changes to the CHANGELOG file.
Kristján Oddsson
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