@primer/styled-react 0.0.0-20251010103625 → 0.0.0-20251010151846

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.
Files changed (137) hide show
  1. package/dist/{components/PageHeader.js → PageHeader-BYlYLcfB.js} +9 -30
  2. package/dist/components/Header.d.ts.map +1 -1
  3. package/dist/components/PageHeader.d.ts +14 -18
  4. package/dist/components/PageHeader.d.ts.map +1 -1
  5. package/dist/components.json +1 -60
  6. package/dist/deprecated.d.ts +1 -5
  7. package/dist/deprecated.d.ts.map +1 -1
  8. package/dist/deprecated.js +1 -5
  9. package/dist/experimental.d.ts +1 -4
  10. package/dist/experimental.d.ts.map +1 -1
  11. package/dist/experimental.js +5 -5
  12. package/dist/index.d.ts +81 -48
  13. package/dist/index.d.ts.map +1 -1
  14. package/dist/index.js +223 -36
  15. package/package.json +3 -3
  16. package/dist/components/ActionList.d.ts +0 -36
  17. package/dist/components/ActionList.d.ts.map +0 -1
  18. package/dist/components/ActionList.js +0 -104
  19. package/dist/components/ActionMenu.d.ts +0 -12
  20. package/dist/components/ActionMenu.d.ts.map +0 -1
  21. package/dist/components/ActionMenu.js +0 -17
  22. package/dist/components/Autocomplete.d.ts +0 -15
  23. package/dist/components/Autocomplete.d.ts.map +0 -1
  24. package/dist/components/Autocomplete.js +0 -17
  25. package/dist/components/Avatar.d.ts +0 -13
  26. package/dist/components/Avatar.d.ts.map +0 -1
  27. package/dist/components/Avatar.js +0 -13
  28. package/dist/components/BaseStyles.d.ts +0 -17
  29. package/dist/components/BaseStyles.d.ts.map +0 -1
  30. package/dist/components/BaseStyles.js +0 -51
  31. package/dist/components/Breadcrumbs.d.ts +0 -18
  32. package/dist/components/Breadcrumbs.d.ts.map +0 -1
  33. package/dist/components/Breadcrumbs.js +0 -37
  34. package/dist/components/Checkbox.d.ts +0 -5
  35. package/dist/components/Checkbox.d.ts.map +0 -1
  36. package/dist/components/Checkbox.js +0 -13
  37. package/dist/components/CheckboxGroup.d.ts +0 -22
  38. package/dist/components/CheckboxGroup.d.ts.map +0 -1
  39. package/dist/components/CheckboxGroup.js +0 -38
  40. package/dist/components/CircleBadge.d.ts +0 -7
  41. package/dist/components/CircleBadge.d.ts.map +0 -1
  42. package/dist/components/CircleBadge.js +0 -11
  43. package/dist/components/CounterLabel.d.ts +0 -10
  44. package/dist/components/CounterLabel.d.ts.map +0 -1
  45. package/dist/components/CounterLabel.js +0 -13
  46. package/dist/components/DataTable.d.ts +0 -11
  47. package/dist/components/DataTable.d.ts.map +0 -1
  48. package/dist/components/DataTable.js +0 -32
  49. package/dist/components/Dialog.d.ts +0 -19
  50. package/dist/components/Dialog.d.ts.map +0 -1
  51. package/dist/components/Dialog.js +0 -42
  52. package/dist/components/FeatureFlaggedTheming.d.ts +0 -6
  53. package/dist/components/FeatureFlaggedTheming.d.ts.map +0 -1
  54. package/dist/components/FeatureFlaggedTheming.js +0 -54
  55. package/dist/components/Flash.js +0 -11
  56. package/dist/components/Header.js +0 -51
  57. package/dist/components/Heading.d.ts +0 -8
  58. package/dist/components/Heading.d.ts.map +0 -1
  59. package/dist/components/Heading.js +0 -11
  60. package/dist/components/Label.d.ts +0 -9
  61. package/dist/components/Label.d.ts.map +0 -1
  62. package/dist/components/Label.js +0 -25
  63. package/dist/components/Link.d.ts +0 -7
  64. package/dist/components/Link.d.ts.map +0 -1
  65. package/dist/components/Link.js +0 -25
  66. package/dist/components/LinkButton.js +0 -11
  67. package/dist/components/NavList.d.ts +0 -33
  68. package/dist/components/NavList.d.ts.map +0 -1
  69. package/dist/components/NavList.js +0 -56
  70. package/dist/components/Overlay.d.ts +0 -7
  71. package/dist/components/Overlay.d.ts.map +0 -1
  72. package/dist/components/Overlay.js +0 -11
  73. package/dist/components/PageLayout.d.ts +0 -18
  74. package/dist/components/PageLayout.d.ts.map +0 -1
  75. package/dist/components/PageLayout.js +0 -39
  76. package/dist/components/RadioGroup.d.ts +0 -22
  77. package/dist/components/RadioGroup.d.ts.map +0 -1
  78. package/dist/components/RadioGroup.js +0 -38
  79. package/dist/components/RelativeTime.d.ts +0 -6
  80. package/dist/components/RelativeTime.d.ts.map +0 -1
  81. package/dist/components/RelativeTime.js +0 -13
  82. package/dist/components/SegmentedControl.d.ts +0 -12
  83. package/dist/components/SegmentedControl.d.ts.map +0 -1
  84. package/dist/components/SegmentedControl.js +0 -27
  85. package/dist/components/Spinner.d.ts +0 -5
  86. package/dist/components/Spinner.d.ts.map +0 -1
  87. package/dist/components/Spinner.js +0 -11
  88. package/dist/components/StateLabel.d.ts +0 -9
  89. package/dist/components/StateLabel.d.ts.map +0 -1
  90. package/dist/components/StateLabel.js +0 -13
  91. package/dist/components/SubNav.d.ts +0 -9
  92. package/dist/components/SubNav.d.ts.map +0 -1
  93. package/dist/components/SubNav.js +0 -23
  94. package/dist/components/Text.d.ts +0 -15
  95. package/dist/components/Text.d.ts.map +0 -1
  96. package/dist/components/Text.js +0 -25
  97. package/dist/components/ThemeProvider.d.ts +0 -30
  98. package/dist/components/ThemeProvider.d.ts.map +0 -1
  99. package/dist/components/ThemeProvider.js +0 -202
  100. package/dist/components/Timeline.d.ts +0 -26
  101. package/dist/components/Timeline.d.ts.map +0 -1
  102. package/dist/components/Timeline.js +0 -46
  103. package/dist/components/ToggleSwitch.d.ts +0 -6
  104. package/dist/components/ToggleSwitch.d.ts.map +0 -1
  105. package/dist/components/ToggleSwitch.js +0 -13
  106. package/dist/components/Token.d.ts +0 -8
  107. package/dist/components/Token.d.ts.map +0 -1
  108. package/dist/components/Token.js +0 -25
  109. package/dist/components/Tooltip.d.ts +0 -6
  110. package/dist/components/Tooltip.d.ts.map +0 -1
  111. package/dist/components/Tooltip.js +0 -13
  112. package/dist/components/Truncate.d.ts +0 -7
  113. package/dist/components/Truncate.d.ts.map +0 -1
  114. package/dist/components/Truncate.js +0 -11
  115. package/dist/components/UnderlineNav.d.ts +0 -11
  116. package/dist/components/UnderlineNav.d.ts.map +0 -1
  117. package/dist/components/UnderlineNav.js +0 -43
  118. package/dist/components/UnderlinePanels.d.ts +0 -12
  119. package/dist/components/UnderlinePanels.d.ts.map +0 -1
  120. package/dist/components/UnderlinePanels.js +0 -27
  121. package/dist/components/deprecated/ActionList.d.ts +0 -23
  122. package/dist/components/deprecated/ActionList.d.ts.map +0 -1
  123. package/dist/components/deprecated/ActionList.js +0 -48
  124. package/dist/components/deprecated/DialogV1.d.ts +0 -11
  125. package/dist/components/deprecated/DialogV1.d.ts.map +0 -1
  126. package/dist/components/deprecated/DialogV1.js +0 -44
  127. package/dist/components/deprecated/Octicon.d.ts +0 -17
  128. package/dist/components/deprecated/Octicon.d.ts.map +0 -1
  129. package/dist/components/deprecated/Octicon.js +0 -39
  130. package/dist/components/deprecated/TabNav.d.ts +0 -9
  131. package/dist/components/deprecated/TabNav.d.ts.map +0 -1
  132. package/dist/components/deprecated/TabNav.js +0 -44
  133. package/dist/components/deprecated/Tooltip.d.ts +0 -13
  134. package/dist/components/deprecated/Tooltip.d.ts.map +0 -1
  135. package/dist/components/deprecated/Tooltip.js +0 -31
  136. package/dist/styled-props.d.ts +0 -5
  137. package/dist/styled-props.d.ts.map +0 -1
