Skip to content

Latest commit

 

History

History
3211 lines (1643 loc) · 163 KB

CHANGELOG.md

File metadata and controls

3211 lines (1643 loc) · 163 KB

CHANGELOG

0.15.1

Patch Changes

0.15.0

Minor Changes

Patch Changes

  • #2414 48a2405a Thanks @keithamus! - Prevent other Overlays closing when Escape is pressed while Tooltips are open

  • #2379 2c59c33b Thanks @mperrotti! - Updates 'inactive' state for buttons based on feedback from the a11y team:

    • inactive buttons need to meet the color contrast ratio minimum
    • inactive buttons shouldn't have aria-disabled since they can still accept interactions such as:
      • hover/focus to show a tooltip
      • click/activate to show a dialog with more detailed info on why it's inactive
  • #2408 57586da4 Thanks @HDinger! - Fix: Allow month attribute for Primer::Beta::RelativeTime

  • #2406 fb9bf257 Thanks @strackoverflow! - Fix an issue where multiple groups could not be paginated within the same NavList

  • #2412 e7c9a6c6 Thanks @camertron! - Prevent Blankslates from having a zero width inside flex containers

0.14.0

Minor Changes

Patch Changes

0.13.2

Patch Changes

0.13.1

Patch Changes

0.13.0

Minor Changes

  • #2284 374d10fd Thanks @langermank! - Update tooltip design

    • Removes caret
    • Decrease offset
    • Remove animation delay
    • Use v8 color tokens
  • #2293 d7eafca0 Thanks @camertron! - Fix multi-select behavior when ActionMenus are embedded in dialogs

  • #2291 725bbd95 Thanks @camertron! - Allow ActionMenu items to submit multiple values on form submission; fix keyboard handling for submit items

Patch Changes

  • #2286 02e7f785 Thanks @langermank! - fix SegmentedControl alignment issues

  • #2288 caf09967 Thanks @TylerJDev! - Fixes issue where sometimes a dialog cannot be closed if another is open

  • #2292 46e3ff02 Thanks @jonrohan! - Fix ActionBar issue where left and end key don't loop around to end of the action bar items.

  • #2290 f33eed35 Thanks @jonrohan! - Bug fix: Respect autofocus attributes inside of a Dialog when opening a modal-dialog. When the dialog was opening before it was always focusing the first focusable element which was always the close button.

0.12.0

Minor Changes

  • #2283 da3bdb26 Thanks @mperrotti! - Adds an 'inactive' state to buttons. An inactive button looks disabled and has aria-disabled, but it can still be clicked and focused. This was added to support buttons that are broken due to availability issues, but can't be removed from the page.

  • #2278 83b70dd7 Thanks @gwwar! - Add optional with_trailing_visual_label slot to Primer::Alpha::SegmentedControl::Item. Filling the slot will add a Primer::Beta::Label to the right of the item.

Patch Changes

0.11.0

Minor Changes

  • #2276 7184d76e Thanks @jonrohan! - Adding option item_arguments hash argument to ActionBar::Item that will control the item system arguments

  • #2259 a2fe6134 Thanks @TylerJDev! - * Includes ActionMenu in ActionBar focus trap when present.

    • Adjusts focus_group.ts to set tabindex="0" back to invoker if it is non-focusable.
    • Prevents popover invokers from being triggered with 'left' and 'right' arrow keys.

Patch Changes

  • #2260 b584a6b5 Thanks @camertron! - ActionMenu: hide the menu when focus leaves the component; focus the first list item when the menu is activated with the mouse; allow disabling list items while still permitting them to be focused with the keyboard

0.10.0

Minor Changes

Patch Changes

0.9.0

Minor Changes

Patch Changes

0.8.0

Minor Changes

Patch Changes

0.7.0

Minor Changes

Patch Changes

0.6.0

Minor Changes

Patch Changes

0.5.1

Patch Changes

0.5.0

Minor Changes

  • #2148 cbd5c84d Thanks @keithamus! - Add a linter discouraging use of in favor of Primer::Alpha::ActionMenu

  • #2123 f9119d95 Thanks @langermank! - - Use Primitive v8 color tokens

    • Add tests for compiled CSS to ensure CSS color variables have a fallback

Patch Changes

0.4.0

Minor Changes

  • #2111 6ee6d774 Thanks @keithamus! - refactor Primer::Alpha::Tooltip to use popover

    Changed components: Primer::Alpha::Tooltip

  • #2034 707a1fa3 Thanks @radglob! - Partially address a11y issues in Link component.

    Links can no longer be rendered as <span>s.

  • #1941 a8cc5ba2 Thanks @jonrohan! - 🆕 New component!

    The Primer::Alpha::ActionBar component is used to create a toolbar of buttons that will fold into an ActionMenu when the space is smaller. Design details

0.3.1

