@trops/dash-core 0.1.539 → 0.1.540
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.esm.js +6 -6
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -50377,7 +50377,7 @@ var ToolToggleList = function ToolToggleList(_ref2) {
|
|
|
50377
50377
|
// always allowed when the tool IS granted.
|
|
50378
50378
|
var disabled = !isGranted && !hasAnyGrantOnServer;
|
|
50379
50379
|
return /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
50380
|
-
className: "flex flex-row items-center justify-between gap-2",
|
|
50380
|
+
className: "flex flex-row items-center justify-between gap-2 py-1 px-2 -mx-2 rounded hover:bg-white/5 transition-colors",
|
|
50381
50381
|
children: [/*#__PURE__*/jsxRuntime.jsxs("span", {
|
|
50382
50382
|
className: "text-xs font-mono break-all ".concat(isStale ? "text-amber-400" : isGranted ? "opacity-100" : "opacity-50"),
|
|
50383
50383
|
children: [tool, isStale && /*#__PURE__*/jsxRuntime.jsx("span", {
|
|
@@ -50415,7 +50415,7 @@ var PermsList = function PermsList(_ref3) {
|
|
|
50415
50415
|
var isStale = staleSet.has(item);
|
|
50416
50416
|
var showTrash = isGranted && typeof onDeleteItem === "function";
|
|
50417
50417
|
return /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
50418
|
-
className: "flex flex-row items-start justify-between gap-2",
|
|
50418
|
+
className: "flex flex-row items-start justify-between gap-2 py-1 px-2 -mx-2 rounded hover:bg-white/5 transition-colors",
|
|
50419
50419
|
children: [/*#__PURE__*/jsxRuntime.jsxs("span", {
|
|
50420
50420
|
className: "text-xs font-mono break-all ".concat(isStale ? "text-amber-400" : isGranted ? "opacity-100" : "opacity-50 line-through"),
|
|
50421
50421
|
children: [item, isStale && /*#__PURE__*/jsxRuntime.jsx("span", {
|
|
@@ -56697,7 +56697,7 @@ var DashboardConfigModal = function DashboardConfigModal(_ref) {
|
|
|
56697
56697
|
return /*#__PURE__*/jsxRuntime.jsx(DashReact.Modal, {
|
|
56698
56698
|
isOpen: isOpen,
|
|
56699
56699
|
setIsOpen: handleCancel,
|
|
56700
|
-
width: "w-11/12
|
|
56700
|
+
width: "w-11/12 max-w-5xl",
|
|
56701
56701
|
height: "h-5/6",
|
|
56702
56702
|
children: /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
56703
56703
|
className: "flex flex-col h-full w-full rounded-lg overflow-clip border ".concat(panelStyles.backgroundColor || "", " ").concat(panelStyles.borderColor || "", " ").concat(panelStyles.textColor || ""),
|
|
@@ -57036,10 +57036,10 @@ function NotificationsTab(_ref4) {
|
|
|
57036
57036
|
children: wi["package"]
|
|
57037
57037
|
})]
|
|
57038
57038
|
}), /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
57039
|
-
className: "flex flex-col
|
|
57039
|
+
className: "flex flex-col pl-2 border-l border-white/10 divide-y divide-white/5",
|
|
57040
57040
|
children: wi.notifications.map(function (notif) {
|
|
57041
57041
|
return /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
57042
|
-
className: "flex flex-row items-center justify-between py-
|
|
57042
|
+
className: "flex flex-row items-center justify-between gap-3 py-2 px-2 -mx-2 rounded hover:bg-white/5 transition-colors",
|
|
57043
57043
|
children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
57044
57044
|
className: "flex flex-col",
|
|
57045
57045
|
children: [/*#__PURE__*/jsxRuntime.jsx("span", {
|
|
@@ -57195,7 +57195,7 @@ function ProvidersTab(_ref5) {
|
|
|
57195
57195
|
var isMissing = !row.resolvedProviderName;
|
|
57196
57196
|
var needsAttention = isRequired && isMissing;
|
|
57197
57197
|
return /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
57198
|
-
className: "flex flex-row items-center gap-3 py-2 px-2 rounded border-l-2 ".concat(needsAttention ? "bg-red-900 border-red-500" : "border-transparent"),
|
|
57198
|
+
className: "flex flex-row items-center gap-3 py-2 px-2 rounded border-l-2 transition-colors ".concat(needsAttention ? "bg-red-900 border-red-500" : "border-transparent hover:bg-white/5"),
|
|
57199
57199
|
children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
57200
57200
|
className: "flex-1 min-w-0",
|
|
57201
57201
|
children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
|