@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 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 (includes TypeScript source for IDE navigation):**
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. Releases are listed in [`CHANGELOG.md`](CHANGELOG.md).
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@middag-io/react",
3
- "version": "0.45.2",
3
+ "version": "0.45.3",
4
4
  "type": "module",
5
5
  "description": "MIDDAG shared React UI library for Moodle, WordPress and other Inertia hosts",
6
6
  "license": "Apache-2.0",
@@ -107,11 +107,11 @@ function ActionCard({ item }: { item: ActionGridBlockData["items"][number] }): R
107
107
  </div>
108
108
  </CardHeader>
109
109
  <CardContent>
110
- {/* `loading`/`disabled` já fazem parte do contrato Action (gerado de
111
- Middag\Ui) mas eram ignorados aqui: o servidor podia sinalizar uma
112
- ação em andamento e o botão seguia inerte e clicável. `loading`
113
- implica desabilitado — reenviar durante o processamento é o que a
114
- sinalização existe para evitar. */}
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"