Patch Changes

0.3.0

Minor Changes

  • #2086 10abe7a0 Thanks @khiga8! - Add lint rule against .tooltipped and introduce accessibility.yml config
  • #2088 b79fec8e Thanks @jonrohan! - Separating <anchored-position> web component and the .Overlay class into separate markup.

Patch Changes

  • #2078 6bd439da Thanks @camertron! - ToggleSwitch: Remove @debounce annotation in favor of a boolean flag to prevent confusing screen reader output

0.2.0

Minor Changes

Patch Changes

  • #2055 5911ff9c Thanks @keithamus! - Tweak Overlay CSS to account for cases where the browser supports :open, :popover-open, both, or neither.
  • #2006 7282911b Thanks @keithamus! - Fix ActionMenu staying open when focus moved, in browsers with native popover
  • #2058 3e50e06c Thanks @jonrohan! - - Remove manual fallbacks for CSS vars
    • Update PostCSS plugin to add fallbacks at build time

0.1.9

Patch Changes

0.1.8

Patch Changes

  • #1965 cd6d5ed4 Thanks @langermank! - Adjust background color for Button with Counter, fix small and large TextField visual alignment bugs

0.1.7

Patch Changes

0.1.6

Patch Changes

0.1.5

Patch Changes

  • #1900 9cd530ee Thanks @keithamus! - Add the ability to pass an icon to Dialog with_show_button, which will turn it from a Beta::Button to a Beta::IconButton.

0.1.4

Patch Changes

0.1.3

Patch Changes

  • #1892 d72334d1 Thanks @hrs! - Deprecate Primer::LayoutComponent in favor of Primer::Alpha::Layout, and add a migration guide

0.1.2

Patch Changes

  • #1873 125861b8 Thanks @camertron! - Remove ability to show trailing action buttons in ActionList and NavList on hover
  • #1877 864fb98f Thanks @hrs! - Deprecate Primer::Truncate in favor of Primer::Beta::Truncate, and adding a migration guide

0.1.1

Patch Changes

  • #1864 1476b869 Thanks @simurai! - Fix underline of UnderlineNav being cut off when followed by a flash banner

0.1.0

Minor Changes

Patch Changes

  • #1845 98792bdd Thanks @camertron! - Use system arguments instead of utility classes for NavList's "show more" item

0.0.123

Patch Changes

0.0.122

Patch Changes

  • #1824 2a234537 Thanks @langermank! - ToggleSwitch and SegmentedControl visual updates + Primitives (PCSS) version bump

0.0.121

Patch Changes

  • #1784 3b830167 Thanks @jonrohan! - Remove unused deprecated component wrappers

     - "Primer::Dropdown::Menu::Item"
     - "Primer::Dropdown::Menu"
     - "Primer::Dropdown"
     - "Primer::HellipButton"
     - "Primer::LabelComponent"
     - "Primer::LinkComponent"
     - "Primer::Markdown"
     - "Primer::MenuComponent"
     - "Primer::OcticonComponent"
     - "Primer::OcticonSymbolsComponent"
     - "Primer::PopoverComponent"
     - "Primer::SpinnerComponent"
     - "Primer::StateComponent"
     - "Primer::SubheadComponent"
     - "Primer::TabContainerComponent"
     - "Primer::TimelineItemComponent::BadgeComponent"
     - "Primer::TimelineItemComponent"
    
  • #1776 61b28872 Thanks @jonrohan! - Adding aria labeled by and described by check to SegmentedControl component. Marking as accessibility reviewed

0.0.120

Patch Changes

  • #1772 9dfec861 Thanks @jonrohan! - Removing deprecated Primer::ClipboardCopy component and clipboard_copy.rb file
  • #1782 809d8d32 Thanks @jdennes! - Prefer Primer::Beta::Button in ERBLint::Linters::ButtonComponentMigrationCounter
  • #1768 fe8e7071 Thanks @jdennes! - Add RuboCop::Cop::Primer::TestSelector to encourage use of the test_selector argument
  • #1780 49d27b22 Thanks @langermank! - Bug fix: Adjust the body tag padding-right when an overlay is open to avoid page shift

0.0.119

Patch Changes

0.0.118

Patch Changes

  • #1753 95df035a Thanks @keithamus! - Update with_show_button slot to use Primer::Beta::Button instead of Primer::ButtonComponent.
  • #1754 d662c1c7 Thanks @keithamus! - Fix bug where clicking inside dialog, but finishing click outside, dismisses dialog

0.0.117

Patch Changes

  • #1729 897b3524 Thanks @mxriverlynn! - Correctly deprecate Primer::TimelineItemComponent::BadgeComponent in favor of Primer::Beta::TimelineItem::Badge
  • #1699 14498234 Thanks @mxriverlynn! - Update component deprecation in CI to report as info instead of errors. Update the deprecation messages to always provide a replacement when possible.