@@ -1,24 +1,13 @@
1
1
  import { PageHeader as PageHeader$1, sx, Box } from '@primer/react';
2
2
  import styled from 'styled-components';
3
- import React from 'react';
4
3
  import { jsx } from 'react/jsx-runtime';
5
4
 
6
- const StyledPageHeader = styled(PageHeader$1).withConfig({
5
+ const PageHeaderImpl = styled(PageHeader$1).withConfig({
7
6
  shouldForwardProp: prop => prop !== 'sx'
8
7
  }).withConfig({
9
- displayName: "PageHeader__StyledPageHeader",
8
+ displayName: "PageHeader__PageHeaderImpl",
10
9
  componentId: "sc-1g9symn-0"
11
10
  })(["", ""], sx);
12
- const PageHeaderImpl = /*#__PURE__*/React.forwardRef(({
13
- as,
14
- ...props
15
- }, ref) => /*#__PURE__*/jsx(StyledPageHeader, {
16
- ...props,
17
- ...(as ? {
18
- forwardedAs: as
19
- } : {}),
20
- ref: ref
21
- }));
22
11
  function PageHeaderActions({
23
12
  sx,
24
13
  ...rest
@@ -42,7 +31,7 @@ function PageHeaderActions({
42
31
  sx: sx
43
32
  });
44
33
  }
45
- function StyledPageHeaderTitle({
34
+ function PageHeaderTitle({
46
35
  sx,
47
36
  ...rest
48
37
  }) {
@@ -73,15 +62,6 @@ function StyledPageHeaderTitle({
73
62
  sx: sx
74
63
  });
75
64
  }
76
- const PageHeaderTitle = ({
77
- as,
78
- ...props
79
- }) => /*#__PURE__*/jsx(StyledPageHeaderTitle, {
80
- ...props,
81
- ...(as ? {
82
- forwardedAs: as
83
- } : {})
84
- });
85
65
  const PageHeaderTitleArea = styled(PageHeader$1.TitleArea).withConfig({
86
66
  shouldForwardProp: prop => prop !== 'sx'
87
67
  }).withConfig({
@@ -90,18 +70,17 @@ const PageHeaderTitleArea = styled(PageHeader$1.TitleArea).withConfig({
90
70
  })(["", ""], sx);
91
71
  const PageHeader = Object.assign(PageHeaderImpl, {
92
72
  Actions: PageHeaderActions,
93
- ContextArea: PageHeader$1.ContextArea,
94
- ParentLink: PageHeader$1.ParentLink,
95
- ContextBar: PageHeader$1.ContextBar,
73
+ Title: PageHeaderTitle,
96
74
  TitleArea: PageHeaderTitleArea,
75
+ ContextArea: PageHeader$1.ContextArea,
97
76
  ContextAreaActions: PageHeader$1.ContextAreaActions,
77
+ TrailingVisual: PageHeader$1.TrailingVisual,
78
+ Description: PageHeader$1.Description,
79
+ ContextBar: PageHeader$1.ContextBar,
98
80
  LeadingAction: PageHeader$1.LeadingAction,
99
81
  Breadcrumbs: PageHeader$1.Breadcrumbs,
100
82
  LeadingVisual: PageHeader$1.LeadingVisual,
101
- Title: PageHeaderTitle,
102
- TrailingVisual: PageHeader$1.TrailingVisual,
103
- Description: PageHeader$1.Description,
104
83
  TrailingAction: PageHeader$1.TrailingAction
105
84
  });
106
85
 
107
- export { PageHeader };
86
+ export { PageHeader as P };
@@ -1 +1 @@
1
- {"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../src/components/Header.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,WAAW,IAAI,iBAAiB,EACrC,KAAK,eAAe,IAAI,qBAAqB,EAC7C,KAAK,eAAe,IAAI,qBAAqB,EAG9C,MAAM,eAAe,CAAA;AAGtB,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,gBAAgB,CAAA;AACvD,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,OAAO,CAAA;AAEjC,KAAK,WAAW,GAAG,iBAAiB,GAAG,MAAM,CAAA;AAU7C,KAAK,eAAe,GAAG,qBAAqB,GAAG,MAAM,CAAA;AAcrD,QAAA,MAAM,MAAM;;;CAGV,CAAA;AAEF,OAAO,EAAC,MAAM,EAAE,KAAK,WAAW,EAAC,CAAA"}
1
+ {"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../src/components/Header.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,WAAW,IAAI,iBAAiB,EACrC,KAAK,eAAe,IAAI,qBAAqB,EAC7C,KAAK,eAAe,IAAI,qBAAqB,EAE9C,MAAM,eAAe,CAAA;AAGtB,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,gBAAgB,CAAA;AACvD,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,OAAO,CAAA;AAEjC,KAAK,WAAW,GAAG,iBAAiB,GAAG,MAAM,CAAA;AAM7C,KAAK,eAAe,GAAG,qBAAqB,GAAG,MAAM,CAAA;AAUrD,QAAA,MAAM,MAAM;;;CAGV,CAAA;AAEF,OAAO,EAAC,MAAM,EAAE,KAAK,WAAW,EAAC,CAAA"}
@@ -1,31 +1,27 @@
1
- import { PageHeader as PrimerPageHeader, type PageHeaderProps as PrimerPageHeaderProps, type PageHeaderTitleProps as PrimerPageHeaderTitleProps, type PageHeaderActionsProps as PrimerPageHeaderActionsProps, type PageHeaderTitleAreaProps as PrimerPageHeaderTitleAreaProps } from '@primer/react';
1
+ import { type PageHeaderProps as PrimerPageHeaderProps, type PageHeaderTitleProps as PrimerPageHeaderTitleProps, type PageHeaderActionsProps as PrimerPageHeaderActionsProps, type PageHeaderTitleAreaProps as PrimerPageHeaderTitleAreaProps } from '@primer/react';
2
2
  import { type SxProp } from '../sx';
3
3
  import type { ForwardRefComponent } from '../polymorphic';
4
4
  import type { PropsWithChildren } from 'react';
5
- import React from 'react';
6
5
  type PageHeaderProps = PrimerPageHeaderProps & SxProp;
7
6
  type PageHeaderActionsProps = PrimerPageHeaderActionsProps & SxProp;
8
- declare function PageHeaderActions({ sx, ...rest }: PageHeaderActionsProps): React.JSX.Element;
7
+ declare function PageHeaderActions({ sx, ...rest }: PageHeaderActionsProps): import("react").JSX.Element;
9
8
  type PageHeaderTitleProps = PropsWithChildren<PrimerPageHeaderTitleProps> & SxProp;
10
- declare const PageHeaderTitle: ({ as, ...props }: PageHeaderTitleProps) => React.JSX.Element;
9
+ declare function PageHeaderTitle({ sx, ...rest }: PageHeaderTitleProps): import("react").JSX.Element;
11
10
  type PageHeaderTitleAreaProps = PropsWithChildren<PrimerPageHeaderTitleAreaProps> & SxProp;
12
- declare const PageHeaderTitleArea: ForwardRefComponent<'div', PageHeaderTitleAreaProps>;
13
- type PageHeaderComponentType = ForwardRefComponent<'div', PageHeaderProps> & {
11
+ declare const PageHeader: ForwardRefComponent<"div", PageHeaderProps> & {
14
12
  Actions: typeof PageHeaderActions;
15
- ContextArea: typeof PrimerPageHeader.ContextArea;
16
- ParentLink: typeof PrimerPageHeader.ParentLink;
17
- ContextBar: typeof PrimerPageHeader.ContextBar;
18
- TitleArea: typeof PageHeaderTitleArea;
19
- ContextAreaActions: typeof PrimerPageHeader.ContextAreaActions;
20
- LeadingAction: typeof PrimerPageHeader.LeadingAction;
21
- Breadcrumbs: typeof PrimerPageHeader.Breadcrumbs;
22
- LeadingVisual: typeof PrimerPageHeader.LeadingVisual;
23
13
  Title: typeof PageHeaderTitle;
24
- TrailingVisual: typeof PrimerPageHeader.TrailingVisual;
25
- Description: typeof PrimerPageHeader.Description;
26
- TrailingAction: typeof PrimerPageHeader.TrailingAction;
14
+ TitleArea: ForwardRefComponent<"div", PageHeaderTitleAreaProps>;
15
+ ContextArea: import("react").FC<PropsWithChildren<import("@primer/react").PageHeaderChildrenPropTypes>>;
16
+ ContextAreaActions: import("react").FC<PropsWithChildren<import("@primer/react").PageHeaderChildrenPropTypes>>;
17
+ TrailingVisual: import("react").FC<PropsWithChildren<import("@primer/react").PageHeaderChildrenPropTypes>>;
18
+ Description: import("react").FC<PropsWithChildren<import("@primer/react").PageHeaderChildrenPropTypes>>;
19
+ ContextBar: import("react").FC<PropsWithChildren<import("@primer/react").PageHeaderChildrenPropTypes>>;
20
+ LeadingAction: import("react").FC<PropsWithChildren<import("@primer/react").PageHeaderChildrenPropTypes>>;
21
+ Breadcrumbs: import("react").FC<PropsWithChildren<import("@primer/react").PageHeaderChildrenPropTypes>>;
22
+ LeadingVisual: import("react").FC<PropsWithChildren<import("@primer/react").PageHeaderChildrenPropTypes>>;
23
+ TrailingAction: import("react").FC<PropsWithChildren<import("@primer/react").PageHeaderChildrenPropTypes>>;
27
24
  };
28
- declare const PageHeader: PageHeaderComponentType;
29
25
  export { PageHeader };
30
26
  export type { PageHeaderProps, PageHeaderActionsProps, PageHeaderTitleProps };
31
27
  //# sourceMappingURL=PageHeader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PageHeader.d.ts","sourceRoot":"","sources":["../../src/components/PageHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,IAAI,gBAAgB,EAC9B,KAAK,eAAe,IAAI,qBAAqB,EAC7C,KAAK,oBAAoB,IAAI,0BAA0B,EACvD,KAAK,sBAAsB,IAAI,4BAA4B,EAC3D,KAAK,wBAAwB,IAAI,8BAA8B,EAChE,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AACrC,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,gBAAgB,CAAA;AAEv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ActionMenu",
5
5
  "Autocomplete",
6
6
  "Avatar",
7
- "BaseStyles",
8
7
  "Box",
9
- "Breadcrumb",
10
8
  "Breadcrumbs",
11
9
  "Button",
12
10
  "Checkbox",
@@ -28,7 +26,6 @@
28
26
  "Overlay",
29
27
  "PageHeader",
30
28
  "PageLayout",
31
- "ProgressBar",
32
29
  "RadioGroup",
33
30
  "RelativeTime",
34
31
  "SegmentedControl",
@@ -51,73 +48,17 @@
51
48
  "UnderlinePanels"
52
49
  ],
53
50
  "types": [
54
- "ActionListDividerProps",
55
- "ActionListGroupProps",
56
- "ActionListItemProps",
57
- "ActionListLeadingVisualProps",
58
- "ActionListLinkItemProps",
59
- "ActionListProps",
60
- "ActionListTrailingActionProps",
61
- "ActionListTrailingVisualProps",
62
- "AutocompleteOverlayProps",
63
- "AvatarProps",
64
51
  "BetterSystemStyleObject",
65
52
  "BoxProps",
66
- "BreadcrumbsItemProps",
67
- "BreadcrumbsProps",
68
- "CheckboxGroupProps",
69
- "CheckboxProps",
70
- "CounterLabelProps",
71
- "DataTableContainerProps",
72
- "DialogHeaderProps",
73
- "DialogProps",
74
53
  "HeaderProps",
75
- "LabelProps",
76
54
  "LinkButtonProps",
77
- "LinkProps",
78
- "NavListProps",
79
- "OcticonProps",
80
55
  "PageHeaderActionsProps",
81
56
  "PageHeaderProps",
82
57
  "PageHeaderTitleProps",
83
- "PageLayoutProps",
84
- "RadioGroupProps",
85
- "RelativeTimeProps",
86
- "SegmentedControlButtonProps",
87
- "SegmentedControlIconButtonProps",
88
- "SegmentedControlProps",
89
- "SpinnerProps",
90
- "StateLabelProps",
91
- "SubNavLinkProps",
92
- "SubNavProps",
93
58
  "SxProp",
94
- "TableActionsProps",
95
- "TableBodyProps",
96
- "TableCellProps",
97
- "TableHeaderProps",
98
- "TableHeadProps",
99
- "TableProps",
100
- "TableRowProps",
101
- "TableSubtitleProps",
102
- "TableTitleProps",
103
- "TabNavLinkProps",
104
- "TabNavProps",
105
59
  "TextInputProps",
106
- "TextProps",
107
- "TimelineBadgeProps",
108
- "TimelineBodyProps",
109
- "TimelineBreakProps",
110
- "TimelineItemProps",
111
- "TimelineProps",
112
- "ToggleSwitchProps",
113
60
  "TokenProps",
114
- "TooltipProps",
115
- "TruncateProps",
116
- "UnderlineNavItemProps",
117
- "UnderlineNavProps",
118
- "UnderlinePanelsPanelProps",
119
- "UnderlinePanelsProps",
120
- "UnderlinePanelsTabProps"
61
+ "TooltipProps"
121
62
  ],
122
63
  "utilities": [
123
64
  "merge",
@@ -1,6 +1,2 @@
1
- export { TabNav, type TabNavProps, type TabNavLinkProps } from './components/deprecated/TabNav';
2
- export { Dialog, type DialogProps, type DialogHeaderProps } from './components/deprecated/DialogV1';
3
- export { Octicon, type OcticonProps } from './components/deprecated/Octicon';
4
- export { Tooltip, type TooltipProps } from './components/deprecated/Tooltip';
5
- export { ActionList, type ActionListProps, type ActionListItemProps, type ActionListGroupProps, } from './components/deprecated/ActionList';
1
+ export { Dialog, Octicon, TabNav, Tooltip, type TooltipProps } from '@primer/react/deprecated';
6
2
  //# sourceMappingURL=deprecated.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"deprecated.d.ts","sourceRoot":"","sources":["../src/deprecated.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAE,KAAK,WAAW,EAAE,KAAK,eAAe,EAAC,MAAM,gCAAgC,CAAA;AAC7F,OAAO,EAAC,MAAM,EAAE,KAAK,WAAW,EAAE,KAAK,iBAAiB,EAAC,MAAM,kCAAkC,CAAA;AACjG,OAAO,EAAC,OAAO,EAAE,KAAK,YAAY,EAAC,MAAM,iCAAiC,CAAA;AAC1E,OAAO,EAAC,OAAO,EAAE,KAAK,YAAY,EAAC,MAAM,iCAAiC,CAAA;AAC1E,OAAO,EACL,UAAU,EACV,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,GAC1B,MAAM,oCAAoC,CAAA"}
1
+ {"version":3,"file":"deprecated.d.ts","sourceRoot":"","sources":["../src/deprecated.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,YAAY,EAAC,MAAM,0BAA0B,CAAA"}
@@ -1,5 +1 @@
1
- export { TabNav } from './components/deprecated/TabNav.js';
2
- export { Dialog } from './components/deprecated/DialogV1.js';
3
- export { default as Octicon } from './components/deprecated/Octicon.js';
4
- export { Tooltip } from './components/deprecated/Tooltip.js';
5
- export { ActionList } from './components/deprecated/ActionList.js';
1
+ export { Dialog, Octicon, TabNav, Tooltip } from '@primer/react/deprecated';
@@ -1,6 +1,3 @@
1
- export { Dialog, type DialogProps } from './components/Dialog';
2
1
  export { PageHeader, type PageHeaderProps, type PageHeaderActionsProps, type PageHeaderTitleProps, } from './components/PageHeader';
3
- export { Tooltip, type TooltipProps } from './components/Tooltip';
4
- export { UnderlinePanels, type UnderlinePanelsProps, type UnderlinePanelsTabProps, type UnderlinePanelsPanelProps, } from './components/UnderlinePanels';
5
- export { Table, type DataTableContainerProps, type TableProps, type TableHeadProps, type TableBodyProps, type TableRowProps, type TableHeaderProps, type TableCellProps, type TableTitleProps, type TableSubtitleProps, type TableActionsProps, } from './components/DataTable';
2
+ export { Dialog, Table, Tooltip, UnderlinePanels } from '@primer/react/experimental';
6
3
  //# sourceMappingURL=experimental.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"experimental.d.ts","sourceRoot":"","sources":["../src/experimental.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAE,KAAK,WAAW,EAAC,MAAM,qBAAqB,CAAA;AAC5D,OAAO,EACL,UAAU,EACV,KAAK,eAAe,EACpB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,GAC1B,MAAM,yBAAyB,CAAA;AAEhC,OAAO,EAAC,OAAO,EAAE,KAAK,YAAY,EAAC,MAAM,sBAAsB,CAAA;AAE/D,OAAO,EACL,eAAe,EACf,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,GAC/B,MAAM,8BAA8B,CAAA;AAErC,OAAO,EACL,KAAK,EACL,KAAK,uBAAuB,EAC5B,KAAK,UAAU,EACf,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,GACvB,MAAM,wBAAwB,CAAA"}
1
+ {"version":3,"file":"experimental.d.ts","sourceRoot":"","sources":["../src/experimental.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,KAAK,eAAe,EACpB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,GAC1B,MAAM,yBAAyB,CAAA;AAChC,OAAO,EAAC,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,eAAe,EAAC,MAAM,4BAA4B,CAAA"}
@@ -1,5 +1,5 @@
1
- export { Dialog } from './components/Dialog.js';
2
- export { PageHeader } from './components/PageHeader.js';
3
- export { Tooltip } from './components/Tooltip.js';
4
- export { UnderlinePanels } from './components/UnderlinePanels.js';
5
- export { Table } from './components/DataTable.js';
1
+ export { P as PageHeader } from './PageHeader-BYlYLcfB.js';
2
+ export { Dialog, Table, Tooltip, UnderlinePanels } from '@primer/react/experimental';
3
+ import '@primer/react';
4
+ import 'styled-components';
5
+ import 'react/jsx-runtime';
package/dist/index.d.ts CHANGED
@@ -1,50 +1,83 @@
1
- export { Box, type BoxProps } from './components/Box';
2
- export { Button } from '@primer/react';
3
- export { Details } from '@primer/react';
4
- export { FormControl } from '@primer/react';
5
- export { IconButton } from '@primer/react';
6
- export { ProgressBar } from '@primer/react';
7
- export { Select } from '@primer/react';
8
- export { Textarea } from '@primer/react';
9
- export { TextInput } from '@primer/react';
10
- export { type TextInputProps } from '@primer/react';
11
- export { ThemeProvider, useTheme, useColorSchemeVar, BaseStyles } from './components/FeatureFlaggedTheming';
12
- export { merge } from '@primer/react';
13
- export { theme } from '@primer/react';
14
- export { themeGet } from '@primer/react';
15
- export { ActionList, type ActionListProps, type ActionListItemProps, type ActionListLinkItemProps, type ActionListGroupProps, type ActionListDividerProps, type ActionListLeadingVisualProps, type ActionListTrailingVisualProps, type ActionListTrailingActionProps, } from './components/ActionList';
16
- export { ActionMenu } from './components/ActionMenu';
17
- export { Autocomplete, type AutocompleteOverlayProps } from './components/Autocomplete';
18
- export { Avatar, type AvatarProps } from './components/Avatar';
19
- export { Breadcrumbs, Breadcrumb, type BreadcrumbsProps, type BreadcrumbsItemProps } from './components/Breadcrumbs';
20
- export { Checkbox, type CheckboxProps } from './components/Checkbox';
21
- export { CheckboxGroup, type CheckboxGroupProps } from './components/CheckboxGroup';
22
- export { CircleBadge } from './components/CircleBadge';
23
- export { CounterLabel, type CounterLabelProps } from './components/CounterLabel';
24
- export { Dialog, type DialogProps } from './components/Dialog';
25
- export { Flash } from './components/Flash';
26
- export { Header, type HeaderProps } from './components/Header';
27
- export { Heading } from './components/Heading';
28
- export { Label, type LabelProps } from './components/Label';
29
- export { Link, type LinkProps } from './components/Link';
30
- export { LinkButton, type LinkButtonProps } from './components/LinkButton';
31
- export { NavList, type NavListProps } from './components/NavList';
32
- export { Overlay } from './components/Overlay';
33
- export { PageLayout, type PageLayoutProps } from './components/PageLayout';
1
+ import { type BetterSystemStyleObject, type BoxProps, type SxProp, type SpinnerProps as PrimerSpinnerProps, type RadioGroupProps as PrimerRadioGroupProps, type CheckboxProps as PrimerCheckboxProps, type RelativeTimeProps as PrimerRelativeTimeProps, type SubNavProps as PrimerSubNavProps, type SubNavLinkProps as PrimerSubNavLinkProps, type TimelineBadgeProps as PrimerTimelineBadgeProps, type ToggleSwitchProps as PrimerToggleSwitchProps, type TruncateProps as PrimerTruncateProps, type SegmentedControlProps as PrimerSegmentedControlProps, type SegmentedControlButtonProps as PrimerSegmentedControlButtonProps, type SegmentedControlIconButtonProps as PrimerSegmentedControlIconButtonProps, type UnderlineNavProps as PrimerUnderlineNavProps, type UnderlineNavItemProps as PrimerUnderlineNavItemProps } from '@primer/react';
2
+ import React, { type PropsWithChildren } from 'react';
3
+ import type { ForwardRefComponent } from './polymorphic';
4
+ import type { BackgroundProps, BorderProps, ColorProps, FlexboxProps, GridProps, LayoutProps, PositionProps, ShadowProps, SpaceProps, TypographyProps } from 'styled-system';
5
+ import { LinkButton, type LinkButtonProps } from './components/LinkButton';
6
+ type StyledProps = SxProp & SpaceProps & ColorProps & TypographyProps & LayoutProps & FlexboxProps & GridProps & BackgroundProps & BorderProps & PositionProps & ShadowProps;
7
+ type SpinnerProps = PrimerSpinnerProps & SxProp;
8
+ declare function Spinner(props: SpinnerProps): React.JSX.Element;
9
+ type RelativeTimeProps = PrimerRelativeTimeProps & SxProp;
10
+ declare function RelativeTime(props: RelativeTimeProps): React.JSX.Element;
11
+ type RadioGroupProps = PropsWithChildren<PrimerRadioGroupProps> & SxProp;
12
+ type CheckboxOrRadioGroupLabelProps = PropsWithChildren<{
13
+ className?: string;
14
+ visuallyHidden?: boolean;
15
+ } & SxProp>;
16
+ type CheckboxOrRadioGroupCaptionProps = PropsWithChildren<{
17
+ className?: string;
18
+ } & SxProp>;
19
+ type CheckboxOrRadioGroupValidationProps = PropsWithChildren<{
20
+ className?: string;
21
+ variant: 'error' | 'success';
22
+ } & SxProp>;
23
+ declare const RadioGroup: ((props: RadioGroupProps) => React.JSX.Element) & {
24
+ Label: (props: CheckboxOrRadioGroupLabelProps) => React.JSX.Element;
25
+ Caption: (props: CheckboxOrRadioGroupCaptionProps) => React.JSX.Element;
26
+ Validation: (props: CheckboxOrRadioGroupValidationProps) => React.JSX.Element;
27
+ };
28
+ type SegmentedControlProps = PropsWithChildren<PrimerSegmentedControlProps> & SxProp;
29
+ type SegmentedControlButtonProps = PropsWithChildren<PrimerSegmentedControlButtonProps> & SxProp;
30
+ type SegmentedControlIconButtonProps = PropsWithChildren<PrimerSegmentedControlIconButtonProps> & SxProp;
31
+ declare const SegmentedControl: ((props: SegmentedControlProps) => React.JSX.Element) & {
32
+ Button: (props: SegmentedControlButtonProps) => React.JSX.Element;
33
+ IconButton: (props: SegmentedControlIconButtonProps) => React.JSX.Element;
34
+ };
35
+ type CheckboxProps = PrimerCheckboxProps & SxProp;
36
+ declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
37
+ declare const CounterLabel: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & {
38
+ scheme?: "primary" | "secondary";
39
+ className?: string;
40
+ } & {
41
+ children?: React.ReactNode | undefined;
42
+ } & SxProp & React.RefAttributes<HTMLSpanElement>>;
43
+ declare const StateLabel: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & {
44
+ variant?: "small" | "normal";
45
+ status: "open" | "issueOpened" | "pullOpened" | "issueClosed" | "issueClosedNotPlanned" | "pullClosed" | "pullMerged" | "draft" | "issueDraft" | "pullQueued" | "unavailable" | "closed";
46
+ } & SxProp & React.RefAttributes<HTMLSpanElement>>;
47
+ type SubNavProps = PrimerSubNavProps & SxProp;
48
+ type SubNavLinkProps = PrimerSubNavLinkProps & SxProp;
49
+ declare const SubNav: React.ForwardRefExoticComponent<Omit<SubNavProps, "ref"> & React.RefAttributes<HTMLElement>> & {
50
+ Link: React.ForwardRefExoticComponent<Omit<SubNavLinkProps, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
51
+ };
52
+ type TimelineBadgeProps = PrimerTimelineBadgeProps & SxProp;
53
+ declare function TimelineBadge(props: TimelineBadgeProps): React.JSX.Element;
54
+ declare const Timeline: React.ForwardRefExoticComponent<{
55
+ clipSidebar?: boolean;
56
+ className?: string;
57
+ } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & SxProp & React.RefAttributes<HTMLDivElement>> & {
58
+ Item: React.ForwardRefExoticComponent<{
59
+ condensed?: boolean;
60
+ className?: string;
61
+ } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & SxProp & React.RefAttributes<HTMLDivElement>>;
62
+ Badge: typeof TimelineBadge;
63
+ Body: React.ForwardRefExoticComponent<{
64
+ className?: string;
65
+ } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & SxProp & React.RefAttributes<HTMLDivElement>>;
66
+ Break: React.ForwardRefExoticComponent<{
67
+ className?: string;
68
+ } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & SxProp & React.RefAttributes<HTMLDivElement>>;
69
+ };
70
+ declare const ToggleSwitch: React.ForwardRefExoticComponent<PrimerToggleSwitchProps & Omit<StyledProps, keyof PrimerToggleSwitchProps> & React.RefAttributes<HTMLButtonElement>>;
34
71
  export { PageHeader, type PageHeaderProps, type PageHeaderActionsProps, type PageHeaderTitleProps, } from './components/PageHeader';
35
- export { RadioGroup, type RadioGroupProps } from './components/RadioGroup';
36
- export { RelativeTime, type RelativeTimeProps } from './components/RelativeTime';
37
- export { SegmentedControl, type SegmentedControlProps, type SegmentedControlButtonProps, type SegmentedControlIconButtonProps, } from './components/SegmentedControl';
38
- export { Spinner, type SpinnerProps } from './components/Spinner';
39
- export { StateLabel, type StateLabelProps } from './components/StateLabel';
40
- export { SubNav, type SubNavProps, type SubNavLinkProps } from './components/SubNav';
41
- export { Text, type TextProps } from './components/Text';
42
- export { Timeline, type TimelineProps, type TimelineItemProps, type TimelineBadgeProps, type TimelineBodyProps, type TimelineBreakProps, } from './components/Timeline';
43
- export { ToggleSwitch, type ToggleSwitchProps } from './components/ToggleSwitch';
44
- export { Tooltip, type TooltipProps } from './components/Tooltip';
45
- export { Token, type TokenProps } from './components/Token';
46
- export { Truncate, type TruncateProps } from './components/Truncate';
47
- export { UnderlineNav, type UnderlineNavProps, type UnderlineNavItemProps } from './components/UnderlineNav';
48
- export { sx, type SxProp } from './sx';
49
- export type { BetterSystemStyleObject } from './styled-props';
72
+ type TruncateProps = PropsWithChildren<PrimerTruncateProps> & SxProp;
73
+ declare const Truncate: ForwardRefComponent<'div', TruncateProps>;
74
+ type UnderlineNavItemProps = PrimerUnderlineNavItemProps & SxProp;
75
+ declare const UnderlineNav: React.ForwardRefExoticComponent<PrimerUnderlineNavProps & SxProp & React.RefAttributes<HTMLElement>> & {
76
+ Item: ForwardRefComponent<"a", UnderlineNavItemProps>;
77
+ };
78
+ export { Header, type HeaderProps } from './components/Header';
79
+ export { Flash } from './components/Flash';
80
+ export { Checkbox, CounterLabel, LinkButton, type LinkButtonProps, RadioGroup, RelativeTime, SegmentedControl, Spinner, StateLabel, SubNav, Timeline, ToggleSwitch, Truncate, UnderlineNav, };
81
+ export { ActionList, ActionMenu, Autocomplete, Avatar, Breadcrumbs, Button, CheckboxGroup, CircleBadge, Details, Dialog, FormControl, Heading, IconButton, Label, Link, NavList, Overlay, PageLayout, Select, Text, Textarea, TextInput, type TextInputProps, Token, type TokenProps, Tooltip, Box, sx, ThemeProvider, merge, theme, themeGet, useColorSchemeVar, useTheme, } from '@primer/react';
82
+ export type { BoxProps, SxProp, BetterSystemStyleObject };
50
83
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAEA,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,WAAW,EAAC,MAAM,eAAe,CAAA;AACzC,OAAO,EAAC,UAAU,EAAC,MAAM,eAAe,CAAA;AACxC,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAA;AACzC,OAAO,EAAC,MAAM,EAAC,MAAM,eAAe,CAAA;AACpC,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe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