@primer/react 0.0.0-20260819151913 → 0.0.0-20260824175215
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 +12 -4
- 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/FeatureFlags/DefaultFeatureFlags.js +2 -1
- package/dist/Flash/Flash.d.ts +6 -0
- package/dist/Flash/Flash.js +6 -0
- package/dist/SelectPanel/SelectPanel.d.ts +1 -0
- package/dist/SelectPanel/SelectPanel.js +2 -2
- package/dist/deprecated/ActionMenu.js +2 -2
- package/dist/deprecated/index.d.ts +2 -1
- package/dist/deprecated/index.js +2 -1
- package/dist/experimental/SelectPanel2/SelectPanel.d.ts +1 -0
- package/dist/experimental/Tabs/Tabs.js +33 -19
- package/dist/experimental/Tabs/types.d.ts +6 -0
- package/dist/experimental/Tabs/useTab.js +6 -1
- package/dist/experimental/Tabs/useTabList.js +29 -22
- package/dist/experimental/UnderlinePanels/UnderlinePanels.d.ts +38 -1
- package/dist/experimental/UnderlinePanels/UnderlinePanels.js +69 -18
- package/dist/hooks/useOpenAndCloseFocus.js +2 -5
- package/generated/components.json +66 -25
- package/package.json +1 -1
- package/dist/Button/ButtonBase-311501b9.css +0 -2
- package/dist/Button/ButtonBase-311501b9.css.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,16 +1,24 @@
|
|
|
1
1
|
# @primer/react
|
|
2
2
|
|
|
3
|
-
## 0.0.0-
|
|
3
|
+
## 0.0.0-20260824175215
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fake entry to force publishing
|
|
8
|
+
|
|
9
|
+
## 38.37.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
6
12
|
|
|
7
|
-
- [#
|
|
13
|
+
- [#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
|
|
14
|
+
|
|
15
|
+
- [#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`
|
|
8
16
|
|
|
9
17
|
- [#8295](https://github.com/primer/react/pull/8295) [`bfebb8a`](https://github.com/primer/react/commit/bfebb8a538e6f068a457722b154799876bda3ab4) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Textarea: Add an `autoSize` option that allows the field to grow with its content
|
|
10
18
|
|
|
11
|
-
|
|
19
|
+
- [#8233](https://github.com/primer/react/pull/8233) [`80a68cf`](https://github.com/primer/react/commit/80a68cf05226323ad8cbc0531f244d60ea6747e3) Thanks [@rickyzhangca](https://github.com/rickyzhangca)! - UnderlinePanels: add controlled `value`/`defaultValue`/`onChange` and `activationMode` props, keyed to a per-`Tab`/`Panel` `value`, for data-driven tabs. Behind the `primer_react_underline_panels_controlled` feature flag; the existing `aria-selected`/`onSelect` API is unchanged.
|
|
12
20
|
|
|
13
|
-
|
|
21
|
+
### Patch Changes
|
|
14
22
|
|
|
15
23
|
- [#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
|
|
16
24
|
|
|
@@ -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).
|