@trops/dash-core 0.1.544 → 0.1.545

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 CHANGED
@@ -56769,8 +56769,8 @@ var DashboardConfigModal = function DashboardConfigModal(_ref) {
56769
56769
  return setActiveTab("dependencies");
56770
56770
  },
56771
56771
  className: "px-3 py-1.5 text-sm font-medium -mb-px border-b-2 ".concat(activeTab === "dependencies" ? "border-indigo-400" : "border-transparent opacity-60 hover:opacity-100"),
56772
- children: ["Dependencies", dependencyCount > 0 && /*#__PURE__*/jsxRuntime.jsxs("span", {
56773
- className: "ml-2 text-[10px] opacity-60",
56772
+ children: ["Dependencies", dependencyCount > 0 && /*#__PURE__*/jsxRuntime.jsxs(DashReact.Caption2, {
56773
+ className: "ml-2",
56774
56774
  children: ["(", dependencyCount, ")"]
56775
56775
  }), hasUnknownDependency && /*#__PURE__*/jsxRuntime.jsx("span", {
56776
56776
  className: "ml-1 inline-block h-1.5 w-1.5 rounded-full bg-amber-400 align-middle"
@@ -56993,7 +56993,7 @@ function NotificationsTab(_ref4) {
56993
56993
  placeholder: "Search widgets...",
56994
56994
  inputClassName: "py-1.5 text-xs"
56995
56995
  }), /*#__PURE__*/jsxRuntime.jsxs("div", {
56996
- className: "flex flex-row items-center justify-between text-[10px]",
56996
+ className: "flex flex-row items-center justify-between text-xs",
56997
56997
  children: [/*#__PURE__*/jsxRuntime.jsxs("span", {
56998
56998
  className: "opacity-50",
56999
56999
  children: [filtered.length, " of ", widgetInstances.length, " widget", widgetInstances.length === 1 ? "" : "s"]
@@ -57028,11 +57028,10 @@ function NotificationsTab(_ref4) {
57028
57028
  children: [/*#__PURE__*/jsxRuntime.jsx("span", {
57029
57029
  className: "text-sm font-medium",
57030
57030
  children: wi.title
57031
- }), /*#__PURE__*/jsxRuntime.jsxs("span", {
57032
- className: "text-[10px] opacity-50 font-mono",
57031
+ }), /*#__PURE__*/jsxRuntime.jsxs(DashReact.Caption, {
57032
+ className: "font-mono",
57033
57033
  children: [wi.component, wi.itemId != null ? " \xB7 #".concat(wi.itemId) : ""]
57034
- }), /*#__PURE__*/jsxRuntime.jsx("span", {
57035
- className: "text-[10px] opacity-40",
57034
+ }), /*#__PURE__*/jsxRuntime.jsx(DashReact.Caption3, {
57036
57035
  children: wi["package"]
57037
57036
  })]
57038
57037
  }), /*#__PURE__*/jsxRuntime.jsxs("div", {
@@ -57049,8 +57048,7 @@ function NotificationsTab(_ref4) {
57049
57048
  children: [/*#__PURE__*/jsxRuntime.jsx("span", {
57050
57049
  className: "text-xs",
57051
57050
  children: notif.displayName
57052
- }), notif.description && /*#__PURE__*/jsxRuntime.jsx("span", {
57053
- className: "text-[10px] opacity-50",
57051
+ }), notif.description && /*#__PURE__*/jsxRuntime.jsx(DashReact.Caption, {
57054
57052
  children: notif.description
57055
57053
  })]
57056
57054
  }), /*#__PURE__*/jsxRuntime.jsx(DashReact.Switch, {
@@ -57214,12 +57212,13 @@ function ProvidersTab(_ref5) {
57214
57212
  "aria-label": "required",
57215
57213
  children: "*"
57216
57214
  })]
57217
- }), (row.widgetRef || row.component) && /*#__PURE__*/jsxRuntime.jsx("div", {
57218
- className: "text-[10px] opacity-50 font-mono truncate mt-0.5",
57215
+ }), (row.widgetRef || row.component) && /*#__PURE__*/jsxRuntime.jsx(DashReact.Caption, {
57216
+ block: true,
57217
+ className: "font-mono truncate mt-0.5",
57219
57218
  title: row.widgetRef || row.component,
57220
57219
  children: row.widgetRef || row.component
57221
57220
  }), /*#__PURE__*/jsxRuntime.jsxs("div", {
57222
- className: "flex items-center gap-1.5 mt-1 text-[10px]",
57221
+ className: "flex items-center gap-1.5 mt-1 text-xs",
57223
57222
  children: [/*#__PURE__*/jsxRuntime.jsx("span", {
57224
57223
  className: "uppercase tracking-wide px-1.5 py-0.5 rounded font-semibold ".concat(needsAttention ? "bg-red-600 text-white" : isRequired ? "bg-indigo-800 text-indigo-100" : "bg-gray-700 text-gray-300"),
57225
57224
  children: isRequired ? "required" : "optional"
@@ -57426,8 +57425,9 @@ function ListenersTab(_ref0) {
57426
57425
  children: [/*#__PURE__*/jsxRuntime.jsx("div", {
57427
57426
  className: "text-sm font-medium truncate",
57428
57427
  children: r.label
57429
- }), r.widgetRef && /*#__PURE__*/jsxRuntime.jsx("div", {
57430
- className: "text-[10px] opacity-50 font-mono truncate mt-0.5",
57428
+ }), r.widgetRef && /*#__PURE__*/jsxRuntime.jsx(DashReact.Caption, {
57429
+ block: true,
57430
+ className: "font-mono truncate mt-0.5",
57431
57431
  title: r.widgetRef,
57432
57432
  children: r.widgetRef
57433
57433
  })]
@@ -57626,8 +57626,9 @@ function EventsColumn(_ref11) {
57626
57626
  children: [/*#__PURE__*/jsxRuntime.jsx("div", {
57627
57627
  className: "text-sm font-semibold",
57628
57628
  children: e.label
57629
- }), (e.widgetRef || e.component) && /*#__PURE__*/jsxRuntime.jsx("div", {
57630
- className: "text-[10px] opacity-50 font-mono truncate",
57629
+ }), (e.widgetRef || e.component) && /*#__PURE__*/jsxRuntime.jsx(DashReact.Caption, {
57630
+ block: true,
57631
+ className: "font-mono truncate",
57631
57632
  children: (e.widgetRef || e.component) + (e.itemId != null ? "[".concat(e.itemId, "]") : "")
57632
57633
  })]
57633
57634
  }), e.events.map(function (eventName) {