@uniformdev/mesh-sdk-react 19.57.0 → 19.58.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.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.esm.js +5 -2
- package/dist/index.js +5 -2
- package/dist/index.mjs +5 -2
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ import * as React$1 from 'react';
|
|
|
3
3
|
import React__default, { SVGProps, ReactNode, MutableRefObject, ComponentType, PropsWithChildren, HTMLAttributes, AnchorHTMLAttributes } from 'react';
|
|
4
4
|
import { TDate } from 'timeago.js';
|
|
5
5
|
import * as _emotion_react from '@emotion/react';
|
|
6
|
-
import { Interpolation, Theme } from '@emotion/react';
|
|
6
|
+
import { Interpolation, Theme, SerializedStyles } from '@emotion/react';
|
|
7
7
|
import * as _uniformdev_mesh_sdk from '@uniformdev/mesh-sdk';
|
|
8
8
|
import { DynamicInput, MeshLocation, SetValueOptions, EditConnectedDataResponseCancellationContext, DynamicInputs, DataSourceLocationValue, DataTypeLocationValue, BindableTypes } from '@uniformdev/mesh-sdk';
|
|
9
9
|
export * from '@uniformdev/mesh-sdk';
|
|
@@ -878,6 +878,7 @@ type ParameterVariablesProps<TEditorContext = unknown> = {
|
|
|
878
878
|
editorRef?: MutableRefObject<LexicalEditor | null>;
|
|
879
879
|
/** If set the editor will auto-focus on mount */
|
|
880
880
|
autoFocus?: boolean;
|
|
881
|
+
inputCss?: SerializedStyles;
|
|
881
882
|
} & UseInputVariablesStateProps<TEditorContext>;
|
|
882
883
|
/**
|
|
883
884
|
* An input box that enables insertion of 'variables', provided by VariablesProvider,
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import * as React$1 from 'react';
|
|
|
3
3
|
import React__default, { SVGProps, ReactNode, MutableRefObject, ComponentType, PropsWithChildren, HTMLAttributes, AnchorHTMLAttributes } from 'react';
|
|
4
4
|
import { TDate } from 'timeago.js';
|
|
5
5
|
import * as _emotion_react from '@emotion/react';
|
|
6
|
-
import { Interpolation, Theme } from '@emotion/react';
|
|
6
|
+
import { Interpolation, Theme, SerializedStyles } from '@emotion/react';
|
|
7
7
|
import * as _uniformdev_mesh_sdk from '@uniformdev/mesh-sdk';
|
|
8
8
|
import { DynamicInput, MeshLocation, SetValueOptions, EditConnectedDataResponseCancellationContext, DynamicInputs, DataSourceLocationValue, DataTypeLocationValue, BindableTypes } from '@uniformdev/mesh-sdk';
|
|
9
9
|
export * from '@uniformdev/mesh-sdk';
|
|
@@ -878,6 +878,7 @@ type ParameterVariablesProps<TEditorContext = unknown> = {
|
|
|
878
878
|
editorRef?: MutableRefObject<LexicalEditor | null>;
|
|
879
879
|
/** If set the editor will auto-focus on mount */
|
|
880
880
|
autoFocus?: boolean;
|
|
881
|
+
inputCss?: SerializedStyles;
|
|
881
882
|
} & UseInputVariablesStateProps<TEditorContext>;
|
|
882
883
|
/**
|
|
883
884
|
* An input box that enables insertion of 'variables', provided by VariablesProvider,
|
package/dist/index.esm.js
CHANGED
|
@@ -3740,6 +3740,7 @@ function VariablesPlugin({
|
|
|
3740
3740
|
/* @__PURE__ */ jsx32(
|
|
3741
3741
|
"div",
|
|
3742
3742
|
{
|
|
3743
|
+
"data-auto-resize-opt-in": true,
|
|
3743
3744
|
css: css20`
|
|
3744
3745
|
box-shadow: var(--shadow-base);
|
|
3745
3746
|
border-radius: var(--rounded-base);
|
|
@@ -4974,7 +4975,8 @@ function ParameterVariables(props) {
|
|
|
4974
4975
|
getEditorContext,
|
|
4975
4976
|
disabled,
|
|
4976
4977
|
editorRef,
|
|
4977
|
-
filterVariable
|
|
4978
|
+
filterVariable,
|
|
4979
|
+
inputCss
|
|
4978
4980
|
} = props;
|
|
4979
4981
|
const { dispatch, canDispatch, isEditing } = useVariables(true);
|
|
4980
4982
|
const { disableVariablesForReals, hadVariablesInValue, sharedMenuProps, hasVariablesInValue } = useInputVariablesState(props);
|
|
@@ -5016,7 +5018,8 @@ function ParameterVariables(props) {
|
|
|
5016
5018
|
"data-text-value": value,
|
|
5017
5019
|
css: [
|
|
5018
5020
|
input2,
|
|
5019
|
-
typeof multiLine === "number" ? inputMultiLine(multiLine) : multiLine === true ? inputMultiLine(4) : css24
|
|
5021
|
+
typeof multiLine === "number" ? inputMultiLine(multiLine) : multiLine === true ? inputMultiLine(4) : css24``,
|
|
5022
|
+
inputCss != null ? inputCss : css24``
|
|
5020
5023
|
]
|
|
5021
5024
|
}
|
|
5022
5025
|
) }),
|
package/dist/index.js
CHANGED
|
@@ -3918,6 +3918,7 @@ function VariablesPlugin({
|
|
|
3918
3918
|
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3919
3919
|
"div",
|
|
3920
3920
|
{
|
|
3921
|
+
"data-auto-resize-opt-in": true,
|
|
3921
3922
|
css: import_react37.css`
|
|
3922
3923
|
box-shadow: var(--shadow-base);
|
|
3923
3924
|
border-radius: var(--rounded-base);
|
|
@@ -5140,7 +5141,8 @@ function ParameterVariables(props) {
|
|
|
5140
5141
|
getEditorContext,
|
|
5141
5142
|
disabled,
|
|
5142
5143
|
editorRef,
|
|
5143
|
-
filterVariable
|
|
5144
|
+
filterVariable,
|
|
5145
|
+
inputCss
|
|
5144
5146
|
} = props;
|
|
5145
5147
|
const { dispatch, canDispatch, isEditing } = useVariables(true);
|
|
5146
5148
|
const { disableVariablesForReals, hadVariablesInValue, sharedMenuProps, hasVariablesInValue } = useInputVariablesState(props);
|
|
@@ -5182,7 +5184,8 @@ function ParameterVariables(props) {
|
|
|
5182
5184
|
"data-text-value": value,
|
|
5183
5185
|
css: [
|
|
5184
5186
|
input2,
|
|
5185
|
-
typeof multiLine === "number" ? inputMultiLine(multiLine) : multiLine === true ? inputMultiLine(4) : import_react54.css
|
|
5187
|
+
typeof multiLine === "number" ? inputMultiLine(multiLine) : multiLine === true ? inputMultiLine(4) : import_react54.css``,
|
|
5188
|
+
inputCss != null ? inputCss : import_react54.css``
|
|
5186
5189
|
]
|
|
5187
5190
|
}
|
|
5188
5191
|
) }),
|
package/dist/index.mjs
CHANGED
|
@@ -3740,6 +3740,7 @@ function VariablesPlugin({
|
|
|
3740
3740
|
/* @__PURE__ */ jsx32(
|
|
3741
3741
|
"div",
|
|
3742
3742
|
{
|
|
3743
|
+
"data-auto-resize-opt-in": true,
|
|
3743
3744
|
css: css20`
|
|
3744
3745
|
box-shadow: var(--shadow-base);
|
|
3745
3746
|
border-radius: var(--rounded-base);
|
|
@@ -4974,7 +4975,8 @@ function ParameterVariables(props) {
|
|
|
4974
4975
|
getEditorContext,
|
|
4975
4976
|
disabled,
|
|
4976
4977
|
editorRef,
|
|
4977
|
-
filterVariable
|
|
4978
|
+
filterVariable,
|
|
4979
|
+
inputCss
|
|
4978
4980
|
} = props;
|
|
4979
4981
|
const { dispatch, canDispatch, isEditing } = useVariables(true);
|
|
4980
4982
|
const { disableVariablesForReals, hadVariablesInValue, sharedMenuProps, hasVariablesInValue } = useInputVariablesState(props);
|
|
@@ -5016,7 +5018,8 @@ function ParameterVariables(props) {
|
|
|
5016
5018
|
"data-text-value": value,
|
|
5017
5019
|
css: [
|
|
5018
5020
|
input2,
|
|
5019
|
-
typeof multiLine === "number" ? inputMultiLine(multiLine) : multiLine === true ? inputMultiLine(4) : css24
|
|
5021
|
+
typeof multiLine === "number" ? inputMultiLine(multiLine) : multiLine === true ? inputMultiLine(4) : css24``,
|
|
5022
|
+
inputCss != null ? inputCss : css24``
|
|
5020
5023
|
]
|
|
5021
5024
|
}
|
|
5022
5025
|
) }),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/mesh-sdk-react",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.58.0",
|
|
4
4
|
"description": "Uniform Mesh Framework SDK for React",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
"@lexical/selection": "^0.12.0",
|
|
51
51
|
"@lexical/utils": "^0.12.0",
|
|
52
52
|
"@react-icons/all-files": "https://github.com/react-icons/react-icons/releases/download/v4.10.1/react-icons-all-files-4.10.1.tgz",
|
|
53
|
-
"@uniformdev/canvas": "19.
|
|
54
|
-
"@uniformdev/design-system": "19.
|
|
55
|
-
"@uniformdev/mesh-sdk": "19.
|
|
53
|
+
"@uniformdev/canvas": "19.58.0",
|
|
54
|
+
"@uniformdev/design-system": "19.58.0",
|
|
55
|
+
"@uniformdev/mesh-sdk": "19.58.0",
|
|
56
56
|
"dequal": "^2.0.3",
|
|
57
57
|
"lexical": "^0.12.0",
|
|
58
58
|
"mitt": "^3.0.0",
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"publishConfig": {
|
|
87
87
|
"access": "public"
|
|
88
88
|
},
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "1e355c1405dc744f333cbce45766965c160c535c"
|
|
90
90
|
}
|