@primer/styled-react 0.0.0-20251008052055 → 0.0.0-20251008053425

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,10 +1,7 @@
1
1
  import { type TextProps as PrimerTextProps } from '@primer/react';
2
2
  import { type SxProp } from '../sx';
3
- import type React from 'react';
4
- import type { ForwardRefComponent } from '../polymorphic';
5
- type TextProps = PrimerTextProps & SxProp & {
6
- as?: React.ElementType;
7
- };
8
- declare const Text: ForwardRefComponent<"span", TextProps>;
3
+ import { type StyledComponent } from 'styled-components';
4
+ type TextProps = PrimerTextProps & SxProp;
5
+ declare const Text: StyledComponent<"span", any, TextProps, never>;
9
6
  export { Text, type TextProps };
10
7
  //# sourceMappingURL=Text.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../src/components/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,SAAS,IAAI,eAAe,EAAC,MAAM,eAAe,CAAA;AACnF,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AAErC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,gBAAgB,CAAA;AAEvD,KAAK,SAAS,GAAG,eAAe,GAAG,MAAM,GAAG;IAAC,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;CAAC,CAAA;AAQpE,QAAA,MAAM,IAAI,EAEJ,mBAAmB,CAAC,MAAM,EAAE,SAAS,CAAC,CAAA;AAE5C,OAAO,EAAC,IAAI,EAAE,KAAK,SAAS,EAAC,CAAA"}
1
+ {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../src/components/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,SAAS,IAAI,eAAe,EAAC,MAAM,eAAe,CAAA;AACnF,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AAGrC,OAAO,EAAC,KAAK,eAAe,EAAC,MAAM,mBAAmB,CAAA;AAGtD,KAAK,SAAS,GAAG,eAAe,GAAG,MAAM,CAAA;AAQzC,QAAA,MAAM,IAAI,EAGJ,eAAe,CAAC,MAAM,EAAE,GAAG,EAAE,SAAS,EAAE,KAAK,CAAC,CAAA;AAEpD,OAAO,EAAC,IAAI,EAAE,KAAK,SAAS,EAAC,CAAA"}
package/dist/index.js CHANGED
@@ -537,6 +537,7 @@ const Text = /*#__PURE__*/forwardRef(({
537
537
  } : {}),
538
538
  ref: ref
539
539
  });
540
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
540
541
  });
541
542
 
542
543
  const TimelineImpl = /*#__PURE__*/forwardRef(function Timeline(props, ref) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/styled-react",
3
- "version": "0.0.0-20251008052055",
3
+ "version": "0.0.0-20251008053425",
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-20251008052055",
33
+ "@primer/react": "0.0.0-20251008053425",
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-20251008052055",
49
+ "@primer/react": "0.0.0-20251008053425",
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",