@primer/styled-react 0.0.0-20251004201606 → 0.0.0-20251006115227

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.
@@ -10,14 +10,11 @@ const Tooltip = /*#__PURE__*/forwardRef(function Tooltip(props, ref) {
10
10
  ...props
11
11
  });
12
12
  });
13
- // Cast the polymorphic component to a compatible type for styled-components
14
- const DeprecatedTooltipComponent = Tooltip$2;
15
- const DeprecatedTooltip = /*#__PURE__*/forwardRef(function DeprecatedTooltip(props, ref) {
13
+ function DeprecatedTooltip(props) {
16
14
  return /*#__PURE__*/jsx(Box, {
17
- as: DeprecatedTooltipComponent,
18
- ref: ref,
15
+ as: Tooltip$2,
19
16
  ...props
20
17
  });
21
- });
18
+ }
22
19
 
23
20
  export { DeprecatedTooltip as D, Tooltip as T };
@@ -5,6 +5,6 @@ type TooltipProps = PrimerTooltipProps & SxProp;
5
5
  declare const Tooltip: ForwardRefExoticComponent<TooltipProps & RefAttributes<HTMLDivElement>>;
6
6
  export { Tooltip, type TooltipProps };
7
7
  type DeprecatedTooltipProps = PrimerDeprecatedTooltipProps & SxProp;
8
- declare const DeprecatedTooltip: ForwardRefExoticComponent<DeprecatedTooltipProps & RefAttributes<HTMLSpanElement>>;
8
+ declare function DeprecatedTooltip(props: DeprecatedTooltipProps): import("react").JSX.Element;
9
9
  export { DeprecatedTooltip, type DeprecatedTooltipProps };
10
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;AAC5G,OAAO,EAEL,KAAK,YAAY,IAAI,4BAA4B,EAClD,MAAM,0BAA0B,CAAA;AAEjC,OAAO,EAAa,KAAK,yBAAyB,EAAE,KAAK,aAAa,EAAqB,MAAM,OAAO,CAAA;AAExG,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;AAKnE,QAAA,MAAM,iBAAiB,EAAE,yBAAyB,CAAC,sBAAsB,GAAG,aAAa,CAAC,eAAe,CAAC,CAGtG,CAAA;AACJ,OAAO,EAAC,iBAAiB,EAAE,KAAK,sBAAsB,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"}
@@ -4,7 +4,7 @@ import { sx, Box } from '@primer/react';
4
4
  import styled from 'styled-components';
5
5
  import { forwardRef } from 'react';
6
6
  import { jsx } from 'react/jsx-runtime';
7
- export { D as Tooltip } from './Tooltip-BG0Yv54T.js';
7
+ export { D as Tooltip } from './Tooltip-YuSlJ5b_.js';
8
8
 
9
9
  const StyledTabNav = styled(TabNav$1).withConfig({
10
10
  shouldForwardProp: prop => prop !== 'sx'
@@ -1,5 +1,5 @@
1
1
  export { D as Dialog, P as PageHeader } from './PageHeader-DCDIR2C1.js';
2
- export { T as Tooltip } from './Tooltip-BG0Yv54T.js';
2
+ export { T as Tooltip } from './Tooltip-YuSlJ5b_.js';
3
3
  import { UnderlinePanels as UnderlinePanels$1 } from '@primer/react/experimental';
4
4
  export { Table } from '@primer/react/experimental';
5
5
  import styled from 'styled-components';
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ import styled from 'styled-components';
4
4
  import React, { forwardRef } from 'react';
5
5
  import { jsx } from 'react/jsx-runtime';
6
6
  export { D as Dialog, P as PageHeader } from './PageHeader-DCDIR2C1.js';
7
- export { T as Tooltip } from './Tooltip-BG0Yv54T.js';
7
+ export { T as Tooltip } from './Tooltip-YuSlJ5b_.js';
8
8
  import css from '@styled-system/css';
9
9
  import '@primer/react/deprecated';
10
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/styled-react",
3
- "version": "0.0.0-20251004201606",
3
+ "version": "0.0.0-20251006115227",
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-20251004201606",
33
+ "@primer/react": "0.0.0-20251006115227",
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-20251004201606",
49
+ "@primer/react": "0.0.0-20251006115227",
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",