@trops/dash-core 0.1.670 → 0.1.671

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 CHANGED
@@ -1142,7 +1142,7 @@ var ElectronDashboardApi = /*#__PURE__*/function () {
1142
1142
  }
1143
1143
  /**
1144
1144
  * The Bot Factory IPC namespace (window.mainApi.bots), consumed by
1145
- * Settings → Bots (BotsSection). Exposed as a pass-through so the settings UI
1145
+ * the Bots page (AppPages/BotsPage). Exposed as a pass-through so the UI
1146
1146
  * can reach `dashApi.bots.*` the same way it reaches other domains.
1147
1147
  */
1148
1148
  return _createClass(ElectronDashboardApi, [{
@@ -4959,9 +4959,9 @@ var primaryBtnClass = "px-3 py-2 text-sm font-medium rounded bg-blue-600 hover:b
4959
4959
  * Surfaces both categories side-by-side so the user sees the full
4960
4960
  * picture without drilling into Settings → Widgets / Dashboards.
4961
4961
  * "Update widgets now" routes through the same updatePackages batch
4962
- * the WidgetsSection uses; dashboards just deep-link into their
4962
+ * the Widgets page uses; dashboards just deep-link into their
4963
4963
  * settings panel (the dashboard update flow is more involved than a
4964
- * single button press and lives in DashboardsSection).
4964
+ * single button press).
4965
4965
  *
4966
4966
  * UX:
4967
4967
  * - "isChecking" state shows a spinner so the user knows we're
@@ -14685,8 +14685,8 @@ var PanelEditItemHandlers = function PanelEditItemHandlers(_ref) {
14685
14685
  * slots (occasionally seen after a widget install where the registry
14686
14686
  * ships a sparse `providers` array), those entries are dropped instead
14687
14687
  * of crashing the whole renderer. Without the null-guard, any caller
14688
- * inside a React `useMemo` (e.g. WidgetsSection's `uniqueProviders`)
14689
- * throws at mount and takes the Settings → Widgets pane down with it.
14688
+ * inside a React `useMemo` (e.g. the Widgets page's provider lists)
14689
+ * throws at mount and takes the Widgets page down with it.
14690
14690
  */
14691
14691
  var getUserConfigurableProviders = function getUserConfigurableProviders(providers) {
14692
14692
  if (!Array.isArray(providers)) return [];
@@ -42220,9 +42220,9 @@ function groupRowsByPackage(rows) {
42220
42220
  /**
42221
42221
  * PrivacySecurityList
42222
42222
  *
42223
- * Left column of the redesigned Privacy & Security section. Mirrors
42224
- * the DashboardsSection list style (search + Tabs3 toggle + grouped
42225
- * Sidebar items with badge counts).
42223
+ * Left column of the redesigned Privacy & Security section. Uses the
42224
+ * Settings list style (search + Tabs3 toggle + grouped Sidebar items
42225
+ * with badge counts).
42226
42226
  *
42227
42227
  * Search matches against packageId AND component names within each
42228
42228
  * package, so typing "search" finds the package containing
@@ -60349,7 +60349,7 @@ function _objectSpread$j(e) { for (var r = 1; r < arguments.length; r++) { var t
60349
60349
  /**
60350
60350
  * useWidgetInstall — install a widget from a ZIP or load a folder of widgets,
60351
60351
  * with the progress modal's state and the result to show (app-navigation PRD
60352
- * NAV-008). Moved from WidgetsSection so the Widgets page can use it.
60352
+ * NAV-008). Moved from the old Settings › Widgets section.
60353
60353
  *
60354
60354
  * @param {Function} refresh re-reads the installed widgets afterwards
60355
60355
  */
@@ -62512,8 +62512,8 @@ var ShadeSwatch = function ShadeSwatch(_ref) {
62512
62512
  resolvedClass = _ref.resolvedClass,
62513
62513
  cssValue = _ref.cssValue;
62514
62514
  var tooltip = "".concat(tokenKey, " \u2192 ").concat(cssValue || resolvedClass || "(none)");
62515
- // Prefer inline cssValue (works for any theme — hex channels
62516
- // don't get their cssVars on :root for non-active themes).
62515
+ // Prefer the inline cssValue: it works for any theme (hex channels don't
62516
+ // get their cssVars on :root for non-active themes).
62517
62517
  if (cssValue) {
62518
62518
  return /*#__PURE__*/jsx("div", {
62519
62519
  className: "h-10 flex-1 rounded",
@@ -62528,8 +62528,6 @@ var ShadeSwatch = function ShadeSwatch(_ref) {
62528
62528
  title: tooltip
62529
62529
  });
62530
62530
  };
62531
-
62532
- // Also the Themes page palette (app-navigation NAV-009).
62533
62531
  var ColorSwatchGrid = function ColorSwatchGrid(_ref2) {
62534
62532
  var displayTheme = _ref2.displayTheme;
62535
62533
  var cssValueMap = displayTheme.cssValue || {};