@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.
package/dist/components/Badge.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
const
|
|
3
|
+
const d = ({ children: e, color: r = "secondary", className: t = "" }) => /* @__PURE__ */ a(
|
|
4
4
|
"div",
|
|
5
5
|
{
|
|
6
|
-
className: `
|
|
7
|
-
children:
|
|
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
|
-
|
|
11
|
+
d as Badge
|
|
12
12
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsxs as
|
|
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
|
|
5
|
-
const
|
|
6
|
-
/* @__PURE__ */
|
|
7
|
-
|
|
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
|
-
|
|
10
|
+
n as TrustedBadge
|
|
11
11
|
};
|