@primer/react 0.0.0-20260820034137 → 0.0.0-20260825134601

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # @primer/react
2
2
 
3
- ## 0.0.0-20260820034137
3
+ ## 0.0.0-20260825134601
4
4
 
5
5
  ### Minor Changes
6
6
 
7
- - [#8320](https://github.com/primer/react/pull/8320) [`d711274`](https://github.com/primer/react/commit/d7112747cee1fab22dfb0030bd455a971dcb3dfd) Thanks [@mattcosta7](https://github.com/mattcosta7)! - ActionBar: Add `activeAnchorRef` to action buttons for overlays that need the action's currently visible trigger. Anchored overlay render functions now receive their reactive anchor ref as an optional second argument.
7
+ - [#8311](https://github.com/primer/react/pull/8311) [`b111781`](https://github.com/primer/react/commit/b1117811cebfb9463f20fe76f77cdf13917ae6b2) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Button: Add configurable notification indicators to Button and IconButton
8
8
 
9
9
  - [#8306](https://github.com/primer/react/pull/8306) [`a3afd7b`](https://github.com/primer/react/commit/a3afd7baf05ea6c4a272a40ccb636f20a48f87dc) Thanks [@llastflowers](https://github.com/llastflowers)! - Deprecate the `Flash` component and move to `@primer/react/deprecated`
10
10
 
@@ -18,6 +18,8 @@
18
18
 
19
19
  - [#8304](https://github.com/primer/react/pull/8304) [`88feb65`](https://github.com/primer/react/commit/88feb658c13fec154da1a8aa199250514f4fdba3) Thanks [@iansan5653](https://github.com/iansan5653)! - Animate `SegmentedControl` when switching between items
20
20
 
21
+ - [#8339](https://github.com/primer/react/pull/8339) [`4aed0d0`](https://github.com/primer/react/commit/4aed0d0bf97b70de6f8dac960fcee91da12a0f02) Thanks [@ShiyunXu](https://github.com/ShiyunXu)! - Pin `box-sizing` with `!important` on the underline tabbed interface wrapper in wrap mode so external overrides can no longer offset its height budget and incorrectly trigger the overflow "more" menu
22
+
21
23
  ## 38.36.0
22
24
 
23
25
  ### Minor Changes
@@ -34,16 +34,12 @@ type ActionBarProps = {
34
34
  */
35
35
  gap?: GapScale;
36
36
  } & A11yProps;
37
- type ActiveAnchorProps = {
37
+ type ActionBarIconButtonProps = {
38
38
  disabled?: boolean;
39
- /**
40
- * Receives the visible trigger representing this action. Points to this button while inline and the ActionBar
41
- * overflow button while this action is overflowing.
42
- */
43
- activeAnchorRef?: React.Ref<HTMLButtonElement>;
44
- };
45
- type ActionBarIconButtonProps = ActiveAnchorProps & IconButtonProps;
46
- type ActionBarButtonProps = ActiveAnchorProps & ButtonProps;
39
+ } & IconButtonProps;
40
+ type ActionBarButtonProps = {
41
+ disabled?: boolean;
42
+ } & ButtonProps;
47
43
  type ActionBarMenuItemProps = ({
48
44
  /**
49
45
  * Type of menu item to be rendered in the menu (action | group).