@gamecrafters/base-ui 0.0.32 → 0.0.34
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/build/components/index.d.ts +1 -1
- package/build/components/strong/Strong.d.ts +9 -0
- package/build/components/strong/Strong.types.d.ts +7 -0
- package/build/components/strong/index.d.ts +2 -0
- package/build/main.cjs.js +68 -68
- package/build/main.esm.js +67 -67
- package/build/styles/main.css +1 -1
- package/package.json +1 -1
- package/build/components/link-button/LinkButton.d.ts +0 -5
- package/build/components/link-button/LinkButton.types.d.ts +0 -4
- package/build/components/link-button/index.d.ts +0 -2
|
@@ -64,7 +64,6 @@ export * from "./label";
|
|
|
64
64
|
export * from "./label-group";
|
|
65
65
|
export * from "./layer-card";
|
|
66
66
|
export * from "./link";
|
|
67
|
-
export * from "./link-button";
|
|
68
67
|
export * from "./list";
|
|
69
68
|
export * from "./map";
|
|
70
69
|
export * from "./mark";
|
|
@@ -108,6 +107,7 @@ export * from "./state-label";
|
|
|
108
107
|
export * from "./statistic-card";
|
|
109
108
|
export * from "./status";
|
|
110
109
|
export * from "./steps";
|
|
110
|
+
export * from "./strong";
|
|
111
111
|
export * from "./swap";
|
|
112
112
|
export * from "./switch";
|
|
113
113
|
export * from "./table-of-contents";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { StrongSize } from "./Strong.types";
|
|
3
|
+
declare const _default: <As extends React.ElementType = "strong">(props: import("../../utilities/polymorphic").DistributiveOmit<React.ComponentPropsWithRef<React.ElementType extends As ? "strong" : As> & {
|
|
4
|
+
size?: StrongSize;
|
|
5
|
+
className?: string;
|
|
6
|
+
}, "as"> & {
|
|
7
|
+
as?: As | undefined;
|
|
8
|
+
} & React.RefAttributes<any>) => React.ReactNode;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
import type { PolymorphicProps } from "../../utilities/polymorphic";
|
|
3
|
+
export type StrongSize = "large" | "medium" | "small";
|
|
4
|
+
export type StrongProps<As extends React.ElementType = "strong"> = PolymorphicProps<As, "strong", {
|
|
5
|
+
size?: StrongSize;
|
|
6
|
+
className?: string;
|
|
7
|
+
}>;
|