@ostack.tech/ui-kform 1.0.0-rc.2 → 1.0.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ostack.tech/ui-kform",
3
3
  "description": "Integration of ostack/UI with ostack/KForm.",
4
- "version": "1.0.0-rc.2",
4
+ "version": "1.0.0",
5
5
  "homepage": "https://ui.ostack.tech/",
6
6
  "author": {
7
7
  "name": "Opensoft",
@@ -53,9 +53,9 @@
53
53
  "@fortawesome/fontawesome-svg-core": "^6.2.0 || ^7.0.0",
54
54
  "@fortawesome/free-regular-svg-icons": "^6.2.0 || ^7.0.0",
55
55
  "@fortawesome/free-solid-svg-icons": "^6.2.0 || ^7.0.0",
56
- "@ostack.tech/kform": "~1.0.0-rc.1",
57
- "@ostack.tech/kform-react": "~1.0.0-rc.1",
58
- "@ostack.tech/ui": "~1.0.0-rc.2",
56
+ "@ostack.tech/kform": "^1.0.0",
57
+ "@ostack.tech/kform-react": "^1.0.0",
58
+ "@ostack.tech/ui": "~1.0.0",
59
59
  "@types/react": "^19.0.0",
60
60
  "@types/react-dom": "^19.0.0",
61
61
  "date-fns": "^4.1.0",
@@ -10,12 +10,12 @@ export interface UseResetOnChangeOptions<T = unknown> extends PrefixedConfirmDia
10
10
  */
11
11
  when?: (event: SealedValueEvent<T>) => boolean;
12
12
  /**
13
- * Fields in `toReset` that should be excluded from being reset (relative to
14
- * the current path). This is useful when using wildcards in `toReset` and you
15
- * want to exclude some of the fields that match the wildcard.
13
+ * Fields in `reset` that should be excluded from being reset (relative to the
14
+ * current path). This is useful when using wildcards in `reset` and you want
15
+ * to exclude some of the fields that match the wildcard.
16
16
  *
17
- * E.g. `{ toReset: ["/a/*"], excludeFromReset: ["/a/b"] }` will reset all
18
- * children of `/a` except `/a/b`.
17
+ * E.g. if the path being reset is `/a/*`, setting `exclude` to `/a/b` will
18
+ * reset all children of `/a` except `/a/b`.
19
19
  */
20
20
  exclude?: string | Path | (string | Path)[];
21
21
  /**