@gamecrafters/base-ui 0.0.12 → 0.0.13

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.
Files changed (59) hide show
  1. package/build/components/index.d.ts +0 -5
  2. package/build/components/page-layout/PageLayout.types.d.ts +2 -0
  3. package/build/components/page-layout/paneUtils.d.ts +1 -1
  4. package/build/components/page-layout/usePaneWidth.d.ts +1 -1
  5. package/build/main.cjs.js +2 -2
  6. package/build/main.esm.js +2 -2
  7. package/build/styles/main.css +2 -2
  8. package/package.json +1 -1
  9. package/build/components/page-container/PageContainer.d.ts +0 -12
  10. package/build/components/page-container/PageContainer.types.d.ts +0 -19
  11. package/build/components/page-container/PageContainerRegion.d.ts +0 -7
  12. package/build/components/page-container/index.d.ts +0 -18
  13. package/build/components/page-container/visibility.d.ts +0 -6
  14. package/build/components/page-content/PageContent.d.ts +0 -11
  15. package/build/components/page-content/PageContent.types.d.ts +0 -17
  16. package/build/components/page-content/PageContentSection.d.ts +0 -6
  17. package/build/components/page-content/index.d.ts +0 -16
  18. package/build/components/page-content/visibility.d.ts +0 -6
  19. package/build/components/page-footer/PageFooter.d.ts +0 -10
  20. package/build/components/page-footer/PageFooter.types.d.ts +0 -20
  21. package/build/components/page-footer/PageFooterActions.d.ts +0 -6
  22. package/build/components/page-footer/PageFooterCopyright.d.ts +0 -6
  23. package/build/components/page-footer/PageFooterDescription.d.ts +0 -6
  24. package/build/components/page-footer/PageFooterLeadingVisual.d.ts +0 -6
  25. package/build/components/page-footer/PageFooterNavigation.d.ts +0 -7
  26. package/build/components/page-footer/PageFooterRegion.d.ts +0 -6
  27. package/build/components/page-footer/index.d.ts +0 -36
  28. package/build/components/page-footer/visibility.d.ts +0 -6
  29. package/build/components/page-header/PageHeader.d.ts +0 -8
  30. package/build/components/page-header/PageHeader.types.d.ts +0 -32
  31. package/build/components/page-header/PageHeaderActions.d.ts +0 -6
  32. package/build/components/page-header/PageHeaderBreadcrumbs.d.ts +0 -6
  33. package/build/components/page-header/PageHeaderContextArea.d.ts +0 -6
  34. package/build/components/page-header/PageHeaderContextAreaActions.d.ts +0 -6
  35. package/build/components/page-header/PageHeaderContextBar.d.ts +0 -6
  36. package/build/components/page-header/PageHeaderDescription.d.ts +0 -6
  37. package/build/components/page-header/PageHeaderLeadingAction.d.ts +0 -6
  38. package/build/components/page-header/PageHeaderLeadingVisual.d.ts +0 -6
  39. package/build/components/page-header/PageHeaderNavigation.d.ts +0 -7
  40. package/build/components/page-header/PageHeaderParentLink.d.ts +0 -6
  41. package/build/components/page-header/PageHeaderRegion.d.ts +0 -6
  42. package/build/components/page-header/PageHeaderTitle.d.ts +0 -7
  43. package/build/components/page-header/PageHeaderTitleArea.d.ts +0 -8
  44. package/build/components/page-header/PageHeaderTrailingAction.d.ts +0 -6
  45. package/build/components/page-header/PageHeaderTrailingVisual.d.ts +0 -6
  46. package/build/components/page-header/index.d.ts +0 -83
  47. package/build/components/page-header/visibility.d.ts +0 -6
  48. package/build/components/page-sidebar/PageSidebar.d.ts +0 -14
  49. package/build/components/page-sidebar/PageSidebar.types.d.ts +0 -32
  50. package/build/components/page-sidebar/PageSidebarActions.d.ts +0 -6
  51. package/build/components/page-sidebar/PageSidebarContent.d.ts +0 -6
  52. package/build/components/page-sidebar/PageSidebarFooter.d.ts +0 -6
  53. package/build/components/page-sidebar/PageSidebarHeader.d.ts +0 -6
  54. package/build/components/page-sidebar/PageSidebarNavigation.d.ts +0 -7
  55. package/build/components/page-sidebar/PageSidebarRegion.d.ts +0 -6
  56. package/build/components/page-sidebar/PageSidebarSection.d.ts +0 -6
  57. package/build/components/page-sidebar/PageSidebarTitle.d.ts +0 -7
  58. package/build/components/page-sidebar/index.d.ts +0 -51
  59. package/build/components/page-sidebar/visibility.d.ts +0 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gamecrafters/base-ui",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "An implementation of GameCrafters' Base UI Design System using React.",
5
5
  "main": "build/main.cjs.js",
6
6
  "module": "build/main.esm.js",
