@servicetitan/form 21.7.2 → 22.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +639 -0
- package/dist/date-range-picker/date-range-picker.d.ts +2 -2
- package/dist/date-range-picker/date-range-picker.d.ts.map +1 -1
- package/dist/file-uploader/file-uploader.d.ts +2 -2
- package/dist/file-uploader/file-uploader.d.ts.map +1 -1
- package/dist/form-validators.d.ts +2 -2
- package/dist/form-validators.d.ts.map +1 -1
- package/package.json +13 -13
package/CHANGELOG.md
ADDED
@@ -0,0 +1,639 @@
|
|
1
|
+
# v22.1.0 (Mon Jun 27 2022)
|
2
|
+
|
3
|
+
#### 🐛 Bug Fix
|
4
|
+
|
5
|
+
- OPT-3600: Sales factor is rounding to 1.0 after 1.9 when entering digits 5-9 (hot-fix) [#114](https://github.com/servicetitan/anvil-uikit-contrib/pull/114) ([@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.0.1 (Tue Jun 21 2022)
|
14
|
+
|
15
|
+
#### 🐛 Bug Fix
|
16
|
+
|
17
|
+
- FAR-823: Migrating uikit components [#106](https://github.com/servicetitan/anvil-uikit-contrib/pull/106) ([@rgdelato](https://github.com/rgdelato) github-actions@github.com)
|
18
|
+
|
19
|
+
#### Authors: 2
|
20
|
+
|
21
|
+
- github-actions (github-actions@github.com)
|
22
|
+
- Ryan De La Torre ([@rgdelato](https://github.com/rgdelato))
|
23
|
+
|
24
|
+
---
|
25
|
+
|
26
|
+
# v21.6.0 (Mon May 09 2022)
|
27
|
+
|
28
|
+
### Release Notes
|
29
|
+
|
30
|
+
#### Bump @servicetitan packages from 11.5.1 to 11.6.0 ([#1439](https://github.com/servicetitan/uikit/pull/1439))
|
31
|
+
|
32
|
+
#### Font Update: Bold Sofia to use the real bold instead of medium ([#2430](https://github.com/servicetitan/anvil/pull/2430))
|
33
|
+
|
34
|
+
To solve inconsistency/mismatch of weight definition on web implementation, using `font-weight: bold;` use to default to `600` which is not the norm and has bug report about it from devs, we are changing `bold` to be true bold which is `700`. From UX standpoint this is also solving visual hierarchy issue when Sofia Pro Medium and Nunito Sans Regular were not distinctive enough when they are similar in size.
|
35
|
+
|
36
|
+
More info here: https://www.figma.com/file/LZ56wcBF6xF2HpWx1MiNuq/Font-style-update?node-id=217%3A126
|
37
|
+
|
38
|
+
---
|
39
|
+
|
40
|
+
#### 🚀 Enhancement
|
41
|
+
|
42
|
+
- Time Picker to support 24-hour format [#2434](https://github.com/servicetitan/anvil/pull/2434) ([@yakunins](https://github.com/yakunins))
|
43
|
+
- Adds Drag and Drop Icon [#2443](https://github.com/servicetitan/anvil/pull/2443) ([@jpex](https://github.com/jpex))
|
44
|
+
- InlineEdit: Show truncated items as the title for the `+X` tag [#2439](https://github.com/servicetitan/anvil/pull/2439) ([@tounsoo](https://github.com/tounsoo))
|
45
|
+
- AnvilSelect Drillin Footer needs custom className [#2433](https://github.com/servicetitan/anvil/pull/2433) ([@blalond](https://github.com/blalond))
|
46
|
+
|
47
|
+
#### 💅 Visual Update
|
48
|
+
|
49
|
+
- Font Update: Bold Sofia to use the real bold instead of medium [#2430](https://github.com/servicetitan/anvil/pull/2430) ([@tounsoo](https://github.com/tounsoo))
|
50
|
+
- Filter Button: fix filter button wrapping weird in small space [#2436](https://github.com/servicetitan/anvil/pull/2436) ([@tounsoo](https://github.com/tounsoo))
|
51
|
+
- ActionMenu: icon color to work with theme variables [#2435](https://github.com/servicetitan/anvil/pull/2435) ([@tounsoo](https://github.com/tounsoo))
|
52
|
+
- Tag: Update subtle default text and icon color to work with dark mode [#2425](https://github.com/servicetitan/anvil/pull/2425) ([@tounsoo](https://github.com/tounsoo))
|
53
|
+
|
54
|
+
#### 📝 Documentation
|
55
|
+
|
56
|
+
- Table: showcase right-aligned column [#2441](https://github.com/servicetitan/anvil/pull/2441) ([@yakunins](https://github.com/yakunins))
|
57
|
+
- Gatsby: infinite resizing loop at Filter Button All Filter example [#2438](https://github.com/servicetitan/anvil/pull/2438) ([@yakunins](https://github.com/yakunins))
|
58
|
+
- Some examples in docs to be properly rendered in Codesandbox [#2429](https://github.com/servicetitan/anvil/pull/2429) ([@yakunins](https://github.com/yakunins))
|
59
|
+
- Gatsby: update theming information [#2428](https://github.com/servicetitan/anvil/pull/2428) ([@tounsoo](https://github.com/tounsoo))
|
60
|
+
|
61
|
+
#### 🐛 Bug Fix
|
62
|
+
|
63
|
+
- DS-877: Updating onChange return values for "Select All/None" [#2332](https://github.com/servicetitan/anvil/pull/2332) ([@rgdelato](https://github.com/rgdelato))
|
64
|
+
|
65
|
+
#### 🏠 Internal
|
66
|
+
|
67
|
+
- Updating .nvmrc file to Node 16 [#2437](https://github.com/servicetitan/anvil/pull/2437) ([@rgdelato](https://github.com/rgdelato))
|
68
|
+
- DS-619: Adding kendo license file to root directory [#2440](https://github.com/servicetitan/anvil/pull/2440) ([@rgdelato](https://github.com/rgdelato))
|
69
|
+
- DS-995: Removing react-window dep from design-system package [#2432](https://github.com/servicetitan/anvil/pull/2432) ([@rgdelato](https://github.com/rgdelato))
|
70
|
+
- ButtonGroup: ThemeProvider compatibility [#2366](https://github.com/servicetitan/anvil/pull/2366) ([@tounsoo](https://github.com/tounsoo))
|
71
|
+
- Cleaner theme var method [#2431](https://github.com/servicetitan/anvil/pull/2431) ([@tounsoo](https://github.com/tounsoo) [@rgdelato](https://github.com/rgdelato))
|
72
|
+
|
73
|
+
#### ⚠️ Pushed to `master`
|
74
|
+
|
75
|
+
- Merge branch 'master' of github.com:servicetitan/anvil ([@tounsoo](https://github.com/tounsoo))
|
76
|
+
|
77
|
+
#### 📝 Dependencies
|
78
|
+
|
79
|
+
- Bump moment from 2.29.1 to 2.29.2 in /packages/design-system [#2426](https://github.com/servicetitan/anvil/pull/2426) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
80
|
+
|
81
|
+
#### Authors: 6
|
82
|
+
|
83
|
+
- [@dependabot[bot]](https://github.com/dependabot[bot])
|
84
|
+
- Ben Ho ([@tounsoo](https://github.com/tounsoo))
|
85
|
+
- Brian LaLonde ([@blalond](https://github.com/blalond))
|
86
|
+
- James C ([@jpex](https://github.com/jpex))
|
87
|
+
- Ryan De La Torre ([@rgdelato](https://github.com/rgdelato))
|
88
|
+
- Sergey Yakunin ([@yakunins](https://github.com/yakunins))
|
89
|
+
|
90
|
+
</blockquote>
|
91
|
+
</details>
|
92
|
+
|
93
|
+
<em><code>servicetitan/anvil</code>'s top-level, root <a href="https://github.com/servicetitan/anvil/blob/v11.6.0/CHANGELOG.md">CHANGELOG.md</a></em>
|
94
|
+
|
95
|
+
---
|
96
|
+
|
97
|
+
#### 🚀 Enhancement
|
98
|
+
|
99
|
+
- Form: [FAR-952] accept other properties of File Picker in File Uploader [#1440](https://github.com/servicetitan/uikit/pull/1440) ([@NKrasnov-ST](https://github.com/NKrasnov-ST))
|
100
|
+
|
101
|
+
#### 🔩 Dependency Updates
|
102
|
+
|
103
|
+
- Bump @servicetitan packages from 11.5.1 to 11.6.0 [#1439](https://github.com/servicetitan/uikit/pull/1439) ([@rgdelato](https://github.com/rgdelato) [@ServiceTitanTeamCity](https://github.com/ServiceTitanTeamCity))
|
104
|
+
- Bump mobx-react from 7.3.0 to 7.4.0 [#1438](https://github.com/servicetitan/uikit/pull/1438) ([@rgdelato](https://github.com/rgdelato) [@ServiceTitanTeamCity](https://github.com/ServiceTitanTeamCity))
|
105
|
+
|
106
|
+
#### Authors: 3
|
107
|
+
|
108
|
+
- Nikita Krasnov ([@NKrasnov-ST](https://github.com/NKrasnov-ST))
|
109
|
+
- Ryan De La Torre ([@rgdelato](https://github.com/rgdelato))
|
110
|
+
- ServiceTitan TeamCity ([@ServiceTitanTeamCity](https://github.com/ServiceTitanTeamCity))
|
111
|
+
|
112
|
+
---
|
113
|
+
|
114
|
+
# v21.5.0 (Thu Apr 28 2022)
|
115
|
+
|
116
|
+
#### 🔩 Dependency Updates
|
117
|
+
|
118
|
+
- Bump moment from 2.29.2 to 2.29.3 [#1411](https://github.com/servicetitan/uikit/pull/1411) ([@rgdelato](https://github.com/rgdelato) [@ServiceTitanTeamCity](https://github.com/ServiceTitanTeamCity))
|
119
|
+
- Bump @servicetitan packages from 11.5.0 to 11.5.1 [#1410](https://github.com/servicetitan/uikit/pull/1410) ([@rgdelato](https://github.com/rgdelato) [@ServiceTitanTeamCity](https://github.com/ServiceTitanTeamCity))
|
120
|
+
|
121
|
+
#### Authors: 2
|
122
|
+
|
123
|
+
- Ryan De La Torre ([@rgdelato](https://github.com/rgdelato))
|
124
|
+
- ServiceTitan TeamCity ([@ServiceTitanTeamCity](https://github.com/ServiceTitanTeamCity))
|
125
|
+
|
126
|
+
---
|
127
|
+
|
128
|
+
# v21.4.1 (Wed Apr 06 2022)
|
129
|
+
|
130
|
+
#### 🔩 Dependency Updates
|
131
|
+
|
132
|
+
- Bump @servicetitan packages from 11.4.2 to 11.5.0 [#1396](https://github.com/servicetitan/uikit/pull/1396) ([@rgdelato](https://github.com/rgdelato) [@ServiceTitanTeamCity](https://github.com/ServiceTitanTeamCity))
|
133
|
+
- Bump moment from 2.29.1 to 2.29.2 [#1392](https://github.com/servicetitan/uikit/pull/1392) ([@rgdelato](https://github.com/rgdelato) [@ServiceTitanTeamCity](https://github.com/ServiceTitanTeamCity))
|
134
|
+
|
135
|
+
#### Authors: 2
|
136
|
+
|
137
|
+
- Ryan De La Torre ([@rgdelato](https://github.com/rgdelato))
|
138
|
+
- ServiceTitan TeamCity ([@ServiceTitanTeamCity](https://github.com/ServiceTitanTeamCity))
|
139
|
+
|
140
|
+
---
|
141
|
+
|
142
|
+
# v21.3.0 (Mon Mar 21 2022)
|
143
|
+
|
144
|
+
#### 🔩 Dependency Updates
|
145
|
+
|
146
|
+
- Bump @servicetitan packages from 11.4.1 to 11.4.2 [#1371](https://github.com/servicetitan/uikit/pull/1371) ([@rgdelato](https://github.com/rgdelato))
|
147
|
+
|
148
|
+
#### Authors: 1
|
149
|
+
|
150
|
+
- Ryan De La Torre ([@rgdelato](https://github.com/rgdelato))
|
151
|
+
|
152
|
+
---
|
153
|
+
|
154
|
+
# v21.2.0 (Thu Mar 17 2022)
|
155
|
+
|
156
|
+
#### 🔩 Dependency Updates
|
157
|
+
|
158
|
+
- Bump mobx from 6.4.2 to 6.5.0 [#1369](https://github.com/servicetitan/uikit/pull/1369) ([@rgdelato](https://github.com/rgdelato))
|
159
|
+
|
160
|
+
#### Authors: 1
|
161
|
+
|
162
|
+
- Ryan De La Torre ([@rgdelato](https://github.com/rgdelato))
|
163
|
+
|
164
|
+
---
|
165
|
+
|
166
|
+
# v21.0.0 (Tue Mar 15 2022)
|
167
|
+
|
168
|
+
#### 🐛 Bug Fix
|
169
|
+
|
170
|
+
- Notifications: fix compatibility with anvil 11.4.0 [#1361](https://github.com/servicetitan/uikit/pull/1361) ([@kanoshin](https://github.com/kanoshin))
|
171
|
+
|
172
|
+
#### Authors: 1
|
173
|
+
|
174
|
+
- Kirill Anoshin ([@kanoshin](https://github.com/kanoshin))
|
175
|
+
|
176
|
+
---
|
177
|
+
|
178
|
+
# v20.2.0 (Tue Mar 01 2022)
|
179
|
+
|
180
|
+
#### 🔩 Dependency Updates
|
181
|
+
|
182
|
+
- Bump mobx from 6.4.1 to 6.4.2 [#1341](https://github.com/servicetitan/uikit/pull/1341) ([@rgdelato](https://github.com/rgdelato) [@ServiceTitanTeamCity](https://github.com/ServiceTitanTeamCity))
|
183
|
+
- Bump mobx from 6.3.13 to 6.4.1 [#1332](https://github.com/servicetitan/uikit/pull/1332) ([@rgdelato](https://github.com/rgdelato) [@ServiceTitanTeamCity](https://github.com/ServiceTitanTeamCity))
|
184
|
+
- Bump mobx-react from 7.2.1 to 7.3.0 [#1331](https://github.com/servicetitan/uikit/pull/1331) ([@rgdelato](https://github.com/rgdelato) [@ServiceTitanTeamCity](https://github.com/ServiceTitanTeamCity))
|
185
|
+
- Bump @servicetitan packages from 11.3.0 to 11.3.1 [#1317](https://github.com/servicetitan/uikit/pull/1317) ([@rgdelato](https://github.com/rgdelato) [@ServiceTitanTeamCity](https://github.com/ServiceTitanTeamCity))
|
186
|
+
- Bump @servicetitan packages from 11.2.0 to 11.3.0 [#1315](https://github.com/servicetitan/uikit/pull/1315) ([@rgdelato](https://github.com/rgdelato) [@ServiceTitanTeamCity](https://github.com/ServiceTitanTeamCity))
|
187
|
+
|
188
|
+
#### Authors: 2
|
189
|
+
|
190
|
+
- Ryan De La Torre ([@rgdelato](https://github.com/rgdelato))
|
191
|
+
- ServiceTitan TeamCity ([@ServiceTitanTeamCity](https://github.com/ServiceTitanTeamCity))
|
192
|
+
|
193
|
+
---
|
194
|
+
|
195
|
+
# v20.1.0 (Thu Jan 27 2022)
|
196
|
+
|
197
|
+
:tada: This release contains work from a new contributor! :tada:
|
198
|
+
|
199
|
+
Thank you, ServiceTitan TeamCity ([@ServiceTitanTeamCity](https://github.com/ServiceTitanTeamCity)), for all your work!
|
200
|
+
|
201
|
+
#### 🚀 Enhancement
|
202
|
+
|
203
|
+
- Bump @servicetitan packages from 11.1.1 to 11.2.0 [#1285](https://github.com/servicetitan/uikit/pull/1285) ([@rgdelato](https://github.com/rgdelato) [@ServiceTitanTeamCity](https://github.com/ServiceTitanTeamCity))
|
204
|
+
|
205
|
+
#### 🐛 Bug Fix
|
206
|
+
|
207
|
+
- Form: fix date-range-picker focus calculation (FAR-898) [#1300](https://github.com/servicetitan/uikit/pull/1300) ([@aschumahua](https://github.com/aschumahua))
|
208
|
+
- Bump mobx from 6.3.12 to 6.3.13 [#1284](https://github.com/servicetitan/uikit/pull/1284) ([@rgdelato](https://github.com/rgdelato) [@ServiceTitanTeamCity](https://github.com/ServiceTitanTeamCity))
|
209
|
+
- Bump @servicetitan packages from 11.1.0 to 11.1.1 [#1264](https://github.com/servicetitan/uikit/pull/1264) ([@rgdelato](https://github.com/rgdelato) [@ServiceTitanTeamCity](https://github.com/ServiceTitanTeamCity))
|
210
|
+
|
211
|
+
#### ⚠️ Pushed to `master`
|
212
|
+
|
213
|
+
- Merge branch 'fp/FAR-893' into master ([@rgdelato](https://github.com/rgdelato))
|
214
|
+
|
215
|
+
#### Authors: 3
|
216
|
+
|
217
|
+
- Anzar Schumahua ([@aschumahua](https://github.com/aschumahua))
|
218
|
+
- Ryan De La Torre ([@rgdelato](https://github.com/rgdelato))
|
219
|
+
- ServiceTitan TeamCity ([@ServiceTitanTeamCity](https://github.com/ServiceTitanTeamCity))
|
220
|
+
|
221
|
+
---
|
222
|
+
|
223
|
+
# v20.0.0 (Thu Jan 13 2022)
|
224
|
+
|
225
|
+
#### 💥 Breaking Change
|
226
|
+
|
227
|
+
- Startup: chunking support for the web components [#1184](https://github.com/servicetitan/uikit/pull/1184) ([@xarety](https://github.com/xarety))
|
228
|
+
|
229
|
+
#### 🔩 Dependency Updates
|
230
|
+
|
231
|
+
- Bump mobx from 6.3.10 to 6.3.12 [#1237](https://github.com/servicetitan/uikit/pull/1237) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
232
|
+
- Bump @types/uuid from 8.3.3 to 8.3.4 [#1238](https://github.com/servicetitan/uikit/pull/1238) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
233
|
+
|
234
|
+
#### Authors: 2
|
235
|
+
|
236
|
+
- [@dependabot[bot]](https://github.com/dependabot[bot])
|
237
|
+
- Denis Gordeev ([@xarety](https://github.com/xarety))
|
238
|
+
|
239
|
+
---
|
240
|
+
|
241
|
+
# v19.4.0 (Mon Jan 10 2022)
|
242
|
+
|
243
|
+
#### 🔩 Dependency Updates
|
244
|
+
|
245
|
+
- Bump @types/react from 17.0.37 to 17.0.38 [#1209](https://github.com/servicetitan/uikit/pull/1209) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
246
|
+
- Bump mobx from 6.3.8 to 6.3.10 [#1205](https://github.com/servicetitan/uikit/pull/1205) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
247
|
+
|
248
|
+
#### Authors: 1
|
249
|
+
|
250
|
+
- [@dependabot[bot]](https://github.com/dependabot[bot])
|
251
|
+
|
252
|
+
---
|
253
|
+
|
254
|
+
# v19.3.0 (Tue Dec 21 2021)
|
255
|
+
|
256
|
+
#### 🚀 Enhancement
|
257
|
+
|
258
|
+
- Form: added formatChars prop drilling into masked input [#1183](https://github.com/servicetitan/uikit/pull/1183) ([@da1z](https://github.com/da1z))
|
259
|
+
|
260
|
+
#### Authors: 1
|
261
|
+
|
262
|
+
- Kiryl Chetyrbak ([@da1z](https://github.com/da1z))
|
263
|
+
|
264
|
+
---
|
265
|
+
|
266
|
+
# v19.2.0 (Wed Dec 15 2021)
|
267
|
+
|
268
|
+
#### 🔩 Dependency Updates
|
269
|
+
|
270
|
+
- Bump @types/react from 17.0.36 to 17.0.37 [#1129](https://github.com/servicetitan/uikit/pull/1129) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
271
|
+
|
272
|
+
#### Authors: 1
|
273
|
+
|
274
|
+
- [@dependabot[bot]](https://github.com/dependabot[bot])
|
275
|
+
|
276
|
+
---
|
277
|
+
|
278
|
+
# v19.1.0 (Wed Dec 08 2021)
|
279
|
+
|
280
|
+
#### 🔩 Dependency Updates
|
281
|
+
|
282
|
+
- Bump mobx from 6.3.7 to 6.3.8 [#1136](https://github.com/servicetitan/uikit/pull/1136) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
283
|
+
- Bump @types/uuid from 8.3.1 to 8.3.3 [#1105](https://github.com/servicetitan/uikit/pull/1105) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
284
|
+
- Bump @types/react from 17.0.35 to 17.0.36 [#1113](https://github.com/servicetitan/uikit/pull/1113) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
285
|
+
|
286
|
+
#### Authors: 1
|
287
|
+
|
288
|
+
- [@dependabot[bot]](https://github.com/dependabot[bot])
|
289
|
+
|
290
|
+
---
|
291
|
+
|
292
|
+
# v19.0.0 (Wed Nov 24 2021)
|
293
|
+
|
294
|
+
#### 🔩 Dependency Updates
|
295
|
+
|
296
|
+
- Bump @types/react from 17.0.34 to 17.0.35 [#1089](https://github.com/servicetitan/uikit/pull/1089) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
297
|
+
|
298
|
+
#### Authors: 1
|
299
|
+
|
300
|
+
- [@dependabot[bot]](https://github.com/dependabot[bot])
|
301
|
+
|
302
|
+
---
|
303
|
+
|
304
|
+
# v18.1.0 (Wed Nov 17 2021)
|
305
|
+
|
306
|
+
#### 🔩 Dependency Updates
|
307
|
+
|
308
|
+
- Bump @types/react from 17.0.33 to 17.0.34 [#1063](https://github.com/servicetitan/uikit/pull/1063) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
309
|
+
|
310
|
+
#### Authors: 1
|
311
|
+
|
312
|
+
- [@dependabot[bot]](https://github.com/dependabot[bot])
|
313
|
+
|
314
|
+
---
|
315
|
+
|
316
|
+
# v18.0.0 (Mon Nov 15 2021)
|
317
|
+
|
318
|
+
#### 💥 Breaking Change
|
319
|
+
|
320
|
+
- Table: fix filters ui regression [#1068](https://github.com/servicetitan/uikit/pull/1068) ([@xarety](https://github.com/xarety))
|
321
|
+
|
322
|
+
#### Authors: 1
|
323
|
+
|
324
|
+
- Denis Gordeev ([@xarety](https://github.com/xarety))
|
325
|
+
|
326
|
+
---
|
327
|
+
|
328
|
+
# v17.5.0 (Fri Nov 12 2021)
|
329
|
+
|
330
|
+
#### 🚀 Enhancement
|
331
|
+
|
332
|
+
- Log service: improve error logging for unexpected usages [#1083](https://github.com/servicetitan/uikit/pull/1083) ([@kanoshin](https://github.com/kanoshin))
|
333
|
+
|
334
|
+
#### 🔩 Dependency Updates
|
335
|
+
|
336
|
+
- Bump mobx from 6.3.6 to 6.3.7 [#1085](https://github.com/servicetitan/uikit/pull/1085) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
337
|
+
|
338
|
+
#### Authors: 2
|
339
|
+
|
340
|
+
- [@dependabot[bot]](https://github.com/dependabot[bot])
|
341
|
+
- Kirill Anoshin ([@kanoshin](https://github.com/kanoshin))
|
342
|
+
|
343
|
+
---
|
344
|
+
|
345
|
+
# v17.3.1 (Wed Nov 03 2021)
|
346
|
+
|
347
|
+
#### 🔩 Dependency Updates
|
348
|
+
|
349
|
+
- Bump dependencies [#1062](https://github.com/servicetitan/uikit/pull/1062) ([@xarety](https://github.com/xarety))
|
350
|
+
|
351
|
+
#### Authors: 1
|
352
|
+
|
353
|
+
- Denis Gordeev ([@xarety](https://github.com/xarety))
|
354
|
+
|
355
|
+
---
|
356
|
+
|
357
|
+
# v17.2.1 (Tue Oct 26 2021)
|
358
|
+
|
359
|
+
#### 🔩 Dependency Updates
|
360
|
+
|
361
|
+
- Bump @types/react from 17.0.32 to 17.0.33 [#1041](https://github.com/servicetitan/uikit/pull/1041) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
362
|
+
- Bump @types/react from 17.0.30 to 17.0.32 [#1033](https://github.com/servicetitan/uikit/pull/1033) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
363
|
+
- Bump mobx from 6.3.3 to 6.3.5 [#998](https://github.com/servicetitan/uikit/pull/998) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
364
|
+
- Bump @servicetitan/tokens from 10.3.3 to 10.5.0 [#1002](https://github.com/servicetitan/uikit/pull/1002) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
365
|
+
- Bump mobx-react from 7.2.0 to 7.2.1 [#997](https://github.com/servicetitan/uikit/pull/997) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
366
|
+
- Bump @types/react from 17.0.27 to 17.0.30 [#996](https://github.com/servicetitan/uikit/pull/996) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
367
|
+
|
368
|
+
#### Authors: 1
|
369
|
+
|
370
|
+
- [@dependabot[bot]](https://github.com/dependabot[bot])
|
371
|
+
|
372
|
+
---
|
373
|
+
|
374
|
+
# v17.2.0 (Thu Oct 14 2021)
|
375
|
+
|
376
|
+
#### 🐛 Bug Fix
|
377
|
+
|
378
|
+
- Culture: make some fields optional [#958](https://github.com/servicetitan/uikit/pull/958) ([@aschumahua](https://github.com/aschumahua) [@xarety](https://github.com/xarety))
|
379
|
+
|
380
|
+
#### Authors: 2
|
381
|
+
|
382
|
+
- Anzar Schumahua ([@aschumahua](https://github.com/aschumahua))
|
383
|
+
- Denis Gordeev ([@xarety](https://github.com/xarety))
|
384
|
+
|
385
|
+
---
|
386
|
+
|
387
|
+
# v17.1.1 (Tue Oct 05 2021)
|
388
|
+
|
389
|
+
#### 🐛 Bug Fix
|
390
|
+
|
391
|
+
- FAR-793: Adding debounce to NumberInput min/max clamp [#936](https://github.com/servicetitan/uikit/pull/936) ([@rgdelato](https://github.com/rgdelato))
|
392
|
+
|
393
|
+
#### 🔩 Dependency Updates
|
394
|
+
|
395
|
+
- Bump @types/react from 17.0.26 to 17.0.27 [#949](https://github.com/servicetitan/uikit/pull/949) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
396
|
+
|
397
|
+
#### Authors: 2
|
398
|
+
|
399
|
+
- [@dependabot[bot]](https://github.com/dependabot[bot])
|
400
|
+
- Ryan De La Torre ([@rgdelato](https://github.com/rgdelato))
|
401
|
+
|
402
|
+
---
|
403
|
+
|
404
|
+
# v17.1.0 (Sat Oct 02 2021)
|
405
|
+
|
406
|
+
#### 🔩 Dependency Updates
|
407
|
+
|
408
|
+
- Bump @types/react from 17.0.25 to 17.0.26 [#940](https://github.com/servicetitan/uikit/pull/940) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
409
|
+
|
410
|
+
#### Authors: 1
|
411
|
+
|
412
|
+
- [@dependabot[bot]](https://github.com/dependabot[bot])
|
413
|
+
|
414
|
+
---
|
415
|
+
|
416
|
+
# v17.0.0 (Thu Sep 30 2021)
|
417
|
+
|
418
|
+
#### 💥 Breaking Change
|
419
|
+
|
420
|
+
- Stylelint config: use-tokens rule [#837](https://github.com/servicetitan/uikit/pull/837) ([@xarety](https://github.com/xarety))
|
421
|
+
- ESLint config: `eslint-plugin-prettier` disables `curly` rule by default [#743](https://github.com/servicetitan/uikit/pull/743) ([@xarety](https://github.com/xarety))
|
422
|
+
|
423
|
+
#### 🔩 Dependency Updates
|
424
|
+
|
425
|
+
- Bump @servicetitan/design-system from 10.2.1 to 10.3.3 [#935](https://github.com/servicetitan/uikit/pull/935) ([@xarety](https://github.com/xarety))
|
426
|
+
|
427
|
+
#### Authors: 1
|
428
|
+
|
429
|
+
- Denis Gordeev ([@xarety](https://github.com/xarety))
|
430
|
+
|
431
|
+
---
|
432
|
+
|
433
|
+
# v16.1.0 (Wed Sep 29 2021)
|
434
|
+
|
435
|
+
#### 🔩 Dependency Updates
|
436
|
+
|
437
|
+
- Bump @types/debounce from 1.2.0 to 1.2.1 [#884](https://github.com/servicetitan/uikit/pull/884) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
438
|
+
|
439
|
+
#### Authors: 1
|
440
|
+
|
441
|
+
- [@dependabot[bot]](https://github.com/dependabot[bot])
|
442
|
+
|
443
|
+
---
|
444
|
+
|
445
|
+
# v16.0.2 (Mon Sep 27 2021)
|
446
|
+
|
447
|
+
#### 🐛 Bug Fix
|
448
|
+
|
449
|
+
- Form: fix Node/SSR issue for DateRangePicker [#919](https://github.com/servicetitan/uikit/pull/919) ([@xarety](https://github.com/xarety))
|
450
|
+
|
451
|
+
#### Authors: 1
|
452
|
+
|
453
|
+
- Denis Gordeev ([@xarety](https://github.com/xarety))
|
454
|
+
|
455
|
+
---
|
456
|
+
|
457
|
+
# v16.0.0 (Fri Sep 24 2021)
|
458
|
+
|
459
|
+
#### 🐛 Bug Fix
|
460
|
+
|
461
|
+
- Running React imports codemod [#902](https://github.com/servicetitan/uikit/pull/902) ([@rgdelato](https://github.com/rgdelato))
|
462
|
+
|
463
|
+
#### 🔩 Dependency Updates
|
464
|
+
|
465
|
+
- Bump @types/react from 17.0.21 to 17.0.24 [#897](https://github.com/servicetitan/uikit/pull/897) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
466
|
+
- Bump @types/react from 17.0.20 to 17.0.21 [#860](https://github.com/servicetitan/uikit/pull/860) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
467
|
+
- Bump @servicetitan/design-system from 10.1.0 to 10.2.1 [#858](https://github.com/servicetitan/uikit/pull/858) ([@xarety](https://github.com/xarety))
|
468
|
+
- Bump @types/react from 17.0.19 to 17.0.20 [#817](https://github.com/servicetitan/uikit/pull/817) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
469
|
+
- Bump mobx from 6.3.2 to 6.3.3 [#803](https://github.com/servicetitan/uikit/pull/803) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
470
|
+
|
471
|
+
#### Authors: 3
|
472
|
+
|
473
|
+
- [@dependabot[bot]](https://github.com/dependabot[bot])
|
474
|
+
- Denis Gordeev ([@xarety](https://github.com/xarety))
|
475
|
+
- Ryan De La Torre ([@rgdelato](https://github.com/rgdelato))
|
476
|
+
|
477
|
+
---
|
478
|
+
|
479
|
+
# v15.0.0 (Tue Sep 14 2021)
|
480
|
+
|
481
|
+
:tada: This release contains work from a new contributor! :tada:
|
482
|
+
|
483
|
+
Thank you, Mike Kozhevnikov ([@mkozhevnikov](https://github.com/mkozhevnikov)), for all your work!
|
484
|
+
|
485
|
+
#### 🚀 Enhancement
|
486
|
+
|
487
|
+
- Form: DateRangePicker [#834](https://github.com/servicetitan/uikit/pull/834) ([@aschumahua](https://github.com/aschumahua) [@mkozhevnikov](https://github.com/mkozhevnikov))
|
488
|
+
- Form: InputDateMask [#838](https://github.com/servicetitan/uikit/pull/838) ([@aschumahua](https://github.com/aschumahua))
|
489
|
+
- Form: OrdinalNumberInput [#836](https://github.com/servicetitan/uikit/pull/836) ([@aschumahua](https://github.com/aschumahua))
|
490
|
+
- Form: PhoneNumberInput [#835](https://github.com/servicetitan/uikit/pull/835) ([@aschumahua](https://github.com/aschumahua))
|
491
|
+
|
492
|
+
#### Authors: 2
|
493
|
+
|
494
|
+
- Anzar Schumahua ([@aschumahua](https://github.com/aschumahua))
|
495
|
+
- Mike Kozhevnikov ([@mkozhevnikov](https://github.com/mkozhevnikov))
|
496
|
+
|
497
|
+
---
|
498
|
+
|
499
|
+
# v14.3.0 (Mon Aug 23 2021)
|
500
|
+
|
501
|
+
#### 🐛 Bug Fix
|
502
|
+
|
503
|
+
- Table: add missing kendo peer dependencies [#742](https://github.com/servicetitan/uikit/pull/742) ([@xarety](https://github.com/xarety))
|
504
|
+
|
505
|
+
#### 🔩 Dependency Updates
|
506
|
+
|
507
|
+
- Bump @types/react from 17.0.18 to 17.0.19 [#768](https://github.com/servicetitan/uikit/pull/768) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
508
|
+
- Bump @types/react from 17.0.17 to 17.0.18 [#760](https://github.com/servicetitan/uikit/pull/760) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
509
|
+
- Bump @types/react from 17.0.16 to 17.0.17 [#747](https://github.com/servicetitan/uikit/pull/747) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
510
|
+
|
511
|
+
#### Authors: 2
|
512
|
+
|
513
|
+
- [@dependabot[bot]](https://github.com/dependabot[bot])
|
514
|
+
- Denis Gordeev ([@xarety](https://github.com/xarety))
|
515
|
+
|
516
|
+
---
|
517
|
+
|
518
|
+
# v14.2.0 (Fri Aug 06 2021)
|
519
|
+
|
520
|
+
#### 🐛 Bug Fix
|
521
|
+
|
522
|
+
- Stylelint config: disable no-invalid-position-at-import-rule [#732](https://github.com/servicetitan/uikit/pull/732) ([@kanoshin](https://github.com/kanoshin))
|
523
|
+
|
524
|
+
#### 🔩 Dependency Updates
|
525
|
+
|
526
|
+
- Bump @types/react from 17.0.15 to 17.0.16 [#728](https://github.com/servicetitan/uikit/pull/728) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
527
|
+
|
528
|
+
#### Authors: 2
|
529
|
+
|
530
|
+
- [@dependabot[bot]](https://github.com/dependabot[bot])
|
531
|
+
- Kirill Anoshin ([@kanoshin](https://github.com/kanoshin))
|
532
|
+
|
533
|
+
---
|
534
|
+
|
535
|
+
# v14.1.1 (Thu Aug 05 2021)
|
536
|
+
|
537
|
+
#### 🔩 Dependency Updates
|
538
|
+
|
539
|
+
- Update dependencies [#705](https://github.com/servicetitan/uikit/pull/705) ([@xarety](https://github.com/xarety) [@kanoshin](https://github.com/kanoshin))
|
540
|
+
|
541
|
+
#### Authors: 2
|
542
|
+
|
543
|
+
- Denis Gordeev ([@xarety](https://github.com/xarety))
|
544
|
+
- Kirill Anoshin ([@kanoshin](https://github.com/kanoshin))
|
545
|
+
|
546
|
+
---
|
547
|
+
|
548
|
+
# v14.1.0 (Fri Jul 30 2021)
|
549
|
+
|
550
|
+
#### 🔩 Dependency Updates
|
551
|
+
|
552
|
+
- Bump @types/react from 17.0.9 to 17.0.14 [#652](https://github.com/servicetitan/uikit/pull/652) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
553
|
+
- Bump @servicetitan/tokens from 9.2.1 to 10.0.0 [#656](https://github.com/servicetitan/uikit/pull/656) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
554
|
+
|
555
|
+
#### Authors: 1
|
556
|
+
|
557
|
+
- [@dependabot[bot]](https://github.com/dependabot[bot])
|
558
|
+
|
559
|
+
---
|
560
|
+
|
561
|
+
# v14.0.0 (Fri Jul 23 2021)
|
562
|
+
|
563
|
+
#### 💥 Breaking Change
|
564
|
+
|
565
|
+
- Updating React 17 and react-jsx transform [#620](https://github.com/servicetitan/uikit/pull/620) ([@rgdelato](https://github.com/rgdelato) [@StreetStrider](https://github.com/StreetStrider) [@kanoshin](https://github.com/kanoshin))
|
566
|
+
|
567
|
+
#### Authors: 3
|
568
|
+
|
569
|
+
- Ivan Pukhtin ([@StreetStrider](https://github.com/StreetStrider))
|
570
|
+
- Kirill Anoshin ([@kanoshin](https://github.com/kanoshin))
|
571
|
+
- Ryan De La Torre ([@rgdelato](https://github.com/rgdelato))
|
572
|
+
|
573
|
+
---
|
574
|
+
|
575
|
+
# v12.7.0 (Tue Jul 13 2021)
|
576
|
+
|
577
|
+
#### 🚀 Enhancement
|
578
|
+
|
579
|
+
- Form: added array as type to length validators [#632](https://github.com/servicetitan/uikit/pull/632) ([@da1z](https://github.com/da1z))
|
580
|
+
|
581
|
+
#### Authors: 1
|
582
|
+
|
583
|
+
- Kiryl Chetyrbak ([@da1z](https://github.com/da1z))
|
584
|
+
|
585
|
+
---
|
586
|
+
|
587
|
+
# v12.5.0 (Wed Jun 16 2021)
|
588
|
+
|
589
|
+
:tada: This release contains work from a new contributor! :tada:
|
590
|
+
|
591
|
+
Thank you, Mike Kozhevnikov ([@mkozhevnikov](https://github.com/mkozhevnikov)), for all your work!
|
592
|
+
|
593
|
+
#### 🐛 Bug Fix
|
594
|
+
|
595
|
+
- Startup: WatchIgnorePlugin requires at least one value [#622](https://github.com/servicetitan/uikit/pull/622) ([@xarety](https://github.com/xarety))
|
596
|
+
- Hash browser router: correct basename handling [#616](https://github.com/servicetitan/uikit/pull/616) ([@xarety](https://github.com/xarety))
|
597
|
+
- FAR-792: Fixing existing subpackage CHANGELOG.md files [#621](https://github.com/servicetitan/uikit/pull/621) ([@rgdelato](https://github.com/rgdelato))
|
598
|
+
|
599
|
+
#### Authors: 2
|
600
|
+
|
601
|
+
- Denis Gordeev ([@xarety](https://github.com/xarety))
|
602
|
+
- Ryan De La Torre ([@rgdelato](https://github.com/rgdelato))
|
603
|
+
|
604
|
+
---
|
605
|
+
|
606
|
+
# v12.4.0 (Tue Jun 08 2021)
|
607
|
+
|
608
|
+
#### 🚀 Enhancement
|
609
|
+
|
610
|
+
- Form: DropdownState improvements [#540](https://github.com/servicetitan/uikit/pull/540) ([@aschumahua](https://github.com/aschumahua) [@xarety](https://github.com/xarety))
|
611
|
+
|
612
|
+
#### 🐛 Bug Fix
|
613
|
+
|
614
|
+
- Form: fix max date valid value [#531](https://github.com/servicetitan/uikit/pull/531) ([@NKrasnov-ST](https://github.com/NKrasnov-ST))
|
615
|
+
|
616
|
+
#### ⚠️ Pushed to `master`
|
617
|
+
|
618
|
+
- Undo fail publish consequences ([@xarety](https://github.com/xarety))
|
619
|
+
- Publish ([@xarety](https://github.com/xarety))
|
620
|
+
- Bump packages ([@xarety](https://github.com/xarety))
|
621
|
+
|
622
|
+
#### 🔩 Dependency Updates
|
623
|
+
|
624
|
+
- Bump @types/react from 17.0.8 to 17.0.9 [#607](https://github.com/servicetitan/uikit/pull/607) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
625
|
+
- Bump @types/react from 17.0.6 to 17.0.8 [#575](https://github.com/servicetitan/uikit/pull/575) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
626
|
+
- Bump @servicetitan/design-system from 9.2.0 to 9.2.1 [#596](https://github.com/servicetitan/uikit/pull/596) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
627
|
+
- Bump @servicetitan/tokens from 9.2.0 to 9.2.1 [#595](https://github.com/servicetitan/uikit/pull/595) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
628
|
+
- Bump @servicetitan/design-system from 9.1.0 to 9.2.0 [#557](https://github.com/servicetitan/uikit/pull/557) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
629
|
+
- Bump @servicetitan/tokens from 9.1.0 to 9.2.0 [#556](https://github.com/servicetitan/uikit/pull/556) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
630
|
+
- Bump mobx-react from 7.1.0 to 7.2.0 [#553](https://github.com/servicetitan/uikit/pull/553) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
631
|
+
- Bump @types/react from 17.0.5 to 17.0.6 [#551](https://github.com/servicetitan/uikit/pull/551) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
632
|
+
- Bump prettier from 2.2.1 to 2.3.0 [#534](https://github.com/servicetitan/uikit/pull/534) ([@dependabot[bot]](https://github.com/dependabot[bot]) [@xarety](https://github.com/xarety))
|
633
|
+
|
634
|
+
#### Authors: 4
|
635
|
+
|
636
|
+
- [@dependabot[bot]](https://github.com/dependabot[bot])
|
637
|
+
- Anzar Schumahua ([@aschumahua](https://github.com/aschumahua))
|
638
|
+
- Denis Gordeev ([@xarety](https://github.com/xarety))
|
639
|
+
- Nikita Krasnov ([@NKrasnov-ST](https://github.com/NKrasnov-ST))
|
@@ -38,8 +38,8 @@ export declare class DateRangePicker extends Component<DateRangePickerProps> {
|
|
38
38
|
componentDidMount(): void;
|
39
39
|
componentWillUnmount(): void;
|
40
40
|
handleChange: (event: DateRangePickerChangeEvent) => void;
|
41
|
-
handleFromChange: (from?: Date) => void;
|
42
|
-
handleToChange: (to?: Date) => void;
|
41
|
+
handleFromChange: (from?: Date | undefined) => void;
|
42
|
+
handleToChange: (to?: Date | undefined) => void;
|
43
43
|
render(): JSX.Element;
|
44
44
|
formatDate(date?: Date, inputFormat?: string): string;
|
45
45
|
handleHiddenInputChange: (ev: SyntheticEvent<HTMLInputElement>) => void;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"date-range-picker.d.ts","sourceRoot":"","sources":["../../src/date-range-picker/date-range-picker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACjE,OAAO,EAEH,0BAA0B,EAC1B,wBAAwB,EACxB,sBAAsB,EACtB,iBAAiB,EACjB,UAAU,EACb,MAAM,kCAAkC,CAAC;AAO1C,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,MAAM,WAAW,oBAAoB;IACjC,KAAK,EAAE,UAAU,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC;IACzC,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,eAAe,CAAC,EAAE,IAAI,CAAC;IACvB,eAAe,CAAC,EA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AIzB,iBAAiB,QAAS,KAAK,UAqB7B;IAEF,0BAA0B,aAExB;IAEF,eAAe,aAUb;IAEF,iBAAiB;IAIjB,oBAAoB;IAIpB,YAAY,UAAW,0BAA0B,UAQ/C;IAEF,gBAAgB,oCAQd;IAEF,cAAc,kCAQZ;IAEF,MAAM;IA8HN,UAAU,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,WAAW,SAAM;IAIzC,uBAAuB,OAAQ,eAAe,gBAAgB,CAAC,UAG7D;IAEF,IAAI,WAAW,qBAad;IAED,IAAI,SAAS,qBAYZ;CACJ"}
|
@@ -27,8 +27,8 @@ export declare class FileUploader extends Component<FileUploaderProps> {
|
|
27
27
|
addError(file: File, message?: string): void;
|
28
28
|
clearErrors(): void;
|
29
29
|
handleUploadProgress: (file: File, progress: number) => void;
|
30
|
-
handleUploadSuccess: (file: File, message?: string) => void;
|
31
|
-
handleUploadError: (file: File, message?: string) => void;
|
30
|
+
handleUploadSuccess: (file: File, message?: string | undefined) => void;
|
31
|
+
handleUploadError: (file: File, message?: string | undefined) => void;
|
32
32
|
componentDidMount(): void;
|
33
33
|
componentWillUnmount(): void;
|
34
34
|
handleDownload: (file: FileDescriptor) => void;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"file-uploader.d.ts","sourceRoot":"","sources":["../../src/file-uploader/file-uploader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAgB,MAAM,OAAO,CAAC;AAOhD,OAAO,EAAc,cAAc,EAAU,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAGlG,OAAO,EAAE,kBAAkB,EAAqC,MAAM,UAAU,CAAC;AACjF,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAQtC,UAAU,WAAW;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AA4BD,aAAK,uBAAuB,GAAG,UAAU,GAAG,YAAY,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AAY,GAAG,OAAO,CAAC;AAEhG,UAAU,iBAAkB,SAAQ,IAAI,CAAC,eAAe,EAAE,uBAAuB,CAAC;IAC9E,MAAM,CAAC,EAAE,kBAAkB,CAAC;IAC5B,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,CAAC,KAAK,EAAE,cAAc,EAAE,GAAG,IAAI,CAAC;CAC5C;AAED,qBACa,YAAa,SAAQ,SAAS,CAAC,iBAAiB,CAAC;IAC1D,MAAM,CAAC,YAAY;;MAEjB;IAIM,MAAM,CAAC,EAAE,kBAAkB,CAAC;IAExB,MAAM,EAAE,WAAW,EAAE,CAAM;IAEvC,QAAQ,EAAG,QAAQ,CAAC;gBAER,KAAK,EAAE,iBAAiB;IAMpC,QAAQ,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,CAAC,EAAE,MAAM;IASrC,WAAW;IAKX,oBAAoB,SAAU,IAAI,YAAY,MAAM,UAgBlD;IAGF,mBAAmB,SAAU,IAAI,wCAiB/B;IAGF,iBAAiB,SAAU,IAAI,wCAU7B;IAEF,iBAAiB;IAejB,oBAAoB;IAIpB,cAAc,SAAU,cAAc,UAWpC;IAEF,cAAc,UAAW,QAAQ,UAc/B;IAEF,aAAa;cAAyC,cAAc;iBAAW,IAAI;eAgBjF;IAEF,YAAY,aAAc,cAAc,UAQtC;IAEF,iBAAiB,aAEf;IAEF,MAAM;CAwDT"}
|
@@ -5,8 +5,8 @@ interface DateRangeFieldStates {
|
|
5
5
|
endDate: DatetimeFieldState;
|
6
6
|
}
|
7
7
|
export declare const FormValidators: {
|
8
|
-
required: (value?: FormValues) => string | false;
|
9
|
-
requiredWithCustomMessage: (errorMessage: string) => (value?: FormValues) => string | false;
|
8
|
+
required: (value?: FormValues | undefined) => string | false;
|
9
|
+
requiredWithCustomMessage: (errorMessage: string) => (value?: FormValues | undefined) => 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;AAcD,eAAO,MAAM,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;AAcD,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"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@servicetitan/form",
|
3
|
-
"version": "
|
3
|
+
"version": "22.1.0",
|
4
4
|
"description": "",
|
5
5
|
"homepage": "https://docs.st.dev/docs/frontend/form",
|
6
6
|
"repository": {
|
@@ -16,12 +16,12 @@
|
|
16
16
|
"src"
|
17
17
|
],
|
18
18
|
"devDependencies": {
|
19
|
-
"@servicetitan/confirm": "^
|
20
|
-
"@servicetitan/culture": "^
|
21
|
-
"@servicetitan/data-query": "^
|
22
|
-
"@servicetitan/design-system": "~11.
|
23
|
-
"@servicetitan/react-ioc": "^21.
|
24
|
-
"@servicetitan/tokens": "~11.
|
19
|
+
"@servicetitan/confirm": "^22.1.0",
|
20
|
+
"@servicetitan/culture": "^22.1.0",
|
21
|
+
"@servicetitan/data-query": "^22.1.0",
|
22
|
+
"@servicetitan/design-system": "~11.8.0",
|
23
|
+
"@servicetitan/react-ioc": "^21.6.0",
|
24
|
+
"@servicetitan/tokens": "~11.8.0",
|
25
25
|
"@types/debounce": "~1.2.1",
|
26
26
|
"@types/react": "~17.0.38",
|
27
27
|
"@types/react-input-mask": "~2.0.5",
|
@@ -36,12 +36,12 @@
|
|
36
36
|
"resumablejs": "~1.0.2"
|
37
37
|
},
|
38
38
|
"peerDependencies": {
|
39
|
-
"@servicetitan/confirm": "^
|
40
|
-
"@servicetitan/culture": "^
|
41
|
-
"@servicetitan/data-query": "^
|
42
|
-
"@servicetitan/design-system": "~11.
|
39
|
+
"@servicetitan/confirm": "^22.1.0",
|
40
|
+
"@servicetitan/culture": "^22.1.0",
|
41
|
+
"@servicetitan/data-query": "^22.1.0",
|
42
|
+
"@servicetitan/design-system": "~11.8.0",
|
43
43
|
"@servicetitan/react-ioc": "^20.0.0",
|
44
|
-
"@servicetitan/tokens": "~11.
|
44
|
+
"@servicetitan/tokens": "~11.8.0",
|
45
45
|
"accounting": "~0.4.1",
|
46
46
|
"formstate": "~2.0.0",
|
47
47
|
"mobx": "~6.6.0",
|
@@ -66,5 +66,5 @@
|
|
66
66
|
"cli": {
|
67
67
|
"webpack": false
|
68
68
|
},
|
69
|
-
"gitHead": "
|
69
|
+
"gitHead": "334ce0dc18294927da0751130f290c203c64d266"
|
70
70
|
}
|