@saas-ui/react 2.1.0 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # @saas-ui/react
2
2
 
3
+ ## 2.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 5a384c28: Updated to Chakra UI 2.8.0
8
+ - 5a384c28: Added `use client` directive for better RSC support
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies [5a384c28]
13
+ - @saas-ui/data-table@4.0.0
14
+ - @saas-ui/modals@2.1.0
15
+ - @saas-ui/forms@2.1.0
16
+ - @saas-ui/theme@2.1.0
17
+ - @saas-ui/core@2.1.0
18
+ - @saas-ui/hotkeys@2.1.2
19
+
20
+ ## 2.1.1
21
+
22
+ ### Patch Changes
23
+
24
+ - Updated dependencies [0aecc7ba]
25
+ - @saas-ui/hotkeys@2.1.1
26
+ - @saas-ui/data-table@3.0.1
27
+
3
28
  ## 2.1.0
4
29
 
5
30
  ### Minor Changes
package/dist/index.js CHANGED
@@ -1,63 +1,40 @@
1
- 'use strict';
1
+ 'use client'
2
+ "use strict";
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __copyProps = (to, from, except, desc) => {
8
+ if (from && typeof from === "object" || typeof from === "function") {
9
+ for (let key of __getOwnPropNames(from))
10
+ if (!__hasOwnProp.call(to, key) && key !== except)
11
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
12
+ }
13
+ return to;
14
+ };
15
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
16
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
2
17
 
3
- var core = require('@saas-ui/core');
4
- var hooks = require('@saas-ui/hooks');
5
- var theme = require('@saas-ui/theme');
6
- var nprogress = require('@saas-ui/nprogress');
7
- var modals = require('@saas-ui/modals');
8
- var dataTable = require('@saas-ui/data-table');
9
- var hotkeys = require('@saas-ui/hotkeys');
10
- var forms = require('@saas-ui/forms');
11
-
12
-
13
-
14
- Object.keys(core).forEach(function (k) {
15
- if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
16
- enumerable: true,
17
- get: function () { return core[k]; }
18
- });
19
- });
20
- Object.keys(hooks).forEach(function (k) {
21
- if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
22
- enumerable: true,
23
- get: function () { return hooks[k]; }
24
- });
25
- });
26
- Object.keys(theme).forEach(function (k) {
27
- if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
28
- enumerable: true,
29
- get: function () { return theme[k]; }
30
- });
31
- });
32
- Object.keys(nprogress).forEach(function (k) {
33
- if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
34
- enumerable: true,
35
- get: function () { return nprogress[k]; }
36
- });
37
- });
38
- Object.keys(modals).forEach(function (k) {
39
- if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
40
- enumerable: true,
41
- get: function () { return modals[k]; }
42
- });
43
- });
44
- Object.keys(dataTable).forEach(function (k) {
45
- if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
46
- enumerable: true,
47
- get: function () { return dataTable[k]; }
48
- });
49
- });
50
- Object.keys(hotkeys).forEach(function (k) {
51
- if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
52
- enumerable: true,
53
- get: function () { return hotkeys[k]; }
54
- });
55
- });
56
- Object.keys(forms).forEach(function (k) {
57
- if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
58
- enumerable: true,
59
- get: function () { return forms[k]; }
60
- });
18
+ // src/index.ts
19
+ var src_exports = {};
20
+ module.exports = __toCommonJS(src_exports);
21
+ __reExport(src_exports, require("@saas-ui/core"), module.exports);
22
+ __reExport(src_exports, require("@saas-ui/hooks"), module.exports);
23
+ __reExport(src_exports, require("@saas-ui/theme"), module.exports);
24
+ __reExport(src_exports, require("@saas-ui/nprogress"), module.exports);
25
+ __reExport(src_exports, require("@saas-ui/modals"), module.exports);
26
+ __reExport(src_exports, require("@saas-ui/data-table"), module.exports);
27
+ __reExport(src_exports, require("@saas-ui/hotkeys"), module.exports);
28
+ __reExport(src_exports, require("@saas-ui/forms"), module.exports);
29
+ // Annotate the CommonJS export names for ESM import in node:
30
+ 0 && (module.exports = {
31
+ ...require("@saas-ui/core"),
32
+ ...require("@saas-ui/hooks"),
33
+ ...require("@saas-ui/theme"),
34
+ ...require("@saas-ui/nprogress"),
35
+ ...require("@saas-ui/modals"),
36
+ ...require("@saas-ui/data-table"),
37
+ ...require("@saas-ui/hotkeys"),
38
+ ...require("@saas-ui/forms")
61
39
  });
