@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 +4 -2
- package/dist/ActionBar/ActionBar.d.ts +5 -9
- package/dist/ActionBar/ActionBar.js +164 -551
- package/dist/ActionBar/index.d.ts +2 -1
- package/dist/AnchoredOverlay/AnchoredOverlay.d.ts +1 -2
- package/dist/AnchoredOverlay/AnchoredOverlay.js +61 -84
- package/dist/Button/ButtonBase-b44e29d1.css +2 -0
- package/dist/Button/ButtonBase-b44e29d1.css.map +1 -0
- package/dist/Button/ButtonBase.d.ts +5 -2
- package/dist/Button/ButtonBase.js +4 -2
- package/dist/Button/ButtonBase.module.css.js +3 -2
- package/dist/Button/types.d.ts +15 -1
- package/dist/SelectPanel/SelectPanel.d.ts +1 -0
- package/dist/SelectPanel/SelectPanel.js +2 -2
- package/dist/deprecated/ActionMenu.js +2 -2
- package/dist/experimental/SelectPanel2/SelectPanel.d.ts +1 -0
- package/dist/hooks/useOpenAndCloseFocus.js +2 -5
- package/dist/internal/components/UnderlineTabbedInterface-8a52007f.css +2 -0
- package/dist/internal/components/UnderlineTabbedInterface-8a52007f.css.map +1 -0
- package/dist/internal/components/UnderlineTabbedInterface.module.css.js +1 -1
- package/generated/components.json +2 -14
- package/package.json +1 -1
- package/dist/Button/ButtonBase-311501b9.css +0 -2
- package/dist/Button/ButtonBase-311501b9.css.map +0 -1
- package/dist/internal/components/UnderlineTabbedInterface-798ef3cb.css +0 -2
- package/dist/internal/components/UnderlineTabbedInterface-798ef3cb.css.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# @primer/react
|
|
2
2
|
|
|
3
|
-
## 0.0.0-
|
|
3
|
+
## 0.0.0-20260825134601
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
7
|
-
- [#
|
|
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
|
|
37
|
+
type ActionBarIconButtonProps = {
|
|
38
38
|
disabled?: boolean;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
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).
|