@npm_leadtech/legal-contracts-ui 0.50.5 → 0.52.0

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.
@@ -6,5 +6,6 @@ export declare const Badge: FC<BadgeProps>;
6
6
  export declare interface BadgeProps {
7
7
  children?: ReactNode;
8
8
  color?: 'primary' | 'secondary';
9
+ className?: string;
9
10
  }
10
11
 
@@ -1,12 +1,12 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
2
  import "react";
3
- const o = ({ children: t, color: e = "secondary" }) => /* @__PURE__ */ a(
3
+ const d = ({ children: e, color: r = "secondary", className: t = "" }) => /* @__PURE__ */ a(
4
4
  "div",
5
5
  {
6
- className: `absolute -top-4 left-1/2 flex -translate-x-1/2 transform items-center gap-2 rounded sm:-right-2 sm:left-auto sm:translate-0 bg-${e}-200 text-small px-2 py-2 whitespace-nowrap text-neutral-800 shadow-md`,
7
- children: t
6
+ className: `flex items-center gap-2 rounded bg-${r}-200 whitespace-nowrap text-neutral-800 shadow-md ${t}`,
7
+ children: e
8
8
  }
9
9
  );
10
10
  export {
11
- o as Badge
11
+ d as Badge
12
12
  };
@@ -1,11 +1,11 @@
1
- import { jsxs as o, jsx as t } from "react/jsx-runtime";
1
+ import { jsxs as r, jsx as s } from "react/jsx-runtime";
2
2
  import "react";
3
3
  import { Badge as e } from "./Badge.js";
4
- import { TrustedIcon as m } from "./TrustedIcon.js";
5
- const a = ({ children: r }) => /* @__PURE__ */ o(e, { children: [
6
- /* @__PURE__ */ t(m, { className: "h-5 w-5" }),
7
- r
4
+ import { TrustedIcon as a } from "./TrustedIcon.js";
5
+ const n = ({ children: t }) => /* @__PURE__ */ r(e, { className: "text-small absolute -top-4 left-1/2 -translate-x-1/2 transform px-2 py-2 sm:-right-2 sm:left-auto sm:translate-0", children: [
6
+ /* @__PURE__ */ s(a, { className: "h-5 w-5" }),
7
+ t
8
8
  ] });
9
9
  export {
10
- a as TrustedBadge
10
+ n as TrustedBadge
11
11
  };
@@ -26,6 +26,7 @@ export declare const Badge: FC<BadgeProps>;
26
26
  export declare interface BadgeProps {
27
27
  children?: ReactNode;
28
28
  color?: 'primary' | 'secondary';
29
+ className?: string;
29
30
  }
30
31
 
31
32
  export declare interface BaseSubtypeDocumentProps {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-contracts-ui",
3
- "version": "0.50.5",
3
+ "version": "0.52.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",