0.0.116

Patch Changes

  • #1711 b39dd62c Thanks @camertron! - Add option for controlling when form fields should be nested under their parent

0.0.115

Patch Changes

  • #1672 1a7daddb Thanks @neall! - Add auto_check_src option to forms framework text fields to run server-side validation on field change
  • #1696 d709bae1 Thanks @mxriverlynn! - Moving Primer::OcticonSymbolsComponent to Primer::Alpha::OcticonSymbols, and deprecating the original
  • #1692 f50c77fe Thanks @mxriverlynn! - Deprecating Primer::TimeAgo in favor of Primer::RelativeTime, and adding a migration guide
  • #1691 ab416be9 Thanks @joelhawksley! - Start migration to new slots API. You may see warnings for using the non-with_ slot setter API.

0.0.114

Patch Changes

0.0.113

Patch Changes

  • #1671 e0be2776 Thanks @mxriverlynn! - Add a migration guide for moving from Primer::DropdownMenuComponent to Primer::Beta::Dropdown
  • #1635 653ac92b Thanks @mxriverlynn! - Converting deprecations list to a .yml file, and updating all code around deprecations to use this new structure
  • #1673 7a26cbb6 Thanks @camertron! - Ensure nested forms can be hidden independently of their radio button or check box
  • #1674 a6c5bb52 Thanks @mxriverlynn! - Moving Primer::ClipboardCopy to Primer::Beta::ClipboardCopy, and deprecating the original
  • #1663 15392142 Thanks @mxriverlynn! - Adding a migration guide and updating deprecation settings for Primer::ButtonComponent -> Primer::Beta::Button
  • #1662 d2b33606 Thanks @jonrohan! - Adding Primer::ViewComponents::AUDITED variable to access when a component was last audited. Get's data from the static/audited_at.json file.
  • #1639 ddc30dd5 Thanks @mxriverlynn! - Adding "guide" to PVC deprecation configuration, and providing a much more detailed deprecation notice based on configuration for each component

0.0.112

Patch Changes

  • #1625 3af9bf5e Thanks @jonrohan! - Deprecate components and moving to new namespace:

    • Primer::Dropdown moving to Primer::Alpha::Dropdown
    • Primer::Dropdown::Menu moving to Primer::Alpha::Dropdown::Menu
    • Primer::Dropdown::Menu::Item moving to Primer::Alpha::Dropdown::Menu::Item
  • #1623 7643e514 Thanks @jonrohan! - Deleting deprecated Primer::ProgressBarComponent in favor of Primer::Beta::ProgressBar

0.0.111

Patch Changes

  • #1605 63b40c1b Thanks @jonrohan! - Remove the deprecated Primer::CounterComponet and use Primer::Beta::Counter.
  • #1608 75ad4765 Thanks @mxriverlynn! - testing to ensure CSS classes used by PVC components are valid, according to the available selectors

0.0.110

Patch Changes

  • #1583 a06f52cf Thanks @jonrohan! - Migrating progress bar component to beta folder, and adding progress bar css.
  • #1574 b3e351d2 Thanks @mxriverlynn! - adding a test suite to show all component-specific selectors are used in previews, and updating various component previews for lookbook

0.0.109

Patch Changes

0.0.108

Patch Changes

0.0.107

Patch Changes

  • #1539 c86d4785 Thanks @jonrohan! - Bug Fix: Fixing bad CSS in action-list.css and writing test to check for error
  • #1538 03008a4a Thanks @jonrohan! - Export component CSS selectors as json file for use in component CSS coverage tests, linters, etc.
  • #1540 94c6b7fd Thanks @jonrohan! - app/components/primer/alpha/action_list/action-list.pcss was re-written to app/components/primer/alpha/action_list.pcss

0.0.106

Patch Changes

0.0.105

Patch Changes

  • #1532 d67dae0a Thanks @mxriverlynn! - migrate Primer::LinkComponent to Primer::Beta::Link and mark the old one as deprecated

0.0.104

Patch Changes

0.0.103

Patch Changes

0.0.102

Patch Changes

0.0.101

Patch Changes

0.0.100

Patch Changes

  • #1428 b7b0c8be Thanks @bolonio! - Remove external classes from the the button content <span> in Primer::beta::Button

0.0.99

Patch Changes

  • #1421 c35a5c32 Thanks @langermank! - Fix Beta::Button visual regressions
    • Add back link styles
    • Ensure invisible buttons are blue when no visuals are present

0.0.98

Patch Changes

  • #1420 d6623553 Thanks @mxriverlynn! - un-deprecate Primer::ButtonComponent for now, due to inconsistencies and issues in migrating to Primer::Beta::Button

0.0.97

Patch Changes

0.0.96

Patch Changes

0.0.95

