# CHANGELOG ## 0.0.103 ### Patch Changes - [#1457](https://github.com/primer/view_components/pull/1457) [`7fa6d221`](https://github.com/primer/view_components/commit/7fa6d221f4e2196d3421592d89f48a4abe7b8373) Thanks [@orhantoy](https://github.com/orhantoy)! - Remove dead Flex and FlexItem links from nav * [#1469](https://github.com/primer/view_components/pull/1469) [`a3442456`](https://github.com/primer/view_components/commit/a3442456c5230918ff3cedb7293d4799b963599d) Thanks [@jonrohan](https://github.com/jonrohan)! - Removing the deprecated Primer::HeadingComponent component. - [#1480](https://github.com/primer/view_components/pull/1480) [`c764cee6`](https://github.com/primer/view_components/commit/c764cee6744c91671db729bd7ac60dc532398820) Thanks [@koddsson](https://github.com/koddsson)! - Fix nested dialogs * [#1466](https://github.com/primer/view_components/pull/1466) [`9b5cff15`](https://github.com/primer/view_components/commit/9b5cff1513ca24f85906fd8ed54d34d056504535) Thanks [@jonrohan](https://github.com/jonrohan)! - Removing the deprecated Primer::HiddenTextExpander component. - [#1471](https://github.com/primer/view_components/pull/1471) [`5687bebe`](https://github.com/primer/view_components/commit/5687bebebb3c0fa58bf63d2a1ff09602b9f3987d) Thanks [@koddsson](https://github.com/koddsson)! - Make sure nested dialogs behave correctly * [#1479](https://github.com/primer/view_components/pull/1479) [`b0281033`](https://github.com/primer/view_components/commit/b028103397ac94375035d38c5ca85e85aeffde08) Thanks [@khiga8](https://github.com/khiga8)! - move tooltip to be adjacent to button - [#1468](https://github.com/primer/view_components/pull/1468) [`ae99c2ed`](https://github.com/primer/view_components/commit/ae99c2ed9e9b937d79443cbc393bddd6f02a2112) Thanks [@jonrohan](https://github.com/jonrohan)! - Removing the deprecated Primer::CloseButton component. * [#1476](https://github.com/primer/view_components/pull/1476) [`f174b31c`](https://github.com/primer/view_components/commit/f174b31c7bf59d08402d03c35a2bc52fc34bc687) Thanks [@camertron](https://github.com/camertron)! - Bump view_component to 2.74.1 to fix deadlock issues in Lookbook - [#1452](https://github.com/primer/view_components/pull/1452) [`9252a124`](https://github.com/primer/view_components/commit/9252a12435d9bb5a3bd2610a72e12358c1ca2c2b) Thanks [@steves](https://github.com/steves)! - Move sample forms out of test folder * [#1467](https://github.com/primer/view_components/pull/1467) [`a3b562ca`](https://github.com/primer/view_components/commit/a3b562cae569902c0ce3131599654b8a00720095) Thanks [@jonrohan](https://github.com/jonrohan)! - Removing the deprecated Primer::DetailsComponent component. ## 0.0.102 ### Patch Changes - [#1450](https://github.com/primer/view_components/pull/1450) [`ef4498df`](https://github.com/primer/view_components/commit/ef4498df7630e3b5d9895eb92910fc36622c32de) Thanks [@camertron](https://github.com/camertron)! - Don't export ToggleSwitchElement * [#1446](https://github.com/primer/view_components/pull/1446) [`4f235520`](https://github.com/primer/view_components/commit/4f23552009b932be1238a38b7cef21ffcc6fe632) Thanks [@camertron](https://github.com/camertron)! - Allow NavLists to define sub-items as well as a trailing visual - [#1445](https://github.com/primer/view_components/pull/1445) [`493530ed`](https://github.com/primer/view_components/commit/493530ed8e097c89322d52e73d6ac8a320573b43) Thanks [@camertron](https://github.com/camertron)! - Remove unused instance variable in ActionList * [#1441](https://github.com/primer/view_components/pull/1441) [`bd8fe7f5`](https://github.com/primer/view_components/commit/bd8fe7f5c9c20e28354d96a36717f6a56ef57fa4) Thanks [@jonrohan](https://github.com/jonrohan)! - Removing deprecated FlexComponent and FlexItemComponent ## 0.0.101 ### Patch Changes - [#1424](https://github.com/primer/view_components/pull/1424) [`d7b277ef`](https://github.com/primer/view_components/commit/d7b277ef00aed062d6d123cb99c014a14ea3c7a1) Thanks [@camertron](https://github.com/camertron)! - Allow specifying an unchecked value for check box inputs * [#1439](https://github.com/primer/view_components/pull/1439) [`56fae759`](https://github.com/primer/view_components/commit/56fae7599e74b1b734e30c10b7b8b54e4782df5d) Thanks [@camertron](https://github.com/camertron)! - Support system arguments for ActionList item anchor tags - [#1438](https://github.com/primer/view_components/pull/1438) [`b0329cda`](https://github.com/primer/view_components/commit/b0329cdac8ea5edbe38ddec20107777c394caa0d) Thanks [@langermank](https://github.com/langermank)! - ActionListItem `line-height` bug fix * [#1435](https://github.com/primer/view_components/pull/1435) [`8312e6ce`](https://github.com/primer/view_components/commit/8312e6cee8f51260e810000ed89624e2f316e25b) Thanks [@camertron](https://github.com/camertron)! - Allow NavList items to be selected by the current page ## 0.0.100 ### Patch Changes - [#1428](https://github.com/primer/view_components/pull/1428) [`b7b0c8be`](https://github.com/primer/view_components/commit/b7b0c8be1e2a82327f6dd4b2104a3e4fb3089394) Thanks [@bolonio](https://github.com/bolonio)! - Remove external classes from the the button content `` in `Primer::beta::Button` * [#1427](https://github.com/primer/view_components/pull/1427) [`2139fa30`](https://github.com/primer/view_components/commit/2139fa30982b49e88a44ab6be72f3428f6e5b0f1) Thanks [@langermank](https://github.com/langermank)! - Beta::Button CSS bug fixes ## 0.0.99 ### Patch Changes - [#1421](https://github.com/primer/view_components/pull/1421) [`c35a5c32`](https://github.com/primer/view_components/commit/c35a5c3226ab39aa62182ee4816e63d9c1d0c598) Thanks [@langermank](https://github.com/langermank)! - Fix Beta::Button visual regressions - Add back link styles - Ensure invisible buttons are blue when no visuals are present * [#1422](https://github.com/primer/view_components/pull/1422) [`a129a4d1`](https://github.com/primer/view_components/commit/a129a4d1b7d1dfae6d2d623e1603ea6e75533940) Thanks [@camertron](https://github.com/camertron)! - Add SVG and custom content options to NavList's leading visual slot ## 0.0.98 ### Patch Changes - [#1420](https://github.com/primer/view_components/pull/1420) [`d6623553`](https://github.com/primer/view_components/commit/d662355359b1b5d8801cc6a86a1376cb1d2da63b) Thanks [@mxriverlynn](https://github.com/mxriverlynn)! - un-deprecate Primer::ButtonComponent for now, due to inconsistencies and issues in migrating to Primer::Beta::Button * [`1d4b6851`](https://github.com/primer/view_components/commit/1d4b685174ca82cb0f67e65cc095810841b0b390) Thanks [@jonrohan](https://github.com/jonrohan)! - Move previews into root and include in gemspec. Thanks [@steves](https://github.com/steves)! [#1404](https://github.com/primer/view_components/pull/1404) - [#1416](https://github.com/primer/view_components/pull/1416) [`f99156fd`](https://github.com/primer/view_components/commit/f99156fddcab45467a4da773387efa4ea13401c3) Thanks [@jonrohan](https://github.com/jonrohan)! - Don't use outside images in docs examples ## 0.0.97 ### Patch Changes - [#1268](https://github.com/primer/view_components/pull/1268) [`f26afd94`](https://github.com/primer/view_components/commit/f26afd9427c82d38c0c1f7d866dade959cb78364) Thanks [@camertron](https://github.com/camertron)! - Add the ActionList and NavList components * [#1412](https://github.com/primer/view_components/pull/1412) [`cf548425`](https://github.com/primer/view_components/commit/cf54842572f9e040c1fb51c2b9c0c5e3a2902235) Thanks [@owenniblock](https://github.com/owenniblock)! - Change header tag to div on `Primer::Alpha::Dialog` ## 0.0.96 ### Patch Changes - [#1400](https://github.com/primer/view_components/pull/1400) [`ae48b9fe`](https://github.com/primer/view_components/commit/ae48b9fe9d7ef3a908ea9f84f5fd25cf9bf40e50) Thanks [@langermank](https://github.com/langermank)! - - Add Lookbook previews for Beta Button and IconButton - Tiny CSS bug fix * [#1406](https://github.com/primer/view_components/pull/1406) [`1fec4bf5`](https://github.com/primer/view_components/commit/1fec4bf5097d3f002208840694d05dd4401c7a83) Thanks [@jonrohan](https://github.com/jonrohan)! - Raise on usage of deprecated arguments in Primer::Beta::Button - [#1402](https://github.com/primer/view_components/pull/1402) [`7e50f6d9`](https://github.com/primer/view_components/commit/7e50f6d93338da50e2aa670c7c9f1a23fb7dfecc) Thanks [@joelhawksley](https://github.com/joelhawksley)! - Move Octicon cache preload to initializer. ## 0.0.95 ### Patch Changes - [#1372](https://github.com/primer/view_components/pull/1372) [`98155b10`](https://github.com/primer/view_components/commit/98155b10599d3b1753c32b7c247acadff926eaa4) Thanks [@jonrohan](https://github.com/jonrohan)! - Delete the deprecated Primer::ButtonGroup component * [#1386](https://github.com/primer/view_components/pull/1386) [`142b8193`](https://github.com/primer/view_components/commit/142b8193abd973a5bf6fd413d0a1e11fa0b3d3ae) Thanks [@khiga8](https://github.com/khiga8)! - Make sure duplicate ID associations aren't created for the Button - [#1371](https://github.com/primer/view_components/pull/1371) [`d0ddcce0`](https://github.com/primer/view_components/commit/d0ddcce0fbb4b46b1746e5688b23c54e1ba74f12) Thanks [@jonrohan](https://github.com/jonrohan)! - Delete the deprecated Primer::BaseButton component * [#1396](https://github.com/primer/view_components/pull/1396) [`e0c50dcb`](https://github.com/primer/view_components/commit/e0c50dcbc12f31bdc0cac480f563952404051f14) Thanks [@mxriverlynn](https://github.com/mxriverlynn)! - mark Primer::ButtonComponent as deprecated in favor of Primer::Beta::Button - [#1393](https://github.com/primer/view_components/pull/1393) [`5533f8e7`](https://github.com/primer/view_components/commit/5533f8e7dfffceba0e4b94bbc3bae1e17ebcff91) Thanks [@camertron](https://github.com/camertron)! - Add the Requested-With header to toggle switch requests * [#1382](https://github.com/primer/view_components/pull/1382) [`6fd690c8`](https://github.com/primer/view_components/commit/6fd690c8804cd4a1cc8bdbb76d1f6f7e795ab8d6) Thanks [@kangarruu](https://github.com/kangarruu)! - Docs change to fix typo and descriptions in dialog.rb - [#1397](https://github.com/primer/view_components/pull/1397) [`1ad8cfa7`](https://github.com/primer/view_components/commit/1ad8cfa753872e3ee5d196315ed5048351073029) Thanks [@mxriverlynn](https://github.com/mxriverlynn)! - deprecated Primer::IconButton in favor of Primer::Beta::IconButton" * [#1390](https://github.com/primer/view_components/pull/1390) [`94c31645`](https://github.com/primer/view_components/commit/94c316459db0299afa0946eee5ae2987a16879f3) Thanks [@neall](https://github.com/neall)! - Support submitting a check box group as an array - [#1392](https://github.com/primer/view_components/pull/1392) [`1f424aab`](https://github.com/primer/view_components/commit/1f424aabc6e8be4bd3a2c55190414a1b125b9111) Thanks [@jonrohan](https://github.com/jonrohan)! - Removing `static/arguments.yml` and replacing with `static/arguments.json`. The data output doesn't change. * [#1381](https://github.com/primer/view_components/pull/1381) [`040148d8`](https://github.com/primer/view_components/commit/040148d8cc197c12945466b99805177db69fbf95) Thanks [@joelhawksley](https://github.com/joelhawksley)! - Simplify CI configuration to a single build per Ruby/Rails version. - [#1394](https://github.com/primer/view_components/pull/1394) [`27d82335`](https://github.com/primer/view_components/commit/27d823358e4abb9ba6c5c208c44aab300546c144) Thanks [@jonrohan](https://github.com/jonrohan)! - Adding optional wrapper arguments to IconButton ## 0.0.94 ### Patch Changes - [#1352](https://github.com/primer/view_components/pull/1352) [`a02944bb`](https://github.com/primer/view_components/commit/a02944bb6e2393ebe476466b96cfc022dd571fd2) Thanks [@jonrohan](https://github.com/jonrohan)! - Update eslint custom-element rules so web components can match ruby component names * [#1364](https://github.com/primer/view_components/pull/1364) [`e8714975`](https://github.com/primer/view_components/commit/e87149754da0a7551ddc18f6244ec901fede943f) Thanks [@mxriverlynn](https://github.com/mxriverlynn)! - added Primer::Alpha::ToggleSwitch to the docs build task so it will build and deploy - [#1354](https://github.com/primer/view_components/pull/1354) [`c1edd34f`](https://github.com/primer/view_components/commit/c1edd34f8e60ec5b9689891e279ded3a8b0ef23e) Thanks [@mxriverlynn](https://github.com/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 - [#1214](https://github.com/primer/view_components/pull/1214) [`33949aa9`](https://github.com/primer/view_components/commit/33949aa9e1be9e9a86a1eefb10e9cd3b47ecdeda) Thanks [@keithamus](https://github.com/keithamus)! - Adding Primer Dialog Component * [#1325](https://github.com/primer/view_components/pull/1325) [`a54e5510`](https://github.com/primer/view_components/commit/a54e5510ecc87b55ed9a6bf71ac1c9d2e3b3fef9) Thanks [@langermank](https://github.com/langermank)! - Adding Primer::Beta::Button and Primer::Beta::IconButton with visual refinements - [#1340](https://github.com/primer/view_components/pull/1340) [`a4f868c3`](https://github.com/primer/view_components/commit/a4f868c32af1ae76f2bba760e9565c2bade22f56) Thanks [@jsoref](https://github.com/jsoref)! - Let forks ✅ on `main` * [#1335](https://github.com/primer/view_components/pull/1335) [`cbf52761`](https://github.com/primer/view_components/commit/cbf52761ab5624dfd9bc35a2220f87068c370039) Thanks [@jonrohan](https://github.com/jonrohan)! - Adding the `postcss-mixins` plugin to our CSS build step. ## 0.0.92 ### Patch Changes - [#1312](https://github.com/primer/view_components/pull/1312) [`ff515aa4`](https://github.com/primer/view_components/commit/ff515aa43baf99eda3ba56ede28693c733307b19) Thanks [@danielnc](https://github.com/danielnc)! - Fixing Primer::Forms::ActsAsComponent::TemplateParams keyword args * [#1331](https://github.com/primer/view_components/pull/1331) [`7bf8ba76`](https://github.com/primer/view_components/commit/7bf8ba76ce54bc509eb12ab29f1aa0e3c5f6d3d8) Thanks [@jonrohan](https://github.com/jonrohan)! - Removing deprecated Primer::BorderBoxComponent - [#1318](https://github.com/primer/view_components/pull/1318) [`624a8875`](https://github.com/primer/view_components/commit/624a8875a7cc1640a23dec3cc8256ffb893ec1c3) Thanks [@jonrohan](https://github.com/jonrohan)! - Removing deprecated Primer::ButtonGroup component * [#1330](https://github.com/primer/view_components/pull/1330) [`b89ac4dd`](https://github.com/primer/view_components/commit/b89ac4dd64be4e7fcbb4a14cf486a326db4e4a3c) Thanks [@joelhawksley](https://github.com/joelhawksley)! - Rename test class names that collided - [#1332](https://github.com/primer/view_components/pull/1332) [`3004d86d`](https://github.com/primer/view_components/commit/3004d86db2d7e99dbe16f85ce02100499661b1be) Thanks [@jonrohan](https://github.com/jonrohan)! - Ignore compiled _.js _.css files * [#1307](https://github.com/primer/view_components/pull/1307) [`311fe11e`](https://github.com/primer/view_components/commit/311fe11e7a9e918e6a749c0f01b5db68b3210c2d) Thanks [@khiga8](https://github.com/khiga8)! - Improving screen reader support for tooltip with `sr-only` - [#1321](https://github.com/primer/view_components/pull/1321) [`f18ef0f0`](https://github.com/primer/view_components/commit/f18ef0f0ea1404dd081cf4398505304ca9b9087d) Thanks [@camertron](https://github.com/camertron)! - Adding Primer::Alpha::ToggleSwitch component ## 0.0.91 ### Patch Changes - [#1280](https://github.com/primer/view_components/pull/1280) [`1337cd47`](https://github.com/primer/view_components/commit/1337cd471cb26eda8813ec7c508a0f19e7d0309b) Thanks [@mxriverlynn](https://github.com/mxriverlynn)! - moving Primer::DetailsComponent to Primer::Beta::Details, and replacing the original with a deprecated component for backward compatibility * [#1303](https://github.com/primer/view_components/pull/1303) [`16204453`](https://github.com/primer/view_components/commit/1620445358b7dbc482fa371ac9df8a221f00ca90) Thanks [@mxriverlynn](https://github.com/mxriverlynn)! - moving Primer::Alpha::HiddenTextExpander to Primer::Alpha::HiddenTextExpander and replacing the original with a deprecated version - [#1314](https://github.com/primer/view_components/pull/1314) [`9aef2dcb`](https://github.com/primer/view_components/commit/9aef2dcb4164e0a92f160c49ab40dd74fb24c8ff) Thanks [@camertron](https://github.com/camertron)! - Instruct terser to not mangle class names so Catalyst works * [#1306](https://github.com/primer/view_components/pull/1306) [`5e9003eb`](https://github.com/primer/view_components/commit/5e9003eb32740c7a18864f2e6d7d51642e31d615) Thanks [@khiga8](https://github.com/khiga8)! - Update docs to discourage standalone tooltip use. - [#1308](https://github.com/primer/view_components/pull/1308) [`b773b71c`](https://github.com/primer/view_components/commit/b773b71cbcecc20c04a835efc24e0dca0995b118) Thanks [@joelhawksley](https://github.com/joelhawksley)! - Update ViewComponent dependency to fix failing integration tests. * [#1297](https://github.com/primer/view_components/pull/1297) [`c684d071`](https://github.com/primer/view_components/commit/c684d0718b571d47cd508f3865237743c48172ee) Thanks [@mxriverlynn](https://github.com/mxriverlynn)! - migrating Primer::HeadingComponent to Primer::Beta::Heading, and replacing original with deprecated version - [#1316](https://github.com/primer/view_components/pull/1316) [`6241f130`](https://github.com/primer/view_components/commit/6241f1307f4b46cce23981b5a1916c424a700d4c) Thanks [@jonrohan](https://github.com/jonrohan)! - Creating a primer_view_components.css bundle that will ship with the npm package ## 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 `