@primer/styled-react 0.0.0-20251205154953 → 0.0.0-20251205165836
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 +145 -89
- package/dist/components/ActionMenu.js +15 -15
- package/dist/components/Autocomplete.js +20 -18
- package/dist/components/Avatar.js +11 -13
- package/dist/components/BaseStyles.js +47 -28
- package/dist/components/Box.js +10 -18
- package/dist/components/Breadcrumbs.js +32 -22
- package/dist/components/Button.js +105 -41
- package/dist/components/Checkbox.js +12 -14
- package/dist/components/CheckboxGroup.js +36 -34
- package/dist/components/CircleBadge.js +10 -10
- package/dist/components/CounterLabel.js +11 -13
- package/dist/components/DataTable.js +27 -19
- package/dist/components/Dialog.js +79 -53
- package/dist/components/Flash.js +9 -9
- package/dist/components/FormControl.js +15 -15
- package/dist/components/Header.js +44 -36
- package/dist/components/Heading.js +9 -9
- package/dist/components/IconButton.js +36 -23
- package/dist/components/Label.js +22 -17
- package/dist/components/Link.js +22 -17
- package/dist/components/LinkButton.js +9 -9
- package/dist/components/NavList.js +65 -46
- package/dist/components/Overlay.js +9 -9
- package/dist/components/PageHeader.js +100 -62
- package/dist/components/RadioGroup.js +36 -34
- package/dist/components/RelativeTime.js +11 -11
- package/dist/components/SegmentedControl.js +25 -27
- package/dist/components/Select.js +20 -15
- package/dist/components/Spinner.js +9 -9
- package/dist/components/StateLabel.js +11 -13
- package/dist/components/SubNav.js +21 -23
- package/dist/components/Text.js +22 -17
- package/dist/components/TextInput.js +32 -25
- package/dist/components/Textarea.js +22 -17
- package/dist/components/ThemeProvider.js +185 -132
- package/dist/components/Timeline.js +38 -40
- package/dist/components/ToggleSwitch.js +11 -13
- package/dist/components/Token.js +22 -17
- package/dist/components/Tooltip.js +12 -14
- package/dist/components/Truncate.js +9 -9
- package/dist/components/UnderlineNav.js +39 -27
- package/dist/components/UnderlinePanels.js +23 -18
- package/dist/components/deprecated/ActionList.js +39 -34
- package/dist/components/deprecated/DialogV1.js +38 -28
- package/dist/components/deprecated/Octicon.js +35 -28
- package/dist/components/deprecated/TabNav.js +38 -24
- package/dist/components/deprecated/Tooltip.js +28 -20
- package/dist/deprecated.d.ts +5 -75
- package/dist/deprecated.d.ts.map +1 -1
- package/dist/deprecated.js +5 -7
- package/dist/experimental.d.ts +5 -120
- package/dist/experimental.d.ts.map +1 -1
- package/dist/experimental.js +5 -7
- package/dist/index.d.ts +47 -582
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +46 -48
- package/dist/sx.js +6 -7
- package/dist/theme-get.js +8 -8
- package/package.json +4 -7
|
@@ -1,23 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import styled from
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
1
|
+
import { UnderlinePanels as UnderlinePanels$1 } from '@primer/react/experimental';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
import sx from '../sx.js';
|
|
4
|
+
import { jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
const StyledUnderlinePanels = styled(UnderlinePanels$1).withConfig({
|
|
7
|
+
shouldForwardProp: prop => prop !== 'sx'
|
|
8
|
+
}).withConfig({
|
|
9
|
+
displayName: "UnderlinePanels__StyledUnderlinePanels",
|
|
10
|
+
componentId: "sc-1w35i85-0"
|
|
10
11
|
})(["", ""], sx);
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
|
|
13
|
+
// @ts-ignore forwardedAs is valid here but I don't know how to fix the typescript error
|
|
14
|
+
const UnderlinePanelsImpl = ({
|
|
15
|
+
as,
|
|
16
|
+
...props
|
|
17
|
+
}) => /*#__PURE__*/jsx(StyledUnderlinePanels, {
|
|
18
|
+
forwardedAs: as,
|
|
19
|
+
...props
|
|
14
20
|
});
|
|
15
|
-
UnderlinePanelsImpl.displayName =
|
|
16
|
-
const UnderlinePanels
|
|
17
|
-
|
|
18
|
-
|
|
21
|
+
UnderlinePanelsImpl.displayName = 'UnderlinePanels';
|
|
22
|
+
const UnderlinePanels = Object.assign(UnderlinePanelsImpl, {
|
|
23
|
+
Tab: UnderlinePanels$1.Tab,
|
|
24
|
+
Panel: UnderlinePanels$1.Panel
|
|
19
25
|
});
|
|
20
|
-
UnderlinePanelsImpl.__SLOT__ = UnderlinePanels.__SLOT__;
|
|
26
|
+
UnderlinePanelsImpl.__SLOT__ = UnderlinePanels$1.__SLOT__;
|
|
21
27
|
|
|
22
|
-
|
|
23
|
-
export { UnderlinePanels$1 as UnderlinePanels };
|
|
28
|
+
export { UnderlinePanels };
|
|
@@ -1,44 +1,49 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
1
|
+
import { forwardRef } from 'react';
|
|
2
|
+
import { ActionList as ActionList$1 } from '@primer/react/deprecated';
|
|
3
|
+
import sx from '../../sx.js';
|
|
4
|
+
import Box from '../Box.js';
|
|
5
|
+
import styled from 'styled-components';
|
|
6
|
+
import { jsx } from 'react/jsx-runtime';
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
});
|
|
8
|
+
const ActionListImpl = /*#__PURE__*/forwardRef(function ActionList(props, ref) {
|
|
9
|
+
return /*#__PURE__*/jsx(Box, {
|
|
10
|
+
as: ActionList$1,
|
|
11
|
+
ref: ref,
|
|
12
|
+
...props
|
|
13
|
+
});
|
|
15
14
|
});
|
|
16
|
-
const StyledActionListItem = styled(ActionList.Item).withConfig({
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
const StyledActionListItem = styled(ActionList$1.Item).withConfig({
|
|
16
|
+
shouldForwardProp: prop => prop !== 'sx'
|
|
17
|
+
}).withConfig({
|
|
18
|
+
displayName: "ActionList__StyledActionListItem",
|
|
19
|
+
componentId: "sc-1ugfmds-0"
|
|
19
20
|
})(["", ""], sx);
|
|
20
|
-
const ActionListItem =
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
const ActionListItem = /*#__PURE__*/forwardRef(({
|
|
22
|
+
as,
|
|
23
|
+
...props
|
|
24
|
+
}, ref) => /*#__PURE__*/jsx(StyledActionListItem, {
|
|
25
|
+
...props,
|
|
26
|
+
...(as ? {
|
|
27
|
+
forwardedAs: as
|
|
28
|
+
} : {}),
|
|
29
|
+
ref: ref
|
|
24
30
|
}));
|
|
25
31
|
function ActionListGroup(props) {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
32
|
+
return /*#__PURE__*/jsx(Box, {
|
|
33
|
+
as: ActionList$1.Group,
|
|
34
|
+
...props
|
|
35
|
+
});
|
|
30
36
|
}
|
|
31
37
|
function ActionListDivider(props) {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
38
|
+
return /*#__PURE__*/jsx(Box, {
|
|
39
|
+
as: ActionList$1.Divider,
|
|
40
|
+
...props
|
|
41
|
+
});
|
|
36
42
|
}
|
|
37
|
-
const ActionList
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
43
|
+
const ActionList = Object.assign(ActionListImpl, {
|
|
44
|
+
Item: ActionListItem,
|
|
45
|
+
Group: ActionListGroup,
|
|
46
|
+
Divider: ActionListDivider
|
|
41
47
|
});
|
|
42
48
|
|
|
43
|
-
|
|
44
|
-
export { ActionList$1 as ActionList };
|
|
49
|
+
export { ActionList };
|
|
@@ -1,34 +1,44 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Dialog as Dialog$1 } from '@primer/react/deprecated';
|
|
2
|
+
import Box from '../Box.js';
|
|
3
|
+
import { forwardRef } from 'react';
|
|
4
|
+
import { jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
});
|
|
6
|
+
const StyledDialog = /*#__PURE__*/forwardRef(function Dialog(props, ref) {
|
|
7
|
+
return /*#__PURE__*/jsx(Box, {
|
|
8
|
+
as: Dialog$1,
|
|
9
|
+
ref: ref,
|
|
10
|
+
...props
|
|
11
|
+
});
|
|
13
12
|
});
|
|
14
|
-
const DialogImpl =
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
const DialogImpl = /*#__PURE__*/forwardRef(({
|
|
14
|
+
as,
|
|
15
|
+
...props
|
|
16
|
+
}, ref) => /*#__PURE__*/jsx(StyledDialog, {
|
|
17
|
+
...props,
|
|
18
|
+
...(as ? {
|
|
19
|
+
forwardedAs: as
|
|
20
|
+
} : {}),
|
|
21
|
+
ref: ref
|
|
18
22
|
}));
|
|
19
|
-
const StyledDialogHeader =
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const StyledDialogHeader = /*#__PURE__*/forwardRef(function DialogHeader(props, ref) {
|
|
24
|
+
return /*#__PURE__*/jsx(Box, {
|
|
25
|
+
as: Dialog$1.Header,
|
|
26
|
+
ref: ref,
|
|
27
|
+
...props
|
|
28
|
+
});
|
|
25
29
|
});
|
|
26
|
-
const DialogHeader =
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
+
const DialogHeader = /*#__PURE__*/forwardRef(({
|
|
31
|
+
as,
|
|
32
|
+
...props
|
|
33
|
+
}, ref) => /*#__PURE__*/jsx(StyledDialogHeader, {
|
|
34
|
+
...props,
|
|
35
|
+
...(as ? {
|
|
36
|
+
forwardedAs: as
|
|
37
|
+
} : {}),
|
|
38
|
+
ref: ref
|
|
30
39
|
}));
|
|
31
|
-
const Dialog
|
|
40
|
+
const Dialog = Object.assign(DialogImpl, {
|
|
41
|
+
Header: DialogHeader
|
|
42
|
+
});
|
|
32
43
|
|
|
33
|
-
|
|
34
|
-
export { Dialog$1 as Dialog };
|
|
44
|
+
export { Dialog };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import styled from
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { Octicon as Octicon$1 } from '@primer/react/deprecated';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
import sx from '../../sx.js';
|
|
4
|
+
import { forwardRef } from 'react';
|
|
5
|
+
import { jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
7
|
-
//#region src/components/deprecated/Octicon.tsx
|
|
8
7
|
/**
|
|
9
|
-
* @deprecated Use the icon component directly from `@primer/octicons-react` instead
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
8
|
+
* @deprecated Use the icon component directly from `@primer/octicons-react` instead
|
|
9
|
+
*/
|
|
10
|
+
const StyledOcticon = styled(Octicon$1).withConfig({
|
|
11
|
+
shouldForwardProp(prop) {
|
|
12
|
+
return prop !== 'sx';
|
|
13
|
+
}
|
|
14
|
+
}).withConfig({
|
|
15
|
+
displayName: "Octicon__StyledOcticon",
|
|
16
|
+
componentId: "sc-jtj3m8-0"
|
|
17
|
+
})(["", ""], ({
|
|
18
|
+
color,
|
|
19
|
+
sx: sxProp
|
|
20
|
+
}) => sx({
|
|
21
|
+
sx: {
|
|
22
|
+
color,
|
|
23
|
+
...sxProp
|
|
24
|
+
}
|
|
25
|
+
}));
|
|
26
|
+
const Octicon = /*#__PURE__*/forwardRef(({
|
|
27
|
+
as,
|
|
28
|
+
...props
|
|
29
|
+
}, ref) => {
|
|
30
|
+
return /*#__PURE__*/jsx(StyledOcticon, {
|
|
31
|
+
...props,
|
|
32
|
+
...(as ? {
|
|
33
|
+
forwardedAs: as
|
|
34
|
+
} : {}),
|
|
35
|
+
ref: ref
|
|
36
|
+
});
|
|
29
37
|
});
|
|
30
38
|
|
|
31
|
-
|
|
32
|
-
export { Octicon$1 as Octicon };
|
|
39
|
+
export { Octicon, Octicon as default };
|
|
@@ -1,30 +1,44 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { TabNav as TabNav$1 } from '@primer/react/deprecated';
|
|
2
|
+
import sx from '../../sx.js';
|
|
3
|
+
import styled from 'styled-components';
|
|
4
|
+
import { forwardRef } from 'react';
|
|
5
|
+
import { jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
const StyledTabNav = styled(TabNav$1).withConfig({
|
|
8
|
+
shouldForwardProp: prop => prop !== 'sx'
|
|
9
|
+
}).withConfig({
|
|
10
|
+
displayName: "TabNav__StyledTabNav",
|
|
11
|
+
componentId: "sc-13kad3t-0"
|
|
11
12
|
})(["", ""], sx);
|
|
12
|
-
const TabNavImpl = ({
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
const TabNavImpl = ({
|
|
14
|
+
as,
|
|
15
|
+
...props
|
|
16
|
+
}) => {
|
|
17
|
+
return /*#__PURE__*/jsx(StyledTabNav, {
|
|
18
|
+
...props,
|
|
19
|
+
...(as ? {
|
|
20
|
+
forwardedAs: as
|
|
21
|
+
} : {})
|
|
22
|
+
});
|
|
17
23
|
};
|
|
18
|
-
const StyledTabNavLink = styled(TabNav.Link).withConfig({
|
|
19
|
-
|
|
20
|
-
|
|
24
|
+
const StyledTabNavLink = styled(TabNav$1.Link).withConfig({
|
|
25
|
+
shouldForwardProp: prop => prop !== 'sx'
|
|
26
|
+
}).withConfig({
|
|
27
|
+
displayName: "TabNav__StyledTabNavLink",
|
|
28
|
+
componentId: "sc-13kad3t-1"
|
|
21
29
|
})(["", ""], sx);
|
|
22
|
-
const TabNavLink =
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
30
|
+
const TabNavLink = /*#__PURE__*/forwardRef(({
|
|
31
|
+
as,
|
|
32
|
+
...props
|
|
33
|
+
}, ref) => /*#__PURE__*/jsx(StyledTabNavLink, {
|
|
34
|
+
...props,
|
|
35
|
+
...(as ? {
|
|
36
|
+
forwardedAs: as
|
|
37
|
+
} : {}),
|
|
38
|
+
ref: ref
|
|
26
39
|
}));
|
|
27
|
-
const TabNav
|
|
40
|
+
const TabNav = Object.assign(TabNavImpl, {
|
|
41
|
+
Link: TabNavLink
|
|
42
|
+
});
|
|
28
43
|
|
|
29
|
-
|
|
30
|
-
export { TabNav$1 as TabNav };
|
|
44
|
+
export { TabNav };
|
|
@@ -1,24 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
1
|
+
import { Tooltip as Tooltip$1 } from '@primer/react/deprecated';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import sx from '../../sx.js';
|
|
4
|
+
import styled from 'styled-components';
|
|
5
|
+
import { jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
const StyledTooltip = styled(Tooltip$1).withConfig({
|
|
8
|
+
shouldForwardProp: prop => prop !== 'sx'
|
|
9
|
+
}).withConfig({
|
|
10
|
+
displayName: "Tooltip__StyledTooltip",
|
|
11
|
+
componentId: "sc-145jcib-0"
|
|
11
12
|
})(["", ""], sx);
|
|
12
|
-
const
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
const TooltipImpl = /*#__PURE__*/forwardRef(function Tooltip({
|
|
14
|
+
as,
|
|
15
|
+
...props
|
|
16
|
+
}, ref) {
|
|
17
|
+
return /*#__PURE__*/jsx(StyledTooltip, {
|
|
18
|
+
...props,
|
|
19
|
+
...(as ? {
|
|
20
|
+
forwardedAs: as
|
|
21
|
+
} : {}),
|
|
22
|
+
ref: ref
|
|
23
|
+
});
|
|
18
24
|
});
|
|
19
|
-
Tooltip
|
|
20
|
-
Tooltip$1.directions = Tooltip.directions;
|
|
21
|
-
Tooltip$1.__SLOT__ = Tooltip.__SLOT__;
|
|
25
|
+
const Tooltip = TooltipImpl;
|
|
22
26
|
|
|
23
|
-
|
|
24
|
-
|
|
27
|
+
// Preserve static properties from the original component
|
|
28
|
+
Tooltip.alignments = Tooltip$1.alignments;
|
|
29
|
+
Tooltip.directions = Tooltip$1.directions;
|
|
30
|
+
Tooltip.__SLOT__ = Tooltip$1.__SLOT__;
|
|
31
|
+
|
|
32
|
+
export { Tooltip };
|
package/dist/deprecated.d.ts
CHANGED
|
@@ -1,76 +1,6 @@
|
|
|
1
|
-
export {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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';
|
|
1
|
+
export { TabNav, type TabNavProps, type TabNavLinkProps } from './components/deprecated/TabNav';
|
|
2
|
+
export { Dialog, type DialogProps, type DialogHeaderProps } from './components/deprecated/DialogV1';
|
|
3
|
+
export { Octicon, type OcticonProps } from './components/deprecated/Octicon';
|
|
4
|
+
export { Tooltip, type TooltipProps } from './components/deprecated/Tooltip';
|
|
5
|
+
export { ActionList, type ActionListProps, type ActionListItemProps, type ActionListGroupProps, } from './components/deprecated/ActionList';
|
|
76
6
|
//# 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,EAAC,MAAM,EAAE,KAAK,WAAW,EAAE,KAAK,eAAe,EAAC,MAAM,gCAAgC,CAAA;AAC7F,OAAO,EAAC,MAAM,EAAE,KAAK,WAAW,EAAE,KAAK,iBAAiB,EAAC,MAAM,kCAAkC,CAAA;AACjG,OAAO,EAAC,OAAO,EAAE,KAAK,YAAY,EAAC,MAAM,iCAAiC,CAAA;AAC1E,OAAO,EAAC,OAAO,EAAE,KAAK,YAAY,EAAC,MAAM,iCAAiC,CAAA;AAC1E,OAAO,EACL,UAAU,EACV,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,GAC1B,MAAM,oCAAoC,CAAA"}
|
package/dist/deprecated.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export { ActionList, Dialog, Octicon, TabNav, Tooltip };
|
|
1
|
+
export { TabNav } from './components/deprecated/TabNav.js';
|
|
2
|
+
export { Dialog } from './components/deprecated/DialogV1.js';
|
|
3
|
+
export { default as Octicon } from './components/deprecated/Octicon.js';
|
|
4
|
+
export { Tooltip } from './components/deprecated/Tooltip.js';
|
|
5
|
+
export { ActionList } from './components/deprecated/ActionList.js';
|
package/dist/experimental.d.ts
CHANGED
|
@@ -1,121 +1,6 @@
|
|
|
1
|
-
export {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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';
|
|
1
|
+
export { Dialog, type DialogProps } from './components/Dialog';
|
|
2
|
+
export { PageHeader, type PageHeaderProps, type PageHeaderActionsProps, type PageHeaderTitleProps, } from './components/PageHeader';
|
|
3
|
+
export { Tooltip, type TooltipProps } from './components/Tooltip';
|
|
4
|
+
export { UnderlinePanels, type UnderlinePanelsProps, type UnderlinePanelsTabProps, type UnderlinePanelsPanelProps, } from './components/UnderlinePanels';
|
|
5
|
+
export { Table, type DataTableContainerProps, type TableProps, type TableHeadProps, type TableBodyProps, type TableRowProps, type TableHeaderProps, type TableCellProps, type TableTitleProps, type TableSubtitleProps, type TableActionsProps, } from './components/DataTable';
|
|
121
6
|
//# 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,EAAC,MAAM,EAAE,KAAK,WAAW,EAAC,MAAM,qBAAqB,CAAA;AAC5D,OAAO,EACL,UAAU,EACV,KAAK,eAAe,EACpB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,GAC1B,MAAM,yBAAyB,CAAA;AAEhC,OAAO,EAAC,OAAO,EAAE,KAAK,YAAY,EAAC,MAAM,sBAAsB,CAAA;AAE/D,OAAO,EACL,eAAe,EACf,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,GAC/B,MAAM,8BAA8B,CAAA;AAErC,OAAO,EACL,KAAK,EACL,KAAK,uBAAuB,EAC5B,KAAK,UAAU,EACf,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,GACvB,MAAM,wBAAwB,CAAA"}
|
package/dist/experimental.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export { Dialog, PageHeader, Table, Tooltip, UnderlinePanels };
|
|
1
|
+
export { Dialog } from './components/Dialog.js';
|
|
2
|
+
export { PageHeader } from './components/PageHeader.js';
|
|
3
|
+
export { Tooltip } from './components/Tooltip.js';
|
|
4
|
+
export { UnderlinePanels } from './components/UnderlinePanels.js';
|
|
5
|
+
export { Table } from './components/DataTable.js';
|