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

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
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
+
13
+ ## 2.0.0-next.1
14
+
15
+ ### Patch Changes
16
+
17
+ - 166978bd: Fix esm bundle filename.
18
+ - Updated dependencies [166978bd]
19
+ - @saas-ui/core@2.0.0-next.1
20
+
3
21
  ## 2.0.0-next.0
4
22
 
5
23
  ### Major Changes
package/package.json CHANGED
@@ -1,40 +1,40 @@
1
1
  {
2
2
  "name": "@saas-ui/forms",
3
- "version": "2.0.0-next.0",
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": {
7
7
  ".": {
8
8
  "require": "./dist/index.js",
9
- "import": "./dist/index.modern.mjs"
9
+ "import": "./dist/index.mjs"
10
10
  },
11
11
  "./src": {
12
12
  "default": "./src/index.ts"
13
13
  },
14
14
  "./yup": {
15
15
  "require": "./dist/yup/index.js",
16
- "import": "./dist/yup/index.modern.mjs"
16
+ "import": "./dist/yup/index.mjs"
17
17
  },
18
18
  "./yup/src": {
19
19
  "default": "./yup/src/index.ts"
20
20
  },
21
21
  "./zod": {
22
22
  "require": "./dist/zod/index.js",
23
- "import": "./dist/zod/index.modern.mjs"
23
+ "import": "./dist/zod/index.mjs"
24
24
  },
25
25
  "./zod/src": {
26
26
  "default": "./zod/src/index.ts"
27
27
  },
28
28
  "./ajv": {
29
29
  "require": "./dist/ajv/index.js",
30
- "import": "./dist/ajv/index.modern.mjs"
30
+ "import": "./dist/ajv/index.mjs"
31
31
  },
32
32
  "./ajv/src": {
33
33
  "default": "./ajv/src/index.ts"
34
34
  }
35
35
  },
36
36
  "main": "./dist/index.js",
37
- "module": "./dist/index.modern.mjs",
37
+ "module": "./dist/index.mjs",
38
38
  "types": "./dist/index.d.ts",
39
39
  "scripts": {
40
40
  "clean": "rimraf --no-glob ./dist",
@@ -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.0",
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