@primer/styled-react 1.0.0-rc.3 → 1.0.0-rc.5
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/README.md +18 -0
- package/dist/PageHeader-DCDIR2C1.js +144 -0
- package/dist/Tooltip-YuSlJ5b_.js +20 -0
- package/dist/components/ActionMenu.d.ts +12 -0
- package/dist/components/ActionMenu.d.ts.map +1 -0
- package/dist/components/Autocomplete.d.ts +15 -0
- package/dist/components/Autocomplete.d.ts.map +1 -0
- package/dist/components/Avatar.d.ts +13 -0
- package/dist/components/Avatar.d.ts.map +1 -0
- package/dist/components/Box.d.ts +2 -0
- package/dist/components/Box.d.ts.map +1 -0
- package/dist/components/Breadcrumbs.d.ts +18 -0
- package/dist/components/Breadcrumbs.d.ts.map +1 -0
- package/dist/components/Checkbox.d.ts +5 -0
- package/dist/components/Checkbox.d.ts.map +1 -0
- package/dist/components/CheckboxGroup.d.ts +22 -0
- package/dist/components/CheckboxGroup.d.ts.map +1 -0
- package/dist/components/CircleBadge.d.ts +7 -0
- package/dist/components/CircleBadge.d.ts.map +1 -0
- package/dist/components/CounterLabel.d.ts +10 -0
- package/dist/components/CounterLabel.d.ts.map +1 -0
- package/dist/components/Dialog.d.ts +19 -0
- package/dist/components/Dialog.d.ts.map +1 -0
- package/dist/components/DialogV1.d.ts +11 -0
- package/dist/components/DialogV1.d.ts.map +1 -0
- package/dist/components/Flash.d.ts +8 -0
- package/dist/components/Flash.d.ts.map +1 -0
- package/dist/components/Header.d.ts +11 -0
- package/dist/components/Header.d.ts.map +1 -0
- package/dist/components/Heading.d.ts +8 -0
- package/dist/components/Heading.d.ts.map +1 -0
- package/dist/components/Label.d.ts +9 -0
- package/dist/components/Label.d.ts.map +1 -0
- package/dist/components/Link.d.ts +7 -0
- package/dist/components/Link.d.ts.map +1 -0
- package/dist/components/LinkButton.d.ts +7 -0
- package/dist/components/LinkButton.d.ts.map +1 -0
- package/dist/components/NavList.d.ts +25 -0
- package/dist/components/NavList.d.ts.map +1 -0
- package/dist/components/Overlay.d.ts +7 -0
- package/dist/components/Overlay.d.ts.map +1 -0
- package/dist/components/PageHeader.d.ts +31 -0
- package/dist/components/PageHeader.d.ts.map +1 -0
- package/dist/components/RadioGroup.d.ts +22 -0
- package/dist/components/RadioGroup.d.ts.map +1 -0
- package/dist/components/RelativeTime.d.ts +6 -0
- package/dist/components/RelativeTime.d.ts.map +1 -0
- package/dist/components/SegmentedControl.d.ts +12 -0
- package/dist/components/SegmentedControl.d.ts.map +1 -0
- package/dist/components/Spinner.d.ts +6 -0
- package/dist/components/Spinner.d.ts.map +1 -0
- package/dist/components/StateLabel.d.ts +9 -0
- package/dist/components/StateLabel.d.ts.map +1 -0
- package/dist/components/SubNav.d.ts +9 -0
- package/dist/components/SubNav.d.ts.map +1 -0
- package/dist/components/TabNav.d.ts +9 -0
- package/dist/components/TabNav.d.ts.map +1 -0
- package/dist/components/Text.d.ts +7 -0
- package/dist/components/Text.d.ts.map +1 -0
- package/dist/components/Timeline.d.ts +26 -0
- package/dist/components/Timeline.d.ts.map +1 -0
- package/dist/components/ToggleSwitch.d.ts +6 -0
- package/dist/components/ToggleSwitch.d.ts.map +1 -0
- package/dist/components/Token.d.ts +7 -0
- package/dist/components/Token.d.ts.map +1 -0
- package/dist/components/Tooltip.d.ts +10 -0
- package/dist/components/Tooltip.d.ts.map +1 -0
- package/dist/components/Truncate.d.ts +7 -0
- package/dist/components/Truncate.d.ts.map +1 -0
- package/dist/components/UnderlineNav.d.ts +11 -0
- package/dist/components/UnderlineNav.d.ts.map +1 -0
- package/dist/components/UnderlinePanels.d.ts +12 -0
- package/dist/components/UnderlinePanels.d.ts.map +1 -0
- package/dist/components.json +109 -0
- package/dist/deprecated.d.ts +4 -1
- package/dist/deprecated.d.ts.map +1 -1
- package/dist/deprecated.js +84 -1
- package/dist/experimental.d.ts +5 -1
- package/dist/experimental.d.ts.map +1 -1
- package/dist/experimental.js +32 -1
- package/dist/index.d.ts +51 -24
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +493 -31
- package/dist/polymorphic.d.ts +38 -0
- package/dist/polymorphic.d.ts.map +1 -0
- package/dist/styled-props.d.ts +5 -0
- package/dist/styled-props.d.ts.map +1 -0
- package/dist/sx.d.ts +2 -0
- package/dist/sx.d.ts.map +1 -0
- package/package.json +6 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SegmentedControl.d.ts","sourceRoot":"","sources":["../../src/components/SegmentedControl.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,qBAAqB,IAAI,2BAA2B,EAEzD,KAAK,2BAA2B,IAAI,iCAAiC,EACrE,KAAK,+BAA+B,IAAI,qCAAqC,EAC9E,MAAM,eAAe,CAAA;AACtB,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,OAAO,CAAA;AAC5C,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,OAAO,CAAA;AAGjC,KAAK,qBAAqB,GAAG,iBAAiB,CAAC,2BAA2B,CAAC,GAAG,MAAM,CAAA;AACpF,KAAK,2BAA2B,GAAG,iBAAiB,CAAC,iCAAiC,CAAC,GAAG,MAAM,CAAA;AAChG,KAAK,+BAA+B,GAAG,iBAAiB,CAAC,qCAAqC,CAAC,GAAG,MAAM,CAAA;AAcxG,QAAA,MAAM,gBAAgB,WAJe,qBAAqB;oBARnB,2BAA2B;wBAIvB,+BAA+B;CAWxE,CAAA;AAEF,OAAO,EACL,gBAAgB,EAChB,KAAK,qBAAqB,EAC1B,KAAK,2BAA2B,EAChC,KAAK,+BAA+B,GACrC,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type SpinnerProps as PrimerSpinnerProps } from '@primer/react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import type { SxProp } from '../sx';
|
|
4
|
+
export type SpinnerProps = PrimerSpinnerProps & SxProp;
|
|
5
|
+
export declare function Spinner(props: SpinnerProps): React.JSX.Element;
|
|
6
|
+
//# sourceMappingURL=Spinner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../src/components/Spinner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgC,KAAK,YAAY,IAAI,kBAAkB,EAAC,MAAM,eAAe,CAAA;AACpG,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,OAAO,CAAA;AAEjC,MAAM,MAAM,YAAY,GAAG,kBAAkB,GAAG,MAAM,CAAA;AAEtD,wBAAgB,OAAO,CAAC,KAAK,EAAE,YAAY,qBAE1C"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type StateLabelProps as PrimerStateLabelProps } from '@primer/react';
|
|
2
|
+
import type { SxProp } from '../sx';
|
|
3
|
+
type StateLabelProps = PrimerStateLabelProps & SxProp;
|
|
4
|
+
declare const StateLabel: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLSpanElement> & {
|
|
5
|
+
variant?: "small" | "normal";
|
|
6
|
+
status: "open" | "issueOpened" | "pullOpened" | "issueClosed" | "issueClosedNotPlanned" | "pullClosed" | "pullMerged" | "draft" | "issueDraft" | "pullQueued" | "unavailable" | "closed";
|
|
7
|
+
} & SxProp & import("react").RefAttributes<HTMLSpanElement>>;
|
|
8
|
+
export { StateLabel, type StateLabelProps };
|
|
9
|
+
//# sourceMappingURL=StateLabel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StateLabel.d.ts","sourceRoot":"","sources":["../../src/components/StateLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiC,KAAK,eAAe,IAAI,qBAAqB,EAAC,MAAM,eAAe,CAAA;AAG3G,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,OAAO,CAAA;AAEjC,KAAK,eAAe,GAAG,qBAAqB,GAAG,MAAM,CAAA;AAErD,QAAA,MAAM,UAAU;;;4DAEd,CAAA;AAEF,OAAO,EAAC,UAAU,EAAE,KAAK,eAAe,EAAC,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type SubNavProps as PrimerSubNavProps, type SubNavLinkProps as PrimerSubNavLinkProps } from '@primer/react';
|
|
2
|
+
import type { SxProp } from '../sx';
|
|
3
|
+
type SubNavProps = PrimerSubNavProps & SxProp;
|
|
4
|
+
type SubNavLinkProps = PrimerSubNavLinkProps & SxProp;
|
|
5
|
+
declare const SubNav: import("react").ForwardRefExoticComponent<Omit<SubNavProps, "ref"> & import("react").RefAttributes<HTMLElement>> & {
|
|
6
|
+
Link: import("react").ForwardRefExoticComponent<Omit<SubNavLinkProps, "ref"> & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
7
|
+
};
|
|
8
|
+
export { SubNav, type SubNavProps, type SubNavLinkProps };
|
|
9
|
+
//# sourceMappingURL=SubNav.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubNav.d.ts","sourceRoot":"","sources":["../../src/components/SubNav.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,WAAW,IAAI,iBAAiB,EACrC,KAAK,eAAe,IAAI,qBAAqB,EAC9C,MAAM,eAAe,CAAA;AAGtB,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,OAAO,CAAA;AAEjC,KAAK,WAAW,GAAG,iBAAiB,GAAG,MAAM,CAAA;AAM7C,KAAK,eAAe,GAAG,qBAAqB,GAAG,MAAM,CAAA;AAMrD,QAAA,MAAM,MAAM;;CAEV,CAAA;AAEF,OAAO,EAAC,MAAM,EAAE,KAAK,WAAW,EAAE,KAAK,eAAe,EAAC,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { TabNavProps as PrimerTabNavProps, TabNavLinkProps as PrimerTabNavLinkProps } from '@primer/react/deprecated';
|
|
2
|
+
import { type SxProp } from '../sx';
|
|
3
|
+
type TabNavProps = PrimerTabNavProps & SxProp;
|
|
4
|
+
type TabNavLinkProps = PrimerTabNavLinkProps & SxProp;
|
|
5
|
+
declare const TabNav: (({ as, ...props }: TabNavProps) => import("react").JSX.Element) & {
|
|
6
|
+
Link: import("react").ForwardRefExoticComponent<Omit<TabNavLinkProps, "ref"> & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
7
|
+
};
|
|
8
|
+
export { TabNav, type TabNavProps, type TabNavLinkProps };
|
|
9
|
+
//# sourceMappingURL=TabNav.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TabNav.d.ts","sourceRoot":"","sources":["../../src/components/TabNav.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,WAAW,IAAI,iBAAiB,EAAE,eAAe,IAAI,qBAAqB,EAAC,MAAM,0BAA0B,CAAA;AACxH,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AAIrC,KAAK,WAAW,GAAG,iBAAiB,GAAG,MAAM,CAAA;AAC7C,KAAK,eAAe,GAAG,qBAAqB,GAAG,MAAM,CAAA;AAsBrD,QAAA,MAAM,MAAM,sBAdwB,WAAW;;CAgB7C,CAAA;AAEF,OAAO,EAAC,MAAM,EAAE,KAAK,WAAW,EAAE,KAAK,eAAe,EAAC,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type TextProps as PrimerTextProps } from '@primer/react';
|
|
2
|
+
import { type SxProp } from '../sx';
|
|
3
|
+
import { type StyledComponent } from 'styled-components';
|
|
4
|
+
type TextProps = PrimerTextProps & SxProp;
|
|
5
|
+
declare const Text: StyledComponent<"span", any, TextProps, never>;
|
|
6
|
+
export { Text, type TextProps };
|
|
7
|
+
//# sourceMappingURL=Text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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;AAGrC,OAAO,EAAC,KAAK,eAAe,EAAC,MAAM,mBAAmB,CAAA;AAGtD,KAAK,SAAS,GAAG,eAAe,GAAG,MAAM,CAAA;AAQzC,QAAA,MAAM,IAAI,EAGJ,eAAe,CAAC,MAAM,EAAE,GAAG,EAAE,SAAS,EAAE,KAAK,CAAC,CAAA;AAEpD,OAAO,EAAC,IAAI,EAAE,KAAK,SAAS,EAAC,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type TimelineProps as PrimerTimelineProps, type TimelineItemProps as PrimerTimelineItemProps, type TimelineBadgeProps as PrimerTimelineBadgeProps, type TimelineBodyProps as PrimerTimelineBodyProps, type TimelineBreakProps as PrimerTimelineBreakProps } from '@primer/react';
|
|
2
|
+
import { type SxProp } from '../sx';
|
|
3
|
+
export type TimelineProps = PrimerTimelineProps & SxProp;
|
|
4
|
+
export type TimelineItemProps = PrimerTimelineItemProps & SxProp;
|
|
5
|
+
export type TimelineBadgeProps = PrimerTimelineBadgeProps & SxProp;
|
|
6
|
+
export type TimelineBodyProps = PrimerTimelineBodyProps & SxProp;
|
|
7
|
+
export type TimelineBreakProps = PrimerTimelineBreakProps & SxProp;
|
|
8
|
+
declare function TimelineBadge(props: TimelineBadgeProps): import("react").JSX.Element;
|
|
9
|
+
export declare const Timeline: import("react").ForwardRefExoticComponent<{
|
|
10
|
+
clipSidebar?: boolean;
|
|
11
|
+
className?: string;
|
|
12
|
+
} & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & SxProp & import("react").RefAttributes<HTMLDivElement>> & {
|
|
13
|
+
Item: import("react").ForwardRefExoticComponent<{
|
|
14
|
+
condensed?: boolean;
|
|
15
|
+
className?: string;
|
|
16
|
+
} & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & SxProp & import("react").RefAttributes<HTMLDivElement>>;
|
|
17
|
+
Badge: typeof TimelineBadge;
|
|
18
|
+
Body: import("react").ForwardRefExoticComponent<{
|
|
19
|
+
className?: string;
|
|
20
|
+
} & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & SxProp & import("react").RefAttributes<HTMLDivElement>>;
|
|
21
|
+
Break: import("react").ForwardRefExoticComponent<{
|
|
22
|
+
className?: string;
|
|
23
|
+
} & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & SxProp & import("react").RefAttributes<HTMLDivElement>>;
|
|
24
|
+
};
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=Timeline.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Timeline.d.ts","sourceRoot":"","sources":["../../src/components/Timeline.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,aAAa,IAAI,mBAAmB,EACzC,KAAK,iBAAiB,IAAI,uBAAuB,EACjD,KAAK,kBAAkB,IAAI,wBAAwB,EACnD,KAAK,iBAAiB,IAAI,uBAAuB,EACjD,KAAK,kBAAkB,IAAI,wBAAwB,EACpD,MAAM,eAAe,CAAA;AAGtB,OAAO,EAAC,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AAEjC,MAAM,MAAM,aAAa,GAAG,mBAAmB,GAAG,MAAM,CAAA;AACxD,MAAM,MAAM,iBAAiB,GAAG,uBAAuB,GAAG,MAAM,CAAA;AAChE,MAAM,MAAM,kBAAkB,GAAG,wBAAwB,GAAG,MAAM,CAAA;AAClE,MAAM,MAAM,iBAAiB,GAAG,uBAAuB,GAAG,MAAM,CAAA;AAChE,MAAM,MAAM,kBAAkB,GAAG,wBAAwB,GAAG,MAAM,CAAA;AAUlE,iBAAS,aAAa,CAAC,KAAK,EAAE,kBAAkB,+BAE/C;AAUD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;CAKnB,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type TokenProps as PrimerTokenProps, type SxProp } from '@primer/react';
|
|
2
|
+
import type { ForwardRefComponent } from '../polymorphic';
|
|
3
|
+
import type { PropsWithChildren } from 'react';
|
|
4
|
+
type TokenProps = PropsWithChildren<PrimerTokenProps> & SxProp;
|
|
5
|
+
declare const Token: ForwardRefComponent<'a' | 'button' | 'span', TokenProps>;
|
|
6
|
+
export { Token, type TokenProps };
|
|
7
|
+
//# sourceMappingURL=Token.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Token.d.ts","sourceRoot":"","sources":["../../src/components/Token.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,UAAU,IAAI,gBAAgB,EACnC,KAAK,MAAM,EAIZ,MAAM,eAAe,CAAA;AAEtB,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,gBAAgB,CAAA;AACvD,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,OAAO,CAAA;AAE5C,KAAK,UAAU,GAAG,iBAAiB,CAAC,gBAAgB,CAAC,GAAG,MAAM,CAAA;AAE9D,QAAA,MAAM,KAAK,EAAE,mBAAmB,CAAC,GAAG,GAAG,QAAQ,GAAG,MAAM,EAAE,UAAU,CAgBP,CAAA;AAE7D,OAAO,EAAC,KAAK,EAAE,KAAK,UAAU,EAAC,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type TooltipProps as PrimerTooltipProps, type SxProp } from '@primer/react';
|
|
2
|
+
import { type TooltipProps as PrimerDeprecatedTooltipProps } from '@primer/react/deprecated';
|
|
3
|
+
import { type ForwardRefExoticComponent, type RefAttributes } from 'react';
|
|
4
|
+
type TooltipProps = PrimerTooltipProps & SxProp;
|
|
5
|
+
declare const Tooltip: ForwardRefExoticComponent<TooltipProps & RefAttributes<HTMLDivElement>>;
|
|
6
|
+
export { Tooltip, type TooltipProps };
|
|
7
|
+
type DeprecatedTooltipProps = PrimerDeprecatedTooltipProps & SxProp;
|
|
8
|
+
declare function DeprecatedTooltip(props: DeprecatedTooltipProps): import("react").JSX.Element;
|
|
9
|
+
export { DeprecatedTooltip, type DeprecatedTooltipProps };
|
|
10
|
+
//# sourceMappingURL=Tooltip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../src/components/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2B,KAAK,YAAY,IAAI,kBAAkB,EAAE,KAAK,MAAM,EAAC,MAAM,eAAe,CAAA;AAC5G,OAAO,EAEL,KAAK,YAAY,IAAI,4BAA4B,EAClD,MAAM,0BAA0B,CAAA;AAEjC,OAAO,EAAa,KAAK,yBAAyB,EAAE,KAAK,aAAa,EAAC,MAAM,OAAO,CAAA;AAEpF,KAAK,YAAY,GAAG,kBAAkB,GAAG,MAAM,CAAA;AAE/C,QAAA,MAAM,OAAO,EAAE,yBAAyB,CAAC,YAAY,GAAG,aAAa,CAAC,cAAc,CAAC,CAKnF,CAAA;AAEF,OAAO,EAAC,OAAO,EAAE,KAAK,YAAY,EAAC,CAAA;AAEnC,KAAK,sBAAsB,GAAG,4BAA4B,GAAG,MAAM,CAAA;AAEnE,iBAAS,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,+BAEvD;AACD,OAAO,EAAC,iBAAiB,EAAE,KAAK,sBAAsB,EAAC,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type TruncateProps as PrimerTruncateProps } from '@primer/react';
|
|
2
|
+
import { type SxProp } from '../sx';
|
|
3
|
+
import type { PropsWithChildren } from 'react';
|
|
4
|
+
import type { ForwardRefComponent } from '../polymorphic';
|
|
5
|
+
export type TruncateProps = PropsWithChildren<PrimerTruncateProps> & SxProp;
|
|
6
|
+
export declare const Truncate: ForwardRefComponent<'div', TruncateProps>;
|
|
7
|
+
//# sourceMappingURL=Truncate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Truncate.d.ts","sourceRoot":"","sources":["../../src/components/Truncate.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,aAAa,IAAI,mBAAmB,EAAC,MAAM,eAAe,CAAA;AACnG,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AAErC,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,OAAO,CAAA;AAC5C,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,gBAAgB,CAAA;AAEvD,MAAM,MAAM,aAAa,GAAG,iBAAiB,CAAC,mBAAmB,CAAC,GAAG,MAAM,CAAA;AAE3E,eAAO,MAAM,QAAQ,EAAE,mBAAmB,CAAC,KAAK,EAAE,aAAa,CAI9D,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type UnderlinePanelsProps as PrimerUnderlinePanelsProps, type UnderlinePanelsPanelProps, type UnderlinePanelsTabProps } from '@primer/react/experimental';
|
|
2
|
+
import { type SxProp } from '../sx';
|
|
3
|
+
type UnderlinePanelsProps = PrimerUnderlinePanelsProps & SxProp;
|
|
4
|
+
declare const UnderlinePanels: {
|
|
5
|
+
({ as, ...props }: UnderlinePanelsProps): import("react").JSX.Element;
|
|
6
|
+
displayName: string;
|
|
7
|
+
} & {
|
|
8
|
+
Tab: import("react").FC<UnderlinePanelsTabProps>;
|
|
9
|
+
Panel: import("react").FC<UnderlinePanelsPanelProps>;
|
|
10
|
+
};
|
|
11
|
+
export { UnderlinePanels, type UnderlinePanelsProps, type UnderlinePanelsTabProps, type UnderlinePanelsPanelProps };
|
|
12
|
+
//# sourceMappingURL=UnderlinePanels.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UnderlinePanels.d.ts","sourceRoot":"","sources":["../../src/components/UnderlinePanels.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,oBAAoB,IAAI,0BAA0B,EACvD,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC7B,MAAM,4BAA4B,CAAA;AAEnC,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AAErC,KAAK,oBAAoB,GAAG,0BAA0B,GAAG,MAAM,CAAA;AAe/D,QAAA,MAAM,eAAe;uBANwB,oBAAoB;;;;;CAS/D,CAAA;AAEF,OAAO,EAAC,eAAe,EAAE,KAAK,oBAAoB,EAAE,KAAK,uBAAuB,EAAE,KAAK,yBAAyB,EAAC,CAAA"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
{
|
|
2
|
+
"components": [
|
|
3
|
+
"ActionList",
|
|
4
|
+
"ActionMenu",
|
|
5
|
+
"Autocomplete",
|
|
6
|
+
"Avatar",
|
|
7
|
+
"Box",
|
|
8
|
+
"Breadcrumb",
|
|
9
|
+
"Breadcrumbs",
|
|
10
|
+
"Button",
|
|
11
|
+
"Checkbox",
|
|
12
|
+
"CheckboxGroup",
|
|
13
|
+
"CircleBadge",
|
|
14
|
+
"CounterLabel",
|
|
15
|
+
"Details",
|
|
16
|
+
"Dialog",
|
|
17
|
+
"Flash",
|
|
18
|
+
"FormControl",
|
|
19
|
+
"Header",
|
|
20
|
+
"Heading",
|
|
21
|
+
"IconButton",
|
|
22
|
+
"Label",
|
|
23
|
+
"Link",
|
|
24
|
+
"LinkButton",
|
|
25
|
+
"NavList",
|
|
26
|
+
"Octicon",
|
|
27
|
+
"Overlay",
|
|
28
|
+
"PageHeader",
|
|
29
|
+
"PageLayout",
|
|
30
|
+
"ProgressBar",
|
|
31
|
+
"RadioGroup",
|
|
32
|
+
"RelativeTime",
|
|
33
|
+
"SegmentedControl",
|
|
34
|
+
"Select",
|
|
35
|
+
"Spinner",
|
|
36
|
+
"StateLabel",
|
|
37
|
+
"SubNav",
|
|
38
|
+
"Table",
|
|
39
|
+
"TabNav",
|
|
40
|
+
"Text",
|
|
41
|
+
"Textarea",
|
|
42
|
+
"TextInput",
|
|
43
|
+
"ThemeProvider",
|
|
44
|
+
"Timeline",
|
|
45
|
+
"ToggleSwitch",
|
|
46
|
+
"Token",
|
|
47
|
+
"Tooltip",
|
|
48
|
+
"Truncate",
|
|
49
|
+
"UnderlineNav",
|
|
50
|
+
"UnderlinePanels"
|
|
51
|
+
],
|
|
52
|
+
"types": [
|
|
53
|
+
"AutocompleteOverlayProps",
|
|
54
|
+
"AvatarProps",
|
|
55
|
+
"BetterSystemStyleObject",
|
|
56
|
+
"BoxProps",
|
|
57
|
+
"BreadcrumbsItemProps",
|
|
58
|
+
"BreadcrumbsProps",
|
|
59
|
+
"CheckboxGroupProps",
|
|
60
|
+
"CheckboxProps",
|
|
61
|
+
"CounterLabelProps",
|
|
62
|
+
"DialogHeaderProps",
|
|
63
|
+
"DialogProps",
|
|
64
|
+
"HeaderProps",
|
|
65
|
+
"LabelProps",
|
|
66
|
+
"LinkButtonProps",
|
|
67
|
+
"LinkProps",
|
|
68
|
+
"NavListProps",
|
|
69
|
+
"PageHeaderActionsProps",
|
|
70
|
+
"PageHeaderProps",
|
|
71
|
+
"PageHeaderTitleProps",
|
|
72
|
+
"RadioGroupProps",
|
|
73
|
+
"RelativeTimeProps",
|
|
74
|
+
"SegmentedControlButtonProps",
|
|
75
|
+
"SegmentedControlIconButtonProps",
|
|
76
|
+
"SegmentedControlProps",
|
|
77
|
+
"SpinnerProps",
|
|
78
|
+
"StateLabelProps",
|
|
79
|
+
"SubNavLinkProps",
|
|
80
|
+
"SubNavProps",
|
|
81
|
+
"SxProp",
|
|
82
|
+
"TabNavLinkProps",
|
|
83
|
+
"TabNavProps",
|
|
84
|
+
"TextInputProps",
|
|
85
|
+
"TextProps",
|
|
86
|
+
"TimelineBadgeProps",
|
|
87
|
+
"TimelineBodyProps",
|
|
88
|
+
"TimelineBreakProps",
|
|
89
|
+
"TimelineItemProps",
|
|
90
|
+
"TimelineProps",
|
|
91
|
+
"ToggleSwitchProps",
|
|
92
|
+
"TokenProps",
|
|
93
|
+
"TooltipProps",
|
|
94
|
+
"TruncateProps",
|
|
95
|
+
"UnderlineNavItemProps",
|
|
96
|
+
"UnderlineNavProps",
|
|
97
|
+
"UnderlinePanelsPanelProps",
|
|
98
|
+
"UnderlinePanelsProps",
|
|
99
|
+
"UnderlinePanelsTabProps"
|
|
100
|
+
],
|
|
101
|
+
"utilities": [
|
|
102
|
+
"merge",
|
|
103
|
+
"sx",
|
|
104
|
+
"theme",
|
|
105
|
+
"themeGet",
|
|
106
|
+
"useColorSchemeVar",
|
|
107
|
+
"useTheme"
|
|
108
|
+
]
|
|
109
|
+
}
|
package/dist/deprecated.d.ts
CHANGED
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { TabNav, type TabNavProps, type TabNavLinkProps } from './components/TabNav';
|
|
2
|
+
export { Dialog, type DialogProps, type DialogHeaderProps } from './components/DialogV1';
|
|
3
|
+
export { Octicon } from '@primer/react/deprecated';
|
|
4
|
+
export { DeprecatedTooltip as Tooltip, type DeprecatedTooltipProps as TooltipProps } from './components/Tooltip';
|
|
2
5
|
//# 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,EAAC,MAAM,EAAE,
|
|
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,qBAAqB,CAAA;AAClF,OAAO,EAAC,MAAM,EAAE,KAAK,WAAW,EAAE,KAAK,iBAAiB,EAAC,MAAM,uBAAuB,CAAA;AACtF,OAAO,EAAC,OAAO,EAAC,MAAM,0BAA0B,CAAA;AAChD,OAAO,EAAC,iBAAiB,IAAI,OAAO,EAAE,KAAK,sBAAsB,IAAI,YAAY,EAAC,MAAM,sBAAsB,CAAA"}
|
package/dist/deprecated.js
CHANGED
|
@@ -1 +1,84 @@
|
|
|
1
|
-
|
|
1
|
+
import { TabNav as TabNav$1, Dialog as Dialog$1 } from '@primer/react/deprecated';
|
|
2
|
+
export { Octicon } from '@primer/react/deprecated';
|
|
3
|
+
import { sx, Box } from '@primer/react';
|
|
4
|
+
import styled from 'styled-components';
|
|
5
|
+
import { forwardRef } from 'react';
|
|
6
|
+
import { jsx } from 'react/jsx-runtime';
|
|
7
|
+
export { D as Tooltip } from './Tooltip-YuSlJ5b_.js';
|
|
8
|
+
|
|
9
|
+
const StyledTabNav = styled(TabNav$1).withConfig({
|
|
10
|
+
shouldForwardProp: prop => prop !== 'sx'
|
|
11
|
+
}).withConfig({
|
|
12
|
+
displayName: "TabNav__StyledTabNav",
|
|
13
|
+
componentId: "sc-v7az9x-0"
|
|
14
|
+
})(["", ""], sx);
|
|
15
|
+
const TabNavImpl = ({
|
|
16
|
+
as,
|
|
17
|
+
...props
|
|
18
|
+
}) => {
|
|
19
|
+
return /*#__PURE__*/jsx(StyledTabNav, {
|
|
20
|
+
...props,
|
|
21
|
+
...(as ? {
|
|
22
|
+
forwardedAs: as
|
|
23
|
+
} : {})
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
const StyledTabNavLink = styled(TabNav$1.Link).withConfig({
|
|
27
|
+
shouldForwardProp: prop => prop !== 'sx'
|
|
28
|
+
}).withConfig({
|
|
29
|
+
displayName: "TabNav__StyledTabNavLink",
|
|
30
|
+
componentId: "sc-v7az9x-1"
|
|
31
|
+
})(["", ""], sx);
|
|
32
|
+
const TabNavLink = /*#__PURE__*/forwardRef(({
|
|
33
|
+
as,
|
|
34
|
+
...props
|
|
35
|
+
}, ref) => /*#__PURE__*/jsx(StyledTabNavLink, {
|
|
36
|
+
...props,
|
|
37
|
+
...(as ? {
|
|
38
|
+
forwardedAs: as
|
|
39
|
+
} : {}),
|
|
40
|
+
ref: ref
|
|
41
|
+
}));
|
|
42
|
+
const TabNav = Object.assign(TabNavImpl, {
|
|
43
|
+
Link: TabNavLink
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
const StyledDialog = /*#__PURE__*/forwardRef(function Dialog(props, ref) {
|
|
47
|
+
return /*#__PURE__*/jsx(Box, {
|
|
48
|
+
as: Dialog$1,
|
|
49
|
+
ref: ref,
|
|
50
|
+
...props
|
|
51
|
+
});
|
|
52
|
+
});
|
|
53
|
+
const DialogImpl = /*#__PURE__*/forwardRef(({
|
|
54
|
+
as,
|
|
55
|
+
...props
|
|
56
|
+
}, ref) => /*#__PURE__*/jsx(StyledDialog, {
|
|
57
|
+
...props,
|
|
58
|
+
...(as ? {
|
|
59
|
+
forwardedAs: as
|
|
60
|
+
} : {}),
|
|
61
|
+
ref: ref
|
|
62
|
+
}));
|
|
63
|
+
const StyledDialogHeader = /*#__PURE__*/forwardRef(function DialogHeader(props, ref) {
|
|
64
|
+
return /*#__PURE__*/jsx(Box, {
|
|
65
|
+
as: Dialog$1.Header,
|
|
66
|
+
ref: ref,
|
|
67
|
+
...props
|
|
68
|
+
});
|
|
69
|
+
});
|
|
70
|
+
const DialogHeader = /*#__PURE__*/forwardRef(({
|
|
71
|
+
as,
|
|
72
|
+
...props
|
|
73
|
+
}, ref) => /*#__PURE__*/jsx(StyledDialogHeader, {
|
|
74
|
+
...props,
|
|
75
|
+
...(as ? {
|
|
76
|
+
forwardedAs: as
|
|
77
|
+
} : {}),
|
|
78
|
+
ref: ref
|
|
79
|
+
}));
|
|
80
|
+
const Dialog = Object.assign(DialogImpl, {
|
|
81
|
+
Header: DialogHeader
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
export { Dialog, TabNav };
|
package/dist/experimental.d.ts
CHANGED
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
export { Dialog,
|
|
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 } from '@primer/react/experimental';
|
|
2
6
|
//# sourceMappingURL=experimental.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"experimental.d.ts","sourceRoot":"","sources":["../src/experimental.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAE,UAAU,
|
|
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,EAAC,KAAK,EAAC,MAAM,4BAA4B,CAAA"}
|
package/dist/experimental.js
CHANGED
|
@@ -1 +1,32 @@
|
|
|
1
|
-
export { Dialog,
|
|
1
|
+
export { D as Dialog, P as PageHeader } from './PageHeader-DCDIR2C1.js';
|
|
2
|
+
export { T as Tooltip } from './Tooltip-YuSlJ5b_.js';
|
|
3
|
+
import { UnderlinePanels as UnderlinePanels$1 } from '@primer/react/experimental';
|
|
4
|
+
export { Table } from '@primer/react/experimental';
|
|
5
|
+
import styled from 'styled-components';
|
|
6
|
+
import { sx } from '@primer/react';
|
|
7
|
+
import { jsx } from 'react/jsx-runtime';
|
|
8
|
+
import 'react';
|
|
9
|
+
import '@primer/react/deprecated';
|
|
10
|
+
|
|
11
|
+
const StyledUnderlinePanels = styled(UnderlinePanels$1).withConfig({
|
|
12
|
+
shouldForwardProp: prop => prop !== 'sx'
|
|
13
|
+
}).withConfig({
|
|
14
|
+
displayName: "UnderlinePanels__StyledUnderlinePanels",
|
|
15
|
+
componentId: "sc-1w35i85-0"
|
|
16
|
+
})(["", ""], sx);
|
|
17
|
+
|
|
18
|
+
// @ts-ignore forwardedAs is valid here but I don't know how to fix the typescript error
|
|
19
|
+
const UnderlinePanelsImpl = ({
|
|
20
|
+
as,
|
|
21
|
+
...props
|
|
22
|
+
}) => /*#__PURE__*/jsx(StyledUnderlinePanels, {
|
|
23
|
+
forwardedAs: as,
|
|
24
|
+
...props
|
|
25
|
+
});
|
|
26
|
+
UnderlinePanelsImpl.displayName = 'UnderlinePanels';
|
|
27
|
+
const UnderlinePanels = Object.assign(UnderlinePanelsImpl, {
|
|
28
|
+
Tab: UnderlinePanels$1.Tab,
|
|
29
|
+
Panel: UnderlinePanels$1.Panel
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
export { UnderlinePanels };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,25 +1,52 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
24
|
-
export
|
|
1
|
+
export { ActionList } from '@primer/react';
|
|
2
|
+
export { Box, type BoxProps } from './components/Box';
|
|
3
|
+
export { Button } from '@primer/react';
|
|
4
|
+
export { Details } from '@primer/react';
|
|
5
|
+
export { FormControl } from '@primer/react';
|
|
6
|
+
export { IconButton } from '@primer/react';
|
|
7
|
+
export { ProgressBar } from '@primer/react';
|
|
8
|
+
export { PageLayout } from '@primer/react';
|
|
9
|
+
export { Select } from '@primer/react';
|
|
10
|
+
export { Textarea } from '@primer/react';
|
|
11
|
+
export { TextInput } from '@primer/react';
|
|
12
|
+
export { type TextInputProps } from '@primer/react';
|
|
13
|
+
export { ThemeProvider } from '@primer/react';
|
|
14
|
+
export { merge } from '@primer/react';
|
|
15
|
+
export { theme } from '@primer/react';
|
|
16
|
+
export { themeGet } from '@primer/react';
|
|
17
|
+
export { useColorSchemeVar } from '@primer/react';
|
|
18
|
+
export { useTheme } from '@primer/react';
|
|
19
|
+
export { ActionMenu } from './components/ActionMenu';
|
|
20
|
+
export { Autocomplete, type AutocompleteOverlayProps } from './components/Autocomplete';
|
|
21
|
+
export { Avatar, type AvatarProps } from './components/Avatar';
|
|
22
|
+
export { Breadcrumbs, Breadcrumb, type BreadcrumbsProps, type BreadcrumbsItemProps } from './components/Breadcrumbs';
|
|
23
|
+
export { Checkbox, type CheckboxProps } from './components/Checkbox';
|
|
24
|
+
export { CheckboxGroup, type CheckboxGroupProps } from './components/CheckboxGroup';
|
|
25
|
+
export { CircleBadge } from './components/CircleBadge';
|
|
26
|
+
export { CounterLabel, type CounterLabelProps } from './components/CounterLabel';
|
|
27
|
+
export { Dialog, type DialogProps } from './components/Dialog';
|
|
28
|
+
export { Flash } from './components/Flash';
|
|
29
|
+
export { Header, type HeaderProps } from './components/Header';
|
|
30
|
+
export { Heading } from './components/Heading';
|
|
31
|
+
export { Label, type LabelProps } from './components/Label';
|
|
32
|
+
export { Link, type LinkProps } from './components/Link';
|
|
33
|
+
export { LinkButton, type LinkButtonProps } from './components/LinkButton';
|
|
34
|
+
export { NavList, type NavListProps } from './components/NavList';
|
|
35
|
+
export { Overlay } from './components/Overlay';
|
|
36
|
+
export { PageHeader, type PageHeaderProps, type PageHeaderActionsProps, type PageHeaderTitleProps, } from './components/PageHeader';
|
|
37
|
+
export { RadioGroup, type RadioGroupProps } from './components/RadioGroup';
|
|
38
|
+
export { RelativeTime, type RelativeTimeProps } from './components/RelativeTime';
|
|
39
|
+
export { SegmentedControl, type SegmentedControlProps, type SegmentedControlButtonProps, type SegmentedControlIconButtonProps, } from './components/SegmentedControl';
|
|
40
|
+
export { Spinner, type SpinnerProps } from './components/Spinner';
|
|
41
|
+
export { StateLabel, type StateLabelProps } from './components/StateLabel';
|
|
42
|
+
export { SubNav, type SubNavProps, type SubNavLinkProps } from './components/SubNav';
|
|
43
|
+
export { Text, type TextProps } from './components/Text';
|
|
44
|
+
export { Timeline, type TimelineProps, type TimelineItemProps, type TimelineBadgeProps, type TimelineBodyProps, type TimelineBreakProps, } from './components/Timeline';
|
|
45
|
+
export { ToggleSwitch, type ToggleSwitchProps } from './components/ToggleSwitch';
|
|
46
|
+
export { Tooltip, type TooltipProps } from './components/Tooltip';
|
|
47
|
+
export { Token, type TokenProps } from './components/Token';
|
|
48
|
+
export { Truncate, type TruncateProps } from './components/Truncate';
|
|
49
|
+
export { UnderlineNav, type UnderlineNavProps, type UnderlineNavItemProps } from './components/UnderlineNav';
|
|
50
|
+
export { sx, type SxProp } from './sx';
|
|
51
|
+
export type { BetterSystemStyleObject } from './styled-props';
|
|
25
52
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"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"}
|