@servicetitan/form 22.4.5 → 22.5.0

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ # v22.5.0 (Wed Aug 31 2022)
2
+
3
+ #### 🏠 Internal
4
+
5
+ - FAR-981: Moving examples to contrib storybook [#133](https://github.com/servicetitan/anvil-uikit-contrib/pull/133) ([@rgdelato](https://github.com/rgdelato))
6
+
7
+ #### Authors: 1
8
+
9
+ - Ryan De La Torre ([@rgdelato](https://github.com/rgdelato))
10
+
11
+ ---
12
+
1
13
  # v22.4.1 (Wed Jul 13 2022)
2
14
 
3
15
  #### 🐛 Bug Fix
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@servicetitan/form",
3
- "version": "22.4.5",
3
+ "version": "22.5.0",
4
4
  "description": "",
5
5
  "homepage": "https://docs.st.dev/docs/frontend/form",
6
6
  "repository": {
@@ -16,10 +16,10 @@
16
16
  "src"
17
17
  ],
18
18
  "devDependencies": {
19
- "@servicetitan/confirm": "^22.4.5",
20
- "@servicetitan/culture": "^22.4.5",
19
+ "@servicetitan/confirm": "^22.5.0",
20
+ "@servicetitan/culture": "^22.5.0",
21
21
  "@servicetitan/design-system": "~11.8.0",
22
- "@servicetitan/form-state": "^22.4.5",
22
+ "@servicetitan/form-state": "^22.5.0",
23
23
  "@servicetitan/react-ioc": "^21.6.0",
24
24
  "@servicetitan/tokens": "~11.8.0",
25
25
  "@types/react": "~17.0.38",
@@ -35,10 +35,10 @@
35
35
  "resumablejs": "~1.0.2"
36
36
  },
37
37
  "peerDependencies": {
38
- "@servicetitan/confirm": "^22.4.5",
39
- "@servicetitan/culture": "^22.4.5",
38
+ "@servicetitan/confirm": "^22.5.0",
39
+ "@servicetitan/culture": "^22.5.0",
40
40
  "@servicetitan/design-system": ">11.8.0",
41
- "@servicetitan/form-state": "^22.4.5",
41
+ "@servicetitan/form-state": "^22.5.0",
42
42
  "@servicetitan/react-ioc": ">21.0.0",
43
43
  "@servicetitan/tokens": ">11.8.0",
44
44
  "accounting": "~0.4.1",
@@ -65,5 +65,5 @@
65
65
  "cli": {
66
66
  "webpack": false
67
67
  },
68
- "gitHead": "01a6292ee7c2166a6403492b8a26fef3a46e15a0"
68
+ "gitHead": "4aa6870f390e31bca1b4657f24ab621c96c6226a"
69
69
  }
@@ -0,0 +1,35 @@
1
+ import { Frame, Page } from '@servicetitan/design-system';
2
+ import { HashBrowserRouter } from '@servicetitan/hash-browser-router';
3
+ import {
4
+ ColorPickerExample,
5
+ DateRangePickerExample,
6
+ // DropdownStateExample,
7
+ FileUploaderExample,
8
+ InputDateMaskExample,
9
+ NumberInputExample,
10
+ OrdinalNumberInputExample,
11
+ PhoneNumberInputExample,
12
+ } from '../dist/demo';
13
+
14
+ export default {
15
+ title: 'Form/Demos',
16
+ decorators: [
17
+ (Story: any) => (
18
+ <HashBrowserRouter>
19
+ <Frame>
20
+ <Page>
21
+ <Story />
22
+ </Page>
23
+ </Frame>
24
+ </HashBrowserRouter>
25
+ ),
26
+ ],
27
+ };
28
+
29
+ export const ColorPicker = () => <ColorPickerExample />;
30
+ export const DateRangePicker = () => <DateRangePickerExample />;
31
+ export const FileUploader = () => <FileUploaderExample />;
32
+ export const InputDateMask = () => <InputDateMaskExample />;
33
+ export const NumberInput = () => <NumberInputExample />;
34
+ export const OrdinalNumberInput = () => <OrdinalNumberInputExample />;
35
+ export const PhoneNumberInput = () => <PhoneNumberInputExample />;