@valbuild/react 0.32.0 → 0.33.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/declarations/src/index.d.ts +1 -1
- package/dist/declarations/src/internal/ValStore.d.ts +1 -1
- package/dist/valbuild-react.browser.esm.js +1 -1
- package/dist/valbuild-react.cjs.dev.js +1 -1
- package/dist/valbuild-react.cjs.prod.js +1 -1
- package/dist/valbuild-react.esm.js +1 -1
- package/dist/valbuild-react.worker.esm.js +1 -1
- package/package.json +4 -3
- package/stega/dist/valbuild-react-stega.browser.esm.js +1 -1
- package/stega/dist/valbuild-react-stega.cjs.dev.js +3 -3
- package/stega/dist/valbuild-react-stega.cjs.prod.js +3 -3
- package/stega/dist/valbuild-react-stega.esm.js +1 -1
- package/stega/dist/valbuild-react-stega.worker.esm.js +1 -1
@@ -2,7 +2,7 @@
|
|
2
2
|
* Val React **internal** bindings.
|
3
3
|
*
|
4
4
|
* @remarks
|
5
|
-
* This package includes only internal entry points and
|
5
|
+
* This package includes only internal entry points and should only used be used by internal packages.
|
6
6
|
* Use the valbuild package corresponding to your meta-framework instead of this package.
|
7
7
|
*
|
8
8
|
* @packageDocumentation
|
@@ -2,7 +2,7 @@
|
|
2
2
|
* Val React **internal** bindings.
|
3
3
|
*
|
4
4
|
* @remarks
|
5
|
-
* This package includes only internal entry points and
|
5
|
+
* This package includes only internal entry points and should only used be used by internal packages.
|
6
6
|
* Use the valbuild package corresponding to your meta-framework instead of this package.
|
7
7
|
*
|
8
8
|
* @packageDocumentation
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
6
6
|
* Val React **internal** bindings.
|
7
7
|
*
|
8
8
|
* @remarks
|
9
|
-
* This package includes only internal entry points and
|
9
|
+
* This package includes only internal entry points and should only used be used by internal packages.
|
10
10
|
* Use the valbuild package corresponding to your meta-framework instead of this package.
|
11
11
|
*
|
12
12
|
* @packageDocumentation
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
6
6
|
* Val React **internal** bindings.
|
7
7
|
*
|
8
8
|
* @remarks
|
9
|
-
* This package includes only internal entry points and
|
9
|
+
* This package includes only internal entry points and should only used be used by internal packages.
|
10
10
|
* Use the valbuild package corresponding to your meta-framework instead of this package.
|
11
11
|
*
|
12
12
|
* @packageDocumentation
|
@@ -2,7 +2,7 @@
|
|
2
2
|
* Val React **internal** bindings.
|
3
3
|
*
|
4
4
|
* @remarks
|
5
|
-
* This package includes only internal entry points and
|
5
|
+
* This package includes only internal entry points and should only used be used by internal packages.
|
6
6
|
* Use the valbuild package corresponding to your meta-framework instead of this package.
|
7
7
|
*
|
8
8
|
* @packageDocumentation
|
@@ -2,7 +2,7 @@
|
|
2
2
|
* Val React **internal** bindings.
|
3
3
|
*
|
4
4
|
* @remarks
|
5
|
-
* This package includes only internal entry points and
|
5
|
+
* This package includes only internal entry points and should only used be used by internal packages.
|
6
6
|
* Use the valbuild package corresponding to your meta-framework instead of this package.
|
7
7
|
*
|
8
8
|
* @packageDocumentation
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@valbuild/react",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.33.0",
|
4
4
|
"private": false,
|
5
5
|
"description": "Val - React internal helpers",
|
6
6
|
"sideEffects": false,
|
@@ -9,8 +9,9 @@
|
|
9
9
|
"test": "jest"
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
|
-
"@valbuild/core": "~0.
|
13
|
-
"@valbuild/ui": "~0.
|
12
|
+
"@valbuild/core": "~0.33.0",
|
13
|
+
"@valbuild/ui": "~0.33.0",
|
14
|
+
"@valbuild/shared": "~0.33.0",
|
14
15
|
"@vercel/stega": "^0.1.0",
|
15
16
|
"base64-arraybuffer": "^1.0.2",
|
16
17
|
"style-to-object": "^0.4.1"
|
@@ -6,7 +6,7 @@ import React from 'react';
|
|
6
6
|
import { VERCEL_STEGA_REGEX, vercelStegaDecode, vercelStegaSplit, vercelStegaCombine } from '@vercel/stega';
|
7
7
|
import { _ as _defineProperty } from '../../dist/defineProperty-f319cb47.browser.esm.js';
|
8
8
|
import { Internal, VAL_EXTENSION, FILE_REF_PROP } from '@valbuild/core';
|
9
|
-
import { parseRichTextSource } from '@valbuild/
|
9
|
+
import { parseRichTextSource } from '@valbuild/shared/internal';
|
10
10
|
|
11
11
|
var isIntrinsicElement = function isIntrinsicElement(type) {
|
12
12
|
// TODO: think this is not correct, but good enough for now?
|
@@ -10,7 +10,7 @@ var React = require('react');
|
|
10
10
|
var stega = require('@vercel/stega');
|
11
11
|
var defineProperty = require('../../dist/defineProperty-c82a49b0.cjs.dev.js');
|
12
12
|
var core = require('@valbuild/core');
|
13
|
-
var
|
13
|
+
var internal = require('@valbuild/shared/internal');
|
14
14
|
|
15
15
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
16
16
|
|
@@ -126,11 +126,11 @@ function stegaEncode(input, opts) {
|
|
126
126
|
if (core.VAL_EXTENSION in sourceOrSelector) {
|
127
127
|
if (sourceOrSelector[core.VAL_EXTENSION] === "richtext") {
|
128
128
|
if (recOpts !== null && recOpts !== void 0 && recOpts.path) {
|
129
|
-
return _objectSpread2(_objectSpread2({},
|
129
|
+
return _objectSpread2(_objectSpread2({}, internal.parseRichTextSource(sourceOrSelector)), {}, {
|
130
130
|
valPath: recOpts.path
|
131
131
|
});
|
132
132
|
}
|
133
|
-
return
|
133
|
+
return internal.parseRichTextSource(sourceOrSelector);
|
134
134
|
}
|
135
135
|
if (sourceOrSelector[core.VAL_EXTENSION] === "file" && typeof sourceOrSelector[core.FILE_REF_PROP] === "string") {
|
136
136
|
var fileSelector = core.Internal.convertFileSource(sourceOrSelector);
|
@@ -10,7 +10,7 @@ var React = require('react');
|
|
10
10
|
var stega = require('@vercel/stega');
|
11
11
|
var defineProperty = require('../../dist/defineProperty-36ed93cd.cjs.prod.js');
|
12
12
|
var core = require('@valbuild/core');
|
13
|
-
var
|
13
|
+
var internal = require('@valbuild/shared/internal');
|
14
14
|
|
15
15
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
16
16
|
|
@@ -126,11 +126,11 @@ function stegaEncode(input, opts) {
|
|
126
126
|
if (core.VAL_EXTENSION in sourceOrSelector) {
|
127
127
|
if (sourceOrSelector[core.VAL_EXTENSION] === "richtext") {
|
128
128
|
if (recOpts !== null && recOpts !== void 0 && recOpts.path) {
|
129
|
-
return _objectSpread2(_objectSpread2({},
|
129
|
+
return _objectSpread2(_objectSpread2({}, internal.parseRichTextSource(sourceOrSelector)), {}, {
|
130
130
|
valPath: recOpts.path
|
131
131
|
});
|
132
132
|
}
|
133
|
-
return
|
133
|
+
return internal.parseRichTextSource(sourceOrSelector);
|
134
134
|
}
|
135
135
|
if (sourceOrSelector[core.VAL_EXTENSION] === "file" && typeof sourceOrSelector[core.FILE_REF_PROP] === "string") {
|
136
136
|
var fileSelector = core.Internal.convertFileSource(sourceOrSelector);
|
@@ -6,7 +6,7 @@ import React from 'react';
|
|
6
6
|
import { VERCEL_STEGA_REGEX, vercelStegaDecode, vercelStegaSplit, vercelStegaCombine } from '@vercel/stega';
|
7
7
|
import { _ as _defineProperty } from '../../dist/defineProperty-12b5bd29.esm.js';
|
8
8
|
import { Internal, VAL_EXTENSION, FILE_REF_PROP } from '@valbuild/core';
|
9
|
-
import { parseRichTextSource } from '@valbuild/
|
9
|
+
import { parseRichTextSource } from '@valbuild/shared/internal';
|
10
10
|
|
11
11
|
var isIntrinsicElement = function isIntrinsicElement(type) {
|
12
12
|
// TODO: think this is not correct, but good enough for now?
|
@@ -6,7 +6,7 @@ import React from 'react';
|
|
6
6
|
import { VERCEL_STEGA_REGEX, vercelStegaDecode, vercelStegaSplit, vercelStegaCombine } from '@vercel/stega';
|
7
7
|
import { _ as _defineProperty } from '../../dist/defineProperty-a4bf59bc.worker.esm.js';
|
8
8
|
import { Internal, VAL_EXTENSION, FILE_REF_PROP } from '@valbuild/core';
|
9
|
-
import { parseRichTextSource } from '@valbuild/
|
9
|
+
import { parseRichTextSource } from '@valbuild/shared/internal';
|
10
10
|
|
11
11
|
var isIntrinsicElement = function isIntrinsicElement(type) {
|
12
12
|
// TODO: think this is not correct, but good enough for now?
|