@primer/react 0.0.0-20260429021213 → 0.0.0-20260429022110
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
CHANGED
|
@@ -119,6 +119,10 @@ export declare const ActionList: (<As extends React.ElementType = "ul">(props: (
|
|
|
119
119
|
TrailingVisual: import("../utils/types").FCWithSlotMarker<import("react").PropsWithChildren<import("./Visuals").VisualProps>>;
|
|
120
120
|
/** Heading for an `ActionList`. */
|
|
121
121
|
Heading: import("../utils/polymorphic").ForwardRefComponent<"h1" | "h2" | "h3" | "h4" | "h5" | "h6", import("./Heading").ActionListHeadingProps>;
|
|
122
|
+
/** Context for `ActionList.Group` to propagate selectionVariant and other group-level props. */
|
|
123
|
+
GroupContext: import("react").Context<Pick<import("./Group").ActionListGroupProps, "selectionVariant"> & {
|
|
124
|
+
groupHeadingId: string | undefined;
|
|
125
|
+
}>;
|
|
122
126
|
/** Heading for `ActionList.Group` */
|
|
123
127
|
GroupHeading: import("../utils/types").FCWithSlotMarker<import("react").PropsWithChildren<import("./Group").ActionListGroupHeadingProps>>;
|
|
124
128
|
/** Secondary action */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ActionList/index.ts"],"names":[],"mappings":"AAUA,YAAY,EAAC,eAAe,EAAC,MAAM,UAAU,CAAA;AAC7C,YAAY,EAAC,oBAAoB,EAAE,2BAA2B,EAAC,MAAM,SAAS,CAAA;AAC9E,YAAY,EAAC,mBAAmB,EAAC,MAAM,UAAU,CAAA;AACjD,YAAY,EAAC,uBAAuB,EAAC,MAAM,YAAY,CAAA;AACvD,YAAY,EAAC,sBAAsB,EAAC,MAAM,WAAW,CAAA;AACrD,YAAY,EAAC,0BAA0B,EAAC,MAAM,eAAe,CAAA;AAC7D,YAAY,EAAC,4BAA4B,EAAE,6BAA6B,EAAC,MAAM,WAAW,CAAA;AAC1F,YAAY,EAAC,sBA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vD,sDAAsD;;IAGtD,mCAAmC;;IAGnC,gGAAgG;;;;IAGhG,qCAAqC;;IAGrC,uBAAuB;;CAEvB,CAAA"}
|
package/dist/ActionList/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { List } from './List.js';
|
|
2
|
-
import { GroupHeading, Group } from './Group.js';
|
|
2
|
+
import { GroupHeading, GroupContext, Group } from './Group.js';
|
|
3
3
|
import { Item } from './Item.js';
|
|
4
4
|
import { LinkItem } from './LinkItem.js';
|
|
5
5
|
import { Divider } from './Divider.js';
|
|
@@ -28,6 +28,8 @@ const ActionList = Object.assign(List, {
|
|
|
28
28
|
TrailingVisual,
|
|
29
29
|
/** Heading for an `ActionList`. */
|
|
30
30
|
Heading,
|
|
31
|
+
/** Context for `ActionList.Group` to propagate selectionVariant and other group-level props. */
|
|
32
|
+
GroupContext,
|
|
31
33
|
/** Heading for `ActionList.Group` */
|
|
32
34
|
GroupHeading,
|
|
33
35
|
/** Secondary action */
|
package/package.json
CHANGED