Skip to content

Releases: primer/view_components

v0.0.37

15 Apr 20:20
96cb6e5
Compare
Choose a tag to compare
  • Update NPM package to include subdirectory JS files.

    Manuel Puyol

v0.0.36

15 Apr 16:30
5ef567b
Compare
Choose a tag to compare
  • Add block flag to ButtonComponent.

    Manuel Puyol

  • Add link and invisible schemes to ButtonComponent.

    Manuel Puyol

  • Create CloseButton and HiddenTextExpander component.

    Manuel Puyol

  • Breaking change: Rename AutoCompleteComponent to AutoComplete and AutoCompleteItemComponent to AutoComplete::Item.

    Manuel Puyol

  • Breaking change: Rename TruncateComponent to Truncate and promote it to beta.

    Manuel Puyol

v0.0.35

09 Apr 16:19
f89f9f9
Compare
Choose a tag to compare
  • Promote AutoCompleteComponent, AutoCompleteItemComponent, AvatarStackComponent and ButtonComponent 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 or TabNav use link redirects.

    Manuel Puyol

  • Breaking change: Make label required for UnderlineNav and TabNav.

    Manuel Puyol

v0.0.34

01 Apr 19:48
b01664a
Compare
Choose a tag to compare
  • Add p: :responsive and m: :auto system arguments.

    Manuel Puyol

  • Remove my: :auto and negative m: system arguments.

    Manuel Puyol

  • Breaking change: Rename FlashComponent variant argument to scheme.

    Manuel Puyol

  • Breaking change: Rename LinkComponent variant argument to scheme.

    Manuel Puyol

  • Breaking change: Rename ButtonComponent button_type argument to scheme.

    Manuel Puyol

  • Breaking change: Rename ButtonMarketingComponent button_type argument to scheme.

    Manuel Puyol

  • Breaking change: Rename StateComponent color argument to scheme.

    Manuel Puyol

v0.0.33

26 Mar 15:06
5ca912e
Compare
Choose a tag to compare
  • Remove TabbedComponent validation requiring a tab to be selected.

    Manuel Puyol

v0.0.32

23 Mar 20:48
42b3f3c
Compare
Choose a tag to compare
  • 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 support TabContainer.

    Manuel Puyol

v0.0.31

15 Mar 15:41
ae194ec
Compare
Choose a tag to compare
  • Fix Popover bug where body was only returning the last line of the HTML.

    Manuel Puyol, Blake Williams

v0.0.30

12 Mar 21:02
494dd5e
Compare
Choose a tag to compare
  • Make color:, bg: and border_color: accept string values.

    Manuel Puyol

v0.0.29

11 Mar 20:42
307cc94
Compare
Choose a tag to compare
  • Add primer_time_ago helper.

    Simon Taranto

  • Add silence_deprecations config to supress deprecation warnings.

    Manuel Puyol

v0.0.28

11 Mar 19:05
a664ceb
Compare
Choose a tag to compare
  • 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