@saasquatch/mint-components 1.11.1-6 → 1.11.1-61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{ShadowViewAddon-75ebafd6.js → ShadowViewAddon-c3e91cee.js} +211 -145
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
- package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +3 -3
- package/dist/cjs/sqm-big-stat_38.cjs.entry.js +5 -6
- package/dist/cjs/sqm-close-button.cjs.entry.js +2 -2
- package/dist/cjs/sqm-empty_4.cjs.entry.js +1 -1
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +2 -2
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +2 -2
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +3 -3
- package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +2 -2
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +2 -2
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +2 -2
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +3 -3
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +63 -46
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +3 -3
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +84 -241
- package/dist/cjs/sqm-tabs.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +0 -10
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +1 -1
- package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -1
- package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +0 -20
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +128 -109
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +2 -1
- package/dist/collection/components/sqm-share-button/useShareButton.js +15 -19
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -1
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +1 -1
- package/dist/collection/components/sqm-share-link/useShareLink.js +3 -9
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +0 -6
- package/dist/collection/components/views/copy-text-view.js +2 -16
- package/dist/esm/{ShadowViewAddon-69360ca6.js → ShadowViewAddon-e012b2aa.js} +213 -148
- package/dist/esm/{global-b89b6edc.js → global-04c7d3b5.js} +1 -1
- package/dist/esm/{index.module-f122af7b.js → index.module-def4aec5.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mint-components.js +3 -3
- package/dist/esm/{re-render-c64289f3.js → re-render-12fd274a.js} +1 -1
- package/dist/esm/sqm-asset-card.entry.js +2 -2
- package/dist/esm/sqm-banking-info-form_16.entry.js +9 -9
- package/dist/esm/sqm-big-stat_38.entry.js +9 -10
- package/dist/esm/sqm-close-button.entry.js +3 -3
- package/dist/esm/sqm-context-router.entry.js +1 -1
- package/dist/esm/sqm-empty_4.entry.js +3 -3
- package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm/sqm-instant-access-registration.entry.js +5 -5
- package/dist/esm/{sqm-invoice-table-view-09cc28d6.js → sqm-invoice-table-view-6e13a323.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
- package/dist/esm/sqm-logout-current-user.entry.js +3 -3
- package/dist/esm/{sqm-navigation-sidebar-item-view-14114804.js → sqm-navigation-sidebar-item-view-60ef06cc.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +4 -4
- package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm/sqm-password-field.entry.js +4 -4
- package/dist/esm/sqm-popup-container.entry.js +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-ced567c9.js → sqm-portal-email-verification-view-4307c992.js} +2 -2
- package/dist/esm/sqm-portal-email-verification.entry.js +4 -4
- package/dist/esm/sqm-portal-forgot-password.entry.js +3 -3
- package/dist/esm/sqm-portal-logout.entry.js +1 -1
- package/dist/esm/{sqm-portal-profile-view-d72dd5ac.js → sqm-portal-profile-view-ffe955c8.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +6 -6
- package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm/sqm-portal-registration-form.entry.js +3 -3
- package/dist/esm/sqm-portal-reset-password.entry.js +4 -4
- package/dist/esm/sqm-portal-verify-email.entry.js +4 -4
- package/dist/esm/sqm-referral-table_11.entry.js +68 -51
- package/dist/esm/sqm-referred-registration.entry.js +5 -5
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
- package/dist/esm/sqm-rewards-table_9.entry.js +8 -8
- package/dist/esm/sqm-stencilbook.entry.js +77 -234
- package/dist/esm/sqm-tab.entry.js +2 -2
- package/dist/esm/sqm-tabs.entry.js +3 -3
- package/dist/esm/{useChildElements-37daf533.js → useChildElements-32e1bda1.js} +1 -1
- package/dist/esm/{useInstantAccessRegistration-9d4cb797.js → useInstantAccessRegistration-46b89952.js} +2 -2
- package/dist/esm/{useReferralTable-42f99ea2.js → useReferralTable-f4de0650.js} +3 -3
- package/dist/esm/{useRegistrationFormState-53c71782.js → useRegistrationFormState-9fc1ac80.js} +1 -1
- package/dist/esm/{utilities-18d10876.js → utilities-3f5bba22.js} +1 -1
- package/dist/esm-es5/{GenericTableView-bf154727.js → GenericTableView-d59d8ab4.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-e012b2aa.js +1 -0
- package/dist/esm-es5/{email-registration-view-12793040.js → email-registration-view-a89a88bf.js} +1 -1
- package/dist/esm-es5/{global-b89b6edc.js → global-04c7d3b5.js} +1 -1
- package/dist/esm-es5/{index.module-f122af7b.js → index.module-def4aec5.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-c64289f3.js → re-render-12fd274a.js} +1 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_38.entry.js +1 -1
- package/dist/esm-es5/{sqm-close-button-view-b24c708b.js → sqm-close-button-view-dc65b4e3.js} +1 -1
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- package/dist/esm-es5/sqm-context-router.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/{sqm-invoice-table-view-09cc28d6.js → sqm-invoice-table-view-6e13a323.js} +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-60ef06cc.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-ced567c9.js → sqm-portal-email-verification-view-4307c992.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-forgot-password-view-95cd454f.js → sqm-portal-forgot-password-view-c2ed8fed.js} +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-d72dd5ac.js → sqm-portal-profile-view-ffe955c8.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-f1454d43.js → sqm-portal-reset-password-view-79a85e02.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-3739f523.js → sqm-portal-verify-email-view-d7ea2c56.js} +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tab.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/{useChildElements-37daf533.js → useChildElements-32e1bda1.js} +1 -1
- package/dist/esm-es5/{useInstantAccessRegistration-9d4cb797.js → useInstantAccessRegistration-46b89952.js} +1 -1
- package/dist/esm-es5/{useReferralTable-42f99ea2.js → useReferralTable-f4de0650.js} +1 -1
- package/dist/esm-es5/useRegistrationFormState-9fc1ac80.js +1 -0
- package/dist/esm-es5/{utilities-18d10876.js → utilities-3f5bba22.js} +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/p-021a735d.entry.js +1 -0
- package/dist/mint-components/{p-21d4f6ce.system.js → p-02424350.system.js} +1 -1
- package/dist/mint-components/p-03494732.entry.js +1 -0
- package/dist/mint-components/{p-c1ba2ad0.system.entry.js → p-07f675ab.system.entry.js} +1 -1
- package/dist/mint-components/p-0b9fa97f.js +1 -0
- package/dist/mint-components/{p-55588b46.system.js → p-0d8c53ac.system.js} +1 -1
- package/dist/mint-components/{p-969075f6.js → p-10685090.js} +23 -23
- package/dist/mint-components/p-10e89d0a.entry.js +1 -0
- package/dist/mint-components/{p-12c56ba6.entry.js → p-137ea86e.entry.js} +1 -1
- package/dist/mint-components/{p-32cf8417.js → p-1b9e6fc6.js} +1 -1
- package/dist/mint-components/{p-942d1c22.entry.js → p-1c857edb.entry.js} +2 -2
- package/dist/mint-components/{p-a1150633.system.entry.js → p-1dd69917.system.entry.js} +1 -1
- package/dist/mint-components/p-21670740.system.entry.js +1 -0
- package/dist/mint-components/{p-cfbe2f86.entry.js → p-2dd67762.entry.js} +1 -1
- package/dist/mint-components/{p-991c9787.js → p-2ee2ebba.js} +2 -2
- package/dist/mint-components/{p-d3d281ff.entry.js → p-3223ba7b.entry.js} +1 -1
- package/dist/mint-components/{p-1c710e16.entry.js → p-32d1d162.entry.js} +1 -1
- package/dist/mint-components/{p-f52c3aec.system.entry.js → p-35d84041.system.entry.js} +1 -1
- package/dist/mint-components/{p-0f028514.system.js → p-3d4656bb.system.js} +1 -1
- package/dist/mint-components/{p-1c6e4a5f.entry.js → p-3ec16698.entry.js} +2 -2
- package/dist/mint-components/{p-59c141a2.system.js → p-3ed71bef.system.js} +1 -1
- package/dist/mint-components/{p-aa933e70.entry.js → p-3f385f47.entry.js} +9 -9
- package/dist/mint-components/{p-8077e9c6.js → p-41a11a7f.js} +1 -1
- package/dist/mint-components/{p-43a990b6.system.js → p-44787d6e.system.js} +1 -1
- package/dist/mint-components/{p-67846dce.system.entry.js → p-4502ed11.system.entry.js} +1 -1
- package/dist/mint-components/{p-e41cb11f.js → p-4d233cd4.js} +1 -1
- package/dist/mint-components/{p-f44d88fa.system.js → p-4df8f1d2.system.js} +1 -1
- package/dist/mint-components/{p-03a647c2.system.js → p-4e48267b.system.js} +1 -1
- package/dist/mint-components/{p-daba8cd2.system.entry.js → p-4ea58025.system.entry.js} +1 -1
- package/dist/mint-components/{p-798ed3a2.entry.js → p-4edde470.entry.js} +1 -1
- package/dist/mint-components/{p-0806343b.js → p-509e29e6.js} +1 -1
- package/dist/mint-components/p-51f517a2.js +1 -0
- package/dist/mint-components/{p-3cc5474d.entry.js → p-56f14840.entry.js} +1 -1
- package/dist/mint-components/{p-7962ab58.system.entry.js → p-58ef25d3.system.entry.js} +1 -1
- package/dist/mint-components/{p-46ca288c.system.js → p-59fe4ad1.system.js} +1 -1
- package/dist/mint-components/{p-ecefeaa9.system.entry.js → p-5b333fa8.system.entry.js} +1 -1
- package/dist/mint-components/p-5be235f9.entry.js +1 -0
- package/dist/mint-components/{p-14dac608.system.entry.js → p-5cac90e8.system.entry.js} +1 -1
- package/dist/mint-components/p-5f1c4160.system.entry.js +1 -0
- package/dist/mint-components/p-61eab172.js +1 -0
- package/dist/mint-components/{p-9deac406.system.js → p-674a64fe.system.js} +1 -1
- package/dist/mint-components/{p-6e62f207.entry.js → p-6cef104b.entry.js} +1 -1
- package/dist/mint-components/{p-18a7f543.system.entry.js → p-711ba77e.system.entry.js} +1 -1
- package/dist/mint-components/{p-22de9f73.system.entry.js → p-733825fa.system.entry.js} +1 -1
- package/dist/mint-components/p-76b2506e.system.entry.js +1 -0
- package/dist/mint-components/{p-6e7e8af6.system.js → p-770368bc.system.js} +1 -1
- package/dist/mint-components/{p-ff41c804.system.entry.js → p-7731f793.system.entry.js} +1 -1
- package/dist/mint-components/p-79191f88.entry.js +1 -0
- package/dist/mint-components/{p-bb6f6681.system.js → p-7d5e0645.system.js} +1 -1
- package/dist/mint-components/{p-41499327.entry.js → p-7f088154.entry.js} +1 -1
- package/dist/mint-components/{p-e2bb72eb.system.entry.js → p-8679ed9f.system.entry.js} +1 -1
- package/dist/mint-components/{p-96cb9c17.entry.js → p-86990110.entry.js} +1 -1
- package/dist/mint-components/{p-9c3d78e9.js → p-8704937c.js} +1 -1
- package/dist/mint-components/p-8b5b78ca.entry.js +1 -0
- package/dist/mint-components/{p-26306ac4.system.entry.js → p-8e907ac7.system.entry.js} +1 -1
- package/dist/mint-components/p-91669312.entry.js +1 -0
- package/dist/mint-components/p-95771f79.system.js +1 -0
- package/dist/mint-components/{p-acc93caa.system.entry.js → p-9c310991.system.entry.js} +1 -1
- package/dist/mint-components/{p-f7c1ebb1.entry.js → p-9df2fe24.entry.js} +2 -2
- package/dist/mint-components/{p-476182e7.system.entry.js → p-9f0629ba.system.entry.js} +1 -1
- package/dist/mint-components/{p-d68ed4a6.system.entry.js → p-a1dba9a1.system.entry.js} +1 -1
- package/dist/mint-components/{p-523ed056.system.js → p-a51533cb.system.js} +1 -1
- package/dist/mint-components/p-a6a7dcaa.js +1 -0
- package/dist/mint-components/{p-9288cca6.system.entry.js → p-a7c2ced2.system.entry.js} +1 -1
- package/dist/mint-components/{p-00be5090.js → p-a8f7cb95.js} +1 -1
- package/dist/mint-components/{p-1b1d10e5.entry.js → p-a9050eb0.entry.js} +1 -1
- package/dist/mint-components/{p-fae82751.entry.js → p-aad11a68.entry.js} +1 -1
- package/dist/mint-components/{p-8c97bfb1.system.entry.js → p-af062c8f.system.entry.js} +1 -1
- package/dist/mint-components/{p-de2a8fae.system.entry.js → p-afd366ae.system.entry.js} +1 -1
- package/dist/mint-components/{p-1099290c.system.js → p-b370fca8.system.js} +1 -1
- package/dist/mint-components/{p-246a2827.entry.js → p-b4c52c5a.entry.js} +2 -2
- package/dist/mint-components/{p-a474b0ec.system.entry.js → p-b5861974.system.entry.js} +1 -1
- package/dist/mint-components/{p-ec8a9e91.system.entry.js → p-b6fc1227.system.entry.js} +1 -1
- package/dist/mint-components/{p-ea88142c.js → p-bb00db59.js} +1 -1
- package/dist/mint-components/{p-c39f9dc1.system.entry.js → p-be4b748a.system.entry.js} +1 -1
- package/dist/mint-components/{p-18a19cb5.system.js → p-c5577dd7.system.js} +1 -1
- package/dist/mint-components/{p-02f6cda4.js → p-c5d2e4ba.js} +1 -1
- package/dist/mint-components/{p-73decce7.system.js → p-c84659a3.system.js} +1 -1
- package/dist/mint-components/{p-ed161025.js → p-c8610d0c.js} +1 -1
- package/dist/mint-components/p-ce5afa40.entry.js +1 -0
- package/dist/mint-components/{p-3373d84e.js → p-ce621bcc.js} +1 -1
- package/dist/mint-components/{p-82e09b8d.system.entry.js → p-cf690d55.system.entry.js} +1 -1
- package/dist/mint-components/p-d495896f.system.entry.js +1 -0
- package/dist/mint-components/{p-15dee492.js → p-d49e2f7a.js} +1 -1
- package/dist/mint-components/{p-110dddfe.entry.js → p-d8d2de11.entry.js} +1 -1
- package/dist/mint-components/p-dd7ee007.system.js +1 -0
- package/dist/mint-components/p-e3735866.entry.js +11 -0
- package/dist/mint-components/{p-b334bde8.entry.js → p-e5a0c50e.entry.js} +2 -2
- package/dist/mint-components/{p-ce746af8.system.js → p-e8dde8f4.system.js} +1 -1
- package/dist/mint-components/{p-1df19ea2.js → p-eaada4da.js} +1 -1
- package/dist/mint-components/{p-53ff8bd0.system.entry.js → p-eba44835.system.entry.js} +1 -1
- package/dist/mint-components/{p-48b7d703.entry.js → p-ec41d6a4.entry.js} +6 -6
- package/dist/mint-components/{p-bf834367.system.js → p-ed095674.system.js} +1 -1
- package/dist/mint-components/p-ed17e637.system.js +1 -0
- package/dist/mint-components/{p-fb2c0ce4.system.entry.js → p-fb20eb5e.system.entry.js} +1 -1
- package/dist/mint-components/{p-855ae1b5.js → p-fb93c962.js} +1 -1
- package/dist/mint-components/p-fdbd9aa7.entry.js +1 -0
- package/dist/types/components/sqm-referral-card/ReferralCard.stories.d.ts +0 -1
- package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.d.ts +2 -0
- package/dist/types/components/sqm-share-link/useShareLink.d.ts +0 -1
- package/dist/types/components/views/copy-text-view.d.ts +0 -2
- package/dist/types/components.d.ts +0 -170
- 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/cjs/copy-text-view-ec6055a6.js +0 -198
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +0 -321
- package/dist/collection/components/sqm-pagination/Pagination.stories.js +0 -12
- package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +0 -30
- package/dist/collection/components/sqm-pagination/sqm-pagination.js +0 -86
- package/dist/collection/components/sqm-pagination/usePagination.js +0 -8
- package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +0 -60
- package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +0 -315
- package/dist/collection/components/sqm-referral-code/useReferralCode.js +0 -55
- package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +0 -35
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +0 -59
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +0 -99
- package/dist/collection/components/sqm-referral-codes/useReferralCodes.js +0 -99
- package/dist/esm/copy-text-view-730ad677.js +0 -192
- package/dist/esm/sqm-pagination_3.entry.js +0 -315
- package/dist/esm-es5/ShadowViewAddon-69360ca6.js +0 -1
- package/dist/esm-es5/copy-text-view-730ad677.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-14114804.js +0 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-53c71782.js +0 -1
- package/dist/mint-components/p-01434e4a.entry.js +0 -1
- package/dist/mint-components/p-0fcec6ab.system.js +0 -1
- package/dist/mint-components/p-1ce4fa30.system.entry.js +0 -1
- package/dist/mint-components/p-2d98dd8b.js +0 -29
- package/dist/mint-components/p-2e16db11.entry.js +0 -1
- package/dist/mint-components/p-3d90aa82.entry.js +0 -13
- package/dist/mint-components/p-494e407e.entry.js +0 -1
- package/dist/mint-components/p-5b7e2d53.entry.js +0 -1
- package/dist/mint-components/p-5c845bc2.system.entry.js +0 -1
- package/dist/mint-components/p-5d1791f2.system.entry.js +0 -1
- package/dist/mint-components/p-5d37482d.entry.js +0 -1
- package/dist/mint-components/p-5fc8d87c.system.js +0 -1
- package/dist/mint-components/p-6790974f.system.entry.js +0 -1
- package/dist/mint-components/p-6b0e6a6c.js +0 -1
- package/dist/mint-components/p-89a760ea.js +0 -1
- package/dist/mint-components/p-b4eb9c46.entry.js +0 -11
- package/dist/mint-components/p-b5176703.entry.js +0 -1
- package/dist/mint-components/p-bd4e9c2b.js +0 -1
- package/dist/mint-components/p-c02ffc85.system.entry.js +0 -1
- package/dist/mint-components/p-c7ce2c1e.system.js +0 -1
- package/dist/mint-components/p-ca17d998.entry.js +0 -1
- package/dist/mint-components/p-d666b326.js +0 -1
- package/dist/mint-components/p-dc41ff27.entry.js +0 -1
- package/dist/mint-components/p-e78d511b.system.js +0 -1
- package/dist/mint-components/p-f1ec1180.entry.js +0 -1
- package/dist/types/components/sqm-pagination/Pagination.stories.d.ts +0 -5
- package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +0 -7
- package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +0 -17
- package/dist/types/components/sqm-pagination/usePagination.d.ts +0 -15
- package/dist/types/components/sqm-referral-code/ReferralCode.stories.d.ts +0 -18
- package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +0 -70
- package/dist/types/components/sqm-referral-code/useReferralCode.d.ts +0 -9
- package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +0 -9
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +0 -10
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +0 -21
- package/dist/types/components/sqm-referral-codes/useReferralCodes.d.ts +0 -47
- package/dist/cjs/{GenericTableView-a3f48e15.js → GenericTableView-80d7642e.js} +1 -1
- package/dist/cjs/{email-registration-view-4c5d9379.js → email-registration-view-248652bb.js} +1 -1
- package/dist/cjs/{sqm-close-button-view-217239b7.js → sqm-close-button-view-fd6e8f60.js} +1 -1
- package/dist/cjs/{sqm-navigation-sidebar-item-view-4e90b6f5.js → sqm-navigation-sidebar-item-view-a125ec5f.js} +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-bff9783d.js → sqm-portal-email-verification-view-292b5bf4.js} +1 -1
- package/dist/cjs/{sqm-portal-forgot-password-view-3cd69fe7.js → sqm-portal-forgot-password-view-969c49ed.js} +1 -1
- package/dist/cjs/{sqm-portal-reset-password-view-34771d2c.js → sqm-portal-reset-password-view-96f329ed.js} +1 -1
- package/dist/cjs/{sqm-portal-verify-email-view-c8f91506.js → sqm-portal-verify-email-view-7ffcc0d4.js} +1 -1
- package/dist/esm/{GenericTableView-bf154727.js → GenericTableView-d59d8ab4.js} +1 -1
- package/dist/esm/{email-registration-view-12793040.js → email-registration-view-a89a88bf.js} +1 -1
- package/dist/esm/{sqm-close-button-view-b24c708b.js → sqm-close-button-view-dc65b4e3.js} +1 -1
- package/dist/esm/{sqm-portal-forgot-password-view-95cd454f.js → sqm-portal-forgot-password-view-c2ed8fed.js} +1 -1
- package/dist/esm/{sqm-portal-reset-password-view-f1454d43.js → sqm-portal-reset-password-view-79a85e02.js} +1 -1
- package/dist/esm/{sqm-portal-verify-email-view-3739f523.js → sqm-portal-verify-email-view-d7ea2c56.js} +1 -1
|
@@ -6,30 +6,29 @@ const index = require('./index-b0129cd6.js');
|
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
7
|
require('./global-02e50f09.js');
|
|
8
8
|
const index_module = require('./index.module-df530553.js');
|
|
9
|
-
require('./utils-6847bc06.js');
|
|
10
|
-
const JSS = require('./JSS-8503a151.js');
|
|
11
|
-
const copyTextView = require('./copy-text-view-ec6055a6.js');
|
|
12
9
|
require('./cjs-1066ec21.js');
|
|
13
10
|
require('./mixins-fe9d4112.js');
|
|
14
|
-
const
|
|
11
|
+
const JSS = require('./JSS-8503a151.js');
|
|
12
|
+
const GenericTableView = require('./GenericTableView-80d7642e.js');
|
|
15
13
|
require('./useChildElements-e0d44916.js');
|
|
16
14
|
const luxon = require('./luxon-05098e19.js');
|
|
15
|
+
require('./utils-6847bc06.js');
|
|
17
16
|
require('./sqm-text-span-view-e1cd9bd3.js');
|
|
18
17
|
const sqmAssetCardView = require('./sqm-asset-card-view-a0e33f21.js');
|
|
19
|
-
const sqmCloseButtonView = require('./sqm-close-button-view-
|
|
18
|
+
const sqmCloseButtonView = require('./sqm-close-button-view-fd6e8f60.js');
|
|
20
19
|
require('./index-8c6255f5.js');
|
|
21
|
-
const emailRegistrationView = require('./email-registration-view-
|
|
20
|
+
const emailRegistrationView = require('./email-registration-view-248652bb.js');
|
|
22
21
|
const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-5a3d4a88.js');
|
|
23
22
|
const sqmLogoutCurrentUserView = require('./sqm-logout-current-user-view-c9f18d96.js');
|
|
24
23
|
const sqmNavigationSidebarView = require('./sqm-navigation-sidebar-view-921704fb.js');
|
|
25
|
-
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-
|
|
26
|
-
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-
|
|
27
|
-
const sqmPortalForgotPasswordView = require('./sqm-portal-forgot-password-view-
|
|
24
|
+
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-a125ec5f.js');
|
|
25
|
+
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-292b5bf4.js');
|
|
26
|
+
const sqmPortalForgotPasswordView = require('./sqm-portal-forgot-password-view-969c49ed.js');
|
|
28
27
|
const sqmPortalProfileView = require('./sqm-portal-profile-view-fde54e35.js');
|
|
29
28
|
require('./utilities-cec9dd36.js');
|
|
30
|
-
const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-
|
|
31
|
-
const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-
|
|
32
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
29
|
+
const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-96f329ed.js');
|
|
30
|
+
const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-7ffcc0d4.js');
|
|
31
|
+
const ShadowViewAddon = require('./ShadowViewAddon-c3e91cee.js');
|
|
33
32
|
const sqmPortalContainerView = require('./sqm-portal-container-view-990a85a3.js');
|
|
34
33
|
const sqmInvoiceTableView = require('./sqm-invoice-table-view-e3b03a00.js');
|
|
35
34
|
|
|
@@ -1629,19 +1628,6 @@ const EmptyState = /*#__PURE__*/Object.freeze({
|
|
|
1629
1628
|
SlottedIntoComponent: SlottedIntoComponent
|
|
1630
1629
|
});
|
|
1631
1630
|
|
|
1632
|
-
const Pagination_stories = {
|
|
1633
|
-
title: "Components/Link Button",
|
|
1634
|
-
};
|
|
1635
|
-
const Default = () => {
|
|
1636
|
-
return index.h("sqm-pagination", null);
|
|
1637
|
-
};
|
|
1638
|
-
|
|
1639
|
-
const Pagination = /*#__PURE__*/Object.freeze({
|
|
1640
|
-
__proto__: null,
|
|
1641
|
-
'default': Pagination_stories,
|
|
1642
|
-
Default: Default
|
|
1643
|
-
});
|
|
1644
|
-
|
|
1645
1631
|
const scenario$2 = "@author:johan\n@owner:johan\nFeature: Share Link\n\n The share link component is a box that allows users to see and copy their share link for a given program\n\n Background: Environment\n Given there is a valid program ID in the environment\n And there is a valid user ID and account ID in the environment\n\n @motivating\n Scenario: A Users sharelink can be copied to their clipboard\n Given tooltipText is \"hello tooltip\"\n When the component renders\n Then there is a textbox with the user's share link\n When the clipboard icon is clicked\n Then the link is copied to clipboard\n And a tooltip appears for ~1 second\n\n @minutia\n Scenario: Tooltip lifespan defaults to 2000\n Given the tooltip's lifespan is set to 2000\n And there is tooltip text\n When the component renders\n And the clipboard icon is clicked\n Then a tooltip appears for ~2 seconds\n\n @minutia\n Scenario: Demo\n Given isDemo() returns true\n Then the share link is \"https://www.example.com/sharelink/abc\"\n And the component won't be interactive\n And the tooltip is hidden\n\n @minutia\n Scenario: Program ID can be sourced from prop\n Given the programId prop is set to \"program-a\"\n And window.widgetIdent.programId is set to \"program-b\"\n When the component renders\n Then the share link is for \"program-a\"\n\n @minutia\n Scenario: Program ID can be sourced from window\n Given the programId prop is unset\n And window.widgetIdent.programId is set to \"program-b\"\n When the component renders\n Then the share link is for \"program-b\"\n\n @minutia\n Scenario: An analytic event is fired when a user copies their sharelink\n Given a user viewing the share link component\n And the component is rendered for \"program-a\"\n When they click to copy their link\n Then an \"USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT\" analytic event is fired\n And it is for \"program-a\"\n And it has share medium \"DIRECT\"\n\n\n @ui\n Scenario Outline: user can edit the alignment of the share link text\n Given a user is editing the share link component\n Then they see \"Align text\" props\n And the default value is \"left\"\n When they change the option to <option>\n Then they see the text in <position>\n Examples:\n | option | position |\n | left | left |\n | center | center |\n | right | right |\n\n @ui\n Scenario Outline: The position of the copy button can be changed\n Given a user is editing the share link component\n Then they see \"Style\" props\n And the default value is \"icon\"\n When they change the option to <option>\n Then they see the copy button in <position>\n Examples:\n | option | position |\n | button outside | outside the input, on the right |\n | button below | outside the input, below |\n | icon | inside the input as an icon |\n";
|
|
1646
1632
|
|
|
1647
1633
|
const ShareLink_stories = {
|
|
@@ -1650,13 +1636,13 @@ const ShareLink_stories = {
|
|
|
1650
1636
|
scenario: scenario$2,
|
|
1651
1637
|
},
|
|
1652
1638
|
};
|
|
1653
|
-
const Default
|
|
1639
|
+
const Default = () => {
|
|
1654
1640
|
const props = {
|
|
1655
1641
|
copyString: "https://noah.example.com",
|
|
1656
1642
|
open: false,
|
|
1657
1643
|
tooltiptext: "Copied!",
|
|
1658
1644
|
};
|
|
1659
|
-
return index.h(
|
|
1645
|
+
return index.h(ShadowViewAddon.CopyTextView, Object.assign({}, props));
|
|
1660
1646
|
};
|
|
1661
1647
|
const Tooltip = () => {
|
|
1662
1648
|
const props = {
|
|
@@ -1664,7 +1650,7 @@ const Tooltip = () => {
|
|
|
1664
1650
|
tooltiptext: "Some text for the tooltip",
|
|
1665
1651
|
open: true,
|
|
1666
1652
|
};
|
|
1667
|
-
return index.h(
|
|
1653
|
+
return index.h(ShadowViewAddon.CopyTextView, Object.assign({}, props));
|
|
1668
1654
|
};
|
|
1669
1655
|
const Disabled = () => {
|
|
1670
1656
|
const props = {
|
|
@@ -1673,7 +1659,7 @@ const Disabled = () => {
|
|
|
1673
1659
|
open: true,
|
|
1674
1660
|
tooltiptext: "Copied!",
|
|
1675
1661
|
};
|
|
1676
|
-
return index.h(
|
|
1662
|
+
return index.h(ShadowViewAddon.CopyTextView, Object.assign({}, props));
|
|
1677
1663
|
};
|
|
1678
1664
|
const Error$1 = () => {
|
|
1679
1665
|
const props = {
|
|
@@ -1683,7 +1669,7 @@ const Error$1 = () => {
|
|
|
1683
1669
|
tooltiptext: "Copied!",
|
|
1684
1670
|
error: true,
|
|
1685
1671
|
};
|
|
1686
|
-
return index.h(
|
|
1672
|
+
return index.h(ShadowViewAddon.CopyTextView, Object.assign({}, props));
|
|
1687
1673
|
};
|
|
1688
1674
|
const TextAlignCenter = () => {
|
|
1689
1675
|
return index.h("sqm-share-link", { textAlign: "center" });
|
|
@@ -1692,7 +1678,7 @@ const TextAlignRight = () => {
|
|
|
1692
1678
|
return index.h("sqm-share-link", { textAlign: "right" });
|
|
1693
1679
|
};
|
|
1694
1680
|
const CopyButton = () => {
|
|
1695
|
-
return (index.h(
|
|
1681
|
+
return (index.h(ShadowViewAddon.CopyTextView, Object.assign({}, {
|
|
1696
1682
|
copyString: "https://noah.example.com",
|
|
1697
1683
|
open: false,
|
|
1698
1684
|
tooltiptext: "Copied!",
|
|
@@ -1700,7 +1686,7 @@ const CopyButton = () => {
|
|
|
1700
1686
|
})));
|
|
1701
1687
|
};
|
|
1702
1688
|
const CopyButtonBelow = () => {
|
|
1703
|
-
return (index.h(
|
|
1689
|
+
return (index.h(ShadowViewAddon.CopyTextView, Object.assign({}, {
|
|
1704
1690
|
copyString: "https://noah.example.com",
|
|
1705
1691
|
open: false,
|
|
1706
1692
|
tooltiptext: "Copied!",
|
|
@@ -1714,7 +1700,7 @@ const FullStack = () => {
|
|
|
1714
1700
|
const ShareLink = /*#__PURE__*/Object.freeze({
|
|
1715
1701
|
__proto__: null,
|
|
1716
1702
|
'default': ShareLink_stories,
|
|
1717
|
-
Default: Default
|
|
1703
|
+
Default: Default,
|
|
1718
1704
|
Tooltip: Tooltip,
|
|
1719
1705
|
Disabled: Disabled,
|
|
1720
1706
|
Error: Error$1,
|
|
@@ -1733,7 +1719,7 @@ const BigStat_stories = {
|
|
|
1733
1719
|
scenario: scenario$3,
|
|
1734
1720
|
},
|
|
1735
1721
|
};
|
|
1736
|
-
const Default$
|
|
1722
|
+
const Default$1 = () => {
|
|
1737
1723
|
const props = { value: 990000, statvalue: "9.900,00", loading: false };
|
|
1738
1724
|
return index.h(ShadowViewAddon.BigStatView, Object.assign({}, props), "Big stat");
|
|
1739
1725
|
};
|
|
@@ -1816,7 +1802,7 @@ const MultipleStats = () => {
|
|
|
1816
1802
|
const BigStat = /*#__PURE__*/Object.freeze({
|
|
1817
1803
|
__proto__: null,
|
|
1818
1804
|
'default': BigStat_stories,
|
|
1819
|
-
Default: Default$
|
|
1805
|
+
Default: Default$1,
|
|
1820
1806
|
LeftAlign: LeftAlign,
|
|
1821
1807
|
RightAlign: RightAlign,
|
|
1822
1808
|
FlexReverse: FlexReverse,
|
|
@@ -2905,7 +2891,7 @@ const BareBonesView = createHookStory(() => {
|
|
|
2905
2891
|
});
|
|
2906
2892
|
const RegularView = createHookStory(() => {
|
|
2907
2893
|
setupGraphQL$1();
|
|
2908
|
-
return (index.h(
|
|
2894
|
+
return (index.h(ShadowViewAddon.CopyTextView, Object.assign({}, ShadowViewAddon.useShareLink({
|
|
2909
2895
|
programId: "klip-referral-program",
|
|
2910
2896
|
tooltiptext: "Copied to clipboard",
|
|
2911
2897
|
tooltiplifespan: 1000,
|
|
@@ -2913,7 +2899,7 @@ const RegularView = createHookStory(() => {
|
|
|
2913
2899
|
});
|
|
2914
2900
|
const FastTooltip = createHookStory(() => {
|
|
2915
2901
|
setupGraphQL$1();
|
|
2916
|
-
return (index.h(
|
|
2902
|
+
return (index.h(ShadowViewAddon.CopyTextView, Object.assign({}, ShadowViewAddon.useShareLink({
|
|
2917
2903
|
programId: "klip-referral-program",
|
|
2918
2904
|
tooltiptext: "⠀⠀⠀⠀⠀⠀⠀⠀⠀HELLO THERE!!!\n⠀⠀⠀⡯⡯⡾⠝⠘⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢊⠘⡮⣣⠪⠢⡑⡌\n⠀⠀⠀⠟⠝⠈⠀⠀⠀⠡⠀⠠⢈⠠⢐⢠⢂⢔⣐⢄⡂⢔⠀⡁⢉⠸⢨⢑⠕⡌\n⠀⠀⡀⠁⠀⠀⠀⡀⢂⠡⠈⡔⣕⢮⣳⢯⣿⣻⣟⣯⣯⢷⣫⣆⡂⠀⠀⢐⠑⡌\n⢀⠠⠐⠈⠀⢀⢂⠢⡂⠕⡁⣝⢮⣳⢽⡽⣾⣻⣿⣯⡯⣟⣞⢾⢜⢆⠀⡀⠀⠪\n⣬⠂⠀⠀⢀⢂⢪⠨⢂⠥⣺⡪⣗⢗⣽⢽⡯⣿⣽⣷⢿⡽⡾⡽⣝⢎⠀⠀⠀⢡\n⣿⠀⠀⠀⢂⠢⢂⢥⢱⡹⣪⢞⡵⣻⡪⡯⡯⣟⡾⣿⣻⡽⣯⡻⣪⠧⠑⠀⠁⢐\n⣿⠀⠀⠀⠢⢑⠠⠑⠕⡝⡎⡗⡝⡎⣞⢽⡹⣕⢯⢻⠹⡹⢚⠝⡷⡽⡨⠀⠀⢔\n⣿⡯⠀⢈⠈⢄⠂⠂⠐⠀⠌⠠⢑⠱⡱⡱⡑⢔⠁⠀⡀⠐⠐⠐⡡⡹⣪⠀⠀⢘\n⣿⣽⠀⡀⡊⠀⠐⠨⠈⡁⠂⢈⠠⡱⡽⣷⡑⠁⠠⠑⠀⢉⢇⣤⢘⣪⢽⠀⢌⢎\n⣿⢾⠀⢌⠌⠀⡁⠢⠂⠐⡀⠀⢀⢳⢽⣽⡺⣨⢄⣑⢉⢃⢭⡲⣕⡭⣹⠠⢐⢗\n⣿⡗⠀⠢⠡⡱⡸⣔⢵⢱⢸⠈⠀⡪⣳⣳⢹⢜⡵⣱⢱⡱⣳⡹⣵⣻⢔⢅⢬⡷\n⣷⡇⡂⠡⡑⢕⢕⠕⡑⠡⢂⢊⢐⢕⡝⡮⡧⡳⣝⢴⡐⣁⠃⡫⡒⣕⢏⡮⣷⡟\n⣷⣻⣅⠑⢌⠢⠁⢐⠠⠑⡐⠐⠌⡪⠮⡫⠪⡪⡪⣺⢸⠰⠡⠠⠐⢱⠨⡪⡪⡰\n⣯⢷⣟⣇⡂⡂⡌⡀⠀⠁⡂⠅⠂⠀⡑⡄⢇⠇⢝⡨⡠⡁⢐⠠⢀⢪⡐⡜⡪⡊\n⣿⢽⡾⢹⡄⠕⡅⢇⠂⠑⣴⡬⣬⣬⣆⢮⣦⣷⣵⣷⡗⢃⢮⠱⡸⢰⢱⢸⢨⢌\n⣯⢯⣟⠸⣳⡅⠜⠔⡌⡐⠈⠻⠟⣿⢿⣿⣿⠿⡻⣃⠢⣱⡳⡱⡩⢢⠣⡃⠢⠁\n⡯⣟⣞⡇⡿⣽⡪⡘⡰⠨⢐⢀⠢⢢⢄⢤⣰⠼⡾⢕⢕⡵⣝⠎⢌⢪⠪⡘⡌⠀\n⡯⣳⠯⠚⢊⠡⡂⢂⠨⠊⠔⡑⠬⡸⣘⢬⢪⣪⡺⡼⣕⢯⢞⢕⢝⠎⢻⢼⣀⠀\n⠁⡂⠔⡁⡢⠣⢀⠢⠀⠅⠱⡐⡱⡘⡔⡕⡕⣲⡹⣎⡮⡏⡑⢜⢼⡱⢩⣗⣯⣟\n⢀⢂⢑⠀⡂⡃⠅⠊⢄⢑⠠⠑⢕⢕⢝⢮⢺⢕⢟⢮⢊⢢⢱⢄⠃⣇⣞⢞⣞⢾\n⢀⠢⡑⡀⢂⢊⠠⠁⡂⡐⠀⠅⡈⠪⠪⠪⠣⠫⠑⡁⢔⠕⣜⣜⢦⡰⡎⡯⡾⡽",
|
|
2919
2905
|
tooltiplifespan: 500,
|
|
@@ -3915,14 +3901,14 @@ const Dashboard = () => {
|
|
|
3915
3901
|
padding: "none",
|
|
3916
3902
|
label: (index.h("sqm-text", null,
|
|
3917
3903
|
index.h("h3", null, "Share your referral link"))),
|
|
3918
|
-
content: index.h(
|
|
3904
|
+
content: index.h(ShadowViewAddon.CopyTextView, Object.assign({}, sharelinkProps)),
|
|
3919
3905
|
})),
|
|
3920
3906
|
index.h(sqmPortalContainerView.PortalSectionView, Object.assign({}, {
|
|
3921
3907
|
labelMargin: "small",
|
|
3922
3908
|
padding: "none",
|
|
3923
3909
|
label: (index.h("sqm-text", null,
|
|
3924
3910
|
index.h("h3", null, "Share your referral code"))),
|
|
3925
|
-
content: index.h(
|
|
3911
|
+
content: index.h(ShadowViewAddon.CopyTextView, Object.assign({}, sharecodeProps)),
|
|
3926
3912
|
})),
|
|
3927
3913
|
index.h(sqmPortalContainerView.PortalSectionView, Object.assign({}, {
|
|
3928
3914
|
labelMargin: "small",
|
|
@@ -7290,14 +7276,14 @@ const loadingProps = {
|
|
|
7290
7276
|
},
|
|
7291
7277
|
content: { pageLabel: "Sign in to your account" },
|
|
7292
7278
|
};
|
|
7293
|
-
const Default$
|
|
7279
|
+
const Default$2 = () => index.h(ShadowViewAddon.PortalLoginView, Object.assign({}, defaultProps$2));
|
|
7294
7280
|
const LoginWithError = () => index.h(ShadowViewAddon.PortalLoginView, Object.assign({}, errorProps));
|
|
7295
7281
|
const LoginLoading = () => index.h(ShadowViewAddon.PortalLoginView, Object.assign({}, loadingProps));
|
|
7296
7282
|
|
|
7297
7283
|
const PortalLogin = /*#__PURE__*/Object.freeze({
|
|
7298
7284
|
__proto__: null,
|
|
7299
7285
|
'default': PortalLogin_stories,
|
|
7300
|
-
Default: Default$
|
|
7286
|
+
Default: Default$2,
|
|
7301
7287
|
LoginWithError: LoginWithError,
|
|
7302
7288
|
LoginLoading: LoginLoading
|
|
7303
7289
|
});
|
|
@@ -7400,7 +7386,7 @@ const slottedProps = {
|
|
|
7400
7386
|
index.h("sl-input", { exportparts: "label: input-label, base: input-base", label: "Slotted Input 2", required: true }))),
|
|
7401
7387
|
},
|
|
7402
7388
|
};
|
|
7403
|
-
const Default$
|
|
7389
|
+
const Default$3 = () => index.h(ShadowViewAddon.PortalRegisterView, Object.assign({}, defaultProps$3));
|
|
7404
7390
|
const RegisterWithError = () => index.h(ShadowViewAddon.PortalRegisterView, Object.assign({}, errorProps$1));
|
|
7405
7391
|
const RegisterLoading = () => index.h(ShadowViewAddon.PortalRegisterView, Object.assign({}, loadingProps$1));
|
|
7406
7392
|
const FieldsHidden = () => {
|
|
@@ -7427,7 +7413,7 @@ const TermsAndConditions = () => (index.h(ShadowViewAddon.PortalRegisterView, Ob
|
|
|
7427
7413
|
const PortalRegister = /*#__PURE__*/Object.freeze({
|
|
7428
7414
|
__proto__: null,
|
|
7429
7415
|
'default': PortalRegister_stories,
|
|
7430
|
-
Default: Default$
|
|
7416
|
+
Default: Default$3,
|
|
7431
7417
|
RegisterWithError: RegisterWithError,
|
|
7432
7418
|
RegisterLoading: RegisterLoading,
|
|
7433
7419
|
FieldsHidden: FieldsHidden,
|
|
@@ -7503,7 +7489,7 @@ const successProps = {
|
|
|
7503
7489
|
messageSlot: "Enter your email below to receive a password reset link.",
|
|
7504
7490
|
},
|
|
7505
7491
|
};
|
|
7506
|
-
const Default$
|
|
7492
|
+
const Default$4 = () => index.h(sqmPortalForgotPasswordView.PortalForgotPasswordView, Object.assign({}, defaultProps$4));
|
|
7507
7493
|
const ForgotPasswordWithError = () => (index.h(sqmPortalForgotPasswordView.PortalForgotPasswordView, Object.assign({}, errorProps$2)));
|
|
7508
7494
|
const ForgotPasswordLoading = () => (index.h(sqmPortalForgotPasswordView.PortalForgotPasswordView, Object.assign({}, loadingProps$2)));
|
|
7509
7495
|
const ForgotPasswordSuccess = () => (index.h(sqmPortalForgotPasswordView.PortalForgotPasswordView, Object.assign({}, successProps)));
|
|
@@ -7511,7 +7497,7 @@ const ForgotPasswordSuccess = () => (index.h(sqmPortalForgotPasswordView.PortalF
|
|
|
7511
7497
|
const PortalForgotPassword = /*#__PURE__*/Object.freeze({
|
|
7512
7498
|
__proto__: null,
|
|
7513
7499
|
'default': PortalForgotPassword_stories,
|
|
7514
|
-
Default: Default$
|
|
7500
|
+
Default: Default$4,
|
|
7515
7501
|
ForgotPasswordWithError: ForgotPasswordWithError,
|
|
7516
7502
|
ForgotPasswordLoading: ForgotPasswordLoading,
|
|
7517
7503
|
ForgotPasswordSuccess: ForgotPasswordSuccess
|
|
@@ -7582,7 +7568,7 @@ const loadingVerificationProps = {
|
|
|
7582
7568
|
callbacks: defaultCallbacks,
|
|
7583
7569
|
content: defaultContent,
|
|
7584
7570
|
};
|
|
7585
|
-
const Default$
|
|
7571
|
+
const Default$5 = () => index.h(sqmPortalEmailVerificationView.PortalEmailVerificationView, Object.assign({}, defaultProps$5));
|
|
7586
7572
|
const EmailVerificationWithError = () => (index.h(sqmPortalEmailVerificationView.PortalEmailVerificationView, Object.assign({}, errorProps$3)));
|
|
7587
7573
|
const EmailVerificationLoading = () => (index.h(sqmPortalEmailVerificationView.PortalEmailVerificationView, Object.assign({}, loadingProps$3)));
|
|
7588
7574
|
const EmailVerificationCheckingVerification = () => (index.h(sqmPortalEmailVerificationView.PortalEmailVerificationView, Object.assign({}, loadingVerificationProps)));
|
|
@@ -7591,7 +7577,7 @@ const EmailVerificationSuccess = () => (index.h(sqmPortalEmailVerificationView.P
|
|
|
7591
7577
|
const PortalEmailVerification = /*#__PURE__*/Object.freeze({
|
|
7592
7578
|
__proto__: null,
|
|
7593
7579
|
'default': PortalEmailVerification_stories,
|
|
7594
|
-
Default: Default$
|
|
7580
|
+
Default: Default$5,
|
|
7595
7581
|
EmailVerificationWithError: EmailVerificationWithError,
|
|
7596
7582
|
EmailVerificationLoading: EmailVerificationLoading,
|
|
7597
7583
|
EmailVerificationCheckingVerification: EmailVerificationCheckingVerification,
|
|
@@ -7744,7 +7730,7 @@ const validatingCodeProps = {
|
|
|
7744
7730
|
failed: () => console.log("failed"),
|
|
7745
7731
|
},
|
|
7746
7732
|
};
|
|
7747
|
-
const Default$
|
|
7733
|
+
const Default$6 = () => index.h(sqmPortalResetPasswordView.PortalResetPasswordView, Object.assign({}, defaultProps$6));
|
|
7748
7734
|
const DefaultWithoutConfirmField = () => (index.h(sqmPortalResetPasswordView.PortalResetPasswordView, Object.assign({}, defaultPropsNoConfirm)));
|
|
7749
7735
|
const ResetPasswordWithError = () => (index.h(sqmPortalResetPasswordView.PortalResetPasswordView, Object.assign({}, errorProps$4)));
|
|
7750
7736
|
const ResetPasswordLoading = () => (index.h(sqmPortalResetPasswordView.PortalResetPasswordView, Object.assign({}, loadingProps$4)));
|
|
@@ -7754,7 +7740,7 @@ const CodeValidating = () => (index.h(sqmPortalResetPasswordView.PortalResetPass
|
|
|
7754
7740
|
const PortalResetPassword = /*#__PURE__*/Object.freeze({
|
|
7755
7741
|
__proto__: null,
|
|
7756
7742
|
'default': PortalResetPassword_stories,
|
|
7757
|
-
Default: Default$
|
|
7743
|
+
Default: Default$6,
|
|
7758
7744
|
DefaultWithoutConfirmField: DefaultWithoutConfirmField,
|
|
7759
7745
|
ResetPasswordWithError: ResetPasswordWithError,
|
|
7760
7746
|
ResetPasswordLoading: ResetPasswordLoading,
|
|
@@ -7817,7 +7803,7 @@ const PortalVerifyEmail = /*#__PURE__*/Object.freeze({
|
|
|
7817
7803
|
const AssetCard_stories = {
|
|
7818
7804
|
title: "Components/Asset Card",
|
|
7819
7805
|
};
|
|
7820
|
-
const Default$
|
|
7806
|
+
const Default$7 = () => {
|
|
7821
7807
|
const props = {
|
|
7822
7808
|
text: { titleText: "Marketing Banner" },
|
|
7823
7809
|
imgUrl: "https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png",
|
|
@@ -7845,7 +7831,7 @@ const CardWithNoImg = () => {
|
|
|
7845
7831
|
const AssetCard = /*#__PURE__*/Object.freeze({
|
|
7846
7832
|
__proto__: null,
|
|
7847
7833
|
'default': AssetCard_stories,
|
|
7848
|
-
Default: Default$
|
|
7834
|
+
Default: Default$7,
|
|
7849
7835
|
CardWithLongText: CardWithLongText,
|
|
7850
7836
|
CardWithNoImg: CardWithNoImg
|
|
7851
7837
|
});
|
|
@@ -8066,7 +8052,7 @@ const successProps$3 = {
|
|
|
8066
8052
|
submit: (e) => console.log("Submit", e),
|
|
8067
8053
|
},
|
|
8068
8054
|
};
|
|
8069
|
-
const Default$
|
|
8055
|
+
const Default$8 = () => index.h(ShadowViewAddon.PortalChangePasswordView, Object.assign({}, defaultProps$7));
|
|
8070
8056
|
const Open = () => index.h(ShadowViewAddon.PortalChangePasswordView, Object.assign({}, openProps));
|
|
8071
8057
|
const Error$2 = () => index.h(ShadowViewAddon.PortalChangePasswordView, Object.assign({}, errorProps$6));
|
|
8072
8058
|
const PaswordError = () => (index.h(ShadowViewAddon.PortalChangePasswordView, Object.assign({}, passwordErrorProps)));
|
|
@@ -8076,7 +8062,7 @@ const Success = () => index.h(ShadowViewAddon.PortalChangePasswordView, Object.a
|
|
|
8076
8062
|
const ChangePassword = /*#__PURE__*/Object.freeze({
|
|
8077
8063
|
__proto__: null,
|
|
8078
8064
|
'default': ChangePassword_stories,
|
|
8079
|
-
Default: Default$
|
|
8065
|
+
Default: Default$8,
|
|
8080
8066
|
Open: Open,
|
|
8081
8067
|
Error: Error$2,
|
|
8082
8068
|
PaswordError: PaswordError,
|
|
@@ -8303,7 +8289,7 @@ const successProps$4 = {
|
|
|
8303
8289
|
onChange: (e) => console.log(e),
|
|
8304
8290
|
},
|
|
8305
8291
|
};
|
|
8306
|
-
const Default$
|
|
8292
|
+
const Default$9 = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, defaultProps$8));
|
|
8307
8293
|
const DefaultNoCountry = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, noCountry));
|
|
8308
8294
|
const Loading$2 = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, loadingProps$6));
|
|
8309
8295
|
const Disabled$1 = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, disabledProps));
|
|
@@ -8313,7 +8299,7 @@ const Success$1 = () => index.h(sqmPortalProfileView.PortalProfileView, Object.a
|
|
|
8313
8299
|
const PortalProfile = /*#__PURE__*/Object.freeze({
|
|
8314
8300
|
__proto__: null,
|
|
8315
8301
|
'default': PortalProfile_stories,
|
|
8316
|
-
Default: Default$
|
|
8302
|
+
Default: Default$9,
|
|
8317
8303
|
DefaultNoCountry: DefaultNoCountry,
|
|
8318
8304
|
Loading: Loading$2,
|
|
8319
8305
|
Disabled: Disabled$1,
|
|
@@ -10273,7 +10259,7 @@ const ProgramMenu = /*#__PURE__*/Object.freeze({
|
|
|
10273
10259
|
const PoweredByImg_stories = {
|
|
10274
10260
|
title: "Powered By",
|
|
10275
10261
|
};
|
|
10276
|
-
const Default$
|
|
10262
|
+
const Default$a = () => {
|
|
10277
10263
|
return index.h(ShadowViewAddon.PoweredByImg, null);
|
|
10278
10264
|
};
|
|
10279
10265
|
const CustomColor = () => {
|
|
@@ -10286,7 +10272,7 @@ const CustomWidthAndHeight = () => {
|
|
|
10286
10272
|
const PoweredByImg = /*#__PURE__*/Object.freeze({
|
|
10287
10273
|
__proto__: null,
|
|
10288
10274
|
'default': PoweredByImg_stories,
|
|
10289
|
-
Default: Default$
|
|
10275
|
+
Default: Default$a,
|
|
10290
10276
|
CustomColor: CustomColor,
|
|
10291
10277
|
CustomWidthAndHeight: CustomWidthAndHeight
|
|
10292
10278
|
});
|
|
@@ -10673,7 +10659,7 @@ const defaultRegisterProps = {
|
|
|
10673
10659
|
invalidEmailErrorMessage: "Must be a valid email address",
|
|
10674
10660
|
},
|
|
10675
10661
|
};
|
|
10676
|
-
const Default$
|
|
10662
|
+
const Default$b = createHookStory(() => (index.h(ShadowViewAddon.CheckboxFieldView, Object.assign({}, defaultProps$a))));
|
|
10677
10663
|
const DefaultChecked = createHookStory(() => (index.h(ShadowViewAddon.CheckboxFieldView, Object.assign({}, defaultProps$a, { states: {
|
|
10678
10664
|
...defaultProps$a.states,
|
|
10679
10665
|
checked: true,
|
|
@@ -10728,7 +10714,7 @@ const TermsAndConditionsLongCustomLabel = createHookStory(() => (index.h(ShadowV
|
|
|
10728
10714
|
const CheckboxField = /*#__PURE__*/Object.freeze({
|
|
10729
10715
|
__proto__: null,
|
|
10730
10716
|
'default': CheckboxField_stories,
|
|
10731
|
-
Default: Default$
|
|
10717
|
+
Default: Default$b,
|
|
10732
10718
|
DefaultChecked: DefaultChecked,
|
|
10733
10719
|
CustomLabel: CustomLabel,
|
|
10734
10720
|
Error: Error$4,
|
|
@@ -10830,7 +10816,7 @@ const defaultProps$b = {
|
|
|
10830
10816
|
],
|
|
10831
10817
|
},
|
|
10832
10818
|
};
|
|
10833
|
-
const Default$
|
|
10819
|
+
const Default$c = createHookStory(() => (index.h(ShadowViewAddon.DropdownFieldView, Object.assign({}, defaultProps$b))));
|
|
10834
10820
|
const CustomLabel$1 = createHookStory(() => (index.h(ShadowViewAddon.DropdownFieldView, Object.assign({}, defaultProps$b, { content: {
|
|
10835
10821
|
...defaultProps$b.content,
|
|
10836
10822
|
dropdownLabel: "Pick your favorite",
|
|
@@ -10858,7 +10844,7 @@ const CustomError$1 = createHookStory(() => (index.h(ShadowViewAddon.DropdownFie
|
|
|
10858
10844
|
const DropdownField = /*#__PURE__*/Object.freeze({
|
|
10859
10845
|
__proto__: null,
|
|
10860
10846
|
'default': DropdownField_stories,
|
|
10861
|
-
Default: Default$
|
|
10847
|
+
Default: Default$c,
|
|
10862
10848
|
CustomLabel: CustomLabel$1,
|
|
10863
10849
|
Error: Error$5,
|
|
10864
10850
|
CustomError: CustomError$1
|
|
@@ -10968,7 +10954,7 @@ const defaultRegisterProps$1 = {
|
|
|
10968
10954
|
invalidEmailErrorMessage: "Must be a valid email address",
|
|
10969
10955
|
},
|
|
10970
10956
|
};
|
|
10971
|
-
const Default$
|
|
10957
|
+
const Default$d = () => index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$c));
|
|
10972
10958
|
const CustomLabel$2 = () => (index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$c, { content: { ...defaultProps$c.content, fieldLabel: "My Label" } })));
|
|
10973
10959
|
const Error$6 = () => (index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$c, { states: {
|
|
10974
10960
|
...defaultProps$c.states,
|
|
@@ -11018,7 +11004,7 @@ const RegistrationFieldCustomLabel = () => (index.h(ShadowViewAddon.PortalRegist
|
|
|
11018
11004
|
const InputField = /*#__PURE__*/Object.freeze({
|
|
11019
11005
|
__proto__: null,
|
|
11020
11006
|
'default': InputField_stories,
|
|
11021
|
-
Default: Default$
|
|
11007
|
+
Default: Default$d,
|
|
11022
11008
|
CustomLabel: CustomLabel$2,
|
|
11023
11009
|
Error: Error$6,
|
|
11024
11010
|
CustomError: CustomError$2,
|
|
@@ -12641,21 +12627,6 @@ const sharebutton = (slot) => {
|
|
|
12641
12627
|
index.h("sqm-share-button", { medium: "facebook" }, "Share on Facebook"),
|
|
12642
12628
|
index.h("sqm-share-button", { medium: "twitter" }, "Post about us on X"))));
|
|
12643
12629
|
};
|
|
12644
|
-
const shareButtonsWithPromoCodes = (slot) => {
|
|
12645
|
-
return (index.h("sqm-portal-container", { gap: "large", slot: slot },
|
|
12646
|
-
index.h("sqm-text", null, "Choose how you want to share:"),
|
|
12647
|
-
index.h("sqm-text", null,
|
|
12648
|
-
index.h("sub", null, "Share with your friends:"),
|
|
12649
|
-
index.h("sqm-share-code", null),
|
|
12650
|
-
index.h("sqm-share-link", null)),
|
|
12651
|
-
index.h("sqm-portal-container", { gap: "x-small" },
|
|
12652
|
-
index.h("sqm-share-button", { medium: "email" }, "Share via email"),
|
|
12653
|
-
index.h("sqm-share-button", { medium: "facebook" }, "Share on Facebook"),
|
|
12654
|
-
index.h("sqm-share-button", { medium: "twitter" }, "Post about us on X"),
|
|
12655
|
-
index.h("sqm-portal-container", { gap: "x-small" },
|
|
12656
|
-
index.h("span", { style: { textAlign: "center", color: "var(--sl-color-gray-500)" } }, "You have copied this code before"),
|
|
12657
|
-
index.h("sqm-pagination", null)))));
|
|
12658
|
-
};
|
|
12659
12630
|
const timeline = (slot, count) => {
|
|
12660
12631
|
return (index.h("sqm-timeline", { slot: slot, icon: "circle" },
|
|
12661
12632
|
count > 0 && (index.h("sqm-timeline-entry", { reward: "75", unit: "points", desc: "Your friends signs up for a free trial" })),
|
|
@@ -12678,11 +12649,6 @@ const TimelineAndShareButtons = () => {
|
|
|
12678
12649
|
timeline("left", 3),
|
|
12679
12650
|
sharebutton("right")));
|
|
12680
12651
|
};
|
|
12681
|
-
const OneTimeUsePromoCodes = () => {
|
|
12682
|
-
return (index.h("sqm-referral-card", null,
|
|
12683
|
-
timeline("left", 4),
|
|
12684
|
-
shareButtonsWithPromoCodes("right")));
|
|
12685
|
-
};
|
|
12686
12652
|
const StartAlignment = () => {
|
|
12687
12653
|
return (index.h("sqm-referral-card", { "vertical-alignment": "start" },
|
|
12688
12654
|
timeline("left", 4),
|
|
@@ -12759,7 +12725,6 @@ const ReferralCard = /*#__PURE__*/Object.freeze({
|
|
|
12759
12725
|
ImageAndShareButtons: ImageAndShareButtons,
|
|
12760
12726
|
LimitWidth: LimitWidth,
|
|
12761
12727
|
TimelineAndShareButtons: TimelineAndShareButtons,
|
|
12762
|
-
OneTimeUsePromoCodes: OneTimeUsePromoCodes,
|
|
12763
12728
|
StartAlignment: StartAlignment,
|
|
12764
12729
|
CenterAlignment: CenterAlignment,
|
|
12765
12730
|
EndAlignment: EndAlignment,
|
|
@@ -13822,7 +13787,7 @@ const CustomTooltipDuration = () => {
|
|
|
13822
13787
|
return (index.h("sqm-share-code", { tooltiplifespan: 5000, tooltiptext: "CUSTOM TOOLTIP TEXT" }));
|
|
13823
13788
|
};
|
|
13824
13789
|
const CopyButton$1 = () => {
|
|
13825
|
-
return (index.h(
|
|
13790
|
+
return (index.h(ShadowViewAddon.CopyTextView, Object.assign({}, {
|
|
13826
13791
|
copyString: "https://noah.example.com",
|
|
13827
13792
|
open: false,
|
|
13828
13793
|
tooltiptext: "Copied!",
|
|
@@ -13830,7 +13795,7 @@ const CopyButton$1 = () => {
|
|
|
13830
13795
|
})));
|
|
13831
13796
|
};
|
|
13832
13797
|
const CopyButtonBelow$1 = () => {
|
|
13833
|
-
return (index.h(
|
|
13798
|
+
return (index.h(ShadowViewAddon.CopyTextView, Object.assign({}, {
|
|
13834
13799
|
copyString: "https://noah.example.com",
|
|
13835
13800
|
open: false,
|
|
13836
13801
|
tooltiptext: "Copied!",
|
|
@@ -13845,7 +13810,7 @@ const Error$7 = () => {
|
|
|
13845
13810
|
tooltiptext: "Copied!",
|
|
13846
13811
|
error: true,
|
|
13847
13812
|
};
|
|
13848
|
-
return index.h(
|
|
13813
|
+
return index.h(ShadowViewAddon.CopyTextView, Object.assign({}, props));
|
|
13849
13814
|
};
|
|
13850
13815
|
|
|
13851
13816
|
const ShareCode$1 = /*#__PURE__*/Object.freeze({
|
|
@@ -13861,82 +13826,6 @@ const ShareCode$1 = /*#__PURE__*/Object.freeze({
|
|
|
13861
13826
|
Error: Error$7
|
|
13862
13827
|
});
|
|
13863
13828
|
|
|
13864
|
-
const scenario$A = "@author:sam\n@owner:sam\nFeature: Referral Code\n\n The referral code component is a box that allows users to see and copy their referral promo code for a given program\n\n Background: Environment\n Given there is a valid program ID in the environment\n And there is a valid user ID and account ID in the environment\n\n @motivating\n Scenario: A Users referral code can be copied to their clipboard\n Given tooltiptext is \"hello tooltip\"\n When the component renders\n Then there is a textbox with the user's referral code\n When the clipboard icon is clicked\n Then the code is copied to clipboard\n And a tooltip will appear for ~1 second\n\n @minutia\n Scenario: Tooltip lifespan defaults to 2000\n Given the tooltip's lifespan is set to 2000\n And there is tooltip text\n When the component renders\n And the clipboard icon is clicked\n Then a tooltip will appear for ~2 seconds\n\n @minutia\n Scenario: Demo\n Given isDemo() returns true\n Then the share code is \"SHARECODE001\"\n And the component won't be interactive\n And the tooltip is hidden\n\n @minutia\n Scenario: Program ID can be sourced from prop\n Given the programId prop is set to \"program-a\"\n And window.widgetIdent.programId is set to \"program-b\"\n When the component renders\n Then the share code is for \"program-a\"\n\n @minutia\n Scenario: Program ID can be sourced from window\n Given the programId prop is unset\n And window.widgetIdent.programId is set to \"program-b\"\n When the component renders\n Then the share code is for \"program-b\"\n\n @minutia\n Scenario: An analytic event is fired when a user copies their code\n Given a user viewing the referral code component\n And the component is rendered for \"program-a\"\n When they click to copy their code\n Then an \"USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT\" analytic event is fired\n And it is for \"program-a\"\n And it has share medium \"DIRECT\"\n\n\n @ui\n Scenario Outline: user can edit the alignment of the share code text\n Given a user is editing the referral code component\n Then they see \"Align text\" props\n And the default value is \"left\"\n When they change the option to <option>\n Then they see the text in <position>\n Examples:\n | option | position |\n | left | left |\n | center | center |\n | right | right |\n\n @ui\n Scenario Outline: The position of the copy button can be changed\n Given a user is editing the referral code component\n Then they see \"Style\" props\n And the default value is \"icon\"\n When they change the option to <option>\n Then they see the copy button in <position>\n Examples:\n | option | position |\n | button outside | outside the input, on the right |\n | button below | outside the input, below |\n | icon | inside the input as an icon |\n";
|
|
13865
|
-
|
|
13866
|
-
const ReferralCode_stories = {
|
|
13867
|
-
title: "Components/Referral Code",
|
|
13868
|
-
parameters: {
|
|
13869
|
-
scenario: scenario$A,
|
|
13870
|
-
},
|
|
13871
|
-
};
|
|
13872
|
-
const ReferralCode = () => {
|
|
13873
|
-
return (index.h("sqm-referral-code", { tooltiptext: "Copied to Clipboard" }));
|
|
13874
|
-
};
|
|
13875
|
-
const ShowNotificationText = () => {
|
|
13876
|
-
return (index.h("sqm-referral-code", { showNotificationText: true, notificationText: "You've copied this code before" }));
|
|
13877
|
-
};
|
|
13878
|
-
const ShowNotificationTextWithButton = () => {
|
|
13879
|
-
return (index.h("sqm-referral-code", { showNotificationText: true, notificationText: "You've copied this code before", buttonStyle: "button-outside" }));
|
|
13880
|
-
};
|
|
13881
|
-
const ShowNotificationTextWithButtonBelow = () => {
|
|
13882
|
-
return (index.h("sqm-referral-code", { showNotificationText: true, notificationText: "You've copied this code before", buttonStyle: "button-below" }));
|
|
13883
|
-
};
|
|
13884
|
-
const CustomTooltipText$1 = () => {
|
|
13885
|
-
return (index.h("sqm-referral-code", { tooltiptext: "CUSTOM TOOLTIP TEXT" }));
|
|
13886
|
-
};
|
|
13887
|
-
const TextAlignCenter$2 = () => {
|
|
13888
|
-
return index.h("sqm-referral-code", { textAlign: "center" });
|
|
13889
|
-
};
|
|
13890
|
-
const TextAlignRight$2 = () => {
|
|
13891
|
-
return index.h("sqm-referral-code", { textAlign: "right" });
|
|
13892
|
-
};
|
|
13893
|
-
const CustomTooltipDuration$1 = () => {
|
|
13894
|
-
return (index.h("sqm-referral-code", { tooltiplifespan: 5000, tooltiptext: "CUSTOM TOOLTIP TEXT" }));
|
|
13895
|
-
};
|
|
13896
|
-
const CopyButton$2 = () => {
|
|
13897
|
-
return (index.h(copyTextView.CopyTextView, Object.assign({}, {
|
|
13898
|
-
copyString: "https://noah.example.com",
|
|
13899
|
-
open: false,
|
|
13900
|
-
tooltiptext: "Copied!",
|
|
13901
|
-
isCopyIcon: false,
|
|
13902
|
-
buttonStyle: "button-outside",
|
|
13903
|
-
})));
|
|
13904
|
-
};
|
|
13905
|
-
const CopyButtonBelow$2 = () => {
|
|
13906
|
-
return (index.h(copyTextView.CopyTextView, Object.assign({}, {
|
|
13907
|
-
copyString: "https://noah.example.com",
|
|
13908
|
-
open: false,
|
|
13909
|
-
tooltiptext: "Copied!",
|
|
13910
|
-
buttonStyle: "button-below",
|
|
13911
|
-
})));
|
|
13912
|
-
};
|
|
13913
|
-
const Error$8 = () => {
|
|
13914
|
-
const props = {
|
|
13915
|
-
copyString: "https://noah.example.com",
|
|
13916
|
-
disabled: true,
|
|
13917
|
-
open: true,
|
|
13918
|
-
tooltiptext: "Copied!",
|
|
13919
|
-
error: true,
|
|
13920
|
-
};
|
|
13921
|
-
return index.h(copyTextView.CopyTextView, Object.assign({}, props));
|
|
13922
|
-
};
|
|
13923
|
-
|
|
13924
|
-
const ReferralCode$1 = /*#__PURE__*/Object.freeze({
|
|
13925
|
-
__proto__: null,
|
|
13926
|
-
'default': ReferralCode_stories,
|
|
13927
|
-
ReferralCode: ReferralCode,
|
|
13928
|
-
ShowNotificationText: ShowNotificationText,
|
|
13929
|
-
ShowNotificationTextWithButton: ShowNotificationTextWithButton,
|
|
13930
|
-
ShowNotificationTextWithButtonBelow: ShowNotificationTextWithButtonBelow,
|
|
13931
|
-
CustomTooltipText: CustomTooltipText$1,
|
|
13932
|
-
TextAlignCenter: TextAlignCenter$2,
|
|
13933
|
-
TextAlignRight: TextAlignRight$2,
|
|
13934
|
-
CustomTooltipDuration: CustomTooltipDuration$1,
|
|
13935
|
-
CopyButton: CopyButton$2,
|
|
13936
|
-
CopyButtonBelow: CopyButtonBelow$2,
|
|
13937
|
-
Error: Error$8
|
|
13938
|
-
});
|
|
13939
|
-
|
|
13940
13829
|
// import scenario from "./ShareCode.feature";
|
|
13941
13830
|
const EmailRegistration_stories = {
|
|
13942
13831
|
title: "Components/Email Registration",
|
|
@@ -13963,7 +13852,7 @@ const defaultProps$d = {
|
|
|
13963
13852
|
fraudErrorMessageTitle: "Looks like you tried referring yourself",
|
|
13964
13853
|
},
|
|
13965
13854
|
};
|
|
13966
|
-
const Default$
|
|
13855
|
+
const Default$e = () => index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, defaultProps$d));
|
|
13967
13856
|
const HasFirstNameLastName = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
|
|
13968
13857
|
...defaultProps$d,
|
|
13969
13858
|
content: {
|
|
@@ -14000,7 +13889,7 @@ const Loading$4 = () => (index.h(emailRegistrationView.EmailRegistrationView, Ob
|
|
|
14000
13889
|
loading: true,
|
|
14001
13890
|
},
|
|
14002
13891
|
})));
|
|
14003
|
-
const Error$
|
|
13892
|
+
const Error$8 = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
|
|
14004
13893
|
...defaultProps$d,
|
|
14005
13894
|
states: {
|
|
14006
13895
|
error: "Something went wrong. Please try again.",
|
|
@@ -14028,23 +13917,23 @@ const EmptyEmailError = () => (index.h(emailRegistrationView.EmailRegistrationVi
|
|
|
14028
13917
|
const EmailRegistration = /*#__PURE__*/Object.freeze({
|
|
14029
13918
|
__proto__: null,
|
|
14030
13919
|
'default': EmailRegistration_stories,
|
|
14031
|
-
Default: Default$
|
|
13920
|
+
Default: Default$e,
|
|
14032
13921
|
HasFirstNameLastName: HasFirstNameLastName,
|
|
14033
13922
|
WithSlots: WithSlots,
|
|
14034
13923
|
NoBorder: NoBorder$1,
|
|
14035
13924
|
BackgroundColor: BackgroundColor$2,
|
|
14036
13925
|
Loading: Loading$4,
|
|
14037
|
-
Error: Error$
|
|
13926
|
+
Error: Error$8,
|
|
14038
13927
|
FraudError: FraudError,
|
|
14039
13928
|
EmptyEmailError: EmptyEmailError
|
|
14040
13929
|
});
|
|
14041
13930
|
|
|
14042
|
-
const scenario$
|
|
13931
|
+
const scenario$A = "@author:truman\n@owner:truman\nFeature: Coupon Code\n\n The coupon code component is a box that allows users to see and copy their coupon code for a given program\n\n @motivating\n Scenario: Component only fetches codes from current program\n Given a user has multiple rewards from various programs\n When the component is loaded\n Then it fetches the user's rewards from only the program associated with the widget\n\n @motivating\n Scenario: Component only looks at fueltank rewards\n Given a user has multiple rewards of different types\n When the component is loaded\n Then it filters the user's reward to only return FUELTANK rewards\n\n\n @motivating\n Scenario: The first (i.e. most recently received) reward is the reward that is displayed\n Given a user has at least one fueltank reward\n And the fueltank reward is available\n Then the coupon code component shows the first reward returned\n And this reward is the most recently received reward by the user\n\n @motivating\n Scenario Outline: Coupon code has multiple states depending on reward status\n Given a user has at least one fueltank reward\n And the reward has most recent status <status>\n And the dateScheduledFor field is <dateScheduledFor>\n Then the component's status is set to <componentStatus>\n And the <errorMessageTextProp> is displayed under the input field\n\n Examples:\n | status | dateScheduledFor | componentStatus | errorMessageTextProp |\n | AVAILABLE | null | AVAILABLE | N/A |\n | EXPIRED | null | EXPIRED | expiredErrorMessage |\n | REDEEMED | null | REDEEMED | redeemedMessage |\n | CANCELLED | null | CANCELLED | cancelledErrorMessage |\n | PENDING | null | EMPTY_TANK | fullfillmentErrorMessage |\n | PENDING | 123412341234 | PENDING | pendingErrorMessage |\n | null | null | ERROR | genericErrorMessage |\n\n Scenario Outline: Coupon code's error message text props are grouped\n Given an end user is viewing the coupon code component in the widget editor\n And they are looking at the component's properties\n Then they see <prop>\n And <prop> is grouped under \"Coupon code error\"\n Examples:\n | prop |\n | N/A |\n | expiredErrorMessage |\n | redeemedMessage |\n | cancelledErrorMessage |\n | fullfillmentErrorMessage |\n | pendingErrorMessage |\n | genericErrorMessage |\n\n @minutia\n Scenario: Tooltip lifespan defaults to 2000\n Given the tooltip's lifespan is set to 2000\n And there is tooltip text\n When the component renders\n And the clipboard icon is clicked\n Then a tooltip appears for ~2 seconds\n\n @ui\n Scenario: Component shows an error state when there is an error\n Given a user is viewing the coupon code component\n When there is an error in the coupon code\n Then in place of the coupon code is an alert banner\n And the alert banner gives information about the error to the user\n\n @ui\n Scenario: Component shows an loading state\n Given a user is viewing the coupon code component\n When the coupon code is loading in\n Then the text inside the input is \"Loading...\"\n And the coupon code input box has a gray background\n And the cursor is set to \"default\"\n And the user cannot copy the text\n\n @ui\n Scenario Outline: User can edit the alignment of the coupon code text\n Given a user is editing the coupon code component\n Then they see \"Align text\" props\n And the default value is \"left\"\n When they change the option to <option>\n Then they see the text in <position>\n Examples:\n | option | position |\n | left | left |\n | center | center |\n | right | right |\n\n @ui\n Scenario Outline: The position of the copy button can be changed\n Given a user is editing the coupon code component\n Then they see \"Style\" props\n And the default value is \"icon\"\n When they change the option to <option>\n Then they see the copy button in <position>\n Examples:\n | option | position |\n | button outside | outside the input, on the right |\n | button below | outside the input, below |\n | icon | inside the input as an icon |\n\n @minutia\n Scenario: ICU string converts to a date\n Given a user is viewing a live coupon code code component\n And the \"pendingErrorText\" has the \"{unpendDate}\" ICU string\n And the program is configured for rewards to be pending\n Then the user will see an info alert banner\n And the ICU string is converted to the unpend date\n";
|
|
14043
13932
|
|
|
14044
13933
|
const CouponCode_stories = {
|
|
14045
13934
|
title: "Components/Coupon Code",
|
|
14046
13935
|
parameters: {
|
|
14047
|
-
scenario: scenario$
|
|
13936
|
+
scenario: scenario$A,
|
|
14048
13937
|
},
|
|
14049
13938
|
};
|
|
14050
13939
|
const defaultProps$e = {
|
|
@@ -14059,25 +13948,25 @@ const defaultProps$e = {
|
|
|
14059
13948
|
const CouponCode = () => {
|
|
14060
13949
|
return index.h("sqm-coupon-code", { tooltiptext: "Copied to Clipboard" });
|
|
14061
13950
|
};
|
|
14062
|
-
const CustomTooltipText$
|
|
13951
|
+
const CustomTooltipText$1 = () => {
|
|
14063
13952
|
return index.h("sqm-coupon-code", { tooltiptext: "CUSTOM TOOLTIP TEXT" });
|
|
14064
13953
|
};
|
|
14065
|
-
const CustomTooltipDuration$
|
|
13954
|
+
const CustomTooltipDuration$1 = () => {
|
|
14066
13955
|
return (index.h("sqm-coupon-code", { tooltiplifespan: 5000, tooltiptext: "CUSTOM TOOLTIP TEXT" }));
|
|
14067
13956
|
};
|
|
14068
|
-
const TextAlignCenter$
|
|
13957
|
+
const TextAlignCenter$2 = () => {
|
|
14069
13958
|
return index.h("sqm-coupon-code", { textAlign: "center" });
|
|
14070
13959
|
};
|
|
14071
|
-
const TextAlignRight$
|
|
13960
|
+
const TextAlignRight$2 = () => {
|
|
14072
13961
|
return index.h("sqm-coupon-code", { textAlign: "right" });
|
|
14073
13962
|
};
|
|
14074
|
-
const CopyButton$
|
|
13963
|
+
const CopyButton$2 = () => {
|
|
14075
13964
|
return (index.h("sqm-coupon-code", Object.assign({}, defaultProps$e, { buttonStyle: "button-outside" })));
|
|
14076
13965
|
};
|
|
14077
13966
|
const CopyButtonCustomLabel = () => {
|
|
14078
13967
|
return (index.h("sqm-coupon-code", Object.assign({}, defaultProps$e, { buttonStyle: "button-outside", "copy-button-label": "test long custom label" })));
|
|
14079
13968
|
};
|
|
14080
|
-
const CopyButtonBelow$
|
|
13969
|
+
const CopyButtonBelow$2 = () => {
|
|
14081
13970
|
return (index.h("sqm-coupon-code", Object.assign({}, defaultProps$e, { buttonStyle: "button-below" })));
|
|
14082
13971
|
};
|
|
14083
13972
|
const CopyButtonBelowCustomLabel = () => {
|
|
@@ -14115,13 +14004,13 @@ const CouponCode$1 = /*#__PURE__*/Object.freeze({
|
|
|
14115
14004
|
__proto__: null,
|
|
14116
14005
|
'default': CouponCode_stories,
|
|
14117
14006
|
CouponCode: CouponCode,
|
|
14118
|
-
CustomTooltipText: CustomTooltipText$
|
|
14119
|
-
CustomTooltipDuration: CustomTooltipDuration$
|
|
14120
|
-
TextAlignCenter: TextAlignCenter$
|
|
14121
|
-
TextAlignRight: TextAlignRight$
|
|
14122
|
-
CopyButton: CopyButton$
|
|
14007
|
+
CustomTooltipText: CustomTooltipText$1,
|
|
14008
|
+
CustomTooltipDuration: CustomTooltipDuration$1,
|
|
14009
|
+
TextAlignCenter: TextAlignCenter$2,
|
|
14010
|
+
TextAlignRight: TextAlignRight$2,
|
|
14011
|
+
CopyButton: CopyButton$2,
|
|
14123
14012
|
CopyButtonCustomLabel: CopyButtonCustomLabel,
|
|
14124
|
-
CopyButtonBelow: CopyButtonBelow$
|
|
14013
|
+
CopyButtonBelow: CopyButtonBelow$2,
|
|
14125
14014
|
CopyButtonBelowCustomLabel: CopyButtonBelowCustomLabel,
|
|
14126
14015
|
Loading: Loading$5,
|
|
14127
14016
|
CopyButtonLoading: CopyButtonLoading,
|
|
@@ -14134,12 +14023,12 @@ const CouponCode$1 = /*#__PURE__*/Object.freeze({
|
|
|
14134
14023
|
ErrorRedeemed: ErrorRedeemed
|
|
14135
14024
|
});
|
|
14136
14025
|
|
|
14137
|
-
const scenario$
|
|
14026
|
+
const scenario$B = "@author:noah\n@owner:noah\n\nFeature: Logout Current User\n\n Background:\n Given a user viewing an instant access widget\n\n @motivating\n @ui\n Scenario: A user on an instant access widget\n Given the user is identified\n And the user is logged in\n Then the component identifies the user by displaying their email in an ICU string\n And the users email displayed in the ICU string using hte \"{email}\" variable\n\n @motivating\n @ui\n Scenario: Users can switch who they are identified as through a link\n Given the user is identified\n And the user is logged in\n When the user clicks the link in the component\n Then the saved user identity is emptied\n And they are sent back to the registration form to re-identify themselves\n\n @minutia\n Scenario: Logout link empties the saved User Identity\n Given a valid user identity\n And the user is viewing the \"logged-in\" template\n When they click the logout link\n Then the user identity is set to \"undefined\"\n And the user is returned to the \"logged-out\" template";
|
|
14138
14027
|
|
|
14139
14028
|
const LogoutCurrentUser_stories = {
|
|
14140
14029
|
title: "Components/Logout Current User",
|
|
14141
14030
|
parameters: {
|
|
14142
|
-
scenario: scenario$
|
|
14031
|
+
scenario: scenario$B,
|
|
14143
14032
|
},
|
|
14144
14033
|
};
|
|
14145
14034
|
const defaultProps$f = {
|
|
@@ -14149,22 +14038,22 @@ const defaultProps$f = {
|
|
|
14149
14038
|
loading: false,
|
|
14150
14039
|
emailErrorText: "Error fetching email",
|
|
14151
14040
|
};
|
|
14152
|
-
const Default$
|
|
14041
|
+
const Default$f = () => {
|
|
14153
14042
|
return index.h(sqmLogoutCurrentUserView.LogoutCurrentUserView, Object.assign({}, defaultProps$f));
|
|
14154
14043
|
};
|
|
14155
14044
|
|
|
14156
14045
|
const LogoutCurrentUser = /*#__PURE__*/Object.freeze({
|
|
14157
14046
|
__proto__: null,
|
|
14158
14047
|
'default': LogoutCurrentUser_stories,
|
|
14159
|
-
Default: Default$
|
|
14048
|
+
Default: Default$f
|
|
14160
14049
|
});
|
|
14161
14050
|
|
|
14162
|
-
const scenario$
|
|
14051
|
+
const scenario$C = "@author:noah\n@owner:noah\n\nFeature: Link Button\n\n\t@ui\n\tScenario: Links can be opened in the same tab\n\t\tWhen a user clicks the button\n\t\tThen a link opens in the same tab\n\t\tAnd if the component is in an iFrame then the link is opened in the parent window not the iFrame\n\n\t@ui\n\tScenario: Links can be opened in a new tab\n\t\tWhen a user clicks the button\n\t\tThen a link opens in a new tab\n\t\tAnd if the component is in an iFrame then the link is still opened in a new tab\n\n\n\t@ui\n\tScenario: Props control the link and button text\n\t\tGiven the \"link\" prop is set to \"https://www.example.com\"\n\t\tAnd the \"buttonText\" prop is set to \"Click me!\"\n\t\tThen a button is shown with the text \"Click me!\"\n\t\tAnd when clicked the button opens https://www.example.com\n\n\t@ui\n\tScenario Outline: The button type can be set\n\t\tGiven the button type is set to <value>\n\t\tThen a <buttonType> is shown\n\t\tExamples:\n\t\t\t| value | buttonType |\n\t\t\t| <null> | primary |\n\t\t\t| default | default |\n\t\t\t| primary | primary |\n\t\t\t| success | success |\n\t\t\t| neutral | neutral |\n\t\t\t| warning | warning |\n\t\t\t| danger | danger |";
|
|
14163
14052
|
|
|
14164
14053
|
const LinkButton_stories = {
|
|
14165
14054
|
title: "Components/Link Button",
|
|
14166
14055
|
parameters: {
|
|
14167
|
-
scenario: scenario$
|
|
14056
|
+
scenario: scenario$C,
|
|
14168
14057
|
},
|
|
14169
14058
|
};
|
|
14170
14059
|
const defaultProps$g = {
|
|
@@ -14172,7 +14061,7 @@ const defaultProps$g = {
|
|
|
14172
14061
|
openInNewTab: false,
|
|
14173
14062
|
buttonText: "Button Text",
|
|
14174
14063
|
};
|
|
14175
|
-
const Default$
|
|
14064
|
+
const Default$g = () => {
|
|
14176
14065
|
return index.h("sqm-link-button", Object.assign({}, defaultProps$g));
|
|
14177
14066
|
};
|
|
14178
14067
|
const OpenInNewTab = () => {
|
|
@@ -14182,7 +14071,7 @@ const OpenInNewTab = () => {
|
|
|
14182
14071
|
const LinkButton = /*#__PURE__*/Object.freeze({
|
|
14183
14072
|
__proto__: null,
|
|
14184
14073
|
'default': LinkButton_stories,
|
|
14185
|
-
Default: Default$
|
|
14074
|
+
Default: Default$g,
|
|
14186
14075
|
OpenInNewTab: OpenInNewTab
|
|
14187
14076
|
});
|
|
14188
14077
|
|
|
@@ -14200,7 +14089,7 @@ const containerStyles = {
|
|
|
14200
14089
|
border: "1px solid black",
|
|
14201
14090
|
padding: "25px",
|
|
14202
14091
|
};
|
|
14203
|
-
const Default$
|
|
14092
|
+
const Default$h = () => {
|
|
14204
14093
|
return index.h(sqmCloseButtonView.CloseButtonView, Object.assign({}, defaultProps$h));
|
|
14205
14094
|
};
|
|
14206
14095
|
const InAContainer = () => {
|
|
@@ -14215,7 +14104,7 @@ const CustomColor$1 = () => {
|
|
|
14215
14104
|
const CloseButton = /*#__PURE__*/Object.freeze({
|
|
14216
14105
|
__proto__: null,
|
|
14217
14106
|
'default': CloseButton_stories,
|
|
14218
|
-
Default: Default$
|
|
14107
|
+
Default: Default$h,
|
|
14219
14108
|
InAContainer: InAContainer,
|
|
14220
14109
|
CustomColor: CustomColor$1
|
|
14221
14110
|
});
|
|
@@ -14453,7 +14342,7 @@ const Loading$6 = () => {
|
|
|
14453
14342
|
},
|
|
14454
14343
|
} }));
|
|
14455
14344
|
};
|
|
14456
|
-
const Error$
|
|
14345
|
+
const Error$9 = () => {
|
|
14457
14346
|
return (index.h("sqm-payout-details-card", { demoData: {
|
|
14458
14347
|
states: {
|
|
14459
14348
|
error: true,
|
|
@@ -14494,7 +14383,7 @@ const PayoutDetailsCard = /*#__PURE__*/Object.freeze({
|
|
|
14494
14383
|
__proto__: null,
|
|
14495
14384
|
'default': PayoutDetailsCard_stories,
|
|
14496
14385
|
Loading: Loading$6,
|
|
14497
|
-
Error: Error$
|
|
14386
|
+
Error: Error$9,
|
|
14498
14387
|
NextPayout: NextPayout,
|
|
14499
14388
|
PayoutToday: PayoutToday,
|
|
14500
14389
|
ThresholdPayout: ThresholdPayout,
|
|
@@ -15104,49 +14993,6 @@ const UseInvoiceTableCells = /*#__PURE__*/Object.freeze({
|
|
|
15104
14993
|
InvoiceTableDemoHook: InvoiceTableDemoHook
|
|
15105
14994
|
});
|
|
15106
14995
|
|
|
15107
|
-
const scenario$E = "@author: sam\n@owner: sam\n\nFeature: Referral Codes Component\n\n A paginated display of available and used promo codes for the user to share with others\n\n @motivating\n Scenario: Promo code can be shared using various share mediums\n Given an authenticated user\n And the program has promo codes configured\n When the promo code section is loaded\n Then the promo code can be copied directly\n And the promo code can be shared using <shareMedium>\n\n Examples:\n | shareMedium |\n | DIRECT |\n | EMAIL |\n | FBMESSENGER |\n | WHATSAPP |\n\n @minutia\n Scenario: User is notified if the currently viewed promo code has been used already\n Given an authenticated user\n And the program has promo codes configured\n When the promo code section is loaded\n And the code has not been used already\n Then no notification text is displayed\n When the code is changed to one that has been used\n Then the notification text is displayed\n\n @minutia\n Scenario Outline: Share buttons slots use the link from referral codes instead of the default query\n Given an authenticated user\n And the program has promo codes configured\n And a <shareMedium> button is a child of `<sqm-referral-codes>`\n Then the <shareMedium> button is shown\n And the link is <promoCode>\n Examples:\n | propName | shareMedium | promoCode |\n | hideSharelink | DIRECT | PROMOCODE1 |\n | hideEmail | EMAIL | PROMOCODE1 |\n | hideFbMessenger | FBMESSENGER | PROMOCODE1 |\n | hideWhatsApp | WHATSAPP | PROMOCODE1 |\n\n @minutia\n Scenario Outline: Number of codes is displayed in the pagination component\n Given an authenticated user\n And the program has promo codes configured\n When the promo code section is loaded\n And the user has <numCodes> available\n And the user is on <currentPage>\n Then the pagination text is <paginationText>\n Examples:\n | numCodes | currentPage | paginationText |\n | 5 | 1 | 1 of 5 |\n | 5 | 2 | 2 of 5 |\n | 5 | 3 | 3 of 5 |\n | 5 | 4 | 4 of 5 |\n | 5 | 5 | 5 of 5 |\n | 1 | 1 | 1 of 1 |\n | 0 | 0 | 0 of 0 |\n\n";
|
|
15108
|
-
|
|
15109
|
-
const ReferralCodes_stories = {
|
|
15110
|
-
title: "Components/Referral Codes",
|
|
15111
|
-
parameters: {
|
|
15112
|
-
scenario: scenario$E,
|
|
15113
|
-
},
|
|
15114
|
-
};
|
|
15115
|
-
const pagination = (slot) => {
|
|
15116
|
-
return index.h("sqm-pagination", { slot: slot });
|
|
15117
|
-
};
|
|
15118
|
-
const shareButtons = (slot) => {
|
|
15119
|
-
return (index.h("sqm-portal-container", { gap: "small", slot: slot },
|
|
15120
|
-
index.h("sqm-share-button", { medium: "email" }, "Share via email"),
|
|
15121
|
-
index.h("sqm-share-button", { medium: "facebook" }, "Share on Facebook"),
|
|
15122
|
-
index.h("sqm-share-button", { medium: "whatsapp" }, "Share on WhatsApp")));
|
|
15123
|
-
};
|
|
15124
|
-
const shareCodes = (slot) => {
|
|
15125
|
-
return index.h("sqm-referral-code", { slot: slot });
|
|
15126
|
-
};
|
|
15127
|
-
const shareCodeWithPreviouslyCopied = (slot) => {
|
|
15128
|
-
return (index.h("sqm-referral-code", { slot: slot, showNotificationText: true, notificationText: "You\u2019ve copied this before." }));
|
|
15129
|
-
};
|
|
15130
|
-
const ReferralCodes = () => {
|
|
15131
|
-
return (index.h("sqm-referral-codes", null,
|
|
15132
|
-
pagination("pagination"),
|
|
15133
|
-
shareCodes("shareCodes"),
|
|
15134
|
-
shareButtons("shareButtons")));
|
|
15135
|
-
};
|
|
15136
|
-
const WithPreviouslyCopiedCode = () => {
|
|
15137
|
-
return (index.h("sqm-referral-codes", null,
|
|
15138
|
-
pagination("pagination"),
|
|
15139
|
-
shareCodeWithPreviouslyCopied("shareCodes"),
|
|
15140
|
-
shareButtons("shareButtons")));
|
|
15141
|
-
};
|
|
15142
|
-
|
|
15143
|
-
const ReferralCodes$1 = /*#__PURE__*/Object.freeze({
|
|
15144
|
-
__proto__: null,
|
|
15145
|
-
'default': ReferralCodes_stories,
|
|
15146
|
-
ReferralCodes: ReferralCodes,
|
|
15147
|
-
WithPreviouslyCopiedCode: WithPreviouslyCopiedCode
|
|
15148
|
-
});
|
|
15149
|
-
|
|
15150
14996
|
/**
|
|
15151
14997
|
*
|
|
15152
14998
|
* Themes
|
|
@@ -15159,7 +15005,7 @@ const ReferralCodes$1 = /*#__PURE__*/Object.freeze({
|
|
|
15159
15005
|
*
|
|
15160
15006
|
*/
|
|
15161
15007
|
//
|
|
15162
|
-
const Default$
|
|
15008
|
+
const Default$i = `
|
|
15163
15009
|
// No CSS
|
|
15164
15010
|
`;
|
|
15165
15011
|
const Orangey = `
|
|
@@ -15193,7 +15039,7 @@ const Klip = `
|
|
|
15193
15039
|
|
|
15194
15040
|
const Themes = /*#__PURE__*/Object.freeze({
|
|
15195
15041
|
__proto__: null,
|
|
15196
|
-
Default: Default$
|
|
15042
|
+
Default: Default$i,
|
|
15197
15043
|
Orangey: Orangey,
|
|
15198
15044
|
Netflix: Netflix,
|
|
15199
15045
|
SaaSquatchCorporate: SaaSquatchCorporate,
|
|
@@ -17792,7 +17638,6 @@ const stories = [
|
|
|
17792
17638
|
InvoiceTableCells,
|
|
17793
17639
|
UseInvoiceTableCells,
|
|
17794
17640
|
ShareButton,
|
|
17795
|
-
Pagination,
|
|
17796
17641
|
ShareLink,
|
|
17797
17642
|
BigStat,
|
|
17798
17643
|
Leaderboard,
|
|
@@ -17861,8 +17706,6 @@ const stories = [
|
|
|
17861
17706
|
Tabs,
|
|
17862
17707
|
ShareCode$1,
|
|
17863
17708
|
CouponCode$1,
|
|
17864
|
-
ReferralCode$1,
|
|
17865
|
-
ReferralCodes$1,
|
|
17866
17709
|
LogoutCurrentUser,
|
|
17867
17710
|
LinkButton,
|
|
17868
17711
|
EmailRegistration,
|