be-hive 0.0.266 → 0.0.268

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/be-hive.ts CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  HandlerKey,
8
8
  IW,
9
9
  } from './ts-refs/trans-render/be/types';
10
- import { MountEvent } from 'mount-observer/MountObserver';
10
+ import { MountEvent } from 'mount-observer/Events.js';
11
11
  import 'be-enhanced/beEnhanced.js';
12
12
  import { BeEnhanced, Enhancers } from 'be-enhanced/beEnhanced.js';
13
13
  import {assignGingerly} from 'trans-render/lib/assignGingerly.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "be-hive",
3
- "version": "0.0.266",
3
+ "version": "0.0.268",
4
4
  "keywords": [
5
5
  "web-components",
6
6
  "web-component",
@@ -48,9 +48,9 @@
48
48
  "update": "ncu -u && npm install"
49
49
  },
50
50
  "dependencies": {
51
- "be-enhanced": "0.0.188",
52
- "mount-observer": "0.0.102",
53
- "trans-render": "0.0.958"
51
+ "be-enhanced": "0.0.189",
52
+ "mount-observer": "0.0.111",
53
+ "trans-render": "0.0.960"
54
54
  },
55
55
  "repository": {
56
56
  "type": "git",
package/prsObj.js CHANGED
@@ -37,6 +37,9 @@ export async function prsObj(prop, newValue, initialPropValues, attr) {
37
37
  case 'String':
38
38
  initialPropValues[mapsTo] = valToSet;
39
39
  break;
40
+ case 'StringOrStrings':
41
+ initialPropValues[mapsTo] = (typeof valToSet === 'string' && valToSet.startsWith('[') && valToSet.endsWith(']')) ? JSON.parse(valToSet) : valToSet;
42
+ break;
40
43
  case 'Boolean':
41
44
  initialPropValues[mapsTo] = valToSet !== null;
42
45
  break;
package/prsObj.ts CHANGED
@@ -37,6 +37,9 @@ export async function prsObj(prop: AttrMapConfig, newValue: string, initialPropV
37
37
  case 'String':
38
38
  initialPropValues[mapsTo!] = valToSet;
39
39
  break;
40
+ case 'StringOrStrings':
41
+ initialPropValues[mapsTo!] = (typeof valToSet === 'string' && valToSet.startsWith('[') && valToSet.endsWith(']')) ? JSON.parse(valToSet) : valToSet;
42
+ break;
40
43
  case 'Boolean':
41
44
  initialPropValues[mapsTo!] = valToSet !== null;
42
45
  break;