@primer/styled-react 0.0.0-20251006232037 → 0.0.0-20251006232453

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.
@@ -1,4 +1,4 @@
1
- import { Dialog as Dialog$1, Box, PageHeader as PageHeader$1, sx, Tooltip as Tooltip$1 } from '@primer/react';
1
+ import { Dialog as Dialog$1, Box, PageHeader as PageHeader$1, sx } from '@primer/react';
2
2
  import React, { forwardRef } from 'react';
3
3
  import { jsx } from 'react/jsx-runtime';
4
4
  import styled from 'styled-components';
@@ -141,12 +141,4 @@ const PageHeader = Object.assign(PageHeaderImpl, {
141
141
  TrailingAction: PageHeader$1.TrailingAction
142
142
  });
143
143
 
144
- const Tooltip = /*#__PURE__*/forwardRef(function Tooltip(props, ref) {
145
- return /*#__PURE__*/jsx(Box, {
146
- as: Tooltip$1,
147
- ref: ref,
148
- ...props
149
- });
150
- });
151
-
152
- export { Dialog as D, PageHeader as P, Tooltip as T };
144
+ export { Dialog as D, PageHeader as P };
@@ -0,0 +1,20 @@
1
+ import { Box, Tooltip as Tooltip$1 } from '@primer/react';
2
+ import { Tooltip as Tooltip$2 } from '@primer/react/deprecated';
3
+ import { forwardRef } from 'react';
4
+ import { jsx } from 'react/jsx-runtime';
5
+
6
+ const Tooltip = /*#__PURE__*/forwardRef(function Tooltip(props, ref) {
7
+ return /*#__PURE__*/jsx(Box, {
8
+ as: Tooltip$1,
9
+ ref: ref,
10
+ ...props
11
+ });
12
+ });
13
+ function DeprecatedTooltip(props) {
14
+ return /*#__PURE__*/jsx(Box, {
15
+ as: Tooltip$2,
16
+ ...props
17
+ });
18
+ }
19
+
20
+ export { DeprecatedTooltip as D, Tooltip as T };
@@ -1,6 +1,6 @@
1
1
  import type { DialogProps as PrimerDialogProps, DialogHeaderProps as PrimerDialogHeaderProps } from '@primer/react/deprecated';
2
- import type { SxProp } from '../../sx';
3
- import type { ForwardRefComponent } from '../../polymorphic';
2
+ import type { SxProp } from '../sx';
3
+ import type { ForwardRefComponent } from '../polymorphic';
4
4
  type DialogProps = PrimerDialogProps & SxProp;
5
5
  type DialogHeaderProps = PrimerDialogHeaderProps & SxProp;