Patch Changes

  • #1386 142b8193 Thanks @khiga8! - Make sure duplicate ID associations aren't created for the Button
  • #1392 1f424aab Thanks @jonrohan! - Removing static/arguments.yml and replacing with static/arguments.json. The data output doesn't change.

0.0.94

Patch Changes

  • #1352 a02944bb Thanks @jonrohan! - Update eslint custom-element rules so web components can match ruby component names
  • #1354 c1edd34f Thanks @mxriverlynn! - consolidating deprecations into a single list, updating component status migrator for this change, and ensuring rubocop / erblint deprecation linters can be run against changed files only instead of all files

0.0.93

Patch Changes

0.0.92

Patch Changes

0.0.91

Patch Changes

  • #1280 1337cd47 Thanks @mxriverlynn! - moving Primer::DetailsComponent to Primer::Beta::Details, and replacing the original with a deprecated component for backward compatibility
  • #1303 16204453 Thanks @mxriverlynn! - moving Primer::Alpha::HiddenTextExpander to Primer::Alpha::HiddenTextExpander and replacing the original with a deprecated version
  • #1297 c684d071 Thanks @mxriverlynn! - migrating Primer::HeadingComponent to Primer::Beta::Heading, and replacing original with deprecated version
  • #1316 6241f130 Thanks @jonrohan! - Creating a primer_view_components.css bundle that will ship with the npm package

0.0.90

Patch Changes

  • fe709011 Thanks @mxriverlynn! - move the Primer::CloseButton component into Primer::Beta::CloseButton, update all references, create a deprecated Primer::CloseButton in place of the original
  • 7da8c968 Thanks @mxriverlynn! - moving Primer::Counter to Primer::Beta::Counter, and replace original with a deprecated version"

0.0.89

Patch Changes

0.0.88

Patch Changes

  • #1275 1e9ce95c Thanks @mxriverlynn! - move Primer::ButtonGroup to Primer::Beta::ButtonGroup, update all references, and add deprecated Primer::ButtonGroup for backwards compatibility
  • #1266 7d2949de Thanks @mxriverlynn! - moving Primer::BoxComponent to Primer::Box and creating deprecated Primer::BoxComponent for backward compatibility

0.0.87

Patch Changes

  • #1269 9ae9615f Thanks @mxriverlynn! - updating component migrator script with improvements in component reference updates, deprecations, etc.

0.0.86

Patch Changes

  • #1244 91a6d2df Thanks @neall! - Stop requiring aria-label on ClipboardCopy with other content.
  • #1256 544dd564 Thanks @khiga8! - Use visibility: 'hidden' instead of hidden attribute to hide tooltip
  • #1254 fc2fbace Thanks @mxriverlynn! - cleaning up the BlankSlate component to ensure it follows current standards for beta components

0.0.85

Patch Changes

0.0.84

Patch Changes

  • #1229 5631d286 Thanks @mxriverlynn! - component generator: correcting template and thor tasks to account for component status

0.0.83

Patch Changes

0.0.82

Patch Changes

0.0.81

Patch Changes

0.0.80

Patch Changes

0.0.79

Patch Changes

0.0.78

Patch Changes

  • #1186 ff2c3fe1 Thanks @joelhawksley! - Revert #1163, as additional work will be needed to ship those changes to production successfully.

0.0.77

Patch Changes

0.0.76

Patch Changes

0.0.75

Patch Changes

0.0.74

Patch Changes

  • #1141 300f79a7 Thanks @maxbeizer! - AutoComplete component does not apply stacked label class if the label is not visible

0.0.73

Bug

  • Add conditional check for shadow root to avoid errors.

    Kate Higa

0.0.72

Bug

  • Fix tooltip arrow being off-centered for s and n.

  • Revert tooltip arrow offset for sw, se, nw, and ne.

    Kate Higa

Misc

  • Adding lookbook dev server to the project.

    Jon Rohan

  • Bump @primer/behaviors and remove dead code.

    Kate Higa

  • Enable eslint-plugin-custom-elements linting rulesets.

    Kate Higa, Kristján Oddsson

  • Introduce DeprecatedComponents rubocop rule.

    Kate Higa

  • Fix alphabetization of components in docs.

    David Wilson

  • Give codespaces more memory (4gb is not sufficient).

    Lindsey Wild Cameron Dutro

  • Rewrite the documentation for deploying the Rails storybook.

    Cameron Dutro

Bug Fixes

  • Ensure that no whitespace is added inside LinkComponent.

    Sam Morrow

Misc

  • Update documentation to reflect deprecation of require "view_component/engine"

    Leo Correa

0.0.71

Updates

  • Add responsive values for text_align system argument

    Lukas Spieß

0.0.70

New

  • Add Tooltip support to Button.

    Hector Garcia

  • Add Tooltip support to Link.

    Hector Garcia

