@trops/dash-core 0.1.276 → 0.1.277

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
@@ -29450,6 +29450,11 @@ var ComponentManager = {
29450
29450
  // otherwise fall back to the provided widgetKey for backward compatibility
29451
29451
  var registrationKey = config.id || widgetKey;
29452
29452
  tempComponentMap[registrationKey] = ComponentConfigModel(config);
29453
+ // Also register under plain component name for backward compat
29454
+ // (dashboards may reference "SlackWidget" instead of "trops.slack.SlackWidget")
29455
+ if (config.id && config.id !== widgetKey && !tempComponentMap[widgetKey]) {
29456
+ tempComponentMap[widgetKey] = tempComponentMap[registrationKey];
29457
+ }
29453
29458
  this.setComponentMap(tempComponentMap);
29454
29459
  },
29455
29460
  /**