@primer/styled-react 0.0.0-20260507201204 → 0.0.0-20260507225201

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.
@@ -0,0 +1,12 @@
1
+ import type React from 'react';
2
+ import { useTheme as primerUseTheme } from '@primer/react';
3
+ import { useColorSchemeVar } from './ThemeProvider';
4
+ import type { ThemeProviderProps as StyledThemeProviderProps } from './ThemeProvider';
5
+ import type { BaseStylesProps as StyledBaseStylesProps } from './BaseStyles';
6
+ export type ThemeProviderProps = StyledThemeProviderProps;
7
+ export type BaseStylesProps = StyledBaseStylesProps;
8
+ export declare const ThemeProvider: React.FC<React.PropsWithChildren<ThemeProviderProps>>;
9
+ export declare function useTheme(): ReturnType<typeof primerUseTheme>;
10
+ export { useColorSchemeVar };
11
+ export declare function BaseStyles(props: BaseStylesProps): React.JSX.Element;
12
+ //# sourceMappingURL=FeatureFlaggedTheming.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FeatureFlaggedTheming.d.ts","sourceRoot":"","sources":["../../src/components/FeatureFlaggedTheming.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAEL,QAAQ,IAAI,cAAc,EAE3B,MAAM,eAAe,CAAA;AAMtB,OAAO,EAAmE,iBAAiB,EAAC,MAAM,iBAAiB,CAAA;AACnH,OAAO,KAAK,EAAC,kBAAkB,IAAI,wBAAwB,EAAC,MAAM,iBAAiB,CAAA;AAEnF,OAAO,KAAK,EAAC,eAAe,IAAI,qBAAqB,EAAC,MAAM,cAAc,CAAA;AAE1E,MAAM,MAAM,kBAAkB,GAAG,wBAAwB,CAAA;AAEzD,MAAM,MAAM,eAAe,GAAG,qBAAqB,CAAA;AAEnD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,CAM/E,CAAA;AAED,wBAAgB,QAAQ,IAAI,UAAU,CAAC,OAAO,cAAc,CAAC,CAQ5D;AAED,OAAO,EAAC,iBAAiB,EAAC,CAAA;AAE1B,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,qBAMhD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/styled-react",
3
- "version": "0.0.0-20260507201204",
3
+ "version": "0.0.0-20260507225201",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -49,7 +49,7 @@
49
49
  "@babel/preset-react": "^7.28.5",
50
50
  "@babel/preset-typescript": "^7.28.5",
51
51
  "@primer/primitives": "10.x || 11.x",
52
- "@primer/react": "0.0.0-20260507201204",
52
+ "@primer/react": "0.0.0-20260507225201",
53
53
  "@rollup/plugin-babel": "^6.1.0",
54
54
  "@storybook/react-vite": "^10.3.3",
55
55
  "@types/react": "18.3.11",
@@ -70,7 +70,7 @@
70
70
  "typescript": "^6.0.3"
71
71
  },
72
72
  "peerDependencies": {
73
- "@primer/react": "0.0.0-20260507201204",
73
+ "@primer/react": "0.0.0-20260507225201",
74
74
  "@types/react": "18.x || 19.x",
75
75
  "@types/react-dom": "18.x || 19.x",
76
76
  "@types/react-is": "18.x || 19.x",