Updates

  • Bumps @primer/css to 19.7.1 Kate Higa

  • Bumps auto-complete package to 3.1.0

  • Updates AutoComplete API with optional clear button, restricted icon, and other argument restrictions

    Lindsey Wild, Kate Higa, Owen Niblock

  • Check for the gh CLI tool in release scripts.

    Cameron Dutro

Bug Fixes

  • Ensure tooltip arrow position and tooltip width is correct.

    Kate Higa

  • Fix .eslintrc.json .ts files override.

    Hector Garcia

0.0.69

New

  • Add ability to attach custom CSS classes to items added to Truncate components.

    Cameron Dutro

  • Add Primer::Alpha::Tooltip component

    Kate Higa, Kristján Oddsson

Breaking Changes

Misc

  • Spelling fixes

    Josh Soref

  • Bump view_component in Gemfile.lock files

    Cameron Dutro

  • Remove markdown file mistakenly checked in.

    Kate Higa

  • Upgrade octicons to >= 17.0.0

    Jon Rohan

Bug Fixes

  • Fix missing @primer/components dependency.

    Hector Garcia

0.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.

  • Build storybook static assets into Docker image.

    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

  • Fix sequence of content in Subhead.

    Hector Garcia

Deprecations

  • Deprecate Tooltip component.

    Kate Higa

Misc

  • Updates README with missing alt attribute on image

    Kate Higa

  • Updates contributing docs

    Lindsey Wild

  • Fix link in system arguments docs

    Lukas Spieß

0.0.67

  • Updating octicons to > 16

    Jon Rohan

0.0.66

  • Revert optimization changes to utilities.

    Josh Klina

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

    Manuel Puyol

Bug Fixes

  • Call image_path on Primer::Image#src.

    Manuel Puyol

0.0.64

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

0.0.63

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

0.0.62

New

  • Add linter for tracking deprecated LayoutComponent callsites

    Josh Klina

  • Add functional Label schemes: accent, attention, severe, done and sponsors.

    Manuel Puyol, Simon Luthi

  • Add linter to migrate from deprecated Label schemes to the new ones.

    Manuel Puyol

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/css@19.0.0 and @primer/primitives@7.1.0. 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

Deprecations

  • Deprecate Label schemes info and warning in favor of accent and attention.

    Manuel Puyol, Simon Luthi

0.0.61

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

0.0.60

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

0.0.59

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

0.0.58

Updates

  • Add accessibility section to Breadcrumbs page.

    Kate Higa

  • Improve performance of the Classify module, i.e. Classify.call.

    Cameron Dutro

  • Background arguments are now pulled in through the utilities class.

    Jon Rohan

  • Border arguments are now pulled in through the utilities class.

    Jon Rohan

Breaking changes

  • bg: system argument will no longer accept hex color strings, and deprecated color scale.

    Jon Rohan

Bug fixes

  • Fix ClipboardCopy octicons not toggling correctly after first click.

    Manuel Puyol, Kristján Oddsson

0.0.57

Bug fixes

  • Don't suggest empty colors for Octicons when autocorrecting.

    Manuel Puyol

0.0.56

Updates

  • Octicon linter will autocorrect colors.

    Manuel Puyol

  • Button linter will autocorrect when button uses href, name, value or tabindex.

    Manuel Puyol

  • Flash linter won't autocorrect flashes with ERB in their content.

    Manuel Puyol

  • Eager load components.

    Cameron Dutro

Misc

  • Refactor some of the rubocop valid_node? logic into BaseCop class.

    Jon Rohan

  • Fix validation checker to use Utilities for color-* classes.

    Jon Rohan

0.0.55

Breaking changes

  • Primer::Breadcrumbs requires hrefs for all items and no longer accepts the selected argument.

    Joel Hawksley

  • Split TabNav into TabNav and TabPanels.

    Kate Higa

New

  • Use the allocation_stats gem to count object allocations in our benchmarks.

  • Improve performance of Octicon cache key construction.

    Cameron Dutro

  • Update @primer/css to 17.7.0 which includes a new argument for word_break

    Jon Rohan

Misc

  • Clean up extra constants in UnderlineNav.

    Kate Higa

0.0.54

Breaking changes

  • Rename BreadcrumbComponent to Beta::Breadcrumbs.

    Joel Hawksley

  • Split UnderlineNavComponent into Alpha::UnderlineNav and Alpha::UnderlinePanels.

    Kate Higa

0.0.53

New

  • Add autocorrection to FlashComponent linter when the context is basic text.

    Manuel Puyol

Updates

  • Linters won't mark offenses when the ignore count is correct unless explicitly configured to do so.

    Manuel Puyol

  • Deprecating background and border color presentational arguments

    Jon Rohan

  • Map the for argument when autofixing ClipboardCopy migrations.

    Kristján Oddsson

  • Add autocorrection for CloseButton linter.

    Manuel Puyol

  • Moving text color variables to Utilities class

    Jon Rohan

