@uniformdev/canvas-next-rsc 20.75.1-alpha.16 → 20.76.2
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/component.d.mts +4 -4
- package/dist/component.d.ts +4 -4
- package/package.json +11 -11
package/dist/component.d.mts
CHANGED
|
@@ -22,7 +22,7 @@ type RenderRichTextComponentResolver = (node: RichTextNode) => RichTextRendererC
|
|
|
22
22
|
type UniformRichTextProps = {
|
|
23
23
|
/**
|
|
24
24
|
* The name of the HTML tag to render.
|
|
25
|
-
* @
|
|
25
|
+
* @defaultValue "div"
|
|
26
26
|
*/
|
|
27
27
|
as?: React.ElementType;
|
|
28
28
|
/** The ID of the parameter. */
|
|
@@ -38,7 +38,7 @@ type UniformRichTextProps = {
|
|
|
38
38
|
/**
|
|
39
39
|
* Sets the value to show in Canvas editor when the parameter value is empty.
|
|
40
40
|
* Can be a static string, or a function to generate the placeholder out of parameter info.
|
|
41
|
-
* @
|
|
41
|
+
* @defaultValue undefined
|
|
42
42
|
*/
|
|
43
43
|
placeholder?: string | ((parameter: {
|
|
44
44
|
id: string;
|
|
@@ -50,7 +50,7 @@ type UniformRichTextProps = {
|
|
|
50
50
|
declare const UniformRichText: React.ForwardRefExoticComponent<{
|
|
51
51
|
/**
|
|
52
52
|
* The name of the HTML tag to render.
|
|
53
|
-
* @
|
|
53
|
+
* @defaultValue "div"
|
|
54
54
|
*/
|
|
55
55
|
as?: React.ElementType;
|
|
56
56
|
/** The ID of the parameter. */
|
|
@@ -66,7 +66,7 @@ declare const UniformRichText: React.ForwardRefExoticComponent<{
|
|
|
66
66
|
/**
|
|
67
67
|
* Sets the value to show in Canvas editor when the parameter value is empty.
|
|
68
68
|
* Can be a static string, or a function to generate the placeholder out of parameter info.
|
|
69
|
-
* @
|
|
69
|
+
* @defaultValue undefined
|
|
70
70
|
*/
|
|
71
71
|
placeholder?: string | ((parameter: {
|
|
72
72
|
id: string;
|
package/dist/component.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ type RenderRichTextComponentResolver = (node: RichTextNode) => RichTextRendererC
|
|
|
22
22
|
type UniformRichTextProps = {
|
|
23
23
|
/**
|
|
24
24
|
* The name of the HTML tag to render.
|
|
25
|
-
* @
|
|
25
|
+
* @defaultValue "div"
|
|
26
26
|
*/
|
|
27
27
|
as?: React.ElementType;
|
|
28
28
|
/** The ID of the parameter. */
|
|
@@ -38,7 +38,7 @@ type UniformRichTextProps = {
|
|
|
38
38
|
/**
|
|
39
39
|
* Sets the value to show in Canvas editor when the parameter value is empty.
|
|
40
40
|
* Can be a static string, or a function to generate the placeholder out of parameter info.
|
|
41
|
-
* @
|
|
41
|
+
* @defaultValue undefined
|
|
42
42
|
*/
|
|
43
43
|
placeholder?: string | ((parameter: {
|
|
44
44
|
id: string;
|
|
@@ -50,7 +50,7 @@ type UniformRichTextProps = {
|
|
|
50
50
|
declare const UniformRichText: React.ForwardRefExoticComponent<{
|
|
51
51
|
/**
|
|
52
52
|
* The name of the HTML tag to render.
|
|
53
|
-
* @
|
|
53
|
+
* @defaultValue "div"
|
|
54
54
|
*/
|
|
55
55
|
as?: React.ElementType;
|
|
56
56
|
/** The ID of the parameter. */
|
|
@@ -66,7 +66,7 @@ declare const UniformRichText: React.ForwardRefExoticComponent<{
|
|
|
66
66
|
/**
|
|
67
67
|
* Sets the value to show in Canvas editor when the parameter value is empty.
|
|
68
68
|
* Can be a static string, or a function to generate the placeholder out of parameter info.
|
|
69
|
-
* @
|
|
69
|
+
* @defaultValue undefined
|
|
70
70
|
*/
|
|
71
71
|
placeholder?: string | ((parameter: {
|
|
72
72
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/canvas-next-rsc",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.76.2",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "tsup",
|
|
@@ -62,15 +62,15 @@
|
|
|
62
62
|
"react-dom": "19.2.1"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@uniformdev/canvas": "20.
|
|
66
|
-
"@uniformdev/canvas-next-rsc-client": "^20.
|
|
67
|
-
"@uniformdev/canvas-next-rsc-shared": "^20.
|
|
68
|
-
"@uniformdev/canvas-react": "20.
|
|
69
|
-
"@uniformdev/context": "20.
|
|
70
|
-
"@uniformdev/project-map": "20.
|
|
71
|
-
"@uniformdev/redirect": "20.
|
|
72
|
-
"@uniformdev/richtext": "20.
|
|
73
|
-
"@uniformdev/webhooks": "20.
|
|
65
|
+
"@uniformdev/canvas": "20.76.2",
|
|
66
|
+
"@uniformdev/canvas-next-rsc-client": "^20.76.2",
|
|
67
|
+
"@uniformdev/canvas-next-rsc-shared": "^20.76.2",
|
|
68
|
+
"@uniformdev/canvas-react": "20.76.2",
|
|
69
|
+
"@uniformdev/context": "20.76.2",
|
|
70
|
+
"@uniformdev/project-map": "20.76.2",
|
|
71
|
+
"@uniformdev/redirect": "20.76.2",
|
|
72
|
+
"@uniformdev/richtext": "20.76.2",
|
|
73
|
+
"@uniformdev/webhooks": "20.76.2",
|
|
74
74
|
"@vercel/edge-config": "^1.4.3",
|
|
75
75
|
"encoding": "^0.1.13",
|
|
76
76
|
"server-only": "^0.0.1",
|
|
@@ -87,5 +87,5 @@
|
|
|
87
87
|
"publishConfig": {
|
|
88
88
|
"access": "public"
|
|
89
89
|
},
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "d977f0afc2aa754b18053d9455e007712e712dbb"
|
|
91
91
|
}
|