@primer/react 0.0.0-20260318192458 → 0.0.0-20260318194847

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.
Files changed (64) hide show
  1. package/CHANGELOG.md +3 -41
  2. package/dist/ActionList/Item.d.ts.map +1 -1
  3. package/dist/ActionList/Item.js +192 -628
  4. package/dist/ActionList/LinkItem.d.ts +3 -6
  5. package/dist/ActionList/LinkItem.d.ts.map +1 -1
  6. package/dist/ActionList/LinkItem.js +87 -42
  7. package/dist/ActionList/List.d.ts.map +1 -1
  8. package/dist/ActionList/List.js +5 -6
  9. package/dist/ActionList/index.d.ts +1 -25
  10. package/dist/ActionList/index.d.ts.map +1 -1
  11. package/dist/ActionMenu/ActionMenu.d.ts.map +1 -1
  12. package/dist/ActionMenu/ActionMenu.js +1 -9
  13. package/dist/AnchoredOverlay/AnchoredOverlay-73c1b2d1.css +2 -0
  14. package/dist/AnchoredOverlay/AnchoredOverlay-73c1b2d1.css.map +1 -0
  15. package/dist/AnchoredOverlay/AnchoredOverlay.d.ts.map +1 -1
  16. package/dist/AnchoredOverlay/AnchoredOverlay.js +10 -46
  17. package/dist/AnchoredOverlay/AnchoredOverlay.module.css.js +2 -2
  18. package/dist/Banner/Banner-f672cdf9.css +2 -0
  19. package/dist/Banner/Banner-f672cdf9.css.map +1 -0
  20. package/dist/Banner/Banner.d.ts.map +1 -1
  21. package/dist/Banner/Banner.js +0 -1
  22. package/dist/Banner/Banner.module.css.js +1 -1
  23. package/dist/Breadcrumbs/Breadcrumbs.d.ts +8 -23
  24. package/dist/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
  25. package/dist/Breadcrumbs/Breadcrumbs.js +66 -27
  26. package/dist/Button/{ButtonBase-6659abcf.css → ButtonBase-781fba8b.css} +2 -2
  27. package/dist/Button/{ButtonBase-6659abcf.css.map → ButtonBase-781fba8b.css.map} +1 -1
  28. package/dist/Button/ButtonBase.module.css.js +1 -1
  29. package/dist/Dialog/{Dialog-2de477b3.css → Dialog-2d417a89.css} +2 -2
  30. package/dist/Dialog/{Dialog-2de477b3.css.map → Dialog-2d417a89.css.map} +1 -1
  31. package/dist/Dialog/Dialog.d.ts.map +1 -1
  32. package/dist/Dialog/Dialog.js +1 -3
  33. package/dist/Dialog/Dialog.module.css.js +2 -2
  34. package/dist/FeatureFlags/DefaultFeatureFlags.d.ts.map +1 -1
  35. package/dist/FeatureFlags/DefaultFeatureFlags.js +0 -1
  36. package/dist/NavList/NavList.d.ts +3 -20
  37. package/dist/NavList/NavList.d.ts.map +1 -1
  38. package/dist/NavList/NavList.js +124 -50
  39. package/dist/Overlay/Overlay-15519c09.css +2 -0
  40. package/dist/Overlay/Overlay-15519c09.css.map +1 -0
  41. package/dist/Overlay/Overlay.d.ts.map +1 -1
  42. package/dist/Overlay/Overlay.js +22 -40
  43. package/dist/Overlay/Overlay.module.css.js +1 -1
  44. package/dist/PageLayout/PageLayout.d.ts +20 -4
  45. package/dist/PageLayout/PageLayout.d.ts.map +1 -1
  46. package/dist/PageLayout/PageLayout.js +0 -12
  47. package/dist/SelectPanel/SelectPanel.d.ts.map +1 -1
  48. package/dist/SelectPanel/SelectPanel.js +29 -30
  49. package/dist/TextInput/TextInput.d.ts.map +1 -1
  50. package/dist/TextInput/TextInput.js +5 -31
  51. package/dist/TreeView/TreeView.d.ts.map +1 -1
  52. package/dist/TreeView/TreeView.js +59 -101
  53. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroup.d.ts.map +1 -1
  54. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroup.js +17 -8
  55. package/dist/utils/character-counter.d.ts.map +1 -1
  56. package/dist/utils/character-counter.js +0 -1
  57. package/generated/components.json +1 -1
  58. package/package.json +1 -2
  59. package/dist/AnchoredOverlay/AnchoredOverlay-e3626141.css +0 -2
  60. package/dist/AnchoredOverlay/AnchoredOverlay-e3626141.css.map +0 -1
  61. package/dist/Banner/Banner-41040ab7.css +0 -2
  62. package/dist/Banner/Banner-41040ab7.css.map +0 -1
  63. package/dist/Overlay/Overlay-2e0ce8db.css +0 -2
  64. package/dist/Overlay/Overlay-2e0ce8db.css.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,46 +1,6 @@
1
1
  # @primer/react
2
2
 
