@saasquatch/mint-components 1.6.3 → 1.6.4-1
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/cjs/{ShadowViewAddon-25a9cece.js → ShadowViewAddon-f8dc3d5c.js} +9 -5
- package/dist/cjs/sqm-big-stat_35.cjs.entry.js +4 -7
- package/dist/cjs/sqm-empty_5.cjs.entry.js +5 -6
- package/dist/cjs/sqm-navigation-sidebar-view-4704aa73.js +158 -0
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +21 -4
- package/dist/cjs/{sqm-portal-container-view-b336f655.js → sqm-portal-container-view-5beae29c.js} +23 -0
- package/dist/cjs/{sqm-portal-profile-view-b7ceb690.js → sqm-portal-profile-view-d63d74bd.js} +31 -16
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +1 -2
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +19 -62
- package/dist/collection/components/sqm-divided-layout/DividedLayout.stories.js +1 -15
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +2 -4
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +1 -1
- package/dist/collection/components/sqm-empty/sqm-empty-view.js +1 -1
- package/dist/collection/components/sqm-empty/sqm-empty.js +1 -1
- package/dist/collection/components/sqm-hero/sqm-hero.js +2 -0
- package/dist/collection/components/sqm-navigation-sidebar/NavigationSidebar.stories.js +1 -1
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +147 -25
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +20 -1
- package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +1 -0
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +31 -16
- package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +5 -0
- package/dist/collection/stories/NewPortal.stories.js +1 -15
- package/dist/esm/{ShadowViewAddon-d4705dae.js → ShadowViewAddon-2b7579de.js} +12 -8
- package/dist/esm/{global-126fa55c.js → global-09167b08.js} +2 -2
- package/dist/esm/{index.module-14794b69.js → index.module-48cc9ee0.js} +2 -2
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{luxon-5a398612.js → luxon-198ac0b0.js} +1 -1
- package/dist/esm/mint-components.js +4 -4
- package/dist/esm/{re-render-f48b74b9.js → re-render-f406e379.js} +2 -2
- package/dist/esm/sqm-asset-card.entry.js +3 -3
- package/dist/esm/sqm-big-stat_35.entry.js +12 -15
- package/dist/esm/sqm-empty_5.entry.js +5 -6
- package/dist/esm/sqm-form-message.entry.js +1 -1
- package/dist/esm/sqm-graphql-client-provider.entry.js +3 -3
- package/dist/esm/sqm-header-logo.entry.js +1 -1
- package/dist/esm/{sqm-hero-view-1904c178.js → sqm-hero-view-2270b6d2.js} +2 -2
- package/dist/esm/sqm-hero.entry.js +3 -3
- package/dist/esm/sqm-leaderboard-rank.entry.js +4 -4
- package/dist/esm/{sqm-navigation-sidebar-item-view-d6b9f5d0.js → sqm-navigation-sidebar-item-view-4f6d4e15.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +4 -4
- package/dist/esm/sqm-navigation-sidebar-view-06a9d083.js +156 -0
- package/dist/esm/sqm-navigation-sidebar.entry.js +22 -5
- package/dist/esm/sqm-password-field.entry.js +4 -4
- package/dist/esm/sqm-popup-container.entry.js +3 -3
- package/dist/esm/{sqm-portal-container-view-21bd84e0.js → sqm-portal-container-view-2307476f.js} +23 -1
- package/dist/esm/{sqm-portal-email-verification-view-99ca4596.js → sqm-portal-email-verification-view-f2b2a54c.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +5 -5
- package/dist/esm/{sqm-portal-footer-view-360cfd92.js → sqm-portal-footer-view-f660d387.js} +1 -1
- package/dist/esm/sqm-portal-footer.entry.js +5 -5
- package/dist/esm/sqm-portal-forgot-password.entry.js +3 -3
- package/dist/esm/sqm-portal-logout.entry.js +3 -3
- package/dist/esm/{sqm-portal-profile-view-93b584ab.js → sqm-portal-profile-view-cf999a98.js} +32 -17
- package/dist/esm/sqm-portal-profile.entry.js +5 -6
- package/dist/esm/sqm-portal-protected-route.entry.js +3 -3
- package/dist/esm/sqm-portal-registration-form.entry.js +4 -4
- package/dist/esm/sqm-portal-reset-password.entry.js +3 -3
- package/dist/esm/sqm-portal-verify-email.entry.js +3 -3
- package/dist/esm/sqm-referral-table_11.entry.js +8 -8
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
- package/dist/esm/sqm-rewards-table_9.entry.js +8 -8
- package/dist/esm/sqm-stencilbook.entry.js +17 -60
- package/dist/esm/sqm-tab.entry.js +4 -4
- package/dist/esm/sqm-tabs.entry.js +5 -5
- package/dist/esm/sqm-text-span.entry.js +1 -1
- package/dist/esm/{stencil-hooks.module-eefa3570.js → stencil-hooks.module-203eab48.js} +1 -1
- package/dist/esm/{use-callback-684c8bb7.js → use-callback-f03b0607.js} +1 -1
- package/dist/esm/{useChildElements-d574b0ce.js → useChildElements-11279a92.js} +2 -2
- package/dist/esm/{useReferralTable-4f070134.js → useReferralTable-d8f625cc.js} +4 -4
- package/dist/esm/{useRegistrationFormState-abed2c1e.js → useRegistrationFormState-3eb572a5.js} +2 -2
- package/dist/esm-es5/ShadowViewAddon-2b7579de.js +1 -0
- package/dist/esm-es5/{global-126fa55c.js → global-09167b08.js} +1 -1
- package/dist/esm-es5/{index.module-14794b69.js → index.module-48cc9ee0.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-5a398612.js → luxon-198ac0b0.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-f48b74b9.js → re-render-f406e379.js} +1 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_35.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_5.entry.js +1 -1
- package/dist/esm-es5/sqm-form-message.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
- package/dist/esm-es5/{sqm-hero-view-1904c178.js → sqm-hero-view-2270b6d2.js} +1 -1
- package/dist/esm-es5/sqm-hero.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-4f6d4e15.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-view-06a9d083.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-container-view-2307476f.js +1 -0
- package/dist/esm-es5/{sqm-portal-email-verification-view-99ca4596.js → sqm-portal-email-verification-view-f2b2a54c.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-footer-view-360cfd92.js → sqm-portal-footer-view-f660d387.js} +1 -1
- package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-profile-view-cf999a98.js +1 -0
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-registration-form.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-customer-note-cell.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-column.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-tab.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/{stencil-hooks.module-eefa3570.js → stencil-hooks.module-203eab48.js} +1 -1
- package/dist/esm-es5/use-callback-f03b0607.js +1 -0
- package/dist/esm-es5/{useChildElements-d574b0ce.js → useChildElements-11279a92.js} +1 -1
- package/dist/esm-es5/{useReferralTable-4f070134.js → useReferralTable-d8f625cc.js} +1 -1
- package/dist/esm-es5/useRegistrationFormState-3eb572a5.js +1 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/p-0110b347.system.entry.js +1 -0
- package/dist/mint-components/p-069288ef.system.entry.js +1 -0
- package/dist/mint-components/{p-d90834f7.entry.js → p-07548bda.entry.js} +2 -2
- package/dist/mint-components/{p-bb241e21.system.entry.js → p-08010f98.system.entry.js} +1 -1
- package/dist/mint-components/{p-3c6f3be9.system.entry.js → p-09f3273f.system.entry.js} +1 -1
- package/dist/mint-components/{p-28dcad3f.entry.js → p-11d04239.entry.js} +2 -2
- package/dist/mint-components/{p-8a2c78e0.entry.js → p-12681e5a.entry.js} +1 -1
- package/dist/mint-components/{p-d71278d3.system.js → p-177f9745.system.js} +1 -1
- package/dist/mint-components/{p-1b572110.system.entry.js → p-1958035b.system.entry.js} +1 -1
- package/dist/mint-components/p-19f72571.entry.js +1 -0
- package/dist/mint-components/p-2141959d.system.entry.js +1 -0
- package/dist/mint-components/{p-5709f64a.js → p-21b7fc2c.js} +1 -1
- package/dist/mint-components/{p-e2440408.js → p-22e99881.js} +1 -1
- package/dist/mint-components/{p-09e2ad91.entry.js → p-278e4bd0.entry.js} +1 -1
- package/dist/mint-components/p-2daec69c.entry.js +9 -0
- package/dist/mint-components/{p-d4ee07e6.system.js → p-34a64c60.system.js} +1 -1
- package/dist/mint-components/{p-f1a2b660.js → p-356b997d.js} +1 -1
- package/dist/mint-components/p-36840775.js +268 -0
- package/dist/mint-components/{p-7768ba6a.system.entry.js → p-36ad8fe3.system.entry.js} +1 -1
- package/dist/mint-components/p-37bbd972.js +1 -0
- package/dist/mint-components/{p-5d8343f5.system.entry.js → p-3827df5e.system.entry.js} +1 -1
- package/dist/mint-components/{p-e344d860.system.entry.js → p-3ed3358e.system.entry.js} +1 -1
- package/dist/mint-components/p-3ff7a236.js +1 -0
- package/dist/mint-components/p-4619685f.js +1 -0
- package/dist/mint-components/p-4b66b9d9.system.js +1 -0
- package/dist/mint-components/p-4c86095b.js +1 -0
- package/dist/mint-components/{p-538904bd.js → p-4e3bba58.js} +1 -1
- package/dist/mint-components/p-4e5f3aec.system.js +1 -0
- package/dist/mint-components/{p-adde467d.entry.js → p-55459a24.entry.js} +1 -1
- package/dist/mint-components/p-5d769ce8.system.js +1 -0
- package/dist/mint-components/p-5f3a12ab.entry.js +1 -0
- package/dist/mint-components/p-5fb4fe4a.js +1 -0
- package/dist/mint-components/{p-eecce333.system.entry.js → p-60cb1b8c.system.entry.js} +1 -1
- package/dist/mint-components/{p-06c386c7.system.js → p-66247b60.system.js} +1 -1
- package/dist/mint-components/{p-ec7a5d7c.system.entry.js → p-6ccbff10.system.entry.js} +1 -1
- package/dist/mint-components/{p-bdba5fa0.entry.js → p-6f26a8d4.entry.js} +2 -2
- package/dist/mint-components/p-71e57c04.entry.js +1 -0
- package/dist/mint-components/{p-98dd1229.entry.js → p-727fae6d.entry.js} +1 -1
- package/dist/mint-components/{p-dfde7664.entry.js → p-75843334.entry.js} +1 -1
- package/dist/mint-components/{p-df139412.entry.js → p-7c755fae.entry.js} +1 -1
- package/dist/mint-components/p-7ceff8de.system.js +1 -0
- package/dist/mint-components/{p-46ad2836.entry.js → p-7d852be4.entry.js} +1 -1
- package/dist/mint-components/{p-d1341773.entry.js → p-80a6c714.entry.js} +1 -1
- package/dist/mint-components/p-867ba20a.system.js +1 -0
- package/dist/mint-components/{p-91f457ae.js → p-86de986b.js} +1 -1
- package/dist/mint-components/{p-a47719a1.entry.js → p-9871916d.entry.js} +1 -1
- package/dist/mint-components/{p-5d21c616.entry.js → p-9b93a466.entry.js} +1 -1
- package/dist/mint-components/{p-e733843b.js → p-9e1d9435.js} +1 -1
- package/dist/mint-components/{p-15ff38a8.js → p-a37d0529.js} +1 -1
- package/dist/mint-components/{p-fe74b75b.system.entry.js → p-a461c89b.system.entry.js} +1 -1
- package/dist/mint-components/{p-19b6f55d.system.js → p-a7e17c0f.system.js} +1 -1
- package/dist/mint-components/p-a9444fa1.system.js +1 -0
- package/dist/mint-components/{p-eec4ddab.system.js → p-a99bbfe8.system.js} +1 -1
- package/dist/mint-components/{p-57e38374.js → p-ad5127e6.js} +1 -1
- package/dist/mint-components/{p-1fcd03ba.system.js → p-af16faae.system.js} +1 -1
- package/dist/mint-components/{p-684aadb5.system.js → p-b103de2f.system.js} +1 -1
- package/dist/mint-components/p-b2705143.system.js +1 -0
- package/dist/mint-components/{p-4199cece.entry.js → p-b35375d1.entry.js} +1 -1
- package/dist/mint-components/{p-2e308c1b.system.js → p-b43a075f.system.js} +1 -1
- package/dist/mint-components/p-b5864986.system.entry.js +1 -0
- package/dist/mint-components/{p-7cd232f3.js → p-b5c07438.js} +2 -2
- package/dist/mint-components/{p-84130e9c.entry.js → p-b755b77c.entry.js} +1 -1
- package/dist/mint-components/{p-6fe30760.entry.js → p-b9452254.entry.js} +1 -1
- package/dist/mint-components/{p-212663a2.system.entry.js → p-c38881cc.system.entry.js} +1 -1
- package/dist/mint-components/p-c99d4f5a.system.entry.js +1 -0
- package/dist/mint-components/p-cc0b14d3.entry.js +1 -0
- package/dist/mint-components/{p-a27bbf25.system.entry.js → p-cef7926c.system.entry.js} +1 -1
- package/dist/mint-components/{p-063d2251.entry.js → p-d0dc8883.entry.js} +1 -1
- package/dist/mint-components/{p-e8956db1.entry.js → p-d1540fe3.entry.js} +1 -1
- package/dist/mint-components/p-d3030076.entry.js +1 -0
- package/dist/mint-components/p-d3a07540.system.entry.js +1 -0
- package/dist/mint-components/{p-7fd5b59a.system.entry.js → p-d4d86e2c.system.entry.js} +1 -1
- package/dist/mint-components/{p-54eae1a4.system.entry.js → p-d74f7723.system.entry.js} +1 -1
- package/dist/mint-components/{p-7de79b21.system.entry.js → p-de067239.system.entry.js} +1 -1
- package/dist/mint-components/p-e018edb8.system.js +1 -0
- package/dist/mint-components/{p-7682724f.system.js → p-e4a5687e.system.js} +1 -1
- package/dist/mint-components/{p-86adbf81.js → p-e4fc7952.js} +1 -1
- package/dist/mint-components/p-e712f037.entry.js +1 -0
- package/dist/mint-components/{p-be206a97.system.js → p-e851c392.system.js} +1 -1
- package/dist/mint-components/p-e8bf0ab5.js +1 -0
- package/dist/mint-components/{p-03b5c33a.system.entry.js → p-ea3da753.system.entry.js} +1 -1
- package/dist/mint-components/p-ef016ed7.system.entry.js +1 -0
- package/dist/mint-components/{p-df5cb47b.entry.js → p-f2402dce.entry.js} +1 -1
- package/dist/mint-components/{p-67e0737e.entry.js → p-f451ee1c.entry.js} +1 -1
- package/dist/mint-components/p-f4f5c6d2.system.entry.js +1 -0
- package/dist/mint-components/p-f9d414fa.system.entry.js +1 -0
- package/dist/mint-components/{p-538ed60d.entry.js → p-f9ddcd73.entry.js} +1 -1
- package/dist/mint-components/p-f9e06de3.system.entry.js +1 -0
- package/dist/mint-components/{p-248588e2.entry.js → p-fb3e980d.entry.js} +1 -1
- package/dist/mint-components/{p-9d2d4a46.system.entry.js → p-fb617890.system.entry.js} +1 -1
- package/dist/mint-components/{p-fcab0950.system.entry.js → p-fd00f250.system.entry.js} +1 -1
- package/dist/mint-components/{p-3aace795.system.entry.js → p-febe7c5f.system.entry.js} +1 -1
- package/dist/mint-components/{p-445412d7.system.entry.js → p-ffd4f556.system.entry.js} +1 -1
- package/dist/types/components/sqm-empty/sqm-empty.d.ts +1 -1
- package/dist/types/components/sqm-hero/sqm-hero.d.ts +2 -0
- package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.d.ts +2 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/package.json +1 -1
- package/dist/cjs/sqm-navigation-sidebar-view-87756d23.js +0 -36
- package/dist/cjs/sqm-portal-section-view-1e5bbcb1.js +0 -27
- package/dist/esm/sqm-navigation-sidebar-view-a5b72846.js +0 -34
- package/dist/esm/sqm-portal-section-view-a991e019.js +0 -25
- package/dist/esm-es5/ShadowViewAddon-d4705dae.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-d6b9f5d0.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-view-a5b72846.js +0 -1
- package/dist/esm-es5/sqm-portal-container-view-21bd84e0.js +0 -1
- package/dist/esm-es5/sqm-portal-profile-view-93b584ab.js +0 -1
- package/dist/esm-es5/sqm-portal-section-view-a991e019.js +0 -1
- package/dist/esm-es5/use-callback-684c8bb7.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-abed2c1e.js +0 -1
- package/dist/mint-components/p-05371d85.system.js +0 -1
- package/dist/mint-components/p-1077f3f6.js +0 -1
- package/dist/mint-components/p-1138df57.system.entry.js +0 -1
- package/dist/mint-components/p-13fc7d5e.system.js +0 -1
- package/dist/mint-components/p-2723c5cd.system.entry.js +0 -1
- package/dist/mint-components/p-29542a79.system.entry.js +0 -1
- package/dist/mint-components/p-2db22fc6.system.js +0 -1
- package/dist/mint-components/p-34213ad0.js +0 -1
- package/dist/mint-components/p-3c27a64d.entry.js +0 -1
- package/dist/mint-components/p-40b4e40c.entry.js +0 -1
- package/dist/mint-components/p-4b83d7ea.js +0 -1
- package/dist/mint-components/p-4cb94566.entry.js +0 -1
- package/dist/mint-components/p-5145c06d.system.entry.js +0 -1
- package/dist/mint-components/p-5d4d81bf.system.js +0 -1
- package/dist/mint-components/p-5ec62e5e.system.entry.js +0 -1
- package/dist/mint-components/p-77fa96a0.system.entry.js +0 -1
- package/dist/mint-components/p-7b18ed47.system.entry.js +0 -1
- package/dist/mint-components/p-7c482d9c.entry.js +0 -1
- package/dist/mint-components/p-808f2155.entry.js +0 -1
- package/dist/mint-components/p-89ca304c.system.entry.js +0 -1
- package/dist/mint-components/p-91f576aa.js +0 -1
- package/dist/mint-components/p-99397ef5.system.js +0 -1
- package/dist/mint-components/p-c4c53efb.entry.js +0 -9
- package/dist/mint-components/p-c683c96d.entry.js +0 -1
- package/dist/mint-components/p-c72e4a4c.system.js +0 -1
- package/dist/mint-components/p-ceb1a772.js +0 -1
- package/dist/mint-components/p-d047d6a1.js +0 -1
- package/dist/mint-components/p-dbfb865e.js +0 -1
- package/dist/mint-components/p-e8a2e2fd.system.js +0 -1
- package/dist/mint-components/p-e9e00618.system.js +0 -1
- package/dist/mint-components/p-ec690422.system.js +0 -1
- package/dist/mint-components/p-ef696d05.system.entry.js +0 -1
- package/dist/mint-components/p-fa48fff3.system.entry.js +0 -1
- package/dist/mint-components/p-fd207df1.js +0 -268
|
@@ -5,20 +5,6 @@ import { PortalSectionView } from "../sqm-titled-section/sqm-portal-section-view
|
|
|
5
5
|
export default {
|
|
6
6
|
title: "Components/Divided Layout",
|
|
7
7
|
};
|
|
8
|
-
const barProps = {
|
|
9
|
-
data: {
|
|
10
|
-
programs: [
|
|
11
|
-
{
|
|
12
|
-
key: "program1",
|
|
13
|
-
label: "My Referral Program",
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
key: "program2",
|
|
17
|
-
label: "My Rewards Program",
|
|
18
|
-
},
|
|
19
|
-
],
|
|
20
|
-
},
|
|
21
|
-
};
|
|
22
8
|
const item1Props = {
|
|
23
9
|
states: {
|
|
24
10
|
active: false,
|
|
@@ -40,7 +26,7 @@ const item2Props = {
|
|
|
40
26
|
},
|
|
41
27
|
};
|
|
42
28
|
const Sidebar = () => {
|
|
43
|
-
return (h(NavigationSidebarView,
|
|
29
|
+
return (h(NavigationSidebarView, null,
|
|
44
30
|
h(NavigationSidebarItemView, Object.assign({}, item1Props)),
|
|
45
31
|
h(NavigationSidebarItemView, Object.assign({}, item2Props))));
|
|
46
32
|
};
|
|
@@ -12,10 +12,6 @@ export function DividedLayoutView(props, children) {
|
|
|
12
12
|
const style = {
|
|
13
13
|
LayoutContainer: {
|
|
14
14
|
display: "contents",
|
|
15
|
-
// "min-width": "320px",
|
|
16
|
-
// "& > ::slotted(*)": {
|
|
17
|
-
// "min-width": "320px",
|
|
18
|
-
// },
|
|
19
15
|
// First style applies when shadow DOM is disabled, second applies when shadow DOM is enabled
|
|
20
16
|
"& > :not(:last-child)": {
|
|
21
17
|
...getBorder(),
|
|
@@ -28,8 +24,10 @@ export function DividedLayoutView(props, children) {
|
|
|
28
24
|
const hostStyle = `
|
|
29
25
|
display: flex;
|
|
30
26
|
flex: 1;
|
|
27
|
+
box-sizing: border-box;
|
|
31
28
|
flex-direction: ${props.direction};
|
|
32
29
|
background-color: var(--sqm-content-background);
|
|
30
|
+
overflow-x: clip;
|
|
33
31
|
${props.direction === "column"
|
|
34
32
|
? "width: 100%; max-width: var(--sqm-portal-main-width);"
|
|
35
33
|
: ""}
|
|
@@ -37,7 +37,7 @@ const EditProfileView = (props) => {
|
|
|
37
37
|
return (h("div", { class: `CardWrapper FormWrapper ${!states.showEdit && "ShowEdit"}` },
|
|
38
38
|
h("div", { class: "FormSection" },
|
|
39
39
|
h("h2", { style: {
|
|
40
|
-
fontSize: "var(--sl-font-size-x-large",
|
|
40
|
+
fontSize: "var(--sl-font-size-x-large)",
|
|
41
41
|
marginBottom: "0px",
|
|
42
42
|
textAlign: "center",
|
|
43
43
|
} }, text.editprofileheader),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export function EmptyStateView(props) {
|
|
3
3
|
const { emptyStateHeader, emptyStateImage, emptyStateText } = props;
|
|
4
|
-
return (h("sqm-portal-container", { padding: "
|
|
4
|
+
return (h("sqm-portal-container", { padding: "large", gap: "medium" },
|
|
5
5
|
h("sqm-image", { "image-url": emptyStateImage }),
|
|
6
6
|
h("sqm-titled-section", { "label-margin": "xxx-small", "text-align": "center" },
|
|
7
7
|
h("sqm-text", { slot: "label" },
|
|
@@ -4,7 +4,7 @@ import { EmptyStateView } from "./sqm-empty-view";
|
|
|
4
4
|
* @uiName Empty State Content
|
|
5
5
|
* @validParents ["sqm-referral-table","sqm-rewards-table","sqm-leaderboard","sqm-reward-exchange-list"]
|
|
6
6
|
*/
|
|
7
|
-
export class
|
|
7
|
+
export class Empty {
|
|
8
8
|
render() {
|
|
9
9
|
return (h(Host, { slot: "empty" },
|
|
10
10
|
h(EmptyStateView, { emptyStateImage: this.emptyStateImage, emptyStateHeader: this.emptyStateHeader, emptyStateText: this.emptyStateText })));
|
|
@@ -5,6 +5,8 @@ import { getProps } from "../../utils/utils";
|
|
|
5
5
|
/**
|
|
6
6
|
* @uiName Hero Layout
|
|
7
7
|
* @slots [{"name":"","title":"Primary Column Content"},{"name":"secondary-column","title":"Secondary Column Content"}]
|
|
8
|
+
* @example Two Column Layout - <sqm-hero background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80" columns="2" padding-size="large" wrap-direction="wrap" secondary-background="lightgrey"><h1>Primary Column Content</h1><h1 slot="secondary-column">Secondary Column Content</h1></sqm-hero>
|
|
9
|
+
* @exampleGroup Layout
|
|
8
10
|
*/
|
|
9
11
|
export class Hero {
|
|
10
12
|
constructor() {
|
|
@@ -39,7 +39,7 @@ export const DefaultNavigationSidebar = () => {
|
|
|
39
39
|
path: "/",
|
|
40
40
|
},
|
|
41
41
|
};
|
|
42
|
-
return (h(NavigationSidebarView,
|
|
42
|
+
return (h(NavigationSidebarView, null,
|
|
43
43
|
h(NavigationSidebarItemView, Object.assign({}, item1Props)),
|
|
44
44
|
h(NavigationSidebarItemView, Object.assign({}, item2Props))));
|
|
45
45
|
};
|
|
@@ -1,31 +1,153 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
import { createStyleSheet } from "../../styling/JSS";
|
|
3
|
-
import { gap } from "../../global/mixins";
|
|
4
|
-
const style = {
|
|
5
|
-
ItemsContainer: {
|
|
6
|
-
"min-width": "290px",
|
|
7
|
-
"max-width": "320px",
|
|
8
|
-
"box-sizing": "border-box",
|
|
9
|
-
padding: "20px 15px",
|
|
10
|
-
...gap({ direction: "column", size: "4px" }),
|
|
11
|
-
},
|
|
12
|
-
};
|
|
13
2
|
const vanillaStyle = `
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
3
|
+
|
|
4
|
+
* {
|
|
5
|
+
padding: 0;
|
|
6
|
+
margin: 0;
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@keyframes slideIn {
|
|
11
|
+
0% {
|
|
12
|
+
left: -350px;
|
|
13
|
+
}
|
|
14
|
+
100% {
|
|
15
|
+
left: 0;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@media screen and (min-width: 800px) {
|
|
20
|
+
:host {
|
|
21
|
+
max-width: 300px;
|
|
22
|
+
}
|
|
23
|
+
.toggler,
|
|
24
|
+
.hamburger {
|
|
25
|
+
user-select: none;
|
|
26
|
+
visibility:hidden;
|
|
27
|
+
}
|
|
28
|
+
.container{
|
|
29
|
+
position: sticky;
|
|
30
|
+
top: 0;
|
|
31
|
+
}
|
|
32
|
+
.menu-items {
|
|
33
|
+
min-width: 290px;
|
|
17
34
|
max-width: 320px;
|
|
35
|
+
box-sizing: border-box;
|
|
36
|
+
padding: 0px 15px;
|
|
37
|
+
}
|
|
38
|
+
.menu-items > :not(:last-child): {
|
|
39
|
+
margin-bottom: 4px;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
@media screen and (max-width: 799px) {
|
|
43
|
+
.toggler {
|
|
44
|
+
border: 2px solid #eee;
|
|
45
|
+
cursor: pointer;
|
|
46
|
+
opacity: 0;
|
|
47
|
+
z-index: 5;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.container {
|
|
51
|
+
position: sticky;
|
|
52
|
+
top: 0;
|
|
53
|
+
display: flex;
|
|
54
|
+
align-items: center;
|
|
55
|
+
justify-content: center;
|
|
56
|
+
height: 60px;
|
|
57
|
+
width: 60px;
|
|
58
|
+
flex-direction: column;
|
|
59
|
+
z-index: 100;
|
|
60
|
+
}
|
|
61
|
+
.menu-items {
|
|
62
|
+
display: none;
|
|
63
|
+
padding: 20px;
|
|
64
|
+
border-right: 1px solid #eaeaea;
|
|
65
|
+
padding-top: 60px;
|
|
66
|
+
background: white;
|
|
67
|
+
width: 100vw;
|
|
68
|
+
height: 100vh;
|
|
69
|
+
position: absolute;
|
|
70
|
+
top: 0;
|
|
71
|
+
right: 0;
|
|
72
|
+
left: 0px;
|
|
73
|
+
margin: 0;
|
|
74
|
+
animation: slideIn 500ms ease-in-out;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.toggler,
|
|
78
|
+
.hamburger {
|
|
79
|
+
visibility: visible !important;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.container {
|
|
83
|
+
display: flex;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.hamburger > .line {
|
|
87
|
+
visibility: visible !important;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
.toggler,
|
|
92
|
+
.hamburger {
|
|
93
|
+
position: absolute;
|
|
94
|
+
padding: 20px 10px;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.toggler {
|
|
98
|
+
z-index: 100;
|
|
99
|
+
width: 100%;
|
|
100
|
+
height: 100%;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.hamburger {
|
|
104
|
+
z-index: 10;
|
|
105
|
+
width: 75%;
|
|
106
|
+
height: 100%;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.toggler:checked ~ .menu-items {
|
|
110
|
+
display: block;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/***** Turn hamburger into an X *****/
|
|
114
|
+
.toggler:checked ~ .hamburger > .line:nth-child(1) {
|
|
115
|
+
opacity: 0;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.toggler:checked ~ .hamburger > .line:nth-child(2) {
|
|
119
|
+
transform: rotate(45deg) translate(0px, -0.5px);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.toggler:checked ~ .hamburger > .line:nth-child(3) {
|
|
123
|
+
transform: rotate(-45deg) translate(3px, -3.5px);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.toggler:checked ~ .hamburger > .line:nth-child(1),
|
|
127
|
+
.toggler:checked ~ .hamburger > .line:nth-child(2),
|
|
128
|
+
.toggler:checked ~ .hamburger > .line:nth-child(3) {
|
|
129
|
+
width: 75%;
|
|
130
|
+
border-bottom: 3px solid #444445;
|
|
131
|
+
margin: 0;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.hamburger > .line {
|
|
135
|
+
visibility:hidden;
|
|
136
|
+
z-index: 2;
|
|
137
|
+
height: 4px;
|
|
138
|
+
width: 100%;
|
|
139
|
+
margin-bottom: 3px;
|
|
140
|
+
border-bottom: 5px solid #444445;
|
|
18
141
|
}
|
|
142
|
+
}
|
|
19
143
|
`;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
h("
|
|
28
|
-
|
|
29
|
-
styleString),
|
|
30
|
-
children)));
|
|
144
|
+
export function NavigationSidebarView(props, children) {
|
|
145
|
+
return (h("div", { class: "container" },
|
|
146
|
+
h("style", null, vanillaStyle),
|
|
147
|
+
h("input", Object.assign({ type: "checkbox", class: "toggler" }, props)),
|
|
148
|
+
h("div", { class: "hamburger" },
|
|
149
|
+
h("div", { class: "line" }),
|
|
150
|
+
h("div", { class: "line" }),
|
|
151
|
+
h("div", { class: "line" })),
|
|
152
|
+
h("div", { class: "menu-items" }, children)));
|
|
31
153
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { useCurrentPage, useProgramId, } from "@saasquatch/component-boilerplate";
|
|
1
2
|
import { withHooks } from "@saasquatch/stencil-hooks";
|
|
3
|
+
import { useEffect, useState } from "@saasquatch/universal-hooks";
|
|
2
4
|
import { Component, h, State } from "@stencil/core";
|
|
3
5
|
import { NavigationSidebarView } from "./sqm-navigation-sidebar-view";
|
|
4
6
|
/**
|
|
@@ -12,7 +14,8 @@ export class NavigationSidebar {
|
|
|
12
14
|
}
|
|
13
15
|
disconnectedCallback() { }
|
|
14
16
|
render() {
|
|
15
|
-
|
|
17
|
+
const props = useNavigationSidebar();
|
|
18
|
+
return (h(NavigationSidebarView, Object.assign({}, props),
|
|
16
19
|
h("slot", null)));
|
|
17
20
|
}
|
|
18
21
|
static get is() { return "sqm-navigation-sidebar"; }
|
|
@@ -21,3 +24,19 @@ export class NavigationSidebar {
|
|
|
21
24
|
"ignored": {}
|
|
22
25
|
}; }
|
|
23
26
|
}
|
|
27
|
+
function useNavigationSidebar() {
|
|
28
|
+
const location = useCurrentPage();
|
|
29
|
+
const programId = useProgramId();
|
|
30
|
+
const [checked, setChecked] = useState(false);
|
|
31
|
+
// Close hamburger menu after navigation
|
|
32
|
+
useEffect(() => {
|
|
33
|
+
setChecked(false);
|
|
34
|
+
}, [location.pathname, programId]);
|
|
35
|
+
function onClick(e) {
|
|
36
|
+
setChecked(e.target.checked);
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
checked,
|
|
40
|
+
onClick,
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -3,6 +3,7 @@ import { createStyleSheet } from "../../styling/JSS";
|
|
|
3
3
|
export function PortalContainerView(props, children) {
|
|
4
4
|
const style = {
|
|
5
5
|
Container: {
|
|
6
|
+
boxSizing: "border-box",
|
|
6
7
|
display: props.display || "grid",
|
|
7
8
|
flexWrap: "wrap",
|
|
8
9
|
"grid-template-columns": props.direction === "row"
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { createStyleSheet } from "../../styling/JSS";
|
|
3
|
-
import { PortalContainerView } from "../sqm-portal-container/sqm-portal-container-view";
|
|
4
3
|
import { TextSpanView } from "../sqm-text-span/sqm-text-span-view";
|
|
5
4
|
import { intl } from "../../global/global";
|
|
6
5
|
export function PortalProfileView(props) {
|
|
@@ -9,19 +8,45 @@ export function PortalProfileView(props) {
|
|
|
9
8
|
const { text, formState } = states;
|
|
10
9
|
const { errors, error } = formState;
|
|
11
10
|
const style = {
|
|
11
|
+
Container: {
|
|
12
|
+
display: "flex",
|
|
13
|
+
flexDirection: "column",
|
|
14
|
+
gap: "var(--sl-spacing-xxx-large)",
|
|
15
|
+
padding: "var(--sl-spacing-xxx-large)",
|
|
16
|
+
},
|
|
12
17
|
FormStyle: {
|
|
18
|
+
width: "100%",
|
|
19
|
+
minWidth: "700px",
|
|
13
20
|
"& >*:not(:last-child)": {
|
|
14
21
|
"margin-bottom": "32px",
|
|
15
22
|
},
|
|
23
|
+
"@media screen and (max-width: 1100px)": {
|
|
24
|
+
minWidth: "100%",
|
|
25
|
+
},
|
|
16
26
|
},
|
|
17
27
|
Error: {
|
|
18
28
|
"&::part(erroralert-base)": {
|
|
19
29
|
"margin-bottom": "32px",
|
|
20
30
|
},
|
|
21
31
|
},
|
|
32
|
+
Success: {
|
|
33
|
+
"&::part(successalert-base)": {
|
|
34
|
+
"margin-bottom": "32px",
|
|
35
|
+
},
|
|
36
|
+
},
|
|
22
37
|
NameInputStyle: {
|
|
23
|
-
|
|
24
|
-
|
|
38
|
+
width: "50%",
|
|
39
|
+
"@media screen and (max-width: 860px)": {
|
|
40
|
+
width: "100%",
|
|
41
|
+
"margin-right": "0",
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
NameInputContainer: {
|
|
45
|
+
display: "flex",
|
|
46
|
+
gap: "32px",
|
|
47
|
+
width: "100%",
|
|
48
|
+
"@media screen and (max-width: 860px)": {
|
|
49
|
+
flexDirection: "column",
|
|
25
50
|
},
|
|
26
51
|
},
|
|
27
52
|
};
|
|
@@ -31,26 +56,16 @@ export function PortalProfileView(props) {
|
|
|
31
56
|
type: "region",
|
|
32
57
|
})
|
|
33
58
|
: "";
|
|
34
|
-
return (h(
|
|
35
|
-
direction: "row",
|
|
36
|
-
padding: "xxx-large",
|
|
37
|
-
gap: "xxx-large",
|
|
38
|
-
minWidth: "600px",
|
|
39
|
-
}),
|
|
59
|
+
return (h("div", { class: sheet.classes.Container },
|
|
40
60
|
h("style", { type: "text/css" }, styleString),
|
|
41
61
|
h(TextSpanView, Object.assign({}, { type: "h1" }), text.editProfileHeader),
|
|
42
62
|
h(TextSpanView, Object.assign({}, { type: "h2" }), text.editProfileSubHeader),
|
|
43
63
|
h("form", { class: sheet.classes.FormStyle, onSubmit: callbacks.onSubmit },
|
|
44
|
-
states.success && (h("sqm-form-message", { exportparts: "success-icon" },
|
|
64
|
+
states.success && (h("sqm-form-message", { class: sheet.classes.Success, exportparts: "success-icon" },
|
|
45
65
|
h("div", { part: "successalert-text" }, "Your profile has been successfully updated."))),
|
|
46
66
|
error && (h("sqm-form-message", { class: sheet.classes.Error, type: "error", exportparts: "erroralert-icon" },
|
|
47
67
|
h("div", { part: "erroralert-text" }, error))),
|
|
48
|
-
h(
|
|
49
|
-
direction: "row",
|
|
50
|
-
padding: "none",
|
|
51
|
-
gap: "32px",
|
|
52
|
-
minWidth: "50%",
|
|
53
|
-
}),
|
|
68
|
+
h("div", { class: sheet.classes.NameInputContainer },
|
|
54
69
|
h("sl-input", Object.assign({ class: sheet.classes.NameInputStyle, exportparts: "label: input-label", value: (_c = states.user) === null || _c === void 0 ? void 0 : _c.firstName, onInput: callbacks.onChange, label: text.firstnametext, disabled: states.loading }, ((errors === null || errors === void 0 ? void 0 : errors.firstName) && (errors === null || errors === void 0 ? void 0 : errors.firstName.status) !== "valid"
|
|
55
70
|
? { class: "ErrorStyles", helpText: "Cannot be empty" }
|
|
56
71
|
: []), { id: "firstName", name: "firstName", error: (errors === null || errors === void 0 ? void 0 : errors.firstName) && (errors === null || errors === void 0 ? void 0 : errors.firstName.status) !== "valid"
|
|
@@ -28,6 +28,11 @@ export function StatContainerView(props, children) {
|
|
|
28
28
|
"& > ::slotted(*:last-child)": {
|
|
29
29
|
"border-right": "none",
|
|
30
30
|
},
|
|
31
|
+
"@media screen and (max-width: 430px)": {
|
|
32
|
+
"& > ::slotted(*)": {
|
|
33
|
+
borderRight: "none",
|
|
34
|
+
},
|
|
35
|
+
},
|
|
31
36
|
},
|
|
32
37
|
StatFrame: {
|
|
33
38
|
display: "flex",
|
|
@@ -21,20 +21,6 @@ const style = {
|
|
|
21
21
|
};
|
|
22
22
|
const sheet = createStyleSheet(style);
|
|
23
23
|
const styleString = sheet.toString();
|
|
24
|
-
const barProps = {
|
|
25
|
-
data: {
|
|
26
|
-
programs: [
|
|
27
|
-
{
|
|
28
|
-
key: "program1",
|
|
29
|
-
label: "My Referral Program",
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
key: "program2",
|
|
33
|
-
label: "My Rewards Program",
|
|
34
|
-
},
|
|
35
|
-
],
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
24
|
const item1Props = {
|
|
39
25
|
states: {
|
|
40
26
|
active: false,
|
|
@@ -56,7 +42,7 @@ const item2Props = {
|
|
|
56
42
|
},
|
|
57
43
|
};
|
|
58
44
|
const Sidebar = () => {
|
|
59
|
-
return (h(NavigationSidebarView,
|
|
45
|
+
return (h(NavigationSidebarView, null,
|
|
60
46
|
h(NavigationSidebarItemView, Object.assign({}, item1Props)),
|
|
61
47
|
h(NavigationSidebarItemView, Object.assign({}, item2Props))));
|
|
62
48
|
};
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { h, c as Host, d as getAssetPath, g as getElement } from './index-17b4da69.js';
|
|
2
|
-
import { i as useState, b as browser, k as useMemo } from './stencil-hooks.module-
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import { d as dist, O, N, a as dn, P as Pe, U, g as getEnvironmentSDK, x } from './index.module-
|
|
2
|
+
import { i as useState, b as browser, k as useMemo } from './stencil-hooks.module-203eab48.js';
|
|
3
|
+
import { i as intl } from './global-09167b08.js';
|
|
4
|
+
import { d as dist, O, N, a as dn, P as Pe, U, g as getEnvironmentSDK, x } from './index.module-48cc9ee0.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { H as HostBlock, A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-f60a614c.js';
|
|
7
7
|
import { c as createStyleSheet, j as jss, a as create } from './JSS-67b5cff8.js';
|
|
8
|
-
import { u as useChildElements } from './useChildElements-
|
|
9
|
-
import { l as luxon } from './luxon-
|
|
8
|
+
import { u as useChildElements } from './useChildElements-11279a92.js';
|
|
9
|
+
import { l as luxon } from './luxon-198ac0b0.js';
|
|
10
10
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
11
11
|
import { T as TextSpanView } from './sqm-text-span-view-2567b6c0.js';
|
|
12
|
-
import { P as PortalContainerView } from './sqm-portal-container-view-
|
|
13
|
-
import { P as PortalSectionView } from './sqm-portal-section-view-a991e019.js';
|
|
12
|
+
import { a as PortalSectionView, P as PortalContainerView } from './sqm-portal-container-view-2307476f.js';
|
|
14
13
|
|
|
15
14
|
const medium = {
|
|
16
15
|
facebook: { color: "#1877f2", text: "#fff", icon: "facebook" },
|
|
@@ -323,7 +322,7 @@ const EditProfileView = (props) => {
|
|
|
323
322
|
return (h("div", { class: `CardWrapper FormWrapper ${!states.showEdit && "ShowEdit"}` },
|
|
324
323
|
h("div", { class: "FormSection" },
|
|
325
324
|
h("h2", { style: {
|
|
326
|
-
fontSize: "var(--sl-font-size-x-large",
|
|
325
|
+
fontSize: "var(--sl-font-size-x-large)",
|
|
327
326
|
marginBottom: "0px",
|
|
328
327
|
textAlign: "center",
|
|
329
328
|
} }, text.editprofileheader),
|
|
@@ -1435,6 +1434,11 @@ function StatContainerView(props, children) {
|
|
|
1435
1434
|
"& > ::slotted(*:last-child)": {
|
|
1436
1435
|
"border-right": "none",
|
|
1437
1436
|
},
|
|
1437
|
+
"@media screen and (max-width: 430px)": {
|
|
1438
|
+
"& > ::slotted(*)": {
|
|
1439
|
+
borderRight: "none",
|
|
1440
|
+
},
|
|
1441
|
+
},
|
|
1438
1442
|
},
|
|
1439
1443
|
StatFrame: {
|
|
1440
1444
|
display: "flex",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as getAugmentedNamespace, c as createCommonjsModule, a as commonjsGlobal, b as browser, l as l$1 } from './stencil-hooks.module-
|
|
2
|
-
import { s as src, m as memoize, V } from './index.module-
|
|
1
|
+
import { g as getAugmentedNamespace, c as createCommonjsModule, a as commonjsGlobal, b as browser, l as l$1 } from './stencil-hooks.module-203eab48.js';
|
|
2
|
+
import { s as src, m as memoize, V } from './index.module-48cc9ee0.js';
|
|
3
3
|
|
|
4
4
|
var __assign = (undefined && undefined.__assign) || function () {
|
|
5
5
|
__assign = Object.assign || function(t) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as c, s, c as createCommonjsModule, a as commonjsGlobal, e as getDefaultExportFromCjs, u as
|
|
2
|
-
import { u as useCallback } from './use-callback-
|
|
1
|
+
import { d as c, s, c as createCommonjsModule, a as commonjsGlobal, e as getDefaultExportFromCjs, u as useEffect, h, f as useReducer, i as useState, j as useRef, k as useMemo } from './stencil-hooks.module-203eab48.js';
|
|
2
|
+
import { u as useCallback } from './use-callback-f03b0607.js';
|
|
3
3
|
|
|
4
4
|
function e(e){this.message=e;}e.prototype=new Error,e.prototype.name="InvalidCharacterError";var r="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(r){var t=String(r).replace(/=+$/,"");if(t.length%4==1)throw new e("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,o,a=0,i=0,c="";o=t.charAt(i++);~o&&(n=a%4?64*n+o:o,a++%4)?c+=String.fromCharCode(255&n>>(-2*a&6)):0)o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(o);return c};function t(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw "Illegal base64url string!"}try{return function(e){return decodeURIComponent(r(e).replace(/(.)/g,(function(e,r){var t=r.charCodeAt(0).toString(16).toUpperCase();return t.length<2&&(t="0"+t),"%"+t})))}(t)}catch(e){return r(t)}}function n(e){this.message=e;}function o(e,r){if("string"!=typeof e)throw new n("Invalid token specified");var o=!0===(r=r||{}).header?0:1;try{return JSON.parse(t(e.split(".")[o]))}catch(e){throw new n("Invalid token specified: "+e.message)}}n.prototype=new Error,n.prototype.name="InvalidTokenError";
|
|
5
5
|
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { p as promiseResolve, b as bootstrapLazy } from './index-17b4da69.js';
|
|
2
|
-
import './stencil-hooks.module-
|
|
3
|
-
import './global-
|
|
4
|
-
import './use-callback-
|
|
5
|
-
import './index.module-
|
|
2
|
+
import './stencil-hooks.module-203eab48.js';
|
|
3
|
+
import './global-09167b08.js';
|
|
4
|
+
import './use-callback-f03b0607.js';
|
|
5
|
+
import './index.module-48cc9ee0.js';
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
8
|
Stencil Client Patch Esm v2.4.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { p as promiseResolve, H, b as bootstrapLazy } from './index-17b4da69.js';
|
|
2
|
-
import './stencil-hooks.module-
|
|
3
|
-
import './global-
|
|
4
|
-
import './use-callback-
|
|
5
|
-
import './index.module-
|
|
2
|
+
import './stencil-hooks.module-203eab48.js';
|
|
3
|
+
import './global-09167b08.js';
|
|
4
|
+
import './use-callback-f03b0607.js';
|
|
5
|
+
import './index.module-48cc9ee0.js';
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
8
|
Stencil Client Patch Browser v2.4.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { R, o as on } from './index.module-
|
|
1
|
+
import { u as useEffect } from './stencil-hooks.module-203eab48.js';
|
|
2
|
+
import { R, o as on } from './index.module-48cc9ee0.js';
|
|
3
3
|
|
|
4
4
|
const RENDER_EVENT = "sqm:request-rerender";
|
|
5
5
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import { m as h } from './stencil-hooks.module-
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import { i as isDemo } from './index.module-
|
|
2
|
+
import { m as h } from './stencil-hooks.module-203eab48.js';
|
|
3
|
+
import './use-callback-f03b0607.js';
|
|
4
|
+
import { i as isDemo } from './index.module-48cc9ee0.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
7
|
import { A as AssetCardView } from './sqm-asset-card-view-b0f8ef8e.js';
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
|
-
import { m as h,
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import { u as useCallback } from './use-callback-
|
|
5
|
-
import { i as isDemo, R, d as dist, N, a as dn, P as Pe, O, x, o as on, f as fn, j as Ve, M as Me, k as je, p as Le, l as ln, U } from './index.module-
|
|
2
|
+
import { m as h, u as useEffect, i as useState, o as d, j as useRef, b as browser, f as useReducer } from './stencil-hooks.module-203eab48.js';
|
|
3
|
+
import { i as intl } from './global-09167b08.js';
|
|
4
|
+
import { u as useCallback } from './use-callback-f03b0607.js';
|
|
5
|
+
import { i as isDemo, R, d as dist, N, a as dn, P as Pe, O, x, o as on, f as fn, j as Ve, M as Me, k as je, p as Le, l as ln, U } from './index.module-48cc9ee0.js';
|
|
6
6
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
7
7
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
8
8
|
import './mixins-f60a614c.js';
|
|
9
9
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
10
|
-
import { a as useRequestRerender } from './re-render-
|
|
11
|
-
import { u as useChildElements } from './useChildElements-
|
|
12
|
-
import './luxon-
|
|
10
|
+
import { a as useRequestRerender } from './re-render-f406e379.js';
|
|
11
|
+
import { u as useChildElements } from './useChildElements-11279a92.js';
|
|
12
|
+
import './luxon-198ac0b0.js';
|
|
13
13
|
import { g as getProps, a as getMissingProps, s as sanitizeUrlPath } from './utils-334c1e34.js';
|
|
14
14
|
import './sqm-text-span-view-2567b6c0.js';
|
|
15
|
-
import './sqm-portal-container-view-21bd84e0.js';
|
|
16
15
|
import { A as AsYouType } from './AsYouType-46f67d0d.js';
|
|
17
|
-
import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-
|
|
18
|
-
import { c as useDemoBigStat, K as useBigStat, B as BigStatView, H as autoColorScaleCss, G as CardFeedView, C as CheckboxFieldView, D as DropdownFieldView, E as EditProfileView, I as InputFieldView, M as withShadowView, L as LeaderboardView, N as NameFieldsView, e as PortalChangePasswordView, P as PortalFrameView, f as PortalLoginView, g as PortalRegisterView, R as ReferralIframeView, O as demoRewardExchange, i as RewardExchangeView, Q as pathToRegexp, b as useShareButton, S as ShareButtonView, a as ShareLinkView, u as useShareLink, d as StatContainerView, T as TaskCardView } from './ShadowViewAddon-
|
|
19
|
-
import './sqm-portal-
|
|
16
|
+
import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-3eb572a5.js';
|
|
17
|
+
import { c as useDemoBigStat, K as useBigStat, B as BigStatView, H as autoColorScaleCss, G as CardFeedView, C as CheckboxFieldView, D as DropdownFieldView, E as EditProfileView, I as InputFieldView, M as withShadowView, L as LeaderboardView, N as NameFieldsView, e as PortalChangePasswordView, P as PortalFrameView, f as PortalLoginView, g as PortalRegisterView, R as ReferralIframeView, O as demoRewardExchange, i as RewardExchangeView, Q as pathToRegexp, b as useShareButton, S as ShareButtonView, a as ShareLinkView, u as useShareLink, d as StatContainerView, T as TaskCardView } from './ShadowViewAddon-2b7579de.js';
|
|
18
|
+
import './sqm-portal-container-view-2307476f.js';
|
|
20
19
|
|
|
21
20
|
const BigStat = class {
|
|
22
21
|
constructor(hostRef) {
|
|
@@ -278,10 +277,6 @@ function DividedLayoutView(props, children) {
|
|
|
278
277
|
const style = {
|
|
279
278
|
LayoutContainer: {
|
|
280
279
|
display: "contents",
|
|
281
|
-
// "min-width": "320px",
|
|
282
|
-
// "& > ::slotted(*)": {
|
|
283
|
-
// "min-width": "320px",
|
|
284
|
-
// },
|
|
285
280
|
// First style applies when shadow DOM is disabled, second applies when shadow DOM is enabled
|
|
286
281
|
"& > :not(:last-child)": {
|
|
287
282
|
...getBorder(),
|
|
@@ -294,8 +289,10 @@ function DividedLayoutView(props, children) {
|
|
|
294
289
|
const hostStyle = `
|
|
295
290
|
display: flex;
|
|
296
291
|
flex: 1;
|
|
292
|
+
box-sizing: border-box;
|
|
297
293
|
flex-direction: ${props.direction};
|
|
298
294
|
background-color: var(--sqm-content-background);
|
|
295
|
+
overflow-x: clip;
|
|
299
296
|
${props.direction === "column"
|
|
300
297
|
? "width: 100%; max-width: var(--sqm-portal-main-width);"
|
|
301
298
|
: ""}
|