@factorialco/rjsf-f0 2.3.0 → 2.4.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/dist/index.d.ts +1 -1
- package/dist/rjsf-f0.cjs.js +30 -30
- package/dist/rjsf-f0.cjs.js.map +1 -1
- package/dist/rjsf-f0.es.js +8279 -9791
- package/dist/rjsf-f0.es.js.map +1 -1
- package/dist/src/multistep/index.d.ts +2 -2
- package/dist/src/oauth/index.d.ts +1 -1
- package/dist/src/utils/markdown-content.d.ts +2 -2
- package/dist/styles.css +7 -3
- package/package.json +6 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const Multistep: {
|
|
2
|
-
StepsNavigation: ({ layout, items, currentIndex, onNavigate, children, }: import('./types').StepsNavigationProps) => import(
|
|
3
|
-
BackButton: ({ label, onClick, disabled, }: import('./types').StepBackButtonProps) => import(
|
|
2
|
+
StepsNavigation: ({ layout, items, currentIndex, onNavigate, children, }: import('./types').StepsNavigationProps) => import('../../node_modules/@types/react').JSX.Element;
|
|
3
|
+
BackButton: ({ label, onClick, disabled, }: import('./types').StepBackButtonProps) => import('../../node_modules/@types/react').JSX.Element;
|
|
4
4
|
};
|
|
5
5
|
export type { StepBackButtonProps, StepsLayout, StepsNavigationItem, StepsNavigationProps, StepStatus, } from './types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const Oauth: {
|
|
2
|
-
ConnectControl: ({ id, status, label, disabled, errorMessage, onClick, }: import('./types').OauthConnectControlProps) => import(
|
|
2
|
+
ConnectControl: ({ id, status, label, disabled, errorMessage, onClick, }: import('./types').OauthConnectControlProps) => import('../../node_modules/@types/react').JSX.Element;
|
|
3
3
|
};
|
|
4
4
|
export type { OauthConnectControlProps, OauthConnectStatus } from './types';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Options as ReactMarkdownProps } from 'react-markdown';
|
|
2
|
-
export declare function MarkdownContent(props: ReactMarkdownProps): import(
|
|
2
|
+
export declare function MarkdownContent(props: ReactMarkdownProps): import('../../node_modules/@types/react').JSX.Element;
|
|
3
3
|
/**
|
|
4
4
|
* Block-level markdown (GFM) for standalone content: execution result
|
|
5
5
|
* messages and `schema.markdown.before/after`. `MarkdownContent` above stays
|
|
6
6
|
* intentionally narrow for inline field text.
|
|
7
7
|
*/
|
|
8
|
-
export declare function MarkdownBlock(props: ReactMarkdownProps): import(
|
|
8
|
+
export declare function MarkdownBlock(props: ReactMarkdownProps): import('../../node_modules/@types/react').JSX.Element;
|
package/dist/styles.css
CHANGED
|
@@ -214,9 +214,13 @@
|
|
|
214
214
|
display: flex;
|
|
215
215
|
}
|
|
216
216
|
|
|
217
|
-
/*
|
|
217
|
+
/*
|
|
218
|
+
* The submit button is a sibling of the field list, so it gets no row gap. It
|
|
219
|
+
* sits at the end of the row, where f0 dialogs and forms put the primary action.
|
|
220
|
+
*/
|
|
218
221
|
.rjsf-f0-submit {
|
|
219
222
|
display: flex;
|
|
223
|
+
justify-content: flex-end;
|
|
220
224
|
margin-top: 1.5rem;
|
|
221
225
|
}
|
|
222
226
|
|
|
@@ -500,8 +504,8 @@
|
|
|
500
504
|
* Like the `json` field below, it is rendered by the SDK (`LoadingOverlay`),
|
|
501
505
|
* not by this theme, and its positioning lives in the SDK's standalone
|
|
502
506
|
* stylesheet — which f0 consumers deliberately do not load. Without these
|
|
503
|
-
* rules the overlay falls into the normal flow: the form grows to fit
|
|
504
|
-
*
|
|
507
|
+
* rules the overlay falls into the normal flow: the form grows to fit the
|
|
508
|
+
* spinner (and any message) at the bottom and shrinks back after the submit.
|
|
505
509
|
* The mechanism is the SDK's (root anchors, overlay covers it); the scrim and
|
|
506
510
|
* text use f0's neutral scale so both flip in dark mode, and the spinner uses
|
|
507
511
|
* f0's selected hue, its usual loading colour.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@factorialco/rjsf-f0",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"description": "Factorial f0 theme for react-jsonschema-form: renders RJSF forms with f0 components.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"homepage": "https://code.factorialhr.com/docs/forms/",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"dev": "vite"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"@factorialco/f0-react": "^4.39.0 || ^6",
|
|
43
|
+
"@factorialco/f0-react": "^4.39.0 || ^6 || ^7 || ^8 || ^9 || ^10 || ^11",
|
|
44
44
|
"@rjsf/core": "^6.7.1",
|
|
45
45
|
"@rjsf/utils": "^6.7.1",
|
|
46
46
|
"react": "^18.3.1 || ^19.0.0",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"remark-gfm": "^4.0.1"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@factorialco/f0-react": "6.
|
|
54
|
+
"@factorialco/f0-react": "11.6.3",
|
|
55
55
|
"@rjsf/core": "^6.7.1",
|
|
56
56
|
"@rjsf/utils": "^6.7.1",
|
|
57
57
|
"@rjsf/validator-ajv8": "^6.7.1",
|
|
@@ -60,13 +60,13 @@
|
|
|
60
60
|
"@types/node": "^22.0.0",
|
|
61
61
|
"@types/react": "^18.3.12",
|
|
62
62
|
"@types/react-dom": "^18.3.1",
|
|
63
|
-
"@vitejs/plugin-react": "^
|
|
63
|
+
"@vitejs/plugin-react": "^6.0.2",
|
|
64
64
|
"jsdom": "^28.0.0",
|
|
65
65
|
"react": "18.3.1",
|
|
66
66
|
"react-dom": "18.3.1",
|
|
67
67
|
"typescript": "^5.4.5",
|
|
68
|
-
"vite": "^
|
|
69
|
-
"vite-plugin-dts": "^
|
|
68
|
+
"vite": "^8.3.5",
|
|
69
|
+
"vite-plugin-dts": "^5.1.2",
|
|
70
70
|
"vitest": "^4.0.0"
|
|
71
71
|
}
|
|
72
72
|
}
|