Bug fixes

  • Linters won't convert HTML special elements.

    Manuel Puyol

Misc

  • Only run CHANGELOG CI on pull requests.

    Manuel Puyol

  • Run CI actions on pushes to main.

    Cameron Dutro

  • Get to 100% code coverage.

    Cameron Dutro

0.0.52

New

  • Adding Primer::Beta::Truncate component to reflect changes in primer/css component Truncate.

    Jon Rohan

  • Add cop to look for deprecated system arguments and suggest replacements.

    Jon Rohan

  • Add cop to use primer_octicon in favor of octicon.

    Manuel Puyol

  • Fix release script so it doesn't loop continuously.

    Cameron Dutro

Updates

  • Promote ClipboardCopy to beta.

    Manuel Puyol

  • PrimerOcticon linter supports aria- and data- attributes.

    Manuel Puyol

  • Linters can:

    • convert values with ERB interpolations.

    • autocorrect cases with custom classes.

      Manuel Puyol

  • Add a scheme option to BorderBoxComponent rows.

    Cameron Dutro

  • Upgrade rubocop and support Ruby 3.0.

    Cameron Dutro

  • Linters will not autocorrect cases where a required argument is missing.

    Manuel Puyol

Misc

  • Update benchmarks to run in every supported Ruby version.

    Manuel Puyol

  • Add a linter generator.

    Manuel Puyol

0.0.51

Breaking changes

  • Rename width and height System Arguments to w and h, resolving conflict with HTML attribute names.

    Manuel Puyol

Updates

  • SystemArgumentInsteadOfClass linter will check for arguments in ViewHelpers.

    Manuel Puyol

0.0.50

Updates

  • Fix incorrect slots syntax in docs.

    Joel Hawksley, Blake Williams

New

  • Add linter suggestions for CloseButton component.

    Manuel Puyol

Breaking changes

Updates

  • Don't require title for Label.

    Manuel Puyol

  • Improve autocorrectable linters to convert known SystemArgument classes.

    Manuel Puyol

  • Add support for width: :full and height: :full to System Arguments.

    Joel Hawksley

Bug fixes

  • Update linters to not autocorrect attributes with ERB blocks.

    Manuel Puyol

  • Fix :height and :width docs to pull from Utilities

    Jon Rohan

0.0.49

New

  • Add linter suggestions for Label component.

    Manuel Puyol

  • Add linter suggestions for ClipboardCopy component.

    Manuel Puyol

Updates

  • Update the Truncate component to accept :strong as a tag.

    Amélia Chavot

  • Improve Primer::Classify::Utilities.classes_to_hash performance.

    Manuel Puyol

Breaking changes

  • Require tab with panels to have panel_id so aria-controls can be set.

    Kate Higa

  • Renames:

    • Primer::AvatarStackComponent to Primer::Beta::AvatarStack.

      Manuel Puyol

Misc

  • Extract example tag parsing into helper.

    Kate Higa

  • Generate a static constant JSON and use it when defining linters.

    Manuel Puyol

0.0.48

Breaking changes

  • Ensure panels in Navigation::Tab have a label.

    Kate Higa

Misc

  • Expose custom cops and default config for erblint.

    Manuel Puyol

  • Fix double constant assign.

    Manuel Puyol

0.0.47

Breaking changes

  • Restrict tag for Popover to :div and Popover heading slot to headings.

    Kate Higa

  • Renames:

    • Primer::AutoComplete to Primer::Beta::AutoComplete

    • Primer::AutoComplete::Item to Primer::Beta::AutoComplete::Item

    • Primer::AvatarComponent to Primer::Beta::Avatar

      Manuel Puyol

Misc

  • Update doc_examples_axe_test to exclude non-standalone components and fix Markdown 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

0.0.46

Updates

  • Default to matching name and id of input.

    Kate Higa

  • Restrict usage of padding system arguments on BorderBox, recommending use of padding density instead.

    Joel Hawksley

Breaking changes

  • Restrict TabNavand Tab tags.

    Kate Higa

  • Restrict AvatarStack body slot tag and ImageCrop spinner tag.

    Kate Higa

  • Restrict Details body slot tags and UnderlineNav body slot tags.

    Kate Higa

  • Move Primer::Classify from app/lib/ to lib/. This requires an extra require "primer/classify" statement for anywhere Classify is needed.

    Manuel Puyol, Jon Rohan

  • Restrict Menu heading slot tags to heading tags and require tag argument.

    Kate Higa

  • Adding animation, vertical_align, word_break, display, visibility, & position arguments to the utilities class. animation: :grow is now animation: :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 of true for boolean attributes.

    Manuel Puyol

  • Update Storybook version.

    Manuel Puyol

  • Add a changelog authoring guide to CHANGELOG.md.

    Amélia Chavot

