@salesmind-ai/design-system 0.3.8 → 0.3.10
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/dist/admin/index.cjs +18 -18
- package/dist/admin/index.d.cts +2 -2
- package/dist/admin/index.d.ts +2 -2
- package/dist/admin/index.js +1 -1
- package/dist/{chunk-OXNXEQY7.js → chunk-5SN66B2X.js} +11 -7
- package/dist/chunk-5SN66B2X.js.map +1 -0
- package/dist/{chunk-I75BFEYT.cjs → chunk-G2XGBO5V.cjs} +10 -6
- package/dist/chunk-G2XGBO5V.cjs.map +1 -0
- package/dist/core/index.css +1 -2
- package/dist/core/index.css.map +1 -1
- package/dist/index.cjs +18 -18
- package/dist/index.css +2 -3
- package/dist/index.css.map +1 -1
- package/dist/index.js +1 -1
- package/dist/motion/index.css +1 -1
- package/dist/motion/index.css.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-I75BFEYT.cjs.map +0 -1
- package/dist/chunk-OXNXEQY7.js.map +0 -1
package/dist/admin/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkG2XGBO5V_cjs = require('../chunk-G2XGBO5V.cjs');
|
|
5
5
|
require('../chunk-CJ2MKVAF.cjs');
|
|
6
6
|
require('../chunk-E7D6EKJ4.cjs');
|
|
7
7
|
require('../chunk-H2Y6BSTL.cjs');
|
|
@@ -11,71 +11,71 @@ require('../chunk-LJADZITX.cjs');
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "ChangeEmail", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkG2XGBO5V_cjs.ChangeEmail; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "DataTable", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkG2XGBO5V_cjs.DataTable; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "DataTableBody", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkG2XGBO5V_cjs.DataTableBody; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "DataTableCell", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkG2XGBO5V_cjs.DataTableCell; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "DataTableHead", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkG2XGBO5V_cjs.DataTableHead; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "DataTableHeader", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkG2XGBO5V_cjs.DataTableHeader; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "DataTableRow", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkG2XGBO5V_cjs.DataTableRow; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "FloatingTabBar", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkG2XGBO5V_cjs.FloatingTabBar; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "ForgotPassword", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkG2XGBO5V_cjs.ForgotPassword; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "LeadProfileView", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkG2XGBO5V_cjs.LeadProfileView; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "Login", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkG2XGBO5V_cjs.Login; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "Shell", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkG2XGBO5V_cjs.Shell; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "Sidebar", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkG2XGBO5V_cjs.Sidebar; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "SidebarItem", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkG2XGBO5V_cjs.SidebarItem; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "SidebarSection", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkG2XGBO5V_cjs.SidebarSection; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "Signup", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkG2XGBO5V_cjs.Signup; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "TabItem", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkG2XGBO5V_cjs.TabItem; }
|
|
79
79
|
});
|
|
80
80
|
//# sourceMappingURL=out.js.map
|
|
81
81
|
//# sourceMappingURL=index.cjs.map
|
package/dist/admin/index.d.cts
CHANGED
|
@@ -244,8 +244,8 @@ interface SignupProps {
|
|
|
244
244
|
error?: string;
|
|
245
245
|
/** Success state */
|
|
246
246
|
isSuccess?: boolean;
|
|
247
|
-
/** Success message */
|
|
248
|
-
successMessage?:
|
|
247
|
+
/** Success message — accepts a string or React nodes (e.g. with <br />) */
|
|
248
|
+
successMessage?: React__default.ReactNode;
|
|
249
249
|
/** Custom class name */
|
|
250
250
|
className?: string;
|
|
251
251
|
/** Custom styles */
|
package/dist/admin/index.d.ts
CHANGED
|
@@ -244,8 +244,8 @@ interface SignupProps {
|
|
|
244
244
|
error?: string;
|
|
245
245
|
/** Success state */
|
|
246
246
|
isSuccess?: boolean;
|
|
247
|
-
/** Success message */
|
|
248
|
-
successMessage?:
|
|
247
|
+
/** Success message — accepts a string or React nodes (e.g. with <br />) */
|
|
248
|
+
successMessage?: React__default.ReactNode;
|
|
249
249
|
/** Custom class name */
|
|
250
250
|
className?: string;
|
|
251
251
|
/** Custom styles */
|
package/dist/admin/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { ChangeEmail, DataTable, DataTableBody, DataTableCell, DataTableHead, DataTableHeader, DataTableRow, FloatingTabBar, ForgotPassword, LeadProfileView, Login, Shell, Sidebar, SidebarItem, SidebarSection, Signup, TabItem } from '../chunk-
|
|
2
|
+
export { ChangeEmail, DataTable, DataTableBody, DataTableCell, DataTableHead, DataTableHeader, DataTableRow, FloatingTabBar, ForgotPassword, LeadProfileView, Login, Shell, Sidebar, SidebarItem, SidebarSection, Signup, TabItem } from '../chunk-5SN66B2X.js';
|
|
3
3
|
import '../chunk-7PX2AZ6Y.js';
|
|
4
4
|
import '../chunk-3NKRFUAR.js';
|
|
5
5
|
import '../chunk-SICKWUWB.js';
|
|
@@ -4,7 +4,7 @@ import { Button } from './chunk-SICKWUWB.js';
|
|
|
4
4
|
import { OutboundLink } from './chunk-KJ2OXQF4.js';
|
|
5
5
|
import React4, { useState, useEffect, useMemo } from 'react';
|
|
6
6
|
import clsx4 from 'clsx';
|
|
7
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
7
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
var Sidebar = React4.forwardRef(
|
|
10
10
|
({ position = "left", width = 280, collapsed = false, className, children }, ref) => {
|
|
@@ -669,7 +669,7 @@ var defaultSignupLabels = {
|
|
|
669
669
|
loginPrompt: "Already have an account?",
|
|
670
670
|
loginLabel: "Sign in",
|
|
671
671
|
successTitle: "Welcome!",
|
|
672
|
-
continueToLoginLabel: "
|
|
672
|
+
continueToLoginLabel: "Go to Application"
|
|
673
673
|
};
|
|
674
674
|
function calculatePasswordStrength(password, strengthLabels) {
|
|
675
675
|
let score = 0;
|
|
@@ -705,7 +705,11 @@ var Signup = ({
|
|
|
705
705
|
isLoading = false,
|
|
706
706
|
error,
|
|
707
707
|
isSuccess = false,
|
|
708
|
-
successMessage =
|
|
708
|
+
successMessage = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
709
|
+
"You're all set!",
|
|
710
|
+
/* @__PURE__ */ jsx("br", {}),
|
|
711
|
+
"Check your email to verify your account."
|
|
712
|
+
] }),
|
|
709
713
|
className,
|
|
710
714
|
style,
|
|
711
715
|
labels: customLabels,
|
|
@@ -752,7 +756,7 @@ var Signup = ({
|
|
|
752
756
|
}
|
|
753
757
|
)
|
|
754
758
|
] }) }),
|
|
755
|
-
/* @__PURE__ */ jsx("h1", { className: "ds-signup__success-title", children: l.successTitle === "Welcome!" ? `Welcome to ${brandName}!` : l.successTitle }),
|
|
759
|
+
/* @__PURE__ */ jsx("h1", { className: "ds-signup__success-title", children: l.successTitle === "Welcome!" ? brandName ? `Welcome to ${brandName}!` : "Welcome!" : l.successTitle }),
|
|
756
760
|
/* @__PURE__ */ jsx("p", { className: "ds-signup__success-message", children: successMessage }),
|
|
757
761
|
/* @__PURE__ */ jsx(Button, { variant: "primary", size: "lg", onClick: onLogin, className: "ds-signup__success-btn", children: l.continueToLoginLabel })
|
|
758
762
|
] })
|
|
@@ -871,7 +875,7 @@ var Signup = ({
|
|
|
871
875
|
autoComplete: "email"
|
|
872
876
|
}
|
|
873
877
|
) }),
|
|
874
|
-
/* @__PURE__ */
|
|
878
|
+
/* @__PURE__ */ jsx("div", { className: "ds-signup__field ds-signup__phone-field", children: /* @__PURE__ */ jsxs("div", { className: "ds-textfield", children: [
|
|
875
879
|
/* @__PURE__ */ jsx("label", { className: "ds-textfield__label", htmlFor: "phone-input", children: l.phoneLabel }),
|
|
876
880
|
/* @__PURE__ */ jsx("div", { className: "ds-textfield__input-wrapper", children: renderPhoneInput ? renderPhoneInput({
|
|
877
881
|
value: phone,
|
|
@@ -916,7 +920,7 @@ var Signup = ({
|
|
|
916
920
|
}
|
|
917
921
|
)
|
|
918
922
|
] }) })
|
|
919
|
-
] }),
|
|
923
|
+
] }) }),
|
|
920
924
|
/* @__PURE__ */ jsxs("div", { className: "ds-signup__field", children: [
|
|
921
925
|
/* @__PURE__ */ jsxs("div", { className: "ds-signup__password-wrapper", children: [
|
|
922
926
|
/* @__PURE__ */ jsx(
|
|
@@ -2535,4 +2539,4 @@ LeadProfileView.displayName = "LeadProfileView";
|
|
|
2535
2539
|
|
|
2536
2540
|
export { ChangeEmail, DataTable, DataTableBody, DataTableCell, DataTableHead, DataTableHeader, DataTableRow, FloatingTabBar, ForgotPassword, LeadProfileView, Login, Shell, Sidebar, SidebarItem, SidebarSection, Signup, TabItem };
|
|
2537
2541
|
//# sourceMappingURL=out.js.map
|
|
2538
|
-
//# sourceMappingURL=chunk-
|
|
2542
|
+
//# sourceMappingURL=chunk-5SN66B2X.js.map
|