neo.mjs 5.5.9 → 5.5.10

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.
@@ -20,9 +20,9 @@ class ServiceWorker extends ServiceBase {
20
20
  */
21
21
  singleton: true,
22
22
  /**
23
- * @member {String} version='5.5.9'
23
+ * @member {String} version='5.5.10'
24
24
  */
25
- version: '5.5.9'
25
+ version: '5.5.10'
26
26
  }
27
27
 
28
28
  /**
@@ -20,9 +20,9 @@ class ServiceWorker extends ServiceBase {
20
20
  */
21
21
  singleton: true,
22
22
  /**
23
- * @member {String} version='5.5.9'
23
+ * @member {String} version='5.5.10'
24
24
  */
25
- version: '5.5.9'
25
+ version: '5.5.10'
26
26
  }
27
27
 
28
28
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neo.mjs",
3
- "version": "5.5.9",
3
+ "version": "5.5.10",
4
4
  "description": "The webworkers driven UI framework",
5
5
  "type": "module",
6
6
  "repository": {
@@ -236,12 +236,12 @@ const DefaultConfig = {
236
236
  useVdomWorker: true,
237
237
  /**
238
238
  * buildScripts/injectPackageVersion.mjs will update this value
239
- * @default '5.5.9'
239
+ * @default '5.5.10'
240
240
  * @memberOf! module:Neo
241
241
  * @name config.version
242
242
  * @type String
243
243
  */
244
- version: '5.5.9'
244
+ version: '5.5.10'
245
245
  };
246
246
 
247
247
  Object.assign(DefaultConfig, {
@@ -108,6 +108,7 @@ class Focus extends CoreBase {
108
108
 
109
109
  if (component) {
110
110
  data = {
111
+ component,
111
112
  path : opts.data.path,
112
113
  oldPath: history[0].data.path
113
114
  };
@@ -179,6 +180,8 @@ class Focus extends CoreBase {
179
180
 
180
181
  components.forEach(component => {
181
182
  if (component) {
183
+ data.component = component;
184
+
182
185
  data[containsFocus ? 'path' : 'oldPath'] = opts.data.path
183
186
 
184
187
  handler = containsFocus ? 'onFocusEnter' : 'onFocusLeave';