@gridui/inline-editor 2.1.1 → 2.1.3
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/README.md +1 -1
- package/docs/catalog.json +2 -1
- package/docs/reference/inline-editor-textarea.md +16 -0
- package/package.json +7 -8
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ See [component ownership](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/
|
|
|
10
10
|
## Controlled inline editing
|
|
11
11
|
|
|
12
12
|
See [InlineEditor](docs/inline-editor.md) for editing state and submission ownership,
|
|
13
|
-
and [Textarea](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-core/input/docs/textarea.md#
|
|
13
|
+
and [Textarea](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-core/input/docs/textarea.md#size-and-automatic-height) for optional automatic height.
|
|
14
14
|
|
|
15
15
|
See [common inputs](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-core/input/docs/common-inputs.md) for multiple selection, numeric values, sliders, and editable tags.
|
|
16
16
|
|
package/docs/catalog.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"name": "@gridui/inline-editor",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.3",
|
|
5
5
|
"category": "core",
|
|
6
6
|
"description": "GridUI React inline editor",
|
|
7
7
|
"usage": "Component reference contains focused API pages for each public component.",
|
|
@@ -86,6 +86,7 @@
|
|
|
86
86
|
"@gridui/inline-editor/styles.css"
|
|
87
87
|
],
|
|
88
88
|
"examples": [
|
|
89
|
+
"https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-core/inline-editor/stories/getting-started.mdx",
|
|
89
90
|
"https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-core/inline-editor/stories/multiline.mdx",
|
|
90
91
|
"https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-core/inline-editor/stories/single-line.mdx",
|
|
91
92
|
"https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-core/inline-editor/stories/inline-editor.stories.tsx"
|
|
@@ -19,6 +19,12 @@ The [working composition](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/
|
|
|
19
19
|
|
|
20
20
|
The public Props type is the source of these signatures. Defaults below are explicit implementation defaults; story presets are separate. Native attributes remain available through the exported Props type.
|
|
21
21
|
|
|
22
|
+
### footer
|
|
23
|
+
|
|
24
|
+
``ReactNode`` · Optional
|
|
25
|
+
|
|
26
|
+
Caller-owned footer content; footer handles share this row.
|
|
27
|
+
|
|
22
28
|
### children
|
|
23
29
|
|
|
24
30
|
``ReactNode`` · Optional
|
|
@@ -71,6 +77,16 @@ Called when the corresponding interaction occurs; inspect the arguments in Actio
|
|
|
71
77
|
|
|
72
78
|
``number | undefined`` · Optional
|
|
73
79
|
|
|
80
|
+
### resizeHandle
|
|
81
|
+
|
|
82
|
+
``false | "footer" | "corner" | "edge" | undefined`` · Optional
|
|
83
|
+
|
|
84
|
+
Manual resize affordance. Automatic sizing always hides it.
|
|
85
|
+
|
|
86
|
+
### resizeLabel
|
|
87
|
+
|
|
88
|
+
``string | undefined`` · Optional
|
|
89
|
+
|
|
74
90
|
### label
|
|
75
91
|
|
|
76
92
|
``string`` · Required
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gridui/inline-editor",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.3",
|
|
4
4
|
"description": "GridUI React inline editor",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
@@ -27,16 +27,16 @@
|
|
|
27
27
|
"react-dom": "^19.2.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@gridui/button": "^
|
|
31
|
-
"@gridui/input": "^
|
|
32
|
-
"@gridui/interaction": "^1.
|
|
30
|
+
"@gridui/button": "^5.1.0",
|
|
31
|
+
"@gridui/input": "^4.0.2",
|
|
32
|
+
"@gridui/interaction": "^1.3.0",
|
|
33
33
|
"@gridui/style-utils": "^4.0.0",
|
|
34
|
-
"@gridui/theme": "^
|
|
34
|
+
"@gridui/theme": "^3.0.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@gridui-internal/configuration": "0.0.0-internal",
|
|
38
38
|
"@jest/globals": "30.5.2",
|
|
39
|
-
"@storybook/react-vite": "10.6.
|
|
39
|
+
"@storybook/react-vite": "10.6.7",
|
|
40
40
|
"@types/jest": "30.0.0",
|
|
41
41
|
"@types/node": "26.6.6",
|
|
42
42
|
"@types/react": "19.3.0",
|
|
@@ -49,7 +49,6 @@
|
|
|
49
49
|
"scripts": {
|
|
50
50
|
"build": "node ../../scripts/compilation/package.ts",
|
|
51
51
|
"compile": "tsc --project tsconfig.json",
|
|
52
|
-
"test": "jest"
|
|
53
|
-
"coverage": "jest --coverage"
|
|
52
|
+
"test": "jest"
|
|
54
53
|
}
|
|
55
54
|
}
|