@saasquatch/mint-components 1.15.0-1 → 1.15.0-11
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 +188 -96
- package/dist/cjs/sqm-email-verification.cjs.entry.js +2 -2
- package/dist/cjs/sqm-empty_4.cjs.entry.js +50 -49
- 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 +70 -18
- 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-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 +1 -1
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.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/Text.stories.js +12 -0
- package/dist/collection/components/sqm-text/sqm-text.js +104 -48
- 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/Timeline.stories.js +8 -1
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +45 -45
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +53 -0
- 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 +188 -96
- package/dist/esm/sqm-email-verification.entry.js +2 -2
- package/dist/esm/sqm-empty_4.entry.js +50 -49
- 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 +70 -18
- 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-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-1ae6c418.entry.js +1 -0
- 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-ef6381d4.entry.js → p-3f3ae257.entry.js} +2 -2
- package/dist/mint-components/p-4027c743.system.entry.js +1 -0
- 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-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-116baa69.entry.js → p-8e876dde.entry.js} +13 -13
- package/dist/mint-components/p-9abb9ab0.entry.js +13 -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-c571bc61.system.entry.js +1 -0
- 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-dce51a2e.system.entry.js +1 -0
- 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-f219e877.system.entry.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-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 +1 -1
- 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/Text.stories.d.ts +6 -0
- package/dist/types/components/sqm-text/sqm-text.d.ts +14 -0
- package/dist/types/components/sqm-text-span/sqm-text-span.d.ts +1 -0
- package/dist/types/components/sqm-timeline/Timeline.stories.d.ts +1 -0
- package/dist/types/components/sqm-timeline/sqm-timeline-entry-view.d.ts +2 -0
- package/dist/types/components/sqm-timeline/sqm-timeline-entry.d.ts +14 -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 +592 -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
|
@@ -7,6 +7,7 @@ import { ReferralCodesView, } from "./sqm-referral-codes-view";
|
|
|
7
7
|
import { useReferralCodes } from "./useReferralCodes";
|
|
8
8
|
/**
|
|
9
9
|
* @uiName Promo Codes
|
|
10
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-referral-card","span","sqb-program-section","sqb-conditional-section"]
|
|
10
11
|
* @slots [{"name":"", "title":"Promo Codes Content"}]
|
|
11
12
|
* @exampleGroup Sharing
|
|
12
13
|
* @example Promo Codes - <sqm-referral-codes><sqm-pagination slot="pagination"></sqm-pagination><sqm-referral-code slot="shareCodes" show-notification-text="true"></sqm-referral-code><sqm-portal-container gap="small" slot="shareButtons"><sqm-share-button medium="email">Share via email</sqm-share-button><sqm-share-button medium="fbmessenger">Share on Facebook</sqm-share-button><sqm-share-button medium="whatsapp">Share on WhatsApp</sqm-share-button></sqm-portal-container></sqm-referral-codes>
|
|
@@ -76,6 +77,32 @@ export class ReferralCodes {
|
|
|
76
77
|
"reflect": false,
|
|
77
78
|
"defaultValue": "\"Start sharing\""
|
|
78
79
|
},
|
|
80
|
+
"textColor": {
|
|
81
|
+
"type": "string",
|
|
82
|
+
"mutable": false,
|
|
83
|
+
"complexType": {
|
|
84
|
+
"original": "string",
|
|
85
|
+
"resolved": "string",
|
|
86
|
+
"references": {}
|
|
87
|
+
},
|
|
88
|
+
"required": false,
|
|
89
|
+
"optional": true,
|
|
90
|
+
"docs": {
|
|
91
|
+
"tags": [{
|
|
92
|
+
"text": "Text Color",
|
|
93
|
+
"name": "uiName"
|
|
94
|
+
}, {
|
|
95
|
+
"text": "string",
|
|
96
|
+
"name": "uiType"
|
|
97
|
+
}, {
|
|
98
|
+
"text": "color",
|
|
99
|
+
"name": "uiWidget"
|
|
100
|
+
}],
|
|
101
|
+
"text": ""
|
|
102
|
+
},
|
|
103
|
+
"attribute": "text-color",
|
|
104
|
+
"reflect": false
|
|
105
|
+
},
|
|
79
106
|
"emptyStateHeaderText": {
|
|
80
107
|
"type": "string",
|
|
81
108
|
"mutable": false,
|
|
@@ -167,7 +194,7 @@ export class ReferralCodes {
|
|
|
167
194
|
"mutable": false,
|
|
168
195
|
"complexType": {
|
|
169
196
|
"original": "DemoData<ReferralCodesViewProps>",
|
|
170
|
-
"resolved": "{ states?: { noCodes: boolean; loading: boolean; }; slots?: { shareButtons: VNode; shareCodes: VNode; pagination: VNode; empty: VNode; loading: VNode; }; titleText?: string; }",
|
|
197
|
+
"resolved": "{ states?: { noCodes: boolean; loading: boolean; }; slots?: { shareButtons: VNode; shareCodes: VNode; pagination: VNode; empty: VNode; loading: VNode; }; titleText?: string; textColor?: string; }",
|
|
171
198
|
"references": {
|
|
172
199
|
"DemoData": {
|
|
173
200
|
"location": "import",
|
|
@@ -211,6 +238,7 @@ function LoadingRow() {
|
|
|
211
238
|
function useDemoReferralCodes(props) {
|
|
212
239
|
return deepmerge({
|
|
213
240
|
titleText: props.titleText,
|
|
241
|
+
textColor: props.textColor,
|
|
214
242
|
states: {
|
|
215
243
|
noCodes: false,
|
|
216
244
|
loading: false,
|
package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js
CHANGED
|
@@ -27,9 +27,7 @@ export class ReferralTableRewardsCell {
|
|
|
27
27
|
"flex-wrap": "wrap",
|
|
28
28
|
},
|
|
29
29
|
Details: {
|
|
30
|
-
"padding-bottom": "var(--sl-spacing-small)",
|
|
31
30
|
"max-width": "500px",
|
|
32
|
-
// "padding-right": "var(--sl-spacing-x-small)",
|
|
33
31
|
"&::part(header)": {
|
|
34
32
|
padding: "var(--sl-spacing-x-small)",
|
|
35
33
|
cursor: `${this.hideDetails ? "default" : "pointer"}`,
|
|
@@ -10,6 +10,8 @@ import mockReferralData from "./mockReferralData";
|
|
|
10
10
|
import { tryMethod, useReferralTable } from "./useReferralTable";
|
|
11
11
|
/**
|
|
12
12
|
* @uiName Referral Table
|
|
13
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-referral-card","span","sqm-tab","sqb-program-section","sqb-conditional-section"]
|
|
14
|
+
* @validChildren ["sqm-referral-table-column","sqm-referral-table-date-column","sqm-referral-table-rewards-column","sqm-referral-table-status-column","sqm-referral-table-user-column","sqm-empty"]
|
|
13
15
|
* @exampleGroup Referrals
|
|
14
16
|
* @slots [{"name":"", "title":"Table Row"},{"name":"empty", "title":"Empty"},{"name":"loading","title":"Loading"}]
|
|
15
17
|
* @example Referral Table - <sqm-referral-table per-page="4" hidden-columns="2" more-label="Next" prev-label="Prev" sm-breakpoint="599" md-breakpoint="799" > <sqm-referral-table-user-column column-title="Customer" anonymous-user="Anonymous User" deleted-user="Deleted User" ></sqm-referral-table-user-column> <sqm-referral-table-rewards-column column-title="Rewards" status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} PENDING_REVIEW {Pending} PAYOUT_APPROVED {Payout Approved} PAYOUT_FAILED {Payout Failed} PAYOUT_CANCELLED {Payout Cancelled} PENDING_TAX_REVIEW {Pending} PENDING_NEW_TAX_FORM {Pending} PENDING_TAX_SUBMISSION {Pending} PENDING_PARTNER_CREATION {Pending} DENIED {Denied} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }" status-long-text="{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} PENDING_REVIEW {Pending since} PAYOUT_APPROVED {Reward approved for payout and was scheduled for payment based on your settings.} PAYOUT_FAILED {Payout failed due to a fulfillment issue and is currently being retried.} PAYOUT_CANCELLED {If you think this is a mistake, contact our Support team.} PENDING_TAX_REVIEW {Awaiting tax form review} PENDING_NEW_TAX_FORM {Invalid tax form. Submit a new form to receive your rewards.} PENDING_TAX_SUBMISSION {Submit your tax documents to receive your rewards} PENDING_PARTNER_CREATION {Complete your tax and cash payout setup to receive your rewards} DENIED {Denied on} EXPIRED {Reward expired on} other {Not available} }" fuel-tank-text="Your code is" reward-received-text="Reward received on" expiring-text="Expiring in" pending-for-text="{status} for {date}" denied-help-text="Contact support if you think this is a mistake." ></sqm-referral-table-rewards-column> <sqm-referral-table-date-column column-title="Date converted" date-shown="dateConverted" ></sqm-referral-table-date-column> <sqm-referral-table-status-column column-title="Status" converted-status-text="Converted" in-progress-status-text="In Progress" pending-review-status-text="Pending" denied-status-text="Denied" pending-review-status-sub-text="Awaiting review" denied-status-sub-text="Detected self-referral" ></sqm-referral-table-status-column> <sqm-empty empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png" empty-state-header="View your referral details" empty-state-text="Refer a friend to view the status of your referrals and rewards earned" slot="empty" ></sqm-empty> </sqm-referral-table>
|
|
@@ -6,6 +6,7 @@ import { useInstantAccessRegistration } from "../sqm-instant-access-registration
|
|
|
6
6
|
import { EmailRegistrationView, } from "../views/email-registration-view";
|
|
7
7
|
/**
|
|
8
8
|
* @uiName Instant Access Friend Registration
|
|
9
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero","sqb-program-section","sqb-conditional-section"]
|
|
9
10
|
* @compatibility Built for instant access
|
|
10
11
|
* @exampleGroup Instant Access
|
|
11
12
|
* @example Instant Access Friend Registration - <sqm-referred-registration></sqm-referred-registration>
|
|
@@ -8,6 +8,8 @@ import { getProps } from "../../utils/utils";
|
|
|
8
8
|
import { demoRewardExchange } from "./RewardExchangeListData";
|
|
9
9
|
/**
|
|
10
10
|
* @uiName Reward Exchange
|
|
11
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero","sqm-tab","sqb-program-section","sqb-conditional-section"]
|
|
12
|
+
* @validChildren ["sqm-empty"]
|
|
11
13
|
* @slots [{"name":"empty", "title":"Empty State"}]
|
|
12
14
|
* @exampleGroup Rewards
|
|
13
15
|
* @example Reward Exchange - <sqm-reward-exchange-list not-available-error="{unavailableReasonCode, select, US_TAX {US Tax limit} INSUFFICIENT_REDEEMABLE_CREDIT {{sourceValue} required} AVAILABILITY_PREDICATE {Not available} other {{unavailableReasonCode}} }" choose-reward-title="Rewards" choose-amount-title="Select" confirmation-title="Confirm" reward-title="Choose a reward" cancel-text="Cancel" back-text="Back" continue-text="Continue" continue-to-confirmation-text="Continue to confirmation" redeem-text="Redeem" redeem-title="Confirm and redeem" redemption-success-text="Redeemed {sourceValue} for {destinationValue}" source-amount-message="{ruleType, select, FIXED_GLOBAL_REWARD {{sourceValue}} other {{sourceMinValue} to {sourceMaxValue}}}" tooltip-text="Copied" done-text="Done" select-text="Select amount to receive" query-error="Unable to load reward exchange list. Please try again" redemption-error="An error occured trying to redeem this reward. Please try again" not-enough-error="Not enough {sourceUnit} to redeem for this reward" reward-redeemed-text="Reward redeemed" promo-code="Promo Code" skeleton-card-num=8 reward-name-title="Reward" reward-amount-title="Reward Amount" cost-title="Cost to Redeem"><sqm-empty empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_exchange2.png" empty-state-header="Redeem rewards" empty-state-text="Use your points to redeem rewards once they become available" slot="empty"></sqm-empty></sqm-reward-exchange-list>
|
|
@@ -135,11 +135,11 @@ export class RewardTableRewardsCell {
|
|
|
135
135
|
},
|
|
136
136
|
Text: {
|
|
137
137
|
fontSize: "var(--sl-font-size-medium)",
|
|
138
|
-
color: "var(--
|
|
138
|
+
color: "var(--sqm-text)",
|
|
139
139
|
},
|
|
140
140
|
Subtext: {
|
|
141
141
|
fontSize: "var(--sl-font-size-small)",
|
|
142
|
-
color: "var(--
|
|
142
|
+
color: "var(--sqm-text-subdued)",
|
|
143
143
|
},
|
|
144
144
|
};
|
|
145
145
|
const sheet = createStyleSheet(style);
|
|
@@ -10,6 +10,7 @@ import mockRewardData from "./mockRewardData";
|
|
|
10
10
|
import { tryMethod, useRewardsTable } from "./useRewardsTable";
|
|
11
11
|
/**
|
|
12
12
|
* @uiName Reward Table
|
|
13
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero","sqm-tab","sqb-program-section","sqb-conditional-section"]
|
|
13
14
|
* @exampleGroup Rewards
|
|
14
15
|
* @slots [{"name":"", "title":"Table Row"},{"name":"empty", "title":"Empty"},{"name":"loading","title":"Loading"}]
|
|
15
16
|
* @example Reward Table - <sqm-rewards-table per-page="4" prev-label="Prev" more-label="Next" hidden-columns="0" sm-breakpoint="599" md-breakpoint="799" ><sqm-rewards-table-status-column column-title="Status" status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} PENDING_REVIEW {Pending} PAYOUT_APPROVED {Payout Approved} PAYOUT_CANCELLED {Payout Cancelled} PAYOUT_FAILED {Payout Failed} EXPIRED {Expired} REDEEMED {Redeemed} DENIED {Denied} other {Not available} }" expiry-text="Expires on " pending-us-tax="W-9 required" pending-scheduled="Until" pending-unhandled="Fulfillment error" pending-review-text="Awaiting review" denied-text="Detected self-referral" pending-tax-review="Awaiting tax form review." pending-new-tax-form="Invalid tax form. Submit a new form to receive your rewards." pending-tax-submission="Submit your tax documents to receive your rewards." pending-partner-creation="Complete your tax and cash payout setup to receive your rewards." payout-failed="Payout failed due to a fulfillment issue and is current being retried." payout-cancelled="If you think this is a mistake, contact our Support team." payout-approved="Reward approved for payout and was scheduled for payment based on your settings." ></sqm-rewards-table-status-column> <sqm-rewards-table-source-column column-title="Source" anonymous-user="Anonymous User" deleted-user="Deleted User" reward-exchange-text="Reward Exchange" referral-rext="{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}" reward-source-text="{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}" ></sqm-rewards-table-source-column ><sqm-rewards-table-reward-column column-title="Reward" redeemed-text="{redeemedAmount} redeemed" available-text="{availableAmount} remaining" copy-text="Copied!" ></sqm-rewards-table-reward-column ><sqm-rewards-table-date-column column-title="Date received" date-shown="dateGiven" ></sqm-rewards-table-date-column ><sqm-rewards-table-customer-note-column column-title="Note" ></sqm-rewards-table-customer-note-column ><sqm-empty slot="empty" empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png" empty-state-header="View your rewards" empty-state-text="Complete program tasks to view the details of your rewards" ></sqm-empty ></sqm-rewards-table>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { h, Component, State, Prop, Host } from "@stencil/core";
|
|
2
2
|
/**
|
|
3
3
|
* @uiName Route
|
|
4
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero","sqm-tab"]
|
|
4
5
|
* @slots [{"name":"","title":"Content"}]
|
|
5
6
|
*/
|
|
6
7
|
export class SqmRoute {
|
|
@@ -3,6 +3,8 @@ import { withHooks } from "@saasquatch/stencil-hooks";
|
|
|
3
3
|
import { useRouter } from "./useRouter";
|
|
4
4
|
/**
|
|
5
5
|
* @uiName Router
|
|
6
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero","sqm-tab", "sqb-program-section", "sqb-conditional-section"]
|
|
7
|
+
* @validChildren ["sqm-route"]
|
|
6
8
|
* @slots [{"name":"","title":"Routes"}]
|
|
7
9
|
*/
|
|
8
10
|
export class SqmRouter {
|
|
@@ -4,6 +4,7 @@ import { useScroll } from "./useScroll";
|
|
|
4
4
|
import { createStyleSheet } from "../../styling/JSS";
|
|
5
5
|
/**
|
|
6
6
|
* @uiName Scroll Button
|
|
7
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero","sqm-tab","sqb-program-section","sqb-conditional-section"]
|
|
7
8
|
* @slots [{"name":"", "title":"Button Content"}]
|
|
8
9
|
* @slotEditor richText
|
|
9
10
|
*/
|
|
@@ -7,6 +7,7 @@ import { getProps } from "../../utils/utils";
|
|
|
7
7
|
import deepmerge from "deepmerge";
|
|
8
8
|
/**
|
|
9
9
|
* @uiName Share Button
|
|
10
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero","sqb-program-section","sqb-conditional-section"]
|
|
10
11
|
* @slots [{"name":"", "title":"Button Content"}]
|
|
11
12
|
* @slotEditor richText
|
|
12
13
|
* @uiOrder ["medium", "program-id", "*", "pill", "disabled", "hideicon"]
|
|
@@ -489,7 +490,7 @@ export class ShareButton {
|
|
|
489
490
|
"mutable": false,
|
|
490
491
|
"complexType": {
|
|
491
492
|
"original": "DemoData<ShareButtonViewProps>",
|
|
492
|
-
"resolved": "{ loading?: boolean; icon?: string; disabled?: boolean; onClick?: () => void; medium?: \"facebook\" | \"twitter\" | \"email\" | \"direct\" | \"linkedin\" | \"sms\" | \"fbmessenger\" | \"whatsapp\" | \"linemessenger\" | \"pinterest\" | \"reminder\" | \"unknown\"; pill?: boolean; type?: \"text\" | \"
|
|
493
|
+
"resolved": "{ loading?: boolean; icon?: string; disabled?: boolean; onClick?: () => void; medium?: \"facebook\" | \"twitter\" | \"email\" | \"direct\" | \"linkedin\" | \"sms\" | \"fbmessenger\" | \"whatsapp\" | \"linemessenger\" | \"pinterest\" | \"reminder\" | \"unknown\"; pill?: boolean; type?: \"text\" | \"primary\" | \"warning\" | \"info\" | \"success\" | \"default\" | \"danger\"; size?: \"small\" | \"medium\" | \"large\"; hideicon?: boolean; hidetext?: boolean; iconslot?: \"prefix\" | \"suffix\"; hide?: boolean; borderradius?: number; backgroundcolor?: string; textcolor?: string; messageLink?: string; openInSameTab?: boolean; isPlainLink?: boolean; }",
|
|
493
494
|
"references": {
|
|
494
495
|
"DemoData": {
|
|
495
496
|
"location": "import",
|
|
@@ -7,6 +7,7 @@ import { CopyTextView } from "../views/copy-text-view";
|
|
|
7
7
|
import { useShareCode } from "./useShareCode";
|
|
8
8
|
/**
|
|
9
9
|
* @uiName Share Code
|
|
10
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqb-program-section","sqb-conditional-section"]
|
|
10
11
|
* @exampleGroup Sharing
|
|
11
12
|
* @example Share Code - <sqm-share-code tooltip-text="Copied to Clipboard" tooltip-lifespan="1000"></sqm-share-code>
|
|
12
13
|
*/
|
|
@@ -31,6 +32,7 @@ export class ShareCode {
|
|
|
31
32
|
* @uiType string
|
|
32
33
|
* @uiEnum ["left", "center", "right"]
|
|
33
34
|
* @uiEnumNames ["Left", "Center", "Right"]
|
|
35
|
+
* @uiGroup Style
|
|
34
36
|
*/
|
|
35
37
|
this.textAlign = "left";
|
|
36
38
|
/**
|
|
@@ -44,8 +46,18 @@ export class ShareCode {
|
|
|
44
46
|
* @uiType string
|
|
45
47
|
* @uiEnum ["icon", "button-outside", "button-below"]
|
|
46
48
|
* @uiEnumNames ["Icon", "Button outside", "Button below"]
|
|
49
|
+
* @uiGroup Style
|
|
47
50
|
*/
|
|
48
51
|
this.buttonStyle = "icon";
|
|
52
|
+
/**
|
|
53
|
+
* The type of the button (primary or secondary) that will be used to copy the link.
|
|
54
|
+
* @uiName Button Type
|
|
55
|
+
* @uiType string
|
|
56
|
+
* @uiEnum ["primary", "secondary"]
|
|
57
|
+
* @uiEnumNames ["Primary", "Secondary"]
|
|
58
|
+
* @uiGroup Style
|
|
59
|
+
*/
|
|
60
|
+
this.buttonType = "primary";
|
|
49
61
|
withHooks(this);
|
|
50
62
|
}
|
|
51
63
|
disconnectedCallback() { }
|
|
@@ -147,6 +159,9 @@ export class ShareCode {
|
|
|
147
159
|
}, {
|
|
148
160
|
"text": "[\"Left\", \"Center\", \"Right\"]",
|
|
149
161
|
"name": "uiEnumNames"
|
|
162
|
+
}, {
|
|
163
|
+
"text": "Style",
|
|
164
|
+
"name": "uiGroup"
|
|
150
165
|
}],
|
|
151
166
|
"text": "Change the text alignment"
|
|
152
167
|
},
|
|
@@ -154,6 +169,90 @@ export class ShareCode {
|
|
|
154
169
|
"reflect": false,
|
|
155
170
|
"defaultValue": "\"left\""
|
|
156
171
|
},
|
|
172
|
+
"backgroundColor": {
|
|
173
|
+
"type": "string",
|
|
174
|
+
"mutable": false,
|
|
175
|
+
"complexType": {
|
|
176
|
+
"original": "string",
|
|
177
|
+
"resolved": "string",
|
|
178
|
+
"references": {}
|
|
179
|
+
},
|
|
180
|
+
"required": false,
|
|
181
|
+
"optional": true,
|
|
182
|
+
"docs": {
|
|
183
|
+
"tags": [{
|
|
184
|
+
"text": "Background color",
|
|
185
|
+
"name": "uiName"
|
|
186
|
+
}, {
|
|
187
|
+
"text": "color",
|
|
188
|
+
"name": "uiWidget"
|
|
189
|
+
}, {
|
|
190
|
+
"text": "color",
|
|
191
|
+
"name": "format"
|
|
192
|
+
}, {
|
|
193
|
+
"text": "Style",
|
|
194
|
+
"name": "uiGroup"
|
|
195
|
+
}],
|
|
196
|
+
"text": "Background color of share link container"
|
|
197
|
+
},
|
|
198
|
+
"attribute": "background-color",
|
|
199
|
+
"reflect": false
|
|
200
|
+
},
|
|
201
|
+
"textColor": {
|
|
202
|
+
"type": "string",
|
|
203
|
+
"mutable": false,
|
|
204
|
+
"complexType": {
|
|
205
|
+
"original": "string",
|
|
206
|
+
"resolved": "string",
|
|
207
|
+
"references": {}
|
|
208
|
+
},
|
|
209
|
+
"required": false,
|
|
210
|
+
"optional": true,
|
|
211
|
+
"docs": {
|
|
212
|
+
"tags": [{
|
|
213
|
+
"text": "Text color",
|
|
214
|
+
"name": "uiName"
|
|
215
|
+
}, {
|
|
216
|
+
"text": "color",
|
|
217
|
+
"name": "uiWidget"
|
|
218
|
+
}, {
|
|
219
|
+
"text": "color",
|
|
220
|
+
"name": "format"
|
|
221
|
+
}, {
|
|
222
|
+
"text": "Style",
|
|
223
|
+
"name": "uiGroup"
|
|
224
|
+
}],
|
|
225
|
+
"text": "Color of the text and copy icon"
|
|
226
|
+
},
|
|
227
|
+
"attribute": "text-color",
|
|
228
|
+
"reflect": false
|
|
229
|
+
},
|
|
230
|
+
"borderRadius": {
|
|
231
|
+
"type": "string",
|
|
232
|
+
"mutable": false,
|
|
233
|
+
"complexType": {
|
|
234
|
+
"original": "string",
|
|
235
|
+
"resolved": "string",
|
|
236
|
+
"references": {}
|
|
237
|
+
},
|
|
238
|
+
"required": false,
|
|
239
|
+
"optional": true,
|
|
240
|
+
"docs": {
|
|
241
|
+
"tags": [{
|
|
242
|
+
"text": "Border Radius",
|
|
243
|
+
"name": "uiName"
|
|
244
|
+
}, {
|
|
245
|
+
"text": "number",
|
|
246
|
+
"name": "uiType"
|
|
247
|
+
}, {
|
|
248
|
+
"text": "Style",
|
|
249
|
+
"name": "uiGroup"
|
|
250
|
+
}],
|
|
251
|
+
"text": "The border radius on the share link container (in pixels)"
|
|
252
|
+
},
|
|
253
|
+
"attribute": "border-radius",
|
|
254
|
+
"reflect": false
|
|
255
|
+
},
|
|
157
256
|
"copyButtonLabel": {
|
|
158
257
|
"type": "string",
|
|
159
258
|
"mutable": false,
|
|
@@ -198,6 +297,9 @@ export class ShareCode {
|
|
|
198
297
|
}, {
|
|
199
298
|
"text": "[\"Icon\", \"Button outside\", \"Button below\"]",
|
|
200
299
|
"name": "uiEnumNames"
|
|
300
|
+
}, {
|
|
301
|
+
"text": "Style",
|
|
302
|
+
"name": "uiGroup"
|
|
201
303
|
}],
|
|
202
304
|
"text": "Set the copy button style and placement"
|
|
203
305
|
},
|
|
@@ -205,12 +307,74 @@ export class ShareCode {
|
|
|
205
307
|
"reflect": false,
|
|
206
308
|
"defaultValue": "\"icon\""
|
|
207
309
|
},
|
|
310
|
+
"buttonType": {
|
|
311
|
+
"type": "string",
|
|
312
|
+
"mutable": false,
|
|
313
|
+
"complexType": {
|
|
314
|
+
"original": "\"primary\" | \"secondary\"",
|
|
315
|
+
"resolved": "\"primary\" | \"secondary\"",
|
|
316
|
+
"references": {}
|
|
317
|
+
},
|
|
318
|
+
"required": false,
|
|
319
|
+
"optional": true,
|
|
320
|
+
"docs": {
|
|
321
|
+
"tags": [{
|
|
322
|
+
"text": "Button Type",
|
|
323
|
+
"name": "uiName"
|
|
324
|
+
}, {
|
|
325
|
+
"text": "string",
|
|
326
|
+
"name": "uiType"
|
|
327
|
+
}, {
|
|
328
|
+
"text": "[\"primary\", \"secondary\"]",
|
|
329
|
+
"name": "uiEnum"
|
|
330
|
+
}, {
|
|
331
|
+
"text": "[\"Primary\", \"Secondary\"]",
|
|
332
|
+
"name": "uiEnumNames"
|
|
333
|
+
}, {
|
|
334
|
+
"text": "Style",
|
|
335
|
+
"name": "uiGroup"
|
|
336
|
+
}],
|
|
337
|
+
"text": "The type of the button (primary or secondary) that will be used to copy the link."
|
|
338
|
+
},
|
|
339
|
+
"attribute": "button-type",
|
|
340
|
+
"reflect": false,
|
|
341
|
+
"defaultValue": "\"primary\""
|
|
342
|
+
},
|
|
343
|
+
"borderColor": {
|
|
344
|
+
"type": "string",
|
|
345
|
+
"mutable": false,
|
|
346
|
+
"complexType": {
|
|
347
|
+
"original": "string",
|
|
348
|
+
"resolved": "string",
|
|
349
|
+
"references": {}
|
|
350
|
+
},
|
|
351
|
+
"required": false,
|
|
352
|
+
"optional": true,
|
|
353
|
+
"docs": {
|
|
354
|
+
"tags": [{
|
|
355
|
+
"text": "Border color",
|
|
356
|
+
"name": "uiName"
|
|
357
|
+
}, {
|
|
358
|
+
"text": "color",
|
|
359
|
+
"name": "uiWidget"
|
|
360
|
+
}, {
|
|
361
|
+
"text": "color",
|
|
362
|
+
"name": "format"
|
|
363
|
+
}, {
|
|
364
|
+
"text": "Style",
|
|
365
|
+
"name": "uiGroup"
|
|
366
|
+
}],
|
|
367
|
+
"text": "Border color of share link container (default is set to 1px solid transparent)"
|
|
368
|
+
},
|
|
369
|
+
"attribute": "border-color",
|
|
370
|
+
"reflect": false
|
|
371
|
+
},
|
|
208
372
|
"demoData": {
|
|
209
373
|
"type": "unknown",
|
|
210
374
|
"mutable": false,
|
|
211
375
|
"complexType": {
|
|
212
376
|
"original": "DemoData<CopyTextViewProps>",
|
|
213
|
-
"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; }",
|
|
377
|
+
"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; }",
|
|
214
378
|
"references": {
|
|
215
379
|
"DemoData": {
|
|
216
380
|
"location": "import",
|
|
@@ -246,6 +410,11 @@ function useDemoShareCode(props) {
|
|
|
246
410
|
textAlign: props.textAlign,
|
|
247
411
|
copyButtonLabel: props.copyButtonLabel,
|
|
248
412
|
buttonStyle: props.buttonStyle,
|
|
413
|
+
backgroundColor: props.backgroundColor,
|
|
414
|
+
textColor: props.textColor,
|
|
415
|
+
borderRadius: props.borderRadius,
|
|
416
|
+
borderColor: props.borderColor,
|
|
417
|
+
buttonType: props.buttonType,
|
|
249
418
|
rewardStatus: "AVAILABLE",
|
|
250
419
|
open,
|
|
251
420
|
onClick: () => {
|
|
@@ -64,6 +64,18 @@ export const CopyButtonBelow = () => {
|
|
|
64
64
|
buttonStyle: "button-below",
|
|
65
65
|
})));
|
|
66
66
|
};
|
|
67
|
+
export const CustomStyles = () => {
|
|
68
|
+
const props = {
|
|
69
|
+
copyString: "https://noah.example.com",
|
|
70
|
+
open: false,
|
|
71
|
+
tooltiptext: "Copied!",
|
|
72
|
+
backgroundColor: "#1ed760",
|
|
73
|
+
borderRadius: "30px",
|
|
74
|
+
textColor: "#121212",
|
|
75
|
+
buttonType: "primary",
|
|
76
|
+
};
|
|
77
|
+
return h(CopyTextView, Object.assign({}, props));
|
|
78
|
+
};
|
|
67
79
|
export const FullStack = () => {
|
|
68
80
|
return h("sqm-share-link", null);
|
|
69
81
|
};
|