@flowgram.ai/form-materials 0.5.3 → 0.5.5
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/cjs/components/blur-input/index.js +1 -0
- package/dist/cjs/components/condition-row/styles.js +1 -0
- package/dist/cjs/components/dynamic-value-input/styles.js +1 -0
- package/dist/esm/components/blur-input/index.mjs +1 -0
- package/dist/esm/components/condition-row/styles.mjs +1 -0
- package/dist/esm/components/dynamic-value-input/styles.mjs +1 -0
- package/dist/types/components/blur-input/index.d.ts +1 -1
- package/package.json +6 -6
- package/src/components/blur-input/index.tsx +2 -1
- package/src/components/condition-row/styles.tsx +1 -0
- package/src/components/dynamic-value-input/styles.tsx +1 -0
|
@@ -8,6 +8,6 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import React from 'react';
|
|
10
10
|
import { Input } from '@douyinfe/semi-ui';
|
|
11
|
-
type InputProps = React.
|
|
11
|
+
type InputProps = React.ComponentPropsWithRef<typeof Input>;
|
|
12
12
|
export declare function BlurInput(props: InputProps): React.JSX.Element;
|
|
13
13
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowgram.ai/form-materials",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.5",
|
|
4
4
|
"homepage": "https://flowgram.ai/",
|
|
5
5
|
"repository": "https://github.com/bytedance/flowgram.ai",
|
|
6
6
|
"license": "MIT",
|
|
@@ -67,9 +67,9 @@
|
|
|
67
67
|
"@codemirror/view": "~6.38.0",
|
|
68
68
|
"@codemirror/state": "~6.5.2",
|
|
69
69
|
"zod": "^3.24.4",
|
|
70
|
-
"@flowgram.ai/editor": "0.5.
|
|
71
|
-
"@flowgram.ai/
|
|
72
|
-
"@flowgram.ai/
|
|
70
|
+
"@flowgram.ai/editor": "0.5.5",
|
|
71
|
+
"@flowgram.ai/coze-editor": "0.5.5",
|
|
72
|
+
"@flowgram.ai/json-schema": "0.5.5"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"@types/lodash-es": "^4.17.12",
|
|
@@ -88,8 +88,8 @@
|
|
|
88
88
|
"cross-env": "~7.0.3",
|
|
89
89
|
"@rsbuild/plugin-react": "^1.1.1",
|
|
90
90
|
"date-fns": "~4.1.0",
|
|
91
|
-
"@flowgram.ai/
|
|
92
|
-
"@flowgram.ai/
|
|
91
|
+
"@flowgram.ai/ts-config": "0.5.5",
|
|
92
|
+
"@flowgram.ai/eslint-config": "0.5.5"
|
|
93
93
|
},
|
|
94
94
|
"peerDependencies": {
|
|
95
95
|
"react": ">=16.8",
|
|
@@ -13,7 +13,7 @@ import React, { useEffect, useState } from 'react';
|
|
|
13
13
|
|
|
14
14
|
import { Input } from '@douyinfe/semi-ui';
|
|
15
15
|
|
|
16
|
-
type InputProps = React.
|
|
16
|
+
type InputProps = React.ComponentPropsWithRef<typeof Input>;
|
|
17
17
|
|
|
18
18
|
export function BlurInput(props: InputProps) {
|
|
19
19
|
const [value, setValue] = useState('');
|
|
@@ -24,6 +24,7 @@ export function BlurInput(props: InputProps) {
|
|
|
24
24
|
|
|
25
25
|
return (
|
|
26
26
|
<Input
|
|
27
|
+
ref={props.ref}
|
|
27
28
|
{...props}
|
|
28
29
|
value={value}
|
|
29
30
|
onChange={(value) => {
|