@servicetitan/form-state 23.0.1 → 23.0.3

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.
@@ -5,8 +5,8 @@ interface DateRangeFieldStates {
5
5
  endDate: DatetimeFieldState;
6
6
  }
7
7
  export declare const FormValidators: {
8
- required: (value?: FormValues | undefined) => string | false;
9
- requiredWithCustomMessage: (errorMessage: string) => (value?: FormValues | undefined) => string | false;
8
+ required: (value?: FormValues) => string | false;
9
+ requiredWithCustomMessage: (errorMessage: string) => (value?: FormValues) => string | false;
10
10
  hasLowerCase: (str: string) => boolean;
11
11
  hasUpperCase: (str: string) => boolean;
12
12
  hasNumber: (str: string) => boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"form-validators.d.ts","sourceRoot":"","sources":["../src/form-validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEhE,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,UAAU,oBAAoB;IAC1B,SAAS,EAAE,kBAAkB,CAAC;IAC9B,OAAO,EAAE,kBAAkB,CAAC;CAC/B;AAkBD,eAAO,MAAM,cAAc;;8CAImB,MAAM;wBAG5B,MAAM;wBAEN,MAAM;qBAET,MAAM;sCAEW,MAAM;gCAMZ,MAAM;gDAQf,MAAM;;;wBAUL,IAAI,GAAG,IAAI;kCAID,oBAAoB;8DAQlC,SAAS,GAAG,SAAS;2DAKrB,SAAS,GAAG,SAAS;4CAOG,MAAM,WAAW,SAAS,GAAG,SAAS;0BAUxD,MAAM;8BAEF,MAAM,UAAU,MAAM,WAAW,MAAM;2BAG1C,MAAM,aAAa,MAAM,GAAG,GAAG,EAAE,GAAG,SAAS;2BAG7C,MAAM,aAAa,MAAM,GAAG,GAAG,EAAE,GAAG,SAAS;+BAGzC,MAAM,aAAa,MAAM,GAAG,GAAG,EAAE,GAAG,SAAS;CAE3E,CAAC"}
1
+ {"version":3,"file":"form-validators.d.ts","sourceRoot":"","sources":["../src/form-validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEhE,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,UAAU,oBAAoB;IAC1B,SAAS,EAAE,kBAAkB,CAAC;IAC9B,OAAO,EAAE,kBAAkB,CAAC;CAC/B;AAkBD,eAAO,MAAM,cAAc;uBACJ,UAAU;8CAGa,MAAM,cAAc,UAAU;wBAGpD,MAAM;wBAEN,MAAM;qBAET,MAAM;sCAEW,MAAM;gCAMZ,MAAM;gDAQf,MAAM;;;wBAUL,IAAI,GAAG,IAAI;kCAID,oBAAoB;8DAQlC,SAAS,GAAG,SAAS;2DAKrB,SAAS,GAAG,SAAS;4CAOG,MAAM,WAAW,SAAS,GAAG,SAAS;0BAUxD,MAAM;8BAEF,MAAM,UAAU,MAAM,WAAW,MAAM;2BAG1C,MAAM,aAAa,MAAM,GAAG,GAAG,EAAE,GAAG,SAAS;2BAG7C,MAAM,aAAa,MAAM,GAAG,GAAG,EAAE,GAAG,SAAS;+BAGzC,MAAM,aAAa,MAAM,GAAG,GAAG,EAAE,GAAG,SAAS;CAE3E,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@servicetitan/form-state",
3
- "version": "23.0.1",
3
+ "version": "23.0.3",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,7 +15,7 @@
15
15
  "src"
16
16
  ],
17
17
  "devDependencies": {
18
- "@servicetitan/data-query": "^23.0.1",
18
+ "@servicetitan/data-query": "^23.0.3",
19
19
  "@servicetitan/design-system": ">=12.4.1",
20
20
  "@types/debounce": "~1.2.1",
21
21
  "@types/react": "~17.0.38",
@@ -25,7 +25,7 @@
25
25
  "react": "^17.0.2"
26
26
  },
27
27
  "peerDependencies": {
28
- "@servicetitan/data-query": "^23.0.1",
28
+ "@servicetitan/data-query": "^23.0.3",
29
29
  "@servicetitan/design-system": ">=12.4.1",
30
30
  "formstate": "^2.1.0",
31
31
  "mobx": "^6.6.0",
@@ -41,5 +41,5 @@
41
41
  "cli": {
42
42
  "webpack": false
43
43
  },
44
- "gitHead": "4387cde88bad7da178f3a7ad846b941170c5c874"
44
+ "gitHead": "ea48b63b80127226d0fc4278e64997e37a39f4a7"
45
45
  }
package/CHANGELOG.md DELETED
@@ -1,84 +0,0 @@
1
- # v23.0.0 (Fri Sep 09 2022)
2
-
3
- #### 💥 Breaking Change
4
-
5
- - DS-1141: Updating dependencies for design-system, tokens, formstate, etc [#150](https://github.com/servicetitan/anvil-uikit-contrib/pull/150) ([@rgdelato](https://github.com/rgdelato))
6
-
7
- #### Authors: 1
8
-
9
- - Ryan De La Torre ([@rgdelato](https://github.com/rgdelato))
10
-
11
- ---
12
-
13
- # v22.5.0 (Wed Aug 31 2022)
14
-
15
- :tada: This release contains work from a new contributor! :tada:
16
-
17
- Thank you, Sergei Lipin ([@prchaoz](https://github.com/prchaoz)), for all your work!
18
-
19
- ---
20
-
21
- # v22.4.5 (Thu Jul 28 2022)
22
-
23
- #### 🐛 Bug Fix
24
-
25
- - fix: see if it triggers release for a conventional commit ([@kanoshin](https://github.com/kanoshin))
26
-
27
- #### Authors: 1
28
-
29
- - Kirill Anoshin ([@kanoshin](https://github.com/kanoshin))
30
-
31
- ---
32
-
33
- # v22.4.4 (Thu Jul 28 2022)
34
-
35
- #### 🐛 Bug Fix
36
-
37
- - Trigger release [#139](https://github.com/servicetitan/anvil-uikit-contrib/pull/139) ([@kanoshin](https://github.com/kanoshin))
38
-
39
- #### ⚠️ Pushed to `master`
40
-
41
- - Export additional helpers from form-state ([@kanoshin](https://github.com/kanoshin))
42
-
43
- #### Authors: 1
44
-
45
- - Kirill Anoshin ([@kanoshin](https://github.com/kanoshin))
46
-
47
- ---
48
-
49
- # v22.4.2 (Thu Jul 28 2022)
50
-
51
- #### 🐛 Bug Fix
52
-
53
- - Fix form-state versioning [#138](https://github.com/servicetitan/anvil-uikit-contrib/pull/138) ([@kanoshin](https://github.com/kanoshin))
54
-
55
- #### Authors: 1
56
-
57
- - Kirill Anoshin ([@kanoshin](https://github.com/kanoshin))
58
-
59
- ---
60
-
61
- # v22.4.1 (Thu Jul 21 2022)
62
-
63
- #### 🐛 Bug Fix
64
-
65
- - Test release with new NPM token [#135](https://github.com/servicetitan/anvil-uikit-contrib/pull/135) ([@kanoshin](https://github.com/kanoshin))
66
-
67
- #### Authors: 1
68
-
69
- - Kirill Anoshin ([@kanoshin](https://github.com/kanoshin))
70
-
71
- ---
72
-
73
- # v22.4.0 (Tue Jul 12 2022)
74
-
75
- #### 🚀 Enhancement
76
-
77
- - [FAR-975] move form state helpers to separate package [#123](https://github.com/servicetitan/anvil-uikit-contrib/pull/123) ([@karpoff-titan](https://github.com/karpoff-titan))
78
-
79
- #### Authors: 1
80
-
81
- - Anton Karpov ([@karpoff-titan](https://github.com/karpoff-titan))
82
-
83
- ---
84
-