@saas-ui/forms 2.0.0-next.1 → 2.0.0-next.3
Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# @saas-ui/forms
|
2
2
|
|
3
|
+
## 2.0.0-next.3
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- @saas-ui/core@2.0.0-next.3
|
8
|
+
|
9
|
+
## 2.0.0-next.2
|
10
|
+
|
11
|
+
### Patch Changes
|
12
|
+
|
13
|
+
- Updated dependencies [0a11d7b6]
|
14
|
+
- Updated dependencies [76887bda]
|
15
|
+
- Updated dependencies [76887bda]
|
16
|
+
- Updated dependencies [76887bda]
|
17
|
+
- @saas-ui/core@2.0.0-next.2
|
18
|
+
|
3
19
|
## 2.0.0-next.1
|
4
20
|
|
5
21
|
### Patch Changes
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@saas-ui/forms",
|
3
|
-
"version": "2.0.0-next.
|
3
|
+
"version": "2.0.0-next.3",
|
4
4
|
"description": "Fully functional forms for Chakra UI.",
|
5
5
|
"source": "src/index.ts",
|
6
6
|
"exports": {
|
@@ -86,7 +86,7 @@
|
|
86
86
|
"@chakra-ui/icons": "^2.0.16",
|
87
87
|
"@chakra-ui/react-utils": "^2.0.11",
|
88
88
|
"@chakra-ui/utils": "^2.0.14",
|
89
|
-
"@saas-ui/core": "2.0.0-next.
|
89
|
+
"@saas-ui/core": "2.0.0-next.3",
|
90
90
|
"react-hook-form": "^7.43.0"
|
91
91
|
},
|
92
92
|
"peerDependencies": {
|
@@ -2,7 +2,7 @@ import { Container } from '@chakra-ui/react'
|
|
2
2
|
import * as React from 'react'
|
3
3
|
import { Story, Meta } from '@storybook/react'
|
4
4
|
|
5
|
-
import { NumberInput } from '
|
5
|
+
import { NumberInput } from '.'
|
6
6
|
|
7
7
|
export default {
|
8
8
|
title: 'Components/Forms/NumberInput',
|
@@ -34,6 +34,6 @@ MinMax.args = {
|
|
34
34
|
|
35
35
|
export const WithFormatter = Template.bind({})
|
36
36
|
WithFormatter.args = {
|
37
|
-
format: (value) => `$${value}`, // use any currency formatter here
|
38
|
-
parse: (value) => value.replace('$', ''),
|
37
|
+
format: (value: any) => `$${value}`, // use any currency formatter here
|
38
|
+
parse: (value: any) => value.replace('$', ''),
|
39
39
|
}
|
@@ -10,8 +10,8 @@ import * as React from 'react'
|
|
10
10
|
|
11
11
|
import { ComponentStory } from '@storybook/react'
|
12
12
|
|
13
|
-
import { Select } from '
|
14
|
-
import { NativeSelect } from '
|
13
|
+
import { Select } from './select'
|
14
|
+
import { NativeSelect } from './native-select'
|
15
15
|
|
16
16
|
import { FiSmile } from 'react-icons/fi'
|
17
17
|
|