@primer/styled-react 1.0.2-rc.a366b94f8 → 1.0.2-rc.a4404e466
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.
- package/dist/components/Avatar.js +1 -1
- package/dist/components/Checkbox.js +1 -1
- package/dist/components/CheckboxGroup.js +1 -1
- package/dist/components/CounterLabel.js +1 -1
- package/dist/components/Header.js +1 -1
- package/dist/components/PageHeader.js +1 -1
- package/dist/components/RadioGroup.js +1 -1
- package/dist/components/RelativeTime.js +1 -1
- package/dist/components/SegmentedControl.js +1 -1
- package/dist/components/StateLabel.d.ts +1 -1
- package/dist/components/StateLabel.js +1 -1
- package/dist/components/SubNav.js +1 -1
- package/dist/components/ThemeProvider.js +1 -1
- package/dist/components/Timeline.js +1 -1
- package/dist/components/ToggleSwitch.js +1 -1
- package/dist/components/Tooltip.js +1 -1
- package/dist/components/UnderlineNav.js +1 -1
- package/dist/components/deprecated/ActionList.js +1 -1
- package/dist/components/deprecated/DialogV1.js +1 -1
- package/dist/components/deprecated/Octicon.js +1 -1
- package/dist/deprecated.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +3 -3
|
@@ -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,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
|
|
|
@@ -4,7 +4,7 @@ type StateLabelProps = PrimerStateLabelProps & SxProp;
|
|
|
4
4
|
declare const StateLabel: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLSpanElement> & {
|
|
5
5
|
size?: "small" | "medium";
|
|
6
6
|
variant?: "normal" | "small";
|
|
7
|
-
status: "open" | "closed" | "issueOpened" | "pullOpened" | "issueClosed" | "issueClosedNotPlanned" | "pullClosed" | "pullMerged" | "draft" | "issueDraft" | "pullQueued" | "unavailable";
|
|
7
|
+
status: "open" | "closed" | "issueOpened" | "pullOpened" | "issueClosed" | "issueClosedNotPlanned" | "pullClosed" | "pullMerged" | "draft" | "issueDraft" | "pullQueued" | "unavailable" | "alertOpened" | "alertFixed" | "alertDismissed" | "alertClosed";
|
|
8
8
|
} & SxProp & import("react").RefAttributes<HTMLSpanElement>>;
|
|
9
9
|
export { StateLabel, type StateLabelProps };
|
|
10
10
|
//# sourceMappingURL=StateLabel.d.ts.map
|
|
@@ -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) {
|
|
@@ -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,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
|
|
package/dist/deprecated.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { TabNav } from './components/deprecated/TabNav.js';
|
|
2
2
|
export { Dialog } from './components/deprecated/DialogV1.js';
|
|
3
|
-
export {
|
|
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 {
|
|
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.
|
|
3
|
+
"version": "1.0.2-rc.a4404e466",
|
|
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.
|
|
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.
|
|
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"
|