@uniformdev/canvas 19.178.2-alpha.25 → 19.179.1-alpha.1
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.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.esm.js +2 -6
- package/dist/index.js +1 -5
- package/dist/index.mjs +2 -6
- package/package.json +5 -6
package/dist/index.d.mts
CHANGED
@@ -5,7 +5,7 @@ import { Quirks, StorageCommands, PersonalizedVariant, TestVariant } from '@unif
|
|
5
5
|
import Pusher from 'pusher-js';
|
6
6
|
import { Options as Options$1 } from 'p-retry';
|
7
7
|
import { Options } from 'p-throttle';
|
8
|
-
import {
|
8
|
+
import { SerializedEditorState } from 'lexical';
|
9
9
|
|
10
10
|
interface components$8 {
|
11
11
|
schemas: {
|
@@ -21997,8 +21997,8 @@ type ProjectMapLinkComponentParameterValue = ProjectMapLinkParamValue | undefine
|
|
21997
21997
|
*/
|
21998
21998
|
type LinkComponentParameterValue = LinkParamValue;
|
21999
21999
|
|
22000
|
-
type RichTextBuiltInFormat =
|
22001
|
-
type RichTextBuiltInElement =
|
22000
|
+
type RichTextBuiltInFormat = 'code' | 'bold' | 'italic' | 'underline' | 'strikethrough' | 'superscript' | 'subscript';
|
22001
|
+
type RichTextBuiltInElement = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'unorderedList' | 'orderedList' | 'link' | 'quote' | 'code' | 'variable';
|
22002
22002
|
type RichTextParamConfiguration = {
|
22003
22003
|
required?: boolean;
|
22004
22004
|
formatting?: {
|
@@ -22008,7 +22008,7 @@ type RichTextParamConfiguration = {
|
|
22008
22008
|
builtIn?: Array<RichTextBuiltInElement>;
|
22009
22009
|
};
|
22010
22010
|
};
|
22011
|
-
type RichTextParamValue =
|
22011
|
+
type RichTextParamValue = SerializedEditorState | undefined | null;
|
22012
22012
|
|
22013
22013
|
/**
|
22014
22014
|
* This file was auto-generated by openapi-typescript.
|
package/dist/index.d.ts
CHANGED
@@ -5,7 +5,7 @@ import { Quirks, StorageCommands, PersonalizedVariant, TestVariant } from '@unif
|
|
5
5
|
import Pusher from 'pusher-js';
|
6
6
|
import { Options as Options$1 } from 'p-retry';
|
7
7
|
import { Options } from 'p-throttle';
|
8
|
-
import {
|
8
|
+
import { SerializedEditorState } from 'lexical';
|
9
9
|
|
10
10
|
interface components$8 {
|
11
11
|
schemas: {
|
@@ -21997,8 +21997,8 @@ type ProjectMapLinkComponentParameterValue = ProjectMapLinkParamValue | undefine
|
|
21997
21997
|
*/
|
21998
21998
|
type LinkComponentParameterValue = LinkParamValue;
|
21999
21999
|
|
22000
|
-
type RichTextBuiltInFormat =
|
22001
|
-
type RichTextBuiltInElement =
|
22000
|
+
type RichTextBuiltInFormat = 'code' | 'bold' | 'italic' | 'underline' | 'strikethrough' | 'superscript' | 'subscript';
|
22001
|
+
type RichTextBuiltInElement = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'unorderedList' | 'orderedList' | 'link' | 'quote' | 'code' | 'variable';
|
22002
22002
|
type RichTextParamConfiguration = {
|
22003
22003
|
required?: boolean;
|
22004
22004
|
formatting?: {
|
@@ -22008,7 +22008,7 @@ type RichTextParamConfiguration = {
|
|
22008
22008
|
builtIn?: Array<RichTextBuiltInElement>;
|
22009
22009
|
};
|
22010
22010
|
};
|
22011
|
-
type RichTextParamValue =
|
22011
|
+
type RichTextParamValue = SerializedEditorState | undefined | null;
|
22012
22012
|
|
22013
22013
|
/**
|
22014
22014
|
* This file was auto-generated by openapi-typescript.
|
package/dist/index.esm.js
CHANGED
@@ -2889,7 +2889,7 @@ function bindVariables({
|
|
2889
2889
|
}
|
2890
2890
|
|
2891
2891
|
// src/utils/variables/bindVariablesToObject.ts
|
2892
|
-
import {
|
2892
|
+
import { produce } from "immer";
|
2893
2893
|
|
2894
2894
|
// src/utils/variables/createVariableReference.ts
|
2895
2895
|
function createVariableReference(variableName) {
|
@@ -2917,11 +2917,7 @@ function bindVariablesToObjectRecursive({
|
|
2917
2917
|
if (richTextNodeResult !== void 0) {
|
2918
2918
|
return richTextNodeResult;
|
2919
2919
|
}
|
2920
|
-
const
|
2921
|
-
producer(produceValue);
|
2922
|
-
return produceValue;
|
2923
|
-
};
|
2924
|
-
const result = produceToUse(value, (draft) => {
|
2920
|
+
const result = produce(value, (draft) => {
|
2925
2921
|
Object.entries(draft).forEach(([property, oldValue]) => {
|
2926
2922
|
const currentObjectPath = recursivePath ? `${recursivePath}.${property}` : property;
|
2927
2923
|
if (typeof oldValue === "string") {
|
package/dist/index.js
CHANGED
@@ -3066,11 +3066,7 @@ function bindVariablesToObjectRecursive({
|
|
3066
3066
|
if (richTextNodeResult !== void 0) {
|
3067
3067
|
return richTextNodeResult;
|
3068
3068
|
}
|
3069
|
-
const
|
3070
|
-
producer(produceValue);
|
3071
|
-
return produceValue;
|
3072
|
-
};
|
3073
|
-
const result = produceToUse(value, (draft) => {
|
3069
|
+
const result = (0, import_immer.produce)(value, (draft) => {
|
3074
3070
|
Object.entries(draft).forEach(([property, oldValue]) => {
|
3075
3071
|
const currentObjectPath = recursivePath ? `${recursivePath}.${property}` : property;
|
3076
3072
|
if (typeof oldValue === "string") {
|
package/dist/index.mjs
CHANGED
@@ -2889,7 +2889,7 @@ function bindVariables({
|
|
2889
2889
|
}
|
2890
2890
|
|
2891
2891
|
// src/utils/variables/bindVariablesToObject.ts
|
2892
|
-
import {
|
2892
|
+
import { produce } from "immer";
|
2893
2893
|
|
2894
2894
|
// src/utils/variables/createVariableReference.ts
|
2895
2895
|
function createVariableReference(variableName) {
|
@@ -2917,11 +2917,7 @@ function bindVariablesToObjectRecursive({
|
|
2917
2917
|
if (richTextNodeResult !== void 0) {
|
2918
2918
|
return richTextNodeResult;
|
2919
2919
|
}
|
2920
|
-
const
|
2921
|
-
producer(produceValue);
|
2922
|
-
return produceValue;
|
2923
|
-
};
|
2924
|
-
const result = produceToUse(value, (draft) => {
|
2920
|
+
const result = produce(value, (draft) => {
|
2925
2921
|
Object.entries(draft).forEach(([property, oldValue]) => {
|
2926
2922
|
const currentObjectPath = recursivePath ? `${recursivePath}.${property}` : property;
|
2927
2923
|
if (typeof oldValue === "string") {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@uniformdev/canvas",
|
3
|
-
"version": "19.
|
3
|
+
"version": "19.179.1-alpha.1+3adc08c00a",
|
4
4
|
"description": "Common functionality and types for Uniform Canvas",
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
6
6
|
"main": "./dist/index.js",
|
@@ -32,15 +32,14 @@
|
|
32
32
|
},
|
33
33
|
"devDependencies": {
|
34
34
|
"@types/retry": "0.12.5",
|
35
|
-
"lexical": "0.
|
35
|
+
"lexical": "0.16.1",
|
36
36
|
"p-retry": "5.1.2",
|
37
37
|
"p-throttle": "5.0.0",
|
38
38
|
"pusher-js": "8.2.0"
|
39
39
|
},
|
40
40
|
"dependencies": {
|
41
|
-
"@uniformdev/assets": "19.
|
42
|
-
"@uniformdev/context": "19.
|
43
|
-
"@uniformdev/richtext": "19.178.2-alpha.25+0f7f53f560",
|
41
|
+
"@uniformdev/assets": "19.179.1-alpha.1+3adc08c00a",
|
42
|
+
"@uniformdev/context": "19.179.1-alpha.1+3adc08c00a",
|
44
43
|
"immer": "10.1.1"
|
45
44
|
},
|
46
45
|
"files": [
|
@@ -49,5 +48,5 @@
|
|
49
48
|
"publishConfig": {
|
50
49
|
"access": "public"
|
51
50
|
},
|
52
|
-
"gitHead": "
|
51
|
+
"gitHead": "3adc08c00a0d3932b6b767faaa6157f8b71ef0a0"
|
53
52
|
}
|