62
- //# sourceMappingURL=out.js.map
63
40
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc","sourcesContent":["export * from '@saas-ui/core'\nexport * from '@saas-ui/hooks'\nexport * from '@saas-ui/theme'\nexport * from '@saas-ui/nprogress'\nexport * from '@saas-ui/modals'\nexport * from '@saas-ui/data-table'\nexport * from '@saas-ui/hotkeys'\nexport * from '@saas-ui/forms'\n"]}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from '@saas-ui/core'\nexport * from '@saas-ui/hooks'\nexport * from '@saas-ui/theme'\nexport * from '@saas-ui/nprogress'\nexport * from '@saas-ui/modals'\nexport * from '@saas-ui/data-table'\nexport * from '@saas-ui/hotkeys'\nexport * from '@saas-ui/forms'\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,wBAAc,0BAAd;AACA,wBAAc,2BADd;AAEA,wBAAc,2BAFd;AAGA,wBAAc,+BAHd;AAIA,wBAAc,4BAJd;AAKA,wBAAc,gCALd;AAMA,wBAAc,6BANd;AAOA,wBAAc,2BAPd;","names":[]}
package/dist/index.mjs CHANGED
@@ -1,10 +1,12 @@
1
- export * from '@saas-ui/core';
2
- export * from '@saas-ui/hooks';
3
- export * from '@saas-ui/theme';
4
- export * from '@saas-ui/nprogress';
5
- export * from '@saas-ui/modals';
6
- export * from '@saas-ui/data-table';
7
- export * from '@saas-ui/hotkeys';
8
- export * from '@saas-ui/forms';
9
- //# sourceMappingURL=out.js.map
1
+ 'use client'
2
+
3
+ // src/index.ts
4
+ export * from "@saas-ui/core";
5
+ export * from "@saas-ui/hooks";
6
+ export * from "@saas-ui/theme";
7
+ export * from "@saas-ui/nprogress";
8
+ export * from "@saas-ui/modals";
9
+ export * from "@saas-ui/data-table";
10
+ export * from "@saas-ui/hotkeys";
11
+ export * from "@saas-ui/forms";
10
12
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc","sourcesContent":["export * from '@saas-ui/core'\nexport * from '@saas-ui/hooks'\nexport * from '@saas-ui/theme'\nexport * from '@saas-ui/nprogress'\nexport * from '@saas-ui/modals'\nexport * from '@saas-ui/data-table'\nexport * from '@saas-ui/hotkeys'\nexport * from '@saas-ui/forms'\n"]}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from '@saas-ui/core'\nexport * from '@saas-ui/hooks'\nexport * from '@saas-ui/theme'\nexport * from '@saas-ui/nprogress'\nexport * from '@saas-ui/modals'\nexport * from '@saas-ui/data-table'\nexport * from '@saas-ui/hotkeys'\nexport * from '@saas-ui/forms'\n"],"mappings":";;;AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saas-ui/react",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
4
4
  "description": "Saas UI - The React component library for startups.",
5
5
  "source": "src/index.ts",
6
6
  "exports": {
@@ -56,19 +56,18 @@
56
56
  "url": "https://storybook.saas-ui.dev"
57
57
  },
58
58
  "dependencies": {
59
- "@chakra-ui/icon": "^3.0.15",
59
+ "@chakra-ui/icon": "^3.2.0",
60
60
  "@chakra-ui/react-utils": "^2.0.12",
61
- "@chakra-ui/system": "^2.5.8",
61
+ "@chakra-ui/system": "^2.6.1",
62
62
  "@chakra-ui/utils": "^2.0.15",
63
- "@saas-ui/auth": "2.0.5",
64
- "@saas-ui/core": "2.0.3",
65
- "@saas-ui/data-table": "3.0.0",
66
- "@saas-ui/forms": "2.0.5",
63
+ "@saas-ui/core": "2.1.0",
64
+ "@saas-ui/data-table": "4.0.0",
65
+ "@saas-ui/forms": "2.1.0",
67
66
  "@saas-ui/hooks": "2.0.0",
68
- "@saas-ui/hotkeys": "2.1.0",
69
- "@saas-ui/modals": "2.0.6",
67
+ "@saas-ui/hotkeys": "2.1.2",
68
+ "@saas-ui/modals": "2.1.0",
70
69
  "@saas-ui/nprogress": "2.0.0",
71
- "@saas-ui/theme": "2.0.1"
70
+ "@saas-ui/theme": "2.1.0"
72
71
  },
73
72
  "peerDependencies": {
74
73
  "@chakra-ui/react": ">=2.6.0",