6
6
  declare const Dialog: ForwardRefComponent<"div", DialogProps> & {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DialogV1.d.ts","sourceRoot":"","sources":["../../src/components/DialogV1.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,WAAW,IAAI,iBAAiB,EAChC,iBAAiB,IAAI,uBAAuB,EAC7C,MAAM,0BAA0B,CAAA;AAEjC,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,OAAO,CAAA;AAEjC,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,gBAAgB,CAAA;AAEvD,KAAK,WAAW,GAAG,iBAAiB,GAAG,MAAM,CAAA;AAU7C,KAAK,iBAAiB,GAAG,uBAAuB,GAAG,MAAM,CAAA;AAUzD,QAAA,MAAM,MAAM;;CAEV,CAAA;AAEF,OAAO,EAAC,MAAM,EAAC,CAAA;AACf,YAAY,EAAC,WAAW,EAAE,iBAAiB,EAAC,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import type { TabNavProps as PrimerTabNavProps, TabNavLinkProps as PrimerTabNavLinkProps } from '@primer/react/deprecated';
2
- import { type SxProp } from '../../sx';
2
+ import { type SxProp } from '../sx';
3
3
  type TabNavProps = PrimerTabNavProps & SxProp;
4
4
  type TabNavLinkProps = PrimerTabNavLinkProps & SxProp;
5
5
  declare const TabNav: (({ as, ...props }: TabNavProps) => import("react").JSX.Element) & {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TabNav.d.ts","sourceRoot":"","sources":["../../src/components/TabNav.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,WAAW,IAAI,iBAAiB,EAAE,eAAe,IAAI,qBAAqB,EAAC,MAAM,0BAA0B,CAAA;AACxH,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AAIrC,KAAK,WAAW,GAAG,iBAAiB,GAAG,MAAM,CAAA;AAC7C,KAAK,eAAe,GAAG,qBAAqB,GAAG,MAAM,CAAA;AAsBrD,QAAA,MAAM,MAAM,sBAdwB,WAAW;;CAgB7C,CAAA;AAEF,OAAO,EAAC,MAAM,EAAE,KAAK,WAAW,EAAE,KAAK,eAAe,EAAC,CAAA"}
@@ -1,6 +1,10 @@
1
1
  import { type TooltipProps as PrimerTooltipProps, type SxProp } from '@primer/react';
2
+ import { type TooltipProps as PrimerDeprecatedTooltipProps } from '@primer/react/deprecated';
2
3
  import { type ForwardRefExoticComponent, type RefAttributes } from 'react';
3
4
  type TooltipProps = PrimerTooltipProps & SxProp;
4
5
  declare const Tooltip: ForwardRefExoticComponent<TooltipProps & RefAttributes<HTMLDivElement>>;
5
6
  export { Tooltip, type TooltipProps };
7
+ type DeprecatedTooltipProps = PrimerDeprecatedTooltipProps & SxProp;
8
+ declare function DeprecatedTooltip(props: DeprecatedTooltipProps): import("react").JSX.Element;
9
+ export { DeprecatedTooltip, type DeprecatedTooltipProps };
6
10
  //# sourceMappingURL=Tooltip.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../src/components/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2B,KAAK,YAAY,IAAI,kBAAkB,EAAE,KAAK,MAAM,EAAC,MAAM,eAAe,CAAA;AAE5G,OAAO,EAAa,KAAK,yBAAyB,EAAE,KAAK,aAAa,EAAC,MAAM,OAAO,CAAA;AAEpF,KAAK,YAAY,GAAG,kBAAkB,GAAG,MAAM,CAAA;AAE/C,QAAA,MAAM,OAAO,EAAE,yBAAyB,CAAC,YAAY,GAAG,aAAa,CAAC,cAAc,CAAC,CAKnF,CAAA;AAEF,OAAO,EAAC,OAAO,EAAE,KAAK,YAAY,EAAC,CAAA"}
1
+ {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../src/components/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2B,KAAK,YAAY,IAAI,kBAAkB,EAAE,KAAK,MAAM,EAAC,MAAM,eAAe,CAAA;AAC5G,OAAO,EAEL,KAAK,YAAY,IAAI,4BAA4B,EAClD,MAAM,0BAA0B,CAAA;AAEjC,OAAO,EAAa,KAAK,yBAAyB,EAAE,KAAK,aAAa,EAAC,MAAM,OAAO,CAAA;AAEpF,KAAK,YAAY,GAAG,kBAAkB,GAAG,MAAM,CAAA;AAE/C,QAAA,MAAM,OAAO,EAAE,yBAAyB,CAAC,YAAY,GAAG,aAAa,CAAC,cAAc,CAAC,CAKnF,CAAA;AAEF,OAAO,EAAC,OAAO,EAAE,KAAK,YAAY,EAAC,CAAA;AAEnC,KAAK,sBAAsB,GAAG,4BAA4B,GAAG,MAAM,CAAA;AAEnE,iBAAS,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,+BAEvD;AACD,OAAO,EAAC,iBAAiB,EAAE,KAAK,sBAAsB,EAAC,CAAA"}
@@ -75,6 +75,7 @@
75
75
  "LinkButtonProps",
76
76
  "LinkProps",
77
77
  "NavListProps",
78
+ "OcticonProps",
78
79
  "PageHeaderActionsProps",
79
80
  "PageHeaderProps",
80
81
  "PageHeaderTitleProps",
@@ -1,6 +1,5 @@
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 } from '@primer/react/deprecated';
4
- export { Tooltip, type TooltipProps } from './components/deprecated/Tooltip';
5
- export { ActionList, type ActionListProps, type ActionListItemProps, type ActionListGroupProps, } from './components/deprecated/ActionList';
1
+ export { TabNav, type TabNavProps, type TabNavLinkProps } from './components/TabNav';
2
+ export { Dialog, type DialogProps, type DialogHeaderProps } from './components/DialogV1';
3
+ export { Octicon, type OcticonProps } from './components/Octicon';
4
+ export { DeprecatedTooltip as Tooltip, type DeprecatedTooltipProps as TooltipProps } from './components/Tooltip';
6
5
  //# 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,EAAC,MAAM,0BAA0B,CAAA;AAChD,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,KAAK,WAAW,EAAE,KAAK,eAAe,EAAC,MAAM,qBAAqB,CAAA;AAClF,OAAO,EAAC,MAAM,EAAE,KAAK,WAAW,EAAE,KAAK,iBAAiB,EAAC,MAAM,uBAAuB,CAAA;AACtF,OAAO,EAAC,OAAO,EAAE,KAAK,YAAY,EAAC,MAAM,sBAAsB,CAAA;AAC/D,OAAO,EAAC,iBAAiB,IAAI,OAAO,EAAE,KAAK,sBAAsB,IAAI,YAAY,EAAC,MAAM,sBAAsB,CAAA"}
@@ -1,15 +1,15 @@
1
- import { TabNav as TabNav$1, Dialog as Dialog$1, Tooltip as Tooltip$1, ActionList as ActionList$1 } from '@primer/react/deprecated';
2
- export { Octicon } from '@primer/react/deprecated';
1
+ import { TabNav as TabNav$1, Dialog as Dialog$1, Octicon as Octicon$1 } from '@primer/react/deprecated';
3
2
  import { sx, Box } from '@primer/react';
4
3
  import styled from 'styled-components';
5
4
  import { forwardRef } from 'react';
6
5
  import { jsx } from 'react/jsx-runtime';
6
+ export { D as Tooltip } from './Tooltip-YuSlJ5b_.js';
7
7
 
8
8
  const StyledTabNav = styled(TabNav$1).withConfig({
9
9
  shouldForwardProp: prop => prop !== 'sx'
10
10
  }).withConfig({
11
11
  displayName: "TabNav__StyledTabNav",
12
- componentId: "sc-13kad3t-0"
12
+ componentId: "sc-v7az9x-0"
13
13
  })(["", ""], sx);
14
14
  const TabNavImpl = ({
15
15
  as,
@@ -26,7 +26,7 @@ const StyledTabNavLink = styled(TabNav$1.Link).withConfig({
26
26
  shouldForwardProp: prop => prop !== 'sx'
27
27
  }).withConfig({
28
28
  displayName: "TabNav__StyledTabNavLink",
29
- componentId: "sc-13kad3t-1"
29
+ componentId: "sc-v7az9x-1"
30
30
  })(["", ""], sx);
31
31
  const TabNavLink = /*#__PURE__*/forwardRef(({
32
32
  as,
@@ -80,17 +80,30 @@ const Dialog = Object.assign(DialogImpl, {
80
80
  Header: DialogHeader
81
81
  });
82
82
 
83
- const StyledTooltip = styled(Tooltip$1).withConfig({
84
- shouldForwardProp: prop => prop !== 'sx'
83
+ /**
84
+ * @deprecated Use the icon component directly from `@primer/octicons-react` instead
85
+ */
86
+ const StyledOcticon = styled(Octicon$1).withConfig({
87
+ shouldForwardProp(prop) {
88
+ return prop !== 'sx';
89
+ }
85
90
  }).withConfig({
86
- displayName: "Tooltip__StyledTooltip",
87
- componentId: "sc-145jcib-0"
88
- })(["", ""], sx);
89
- const TooltipImpl = /*#__PURE__*/forwardRef(function Tooltip({
91
+ displayName: "Octicon__StyledOcticon",
92
+ componentId: "sc-17xnf60-0"
93
+ })(["", ""], ({
94
+ color,
95
+ sx: sxProp
96
+ }) => sx({
97
+ sx: {
98
+ color,
99
+ ...sxProp
100
+ }
101
+ }));
102
+ const Octicon = /*#__PURE__*/forwardRef(({
90
103
  as,
91
104
  ...props
92
- }, ref) {
93
- return /*#__PURE__*/jsx(StyledTooltip, {
105
+ }, ref) => {
106
+ return /*#__PURE__*/jsx(StyledOcticon, {
94
107
  ...props,
95
108
  ...(as ? {
96
109
  forwardedAs: as
@@ -98,51 +111,5 @@ const TooltipImpl = /*#__PURE__*/forwardRef(function Tooltip({
98
111
  ref: ref
99
112
  });
100
113
  });
101
- const Tooltip = TooltipImpl;
102
-
103
- // Preserve static properties from the original component
104
- Tooltip.alignments = Tooltip$1.alignments;
105
- Tooltip.directions = Tooltip$1.directions;
106
-
107
- const ActionListImpl = /*#__PURE__*/forwardRef(function ActionList(props, ref) {
108
- return /*#__PURE__*/jsx(Box, {
109
- as: ActionList$1,
110
- ref: ref,
111
- ...props
112
- });
113
- });
114
- const StyledActionListItem = styled(ActionList$1.Item).withConfig({
115
- shouldForwardProp: prop => prop !== 'sx'
116
- }).withConfig({
117
- displayName: "ActionList__StyledActionListItem",
118
- componentId: "sc-1ugfmds-0"
119
- })(["", ""], sx);
120
- const ActionListItem = /*#__PURE__*/forwardRef(({
121
- as,
122
- ...props
123
- }, ref) => /*#__PURE__*/jsx(StyledActionListItem, {
124
- ...props,
125
- ...(as ? {
126
- forwardedAs: as
127
- } : {}),
128
- ref: ref
129
- }));
130
- function ActionListGroup(props) {
131
- return /*#__PURE__*/jsx(Box, {
132
- as: ActionList$1.Group,
133
- ...props
134
- });
135
- }
136
- function ActionListDivider(props) {
137
- return /*#__PURE__*/jsx(Box, {
138
- as: ActionList$1.Divider,
139
- ...props
140
- });
141
- }
142
- const ActionList = Object.assign(ActionListImpl, {
143
- Item: ActionListItem,
144
- Group: ActionListGroup,
145
- Divider: ActionListDivider
146
- });
147
114
 
148
- export { ActionList, Dialog, TabNav, Tooltip };
115
+ export { Dialog, Octicon, TabNav };
@@ -1,9 +1,11 @@
1
- export { D as Dialog, P as PageHeader, T as Tooltip } from './Tooltip-DIHgr01r.js';
1
+ export { D as Dialog, P as PageHeader } from './PageHeader-DCDIR2C1.js';
2
+ export { T as Tooltip } from './Tooltip-YuSlJ5b_.js';
2
3
  import { UnderlinePanels as UnderlinePanels$1, Table as Table$1 } from '@primer/react/experimental';
3
4
  import styled from 'styled-components';
4
5
  import { sx } from '@primer/react';
5
6
  import { jsx } from 'react/jsx-runtime';
6
7
  import 'react';
8
+ import '@primer/react/deprecated';
7
9
 
8
10
  const StyledUnderlinePanels = styled(UnderlinePanels$1).withConfig({
9
11
  shouldForwardProp: prop => prop !== 'sx'
package/dist/index.js CHANGED
@@ -3,8 +3,10 @@ export { Box, Button, Details, FormControl, IconButton, PageLayout, ProgressBar,
3
3
  import React, { forwardRef } from 'react';
4
4
  import styled from 'styled-components';
5
5
  import { jsx } from 'react/jsx-runtime';
6
- export { D as Dialog, P as PageHeader, T as Tooltip } from './Tooltip-DIHgr01r.js';
6
+ export { D as Dialog, P as PageHeader } from './PageHeader-DCDIR2C1.js';
7
+ export { T as Tooltip } from './Tooltip-YuSlJ5b_.js';
7
8
  import css from '@styled-system/css';
9
+ import '@primer/react/deprecated';
8
10
 
9
11
  const StyledActionList = styled(ActionList$1).withConfig({
10
12
  shouldForwardProp: prop => prop !== 'sx'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/styled-react",
3
- "version": "0.0.0-20251006232037",
3
+ "version": "0.0.0-20251006232453",
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-20251006232037",
33
+ "@primer/react": "0.0.0-20251006232453",
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-20251006232037",
49
+ "@primer/react": "0.0.0-20251006232453",
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",
@@ -1,23 +0,0 @@
1
- import { type PropsWithChildren } from 'react';
2
- import { type ActionListProps as PrimerActionListProps, type ActionListItemProps as PrimerActionListItemProps, type ActionListGroupProps as PrimerActionListGroupProps } from '@primer/react/deprecated';
3
- import { type SxProp } from '../../sx';
4
- import type { ActionListDividerProps } from '@primer/react';
5
- type ActionListProps = PropsWithChildren<PrimerActionListProps & SxProp>;
6
- type ActionListItemProps = PropsWithChildren<PrimerActionListItemProps & SxProp & {
7
- as?: React.ElementType;
8
- }>;
9
- type ActionListGroupProps = PropsWithChildren<PrimerActionListGroupProps & SxProp>;
10
- declare function ActionListGroup(props: ActionListGroupProps): import("react").JSX.Element;
11
- declare function ActionListDivider(props: ActionListDividerProps): import("react").JSX.Element;
12
- declare const ActionList: import("react").ForwardRefExoticComponent<ActionListProps & import("react").RefAttributes<HTMLDivElement>> & {
13
- Item: import("react").ForwardRefExoticComponent<PrimerActionListItemProps & SxProp & {
14
- as?: React.ElementType;
15
- } & {
16
- children?: import("react").ReactNode | undefined;
17
- } & import("react").RefAttributes<HTMLLIElement>>;
18
- Group: typeof ActionListGroup;
19
- Divider: typeof ActionListDivider;
20
- };
21
- export type { ActionListProps, ActionListItemProps, ActionListGroupProps };
22
- export { ActionList };
23
- //# sourceMappingURL=ActionList.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ActionList.d.ts","sourceRoot":"","sources":["../../../src/components/deprecated/ActionList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,iBAAiB,EAAa,MAAM,OAAO,CAAA;AACxD,OAAO,EAEL,KAAK,eAAe,IAAI,qBAAqB,EAC7C,KAAK,mBAAmB,IAAI,yBAAyB,EACrD,KAAK,oBAAoB,IAAI,0BAA0B,EACxD,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,UAAU,CAAA;AAGxC,OAAO,KAAK,EAAC,sBAAsB,EAAC,MAAM,eAAe,CAAA;AAEzD,KAAK,eAAe,GAAG,iBAAiB,CAAC,qBAAqB,GAAG,MAAM,CAAC,CAAA;AAExE,KAAK,mBAAmB,GAAG,iBAAiB,CAAC,yBAAyB,GAAG,MAAM,GAAG;IAAC,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;CAAC,CAAC,CAAA;AAC3G,KAAK,oBAAoB,GAAG,iBAAiB,CAAC,0BAA0B,GAAG,MAAM,CAAC,CAAA;AAgBlF,iBAAS,eAAe,CAAC,KAAK,EAAE,oBAAoB,+BAEnD;AAED,iBAAS,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,+BAEvD;AAED,QAAA,MAAM,UAAU;;aAzBwE,KAAK,CAAC,WAAW;;;;;;CA6BvG,CAAA;AAEF,YAAY,EAAC,eAAe,EAAE,mBAAmB,EAAE,oBAAoB,EAAC,CAAA;AACxE,OAAO,EAAC,UAAU,EAAC,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"DialogV1.d.ts","sourceRoot":"","sources":["../../../src/components/deprecated/DialogV1.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,WAAW,IAAI,iBAAiB,EAChC,iBAAiB,IAAI,uBAAuB,EAC7C,MAAM,0BAA0B,CAAA;AAEjC,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,UAAU,CAAA;AAEpC,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,mBAAmB,CAAA;AAE1D,KAAK,WAAW,GAAG,iBAAiB,GAAG,MAAM,CAAA;AAU7C,KAAK,iBAAiB,GAAG,uBAAuB,GAAG,MAAM,CAAA;AAUzD,QAAA,MAAM,MAAM;;CAEV,CAAA;AAEF,OAAO,EAAC,MAAM,EAAC,CAAA;AACf,YAAY,EAAC,WAAW,EAAE,iBAAiB,EAAC,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"TabNav.d.ts","sourceRoot":"","sources":["../../../src/components/deprecated/TabNav.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,WAAW,IAAI,iBAAiB,EAAE,eAAe,IAAI,qBAAqB,EAAC,MAAM,0BAA0B,CAAA;AACxH,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,UAAU,CAAA;AAIxC,KAAK,WAAW,GAAG,iBAAiB,GAAG,MAAM,CAAA;AAC7C,KAAK,eAAe,GAAG,qBAAqB,GAAG,MAAM,CAAA;AAsBrD,QAAA,MAAM,MAAM,sBAdwB,WAAW;;CAgB7C,CAAA;AAEF,OAAO,EAAC,MAAM,EAAE,KAAK,WAAW,EAAE,KAAK,eAAe,EAAC,CAAA"}
@@ -1,13 +0,0 @@
1
- import { type TooltipProps as PrimerTooltipProps } from '@primer/react/deprecated';
2
- import { type SxProp } from '../../sx';
3
- import { type PropsWithChildren } from 'react';
4
- type TooltipProps = PropsWithChildren<PrimerTooltipProps & SxProp & {
5
- as?: React.ElementType;
6
- }>;
7
- declare const TooltipImpl: import("react").ForwardRefExoticComponent<Omit<TooltipProps, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
8
- declare const Tooltip: typeof TooltipImpl & {
9
- alignments: string[];
10
- directions: string[];
11
- };
12
- export { Tooltip, type TooltipProps };
13
- //# sourceMappingURL=Tooltip.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/deprecated/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2B,KAAK,YAAY,IAAI,kBAAkB,EAAC,MAAM,0BAA0B,CAAA;AAE1G,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,UAAU,CAAA;AACxC,OAAO,EAAC,KAAK,iBAAiB,EAAC,MAAM,OAAO,CAAA;AAI5C,KAAK,YAAY,GAAG,iBAAiB,CAAC,kBAAkB,GAAG,MAAM,GAAG;IAAC,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;CAAC,CAAC,CAAA;AAQ7F,QAAA,MAAM,WAAW,uHAEf,CAAA;AAEF,QAAA,MAAM,OAAO,EAAkB,OAAO,WAAW,GAAG;IAClD,UAAU,EAAE,MAAM,EAAE,CAAA;IACpB,UAAU,EAAE,MAAM,EAAE,CAAA;CACrB,CAAA;AAMD,OAAO,EAAC,OAAO,EAAE,KAAK,YAAY,EAAC,CAAA"}