@saasquatch/mint-components 1.15.0-0 → 1.15.0-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/cjs/{GenericTableView-a9f4ba75.js → GenericTableView-f0e9c531.js} +2 -2
- package/dist/cjs/{ShadowViewAddon-787391f7.js → ShadowViewAddon-9618130b.js} +304 -321
- package/dist/cjs/{copy-text-view-c85acaaa.js → copy-text-view-b2f47da0.js} +53 -38
- package/dist/cjs/{global-e31dc4f5.js → global-19fe8600.js} +70 -13
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/mint-components.cjs.js +2 -2
- package/dist/cjs/sqm-banking-info-form_17.cjs.entry.js +7 -44
- package/dist/cjs/{sqm-base-registration-form-view-8a2c8763.js → sqm-base-registration-form-view-1b2440c3.js} +1 -1
- package/dist/cjs/sqm-big-stat_41.cjs.entry.js +146 -55
- package/dist/cjs/sqm-email-verification.cjs.entry.js +2 -2
- package/dist/cjs/sqm-empty_4.cjs.entry.js +9 -8
- package/dist/cjs/{sqm-invoice-table-view-16ac73d0.js → sqm-invoice-table-view-55066ec6.js} +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +2 -2
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +72 -55
- package/dist/cjs/{sqm-portal-email-verification-view-7ebb426a.js → sqm-portal-email-verification-view-9f7b86a9.js} +2 -2
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-forgot-password-view-78f19ef9.js → sqm-portal-forgot-password-view-b986086e.js} +1 -1
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +2 -2
- package/dist/cjs/sqm-portal-google-login.cjs.entry.js +2 -2
- package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-login-view-761a4d8e.js → sqm-portal-login-view-84e99287.js} +1 -1
- package/dist/cjs/{sqm-portal-profile-view-33164798.js → sqm-portal-profile-view-e77710f0.js} +2 -2
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-registration-form-view-637a4bf4.js → sqm-portal-registration-form-view-4377d849.js} +1 -1
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-reset-password-view-fe602822.js → sqm-portal-reset-password-view-52fc50fe.js} +1 -1
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-verify-email-view-7b678f34.js → sqm-portal-verify-email-view-4f837226.js} +1 -1
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-qr-code-view-15dfc0b6.js → sqm-qr-code-view-3da9ed28.js} +2 -7
- package/dist/cjs/sqm-qr-code.cjs.entry.js +1 -1
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +3 -5
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +1 -1
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +4 -4
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +40 -16
- package/dist/cjs/{sqm-text-span-view-0aa82125.js → sqm-text-span-view-56e48a78.js} +6 -6
- package/dist/cjs/sqm-text-span.cjs.entry.js +1 -1
- package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +1 -2
- package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +2 -0
- package/dist/collection/components/sqm-card-feed/sqm-card-feed.js +1 -1
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code-view.js +1 -1
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +170 -1
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +2 -0
- 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-form-message/FormMessage.stories.js +1 -1
- package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +1 -0
- package/dist/collection/components/sqm-hero/sqm-hero.js +1 -0
- package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +3 -3
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +80 -0
- package/dist/collection/components/sqm-image/sqm-image.js +1 -0
- package/dist/collection/components/sqm-instant-access-registration/sqm-instant-access-registration.js +1 -0
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +54 -54
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +26 -1
- package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank.css +2 -2
- package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -1
- package/dist/collection/components/sqm-navigation-menu/sqm-navigation-menu.js +1 -0
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +2 -0
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +1 -0
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +1 -0
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +1 -0
- package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +1 -0
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +1 -0
- package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +1 -0
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer-view.js +1 -1
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +2 -0
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +9 -3
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +77 -2
- package/dist/collection/components/sqm-program-menu/sqm-program-menu.js +1 -0
- package/dist/collection/components/sqm-qr-code/sqm-qr-code-view.js +2 -7
- package/dist/collection/components/sqm-qr-code/sqm-qr-code.js +1 -0
- package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +32 -31
- package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +78 -1
- package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +3 -0
- package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +170 -1
- package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +6 -0
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +46 -46
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +29 -1
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +0 -2
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +2 -0
- package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +1 -0
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +2 -0
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.js +2 -2
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +1 -0
- package/dist/collection/components/sqm-route/sqm-route.js +1 -0
- package/dist/collection/components/sqm-router/sqm-router.js +2 -0
- package/dist/collection/components/sqm-scroll/sqm-scroll.js +1 -0
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +2 -1
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +170 -1
- package/dist/collection/components/sqm-share-link/ShareLink.stories.js +12 -0
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +171 -3
- package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +2 -0
- package/dist/collection/components/sqm-tabs/sqm-tabs.js +2 -0
- package/dist/collection/components/sqm-task-card/DetailsView.js +1 -1
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +139 -155
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +147 -0
- package/dist/collection/components/sqm-task-card/useTaskCard.js +10 -0
- package/dist/collection/components/sqm-text/sqm-text.js +8 -6
- package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +6 -6
- package/dist/collection/components/sqm-text-span/sqm-text-span.js +1 -0
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +1 -1
- package/dist/collection/components/sqm-timeline/sqm-timeline.js +3 -1
- package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +2 -0
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +1 -12
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +0 -15
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +1 -11
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +1 -2
- package/dist/collection/components/views/copy-text-view.js +53 -38
- package/dist/collection/global/mixins.js +2 -2
- package/dist/collection/global/styles.js +70 -13
- package/dist/collection/global/styles.ts +70 -13
- package/dist/collection/tables/GenericTableView.js +2 -2
- package/dist/esm/{GenericTableView-7b9087af.js → GenericTableView-e7addb2b.js} +2 -2
- package/dist/esm/{ShadowViewAddon-cf230f50.js → ShadowViewAddon-8f268346.js} +304 -321
- package/dist/esm/{copy-text-view-782137ba.js → copy-text-view-0ac6e1d1.js} +53 -38
- package/dist/esm/{global-be1f9992.js → global-9d6f3bbe.js} +70 -13
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mint-components.js +2 -2
- package/dist/esm/sqm-banking-info-form_17.entry.js +7 -44
- package/dist/esm/{sqm-base-registration-form-view-593d4ac3.js → sqm-base-registration-form-view-31f1cb87.js} +1 -1
- package/dist/esm/sqm-big-stat_41.entry.js +146 -55
- package/dist/esm/sqm-email-verification.entry.js +2 -2
- package/dist/esm/sqm-empty_4.entry.js +9 -8
- package/dist/esm/{sqm-invoice-table-view-2c726568.js → sqm-invoice-table-view-fda573e4.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
- package/dist/esm/sqm-pagination_3.entry.js +72 -55
- package/dist/esm/{sqm-portal-email-verification-view-35b4353b.js → sqm-portal-email-verification-view-14f1c22c.js} +2 -2
- package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
- package/dist/esm/{sqm-portal-forgot-password-view-3d3182f1.js → sqm-portal-forgot-password-view-50444a7c.js} +1 -1
- package/dist/esm/sqm-portal-forgot-password.entry.js +2 -2
- package/dist/esm/sqm-portal-google-login.entry.js +2 -2
- package/dist/esm/sqm-portal-google-registration-form.entry.js +3 -3
- package/dist/esm/{sqm-portal-login-view-7e49609a.js → sqm-portal-login-view-37c85d04.js} +1 -1
- package/dist/esm/{sqm-portal-profile-view-93003974.js → sqm-portal-profile-view-41116f1d.js} +2 -2
- package/dist/esm/sqm-portal-profile.entry.js +3 -3
- package/dist/esm/{sqm-portal-registration-form-view-3c1f6000.js → sqm-portal-registration-form-view-21d57492.js} +1 -1
- package/dist/esm/sqm-portal-registration-form.entry.js +2 -2
- package/dist/esm/{sqm-portal-reset-password-view-54a8651f.js → sqm-portal-reset-password-view-b000ffc5.js} +1 -1
- package/dist/esm/sqm-portal-reset-password.entry.js +2 -2
- package/dist/esm/{sqm-portal-verify-email-view-b12cb894.js → sqm-portal-verify-email-view-2983ba9b.js} +1 -1
- package/dist/esm/sqm-portal-verify-email.entry.js +2 -2
- package/dist/esm/{sqm-qr-code-view-f1d0763b.js → sqm-qr-code-view-10b8b4cb.js} +2 -7
- package/dist/esm/sqm-qr-code.entry.js +1 -1
- package/dist/esm/sqm-referral-table_11.entry.js +3 -5
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm/sqm-rewards-table_9.entry.js +4 -4
- package/dist/esm/sqm-stencilbook.entry.js +40 -16
- package/dist/esm/{sqm-text-span-view-ca32495e.js → sqm-text-span-view-c577cc60.js} +6 -6
- package/dist/esm/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/{GenericTableView-7b9087af.js → GenericTableView-e7addb2b.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-8f268346.js +1 -0
- package/dist/esm-es5/copy-text-view-0ac6e1d1.js +1 -0
- package/dist/esm-es5/{global-be1f9992.js → global-9d6f3bbe.js} +4 -4
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-banking-info-form_17.entry.js +1 -1
- package/dist/esm-es5/{sqm-base-registration-form-view-593d4ac3.js → sqm-base-registration-form-view-31f1cb87.js} +1 -1
- package/dist/esm-es5/sqm-big-stat_41.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/{sqm-invoice-table-view-2c726568.js → sqm-invoice-table-view-fda573e4.js} +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-35b4353b.js → sqm-portal-email-verification-view-14f1c22c.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-forgot-password-view-3d3182f1.js → sqm-portal-forgot-password-view-50444a7c.js} +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-login-view-7e49609a.js → sqm-portal-login-view-37c85d04.js} +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-93003974.js → sqm-portal-profile-view-41116f1d.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-registration-form-view-3c1f6000.js → sqm-portal-registration-form-view-21d57492.js} +1 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-54a8651f.js → sqm-portal-reset-password-view-b000ffc5.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-b12cb894.js → sqm-portal-verify-email-view-2983ba9b.js} +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/{sqm-qr-code-view-f1d0763b.js → sqm-qr-code-view-10b8b4cb.js} +1 -1
- package/dist/esm-es5/sqm-qr-code.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_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-text-span-view-c577cc60.js +1 -0
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/mint-components/global/styles.ts +70 -13
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-2f101bae.entry.js → p-0559d880.entry.js} +1 -1
- package/dist/mint-components/p-070ac4ab.system.entry.js +1 -0
- package/dist/mint-components/{p-116baa69.entry.js → p-0c7cbba4.entry.js} +13 -13
- package/dist/mint-components/{p-21620f81.system.entry.js → p-12536a1f.system.entry.js} +1 -1
- package/dist/mint-components/{p-0d182dc1.system.js → p-17da19a2.system.js} +1 -1
- package/dist/mint-components/{p-10d17989.entry.js → p-1b7e6ee9.entry.js} +1 -1
- package/dist/mint-components/{p-7a9290ba.js → p-20245645.js} +1 -1
- package/dist/mint-components/{p-4794641c.system.js → p-217514ac.system.js} +1 -1
- package/dist/mint-components/{p-bbcd824a.js → p-28b011a0.js} +1 -1
- package/dist/mint-components/{p-19bc3406.system.entry.js → p-2b462e4f.system.entry.js} +1 -1
- package/dist/mint-components/p-2c7ebd5b.js +1 -0
- package/dist/mint-components/p-2e110002.system.js +1 -0
- package/dist/mint-components/p-3109f2d2.js +394 -0
- package/dist/mint-components/{p-57eef0af.entry.js → p-320d3c31.entry.js} +6 -6
- package/dist/mint-components/p-32dbde60.system.js +1 -0
- package/dist/mint-components/{p-9bfd9bed.system.entry.js → p-345fd28e.system.entry.js} +1 -1
- package/dist/mint-components/{p-aad32fb6.system.js → p-38de17fa.system.js} +1 -1
- package/dist/mint-components/{p-a2fde301.entry.js → p-3af1ec4c.entry.js} +1 -1
- package/dist/mint-components/{p-63a75798.js → p-3c96533f.js} +1 -1
- package/dist/mint-components/p-3e9bb8f2.system.entry.js +1 -0
- package/dist/mint-components/p-4027c743.system.entry.js +1 -0
- package/dist/mint-components/{p-ef6381d4.entry.js → p-411bfb78.entry.js} +2 -2
- package/dist/mint-components/{p-50c902ca.system.entry.js → p-45bb63c7.system.entry.js} +1 -1
- package/dist/mint-components/p-49206a9c.entry.js +1 -0
- package/dist/mint-components/{p-90fc6774.system.entry.js → p-4b6f2eca.system.entry.js} +1 -1
- package/dist/mint-components/{p-cd569259.system.js → p-4d91a1d6.system.js} +1 -1
- package/dist/mint-components/{p-a7746488.system.js → p-52858682.system.js} +1 -1
- package/dist/mint-components/{p-e5d0375e.system.js → p-571e1427.system.js} +1 -1
- package/dist/mint-components/{p-492b70db.system.js → p-5dbe8b0a.system.js} +1 -1
- package/dist/mint-components/p-5fbabd19.system.entry.js +1 -0
- package/dist/mint-components/{p-9386ad84.system.entry.js → p-605c2904.system.entry.js} +1 -1
- package/dist/mint-components/{p-bdb7d451.system.js → p-642b0650.system.js} +1 -1
- package/dist/mint-components/{p-91959fbe.js → p-69ac09d4.js} +1 -1
- package/dist/mint-components/{p-3f067fd5.js → p-6d8f7c71.js} +1 -1
- package/dist/mint-components/p-70c41f97.system.js +1 -0
- package/dist/mint-components/{p-99ad7d56.system.js → p-71d7c2a0.system.js} +1 -1
- package/dist/mint-components/{p-65069b66.js → p-776260e8.js} +19 -19
- package/dist/mint-components/{p-0c78815e.system.entry.js → p-7cbec088.system.entry.js} +1 -1
- package/dist/mint-components/{p-dbcb5359.js → p-7e3a84bc.js} +1 -1
- package/dist/mint-components/p-7e3d84a3.entry.js +13 -0
- package/dist/mint-components/{p-2da21ba4.entry.js → p-802b9f7e.entry.js} +1 -1
- package/dist/mint-components/{p-85671c3d.system.entry.js → p-8053366e.system.entry.js} +1 -1
- package/dist/mint-components/p-8119a65e.system.entry.js +1 -0
- package/dist/mint-components/{p-cbbfac66.entry.js → p-82d04fd3.entry.js} +2 -2
- package/dist/mint-components/{p-5d7e308c.system.entry.js → p-868daffd.system.entry.js} +1 -1
- package/dist/mint-components/{p-d07f3090.entry.js → p-87c21535.entry.js} +1 -1
- package/dist/mint-components/p-893d7ab4.js +1 -0
- package/dist/mint-components/p-8ab87bd4.entry.js +144 -0
- package/dist/mint-components/{p-837a0fdd.js → p-8c494bf1.js} +1 -1
- package/dist/mint-components/p-8d9328dd.entry.js +33 -0
- package/dist/mint-components/p-9abb9ab0.entry.js +13 -0
- package/dist/mint-components/p-9ca87c75.entry.js +1 -0
- package/dist/mint-components/{p-53730ffe.entry.js → p-a81b507f.entry.js} +3 -3
- package/dist/mint-components/{p-0d2d0b6d.entry.js → p-aaff68dc.entry.js} +1 -1
- package/dist/mint-components/{p-f0772618.system.entry.js → p-ac9f4085.system.entry.js} +1 -1
- package/dist/mint-components/p-afbb3f73.entry.js +1 -0
- package/dist/mint-components/p-b12e132b.system.entry.js +1 -0
- package/dist/mint-components/{p-b287833c.system.entry.js → p-b385c9f0.system.entry.js} +1 -1
- package/dist/mint-components/{p-b75bb6e3.system.js → p-b5fb3826.system.js} +1 -1
- package/dist/mint-components/{p-0ebab63e.system.js → p-bd2a2546.system.js} +1 -1
- package/dist/mint-components/{p-626e9e84.js → p-ccb5699b.js} +1 -1
- package/dist/mint-components/{p-7f80a9d7.entry.js → p-ccf8c9aa.entry.js} +1 -1
- package/dist/mint-components/{p-91ab3da1.js → p-dc52c36a.js} +1 -1
- package/dist/mint-components/{p-f7c99803.system.js → p-df89186f.system.js} +1 -1
- package/dist/mint-components/{p-f940190a.js → p-e145e4f8.js} +1 -1
- package/dist/mint-components/{p-5c28406d.system.entry.js → p-e21a1cb8.system.entry.js} +1 -1
- package/dist/mint-components/p-eab1c9f3.js +1 -0
- package/dist/mint-components/p-ee06426a.system.js +1 -0
- package/dist/mint-components/{p-3f6e0197.system.entry.js → p-f2228da3.system.entry.js} +1 -1
- package/dist/mint-components/p-f9da2c34.system.entry.js +1 -0
- package/dist/mint-components/{p-380bfde1.entry.js → p-fd0a013f.entry.js} +1 -1
- package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +2 -0
- package/dist/types/components/sqm-card-feed/sqm-card-feed.d.ts +1 -1
- package/dist/types/components/sqm-coupon-code/sqm-coupon-code.d.ts +43 -0
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +2 -0
- package/dist/types/components/sqm-header-logo/sqm-header-logo.d.ts +1 -0
- package/dist/types/components/sqm-hero/sqm-hero.d.ts +1 -0
- package/dist/types/components/sqm-hero-image/sqm-hero-image-view.d.ts +1 -0
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +20 -0
- package/dist/types/components/sqm-image/sqm-image.d.ts +1 -0
- package/dist/types/components/sqm-instant-access-registration/sqm-instant-access-registration.d.ts +1 -0
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard-view.d.ts +1 -0
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +6 -0
- package/dist/types/components/sqm-navigation-menu/sqm-navigation-menu.d.ts +1 -0
- package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +2 -0
- package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password.d.ts +1 -0
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +1 -0
- package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +1 -0
- package/dist/types/components/sqm-portal-logout/sqm-portal-logout.d.ts +1 -0
- package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +1 -0
- package/dist/types/components/sqm-portal-protected-route/sqm-portal-protected-route.d.ts +1 -0
- package/dist/types/components/sqm-program-explainer/sqm-program-explainer.d.ts +2 -0
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step-view.d.ts +3 -0
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +19 -2
- package/dist/types/components/sqm-program-menu/sqm-program-menu.d.ts +1 -0
- package/dist/types/components/sqm-qr-code/sqm-qr-code.d.ts +1 -0
- package/dist/types/components/sqm-referral-card/sqm-referral-card-view.d.ts +5 -2
- package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +23 -1
- package/dist/types/components/sqm-referral-code/ReferralCode.stories.d.ts +1 -0
- package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +43 -0
- package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +1 -0
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +1 -0
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +7 -0
- package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +2 -0
- package/dist/types/components/sqm-referred-registration/sqm-referred-registration.d.ts +1 -0
- package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list.d.ts +2 -0
- package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +1 -0
- package/dist/types/components/sqm-route/sqm-route.d.ts +1 -0
- package/dist/types/components/sqm-router/sqm-router.d.ts +2 -0
- package/dist/types/components/sqm-scroll/sqm-scroll.d.ts +1 -0
- package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +1 -0
- package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +43 -0
- package/dist/types/components/sqm-share-link/ShareLink.stories.d.ts +1 -0
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +43 -1
- package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +2 -0
- package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +2 -0
- package/dist/types/components/sqm-task-card/sqm-task-card-view.d.ts +5 -0
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +33 -0
- package/dist/types/components/sqm-task-card/useTaskCard.d.ts +9 -0
- package/dist/types/components/sqm-text/sqm-text.d.ts +1 -0
- package/dist/types/components/sqm-text-span/sqm-text-span.d.ts +1 -0
- package/dist/types/components/sqm-timeline/sqm-timeline.d.ts +3 -1
- package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +2 -0
- package/dist/types/components/views/copy-text-view.d.ts +5 -0
- package/dist/types/components.d.ts +538 -4
- package/dist/types/global/styles.d.ts +1 -1
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/ShadowViewAddon-cf230f50.js +0 -1
- package/dist/esm-es5/copy-text-view-782137ba.js +0 -1
- package/dist/esm-es5/sqm-text-span-view-ca32495e.js +0 -1
- package/dist/mint-components/p-1f089c3f.system.entry.js +0 -1
- package/dist/mint-components/p-31015791.js +0 -1
- package/dist/mint-components/p-37996351.system.js +0 -1
- package/dist/mint-components/p-3b90e01b.system.js +0 -1
- package/dist/mint-components/p-4e773bb1.system.entry.js +0 -1
- package/dist/mint-components/p-562428ef.system.js +0 -1
- package/dist/mint-components/p-5cb7f9fc.system.entry.js +0 -1
- package/dist/mint-components/p-653f963f.entry.js +0 -13
- package/dist/mint-components/p-693942df.entry.js +0 -144
- package/dist/mint-components/p-6cc141b9.js +0 -394
- package/dist/mint-components/p-7846937e.entry.js +0 -13
- package/dist/mint-components/p-b207beeb.entry.js +0 -1
- package/dist/mint-components/p-b82e1935.system.entry.js +0 -1
- package/dist/mint-components/p-c9f1dde7.js +0 -1
- package/dist/mint-components/p-cb7bdbe4.entry.js +0 -1
- package/dist/mint-components/p-daee25f9.system.entry.js +0 -1
- package/dist/mint-components/p-de8e9981.system.entry.js +0 -1
- package/dist/mint-components/p-e07bc6c4.system.js +0 -1
- package/dist/mint-components/p-e5a5ae7f.system.entry.js +0 -1
- package/dist/mint-components/p-f56bedd5.js +0 -1
- package/dist/mint-components/p-fe2e2f4a.entry.js +0 -1
- package/dist/mint-components/p-ff8b8067.entry.js +0 -33
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { createStyleSheet } from "../../styling/JSS";
|
|
3
3
|
import { intl } from "../../global/global";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
4
|
+
export function LeaderboardView(props) {
|
|
5
|
+
var _a, _b, _c;
|
|
6
|
+
const { states, data, elements } = props;
|
|
7
|
+
const { styles } = states;
|
|
8
|
+
const style = {
|
|
9
|
+
Leaderboard: {
|
|
10
|
+
"& table": {
|
|
11
|
+
width: "100%",
|
|
12
|
+
borderCollapse: "collapse",
|
|
13
|
+
},
|
|
14
|
+
"& th": {
|
|
15
|
+
textAlign: "left",
|
|
16
|
+
padding: "var(--sl-spacing-medium)",
|
|
17
|
+
paddingTop: "0",
|
|
18
|
+
fontSize: "var(--sl-font-size-medium)",
|
|
19
|
+
fontWeight: "var(--sl-font-weight-semibold)",
|
|
20
|
+
},
|
|
21
|
+
"& tr:not(:first-child)": {
|
|
22
|
+
borderTop: "1px solid var(--sl-color-neutral-200)",
|
|
23
|
+
},
|
|
24
|
+
"& td": {
|
|
25
|
+
fontSize: "var(--sl-font-size-medium)",
|
|
26
|
+
fontWeight: "var(--sl-font-weight-normal)",
|
|
27
|
+
},
|
|
28
|
+
"& .ellipses": {
|
|
29
|
+
textAlign: "left",
|
|
30
|
+
padding: "0",
|
|
31
|
+
color: "var(--sqm-text)",
|
|
32
|
+
paddingLeft: "25%",
|
|
33
|
+
},
|
|
34
|
+
"& .highlight": {
|
|
35
|
+
background: styles.viewingUserhighlightColor || "var(--sl-color-primary-100)",
|
|
36
|
+
},
|
|
37
|
+
"& td, th": {
|
|
38
|
+
color: "var(--sqm-text)",
|
|
39
|
+
padding: "var(--sl-spacing-medium)",
|
|
40
|
+
},
|
|
41
|
+
"& .User": {
|
|
42
|
+
width: "100%",
|
|
43
|
+
},
|
|
44
|
+
"& .Score": {
|
|
45
|
+
width: "auto",
|
|
46
|
+
whiteSpace: "nowrap",
|
|
47
|
+
},
|
|
48
|
+
"& .Rank": {
|
|
49
|
+
whiteSpace: "nowrap",
|
|
50
|
+
},
|
|
51
|
+
"& .fullWidth": {
|
|
52
|
+
width: "100%",
|
|
53
|
+
},
|
|
49
54
|
},
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
const
|
|
53
|
-
const
|
|
54
|
-
const vanillaStyle = `
|
|
55
|
+
};
|
|
56
|
+
const sheet = createStyleSheet(style);
|
|
57
|
+
const styleString = sheet.toString();
|
|
58
|
+
const vanillaStyle = `
|
|
55
59
|
:host{
|
|
56
60
|
display: block;
|
|
57
61
|
}
|
|
58
62
|
`;
|
|
59
|
-
export function LeaderboardView(props) {
|
|
60
|
-
var _a, _b, _c;
|
|
61
|
-
const { states, data, elements } = props;
|
|
62
|
-
const { styles } = states;
|
|
63
63
|
if (states.isEssentials) {
|
|
64
64
|
return (h("sqm-empty", { "empty-state-image": "https://res.cloudinary.com/saasquatch/image/upload/v1715360191/squatch-assets/Leaderboard_Not_Available.svg", "empty-state-header": "Leaderboards aren\u2019t available on your plan", "empty-state-text": "Contact {supportText} to upgrade your plan and start leveraging gamification in your program.", "support-text": "Support" }));
|
|
65
65
|
}
|
|
@@ -7,6 +7,7 @@ import { LeaderboardView } from "./sqm-leaderboard-view";
|
|
|
7
7
|
import { useLeaderboard } from "./useLeaderboard";
|
|
8
8
|
/**
|
|
9
9
|
* @uiName Leaderboard
|
|
10
|
+
* @validParents ["sqm-portal-container","div","sqm-hero","sqm-instant-access-registration","sqm-brand","sqb-program-section","sqb-conditional-section"]
|
|
10
11
|
* @slots [{"name":"empty", "title":"Empty State"}]
|
|
11
12
|
* @requiredFeatures ["LEADERBOARDS"]
|
|
12
13
|
* @exampleGroup Leaderboard
|
|
@@ -275,6 +276,29 @@ export class Leaderboard {
|
|
|
275
276
|
"reflect": false,
|
|
276
277
|
"defaultValue": "\"You\""
|
|
277
278
|
},
|
|
279
|
+
"viewingUserHighlightColor": {
|
|
280
|
+
"type": "string",
|
|
281
|
+
"mutable": false,
|
|
282
|
+
"complexType": {
|
|
283
|
+
"original": "string",
|
|
284
|
+
"resolved": "string",
|
|
285
|
+
"references": {}
|
|
286
|
+
},
|
|
287
|
+
"required": false,
|
|
288
|
+
"optional": false,
|
|
289
|
+
"docs": {
|
|
290
|
+
"tags": [{
|
|
291
|
+
"text": "color",
|
|
292
|
+
"name": "uiWidget"
|
|
293
|
+
}, {
|
|
294
|
+
"text": "Viewing user highlight color",
|
|
295
|
+
"name": "uiName"
|
|
296
|
+
}],
|
|
297
|
+
"text": ""
|
|
298
|
+
},
|
|
299
|
+
"attribute": "viewing-user-highlight-color",
|
|
300
|
+
"reflect": false
|
|
301
|
+
},
|
|
278
302
|
"hideNames": {
|
|
279
303
|
"type": "boolean",
|
|
280
304
|
"mutable": false,
|
|
@@ -433,7 +457,7 @@ export class Leaderboard {
|
|
|
433
457
|
"mutable": false,
|
|
434
458
|
"complexType": {
|
|
435
459
|
"original": "DemoData<LeaderboardViewProps>",
|
|
436
|
-
"resolved": "{ states?: { loading: boolean; hasLeaders: boolean; isEssentials?: boolean; styles: { usersheading: string; statsheading: string; rankheading?: string; showRank?: boolean; hideViewer?: boolean; viewingUserText?: string; hideNames?: boolean; anonymousUser?: string; rankSuffix?: string; width?: string; }; }; data?: { rankType: string; leaderboard: { textValue: string; rank: number; firstName: string; lastInitial: string; rowNumber: number; }[]; viewerRank?: { textValue: string; rank: number; firstName?: string; lastInitial?: string; rowNumber: number; }; }; elements?: { empty: VNode; }; }",
|
|
460
|
+
"resolved": "{ states?: { loading: boolean; hasLeaders: boolean; isEssentials?: boolean; styles: { usersheading: string; statsheading: string; rankheading?: string; showRank?: boolean; hideViewer?: boolean; viewingUserText?: string; viewingUserhighlightColor?: string; hideNames?: boolean; anonymousUser?: string; rankSuffix?: string; width?: string; }; }; data?: { rankType: string; leaderboard: { textValue: string; rank: number; firstName: string; lastInitial: string; rowNumber: number; }[]; viewerRank?: { textValue: string; rank: number; firstName?: string; lastInitial?: string; rowNumber: number; }; }; elements?: { empty: VNode; }; }",
|
|
437
461
|
"references": {
|
|
438
462
|
"DemoData": {
|
|
439
463
|
"location": "import",
|
|
@@ -510,6 +534,7 @@ function useLeaderboardDemo(props) {
|
|
|
510
534
|
hasLeaders: true,
|
|
511
535
|
isEssentials: false,
|
|
512
536
|
styles: {
|
|
537
|
+
// viewingUserHighlightColor: props.viewingUserHighlightColor,
|
|
513
538
|
usersheading: props.usersheading
|
|
514
539
|
? props.usersheading
|
|
515
540
|
: "Top referrers",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
p,
|
|
2
2
|
.P {
|
|
3
3
|
font-size: var(--sl-font-size-small);
|
|
4
|
-
color: var(--
|
|
4
|
+
color: var(--sqm-text);
|
|
5
5
|
margin-top: 0px;
|
|
6
6
|
}
|
|
7
7
|
p.Subtitle,
|
|
8
8
|
.P.Subtitle {
|
|
9
|
-
color: var(--
|
|
9
|
+
color: var(--sqm-text-subdued);
|
|
10
10
|
margin: 0px;
|
|
11
11
|
}
|
|
@@ -122,7 +122,7 @@ export class LogoutCurrentUser {
|
|
|
122
122
|
"mutable": false,
|
|
123
123
|
"complexType": {
|
|
124
124
|
"original": "DemoData<CopyTextViewProps>",
|
|
125
|
-
"resolved": "{ loading?: boolean; copyString?: string; tooltiptext?: string; open?: boolean; copyButtonLabel?: string; disabled?: boolean; textAlign?: \"left\" | \"right\" | \"center\"; buttonStyle?: \"icon\" | \"button-outside\" | \"button-below\"; error?: boolean; errorText?: string; notificationText?: string; showNotificationText?: boolean; inputPlaceholderText?: string; dateAvailable?: string; isCopied?: boolean; onClick?: () => void; }",
|
|
125
|
+
"resolved": "{ loading?: boolean; textColor?: string; copyString?: string; tooltiptext?: string; open?: boolean; copyButtonLabel?: string; disabled?: boolean; textAlign?: \"left\" | \"right\" | \"center\"; buttonStyle?: \"icon\" | \"button-outside\" | \"button-below\"; error?: boolean; errorText?: string; notificationText?: string; showNotificationText?: boolean; inputPlaceholderText?: string; dateAvailable?: string; isCopied?: boolean; backgroundColor?: string; borderRadius?: string; buttonType?: \"primary\" | \"secondary\"; borderColor?: string; onClick?: () => void; }",
|
|
126
126
|
"references": {
|
|
127
127
|
"DemoData": {
|
|
128
128
|
"location": "import",
|
|
@@ -5,6 +5,8 @@ import { Component, h, State } from "@stencil/core";
|
|
|
5
5
|
import { NavigationSidebarView } from "./sqm-navigation-sidebar-view";
|
|
6
6
|
/**
|
|
7
7
|
* @uiName Microsite Sidebar
|
|
8
|
+
* @validParents ["div","sqm-divided-layout","template","sqm-portal-container","sqm-brand"]
|
|
9
|
+
* @validChildren ["sqm-navigation-sidebar-item"]
|
|
8
10
|
* @slots [{"name":"", "title":"Sidebar Content"}]
|
|
9
11
|
*/
|
|
10
12
|
export class NavigationSidebar {
|
|
@@ -7,6 +7,7 @@ import deepmerge from "deepmerge";
|
|
|
7
7
|
import { useState } from "@saasquatch/universal-hooks";
|
|
8
8
|
/**
|
|
9
9
|
* @uiName Microsite Password Change
|
|
10
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand"]
|
|
10
11
|
*/
|
|
11
12
|
export class PortalChangePassword {
|
|
12
13
|
constructor() {
|
|
@@ -7,6 +7,7 @@ import { usePortalLogin } from "./usePortalLogin";
|
|
|
7
7
|
import { createStyleSheet } from "../../styling/JSS";
|
|
8
8
|
/**
|
|
9
9
|
* @uiName Microsite Login
|
|
10
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand", "template"]
|
|
10
11
|
*/
|
|
11
12
|
export class PortalLogin {
|
|
12
13
|
constructor() {
|
|
@@ -4,6 +4,7 @@ import { Component, Prop, State } from "@stencil/core";
|
|
|
4
4
|
import { usePortalLogout } from "./usePortalLogout";
|
|
5
5
|
/**
|
|
6
6
|
* @uiName Microsite Logout
|
|
7
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template"]
|
|
7
8
|
* @compatibility Built for instant access
|
|
8
9
|
*/
|
|
9
10
|
export class PortalLogout {
|
|
@@ -7,6 +7,7 @@ import { isDemo } from "@saasquatch/component-boilerplate";
|
|
|
7
7
|
import deepmerge from "deepmerge";
|
|
8
8
|
/**
|
|
9
9
|
* @uiName Microsite Participant Profile
|
|
10
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template"]
|
|
10
11
|
*/
|
|
11
12
|
export class PortalProfile {
|
|
12
13
|
constructor() {
|
|
@@ -4,6 +4,7 @@ import { h, Component, Prop, State, Host } from "@stencil/core";
|
|
|
4
4
|
import { usePortalProtectedRoute } from "./usePortalProtectedRoute";
|
|
5
5
|
/**
|
|
6
6
|
* @uiName Microsite Protected Route
|
|
7
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template", "sqb-program-section", "sqb-conditional-section"]
|
|
7
8
|
* @slots [{"name":"","title":"Route Content"}]
|
|
8
9
|
*/
|
|
9
10
|
export class PortalProtectedRoute {
|
|
@@ -3,7 +3,7 @@ import { createStyleSheet } from "../../styling/JSS";
|
|
|
3
3
|
export function ProgramExplainerView(props, children) {
|
|
4
4
|
const style = {
|
|
5
5
|
Container: {
|
|
6
|
-
color: props.textColor || "var(--
|
|
6
|
+
color: props.textColor || "var(--sqm-text)",
|
|
7
7
|
background: props.backgroundColor || "",
|
|
8
8
|
},
|
|
9
9
|
Header: {
|
|
@@ -4,6 +4,8 @@ import { getProps } from "../../utils/utils";
|
|
|
4
4
|
import { ProgramExplainerView } from "./sqm-program-explainer-view";
|
|
5
5
|
/**
|
|
6
6
|
* @uiName Program Explainer
|
|
7
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqb-program-section","sqb-conditional-section"]
|
|
8
|
+
* @validChildren ["sqm-program-explainer-step"]
|
|
7
9
|
* @exampleGroup Common Components
|
|
8
10
|
* @slots [{"name":"", "title":"Explainer", "validChildren":["sqm-program-explainer-step"]}]
|
|
9
11
|
* @example Program Explainer - <sqm-program-explainer header="How it works"><sqm-program-explainer-step description="Explore and use our product while earning points in the process!" header="Earn points" icon="cash-stack" text-color="#000000"></sqm-program-explainer-step><sqm-program-explainer-step description="Use your points and redeem rewards like one free month of Enterprise or a visa giftcard" header="Redeem rewards" icon="people" text-color="#000000"></sqm-program-explainer-step></sqm-program-explainer>
|
package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js
CHANGED
|
@@ -8,7 +8,8 @@ export function ProgramExplainerStepView(props) {
|
|
|
8
8
|
width: "100%",
|
|
9
9
|
padding: "var(--sl-spacing-x-large)",
|
|
10
10
|
lineHeight: "var(--sl-line-height-dense)",
|
|
11
|
-
|
|
11
|
+
borderRadius: props.borderRadius || "var(--sl-border-radius-large)",
|
|
12
|
+
color: props.textColor || "var(--sqm-text)",
|
|
12
13
|
background: props.backgroundColor || "var(--sl-color-primary-50)",
|
|
13
14
|
"@media (max-width: 499px)": {
|
|
14
15
|
flexDirection: "row",
|
|
@@ -22,6 +23,7 @@ export function ProgramExplainerStepView(props) {
|
|
|
22
23
|
},
|
|
23
24
|
},
|
|
24
25
|
Header: {
|
|
26
|
+
color: props.textColor || "var(--sqm-text)",
|
|
25
27
|
fontSize: "var(--sl-font-size-large)",
|
|
26
28
|
fontWeight: "var(--sl-font-weight-bold)",
|
|
27
29
|
marginTop: "var(--sl-spacing-x-large)",
|
|
@@ -30,6 +32,7 @@ export function ProgramExplainerStepView(props) {
|
|
|
30
32
|
},
|
|
31
33
|
},
|
|
32
34
|
Description: {
|
|
35
|
+
color: props.textColor || "var(--sqm-text)",
|
|
33
36
|
fontSize: "var(--sl-font-size-medium)",
|
|
34
37
|
marginTop: "var(--sl-spacing-small)",
|
|
35
38
|
"@media (max-width: 499px)": {
|
|
@@ -42,11 +45,14 @@ export function ProgramExplainerStepView(props) {
|
|
|
42
45
|
borderRadius: "100%",
|
|
43
46
|
objectFit: "cover",
|
|
44
47
|
userSelect: "none",
|
|
45
|
-
background: "
|
|
46
|
-
color: "var(--sl-color-primary-
|
|
48
|
+
background: props.iconBackgroundColor || "var(--sl-color-white)",
|
|
49
|
+
color: props.iconColor || "var(--sl-color-primary-500)",
|
|
47
50
|
fontSize: "26px",
|
|
48
51
|
textAlign: "center",
|
|
49
52
|
lineHeight: "72px",
|
|
53
|
+
display: "flex",
|
|
54
|
+
alignItems: "center",
|
|
55
|
+
justifyContent: "center",
|
|
50
56
|
},
|
|
51
57
|
};
|
|
52
58
|
const sheet = createStyleSheet(style);
|
|
@@ -71,7 +71,7 @@ export class ProgramExplainerStep {
|
|
|
71
71
|
"references": {}
|
|
72
72
|
},
|
|
73
73
|
"required": false,
|
|
74
|
-
"optional":
|
|
74
|
+
"optional": true,
|
|
75
75
|
"docs": {
|
|
76
76
|
"tags": [{
|
|
77
77
|
"text": "Text color",
|
|
@@ -97,7 +97,7 @@ export class ProgramExplainerStep {
|
|
|
97
97
|
"references": {}
|
|
98
98
|
},
|
|
99
99
|
"required": false,
|
|
100
|
-
"optional":
|
|
100
|
+
"optional": true,
|
|
101
101
|
"docs": {
|
|
102
102
|
"tags": [{
|
|
103
103
|
"text": "Background color",
|
|
@@ -114,6 +114,81 @@ export class ProgramExplainerStep {
|
|
|
114
114
|
"attribute": "background-color",
|
|
115
115
|
"reflect": false
|
|
116
116
|
},
|
|
117
|
+
"borderRadius": {
|
|
118
|
+
"type": "string",
|
|
119
|
+
"mutable": false,
|
|
120
|
+
"complexType": {
|
|
121
|
+
"original": "string",
|
|
122
|
+
"resolved": "string",
|
|
123
|
+
"references": {}
|
|
124
|
+
},
|
|
125
|
+
"required": false,
|
|
126
|
+
"optional": true,
|
|
127
|
+
"docs": {
|
|
128
|
+
"tags": [{
|
|
129
|
+
"text": "Border radius",
|
|
130
|
+
"name": "uiName"
|
|
131
|
+
}, {
|
|
132
|
+
"text": "number",
|
|
133
|
+
"name": "type"
|
|
134
|
+
}],
|
|
135
|
+
"text": ""
|
|
136
|
+
},
|
|
137
|
+
"attribute": "border-radius",
|
|
138
|
+
"reflect": false
|
|
139
|
+
},
|
|
140
|
+
"iconBackgroundColor": {
|
|
141
|
+
"type": "string",
|
|
142
|
+
"mutable": false,
|
|
143
|
+
"complexType": {
|
|
144
|
+
"original": "string",
|
|
145
|
+
"resolved": "string",
|
|
146
|
+
"references": {}
|
|
147
|
+
},
|
|
148
|
+
"required": false,
|
|
149
|
+
"optional": true,
|
|
150
|
+
"docs": {
|
|
151
|
+
"tags": [{
|
|
152
|
+
"text": "Icon Background color",
|
|
153
|
+
"name": "uiName"
|
|
154
|
+
}, {
|
|
155
|
+
"text": "color",
|
|
156
|
+
"name": "uiWidget"
|
|
157
|
+
}, {
|
|
158
|
+
"text": "color",
|
|
159
|
+
"name": "format"
|
|
160
|
+
}],
|
|
161
|
+
"text": ""
|
|
162
|
+
},
|
|
163
|
+
"attribute": "icon-background-color",
|
|
164
|
+
"reflect": false
|
|
165
|
+
},
|
|
166
|
+
"iconColor": {
|
|
167
|
+
"type": "string",
|
|
168
|
+
"mutable": false,
|
|
169
|
+
"complexType": {
|
|
170
|
+
"original": "string",
|
|
171
|
+
"resolved": "string",
|
|
172
|
+
"references": {}
|
|
173
|
+
},
|
|
174
|
+
"required": false,
|
|
175
|
+
"optional": true,
|
|
176
|
+
"docs": {
|
|
177
|
+
"tags": [{
|
|
178
|
+
"text": "Icon color",
|
|
179
|
+
"name": "uiName"
|
|
180
|
+
}, {
|
|
181
|
+
"text": "color",
|
|
182
|
+
"name": "uiWidget"
|
|
183
|
+
}, {
|
|
184
|
+
"text": "color",
|
|
185
|
+
"name": "format"
|
|
186
|
+
}],
|
|
187
|
+
"text": ""
|
|
188
|
+
},
|
|
189
|
+
"attribute": "icon-color",
|
|
190
|
+
"reflect": false
|
|
191
|
+
},
|
|
117
192
|
"imageUrl": {
|
|
118
193
|
"type": "string",
|
|
119
194
|
"mutable": false,
|
|
@@ -4,6 +4,7 @@ import { useProgramMenu } from "./useProgramMenu";
|
|
|
4
4
|
import { getProps } from "../../utils/utils";
|
|
5
5
|
/**
|
|
6
6
|
* @uiName Microsite Program Menu
|
|
7
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template"]
|
|
7
8
|
* @slots [{"name":"","title":"Menu Content"}]
|
|
8
9
|
* @canvasRenderer always-replace
|
|
9
10
|
*/
|
|
@@ -38,11 +38,6 @@ const style = {
|
|
|
38
38
|
height: "100%",
|
|
39
39
|
maxWidth: "335px",
|
|
40
40
|
},
|
|
41
|
-
TextButton: {
|
|
42
|
-
"&::part(base)": {
|
|
43
|
-
color: "var(--sl-color-gray-600)",
|
|
44
|
-
},
|
|
45
|
-
},
|
|
46
41
|
LoadingSkeleton: {
|
|
47
42
|
"&::part(indicator)": {
|
|
48
43
|
borderRadius: "0px !important",
|
|
@@ -93,6 +88,6 @@ export function QrCodeView({ error, qrLink, titleText, downloadCodeText, printCo
|
|
|
93
88
|
!hideTitle && h("span", { part: "sqm-title" }, titleText),
|
|
94
89
|
codeContent,
|
|
95
90
|
h("div", { class: sheet.classes.ButtonContainer },
|
|
96
|
-
h("sl-button", { size: "small", exportparts: "base:
|
|
97
|
-
h("sl-button", { size: "small", exportparts: "base: textbutton-base", type: "text", onClick: createPrintable
|
|
91
|
+
h("sl-button", { size: "small", exportparts: "base: primarybutton-base", type: "primary", onClick: createDownloadable }, downloadCodeText),
|
|
92
|
+
h("sl-button", { size: "small", exportparts: "base: textbutton-base", type: "text", onClick: createPrintable }, printCodeText)))));
|
|
98
93
|
}
|
|
@@ -7,6 +7,7 @@ import { QrCodeView } from "./sqm-qr-code-view";
|
|
|
7
7
|
import { useQRCode } from "./useQRCode";
|
|
8
8
|
/**
|
|
9
9
|
* @uiName QR Code
|
|
10
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand", "sqb-program-section", "sqb-conditional-section"]
|
|
10
11
|
* @exampleGroup Sharing
|
|
11
12
|
* @example QR Code - <sqm-qr-code></sqm-qr-code>
|
|
12
13
|
*/
|
|
@@ -1,43 +1,44 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { createStyleSheet } from "../../styling/JSS";
|
|
3
|
-
const style = {
|
|
4
|
-
Container: {
|
|
5
|
-
borderRadius: "var(--sl-border-radius-large)",
|
|
6
|
-
color: "var(--sl-color-neutral-900)",
|
|
7
|
-
background: "var(--sl-color-neutral-0)",
|
|
8
|
-
display: "flex",
|
|
9
|
-
flexDirection: "column",
|
|
10
|
-
rowGap: "var(--sl-spacing-large)",
|
|
11
|
-
},
|
|
12
|
-
EndContainer: {
|
|
13
|
-
display: "flex",
|
|
14
|
-
flexDirection: "column",
|
|
15
|
-
alignItems: "center",
|
|
16
|
-
},
|
|
17
|
-
ColumnContainer: {
|
|
18
|
-
"& p": { margin: "0" },
|
|
19
|
-
display: "grid",
|
|
20
|
-
gridAutoColumns: "minmax(0, 1fr)",
|
|
21
|
-
gridAutoFlow: "column",
|
|
22
|
-
gap: "calc(2 * var(--sl-spacing-medium))",
|
|
23
|
-
"@media (max-width: 499px)": {
|
|
24
|
-
gridAutoFlow: "unset",
|
|
25
|
-
gridAutoColumns: "unset",
|
|
26
|
-
gridTemplateColumns: "1fr",
|
|
27
|
-
border: "none",
|
|
28
|
-
},
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
const sheet = createStyleSheet(style);
|
|
32
|
-
const styleString = sheet.toString();
|
|
33
3
|
const vanillaStyle = `
|
|
34
4
|
:host{
|
|
35
5
|
display: block;
|
|
36
6
|
}
|
|
37
7
|
`;
|
|
38
8
|
export function ReferralCardView(props) {
|
|
9
|
+
const style = {
|
|
10
|
+
Container: {
|
|
11
|
+
borderRadius: props.borderRadius || "var(--sl-border-radius-large)",
|
|
12
|
+
color: props.textColor || "var(--sqm-text)",
|
|
13
|
+
background: props.backgroundColor || "var(--sl-color-neutral-0)",
|
|
14
|
+
display: "flex",
|
|
15
|
+
flexDirection: "column",
|
|
16
|
+
rowGap: "var(--sl-spacing-large)",
|
|
17
|
+
},
|
|
18
|
+
EndContainer: {
|
|
19
|
+
display: "flex",
|
|
20
|
+
flexDirection: "column",
|
|
21
|
+
alignItems: "center",
|
|
22
|
+
},
|
|
23
|
+
ColumnContainer: {
|
|
24
|
+
"& p": { margin: "0" },
|
|
25
|
+
display: "grid",
|
|
26
|
+
gridAutoColumns: "minmax(0, 1fr)",
|
|
27
|
+
gridAutoFlow: "column",
|
|
28
|
+
gap: "calc(2 * var(--sl-spacing-medium))",
|
|
29
|
+
"@media (max-width: 499px)": {
|
|
30
|
+
gridAutoFlow: "unset",
|
|
31
|
+
gridAutoColumns: "unset",
|
|
32
|
+
gridTemplateColumns: "1fr",
|
|
33
|
+
border: "none",
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
};
|
|
37
|
+
const sheet = createStyleSheet(style);
|
|
38
|
+
const styleString = sheet.toString();
|
|
39
|
+
const borderColor = props.borderColor || "var(--sl-color-neutral-300)";
|
|
39
40
|
return (h("div", { part: "sqm-base", class: sheet.classes.Container, style: {
|
|
40
|
-
border: `${props.hideBorder ? "none" : "1px solid
|
|
41
|
+
border: `${props.hideBorder ? "none" : "1px solid " + borderColor}`,
|
|
41
42
|
"padding-top": `var(--sl-spacing-${props.paddingTop})`,
|
|
42
43
|
"padding-right": `var(--sl-spacing-${props.paddingRight})`,
|
|
43
44
|
"padding-bottom": `var(--sl-spacing-${props.paddingBottom})`,
|
|
@@ -5,10 +5,12 @@ import { ReferralCardView } from "./sqm-referral-card-view";
|
|
|
5
5
|
import { useChildElements } from "../../tables/useChildElements";
|
|
6
6
|
/**
|
|
7
7
|
* @uiName Referral Card
|
|
8
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqb-program-section","sqb-conditional-section"]
|
|
9
|
+
* @validChildren ["div","sqm-portal-container","p","sqm-timeline","h1","h2","h3","h5","h4","sqm-pagination","sqm-qr-code","sqm-referral-code","sqm-referral-codes","sqm-share-code","sqm-share-link","sqm-text","span"]
|
|
8
10
|
* @exampleGroup Referrals
|
|
9
11
|
* @slots [{"name":"left", "title":"Left Content"},{"name":"right", "title":"Right Content"},{"name":"header", "title":"Header Content"},{"name":"footer", "title":"Footer Content"}]
|
|
10
12
|
* @example Referral Card - <sqm-referral-card vertical-alignment="start"> <sqm-portal-container gap="large" slot="left" direction="column" display="grid" max-width="100%" padding="none" > <sqm-text >They’ll get a $50 credit towards a new account and you’ll get: </sqm-text> <sqm-timeline icon="circle"> <sqm-timeline-entry reward="$50" unit="visa giftcard" desc="Your friend purchases a Business plan" icon="circle" > </sqm-timeline-entry> <sqm-timeline-entry reward="$200" unit="visa giftcard" desc="Our sales team qualifies your friend as a good fit for our Enterprise plan" icon="circle" > </sqm-timeline-entry> <sqm-timeline-entry reward="$1000" unit="visa giftcard" desc="Your friend purchases an Enterprise plan" icon="circle" > </sqm-timeline-entry> </sqm-timeline> </sqm-portal-container> <sqm-portal-container gap="large" slot="right" direction="column" display="grid" max-width="100%" padding="none" > <sqm-text>Choose how you want to share: </sqm-text> <sqm-text> <sub>Your unique referral link:</sub> <sqm-share-link tooltip-text="Copied to Clipboard" tooltip-lifespan="1000" > </sqm-share-link> </sqm-text> <sqm-portal-container gap="x-small" direction="column" display="grid" max-width="100%" padding="none" > <sqm-share-button medium="email" icon-slot="prefix" size="medium" type="default" > Share via email </sqm-share-button> <sqm-share-button medium="linkedin" icon-slot="prefix" size="medium" type="default" > Share on LinkedIn </sqm-share-button> <sqm-share-button medium="twitter" icon-slot="prefix" size="medium" type="default" > Share on Twitter </sqm-share-button> </sqm-portal-container> </sqm-portal-container> </sqm-referral-card>
|
|
11
|
-
*/
|
|
13
|
+
* */
|
|
12
14
|
export class ReferralCard {
|
|
13
15
|
constructor() {
|
|
14
16
|
this.ignored = true;
|
|
@@ -283,6 +285,81 @@ export class ReferralCard {
|
|
|
283
285
|
"reflect": false,
|
|
284
286
|
"defaultValue": "\"#ffffff\""
|
|
285
287
|
},
|
|
288
|
+
"borderColor": {
|
|
289
|
+
"type": "string",
|
|
290
|
+
"mutable": false,
|
|
291
|
+
"complexType": {
|
|
292
|
+
"original": "string",
|
|
293
|
+
"resolved": "string",
|
|
294
|
+
"references": {}
|
|
295
|
+
},
|
|
296
|
+
"required": false,
|
|
297
|
+
"optional": true,
|
|
298
|
+
"docs": {
|
|
299
|
+
"tags": [{
|
|
300
|
+
"text": "Border color",
|
|
301
|
+
"name": "uiName"
|
|
302
|
+
}, {
|
|
303
|
+
"text": "color",
|
|
304
|
+
"name": "uiWidget"
|
|
305
|
+
}, {
|
|
306
|
+
"text": "color",
|
|
307
|
+
"name": "format"
|
|
308
|
+
}],
|
|
309
|
+
"text": "Border color of share link container (default is set to 1px solid transparent)"
|
|
310
|
+
},
|
|
311
|
+
"attribute": "border-color",
|
|
312
|
+
"reflect": false
|
|
313
|
+
},
|
|
314
|
+
"textColor": {
|
|
315
|
+
"type": "string",
|
|
316
|
+
"mutable": false,
|
|
317
|
+
"complexType": {
|
|
318
|
+
"original": "string",
|
|
319
|
+
"resolved": "string",
|
|
320
|
+
"references": {}
|
|
321
|
+
},
|
|
322
|
+
"required": false,
|
|
323
|
+
"optional": true,
|
|
324
|
+
"docs": {
|
|
325
|
+
"tags": [{
|
|
326
|
+
"text": "Text color",
|
|
327
|
+
"name": "uiName"
|
|
328
|
+
}, {
|
|
329
|
+
"text": "color",
|
|
330
|
+
"name": "uiWidget"
|
|
331
|
+
}, {
|
|
332
|
+
"text": "color",
|
|
333
|
+
"name": "format"
|
|
334
|
+
}],
|
|
335
|
+
"text": "Color of the text and copy icon"
|
|
336
|
+
},
|
|
337
|
+
"attribute": "text-color",
|
|
338
|
+
"reflect": false
|
|
339
|
+
},
|
|
340
|
+
"borderRadius": {
|
|
341
|
+
"type": "number",
|
|
342
|
+
"mutable": false,
|
|
343
|
+
"complexType": {
|
|
344
|
+
"original": "number",
|
|
345
|
+
"resolved": "number",
|
|
346
|
+
"references": {}
|
|
347
|
+
},
|
|
348
|
+
"required": false,
|
|
349
|
+
"optional": true,
|
|
350
|
+
"docs": {
|
|
351
|
+
"tags": [{
|
|
352
|
+
"text": "Border Radius",
|
|
353
|
+
"name": "uiName"
|
|
354
|
+
}, {
|
|
355
|
+
"text": "number",
|
|
356
|
+
"name": "uiType"
|
|
357
|
+
}],
|
|
358
|
+
"text": "The border radius on the share link container (in pixels)"
|
|
359
|
+
},
|
|
360
|
+
"attribute": "border-radius",
|
|
361
|
+
"reflect": false
|
|
362
|
+
},
|
|
286
363
|
"limitWidth": {
|
|
287
364
|
"type": "boolean",
|
|
288
365
|
"mutable": false,
|