@primer/styled-react 0.0.0-20251008040433 → 0.0.0-20251008043333

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,7 +1,7 @@
1
1
  import { type TextProps as PrimerTextProps } from '@primer/react';
2
2
  import { type SxProp } from '../sx';
3
- import { type StyledComponent } from 'styled-components';
3
+ import type { ForwardRefComponent } from '../polymorphic';
4
4
  type TextProps = PrimerTextProps & SxProp;
5
- declare const Text: StyledComponent<"span", any, TextProps, never>;
5
+ declare const Text: ForwardRefComponent<"span", TextProps>;
6
6
  export { Text, type TextProps };
7
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;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"}
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;AAIrC,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,gBAAgB,CAAA;AAEvD,KAAK,SAAS,GAAG,eAAe,GAAG,MAAM,CAAA;AAQzC,QAAA,MAAM,IAAI,EAEJ,mBAAmB,CAAC,MAAM,EAAE,SAAS,CAAC,CAAA;AAE5C,OAAO,EAAC,IAAI,EAAE,KAAK,SAAS,EAAC,CAAA"}
package/dist/index.js CHANGED
@@ -537,7 +537,6 @@ const Text = /*#__PURE__*/forwardRef(({
537
537
  } : {}),
538
538
  ref: ref
539
539
  });
540
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
541
540
  });
542
541
 
543
542
  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-20251008040433",
3
+ "version": "0.0.0-20251008043333",
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-20251008040433",
33
+ "@primer/react": "0.0.0-20251008043333",
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-20251008040433",
49
+ "@primer/react": "0.0.0-20251008043333",
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",