@saas-ui/forms 2.0.0-next.1 → 2.0.0-next.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @saas-ui/forms
2
2
 
3
+ ## 2.0.0-next.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [0a11d7b6]
8
+ - Updated dependencies [76887bda]
9
+ - Updated dependencies [76887bda]
10
+ - Updated dependencies [76887bda]
11
+ - @saas-ui/core@2.0.0-next.2
12
+
3
13
  ## 2.0.0-next.1
4
14
 
5
15
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saas-ui/forms",
3
- "version": "2.0.0-next.1",
3
+ "version": "2.0.0-next.2",
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.1",
89
+ "@saas-ui/core": "2.0.0-next.2",
90
90
  "react-hook-form": "^7.43.0"
91
91
  },
92
92
  "peerDependencies": {
@@ -10,7 +10,7 @@ import * as React from 'react'
10
10
 
11
11
  import { ComponentStory } from '@storybook/react'
12
12
 
13
- import { InputRightButton } from '../src'
13
+ import { InputRightButton } from './'
14
14
 
15
15
  import { FiEye } from 'react-icons/fi'
16
16
 
@@ -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 '../src'
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 '../src/select'
14
- import { NativeSelect } from '../src/native-select'
13
+ import { Select } from './select'
14
+ import { NativeSelect } from './native-select'
15
15
 
16
16
  import { FiSmile } from 'react-icons/fi'
17
17