@factorialco/rjsf-f0 2.3.1 → 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.
@@ -1,5 +1,5 @@
1
1
  export declare const Multistep: {
2
- StepsNavigation: ({ layout, items, currentIndex, onNavigate, children, }: import('./types').StepsNavigationProps) => import("react").JSX.Element;
3
- BackButton: ({ label, onClick, disabled, }: import('./types').StepBackButtonProps) => import("react").JSX.Element;
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("react").JSX.Element;
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("react").JSX.Element;
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("react").JSX.Element;
8
+ export declare function MarkdownBlock(props: ReactMarkdownProps): import('../../node_modules/@types/react').JSX.Element;
package/dist/styles.css CHANGED
@@ -504,8 +504,8 @@
504
504
  * Like the `json` field below, it is rendered by the SDK (`LoadingOverlay`),
505
505
  * not by this theme, and its positioning lives in the SDK's standalone
506
506
  * stylesheet — which f0 consumers deliberately do not load. Without these
507
- * rules the overlay falls into the normal flow: the form grows to fit
508
- * "Sending information..." at the bottom and shrinks back after the submit.
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.
509
509
  * The mechanism is the SDK's (root anchors, overlay covers it); the scrim and
510
510
  * text use f0's neutral scale so both flip in dark mode, and the spinner uses
511
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.1",
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.8.3",
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": "^4.3.4",
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": "^6",
69
- "vite-plugin-dts": "^4.3.0",
68
+ "vite": "^8.3.5",
69
+ "vite-plugin-dts": "^5.1.2",
70
70
  "vitest": "^4.0.0"
71
71
  }
72
72
  }