@saasquatch/mint-components 1.5.1 → 1.5.3-0
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 +14 -2
- package/dist/cjs/{ShadowViewAddon-8151e5d3.js → ShadowViewAddon-8665ac96.js} +65 -26
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/{sqm-big-stat_34.cjs.entry.js → sqm-big-stat_35.cjs.entry.js} +56 -7
- package/dist/cjs/sqm-empty_5.cjs.entry.js +1 -1
- package/dist/cjs/sqm-hero.cjs.entry.js +1 -1
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +1 -1
- package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-footer.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +3 -4
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +3 -4
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +1 -1
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +1 -1
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +231 -43
- package/dist/cjs/sqm-tabs.cjs.entry.js +1 -1
- package/dist/cjs/{utils-01dbfd4a.js → utils-8ef4fe4a.js} +9 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/sqm-hero/Hero.stories.js +1 -1
- package/dist/collection/components/sqm-input-field/InputField.stories.js +88 -0
- package/dist/collection/components/sqm-input-field/UseInputField.stories.js +77 -0
- package/dist/collection/components/sqm-input-field/sqm-input-field-view.js +41 -0
- package/dist/collection/components/sqm-input-field/sqm-input-field.js +192 -0
- package/dist/collection/components/sqm-input-field/useInputField.js +10 -0
- package/dist/collection/components/sqm-name-fields/NameFields.stories.js +2 -2
- package/dist/collection/components/sqm-portal-footer/PortalFooter.stories.js +1 -1
- package/dist/collection/components/sqm-portal-login/usePortalLogin.js +4 -5
- package/dist/collection/components/sqm-portal-reset-password/usePortalResetPassword.js +3 -4
- package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +3 -4
- package/dist/collection/components/sqm-program-menu/ProgramMenu.stories.js +1 -1
- package/dist/collection/components/sqm-referral-iframe/ReferralIframe.stories.js +1 -1
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +4 -0
- package/dist/collection/utils/utils.js +8 -0
- package/dist/esm/{ShadowViewAddon-e42c07c6.js → ShadowViewAddon-ec53d07b.js} +65 -27
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/{sqm-big-stat_34.entry.js → sqm-big-stat_35.entry.js} +56 -8
- package/dist/esm/sqm-empty_5.entry.js +1 -1
- package/dist/esm/sqm-hero.entry.js +1 -1
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm/sqm-popup-container.entry.js +1 -1
- package/dist/esm/sqm-portal-footer.entry.js +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +1 -1
- package/dist/esm/sqm-portal-reset-password.entry.js +3 -4
- package/dist/esm/sqm-portal-verify-email.entry.js +3 -4
- package/dist/esm/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm/sqm-stencilbook.entry.js +231 -43
- package/dist/esm/sqm-tabs.entry.js +1 -1
- package/dist/esm/{utils-1d345130.js → utils-d7bbb0e2.js} +9 -1
- package/dist/esm-es5/{ShadowViewAddon-e42c07c6.js → ShadowViewAddon-ec53d07b.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-big-stat_35.entry.js +1 -0
- package/dist/esm-es5/sqm-empty_5.entry.js +1 -1
- package/dist/esm-es5/sqm-hero.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/{utils-1d345130.js → utils-d7bbb0e2.js} +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/p-0b9784a6.entry.js +9 -0
- package/dist/mint-components/p-2c098d2a.system.entry.js +1 -0
- package/dist/mint-components/p-33707867.system.entry.js +1 -0
- package/dist/mint-components/{p-57fc3f18.entry.js → p-342bfc16.entry.js} +1 -1
- package/dist/mint-components/{p-01baf2e6.entry.js → p-35a26fcd.entry.js} +1 -1
- package/dist/mint-components/{p-b593cb86.entry.js → p-36c073ce.entry.js} +1 -1
- package/dist/mint-components/p-36f3c053.system.js +1 -0
- package/dist/mint-components/p-38858049.entry.js +150 -0
- package/dist/mint-components/p-436da6b8.system.js +1 -1
- package/dist/mint-components/{p-2d07b528.system.entry.js → p-50019ebe.system.entry.js} +1 -1
- package/dist/mint-components/{p-777b4178.system.entry.js → p-58442d48.system.entry.js} +1 -1
- package/dist/mint-components/{p-87a0f6ff.system.entry.js → p-67958347.system.entry.js} +1 -1
- package/dist/mint-components/{p-55358561.js → p-78aa1b56.js} +2 -2
- package/dist/mint-components/{p-81571092.system.entry.js → p-85771eab.system.entry.js} +1 -1
- package/dist/mint-components/{p-9875ace8.entry.js → p-8894c616.entry.js} +1 -1
- package/dist/mint-components/{p-4e05c65a.js → p-9c5f124f.js} +1 -1
- package/dist/mint-components/p-a92677a0.system.js +1 -0
- package/dist/mint-components/{p-ddafff46.entry.js → p-b1766f84.entry.js} +1 -1
- package/dist/mint-components/{p-510b0ce1.entry.js → p-c5f46105.entry.js} +1 -1
- package/dist/mint-components/{p-0db65ced.system.entry.js → p-c712f1ca.system.entry.js} +1 -1
- package/dist/mint-components/p-d1cad711.system.entry.js +1 -0
- package/dist/mint-components/{p-081b8938.system.entry.js → p-d3e114bb.system.entry.js} +1 -1
- package/dist/mint-components/p-d4cc87d9.entry.js +1 -0
- package/dist/mint-components/p-d5bc4139.entry.js +1 -0
- package/dist/mint-components/p-e17c7323.system.entry.js +1 -0
- package/dist/mint-components/{p-138dcf89.system.entry.js → p-e3a7bab7.system.entry.js} +1 -1
- package/dist/mint-components/{p-3ab9f1ae.system.entry.js → p-e60132f2.system.entry.js} +1 -1
- package/dist/mint-components/{p-c888a6a8.entry.js → p-e7561cbf.entry.js} +1 -1
- package/dist/mint-components/{p-c94a507b.entry.js → p-f209785c.entry.js} +1 -1
- package/dist/mint-components/{p-2c98a3fb.system.entry.js → p-f69ecdf7.system.entry.js} +1 -1
- package/dist/mint-components/{p-47cf728e.entry.js → p-fe887951.entry.js} +1 -1
- package/dist/types/components/sqm-input-field/InputField.stories.d.ts +16 -0
- package/dist/types/components/sqm-input-field/UseInputField.stories.d.ts +49 -0
- package/dist/types/components/sqm-input-field/sqm-input-field-view.d.ts +14 -0
- package/dist/types/components/sqm-input-field/sqm-input-field.d.ts +35 -0
- package/dist/types/components/sqm-input-field/useInputField.d.ts +5 -0
- package/dist/types/components.d.ts +66 -0
- package/dist/types/utils/utils.d.ts +1 -0
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +2 -2
- package/dist/esm-es5/sqm-big-stat_34.entry.js +0 -1
- package/dist/mint-components/p-23259e4c.entry.js +0 -150
- package/dist/mint-components/p-471ed708.system.entry.js +0 -1
- package/dist/mint-components/p-55d9ba7f.system.entry.js +0 -1
- package/dist/mint-components/p-5bc9f6f4.system.entry.js +0 -1
- package/dist/mint-components/p-6c9bd397.system.js +0 -1
- package/dist/mint-components/p-6cb9eed6.entry.js +0 -9
- package/dist/mint-components/p-771cf678.entry.js +0 -1
- package/dist/mint-components/p-b2770bdb.system.entry.js +0 -1
- package/dist/mint-components/p-c17c4a4d.entry.js +0 -1
- package/dist/mint-components/p-c3f300e8.system.js +0 -1
|
@@ -6,7 +6,7 @@ import './extends-c31f1eff.js';
|
|
|
6
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
7
|
import './mixins-59fd94b7.js';
|
|
8
8
|
import './JSS-418cab16.js';
|
|
9
|
-
import { g as getProps } from './utils-
|
|
9
|
+
import { g as getProps } from './utils-d7bbb0e2.js';
|
|
10
10
|
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-73f753fa.js';
|
|
11
11
|
|
|
12
12
|
function useNavigationSidebarItem(props) {
|
|
@@ -3,7 +3,7 @@ import { m as h$1 } from './stencil-hooks.module-acc8a613.js';
|
|
|
3
3
|
import './use-callback-7e0bfd3b.js';
|
|
4
4
|
import { R as Rn } from './index.module-f5e17a4e.js';
|
|
5
5
|
import './extends-c31f1eff.js';
|
|
6
|
-
import { g as getProps } from './utils-
|
|
6
|
+
import { g as getProps } from './utils-d7bbb0e2.js';
|
|
7
7
|
|
|
8
8
|
const PopupContainerView = (props) => {
|
|
9
9
|
const { states, callbacks } = props;
|
|
@@ -5,7 +5,7 @@ import './use-callback-7e0bfd3b.js';
|
|
|
5
5
|
import './index.module-f5e17a4e.js';
|
|
6
6
|
import './extends-c31f1eff.js';
|
|
7
7
|
import './JSS-418cab16.js';
|
|
8
|
-
import { g as getProps } from './utils-
|
|
8
|
+
import { g as getProps } from './utils-d7bbb0e2.js';
|
|
9
9
|
import { P as PortalFooterView } from './sqm-portal-footer-view-d06c4b78.js';
|
|
10
10
|
|
|
11
11
|
const PortalFooter = class {
|
|
@@ -6,7 +6,7 @@ import { d as dist, i as ie, b as sn, q as qe, j as jn } from './index.module-f5
|
|
|
6
6
|
import './extends-c31f1eff.js';
|
|
7
7
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
8
8
|
import './JSS-418cab16.js';
|
|
9
|
-
import { g as getProps } from './utils-
|
|
9
|
+
import { g as getProps } from './utils-d7bbb0e2.js';
|
|
10
10
|
import './sqm-text-span-view-020db63f.js';
|
|
11
11
|
import './sqm-portal-container-view-34f26e2a.js';
|
|
12
12
|
import { P as PortalProfileView } from './sqm-portal-profile-view-28c39970.js';
|
|
@@ -7,6 +7,7 @@ import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
|
7
7
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
8
8
|
import './mixins-59fd94b7.js';
|
|
9
9
|
import './JSS-418cab16.js';
|
|
10
|
+
import { s as sanitizeUrlPath } from './utils-d7bbb0e2.js';
|
|
10
11
|
import './sqm-text-span-view-020db63f.js';
|
|
11
12
|
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-e0436989.js';
|
|
12
13
|
|
|
@@ -35,10 +36,8 @@ function usePortalResetPassword(props) {
|
|
|
35
36
|
};
|
|
36
37
|
const gotoNextPage = () => {
|
|
37
38
|
urlParams.delete("nextPage");
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
search: urlParams.toString() && "?" + urlParams.toString(),
|
|
41
|
-
});
|
|
39
|
+
const url = sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
40
|
+
dn.push(url.href);
|
|
42
41
|
};
|
|
43
42
|
const failed = () => {
|
|
44
43
|
dn.push({
|
|
@@ -6,6 +6,7 @@ import './extends-c31f1eff.js';
|
|
|
6
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
7
|
import './mixins-59fd94b7.js';
|
|
8
8
|
import './JSS-418cab16.js';
|
|
9
|
+
import { s as sanitizeUrlPath } from './utils-d7bbb0e2.js';
|
|
9
10
|
import './sqm-text-span-view-020db63f.js';
|
|
10
11
|
import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-c489166b.js';
|
|
11
12
|
|
|
@@ -28,10 +29,8 @@ function usePortalVerifyEmail({ nextPage, failedPage }) {
|
|
|
28
29
|
};
|
|
29
30
|
const gotoNextPage = () => {
|
|
30
31
|
urlParams.delete("nextPage");
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
search: urlParams.toString() && "?" + urlParams.toString(),
|
|
34
|
-
});
|
|
32
|
+
const url = sanitizeUrlPath(nextPageOverride || nextPage);
|
|
33
|
+
dn.push(url.href);
|
|
35
34
|
};
|
|
36
35
|
const submit = async () => {
|
|
37
36
|
if (oobCode) {
|
|
@@ -12,7 +12,7 @@ import { a as useRequestRerender, u as useRerenderListener } from './re-render-8
|
|
|
12
12
|
import { u as useChildElements } from './useChildElements-3ffd7077.js';
|
|
13
13
|
import { l as luxon } from './luxon-f44215d9.js';
|
|
14
14
|
import { u as useReferralTable, t as tryMethod } from './useReferralTable-d8a7e3be.js';
|
|
15
|
-
import { l as luxonLocale } from './utils-
|
|
15
|
+
import { l as luxonLocale } from './utils-d7bbb0e2.js';
|
|
16
16
|
import { T as TextSpanView } from './sqm-text-span-view-020db63f.js';
|
|
17
17
|
|
|
18
18
|
const mockReferralData = (count = 4) => {
|
|
@@ -12,7 +12,7 @@ import { u as useRerenderListener, a as useRequestRerender } from './re-render-8
|
|
|
12
12
|
import { u as useChildElements } from './useChildElements-3ffd7077.js';
|
|
13
13
|
import { l as luxon } from './luxon-f44215d9.js';
|
|
14
14
|
import { g as generateUserError } from './useReferralTable-d8a7e3be.js';
|
|
15
|
-
import { l as luxonLocale } from './utils-
|
|
15
|
+
import { l as luxonLocale } from './utils-d7bbb0e2.js';
|
|
16
16
|
|
|
17
17
|
const mockRewardData = (count = 4) => {
|
|
18
18
|
const data = [...Array(count)].map(() => getMockData());
|