@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 +11 -13
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +11 -13
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1160,7 +1160,7 @@ var ElectronDashboardApi = /*#__PURE__*/function () {
|
|
|
1160
1160
|
}
|
|
1161
1161
|
/**
|
|
1162
1162
|
* The Bot Factory IPC namespace (window.mainApi.bots), consumed by
|
|
1163
|
-
*
|
|
1163
|
+
* the Bots page (AppPages/BotsPage). Exposed as a pass-through so the UI
|
|
1164
1164
|
* can reach `dashApi.bots.*` the same way it reaches other domains.
|
|
1165
1165
|
*/
|
|
1166
1166
|
return _createClass(ElectronDashboardApi, [{
|
|
@@ -4977,9 +4977,9 @@ var primaryBtnClass = "px-3 py-2 text-sm font-medium rounded bg-blue-600 hover:b
|
|
|
4977
4977
|
* Surfaces both categories side-by-side so the user sees the full
|
|
4978
4978
|
* picture without drilling into Settings → Widgets / Dashboards.
|
|
4979
4979
|
* "Update widgets now" routes through the same updatePackages batch
|
|
4980
|
-
* the
|
|
4980
|
+
* the Widgets page uses; dashboards just deep-link into their
|
|
4981
4981
|
* settings panel (the dashboard update flow is more involved than a
|
|
4982
|
-
* single button press
|
|
4982
|
+
* single button press).
|
|
4983
4983
|
*
|
|
4984
4984
|
* UX:
|
|
4985
4985
|
* - "isChecking" state shows a spinner so the user knows we're
|
|
@@ -14703,8 +14703,8 @@ var PanelEditItemHandlers = function PanelEditItemHandlers(_ref) {
|
|
|
14703
14703
|
* slots (occasionally seen after a widget install where the registry
|
|
14704
14704
|
* ships a sparse `providers` array), those entries are dropped instead
|
|
14705
14705
|
* of crashing the whole renderer. Without the null-guard, any caller
|
|
14706
|
-
* inside a React `useMemo` (e.g.
|
|
14707
|
-
* throws at mount and takes the
|
|
14706
|
+
* inside a React `useMemo` (e.g. the Widgets page's provider lists)
|
|
14707
|
+
* throws at mount and takes the Widgets page down with it.
|
|
14708
14708
|
*/
|
|
14709
14709
|
var getUserConfigurableProviders = function getUserConfigurableProviders(providers) {
|
|
14710
14710
|
if (!Array.isArray(providers)) return [];
|
|
@@ -42238,9 +42238,9 @@ function groupRowsByPackage(rows) {
|
|
|
42238
42238
|
/**
|
|
42239
42239
|
* PrivacySecurityList
|
|
42240
42240
|
*
|
|
42241
|
-
* Left column of the redesigned Privacy & Security section.
|
|
42242
|
-
*
|
|
42243
|
-
*
|
|
42241
|
+
* Left column of the redesigned Privacy & Security section. Uses the
|
|
42242
|
+
* Settings list style (search + Tabs3 toggle + grouped Sidebar items
|
|
42243
|
+
* with badge counts).
|
|
42244
42244
|
*
|
|
42245
42245
|
* Search matches against packageId AND component names within each
|
|
42246
42246
|
* package, so typing "search" finds the package containing
|
|
@@ -60367,7 +60367,7 @@ function _objectSpread$j(e) { for (var r = 1; r < arguments.length; r++) { var t
|
|
|
60367
60367
|
/**
|
|
60368
60368
|
* useWidgetInstall — install a widget from a ZIP or load a folder of widgets,
|
|
60369
60369
|
* with the progress modal's state and the result to show (app-navigation PRD
|
|
60370
|
-
* NAV-008). Moved from
|
|
60370
|
+
* NAV-008). Moved from the old Settings › Widgets section.
|
|
60371
60371
|
*
|
|
60372
60372
|
* @param {Function} refresh re-reads the installed widgets afterwards
|
|
60373
60373
|
*/
|
|
@@ -62530,8 +62530,8 @@ var ShadeSwatch = function ShadeSwatch(_ref) {
|
|
|
62530
62530
|
resolvedClass = _ref.resolvedClass,
|
|
62531
62531
|
cssValue = _ref.cssValue;
|
|
62532
62532
|
var tooltip = "".concat(tokenKey, " \u2192 ").concat(cssValue || resolvedClass || "(none)");
|
|
62533
|
-
// Prefer inline cssValue
|
|
62534
|
-
//
|
|
62533
|
+
// Prefer the inline cssValue: it works for any theme (hex channels don't
|
|
62534
|
+
// get their cssVars on :root for non-active themes).
|
|
62535
62535
|
if (cssValue) {
|
|
62536
62536
|
return /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
62537
62537
|
className: "h-10 flex-1 rounded",
|
|
@@ -62546,8 +62546,6 @@ var ShadeSwatch = function ShadeSwatch(_ref) {
|
|
|
62546
62546
|
title: tooltip
|
|
62547
62547
|
});
|
|
62548
62548
|
};
|
|
62549
|
-
|
|
62550
|
-
// Also the Themes page palette (app-navigation NAV-009).
|
|
62551
62549
|
var ColorSwatchGrid = function ColorSwatchGrid(_ref2) {
|
|
62552
62550
|
var displayTheme = _ref2.displayTheme;
|
|
62553
62551
|
var cssValueMap = displayTheme.cssValue || {};
|