@@ -1,12 +0,0 @@
1
- import * as React from "react";
2
- import type { PageContainerSpacing, PageContainerWidth } from "./PageContainer.types";
3
- declare const _default: <As extends React.ElementType = "div">(props: import("../../utilities/polymorphic").DistributiveOmit<React.ComponentPropsWithRef<React.ElementType extends As ? "div" : As> & {
4
- width?: PageContainerWidth;
5
- padding?: PageContainerSpacing;
6
- gap?: PageContainerSpacing;
7
- fullHeight?: boolean;
8
- className?: string;
9
- }, "as"> & {
10
- as?: As | undefined;
11
- } & React.RefAttributes<any>) => React.ReactNode;
12
- export default _default;
@@ -1,19 +0,0 @@
1
- import type * as React from "react";
2
- import type { ResponsiveValue } from "../../hooks/useResponsive";
3
- import type { PolymorphicProps } from "../../utilities/polymorphic";
4
- export type PageContainerViewport = "narrow" | "regular" | "wide";
5
- export type PageContainerHidden = boolean | ResponsiveValue<boolean>;
6
- export type PageContainerWidth = "full" | "medium" | "large" | "xlarge";
7
- export type PageContainerSpacing = "none" | "condensed" | "normal" | "spacious";
8
- export type PageContainerProps<As extends React.ElementType = "div"> = PolymorphicProps<As, "div", {
9
- width?: PageContainerWidth;
10
- padding?: PageContainerSpacing;
11
- gap?: PageContainerSpacing;
12
- fullHeight?: boolean;
13
- className?: string;
14
- }>;
15
- export type PageContainerRegionProps<As extends React.ElementType = "div"> = Omit<PolymorphicProps<As, "div">, "hidden"> & {
16
- hidden?: PageContainerHidden;
17
- grow?: boolean;
18
- className?: string;
19
- };
@@ -1,7 +0,0 @@
1
- import * as React from "react";
2
- declare const _default: <As extends React.ElementType = "div">(props: Omit<import("../../utilities/polymorphic").PolymorphicProps<As, "div">, "hidden"> & {
3
- hidden?: import("./PageContainer.types").PageContainerHidden;
4
- grow?: boolean;
5
- className?: string;
6
- } & React.RefAttributes<any>) => React.ReactNode;
7
- export default _default;
@@ -1,18 +0,0 @@
1
- import PageContainerRegion from "./PageContainerRegion";
2
- export declare const PageContainer: (<As extends React.ElementType = "div">(props: import("../../utilities/polymorphic").DistributiveOmit<import("react").ComponentPropsWithRef<import("react").ElementType extends As ? "div" : As> & {
3
- width?: import("./PageContainer.types").PageContainerWidth;
4
- padding?: import("./PageContainer.types").PageContainerSpacing;
5
- gap?: import("./PageContainer.types").PageContainerSpacing;
6
- fullHeight?: boolean;
7
- className?: string;
8
- }, "as"> & {
9
- as?: As | undefined;
10
- } & import("react").RefAttributes<any>) => React.ReactNode) & {
11
- Region: <As extends React.ElementType = "div">(props: Omit<import("../../utilities/polymorphic").PolymorphicProps<As, "div">, "hidden"> & {
12
- hidden?: import("./PageContainer.types").PageContainerHidden;
13
- grow?: boolean;
14
- className?: string;
15
- } & import("react").RefAttributes<any>) => React.ReactNode;
16
- };
17
- export { PageContainerRegion };
18
- export * from "./PageContainer.types";
@@ -1,6 +0,0 @@
1
- import type { PageContainerHidden, PageContainerViewport } from "./PageContainer.types";
2
- export declare const viewports: PageContainerViewport[];
3
- export declare const getHiddenViewports: (hidden?: PageContainerHidden) => PageContainerViewport[];
4
- export declare const getViewportClassName: (matched: PageContainerViewport[], all: string, when: Record<PageContainerViewport, string>) => string | string[];
5
- export declare const getHiddenClassName: (hiddenViewports: PageContainerViewport[]) => string | string[];
6
- export declare const getHiddenAttribute: (hiddenViewports: PageContainerViewport[]) => string | undefined;
@@ -1,11 +0,0 @@
1
- import * as React from "react";
2
- import type { PageContentSpacing, PageContentWidth } from "./PageContent.types";
3
- declare const _default: <As extends React.ElementType = "main">(props: import("../../utilities/polymorphic").DistributiveOmit<React.ComponentPropsWithRef<React.ElementType extends As ? "main" : As> & {
4
- width?: PageContentWidth;
5
- padding?: PageContentSpacing;
6
- gap?: PageContentSpacing;
7
- className?: string;
8
- }, "as"> & {
9
- as?: As | undefined;
10
- } & React.RefAttributes<any>) => React.ReactNode;
11
- export default _default;
@@ -1,17 +0,0 @@
1
- import type * as React from "react";
2
- import type { ResponsiveValue } from "../../hooks/useResponsive";
3
- import type { PolymorphicProps } from "../../utilities/polymorphic";
4
- export type PageContentViewport = "narrow" | "regular" | "wide";
5
- export type PageContentHidden = boolean | ResponsiveValue<boolean>;
6
- export type PageContentWidth = "full" | "medium" | "large" | "xlarge";
7
- export type PageContentSpacing = "none" | "condensed" | "normal" | "spacious";
8
- export type PageContentProps<As extends React.ElementType = "main"> = PolymorphicProps<As, "main", {
9
- width?: PageContentWidth;
10
- padding?: PageContentSpacing;
11
- gap?: PageContentSpacing;
12
- className?: string;
13
- }>;
14
- export type PageContentSectionProps<As extends React.ElementType = "section"> = Omit<PolymorphicProps<As, "section">, "hidden"> & {
15
- hidden?: PageContentHidden;
16
- className?: string;
17
- };
@@ -1,6 +0,0 @@
1
- import * as React from "react";
2
- declare const _default: <As extends React.ElementType = "section">(props: Omit<import("../../utilities/polymorphic").PolymorphicProps<As, "section">, "hidden"> & {
3
- hidden?: import("./PageContent.types").PageContentHidden;
4
- className?: string;
5
- } & React.RefAttributes<any>) => React.ReactNode;
6
- export default _default;
@@ -1,16 +0,0 @@
1
- import PageContentSection from "./PageContentSection";
2
- export declare const PageContent: (<As extends React.ElementType = "main">(props: import("../../utilities/polymorphic").DistributiveOmit<import("react").ComponentPropsWithRef<import("react").ElementType extends As ? "main" : As> & {
3
- width?: import("./PageContent.types").PageContentWidth;
4
- padding?: import("./PageContent.types").PageContentSpacing;
5
- gap?: import("./PageContent.types").PageContentSpacing;
6
- className?: string;
7
- }, "as"> & {
8
- as?: As | undefined;
9
- } & import("react").RefAttributes<any>) => React.ReactNode) & {
10
- Section: <As extends React.ElementType = "section">(props: Omit<import("../../utilities/polymorphic").PolymorphicProps<As, "section">, "hidden"> & {
11
- hidden?: import("./PageContent.types").PageContentHidden;
12
- className?: string;
13
- } & import("react").RefAttributes<any>) => React.ReactNode;
14
- };
15
- export { PageContentSection };
16
- export * from "./PageContent.types";
@@ -1,6 +0,0 @@
1
- import type { PageContentHidden, PageContentViewport } from "./PageContent.types";
2
- export declare const viewports: PageContentViewport[];
3
- export declare const getHiddenViewports: (hidden?: PageContentHidden) => PageContentViewport[];
4
- export declare const getViewportClassName: (matched: PageContentViewport[], all: string, when: Record<PageContentViewport, string>) => string | string[];
5
- export declare const getHiddenClassName: (hiddenViewports: PageContentViewport[]) => string | string[];
6
- export declare const getHiddenAttribute: (hiddenViewports: PageContentViewport[]) => string | undefined;
@@ -1,10 +0,0 @@
1
- import * as React from "react";
2
- import type { PageFooterVariant } from "./PageFooter.types";
3
- declare const _default: <As extends React.ElementType = "footer">(props: import("../../utilities/polymorphic").DistributiveOmit<React.ComponentPropsWithRef<React.ElementType extends As ? "footer" : As> & {
4
- variant?: PageFooterVariant | import("../../hooks/useResponsive").ResponsiveValue<PageFooterVariant>;
5
- hasBorder?: boolean;
6
- className?: string;
7
- }, "as"> & {
8
- as?: As | undefined;
9
- } & React.RefAttributes<any>) => React.ReactNode;
10
- export default _default;
@@ -1,20 +0,0 @@
1
- import type * as React from "react";
2
- import type { ResponsiveValue } from "../../hooks/useResponsive";
3
- import type { PolymorphicProps } from "../../utilities/polymorphic";
4
- export type PageFooterViewport = "narrow" | "regular" | "wide";
5
- export type PageFooterHidden = boolean | ResponsiveValue<boolean>;
6
- export type PageFooterVariant = "normal" | "condensed";
7
- export type PageFooterChildProps<As extends React.ElementType = "div"> = Omit<PolymorphicProps<As, "div">, "hidden"> & {
8
- hidden?: PageFooterHidden;
9
- className?: string;
10
- };
11
- export type PageFooterProps<As extends React.ElementType = "footer"> = PolymorphicProps<As, "footer", {
12
- variant?: PageFooterVariant | ResponsiveValue<PageFooterVariant>;
13
- hasBorder?: boolean;
14
- className?: string;
15
- }>;
16
- export type PageFooterNavigationProps = Omit<React.ComponentPropsWithoutRef<"div">, "hidden"> & {
17
- as?: "div" | "nav";
18
- hidden?: PageFooterHidden;
19
- className?: string;
20
- };
@@ -1,6 +0,0 @@
1
- import * as React from "react";
2
- declare const _default: (props: Omit<import("../../utilities/polymorphic").PolymorphicProps<"div", "div">, "hidden"> & {
3
- hidden?: import("./PageFooter.types").PageFooterHidden;
4
- className?: string;
5
- } & React.RefAttributes<any>) => React.ReactNode;
6
- export default _default;
@@ -1,6 +0,0 @@
1
- import * as React from "react";
2
- declare const _default: (props: Omit<import("../../utilities/polymorphic").PolymorphicProps<"div", "div">, "hidden"> & {
3
- hidden?: import("./PageFooter.types").PageFooterHidden;
4
- className?: string;
5
- } & React.RefAttributes<any>) => React.ReactNode;
6
- export default _default;
@@ -1,6 +0,0 @@
1
- import * as React from "react";
2
- declare const _default: (props: Omit<import("../../utilities/polymorphic").PolymorphicProps<"div", "div">, "hidden"> & {
3
- hidden?: import("./PageFooter.types").PageFooterHidden;
4
- className?: string;
5
- } & React.RefAttributes<any>) => React.ReactNode;
6
- export default _default;
@@ -1,6 +0,0 @@
1
- import * as React from "react";
2
- declare const _default: (props: Omit<import("../../utilities/polymorphic").PolymorphicProps<"div", "div">, "hidden"> & {
3
- hidden?: import("./PageFooter.types").PageFooterHidden;
4
- className?: string;
5
- } & React.RefAttributes<any>) => React.ReactNode;
6
- export default _default;
@@ -1,7 +0,0 @@
1
- import * as React from "react";
2
- declare const _default: (props: Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "hidden"> & {
3
- as?: "div" | "nav";
4
- hidden?: import("./PageFooter.types").PageFooterHidden;
5
- className?: string;
6
- } & React.RefAttributes<any>) => React.ReactNode;
7
- export default _default;
@@ -1,6 +0,0 @@
1
- import * as React from "react";
2
- declare const _default: <As extends React.ElementType = "div">(props: Omit<import("../../utilities/polymorphic").PolymorphicProps<As, "div">, "hidden"> & {
3
- hidden?: import("./PageFooter.types").PageFooterHidden;
4
- className?: string;
5
- } & React.RefAttributes<any>) => React.ReactNode;
6
- export default _default;
@@ -1,36 +0,0 @@
1
- import PageFooterActions from "./PageFooterActions";
2
- import PageFooterCopyright from "./PageFooterCopyright";
3
- import PageFooterDescription from "./PageFooterDescription";
4
- import PageFooterLeadingVisual from "./PageFooterLeadingVisual";
5
- import PageFooterNavigation from "./PageFooterNavigation";
6
- export declare const PageFooter: (<As extends React.ElementType = "footer">(props: import("../../utilities/polymorphic").DistributiveOmit<import("react").ComponentPropsWithRef<import("react").ElementType extends As ? "footer" : As> & {
7
- variant?: import("./PageFooter.types").PageFooterVariant | import("../../hooks/useResponsive").ResponsiveValue<import("./PageFooter.types").PageFooterVariant>;
8
- hasBorder?: boolean;
9
- className?: string;
10
- }, "as"> & {
11
- as?: As | undefined;
12
- } & import("react").RefAttributes<any>) => React.ReactNode) & {
13
- Navigation: (props: Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "hidden"> & {
14
- as?: "div" | "nav";
15
- hidden?: import("./PageFooter.types").PageFooterHidden;
16
- className?: string;
17
- } & import("react").RefAttributes<any>) => React.ReactNode;
18
- LeadingVisual: (props: Omit<import("../../utilities/polymorphic").PolymorphicProps<"div", "div">, "hidden"> & {
19
- hidden?: import("./PageFooter.types").PageFooterHidden;
20
- className?: string;
21
- } & import("react").RefAttributes<any>) => React.ReactNode;
22
- Copyright: (props: Omit<import("../../utilities/polymorphic").PolymorphicProps<"div", "div">, "hidden"> & {
23
- hidden?: import("./PageFooter.types").PageFooterHidden;
24
- className?: string;
25
- } & import("react").RefAttributes<any>) => React.ReactNode;
26
- Actions: (props: Omit<import("../../utilities/polymorphic").PolymorphicProps<"div", "div">, "hidden"> & {
27
- hidden?: import("./PageFooter.types").PageFooterHidden;
28
- className?: string;
29
- } & import("react").RefAttributes<any>) => React.ReactNode;
30
- Description: (props: Omit<import("../../utilities/polymorphic").PolymorphicProps<"div", "div">, "hidden"> & {
31
- hidden?: import("./PageFooter.types").PageFooterHidden;
32
- className?: string;
33
- } & import("react").RefAttributes<any>) => React.ReactNode;
34
- };
35
- export { PageFooterNavigation, PageFooterLeadingVisual, PageFooterCopyright, PageFooterActions, PageFooterDescription, };
36
- export * from "./PageFooter.types";
@@ -1,6 +0,0 @@
1
- import type { PageFooterHidden, PageFooterViewport } from "./PageFooter.types";
2
- export declare const viewports: PageFooterViewport[];
3
- export declare const getHiddenViewports: (hidden?: PageFooterHidden) => PageFooterViewport[];
4
- export declare const getViewportClassName: (matched: PageFooterViewport[], all: string, when: Record<PageFooterViewport, string>) => string | string[];
5
- export declare const getHiddenClassName: (hiddenViewports: PageFooterViewport[]) => string | string[];
6
- export declare const getHiddenAttribute: (hiddenViewports: PageFooterViewport[]) => string | undefined;
@@ -1,8 +0,0 @@
1
- import * as React from "react";
2
- declare const _default: <As extends React.ElementType = "div">(props: import("../../utilities/polymorphic").DistributiveOmit<React.ComponentPropsWithRef<React.ElementType extends As ? "div" : As> & {
3
- hasBorder?: boolean;
4
- className?: string;
5
- }, "as"> & {
6
- as?: As | undefined;
7
- } & React.RefAttributes<any>) => React.ReactNode;
8
- export default _default;
@@ -1,32 +0,0 @@
1
- import type * as React from "react";
2
- import type { ResponsiveValue } from "../../hooks/useResponsive";
3
- import type { PolymorphicProps } from "../../utilities/polymorphic";
4
- export type PageHeaderViewport = "narrow" | "regular" | "wide";
5
- export type PageHeaderHidden = boolean | ResponsiveValue<boolean>;
6
- export type PageHeaderTitleVariant = "subtitle" | "medium" | "large";
7
- export type PageHeaderTitleElement = "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
8
- export type PageHeaderChildProps<As extends React.ElementType = "div"> = Omit<PolymorphicProps<As, "div">, "hidden"> & {
9
- hidden?: PageHeaderHidden;
10
- className?: string;
11
- };
12
- export type PageHeaderProps<As extends React.ElementType = "div"> = PolymorphicProps<As, "div", {
13
- hasBorder?: boolean;
14
- className?: string;
15
- }>;
16
- export type PageHeaderTitleAreaProps = PageHeaderChildProps & {
17
- variant?: PageHeaderTitleVariant | ResponsiveValue<PageHeaderTitleVariant>;
18
- };
19
- export type PageHeaderTitleProps = Omit<React.ComponentPropsWithoutRef<"h2">, "hidden"> & {
20
- as?: PageHeaderTitleElement;
21
- hidden?: PageHeaderHidden;
22
- className?: string;
23
- };
24
- export type PageHeaderParentLinkProps<As extends React.ElementType = "a"> = Omit<PolymorphicProps<As, "a">, "hidden"> & {
25
- hidden?: PageHeaderHidden;
26
- className?: string;
27
- };
28
- export type PageHeaderNavigationProps = Omit<React.ComponentPropsWithoutRef<"div">, "hidden"> & {
29
- as?: "div" | "nav";
30
- hidden?: PageHeaderHidden;
31
- className?: string;
32
- };
@@ -1,6 +0,0 @@
1
- import * as React from "react";
2
- declare const _default: (props: Omit<import("../../utilities/polymorphic").PolymorphicProps<"div", "div">, "hidden"> & {
3
- hidden?: import("./PageHeader.types").PageHeaderHidden;
4
- className?: string;
5
- } & React.RefAttributes<any>) => React.ReactNode;
6
- export default _default;
@@ -1,6 +0,0 @@
1
- import * as React from "react";
2
- declare const _default: (props: Omit<import("../../utilities/polymorphic").PolymorphicProps<"div", "div">, "hidden"> & {
3
- hidden?: import("./PageHeader.types").PageHeaderHidden;
4
- className?: string;
5
- } & React.RefAttributes<any>) => React.ReactNode;
6
- export default _default;
@@ -1,6 +0,0 @@
1
- import * as React from "react";
2
- declare const _default: (props: Omit<import("../../utilities/polymorphic").PolymorphicProps<"div", "div">, "hidden"> & {
3
- hidden?: import("./PageHeader.types").PageHeaderHidden;
4
- className?: string;
5
- } & React.RefAttributes<any>) => React.ReactNode;
6
- export default _default;
@@ -1,6 +0,0 @@
1
- import * as React from "react";
2
- declare const _default: (props: Omit<import("../../utilities/polymorphic").PolymorphicProps<"div", "div">, "hidden"> & {
3
- hidden?: import("./PageHeader.types").PageHeaderHidden;
4
- className?: string;
5
- } & React.RefAttributes<any>) => React.ReactNode;
6
- export default _default;
@@ -1,6 +0,0 @@
1
- import * as React from "react";
2
- declare const _default: (props: Omit<import("../../utilities/polymorphic").PolymorphicProps<"div", "div">, "hidden"> & {
3
- hidden?: import("./PageHeader.types").PageHeaderHidden;
4
- className?: string;
5
- } & React.RefAttributes<any>) => React.ReactNode;
6
- export default _default;
@@ -1,6 +0,0 @@
1
- import * as React from "react";
2
- declare const _default: (props: Omit<import("../../utilities/polymorphic").PolymorphicProps<"div", "div">, "hidden"> & {
3
- hidden?: import("./PageHeader.types").PageHeaderHidden;
4
- className?: string;
5
- } & React.RefAttributes<any>) => React.ReactNode;
6
- export default _default;
@@ -1,6 +0,0 @@
1
- import * as React from "react";
2
- declare const _default: (props: Omit<import("../../utilities/polymorphic").PolymorphicProps<"div", "div">, "hidden"> & {
3
- hidden?: import("./PageHeader.types").PageHeaderHidden;
4
- className?: string;
5
- } & React.RefAttributes<any>) => React.ReactNode;
6
- export default _default;
@@ -1,6 +0,0 @@
1
- import * as React from "react";
2
- declare const _default: (props: Omit<import("../../utilities/polymorphic").PolymorphicProps<"div", "div">, "hidden"> & {
3
- hidden?: import("./PageHeader.types").PageHeaderHidden;
4
- className?: string;
5
- } & React.RefAttributes<any>) => React.ReactNode;
6
- export default _default;
@@ -1,7 +0,0 @@
1
- import * as React from "react";
2
- declare const _default: (props: Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "hidden"> & {
3
- as?: "div" | "nav";
4
- hidden?: import("./PageHeader.types").PageHeaderHidden;
5
- className?: string;
6
- } & React.RefAttributes<any>) => React.ReactNode;
7
- export default _default;
@@ -1,6 +0,0 @@
1
- import * as React from "react";
2
- declare const _default: <As extends React.ElementType = "a">(props: Omit<import("../../utilities/polymorphic").PolymorphicProps<As, "a">, "hidden"> & {
3
- hidden?: import("./PageHeader.types").PageHeaderHidden;
4
- className?: string;
5
- } & React.RefAttributes<any>) => React.ReactNode;
6
- export default _default;
@@ -1,6 +0,0 @@
1
- import * as React from "react";
2
- declare const _default: <As extends React.ElementType = "div">(props: Omit<import("../../utilities/polymorphic").PolymorphicProps<As, "div">, "hidden"> & {
3
- hidden?: import("./PageHeader.types").PageHeaderHidden;
4
- className?: string;
5
- } & React.RefAttributes<any>) => React.ReactNode;
6
- export default _default;
@@ -1,7 +0,0 @@
1
- import * as React from "react";
2
- declare const _default: (props: Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">, "hidden"> & {
3
- as?: import("./PageHeader.types").PageHeaderTitleElement;
4
- hidden?: import("./PageHeader.types").PageHeaderHidden;
5
- className?: string;
6
- } & React.RefAttributes<any>) => React.ReactNode;
7
- export default _default;
@@ -1,8 +0,0 @@
1
- import * as React from "react";
2
- declare const _default: (props: Omit<import("../../utilities/polymorphic").PolymorphicProps<"div", "div">, "hidden"> & {
3
- hidden?: import("./PageHeader.types").PageHeaderHidden;
4
- className?: string;
5
- } & {
6
- variant?: import("./PageHeader.types").PageHeaderTitleVariant | import("../../hooks/useResponsive").ResponsiveValue<import("./PageHeader.types").PageHeaderTitleVariant>;
7
- } & React.RefAttributes<any>) => React.ReactNode;
8
- export default _default;
@@ -1,6 +0,0 @@
1
- import * as React from "react";
2
- declare const _default: (props: Omit<import("../../utilities/polymorphic").PolymorphicProps<"div", "div">, "hidden"> & {
3
- hidden?: import("./PageHeader.types").PageHeaderHidden;
4
- className?: string;
5
- } & React.RefAttributes<any>) => React.ReactNode;
6
- export default _default;
@@ -1,6 +0,0 @@
1
- import * as React from "react";
2
- declare const _default: (props: Omit<import("../../utilities/polymorphic").PolymorphicProps<"div", "div">, "hidden"> & {
3
- hidden?: import("./PageHeader.types").PageHeaderHidden;
4
- className?: string;
5
- } & React.RefAttributes<any>) => React.ReactNode;
6
- export default _default;
@@ -1,83 +0,0 @@
1
- import PageHeaderActions from "./PageHeaderActions";
2
- import PageHeaderBreadcrumbs from "./PageHeaderBreadcrumbs";
3
- import PageHeaderContextArea from "./PageHeaderContextArea";
4
- import PageHeaderContextAreaActions from "./PageHeaderContextAreaActions";
5
- import PageHeaderContextBar from "./PageHeaderContextBar";
6
- import PageHeaderDescription from "./PageHeaderDescription";
7
- import PageHeaderLeadingAction from "./PageHeaderLeadingAction";
8
- import PageHeaderLeadingVisual from "./PageHeaderLeadingVisual";
9
- import PageHeaderNavigation from "./PageHeaderNavigation";
10
- import PageHeaderParentLink from "./PageHeaderParentLink";
11
- import PageHeaderTitle from "./PageHeaderTitle";
12
- import PageHeaderTitleArea from "./PageHeaderTitleArea";
13
- import PageHeaderTrailingAction from "./PageHeaderTrailingAction";
14
- import PageHeaderTrailingVisual from "./PageHeaderTrailingVisual";
15
- export declare const PageHeader: (<As extends React.ElementType = "div">(props: import("../../utilities/polymorphic").DistributiveOmit<import("react").ComponentPropsWithRef<import("react").ElementType extends As ? "div" : As> & {
16
- hasBorder?: boolean;
17
- className?: string;
18
- }, "as"> & {
19
- as?: As | undefined;
20
- } & import("react").RefAttributes<any>) => React.ReactNode) & {
21
- ContextArea: (props: Omit<import("../../utilities/polymorphic").PolymorphicProps<"div", "div">, "hidden"> & {
22
- hidden?: import("./PageHeader.types").PageHeaderHidden;
23
- className?: string;
24
- } & import("react").RefAttributes<any>) => React.ReactNode;
25
- ParentLink: <As extends React.ElementType = "a">(props: Omit<import("../../utilities/polymorphic").PolymorphicProps<As, "a">, "hidden"> & {
26
- hidden?: import("./PageHeader.types").PageHeaderHidden;
27
- className?: string;
28
- } & import("react").RefAttributes<any>) => React.ReactNode;
29
- ContextBar: (props: Omit<import("../../utilities/polymorphic").PolymorphicProps<"div", "div">, "hidden"> & {
30
- hidden?: import("./PageHeader.types").PageHeaderHidden;
31
- className?: string;
32
- } & import("react").RefAttributes<any>) => React.ReactNode;
33
- ContextAreaActions: (props: Omit<import("../../utilities/polymorphic").PolymorphicProps<"div", "div">, "hidden"> & {
34
- hidden?: import("./PageHeader.types").PageHeaderHidden;
35
- className?: string;
36
- } & import("react").RefAttributes<any>) => React.ReactNode;
37
- TitleArea: (props: Omit<import("../../utilities/polymorphic").PolymorphicProps<"div", "div">, "hidden"> & {
38
- hidden?: import("./PageHeader.types").PageHeaderHidden;
39
- className?: string;
40
- } & {
41
- variant?: import("./PageHeader.types").PageHeaderTitleVariant | import("../../hooks/useResponsive").ResponsiveValue<import("./PageHeader.types").PageHeaderTitleVariant>;
42
- } & import("react").RefAttributes<any>) => React.ReactNode;
43
- LeadingAction: (props: Omit<import("../../utilities/polymorphic").PolymorphicProps<"div", "div">, "hidden"> & {
44
- hidden?: import("./PageHeader.types").PageHeaderHidden;
45
- className?: string;
46
- } & import("react").RefAttributes<any>) => React.ReactNode;
47
- Breadcrumbs: (props: Omit<import("../../utilities/polymorphic").PolymorphicProps<"div", "div">, "hidden"> & {
48
- hidden?: import("./PageHeader.types").PageHeaderHidden;
49
- className?: string;
50
- } & import("react").RefAttributes<any>) => React.ReactNode;
51
- LeadingVisual: (props: Omit<import("../../utilities/polymorphic").PolymorphicProps<"div", "div">, "hidden"> & {
52
- hidden?: import("./PageHeader.types").PageHeaderHidden;
53
- className?: string;
54
- } & import("react").RefAttributes<any>) => React.ReactNode;
55
- Title: (props: Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">, "hidden"> & {
56
- as?: import("./PageHeader.types").PageHeaderTitleElement;
57
- hidden?: import("./PageHeader.types").PageHeaderHidden;
58
- className?: string;
59
- } & import("react").RefAttributes<any>) => React.ReactNode;
60
- TrailingVisual: (props: Omit<import("../../utilities/polymorphic").PolymorphicProps<"div", "div">, "hidden"> & {
61
- hidden?: import("./PageHeader.types").PageHeaderHidden;
62
- className?: string;
63
- } & import("react").RefAttributes<any>) => React.ReactNode;
64
- TrailingAction: (props: Omit<import("../../utilities/polymorphic").PolymorphicProps<"div", "div">, "hidden"> & {
65
- hidden?: import("./PageHeader.types").PageHeaderHidden;
66
- className?: string;
67
- } & import("react").RefAttributes<any>) => React.ReactNode;
68
- Actions: (props: Omit<import("../../utilities/polymorphic").PolymorphicProps<"div", "div">, "hidden"> & {
69
- hidden?: import("./PageHeader.types").PageHeaderHidden;
70
- className?: string;
71
- } & import("react").RefAttributes<any>) => React.ReactNode;
72
- Description: (props: Omit<import("../../utilities/polymorphic").PolymorphicProps<"div", "div">, "hidden"> & {
73
- hidden?: import("./PageHeader.types").PageHeaderHidden;
74
- className?: string;
75
- } & import("react").RefAttributes<any>) => React.ReactNode;
76
- Navigation: (props: Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "hidden"> & {
77
- as?: "div" | "nav";
78
- hidden?: import("./PageHeader.types").PageHeaderHidden;
79
- className?: string;
80
- } & import("react").RefAttributes<any>) => React.ReactNode;
81
- };
82
- export { PageHeaderContextArea, PageHeaderParentLink, PageHeaderContextBar, PageHeaderContextAreaActions, PageHeaderTitleArea, PageHeaderLeadingAction, PageHeaderBreadcrumbs, PageHeaderLeadingVisual, PageHeaderTitle, PageHeaderTrailingVisual, PageHeaderTrailingAction, PageHeaderActions, PageHeaderDescription, PageHeaderNavigation, };
83
- export * from "./PageHeader.types";
@@ -1,6 +0,0 @@
1
- import type { PageHeaderHidden, PageHeaderViewport } from "./PageHeader.types";
2
- export declare const viewports: PageHeaderViewport[];
3
- export declare const getHiddenViewports: (hidden?: PageHeaderHidden) => PageHeaderViewport[];
4
- export declare const getViewportClassName: (matched: PageHeaderViewport[], all: string, when: Record<PageHeaderViewport, string>) => string | string[];
5
- export declare const getHiddenClassName: (hiddenViewports: PageHeaderViewport[]) => string | string[];
6
- export declare const getHiddenAttribute: (hiddenViewports: PageHeaderViewport[]) => string | undefined;
@@ -1,14 +0,0 @@
1
- import * as React from "react";
2
- import type { PageSidebarPosition, PageSidebarSpacing, PageSidebarWidth } from "./PageSidebar.types";
3
- declare const _default: <As extends React.ElementType = "aside">(props: import("../../utilities/polymorphic").DistributiveOmit<React.ComponentPropsWithRef<React.ElementType extends As ? "aside" : As> & {
4
- position?: PageSidebarPosition;
5
- width?: PageSidebarWidth;
6
- padding?: PageSidebarSpacing;
7
- gap?: PageSidebarSpacing;
8
- sticky?: boolean;
9
- hasBorder?: boolean;
10
- className?: string;
11
- }, "as"> & {
12
- as?: As | undefined;
13
- } & React.RefAttributes<any>) => React.ReactNode;
14
- export default _default;
@@ -1,32 +0,0 @@
1
- import type * as React from "react";
2
- import type { ResponsiveValue } from "../../hooks/useResponsive";
3
- import type { PolymorphicProps } from "../../utilities/polymorphic";
4
- export type PageSidebarViewport = "narrow" | "regular" | "wide";
5
- export type PageSidebarHidden = boolean | ResponsiveValue<boolean>;
6
- export type PageSidebarPosition = "start" | "end";
7
- export type PageSidebarWidth = "small" | "medium" | "large";
8
- export type PageSidebarSpacing = "none" | "condensed" | "normal" | "spacious";
9
- export type PageSidebarTitleElement = "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
10
- export type PageSidebarChildProps<As extends React.ElementType = "div"> = Omit<PolymorphicProps<As, "div">, "hidden"> & {
11
- hidden?: PageSidebarHidden;
12
- className?: string;
13
- };
14
- export type PageSidebarProps<As extends React.ElementType = "aside"> = PolymorphicProps<As, "aside", {
15
- position?: PageSidebarPosition;
16
- width?: PageSidebarWidth;
17
- padding?: PageSidebarSpacing;
18
- gap?: PageSidebarSpacing;
19
- sticky?: boolean;
20
- hasBorder?: boolean;
21
- className?: string;
22
- }>;
23
- export type PageSidebarTitleProps = Omit<React.ComponentPropsWithoutRef<"h2">, "hidden"> & {
24
- as?: PageSidebarTitleElement;
25
- hidden?: PageSidebarHidden;
26
- className?: string;
27
- };
28
- export type PageSidebarNavigationProps = Omit<React.ComponentPropsWithoutRef<"div">, "hidden"> & {
29
- as?: "div" | "nav";
30
- hidden?: PageSidebarHidden;
31
- className?: string;
32
- };
@@ -1,6 +0,0 @@
1
- import * as React from "react";
2
- declare const _default: (props: Omit<import("../../utilities/polymorphic").PolymorphicProps<"div", "div">, "hidden"> & {
3
- hidden?: import("./PageSidebar.types").PageSidebarHidden;
4
- className?: string;
5
- } & React.RefAttributes<any>) => React.ReactNode;
6
- export default _default;
@@ -1,6 +0,0 @@
1
- import * as React from "react";
2
- declare const _default: (props: Omit<import("../../utilities/polymorphic").PolymorphicProps<"div", "div">, "hidden"> & {
3
- hidden?: import("./PageSidebar.types").PageSidebarHidden;
4
- className?: string;
5
- } & React.RefAttributes<any>) => React.ReactNode;
6
- export default _default;
@@ -1,6 +0,0 @@
1
- import * as React from "react";
2
- declare const _default: (props: Omit<import("../../utilities/polymorphic").PolymorphicProps<"div", "div">, "hidden"> & {
3
- hidden?: import("./PageSidebar.types").PageSidebarHidden;
4
- className?: string;
5
- } & React.RefAttributes<any>) => React.ReactNode;
6
- export default _default;