Skip to content

Releases: primer/view_components

v0.0.68

23 Feb 16:33
52eab3d
Compare
Choose a tag to compare

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 image

    Kate Higa

  • Updates contributing docs

    Lindsey Wild

v0.0.67

25 Jan 22:03
f921b47
Compare
Choose a tag to compare
  • Updating octicons to > 16

    Jon Rohan

v0.0.66

17 Dec 16:33
57d5a3e
Compare
Choose a tag to compare
  • Revert optimization changes to utilities.

    Josh Klina

v0.0.65

17 Dec 15:30
0f68fd9
Compare
Choose a tag to compare

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 of size in ButtonComponent and ButtonGroup.

    Manuel Puyol

Bug Fixes

  • Call image_path on Primer::Image#src.

    Manuel Puyol

v0.0.64

08 Dec 17:26
d6e7930
Compare
Choose a tag to compare

New

  • Add raise_on_invalid_aria config option to silence aria-label errors.

    Manuel Puyol

Bug Fixes

  • Add missing border: 0, font_size: 0 and responsive flex system arguments.

    Manuel Puyol

v0.0.63

03 Dec 16:47
e98d026
Compare
Choose a tag to compare

Breaking Changes

  • Rename caret argument to dropdown in ButtonComponent.

    Manuel Puyol

  • Remove :large variant from ButtonComponent.

    Manuel Puyol

  • Update Spinner to add system arguments to outermost element

    Charlotte Dann

Deprecations

  • Deprecate icon and counter slots in ButtonComponent in favor of leading_visual and trailing_visual.

    Manuel Puyol

Bug Fixes

  • Fix PopoverComponent, allowing to reset left and right positioning.

    Manuel Puyol

v0.0.62

02 Dec 17:32
a77b7a2
Compare
Choose a tag to compare

New

  • Add linter for tracking deprecated LayoutComponent callsites

    Josh Klina

Updates

  • Update Button to add 8px spacing between icon, text and counter.

    Manuel Puyol

  • Update BlankslateApiMigration linter to support interpolations.

    Manuel Puyol

  • Change spacing in Blankslate:

    • Between description and primary_action to 32px.

    • Between primary_action and secondary_action to 16px.

      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 fixed

    Owen 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 explicit role.

    Manuel Puyol

v0.0.61

17 Nov 20:30
ed4bca2
Compare
Choose a tag to compare

New

  • Adding new Alpha component: Layout with main and sidebar slots

    Cameron Dutro

  • Add a two-column layout linter.

    Cameron Dutro

  • Add the HellipButton component

    Amé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 the HellipButton.

    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 of Primer::Beta::Blankslate.

    Manuel Puyol

Breaking Changes

  • Require an aria-label to be provided for the HiddenTextExpander component.

    Amélia Chavot, Owen Niblock

  • Rename force_system_arguments to raise_on_invalid_options to better reflect its functionality

    Owen Niblock

  • Renamed Blankslate title slot to heading.

    Manuel Puyol

  • Removed Blankslate large variant.

    Manuel Puyol

  • Renamed Blankslate graphic slot to visual.

    Manuel Puyol

v0.0.60

02 Nov 15:09
3b0ad45
Compare
Choose a tag to compare

Updates

  • Adding new Alpha component: BorderBox Header with optional title slot

    Katie 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 adding sr-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 from Avatar in favor of shape. This change also affects TimelineItem avatar slot.

    Manuel Puyol

v0.0.59

23 Sep 16:39
dc5acec
Compare
Choose a tag to compare

Updates

  • Changed ClipboardCopy to use copy instead of paste icon.

    Cole Bemis

Breaking changes

  • Breadcrumbs no longer accepts padding and font size system arguments.

    Joel Hawksley