@primer/styled-react 1.0.0-rc.4 → 1.0.0-rc.6
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/{PageHeader-Bvki2mbE.js → PageHeader-DCDIR2C1.js} +63 -6
- package/dist/Tooltip-DIHgr01r.js +152 -0
- package/dist/Tooltip-YuSlJ5b_.js +20 -0
- package/dist/components/ActionList.d.ts +36 -0
- package/dist/components/ActionList.d.ts.map +1 -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/Breadcrumbs.d.ts +18 -0
- package/dist/components/Breadcrumbs.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/DataTable.d.ts +11 -0
- package/dist/components/DataTable.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/Header.d.ts.map +1 -1
- 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/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 +5 -4
- package/dist/components/PageHeader.d.ts.map +1 -1
- package/dist/components/PageLayout.d.ts +18 -0
- package/dist/components/PageLayout.d.ts.map +1 -0
- package/dist/components/Spinner.d.ts +3 -4
- package/dist/components/Spinner.d.ts.map +1 -1
- 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/Token.d.ts +8 -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/UnderlineNav.d.ts +4 -2
- package/dist/components/UnderlineNav.d.ts.map +1 -1
- package/dist/components/UnderlinePanels.d.ts +12 -0
- package/dist/components/UnderlinePanels.d.ts.map +1 -0
- package/dist/components/deprecated/ActionList.d.ts +23 -0
- package/dist/components/deprecated/ActionList.d.ts.map +1 -0
- package/dist/components/deprecated/DialogV1.d.ts +11 -0
- package/dist/components/deprecated/DialogV1.d.ts.map +1 -0
- package/dist/components/deprecated/Octicon.d.ts +17 -0
- package/dist/components/deprecated/Octicon.d.ts.map +1 -0
- package/dist/components/deprecated/TabNav.d.ts +9 -0
- package/dist/components/deprecated/TabNav.d.ts.map +1 -0
- package/dist/components/deprecated/Tooltip.d.ts +13 -0
- package/dist/components/deprecated/Tooltip.d.ts.map +1 -0
- package/dist/components.json +18 -1
- 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 +4 -1
- package/dist/experimental.d.ts.map +1 -1
- package/dist/experimental.js +32 -5
- package/dist/index.d.ts +16 -17
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +293 -16
- package/package.json +3 -3
- package/dist/components/StateLabelProps.d.ts +0 -8
- package/dist/components/StateLabelProps.d.ts.map +0 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React, { type PropsWithChildren } from 'react';
|
|
2
|
+
import type { PageLayoutProps as PrimerPageLayoutProps, PageLayoutContentProps as PrimerPageLayoutContentProps, PageLayoutPaneProps as PrimerPageLayoutPaneProps } from '@primer/react';
|
|
3
|
+
import { type SxProp } from '../sx';
|
|
4
|
+
type PageLayoutProps = PropsWithChildren<PrimerPageLayoutProps> & SxProp;
|
|
5
|
+
declare const PageLayout: React.ForwardRefExoticComponent<PrimerPageLayoutProps & {
|
|
6
|
+
children?: React.ReactNode | undefined;
|
|
7
|
+
} & SxProp & React.RefAttributes<HTMLDivElement>> & {
|
|
8
|
+
Content: React.ForwardRefExoticComponent<PrimerPageLayoutContentProps & {
|
|
9
|
+
children?: React.ReactNode | undefined;
|
|
10
|
+
} & SxProp & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
Header: React.FC<React.PropsWithChildren<import("@primer/react").PageLayoutHeaderProps>>;
|
|
12
|
+
Pane: React.ForwardRefExoticComponent<PrimerPageLayoutPaneProps & {
|
|
13
|
+
children?: React.ReactNode | undefined;
|
|
14
|
+
} & SxProp & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
Footer: React.FC<React.PropsWithChildren<import("@primer/react").PageLayoutFooterProps>>;
|
|
16
|
+
};
|
|
17
|
+
export { PageLayout, type PageLayoutProps };
|
|
18
|
+
//# sourceMappingURL=PageLayout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PageLayout.d.ts","sourceRoot":"","sources":["../../src/components/PageLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAC,KAAK,iBAAiB,EAAC,MAAM,OAAO,CAAA;AAEnD,OAAO,KAAK,EACV,eAAe,IAAI,qBAAqB,EACxC,sBAAsB,IAAI,4BAA4B,EACtD,mBAAmB,IAAI,yBAAyB,EACjD,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AAMrC,KAAK,eAAe,GAAG,iBAAiB,CAAC,qBAAqB,CAAC,GAAG,MAAM,CAAA;AAmBxE,QAAA,MAAM,UAAU;;;;;;;;;;;CAKd,CAAA;AAEF,OAAO,EAAC,UAAU,EAAE,KAAK,eAAe,EAAC,CAAA"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { type SpinnerProps as PrimerSpinnerProps } from '@primer/react';
|
|
2
|
-
import
|
|
3
|
-
import type { SxProp } from '../sx';
|
|
1
|
+
import { Spinner as PrimerSpinner, type SpinnerProps as PrimerSpinnerProps } from '@primer/react';
|
|
2
|
+
import { type SxProp } from '../sx';
|
|
4
3
|
export type SpinnerProps = PrimerSpinnerProps & SxProp;
|
|
5
|
-
export declare
|
|
4
|
+
export declare const Spinner: import("styled-components").StyledComponent<typeof PrimerSpinner, any, SpinnerProps, never>;
|
|
6
5
|
//# sourceMappingURL=Spinner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../src/components/Spinner.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
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"}
|
|
@@ -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,8 @@
|
|
|
1
|
+
import { type TokenProps as PrimerTokenProps } from '@primer/react';
|
|
2
|
+
import { type SxProp } from '../sx';
|
|
3
|
+
import type { ForwardRefComponent } from '../polymorphic';
|
|
4
|
+
import type { PropsWithChildren } from 'react';
|
|
5
|
+
type TokenProps = PropsWithChildren<PrimerTokenProps> & SxProp;
|
|
6
|
+
declare const Token: ForwardRefComponent<"a" | "button" | "span", TokenProps>;
|
|
7
|
+
export { Token, type TokenProps };
|
|
8
|
+
//# 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,EAAC,KAAK,UAAU,IAAI,gBAAgB,EAAuB,MAAM,eAAe,CAAA;AACvF,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AACrC,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,gBAAgB,CAAA;AACvD,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,OAAO,CAAA;AAG5C,KAAK,UAAU,GAAG,iBAAiB,CAAC,gBAAgB,CAAC,GAAG,MAAM,CAAA;AAQ9D,QAAA,MAAM,KAAK,EAEL,mBAAmB,CAAC,GAAG,GAAG,QAAQ,GAAG,MAAM,EAAE,UAAU,CAAC,CAAA;AAE9D,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"}
|
|
@@ -2,8 +2,10 @@ import { type UnderlineNavProps as PrimerUnderlineNavProps, type UnderlineNavIte
|
|
|
2
2
|
import type { ForwardRefComponent } from '../polymorphic';
|
|
3
3
|
import { type SxProp } from '../sx';
|
|
4
4
|
export type UnderlineNavProps = PrimerUnderlineNavProps & SxProp;
|
|
5
|
-
export
|
|
6
|
-
export
|
|
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> & {
|
|
7
9
|
Item: ForwardRefComponent<"a", UnderlineNavItemProps>;
|
|
8
10
|
};
|
|
9
11
|
//# sourceMappingURL=UnderlineNav.d.ts.map
|
|
@@ -1 +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,MAAM,MAAM,qBAAqB,GAAG,2BAA2B,GAAG,MAAM,CAAA;
|
|
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,23 @@
|
|
|
1
|
+
import { type PropsWithChildren } from 'react';
|
|
2
|
+
import { type ActionListProps as PrimerActionListProps, type ActionListItemProps as PrimerActionListItemProps, type ActionListGroupProps as PrimerActionListGroupProps } from '@primer/react/deprecated';
|
|
3
|
+
import { type SxProp } from '../../sx';
|
|
4
|
+
import type { ActionListDividerProps } from '@primer/react';
|
|
5
|
+
type ActionListProps = PropsWithChildren<PrimerActionListProps & SxProp>;
|
|
6
|
+
type ActionListItemProps = PropsWithChildren<PrimerActionListItemProps & SxProp & {
|
|
7
|
+
as?: React.ElementType;
|
|
8
|
+
}>;
|
|
9
|
+
type ActionListGroupProps = PropsWithChildren<PrimerActionListGroupProps & SxProp>;
|
|
10
|
+
declare function ActionListGroup(props: ActionListGroupProps): import("react").JSX.Element;
|
|
11
|
+
declare function ActionListDivider(props: ActionListDividerProps): import("react").JSX.Element;
|
|
12
|
+
declare const ActionList: import("react").ForwardRefExoticComponent<ActionListProps & import("react").RefAttributes<HTMLDivElement>> & {
|
|
13
|
+
Item: import("react").ForwardRefExoticComponent<PrimerActionListItemProps & SxProp & {
|
|
14
|
+
as?: React.ElementType;
|
|
15
|
+
} & {
|
|
16
|
+
children?: import("react").ReactNode | undefined;
|
|
17
|
+
} & import("react").RefAttributes<HTMLLIElement>>;
|
|
18
|
+
Group: typeof ActionListGroup;
|
|
19
|
+
Divider: typeof ActionListDivider;
|
|
20
|
+
};
|
|
21
|
+
export type { ActionListProps, ActionListItemProps, ActionListGroupProps };
|
|
22
|
+
export { ActionList };
|
|
23
|
+
//# sourceMappingURL=ActionList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionList.d.ts","sourceRoot":"","sources":["../../../src/components/deprecated/ActionList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,iBAAiB,EAAa,MAAM,OAAO,CAAA;AACxD,OAAO,EAEL,KAAK,eAAe,IAAI,qBAAqB,EAC7C,KAAK,mBAAmB,IAAI,yBAAyB,EACrD,KAAK,oBAAoB,IAAI,0BAA0B,EACxD,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,UAAU,CAAA;AAGxC,OAAO,KAAK,EAAC,sBAAsB,EAAC,MAAM,eAAe,CAAA;AAEzD,KAAK,eAAe,GAAG,iBAAiB,CAAC,qBAAqB,GAAG,MAAM,CAAC,CAAA;AAExE,KAAK,mBAAmB,GAAG,iBAAiB,CAAC,yBAAyB,GAAG,MAAM,GAAG;IAAC,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;CAAC,CAAC,CAAA;AAC3G,KAAK,oBAAoB,GAAG,iBAAiB,CAAC,0BAA0B,GAAG,MAAM,CAAC,CAAA;AAgBlF,iBAAS,eAAe,CAAC,KAAK,EAAE,oBAAoB,+BAEnD;AAED,iBAAS,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,+BAEvD;AAED,QAAA,MAAM,UAAU;;aAzBwE,KAAK,CAAC,WAAW;;;;;;CA6BvG,CAAA;AAEF,YAAY,EAAC,eAAe,EAAE,mBAAmB,EAAE,oBAAoB,EAAC,CAAA;AACxE,OAAO,EAAC,UAAU,EAAC,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { DialogProps as PrimerDialogProps, DialogHeaderProps as PrimerDialogHeaderProps } from '@primer/react/deprecated';
|
|
2
|
+
import type { SxProp } from '../../sx';
|
|
3
|
+
import type { ForwardRefComponent } from '../../polymorphic';
|
|
4
|
+
type DialogProps = PrimerDialogProps & SxProp;
|
|
5
|
+
type DialogHeaderProps = PrimerDialogHeaderProps & SxProp;
|
|
6
|
+
declare const Dialog: ForwardRefComponent<"div", DialogProps> & {
|
|
7
|
+
Header: ForwardRefComponent<"div", DialogHeaderProps>;
|
|
8
|
+
};
|
|
9
|
+
export { Dialog };
|
|
10
|
+
export type { DialogProps, DialogHeaderProps };
|
|
11
|
+
//# sourceMappingURL=DialogV1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DialogV1.d.ts","sourceRoot":"","sources":["../../../src/components/deprecated/DialogV1.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,WAAW,IAAI,iBAAiB,EAChC,iBAAiB,IAAI,uBAAuB,EAC7C,MAAM,0BAA0B,CAAA;AAEjC,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,UAAU,CAAA;AAEpC,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,mBAAmB,CAAA;AAE1D,KAAK,WAAW,GAAG,iBAAiB,GAAG,MAAM,CAAA;AAU7C,KAAK,iBAAiB,GAAG,uBAAuB,GAAG,MAAM,CAAA;AAUzD,QAAA,MAAM,MAAM;;CAEV,CAAA;AAEF,OAAO,EAAC,MAAM,EAAC,CAAA;AACf,YAAY,EAAC,WAAW,EAAE,iBAAiB,EAAC,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type OcticonProps as PrimerOcticonProps } from '@primer/react/deprecated';
|
|
2
|
+
import { type SxProp } from '../../sx';
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated Use the icon component directly from `@primer/octicons-react` instead
|
|
5
|
+
*/
|
|
6
|
+
export type OcticonProps = PrimerOcticonProps & SxProp & {
|
|
7
|
+
color?: string;
|
|
8
|
+
};
|
|
9
|
+
declare const Octicon: import("react").ForwardRefExoticComponent<{
|
|
10
|
+
icon: React.ElementType;
|
|
11
|
+
as?: React.ElementType;
|
|
12
|
+
} & import("@primer/octicons-react").IconProps & SxProp & {
|
|
13
|
+
color?: string;
|
|
14
|
+
} & import("react").RefAttributes<unknown>>;
|
|
15
|
+
export default Octicon;
|
|
16
|
+
export { Octicon };
|
|
17
|
+
//# sourceMappingURL=Octicon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Octicon.d.ts","sourceRoot":"","sources":["../../../src/components/deprecated/Octicon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2B,KAAK,YAAY,IAAI,kBAAkB,EAAC,MAAM,0BAA0B,CAAA;AAE1G,OAAO,EAAC,KAAK,MAAM,EAAK,MAAM,UAAU,CAAA;AAGxC;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,kBAAkB,GAAG,MAAM,GAAG;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAC,CAAA;AAazE,QAAA,MAAM,OAAO;;;;YAbqD,MAAM;2CAetE,CAAA;AAEF,eAAe,OAAO,CAAA;AACtB,OAAO,EAAC,OAAO,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/deprecated/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,UAAU,CAAA;AAIxC,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,13 @@
|
|
|
1
|
+
import { type TooltipProps as PrimerTooltipProps } from '@primer/react/deprecated';
|
|
2
|
+
import { type SxProp } from '../../sx';
|
|
3
|
+
import { type PropsWithChildren } from 'react';
|
|
4
|
+
type TooltipProps = PropsWithChildren<PrimerTooltipProps & SxProp & {
|
|
5
|
+
as?: React.ElementType;
|
|
6
|
+
}>;
|
|
7
|
+
declare const TooltipImpl: import("react").ForwardRefExoticComponent<Omit<TooltipProps, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
8
|
+
declare const Tooltip: typeof TooltipImpl & {
|
|
9
|
+
alignments: string[];
|
|
10
|
+
directions: string[];
|
|
11
|
+
};
|
|
12
|
+
export { Tooltip, type TooltipProps };
|
|
13
|
+
//# sourceMappingURL=Tooltip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/deprecated/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2B,KAAK,YAAY,IAAI,kBAAkB,EAAC,MAAM,0BAA0B,CAAA;AAE1G,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,UAAU,CAAA;AACxC,OAAO,EAAC,KAAK,iBAAiB,EAAC,MAAM,OAAO,CAAA;AAI5C,KAAK,YAAY,GAAG,iBAAiB,CAAC,kBAAkB,GAAG,MAAM,GAAG;IAAC,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;CAAC,CAAC,CAAA;AAQ7F,QAAA,MAAM,WAAW,uHAEf,CAAA;AAEF,QAAA,MAAM,OAAO,EAAkB,OAAO,WAAW,GAAG;IAClD,UAAU,EAAE,MAAM,EAAE,CAAA;IACpB,UAAU,EAAE,MAAM,EAAE,CAAA;CACrB,CAAA;AAMD,OAAO,EAAC,OAAO,EAAE,KAAK,YAAY,EAAC,CAAA"}
|
package/dist/components.json
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
"Autocomplete",
|
|
6
6
|
"Avatar",
|
|
7
7
|
"Box",
|
|
8
|
+
"Breadcrumb",
|
|
8
9
|
"Breadcrumbs",
|
|
9
10
|
"Button",
|
|
10
11
|
"Checkbox",
|
|
@@ -49,12 +50,22 @@
|
|
|
49
50
|
"UnderlinePanels"
|
|
50
51
|
],
|
|
51
52
|
"types": [
|
|
53
|
+
"AutocompleteOverlayProps",
|
|
54
|
+
"AvatarProps",
|
|
52
55
|
"BetterSystemStyleObject",
|
|
53
56
|
"BoxProps",
|
|
57
|
+
"BreadcrumbsItemProps",
|
|
58
|
+
"BreadcrumbsProps",
|
|
59
|
+
"CheckboxGroupProps",
|
|
54
60
|
"CheckboxProps",
|
|
55
61
|
"CounterLabelProps",
|
|
62
|
+
"DialogHeaderProps",
|
|
63
|
+
"DialogProps",
|
|
56
64
|
"HeaderProps",
|
|
65
|
+
"LabelProps",
|
|
57
66
|
"LinkButtonProps",
|
|
67
|
+
"LinkProps",
|
|
68
|
+
"NavListProps",
|
|
58
69
|
"PageHeaderActionsProps",
|
|
59
70
|
"PageHeaderProps",
|
|
60
71
|
"PageHeaderTitleProps",
|
|
@@ -68,7 +79,10 @@
|
|
|
68
79
|
"SubNavLinkProps",
|
|
69
80
|
"SubNavProps",
|
|
70
81
|
"SxProp",
|
|
82
|
+
"TabNavLinkProps",
|
|
83
|
+
"TabNavProps",
|
|
71
84
|
"TextInputProps",
|
|
85
|
+
"TextProps",
|
|
72
86
|
"TimelineBadgeProps",
|
|
73
87
|
"TimelineBodyProps",
|
|
74
88
|
"TimelineBreakProps",
|
|
@@ -79,7 +93,10 @@
|
|
|
79
93
|
"TooltipProps",
|
|
80
94
|
"TruncateProps",
|
|
81
95
|
"UnderlineNavItemProps",
|
|
82
|
-
"UnderlineNavProps"
|
|
96
|
+
"UnderlineNavProps",
|
|
97
|
+
"UnderlinePanelsPanelProps",
|
|
98
|
+
"UnderlinePanelsProps",
|
|
99
|
+
"UnderlinePanelsTabProps"
|
|
83
100
|
],
|
|
84
101
|
"utilities": [
|
|
85
102
|
"merge",
|
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,3 +1,6 @@
|
|
|
1
|
+
export { Dialog, type DialogProps } from './components/Dialog';
|
|
1
2
|
export { PageHeader, type PageHeaderProps, type PageHeaderActionsProps, type PageHeaderTitleProps, } from './components/PageHeader';
|
|
2
|
-
export {
|
|
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';
|
|
3
6
|
//# sourceMappingURL=experimental.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"experimental.d.ts","sourceRoot":"","sources":["../src/experimental.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,KAAK,eAAe,EACpB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,GAC1B,MAAM,yBAAyB,CAAA;
|
|
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,5 +1,32 @@
|
|
|
1
|
-
export { P as PageHeader } from './PageHeader-
|
|
2
|
-
export {
|
|
3
|
-
import '@primer/react';
|
|
4
|
-
|
|
5
|
-
import '
|
|
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,42 +1,38 @@
|
|
|
1
1
|
export { ActionList } from '@primer/react';
|
|
2
|
-
export { ActionMenu } from '@primer/react';
|
|
3
|
-
export { Autocomplete } from '@primer/react';
|
|
4
|
-
export { Avatar } from '@primer/react';
|
|
5
|
-
export { Breadcrumbs } from '@primer/react';
|
|
6
2
|
export { Box, type BoxProps } from './components/Box';
|
|
7
3
|
export { Button } from '@primer/react';
|
|
8
|
-
export { CheckboxGroup } from '@primer/react';
|
|
9
|
-
export { CircleBadge } from '@primer/react';
|
|
10
4
|
export { Details } from '@primer/react';
|
|
11
|
-
export { Dialog } from '@primer/react';
|
|
12
5
|
export { FormControl } from '@primer/react';
|
|
13
|
-
export { Heading } from '@primer/react';
|
|
14
6
|
export { IconButton } from '@primer/react';
|
|
15
|
-
export { Label } from '@primer/react';
|
|
16
|
-
export { Link } from '@primer/react';
|
|
17
|
-
export { NavList } from '@primer/react';
|
|
18
|
-
export { Overlay } from '@primer/react';
|
|
19
|
-
export { PageLayout } from '@primer/react';
|
|
20
7
|
export { ProgressBar } from '@primer/react';
|
|
8
|
+
export { PageLayout } from '@primer/react';
|
|
21
9
|
export { Select } from '@primer/react';
|
|
22
|
-
export { Text } from '@primer/react';
|
|
23
10
|
export { Textarea } from '@primer/react';
|
|
24
11
|
export { TextInput } from '@primer/react';
|
|
25
|
-
export { Token } from '@primer/react';
|
|
26
|
-
export { Tooltip } from '@primer/react';
|
|
27
12
|
export { type TextInputProps } from '@primer/react';
|
|
28
|
-
export { type TokenProps } from '@primer/react';
|
|
29
13
|
export { ThemeProvider } from '@primer/react';
|
|
30
14
|
export { merge } from '@primer/react';
|
|
31
15
|
export { theme } from '@primer/react';
|
|
32
16
|
export { themeGet } from '@primer/react';
|
|
33
17
|
export { useColorSchemeVar } from '@primer/react';
|
|
34
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';
|
|
35
23
|
export { Checkbox, type CheckboxProps } from './components/Checkbox';
|
|
24
|
+
export { CheckboxGroup, type CheckboxGroupProps } from './components/CheckboxGroup';
|
|
25
|
+
export { CircleBadge } from './components/CircleBadge';
|
|
36
26
|
export { CounterLabel, type CounterLabelProps } from './components/CounterLabel';
|
|
27
|
+
export { Dialog, type DialogProps } from './components/Dialog';
|
|
37
28
|
export { Flash } from './components/Flash';
|
|
38
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';
|
|
39
33
|
export { LinkButton, type LinkButtonProps } from './components/LinkButton';
|
|
34
|
+
export { NavList, type NavListProps } from './components/NavList';
|
|
35
|
+
export { Overlay } from './components/Overlay';
|
|
40
36
|
export { PageHeader, type PageHeaderProps, type PageHeaderActionsProps, type PageHeaderTitleProps, } from './components/PageHeader';
|
|
41
37
|
export { RadioGroup, type RadioGroupProps } from './components/RadioGroup';
|
|
42
38
|
export { RelativeTime, type RelativeTimeProps } from './components/RelativeTime';
|
|
@@ -44,8 +40,11 @@ export { SegmentedControl, type SegmentedControlProps, type SegmentedControlButt
|
|
|
44
40
|
export { Spinner, type SpinnerProps } from './components/Spinner';
|
|
45
41
|
export { StateLabel, type StateLabelProps } from './components/StateLabel';
|
|
46
42
|
export { SubNav, type SubNavProps, type SubNavLinkProps } from './components/SubNav';
|
|
43
|
+
export { Text, type TextProps } from './components/Text';
|
|
47
44
|
export { Timeline, type TimelineProps, type TimelineItemProps, type TimelineBadgeProps, type TimelineBodyProps, type TimelineBreakProps, } from './components/Timeline';
|
|
48
45
|
export { ToggleSwitch, type ToggleSwitchProps } from './components/ToggleSwitch';
|
|
46
|
+
export { Tooltip, type TooltipProps } from './components/Tooltip';
|
|
47
|
+
export { Token, type TokenProps } from './components/Token';
|
|
49
48
|
export { Truncate, type TruncateProps } from './components/Truncate';
|
|
50
49
|
export { UnderlineNav, type UnderlineNavProps, type UnderlineNavItemProps } from './components/UnderlineNav';
|
|
51
50
|
export { sx, type SxProp } from './sx';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AA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