@lctafrica/ui 1.0.4 → 1.0.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.
|
@@ -3,7 +3,7 @@ import { Button } from './button/Button';
|
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
declare function InputGroup({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
declare const inputGroupAddonVariants: (props?: ({
|
|
6
|
-
align?: "inline-
|
|
6
|
+
align?: "inline-end" | "inline-start" | "block-end" | "block-start" | null | undefined;
|
|
7
7
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
8
|
declare function InputGroupAddon({ className, align, ...props }: React.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
declare const inputGroupButtonVariants: (props?: ({
|
|
@@ -6,13 +6,13 @@ type MemberCardProps = {
|
|
|
6
6
|
actionButton: {
|
|
7
7
|
label: string;
|
|
8
8
|
onClick(): void;
|
|
9
|
-
leftIcon?: ReactNode;
|
|
10
|
-
className?: string;
|
|
11
|
-
disabled?: boolean;
|
|
9
|
+
leftIcon?: ReactNode | undefined;
|
|
10
|
+
className?: string | undefined;
|
|
11
|
+
disabled?: boolean | undefined;
|
|
12
12
|
};
|
|
13
|
-
privilege
|
|
14
|
-
containerClassName?: string;
|
|
15
|
-
errorMessage?: string;
|
|
13
|
+
privilege?: "NORMAL" | "VIP" | "VVIP" | null;
|
|
14
|
+
containerClassName?: string | undefined;
|
|
15
|
+
errorMessage?: string | undefined;
|
|
16
16
|
};
|
|
17
17
|
export declare function MemberCard({ memberNumber, memberName, scheme, actionButton, privilege, containerClassName, errorMessage, }: MemberCardProps): import("react/jsx-runtime").JSX.Element;
|
|
18
18
|
export {};
|
package/dist/index.js
CHANGED
|
@@ -11526,7 +11526,18 @@ const tx = At("rounded-lg px-15 py-7", {
|
|
|
11526
11526
|
}
|
|
11527
11527
|
});
|
|
11528
11528
|
function nx({ className: e, variant: t = "primary", ...r }) {
|
|
11529
|
-
return /* @__PURE__ */ v(
|
|
11529
|
+
return /* @__PURE__ */ v(
|
|
11530
|
+
"article",
|
|
11531
|
+
{
|
|
11532
|
+
style: {
|
|
11533
|
+
...t === "primary" && {
|
|
11534
|
+
boxShadow: "0px 8px 29px 0px #0000001A"
|
|
11535
|
+
}
|
|
11536
|
+
},
|
|
11537
|
+
className: P(tx({ variant: t, className: e })),
|
|
11538
|
+
...r
|
|
11539
|
+
}
|
|
11540
|
+
);
|
|
11530
11541
|
}
|
|
11531
11542
|
const rx = "peer shrink-0 border border-gray-300 ring-offset-background transition-colors", ox = "focus-visible:outline-none focus-visible:ring-4 focus-visible:ring-blue-200 focus-visible:ring-offset-0 focus-visible:border-blue-400", ix = "disabled:cursor-not-allowed disabled:border-gray-200 disabled:bg-gray-100 disabled:data-[state=checked]:border-gray-200 disabled:data-[state=checked]:bg-gray-200 disabled:data-[state=checked]:text-white", ax = At(
|
|
11532
11543
|
P(rx, ox, ix),
|