@primer/styled-react 1.0.8-rc.ff9ea71b3 → 1.0.9-rc.98bb12ac8
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.json +2 -40
- package/dist/index.d.ts +0 -189
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -14
- package/package.json +2 -10
- package/dist/components/ActionList.d.ts +0 -44
- package/dist/components/ActionList.d.ts.map +0 -1
- package/dist/components/ActionList.js +0 -163
- package/dist/components/Box.d.ts +0 -19
- package/dist/components/Box.d.ts.map +0 -1
- package/dist/components/Box.js +0 -15
- package/dist/components/Button.d.ts +0 -12
- package/dist/components/Button.d.ts.map +0 -1
- package/dist/components/Button.js +0 -112
- package/dist/components/Button.stories.d.ts +0 -8
- package/dist/components/Button.stories.d.ts.map +0 -1
- package/dist/components/Dialog.d.ts +0 -30
- package/dist/components/Dialog.d.ts.map +0 -1
- package/dist/components/Dialog.js +0 -90
- package/dist/components/Flash.d.ts +0 -8
- package/dist/components/Flash.d.ts.map +0 -1
- package/dist/components/Flash.js +0 -12
- package/dist/components/Heading.d.ts +0 -8
- package/dist/components/Heading.d.ts.map +0 -1
- package/dist/components/Heading.js +0 -12
- package/dist/components/IconButton.d.ts +0 -10
- package/dist/components/IconButton.d.ts.map +0 -1
- package/dist/components/IconButton.js +0 -40
- package/dist/components/Label.d.ts +0 -9
- package/dist/components/Label.d.ts.map +0 -1
- package/dist/components/Label.js +0 -26
- package/dist/components/Link.d.ts +0 -7
- package/dist/components/Link.d.ts.map +0 -1
- package/dist/components/Link.js +0 -26
- package/dist/components/Spinner.d.ts +0 -5
- package/dist/components/Spinner.d.ts.map +0 -1
- package/dist/components/Spinner.js +0 -12
- package/dist/components/Text.d.ts +0 -15
- package/dist/components/Text.d.ts.map +0 -1
- package/dist/components/Text.js +0 -26
- package/dist/components/TextInput.d.ts +0 -15
- package/dist/components/TextInput.d.ts.map +0 -1
- package/dist/components/TextInput.js +0 -38
- package/dist/components/ToggleSwitch.d.ts +0 -6
- package/dist/components/ToggleSwitch.d.ts.map +0 -1
- package/dist/components/ToggleSwitch.js +0 -14
- package/dist/components/UnderlineNav.d.ts +0 -11
- package/dist/components/UnderlineNav.d.ts.map +0 -1
- package/dist/components/UnderlineNav.js +0 -45
- package/dist/components/deprecated/ActionList.d.ts +0 -23
- package/dist/components/deprecated/ActionList.d.ts.map +0 -1
- package/dist/components/deprecated/ActionList.js +0 -49
- package/dist/components/deprecated/DialogV1.d.ts +0 -11
- package/dist/components/deprecated/DialogV1.d.ts.map +0 -1
- package/dist/components/deprecated/DialogV1.js +0 -44
- package/dist/components/deprecated/Octicon.d.ts +0 -17
- package/dist/components/deprecated/Octicon.d.ts.map +0 -1
- package/dist/components/deprecated/Octicon.js +0 -39
- package/dist/deprecated.d.ts +0 -49
- package/dist/deprecated.d.ts.map +0 -1
- package/dist/deprecated.js +0 -3
- package/dist/experimental.d.ts +0 -12
- package/dist/experimental.d.ts.map +0 -1
- package/dist/experimental.js +0 -1
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import { Button } from '@primer/react';
|
|
2
|
-
import { forwardRef } from 'react';
|
|
3
|
-
import styled from 'styled-components';
|
|
4
|
-
import { sx } from '../sx.js';
|
|
5
|
-
import { jsx } from 'react/jsx-runtime';
|
|
6
|
-
|
|
7
|
-
const StyledButtonComponent = styled(Button).withConfig({
|
|
8
|
-
shouldForwardProp: prop => prop !== 'sx'
|
|
9
|
-
}).withConfig({
|
|
10
|
-
displayName: "Button__StyledButtonComponent",
|
|
11
|
-
componentId: "sc-vqy3e4-0"
|
|
12
|
-
})(["", ""], sx);
|
|
13
|
-
const ButtonComponent = /*#__PURE__*/forwardRef(({
|
|
14
|
-
as,
|
|
15
|
-
sx,
|
|
16
|
-
style: propStyle,
|
|
17
|
-
...props
|
|
18
|
-
}, ref) => {
|
|
19
|
-
const {
|
|
20
|
-
block,
|
|
21
|
-
size = 'medium',
|
|
22
|
-
leadingVisual,
|
|
23
|
-
trailingVisual,
|
|
24
|
-
trailingAction
|
|
25
|
-
} = props;
|
|
26
|
-
let sxStyles = {};
|
|
27
|
-
const style = {
|
|
28
|
-
...(propStyle || {})
|
|
29
|
-
};
|
|
30
|
-
if (sx !== null && Object.keys(sx || {}).length > 0) {
|
|
31
|
-
sxStyles = generateCustomSxProp({
|
|
32
|
-
block,
|
|
33
|
-
size,
|
|
34
|
-
leadingVisual,
|
|
35
|
-
trailingVisual,
|
|
36
|
-
trailingAction
|
|
37
|
-
}, sx);
|
|
38
|
-
const {
|
|
39
|
-
color
|
|
40
|
-
} = sx;
|
|
41
|
-
if (color) style['--button-color'] = color;
|
|
42
|
-
}
|
|
43
|
-
return /*#__PURE__*/jsx(StyledButtonComponent, {
|
|
44
|
-
style: style,
|
|
45
|
-
sx: sxStyles,
|
|
46
|
-
ref: ref,
|
|
47
|
-
...props,
|
|
48
|
-
...(as ? {
|
|
49
|
-
forwardedAs: as
|
|
50
|
-
} : {})
|
|
51
|
-
});
|
|
52
|
-
});
|
|
53
|
-
|
|
54
|
-
// This function is used to generate a custom cssSelector for the sxProp
|
|
55
|
-
|
|
56
|
-
// The usual sx prop can like this:
|
|
57
|
-
// sx={{
|
|
58
|
-
// [`@media (max-width: 768px)`]: {
|
|
59
|
-
// '& > ul': {
|
|
60
|
-
// backgroundColor: 'deeppink',
|
|
61
|
-
// },
|
|
62
|
-
// '&:hover': {
|
|
63
|
-
// backgroundColor: 'yellow',
|
|
64
|
-
// },
|
|
65
|
-
// },
|
|
66
|
-
// '&:hover': {
|
|
67
|
-
// backgroundColor: 'yellow',
|
|
68
|
-
// },
|
|
69
|
-
// '&': {
|
|
70
|
-
// width : 320px
|
|
71
|
-
// }
|
|
72
|
-
// }}
|
|
73
|
-
//*
|
|
74
|
-
/* What we want for Button styles is this:
|
|
75
|
-
sx={{
|
|
76
|
-
// [`@media (max-width: 768px)`]: {
|
|
77
|
-
// '&[data-attribute="something"] > ul': {
|
|
78
|
-
// backgroundColor: 'deeppink',
|
|
79
|
-
// },
|
|
80
|
-
// '&[data-attribute="something"]:hover': {
|
|
81
|
-
// backgroundColor: 'yellow',
|
|
82
|
-
// },
|
|
83
|
-
// },
|
|
84
|
-
// '&[data-attribute="something"]:hover': {
|
|
85
|
-
// backgroundColor: 'yellow',
|
|
86
|
-
// },
|
|
87
|
-
// '&[data-attribute="something"]': {
|
|
88
|
-
// width : 320px
|
|
89
|
-
// }
|
|
90
|
-
// }}
|
|
91
|
-
|
|
92
|
-
// We need to make sure we append the customCSSSelector to the original class selector. i.e & - > &[data-attribute="Icon"][data-size="small"]
|
|
93
|
-
*/
|
|
94
|
-
function generateCustomSxProp(props, providedSx) {
|
|
95
|
-
// Possible data attributes: data-size, data-block, data-no-visuals
|
|
96
|
-
const size = `[data-size="${props.size}"]`;
|
|
97
|
-
const block = props.block ? `[data-block="block"]` : '';
|
|
98
|
-
const noVisuals = props.leadingVisual || props.trailingVisual || props.trailingAction ? '' : '[data-no-visuals]';
|
|
99
|
-
|
|
100
|
-
// this is a custom selector. We need to make sure we add the data attributes to the base css class (& -> &[data-attributename="value"]])
|
|
101
|
-
const cssSelector = `&${size}${block}${noVisuals}`; // &[data-size="small"][data-block="block"][data-no-visuals]
|
|
102
|
-
|
|
103
|
-
const customSxProp = {};
|
|
104
|
-
if (!providedSx) return customSxProp;else {
|
|
105
|
-
customSxProp[cssSelector] = providedSx;
|
|
106
|
-
return customSxProp;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
ButtonComponent.displayName = 'Button';
|
|
110
|
-
ButtonComponent.__SLOT__ = Button.__SLOT__;
|
|
111
|
-
|
|
112
|
-
export { ButtonComponent, generateCustomSxProp };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
title: string;
|
|
3
|
-
component: import("../polymorphic").ForwardRefComponent<"button", import("./Button").ButtonComponentProps> & import("@primer/react").SlotMarker;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const WithColor: () => import("react").JSX.Element;
|
|
7
|
-
export declare const WithFontSize: () => import("react").JSX.Element;
|
|
8
|
-
//# sourceMappingURL=Button.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../src/components/Button.stories.tsx"],"names":[],"mappings":";;;;AAEA,wBAGC;AAED,eAAO,MAAM,SAAS,mCAAgE,CAAA;AAEtF,eAAO,MAAM,YAAY,mCAA0D,CAAA"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import type { DialogProps as PrimerDialogProps } from '@primer/react';
|
|
2
|
-
import type { SxProp } from '../sx';
|
|
3
|
-
import { type PropsWithChildren } from 'react';
|
|
4
|
-
type DialogProps = PropsWithChildren<PrimerDialogProps> & SxProp & {
|
|
5
|
-
as?: React.ElementType;
|
|
6
|
-
};
|
|
7
|
-
type StyledBodyProps = React.ComponentProps<'div'> & SxProp & {
|
|
8
|
-
as?: React.ElementType;
|
|
9
|
-
};
|
|
10
|
-
type StyledFooterProps = React.ComponentProps<'div'> & SxProp & {
|
|
11
|
-
as?: React.ElementType;
|
|
12
|
-
};
|
|
13
|
-
declare const Dialog: import("react").ForwardRefExoticComponent<PrimerDialogProps & {
|
|
14
|
-
children?: import("react").ReactNode | undefined;
|
|
15
|
-
} & SxProp & {
|
|
16
|
-
as?: React.ElementType;
|
|
17
|
-
} & import("react").RefAttributes<HTMLDivElement>> & {
|
|
18
|
-
__SLOT__: symbol;
|
|
19
|
-
Buttons: import("react").FC<PropsWithChildren<{
|
|
20
|
-
buttons: import("@primer/react").DialogButtonProps[];
|
|
21
|
-
}>>;
|
|
22
|
-
Header: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & SxProp & {
|
|
23
|
-
as?: React.ElementType;
|
|
24
|
-
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
25
|
-
Body: import("react").ForwardRefExoticComponent<Omit<StyledBodyProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
26
|
-
Footer: import("react").ForwardRefExoticComponent<Omit<StyledFooterProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
27
|
-
};
|
|
28
|
-
export { Dialog };
|
|
29
|
-
export type { DialogProps };
|
|
30
|
-
//# sourceMappingURL=Dialog.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../src/components/Dialog.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,WAAW,IAAI,iBAAiB,EAAa,MAAM,eAAe,CAAA;AAC/E,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,OAAO,CAAA;AAGjC,OAAO,EAA4C,KAAK,iBAAiB,EAAC,MAAM,OAAO,CAAA;AAEvF,KAAK,WAAW,GAAG,iBAAiB,CAAC,iBAAiB,CAAC,GAAG,MAAM,GAAG;IAAC,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;CAAC,CAAA;AAwB3F,KAAK,eAAe,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,MAAM,GAAG;IAAC,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;CAAC,CAAA;AAYtF,KAAK,iBAAiB,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,MAAM,GAAG;IAAC,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;CAAC,CAAA;AAgBxF,QAAA,MAAM,MAAM;;;SApD6D,KAAK,CAAC,WAAW;;;;;;;aAYhB,KAAK,CAAC,WAAW;;;;CA8CzF,CAAA;AAEF,OAAO,EAAC,MAAM,EAAC,CAAA;AACf,YAAY,EAAC,WAAW,EAAC,CAAA"}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { Dialog as Dialog$1 } from '@primer/react';
|
|
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
|
-
|
|
7
|
-
const StyledDialog = styled(Dialog$1).withConfig({
|
|
8
|
-
shouldForwardProp: prop => prop !== 'sx'
|
|
9
|
-
}).withConfig({
|
|
10
|
-
displayName: "Dialog__StyledDialog",
|
|
11
|
-
componentId: "sc-19zph8h-0"
|
|
12
|
-
})(["", ""], sx);
|
|
13
|
-
const DialogImpl = /*#__PURE__*/forwardRef(function Dialog({
|
|
14
|
-
as,
|
|
15
|
-
...props
|
|
16
|
-
}, ref) {
|
|
17
|
-
return /*#__PURE__*/jsx(StyledDialog, {
|
|
18
|
-
ref: ref,
|
|
19
|
-
...(as ? {
|
|
20
|
-
forwardedAs: as
|
|
21
|
-
} : {}),
|
|
22
|
-
...props
|
|
23
|
-
});
|
|
24
|
-
});
|
|
25
|
-
const StyledDialogHeader = styled(Dialog$1.Header).withConfig({
|
|
26
|
-
shouldForwardProp: prop => prop !== 'sx'
|
|
27
|
-
}).withConfig({
|
|
28
|
-
displayName: "Dialog__StyledDialogHeader",
|
|
29
|
-
componentId: "sc-19zph8h-1"
|
|
30
|
-
})(["", ""], sx);
|
|
31
|
-
const DialogHeader = /*#__PURE__*/forwardRef(function DialogHeader({
|
|
32
|
-
as,
|
|
33
|
-
...props
|
|
34
|
-
}, ref) {
|
|
35
|
-
return /*#__PURE__*/jsx(StyledDialogHeader, {
|
|
36
|
-
ref: ref,
|
|
37
|
-
...(as ? {
|
|
38
|
-
forwardedAs: as
|
|
39
|
-
} : {}),
|
|
40
|
-
...props
|
|
41
|
-
});
|
|
42
|
-
});
|
|
43
|
-
const StyledDialogBody = styled(Dialog$1.Body).withConfig({
|
|
44
|
-
shouldForwardProp: prop => prop !== 'sx'
|
|
45
|
-
}).withConfig({
|
|
46
|
-
displayName: "Dialog__StyledDialogBody",
|
|
47
|
-
componentId: "sc-19zph8h-2"
|
|
48
|
-
})(["", ""], sx);
|
|
49
|
-
const DialogBody = /*#__PURE__*/forwardRef(function DialogBody({
|
|
50
|
-
as,
|
|
51
|
-
...props
|
|
52
|
-
}, ref) {
|
|
53
|
-
return /*#__PURE__*/jsx(StyledDialogBody, {
|
|
54
|
-
ref: ref,
|
|
55
|
-
...(as ? {
|
|
56
|
-
forwardedAs: as
|
|
57
|
-
} : {}),
|
|
58
|
-
...props
|
|
59
|
-
});
|
|
60
|
-
});
|
|
61
|
-
const StyledDialogFooter = styled(Dialog$1.Footer).withConfig({
|
|
62
|
-
shouldForwardProp: prop => prop !== 'sx'
|
|
63
|
-
}).withConfig({
|
|
64
|
-
displayName: "Dialog__StyledDialogFooter",
|
|
65
|
-
componentId: "sc-19zph8h-3"
|
|
66
|
-
})(["", ""], sx);
|
|
67
|
-
const DialogFooter = /*#__PURE__*/forwardRef(function DialogFooter({
|
|
68
|
-
as,
|
|
69
|
-
...props
|
|
70
|
-
}, ref) {
|
|
71
|
-
return /*#__PURE__*/jsx(StyledDialogFooter, {
|
|
72
|
-
ref: ref,
|
|
73
|
-
...(as ? {
|
|
74
|
-
forwardedAs: as
|
|
75
|
-
} : {}),
|
|
76
|
-
...props
|
|
77
|
-
});
|
|
78
|
-
});
|
|
79
|
-
DialogHeader.__SLOT__ = Dialog$1.Header.__SLOT__;
|
|
80
|
-
DialogBody.__SLOT__ = Dialog$1.Body.__SLOT__;
|
|
81
|
-
DialogFooter.__SLOT__ = Dialog$1.Footer.__SLOT__;
|
|
82
|
-
const Dialog = Object.assign(DialogImpl, {
|
|
83
|
-
__SLOT__: Dialog$1['__SLOT__'],
|
|
84
|
-
Buttons: Dialog$1.Buttons,
|
|
85
|
-
Header: DialogHeader,
|
|
86
|
-
Body: DialogBody,
|
|
87
|
-
Footer: DialogFooter
|
|
88
|
-
});
|
|
89
|
-
|
|
90
|
-
export { Dialog };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type FlashProps as PrimerFlashProps } from '@primer/react';
|
|
2
|
-
import { type SxProp } from '../sx';
|
|
3
|
-
import type { ForwardRefComponent } from '../polymorphic';
|
|
4
|
-
type FlashProps = PrimerFlashProps & SxProp;
|
|
5
|
-
declare const Flash: ForwardRefComponent<'div', FlashProps>;
|
|
6
|
-
export { Flash };
|
|
7
|
-
export type { FlashProps };
|
|
8
|
-
//# sourceMappingURL=Flash.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Flash.d.ts","sourceRoot":"","sources":["../../src/components/Flash.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,UAAU,IAAI,gBAAgB,EAAuB,MAAM,eAAe,CAAA;AAEvF,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AACrC,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,gBAAgB,CAAA;AAEvD,KAAK,UAAU,GAAG,gBAAgB,GAAG,MAAM,CAAA;AAE3C,QAAA,MAAM,KAAK,EAAE,mBAAmB,CAAC,KAAK,EAAE,UAAU,CAIjD,CAAA;AAED,OAAO,EAAC,KAAK,EAAC,CAAA;AACd,YAAY,EAAC,UAAU,EAAC,CAAA"}
|
package/dist/components/Flash.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Flash as Flash$1 } from '@primer/react';
|
|
2
|
-
import styled from 'styled-components';
|
|
3
|
-
import { sx } from '../sx.js';
|
|
4
|
-
|
|
5
|
-
const Flash = styled(Flash$1).withConfig({
|
|
6
|
-
shouldForwardProp: prop => prop !== 'sx'
|
|
7
|
-
}).withConfig({
|
|
8
|
-
displayName: "Flash",
|
|
9
|
-
componentId: "sc-413izo-0"
|
|
10
|
-
})(["", ""], sx);
|
|
11
|
-
|
|
12
|
-
export { Flash };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type HeadingProps as PrimerHeadingProps } from '@primer/react';
|
|
2
|
-
import type { ForwardRefComponent } from '../polymorphic';
|
|
3
|
-
import { type SxProp } from '../sx';
|
|
4
|
-
type HeadingLevels = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
5
|
-
type HeadingProps = PrimerHeadingProps & SxProp;
|
|
6
|
-
declare const Heading: ForwardRefComponent<HeadingLevels, HeadingProps>;
|
|
7
|
-
export { Heading, type HeadingProps };
|
|
8
|
-
//# sourceMappingURL=Heading.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../src/components/Heading.tsx"],"names":[],"mappings":"AACA,OAAO,EAAC,KAAK,YAAY,IAAI,kBAAkB,EAAC,MAAM,eAAe,CAAA;AACrE,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,gBAAgB,CAAA;AACvD,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AAGrC,KAAK,aAAa,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAE5D,KAAK,YAAY,GAAG,kBAAkB,GAAG,MAAM,CAAA;AAE/C,QAAA,MAAM,OAAO,EAAE,mBAAmB,CAAC,aAAa,EAAE,YAAY,CAI7D,CAAA;AAED,OAAO,EAAC,OAAO,EAAE,KAAK,YAAY,EAAC,CAAA"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Heading as Heading$1 } from '@primer/react';
|
|
2
|
-
import { sx } from '../sx.js';
|
|
3
|
-
import styled from 'styled-components';
|
|
4
|
-
|
|
5
|
-
const Heading = styled(Heading$1).withConfig({
|
|
6
|
-
shouldForwardProp: prop => prop !== 'sx'
|
|
7
|
-
}).withConfig({
|
|
8
|
-
displayName: "Heading",
|
|
9
|
-
componentId: "sc-1vc165i-0"
|
|
10
|
-
})(["", ""], sx);
|
|
11
|
-
|
|
12
|
-
export { Heading };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type IconButtonProps as PrimerIconButtonProps, type SlotMarker } from '@primer/react';
|
|
2
|
-
import { type ForwardRefComponent } from '../polymorphic';
|
|
3
|
-
import { type SxProp } from '../sx';
|
|
4
|
-
type IconButtonProps = PrimerIconButtonProps & SxProp & {
|
|
5
|
-
as?: React.ElementType;
|
|
6
|
-
};
|
|
7
|
-
declare const IconButton: ForwardRefComponent<"a" | "button", IconButtonProps> & SlotMarker;
|
|
8
|
-
export { IconButton };
|
|
9
|
-
export type { IconButtonProps };
|
|
10
|
-
//# sourceMappingURL=IconButton.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../src/components/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,eAAe,IAAI,qBAAqB,EAC7C,KAAK,UAAU,EAChB,MAAM,eAAe,CAAA;AACtB,OAAO,EAAC,KAAK,mBAAmB,EAAC,MAAM,gBAAgB,CAAA;AAIvD,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AAErC,KAAK,eAAe,GAAG,qBAAqB,GAAG,MAAM,GAAG;IAAC,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;CAAC,CAAA;AAQhF,QAAA,MAAM,UAAU,EAUV,mBAAmB,CAAC,GAAG,GAAG,QAAQ,EAAE,eAAe,CAAC,GAAG,UAAU,CAAA;AAIvE,OAAO,EAAC,UAAU,EAAC,CAAA;AACnB,YAAY,EAAC,eAAe,EAAC,CAAA"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { IconButton as IconButton$1 } from '@primer/react';
|
|
2
|
-
import { generateCustomSxProp } from './Button.js';
|
|
3
|
-
import { forwardRef } from 'react';
|
|
4
|
-
import styled from 'styled-components';
|
|
5
|
-
import { sx } from '../sx.js';
|
|
6
|
-
import { jsx } from 'react/jsx-runtime';
|
|
7
|
-
|
|
8
|
-
const StyledIconButton = styled(IconButton$1).withConfig({
|
|
9
|
-
shouldForwardProp: prop => prop !== 'sx'
|
|
10
|
-
}).withConfig({
|
|
11
|
-
displayName: "IconButton__StyledIconButton",
|
|
12
|
-
componentId: "sc-i53dt6-0"
|
|
13
|
-
})(["", ""], sx);
|
|
14
|
-
const IconButton = /*#__PURE__*/forwardRef(({
|
|
15
|
-
as,
|
|
16
|
-
sx,
|
|
17
|
-
...props
|
|
18
|
-
}, ref) => {
|
|
19
|
-
let sxStyles = sx;
|
|
20
|
-
// grap the button props that have associated data attributes in the styles
|
|
21
|
-
const {
|
|
22
|
-
size = 'medium'
|
|
23
|
-
} = props;
|
|
24
|
-
if (sx !== null && sx !== undefined && Object.keys(sx).length > 0) {
|
|
25
|
-
sxStyles = generateCustomSxProp({
|
|
26
|
-
size
|
|
27
|
-
}, sx);
|
|
28
|
-
}
|
|
29
|
-
return /*#__PURE__*/jsx(StyledIconButton, {
|
|
30
|
-
sx: sxStyles,
|
|
31
|
-
...props,
|
|
32
|
-
...(as ? {
|
|
33
|
-
forwardedAs: as
|
|
34
|
-
} : {}),
|
|
35
|
-
ref: ref
|
|
36
|
-
});
|
|
37
|
-
});
|
|
38
|
-
IconButton.__SLOT__ = IconButton$1.__SLOT__;
|
|
39
|
-
|
|
40
|
-
export { IconButton };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type LabelProps as PrimerLabelProps } from '@primer/react';
|
|
2
|
-
import { type SxProp } from '../sx';
|
|
3
|
-
import type { ForwardRefComponent } from '../polymorphic';
|
|
4
|
-
type LabelProps = PrimerLabelProps & SxProp & {
|
|
5
|
-
as?: React.ElementType;
|
|
6
|
-
};
|
|
7
|
-
declare const Label: ForwardRefComponent<"span", LabelProps>;
|
|
8
|
-
export { Label, type LabelProps };
|
|
9
|
-
//# sourceMappingURL=Label.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../src/components/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,UAAU,IAAI,gBAAgB,EAAuB,MAAM,eAAe,CAAA;AACvF,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AAErC,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,gBAAgB,CAAA;AAGvD,KAAK,UAAU,GAAG,gBAAgB,GAAG,MAAM,GAAG;IAAC,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;CAAC,CAAA;AAQtE,QAAA,MAAM,KAAK,EAEL,mBAAmB,CAAC,MAAM,EAAE,UAAU,CAAC,CAAA;AAE7C,OAAO,EAAC,KAAK,EAAE,KAAK,UAAU,EAAC,CAAA"}
|
package/dist/components/Label.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Label as Label$1 } from '@primer/react';
|
|
2
|
-
import { sx } from '../sx.js';
|
|
3
|
-
import { forwardRef } from 'react';
|
|
4
|
-
import styled from 'styled-components';
|
|
5
|
-
import { jsx } from 'react/jsx-runtime';
|
|
6
|
-
|
|
7
|
-
const StyledLabel = styled(Label$1).withConfig({
|
|
8
|
-
shouldForwardProp: prop => prop !== 'sx'
|
|
9
|
-
}).withConfig({
|
|
10
|
-
displayName: "Label__StyledLabel",
|
|
11
|
-
componentId: "sc-1cpass9-0"
|
|
12
|
-
})(["", ""], sx);
|
|
13
|
-
const Label = /*#__PURE__*/forwardRef(({
|
|
14
|
-
as,
|
|
15
|
-
...props
|
|
16
|
-
}, ref) => {
|
|
17
|
-
return /*#__PURE__*/jsx(StyledLabel, {
|
|
18
|
-
...props,
|
|
19
|
-
...(as ? {
|
|
20
|
-
forwardedAs: as
|
|
21
|
-
} : {}),
|
|
22
|
-
ref: ref
|
|
23
|
-
});
|
|
24
|
-
});
|
|
25
|
-
|
|
26
|
-
export { Label };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { type LinkProps as PrimerLinkProps } from '@primer/react';
|
|
2
|
-
import { type SxProp } from '../sx';
|
|
3
|
-
import type { ForwardRefComponent } from '../polymorphic';
|
|
4
|
-
type LinkProps = PrimerLinkProps & SxProp;
|
|
5
|
-
declare const Link: ForwardRefComponent<"a", LinkProps>;
|
|
6
|
-
export { Link, type LinkProps };
|
|
7
|
-
//# sourceMappingURL=Link.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../src/components/Link.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,SAAS,IAAI,eAAe,EAAC,MAAM,eAAe,CAAA;AAEnF,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AACrC,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,gBAAgB,CAAA;AAGvD,KAAK,SAAS,GAAG,eAAe,GAAG,MAAM,CAAA;AAQzC,QAAA,MAAM,IAAI,EAEJ,mBAAmB,CAAC,GAAG,EAAE,SAAS,CAAC,CAAA;AAEzC,OAAO,EAAC,IAAI,EAAE,KAAK,SAAS,EAAC,CAAA"}
|
package/dist/components/Link.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Link as Link$1 } from '@primer/react';
|
|
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
|
-
|
|
7
|
-
const StyledLink = styled(Link$1).withConfig({
|
|
8
|
-
shouldForwardProp: prop => prop !== 'sx'
|
|
9
|
-
}).withConfig({
|
|
10
|
-
displayName: "Link__StyledLink",
|
|
11
|
-
componentId: "sc-1syctfj-0"
|
|
12
|
-
})(["", ""], sx);
|
|
13
|
-
const Link = /*#__PURE__*/forwardRef(({
|
|
14
|
-
as,
|
|
15
|
-
...props
|
|
16
|
-
}, ref) => {
|
|
17
|
-
return /*#__PURE__*/jsx(StyledLink, {
|
|
18
|
-
...props,
|
|
19
|
-
...(as ? {
|
|
20
|
-
forwardedAs: as
|
|
21
|
-
} : {}),
|
|
22
|
-
ref: ref
|
|
23
|
-
});
|
|
24
|
-
});
|
|
25
|
-
|
|
26
|
-
export { Link };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Spinner as PrimerSpinner, type SpinnerProps as PrimerSpinnerProps } from '@primer/react';
|
|
2
|
-
import { type SxProp } from '../sx';
|
|
3
|
-
export type SpinnerProps = PrimerSpinnerProps & SxProp;
|
|
4
|
-
export declare const Spinner: import("styled-components").StyledComponent<typeof PrimerSpinner, any, SpinnerProps, never>;
|
|
5
|
-
//# sourceMappingURL=Spinner.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../src/components/Spinner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,aAAa,EAAE,KAAK,YAAY,IAAI,kBAAkB,EAAC,MAAM,eAAe,CAAA;AAC/F,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AAGrC,MAAM,MAAM,YAAY,GAAG,kBAAkB,GAAG,MAAM,CAAA;AAEtD,eAAO,MAAM,OAAO,6FAInB,CAAA"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Spinner as Spinner$1 } from '@primer/react';
|
|
2
|
-
import { sx } from '../sx.js';
|
|
3
|
-
import styled from 'styled-components';
|
|
4
|
-
|
|
5
|
-
const Spinner = styled(Spinner$1).withConfig({
|
|
6
|
-
shouldForwardProp: prop => prop !== 'sx'
|
|
7
|
-
}).withConfig({
|
|
8
|
-
displayName: "Spinner",
|
|
9
|
-
componentId: "sc-jbw2a0-0"
|
|
10
|
-
})(["", ""], sx);
|
|
11
|
-
|
|
12
|
-
export { Spinner };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { type TextProps as PrimerTextProps } from '@primer/react';
|
|
2
|
-
import { type SxProp } from '../sx';
|
|
3
|
-
import type React from 'react';
|
|
4
|
-
import type { ForwardRefComponent } from '../polymorphic';
|
|
5
|
-
type BaseTextProps = {
|
|
6
|
-
size?: 'large' | 'medium' | 'small';
|
|
7
|
-
weight?: 'light' | 'normal' | 'medium' | 'semibold';
|
|
8
|
-
className?: string;
|
|
9
|
-
children?: React.ReactNode;
|
|
10
|
-
as?: React.ElementType;
|
|
11
|
-
} & SxProp & React.HTMLAttributes<HTMLElement>;
|
|
12
|
-
type TextProps<As extends React.ElementType = 'span'> = PrimerTextProps<As> & SxProp;
|
|
13
|
-
declare const Text: ForwardRefComponent<"span", BaseTextProps>;
|
|
14
|
-
export { Text, type TextProps };
|
|
15
|
-
//# sourceMappingURL=Text.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../src/components/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,SAAS,IAAI,eAAe,EAAC,MAAM,eAAe,CAAA;AACnF,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AAErC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,gBAAgB,CAAA;AAGvD,KAAK,aAAa,GAAG;IACnB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IACnC,MAAM,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,UAAU,CAAA;IACnD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;CACvB,GAAG,MAAM,GACR,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,CAAA;AAGnC,KAAK,SAAS,CAAC,EAAE,SAAS,KAAK,CAAC,WAAW,GAAG,MAAM,IAAI,eAAe,CAAC,EAAE,CAAC,GAAG,MAAM,CAAA;AAQpF,QAAA,MAAM,IAAI,EAEJ,mBAAmB,CAAC,MAAM,EAAE,aAAa,CAAC,CAAA;AAEhD,OAAO,EAAC,IAAI,EAAE,KAAK,SAAS,EAAC,CAAA"}
|
package/dist/components/Text.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Text as Text$1 } from '@primer/react';
|
|
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
|
-
|
|
7
|
-
const StyledText = styled(Text$1).withConfig({
|
|
8
|
-
shouldForwardProp: prop => prop !== 'sx'
|
|
9
|
-
}).withConfig({
|
|
10
|
-
displayName: "Text__StyledText",
|
|
11
|
-
componentId: "sc-1klmep6-0"
|
|
12
|
-
})(["", ""], sx);
|
|
13
|
-
const Text = /*#__PURE__*/forwardRef(({
|
|
14
|
-
as,
|
|
15
|
-
...props
|
|
16
|
-
}, ref) => {
|
|
17
|
-
return /*#__PURE__*/jsx(StyledText, {
|
|
18
|
-
...props,
|
|
19
|
-
...(as ? {
|
|
20
|
-
forwardedAs: as
|
|
21
|
-
} : {}),
|
|
22
|
-
ref: ref
|
|
23
|
-
});
|
|
24
|
-
});
|
|
25
|
-
|
|
26
|
-
export { Text };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { type TextInputProps as PrimerTextInputProps, type TextInputActionProps as PrimerTextInputActionProps } from '@primer/react';
|
|
2
|
-
import { type ForwardRefExoticComponent, type RefAttributes } from 'react';
|
|
3
|
-
import { type SxProp } from '../sx';
|
|
4
|
-
import { type ForwardRefComponent } from '../polymorphic';
|
|
5
|
-
export type TextInputProps = PrimerTextInputProps & SxProp & {
|
|
6
|
-
as?: React.ElementType;
|
|
7
|
-
};
|
|
8
|
-
export type TextInputActionProps = PrimerTextInputActionProps & SxProp;
|
|
9
|
-
declare const TextInputAction: ForwardRefComponent<'button', TextInputActionProps>;
|
|
10
|
-
type TextInputComposite = ForwardRefExoticComponent<TextInputProps & RefAttributes<HTMLInputElement>> & {
|
|
11
|
-
Action: typeof TextInputAction;
|
|
12
|
-
};
|
|
13
|
-
export declare const TextInput: TextInputComposite;
|
|
14
|
-
export {};
|
|
15
|
-
//# sourceMappingURL=TextInput.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../src/components/TextInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,cAAc,IAAI,oBAAoB,EAC3C,KAAK,oBAAoB,IAAI,0BAA0B,EACxD,MAAM,eAAe,CAAA;AACtB,OAAO,EAAa,KAAK,yBAAyB,EAAE,KAAK,aAAa,EAAC,MAAM,OAAO,CAAA;AACpF,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AACrC,OAAO,EAAC,KAAK,mBAAmB,EAAC,MAAM,gBAAgB,CAAA;AAGvD,MAAM,MAAM,cAAc,GAAG,oBAAoB,GAAG,MAAM,GAAG;IAAC,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;CAAC,CAAA;AACrF,MAAM,MAAM,oBAAoB,GAAG,0BAA0B,GAAG,MAAM,CAAA;AAYtE,QAAA,MAAM,eAAe,EAAE,mBAAmB,CAAC,QAAQ,EAAE,oBAAoB,CAIxE,CAAA;AAED,KAAK,kBAAkB,GAAG,yBAAyB,CAAC,cAAc,GAAG,aAAa,CAAC,gBAAgB,CAAC,CAAC,GAAG;IACtG,MAAM,EAAE,OAAO,eAAe,CAAA;CAC/B,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,kBAGtB,CAAA"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { TextInput as TextInput$1 } from '@primer/react';
|
|
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
|
-
|
|
7
|
-
const StyledTextInput = styled(TextInput$1).withConfig({
|
|
8
|
-
shouldForwardProp: prop => prop !== 'sx'
|
|
9
|
-
}).withConfig({
|
|
10
|
-
displayName: "TextInput__StyledTextInput",
|
|
11
|
-
componentId: "sc-ttxlvl-0"
|
|
12
|
-
})(["", ""], sx);
|
|
13
|
-
const TextInputImpl = /*#__PURE__*/forwardRef(({
|
|
14
|
-
as,
|
|
15
|
-
...props
|
|
16
|
-
}, ref) => {
|
|
17
|
-
return /*#__PURE__*/jsx(StyledTextInput, {
|
|
18
|
-
ref: ref,
|
|
19
|
-
...props,
|
|
20
|
-
...(as ? {
|
|
21
|
-
forwardedAs: as
|
|
22
|
-
} : {})
|
|
23
|
-
});
|
|
24
|
-
});
|
|
25
|
-
const TextInputAction = styled(TextInput$1.Action).withConfig({
|
|
26
|
-
shouldForwardProp: prop => prop !== 'sx'
|
|
27
|
-
}).withConfig({
|
|
28
|
-
displayName: "TextInput__TextInputAction",
|
|
29
|
-
componentId: "sc-ttxlvl-1"
|
|
30
|
-
})(["", ""], sx);
|
|
31
|
-
const TextInput = Object.assign(TextInputImpl, {
|
|
32
|
-
__SLOT__: TextInput$1.__SLOT__,
|
|
33
|
-
Action: TextInputAction
|
|
34
|
-
});
|
|
35
|
-
TextInputAction.displayName = 'TextInputAction';
|
|
36
|
-
TextInputImpl.displayName = 'TextInput';
|
|
37
|
-
|
|
38
|
-
export { TextInput };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { type ToggleSwitchProps as PrimerToggleSwitchProps } from '@primer/react';
|
|
2
|
-
import type { StyledProps } from '../styled-props';
|
|
3
|
-
type ToggleSwitchProps = PrimerToggleSwitchProps & Omit<StyledProps, keyof PrimerToggleSwitchProps>;
|
|
4
|
-
declare const ToggleSwitch: import("react").ForwardRefExoticComponent<PrimerToggleSwitchProps & Omit<StyledProps, keyof PrimerToggleSwitchProps> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
5
|
-
export { ToggleSwitch, type ToggleSwitchProps };
|
|
6
|
-
//# sourceMappingURL=ToggleSwitch.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ToggleSwitch.d.ts","sourceRoot":"","sources":["../../src/components/ToggleSwitch.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqC,KAAK,iBAAiB,IAAI,uBAAuB,EAAC,MAAM,eAAe,CAAA;AAGnH,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,iBAAiB,CAAA;AAEhD,KAAK,iBAAiB,GAAG,uBAAuB,GAAG,IAAI,CAAC,WAAW,EAAE,MAAM,uBAAuB,CAAC,CAAA;AAEnG,QAAA,MAAM,YAAY,0KAEhB,CAAA;AAEF,OAAO,EAAC,YAAY,EAAE,KAAK,iBAAiB,EAAC,CAAA"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ToggleSwitch as ToggleSwitch$1 } from '@primer/react';
|
|
2
|
-
import { forwardRef } from 'react';
|
|
3
|
-
import { Box } from './Box.js';
|
|
4
|
-
import { jsx } from 'react/jsx-runtime';
|
|
5
|
-
|
|
6
|
-
const ToggleSwitch = /*#__PURE__*/forwardRef(function ToggleSwitch(props, ref) {
|
|
7
|
-
return /*#__PURE__*/jsx(Box, {
|
|
8
|
-
as: ToggleSwitch$1,
|
|
9
|
-
ref: ref,
|
|
10
|
-
...props
|
|
11
|
-
});
|
|
12
|
-
});
|
|
13
|
-
|
|
14
|
-
export { ToggleSwitch };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type UnderlineNavProps as PrimerUnderlineNavProps, type UnderlineNavItemProps as PrimerUnderlineNavItemProps } from '@primer/react';
|
|
2
|
-
import type { ForwardRefComponent } from '../polymorphic';
|
|
3
|
-
import { type SxProp } from '../sx';
|
|
4
|
-
export type UnderlineNavProps = PrimerUnderlineNavProps & SxProp;
|
|
5
|
-
export declare const UnderlineNavImpl: ForwardRefComponent<"nav", UnderlineNavProps>;
|
|
6
|
-
export type UnderlineNavItemProps = PrimerUnderlineNavItemProps & SxProp & React.HTMLAttributes<HTMLElement>;
|
|
7
|
-
export declare const UnderlineNavItem: ForwardRefComponent<"a", UnderlineNavItemProps>;
|
|
8
|
-
export declare const UnderlineNav: ForwardRefComponent<"nav", UnderlineNavProps> & {
|
|
9
|
-
Item: ForwardRefComponent<"a", UnderlineNavItemProps>;
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=UnderlineNav.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UnderlineNav.d.ts","sourceRoot":"","sources":["../../src/components/UnderlineNav.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,iBAAiB,IAAI,uBAAuB,EACjD,KAAK,qBAAqB,IAAI,2BAA2B,EAC1D,MAAM,eAAe,CAAA;AAEtB,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,gBAAgB,CAAA;AAGvD,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AAErC,MAAM,MAAM,iBAAiB,GAAG,uBAAuB,GAAG,MAAM,CAAA;AAMhE,eAAO,MAAM,gBAAgB,EAEvB,mBAAmB,CAAC,KAAK,EAAE,iBAAiB,CAAC,CAAA;AAEnD,MAAM,MAAM,qBAAqB,GAAG,2BAA2B,GAAG,MAAM,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,CAAA;AAS5G,eAAO,MAAM,gBAAgB,EAEvB,mBAAmB,CAAC,GAAG,EAAE,qBAAqB,CAAC,CAAA;AAErD,eAAO,MAAM,YAAY;;CAEvB,CAAA"}
|