# CHANGELOG ## 0.0.90 ### Patch Changes - [#1290](https://github.com/primer/view_components/pull/1290) [`cc81b54c`](https://github.com/primer/view_components/commit/cc81b54ccdeb685efb3711aad02e8229fee9d9c5) Thanks [@mxriverlynn](https://github.com/mxriverlynn)! - updating BorderBox slot use to the new `.with_#{slot_name}` syntax * [#1294](https://github.com/primer/view_components/pull/1294) [`52fed9a9`](https://github.com/primer/view_components/commit/52fed9a944cae6104eeba1054d4a00b309eac795) Thanks [@mxriverlynn](https://github.com/mxriverlynn)! - updating slot use for examples in all components in the root component folder - [#1295](https://github.com/primer/view_components/pull/1295) [`26d6c3e3`](https://github.com/primer/view_components/commit/26d6c3e3412ca18e71cd67b0797c40183f47ff17) Thanks [@khiga8](https://github.com/khiga8)! - Revert "Use `visibility: 'hidden'` instead of `hidden` attribute" * [#1292](https://github.com/primer/view_components/pull/1292) [`28cdc994`](https://github.com/primer/view_components/commit/28cdc99466471fa7f89fe9cf094a91509456b604) Thanks [@mxriverlynn](https://github.com/mxriverlynn)! - updating slot use in examples, for all `status :alpha` components - [#1293](https://github.com/primer/view_components/pull/1293) [`4d1e8d29`](https://github.com/primer/view_components/commit/4d1e8d297f52023ce3901e29e364bc1584cc6546) Thanks [@mxriverlynn](https://github.com/mxriverlynn)! - updating slot use for components in the beta/ folder * [`fe709011`](https://github.com/primer/view_components/commit/fe7090113519090d08eddf04540986702c9a595e) Thanks [@mxriverlynn](https://github.com/mxriverlynn)! - move the Primer::CloseButton component into Primer::Beta::CloseButton, update all references, create a deprecated Primer::CloseButton in place of the original - [`7da8c968`](https://github.com/primer/view_components/commit/7da8c968ef20fa3c19e1c6850886694a942facda) Thanks [@mxriverlynn](https://github.com/mxriverlynn)! - moving Primer::Counter to Primer::Beta::Counter, and replace original with a deprecated version" ## 0.0.89 ### Patch Changes - [#1284](https://github.com/primer/view_components/pull/1284) [`401dac2a`](https://github.com/primer/view_components/commit/401dac2a1ab2e026b231399ddb03cfb51bc7742f) Thanks [@jonrohan](https://github.com/jonrohan)! - Don't render tooltip on IconButton when tag is a summary element * [#1283](https://github.com/primer/view_components/pull/1283) [`ea1c29d7`](https://github.com/primer/view_components/commit/ea1c29d7fa0d917a729cba684bf5f8ae039bb228) Thanks [@jonrohan](https://github.com/jonrohan)! - Updating label component to not always have large ## 0.0.88 ### Patch Changes - [#1275](https://github.com/primer/view_components/pull/1275) [`1e9ce95c`](https://github.com/primer/view_components/commit/1e9ce95cdc942acdb51807839b2924731a1ab295) Thanks [@mxriverlynn](https://github.com/mxriverlynn)! - move Primer::ButtonGroup to Primer::Beta::ButtonGroup, update all references, and add deprecated Primer::ButtonGroup for backwards compatibility * [#1266](https://github.com/primer/view_components/pull/1266) [`7d2949de`](https://github.com/primer/view_components/commit/7d2949de758b97aa940287a1ceabd5d16209cae2) Thanks [@mxriverlynn](https://github.com/mxriverlynn)! - moving Primer::BoxComponent to Primer::Box and creating deprecated Primer::BoxComponent for backward compatibility - [#1281](https://github.com/primer/view_components/pull/1281) [`843061de`](https://github.com/primer/view_components/commit/843061de168a1927a80fd22e7da795c1a9ddaacd) Thanks [@jonrohan](https://github.com/jonrohan)! - Always set `:absolute` position on Primer::Alpha::Tooltip * [#934](https://github.com/primer/view_components/pull/934) [`d638fefb`](https://github.com/primer/view_components/commit/d638fefbb55ce9802e91b374903bcde9cc6ab612) Thanks [@pouretrebelle](https://github.com/pouretrebelle)! - Refactor the LabelComponent API ## 0.0.87 ### Patch Changes - [#1274](https://github.com/primer/view_components/pull/1274) [`c153f734`](https://github.com/primer/view_components/commit/c153f734a891fc3bc7dfc3bed34630ff38ab39d7) Thanks [@jonrohan](https://github.com/jonrohan)! - Fixing whitespace in rendered LinkComponent * [#1273](https://github.com/primer/view_components/pull/1273) [`f38517ac`](https://github.com/primer/view_components/commit/f38517acf1aed43b27f2c6b94634d70b124883e6) Thanks [@camertron](https://github.com/camertron)! - Revert removal of BlankslateComponent - [#1270](https://github.com/primer/view_components/pull/1270) [`44919308`](https://github.com/primer/view_components/commit/4491930812d16a9bcb5d8f05b4d94e49e469afa5) Thanks [@camertron](https://github.com/camertron)! - Use a custom form builder; introduce primer_form_for * [#1269](https://github.com/primer/view_components/pull/1269) [`9ae9615f`](https://github.com/primer/view_components/commit/9ae9615f31acf43875feb89661cac6311527f9fd) Thanks [@mxriverlynn](https://github.com/mxriverlynn)! - updating component migrator script with improvements in component reference updates, deprecations, etc. - [#1276](https://github.com/primer/view_components/pull/1276) [`759ea56f`](https://github.com/primer/view_components/commit/759ea56f00cbe3e536f4e558a9fb9a3e1b89bf7b) Thanks [@mxriverlynn](https://github.com/mxriverlynn)! - correcting the updates to nav.yml in the component status migrator ## 0.0.86 ### Patch Changes - [#1247](https://github.com/primer/view_components/pull/1247) [`dbe606b7`](https://github.com/primer/view_components/commit/dbe606b7f38ba52f24edeae2f02f390ad13133ab) Thanks [@khiga8](https://github.com/khiga8)! - Set `aria-hidden="true"` when type is label * [#1262](https://github.com/primer/view_components/pull/1262) [`4a347b69`](https://github.com/primer/view_components/commit/4a347b6965990c1d73296d297367cb72b36539d2) Thanks [@mxriverlynn](https://github.com/mxriverlynn)! - updating the component migrator to support `--status stable` - [#1244](https://github.com/primer/view_components/pull/1244) [`91a6d2df`](https://github.com/primer/view_components/commit/91a6d2df032fbb21ccaf3edc07b86f3c97b1add0) Thanks [@neall](https://github.com/neall)! - Stop requiring aria-label on ClipboardCopy with other content. * [#1256](https://github.com/primer/view_components/pull/1256) [`544dd564`](https://github.com/primer/view_components/commit/544dd5647da64c06020d3ae7719f9b6ad32bee55) Thanks [@khiga8](https://github.com/khiga8)! - Use `visibility: 'hidden'` instead of `hidden` attribute to hide tooltip - [#1238](https://github.com/primer/view_components/pull/1238) [`204a8e4e`](https://github.com/primer/view_components/commit/204a8e4e11931061f7a855b79f90c7aaa2e51945) Thanks [@camertron](https://github.com/camertron)! - Merge primer/rails_forms into primer/view_components * [#1265](https://github.com/primer/view_components/pull/1265) [`61a78c4f`](https://github.com/primer/view_components/commit/61a78c4f3362fc532149ddf5090252dd3af9122d) Thanks [@jonrohan](https://github.com/jonrohan)! - Update IconButton and Button tooltips to be sibling instead of child - [#1255](https://github.com/primer/view_components/pull/1255) [`3729a9bf`](https://github.com/primer/view_components/commit/3729a9bfed5d1dbe40510b6a783212453fcc08d3) Thanks [@mxriverlynn](https://github.com/mxriverlynn)! - migrating `Primer::BorderBoxComponent` to `Primer::Beta::BorderBox` * [#1241](https://github.com/primer/view_components/pull/1241) [`918cfe3f`](https://github.com/primer/view_components/commit/918cfe3f143e5fe30dfb4db1dd46449bc54a0a87) Thanks [@jonrohan](https://github.com/jonrohan)! - Deprecating the `Primer::Alpha::Autocomplete` component - [#1062](https://github.com/primer/view_components/pull/1062) [`4b673a6c`](https://github.com/primer/view_components/commit/4b673a6c1ec9f0bc0710128fc365448e94d7b387) Thanks [@hectahertz](https://github.com/hectahertz)! - Add `Tooltip` support to `IconButton` * [#1261](https://github.com/primer/view_components/pull/1261) [`8191b80d`](https://github.com/primer/view_components/commit/8191b80de219f100c07cea9d9fdabfa9f50f6e1e) Thanks [@camertron](https://github.com/camertron)! - Make all subdirs of docs/static in prepare script - [#1260](https://github.com/primer/view_components/pull/1260) [`1a6562fe`](https://github.com/primer/view_components/commit/1a6562fe46503e21aade77df1f6ae542cbc2ddd6) Thanks [@khiga8](https://github.com/khiga8)! - Move tooltip to be sibling of link * [#1258](https://github.com/primer/view_components/pull/1258) [`d3880f74`](https://github.com/primer/view_components/commit/d3880f74d4fe20ad1a81c9b40af10c67dda52369) Thanks [@camertron](https://github.com/camertron)! - Replace YAML load with YAML safe load with allowed classes list - [#1254](https://github.com/primer/view_components/pull/1254) [`fc2fbace`](https://github.com/primer/view_components/commit/fc2fbace9c4728dea582df40efde118cfe8ac6a8) Thanks [@mxriverlynn](https://github.com/mxriverlynn)! - cleaning up the BlankSlate component to ensure it follows current standards for beta components ## 0.0.85 ### Patch Changes - [#1239](https://github.com/primer/view_components/pull/1239) [`bc9e8385`](https://github.com/primer/view_components/commit/bc9e8385894b708929d0e58a63681572493f090e) Thanks [@langermank](https://github.com/langermank)! - Remove deprecated params added for autocomplete beta ## 0.0.84 ### Patch Changes - [#1189](https://github.com/primer/view_components/pull/1189) [`ec3af746`](https://github.com/primer/view_components/commit/ec3af746dceb8e4a0c967fe270f149d48e81489b) Thanks [@langermank](https://github.com/langermank)! - Autocomplete design updates * [#1229](https://github.com/primer/view_components/pull/1229) [`5631d286`](https://github.com/primer/view_components/commit/5631d286c559cf4bbb96b85c0bb41dbeda5953d4) Thanks [@mxriverlynn](https://github.com/mxriverlynn)! - component generator: correcting template and thor tasks to account for component status - [#1232](https://github.com/primer/view_components/pull/1232) [`3a154bf4`](https://github.com/primer/view_components/commit/3a154bf4452f5ed8f7694eb917c13258d34ff6c0) Thanks [@jonrohan](https://github.com/jonrohan)! - Consolidating view_components previews into test/previews/ folder * [#1224](https://github.com/primer/view_components/pull/1224) [`2fc38746`](https://github.com/primer/view_components/commit/2fc387460e5f185463cbca8ffe0f098a06e2dec8) Thanks [@camertron](https://github.com/camertron)! - Add the ConditionalWrapper for conditionally wrapping content - [#1234](https://github.com/primer/view_components/pull/1234) [`ee04a4a9`](https://github.com/primer/view_components/commit/ee04a4a937c56156b3232552c7d10b0ec0336ab7) Thanks [@mxriverlynn](https://github.com/mxriverlynn)! - updating links in the contributing docs to point to correct locations ## 0.0.83 ### Patch Changes - [#1222](https://github.com/primer/view_components/pull/1222) [`d48f6c4b`](https://github.com/primer/view_components/commit/d48f6c4ba45945ad87e81ea98e16d36347a864eb) Thanks [@jonrohan](https://github.com/jonrohan)! - Adding listen path for the app/components folder * [#1223](https://github.com/primer/view_components/pull/1223) [`c675cfe1`](https://github.com/primer/view_components/commit/c675cfe15425ad61f89c0d9f78c6f5ad36f11f75) Thanks [@khiga8](https://github.com/khiga8)! - Update README.md - [#1215](https://github.com/primer/view_components/pull/1215) [`32a8b21f`](https://github.com/primer/view_components/commit/32a8b21f5d0281ce10504946c8541520764310ac) Thanks [@khiga8](https://github.com/khiga8)! - Add `DeprecatedComponents` ERB lint rule * [#1228](https://github.com/primer/view_components/pull/1228) [`ab9dfabc`](https://github.com/primer/view_components/commit/ab9dfabc92b7914f10828ffd6580a91508eae764) Thanks [@khiga8](https://github.com/khiga8)! - Update devcontainer.json with ERB lint extension - [#1227](https://github.com/primer/view_components/pull/1227) [`85fdb403`](https://github.com/primer/view_components/commit/85fdb40385cf59dd181aceff56c4991515a7f3fe) Thanks [@keithamus](https://github.com/keithamus)! - Upgrade JS packages * [#1216](https://github.com/primer/view_components/pull/1216) [`e3de2bb4`](https://github.com/primer/view_components/commit/e3de2bb466518b380ef87b1f4a2433fdc3bbbfcc) Thanks [@jonrohan](https://github.com/jonrohan)! - Move lookbook previews from the lookbook folder to the main project ## 0.0.82 ### Patch Changes - [#1211](https://github.com/primer/view_components/pull/1211) [`047c6be6`](https://github.com/primer/view_components/commit/047c6be6f601192255a3611940e46fc5a24b46bd) Thanks [@camertron](https://github.com/camertron)! - Don't lint ERB files with Rubocop * [#1210](https://github.com/primer/view_components/pull/1210) [`7b3d5941`](https://github.com/primer/view_components/commit/7b3d59415d846e254128d04253fadfdb399c8c84) Thanks [@camertron](https://github.com/camertron)! - Silence polymorphic slots warning message ## 0.0.81 ### Patch Changes - [#1200](https://github.com/primer/view_components/pull/1200) [`a6505054`](https://github.com/primer/view_components/commit/a6505054a07ae006c9d48e19a2b4be6c2e2663b3) Thanks [@camertron](https://github.com/camertron)! - Use Rubocop cops to lint .erb files * [#1201](https://github.com/primer/view_components/pull/1201) [`de2c7d68`](https://github.com/primer/view_components/commit/de2c7d68ff7d13135c04f5dd40a1e547e41923ba) Thanks [@camertron](https://github.com/camertron)! - Add xsmall size for octicons ## 0.0.80 ### Patch Changes - [#1192](https://github.com/primer/view_components/pull/1192) [`d9440694`](https://github.com/primer/view_components/commit/d9440694cccd6eee9642ee74a1f2c351c83de1e7) Thanks [@camertron](https://github.com/camertron)! - Fix sidebar link to the Flash component in docs * [#1199](https://github.com/primer/view_components/pull/1199) [`3c16e7b3`](https://github.com/primer/view_components/commit/3c16e7b3825d9644a0628edf3d317c3418a9ca03) Thanks [@BlakeWilliams](https://github.com/BlakeWilliams)! - Prevent slot from overriding component system_arguments - [#1191](https://github.com/primer/view_components/pull/1191) [`d82359d6`](https://github.com/primer/view_components/commit/d82359d6ea677ffa17c134536bfe660e27ce4851) Thanks [@camertron](https://github.com/camertron)! - Fix PVC installation docs to mention correct Javascript include * [#1198](https://github.com/primer/view_components/pull/1198) [`63977720`](https://github.com/primer/view_components/commit/63977720e421d06942320c79345536a52ff4f9e2) Thanks [@camertron](https://github.com/camertron)! - Add ActionList linter - [#1194](https://github.com/primer/view_components/pull/1194) [`568f312c`](https://github.com/primer/view_components/commit/568f312cce81250d6699027febb6ff3816532ca8) Thanks [@camertron](https://github.com/camertron)! - Remove version manager files ## 0.0.79 ### Patch Changes - [#1188](https://github.com/primer/view_components/pull/1188) [`fb7218ac`](https://github.com/primer/view_components/commit/fb7218ac5c4de2253cb627c99bc9469635cde98b) Thanks [@joelhawksley](https://github.com/joelhawksley)! - Revert leftover deprecated arguments from 1163. ## 0.0.78 ### Patch Changes - [#1186](https://github.com/primer/view_components/pull/1186) [`ff2c3fe1`](https://github.com/primer/view_components/commit/ff2c3fe1913d7a1d65dbd4f608b68155ed247bef) Thanks [@joelhawksley](https://github.com/joelhawksley)! - Revert #1163, as additional work will be needed to ship those changes to production successfully. ## 0.0.77 ### Patch Changes - [#1185](https://github.com/primer/view_components/pull/1185) [`66a15b1a`](https://github.com/primer/view_components/commit/66a15b1a556e9814109317729b729dbee5316594) Thanks [@joelhawksley](https://github.com/joelhawksley)! - Rename FlashComponent to Flash * [#1183](https://github.com/primer/view_components/pull/1183) [`84b9e4ef`](https://github.com/primer/view_components/commit/84b9e4ef60c9f0d1c2df830f247f2a55aac82783) Thanks [@camertron](https://github.com/camertron)! - Remove trailing newlines from the output of LinkComponent ## 0.0.76 ### Patch Changes - [#1182](https://github.com/primer/view_components/pull/1182) [`33fc7907`](https://github.com/primer/view_components/commit/33fc7907b0476bebd1d2c54e3e9c335b5e12da3b) Thanks [@camertron](https://github.com/camertron)! - Adjust DeprecatedArguments cop to handle boolean values * [#1179](https://github.com/primer/view_components/pull/1179) [`aa7afef2`](https://github.com/primer/view_components/commit/aa7afef27dff6baac2d98e23d47194fbfddbe181) Thanks [@maxbeizer](https://github.com/maxbeizer)! - Add `role` to system args docs. - [#1180](https://github.com/primer/view_components/pull/1180) [`3dfcf015`](https://github.com/primer/view_components/commit/3dfcf015af0e301e54a15986cb114ccf84dd65d9) Thanks [@joelhawksley](https://github.com/joelhawksley)! - Upgrading view_component - Bump to latest release of [view_component 2.56.0](https://github.com/github/view_component/releases/tag/v2.56.0). - Remove dependency on the now-changed private `@rendered_component` api. ## 0.0.75 ### Patch Changes - [#1163](https://github.com/primer/view_components/pull/1163) [`1fabdc63`](https://github.com/primer/view_components/commit/1fabdc636e44094cebbaf58bfde7c15e2231016a) Thanks [@langermank](https://github.com/langermank)! - Autocomplete design updates ## 0.0.74 ### Patch Changes - [#1150](https://github.com/primer/view_components/pull/1150) [`36702a8e`](https://github.com/primer/view_components/commit/36702a8e621766772fe09d80de74c4debe8950fd) Thanks [@jonrohan](https://github.com/jonrohan)! - Adding changesets workflow to the repository for managing releases. * [#1153](https://github.com/primer/view_components/pull/1153) [`8b21a680`](https://github.com/primer/view_components/commit/8b21a6808f5a9b18bd8b436b07b5b8b84b5a7397) Thanks [@camertron](https://github.com/camertron)! - Add a linter for calls to super in templates - [#1141](https://github.com/primer/view_components/pull/1141) [`300f79a7`](https://github.com/primer/view_components/commit/300f79a762c71397de90f8d1cada529b9e9d63b6) Thanks [@maxbeizer](https://github.com/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](https://github.com/allmarkedup/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 - Module for [script/update-statuses-project.rb](script/update-statuses-project.rb) changed to `GitHub` _Josh Soref_ ### 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 `href`s 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](https://primer.style/css/components/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 - Update to `octicons` `v15`, removing open-ended dependency. See [https://github.com/primer/octicons/releases/tag/v15.0.0] for icon name changes in release. _Joel Hawksley_ ### 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 `TabNav`and `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 `` 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 `