@primer/react 38.8.1-rc.a0ab23ac8 → 38.8.1-rc.d6b5907c9
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/dist/ActionBar/ActionBar.js +1 -1
- package/dist/ActionBar/index.js +1 -1
- package/dist/Banner/Banner.js +1 -1
- package/dist/FormControl/_FormControlContext.js +1 -1
- package/dist/KeybindingHint/components/Sequence.js +1 -1
- package/dist/deprecated/index.js +1 -1
- package/dist/experimental/index.js +17 -17
- package/dist/hooks/useMedia.js +1 -1
- package/dist/index.js +16 -16
- package/dist/utils/create-component.js +1 -1
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c } from 'react-compiler-runtime';
|
|
2
|
-
import React, {
|
|
2
|
+
import React, { useRef, useState, forwardRef, useId } from 'react';
|
|
3
3
|
import { KebabHorizontalIcon } from '@primer/octicons-react';
|
|
4
4
|
import { ActionList } from '../ActionList/index.js';
|
|
5
5
|
import useIsomorphicLayoutEffect from '../utils/useIsomorphicLayoutEffect.js';
|
package/dist/ActionBar/index.js
CHANGED
package/dist/Banner/Banner.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c } from 'react-compiler-runtime';
|
|
2
2
|
import { clsx } from 'clsx';
|
|
3
|
-
import React, {
|
|
3
|
+
import React, { useEffect, forwardRef } from 'react';
|
|
4
4
|
import { XIcon, AlertIcon, InfoIcon, CheckCircleIcon, StopIcon } from '@primer/octicons-react';
|
|
5
5
|
import { IconButton } from '../Button/IconButton.js';
|
|
6
6
|
import { ButtonComponent } from '../Button/Button.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c } from 'react-compiler-runtime';
|
|
2
|
-
import {
|
|
2
|
+
import { useContext, createContext } from 'react';
|
|
3
3
|
|
|
4
4
|
const FormControlContext = /*#__PURE__*/createContext(null);
|
|
5
5
|
const FormControlContextProvider = FormControlContext.Provider;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Fragment } from 'react';
|
|
2
2
|
import VisuallyHidden from '../../_VisuallyHidden.js';
|
|
3
3
|
import { accessibleChordString, Chord } from './Chord.js';
|
|
4
|
-
import { jsxs,
|
|
4
|
+
import { jsxs, Fragment as Fragment$1, jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
6
6
|
const splitSequence = sequence => sequence.split(' ');
|
|
7
7
|
const Sequence = ({
|
package/dist/deprecated/index.js
CHANGED
|
@@ -5,6 +5,6 @@ export { default as Tooltip } from '../Tooltip/Tooltip.js';
|
|
|
5
5
|
export { default as FilteredSearch } from './FilteredSearch/FilteredSearch.js';
|
|
6
6
|
export { default as Octicon } from '../Octicon/Octicon.js';
|
|
7
7
|
export { default as Pagehead } from '../Pagehead/Pagehead.js';
|
|
8
|
-
export { default as UnderlineNav } from './UnderlineNav/UnderlineNav.js';
|
|
9
8
|
export { default as Dialog } from './DialogV1/Dialog.js';
|
|
10
9
|
export { default as TabNav } from '../TabNav/TabNav.js';
|
|
10
|
+
export { default as UnderlineNav } from './UnderlineNav/UnderlineNav.js';
|
|
@@ -2,32 +2,32 @@
|
|
|
2
2
|
export { Blankslate } from '../Blankslate/index.js';
|
|
3
3
|
export { Table } from '../DataTable/index.js';
|
|
4
4
|
export { Dialog } from '../Dialog/Dialog.js';
|
|
5
|
-
export {
|
|
5
|
+
export { ActionBar } from '../ActionBar/index.js';
|
|
6
6
|
export { Stack } from '../Stack/index.js';
|
|
7
7
|
export { TopicTag } from '../TopicTag/index.js';
|
|
8
|
+
export { Announce } from '../live-region/Announce.js';
|
|
9
|
+
export { AriaAlert } from '../live-region/AriaAlert.js';
|
|
10
|
+
export { AriaStatus } from '../live-region/AriaStatus.js';
|
|
8
11
|
export { ButtonBase } from '../Button/ButtonBase.js';
|
|
9
12
|
export { DataTable } from '../DataTable/DataTable.js';
|
|
10
|
-
export {
|
|
13
|
+
export { DefaultFeatureFlags } from '../FeatureFlags/DefaultFeatureFlags.js';
|
|
14
|
+
export { FeatureFlags } from '../FeatureFlags/FeatureFlags.js';
|
|
15
|
+
export { FilteredActionList } from '../FilteredActionList/FilteredActionList.js';
|
|
16
|
+
export { Hidden } from '../Hidden/Hidden.js';
|
|
11
17
|
export { InlineMessage } from '../InlineMessage/InlineMessage.js';
|
|
12
|
-
export {
|
|
18
|
+
export { IssueLabel } from './IssueLabel/IssueLabel.js';
|
|
19
|
+
export { KeybindingHint, getAccessibleKeybindingHintString } from '../KeybindingHint/KeybindingHint.js';
|
|
13
20
|
export { NavList } from '../NavList/NavList.js';
|
|
14
|
-
export {
|
|
21
|
+
export { PageHeader } from '../PageHeader/PageHeader.js';
|
|
15
22
|
export { ScrollableRegion } from '../ScrollableRegion/ScrollableRegion.js';
|
|
16
|
-
export {
|
|
17
|
-
export {
|
|
18
|
-
export { AriaAlert } from '../live-region/AriaAlert.js';
|
|
19
|
-
export { default as UnderlinePanels } from './UnderlinePanels/UnderlinePanels.js';
|
|
23
|
+
export { SelectPanel } from './SelectPanel2/SelectPanel.js';
|
|
24
|
+
export { SkeletonAvatar } from '../SkeletonAvatar/SkeletonAvatar.js';
|
|
20
25
|
export { SkeletonBox } from '../Skeleton/SkeletonBox.js';
|
|
21
26
|
export { SkeletonText } from '../SkeletonText/SkeletonText.js';
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
24
|
-
export {
|
|
27
|
+
export { Tabs, useTab, useTabList, useTabPanel } from './Tabs/Tabs.js';
|
|
28
|
+
export { Tooltip } from '../TooltipV2/Tooltip.js';
|
|
29
|
+
export { default as UnderlinePanels } from './UnderlinePanels/UnderlinePanels.js';
|
|
30
|
+
export { createColumnHelper } from '../DataTable/column.js';
|
|
25
31
|
export { useFeatureFlag } from '../FeatureFlags/useFeatureFlag.js';
|
|
26
|
-
export { FilteredActionList } from '../FilteredActionList/FilteredActionList.js';
|
|
27
|
-
export { IssueLabel } from './IssueLabel/IssueLabel.js';
|
|
28
|
-
export { Hidden } from '../Hidden/Hidden.js';
|
|
29
32
|
export { useOverflow } from '../hooks/useOverflow.js';
|
|
30
33
|
export { useSlots } from '../hooks/useSlots.js';
|
|
31
|
-
export { SelectPanel } from './SelectPanel2/SelectPanel.js';
|
|
32
|
-
export { KeybindingHint, getAccessibleKeybindingHintString } from '../KeybindingHint/KeybindingHint.js';
|
|
33
|
-
export { Tabs, useTab, useTabList, useTabPanel } from './Tabs/Tabs.js';
|
package/dist/hooks/useMedia.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c } from 'react-compiler-runtime';
|
|
2
|
-
import React, { useContext,
|
|
2
|
+
import React, { useContext, useEffect, createContext } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
|
|
5
5
|
function useMedia(mediaQueryString, defaultState) {
|
package/dist/index.js
CHANGED
|
@@ -29,57 +29,57 @@ export { Portal, PortalContext, registerPortalRoot } from './Portal/Portal.js';
|
|
|
29
29
|
export { ProgressBar } from './ProgressBar/index.js';
|
|
30
30
|
export { default as SideNav } from './SideNav.js';
|
|
31
31
|
export { UnderlineNav } from './UnderlineNav/index.js';
|
|
32
|
-
export {
|
|
32
|
+
export { ActionBar } from './ActionBar/index.js';
|
|
33
33
|
export { Stack } from './Stack/index.js';
|
|
34
|
-
export { default as Radio } from './Radio/Radio.js';
|
|
35
34
|
export { default as Avatar } from './Avatar/Avatar.js';
|
|
36
35
|
export { default as AvatarStack } from './AvatarStack/AvatarStack.js';
|
|
37
36
|
export { default as ButtonGroup } from './ButtonGroup/ButtonGroup.js';
|
|
37
|
+
export { default as Checkbox } from './Checkbox/Checkbox.js';
|
|
38
38
|
export { default as CounterLabel } from './CounterLabel/CounterLabel.js';
|
|
39
39
|
export { default as Details } from './Details/Details.js';
|
|
40
40
|
export { default as Flash } from './Flash/Flash.js';
|
|
41
41
|
export { default as Heading } from './Heading/Heading.js';
|
|
42
|
+
export { default as IssueLabelToken } from './Token/IssueLabelToken.js';
|
|
42
43
|
export { default as LabelGroup } from './LabelGroup/LabelGroup.js';
|
|
43
44
|
export { default as Link } from './Link/Link.js';
|
|
44
45
|
export { default as Overlay } from './Overlay/Overlay.js';
|
|
46
|
+
export { default as Radio } from './Radio/Radio.js';
|
|
45
47
|
export { default as RelativeTime } from './RelativeTime/RelativeTime.js';
|
|
46
48
|
export { default as Spinner } from './Spinner/Spinner.js';
|
|
47
49
|
export { default as StateLabel } from './StateLabel/StateLabel.js';
|
|
48
|
-
export { default as ToggleSwitch } from './ToggleSwitch/ToggleSwitch.js';
|
|
49
50
|
export { default as TextInputWithTokens } from './TextInputWithTokens/TextInputWithTokens.js';
|
|
51
|
+
export { default as Textarea } from './Textarea/Textarea.js';
|
|
52
|
+
export { default as ToggleSwitch } from './ToggleSwitch/ToggleSwitch.js';
|
|
50
53
|
export { default as Token } from './Token/Token.js';
|
|
51
|
-
export { default as IssueLabelToken } from './Token/IssueLabelToken.js';
|
|
52
54
|
export { default as Truncate } from './Truncate/Truncate.js';
|
|
53
|
-
export { default as Checkbox } from './Checkbox/Checkbox.js';
|
|
54
|
-
export { default as Textarea } from './Textarea/Textarea.js';
|
|
55
|
-
export { PageLayout } from './PageLayout/PageLayout.js';
|
|
56
|
-
export { SplitPageLayout } from './SplitPageLayout/SplitPageLayout.js';
|
|
57
55
|
export { ActionMenu } from './ActionMenu/ActionMenu.js';
|
|
58
56
|
export { AnchoredOverlay } from './AnchoredOverlay/AnchoredOverlay.js';
|
|
59
57
|
export { default as Autocomplete } from './Autocomplete/Autocomplete.js';
|
|
60
58
|
export { default as BranchName } from './BranchName/BranchName.js';
|
|
61
59
|
export { Breadcrumb, default as Breadcrumbs } from './Breadcrumbs/Breadcrumbs.js';
|
|
60
|
+
export { ButtonComponent as Button } from './Button/Button.js';
|
|
61
|
+
export { ButtonBase } from './Button/ButtonBase.js';
|
|
62
62
|
export { default as CheckboxGroup } from './CheckboxGroup/CheckboxGroup.js';
|
|
63
63
|
export { default as CircleBadge } from './CircleBadge/CircleBadge.js';
|
|
64
64
|
export { default as FormControl } from './FormControl/FormControl.js';
|
|
65
|
-
export { useFormControlForwardedProps } from './FormControl/_FormControlContext.js';
|
|
66
65
|
export { default as Header } from './Header/Header.js';
|
|
66
|
+
export { IconButton } from './Button/IconButton.js';
|
|
67
|
+
export { LinkButton } from './Button/LinkButton.js';
|
|
67
68
|
export { NavList } from './NavList/NavList.js';
|
|
69
|
+
export { PageHeader } from './PageHeader/PageHeader.js';
|
|
70
|
+
export { PageLayout } from './PageLayout/PageLayout.js';
|
|
68
71
|
export { default as Popover } from './Popover/Popover.js';
|
|
69
72
|
export { default as RadioGroup } from './RadioGroup/RadioGroup.js';
|
|
70
73
|
export { SegmentedControl } from './SegmentedControl/SegmentedControl.js';
|
|
71
74
|
export { default as Select } from './Select/Select.js';
|
|
72
75
|
export { SelectPanel } from './SelectPanel/SelectPanel.js';
|
|
76
|
+
export { SkeletonBox } from './Skeleton/SkeletonBox.js';
|
|
77
|
+
export { SplitPageLayout } from './SplitPageLayout/SplitPageLayout.js';
|
|
73
78
|
export { default as SubNav } from './SubNav/SubNav.js';
|
|
74
|
-
export { default as TextInput } from './TextInput/TextInput.js';
|
|
75
79
|
export { default as Text } from './Text/Text.js';
|
|
80
|
+
export { default as TextInput } from './TextInput/TextInput.js';
|
|
76
81
|
export { default as Timeline } from './Timeline/Timeline.js';
|
|
77
82
|
export { Tooltip } from './TooltipV2/Tooltip.js';
|
|
78
83
|
export { TreeView } from './TreeView/TreeView.js';
|
|
79
84
|
export { VisuallyHidden } from './VisuallyHidden/VisuallyHidden.js';
|
|
80
|
-
export {
|
|
81
|
-
export { SkeletonBox } from './Skeleton/SkeletonBox.js';
|
|
82
|
-
export { ButtonComponent as Button } from './Button/Button.js';
|
|
83
|
-
export { ButtonBase } from './Button/ButtonBase.js';
|
|
84
|
-
export { IconButton } from './Button/IconButton.js';
|
|
85
|
-
export { LinkButton } from './Button/LinkButton.js';
|
|
85
|
+
export { useFormControlForwardedProps } from './FormControl/_FormControlContext.js';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primer/react",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "38.8.1-rc.
|
|
4
|
+
"version": "38.8.1-rc.d6b5907c9",
|
|
5
5
|
"description": "An implementation of GitHub's Primer Design System using React",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"module": "./dist/index.js",
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
"react-is": "18.3.1",
|
|
171
171
|
"recast": "0.23.7",
|
|
172
172
|
"rimraf": "5.0.5",
|
|
173
|
-
"rollup": "4.
|
|
173
|
+
"rollup": "4.56.0",
|
|
174
174
|
"rollup-plugin-import-css": "^0.0.0",
|
|
175
175
|
"storybook": "^10.1.11",
|
|
176
176
|
"terser": "5.36.0",
|