@primer/styled-react 0.0.0-20251205165836 → 0.0.0-20251210204724
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/ActionList.js +89 -145
- package/dist/components/ActionMenu.js +15 -15
- package/dist/components/Autocomplete.js +18 -20
- package/dist/components/Avatar.js +13 -11
- package/dist/components/BaseStyles.js +28 -47
- package/dist/components/Box.js +18 -10
- package/dist/components/Breadcrumbs.js +22 -32
- package/dist/components/Button.js +41 -105
- package/dist/components/Checkbox.js +14 -12
- package/dist/components/CheckboxGroup.js +34 -36
- package/dist/components/CircleBadge.js +10 -10
- package/dist/components/CounterLabel.js +13 -11
- package/dist/components/DataTable.js +19 -27
- package/dist/components/Dialog.js +53 -79
- package/dist/components/Flash.js +9 -9
- package/dist/components/FormControl.js +15 -15
- package/dist/components/Header.js +36 -44
- package/dist/components/Heading.js +9 -9
- package/dist/components/IconButton.js +23 -36
- package/dist/components/Label.js +17 -22
- package/dist/components/Link.js +17 -22
- package/dist/components/LinkButton.js +9 -9
- package/dist/components/NavList.js +46 -65
- package/dist/components/Overlay.js +9 -9
- package/dist/components/PageHeader.js +62 -100
- package/dist/components/RadioGroup.js +34 -36
- package/dist/components/RelativeTime.js +11 -11
- package/dist/components/SegmentedControl.js +27 -25
- package/dist/components/Select.js +15 -20
- package/dist/components/Spinner.js +9 -9
- package/dist/components/StateLabel.js +13 -11
- package/dist/components/SubNav.js +23 -21
- package/dist/components/Text.js +17 -22
- package/dist/components/TextInput.js +25 -32
- package/dist/components/Textarea.js +17 -22
- package/dist/components/ThemeProvider.js +132 -185
- package/dist/components/Timeline.js +40 -38
- package/dist/components/ToggleSwitch.js +13 -11
- package/dist/components/Token.js +17 -22
- package/dist/components/Tooltip.js +14 -12
- package/dist/components/Truncate.js +9 -9
- package/dist/components/UnderlineNav.js +27 -39
- package/dist/components/UnderlinePanels.js +18 -23
- package/dist/components/deprecated/ActionList.js +34 -39
- package/dist/components/deprecated/DialogV1.js +28 -38
- package/dist/components/deprecated/Octicon.js +28 -35
- package/dist/components/deprecated/TabNav.js +24 -38
- package/dist/components/deprecated/Tooltip.js +20 -28
- package/dist/deprecated.d.ts +75 -5
- package/dist/deprecated.d.ts.map +1 -1
- package/dist/deprecated.js +7 -5
- package/dist/experimental.d.ts +120 -5
- package/dist/experimental.d.ts.map +1 -1
- package/dist/experimental.js +7 -5
- package/dist/index.d.ts +582 -47
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +48 -46
- package/dist/sx.js +7 -6
- package/dist/theme-get.js +8 -8
- package/package.json +7 -4
|
@@ -1,28 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import styled from
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
1
|
+
import { sx } from "../sx.js";
|
|
2
|
+
import styled from "styled-components";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import { UnderlinePanels } from "@primer/react/experimental";
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
componentId: "sc-1w35i85-0"
|
|
6
|
+
//#region src/components/UnderlinePanels.tsx
|
|
7
|
+
const StyledUnderlinePanels = styled(UnderlinePanels).withConfig({ shouldForwardProp: (prop) => prop !== "sx" }).withConfig({
|
|
8
|
+
displayName: "UnderlinePanels__StyledUnderlinePanels",
|
|
9
|
+
componentId: "sc-1w35i85-0"
|
|
11
10
|
})(["", ""], sx);
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
as,
|
|
16
|
-
...props
|
|
17
|
-
}) => /*#__PURE__*/jsx(StyledUnderlinePanels, {
|
|
18
|
-
forwardedAs: as,
|
|
19
|
-
...props
|
|
11
|
+
const UnderlinePanelsImpl = ({ as, ...props }) => /* @__PURE__ */ jsx(StyledUnderlinePanels, {
|
|
12
|
+
forwardedAs: as,
|
|
13
|
+
...props
|
|
20
14
|
});
|
|
21
|
-
UnderlinePanelsImpl.displayName =
|
|
22
|
-
const UnderlinePanels = Object.assign(UnderlinePanelsImpl, {
|
|
23
|
-
|
|
24
|
-
|
|
15
|
+
UnderlinePanelsImpl.displayName = "UnderlinePanels";
|
|
16
|
+
const UnderlinePanels$1 = Object.assign(UnderlinePanelsImpl, {
|
|
17
|
+
Tab: UnderlinePanels.Tab,
|
|
18
|
+
Panel: UnderlinePanels.Panel
|
|
25
19
|
});
|
|
26
|
-
UnderlinePanelsImpl.__SLOT__ = UnderlinePanels
|
|
20
|
+
UnderlinePanelsImpl.__SLOT__ = UnderlinePanels.__SLOT__;
|
|
27
21
|
|
|
28
|
-
|
|
22
|
+
//#endregion
|
|
23
|
+
export { UnderlinePanels$1 as UnderlinePanels };
|
|
@@ -1,49 +1,44 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
1
|
+
import { sx } from "../../sx.js";
|
|
2
|
+
import { Box } from "../Box.js";
|
|
3
|
+
import styled from "styled-components";
|
|
4
|
+
import { forwardRef } from "react";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import { ActionList } from "@primer/react/deprecated";
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
//#region src/components/deprecated/ActionList.tsx
|
|
9
|
+
const ActionListImpl = /* @__PURE__ */ forwardRef(function ActionList$2(props, ref) {
|
|
10
|
+
return /* @__PURE__ */ jsx(Box, {
|
|
11
|
+
as: ActionList,
|
|
12
|
+
ref,
|
|
13
|
+
...props
|
|
14
|
+
});
|
|
14
15
|
});
|
|
15
|
-
const StyledActionListItem = styled(ActionList
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
displayName: "ActionList__StyledActionListItem",
|
|
19
|
-
componentId: "sc-1ugfmds-0"
|
|
16
|
+
const StyledActionListItem = styled(ActionList.Item).withConfig({ shouldForwardProp: (prop) => prop !== "sx" }).withConfig({
|
|
17
|
+
displayName: "ActionList__StyledActionListItem",
|
|
18
|
+
componentId: "sc-1ugfmds-0"
|
|
20
19
|
})(["", ""], sx);
|
|
21
|
-
const ActionListItem =
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
...props,
|
|
26
|
-
...(as ? {
|
|
27
|
-
forwardedAs: as
|
|
28
|
-
} : {}),
|
|
29
|
-
ref: ref
|
|
20
|
+
const ActionListItem = /* @__PURE__ */ forwardRef(({ as, ...props }, ref) => /* @__PURE__ */ jsx(StyledActionListItem, {
|
|
21
|
+
...props,
|
|
22
|
+
...as ? { forwardedAs: as } : {},
|
|
23
|
+
ref
|
|
30
24
|
}));
|
|
31
25
|
function ActionListGroup(props) {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
26
|
+
return /* @__PURE__ */ jsx(Box, {
|
|
27
|
+
as: ActionList.Group,
|
|
28
|
+
...props
|
|
29
|
+
});
|
|
36
30
|
}
|
|
37
31
|
function ActionListDivider(props) {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
32
|
+
return /* @__PURE__ */ jsx(Box, {
|
|
33
|
+
as: ActionList.Divider,
|
|
34
|
+
...props
|
|
35
|
+
});
|
|
42
36
|
}
|
|
43
|
-
const ActionList = Object.assign(ActionListImpl, {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
37
|
+
const ActionList$1 = Object.assign(ActionListImpl, {
|
|
38
|
+
Item: ActionListItem,
|
|
39
|
+
Group: ActionListGroup,
|
|
40
|
+
Divider: ActionListDivider
|
|
47
41
|
});
|
|
48
42
|
|
|
49
|
-
|
|
43
|
+
//#endregion
|
|
44
|
+
export { ActionList$1 as ActionList };
|
|
@@ -1,44 +1,34 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Box } from "../Box.js";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import { Dialog } from "@primer/react/deprecated";
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
//#region src/components/deprecated/DialogV1.tsx
|
|
7
|
+
const StyledDialog = /* @__PURE__ */ forwardRef(function Dialog$2(props, ref) {
|
|
8
|
+
return /* @__PURE__ */ jsx(Box, {
|
|
9
|
+
as: Dialog,
|
|
10
|
+
ref,
|
|
11
|
+
...props
|
|
12
|
+
});
|
|
12
13
|
});
|
|
13
|
-
const DialogImpl =
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
...props,
|
|
18
|
-
...(as ? {
|
|
19
|
-
forwardedAs: as
|
|
20
|
-
} : {}),
|
|
21
|
-
ref: ref
|
|
14
|
+
const DialogImpl = /* @__PURE__ */ forwardRef(({ as, ...props }, ref) => /* @__PURE__ */ jsx(StyledDialog, {
|
|
15
|
+
...props,
|
|
16
|
+
...as ? { forwardedAs: as } : {},
|
|
17
|
+
ref
|
|
22
18
|
}));
|
|
23
|
-
const StyledDialogHeader =
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
19
|
+
const StyledDialogHeader = /* @__PURE__ */ forwardRef(function DialogHeader$1(props, ref) {
|
|
20
|
+
return /* @__PURE__ */ jsx(Box, {
|
|
21
|
+
as: Dialog.Header,
|
|
22
|
+
ref,
|
|
23
|
+
...props
|
|
24
|
+
});
|
|
29
25
|
});
|
|
30
|
-
const DialogHeader =
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
...props,
|
|
35
|
-
...(as ? {
|
|
36
|
-
forwardedAs: as
|
|
37
|
-
} : {}),
|
|
38
|
-
ref: ref
|
|
26
|
+
const DialogHeader = /* @__PURE__ */ forwardRef(({ as, ...props }, ref) => /* @__PURE__ */ jsx(StyledDialogHeader, {
|
|
27
|
+
...props,
|
|
28
|
+
...as ? { forwardedAs: as } : {},
|
|
29
|
+
ref
|
|
39
30
|
}));
|
|
40
|
-
const Dialog = Object.assign(DialogImpl, {
|
|
41
|
-
Header: DialogHeader
|
|
42
|
-
});
|
|
31
|
+
const Dialog$1 = Object.assign(DialogImpl, { Header: DialogHeader });
|
|
43
32
|
|
|
44
|
-
|
|
33
|
+
//#endregion
|
|
34
|
+
export { Dialog$1 as Dialog };
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import styled from
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { sx } from "../../sx.js";
|
|
2
|
+
import styled from "styled-components";
|
|
3
|
+
import { forwardRef } from "react";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
import { Octicon } from "@primer/react/deprecated";
|
|
6
6
|
|
|
7
|
+
//#region src/components/deprecated/Octicon.tsx
|
|
7
8
|
/**
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
...props
|
|
29
|
-
}, ref) => {
|
|
30
|
-
return /*#__PURE__*/jsx(StyledOcticon, {
|
|
31
|
-
...props,
|
|
32
|
-
...(as ? {
|
|
33
|
-
forwardedAs: as
|
|
34
|
-
} : {}),
|
|
35
|
-
ref: ref
|
|
36
|
-
});
|
|
9
|
+
* @deprecated Use the icon component directly from `@primer/octicons-react` instead
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* @deprecated Use the icon component directly from `@primer/octicons-react` instead
|
|
13
|
+
*/
|
|
14
|
+
const StyledOcticon = styled(Octicon).withConfig({ shouldForwardProp(prop) {
|
|
15
|
+
return prop !== "sx";
|
|
16
|
+
} }).withConfig({
|
|
17
|
+
displayName: "Octicon__StyledOcticon",
|
|
18
|
+
componentId: "sc-jtj3m8-0"
|
|
19
|
+
})(["", ""], ({ color, sx: sxProp }) => sx({ sx: {
|
|
20
|
+
color,
|
|
21
|
+
...sxProp
|
|
22
|
+
} }));
|
|
23
|
+
const Octicon$1 = /* @__PURE__ */ forwardRef(({ as, ...props }, ref) => {
|
|
24
|
+
return /* @__PURE__ */ jsx(StyledOcticon, {
|
|
25
|
+
...props,
|
|
26
|
+
...as ? { forwardedAs: as } : {},
|
|
27
|
+
ref
|
|
28
|
+
});
|
|
37
29
|
});
|
|
38
30
|
|
|
39
|
-
|
|
31
|
+
//#endregion
|
|
32
|
+
export { Octicon$1 as Octicon };
|
|
@@ -1,44 +1,30 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { sx } from "../../sx.js";
|
|
2
|
+
import styled from "styled-components";
|
|
3
|
+
import { forwardRef } from "react";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
import { TabNav } from "@primer/react/deprecated";
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
componentId: "sc-13kad3t-0"
|
|
7
|
+
//#region src/components/deprecated/TabNav.tsx
|
|
8
|
+
const StyledTabNav = styled(TabNav).withConfig({ shouldForwardProp: (prop) => prop !== "sx" }).withConfig({
|
|
9
|
+
displayName: "TabNav__StyledTabNav",
|
|
10
|
+
componentId: "sc-13kad3t-0"
|
|
12
11
|
})(["", ""], sx);
|
|
13
|
-
const TabNavImpl = ({
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
...props,
|
|
19
|
-
...(as ? {
|
|
20
|
-
forwardedAs: as
|
|
21
|
-
} : {})
|
|
22
|
-
});
|
|
12
|
+
const TabNavImpl = ({ as, ...props }) => {
|
|
13
|
+
return /* @__PURE__ */ jsx(StyledTabNav, {
|
|
14
|
+
...props,
|
|
15
|
+
...as ? { forwardedAs: as } : {}
|
|
16
|
+
});
|
|
23
17
|
};
|
|
24
|
-
const StyledTabNavLink = styled(TabNav
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
displayName: "TabNav__StyledTabNavLink",
|
|
28
|
-
componentId: "sc-13kad3t-1"
|
|
18
|
+
const StyledTabNavLink = styled(TabNav.Link).withConfig({ shouldForwardProp: (prop) => prop !== "sx" }).withConfig({
|
|
19
|
+
displayName: "TabNav__StyledTabNavLink",
|
|
20
|
+
componentId: "sc-13kad3t-1"
|
|
29
21
|
})(["", ""], sx);
|
|
30
|
-
const TabNavLink =
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
...props,
|
|
35
|
-
...(as ? {
|
|
36
|
-
forwardedAs: as
|
|
37
|
-
} : {}),
|
|
38
|
-
ref: ref
|
|
22
|
+
const TabNavLink = /* @__PURE__ */ forwardRef(({ as, ...props }, ref) => /* @__PURE__ */ jsx(StyledTabNavLink, {
|
|
23
|
+
...props,
|
|
24
|
+
...as ? { forwardedAs: as } : {},
|
|
25
|
+
ref
|
|
39
26
|
}));
|
|
40
|
-
const TabNav = Object.assign(TabNavImpl, {
|
|
41
|
-
Link: TabNavLink
|
|
42
|
-
});
|
|
27
|
+
const TabNav$1 = Object.assign(TabNavImpl, { Link: TabNavLink });
|
|
43
28
|
|
|
44
|
-
|
|
29
|
+
//#endregion
|
|
30
|
+
export { TabNav$1 as TabNav };
|
|
@@ -1,32 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
1
|
+
import { sx } from "../../sx.js";
|
|
2
|
+
import styled from "styled-components";
|
|
3
|
+
import { forwardRef } from "react";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
import { Tooltip } from "@primer/react/deprecated";
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
componentId: "sc-145jcib-0"
|
|
7
|
+
//#region src/components/deprecated/Tooltip.tsx
|
|
8
|
+
const StyledTooltip = styled(Tooltip).withConfig({ shouldForwardProp: (prop) => prop !== "sx" }).withConfig({
|
|
9
|
+
displayName: "Tooltip__StyledTooltip",
|
|
10
|
+
componentId: "sc-145jcib-0"
|
|
12
11
|
})(["", ""], sx);
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
...(as ? {
|
|
20
|
-
forwardedAs: as
|
|
21
|
-
} : {}),
|
|
22
|
-
ref: ref
|
|
23
|
-
});
|
|
12
|
+
const Tooltip$1 = /* @__PURE__ */ forwardRef(function Tooltip$2({ as, ...props }, ref) {
|
|
13
|
+
return /* @__PURE__ */ jsx(StyledTooltip, {
|
|
14
|
+
...props,
|
|
15
|
+
...as ? { forwardedAs: as } : {},
|
|
16
|
+
ref
|
|
17
|
+
});
|
|
24
18
|
});
|
|
25
|
-
|
|
19
|
+
Tooltip$1.alignments = Tooltip.alignments;
|
|
20
|
+
Tooltip$1.directions = Tooltip.directions;
|
|
21
|
+
Tooltip$1.__SLOT__ = Tooltip.__SLOT__;
|
|
26
22
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
Tooltip.directions = Tooltip$1.directions;
|
|
30
|
-
Tooltip.__SLOT__ = Tooltip$1.__SLOT__;
|
|
31
|
-
|
|
32
|
-
export { Tooltip };
|
|
23
|
+
//#endregion
|
|
24
|
+
export { Tooltip$1 as Tooltip };
|
package/dist/deprecated.d.ts
CHANGED
|
@@ -1,6 +1,76 @@
|
|
|
1
|
-
export {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
export {
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
4
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
5
|
+
*/
|
|
6
|
+
TabNav,
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
9
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
10
|
+
*/
|
|
11
|
+
type TabNavProps,
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
14
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
15
|
+
*/
|
|
16
|
+
type TabNavLinkProps, } from './components/deprecated/TabNav';
|
|
17
|
+
export {
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
20
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
21
|
+
*/
|
|
22
|
+
Dialog,
|
|
23
|
+
/**
|
|
24
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
25
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
26
|
+
*/
|
|
27
|
+
type DialogProps,
|
|
28
|
+
/**
|
|
29
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
30
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
31
|
+
*/
|
|
32
|
+
type DialogHeaderProps, } from './components/deprecated/DialogV1';
|
|
33
|
+
export {
|
|
34
|
+
/**
|
|
35
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
36
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
37
|
+
*/
|
|
38
|
+
Octicon,
|
|
39
|
+
/**
|
|
40
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
41
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
42
|
+
*/
|
|
43
|
+
type OcticonProps, } from './components/deprecated/Octicon';
|
|
44
|
+
export {
|
|
45
|
+
/**
|
|
46
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
47
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
48
|
+
*/
|
|
49
|
+
Tooltip,
|
|
50
|
+
/**
|
|
51
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
52
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
53
|
+
*/
|
|
54
|
+
type TooltipProps, } from './components/deprecated/Tooltip';
|
|
55
|
+
export {
|
|
56
|
+
/**
|
|
57
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
58
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
59
|
+
*/
|
|
60
|
+
ActionList,
|
|
61
|
+
/**
|
|
62
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
63
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
64
|
+
*/
|
|
65
|
+
type ActionListProps,
|
|
66
|
+
/**
|
|
67
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
68
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
69
|
+
*/
|
|
70
|
+
type ActionListItemProps,
|
|
71
|
+
/**
|
|
72
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
73
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
74
|
+
*/
|
|
75
|
+
type ActionListGroupProps, } from './components/deprecated/ActionList';
|
|
6
76
|
//# sourceMappingURL=deprecated.d.ts.map
|
package/dist/deprecated.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deprecated.d.ts","sourceRoot":"","sources":["../src/deprecated.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"deprecated.d.ts","sourceRoot":"","sources":["../src/deprecated.tsx"],"names":[],"mappings":"AAAA,OAAO;AACL;;;GAGG;AACH,MAAM;AAEN;;;GAGG;AACH,KAAK,WAAW;AAEhB;;;GAGG;AACH,KAAK,eAAe,GACrB,MAAM,gCAAgC,CAAA;AAEvC,OAAO;AACL;;;GAGG;AACH,MAAM;AAEN;;;GAGG;AACH,KAAK,WAAW;AAEhB;;;GAGG;AACH,KAAK,iBAAiB,GACvB,MAAM,kCAAkC,CAAA;AAEzC,OAAO;AACL;;;GAGG;AACH,OAAO;AAEP;;;GAGG;AACH,KAAK,YAAY,GAClB,MAAM,iCAAiC,CAAA;AAExC,OAAO;AACL;;;GAGG;AACH,OAAO;AAEP;;;GAGG;AACH,KAAK,YAAY,GAClB,MAAM,iCAAiC,CAAA;AAExC,OAAO;AACL;;;GAGG;AACH,UAAU;AAEV;;;GAGG;AACH,KAAK,eAAe;AAEpB;;;GAGG;AACH,KAAK,mBAAmB;AAExB;;;GAGG;AACH,KAAK,oBAAoB,GAC1B,MAAM,oCAAoC,CAAA"}
|
package/dist/deprecated.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { TabNav } from "./components/deprecated/TabNav.js";
|
|
2
|
+
import { Dialog } from "./components/deprecated/DialogV1.js";
|
|
3
|
+
import { Octicon } from "./components/deprecated/Octicon.js";
|
|
4
|
+
import { Tooltip } from "./components/deprecated/Tooltip.js";
|
|
5
|
+
import { ActionList } from "./components/deprecated/ActionList.js";
|
|
6
|
+
|
|
7
|
+
export { ActionList, Dialog, Octicon, TabNav, Tooltip };
|
package/dist/experimental.d.ts
CHANGED
|
@@ -1,6 +1,121 @@
|
|
|
1
|
-
export {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
export {
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
4
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
5
|
+
*/
|
|
6
|
+
Dialog,
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
9
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
10
|
+
*/
|
|
11
|
+
type DialogProps, } from './components/Dialog';
|
|
12
|
+
export {
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
15
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
16
|
+
*/
|
|
17
|
+
PageHeader,
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
20
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
21
|
+
*/
|
|
22
|
+
type PageHeaderProps,
|
|
23
|
+
/**
|
|
24
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
25
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
26
|
+
*/
|
|
27
|
+
type PageHeaderActionsProps,
|
|
28
|
+
/**
|
|
29
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
30
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
31
|
+
*/
|
|
32
|
+
type PageHeaderTitleProps, } from './components/PageHeader';
|
|
33
|
+
export {
|
|
34
|
+
/**
|
|
35
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
36
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
37
|
+
*/
|
|
38
|
+
Tooltip,
|
|
39
|
+
/**
|
|
40
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
41
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
42
|
+
*/
|
|
43
|
+
type TooltipProps, } from './components/Tooltip';
|
|
44
|
+
export {
|
|
45
|
+
/**
|
|
46
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
47
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
48
|
+
*/
|
|
49
|
+
UnderlinePanels,
|
|
50
|
+
/**
|
|
51
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
52
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
53
|
+
*/
|
|
54
|
+
type UnderlinePanelsProps,
|
|
55
|
+
/**
|
|
56
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
57
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
58
|
+
*/
|
|
59
|
+
type UnderlinePanelsTabProps,
|
|
60
|
+
/**
|
|
61
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
62
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
63
|
+
*/
|
|
64
|
+
type UnderlinePanelsPanelProps, } from './components/UnderlinePanels';
|
|
65
|
+
export {
|
|
66
|
+
/**
|
|
67
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
68
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
69
|
+
*/
|
|
70
|
+
Table,
|
|
71
|
+
/**
|
|
72
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
73
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
74
|
+
*/
|
|
75
|
+
type DataTableContainerProps,
|
|
76
|
+
/**
|
|
77
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
78
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
79
|
+
*/
|
|
80
|
+
type TableProps,
|
|
81
|
+
/**
|
|
82
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
83
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
84
|
+
*/
|
|
85
|
+
type TableHeadProps,
|
|
86
|
+
/**
|
|
87
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
88
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
89
|
+
*/
|
|
90
|
+
type TableBodyProps,
|
|
91
|
+
/**
|
|
92
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
93
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
94
|
+
*/
|
|
95
|
+
type TableRowProps,
|
|
96
|
+
/**
|
|
97
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
98
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
99
|
+
*/
|
|
100
|
+
type TableHeaderProps,
|
|
101
|
+
/**
|
|
102
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
103
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
104
|
+
*/
|
|
105
|
+
type TableCellProps,
|
|
106
|
+
/**
|
|
107
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
108
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
109
|
+
*/
|
|
110
|
+
type TableTitleProps,
|
|
111
|
+
/**
|
|
112
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
113
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
114
|
+
*/
|
|
115
|
+
type TableSubtitleProps,
|
|
116
|
+
/**
|
|
117
|
+
* @deprecated Usage of the `sx` prop with this component is no longer
|
|
118
|
+
* supported. Use the component from `@primer/react` with CSS Modules instead.
|
|
119
|
+
*/
|
|
120
|
+
type TableActionsProps, } from './components/DataTable';
|
|
6
121
|
//# sourceMappingURL=experimental.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"experimental.d.ts","sourceRoot":"","sources":["../src/experimental.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"experimental.d.ts","sourceRoot":"","sources":["../src/experimental.tsx"],"names":[],"mappings":"AAAA,OAAO;AACL;;;GAGG;AACH,MAAM;AAEN;;;GAGG;AACH,KAAK,WAAW,GACjB,MAAM,qBAAqB,CAAA;AAE5B,OAAO;AACL;;;GAGG;AACH,UAAU;AAEV;;;GAGG;AACH,KAAK,eAAe;AAEpB;;;GAGG;AACH,KAAK,sBAAsB;AAE3B;;;GAGG;AACH,KAAK,oBAAoB,GAC1B,MAAM,yBAAyB,CAAA;AAEhC,OAAO;AACL;;;GAGG;AACH,OAAO;AAEP;;;GAGG;AACH,KAAK,YAAY,GAClB,MAAM,sBAAsB,CAAA;AAE7B,OAAO;AACL;;;GAGG;AACH,eAAe;AAEf;;;GAGG;AACH,KAAK,oBAAoB;AAEzB;;;GAGG;AACH,KAAK,uBAAuB;AAE5B;;;GAGG;AACH,KAAK,yBAAyB,GAC/B,MAAM,8BAA8B,CAAA;AAErC,OAAO;AACL;;;GAGG;AACH,KAAK;AAEL;;;GAGG;AACH,KAAK,uBAAuB;AAE5B;;;GAGG;AACH,KAAK,UAAU;AAEf;;;GAGG;AACH,KAAK,cAAc;AAEnB;;;GAGG;AACH,KAAK,cAAc;AAEnB;;;GAGG;AACH,KAAK,aAAa;AAElB;;;GAGG;AACH,KAAK,gBAAgB;AAErB;;;GAGG;AACH,KAAK,cAAc;AAEnB;;;GAGG;AACH,KAAK,eAAe;AAEpB;;;GAGG;AACH,KAAK,kBAAkB;AAEvB;;;GAGG;AACH,KAAK,iBAAiB,GACvB,MAAM,wBAAwB,CAAA"}
|
package/dist/experimental.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { Dialog } from "./components/Dialog.js";
|
|
2
|
+
import { PageHeader } from "./components/PageHeader.js";
|
|
3
|
+
import { Tooltip } from "./components/Tooltip.js";
|
|
4
|
+
import { UnderlinePanels } from "./components/UnderlinePanels.js";
|
|
5
|
+
import { Table } from "./components/DataTable.js";
|
|
6
|
+
|
|
7
|
+
export { Dialog, PageHeader, Table, Tooltip, UnderlinePanels };
|