0.0.45

Updates

  • Allow copying from elements using for in ClipboardCopy.

    Manuel Puyol

Breaking changes

  • Remove label argument in favor of aria-label in ClipboardCopy.

    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

0.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 for AutoComplete component.

    Kate Higa

  • Renames:

    • DropdownComponent to Dropdown.

    • Dropdown::MenuComponent to Dropdown::Menu.

    • Primer::ButtonMarketingComponent to Primer::Alpha::ButtonMarketing.

    • Primer::TextComponent to Primer::Beta::Text.

      Manuel Puyol

  • Removes summary_classes attribute in favor of the summary slot in Dropdown.

    Manuel Puyol

Misc

  • Replace Classify::Spacing class with pre-generated mappings.

    Jon Rohan

  • 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

0.0.43

New

  • Add clearfix and container system arguments.

    Manuel Puyol

Updates

  • Promote TabNav component to beta.

    Manuel Puyol

  • Allow customizing TabContainer when using TabNav and UnderlineNav 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

0.0.42

New

  • Add font_family, font_style and text_transform system arguments.

    Manuel Puyol

  • Add more options for font_size and font_weight.

    Manuel Puyol

Updates

  • Add align option to the TabNav 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 if ViewComponent::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, and HiddenTextExpander.

    Kate Higa

0.0.41

New

  • Create LocalTime component.

    Kristján Oddsson

  • Create Image component.

    Manuel Puyol

  • Add extra slot to TabNav.

    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

  • Rename TooltipComponent to Tooltip.

    Manuel Puyol

  • Don't allow OcticonComponent height/width values under 16px

    Jon Rohan

  • Remove :large size option from OcticonComponent and change :medium to 24px

    Jon Rohan

  • Restrict Label tag to span, div, a, summary.

    Kate Higa

Misc

  • Add a CI check for changes to the CHANGELOG file.

    Kristján Oddsson

0.0.40

New

  • Create ImageCrop component.

    Kristján Oddsson

Changes

  • Promote IconButton to beta.

    Manuel Puyol

  • Add box argument to IconButton.

    Manuel Puyol

  • Promote Markdown to beta.

    Manuel Puyol

Bug fixes

  • Fix IconButton raising when aria-label was provided using an object.

    Manuel Puyol

  • Fix disabling of default styles for SpinnerComponent via nil style parameter.

    Chris Wilson

Deprecations

  • Deprecate Flex in favor of BoxComponent.

    Manuel Puyol

Breaking Changes

  • Restrict ButtonGroup tag to :div and update docs for Text tag.

    Kate Higa

  • Remove non-functional width and height :fill option.

    Jon Rohan, Joel Hawksley

  • Restrict Subhead heading slot tag to div and h1-h6.

    Kate Higa

  • Restrict Blankslate tag to div.

    Kate Higa

  • Explicitly limit tag for AvatarStack to :div and :span.

    Kate Higa

  • Rename MarkdownComponent to Markdown.

    Manuel Puyol

0.0.39

  • Promote CloseButton to beta.

    Manuel Puyol

  • Update ClipboardCopy to not toggle icons unless they both exist.

    Kristján Oddsson

  • Add icon and counter slots to ButtonComponent.

    Manuel Puyol

  • Create IconButton component.

    Manuel Puyol

  • Removing trailing whitespace from output of class="" Classify generation.

    Jon Rohan

  • Deprecate FlexItem in favor of BoxComponent.

    Manuel Puyol

  • Dropping requirement of octicons_helper and updating OcticonComponent to use octicon gem directly.

    Jon Rohan

  • Breaking change: Remove :overlay option from border_color.

    Simon Luthi

0.0.38

  • Extract BaseButton component.

    Manuel Puyol

  • Add default aria-label of "Close" to CloseButton component.

    Kate Higa

  • Set button variants in the ButtonGroup parent.

    Manuel Puyol

  • Create ClipboardCopy component.

    Kristján Oddsson

  • Breaking change: Rename ButtonGroupComponent to ButtonGroup 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

0.0.37

  • Update NPM package to include subdirectory JS files.

    Manuel Puyol

0.0.36

  • 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

0.0.35

  • 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

0.0.34

  • 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 ButtonMarketing button_type argument to scheme.

    Manuel Puyol

  • Breaking change: Rename StateComponent color argument to scheme.

    Manuel Puyol

0.0.33

  • Remove TabbedComponent validation requiring a tab to be selected.

    Manuel Puyol

0.0.32

  • 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

0.0.31

  • Fix Popover bug where body was only returning the last line of the HTML.

    Manuel Puyol, Blake Williams

0.0.30

  • Make color:, bg: and border_color: accept string values.

    Manuel Puyol

