@saas-ui/react 0.11.7 → 0.12.0-next.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +68 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +24 -25
- package/src/index.ts +0 -1
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,73 @@
|
|
1
1
|
# @saas-ui/react
|
2
2
|
|
3
|
+
## 0.12.0-next.1
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- Updated dependencies
|
8
|
+
- @saas-ui/forms@0.6.0-next.1
|
9
|
+
- @saas-ui/auth@0.7.0-next.1
|
10
|
+
- @saas-ui/modals@0.4.0-next.1
|
11
|
+
|
12
|
+
## 0.12.0-next.0
|
13
|
+
|
14
|
+
### Minor Changes
|
15
|
+
|
16
|
+
- 9391c44: BREAKING: Removed yup dependency from forms and fixed peer dependency issues.
|
17
|
+
|
18
|
+
<Form> doesn't accept a Yup `schema` any more by default.
|
19
|
+
|
20
|
+
Use a schema resolver to use schema support. All hookform resolvers are supported.
|
21
|
+
|
22
|
+
```
|
23
|
+
import {yupResolver} from '@hookform/resolvers/yup'
|
24
|
+
|
25
|
+
<Form resolver={yupResolver(schema)} />
|
26
|
+
```
|
27
|
+
|
28
|
+
AutoForm only supports Yup for now and has a new API.
|
29
|
+
|
30
|
+
```
|
31
|
+
import { yupForm } from '@saas-ui/forms/yup'
|
32
|
+
|
33
|
+
<AutoForm {...yupForm(schema)} />
|
34
|
+
```
|
35
|
+
|
36
|
+
### Patch Changes
|
37
|
+
|
38
|
+
- Updated dependencies [9391c44]
|
39
|
+
- @saas-ui/auth@0.7.0-next.0
|
40
|
+
- @saas-ui/button@0.4.0-next.0
|
41
|
+
- @saas-ui/card@0.4.0-next.0
|
42
|
+
- @saas-ui/data-table@0.3.0-next.0
|
43
|
+
- @saas-ui/forms@0.6.0-next.0
|
44
|
+
- @saas-ui/hooks@0.4.0-next.0
|
45
|
+
- @saas-ui/hotkeys@0.5.0-next.0
|
46
|
+
- @saas-ui/layout@0.3.0-next.0
|
47
|
+
- @saas-ui/list@0.5.0-next.0
|
48
|
+
- @saas-ui/menu@0.5.0-next.0
|
49
|
+
- @saas-ui/modals@0.4.0-next.0
|
50
|
+
- @saas-ui/nprogress@0.4.0-next.0
|
51
|
+
- @saas-ui/persona@0.5.0-next.0
|
52
|
+
- @saas-ui/search-input@0.5.0-next.0
|
53
|
+
- @saas-ui/select@0.4.0-next.0
|
54
|
+
- @saas-ui/snackbar@0.4.0-next.0
|
55
|
+
- @saas-ui/stepper@0.2.0-next.0
|
56
|
+
- @saas-ui/theme@0.7.0-next.0
|
57
|
+
- @saas-ui/banner@0.0.2-next.0
|
58
|
+
- @saas-ui/input-right-button@0.3.1-next.0
|
59
|
+
- @saas-ui/property@0.3.1-next.0
|
60
|
+
- @saas-ui/provider@0.3.5-next.0
|
61
|
+
- @saas-ui/password-input@0.3.1-next.0
|
62
|
+
|
63
|
+
## 0.11.8
|
64
|
+
|
65
|
+
### Patch Changes
|
66
|
+
|
67
|
+
- a268365: Fixed AuthToken type
|
68
|
+
- Updated dependencies [a268365]
|
69
|
+
- @saas-ui/auth@0.6.6
|
70
|
+
|
3
71
|
## 0.11.7
|
4
72
|
|
5
73
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAE5B,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,mBAAmB,CAAA;AACjC,cAAc,qBAAqB,CAAA;AACnC,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA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AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA"}
|
package/dist/index.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
var e=require("react"),r=require("@chakra-ui/system"),t=require("@saas-ui/auth"),n=require("@saas-ui/banner"),u=require("@saas-ui/button"),o=require("@saas-ui/card"),a=require("@saas-ui/collapse"),s=require("@saas-ui/data-table"),c=require("@saas-ui/list"),i=require("@saas-ui/layout"),f=require("@saas-ui/forms"),p=require("@saas-ui/hooks"),b=require("@saas-ui/hotkeys"),y=require("@saas-ui/input-right-button"),O=require("@saas-ui/menu"),l=require("@saas-ui/modals"),d=require("@saas-ui/nprogress"),h=require("@saas-ui/number-input"),j=require("@saas-ui/palette"),P=require("@saas-ui/password-input"),x=require("@saas-ui/persona"),m=require("@saas-ui/pin-input"),k=require("@saas-ui/property"),g=require("@saas-ui/provider"),E=require("@saas-ui/radio"),q=require("@saas-ui/search-input"),w=require("@saas-ui/select"),v=require("@saas-ui/snackbar"),_=require("@saas-ui/stepper"),B=require("@saas-ui/
|
1
|
+
var e=require("react"),r=require("@chakra-ui/system"),t=require("@saas-ui/auth"),n=require("@saas-ui/banner"),u=require("@saas-ui/button"),o=require("@saas-ui/card"),a=require("@saas-ui/collapse"),s=require("@saas-ui/data-table"),c=require("@saas-ui/list"),i=require("@saas-ui/layout"),f=require("@saas-ui/forms"),p=require("@saas-ui/hooks"),b=require("@saas-ui/hotkeys"),y=require("@saas-ui/input-right-button"),O=require("@saas-ui/menu"),l=require("@saas-ui/modals"),d=require("@saas-ui/nprogress"),h=require("@saas-ui/number-input"),j=require("@saas-ui/palette"),P=require("@saas-ui/password-input"),x=require("@saas-ui/persona"),m=require("@saas-ui/pin-input"),k=require("@saas-ui/property"),g=require("@saas-ui/provider"),E=require("@saas-ui/radio"),q=require("@saas-ui/search-input"),w=require("@saas-ui/select"),v=require("@saas-ui/snackbar"),_=require("@saas-ui/stepper"),B=require("@saas-ui/theme");function D(e){if(e&&e.__esModule)return e;var r=Object.create(null);return e&&Object.keys(e).forEach(function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}}),r.default=e,r}var M=/*#__PURE__*/D(e);exports.Br=function(e){/*#__PURE__*/return M.createElement(r.chakra.span,e,/*#__PURE__*/M.createElement("br",null))},Object.keys(t).forEach(function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return t[e]}})}),Object.keys(n).forEach(function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return n[e]}})}),Object.keys(u).forEach(function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return u[e]}})}),Object.keys(o).forEach(function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return o[e]}})}),Object.keys(a).forEach(function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return a[e]}})}),Object.keys(s).forEach(function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return s[e]}})}),Object.keys(c).forEach(function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return c[e]}})}),Object.keys(i).forEach(function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return i[e]}})}),Object.keys(f).forEach(function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return f[e]}})}),Object.keys(p).forEach(function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return p[e]}})}),Object.keys(b).forEach(function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return b[e]}})}),Object.keys(y).forEach(function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return y[e]}})}),Object.keys(O).forEach(function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return O[e]}})}),Object.keys(l).forEach(function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return l[e]}})}),Object.keys(d).forEach(function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return d[e]}})}),Object.keys(h).forEach(function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return h[e]}})}),Object.keys(j).forEach(function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return j[e]}})}),Object.keys(P).forEach(function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return P[e]}})}),Object.keys(x).forEach(function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return x[e]}})}),Object.keys(m).forEach(function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return m[e]}})}),Object.keys(k).forEach(function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return k[e]}})}),Object.keys(g).forEach(function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return g[e]}})}),Object.keys(E).forEach(function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return E[e]}})}),Object.keys(q).forEach(function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return q[e]}})}),Object.keys(w).forEach(function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return w[e]}})}),Object.keys(v).forEach(function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return v[e]}})}),Object.keys(_).forEach(function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return _[e]}})}),Object.keys(B).forEach(function(e){"default"===e||exports.hasOwnProperty(e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return B[e]}})});
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/typography.tsx"],"sourcesContent":["import * as React from 'react'\nimport { chakra, HTMLChakraProps } from '@chakra-ui/system'\n\nexport const Br: React.FC<HTMLChakraProps<'span'>> = (props) => {\n return (\n <chakra.span {...props}>\n <br />\n </chakra.span>\n )\n}\n"],"names":["props","React","chakra","span"],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/typography.tsx"],"sourcesContent":["import * as React from 'react'\nimport { chakra, HTMLChakraProps } from '@chakra-ui/system'\n\nexport const Br: React.FC<HTMLChakraProps<'span'>> = (props) => {\n return (\n <chakra.span {...props}>\n <br />\n </chakra.span>\n )\n}\n"],"names":["props","React","chakra","span"],"mappings":"6rCAGqD,SAACA,gBACpD,OACEC,gBAACC,SAAOC,KAASH,eACfC"}
|
package/dist/index.modern.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import*as r from"react";import{chakra as a}from"@chakra-ui/system";export*from"@saas-ui/auth";export*from"@saas-ui/banner";export*from"@saas-ui/button";export*from"@saas-ui/card";export*from"@saas-ui/collapse";export*from"@saas-ui/data-table";export*from"@saas-ui/list";export*from"@saas-ui/layout";export*from"@saas-ui/forms";export*from"@saas-ui/hooks";export*from"@saas-ui/hotkeys";export*from"@saas-ui/input-right-button";export*from"@saas-ui/menu";export*from"@saas-ui/modals";export*from"@saas-ui/nprogress";export*from"@saas-ui/number-input";export*from"@saas-ui/palette";export*from"@saas-ui/password-input";export*from"@saas-ui/persona";export*from"@saas-ui/pin-input";export*from"@saas-ui/property";export*from"@saas-ui/provider";export*from"@saas-ui/radio";export*from"@saas-ui/search-input";export*from"@saas-ui/select";export*from"@saas-ui/snackbar";export*from"@saas-ui/stepper";export*from"@saas-ui/
|
1
|
+
import*as r from"react";import{chakra as a}from"@chakra-ui/system";export*from"@saas-ui/auth";export*from"@saas-ui/banner";export*from"@saas-ui/button";export*from"@saas-ui/card";export*from"@saas-ui/collapse";export*from"@saas-ui/data-table";export*from"@saas-ui/list";export*from"@saas-ui/layout";export*from"@saas-ui/forms";export*from"@saas-ui/hooks";export*from"@saas-ui/hotkeys";export*from"@saas-ui/input-right-button";export*from"@saas-ui/menu";export*from"@saas-ui/modals";export*from"@saas-ui/nprogress";export*from"@saas-ui/number-input";export*from"@saas-ui/palette";export*from"@saas-ui/password-input";export*from"@saas-ui/persona";export*from"@saas-ui/pin-input";export*from"@saas-ui/property";export*from"@saas-ui/provider";export*from"@saas-ui/radio";export*from"@saas-ui/search-input";export*from"@saas-ui/select";export*from"@saas-ui/snackbar";export*from"@saas-ui/stepper";export*from"@saas-ui/theme";const o=o=>/*#__PURE__*/r.createElement(a.span,o,/*#__PURE__*/r.createElement("br",null));export{o as Br};
|
2
2
|
//# sourceMappingURL=index.modern.js.map
|
package/dist/index.modern.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.modern.js","sources":["../src/typography.tsx"],"sourcesContent":["import * as React from 'react'\nimport { chakra, HTMLChakraProps } from '@chakra-ui/system'\n\nexport const Br: React.FC<HTMLChakraProps<'span'>> = (props) => {\n return (\n <chakra.span {...props}>\n <br />\n </chakra.span>\n )\n}\n"],"names":["Br","props","React","chakra","span"],"mappings":"
|
1
|
+
{"version":3,"file":"index.modern.js","sources":["../src/typography.tsx"],"sourcesContent":["import * as React from 'react'\nimport { chakra, HTMLChakraProps } from '@chakra-ui/system'\n\nexport const Br: React.FC<HTMLChakraProps<'span'>> = (props) => {\n return (\n <chakra.span {...props}>\n <br />\n </chakra.span>\n )\n}\n"],"names":["Br","props","React","chakra","span"],"mappings":"y5BAGaA,MAAAA,EAAyCC,gBAElDC,gBAACC,EAAOC,KAASH,eACfC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@saas-ui/react",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.12.0-next.1",
|
4
4
|
"description": "Saas UI - The frontend stack for SaaS companies.",
|
5
5
|
"source": "src/index.ts",
|
6
6
|
"exports": {
|
@@ -55,35 +55,34 @@
|
|
55
55
|
"url": "https://storybook.saas-ui.dev"
|
56
56
|
},
|
57
57
|
"dependencies": {
|
58
|
-
"@saas-ui/auth": "0.
|
59
|
-
"@saas-ui/banner": "0.0.
|
60
|
-
"@saas-ui/button": "0.
|
61
|
-
"@saas-ui/card": "0.
|
58
|
+
"@saas-ui/auth": "0.7.0-next.1",
|
59
|
+
"@saas-ui/banner": "0.0.2-next.0",
|
60
|
+
"@saas-ui/button": "0.4.0-next.0",
|
61
|
+
"@saas-ui/card": "0.4.0-next.0",
|
62
62
|
"@saas-ui/collapse": "0.3.0",
|
63
|
-
"@saas-ui/data-table": "0.
|
64
|
-
"@saas-ui/forms": "0.
|
65
|
-
"@saas-ui/hooks": "0.
|
66
|
-
"@saas-ui/hotkeys": "0.
|
67
|
-
"@saas-ui/input-right-button": "0.3.0",
|
68
|
-
"@saas-ui/layout": "0.
|
69
|
-
"@saas-ui/list": "0.
|
70
|
-
"@saas-ui/menu": "0.
|
71
|
-
"@saas-ui/modals": "0.
|
72
|
-
"@saas-ui/nprogress": "0.
|
63
|
+
"@saas-ui/data-table": "0.3.0-next.0",
|
64
|
+
"@saas-ui/forms": "0.6.0-next.1",
|
65
|
+
"@saas-ui/hooks": "0.4.0-next.0",
|
66
|
+
"@saas-ui/hotkeys": "0.5.0-next.0",
|
67
|
+
"@saas-ui/input-right-button": "0.3.1-next.0",
|
68
|
+
"@saas-ui/layout": "0.3.0-next.0",
|
69
|
+
"@saas-ui/list": "0.5.0-next.0",
|
70
|
+
"@saas-ui/menu": "0.5.0-next.0",
|
71
|
+
"@saas-ui/modals": "0.4.0-next.1",
|
72
|
+
"@saas-ui/nprogress": "0.4.0-next.0",
|
73
73
|
"@saas-ui/number-input": "0.3.0",
|
74
74
|
"@saas-ui/palette": "0.5.0",
|
75
|
-
"@saas-ui/password-input": "0.3.0",
|
76
|
-
"@saas-ui/persona": "0.
|
75
|
+
"@saas-ui/password-input": "0.3.1-next.0",
|
76
|
+
"@saas-ui/persona": "0.5.0-next.0",
|
77
77
|
"@saas-ui/pin-input": "0.3.0",
|
78
|
-
"@saas-ui/property": "0.3.0",
|
79
|
-
"@saas-ui/provider": "0.3.
|
78
|
+
"@saas-ui/property": "0.3.1-next.0",
|
79
|
+
"@saas-ui/provider": "0.3.5-next.0",
|
80
80
|
"@saas-ui/radio": "0.3.0",
|
81
|
-
"@saas-ui/search-input": "0.
|
82
|
-
"@saas-ui/select": "0.
|
83
|
-
"@saas-ui/snackbar": "0.
|
84
|
-
"@saas-ui/stepper": "0.
|
85
|
-
"@saas-ui/
|
86
|
-
"@saas-ui/theme": "0.6.0"
|
81
|
+
"@saas-ui/search-input": "0.5.0-next.0",
|
82
|
+
"@saas-ui/select": "0.4.0-next.0",
|
83
|
+
"@saas-ui/snackbar": "0.4.0-next.0",
|
84
|
+
"@saas-ui/stepper": "0.2.0-next.0",
|
85
|
+
"@saas-ui/theme": "0.7.0-next.0"
|
87
86
|
},
|
88
87
|
"peerDependencies": {
|
89
88
|
"@chakra-ui/react": ">=1.8.0",
|