@molecule/app-reorderable-list-react 1.0.3 → 3.0.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/README.md +5 -5
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@ AUTO-GENERATED — DO NOT EDIT THIS FILE.
|
|
|
3
3
|
Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json.
|
|
4
4
|
Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates).
|
|
5
5
|
To change this document, edit the module-level JSDoc in src/index.ts.
|
|
6
|
-
Generated: 2026-10-
|
|
6
|
+
Generated: 2026-10-27T23:36:42.229Z
|
|
7
7
|
-->
|
|
8
8
|
|
|
9
9
|
# @molecule/app-reorderable-list-react
|
|
@@ -106,13 +106,13 @@ move-up/move-down buttons and supports Alt+ArrowUp / Alt+ArrowDown on the
|
|
|
106
106
|
focused row, so the list is fully reorderable without a mouse.
|
|
107
107
|
|
|
108
108
|
```typescript
|
|
109
|
-
function ReorderableList({
|
|
109
|
+
function ReorderableList<T>({
|
|
110
110
|
items,
|
|
111
111
|
onReorder,
|
|
112
112
|
renderItem,
|
|
113
113
|
renderHandle,
|
|
114
114
|
className,
|
|
115
|
-
}: ReorderableListProps<T>): ReactElement
|
|
115
|
+
}: ReorderableListProps<T>): ReactElement
|
|
116
116
|
```
|
|
117
117
|
|
|
118
118
|
- `props` — Component props (see {@link ReorderableListProps}).
|
|
@@ -123,9 +123,9 @@ function ReorderableList({
|
|
|
123
123
|
|
|
124
124
|
Peer dependencies:
|
|
125
125
|
|
|
126
|
-
- `@molecule/app-react` ^
|
|
126
|
+
- `@molecule/app-react` ^3.0.0
|
|
127
127
|
- `@molecule/app-ui` ^1.0.1
|
|
128
|
-
- `@molecule/app-ui-react` ^
|
|
128
|
+
- `@molecule/app-ui-react` ^3.0.0
|
|
129
129
|
- `react` ^18.0.0 || ^19.0.0
|
|
130
130
|
|
|
131
131
|
### Runtime Dependencies
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@molecule/app-reorderable-list-react",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Vertical drag-handle reorder list with onReorder callback",
|
|
5
5
|
"homepage": "https://www.molecule.dev/packages/app-reorderable-list-react",
|
|
6
6
|
"type": "module",
|
|
@@ -33,15 +33,15 @@
|
|
|
33
33
|
"directory": "packages/app/features/reorderable-list-react"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@molecule/app-react": "^
|
|
36
|
+
"@molecule/app-react": "^3.0.0",
|
|
37
37
|
"@molecule/app-ui": "^1.0.1",
|
|
38
|
-
"@molecule/app-ui-react": "^
|
|
38
|
+
"@molecule/app-ui-react": "^3.0.0",
|
|
39
39
|
"react": "^18.0.0 || ^19.0.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@molecule/app-react": "
|
|
42
|
+
"@molecule/app-react": "3.0.0",
|
|
43
43
|
"@molecule/app-ui": "1.3.8",
|
|
44
|
-
"@molecule/app-ui-react": "
|
|
44
|
+
"@molecule/app-ui-react": "3.0.0",
|
|
45
45
|
"@testing-library/react": "16.3.3",
|
|
46
46
|
"@types/node": "26.6.5",
|
|
47
47
|
"@types/react": "19.3.0",
|