|
1 | 1 | # CHANGELOG |
2 | 2 |
|
| 3 | +## 0.81.0 |
| 4 | + |
| 5 | +### Minor Changes |
| 6 | + |
| 7 | +- [#3785](https://github.com/primer/view_components/pull/3785) [`7526370`](https://github.com/opf/primer_view_components/commit/75263700b8c00ffdd525c81feed0de61b81d1067) Thanks [@lindseywild](https://github.com/lindseywild)! - Adds character_limit option to TextArea and TextField components |
| 8 | + |
| 9 | +### Patch Changes |
| 10 | + |
| 11 | +- [#3832](https://github.com/primer/view_components/pull/3832) [`15ac0d4`](https://github.com/opf/primer_view_components/commit/15ac0d498dca5947ca38992fb74b1e485d97a88a) Thanks [@llastflowers](https://github.com/llastflowers)! - Make Retry button focusable in loading_failure_story |
| 12 | + |
| 13 | +- [#3848](https://github.com/primer/view_components/pull/3848) [`20d2e9f`](https://github.com/opf/primer_view_components/commit/20d2e9f195864fb900fab2473592d2249eed5ac0) Thanks [@joelhawksley](https://github.com/joelhawksley)! - Add support for Ruby 4 in test suite. |
| 14 | + |
| 15 | +- [#3823](https://github.com/primer/view_components/pull/3823) [`954596a`](https://github.com/opf/primer_view_components/commit/954596a07c4230f107c24dad2967f25577828d5b) Thanks [@TylerJDev](https://github.com/TylerJDev)! - Tooltip: Prevents tooltip from appearing when popover (e.g. ActionMenu) is opened |
| 16 | + |
| 17 | +- [#3850](https://github.com/primer/view_components/pull/3850) [`d722644`](https://github.com/opf/primer_view_components/commit/d722644d98e7b80ee684ccd53d3192f51322512c) Thanks [@joelhawksley](https://github.com/joelhawksley)! - Fix compatibility issues with Herb, add linter to CI. |
| 18 | + |
| 19 | +- [#3849](https://github.com/primer/view_components/pull/3849) [`7efbd32`](https://github.com/opf/primer_view_components/commit/7efbd32a4d90388a13a524f41261b91693b3b222) Thanks [@llastflowers](https://github.com/llastflowers)! - Make AvatarStack accessible via keyboard navigation |
| 20 | + |
3 | 21 | ## 0.80.2 |
4 | 22 |
|
5 | 23 | ### Patch Changes |
|
480 | 498 |
|
481 | 499 | - [#234](https://github.com/opf/primer_view_components/pull/234) [`cdb335c`](https://github.com/opf/primer_view_components/commit/cdb335ce1d5caad3cde8d4ee945461516f229577) Thanks [@myabc](https://github.com/myabc)! - [#60588] Implementation of Danger Dialog, a generalised dialog for "potentially dangerous" actions such as item deletion. |
482 | 500 | There are two variants: |
483 | | - |
484 | 501 | 1. **the default (or "warning") variant**, requiring the user to click the dialog confirmation button to continue. |
485 | 502 | 2. **the second confirmation variant**, which requires the user to check a check box AND click confirm to continue with the operation. |
486 | 503 |
|
|
771 | 788 | - [#2983](https://github.com/primer/view_components/pull/2983) [`5d68193`](https://github.com/opf/primer_view_components/commit/5d681938247c4a957d62b05c2560fef24195ff51) Thanks [@keithamus](https://github.com/keithamus)! - Ensure ActionMenu restores focus on close of a dialog, if a menu item opened that dialog |
772 | 789 |
|
773 | 790 | - [#3010](https://github.com/primer/view_components/pull/3010) [`ebab85a`](https://github.com/opf/primer_view_components/commit/ebab85a3a3d2644079aaf495fd1e6689b89f713b) Thanks [@camertron](https://github.com/camertron)! - Fixes several SelectPanel bugs: |
774 | | - |
775 | 791 | 1. If multiple server-rendered items are checked, the panel will only show one item checked. |
776 | 792 | 2. If no `data-value` attributes are provided, panels in single-select mode will allow multiple items to be checked. |
777 | 793 |
|
|
1043 | 1059 | - [#105](https://github.com/opf/primer_view_components/pull/105) [`a4ab139`](https://github.com/opf/primer_view_components/commit/a4ab1393ef25f4f6f1f0a9bf3ef6e32cb301c5ec) Thanks [@HDinger](https://github.com/HDinger)! - Fine-tuning of PageHeader component (spacings, size, font-weight) |
1044 | 1060 |
|
1045 | 1061 | - [#2751](https://github.com/primer/view_components/pull/2751) [`b1fef3c`](https://github.com/opf/primer_view_components/commit/b1fef3cf8ae547241b4d63fde81bc6c127fbd862) Thanks [@langermank](https://github.com/langermank)! - - Add `label_wrap` param to `Beta::Button` |
1046 | | - |
1047 | 1062 | - Bug fix: text overflows in SegmentedControl instead of ellipses |
1048 | 1063 |
|
1049 | 1064 | - [#2765](https://github.com/primer/view_components/pull/2765) [`1857983`](https://github.com/opf/primer_view_components/commit/1857983591752336d34133c83af3c8cfe232f1af) Thanks [@camertron](https://github.com/camertron)! - Fix issue preventing expansion and collapse of nav list items with tooltips |
|
1071 | 1086 | ### Minor Changes |
1072 | 1087 |
|
1073 | 1088 | - [#96](https://github.com/opf/primer_view_components/pull/96) [`f52bbfa`](https://github.com/opf/primer_view_components/commit/f52bbfafcba707bd24e76495e84dc9e5128b0284) Thanks [@HDinger](https://github.com/HDinger)! - \* Add support for Dialogs inside the Primer::OpenProject::PageHeader component |
1074 | | - |
1075 | 1089 | - Limit the number of allowed actions to 5 |
1076 | 1090 |
|
1077 | 1091 | - [#69](https://github.com/opf/primer_view_components/pull/69) [`81bb4b7`](https://github.com/opf/primer_view_components/commit/81bb4b7f746da1e076d085387a4ef2000067b946) Thanks [@bsatarnejad](https://github.com/bsatarnejad)! - Add `Primer::OpenProject::ZenModeButton` component. By clicking on the button, screen will be in full-mode or back in normal-mode. |
|
1107 | 1121 | - [#2603](https://github.com/primer/view_components/pull/2603) [`bbc1776`](https://github.com/opf/primer_view_components/commit/bbc1776b44e089516658aa76d2fec3724a4dccfc) Thanks [@langermank](https://github.com/langermank)! - Tooltip visual refresh to match Primer React |
1108 | 1122 |
|
1109 | 1123 | - [#89](https://github.com/opf/primer_view_components/pull/89) [`0d06bec`](https://github.com/opf/primer_view_components/commit/0d06bec7224ad70c071586f5884b2ef8692237dc) Thanks [@HDinger](https://github.com/HDinger)! - Changes `Primer::OpenProject::PageHeader`: |
1110 | | - |
1111 | 1124 | - Remove the `context_bar_actions` slot |
1112 | 1125 | - Make `breadcrumbs` required |
1113 | 1126 | - Remove the `parent_link` slot (will be derived automatically from the breadcrumb) |
|
1127 | 1140 | - [#2627](https://github.com/primer/view_components/pull/2627) [`226481e`](https://github.com/opf/primer_view_components/commit/226481e51e8c459dcd6d2a49d57c5005a8103aff) Thanks [@camertron](https://github.com/camertron)! - Support `<select>` elements that allow selecting multiple values |
1128 | 1141 |
|
1129 | 1142 | - [#2689](https://github.com/primer/view_components/pull/2689) [`a7f7dad`](https://github.com/opf/primer_view_components/commit/a7f7dad6170afc1dea1071639b5beb3aa20b7918) Thanks [@langermank](https://github.com/langermank)! - - Bug fix: inactive button colors |
1130 | | - |
1131 | 1143 | - Bug fix: double border/box-shadow on popover and dropdown |
1132 | 1144 | - Bug fix: text color for primary button in dark dimmed |
1133 | 1145 |
|
|
1278 | 1290 | - [#2426](https://github.com/primer/view_components/pull/2426) [`78dd9dd`](https://github.com/opf/primer_view_components/commit/78dd9ddb70ee5ade30e243968c87364a80ff1325) Thanks [@camertron](https://github.com/camertron)! - Fix typo in argument passed to event listener in ToolTip |
1279 | 1291 |
|
1280 | 1292 | - [#2379](https://github.com/primer/view_components/pull/2379) [`2c59c33`](https://github.com/opf/primer_view_components/commit/2c59c33bf54e392d743fbdd1076d06bff2151b42) Thanks [@mperrotti](https://github.com/mperrotti)! - Updates 'inactive' state for buttons based on feedback from the a11y team: |
1281 | | - |
1282 | 1293 | - inactive buttons need to meet the color contrast ratio minimum |
1283 | 1294 | - inactive buttons shouldn't have aria-disabled since they can still accept interactions such as: |
1284 | 1295 | - hover/focus to show a tooltip |
|
1362 | 1373 | - [#48](https://github.com/opf/primer_view_components/pull/48) [`102a2ee9`](https://github.com/opf/primer_view_components/commit/102a2ee9fe7b6a049906ca108607c38e3468d0ae) Thanks [@apfohl](https://github.com/apfohl)! - Added a "width" attribute to control how wide an input is rendered on screen. |
1363 | 1374 |
|
1364 | 1375 | It is active for: |
1365 | | - |
1366 | 1376 | - TextField |
1367 | 1377 | - Select |
1368 | 1378 |
|
|
1393 | 1403 | ### Minor Changes |
1394 | 1404 |
|
1395 | 1405 | - [#2284](https://github.com/primer/view_components/pull/2284) [`374d10fd`](https://github.com/opf/primer_view_components/commit/374d10fd18e7371f49abf75dde135c3ed29fe33d) Thanks [@langermank](https://github.com/langermank)! - Update tooltip design |
1396 | | - |
1397 | 1406 | - Removes caret |
1398 | 1407 | - Decrease offset |
1399 | 1408 | - Remove animation delay |
|
1436 | 1445 | ### Minor Changes |
1437 | 1446 |
|
1438 | 1447 | - [#36](https://github.com/opf/primer_view_components/pull/36) [`cfa8b633`](https://github.com/opf/primer_view_components/commit/cfa8b633d7718abdb6ca5a54389fff542951c4d4) Thanks [@HDinger](https://github.com/HDinger)! - - Add FlexLayout Component |
1439 | | - |
1440 | 1448 | - Add GridLayout Component |
1441 | 1449 |
|
1442 | 1450 | <!-- Changed components: Primer::OpenProject::FlexLayout, Primer::OpenProject::GridLayout --> |
|
1464 | 1472 | <!-- Changed components: _none_ --> |
1465 | 1473 |
|
1466 | 1474 | - [#2250](https://github.com/primer/view_components/pull/2250) [`66c4dd69`](https://github.com/opf/primer_view_components/commit/66c4dd6936b386caa42868beef9ea1b33f84b11b) Thanks [@langermank](https://github.com/langermank)! - - Improve contrast for icons in `invisible` button on hover in dark mode (within v8 colors) |
1467 | | - |
1468 | 1475 | - Fix disabled button styles (v8 colors) |
1469 | 1476 | - Bump Primitives to latest |
1470 | 1477 |
|
|
1551 | 1558 | ### Minor Changes |
1552 | 1559 |
|
1553 | 1560 | - [#22](https://github.com/opf/primer_view_components/pull/22) [`ebbe8d5e`](https://github.com/opf/primer_view_components/commit/ebbe8d5e8a616799b9c8b54c0f263a2f43720d1f) Thanks [@oliverguenther](https://github.com/oliverguenther)! - |
1554 | | - |
1555 | 1561 | - Add OpenProject status for custom components |
1556 | 1562 | - Add PageHeader component |
1557 | 1563 |
|
|
2236 | 2242 | - [#1632](https://github.com/primer/view_components/pull/1632) [`7f1181be`](https://github.com/primer/view_components/commit/7f1181be49960337254db834e9b2b9a5fdb7b0b8) Thanks [@camertron](https://github.com/camertron)! - Improve performance of the deny\_\* methods |
2237 | 2243 |
|
2238 | 2244 | * [#1625](https://github.com/primer/view_components/pull/1625) [`3af9bf5e`](https://github.com/primer/view_components/commit/3af9bf5e778bb1fe475ed7efda9fc1a5ed36d695) Thanks [@jonrohan](https://github.com/jonrohan)! - Deprecate components and moving to new namespace: |
2239 | | - |
2240 | 2245 | - Primer::Dropdown moving to Primer::Alpha::Dropdown |
2241 | 2246 | - Primer::Dropdown::Menu moving to Primer::Alpha::Dropdown::Menu |
2242 | 2247 | - Primer::Dropdown::Menu::Item moving to Primer::Alpha::Dropdown::Menu::Item |
|
3054 | 3059 | _Manuel Puyol_ |
3055 | 3060 |
|
3056 | 3061 | - Change spacing in `Blankslate`: |
3057 | | - |
3058 | 3062 | - Between `description` and `primary_action` to `32px`. |
3059 | 3063 | - Between `primary_action` and `secondary_action` to `16px`. |
3060 | 3064 |
|
|
3412 | 3416 | _Manuel Puyol_ |
3413 | 3417 |
|
3414 | 3418 | - Linters can: |
3415 | | - |
3416 | 3419 | - convert values with ERB interpolations. |
3417 | 3420 | - autocorrect cases with custom classes. |
3418 | 3421 |
|
|
3527 | 3530 | _Kate Higa_ |
3528 | 3531 |
|
3529 | 3532 | - Renames: |
3530 | | - |
3531 | 3533 | - `Primer::AvatarStackComponent` to `Primer::Beta::AvatarStack`. |
3532 | 3534 |
|
3533 | 3535 | _Manuel Puyol_ |
|
3569 | 3571 | _Kate Higa_ |
3570 | 3572 |
|
3571 | 3573 | - Renames: |
3572 | | - |
3573 | 3574 | - `Primer::AutoComplete` to `Primer::Beta::AutoComplete` |
3574 | 3575 | - `Primer::AutoComplete::Item` to `Primer::Beta::AutoComplete::Item` |
3575 | 3576 | - `Primer::AvatarComponent` to `Primer::Beta::Avatar` |
|
3713 | 3714 | _Kate Higa_ |
3714 | 3715 |
|
3715 | 3716 | - Renames: |
3716 | | - |
3717 | 3717 | - `DropdownComponent` to `Dropdown`. |
3718 | 3718 | - `Dropdown::MenuComponent` to `Dropdown::Menu`. |
3719 | 3719 | - `Primer::ButtonMarketingComponent` to `Primer::Alpha::ButtonMarketing`. |
|
4171 | 4171 | _Simon Taranto_ |
4172 | 4172 |
|
4173 | 4173 | - Update `LinkComponent`: |
4174 | | - |
4175 | 4174 | - use `Link--muted` instead of `muted-link`. |
4176 | 4175 | - accept `variant` and `underline` options. |
4177 | 4176 | - accept `:span` as a tag. |
|
4481 | 4480 |
|
4482 | 4481 | - Add support for box_shadow |
4483 | 4482 | - Add components: |
4484 | | - |
4485 | 4483 | - Popover |
4486 | 4484 |
|
4487 | 4485 | _Sarah Vessels_ |
|
4503 | 4501 | _Joel Hawksley_ |
4504 | 4502 |
|
4505 | 4503 | - Add components: |
4506 | | - |
4507 | 4504 | - Avatar |
4508 | 4505 | - Blankslate |
4509 | 4506 |
|
|
4524 | 4521 | _Manuel Puyol_ |
4525 | 4522 |
|
4526 | 4523 | - Add components: |
4527 | | - |
4528 | 4524 | - BorderBox |
4529 | 4525 | - Box |
4530 | 4526 | - Breadcrumb |
|
0 commit comments