0.0.29

  • Add primer_time_ago helper.

    Simon Taranto

  • Add silence_deprecations config to suppress deprecation warnings.

    Manuel Puyol

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

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

0.0.26

  • Fix DetailsComponent summary always being rendered as a btn.

    Manuel Puyol

  • Promote BlankslateComponent and BaseComponent to beta status.

    Simon Taranto

0.0.25

  • Promote SubheadComponent to beta.

    Simon Taranto

  • Add deprecated orange and purple schemes to LabelComponent.

    Manuel Puyol

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

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

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

0.0.21

  • Breaking change: Upgrade FlashComponent to use Slots V2.

    Joel Hawksley, Simon Taranto

  • Breaking change: Upgrade BlankslateComponent to use Slots V2.

    Manuel Puyol

  • Breaking change: Upgrade TimelineItemComponent to use Slots V2.

    Manuel Puyol

0.0.20

  • Fix bug when empty string was passed to Classify.

    Manuel Puyol

0.0.19

  • Add support for functional colors to color system argument.

    Jake Shorty

  • Add AvatarStack, Dropdown, Markdown and Menu components.

    Manuel Puyol

  • Deprecate DropdownMenuComponent.

    Manuel Puyol

  • Fix Avatar bug when used with links.

    Manuel Puyol

  • Add cache for common Primer values.

    Blake Williams

  • Add support for octicons_helper v12.

    Cole Bemis

  • Add support for border: true to apply the border class.

    Simon Taranto

  • Promote Avatar, Link, and Counter components to beta.

    Simon Taranto

  • Breaking change: Drop support for Ruby 2.4.

    Simon Taranto

0.0.18

  • Add border_radius system argument.

    Ash Guillaume

  • Add animation system argument.

    Manuel Puyol

  • Add Truncate, ButtonGroup and ButtonMarketing components.

    Manuel Puyol

  • Add Tooltip component.

    Simon Taranto

0.0.17

  • Ensure all components support inline styles.

    Joel Hawksley

0.0.16

  • Adding a spinner slot to the BlankslateComponent that uses the SpinnerComponent added in 0.0.10.

    Jon Rohan

  • Bumping node engine to version 15.x

    Jon Rohan

0.0.15

  • Add ability to disable limit on Counter.

    Christian Giordano

  • Rename v system argument to visibility.

    Joel Hawksley

0.0.14

  • Add functional colors to Label.

    Joel Hawksley

0.0.13

  • Add support for xl breakpoint.

    Joel Hawksley

0.0.12

  • Adds support for disabling inline box-sizing style for SpinnerComponent via style parameter Primer::SpinnerComponent.new(style: nil).

    Chris Wilson

0.0.11

  • Renames DetailsComponent::OVERLAY_DEFAULT to DetailsComponent::NO_OVERLAY to more correctly describe its value.

    Justin Kenyon

0.0.10

  • Add SpinnerComponent

    Cole Bemis

0.0.9

  • BREAKING CHANGE: OcticonComponent no longer accepts class parameter; use classes instead.

    heynan0

0.0.8

  • Add support for border margins, such as: border_top: 0.

    Natasha Umer

  • Add FlashComponent and OcticonComponent.

    Joel Hawksley

  • BREAKING CHANGE: BlankslateComponent accepts icon_size instead of icon_height.

    Joel Hawksley

0.0.7

  • Use octicons_helper v11.0.0.

    Joel Hawksley

0.0.6

  • Updated the invalid class name error message

    emplums

  • Updated README with testing instructions

    emplums

  • Add large and spacious option to BlankslateComponent

    simurai

  • Add option for ButtonComponent to render a summary tag

    Manuel Puyol

  • BREAKING CHANGE: Changed DetailsComponent summary and body to be slots

    Manuel Puyol

0.0.5

  • Add support for box_shadow

  • Add components:

    • Popover

      Sarah Vessels

0.0.4

  • Added support for mx: and my: :auto.

    Christian Giordano

  • Added support for custom layout sizes.

    Manuel Puyol

0.0.3

  • Add support for responsive float system argument.

    Joel Hawksley

  • Add components:

    • Avatar

    • Blankslate

      Manuel Puyol, Ben Emdon

0.0.1

  • Add initial gem configuration.

    Manuel Puyol, Joel Hawksley

  • Add demo app and storybook to test

    Manuel Puyol

  • Add Classify, FetchOrFallback and ClassName helpers

    Manuel Puyol

  • Add components:

    • BorderBox

    • Box

    • Breadcrumb

    • Button

    • Counter

    • Details

    • Dropdown

    • Flex

    • FlexItem

    • Heading

    • Label

    • Layout

    • Link

    • ProgressBar

    • State

    • Subhead

    • Text

    • TimelineItem

    • UnderlineNav

      Manuel Puyol