@primer/styled-react 0.0.0-20260404170138 → 0.0.0-20260406164544
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/components/ActionMenu.d.ts +13 -0
- package/dist/components/ActionMenu.d.ts.map +1 -0
- package/dist/components/ActionMenu.js +19 -0
- package/dist/components/CounterLabel.d.ts +11 -0
- package/dist/components/CounterLabel.d.ts.map +1 -0
- package/dist/components/CounterLabel.js +14 -0
- package/dist/components/Overlay.d.ts +8 -0
- package/dist/components/Overlay.d.ts.map +1 -0
- package/dist/components/Overlay.js +12 -0
- package/dist/components.json +4 -0
- package/dist/index.d.ts +23 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/package.json +3 -3
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ActionMenu as PrimerActionMenu, type SlotMarker } from '@primer/react';
|
|
2
|
+
import { type SxProp } from '../sx';
|
|
3
|
+
import type { ComponentProps } from 'react';
|
|
4
|
+
type ActionMenuOverlayProps = ComponentProps<typeof PrimerActionMenu.Overlay> & SxProp;
|
|
5
|
+
declare const ActionMenuOverlay: React.ComponentType<ActionMenuOverlayProps> & SlotMarker;
|
|
6
|
+
export declare const ActionMenu: typeof PrimerActionMenu & {
|
|
7
|
+
Button: typeof PrimerActionMenu.Button;
|
|
8
|
+
Anchor: typeof PrimerActionMenu.Anchor;
|
|
9
|
+
Overlay: typeof ActionMenuOverlay;
|
|
10
|
+
Divider: typeof PrimerActionMenu.Divider;
|
|
11
|
+
};
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=ActionMenu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionMenu.d.ts","sourceRoot":"","sources":["../../src/components/ActionMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,IAAI,gBAAgB,EAAE,KAAK,UAAU,EAAC,MAAM,eAAe,CAAA;AAC7E,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AAErC,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,OAAO,CAAA;AAEzC,KAAK,sBAAsB,GAAG,cAAc,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,GAAG,MAAM,CAAA;AAEtF,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,aAAa,CAAC,sBAAsB,CAAC,GAAG,UAMtE,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,OAAO,gBAAgB,GAAG;IACjD,MAAM,EAAE,OAAO,gBAAgB,CAAC,MAAM,CAAA;IACtC,MAAM,EAAE,OAAO,gBAAgB,CAAC,MAAM,CAAA;IACtC,OAAO,EAAE,OAAO,iBAAiB,CAAA;IACjC,OAAO,EAAE,OAAO,gBAAgB,CAAC,OAAO,CAAA;CAMxC,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ActionMenu as ActionMenu$1 } from '@primer/react';
|
|
2
|
+
import { sx } from '../sx.js';
|
|
3
|
+
import styled from 'styled-components';
|
|
4
|
+
|
|
5
|
+
const ActionMenuOverlay = styled(ActionMenu$1.Overlay).withConfig({
|
|
6
|
+
shouldForwardProp: prop => prop !== 'sx'
|
|
7
|
+
}).withConfig({
|
|
8
|
+
displayName: "ActionMenu__ActionMenuOverlay",
|
|
9
|
+
componentId: "sc-w5s60e-0"
|
|
10
|
+
})(["", ""], sx);
|
|
11
|
+
const ActionMenu = Object.assign(ActionMenu$1, {
|
|
12
|
+
Button: ActionMenu$1.Button,
|
|
13
|
+
Anchor: ActionMenu$1.Anchor,
|
|
14
|
+
Overlay: ActionMenuOverlay,
|
|
15
|
+
Divider: ActionMenu$1.Divider
|
|
16
|
+
});
|
|
17
|
+
ActionMenuOverlay.__SLOT__ = ActionMenu$1.Overlay.__SLOT__;
|
|
18
|
+
|
|
19
|
+
export { ActionMenu };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type CounterLabelProps as PrimerCounterLabelProps } from '@primer/react';
|
|
2
|
+
import { type SxProp } from '../sx';
|
|
3
|
+
export type CounterLabelProps = PrimerCounterLabelProps & SxProp;
|
|
4
|
+
export declare const CounterLabel: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLSpanElement> & {
|
|
5
|
+
scheme?: "primary" | "secondary";
|
|
6
|
+
variant?: "primary" | "secondary";
|
|
7
|
+
className?: string;
|
|
8
|
+
} & {
|
|
9
|
+
children?: import("react").ReactNode | undefined;
|
|
10
|
+
} & SxProp & import("react").RefAttributes<HTMLSpanElement>>;
|
|
11
|
+
//# sourceMappingURL=CounterLabel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CounterLabel.d.ts","sourceRoot":"","sources":["../../src/components/CounterLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqC,KAAK,iBAAiB,IAAI,uBAAuB,EAAC,MAAM,eAAe,CAAA;AAGnH,OAAO,EAAC,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AAEjC,MAAM,MAAM,iBAAiB,GAAG,uBAAuB,GAAG,MAAM,CAAA;AAEhE,eAAO,MAAM,YAAY;;;;;;4DAEvB,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CounterLabel as CounterLabel$1 } from '@primer/react';
|
|
2
|
+
import { Box } from './Box.js';
|
|
3
|
+
import { forwardRef } from 'react';
|
|
4
|
+
import { jsx } from 'react/jsx-runtime';
|
|
5
|
+
|
|
6
|
+
const CounterLabel = /*#__PURE__*/forwardRef(function CounterLabel(props, ref) {
|
|
7
|
+
return /*#__PURE__*/jsx(Box, {
|
|
8
|
+
as: CounterLabel$1,
|
|
9
|
+
ref: ref,
|
|
10
|
+
...props
|
|
11
|
+
});
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
export { CounterLabel };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type OverlayProps as PrimerOverlayProps } from '@primer/react';
|
|
2
|
+
import { type ForwardRefComponent } from '../polymorphic';
|
|
3
|
+
import { type SxProp } from '../sx';
|
|
4
|
+
type OverlayProps = PrimerOverlayProps & SxProp;
|
|
5
|
+
declare const Overlay: ForwardRefComponent<'div', OverlayProps>;
|
|
6
|
+
export { Overlay };
|
|
7
|
+
export type { OverlayProps };
|
|
8
|
+
//# sourceMappingURL=Overlay.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Overlay.d.ts","sourceRoot":"","sources":["../../src/components/Overlay.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2B,KAAK,YAAY,IAAI,kBAAkB,EAAC,MAAM,eAAe,CAAA;AAE/F,OAAO,EAAC,KAAK,mBAAmB,EAAC,MAAM,gBAAgB,CAAA;AACvD,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AAErC,KAAK,YAAY,GAAG,kBAAkB,GAAG,MAAM,CAAA;AAE/C,QAAA,MAAM,OAAO,EAAE,mBAAmB,CAAC,KAAK,EAAE,YAAY,CAIrD,CAAA;AAED,OAAO,EAAC,OAAO,EAAC,CAAA;AAChB,YAAY,EAAC,YAAY,EAAC,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Overlay as Overlay$1 } from '@primer/react';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
import { sx } from '../sx.js';
|
|
4
|
+
|
|
5
|
+
const Overlay = styled(Overlay$1).withConfig({
|
|
6
|
+
shouldForwardProp: prop => prop !== 'sx'
|
|
7
|
+
}).withConfig({
|
|
8
|
+
displayName: "Overlay",
|
|
9
|
+
componentId: "sc-tjbd74-0"
|
|
10
|
+
})(["", ""], sx);
|
|
11
|
+
|
|
12
|
+
export { Overlay };
|
package/dist/components.json
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"components": [
|
|
3
3
|
"ActionList",
|
|
4
|
+
"ActionMenu",
|
|
4
5
|
"BaseStyles",
|
|
5
6
|
"Box",
|
|
6
7
|
"Breadcrumb",
|
|
7
8
|
"Breadcrumbs",
|
|
8
9
|
"Button",
|
|
10
|
+
"CounterLabel",
|
|
9
11
|
"Dialog",
|
|
10
12
|
"Flash",
|
|
11
13
|
"FormControl",
|
|
@@ -16,6 +18,7 @@
|
|
|
16
18
|
"Link",
|
|
17
19
|
"LinkButton",
|
|
18
20
|
"Octicon",
|
|
21
|
+
"Overlay",
|
|
19
22
|
"PageHeader",
|
|
20
23
|
"SegmentedControl",
|
|
21
24
|
"Spinner",
|
|
@@ -46,6 +49,7 @@
|
|
|
46
49
|
"BreadcrumbsItemProps",
|
|
47
50
|
"BreadcrumbsProps",
|
|
48
51
|
"ButtonProps",
|
|
52
|
+
"CounterLabelProps",
|
|
49
53
|
"DataTableContainerProps",
|
|
50
54
|
"DialogHeaderProps",
|
|
51
55
|
"DialogProps",
|
package/dist/index.d.ts
CHANGED
|
@@ -100,6 +100,12 @@ type ActionListTrailingVisualProps,
|
|
|
100
100
|
*/
|
|
101
101
|
type ActionListTrailingActionProps, } from './components/ActionList';
|
|
102
102
|
export {
|
|
103
|
+
/**
|
|
104
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
105
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
106
|
+
*/
|
|
107
|
+
ActionMenu, } from './components/ActionMenu';
|
|
108
|
+
export {
|
|
103
109
|
/**
|
|
104
110
|
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
105
111
|
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
@@ -132,6 +138,17 @@ ButtonComponent as Button,
|
|
|
132
138
|
*/
|
|
133
139
|
type ButtonComponentProps as ButtonProps, } from './components/Button';
|
|
134
140
|
export {
|
|
141
|
+
/**
|
|
142
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
143
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
144
|
+
*/
|
|
145
|
+
CounterLabel,
|
|
146
|
+
/**
|
|
147
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
148
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
149
|
+
*/
|
|
150
|
+
type CounterLabelProps, } from './components/CounterLabel';
|
|
151
|
+
export {
|
|
135
152
|
/**
|
|
136
153
|
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
137
154
|
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
@@ -221,6 +238,12 @@ LinkButton,
|
|
|
221
238
|
*/
|
|
222
239
|
type LinkButtonProps, } from './components/LinkButton';
|
|
223
240
|
export {
|
|
241
|
+
/**
|
|
242
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
243
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
244
|
+
*/
|
|
245
|
+
Overlay, } from './components/Overlay';
|
|
246
|
+
export {
|
|
224
247
|
/**
|
|
225
248
|
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
226
249
|
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAEA,OAAO;AACL;;;GAGG;AACH,GAAG;AAEH;;;GAGG;AACH,KAAK,QAAQ,GACd,MAAM,kBAAkB,CAAA;AAGzB,OAAO;AACL;;;GAGG;AACH,aAAa;AAEb;;;GAGG;AACH,QAAQ;AAER;;;GAGG;AACH,iBAAiB;AAEjB;;;GAGG;AACH,KAAK,kBAAkB,GACxB,MAAM,4BAA4B,CAAA;AAEnC,OAAO;AACL;;;GAGG;AACH,UAAU;AAEV;;;GAGG;AACH,KAAK,eAAe,GACrB,MAAM,yBAAyB,CAAA;AAEhC,OAAO;AACL;;;GAGG;AACH,KAAK,GACN,MAAM,eAAe,CAAA;AAEtB,OAAO;AACL;;;GAGG;AACH,GAAG,IAAI,QAAQ,GAChB,MAAM,aAAa,CAAA;AAEpB,OAAO;AACL;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AElC,OAAO;AACL;;;GAGG;AACH,OAAO;AAEP;;;GAGG;AACH,KAAK,YAAY,GAClB,MAAM,sBAAsB,CAAA;AAE7B,OAAO;AACL;;;GAGG;AACH,KAAK;AAEL;;;GAGG;AACH,KAAK,UAAU,GAChB,MAAM,oBAAoB,CAAA;AAE3B,OAAO;AACL;;;GAGG;AACH,QAAQ;AAER;;;GAGG;AACH,KAAK,aAAa,GACnB,MAAM,uBAAuB,CAAA;AAE9B,OAAO;AACL;;;GAGG;AACH,YAAY;AAEZ;;;GAGG;AACH,KAAK,iBAAiB;AAEtB;;;GAGG;AACH,KAAK,qBAAqB,GAC3B,MAAM,2BAA2B,CAAA;AAElC,OAAO;AACL;;;GAGG;AACH,KAAK;AAEL;;;GAGG;AACH,EAAE;AAEF;;;GAGG;AACH,KAAK,MAAM,GACZ,MAAM,MAAM,CAAA;AAEb,OAAO;AACL;;;GAGG;AACH,KAAK,uBAAuB,GAC7B,MAAM,MAAM,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -5,8 +5,10 @@ export { BaseStyles } from './components/BaseStyles.js';
|
|
|
5
5
|
export { theme } from '@primer/react';
|
|
6
6
|
export { get as themeGet } from './theme-get.js';
|
|
7
7
|
export { ActionList } from './components/ActionList.js';
|
|
8
|
+
export { ActionMenu } from './components/ActionMenu.js';
|
|
8
9
|
export { Breadcrumb, Breadcrumbs } from './components/Breadcrumbs.js';
|
|
9
10
|
export { ButtonComponent as Button } from './components/Button.js';
|
|
11
|
+
export { CounterLabel } from './components/CounterLabel.js';
|
|
10
12
|
export { Dialog } from './components/Dialog.js';
|
|
11
13
|
export { Flash } from './components/Flash.js';
|
|
12
14
|
export { FormControl } from './components/FormControl.js';
|
|
@@ -16,6 +18,7 @@ export { IconButton } from './components/IconButton.js';
|
|
|
16
18
|
export { Label } from './components/Label.js';
|
|
17
19
|
export { Link } from './components/Link.js';
|
|
18
20
|
export { LinkButton } from './components/LinkButton.js';
|
|
21
|
+
export { Overlay } from './components/Overlay.js';
|
|
19
22
|
export { PageHeader } from './components/PageHeader.js';
|
|
20
23
|
export { SegmentedControl } from './components/SegmentedControl.js';
|
|
21
24
|
export { Spinner } from './components/Spinner.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primer/styled-react",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-20260406164544",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@babel/preset-react": "^7.28.5",
|
|
50
50
|
"@babel/preset-typescript": "^7.28.5",
|
|
51
51
|
"@primer/primitives": "10.x || 11.x",
|
|
52
|
-
"@primer/react": "0.0.0-
|
|
52
|
+
"@primer/react": "0.0.0-20260406164544",
|
|
53
53
|
"@rollup/plugin-babel": "^6.1.0",
|
|
54
54
|
"@storybook/react-vite": "^10.3.3",
|
|
55
55
|
"@types/react": "18.3.11",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"typescript": "^5.9.2"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
|
-
"@primer/react": "0.0.0-
|
|
73
|
+
"@primer/react": "0.0.0-20260406164544",
|
|
74
74
|
"@types/react": "18.x || 19.x",
|
|
75
75
|
"@types/react-dom": "18.x || 19.x",
|
|
76
76
|
"@types/react-is": "18.x || 19.x",
|