@brftech/filex-react 0.53.0 → 0.55.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 +15 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -20,6 +20,21 @@ camelCased event handlers via `@lit/react`'s `createComponent`.
|
|
|
20
20
|
npm i @brftech/filex-react react react-dom
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
+
> ⚠ **`@brftech/filex-react` 0.55 needs a filex 0.55 server.** Which files open for editing
|
|
24
|
+
> (`edit_kinds`), the input limits (`limits`) and the version line
|
|
25
|
+
> (`release`, `commit`, `built`) come from the server's
|
|
26
|
+
> `/api/files/capabilities`; the package keeps no list of its own to fall
|
|
27
|
+
> back on, so against an older server nothing is offered Edit and nothing
|
|
28
|
+
> opens as an office document. Update the server with the package
|
|
29
|
+
> ([API.md](https://github.com/BRF-Tech/filex/blob/main/docs/API.md)).
|
|
30
|
+
|
|
31
|
+
> ⚠ **An app that prints** (`ui.print`, filex 0.55) prints from filex's own
|
|
32
|
+
> print page, which the explorer frames in your page. Only filex, its desktop
|
|
33
|
+
> app and the server's `FILEX_FRAME_ANCESTORS` may frame that page, so on
|
|
34
|
+
> another site list your page's origin there - otherwise the app is told
|
|
35
|
+
> printing is `unavailable`
|
|
36
|
+
> ([CONFIGURATION.md → Security headers and framing](https://github.com/BRF-Tech/filex/blob/main/docs/CONFIGURATION.md#security-headers-and-framing)).
|
|
37
|
+
|
|
23
38
|
## Use
|
|
24
39
|
|
|
25
40
|
```jsx
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brftech/filex-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.55.0",
|
|
4
4
|
"description": "filex React adapter - wraps <filex-explorer> for React idiom (props + camelCase event handlers)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/filex-react.cjs",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@lit/react": "^1.0.5",
|
|
22
|
-
"@brftech/filex": "0.
|
|
23
|
-
"@brftech/filex-core": "0.
|
|
22
|
+
"@brftech/filex": "0.55.0",
|
|
23
|
+
"@brftech/filex-core": "0.55.0"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"react": "^18.0.0 || ^19.0.0",
|