Releases: primer/react
@primer/react@36.27.0
Permalink to documentation
Minor Changes
-
#4485
991839cd2487a24e76f45b516acb974ea006e1c8Thanks @mperrotti! - Addloadingstate toButtonandIconButton -
#4725
6db8b2fba72ac934db1481adc4a6f067032b5936Thanks @broccolinisoup! - PageHeader: Promote the component to Beta status and now it is available to import from "@primer/react" -
#4719
801ca9653154490f664e55bbb357cd6cf6f198beThanks @joshblack! - Add experimental ScrollableRegion component and useOverflow hook
Patch Changes
-
#4770
8574027d887eeb202f3c902397d3f9750b0aeaa4Thanks @mperrotti! - Prevents inactive indicator icon/tooltip from appearing in ActionMenu items -
#4733
1c131f8ca56790ae516290a8a4199718ccff475bThanks @broccolinisoup! - TextInput: Refactor TextInputInnerAction to use the default icon button tooltip (No changes in the behaviour or DOM is expected) -
#4778
a9730c93f3d51b6d976fe598f8168e67d4649fb0Thanks @langermank! - Bug fix: ActionList divider disappears on selected items -
#4757
d4f23fbaf6ee251e142fddadfa69ab1bd6216ef5Thanks @siddharthkp! - experimental/SelectPanel v2: Fix heading color for dark themes -
#4741
a9fab9805e166a80585366f865ce50f0a727e660Thanks @Princeyadav05! - AnchoredOverlay: Add 'className' prop to the component -
#4738
453279368462c8e8581b65c56ba3d31a689009c3Thanks @broccolinisoup! - PageHeader: Fix shrinking Actions sub component in Safari -
#4772
3779dbf117793112945668fe2694cdc6715c2e32Thanks @TylerJDev! - (Behind feature flag) ActionList: Fix issue where triggering a keyboard event was possible when using theonSelectprop -
#4764
533f997922f2621e242ab3bbe1799939a3d5a6f0Thanks @siddharthkp! - StateLabel: Differentiate issue and pull request labels for screen readers -
#4710
7d086c73a980de333c55717717dd9e744196dd8eThanks @joshblack! - Update Blankslate styles to better support server-side rendering
@primer/react@36.26.0
Permalink to documentation
Minor Changes
-
#4718
fd80a60eeb615b3c4464ade10cde7e26e1349e40Thanks @joshblack! - Add support for providing icons as an element to UnderlineNavItem -
#4702
2536b4995568a6353c67c812a34a970fca7e76bbThanks @broccolinisoup! - IconButton: Enable tooltips by default in icon buttons by updating the default value ofunsafeDisableTooltiptofalse.This is a behaviour change in icon buttons, please upgrade with a caution.
-
#4707
d773f264f923677b4109d03b9c5bd5054151037bThanks @broccolinisoup! - IconButton: Addkeyshortcutsprop to allow labelling and describing support for keyboard shortcut (through tooltips) -
#4729
71bdfa847d4cc569bb59b0b4e7a3010f1d7a0faaThanks @broccolinisoup! - Dialog2: Add support for "InitialFocusRef" that allows to specify an element that should receive focus when the dialog opens.
Patch Changes
- #4742
c004fd50fb333022644c39645f6fabb494fc1d8bThanks @joshblack! - Update exports for UnderlinePanels component
@primer/react@36.25.0
Minor Changes
-
#4051
7e644b70359fcba07810560abcb8b1fbe785668aThanks @mperrotti! - Adds a loading state to ActionList items. Also allows the Spinner component to accept screenreader text. -
#4697
a7d1e4f37cd8fd01c86250178ef6ae748d786e03Thanks @khiga8! - Add TrailingAction support to NavList
Patch Changes
-
#4706
71859edc30664e259c855ffdc3732cda8dc6d169Thanks @TylerJDev! - (Behind feature flag) ActionList: Fix for "full" variant when using button semantics -
#4711
199e3840af17d8ea7c75dbba60cdfbaaf7ef4021Thanks @TylerJDev! - Removes live region fromFormControlvalidation
@primer/react@36.24.0
Minor Changes
-
#4673
eedc6b16ba3078025c636a8c1368f38f7f9b798dThanks @joshblack! - Add experimental support for the AriaStatus, AriaAlert, and Announce components -
#4691
55e97a9027aafd0ee432d8d5c293d75792de96dcThanks @joshblack! - Update internal VisuallyHidden helper to use aspanby default over adivto support more nesting scenarios by default
Patch Changes
-
#4699
546803e66661d353450c9ef2fc8cbfd51ca18d41Thanks @siddharthkp! - Overlay: Setstyleprop correctly -
#4669
1403ef7e015165119b03b73832c5aa8b2f093021Thanks @broccolinisoup! - PageHeader: Resolve layout shift issues on Title and Actions
@primer/react@36.23.0
Minor Changes
-
#4634
db72a714211b1f2aa8ee0cebaca056c702963542Thanks @khiga8! - Introduce ActionList.TrailingAction to support secondary action on ActionList.Item -
#4052
e2f35e2eda04e2128aaaf98c188cc94a34de7aebThanks @mperrotti! - Adds components to support skeleton loading states, and uses those components to replace ad-hoc skeleton loading states in Primer React components. -
#4140
c093411ec6caa4d4ce1720a68a22e492d5f39458Thanks @mperrotti! - Adds a prop,srText, to the Spinner component to convey a loading message to assistive technologies such as screen readers. -
#4272
3c467efc794d47326613796149f422c24a9b3cb9Thanks @TylerJDev! - (Behind feature flag) ActionList: Utilizes<button>inside of<li>for interactive items. -
#4527
623b16e9832173d418092e47a85fd0a0a0d895f8Thanks @langermank! - Addtruncationprop toButtonto allow for ellipses overflow or text wrapping for long button labels -
#4550
3e493ba0723c9f0eadfacae6389959023561a700Thanks @mperrotti! - Adds UnderlinePanels component. It's like UnderlineNav, but for rendering semantic tabs instead of links.
Patch Changes
-
#4651
b13bbb33d547352926af5206741db123457a09a1Thanks @mperrotti! - Prevents text color from changing on hover for "inactive" ActionMenu.Items of the "danger" variant. Before this change, the text color would change on hover. After this change, the text color remains the same on hover. -
#4695
9ee8ec9a16d9a72e4723163115dd59ce7e8dce28Thanks @TylerJDev! - Fixes conditional inActionList.Itemthat was dependent on FF being active before applying forwarded ref.
@primer/react@36.22.0
Minor Changes
-
#4443
f2523373e09e0027f29b36a995574a296ffde3daThanks @joshblack! - Add experimental InlineMessage component -
#4613
eb2ab132cd451b8c67a85d028483aa00a7a1c81bThanks @joshblack! -DialogandConfirmationDialogcan now be closed by clicking on the backdrop surrounding the dialog. This will causeonCloseto be called with theescapegesture. -
#4443
f2523373e09e0027f29b36a995574a296ffde3daThanks @joshblack! - Add support for InlineMessage to experimental -
#4667
e2a974f4a376ca92b305e03f36f905ad02c61341Thanks @ktravers! - Adds support forclassNameprop to PageHeader component and its children.
@primer/react@36.21.0
Minor Changes
- #4635
bd861cc779358fcb62fbcb48d2e76cdad90a9301Thanks @lindseywild! - RelativeTime: AddsnoTitleprop if you want to not render thetitleattribute with full date time.
Patch Changes
-
#4456
65f2cd190069af4502e70c4a4d29099f81614122Thanks @TylerJDev! - Adds fullaria-expanded(true/false) state toAnchoredOverlay, and components that consume it -
#4640
6cbbc497680a1ce4ffe4fa3cda45e6beca586f94Thanks @joshblack! - Explicitly set thetypeattribute forSegmentedControl.Button -
#4638
240fa50d359f9a338be010c5f7f6af26bb881e2dThanks @lindseywild! - Bumps @github/relative-time-element to v4.4.1
@primer/react@36.20.0
Permalink to documentation
Minor Changes
-
#4358
e34e4b265f7584c344a4b6b7145da1a5eec1ffb5Thanks @broccolinisoup! - PageHeader: Update the layout styles so that all interactive content comes after the title (while keeping the component visually the same).
This is a breaking change however PageHeader is still a draft component so we are releasing the changes as minor but please upgrade with caution. -
#4617
42ba5dc5e722c2341761bf4c6e1e993aac9f2ca8Thanks @JelloBagel! - Add an ability to provide customaria-labelandaria-labelledbytoTreeView.Item
@primer/react@36.19.1
Permalink to documentation
Patch Changes
-
#4555
9b63299689500808167bacff624ff910269417b1Thanks @JoyceZhu! - AddopenInFocusprop (default: true) toAutocompleteInput -
#4601
f57dd3d687042069c5e5712aa906e59df9f8729eThanks @bwittenberg! - SelectPanel2: Minor optimization for escape key event listener binding -
#4589
ed701bee8b6c1a9fb9b91462034f8fe04b0244adThanks @joshblack! - Update how gap is set in Stack to work in wide breakpoints -
#4598
32c687041a600e8b54ffaf9b3ab77f9215a37e3eThanks @lukasoppermann! - Replaced space-small with base-size-6 -
#4543
e47445df6c389fef2aacc72449c02ff471e4cb68Thanks @TylerJDev! - FormControl: Adds new props toFormControl.Label,requiredTextandrequiredIndicator
@primer/react@36.19.0
Permalink to documentation
Minor Changes
-
#4546
c81898c93664d224d7a18722cd1abcdcf2d1a510Thanks @ayy-bc! - TreeView: Add support forTreeView.LeadingAction -
#4574
9c01a930b97218ea550cd7de3436941990b3b068Thanks @pksjce! - ActionBar: Move to main directory. ActionBar can now be imported from'@primer/react'
Patch Changes
-
#4593
d4e234f52bf63e632d41fe947801d2c16da0b61fThanks @broccolinisoup! - Update NavList to use the new ActionList.GroupHeading API and Add an "as" prop to specify the heading level as default h3. (No changes expected in the rendered HTML) -
#4591
6cce7b749d8502fc851ad8a432a04acff21dec14Thanks @joshblack! - Update the Stack component so that thejustifyprop correctly updates the layout of items -
#4572
ac2502975057dc0330e19fdd2d446f43d77eed92Thanks @iansan5653! - TreeView: Always align expand/collapse chevron icon, leading visual, and trailing visual to top of item -
#4596
4fa4fae099c425bab58c6f5c3c98b10bbca16012Thanks @keithamus! - Update @github/tab-container-element to latest