@saas-ui/react 3.0.0-alpha.30 → 3.0.0-alpha.31
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 +8 -0
- package/dist/chunk-5MTFSSOH.js +16 -0
- package/dist/chunk-6YZ76Q2W.js +8 -0
- package/dist/chunk-CQD32UVJ.js +8 -0
- package/dist/{chunk-7VSTNV2B.js → chunk-IGT224EZ.js} +8 -5
- package/dist/components/badge/index.d.cts +4 -0
- package/dist/components/badge/index.d.ts +4 -0
- package/dist/components/input/index.cjs +37 -0
- package/dist/components/input/index.d.cts +1 -0
- package/dist/components/input/index.d.ts +1 -0
- package/dist/components/input/index.js +14 -0
- package/dist/components/loading-overlay/index.cjs +9 -6
- package/dist/components/loading-overlay/index.js +1 -1
- package/dist/components/progress/index.cjs +31 -0
- package/dist/components/progress/index.d.cts +1 -0
- package/dist/components/progress/index.d.ts +1 -0
- package/dist/components/progress/index.js +8 -0
- package/dist/components/progress-circle/index.cjs +31 -0
- package/dist/components/progress-circle/index.d.cts +1 -0
- package/dist/components/progress-circle/index.d.ts +1 -0
- package/dist/components/progress-circle/index.js +8 -0
- package/dist/components/textarea/index.cjs +31 -0
- package/dist/components/textarea/index.d.cts +1 -0
- package/dist/components/textarea/index.d.ts +1 -0
- package/dist/components/textarea/index.js +8 -0
- package/dist/index.cjs +3548 -3514
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3133 -3105
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
@@ -13,6 +13,7 @@ __export(loading_overlay_exports, {
|
|
13
13
|
Spinner: () => LoadingOverlaySpinner,
|
14
14
|
Text: () => LoadingOverlayText
|
15
15
|
});
|
16
|
+
import { forwardRef } from "react";
|
16
17
|
import {
|
17
18
|
Presence,
|
18
19
|
splitPresenceProps
|
@@ -31,11 +32,13 @@ var {
|
|
31
32
|
|
32
33
|
// src/components/loading-overlay/loading-overlay.tsx
|
33
34
|
import { jsx } from "react/jsx-runtime";
|
34
|
-
var LoadingOverlay = (
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
};
|
35
|
+
var LoadingOverlay = forwardRef(
|
36
|
+
(props, ref) => {
|
37
|
+
const { children, loading = true, ...rest } = props;
|
38
|
+
const [presenceProps, rootProps] = splitPresenceProps(rest);
|
39
|
+
return /* @__PURE__ */ jsx(Presence, { present: loading, ...presenceProps, asChild: true, children: /* @__PURE__ */ jsx(chakra.div, { ref, ...rootProps, children }) });
|
40
|
+
}
|
41
|
+
);
|
39
42
|
var LoadingOverlayRoot = withProvider(
|
40
43
|
LoadingOverlay,
|
41
44
|
"root"
|
@@ -1,3 +1,7 @@
|
|
1
1
|
export { Badge, BadgeProps } from '@chakra-ui/react';
|
2
2
|
import '@chakra-ui/react/data-list';
|
3
|
+
import '@chakra-ui/react/input';
|
4
|
+
import '@chakra-ui/react/progress';
|
3
5
|
import '@chakra-ui/react/tabs';
|
6
|
+
import '@chakra-ui/react/textarea';
|
7
|
+
import '@chakra-ui/react/progress-circle';
|
@@ -1,3 +1,7 @@
|
|
1
1
|
export { Badge, BadgeProps } from '@chakra-ui/react';
|
2
2
|
import '@chakra-ui/react/data-list';
|
3
|
+
import '@chakra-ui/react/input';
|
4
|
+
import '@chakra-ui/react/progress';
|
3
5
|
import '@chakra-ui/react/tabs';
|
6
|
+
import '@chakra-ui/react/textarea';
|
7
|
+
import '@chakra-ui/react/progress-circle';
|
@@ -0,0 +1,37 @@
|
|
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 __export = (target, all) => {
|
8
|
+
for (var name in all)
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
10
|
+
};
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
13
|
+
for (let key of __getOwnPropNames(from))
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
16
|
+
}
|
17
|
+
return to;
|
18
|
+
};
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
20
|
+
|
21
|
+
// src/components/input/index.ts
|
22
|
+
var input_exports = {};
|
23
|
+
__export(input_exports, {
|
24
|
+
Input: () => import_input.Input,
|
25
|
+
InputAddon: () => import_input.InputAddon,
|
26
|
+
InputElement: () => import_input.InputElement,
|
27
|
+
InputPropsProvider: () => import_input.InputPropsProvider
|
28
|
+
});
|
29
|
+
module.exports = __toCommonJS(input_exports);
|
30
|
+
var import_input = require("@chakra-ui/react/input");
|
31
|
+
// Annotate the CommonJS export names for ESM import in node:
|
32
|
+
0 && (module.exports = {
|
33
|
+
Input,
|
34
|
+
InputAddon,
|
35
|
+
InputElement,
|
36
|
+
InputPropsProvider
|
37
|
+
});
|
@@ -0,0 +1 @@
|
|
1
|
+
export { Input, InputAddon, InputAddonProps, InputElement, InputElementProps, InputProps, InputPropsProvider } from '@chakra-ui/react/input';
|
@@ -0,0 +1 @@
|
|
1
|
+
export { Input, InputAddon, InputAddonProps, InputElement, InputElementProps, InputProps, InputPropsProvider } from '@chakra-ui/react/input';
|
@@ -33,8 +33,9 @@ __export(loading_overlay_exports, {
|
|
33
33
|
Spinner: () => LoadingOverlaySpinner,
|
34
34
|
Text: () => LoadingOverlayText
|
35
35
|
});
|
36
|
+
var import_react4 = require("react");
|
36
37
|
var import_presence = require("@ark-ui/react/presence");
|
37
|
-
var
|
38
|
+
var import_react5 = require("@chakra-ui/react");
|
38
39
|
|
39
40
|
// src/components/spinner/spinner.tsx
|
40
41
|
var import_react = require("react");
|
@@ -62,11 +63,13 @@ var {
|
|
62
63
|
|
63
64
|
// src/components/loading-overlay/loading-overlay.tsx
|
64
65
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
65
|
-
var LoadingOverlay = (
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
};
|
66
|
+
var LoadingOverlay = (0, import_react4.forwardRef)(
|
67
|
+
(props, ref) => {
|
68
|
+
const { children, loading = true, ...rest } = props;
|
69
|
+
const [presenceProps, rootProps] = (0, import_presence.splitPresenceProps)(rest);
|
70
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_presence.Presence, { present: loading, ...presenceProps, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react5.chakra.div, { ref, ...rootProps, children }) });
|
71
|
+
}
|
72
|
+
);
|
70
73
|
var LoadingOverlayRoot = withProvider(
|
71
74
|
LoadingOverlay,
|
72
75
|
"root"
|
@@ -0,0 +1,31 @@
|
|
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 __export = (target, all) => {
|
8
|
+
for (var name in all)
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
10
|
+
};
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
13
|
+
for (let key of __getOwnPropNames(from))
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
16
|
+
}
|
17
|
+
return to;
|
18
|
+
};
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
20
|
+
|
21
|
+
// src/components/progress/index.ts
|
22
|
+
var progress_exports = {};
|
23
|
+
__export(progress_exports, {
|
24
|
+
Progress: () => import_progress.Progress
|
25
|
+
});
|
26
|
+
module.exports = __toCommonJS(progress_exports);
|
27
|
+
var import_progress = require("@chakra-ui/react/progress");
|
28
|
+
// Annotate the CommonJS export names for ESM import in node:
|
29
|
+
0 && (module.exports = {
|
30
|
+
Progress
|
31
|
+
});
|
@@ -0,0 +1 @@
|
|
1
|
+
export { Progress } from '@chakra-ui/react/progress';
|
@@ -0,0 +1 @@
|
|
1
|
+
export { Progress } from '@chakra-ui/react/progress';
|
@@ -0,0 +1,31 @@
|
|
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 __export = (target, all) => {
|
8
|
+
for (var name in all)
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
10
|
+
};
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
13
|
+
for (let key of __getOwnPropNames(from))
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
16
|
+
}
|
17
|
+
return to;
|
18
|
+
};
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
20
|
+
|
21
|
+
// src/components/progress-circle/index.ts
|
22
|
+
var progress_circle_exports = {};
|
23
|
+
__export(progress_circle_exports, {
|
24
|
+
ProgressCircle: () => import_progress_circle.ProgressCircle
|
25
|
+
});
|
26
|
+
module.exports = __toCommonJS(progress_circle_exports);
|
27
|
+
var import_progress_circle = require("@chakra-ui/react/progress-circle");
|
28
|
+
// Annotate the CommonJS export names for ESM import in node:
|
29
|
+
0 && (module.exports = {
|
30
|
+
ProgressCircle
|
31
|
+
});
|
@@ -0,0 +1 @@
|
|
1
|
+
export { ProgressCircle } from '@chakra-ui/react/progress-circle';
|
@@ -0,0 +1 @@
|
|
1
|
+
export { ProgressCircle } from '@chakra-ui/react/progress-circle';
|
@@ -0,0 +1,31 @@
|
|
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 __export = (target, all) => {
|
8
|
+
for (var name in all)
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
10
|
+
};
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
13
|
+
for (let key of __getOwnPropNames(from))
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
16
|
+
}
|
17
|
+
return to;
|
18
|
+
};
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
20
|
+
|
21
|
+
// src/components/textarea/index.ts
|
22
|
+
var textarea_exports = {};
|
23
|
+
__export(textarea_exports, {
|
24
|
+
Textarea: () => import_textarea.Textarea
|
25
|
+
});
|
26
|
+
module.exports = __toCommonJS(textarea_exports);
|
27
|
+
var import_textarea = require("@chakra-ui/react/textarea");
|
28
|
+
// Annotate the CommonJS export names for ESM import in node:
|
29
|
+
0 && (module.exports = {
|
30
|
+
Textarea
|
31
|
+
});
|
@@ -0,0 +1 @@
|
|
1
|
+
export { Textarea, TextareaProps } from '@chakra-ui/react/textarea';
|
@@ -0,0 +1 @@
|
|
1
|
+
export { Textarea, TextareaProps } from '@chakra-ui/react/textarea';
|