@nar-bus/ui-kit 1.14.0 → 1.15.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/{Button-DsTGnChX.js → Button-BN_yX87x.js} +6 -2
- package/dist/atoms/Button.d.ts.map +1 -1
- package/dist/index.js +13 -13
- package/dist/map.js +1 -1
- package/dist/organisms/JsonViewer.d.ts.map +1 -1
- package/dist/organisms/Sidebar.d.ts.map +1 -1
- package/dist/theme.css +1 -1
- package/dist/ui-kit.css +1 -1
- package/package.json +1 -1
|
@@ -3137,11 +3137,15 @@ const Vo = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], Bo =
|
|
|
3137
3137
|
"hover:[box-shadow:0_0_14px_-2px_color-mix(in_oklab,var(--color-primary)_55%,transparent)]",
|
|
3138
3138
|
U
|
|
3139
3139
|
].join(" "),
|
|
3140
|
+
/* Label uses --color-status-danger-text, not the solid token: this variant is
|
|
3141
|
+
transparent, so the label sits on whatever surface hosts it — most often the
|
|
3142
|
+
default glass Sheet footer, where the solid #EF4444 measured 3.29-4.19 (below
|
|
3143
|
+
AA). The border/hover fills keep the solid token; they are non-text chrome. */
|
|
3140
3144
|
"glass-danger": [
|
|
3141
3145
|
"bg-transparent",
|
|
3142
|
-
"text-[var(--color-status-danger)]",
|
|
3146
|
+
"text-[var(--color-status-danger-text)]",
|
|
3143
3147
|
"[border:1px_solid_color-mix(in_oklab,var(--color-status-danger)_40%,transparent)]",
|
|
3144
|
-
"hover:text-[var(--color-status-danger)]",
|
|
3148
|
+
"hover:text-[var(--color-status-danger-text)]",
|
|
3145
3149
|
"hover:[background-color:color-mix(in_oklab,var(--color-status-danger)_14%,transparent)]",
|
|
3146
3150
|
"hover:[border-color:color-mix(in_oklab,var(--color-status-danger)_70%,transparent)]",
|
|
3147
3151
|
"hover:[box-shadow:0_0_14px_-2px_color-mix(in_oklab,var(--color-status-danger)_55%,transparent)]",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../src/atoms/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,oBAAoB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9E,OAAO,EAAW,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAGxD,MAAM,WAAW,WAAY,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;IAC1E,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,GAAG,aAAa,GAAG,OAAO,GAAG,cAAc,CAAC;IACnG,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,UAAU,CAAC;IACtB,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../src/atoms/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,oBAAoB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9E,OAAO,EAAW,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAGxD,MAAM,WAAW,WAAY,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;IAC1E,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,GAAG,aAAa,GAAG,OAAO,GAAG,cAAc,CAAC;IACnG,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,UAAU,CAAC;IACtB,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AA4GD,eAAO,MAAM,MAAM,2GAmElB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as t, jsxs as h, Fragment as le } from "react/jsx-runtime";
|
|
2
|
-
import { c as O, a as u, L as Gt, B as Z } from "./Button-
|
|
2
|
+
import { c as O, a as u, L as Gt, B as Z } from "./Button-BN_yX87x.js";
|
|
3
3
|
import { initReactI18next as Xr, useTranslation as $ } from "react-i18next";
|
|
4
4
|
import { createContext as vt, useState as P, useEffect as V, useCallback as _, useMemo as ue, useContext as ft, useSyncExternalStore as Ur, forwardRef as q, useRef as j, useId as ce, useLayoutEffect as Me, isValidElement as _r, cloneElement as qr, Fragment as Qr } from "react";
|
|
5
5
|
import { createPortal as Ne } from "react-dom";
|
|
@@ -2239,7 +2239,7 @@ const gt = q(
|
|
|
2239
2239
|
"span",
|
|
2240
2240
|
{
|
|
2241
2241
|
"aria-hidden": "true",
|
|
2242
|
-
className: "ml-[var(--space-0-5)] text-[var(--color-status-danger)]",
|
|
2242
|
+
className: "ml-[var(--space-0-5)] text-[var(--color-status-danger-text)]",
|
|
2243
2243
|
children: "*"
|
|
2244
2244
|
}
|
|
2245
2245
|
)
|
|
@@ -3007,7 +3007,7 @@ function Gl({
|
|
|
3007
3007
|
id: c,
|
|
3008
3008
|
role: "alert",
|
|
3009
3009
|
"aria-live": "polite",
|
|
3010
|
-
className: "text-[length:var(--font-xs)] text-[var(--color-status-danger)] transition-opacity duration-[var(--motion-duration-fast)] ease-[var(--motion-easing-out-quint)]",
|
|
3010
|
+
className: "text-[length:var(--font-xs)] text-[var(--color-status-danger-text)] transition-opacity duration-[var(--motion-duration-fast)] ease-[var(--motion-easing-out-quint)]",
|
|
3011
3011
|
children: a
|
|
3012
3012
|
}
|
|
3013
3013
|
),
|
|
@@ -4508,7 +4508,7 @@ const Ai = q(
|
|
|
4508
4508
|
]
|
|
4509
4509
|
}
|
|
4510
4510
|
),
|
|
4511
|
-
x != null && /* @__PURE__ */ t("p", { className: "text-[length:var(--font-xs)] text-[var(--color-status-danger)]", children: x })
|
|
4511
|
+
x != null && /* @__PURE__ */ t("p", { className: "text-[length:var(--font-xs)] text-[var(--color-status-danger-text)]", children: x })
|
|
4512
4512
|
] });
|
|
4513
4513
|
}
|
|
4514
4514
|
);
|
|
@@ -6812,7 +6812,7 @@ function bc({
|
|
|
6812
6812
|
{
|
|
6813
6813
|
role: "alert",
|
|
6814
6814
|
"aria-live": "polite",
|
|
6815
|
-
className: "border-t border-[var(--color-status-danger)]/20 bg-[var(--color-status-danger)]/10 px-2 py-1 text-[length:var(--font-xs)] text-[var(--color-status-danger)]",
|
|
6815
|
+
className: "border-t border-[var(--color-status-danger)]/20 bg-[var(--color-status-danger)]/10 px-2 py-1 text-[length:var(--font-xs)] text-[var(--color-status-danger-text)]",
|
|
6816
6816
|
children: k
|
|
6817
6817
|
}
|
|
6818
6818
|
)
|
|
@@ -7076,7 +7076,7 @@ function yc({
|
|
|
7076
7076
|
]
|
|
7077
7077
|
}
|
|
7078
7078
|
),
|
|
7079
|
-
c && /* @__PURE__ */ t("p", { className: "mt-[var(--space-1)] text-[length:var(--font-xs)] text-[var(--color-status-danger)]", children: c })
|
|
7079
|
+
c && /* @__PURE__ */ t("p", { className: "mt-[var(--space-1)] text-[length:var(--font-xs)] text-[var(--color-status-danger-text)]", children: c })
|
|
7080
7080
|
] });
|
|
7081
7081
|
}
|
|
7082
7082
|
function sl(e) {
|
|
@@ -7101,9 +7101,9 @@ function jr(e) {
|
|
|
7101
7101
|
return r === "object" ? "object" : r === "number" ? "number" : r === "boolean" ? "boolean" : "string";
|
|
7102
7102
|
}
|
|
7103
7103
|
const ll = {
|
|
7104
|
-
string: "text-[var(--color-status-success)]",
|
|
7105
|
-
number: "text-[var(--color-status-info)]",
|
|
7106
|
-
boolean: "text-[var(--color-status-warning)]",
|
|
7104
|
+
string: "text-[var(--color-status-success-text)]",
|
|
7105
|
+
number: "text-[var(--color-status-info-text)]",
|
|
7106
|
+
boolean: "text-[var(--color-status-warning-text)]",
|
|
7107
7107
|
null: "text-[var(--color-text-muted)]"
|
|
7108
7108
|
};
|
|
7109
7109
|
function Jt(e, r) {
|
|
@@ -7290,7 +7290,7 @@ const cl = "focus-visible:outline-none focus-visible:[box-shadow:0_0_0_1px_var(-
|
|
|
7290
7290
|
completed: "border-[var(--color-primary)] bg-[var(--color-primary)] text-[var(--color-text-inverse)]",
|
|
7291
7291
|
active: "border-[var(--color-primary)] bg-[var(--color-primary-subtle)] text-[var(--color-primary)]",
|
|
7292
7292
|
pending: "border-[var(--color-border-default)] bg-[var(--color-bg-card)] text-[var(--color-text-muted)]",
|
|
7293
|
-
error: "border-[var(--color-status-danger)] bg-[var(--color-status-danger-bg)] text-[var(--color-status-danger)]"
|
|
7293
|
+
error: "border-[var(--color-status-danger)] bg-[var(--color-status-danger-bg)] text-[var(--color-status-danger-text)]"
|
|
7294
7294
|
}, ul = {
|
|
7295
7295
|
completed: "text-[var(--color-text-primary)]",
|
|
7296
7296
|
active: "font-semibold text-[var(--color-text-primary)]",
|
|
@@ -7680,7 +7680,7 @@ const hl = q(
|
|
|
7680
7680
|
children: /* @__PURE__ */ t(ge, { variant: Kt(S.status), dot: !0 })
|
|
7681
7681
|
}
|
|
7682
7682
|
),
|
|
7683
|
-
children: /* @__PURE__ */ t("ul", { className: "m-0 flex list-none flex-col gap-[var(--space-1)] p-[var(--space-2)] text-[length:var(--font-sm)] text-[var(--color-status-danger)]", children: S.errors.map((te, de) => /* @__PURE__ */ t("li", { children: te }, de)) })
|
|
7683
|
+
children: /* @__PURE__ */ t("ul", { className: "m-0 flex list-none flex-col gap-[var(--space-1)] p-[var(--space-2)] text-[length:var(--font-sm)] text-[var(--color-status-danger-text)]", children: S.errors.map((te, de) => /* @__PURE__ */ t("li", { children: te }, de)) })
|
|
7684
7684
|
}
|
|
7685
7685
|
) : /* @__PURE__ */ t(
|
|
7686
7686
|
ge,
|
|
@@ -7751,7 +7751,7 @@ const hl = q(
|
|
|
7751
7751
|
/* @__PURE__ */ t(Br, { children: /* @__PURE__ */ h(Je, { "aria-rowindex": 1, className: "bg-[var(--data-table-header-bg)]", children: [
|
|
7752
7752
|
e.map((S) => /* @__PURE__ */ h(Ze, { children: [
|
|
7753
7753
|
S.label,
|
|
7754
|
-
S.required && /* @__PURE__ */ t("span", { "aria-hidden": !0, className: "ml-0.5 text-[var(--color-status-danger)]", children: "*" })
|
|
7754
|
+
S.required && /* @__PURE__ */ t("span", { "aria-hidden": !0, className: "ml-0.5 text-[var(--color-status-danger-text)]", children: "*" })
|
|
7755
7755
|
] }, S.key)),
|
|
7756
7756
|
H && /* @__PURE__ */ t(Ze, { className: "w-12" }),
|
|
7757
7757
|
C && /* @__PURE__ */ t(Ze, { className: "w-10" })
|
|
@@ -7867,7 +7867,7 @@ const pl = q(
|
|
|
7867
7867
|
]
|
|
7868
7868
|
}
|
|
7869
7869
|
),
|
|
7870
|
-
/* @__PURE__ */ t("nav", { className: "lena-scroll-area flex-1 overflow-x-hidden overflow-y-auto py-[var(--space-2)]", children: d }),
|
|
7870
|
+
/* @__PURE__ */ t("nav", { className: "lena-scroll-area sidebar-scroll-area flex-1 overflow-x-hidden overflow-y-auto py-[var(--space-2)]", children: d }),
|
|
7871
7871
|
v && /* @__PURE__ */ t(
|
|
7872
7872
|
"div",
|
|
7873
7873
|
{
|
package/dist/map.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t, jsxs as m } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as f, useState as D, useEffect as U } from "react";
|
|
3
3
|
import { useTranslation as T } from "react-i18next";
|
|
4
|
-
import { a as h, B as V } from "./Button-
|
|
4
|
+
import { a as h, B as V } from "./Button-BN_yX87x.js";
|
|
5
5
|
function X() {
|
|
6
6
|
if (typeof document > "u") return !1;
|
|
7
7
|
try {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JsonViewer.d.ts","sourceRoot":"","sources":["../../src/organisms/JsonViewer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkC,KAAK,SAAS,EAAsB,MAAM,OAAO,CAAC;AAuB3F,MAAM,WAAW,eAAe;IAC9B;;;mCAG+B;IAC/B,IAAI,EAAE,OAAO,CAAC;IACd,kEAAkE;IAClE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,qFAAqF;IACrF,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,mFAAmF;IACnF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,wFAAwF;IACxF,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,+CAA+C;IAC/C,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,gEAAgE;IAChE,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;
|
|
1
|
+
{"version":3,"file":"JsonViewer.d.ts","sourceRoot":"","sources":["../../src/organisms/JsonViewer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkC,KAAK,SAAS,EAAsB,MAAM,OAAO,CAAC;AAuB3F,MAAM,WAAW,eAAe;IAC9B;;;mCAG+B;IAC/B,IAAI,EAAE,OAAO,CAAC;IACd,kEAAkE;IAClE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,qFAAqF;IACrF,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,mFAAmF;IACnF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,wFAAwF;IACxF,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,+CAA+C;IAC/C,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,gEAAgE;IAChE,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAkMD,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,WAAkB,EAClB,gBAAwB,EACxB,QAAe,EACf,UAAkB,EAClB,SAAS,EACT,YAAkB,EAClB,SAAS,GACV,EAAE,eAAe,+BAwEjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../src/organisms/Sidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAKL,KAAK,UAAU,EAChB,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../src/organisms/Sidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAKL,KAAK,UAAU,EAChB,MAAM,cAAc,CAAC;AAoCtB,MAAM,WAAW,YAAY;IAC3B,yEAAyE;IACzE,SAAS,EAAE,OAAO,CAAC;IACnB,sDAAsD;IACtD,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,4CAA4C;IAC5C,KAAK,EAAE,SAAS,CAAC;IACjB,wDAAwD;IACxD,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,0CAA0C;IAC1C,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,kEAAkE;IAClE,eAAe,CAAC,EAAE,SAAS,CAAC;IAC5B,8CAA8C;IAC9C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,4CAA4C;IAC5C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,4BAA4B;IAC5B,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,OAAO,sGAqFnB,CAAC;AAIF,MAAM,WAAW,oBAAoB;IACnC,yDAAyD;IACzD,KAAK,EAAE,SAAS,CAAC;IACjB,yCAAyC;IACzC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,2EAA2E;IAC3E,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,+BAA+B;IAC/B,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,OAAe,EACf,eAAsB,EACtB,QAAQ,EACR,SAAS,GACV,EAAE,oBAAoB,+BAsDtB;AAED,MAAM,WAAW,mBAAmB;IAClC,gEAAgE;IAChE,KAAK,EAAE,SAAS,CAAC;IACjB,oBAAoB;IACpB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,qDAAqD;IACrD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,SAAS,CAAA;KAAE,KAAK,SAAS,CAAC;IAC1E,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,IAAI,EACJ,MAAc,EACd,MAAM,EACN,SAAS,GACV,EAAE,mBAAmB,+BAsDrB"}
|