@primer/react 38.29.1-rc.42909d47c → 38.30.0-rc.5c4b3e004
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 +25 -1
- package/dist/NavList/NavList-b50d982b.css +2 -0
- package/dist/NavList/NavList-b50d982b.css.map +1 -0
- package/dist/NavList/NavList.d.ts +13 -4
- package/dist/NavList/NavList.d.ts.map +1 -1
- package/dist/NavList/NavList.js +238 -70
- package/dist/NavList/NavList.module.css.js +2 -2
- package/dist/Radio/Radio.d.ts.map +1 -1
- package/dist/Radio/Radio.js +2 -1
- package/dist/RadioGroup/RadioGroup.js +1 -0
- package/dist/RelativeTime/RelativeTime.js +1 -0
- package/dist/ScrollableRegion/ScrollableRegion.d.ts.map +1 -1
- package/dist/ScrollableRegion/ScrollableRegion.js +1 -0
- package/dist/SegmentedControl/SegmentedControl.d.ts.map +1 -1
- package/dist/SegmentedControl/SegmentedControl.js +1 -0
- package/dist/SegmentedControl/SegmentedControlButton.d.ts.map +1 -1
- package/dist/SegmentedControl/SegmentedControlButton.js +1 -0
- package/dist/SegmentedControl/SegmentedControlIconButton.d.ts.map +1 -1
- package/dist/SegmentedControl/SegmentedControlIconButton.js +1 -0
- package/dist/Select/Select.d.ts.map +1 -1
- package/dist/Select/Select.js +6 -2
- package/dist/SelectPanel/SelectPanel.d.ts +2 -2
- package/dist/SelectPanel/SelectPanel.d.ts.map +1 -1
- package/dist/SelectPanel/SelectPanel.js +4 -1
- package/dist/SideNav.d.ts.map +1 -1
- package/dist/SideNav.js +2 -0
- package/dist/Skeleton/SkeletonBox.d.ts +1 -0
- package/dist/Skeleton/SkeletonBox.d.ts.map +1 -1
- package/dist/Skeleton/SkeletonBox.js +54 -47
- package/dist/SkeletonText/SkeletonText.d.ts.map +1 -1
- package/dist/SkeletonText/SkeletonText.js +2 -2
- package/dist/Spinner/Spinner.js +1 -0
- package/generated/components.json +42 -3
- package/package.json +2 -2
- package/dist/NavList/NavList-5dc067e3.css +0 -2
- package/dist/NavList/NavList-5dc067e3.css.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,30 @@
|
|
|
1
1
|
# @primer/react
|
|
2
2
|
|
|
3
|
-
## 38.
|
|
3
|
+
## 38.30.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#8031](https://github.com/primer/react/pull/8031) [`cb79351`](https://github.com/primer/react/commit/cb79351f29b9a1aea7bacf890eca97a5c9d97590) Thanks [@janmaarten-a11y](https://github.com/janmaarten-a11y)! - Add a `NavList.Heading` slot that names the navigation region. It renders an `h2`
|
|
8
|
+
by default (configurable to `h3` via `as`), supports a `visuallyHidden` variant,
|
|
9
|
+
labels the `nav` landmark via `aria-labelledby`, and makes `NavList.Group`
|
|
10
|
+
headings default to one level deeper (`h3`, or `h4` under an `h3` heading) for a
|
|
11
|
+
correct heading hierarchy.
|
|
12
|
+
|
|
13
|
+
- [#7991](https://github.com/primer/react/pull/7991) [`b906268`](https://github.com/primer/react/commit/b906268b7ebe8d684d8b5e9b1c4e9b528a5dd67a) Thanks [@llastflowers](https://github.com/llastflowers)! - Add data-component attributes and associated tests for:
|
|
14
|
+
|
|
15
|
+
Radio
|
|
16
|
+
RadioGroup
|
|
17
|
+
RelativeTime
|
|
18
|
+
ScrollableRegion
|
|
19
|
+
SegmentedControl
|
|
20
|
+
Select
|
|
21
|
+
SideNav
|
|
22
|
+
SkeletonBox
|
|
23
|
+
SkeletonAvatar
|
|
24
|
+
SkeletonText
|
|
25
|
+
Spinner
|
|
26
|
+
|
|
27
|
+
- [#8026](https://github.com/primer/react/pull/8026) [`73a45df`](https://github.com/primer/react/commit/73a45dfe11c3a297e4f2f8317caa4a535a70ce80) Thanks [@TylerJDev](https://github.com/TylerJDev)! - SelectPanel: Add `cssAnchorPositioningSettings` prop to customize CSS anchor positioning behavior
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
|
6
30
|
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
.prc-NavList-Heading--JQMj{margin-block-end:var(--base-size-8,.5rem);margin-inline-start:calc(var(--control-medium-paddingInline-condensed,.5rem) + var(--base-size-8,.5rem))}.prc-NavList-GroupHeading-mN50z>a{color:var(--fgColor-default,#1f2328);text-decoration:inherit}.prc-NavList-GroupHeading-mN50z>a:hover{-webkit-text-decoration:underline;text-decoration:underline}
|
|
2
|
+
/*# sourceMappingURL=NavList-b50d982b.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/NavList/NavList.module.css.js"],"names":[],"mappings":"AAAA,2BACE,yCAAoC,CAEpC,wGACF,CAEA,kCACE,oCAA6B,CAC7B,uBACF,CAEA,wCACE,iCAA0B,CAA1B,yBACF","file":"NavList-b50d982b.css","sourcesContent":[".Heading {\n margin-block-end: var(--base-size-8);\n /* stylelint-disable-next-line primer/spacing */\n margin-inline-start: calc(var(--control-medium-paddingInline-condensed) + var(--base-size-8));\n}\n\n.GroupHeading > a {\n color: var(--fgColor-default);\n text-decoration: inherit;\n}\n\n.GroupHeading > a:hover {\n text-decoration: underline;\n}\n"]}
|
|
@@ -3,9 +3,17 @@ import type { ForwardRefComponent as PolymorphicForwardRefComponent } from '../u
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import type { ActionListTrailingActionProps, ActionListDividerProps, ActionListLeadingVisualProps, ActionListTrailingVisualProps, ActionListGroupHeadingProps } from '../ActionList';
|
|
5
5
|
import { type PolymorphicProps } from '../utils/modern-polymorphic';
|
|
6
|
+
import type { FCWithSlotMarker } from '../utils/types/Slots';
|
|
7
|
+
type NavListHeadingLevels = 'h2' | 'h3';
|
|
6
8
|
export type NavListProps = {
|
|
7
9
|
children: React.ReactNode;
|
|
8
10
|
} & React.ComponentProps<'nav'>;
|
|
11
|
+
export type NavListHeadingProps = {
|
|
12
|
+
/** Semantic heading level for the NavList. Also sets the default level for child group headings, which render one level deeper. */
|
|
13
|
+
as?: NavListHeadingLevels;
|
|
14
|
+
/** Visually hide the heading while keeping it available to assistive technology. */
|
|
15
|
+
visuallyHidden?: boolean;
|
|
16
|
+
} & React.ComponentPropsWithoutRef<'h2'>;
|
|
9
17
|
export type NavListItemProps<As extends React.ElementType = React.ElementType> = PolymorphicProps<As, 'a', {
|
|
10
18
|
children: React.ReactNode;
|
|
11
19
|
defaultOpen?: boolean;
|
|
@@ -40,7 +48,8 @@ export type NavListGroupExpandProps = {
|
|
|
40
48
|
export declare const GroupExpand: React.ForwardRefExoticComponent<NavListGroupExpandProps & React.RefAttributes<HTMLButtonElement>>;
|
|
41
49
|
export type NavListGroupHeadingProps = ActionListGroupHeadingProps;
|
|
42
50
|
export declare const NavList: React.ForwardRefExoticComponent<Omit<NavListProps, "ref"> & React.RefAttributes<HTMLElement>> & {
|
|
43
|
-
Description:
|
|
51
|
+
Description: FCWithSlotMarker<React.PropsWithChildren<import("..").ActionListDescriptionProps>>;
|
|
52
|
+
Heading: FCWithSlotMarker<NavListHeadingProps>;
|
|
44
53
|
Item: (<As extends React.ElementType = "a">(props: import("../utils/modern-polymorphic").DistributiveOmit<React.ComponentPropsWithRef<React.ElementType extends As ? "a" : As> & {
|
|
45
54
|
children: React.ReactNode;
|
|
46
55
|
defaultOpen?: boolean;
|
|
@@ -53,10 +62,10 @@ export declare const NavList: React.ForwardRefExoticComponent<Omit<NavListProps,
|
|
|
53
62
|
displayName: string;
|
|
54
63
|
};
|
|
55
64
|
SubNav: PolymorphicForwardRefComponent<"ul", NavListSubNavProps>;
|
|
56
|
-
LeadingVisual:
|
|
57
|
-
TrailingVisual:
|
|
65
|
+
LeadingVisual: FCWithSlotMarker<React.PropsWithChildren<import("../ActionList/Visuals").VisualProps>>;
|
|
66
|
+
TrailingVisual: FCWithSlotMarker<React.PropsWithChildren<import("../ActionList/Visuals").VisualProps>>;
|
|
58
67
|
TrailingAction: PolymorphicForwardRefComponent<"a" | "button", ActionListTrailingActionProps>;
|
|
59
|
-
Divider:
|
|
68
|
+
Divider: FCWithSlotMarker<React.PropsWithChildren<ActionListDividerProps>>;
|
|
60
69
|
Group: React.FC<NavListGroupProps>;
|
|
61
70
|
GroupExpand: React.ForwardRefExoticComponent<NavListGroupExpandProps & React.RefAttributes<HTMLButtonElement>>;
|
|
62
71
|
GroupHeading: React.FC<ActionListGroupHeadingProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavList.d.ts","sourceRoot":"","sources":["../../src/NavList/NavList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4B,KAAK,IAAI,EAAC,MAAM,wBAAwB,CAAA;AAC3E,OAAO,KAAK,EAAC,mBAAmB,IAAI,8BAA8B,EAAC,MAAM,sBAAsB,CAAA;AAC/F,OAAO,KAAuB,MAAM,OAAO,CAAA;AAE3C,OAAO,KAAK,EACV,6BAA6B,EAC7B,sBAAsB,EACtB,4BAA4B,EAC5B,6BAA6B,EAC7B,2BAA2B,EAC5B,MAAM,eAAe,CAAA;AAUtB,OAAO,EAAkB,KAAK,gBAAgB,EAAC,MAAM,6BAA6B,CAAA;
|
|
1
|
+
{"version":3,"file":"NavList.d.ts","sourceRoot":"","sources":["../../src/NavList/NavList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4B,KAAK,IAAI,EAAC,MAAM,wBAAwB,CAAA;AAC3E,OAAO,KAAK,EAAC,mBAAmB,IAAI,8BAA8B,EAAC,MAAM,sBAAsB,CAAA;AAC/F,OAAO,KAAuB,MAAM,OAAO,CAAA;AAE3C,OAAO,KAAK,EACV,6BAA6B,EAC7B,sBAAsB,EACtB,4BAA4B,EAC5B,6BAA6B,EAC7B,2BAA2B,EAC5B,MAAM,eAAe,CAAA;AAUtB,OAAO,EAAkB,KAAK,gBAAgB,EAAC,MAAM,6BAA6B,CAAA;AAGlF,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,sBAAsB,CAAA;AAO1D,KAAK,oBAAoB,GAAG,IAAI,GAAG,IAAI,CAAA;AAoBvC,MAAM,MA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Z,cAAc,CAAC,EAAE,IAAI,GAAG,MAAM,CAAA;IAC9B,aAAa,CAAC,EAAE,IAAI,CAAA;IACpB,cAAc,CAAC,EAAE,6BAA6B,CAAA;IAC9C,0BAA0B,CAAC,EAAE,MAAM,CAAA;CACpC,GAAG,IAAI,CAAC,gBAAgB,EAAE,UAAU,CAAC,CAAA;AAEtC,MAAM,MAAM,uBAAuB,GAAG;IACpC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,SAAS,EAAE,CAAA;IAClB,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,KAAK,CAAC,SAAS,CAAA;CAClD,CAAA;AAED,eAAO,MAAM,WAAW,mGAgFvB,CAAA;AAKD,MAAM,MAAM,wBAAwB,GAAG,2BAA2B,CAAA;AAuBlE,eAAO,MAAM,OAAO;;;YAnXjB,EAAE,SAAS,KAAK,CAAC,WAAW;kBATjB,KAAK,CAAC,SAAS;sBACX,OAAO;eACd,MAAM;yBACI,MAAM,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO;uBAC7E,MAAM;;;;;;;;;;;;;;CAoYvB,CAAA"}
|
package/dist/NavList/NavList.js
CHANGED
|
@@ -12,65 +12,210 @@ import navListClasses from './NavList.module.css.js';
|
|
|
12
12
|
import { flushSync } from 'react-dom';
|
|
13
13
|
import { useSlots } from '../hooks/useSlots.js';
|
|
14
14
|
import { fixedForwardRef } from '../utils/modern-polymorphic.js';
|
|
15
|
-
import
|
|
15
|
+
import visuallyHiddenClasses from '../_VisuallyHidden.module.css.js';
|
|
16
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
17
|
+
import Heading$1 from '../Heading/Heading.js';
|
|
18
|
+
|
|
19
|
+
// Publishes the resolved numeric level of a NavList.Heading (e.g. 2 for an h2) so
|
|
20
|
+
// NavList.Group/NavList.GroupHeading can default to one level deeper. `null` when
|
|
21
|
+
// there is no NavList.Heading, in which case groups keep their historical h3 default.
|
|
22
|
+
const NavListHeadingLevelContext = /*#__PURE__*/React.createContext(null);
|
|
23
|
+
function headingTagToLevel(as) {
|
|
24
|
+
return Number.parseInt(as.slice(1), 10);
|
|
25
|
+
}
|
|
26
|
+
function levelToHeadingTag(level) {
|
|
27
|
+
// Clamp to h4 so group headings never go deeper than the supported hierarchy.
|
|
28
|
+
const clamped = Math.min(Math.max(level, 1), 4);
|
|
29
|
+
return `h${clamped}`;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
// ----------------------------------------------------------------------------
|
|
33
|
+
// NavList
|
|
16
34
|
|
|
17
35
|
const Root = /*#__PURE__*/React.forwardRef((t0, ref) => {
|
|
18
|
-
|
|
36
|
+
var _heading$props$id, _ariaLabelledby;
|
|
37
|
+
const $ = c(24);
|
|
38
|
+
let ariaLabel;
|
|
39
|
+
let ariaLabelledby;
|
|
19
40
|
let children;
|
|
20
41
|
let props;
|
|
21
42
|
if ($[0] !== t0) {
|
|
22
43
|
({
|
|
23
44
|
children,
|
|
45
|
+
"aria-label": ariaLabel,
|
|
46
|
+
"aria-labelledby": ariaLabelledby,
|
|
24
47
|
...props
|
|
25
48
|
} = t0);
|
|
26
49
|
$[0] = t0;
|
|
27
|
-
$[1] =
|
|
28
|
-
$[2] =
|
|
50
|
+
$[1] = ariaLabel;
|
|
51
|
+
$[2] = ariaLabelledby;
|
|
52
|
+
$[3] = children;
|
|
53
|
+
$[4] = props;
|
|
29
54
|
} else {
|
|
30
|
-
|
|
31
|
-
|
|
55
|
+
ariaLabel = $[1];
|
|
56
|
+
ariaLabelledby = $[2];
|
|
57
|
+
children = $[3];
|
|
58
|
+
props = $[4];
|
|
32
59
|
}
|
|
33
60
|
let t1;
|
|
34
|
-
if ($[
|
|
61
|
+
if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
|
|
35
62
|
t1 = {
|
|
36
|
-
|
|
63
|
+
heading: Heading
|
|
37
64
|
};
|
|
38
|
-
$[
|
|
65
|
+
$[5] = t1;
|
|
39
66
|
} else {
|
|
40
|
-
t1 = $[
|
|
67
|
+
t1 = $[5];
|
|
41
68
|
}
|
|
69
|
+
const [slots, childrenWithoutHeading] = useSlots(children, t1);
|
|
70
|
+
const fallbackHeadingId = useId();
|
|
71
|
+
const heading = slots.heading;
|
|
72
|
+
const headingId = heading ? (_heading$props$id = heading.props.id) !== null && _heading$props$id !== void 0 ? _heading$props$id : fallbackHeadingId : undefined;
|
|
42
73
|
let t2;
|
|
43
|
-
if ($[
|
|
44
|
-
|
|
45
|
-
|
|
74
|
+
if ($[6] !== heading) {
|
|
75
|
+
var _heading$props$as;
|
|
76
|
+
t2 = heading ? headingTagToLevel((_heading$props$as = heading.props.as) !== null && _heading$props$as !== void 0 ? _heading$props$as : "h2") : null;
|
|
77
|
+
$[6] = heading;
|
|
78
|
+
$[7] = t2;
|
|
79
|
+
} else {
|
|
80
|
+
t2 = $[7];
|
|
81
|
+
}
|
|
82
|
+
const headingLevel = t2;
|
|
83
|
+
const navLabelledby = (_ariaLabelledby = ariaLabelledby) !== null && _ariaLabelledby !== void 0 ? _ariaLabelledby : ariaLabel ? undefined : headingId;
|
|
84
|
+
let t3;
|
|
85
|
+
if ($[8] !== heading || $[9] !== headingId) {
|
|
86
|
+
t3 = heading ? /*#__PURE__*/React.cloneElement(heading, {
|
|
87
|
+
id: headingId
|
|
88
|
+
}) : null;
|
|
89
|
+
$[8] = heading;
|
|
90
|
+
$[9] = headingId;
|
|
91
|
+
$[10] = t3;
|
|
92
|
+
} else {
|
|
93
|
+
t3 = $[10];
|
|
94
|
+
}
|
|
95
|
+
let t4;
|
|
96
|
+
if ($[11] === Symbol.for("react.memo_cache_sentinel")) {
|
|
97
|
+
t4 = {
|
|
98
|
+
container: "NavList"
|
|
99
|
+
};
|
|
100
|
+
$[11] = t4;
|
|
101
|
+
} else {
|
|
102
|
+
t4 = $[11];
|
|
103
|
+
}
|
|
104
|
+
let t5;
|
|
105
|
+
if ($[12] !== childrenWithoutHeading) {
|
|
106
|
+
t5 = /*#__PURE__*/jsx(ActionListContainerContext.Provider, {
|
|
107
|
+
value: t4,
|
|
46
108
|
children: /*#__PURE__*/jsx(ActionList, {
|
|
47
|
-
children:
|
|
109
|
+
children: childrenWithoutHeading
|
|
48
110
|
})
|
|
49
111
|
});
|
|
50
|
-
$[
|
|
51
|
-
$[
|
|
112
|
+
$[12] = childrenWithoutHeading;
|
|
113
|
+
$[13] = t5;
|
|
52
114
|
} else {
|
|
53
|
-
|
|
115
|
+
t5 = $[13];
|
|
54
116
|
}
|
|
55
|
-
let
|
|
56
|
-
if ($[
|
|
57
|
-
|
|
117
|
+
let t6;
|
|
118
|
+
if ($[14] !== headingLevel || $[15] !== t3 || $[16] !== t5) {
|
|
119
|
+
t6 = /*#__PURE__*/jsxs(NavListHeadingLevelContext.Provider, {
|
|
120
|
+
value: headingLevel,
|
|
121
|
+
children: [t3, t5]
|
|
122
|
+
});
|
|
123
|
+
$[14] = headingLevel;
|
|
124
|
+
$[15] = t3;
|
|
125
|
+
$[16] = t5;
|
|
126
|
+
$[17] = t6;
|
|
127
|
+
} else {
|
|
128
|
+
t6 = $[17];
|
|
129
|
+
}
|
|
130
|
+
let t7;
|
|
131
|
+
if ($[18] !== ariaLabel || $[19] !== navLabelledby || $[20] !== props || $[21] !== ref || $[22] !== t6) {
|
|
132
|
+
t7 = /*#__PURE__*/jsx("nav", {
|
|
58
133
|
...props,
|
|
134
|
+
"aria-label": ariaLabel,
|
|
135
|
+
"aria-labelledby": navLabelledby,
|
|
59
136
|
ref: ref,
|
|
60
137
|
"data-component": "NavList",
|
|
61
|
-
children:
|
|
138
|
+
children: t6
|
|
62
139
|
});
|
|
63
|
-
$[
|
|
64
|
-
$[
|
|
65
|
-
$[
|
|
66
|
-
$[
|
|
140
|
+
$[18] = ariaLabel;
|
|
141
|
+
$[19] = navLabelledby;
|
|
142
|
+
$[20] = props;
|
|
143
|
+
$[21] = ref;
|
|
144
|
+
$[22] = t6;
|
|
145
|
+
$[23] = t7;
|
|
67
146
|
} else {
|
|
68
|
-
|
|
147
|
+
t7 = $[23];
|
|
69
148
|
}
|
|
70
|
-
return
|
|
149
|
+
return t7;
|
|
71
150
|
});
|
|
72
151
|
Root.displayName = 'NavList';
|
|
73
152
|
|
|
153
|
+
// ----------------------------------------------------------------------------
|
|
154
|
+
// NavList.Heading
|
|
155
|
+
|
|
156
|
+
const Heading = t0 => {
|
|
157
|
+
const $ = c(14);
|
|
158
|
+
let children;
|
|
159
|
+
let className;
|
|
160
|
+
let props;
|
|
161
|
+
let t1;
|
|
162
|
+
let t2;
|
|
163
|
+
if ($[0] !== t0) {
|
|
164
|
+
({
|
|
165
|
+
as: t1,
|
|
166
|
+
visuallyHidden: t2,
|
|
167
|
+
className,
|
|
168
|
+
children,
|
|
169
|
+
...props
|
|
170
|
+
} = t0);
|
|
171
|
+
$[0] = t0;
|
|
172
|
+
$[1] = children;
|
|
173
|
+
$[2] = className;
|
|
174
|
+
$[3] = props;
|
|
175
|
+
$[4] = t1;
|
|
176
|
+
$[5] = t2;
|
|
177
|
+
} else {
|
|
178
|
+
children = $[1];
|
|
179
|
+
className = $[2];
|
|
180
|
+
props = $[3];
|
|
181
|
+
t1 = $[4];
|
|
182
|
+
t2 = $[5];
|
|
183
|
+
}
|
|
184
|
+
const as = t1 === undefined ? "h2" : t1;
|
|
185
|
+
const visuallyHidden = t2 === undefined ? false : t2;
|
|
186
|
+
const t3 = visuallyHidden ? visuallyHiddenClasses.InternalVisuallyHidden : navListClasses.Heading;
|
|
187
|
+
let t4;
|
|
188
|
+
if ($[6] !== className || $[7] !== t3) {
|
|
189
|
+
t4 = clsx(t3, className);
|
|
190
|
+
$[6] = className;
|
|
191
|
+
$[7] = t3;
|
|
192
|
+
$[8] = t4;
|
|
193
|
+
} else {
|
|
194
|
+
t4 = $[8];
|
|
195
|
+
}
|
|
196
|
+
let t5;
|
|
197
|
+
if ($[9] !== as || $[10] !== children || $[11] !== props || $[12] !== t4) {
|
|
198
|
+
t5 = /*#__PURE__*/jsx(Heading$1, {
|
|
199
|
+
as: as,
|
|
200
|
+
variant: "small",
|
|
201
|
+
className: t4,
|
|
202
|
+
"data-component": "NavList.Heading",
|
|
203
|
+
...props,
|
|
204
|
+
children: children
|
|
205
|
+
});
|
|
206
|
+
$[9] = as;
|
|
207
|
+
$[10] = children;
|
|
208
|
+
$[11] = props;
|
|
209
|
+
$[12] = t4;
|
|
210
|
+
$[13] = t5;
|
|
211
|
+
} else {
|
|
212
|
+
t5 = $[13];
|
|
213
|
+
}
|
|
214
|
+
return t5;
|
|
215
|
+
};
|
|
216
|
+
Heading.displayName = 'NavList.Heading';
|
|
217
|
+
Heading.__SLOT__ = Symbol('NavList.Heading');
|
|
218
|
+
|
|
74
219
|
// ----------------------------------------------------------------------------
|
|
75
220
|
// NavList.Item
|
|
76
221
|
|
|
@@ -398,7 +543,7 @@ TrailingAction.displayName = 'NavList.TrailingAction';
|
|
|
398
543
|
// NavList.Group
|
|
399
544
|
|
|
400
545
|
const Group = t0 => {
|
|
401
|
-
const $ = c(
|
|
546
|
+
const $ = c(14);
|
|
402
547
|
let children;
|
|
403
548
|
let props;
|
|
404
549
|
let title;
|
|
@@ -417,41 +562,52 @@ const Group = t0 => {
|
|
|
417
562
|
props = $[2];
|
|
418
563
|
title = $[3];
|
|
419
564
|
}
|
|
565
|
+
const headingLevel = React.useContext(NavListHeadingLevelContext);
|
|
420
566
|
let t1;
|
|
421
|
-
if ($[4]
|
|
422
|
-
t1 =
|
|
423
|
-
$[4] =
|
|
567
|
+
if ($[4] !== headingLevel) {
|
|
568
|
+
t1 = headingLevel ? levelToHeadingTag(headingLevel + 1) : "h3";
|
|
569
|
+
$[4] = headingLevel;
|
|
570
|
+
$[5] = t1;
|
|
424
571
|
} else {
|
|
425
|
-
t1 = $[
|
|
572
|
+
t1 = $[5];
|
|
426
573
|
}
|
|
574
|
+
const groupHeadingAs = t1;
|
|
427
575
|
let t2;
|
|
428
|
-
if ($[
|
|
429
|
-
t2 =
|
|
430
|
-
as: "h3",
|
|
431
|
-
"data-component": "ActionList.GroupHeading",
|
|
432
|
-
children: title
|
|
433
|
-
}) : null;
|
|
434
|
-
$[5] = title;
|
|
576
|
+
if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
|
|
577
|
+
t2 = /*#__PURE__*/jsx(ActionList.Divider, {});
|
|
435
578
|
$[6] = t2;
|
|
436
579
|
} else {
|
|
437
580
|
t2 = $[6];
|
|
438
581
|
}
|
|
439
582
|
let t3;
|
|
440
|
-
if ($[7] !==
|
|
441
|
-
t3 = /*#__PURE__*/
|
|
442
|
-
|
|
583
|
+
if ($[7] !== groupHeadingAs || $[8] !== title) {
|
|
584
|
+
t3 = title ? /*#__PURE__*/jsx(ActionList.GroupHeading, {
|
|
585
|
+
as: groupHeadingAs,
|
|
586
|
+
"data-component": "ActionList.GroupHeading",
|
|
587
|
+
children: title
|
|
588
|
+
}) : null;
|
|
589
|
+
$[7] = groupHeadingAs;
|
|
590
|
+
$[8] = title;
|
|
591
|
+
$[9] = t3;
|
|
592
|
+
} else {
|
|
593
|
+
t3 = $[9];
|
|
594
|
+
}
|
|
595
|
+
let t4;
|
|
596
|
+
if ($[10] !== children || $[11] !== props || $[12] !== t3) {
|
|
597
|
+
t4 = /*#__PURE__*/jsxs(Fragment, {
|
|
598
|
+
children: [t2, /*#__PURE__*/jsxs(ActionList.Group, {
|
|
443
599
|
...props,
|
|
444
|
-
children: [
|
|
600
|
+
children: [t3, children]
|
|
445
601
|
})]
|
|
446
602
|
});
|
|
447
|
-
$[
|
|
448
|
-
$[
|
|
449
|
-
$[
|
|
450
|
-
$[
|
|
603
|
+
$[10] = children;
|
|
604
|
+
$[11] = props;
|
|
605
|
+
$[12] = t3;
|
|
606
|
+
$[13] = t4;
|
|
451
607
|
} else {
|
|
452
|
-
|
|
608
|
+
t4 = $[13];
|
|
453
609
|
}
|
|
454
|
-
return
|
|
610
|
+
return t4;
|
|
455
611
|
};
|
|
456
612
|
// ----------------------------------------------------------------------------
|
|
457
613
|
// NavList.GroupExpand
|
|
@@ -593,49 +749,60 @@ const GroupExpand = /*#__PURE__*/React.forwardRef((t0, forwardedRef) => {
|
|
|
593
749
|
* It was primarily added to allow links in group headings.
|
|
594
750
|
*/
|
|
595
751
|
const GroupHeading = t0 => {
|
|
596
|
-
const $ = c(
|
|
752
|
+
const $ = c(13);
|
|
753
|
+
let as;
|
|
597
754
|
let className;
|
|
598
755
|
let rest;
|
|
599
|
-
let t1;
|
|
600
756
|
if ($[0] !== t0) {
|
|
601
757
|
({
|
|
602
|
-
as
|
|
758
|
+
as,
|
|
603
759
|
className,
|
|
604
760
|
...rest
|
|
605
761
|
} = t0);
|
|
606
762
|
$[0] = t0;
|
|
607
|
-
$[1] =
|
|
608
|
-
$[2] =
|
|
609
|
-
$[3] =
|
|
763
|
+
$[1] = as;
|
|
764
|
+
$[2] = className;
|
|
765
|
+
$[3] = rest;
|
|
766
|
+
} else {
|
|
767
|
+
as = $[1];
|
|
768
|
+
className = $[2];
|
|
769
|
+
rest = $[3];
|
|
770
|
+
}
|
|
771
|
+
const headingLevel = React.useContext(NavListHeadingLevelContext);
|
|
772
|
+
let t1;
|
|
773
|
+
if ($[4] !== as || $[5] !== headingLevel) {
|
|
774
|
+
var _as;
|
|
775
|
+
t1 = (_as = as) !== null && _as !== void 0 ? _as : headingLevel ? levelToHeadingTag(headingLevel + 1) : "h3";
|
|
776
|
+
$[4] = as;
|
|
777
|
+
$[5] = headingLevel;
|
|
778
|
+
$[6] = t1;
|
|
610
779
|
} else {
|
|
611
|
-
|
|
612
|
-
rest = $[2];
|
|
613
|
-
t1 = $[3];
|
|
780
|
+
t1 = $[6];
|
|
614
781
|
}
|
|
615
|
-
const
|
|
782
|
+
const resolvedAs = t1;
|
|
616
783
|
let t2;
|
|
617
|
-
if ($[
|
|
784
|
+
if ($[7] !== className) {
|
|
618
785
|
t2 = clsx(navListClasses.GroupHeading, className);
|
|
619
|
-
$[
|
|
620
|
-
$[
|
|
786
|
+
$[7] = className;
|
|
787
|
+
$[8] = t2;
|
|
621
788
|
} else {
|
|
622
|
-
t2 = $[
|
|
789
|
+
t2 = $[8];
|
|
623
790
|
}
|
|
624
791
|
let t3;
|
|
625
|
-
if ($[
|
|
792
|
+
if ($[9] !== resolvedAs || $[10] !== rest || $[11] !== t2) {
|
|
626
793
|
t3 = /*#__PURE__*/jsx(ActionList.GroupHeading, {
|
|
627
|
-
as:
|
|
794
|
+
as: resolvedAs,
|
|
628
795
|
className: t2,
|
|
629
796
|
"data-component": "NavList.GroupHeading",
|
|
630
797
|
headingWrapElement: "li",
|
|
631
798
|
...rest
|
|
632
799
|
});
|
|
633
|
-
$[
|
|
634
|
-
$[
|
|
635
|
-
$[
|
|
636
|
-
$[
|
|
800
|
+
$[9] = resolvedAs;
|
|
801
|
+
$[10] = rest;
|
|
802
|
+
$[11] = t2;
|
|
803
|
+
$[12] = t3;
|
|
637
804
|
} else {
|
|
638
|
-
t3 = $[
|
|
805
|
+
t3 = $[12];
|
|
639
806
|
}
|
|
640
807
|
return t3;
|
|
641
808
|
};
|
|
@@ -645,6 +812,7 @@ const GroupHeading = t0 => {
|
|
|
645
812
|
|
|
646
813
|
const NavList = Object.assign(Root, {
|
|
647
814
|
Description: ActionList.Description,
|
|
815
|
+
Heading,
|
|
648
816
|
Item,
|
|
649
817
|
SubNav,
|
|
650
818
|
LeadingVisual,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import './NavList-
|
|
1
|
+
import './NavList-b50d982b.css';
|
|
2
2
|
|
|
3
|
-
var navListClasses = {"GroupHeading":"prc-NavList-GroupHeading-mN50z"};
|
|
3
|
+
var navListClasses = {"Heading":"prc-NavList-Heading--JQMj","GroupHeading":"prc-NavList-GroupHeading-mN50z"};
|
|
4
4
|
|
|
5
5
|
export { navListClasses as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../src/Radio/Radio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAqB,mBAAmB,EAAe,MAAM,OAAO,CAAA;AAChF,OAAO,KAAmB,MAAM,OAAO,CAAA;AAKvC,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,gBAAgB,CAAA;AAElD,MAAM,MAAM,UAAU,GAAG;IACvB;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;OAEG;IACH,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAA;IACvC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,GAAG,mBAAmB,CAAC,gBAAgB,CAAC,CAAA;AAEzC;;GAEG;AACH,QAAA,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../src/Radio/Radio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAqB,mBAAmB,EAAe,MAAM,OAAO,CAAA;AAChF,OAAO,KAAmB,MAAM,OAAO,CAAA;AAKvC,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,gBAAgB,CAAA;AAElD,MAAM,MAAM,UAAU,GAAG;IACvB;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;OAEG;IACH,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAA;IACvC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,GAAG,mBAAmB,CAAC,gBAAgB,CAAC,CAAA;AAEzC;;GAEG;AACH,QAAA,MAAM,KAAK,kGA+CV,CAAA;wBAKuB,cAAc,CAAC,OAAO,KAAK,CAAC;AAApD,wBAAoD"}
|
package/dist/Radio/Radio.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollableRegion.d.ts","sourceRoot":"","sources":["../../src/ScrollableRegion/ScrollableRegion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,KAAK,QAAQ,GACT;IACE,YAAY,EAAE,MAAM,CAAA;IACpB,iBAAiB,CAAC,EAAE,KAAK,CAAA;CAC1B,GACD;IACE,YAAY,CAAC,EAAE,KAAK,CAAA;IACpB,iBAAiB,EAAE,MAAM,CAAA;CAC1B,CAAA;AAEL,KAAK,qBAAqB,GAAG,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAA;AAE7E,iBAAS,gBAAgB,CAAC,EACxB,YAAY,EAAE,KAAK,EACnB,iBAAiB,EAAE,UAAU,EAC7B,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACR,EAAE,qBAAqB,
|
|
1
|
+
{"version":3,"file":"ScrollableRegion.d.ts","sourceRoot":"","sources":["../../src/ScrollableRegion/ScrollableRegion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,KAAK,QAAQ,GACT;IACE,YAAY,EAAE,MAAM,CAAA;IACpB,iBAAiB,CAAC,EAAE,KAAK,CAAA;CAC1B,GACD;IACE,YAAY,CAAC,EAAE,KAAK,CAAA;IACpB,iBAAiB,EAAE,MAAM,CAAA;CAC1B,CAAA;AAEL,KAAK,qBAAqB,GAAG,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAA;AAE7E,iBAAS,gBAAgB,CAAC,EACxB,YAAY,EAAE,KAAK,EACnB,iBAAiB,EAAE,UAAU,EAC7B,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACR,EAAE,qBAAqB,qBAuBvB;AAED,OAAO,EAAC,gBAAgB,EAAC,CAAA;AACzB,YAAY,EAAC,qBAAqB,EAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SegmentedControl.d.ts","sourceRoot":"","sources":["../../src/SegmentedControl/SegmentedControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyB,MAAM,OAAO,CAAA;AAC7C,OAAO,KAAK,EAAC,2BAA2B,EAAC,MAAM,0BAA0B,CAAA;AAEzE,OAAO,KAAK,EAAC,+BAA+B,EAAC,MAAM,8BAA8B,CAAA;AAIjF,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,6BAA6B,CAAA;AAEhE,OAAO,KAAK,EAAC,0BAA0B,EAAC,MAAM,kCAAkC,CAAA;AAMhF,MAAM,MAAM,qBAAqB,GAAG;IAClC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,wDAAwD;IACxD,SAAS,CAAC,EAAE,OAAO,GAAG,eAAe,CAAC,OAAO,CAAC,CAAA;IAC9C,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,CAAC,aAAa,EAAE,MAAM,KAAK,IAAI,CAAA;IAC1C,8BAA8B;IAC9B,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAA;IACzB,6FAA6F;IAC7F,OAAO,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC,MAAM,CAAC,0BAA0B,EAAE,YAAY,GAAG,UAAU,GAAG,SAAS,CAAC,CAAC,CAAA;IACxG,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;
|
|
1
|
+
{"version":3,"file":"SegmentedControl.d.ts","sourceRoot":"","sources":["../../src/SegmentedControl/SegmentedControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyB,MAAM,OAAO,C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A;IACnC,sCAAsC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,GAAG,oBAAoB,CAAC,iBAAiB,GAAG,aAAa,CAAC,CAAA;AAE3D,eAAO,MAAM,0BAA0B,EAAE,gBAAgB,CAAC,KAAK,CAAC,iBAAiB,CAAC,+BAA+B,CAAC,CAqCjH,CAAA;AAID,eAAe,0BAA0B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../src/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,yCAAyC,CAAA;AAE/E,OAAO,KAAK,EAAC,mBAAmB,IAAI,8BAA8B,EAAC,MAAM,sBAAsB,CAAA;AAI/F,MAAM,MAAM,WAAW,GAAG,IAAI,CAC5B,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC,kBAAkB,EAAE,SAAS,GAAG,UAAU,CAAC,EAC/F,UAAU,GAAG,kBAAkB,GAAG,mBAAmB,GAAG,IAAI,CAC7D,GAAG;IACF,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAA;;;;
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../src/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,yCAAyC,CAAA;AAE/E,OAAO,KAAK,EAAC,mBAAmB,IAAI,8BAA8B,EAAC,MAAM,sBAAsB,CAAA;AAI/F,MAAM,MAAM,WAAW,GAAG,IAAI,CAC5B,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC,kBAAkB,EAAE,SAAS,GAAG,UAAU,CAAC,EAC/F,UAAU,GAAG,kBAAkB,GAAG,mBAAmB,GAAG,IAAI,CAC7D,GAAG;IACF,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAA;;;;eAqE2F,MAAM;;;;AAQlG,wBAIE"}
|
package/dist/Select/Select.js
CHANGED
|
@@ -137,6 +137,7 @@ const Select = /*#__PURE__*/React.forwardRef((t0, ref) => {
|
|
|
137
137
|
value: "",
|
|
138
138
|
disabled: required,
|
|
139
139
|
hidden: required,
|
|
140
|
+
"data-component": "Select.Option",
|
|
140
141
|
children: placeholder
|
|
141
142
|
});
|
|
142
143
|
$[15] = placeholder;
|
|
@@ -156,6 +157,7 @@ const Select = /*#__PURE__*/React.forwardRef((t0, ref) => {
|
|
|
156
157
|
className: t4,
|
|
157
158
|
"data-hasplaceholder": t5,
|
|
158
159
|
defaultValue: t6,
|
|
160
|
+
"data-component": "Select",
|
|
159
161
|
children: [t7, children]
|
|
160
162
|
});
|
|
161
163
|
$[18] = children;
|
|
@@ -208,7 +210,8 @@ const Option = props => {
|
|
|
208
210
|
let t0;
|
|
209
211
|
if ($[0] !== props) {
|
|
210
212
|
t0 = /*#__PURE__*/jsx("option", {
|
|
211
|
-
...props
|
|
213
|
+
...props,
|
|
214
|
+
"data-component": "Select.Option"
|
|
212
215
|
});
|
|
213
216
|
$[0] = props;
|
|
214
217
|
$[1] = t0;
|
|
@@ -222,7 +225,8 @@ const OptGroup = props => {
|
|
|
222
225
|
let t0;
|
|
223
226
|
if ($[0] !== props) {
|
|
224
227
|
t0 = /*#__PURE__*/jsx("optgroup", {
|
|
225
|
-
...props
|
|
228
|
+
...props,
|
|
229
|
+
"data-component": "Select.OptGroup"
|
|
226
230
|
});
|
|
227
231
|
$[0] = props;
|
|
228
232
|
$[1] = t0;
|
|
@@ -63,8 +63,8 @@ type SelectPanelVariantProps = {
|
|
|
63
63
|
variant: 'modal';
|
|
64
64
|
onCancel: () => void;
|
|
65
65
|
};
|
|
66
|
-
export type SelectPanelProps = SelectPanelBaseProps & Omit<FilteredActionListProps, 'selectionVariant' | 'variant' | 'message'> & Pick<AnchoredOverlayProps, 'open' | 'height' | 'width' | 'align' | 'displayInViewport'> & AnchoredOverlayWrapperAnchorProps & (SelectPanelSingleSelection | SelectPanelMultiSelection) & SelectPanelVariantProps;
|
|
67
|
-
declare function Panel({ open, onOpenChange, renderAnchor, anchorRef: externalAnchorRef, placeholder, placeholderText, inputLabel, selected, title, subtitle, onSelectedChange, filterValue: externalFilterValue, onFilterChange: externalOnFilterChange, items, footer, textInputProps, overlayProps, loading, initialLoadingType, className, height, width, id, message, notice, onCancel, variant, secondaryAction, showSelectedOptionsFirst, disableFullscreenOnNarrow, align, showSelectAll, focusPrependedElements, virtualized, displayInViewport, ...listProps }: SelectPanelProps): JSX.Element;
|
|
66
|
+
export type SelectPanelProps = SelectPanelBaseProps & Omit<FilteredActionListProps, 'selectionVariant' | 'variant' | 'message'> & Pick<AnchoredOverlayProps, 'open' | 'height' | 'width' | 'align' | 'displayInViewport' | 'cssAnchorPositioningSettings'> & AnchoredOverlayWrapperAnchorProps & (SelectPanelSingleSelection | SelectPanelMultiSelection) & SelectPanelVariantProps;
|
|
67
|
+
declare function Panel({ open, onOpenChange, renderAnchor, anchorRef: externalAnchorRef, placeholder, placeholderText, inputLabel, selected, title, subtitle, onSelectedChange, filterValue: externalFilterValue, onFilterChange: externalOnFilterChange, items, footer, textInputProps, overlayProps, loading, initialLoadingType, className, height, width, id, message, notice, onCancel, variant, secondaryAction, showSelectedOptionsFirst, disableFullscreenOnNarrow, align, showSelectAll, focusPrependedElements, virtualized, displayInViewport, cssAnchorPositioningSettings, ...listProps }: SelectPanelProps): JSX.Element;
|
|
68
68
|
declare const SecondaryButton: React.FC<ButtonProps>;
|
|
69
69
|
declare const SecondaryLink: React.FC<LinkButtonProps & ButtonProps>;
|
|
70
70
|
export declare const SelectPanel: typeof Panel & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectPanel.d.ts","sourceRoot":"","sources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CAAC,EAAE,CAAC,WAAW,CAM1C,CAAA;AAED,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,GAAG,WAAW,CAM1D,CAAA;AAED,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;CAKtB,CAAA"}
|
|
@@ -115,6 +115,7 @@ function Panel({
|
|
|
115
115
|
focusPrependedElements,
|
|
116
116
|
virtualized,
|
|
117
117
|
displayInViewport,
|
|
118
|
+
cssAnchorPositioningSettings,
|
|
118
119
|
...listProps
|
|
119
120
|
}) {
|
|
120
121
|
var _listProps$groupMetad;
|
|
@@ -708,9 +709,11 @@ function Panel({
|
|
|
708
709
|
closeButtonProps: closeButtonProps,
|
|
709
710
|
displayInViewport: displayInViewport
|
|
710
711
|
// Modal variant is positioned manually so native CSS anchor positioning must not be used
|
|
712
|
+
// Other cssAnchorPositioningSettings (e.g. fallbackStrategy) may be passed in and are forwarded here
|
|
711
713
|
,
|
|
712
714
|
cssAnchorPositioningSettings: {
|
|
713
|
-
|
|
715
|
+
...cssAnchorPositioningSettings,
|
|
716
|
+
disable: variant === 'modal' || (cssAnchorPositioningSettings === null || cssAnchorPositioningSettings === void 0 ? void 0 : cssAnchorPositioningSettings.disable)
|
|
714
717
|
},
|
|
715
718
|
children: /*#__PURE__*/jsxs("div", {
|
|
716
719
|
className: classes.Wrapper,
|
package/dist/SideNav.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SideNav.d.ts","sourceRoot":"","sources":["../src/SideNav.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,EAAE,EAAC,MAAM,SAAS,CAAA;AAC/B,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,eAAe,CAAA;AACjD,OAAa,EAAC,KAAK,SAAS,EAAC,MAAM,QAAQ,CAAA;AAC3C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAC,KAAK,iBAAiB,EAAC,MAAM,O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,CAAA;IAClB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,iBAAS,OAAO,CAAC,EACf,EAAE,EAAE,SAAiB,EACrB,OAAkB,EAClB,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,YAAY,EAAE,SAAS,GACxB,EAAE,gBAAgB,qBAkBlB;AAED,KAAK,sBAAsB,GAAG,iBAAiB,CAAC;IAC9C,EAAE,CAAC,EAAE,EAAE,CAAA;IACP,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAA;CAC5B,CAAC,GACA,SAAS,CAAA;AAEX,QAAA,MAAM,WAAW;8DAA2D,sBAAsB;;CAejG,CAAA;AAID,MAAM,MAAM,YAAY,GAAG,cAAc,CAAC,OAAO,OAAO,CAAC,CAAA;AACzD,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,OAAO,WAAW,CAAC,CAAA;AAEjE,4EAA4E;;;kEAtBA,sBAAsB;;;;AAuBlG,wBAA0D"}
|
package/dist/SideNav.js
CHANGED
|
@@ -18,6 +18,7 @@ function SideNav({
|
|
|
18
18
|
return /*#__PURE__*/jsx(Component, {
|
|
19
19
|
className: newClassName,
|
|
20
20
|
"aria-label": ariaLabel,
|
|
21
|
+
"data-component": "SideNav",
|
|
21
22
|
children: children
|
|
22
23
|
});
|
|
23
24
|
}
|
|
@@ -40,6 +41,7 @@ const SideNavLink = ({
|
|
|
40
41
|
"aria-current": isReactRouter || selected ? 'page' : undefined,
|
|
41
42
|
className: newClassName,
|
|
42
43
|
...rest,
|
|
44
|
+
"data-component": "SideNav.Link",
|
|
43
45
|
children: children
|
|
44
46
|
});
|
|
45
47
|
};
|
|
@@ -9,6 +9,7 @@ export type SkeletonBoxProps = {
|
|
|
9
9
|
className?: string;
|
|
10
10
|
/** Controls whether and how long to delay rendering the SkeletonBox. Set to 'short' to delay by 300ms, 'long' to delay by 1000ms, or provide a custom number of milliseconds.*/
|
|
11
11
|
delay?: 'short' | 'long' | number;
|
|
12
|
+
'data-component'?: string;
|
|
12
13
|
} & HTMLProps<HTMLElement>;
|
|
13
14
|
export declare const SkeletonBox: React.ForwardRefExoticComponent<Omit<SkeletonBoxProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
14
15
|
//# sourceMappingURL=SkeletonBox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SkeletonBox.d.ts","sourceRoot":"","sources":["../../src/Skeleton/SkeletonBox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAA;AAChD,OAAO,EAAC,KAAK,aAAa,EAAE,KAAK,SAAS,EAAC,MAAM,OAAO,CAAA;AAIxD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,0EAA0E;IAC1E,MAAM,CAAC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAA;IAChC,wEAAwE;IACxE,KAAK,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAA;IAC9B,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,gLAAgL;IAChL,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"SkeletonBox.d.ts","sourceRoot":"","sources":["../../src/Skeleton/SkeletonBox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAA;AAChD,OAAO,EAAC,KAAK,aAAa,EAAE,KAAK,SAAS,EAAC,MAAM,OAAO,CAAA;AAIxD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,0EAA0E;IAC1E,MAAM,CAAC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAA;IAChC,wEAAwE;IACxE,KAAK,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAA;IAC9B,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,gLAAgL;IAChL,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAA;IACjC,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B,GAAG,SAAS,CAAC,WAAW,CAAC,CAAA;AAE1B,eAAO,MAAM,WAAW,mGAgCtB,CAAA"}
|
|
@@ -5,12 +5,13 @@ import classes from './SkeletonBox.module.css.js';
|
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
7
7
|
const SkeletonBox = /*#__PURE__*/React.forwardRef(function SkeletonBox(t0, ref) {
|
|
8
|
-
const $ = c(
|
|
8
|
+
const $ = c(25);
|
|
9
9
|
let className;
|
|
10
10
|
let delay;
|
|
11
11
|
let height;
|
|
12
12
|
let props;
|
|
13
13
|
let style;
|
|
14
|
+
let t1;
|
|
14
15
|
let width;
|
|
15
16
|
if ($[0] !== t0) {
|
|
16
17
|
({
|
|
@@ -19,6 +20,7 @@ const SkeletonBox = /*#__PURE__*/React.forwardRef(function SkeletonBox(t0, ref)
|
|
|
19
20
|
className,
|
|
20
21
|
style,
|
|
21
22
|
delay,
|
|
23
|
+
"data-component": t1,
|
|
22
24
|
...props
|
|
23
25
|
} = t0);
|
|
24
26
|
$[0] = t0;
|
|
@@ -27,20 +29,23 @@ const SkeletonBox = /*#__PURE__*/React.forwardRef(function SkeletonBox(t0, ref)
|
|
|
27
29
|
$[3] = height;
|
|
28
30
|
$[4] = props;
|
|
29
31
|
$[5] = style;
|
|
30
|
-
$[6] =
|
|
32
|
+
$[6] = t1;
|
|
33
|
+
$[7] = width;
|
|
31
34
|
} else {
|
|
32
35
|
className = $[1];
|
|
33
36
|
delay = $[2];
|
|
34
37
|
height = $[3];
|
|
35
38
|
props = $[4];
|
|
36
39
|
style = $[5];
|
|
37
|
-
|
|
40
|
+
t1 = $[6];
|
|
41
|
+
width = $[7];
|
|
38
42
|
}
|
|
43
|
+
const dataComponent = t1 === undefined ? "SkeletonBox" : t1;
|
|
39
44
|
const [isVisible, setIsVisible] = useState(!delay);
|
|
40
|
-
let t1;
|
|
41
45
|
let t2;
|
|
42
|
-
|
|
43
|
-
|
|
46
|
+
let t3;
|
|
47
|
+
if ($[8] !== delay) {
|
|
48
|
+
t2 = () => {
|
|
44
49
|
if (delay) {
|
|
45
50
|
const timeoutId = setTimeout(() => {
|
|
46
51
|
setIsVisible(true);
|
|
@@ -48,66 +53,68 @@ const SkeletonBox = /*#__PURE__*/React.forwardRef(function SkeletonBox(t0, ref)
|
|
|
48
53
|
return () => clearTimeout(timeoutId);
|
|
49
54
|
}
|
|
50
55
|
};
|
|
51
|
-
|
|
52
|
-
$[
|
|
53
|
-
$[8] = t1;
|
|
56
|
+
t3 = [delay];
|
|
57
|
+
$[8] = delay;
|
|
54
58
|
$[9] = t2;
|
|
59
|
+
$[10] = t3;
|
|
55
60
|
} else {
|
|
56
|
-
t1 = $[8];
|
|
57
61
|
t2 = $[9];
|
|
62
|
+
t3 = $[10];
|
|
58
63
|
}
|
|
59
|
-
useEffect(
|
|
64
|
+
useEffect(t2, t3);
|
|
60
65
|
if (!isVisible) {
|
|
61
66
|
return null;
|
|
62
67
|
}
|
|
63
|
-
const
|
|
64
|
-
let t4;
|
|
65
|
-
if ($[10] !== className) {
|
|
66
|
-
t4 = clsx(className, classes.SkeletonBox);
|
|
67
|
-
$[10] = className;
|
|
68
|
-
$[11] = t4;
|
|
69
|
-
} else {
|
|
70
|
-
t4 = $[11];
|
|
71
|
-
}
|
|
68
|
+
const t4 = ref;
|
|
72
69
|
let t5;
|
|
73
|
-
if ($[
|
|
74
|
-
t5 =
|
|
75
|
-
$[
|
|
76
|
-
$[
|
|
70
|
+
if ($[11] !== className) {
|
|
71
|
+
t5 = clsx(className, classes.SkeletonBox);
|
|
72
|
+
$[11] = className;
|
|
73
|
+
$[12] = t5;
|
|
77
74
|
} else {
|
|
78
|
-
t5 = $[
|
|
75
|
+
t5 = $[12];
|
|
79
76
|
}
|
|
80
77
|
let t6;
|
|
81
|
-
if ($[
|
|
82
|
-
t6 = {
|
|
78
|
+
if ($[13] !== style) {
|
|
79
|
+
t6 = style || {};
|
|
80
|
+
$[13] = style;
|
|
81
|
+
$[14] = t6;
|
|
82
|
+
} else {
|
|
83
|
+
t6 = $[14];
|
|
84
|
+
}
|
|
85
|
+
let t7;
|
|
86
|
+
if ($[15] !== height || $[16] !== t6 || $[17] !== width) {
|
|
87
|
+
t7 = {
|
|
83
88
|
height,
|
|
84
89
|
width,
|
|
85
|
-
...
|
|
90
|
+
...t6
|
|
86
91
|
};
|
|
87
|
-
$[
|
|
88
|
-
$[
|
|
89
|
-
$[
|
|
90
|
-
$[
|
|
92
|
+
$[15] = height;
|
|
93
|
+
$[16] = t6;
|
|
94
|
+
$[17] = width;
|
|
95
|
+
$[18] = t7;
|
|
91
96
|
} else {
|
|
92
|
-
|
|
97
|
+
t7 = $[18];
|
|
93
98
|
}
|
|
94
|
-
let
|
|
95
|
-
if ($[
|
|
96
|
-
|
|
97
|
-
ref:
|
|
98
|
-
className:
|
|
99
|
-
style:
|
|
100
|
-
...props
|
|
99
|
+
let t8;
|
|
100
|
+
if ($[19] !== dataComponent || $[20] !== props || $[21] !== t4 || $[22] !== t5 || $[23] !== t7) {
|
|
101
|
+
t8 = /*#__PURE__*/jsx("div", {
|
|
102
|
+
ref: t4,
|
|
103
|
+
className: t5,
|
|
104
|
+
style: t7,
|
|
105
|
+
...props,
|
|
106
|
+
"data-component": dataComponent
|
|
101
107
|
});
|
|
102
|
-
$[
|
|
103
|
-
$[
|
|
104
|
-
$[
|
|
105
|
-
$[
|
|
106
|
-
$[
|
|
108
|
+
$[19] = dataComponent;
|
|
109
|
+
$[20] = props;
|
|
110
|
+
$[21] = t4;
|
|
111
|
+
$[22] = t5;
|
|
112
|
+
$[23] = t7;
|
|
113
|
+
$[24] = t8;
|
|
107
114
|
} else {
|
|
108
|
-
|
|
115
|
+
t8 = $[24];
|
|
109
116
|
}
|
|
110
|
-
return
|
|
117
|
+
return t8;
|
|
111
118
|
});
|
|
112
119
|
|
|
113
120
|
export { SkeletonBox };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SkeletonText.d.ts","sourceRoot":"","sources":["../../src/SkeletonText/SkeletonText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAC,KAAK,SAAS,EAAC,MAAM,OAAO,CAAA;AAKpC,UAAU,iBAAkB,SAAQ,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IACtE,uDAAuD;IACvD,IAAI,CAAC,EAAE,SAAS,GAAG,YAAY,GAAG,aAAa,GAAG,YAAY,GAAG,WAAW,GAAG,YAAY,GAAG,WAAW,GAAG,UAAU,CAAA;IACtH,kDAAkD;IAClD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,6GAA6G;IAC7G,QAAQ,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,CAAA;IAC1C,oCAAoC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,iBAAS,YAAY,CAAC,EAAC,KAAS,EAAE,QAAQ,EAAE,IAAmB,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,IAAI,EAAC,EAAE,iBAAiB,
|
|
1
|
+
{"version":3,"file":"SkeletonText.d.ts","sourceRoot":"","sources":["../../src/SkeletonText/SkeletonText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAC,KAAK,SAAS,EAAC,MAAM,OAAO,CAAA;AAKpC,UAAU,iBAAkB,SAAQ,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IACtE,uDAAuD;IACvD,IAAI,CAAC,EAAE,SAAS,GAAG,YAAY,GAAG,aAAa,GAAG,YAAY,GAAG,WAAW,GAAG,YAAY,GAAG,WAAW,GAAG,UAAU,CAAA;IACtH,kDAAkD;IAClD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,6GAA6G;IAC7G,QAAQ,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,CAAA;IAC1C,oCAAoC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,iBAAS,YAAY,CAAC,EAAC,KAAS,EAAE,QAAQ,EAAE,IAAmB,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,IAAI,EAAC,EAAE,iBAAiB,qBAuC7G;AAED,OAAO,EAAC,YAAY,EAAC,CAAA;AACrB,YAAY,EAAC,iBAAiB,EAAC,CAAA"}
|
|
@@ -62,12 +62,12 @@ function SkeletonText(t0) {
|
|
|
62
62
|
let t5;
|
|
63
63
|
if ($[12] !== rest || $[13] !== size || $[14] !== t3 || $[15] !== t4) {
|
|
64
64
|
t5 = /*#__PURE__*/jsx(SkeletonBox, {
|
|
65
|
-
"data-component": "SkeletonText",
|
|
66
65
|
"data-text-skeleton-size": size,
|
|
67
66
|
width: "100%",
|
|
68
67
|
className: t3,
|
|
69
68
|
style: t4,
|
|
70
|
-
...rest
|
|
69
|
+
...rest,
|
|
70
|
+
"data-component": "SkeletonText"
|
|
71
71
|
});
|
|
72
72
|
$[12] = rest;
|
|
73
73
|
$[13] = size;
|
package/dist/Spinner/Spinner.js
CHANGED
|
@@ -4169,6 +4169,46 @@
|
|
|
4169
4169
|
}
|
|
4170
4170
|
],
|
|
4171
4171
|
"subcomponents": [
|
|
4172
|
+
{
|
|
4173
|
+
"name": "NavList.Heading",
|
|
4174
|
+
"props": [
|
|
4175
|
+
{
|
|
4176
|
+
"name": "as",
|
|
4177
|
+
"type": "'h2' | 'h3'",
|
|
4178
|
+
"defaultValue": "\"h2\"",
|
|
4179
|
+
"required": false,
|
|
4180
|
+
"description": "Semantic heading level for the NavList. Also sets the default level for child group headings, which render one level deeper (h3 under an h2, h4 under an h3). Constrained to h2/h3 so the hierarchy stays shallow."
|
|
4181
|
+
},
|
|
4182
|
+
{
|
|
4183
|
+
"name": "visuallyHidden",
|
|
4184
|
+
"type": "boolean",
|
|
4185
|
+
"defaultValue": "false",
|
|
4186
|
+
"required": false,
|
|
4187
|
+
"description": "Visually hide the heading while keeping it available to assistive technology and as the accessible name for the `nav` landmark."
|
|
4188
|
+
},
|
|
4189
|
+
{
|
|
4190
|
+
"name": "children",
|
|
4191
|
+
"type": "ReactNode",
|
|
4192
|
+
"required": true,
|
|
4193
|
+
"description": "The text rendered as the NavList's heading."
|
|
4194
|
+
},
|
|
4195
|
+
{
|
|
4196
|
+
"name": "id",
|
|
4197
|
+
"type": "string",
|
|
4198
|
+
"description": "Custom id for the heading element. When set, it is used as the `aria-labelledby` target that names the `nav` landmark; otherwise a generated id is used."
|
|
4199
|
+
},
|
|
4200
|
+
{
|
|
4201
|
+
"name": "className",
|
|
4202
|
+
"type": "string",
|
|
4203
|
+
"description": "Custom CSS class name."
|
|
4204
|
+
},
|
|
4205
|
+
{
|
|
4206
|
+
"name": "style",
|
|
4207
|
+
"type": "React.CSSProperties",
|
|
4208
|
+
"description": "Custom CSS styles."
|
|
4209
|
+
}
|
|
4210
|
+
]
|
|
4211
|
+
},
|
|
4172
4212
|
{
|
|
4173
4213
|
"name": "NavList.Item",
|
|
4174
4214
|
"props": [
|
|
@@ -4315,10 +4355,9 @@
|
|
|
4315
4355
|
},
|
|
4316
4356
|
{
|
|
4317
4357
|
"name": "as",
|
|
4318
|
-
"description": "Heading level for the group heading. Sets the semantic heading tag.",
|
|
4358
|
+
"description": "Heading level for the group heading. Sets the semantic heading tag. Defaults to one level below a `NavList.Heading` (h3 under an h2, h4 under an h3), or `h3` when there is no `NavList.Heading`.",
|
|
4319
4359
|
"required": false,
|
|
4320
|
-
"type": "'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'"
|
|
4321
|
-
"defaultValue": "\"h3\""
|
|
4360
|
+
"type": "'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'"
|
|
4322
4361
|
}
|
|
4323
4362
|
]
|
|
4324
4363
|
},
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primer/react",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "38.
|
|
4
|
+
"version": "38.30.0-rc.5c4b3e004",
|
|
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",
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
"@types/lodash.isempty": "4.4.9",
|
|
132
132
|
"@types/lodash.isobject": "3.0.9",
|
|
133
133
|
"@types/lodash.keyby": "4.6.9",
|
|
134
|
-
"@types/node": "
|
|
134
|
+
"@types/node": "26.0.0",
|
|
135
135
|
"@types/react": "18.3.11",
|
|
136
136
|
"@types/react-dom": "18.3.1",
|
|
137
137
|
"@types/react-is": "18.3.1",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/NavList/NavList.module.css.js"],"names":[],"mappings":"AAAA,kCACE,oCAA6B,CAC7B,uBACF,CAEA,wCACE,iCAA0B,CAA1B,yBACF","file":"NavList-5dc067e3.css","sourcesContent":[".GroupHeading > a {\n color: var(--fgColor-default);\n text-decoration: inherit;\n}\n\n.GroupHeading > a:hover {\n text-decoration: underline;\n}\n"]}
|