Releases: primer/view_components
v0.0.68
Updates
-
Add accessible labels to Search AutoComplete when provided with an icon.
Andri Alexandrou
-
Restricts children for AutoComplete API to prevent accessibility violations and misuse
Lindsey Wild
-
Migrate from Heroku to Azure for the Rails storybook server.
Cameron Dutro
-
Remove CSS utilities from Blankslate
Hector Garcia
-
Improve last example on the PopoverComponent docs
Hector Garcia
Bug Fixes
-
Fix live reloading during local docs development.
Cameron Dutro
Deprecations
-
Deprecate
Tooltip
component.Kate Higa
Misc
-
Updates README with missing
alt
attribute on imageKate Higa
-
Updates contributing docs
Lindsey Wild
v0.0.67
v0.0.66
-
Revert optimization changes to utilities.
Josh Klina
v0.0.65
Breaking Changes
-
Revert accessibility changes to
Spinner
introduced since 0.0.60.Charlotte Dann
Updates
-
Optimize logic for converting class names into args
Josh Klina
Deprecations
-
Deprecate
variant
in favor ofsize
inButtonComponent
andButtonGroup
.Manuel Puyol
Bug Fixes
-
Call
image_path
onPrimer::Image#src
.Manuel Puyol
v0.0.64
New
-
Add
raise_on_invalid_aria
config option to silencearia-label
errors.Manuel Puyol
Bug Fixes
-
Add missing
border: 0
,font_size: 0
and responsiveflex
system arguments.Manuel Puyol
v0.0.63
Breaking Changes
-
Rename
caret
argument todropdown
inButtonComponent
.Manuel Puyol
-
Remove
:large
variant fromButtonComponent
.Manuel Puyol
-
Update
Spinner
to add system arguments to outermost elementCharlotte Dann
Deprecations
-
Deprecate
icon
andcounter
slots inButtonComponent
in favor ofleading_visual
andtrailing_visual
.Manuel Puyol
Bug Fixes
-
Fix
PopoverComponent
, allowing to resetleft
andright
positioning.Manuel Puyol
v0.0.62
New
-
Add linter for tracking deprecated
LayoutComponent
callsitesJosh Klina
Updates
-
Update
Button
to add8px
spacing between icon, text and counter.Manuel Puyol
-
Update
BlankslateApiMigration
linter to support interpolations.Manuel Puyol
-
Change spacing in
Blankslate
:-
Between
description
andprimary_action
to32px
. -
Between
primary_action
andsecondary_action
to16px
.Manuel Puyol
-
-
Improve performance of
Classify#call
.Cameron Dutro
Breaking Changes
-
Add a warning to users if they try to use
tag:
parameters on a component where the tag is fixedOwen Niblock
-
Updating to @primer/[email protected] and @primer/[email protected]. Which removes support for deprecated system color arguments
Jon Rohan
-
Prevent
aria-label
to be used with:div, :span, :p
tags without an explicitrole
.Manuel Puyol
v0.0.61
New
-
Adding new Alpha component:
Layout
withmain
andsidebar
slotsCameron Dutro
-
Add a two-column layout linter.
Cameron Dutro
-
Add the
HellipButton
componentAmélia Chavot, Owen Niblock
Updates
-
Bump Storybook version to include Skip to Content links for keyboard auditors
Katie Foster @inkblotty
-
Update the
HiddenTextExpander
component to use theHellipButton
.Amélia Chavot, Owen Niblock
Misc
-
Fix components not rendering in Storybook because of kebab case arguments.
Amélia Chavot, Manuel Puyol, Owen Niblock
-
Fix a typo on a command on the contribution page.
Amélia Chavot, Owen Niblock
Bug Fixes
-
Fix issue where tags were not self-closing when they are void elements
Owen Niblock
Deprecations
-
Deprecate
Primer::BlankslateComponent
in favor ofPrimer::Beta::Blankslate
.Manuel Puyol
Breaking Changes
-
Require an
aria-label
to be provided for theHiddenTextExpander
component.Amélia Chavot, Owen Niblock
-
Rename
force_system_arguments
toraise_on_invalid_options
to better reflect its functionalityOwen Niblock
-
Renamed
Blankslate
title
slot toheading
.Manuel Puyol
-
Removed
Blankslate
large
variant.Manuel Puyol
-
Renamed
Blankslate
graphic
slot tovisual
.Manuel Puyol
v0.0.60
Updates
-
Adding new Alpha component: BorderBox Header with optional
title
slotKatie Foster @inkblotty
-
Add note about
Breadcrumbs
not being responsive.Joel Hawksley
-
Handling arguments that aren't system arguments or string arguments in primer_octicon.
Jon Rohan, Manuel Puyol
-
Improvements to the Procfile so script/dev works as expected.
Cameron Dutro
-
Migrating grid classes to utilities.yml process
Jon Rohan
-
Adding new system color arguments, and deprecating old arguments.
Jon Rohan
-
Make
Spinner
more accessible by addingsr-only
loading text.Manuel Puyol
-
Make class name validation configurable instead of relying on the Rails env.
Cameron Dutro
Bug Fixes
-
Removes unwanted bottom border from active tab of
Alpha::TabNav
.Ned Schwartz
Breaking changes
-
Add size restriction to
Avatar
.Kate Higa
-
Remove
square
attribute fromAvatar
in favor ofshape
. This change also affectsTimelineItem
avatar
slot.Manuel Puyol
v0.0.59
Updates
-
Changed
ClipboardCopy
to usecopy
instead ofpaste
icon.Cole Bemis
Breaking changes
-
Breadcrumbs
no longer accepts padding and font size system arguments.Joel Hawksley