@primer/react 38.1.0-rc.6118e2738 → 38.1.0-rc.6cb1657df

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 (142) hide show
  1. package/CHANGELOG.md +19 -1
  2. package/README.md +16 -11
  3. package/dist/ActionBar/ActionBar.d.ts +70 -0
  4. package/dist/ActionBar/ActionBar.d.ts.map +1 -1
  5. package/dist/ActionBar/ActionBar.js +536 -160
  6. package/dist/ActionBar/index.d.ts +17 -1
  7. package/dist/ActionBar/index.d.ts.map +1 -1
  8. package/dist/ActionBar/index.js +3 -2
  9. package/dist/ActionList/ActionList-46e9c2db.css +2 -0
  10. package/dist/ActionList/ActionList-46e9c2db.css.map +1 -0
  11. package/dist/ActionList/ActionList.module.css.js +1 -1
  12. package/dist/ActionList/Item.d.ts.map +1 -1
  13. package/dist/ActionList/Item.js +3 -1
  14. package/dist/ActionList/List.d.ts.map +1 -1
  15. package/dist/ActionMenu/ActionMenu.js +1 -1
  16. package/dist/AnchoredOverlay/AnchoredOverlay.d.ts +1 -0
  17. package/dist/AnchoredOverlay/AnchoredOverlay.d.ts.map +1 -1
  18. package/dist/Autocomplete/AutocompleteInput.d.ts.map +1 -1
  19. package/dist/Autocomplete/AutocompleteInput.js +0 -1
  20. package/dist/Autocomplete/AutocompleteMenu.js +334 -124
  21. package/dist/Avatar/Avatar.js +31 -23
  22. package/dist/Banner/Banner.d.ts.map +1 -1
  23. package/dist/Banner/Banner.js +0 -1
  24. package/dist/BaseStyles.d.ts +2 -2
  25. package/dist/BaseStyles.d.ts.map +1 -1
  26. package/dist/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
  27. package/dist/Breadcrumbs/Breadcrumbs.js +1 -0
  28. package/dist/Button/ButtonBase.d.ts.map +1 -1
  29. package/dist/Button/ButtonBase.js +0 -1
  30. package/dist/Checkbox/Checkbox.d.ts.map +1 -1
  31. package/dist/DataTable/Pagination.js +296 -87
  32. package/dist/DataTable/Table.d.ts +13 -13
  33. package/dist/DataTable/Table.d.ts.map +1 -1
  34. package/dist/Dialog/Dialog.js +1 -1
  35. package/dist/FilteredActionList/FilteredActionList-f6c2dc7a.css +1 -1
  36. package/dist/FilteredActionList/FilteredActionList-f6c2dc7a.css.map +1 -1
  37. package/dist/FilteredActionList/FilteredActionList.d.ts +1 -0
  38. package/dist/FilteredActionList/FilteredActionList.d.ts.map +1 -1
  39. package/dist/FilteredActionList/FilteredActionListLoaders.d.ts +1 -0
  40. package/dist/FilteredActionList/FilteredActionListLoaders.d.ts.map +1 -1
  41. package/dist/FilteredActionList/useAnnouncements.d.ts.map +1 -1
  42. package/dist/FilteredActionList/useAnnouncements.js +1 -0
  43. package/dist/Heading/Heading.d.ts.map +1 -1
  44. package/dist/Heading/Heading.js +0 -1
  45. package/dist/LabelGroup/LabelGroup.d.ts.map +1 -1
  46. package/dist/LabelGroup/LabelGroup.js +1 -0
  47. package/dist/Link/Link-968346ff.css +2 -0
  48. package/dist/Link/Link-968346ff.css.map +1 -0
  49. package/dist/Link/Link.d.ts +0 -2
  50. package/dist/Link/Link.d.ts.map +1 -1
  51. package/dist/Link/Link.js +0 -3
  52. package/dist/Link/Link.module.css.js +1 -1
  53. package/dist/PageHeader/PageHeader-9f4a690a.css +2 -0
  54. package/dist/PageHeader/PageHeader-9f4a690a.css.map +1 -0
  55. package/dist/PageHeader/PageHeader.d.ts.map +1 -1
  56. package/dist/PageHeader/PageHeader.js +24 -16
  57. package/dist/PageHeader/PageHeader.module.css.js +1 -1
  58. package/dist/PageLayout/PageLayout-28a244f7.css +2 -0
  59. package/dist/PageLayout/PageLayout-28a244f7.css.map +1 -0
  60. package/dist/PageLayout/PageLayout.d.ts.map +1 -1
  61. package/dist/PageLayout/PageLayout.js +535 -448
  62. package/dist/PageLayout/PageLayout.module.css.js +1 -1
  63. package/dist/Portal/Portal.d.ts.map +1 -1
  64. package/dist/Portal/Portal.js +0 -1
  65. package/dist/SelectPanel/SelectPanel.d.ts +1 -1
  66. package/dist/SelectPanel/SelectPanel.d.ts.map +1 -1
  67. package/dist/SelectPanel/SelectPanel.js +0 -1
  68. package/dist/SkeletonAvatar/SkeletonAvatar.js +31 -23
  69. package/dist/ThemeProvider.d.ts.map +1 -1
  70. package/dist/ThemeProvider.js +1 -0
  71. package/dist/Timeline/Timeline-116393ee.css +2 -0
  72. package/dist/Timeline/Timeline-116393ee.css.map +1 -0
  73. package/dist/Timeline/Timeline.module.css.js +1 -1
  74. package/dist/ToggleSwitch/ToggleSwitch.d.ts.map +1 -1
  75. package/dist/Token/IssueLabelToken.js +280 -57
  76. package/dist/Token/_RemoveTokenButton.d.ts +1 -1
  77. package/dist/Token/_RemoveTokenButton.d.ts.map +1 -1
  78. package/dist/Token/_RemoveTokenButton.js +4 -3
  79. package/dist/TooltipV2/Tooltip.d.ts.map +1 -1
  80. package/dist/TooltipV2/Tooltip.js +28 -25
  81. package/dist/TreeView/TreeView.d.ts.map +1 -1
  82. package/dist/TreeView/TreeView.js +5 -1
  83. package/dist/UnderlineNav/UnderlineNav.d.ts.map +1 -1
  84. package/dist/UnderlineNav/UnderlineNav.js +0 -1
  85. package/dist/deprecated/ActionList/Divider.d.ts +1 -0
  86. package/dist/deprecated/ActionList/Divider.d.ts.map +1 -1
  87. package/dist/deprecated/ActionList/Group.d.ts +1 -0
  88. package/dist/deprecated/ActionList/Group.d.ts.map +1 -1
  89. package/dist/deprecated/ActionList/Header.d.ts +1 -0
  90. package/dist/deprecated/ActionList/Header.d.ts.map +1 -1
  91. package/dist/deprecated/ActionList/List.d.ts.map +1 -1
  92. package/dist/deprecated/ActionMenu.d.ts +2 -1
  93. package/dist/deprecated/ActionMenu.d.ts.map +1 -1
  94. package/dist/deprecated/utils/create-slots.d.ts.map +1 -1
  95. package/dist/experimental/SelectPanel2/SelectPanel.d.ts.map +1 -1
  96. package/dist/experimental/SelectPanel2/SelectPanel.js +4 -2
  97. package/dist/hooks/useAnchoredPosition.d.ts.map +1 -1
  98. package/dist/hooks/useAnchoredPosition.js +0 -1
  99. package/dist/hooks/useControllableState.d.ts.map +1 -1
  100. package/dist/hooks/useControllableState.js +2 -0
  101. package/dist/hooks/useFocusTrap.d.ts.map +1 -1
  102. package/dist/hooks/useFocusTrap.js +0 -1
  103. package/dist/hooks/useFocusZone.d.ts.map +1 -1
  104. package/dist/hooks/useFocusZone.js +0 -1
  105. package/dist/hooks/useIsMacOS.d.ts.map +1 -1
  106. package/dist/hooks/useIsMacOS.js +3 -1
  107. package/dist/hooks/{useMediaUnsafeSSR.d.ts → useMedia.d.ts} +6 -9
  108. package/dist/hooks/useMedia.d.ts.map +1 -0
  109. package/dist/hooks/{useMediaUnsafeSSR.js → useMedia.js} +14 -29
  110. package/dist/hooks/useMenuInitialFocus.d.ts.map +1 -1
  111. package/dist/hooks/useMenuInitialFocus.js +0 -1
  112. package/dist/hooks/useOnEscapePress.d.ts.map +1 -1
  113. package/dist/hooks/useOnEscapePress.js +0 -1
  114. package/dist/hooks/useRenderForcingRef.d.ts.map +1 -1
  115. package/dist/hooks/useRenderForcingRef.js +37 -7
  116. package/dist/hooks/useResizeObserver.d.ts.map +1 -1
  117. package/dist/hooks/useResizeObserver.js +0 -1
  118. package/dist/hooks/useResponsiveValue.d.ts +0 -2
  119. package/dist/hooks/useResponsiveValue.d.ts.map +1 -1
  120. package/dist/hooks/useResponsiveValue.js +5 -9
  121. package/dist/hooks/useSafeTimeout.d.ts.map +1 -1
  122. package/dist/hooks/useSafeTimeout.js +0 -1
  123. package/dist/hooks/useScrollFlash.d.ts.map +1 -1
  124. package/dist/internal/components/ValidationAnimationContainer.d.ts.map +1 -1
  125. package/dist/internal/hooks/useFocus.d.ts.map +1 -1
  126. package/dist/internal/hooks/useMergedRefs.d.ts.map +1 -1
  127. package/dist/internal/hooks/useMergedRefs.js +0 -1
  128. package/dist/utils/polymorphic.d.ts +1 -0
  129. package/dist/utils/polymorphic.d.ts.map +1 -1
  130. package/generated/components.json +32 -7
  131. package/package.json +8 -8
  132. package/dist/ActionList/ActionList-167cf6c7.css +0 -2
  133. package/dist/ActionList/ActionList-167cf6c7.css.map +0 -1
  134. package/dist/Link/Link-e01bdaee.css +0 -2
  135. package/dist/Link/Link-e01bdaee.css.map +0 -1
  136. package/dist/PageHeader/PageHeader-4e1d8fee.css +0 -2
  137. package/dist/PageHeader/PageHeader-4e1d8fee.css.map +0 -1
  138. package/dist/PageLayout/PageLayout-1849f083.css +0 -2
  139. package/dist/PageLayout/PageLayout-1849f083.css.map +0 -1
  140. package/dist/Timeline/Timeline-e8e88a13.css +0 -2
  141. package/dist/Timeline/Timeline-e8e88a13.css.map +0 -1
  142. package/dist/hooks/useMediaUnsafeSSR.d.ts.map +0 -1
