@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.esm.js CHANGED
@@ -47260,14 +47260,6 @@ var ThemesSection = function ThemesSection(_ref2) {
47260
47260
  }));
47261
47261
  return _handleUrlMapToTheme.apply(this, arguments);
47262
47262
  }
47263
- function handleUrlThemeGenerated(theme) {
47264
- if (!dashApi || !appId) return;
47265
- var key = theme.id || "theme-".concat(Date.now());
47266
- var finalTheme = _objectSpread$t(_objectSpread$t({}, theme), {}, {
47267
- id: key
47268
- });
47269
- saveAndSelectTheme(key, finalTheme);
47270
- }
47271
47263
  var listContent = /*#__PURE__*/jsxs("div", {
47272
47264
  className: "flex flex-col h-full",
47273
47265
  children: [/*#__PURE__*/jsx("div", {
@@ -47398,7 +47390,7 @@ var ThemesSection = function ThemesSection(_ref2) {
47398
47390
  children: /*#__PURE__*/jsx(ThemeFromUrlPane, {
47399
47391
  onExtract: handleUrlExtract,
47400
47392
  onMapToTheme: handleUrlMapToTheme,
47401
- onGenerate: handleUrlThemeGenerated
47393
+ onGenerate: setWizardTheme
47402
47394
  })
47403
47395
  });
47404
47396
  } else if (generateMode === GENERATE_MODES.COLOR) {