@movable/studio-framework 3.9.0 → 3.10.0

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.es.js CHANGED
@@ -2446,12 +2446,7 @@ const BASE_STYLE = 'margin: 0px;';
2446
2446
  function cleanHTML(element, format) {
2447
2447
  const doc = getDocumentNode(element);
2448
2448
  const analytics = doc.querySelector('#mi-data');
2449
- const analyticsLength = analytics ? (analytics.getAttribute('data-mi-data') || '').length : 0;
2450
-
2451
- if (analyticsLength > 500) {
2452
- analytics.setAttribute('data-mi-data', '{}');
2453
- console.log('extraData trying to be set exceeds 500 characters, setting extraData to be empty to avoid breaking crops');
2454
- }
2449
+ analytics ? (analytics.getAttribute('data-mi-data') || '').length : 0;
2455
2450
 
2456
2451
  if (format === 'html') {
2457
2452
  const body = doc.body;
package/dist/index.js CHANGED
@@ -2456,12 +2456,7 @@ const BASE_STYLE = 'margin: 0px;';
2456
2456
  function cleanHTML(element, format) {
2457
2457
  const doc = getDocumentNode(element);
2458
2458
  const analytics = doc.querySelector('#mi-data');
2459
- const analyticsLength = analytics ? (analytics.getAttribute('data-mi-data') || '').length : 0;
2460
-
2461
- if (analyticsLength > 500) {
2462
- analytics.setAttribute('data-mi-data', '{}');
2463
- console.log('extraData trying to be set exceeds 500 characters, setting extraData to be empty to avoid breaking crops');
2464
- }
2459
+ analytics ? (analytics.getAttribute('data-mi-data') || '').length : 0;
2465
2460
 
2466
2461
  if (format === 'html') {
2467
2462
  const body = doc.body;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@movable/studio-framework",
3
- "version": "3.9.0",
3
+ "version": "3.10.0",
4
4
  "description": "A Component library for reactive Studio apps.",
5
5
  "author": "Movable Ink",
6
6
  "repository": "movableink/studio-framework",
@@ -31,8 +31,8 @@
31
31
  "@babel/preset-react": "^7.14.5",
32
32
  "@babel/preset-typescript": "^7.13.0",
33
33
  "@movable/eslint-config-react": "^1.0.1",
34
- "@movable/framework-types": "^3.9.0",
35
- "@movable/studio-framework-test-helpers": "^3.9.0",
34
+ "@movable/framework-types": "^3.10.0",
35
+ "@movable/studio-framework-test-helpers": "^3.10.0",
36
36
  "@types/qunit": "^2.11.1",
37
37
  "@types/qunit-dom": "^0.7.0",
38
38
  "@types/react": "^17.0.6",
@@ -66,5 +66,5 @@
66
66
  "volta": {
67
67
  "extends": "../../package.json"
68
68
  },
69
- "gitHead": "973c2ad941574b4ddcce8b81955254dfd7d5170c"
69
+ "gitHead": "2c7e1bc5dd889b9a430cbea56ee92284c72294c1"
70
70
  }