@factorialco/rjsf-f0 2.2.1 → 2.3.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 -0
- package/dist/rjsf-f0.cjs.js +21 -21
- package/dist/rjsf-f0.cjs.js.map +1 -1
- package/dist/rjsf-f0.es.js +1113 -1086
- package/dist/rjsf-f0.es.js.map +1 -1
- package/dist/src/index.d.ts +2 -0
- package/dist/src/oauth/connect-control.d.ts +9 -0
- package/dist/src/oauth/index.d.ts +4 -0
- package/dist/src/oauth/oauth.test.d.ts +1 -0
- package/dist/src/oauth/types.d.ts +17 -0
- package/dist/src/theme.d.ts +4 -1
- package/dist/styles.css +18 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -61,6 +61,7 @@ The host app must render f0's `F0Provider` above the form and import `@factorial
|
|
|
61
61
|
| `radio` | `F0FormField` `cardSelect` (f0 has no radio control) |
|
|
62
62
|
| `file` / `data-url` | f0-styled dropzone + file chips (see below) |
|
|
63
63
|
| submit, add/move/copy/remove | `F0Button` |
|
|
64
|
+
| `oauth` connect control | `F0Button` (see below) |
|
|
64
65
|
| error summary | `F0Alert` |
|
|
65
66
|
| section title | `F0Heading` |
|
|
66
67
|
|
|
@@ -189,6 +190,10 @@ The toolbar is RJSF's, so it is the schema that decides what a row can do:
|
|
|
189
190
|
|
|
190
191
|
`orderable` (default `true`) draws move up/down — turn it off when order carries no meaning, which is most scalar lists. `copyable` defaults to `false` already, `removable` and `addable` to `true`.
|
|
191
192
|
|
|
193
|
+
### OAuth connect fields
|
|
194
|
+
|
|
195
|
+
The Forms SDK's `"ui:widget": "oauth"` field opens the provider in a popup and reacts when the flow finishes; the widget logic ships in `@factorialco/fcode-react-forms`. This theme only contributes the control it draws, as `Theme.oauth.ConnectControl`: an `F0Button` (`default` while idle or waiting, `outline` with a check icon once connected) plus the flow's error message underneath. `FcodeJsonSchemaForm` finds it through `rjsfTheme.oauth`, the same way it finds `rjsfTheme.multistep`.
|
|
196
|
+
|
|
192
197
|
### Not yet f0
|
|
193
198
|
|
|
194
199
|
- **`range`** renders as a number input rather than `F0Slider`.
|