@primer/view-components
Advanced tools
Changelog
0.0.31
Fix Popover
bug where body was only returning the last line of the HTML.
Manuel Puyol, Blake Williams
Changelog
0.0.30
Make color:
, bg:
and border_color:
accept string values.
Manuel Puyol
Changelog
0.0.29
Add primer_time_ago
helper.
Simon Taranto
Add silence_deprecations
config to suppress deprecation warnings.
Manuel Puyol
Changelog
0.0.28
Update CounterComponent
to accept functional schemes primary
and secondary
. Deprecate gray
and light_gray
schemes.
Manuel Puyol
Add force_functional_colors
option to convert colors to functional. This change includes a deprecation warning in non-production environments that warns about non functional color usage.
Manuel Puyol
Promote DetailsComponent
, HeadingComponent
, TextComponent
, TimelineItemComponent
, and
PopoverComponent
to beta status.
Simon Taranto
Update LinkComponent
:
use Link--muted
instead of muted-link
.
accept variant
and underline
options.
accept :span
as a tag.
Manuel Puyol
Add AutoComplete
and AutoCompleteItem
components.
Manuel Puyol
Publish types with npm package.
Keith Cirkel & Clay Miller
Fix AvatarComponent
to apply classes to the link wrapper if present.
Steve Richert
Fix AvatarComponent
to apply the avatar-small
class rather than avatar--small
.
Steve Richert
Breaking change: Updates PopoverComponent
to use Slots V2.
Manuel Puyol
Changelog
0.0.27
Promote BreadcrumbComponent
and ProgressBarComponent
to beta status.
Simon Taranto
Fix OcticonComponent
not rendering data-test-selector
correctly.
Manuel Puyol
Add TimeAgo
component.
Keith Cirkel
Breaking change: Updates UnderlineNavComponent
to use Slots V2.
Simon Taranto
Breaking change: Upgrade LayoutComponent
to use Slots V2.
Simon Taranto
Changelog
0.0.26
Fix DetailsComponent
summary always being rendered as a btn
.
Manuel Puyol
Promote BlankslateComponent
and BaseComponent
to beta status.
Simon Taranto
Changelog
0.0.25
Promote SubheadComponent
to beta.
Simon Taranto
Add deprecated orange
and purple
schemes to LabelComponent
.
Manuel Puyol
Changelog
0.0.24
Fix zeitwerk autoload integration.
Manuel Puyol
Breaking change: Upgrade ProgressBarComponent
to use Slots V2.
Simon Taranto
Breaking change: Upgrade BreadcrumbComponent
to use Slots V2.
Manuel Puyol
Changelog
0.0.23
Remove node and yarn version requirements from @primer/view-components
.
Manuel Puyol
Breaking change: Upgrade SubheadComponent
to use Slots V2.
Simon Taranto
Breaking change: Update LabelComponent
to use only functional color
supportive scheme keys. The component no longer accepts colors (:gray
, for
example) but only functional schemes (primary
, for example).
LabelComponent
is promoted to beta status.
Simon Taranto
Changelog
0.0.22
Add view helpers to easily render Primer components.
Manuel Puyol
Add TabContainer
and TabNav
components.
Manuel Puyol
Promote StateComponent
to beta.
Simon Taranto
Breaking change: Upgrade BorderBoxComponent
to use Slots V2.
Manuel Puyol
Breaking change: Upgrade StateComponent
to support functional colors. This change requires using @primer/css-next. The required changes will be upstreamed to @primer/css at a later date.
Simon Taranto
Breaking change: Upgrade DetailsComponent
to use Slots V2.
Simon Taranto