@teton/smith-ui 0.2.190 → 0.2.191
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/index.js +6 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as e, jsxs as l, Fragment as v } from "react/jsx-runtime";
|
|
2
|
-
import { X as $, ChevronRight as w, MoreHorizontal as R, Loader2 as j, ArrowLeft as D, ChevronDown as B, Search as I, Check as
|
|
2
|
+
import { X as $, ChevronRight as w, MoreHorizontal as R, Loader2 as j, ArrowLeft as D, ChevronDown as B, Search as I, Check as z } from "lucide-react";
|
|
3
3
|
import { useState as k, useRef as A, useEffect as O } from "react";
|
|
4
4
|
import { Link as f } from "react-router";
|
|
5
|
-
const
|
|
5
|
+
const K = {
|
|
6
6
|
gray: "bg-gray-100 text-gray-700",
|
|
7
7
|
blue: "bg-blue-100 text-blue-700",
|
|
8
8
|
green: "bg-green-100 text-green-700",
|
|
@@ -20,7 +20,7 @@ function W({
|
|
|
20
20
|
return /* @__PURE__ */ e(
|
|
21
21
|
"span",
|
|
22
22
|
{
|
|
23
|
-
className: `px-1.5 py-0.5 text-xs font-medium ${t ? "rounded-full" : "rounded"} ${
|
|
23
|
+
className: `px-1.5 py-0.5 text-xs font-medium ${t ? "rounded-full" : "rounded"} ${K[r]} ${n}`,
|
|
24
24
|
children: a
|
|
25
25
|
}
|
|
26
26
|
);
|
|
@@ -678,7 +678,7 @@ function xe({
|
|
|
678
678
|
"div",
|
|
679
679
|
{
|
|
680
680
|
onMouseEnter: () => b(g),
|
|
681
|
-
className: `relative min-w-[2px] flex-1 cursor-pointer overflow-hidden rounded-[2px] bg-emerald-500 transition-opacity ${s === g ? "opacity-60" : ""}`,
|
|
681
|
+
className: `relative z-10 min-w-[2px] flex-1 cursor-pointer overflow-hidden rounded-[2px] bg-emerald-500 transition-opacity ${s === g ? "opacity-60" : ""}`,
|
|
682
682
|
children: c.downMs > 0 && /* @__PURE__ */ e(
|
|
683
683
|
"div",
|
|
684
684
|
{
|
|
@@ -813,7 +813,7 @@ function ve({
|
|
|
813
813
|
{
|
|
814
814
|
className: `fixed top-4 right-4 z-50 p-4 rounded-lg shadow-lg border transition-all duration-300 ease-in-out ${r.type === "success" ? "bg-green-50 text-green-800 border-green-200" : "bg-red-50 text-red-800 border-red-200"}`,
|
|
815
815
|
children: /* @__PURE__ */ l("div", { className: "flex items-center space-x-2", children: [
|
|
816
|
-
r.type === "success" ? /* @__PURE__ */ e(
|
|
816
|
+
r.type === "success" ? /* @__PURE__ */ e(z, { className: "w-5 h-5 text-green-600" }) : /* @__PURE__ */ e($, { className: "w-5 h-5 text-red-600" }),
|
|
817
817
|
/* @__PURE__ */ e("span", { className: "text-sm font-medium", children: r.message }),
|
|
818
818
|
/* @__PURE__ */ e(
|
|
819
819
|
"button",
|
|
@@ -830,7 +830,7 @@ function ve({
|
|
|
830
830
|
}
|
|
831
831
|
export {
|
|
832
832
|
ne as AlertBanner,
|
|
833
|
-
|
|
833
|
+
K as BADGE_COLORS,
|
|
834
834
|
ie as BackLink,
|
|
835
835
|
W as Badge,
|
|
836
836
|
re as Breadcrumbs,
|