@primer/styled-react 1.0.2-rc.98e244d00 → 1.0.2-rc.9941bfdc7

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,6 +1,6 @@
1
1
  import { Avatar as Avatar$1 } from '@primer/react';
2
2
  import { forwardRef } from 'react';
3
- import Box from './Box.js';
3
+ import { Box } from './Box.js';
4
4
  import { jsx } from 'react/jsx-runtime';
5
5
 
6
6
  const Avatar = /*#__PURE__*/forwardRef(function Avatar(props, ref) {
@@ -1,5 +1,5 @@
1
1
  import { Checkbox as Checkbox$1 } from '@primer/react';
2
- import Box from './Box.js';
2
+ import { Box } from './Box.js';
3
3
  import { forwardRef } from 'react';
4
4
  import { jsx } from 'react/jsx-runtime';
5
5
 
@@ -1,6 +1,6 @@
1
1
  import { CheckboxGroup as CheckboxGroup$1 } from '@primer/react';
2
2
  import 'react';
3
- import Box from './Box.js';
3
+ import { Box } from './Box.js';
4
4
  import { jsx } from 'react/jsx-runtime';
5
5
 
6
6
  const CheckboxGroupImpl = props => {
@@ -1,5 +1,5 @@
1
1
  import { CounterLabel as CounterLabel$1 } from '@primer/react';
2
- import Box from './Box.js';
2
+ import { Box } from './Box.js';
3
3
  import { forwardRef } from 'react';
4
4
  import { jsx } from 'react/jsx-runtime';
5
5
 
@@ -1,6 +1,6 @@
1
1
  import { Header as Header$1 } from '@primer/react';
2
2
  import { forwardRef } from 'react';
3
- import Box from './Box.js';
3
+ import { Box } from './Box.js';
4
4
  import { jsx } from 'react/jsx-runtime';
5
5
 
6
6
  const StyledHeader = /*#__PURE__*/forwardRef(function Header(props, ref) {
@@ -1,7 +1,7 @@
1
1
  import { PageHeader as PageHeader$1 } from '@primer/react';
2
2
  import styled from 'styled-components';
3
3
  import sx from '../sx.js';
4
- import Box from './Box.js';
4
+ import { Box } from './Box.js';
5
5
  import React from 'react';
6
6
  import { jsx } from 'react/jsx-runtime';
7
7
 
@@ -1,6 +1,6 @@
1
1
  import { RadioGroup as RadioGroup$1 } from '@primer/react';
2
2
  import 'react';
3
- import Box from './Box.js';
3
+ import { Box } from './Box.js';
4
4
  import { jsx } from 'react/jsx-runtime';
5
5
 
6
6
  const RadioGroupImpl = props => {
@@ -1,6 +1,6 @@
1
1
  import { RelativeTime as RelativeTime$1 } from '@primer/react';
2
2
  import 'react';
3
- import Box from './Box.js';
3
+ import { Box } from './Box.js';
4
4
  import { jsx } from 'react/jsx-runtime';
5
5
 
6
6
  function RelativeTime(props) {
@@ -1,5 +1,5 @@
1
1
  import { SegmentedControl as SegmentedControl$1 } from '@primer/react';
2
- import Box from './Box.js';
2
+ import { Box } from './Box.js';
3
3
  import { jsx } from 'react/jsx-runtime';
4
4
 
5
5
  const SegmentedControlButton = props => {
@@ -1,6 +1,6 @@
1
1
  import { StateLabel as StateLabel$1 } from '@primer/react';
2
2
  import { forwardRef } from 'react';
3
- import Box from './Box.js';
3
+ import { Box } from './Box.js';
4
4
  import { jsx } from 'react/jsx-runtime';
5
5
 
6
6
  const StateLabel = /*#__PURE__*/forwardRef(function StateLabel(props, ref) {
@@ -1,6 +1,6 @@
1
1
  import { SubNav as SubNav$1 } from '@primer/react';
2
2
  import { forwardRef } from 'react';
3
- import Box from './Box.js';
3
+ import { Box } from './Box.js';
4
4
  import { jsx } from 'react/jsx-runtime';
5
5
 
6
6
  const SubNavImpl = /*#__PURE__*/forwardRef(function SubNav(props, ref) {
@@ -200,4 +200,4 @@ function applyColorScheme(theme, colorScheme) {
200
200
  };
201
201
  }
202
202
 
203
- export { ThemeProvider, ThemeProvider as default, defaultColorMode, useColorSchemeVar, useTheme };
203
+ export { ThemeProvider, defaultColorMode, useColorSchemeVar, useTheme };
@@ -1,5 +1,5 @@
1
1
  import { Timeline as Timeline$1 } from '@primer/react';
2
- import Box from './Box.js';
2
+ import { Box } from './Box.js';
3
3
  import { forwardRef } from 'react';
4
4
  import { jsx } from 'react/jsx-runtime';
5
5
 
@@ -1,6 +1,6 @@
1
1
  import { ToggleSwitch as ToggleSwitch$1 } from '@primer/react';
2
2
  import { forwardRef } from 'react';
3
- import Box from './Box.js';
3
+ import { Box } from './Box.js';
4
4
  import { jsx } from 'react/jsx-runtime';
5
5
 
6
6
  const ToggleSwitch = /*#__PURE__*/forwardRef(function ToggleSwitch(props, ref) {
@@ -1,5 +1,5 @@
1
1
  import { Tooltip as Tooltip$1 } from '@primer/react';
2
- import Box from './Box.js';
2
+ import { Box } from './Box.js';
3
3
  import { forwardRef } from 'react';
4
4
  import { jsx } from 'react/jsx-runtime';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { UnderlineNav as UnderlineNav$1 } from '@primer/react';
2
- import Box from './Box.js';
2
+ import { Box } from './Box.js';
3
3
  import { forwardRef } from 'react';
4
4
  import styled from 'styled-components';
5
5
  import sx from '../sx.js';
@@ -1,7 +1,7 @@
1
1
  import { forwardRef } from 'react';
2
2
  import { ActionList as ActionList$1 } from '@primer/react/deprecated';
3
3
  import sx from '../../sx.js';
4
- import Box from '../Box.js';
4
+ import { Box } from '../Box.js';
5
5
  import styled from 'styled-components';
6
6
  import { jsx } from 'react/jsx-runtime';
7
7
 
@@ -1,5 +1,5 @@
1
1
  import { Dialog as Dialog$1 } from '@primer/react/deprecated';
2
- import Box from '../Box.js';
2
+ import { Box } from '../Box.js';
3
3
  import { forwardRef } from 'react';
4
4
  import { jsx } from 'react/jsx-runtime';
5
5
 
@@ -36,4 +36,4 @@ const Octicon = /*#__PURE__*/forwardRef(({
36
36
  });
37
37
  });
38
38
 
39
- export { Octicon, Octicon as default };
39
+ export { Octicon };
@@ -1,5 +1,5 @@
1
1
  export { TabNav } from './components/deprecated/TabNav.js';
2
2
  export { Dialog } from './components/deprecated/DialogV1.js';
3
- export { default as Octicon } from './components/deprecated/Octicon.js';
3
+ export { Octicon } from './components/deprecated/Octicon.js';
4
4
  export { Tooltip } from './components/deprecated/Tooltip.js';
5
5
  export { ActionList } from './components/deprecated/ActionList.js';
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- export { default as Box } from './components/Box.js';
2
+ export { Box } from './components/Box.js';
3
3
  export { Details, ProgressBar, theme } from '@primer/react';
4
4
  export { ThemeProvider, useColorSchemeVar, useTheme } from './components/ThemeProvider.js';
5
5
  export { BaseStyles } from './components/BaseStyles.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/styled-react",
3
- "version": "1.0.2-rc.98e244d00",
3
+ "version": "1.0.2-rc.9941bfdc7",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -48,7 +48,7 @@
48
48
  "@primer/primitives": "10.x || 11.x",
49
49
  "@primer/react": "^38.4.0",
50
50
  "@rollup/plugin-babel": "^6.1.0",
51
- "@storybook/react-vite": "^10.1.10",
51
+ "@storybook/react-vite": "^10.1.11",
52
52
  "@types/react": "18.3.11",
53
53
  "@types/react-dom": "18.3.1",
54
54
  "@types/styled-components": "^5.1.26",
@@ -61,7 +61,7 @@
61
61
  "react-compiler-runtime": "^1.0.0",
62
62
  "react-dom": "18.3.1",
63
63
  "rimraf": "^6.0.1",
64
- "rollup": "4.54.0",
64
+ "rollup": "4.56.0",
65
65
  "rollup-plugin-typescript2": "^0.36.0",
66
66
  "styled-components": "5.3.11",
67
67
  "typescript": "^5.9.2"