@gamecrafters/base-ui 0.0.19 → 0.0.21

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.
@@ -58,6 +58,7 @@ export * from "./inline-message";
58
58
  export * from "./keybinding-hint";
59
59
  export * from "./label";
60
60
  export * from "./label-group";
61
+ export * from "./layer-card";
61
62
  export * from "./link";
62
63
  export * from "./link-button";
63
64
  export * from "./list";
@@ -0,0 +1,7 @@
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
+ className?: string;
4
+ }, "as"> & {
5
+ as?: As | undefined;
6
+ } & React.RefAttributes<any>) => React.ReactNode;
7
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import type * as React from "react";
2
+ import type { PolymorphicProps } from "../../utilities/polymorphic";
3
+ export type LayerCardProps<As extends React.ElementType = "div"> = PolymorphicProps<As, "div", {
4
+ className?: string;
5
+ }>;
6
+ export type LayerCardSectionProps<As extends React.ElementType = "div"> = PolymorphicProps<As, "div", {
7
+ className?: string;
8
+ }>;
@@ -0,0 +1,7 @@
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
+ className?: string;
4
+ }, "as"> & {
5
+ as?: As | undefined;
6
+ } & React.RefAttributes<any>) => React.ReactNode;
7
+ export default _default;
@@ -0,0 +1,7 @@
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
+ className?: string;
4
+ }, "as"> & {
5
+ as?: As | undefined;
6
+ } & React.RefAttributes<any>) => React.ReactNode;
7
+ export default _default;
@@ -0,0 +1,20 @@
1
+ import LayerCardPrimary from "./LayerCardPrimary";
2
+ import LayerCardSecondary from "./LayerCardSecondary";
3
+ export declare const LayerCard: (<As extends React.ElementType = "div">(props: import("../../utilities/polymorphic").DistributiveOmit<import("react").ComponentPropsWithRef<import("react").ElementType extends As ? "div" : As> & {
4
+ className?: string;
5
+ }, "as"> & {
6
+ as?: As | undefined;
7
+ } & import("react").RefAttributes<any>) => React.ReactNode) & {
8
+ Secondary: <As extends React.ElementType = "div">(props: import("../../utilities/polymorphic").DistributiveOmit<import("react").ComponentPropsWithRef<import("react").ElementType extends As ? "div" : As> & {
9
+ className?: string;
10
+ }, "as"> & {
11
+ as?: As | undefined;
12
+ } & import("react").RefAttributes<any>) => React.ReactNode;
13
+ Primary: <As extends React.ElementType = "div">(props: import("../../utilities/polymorphic").DistributiveOmit<import("react").ComponentPropsWithRef<import("react").ElementType extends As ? "div" : As> & {
14
+ className?: string;
15
+ }, "as"> & {
16
+ as?: As | undefined;
17
+ } & import("react").RefAttributes<any>) => React.ReactNode;
18
+ };
19
+ export { LayerCardSecondary, LayerCardPrimary };
20
+ export * from "./LayerCard.types";