@trops/dash-core 0.1.584 → 0.1.585

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
@@ -47278,14 +47278,6 @@ var ThemesSection = function ThemesSection(_ref2) {
47278
47278
  }));
47279
47279
  return _handleUrlMapToTheme.apply(this, arguments);
47280
47280
  }
47281
- function handleUrlThemeGenerated(theme) {
47282
- if (!dashApi || !appId) return;
47283
- var key = theme.id || "theme-".concat(Date.now());
47284
- var finalTheme = _objectSpread$t(_objectSpread$t({}, theme), {}, {
47285
- id: key
47286
- });
47287
- saveAndSelectTheme(key, finalTheme);
47288
- }
47289
47281
  var listContent = /*#__PURE__*/jsxRuntime.jsxs("div", {
47290
47282
  className: "flex flex-col h-full",
47291
47283
  children: [/*#__PURE__*/jsxRuntime.jsx("div", {
@@ -47416,7 +47408,7 @@ var ThemesSection = function ThemesSection(_ref2) {
47416
47408
  children: /*#__PURE__*/jsxRuntime.jsx(DashReact.ThemeFromUrlPane, {
47417
47409
  onExtract: handleUrlExtract,
47418
47410
  onMapToTheme: handleUrlMapToTheme,
47419
- onGenerate: handleUrlThemeGenerated
47411
+ onGenerate: setWizardTheme
47420
47412
  })
47421
47413
  });
47422
47414
  } else if (generateMode === GENERATE_MODES.COLOR) {