package/CHANGELOG.md CHANGED
@@ -4,18 +4,36 @@
4
4
 
5
5
  ### Minor Changes
6
6
 
7
+ - [#7065](https://github.com/primer/react/pull/7065) [`9090053`](https://github.com/primer/react/commit/90900532e7566da2d12ff74685678463d5c7f247) Thanks [@TylerJDev](https://github.com/TylerJDev)! - ActionBar: Add `ActionBar.Menu` subcomponent
8
+
9
+ - [#7056](https://github.com/primer/react/pull/7056) [`6ff2797`](https://github.com/primer/react/commit/6ff2797662bf7ab8cf8575d13ad061923bf0d9c1) Thanks [@adierkens](https://github.com/adierkens)! - Update active indicators for ActionList & FilteredActionList to follow content height
10
+
7
11
  - [#7063](https://github.com/primer/react/pull/7063) [`247c66a`](https://github.com/primer/react/commit/247c66a3c297afba73c6e9e3842cc15ff8a845c1) Thanks [@francinelucca](https://github.com/francinelucca)! - Feat: popover implement click outside
8
12
 
9
- - [#7070](https://github.com/primer/react/pull/7070) [`f7dfa7d`](https://github.com/primer/react/commit/f7dfa7d5954961834d0ec360d6b218237e75bf96) Thanks [@hectahertz](https://github.com/hectahertz)! - Add SSR warnings to useMediaUnsafeSSR and useResponsiveValue.
13
+ - [#7109](https://github.com/primer/react/pull/7109) [`34e7108`](https://github.com/primer/react/commit/34e71089ea7668d7b0ab4572f125d13b998e8754) Thanks [@adierkens](https://github.com/adierkens)! - Add support to ActionList for 'tablist' and 'tab' roles
14
+
15
+ - [#7112](https://github.com/primer/react/pull/7112) [`7160709`](https://github.com/primer/react/commit/71607096f1ed60455313d3e1e26ce803f985307c) Thanks [@hectahertz](https://github.com/hectahertz)! - PageHeader: Remove useResponsiveValue hook from TitleArea variant prop
16
+
17
+ Migrates PageHeader.TitleArea's `variant` prop to use `getResponsiveAttributes` following ADR-018 for SSR-safe responsive values. This prevents layout shift during hydration when using responsive variants.
10
18
 
11
19
  ### Patch Changes
12
20
 
21
+ - [#7114](https://github.com/primer/react/pull/7114) [`15a13c6`](https://github.com/primer/react/commit/15a13c64917676d47e4ce899ce1f96939cc754d6) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - ActionList: Fix trailing action button to take full height.
22
+
23
+ - [#7124](https://github.com/primer/react/pull/7124) [`a746a83`](https://github.com/primer/react/commit/a746a83e68da54a7f66161b0f1d68bfbdc071ce6) Thanks [@lukasoppermann](https://github.com/lukasoppermann)! - Fixed Timeline.Break when followed by a condensed item and clip sidebar for condensed items.
24
+
13
25
  - [#7060](https://github.com/primer/react/pull/7060) [`3468793`](https://github.com/primer/react/commit/3468793e15269d6d9f226ee7844921e44bfc4622) Thanks [@francinelucca](https://github.com/francinelucca)! - @primer/react: chore(Dialog): allow direct children
14
26
 
27
+ - [#7115](https://github.com/primer/react/pull/7115) [`21cefb9`](https://github.com/primer/react/commit/21cefb96c1ed7d00d6b16f29ea5d358c6502d160) Thanks [@siddharthkp](https://github.com/siddharthkp)! - ActionBar: IconButton no longer adds it's own `data-testid`
28
+
15
29
  - [#7061](https://github.com/primer/react/pull/7061) [`e58e102`](https://github.com/primer/react/commit/e58e1027d7f3cdae5223c08d83f7b86918db370b) Thanks [@francinelucca](https://github.com/francinelucca)! - PageLayout: update wrapper dimensions to match PageLayout's root element
16
30
 
17
31
  - [#7097](https://github.com/primer/react/pull/7097) [`12fad7a`](https://github.com/primer/react/commit/12fad7af4d9d31898dfff5d3419987100b398d9e) Thanks [@francinelucca](https://github.com/francinelucca)! - chore: fix UnderlineWrapper html structure
18
32
 
33
+ - [#7101](https://github.com/primer/react/pull/7101) [`9382e52`](https://github.com/primer/react/commit/9382e529a8a4a0204ce0c412a0c8840cfbfe9f2c) Thanks [@hectahertz](https://github.com/hectahertz)! - Remove use of useResponsiveValue hook - PageLayout
34
+
35
+ - [#7128](https://github.com/primer/react/pull/7128) [`4d0f08a`](https://github.com/primer/react/commit/4d0f08a24750704374655c3dc0450012f905bca0) Thanks [@siddharthkp](https://github.com/siddharthkp)! - Link: Remove deprecated underline prop. (Not used in github-ui)
36
+
19
37
  ## 38.0.0
20
38
 
21
39
  ### Major Changes
package/README.md CHANGED
@@ -28,20 +28,19 @@ To install `@primer/react` in your project, you will need to run the following
28
28
  command using [npm](https://www.npmjs.com/):
29
29
 
30
30
  ```bash
31
- npm install -S @primer/react @primer/primitives styled-components@5.x
31
+ npm install -S @primer/react @primer/primitives
32
32
  ```
33
33
 
34
34
  If you prefer [Yarn](https://yarnpkg.com/), use the following command instead:
35
35
 
36
36
  ```bash
37
- yarn add @primer/react @primer/primitives styled-components@5.x
37
+ yarn add @primer/react @primer/primitives
38
38
  ```
39
39
 
40
- This command will install three packages in your project:
40
+ This command will install two packages in your project:
41
41
 
42
42
  - `@primer/react`: used to import and use all the components from Primer
43
43
  - `@primer/primitives`: used to include the design tokens from Primer
44
- - `styled-components`: used to style components
45
44
 
46
45
  To learn more about how to use `@primer/react`, visit our documentation site at:
47
46
  [primer.style](https://primer.style).
@@ -59,26 +58,32 @@ function App() {
59
58
  ```
60
59
 
61
60
  At the root of your application, you'll also want to include our
62
- `ThemeProvider` and `BaseStyles` components along with styles from the
61
+ `BaseStyles` component along with styles from the
63
62
  `@primer/primitives` package. For example:
64
63
 
65
64
  ```tsx
66
65
  // Import each of the themes you would like to use, by default we are including
67
66
  // the light theme below
68
67
  import '@primer/primitives/dist/css/functional/themes/light.css'
69
- import {BaseStyles, ThemeProvider} from '@primer/react'
68
+ import {BaseStyles} from '@primer/react'
70
69
 
71
70
  function RootLayout() {
72
71
  return (
73
- <ThemeProvider>
74
- <BaseStyles>
75
- <App />
76
- </BaseStyles>
77
- </ThemeProvider>
72
+ <BaseStyles>
73
+ <App />
74
+ </BaseStyles>
78
75
  )
79
76
  }
80
77
  ```
81
78
 
79
+ In addition, you will need to add the following attributes to your `html` element:
80
+
81
+ ```html
82
+ <html data-light-theme="light" data-dark-theme="dark" data-color-mode="auto">
83
+ <!-- ... -->
84
+ </html>
85
+ ```
86
+
82
87
  ## 📖 Documentation
83
88
 
84
89
  The documentation for `@primer/react` lives at [primer.style](https://primer.style). There, you'll find detailed documentation on getting started, all of the components, our theme, our principles, and more.
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import { type ActionListItemProps } from '../ActionList';
2
3
  import type { IconButtonProps } from '../Button';
3
4
  type Size = 'small' | 'medium' | 'large';
4
5
  type A11yProps = {
@@ -37,11 +38,80 @@ export type ActionBarProps = {
37
38
  export type ActionBarIconButtonProps = {
38
39
  disabled?: boolean;
39
40
  } & IconButtonProps;
41
+ export type ActionBarMenuItemProps = ({
42
+ /**
43
+ * Type of menu item to be rendered in the menu (action | group).
44
+ * Defaults to 'action' if not specified.
45
+ */
46
+ type?: 'action';
47
+ /**
48
+ * Whether the menu item is disabled.
49
+ * All interactions will be prevented if true.
50
+ */
51
+ disabled?: boolean;
52
+ /**
53
+ * Leading visual rendered for the menu item.
54
+ */
55
+ leadingVisual?: ActionBarIconButtonProps['icon'];
56
+ /**
57
+ * Trailing visual rendered for the menu item.
58
+ */
59
+ trailingVisual?: ActionBarIconButtonProps['icon'] | string;
60
+ /**
61
+ * Label for the menu item.
62
+ */
63
+ label: string;
64
+ /**
65
+ * Callback fired when the menu item is selected.
66
+ */
67
+ onClick?: ActionListItemProps['onSelect'];
68
+ /**
69
+ * Nested menu items to render within a submenu.
70
+ * If provided, the menu item will render a submenu.
71
+ */
72
+ items?: ActionBarMenuItemProps[];
73
+ } & Pick<ActionListItemProps, 'variant'>) | {
74
+ type: 'divider';
75
+ };
76
+ export type ActionBarMenuProps = {
77
+ /** Accessible label for the menu button */
78
+ 'aria-label': string;
79
+ /** Icon for the menu button */
80
+ icon: ActionBarIconButtonProps['icon'];
81
+ items: ActionBarMenuItemProps[];
82
+ /**
83
+ * Icon displayed when the menu item is overflowing.
84
+ * If 'none' is provided, no icon will be shown in the overflow menu.
85
+ */
86
+ overflowIcon?: ActionBarIconButtonProps['icon'] | 'none';
87
+ } & IconButtonProps;
40
88
  export declare const ActionBar: React.FC<React.PropsWithChildren<ActionBarProps>>;
41
89
  export declare const ActionBarIconButton: React.ForwardRefExoticComponent<ActionBarIconButtonProps & React.RefAttributes<unknown>>;
42
90
  export declare const ActionBarGroup: React.ForwardRefExoticComponent<{
43
91
  children?: React.ReactNode | undefined;
44
92
  } & React.RefAttributes<unknown>>;
93
+ export declare const ActionBarMenu: React.ForwardRefExoticComponent<{
94
+ /** Accessible label for the menu button */
95
+ 'aria-label': string;
96
+ /** Icon for the menu button */
97
+ icon: ActionBarIconButtonProps["icon"];
98
+ items: ActionBarMenuItemProps[];
99
+ /**
100
+ * Icon displayed when the menu item is overflowing.
101
+ * If 'none' is provided, no icon will be shown in the overflow menu.
102
+ */
103
+ overflowIcon?: ActionBarIconButtonProps["icon"] | "none";
104
+ } & {
105
+ 'aria-label': string;
106
+ 'aria-labelledby'?: undefined;
107
+ } & {
108
+ icon: React.ElementType;
109
+ unsafeDisableTooltip?: boolean;
110
+ description?: string;
111
+ tooltipDirection?: import("../TooltipV2").TooltipDirection;
112
+ keyshortcuts?: string;
113
+ keybindingHint?: string;
114
+ } & Omit<import("..").ButtonBaseProps, "aria-label" | "aria-labelledby"> & React.RefAttributes<unknown>>;
45
115
  export declare const VerticalDivider: () => React.JSX.Element | null;
46
116
  export {};
47
117
  //# sourceMappingURL=ActionBar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ActionBar.d.ts","sourceRoot":"","sources":["../../src/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