@trops/dash-core 0.1.545 → 0.1.547

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
@@ -57108,8 +57108,11 @@ function ProvidersTab(_ref5) {
57108
57108
  var topValue = allSame ? ((_selectedRows$ = selectedRows[0]) === null || _selectedRows$ === void 0 ? void 0 : _selectedRows$.resolvedProviderName) || "" : "";
57109
57109
  return /*#__PURE__*/jsxRuntime.jsxs("div", {
57110
57110
  className: "flex flex-row gap-3 h-full min-h-0",
57111
- children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
57112
- className: "w-56 flex-shrink-0 bg-white/5 border border-white/10 rounded-lg overflow-hidden flex flex-col",
57111
+ children: [/*#__PURE__*/jsxRuntime.jsxs(DashReact.Card2, {
57112
+ padding: "",
57113
+ shadow: "",
57114
+ rounded: "rounded-lg",
57115
+ className: "w-56 flex-shrink-0 overflow-hidden flex flex-col",
57113
57116
  children: [/*#__PURE__*/jsxRuntime.jsx("div", {
57114
57117
  className: "px-3 py-2 text-xs font-semibold opacity-50 uppercase tracking-wider",
57115
57118
  children: "Provider Types"
@@ -57148,8 +57151,11 @@ function ProvidersTab(_ref5) {
57148
57151
  }, providerType);
57149
57152
  })
57150
57153
  })]
57151
- }), /*#__PURE__*/jsxRuntime.jsx("div", {
57152
- className: "flex-1 min-w-0 bg-white/5 border border-white/10 rounded-lg overflow-hidden flex flex-col",
57154
+ }), /*#__PURE__*/jsxRuntime.jsx(DashReact.Card2, {
57155
+ padding: "",
57156
+ shadow: "",
57157
+ rounded: "rounded-lg",
57158
+ className: "flex-1 min-w-0 overflow-hidden flex flex-col",
57153
57159
  children: selectedType ? /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
57154
57160
  children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
57155
57161
  className: "px-4 py-3 flex-shrink-0",
@@ -57407,8 +57413,11 @@ function ListenersTab(_ref0) {
57407
57413
  className: "flex flex-col gap-3 h-full min-h-0",
57408
57414
  children: /*#__PURE__*/jsxRuntime.jsxs("div", {
57409
57415
  className: "flex flex-row gap-3 flex-1 min-h-0",
57410
- children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
57411
- className: "w-56 flex-shrink-0 bg-white/5 border border-white/10 rounded-lg overflow-hidden flex flex-col",
57416
+ children: [/*#__PURE__*/jsxRuntime.jsxs(DashReact.Card2, {
57417
+ padding: "",
57418
+ shadow: "",
57419
+ rounded: "rounded-lg",
57420
+ className: "w-56 flex-shrink-0 overflow-hidden flex flex-col",
57412
57421
  children: [/*#__PURE__*/jsxRuntime.jsx("div", {
57413
57422
  className: "px-3 py-2 text-xs font-semibold opacity-50 uppercase tracking-wider",
57414
57423
  children: "Widgets"
@@ -57452,8 +57461,11 @@ function ListenersTab(_ref0) {
57452
57461
  onAdd: onAdd,
57453
57462
  onRemove: onRemove
57454
57463
  })]
57455
- }) : /*#__PURE__*/jsxRuntime.jsx("div", {
57456
- className: "flex-1 min-w-0 bg-white/5 border border-white/10 rounded-lg flex items-center justify-center text-sm opacity-60",
57464
+ }) : /*#__PURE__*/jsxRuntime.jsx(DashReact.Card2, {
57465
+ padding: "",
57466
+ shadow: "",
57467
+ rounded: "rounded-lg",
57468
+ className: "flex-1 min-w-0 flex items-center justify-center text-sm opacity-60",
57457
57469
  children: "Pick a widget on the left to wire its handlers."
57458
57470
  })]
57459
57471
  })
@@ -57487,8 +57499,11 @@ function HandlersColumn(_ref10) {
57487
57499
  }
57488
57500
  return m;
57489
57501
  }, [myWiring]);
57490
- return /*#__PURE__*/jsxRuntime.jsxs("div", {
57491
- className: "w-56 flex-shrink-0 bg-white/5 border border-white/10 rounded-lg overflow-hidden flex flex-col",
57502
+ return /*#__PURE__*/jsxRuntime.jsxs(DashReact.Card2, {
57503
+ padding: "",
57504
+ shadow: "",
57505
+ rounded: "rounded-lg",
57506
+ className: "w-56 flex-shrink-0 overflow-hidden flex flex-col",
57492
57507
  children: [/*#__PURE__*/jsxRuntime.jsx("div", {
57493
57508
  className: "px-3 py-2 text-xs font-semibold opacity-50 uppercase tracking-wider",
57494
57509
  children: "Event Handlers"
@@ -57573,8 +57588,11 @@ function EventsColumn(_ref11) {
57573
57588
  return w.isOrphan;
57574
57589
  });
57575
57590
  if (!handlerName) {
57576
- return /*#__PURE__*/jsxRuntime.jsx("div", {
57577
- className: "flex-1 min-w-0 bg-white/5 border border-white/10 rounded-lg flex items-center justify-center text-sm opacity-60",
57591
+ return /*#__PURE__*/jsxRuntime.jsx(DashReact.Card2, {
57592
+ padding: "",
57593
+ shadow: "",
57594
+ rounded: "rounded-lg",
57595
+ className: "flex-1 min-w-0 flex items-center justify-center text-sm opacity-60",
57578
57596
  children: "Select a handler to view available events."
57579
57597
  });
57580
57598
  }
@@ -57602,8 +57620,11 @@ function EventsColumn(_ref11) {
57602
57620
  var emittersForList = emitters.filter(function (e) {
57603
57621
  return !(e.component === receiver.component && String(e.itemId) === String(receiver.itemId));
57604
57622
  });
57605
- return /*#__PURE__*/jsxRuntime.jsxs("div", {
57606
- className: "flex-1 min-w-0 bg-white/5 border border-white/10 rounded-lg overflow-hidden flex flex-col",
57623
+ return /*#__PURE__*/jsxRuntime.jsxs(DashReact.Card2, {
57624
+ padding: "",
57625
+ shadow: "",
57626
+ rounded: "rounded-lg",
57627
+ className: "flex-1 min-w-0 overflow-hidden flex flex-col",
57607
57628
  children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
57608
57629
  className: "flex-shrink-0 px-4 py-2 text-xs opacity-60",
57609
57630
  children: ["Check an event to fire ", /*#__PURE__*/jsxRuntime.jsx("code", {