@panneau/forms 5.0.0-alpha.7 → 5.0.0-alpha.9

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/Form.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { type FormOptions } from '@panneau/core';
2
2
  import type { Field, LayoutNode } from '@panneau/protocol';
3
- import { type FormViewProps } from './FormView';
3
+ import { type FormViewProps } from './FormView.js';
4
4
  export interface FormProps extends Omit<FormViewProps, 'form' | 'fields' | 'layout'>, Pick<FormOptions, 'values' | 'version' | 'mode' | 'store' | 'formatError' | 'onSubmit'> {
5
5
  /** The fields of the form. Without a layout, they are rendered in order. */
6
6
  fields: readonly Field[];
package/dist/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- export { ConflictDialog, type ConflictDialogProps } from './ConflictDialog';
2
- export { describePath } from './describe';
3
- export { ErrorSummary, type ErrorSummaryProps } from './ErrorSummary';
4
- export { Form, type FormProps } from './Form';
5
- export { FormBinding } from './FormBinding';
6
- export { FormView, type FormViewProps } from './FormView';
7
- export { useFormContext, useFormState } from './context';
8
- export { useFormatRuleFailure } from './formatError';
9
- export { type LeaveConfirmation, useBeforeUnloadGuard, useLeaveConfirmation } from './unsaved';
1
+ export { ConflictDialog, type ConflictDialogProps } from './ConflictDialog.js';
2
+ export { describePath } from './describe.js';
3
+ export { ErrorSummary, type ErrorSummaryProps } from './ErrorSummary.js';
4
+ export { Form, type FormProps } from './Form.js';
5
+ export { FormBinding } from './FormBinding.js';
6
+ export { FormView, type FormViewProps } from './FormView.js';
7
+ export { useFormContext, useFormState } from './context.js';
8
+ export { useFormatRuleFailure } from './formatError.js';
9
+ export { type LeaveConfirmation, useBeforeUnloadGuard, useLeaveConfirmation } from './unsaved.js';
10
10
  //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panneau/forms",
3
- "version": "5.0.0-alpha.7",
3
+ "version": "5.0.0-alpha.9",
4
4
  "description": "Forms of Panneau: fields in a layout, driven by the form state of @panneau/core, with errors, unsaved changes and version conflicts.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -29,9 +29,9 @@
29
29
  "dist"
30
30
  ],
31
31
  "scripts": {
32
- "build": "vite build && tsc -p tsconfig.build.json",
32
+ "build": "vite build && node ../../scripts/declarations.js",
33
33
  "typecheck": "tsc --noEmit",
34
- "api": "tsc -p tsconfig.build.json && node ../../scripts/api-report.js"
34
+ "api": "node ../../scripts/declarations.js && node ../../scripts/api-report.js"
35
35
  },
36
36
  "publishConfig": {
37
37
  "access": "public"
@@ -41,13 +41,13 @@
41
41
  "react-intl": "^12.0.0"
42
42
  },
43
43
  "dependencies": {
44
- "@panneau/core": "5.0.0-alpha.7",
45
- "@panneau/fields": "5.0.0-alpha.7",
46
- "@panneau/intl": "5.0.0-alpha.7",
47
- "@panneau/protocol": "5.0.0-alpha.7",
48
- "@panneau/ui": "5.0.0-alpha.7"
44
+ "@panneau/core": "5.0.0-alpha.9",
45
+ "@panneau/fields": "5.0.0-alpha.9",
46
+ "@panneau/intl": "5.0.0-alpha.9",
47
+ "@panneau/protocol": "5.0.0-alpha.9",
48
+ "@panneau/ui": "5.0.0-alpha.9"
49
49
  },
50
50
  "devDependencies": {
51
- "@panneau/data": "5.0.0-alpha.7"
51
+ "@panneau/data": "5.0.0-alpha.9"
52
52
  }
53
53
  }