@primer/styled-react 0.0.0-20251006234524 → 0.0.0-20251006235611
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/FormControl.d.ts +14 -0
- package/dist/components/FormControl.d.ts.map +1 -0
- package/dist/components/PageLayout.d.ts +18 -0
- package/dist/components/PageLayout.d.ts.map +1 -0
- package/dist/components.json +2 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +50 -3
- package/package.json +3 -3
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FormControl as PrimerFormControl, type FormControlProps as PrimerFormControlProps, type SxProp } from '@primer/react';
|
|
2
|
+
import { type PropsWithChildren } from 'react';
|
|
3
|
+
type FormControlProps = PropsWithChildren<PrimerFormControlProps> & SxProp;
|
|
4
|
+
declare const FormControlImpl: import("react").ForwardRefExoticComponent<PrimerFormControlProps & {
|
|
5
|
+
children?: import("react").ReactNode | undefined;
|
|
6
|
+
} & SxProp & import("react").RefAttributes<HTMLDivElement>>;
|
|
7
|
+
declare const FormControl: typeof FormControlImpl & {
|
|
8
|
+
Caption: typeof PrimerFormControl.Caption;
|
|
9
|
+
LeadingVisual: typeof PrimerFormControl.LeadingVisual;
|
|
10
|
+
Validation: typeof PrimerFormControl.Validation;
|
|
11
|
+
Label: typeof PrimerFormControl.Label;
|
|
12
|
+
};
|
|
13
|
+
export { FormControl, type FormControlProps };
|
|
14
|
+
//# sourceMappingURL=FormControl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormControl.d.ts","sourceRoot":"","sources":["../../src/components/FormControl.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,WAAW,IAAI,iBAAiB,EAChC,KAAK,gBAAgB,IAAI,sBAAsB,EAC/C,KAAK,MAAM,EACZ,MAAM,eAAe,CAAA;AACtB,OAAO,EAAa,KAAK,iBAAiB,EAAC,MAAM,OAAO,CAAA;AAExD,KAAK,gBAAgB,GAAG,iBAAiB,CAAC,sBAAsB,CAAC,GAAG,MAAM,CAAA;AAE1E,QAAA,MAAM,eAAe;;2DAEnB,CAAA;AAEF,QAAA,MAAM,WAAW,EAKX,OAAO,eAAe,GAAG;IAC7B,OAAO,EAAE,OAAO,iBAAiB,CAAC,OAAO,CAAA;IACzC,aAAa,EAAE,OAAO,iBAAiB,CAAC,aAAa,CAAA;IACrD,UAAU,EAAE,OAAO,iBAAiB,CAAC,UAAU,CAAA;IAC/C,KAAK,EAAE,OAAO,iBAAiB,CAAC,KAAK,CAAA;CACtC,CAAA;AAED,OAAO,EAAC,WAAW,EAAE,KAAK,gBAAgB,EAAC,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React, { type PropsWithChildren } from 'react';
|
|
2
|
+
import type { PageLayoutProps as PrimerPageLayoutProps, PageLayoutContentProps as PrimerPageLayoutContentProps, PageLayoutPaneProps as PrimerPageLayoutPaneProps } from '@primer/react';
|
|
3
|
+
import { type SxProp } from '../sx';
|
|
4
|
+
type PageLayoutProps = PropsWithChildren<PrimerPageLayoutProps> & SxProp;
|
|
5
|
+
declare const PageLayout: React.ForwardRefExoticComponent<PrimerPageLayoutProps & {
|
|
6
|
+
children?: React.ReactNode | undefined;
|
|
7
|
+
} & SxProp & React.RefAttributes<HTMLDivElement>> & {
|
|
8
|
+
Content: React.ForwardRefExoticComponent<PrimerPageLayoutContentProps & {
|
|
9
|
+
children?: React.ReactNode | undefined;
|
|
10
|
+
} & SxProp & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
Header: React.FC<React.PropsWithChildren<import("@primer/react").PageLayoutHeaderProps>>;
|
|
12
|
+
Pane: React.ForwardRefExoticComponent<PrimerPageLayoutPaneProps & {
|
|
13
|
+
children?: React.ReactNode | undefined;
|
|
14
|
+
} & SxProp & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
Footer: React.FC<React.PropsWithChildren<import("@primer/react").PageLayoutFooterProps>>;
|
|
16
|
+
};
|
|
17
|
+
export { PageLayout, type PageLayoutProps };
|
|
18
|
+
//# sourceMappingURL=PageLayout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PageLayout.d.ts","sourceRoot":"","sources":["../../src/components/PageLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAC,KAAK,iBAAiB,EAAC,MAAM,OAAO,CAAA;AAEnD,OAAO,KAAK,EACV,eAAe,IAAI,qBAAqB,EACxC,sBAAsB,IAAI,4BAA4B,EACtD,mBAAmB,IAAI,yBAAyB,EACjD,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AAMrC,KAAK,eAAe,GAAG,iBAAiB,CAAC,qBAAqB,CAAC,GAAG,MAAM,CAAA;AAmBxE,QAAA,MAAM,UAAU;;;;;;;;;;;CAKd,CAAA;AAEF,OAAO,EAAC,UAAU,EAAE,KAAK,eAAe,EAAC,CAAA"}
|
package/dist/components.json
CHANGED
|
@@ -70,6 +70,7 @@
|
|
|
70
70
|
"DataTableContainerProps",
|
|
71
71
|
"DialogHeaderProps",
|
|
72
72
|
"DialogProps",
|
|
73
|
+
"FormControlProps",
|
|
73
74
|
"HeaderProps",
|
|
74
75
|
"LabelProps",
|
|
75
76
|
"LinkButtonProps",
|
|
@@ -79,6 +80,7 @@
|
|
|
79
80
|
"PageHeaderActionsProps",
|
|
80
81
|
"PageHeaderProps",
|
|
81
82
|
"PageHeaderTitleProps",
|
|
83
|
+
"PageLayoutProps",
|
|
82
84
|
"RadioGroupProps",
|
|
83
85
|
"RelativeTimeProps",
|
|
84
86
|
"SegmentedControlButtonProps",
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
export { Box, type BoxProps } from './components/Box';
|
|
2
2
|
export { Button } from '@primer/react';
|
|
3
3
|
export { Details } from '@primer/react';
|
|
4
|
-
export { FormControl } from '@primer/react';
|
|
5
4
|
export { IconButton } from '@primer/react';
|
|
6
5
|
export { ProgressBar } from '@primer/react';
|
|
7
|
-
export { PageLayout } from '@primer/react';
|
|
8
6
|
export { Select } from '@primer/react';
|
|
9
7
|
export { Textarea } from '@primer/react';
|
|
10
8
|
export { TextInput } from '@primer/react';
|
|
@@ -26,6 +24,7 @@ export { CircleBadge } from './components/CircleBadge';
|
|
|
26
24
|
export { CounterLabel, type CounterLabelProps } from './components/CounterLabel';
|
|
27
25
|
export { Dialog, type DialogProps } from './components/Dialog';
|
|
28
26
|
export { Flash } from './components/Flash';
|
|
27
|
+
export { FormControl, type FormControlProps } from './components/FormControl';
|
|
29
28
|
export { Header, type HeaderProps } from './components/Header';
|
|
30
29
|
export { Heading } from './components/Heading';
|
|
31
30
|
export { Label, type LabelProps } from './components/Label';
|
|
@@ -33,6 +32,7 @@ export { Link, type LinkProps } from './components/Link';
|
|
|
33
32
|
export { LinkButton, type LinkButtonProps } from './components/LinkButton';
|
|
34
33
|
export { NavList, type NavListProps } from './components/NavList';
|
|
35
34
|
export { Overlay } from './components/Overlay';
|
|
35
|
+
export { PageLayout, type PageLayoutProps } from './components/PageLayout';
|
|
36
36
|
export { PageHeader, type PageHeaderProps, type PageHeaderActionsProps, type PageHeaderTitleProps, } from './components/PageHeader';
|
|
37
37
|
export { RadioGroup, type RadioGroupProps } from './components/RadioGroup';
|
|
38
38
|
export { RelativeTime, type RelativeTimeProps } from './components/RelativeTime';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAE,KAAK,QAAQ,EAAC,MAAM,kBAAkB,CAAA;AACnD,OAAO,EAAC,MAAM,EAAC,MAAM,eAAe,CAAA;AACpC,OAAO,EAAC,OAAO,EAAC,MAAM,eAAe,CAAA;AACrC,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"index.d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autocomplete$1, Box, Avatar as Avatar$1, Breadcrumbs as Breadcrumbs$1, Checkbox as Checkbox$1, CheckboxGroup as CheckboxGroup$1, CircleBadge as CircleBadge$1, CounterLabel as CounterLabel$1, Flash as Flash$1, Header as Header$1, Heading as Heading$1, Label as Label$1, Link as Link$1, LinkButton as LinkButton$1, NavList as NavList$1, Overlay as Overlay$1, RadioGroup as RadioGroup$1, RelativeTime as RelativeTime$1, SegmentedControl as SegmentedControl$1, Spinner as Spinner$1, StateLabel as StateLabel$1, SubNav as SubNav$1, Text as Text$1, Timeline as Timeline$1, ToggleSwitch as ToggleSwitch$1, useTheme, theme, Token as Token$1, Truncate as Truncate$1, UnderlineNav as UnderlineNav$1 } from '@primer/react';
|
|
2
|
-
export { Box, Button, Details,
|
|
1
|
+
import { ActionList as ActionList$1, sx, ActionMenu as ActionMenu$1, Autocomplete as Autocomplete$1, Box, Avatar as Avatar$1, Breadcrumbs as Breadcrumbs$1, Checkbox as Checkbox$1, CheckboxGroup as CheckboxGroup$1, CircleBadge as CircleBadge$1, CounterLabel as CounterLabel$1, Flash as Flash$1, FormControl as FormControl$1, Header as Header$1, Heading as Heading$1, Label as Label$1, Link as Link$1, LinkButton as LinkButton$1, NavList as NavList$1, Overlay as Overlay$1, PageLayout as PageLayout$1, RadioGroup as RadioGroup$1, RelativeTime as RelativeTime$1, SegmentedControl as SegmentedControl$1, Spinner as Spinner$1, StateLabel as StateLabel$1, SubNav as SubNav$1, Text as Text$1, Timeline as Timeline$1, ToggleSwitch as ToggleSwitch$1, useTheme, theme, Token as Token$1, Truncate as Truncate$1, UnderlineNav as UnderlineNav$1 } from '@primer/react';
|
|
2
|
+
export { Box, Button, Details, IconButton, ProgressBar, Select, TextInput, Textarea, ThemeProvider, merge, sx, theme, themeGet, useColorSchemeVar, useTheme } from '@primer/react';
|
|
3
3
|
import React, { forwardRef } from 'react';
|
|
4
4
|
import styled from 'styled-components';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
@@ -235,6 +235,20 @@ const Flash = styled(Flash$1).withConfig({
|
|
|
235
235
|
componentId: "sc-413izo-0"
|
|
236
236
|
})(["", ""], sx);
|
|
237
237
|
|
|
238
|
+
const FormControlImpl = /*#__PURE__*/forwardRef(function FormControl(props, ref) {
|
|
239
|
+
return /*#__PURE__*/jsx(Box, {
|
|
240
|
+
ref: ref,
|
|
241
|
+
as: FormControl$1,
|
|
242
|
+
...props
|
|
243
|
+
});
|
|
244
|
+
});
|
|
245
|
+
const FormControl = Object.assign(FormControlImpl, {
|
|
246
|
+
Caption: FormControl$1.Caption,
|
|
247
|
+
LeadingVisual: FormControl$1.LeadingVisual,
|
|
248
|
+
Validation: FormControl$1.Validation,
|
|
249
|
+
Label: FormControl$1.Label
|
|
250
|
+
});
|
|
251
|
+
|
|
238
252
|
const StyledHeader = /*#__PURE__*/forwardRef(function Header(props, ref) {
|
|
239
253
|
return /*#__PURE__*/jsx(Box, {
|
|
240
254
|
as: Header$1,
|
|
@@ -392,6 +406,39 @@ const Overlay = styled(Overlay$1).withConfig({
|
|
|
392
406
|
componentId: "sc-tjbd74-0"
|
|
393
407
|
})(["", ""], sx);
|
|
394
408
|
|
|
409
|
+
const Wrapper = styled.div.withConfig({
|
|
410
|
+
displayName: "PageLayout__Wrapper",
|
|
411
|
+
componentId: "sc-pjybtc-0"
|
|
412
|
+
})(["", ""], sx);
|
|
413
|
+
const PageLayoutImpl = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
414
|
+
// @ts-expect-error - PrimerPageLayout is not recognized as a valid component type
|
|
415
|
+
return /*#__PURE__*/jsx(Wrapper, {
|
|
416
|
+
as: PageLayout$1,
|
|
417
|
+
ref: ref,
|
|
418
|
+
...props
|
|
419
|
+
});
|
|
420
|
+
});
|
|
421
|
+
const PageLayoutContent = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
422
|
+
return /*#__PURE__*/jsx(Wrapper, {
|
|
423
|
+
as: PageLayout$1.Content,
|
|
424
|
+
ref: ref,
|
|
425
|
+
...props
|
|
426
|
+
});
|
|
427
|
+
});
|
|
428
|
+
const PageLayoutPane = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
429
|
+
return /*#__PURE__*/jsx(Wrapper, {
|
|
430
|
+
as: PageLayout$1.Pane,
|
|
431
|
+
ref: ref,
|
|
432
|
+
...props
|
|
433
|
+
});
|
|
434
|
+
});
|
|
435
|
+
const PageLayout = Object.assign(PageLayoutImpl, {
|
|
436
|
+
Content: PageLayoutContent,
|
|
437
|
+
Header: PageLayout$1.Header,
|
|
438
|
+
Pane: PageLayoutPane,
|
|
439
|
+
Footer: PageLayout$1.Footer
|
|
440
|
+
});
|
|
441
|
+
|
|
395
442
|
const RadioGroupImpl = props => {
|
|
396
443
|
return /*#__PURE__*/jsx(Box, {
|
|
397
444
|
as: RadioGroup$1,
|
|
@@ -632,4 +679,4 @@ const UnderlineNav = Object.assign(UnderlineNavImpl, {
|
|
|
632
679
|
Item: UnderlineNavItem
|
|
633
680
|
});
|
|
634
681
|
|
|
635
|
-
export { ActionList, ActionMenu, Autocomplete, Avatar, Breadcrumb, Breadcrumbs, Checkbox, CheckboxGroup, CircleBadge, CounterLabel, Flash, Header, Heading, Label, Link, LinkButton, NavList, Overlay, RadioGroup, RelativeTime, SegmentedControl, Spinner, StateLabel, SubNav, Text, Timeline, ToggleSwitch, Token, Truncate, UnderlineNav };
|
|
682
|
+
export { ActionList, ActionMenu, Autocomplete, Avatar, Breadcrumb, Breadcrumbs, Checkbox, CheckboxGroup, CircleBadge, CounterLabel, Flash, FormControl, Header, Heading, Label, Link, LinkButton, NavList, Overlay, PageLayout, RadioGroup, RelativeTime, SegmentedControl, Spinner, StateLabel, SubNav, Text, Timeline, ToggleSwitch, Token, Truncate, UnderlineNav };
|
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-20251006235611",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@babel/preset-react": "^7.27.1",
|
|
32
32
|
"@babel/preset-typescript": "^7.27.1",
|
|
33
|
-
"@primer/react": "0.0.0-
|
|
33
|
+
"@primer/react": "0.0.0-20251006235611",
|
|
34
34
|
"@rollup/plugin-babel": "^6.0.4",
|
|
35
35
|
"@types/react": "18.3.11",
|
|
36
36
|
"@types/react-dom": "18.3.1",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"typescript": "^5.9.2"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"@primer/react": "0.0.0-
|
|
49
|
+
"@primer/react": "0.0.0-20251006235611",
|
|
50
50
|
"@types/react": "18.x || 19.x",
|
|
51
51
|
"@types/react-dom": "18.x || 19.x",
|
|
52
52
|
"@types/react-is": "18.x || 19.x",
|