3
- ## 0.0.0-20260318192458
4
-
5
- ### Minor Changes
6
-
7
- - [#7658](https://github.com/primer/react/pull/7658) [`259fdff`](https://github.com/primer/react/commit/259fdff67550e328b851129a78e87413ddb07229) Thanks [@hussam-i-am](https://github.com/hussam-i-am)! - fix(polymorphic): Improve prop passthrough for ActionList.LinkItem and Breadcrumbs.Item
8
-
9
- ### Patch Changes
10
-
11
- - Fake entry to force publishing
12
-
13
- ## 38.16.0
14
-
15
- ### Minor Changes
16
-
17
- - [#7661](https://github.com/primer/react/pull/7661) [`dceb79c`](https://github.com/primer/react/commit/dceb79c5e0f8ab5c25bbc9727bc3207fb77d520e) Thanks [@TylerJDev](https://github.com/TylerJDev)! - AnchoredOverlay: Add CSS Anchor Positioning to `AnchoredOverlay` (under a feature flag)
18
-
19
- ## 38.15.1
20
-
21
- ### Patch Changes
22
-
23
- - [#7625](https://github.com/primer/react/pull/7625) [`2e8c707`](https://github.com/primer/react/commit/2e8c70702d5096551049c29c8e79749bf63a919f) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Banner: stack inline actions vertically on narrow viewports.
24
-
25
- - [#7554](https://github.com/primer/react/pull/7554) [`f34f0c3`](https://github.com/primer/react/commit/f34f0c37c2bb144e34b029696c580ee8104dbce6) Thanks [@hectahertz](https://github.com/hectahertz)! - perf(ActionList): memoize context values, menuItemProps, and aria attributes
26
-
27
- - [#7598](https://github.com/primer/react/pull/7598) [`4b345db`](https://github.com/primer/react/commit/4b345db228997b66c381f7d03369f87ee25fdf02) Thanks [@hectahertz](https://github.com/hectahertz)! - perf(Banner): replace `:has(.BannerActions)` with `[data-has-actions]` attribute selector
28
-
29
- - [#7597](https://github.com/primer/react/pull/7597) [`adadd38`](https://github.com/primer/react/commit/adadd380043c637d431e30643e910e7b4ec7fe03) Thanks [@hectahertz](https://github.com/hectahertz)! - perf(Button): replace `:has(.Visual)` with `[data-no-visuals]` attribute selector in link variant styling
30
-
31
- - [#7599](https://github.com/primer/react/pull/7599) [`e6513c2`](https://github.com/primer/react/commit/e6513c2a8a5b99e61c9009e0e3c7112a7388a295) Thanks [@hectahertz](https://github.com/hectahertz)! - perf(Dialog): replace `:has(.Footer)` with `[data-has-footer]` attribute selector for footer border detection
32
-
33
- - [#7620](https://github.com/primer/react/pull/7620) [`ec0b789`](https://github.com/primer/react/commit/ec0b7890b45ca939c24d6236d94a69d9006c3a64) Thanks [@hectahertz](https://github.com/hectahertz)! - Use stable object reference for DialogContext value to prevent unnecessary re-renders
34
-
35
- - [#7621](https://github.com/primer/react/pull/7621) [`235126a`](https://github.com/primer/react/commit/235126abbd271e0a6e1e95110f40d72c193c6d24) Thanks [@hectahertz](https://github.com/hectahertz)! - Memoize SelectPanel overlayProps, focusTrapSettings, and preventBubbling to reduce allocations on re-renders
36
-
37
- - [#7600](https://github.com/primer/react/pull/7600) [`0d7cc92`](https://github.com/primer/react/commit/0d7cc92b474185c7efa09871b42c6a97a9326be6) Thanks [@hectahertz](https://github.com/hectahertz)! - perf(TextInput): skip redundant character counter updates
38
-
39
- - [#7654](https://github.com/primer/react/pull/7654) [`a09a60c`](https://github.com/primer/react/commit/a09a60cb8218adf8fe2ab71e46da76fbf8331bc6) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - SelectPanel: use `100dvh` and `env(safe-area-inset-bottom)` in fullscreen-on-narrow mode to prevent content from being obscured by iOS Safari's browser chrome.
40
-
41
- - [#7545](https://github.com/primer/react/pull/7545) [`17ec46f`](https://github.com/primer/react/commit/17ec46f77524f3ad5e1789102bdf2dbaf47eab49) Thanks [@hectahertz](https://github.com/hectahertz)! - perf(TreeView): defer scrollIntoView to coalesce reflows during rapid navigation
42
-
43
- ## 38.15.0
3
+ ## 0.0.0-20260318194847
44
4
 
45
5
  ### Minor Changes
46
6
 
@@ -52,6 +12,8 @@
52
12
 
53
13
  - [#7529](https://github.com/primer/react/pull/7529) [`7e108fe`](https://github.com/primer/react/commit/7e108fea1a9f92ce22f46ff1d55bfe4753d89ad8) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Add keyboard-accessible tooltip for truncated ActionList.Description
54
14
 
15
+ - Fake entry to force publishing
16
+
55
17
  - [#7585](https://github.com/primer/react/pull/7585) [`3dd2c78`](https://github.com/primer/react/commit/3dd2c78f768ad560ee0f37947af2c17ca8d7938c) Thanks [@iansan5653](https://github.com/iansan5653)! - - Fixes a bug where `ActionBar` menu items would be out of order if new items were mounted after the initial render
56
18
 
57
19
  - Improves initial render performance for `ActionBar`
@@ -1 +1 @@
1
- {"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../src/ActionList/Item.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAA;AAoBrC,KAAK,sBAAsB,GAAG;IAC5B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B,CAAA;AAwBD,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAEpD,CAAA;AAyVD,QAAA,MAAM,IAAI,IApTa,EAAE,SAAS,KAAK,CAAC,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuTjD,CAAA;AAEF,OAAO,EAAC,IAAI,EAAC,CAAA"}
1
+ {"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../src/ActionList/Item.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAA;AAoBrC,KAAK,sBAAsB,GAAG;IAC5B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B,CAAA;AAwBD,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAEpD,CAAA;AAkTD,QAAA,MAAM,IAAI,IA1Ra,EAAE,SAAS,KAAK,CAAC,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6RjD,CAAA;AAEF,OAAO,EAAC,IAAI,EAAC,CAAA"}