@middag-io/react 0.45.2 → 0.45.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 +4 -3
- package/package.json +1 -1
- package/src/base/blocks/ActionGridBlock.tsx +5 -5
package/README.md
CHANGED
|
@@ -29,7 +29,7 @@ The wizard detects your host platform (Moodle/WordPress), configures authenticat
|
|
|
29
29
|
npm install @middag-io/react react react-dom @inertiajs/react @inertiajs/core
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
**GitHub Packages (
|
|
32
|
+
**GitHub Packages (optional; adds the TypeScript source for IDE navigation, needs a token):**
|
|
33
33
|
|
|
34
34
|
```bash
|
|
35
35
|
# Add to global ~/.npmrc
|
|
@@ -286,10 +286,11 @@ The package includes a CLI for bootstrapping and maintaining the UI layer in con
|
|
|
286
286
|
|
|
287
287
|
## Help and status
|
|
288
288
|
|
|
289
|
-
- **Status:** the 0.x line is pre-stable; minor releases may break the API.
|
|
290
|
-
- **Documentation:** https://docs.middag.dev
|
|
289
|
+
- **Status:** the 0.x line is pre-stable; minor releases may break the API.
|
|
290
|
+
- **Documentation:** https://docs.middag.dev/framework/explanation/ui/overview
|
|
291
291
|
- **Questions and bugs:** https://github.com/middag-io/middag-react/issues
|
|
292
292
|
- **Security reports:** see [`SECURITY.md`](SECURITY.md) (do not open a public issue).
|
|
293
|
+
- **Changes:** see [`CHANGELOG.md`](CHANGELOG.md).
|
|
293
294
|
|
|
294
295
|
## License
|
|
295
296
|
|
package/package.json
CHANGED
|
@@ -107,11 +107,11 @@ function ActionCard({ item }: { item: ActionGridBlockData["items"][number] }): R
|
|
|
107
107
|
</div>
|
|
108
108
|
</CardHeader>
|
|
109
109
|
<CardContent>
|
|
110
|
-
{/* `loading`/`disabled`
|
|
111
|
-
Middag\Ui)
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
110
|
+
{/* `loading`/`disabled` are part of the Action contract (generated from
|
|
111
|
+
Middag\Ui) but were ignored here: the server could flag an action
|
|
112
|
+
as in progress while the button stayed active and clickable.
|
|
113
|
+
`loading` implies disabled, because resubmitting during processing
|
|
114
|
+
is what the flag exists to prevent. */}
|
|
115
115
|
<Button
|
|
116
116
|
variant="outline"
|
|
117
117
|
size="sm"
|