@saasquatch/mint-components 2.5.7 → 2.5.9-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{ShadowViewAddon-ee16ec1d.js → ShadowViewAddon-7f609b03.js} +5 -5
- package/dist/cjs/{data-962310e1.js → data-7ea0e395.js} +1 -1
- package/dist/cjs/{global-973bc63c.js → global-0316d9f8.js} +1 -1
- package/dist/cjs/{index-8530c62f.js → index-88a40938.js} +208 -111
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/mint-components.cjs.js +2 -2
- package/dist/cjs/{re-render-51c48d7c.js → re-render-65869eb3.js} +1 -1
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +9 -9
- package/dist/cjs/sqm-big-stat_47.cjs.entry.js +17 -15
- package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
- package/dist/cjs/sqm-code-verification.cjs.entry.js +3 -3
- package/dist/cjs/sqm-context-router.cjs.entry.js +1 -1
- package/dist/cjs/sqm-email-verification_2.cjs.entry.js +12 -8
- package/dist/cjs/sqm-empty_4.cjs.entry.js +2 -2
- package/dist/cjs/sqm-google-sign-in.cjs.entry.js +1 -1
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +1 -1
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +6 -4
- package/dist/cjs/{sqm-lead-checkbox-field-view-24ac7358.js → sqm-lead-checkbox-field-view-e12e8cb6.js} +1 -1
- package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-lead-input-field-view-7dfbc714.js → sqm-lead-input-field-view-67aaabf7.js} +1 -1
- package/dist/cjs/sqm-lead-input-field.cjs.entry.js +4 -4
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +2 -2
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-navigation-sidebar-item-view-a2cab80e.js → sqm-navigation-sidebar-item-view-e7c53f14.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +2 -2
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-partner-info-modal-view-c8972001.js → sqm-partner-info-modal-view-17dbf6f7.js} +1 -1
- package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
- package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-92866725.js → sqm-portal-email-verification-view-ff5e33b9.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-forgot-password_6.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-profile-view-60e78cdb.js → sqm-portal-profile-view-6adaa202.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-verify-email-view-7efa70c9.js → sqm-portal-verify-email-view-08be7dec.js} +1 -1
- package/dist/cjs/sqm-qr-code.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +5 -5
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +5 -5
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +26906 -7647
- package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
- package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-user-info-form-view-92d8d19a.js → sqm-user-info-form-view-b2a78083.js} +3 -3
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +1 -1
- package/dist/cjs/{subregions-3dbacb18.js → subregions-fd4e4ee2.js} +1 -1
- package/dist/cjs/{useChildElements-e5e26816.js → useChildElements-e9ed2d11.js} +1 -1
- package/dist/cjs/{useIndirectTaxForm-638adefa.js → useIndirectTaxForm-c5f31c83.js} +3 -3
- package/dist/cjs/{useInstantAccessRegistration-9201777d.js → useInstantAccessRegistration-aaabf0a7.js} +2 -2
- package/dist/cjs/{useLeadFormState-f5b768b9.js → useLeadFormState-2040144a.js} +2 -2
- package/dist/cjs/{usePortalRegistrationForm-b3c0451b.js → usePortalRegistrationForm-671d2863.js} +2 -2
- package/dist/cjs/{useReferralCodes-5794a177.js → useReferralCodes-926af4e8.js} +1 -1
- package/dist/cjs/{useReferralTable-32b3541b.js → useReferralTable-21a2e1a4.js} +3 -3
- package/dist/cjs/{useRegistrationFormState-feccd2c8.js → useRegistrationFormState-cf2e0ec6.js} +1 -1
- package/dist/cjs/{useVerificationEmail-f0807562.js → useVerificationEmail-1e73a140.js} +1 -1
- package/dist/cjs/{utilities-04345466.js → utilities-4995dc8f.js} +1 -1
- package/dist/collection/components/sqm-big-stat/UseBigStat.stories.js +2 -19
- package/dist/collection/components/sqm-checkbox-field/UseCheckboxField.stories.js +2 -19
- package/dist/collection/components/sqm-dropdown-field/UseDropdownField.stories.js +2 -19
- package/dist/collection/components/sqm-edit-profile/UseEditProfile.stories.js +2 -19
- package/dist/collection/components/sqm-input-field/UseInputField.stories.js +2 -19
- package/dist/collection/components/sqm-instant-access-registration/sqm-instant-access-registration.js +4 -2
- package/dist/collection/components/sqm-invoice-table/UseInvoiceTable.stories.js +3 -19
- package/dist/collection/components/sqm-leaderboard/UseLeaderboard.stories.js +7 -36
- package/dist/collection/components/sqm-partner-info-modal/usePartnerInfoModal.js +7 -3
- package/dist/collection/components/sqm-portal-frame/PortalFrame.stories.js +16 -21
- package/dist/collection/components/sqm-referral-table/UseReferralTable.stories.js +7 -40
- package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +4 -2
- package/dist/collection/components/sqm-reward-exchange-list/UseRewardExchangeList.stories.js +4 -19
- package/dist/collection/components/sqm-rewards-table/UseRewardsTable.stories.js +7 -40
- package/dist/collection/components/sqm-share-button/UseShareButton.stories.js +2 -19
- package/dist/collection/components/sqm-share-link/UseShareLink.stories.js +2 -19
- package/dist/collection/components/sqm-task-card/UseTaskCard.stories.js +2 -20
- package/dist/esm/{ShadowViewAddon-0c8005bd.js → ShadowViewAddon-59f4b3fa.js} +5 -5
- package/dist/esm/{data-b0e80fd9.js → data-91756a72.js} +1 -1
- package/dist/esm/{global-cf0cc6b1.js → global-11396707.js} +1 -1
- package/dist/esm/{index-b04013cc.js → index-ebb35768.js} +185 -113
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mint-components.js +2 -2
- package/dist/esm/{re-render-e911a0f7.js → re-render-fa467bec.js} +1 -1
- package/dist/esm/sqm-banking-info-form_10.entry.js +9 -9
- package/dist/esm/sqm-big-stat_47.entry.js +17 -15
- package/dist/esm/sqm-close-button.entry.js +1 -1
- package/dist/esm/sqm-code-verification.entry.js +3 -3
- package/dist/esm/sqm-context-router.entry.js +1 -1
- package/dist/esm/sqm-email-verification_2.entry.js +12 -8
- package/dist/esm/sqm-empty_4.entry.js +2 -2
- package/dist/esm/sqm-google-sign-in.entry.js +1 -1
- package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm/sqm-instant-access-registration.entry.js +6 -4
- package/dist/esm/{sqm-lead-checkbox-field-view-d055e7bd.js → sqm-lead-checkbox-field-view-84103484.js} +1 -1
- package/dist/esm/sqm-lead-checkbox-field.entry.js +4 -4
- package/dist/esm/{sqm-lead-input-field-view-b0d62f1c.js → sqm-lead-input-field-view-f9be9365.js} +1 -1
- package/dist/esm/sqm-lead-input-field.entry.js +4 -4
- package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
- package/dist/esm/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm/{sqm-navigation-sidebar-item-view-754b2484.js → sqm-navigation-sidebar-item-view-5ef06865.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
- package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm/sqm-pagination_3.entry.js +3 -3
- package/dist/esm/{sqm-partner-info-modal-view-3b59be37.js → sqm-partner-info-modal-view-fb139e7c.js} +1 -1
- package/dist/esm/sqm-password-field.entry.js +2 -2
- package/dist/esm/sqm-popup-container.entry.js +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-88fbf496.js → sqm-portal-email-verification-view-1a2d6650.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
- package/dist/esm/sqm-portal-forgot-password_6.entry.js +4 -4
- package/dist/esm/sqm-portal-logout.entry.js +1 -1
- package/dist/esm/{sqm-portal-profile-view-f27adfba.js → sqm-portal-profile-view-b81be8ff.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +4 -4
- package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm/{sqm-portal-verify-email-view-ee40e3f2.js → sqm-portal-verify-email-view-0c421bd0.js} +1 -1
- package/dist/esm/sqm-qr-code.entry.js +2 -2
- package/dist/esm/sqm-referral-table_11.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 +5 -5
- package/dist/esm/sqm-stencilbook.entry.js +24356 -5097
- package/dist/esm/sqm-tab.entry.js +2 -2
- package/dist/esm/sqm-tabs.entry.js +3 -3
- package/dist/esm/{sqm-user-info-form-view-59473bfd.js → sqm-user-info-form-view-3b420e99.js} +3 -3
- package/dist/esm/sqm-widget-verification-controller.entry.js +1 -1
- package/dist/esm/{subregions-d9f177f6.js → subregions-c7df98a1.js} +1 -1
- package/dist/esm/{useChildElements-a69f208f.js → useChildElements-18bd6080.js} +1 -1
- package/dist/esm/{useIndirectTaxForm-4bcd91f9.js → useIndirectTaxForm-733f5cf4.js} +3 -3
- package/dist/esm/{useInstantAccessRegistration-8c678a5a.js → useInstantAccessRegistration-be58b9dd.js} +2 -2
- package/dist/esm/{useLeadFormState-34e05463.js → useLeadFormState-de1a8033.js} +2 -2
- package/dist/esm/{usePortalRegistrationForm-c6519939.js → usePortalRegistrationForm-751b1f36.js} +2 -2
- package/dist/esm/{useReferralCodes-d0a384e4.js → useReferralCodes-d1706a4b.js} +1 -1
- package/dist/esm/{useReferralTable-214dff06.js → useReferralTable-91d9edb4.js} +3 -3
- package/dist/esm/{useRegistrationFormState-72b4786d.js → useRegistrationFormState-7688ce40.js} +1 -1
- package/dist/esm/{useVerificationEmail-b2c349a3.js → useVerificationEmail-5fb29393.js} +1 -1
- package/dist/esm/{utilities-ceab25cd.js → utilities-937c375d.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-59f4b3fa.js +1 -0
- package/dist/esm-es5/{data-b0e80fd9.js → data-91756a72.js} +1 -1
- package/dist/esm-es5/{global-cf0cc6b1.js → global-11396707.js} +1 -1
- package/dist/esm-es5/index-ebb35768.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-e911a0f7.js → re-render-fa467bec.js} +1 -1
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -1
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-context-router.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification_2.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-google-sign-in.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-lead-checkbox-field-view-d055e7bd.js → sqm-lead-checkbox-field-view-84103484.js} +1 -1
- package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
- package/dist/esm-es5/{sqm-lead-input-field-view-b0d62f1c.js → sqm-lead-input-field-view-f9be9365.js} +1 -1
- package/dist/esm-es5/sqm-lead-input-field.entry.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-754b2484.js → sqm-navigation-sidebar-item-view-5ef06865.js} +1 -1
- 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-pagination_3.entry.js +1 -1
- package/dist/esm-es5/{sqm-partner-info-modal-view-3b59be37.js → sqm-partner-info-modal-view-fb139e7c.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-88fbf496.js → sqm-portal-email-verification-view-1a2d6650.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password_6.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-f27adfba.js → sqm-portal-profile-view-b81be8ff.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-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-ee40e3f2.js → sqm-portal-verify-email-view-0c421bd0.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-column.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tab.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/{sqm-user-info-form-view-59473bfd.js → sqm-user-info-form-view-3b420e99.js} +1 -1
- package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
- package/dist/esm-es5/{subregions-d9f177f6.js → subregions-c7df98a1.js} +1 -1
- package/dist/esm-es5/{useChildElements-a69f208f.js → useChildElements-18bd6080.js} +1 -1
- package/dist/esm-es5/{useIndirectTaxForm-4bcd91f9.js → useIndirectTaxForm-733f5cf4.js} +1 -1
- package/dist/esm-es5/{useInstantAccessRegistration-8c678a5a.js → useInstantAccessRegistration-be58b9dd.js} +1 -1
- package/dist/esm-es5/{useLeadFormState-34e05463.js → useLeadFormState-de1a8033.js} +1 -1
- package/dist/esm-es5/{usePortalRegistrationForm-c6519939.js → usePortalRegistrationForm-751b1f36.js} +1 -1
- package/dist/esm-es5/{useReferralCodes-d0a384e4.js → useReferralCodes-d1706a4b.js} +1 -1
- package/dist/esm-es5/{useReferralTable-214dff06.js → useReferralTable-91d9edb4.js} +1 -1
- package/dist/esm-es5/{useRegistrationFormState-72b4786d.js → useRegistrationFormState-7688ce40.js} +1 -1
- package/dist/esm-es5/useVerificationEmail-5fb29393.js +1 -0
- package/dist/esm-es5/{utilities-ceab25cd.js → utilities-937c375d.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-2b5c577a.system.js → p-03a74fc7.system.js} +1 -1
- package/dist/mint-components/{p-492f2233.entry.js → p-03df9427.entry.js} +1 -1
- package/dist/mint-components/{p-076af819.system.js → p-046111cd.system.js} +1 -1
- package/dist/mint-components/{p-f53c7a87.system.entry.js → p-070f42cf.system.entry.js} +1 -1
- package/dist/mint-components/{p-b652d3b3.js → p-089c0803.js} +1 -1
- package/dist/mint-components/{p-c50c206e.system.js → p-0da266a0.system.js} +1 -1
- package/dist/mint-components/{p-09a6ab1f.entry.js → p-10462334.entry.js} +1 -1
- package/dist/mint-components/{p-a3d1c665.system.entry.js → p-1155ca26.system.entry.js} +1 -1
- package/dist/mint-components/p-13a3aa65.system.js +1 -0
- package/dist/mint-components/{p-487dac4b.system.js → p-16a23aba.system.js} +1 -1
- package/dist/mint-components/{p-5bacacba.entry.js → p-17896608.entry.js} +1 -1
- package/dist/mint-components/{p-7a8ed2f3.system.entry.js → p-17cc4f34.system.entry.js} +1 -1
- package/dist/mint-components/p-197eaa29.system.entry.js +1 -0
- package/dist/mint-components/{p-7558fe46.js → p-1db95c9f.js} +1 -1
- package/dist/mint-components/{p-0daa339e.entry.js → p-2085ee72.entry.js} +1 -1
- package/dist/mint-components/p-21150b90.entry.js +1 -0
- package/dist/mint-components/{p-b492fd4b.system.entry.js → p-2d7fe937.system.entry.js} +1 -1
- package/dist/mint-components/p-2d9a98fa.system.entry.js +1 -0
- package/dist/mint-components/{p-15f170d4.js → p-32c9963c.js} +1 -1
- package/dist/mint-components/p-33075c60.system.entry.js +1 -0
- package/dist/mint-components/{p-c9bdee4f.system.entry.js → p-376f10dd.system.entry.js} +1 -1
- package/dist/mint-components/{p-6f66bb97.system.js → p-39479fb8.system.js} +1 -1
- package/dist/mint-components/{p-b6a9c9de.entry.js → p-3a5e63e3.entry.js} +22 -22
- package/dist/mint-components/{p-9d06abb3.entry.js → p-3d71543d.entry.js} +2 -2
- package/dist/mint-components/p-41409f59.system.js +1 -0
- package/dist/mint-components/p-43601511.entry.js +1 -0
- package/dist/mint-components/p-4389e066.system.entry.js +1 -0
- package/dist/mint-components/{p-6a7cd966.system.js → p-442744e1.system.js} +1 -1
- package/dist/mint-components/{p-6cdde5e8.system.js → p-4c622397.system.js} +1 -1
- package/dist/mint-components/{p-a75748c4.js → p-4d09fcd7.js} +2 -2
- package/dist/mint-components/{p-c9ebc285.system.js → p-51c9df1e.system.js} +1 -1
- package/dist/mint-components/{p-88b65807.system.js → p-54750a6f.system.js} +1 -1
- package/dist/mint-components/{p-fd14377b.entry.js → p-54d60587.entry.js} +1 -1
- package/dist/mint-components/p-56cd9c37.system.entry.js +1 -0
- package/dist/mint-components/{p-2ff39583.entry.js → p-5827d621.entry.js} +2 -2
- package/dist/mint-components/{p-1933e4cc.system.entry.js → p-5af9c23b.system.entry.js} +1 -1
- package/dist/mint-components/{p-8fa1f8e3.entry.js → p-5c1556f7.entry.js} +1 -1
- package/dist/mint-components/{p-4639a9ed.entry.js → p-5c9ca25a.entry.js} +1 -1
- package/dist/mint-components/{p-e389aded.entry.js → p-6067884b.entry.js} +1 -1
- package/dist/mint-components/{p-2bea87fd.js → p-60c70417.js} +1 -1
- package/dist/mint-components/{p-81b63e83.system.entry.js → p-67822db9.system.entry.js} +1 -1
- package/dist/mint-components/p-68595869.system.js +1 -0
- package/dist/mint-components/{p-94f3e0a2.js → p-6b289ca6.js} +1 -1
- package/dist/mint-components/p-6b516596.system.entry.js +1 -0
- package/dist/mint-components/{p-0c81f11f.system.entry.js → p-6dcdcd41.system.entry.js} +1 -1
- package/dist/mint-components/{p-5e7e4e54.system.entry.js → p-6ecbf0ea.system.entry.js} +1 -1
- package/dist/mint-components/{p-125c5bec.js → p-6fb06499.js} +2 -2
- package/dist/mint-components/{p-bd66c171.js → p-706d264c.js} +1 -1
- package/dist/mint-components/{p-12ae9c97.entry.js → p-70be3950.entry.js} +1 -1
- package/dist/mint-components/p-71a5086d.js +107 -0
- package/dist/mint-components/{p-d08ebaa9.js → p-74a9ff43.js} +1 -1
- package/dist/mint-components/{p-8aae5dba.system.entry.js → p-7813ce35.system.entry.js} +1 -1
- package/dist/mint-components/p-787a7b1a.system.entry.js +1 -0
- package/dist/mint-components/{p-fa2edc58.js → p-78892897.js} +1 -1
- package/dist/mint-components/p-78a9b530.js +1 -0
- package/dist/mint-components/{p-6b9ff091.system.js → p-79ede698.system.js} +1 -1
- package/dist/mint-components/{p-ff1336b3.entry.js → p-7accd5e5.entry.js} +1 -1
- package/dist/mint-components/p-7cc0fcf8.system.js +1 -0
- package/dist/mint-components/{p-483c2ce0.system.entry.js → p-7e3589f8.system.entry.js} +1 -1
- package/dist/mint-components/p-7f7f259b.entry.js +1 -0
- package/dist/mint-components/p-807b9f18.js +254 -0
- package/dist/mint-components/p-8312a5a9.entry.js +11 -0
- package/dist/mint-components/{p-74f50554.js → p-83a203f4.js} +1 -1
- package/dist/mint-components/{p-1e1543c7.entry.js → p-8587e630.entry.js} +1 -1
- package/dist/mint-components/{p-8680e52b.system.js → p-85dad572.system.js} +1 -1
- package/dist/mint-components/{p-930cc94f.system.js → p-869b59b4.system.js} +1 -1
- package/dist/mint-components/{p-5b043988.system.entry.js → p-86ce6534.system.entry.js} +1 -1
- package/dist/mint-components/{p-6ccdf33a.js → p-884af2a5.js} +1 -1
- package/dist/mint-components/{p-0f65e4ad.system.js → p-899eb06c.system.js} +1 -1
- package/dist/mint-components/{p-dd82a675.system.entry.js → p-8ee09381.system.entry.js} +1 -1
- package/dist/mint-components/{p-89b410d5.system.entry.js → p-8ff1d20b.system.entry.js} +1 -1
- package/dist/mint-components/{p-6be0e0a7.system.entry.js → p-9b60d882.system.entry.js} +1 -1
- package/dist/mint-components/{p-e73e0fc4.system.js → p-9bb5076e.system.js} +1 -1
- package/dist/mint-components/{p-3104b4ba.entry.js → p-9ca18f88.entry.js} +1 -1
- package/dist/mint-components/{p-9a7b1c63.system.js → p-9ccb9494.system.js} +1 -1
- package/dist/mint-components/{p-885630e6.entry.js → p-9ec3f733.entry.js} +1 -1
- package/dist/mint-components/{p-df531a5d.entry.js → p-a116ff2c.entry.js} +1 -1
- package/dist/mint-components/{p-201ae45a.js → p-a12e40cb.js} +1 -1
- package/dist/mint-components/{p-20b90db3.system.entry.js → p-a58dc862.system.entry.js} +1 -1
- package/dist/mint-components/{p-6eb14db9.system.entry.js → p-a84cc6ce.system.entry.js} +1 -1
- package/dist/mint-components/{p-c90d06ab.entry.js → p-ab326835.entry.js} +2 -2
- package/dist/mint-components/{p-b1f880ee.entry.js → p-b0700220.entry.js} +1 -1
- package/dist/mint-components/{p-c8f697e4.system.js → p-b07f4b89.system.js} +1 -1
- package/dist/mint-components/{p-a7a74002.js → p-b961a246.js} +1 -1
- package/dist/mint-components/{p-324dd9c9.system.entry.js → p-bcfbc5d2.system.entry.js} +1 -1
- package/dist/mint-components/{p-be38ae67.js → p-bea979b4.js} +1 -1
- package/dist/mint-components/{p-0c97293e.entry.js → p-bf80d219.entry.js} +1 -1
- package/dist/mint-components/{p-49ca1533.system.entry.js → p-c41fedaf.system.entry.js} +1 -1
- package/dist/mint-components/{p-1aa5cdff.entry.js → p-c512b048.entry.js} +1 -1
- package/dist/mint-components/{p-8f67c580.js → p-c5fc2c1e.js} +1 -1
- package/dist/mint-components/{p-6a7c9ae4.system.entry.js → p-cac92bc2.system.entry.js} +1 -1
- package/dist/mint-components/{p-83330731.system.js → p-d253e8eb.system.js} +1 -1
- package/dist/mint-components/{p-89eef397.entry.js → p-d343336e.entry.js} +1 -1
- package/dist/mint-components/{p-bd1a14ba.js → p-d3b0d256.js} +1 -1
- package/dist/mint-components/{p-05715d8c.system.entry.js → p-d7aa6a0b.system.entry.js} +1 -1
- package/dist/mint-components/{p-b6f5ab75.system.entry.js → p-da5361be.system.entry.js} +1 -1
- package/dist/mint-components/{p-e9942aae.system.js → p-df75ffd2.system.js} +1 -1
- package/dist/mint-components/p-e0f614a2.entry.js +147 -0
- package/dist/mint-components/{p-9a7f186b.entry.js → p-e2e80375.entry.js} +1 -1
- package/dist/mint-components/{p-0a8c9f35.system.entry.js → p-e3c7d37e.system.entry.js} +1 -1
- package/dist/mint-components/{p-6f3ba1ad.system.js → p-e5eea3a2.system.js} +1 -1
- package/dist/mint-components/{p-9c2e286c.entry.js → p-e629e87c.entry.js} +2 -2
- package/dist/mint-components/{p-2380b28e.system.entry.js → p-e71087b8.system.entry.js} +1 -1
- package/dist/mint-components/{p-119b9680.system.js → p-e78ec46b.system.js} +1 -1
- package/dist/mint-components/{p-ce06d498.js → p-e7c7a146.js} +2 -2
- package/dist/mint-components/{p-96e332db.entry.js → p-ebc7e7a6.entry.js} +1 -1
- package/dist/mint-components/{p-388fdcdc.js → p-ecdc2ea3.js} +1 -1
- package/dist/mint-components/{p-4ea630ba.system.js → p-ed18f6a0.system.js} +1 -1
- package/dist/mint-components/p-f05c18b9.system.entry.js +1 -0
- package/dist/mint-components/{p-da6cb2c3.system.entry.js → p-f84313d7.system.entry.js} +1 -1
- package/dist/mint-components/{p-00e588d3.js → p-f9f604a7.js} +1 -1
- package/dist/mint-components/{p-863bb414.entry.js → p-fabc805a.entry.js} +1 -1
- package/dist/mint-components/{p-6708043c.entry.js → p-fbc3bd6a.entry.js} +1 -1
- package/dist/mint-components/{p-d91a97d2.js → p-fe642b83.js} +1 -1
- package/dist/mint-components/{p-8ba39302.entry.js → p-feeeee0d.entry.js} +1 -1
- package/dist/types/components/sqm-portal-frame/PortalFrame.stories.d.ts +12 -2
- package/docs/docs.docx +0 -0
- package/docs/stats.json +1862 -1861
- package/package.json +2 -2
- package/dist/esm-es5/ShadowViewAddon-0c8005bd.js +0 -1
- package/dist/esm-es5/index-b04013cc.js +0 -1
- package/dist/esm-es5/useVerificationEmail-b2c349a3.js +0 -1
- package/dist/mint-components/p-11028f98.system.js +0 -1
- package/dist/mint-components/p-14f0af4c.system.entry.js +0 -1
- package/dist/mint-components/p-162e5426.system.js +0 -1
- package/dist/mint-components/p-1b673705.system.js +0 -1
- package/dist/mint-components/p-29be0454.system.entry.js +0 -1
- package/dist/mint-components/p-3f9d4025.js +0 -254
- package/dist/mint-components/p-4d690bf1.system.js +0 -1
- package/dist/mint-components/p-610cf45c.js +0 -107
- package/dist/mint-components/p-647ffff2.entry.js +0 -1
- package/dist/mint-components/p-6cfca206.js +0 -1
- package/dist/mint-components/p-822aae93.system.entry.js +0 -1
- package/dist/mint-components/p-9755e82a.system.entry.js +0 -1
- package/dist/mint-components/p-9c9cee02.system.entry.js +0 -1
- package/dist/mint-components/p-9d6ef5ca.entry.js +0 -11
- package/dist/mint-components/p-a40e05d2.system.entry.js +0 -1
- package/dist/mint-components/p-a976d930.system.entry.js +0 -1
- package/dist/mint-components/p-aaf15612.entry.js +0 -1
- package/dist/mint-components/p-af8833df.entry.js +0 -147
- package/dist/mint-components/p-c3a07f51.entry.js +0 -1
- package/dist/mint-components/p-e38b09a0.system.entry.js +0 -1
|
@@ -1,53 +1,20 @@
|
|
|
1
1
|
import { setProgramId } from "@saasquatch/component-boilerplate";
|
|
2
|
-
import { setUserIdentity, } from "@saasquatch/component-boilerplate";
|
|
3
|
-
import { useEffect } from "@saasquatch/universal-hooks";
|
|
4
2
|
import { h } from "@stencil/core";
|
|
5
3
|
import { createHookStory } from "../sqm-stencilbook/HookStoryAddon";
|
|
4
|
+
import { useCannedEnvironment } from "@saasquatch/component-boilerplate/canned";
|
|
6
5
|
export default {
|
|
7
6
|
title: "Hooks / useReferralTable",
|
|
8
7
|
};
|
|
9
8
|
function setupGraphQL() {
|
|
10
9
|
const id = "testestest";
|
|
11
10
|
const accountId = id;
|
|
12
|
-
|
|
13
|
-
window.widgetIdent = {
|
|
14
|
-
tenantAlias: "test_a8b41jotf8a1v",
|
|
15
|
-
appDomain: "https://staging.referralsaasquatch.com",
|
|
16
|
-
// programId,
|
|
17
|
-
};
|
|
18
|
-
useEffect(() => {
|
|
19
|
-
setUserIdentity({
|
|
20
|
-
accountId,
|
|
21
|
-
id,
|
|
22
|
-
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
23
|
-
});
|
|
24
|
-
return () => {
|
|
25
|
-
window.widgetIdent = undefined;
|
|
26
|
-
setUserIdentity(undefined);
|
|
27
|
-
};
|
|
28
|
-
}, []);
|
|
11
|
+
useCannedEnvironment({ user: { id, accountId } });
|
|
29
12
|
return { id, accountId };
|
|
30
13
|
}
|
|
31
|
-
function setupGraphQLKlip({
|
|
14
|
+
function setupGraphQLKlip({ id, locale }) {
|
|
32
15
|
const accountId = id;
|
|
33
16
|
// const programId = "klip-referral-program";
|
|
34
|
-
|
|
35
|
-
window.widgetIdent = {
|
|
36
|
-
tenantAlias: "test_a74miwdpofztj",
|
|
37
|
-
appDomain: "https://staging.referralsaasquatch.com",
|
|
38
|
-
// programId,
|
|
39
|
-
};
|
|
40
|
-
useEffect(() => {
|
|
41
|
-
setUserIdentity({
|
|
42
|
-
accountId,
|
|
43
|
-
id,
|
|
44
|
-
jwt: token,
|
|
45
|
-
});
|
|
46
|
-
return () => {
|
|
47
|
-
window.widgetIdent = undefined;
|
|
48
|
-
setUserIdentity(undefined);
|
|
49
|
-
};
|
|
50
|
-
}, []);
|
|
17
|
+
useCannedEnvironment({ user: { id, accountId }, widgetIdent: { locale } });
|
|
51
18
|
return { id, accountId };
|
|
52
19
|
}
|
|
53
20
|
export const ReferralTable = createHookStory(() => {
|
|
@@ -85,8 +52,8 @@ export const ReferralTableDemoHookShowReferrer = createHookStory(() => {
|
|
|
85
52
|
});
|
|
86
53
|
export const ReferralTableEn = createHookStory(() => {
|
|
87
54
|
setupGraphQLKlip({
|
|
88
|
-
token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWVuZ2xpc2giLCJpZCI6InNhbWVuZ2xpc2gifX0._6OTVF3gcipu_ibgthUNr5UHwC-2E_lhCENI5HpYvcw",
|
|
89
55
|
id: "samenglish",
|
|
56
|
+
locale: "en",
|
|
90
57
|
});
|
|
91
58
|
setProgramId("klip-referral-program");
|
|
92
59
|
const props = {
|
|
@@ -99,8 +66,8 @@ export const ReferralTableEn = createHookStory(() => {
|
|
|
99
66
|
});
|
|
100
67
|
export const ReferralTableTr = createHookStory(() => {
|
|
101
68
|
setupGraphQLKlip({
|
|
102
|
-
token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbXR1cmtleSIsImlkIjoic2FtdHVya2V5In19.usSMe0RWg8W5FtwcvJayvAlxTw6vMxjTyWXaP8jI8_U",
|
|
103
69
|
id: "samturkey",
|
|
70
|
+
locale: "tr",
|
|
104
71
|
});
|
|
105
72
|
setProgramId("klip-referral-program");
|
|
106
73
|
const props = {
|
|
@@ -113,8 +80,8 @@ export const ReferralTableTr = createHookStory(() => {
|
|
|
113
80
|
});
|
|
114
81
|
export const ReferralTableFr = createHookStory(() => {
|
|
115
82
|
setupGraphQLKlip({
|
|
116
|
-
token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWZyZW5jaCIsImlkIjoic2FtZnJlbmNoIn19.cwhasHpfU5MLV4vGbCQcazb6p19iSw5pD2zyrVHgePg",
|
|
117
83
|
id: "samfrench",
|
|
84
|
+
locale: "fr",
|
|
118
85
|
});
|
|
119
86
|
setProgramId("klip-referral-program");
|
|
120
87
|
const props = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isDemo, setUserIdentity } from "@saasquatch/component-boilerplate";
|
|
1
|
+
import { fakeJwt, isDemo, setUserIdentity, } from "@saasquatch/component-boilerplate";
|
|
2
2
|
import { withHooks } from "@saasquatch/stencil-hooks";
|
|
3
3
|
import { h } from "@stencil/core";
|
|
4
4
|
import { demoMerge } from "../../utils/demoMerge";
|
|
@@ -552,7 +552,9 @@ function useRegistrationDemo(props) {
|
|
|
552
552
|
setUserIdentity({
|
|
553
553
|
id: "referrer@example.com",
|
|
554
554
|
accountId: "referrer@example.com",
|
|
555
|
-
jwt:
|
|
555
|
+
jwt: fakeJwt({
|
|
556
|
+
user: { id: "referrer@example.com", accountId: "referrer@example.com" },
|
|
557
|
+
}),
|
|
556
558
|
});
|
|
557
559
|
};
|
|
558
560
|
return demoMerge({
|
package/dist/collection/components/sqm-reward-exchange-list/UseRewardExchangeList.stories.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { useLazyQuery, } from "@saasquatch/component-boilerplate";
|
|
2
|
+
import { useState } from "@saasquatch/universal-hooks";
|
|
3
3
|
import { h } from "@stencil/core";
|
|
4
4
|
import { gql } from "graphql-request";
|
|
5
5
|
import { createHookStory } from "../sqm-stencilbook/HookStoryAddon";
|
|
6
|
+
import { useCannedEnvironment } from "@saasquatch/component-boilerplate/canned";
|
|
6
7
|
const EXCHANGE = gql `
|
|
7
8
|
mutation exchange($exchangeRewardInput: ExchangeRewardInput!) {
|
|
8
9
|
exchangeReward(exchangeRewardInput: $exchangeRewardInput) {
|
|
@@ -19,23 +20,7 @@ function setupGraphQL() {
|
|
|
19
20
|
const id = "testestest";
|
|
20
21
|
const accountId = id;
|
|
21
22
|
const programId = "sam-partner-test-2";
|
|
22
|
-
|
|
23
|
-
window.widgetIdent = {
|
|
24
|
-
tenantAlias: "test_a8b41jotf8a1v",
|
|
25
|
-
appDomain: "https://staging.referralsaasquatch.com",
|
|
26
|
-
programId,
|
|
27
|
-
};
|
|
28
|
-
useEffect(() => {
|
|
29
|
-
setUserIdentity({
|
|
30
|
-
accountId,
|
|
31
|
-
id,
|
|
32
|
-
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
33
|
-
});
|
|
34
|
-
return () => {
|
|
35
|
-
window.widgetIdent = undefined;
|
|
36
|
-
setUserIdentity(undefined);
|
|
37
|
-
};
|
|
38
|
-
}, []);
|
|
23
|
+
useCannedEnvironment({ programId, user: { id, accountId } });
|
|
39
24
|
return { id, accountId };
|
|
40
25
|
}
|
|
41
26
|
function useExchangeButton() {
|
|
@@ -1,53 +1,20 @@
|
|
|
1
1
|
import { setProgramId } from "@saasquatch/component-boilerplate";
|
|
2
|
-
import { setUserIdentity, } from "@saasquatch/component-boilerplate";
|
|
3
|
-
import { useEffect } from "@saasquatch/universal-hooks";
|
|
4
2
|
import { h } from "@stencil/core";
|
|
5
3
|
import { createHookStory } from "../sqm-stencilbook/HookStoryAddon";
|
|
4
|
+
import { useCannedEnvironment } from "@saasquatch/component-boilerplate/canned";
|
|
6
5
|
export default {
|
|
7
6
|
title: "Hooks / useRewardsTable",
|
|
8
7
|
};
|
|
9
8
|
function setupGraphQL() {
|
|
10
9
|
const id = "testestest";
|
|
11
10
|
const accountId = id;
|
|
12
|
-
|
|
13
|
-
window.widgetIdent = {
|
|
14
|
-
tenantAlias: "test_a8b41jotf8a1v",
|
|
15
|
-
appDomain: "https://staging.referralsaasquatch.com",
|
|
16
|
-
// programId,
|
|
17
|
-
};
|
|
18
|
-
useEffect(() => {
|
|
19
|
-
setUserIdentity({
|
|
20
|
-
accountId,
|
|
21
|
-
id,
|
|
22
|
-
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
23
|
-
});
|
|
24
|
-
return () => {
|
|
25
|
-
window.widgetIdent = undefined;
|
|
26
|
-
setUserIdentity(undefined);
|
|
27
|
-
};
|
|
28
|
-
}, []);
|
|
11
|
+
useCannedEnvironment({ user: { id, accountId } });
|
|
29
12
|
return { id, accountId };
|
|
30
13
|
}
|
|
31
|
-
function setupGraphQLKlip({
|
|
14
|
+
function setupGraphQLKlip({ id, locale }) {
|
|
32
15
|
const accountId = id;
|
|
33
16
|
// const programId = "klip-referral-program";
|
|
34
|
-
|
|
35
|
-
window.widgetIdent = {
|
|
36
|
-
tenantAlias: "test_a74miwdpofztj",
|
|
37
|
-
appDomain: "https://staging.referralsaasquatch.com",
|
|
38
|
-
// programId,
|
|
39
|
-
};
|
|
40
|
-
useEffect(() => {
|
|
41
|
-
setUserIdentity({
|
|
42
|
-
accountId,
|
|
43
|
-
id,
|
|
44
|
-
jwt: token,
|
|
45
|
-
});
|
|
46
|
-
return () => {
|
|
47
|
-
window.widgetIdent = undefined;
|
|
48
|
-
setUserIdentity(undefined);
|
|
49
|
-
};
|
|
50
|
-
}, []);
|
|
17
|
+
useCannedEnvironment({ user: { id, accountId }, widgetIdent: { locale } });
|
|
51
18
|
return { id, accountId };
|
|
52
19
|
}
|
|
53
20
|
export const RewardTableDemoHook = createHookStory(() => {
|
|
@@ -85,8 +52,8 @@ export const RewardsTableNoProgram = createHookStory(() => {
|
|
|
85
52
|
});
|
|
86
53
|
export const RewardsTableEn = createHookStory(() => {
|
|
87
54
|
setupGraphQLKlip({
|
|
88
|
-
token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWVuZ2xpc2giLCJpZCI6InNhbWVuZ2xpc2gifX0._6OTVF3gcipu_ibgthUNr5UHwC-2E_lhCENI5HpYvcw",
|
|
89
55
|
id: "samenglish",
|
|
56
|
+
locale: "en",
|
|
90
57
|
});
|
|
91
58
|
setProgramId(undefined);
|
|
92
59
|
const props = {
|
|
@@ -99,8 +66,8 @@ export const RewardsTableEn = createHookStory(() => {
|
|
|
99
66
|
});
|
|
100
67
|
export const RewardsTableTr = createHookStory(() => {
|
|
101
68
|
setupGraphQLKlip({
|
|
102
|
-
token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbXR1cmtleSIsImlkIjoic2FtdHVya2V5In19.usSMe0RWg8W5FtwcvJayvAlxTw6vMxjTyWXaP8jI8_U",
|
|
103
69
|
id: "samturkey",
|
|
70
|
+
locale: "tr",
|
|
104
71
|
});
|
|
105
72
|
setProgramId(undefined);
|
|
106
73
|
const props = {
|
|
@@ -113,8 +80,8 @@ export const RewardsTableTr = createHookStory(() => {
|
|
|
113
80
|
});
|
|
114
81
|
export const RewardsTableFr = createHookStory(() => {
|
|
115
82
|
setupGraphQLKlip({
|
|
116
|
-
token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWZyZW5jaCIsImlkIjoic2FtZnJlbmNoIn19.cwhasHpfU5MLV4vGbCQcazb6p19iSw5pD2zyrVHgePg",
|
|
117
83
|
id: "samfrench",
|
|
84
|
+
locale: "fr",
|
|
118
85
|
});
|
|
119
86
|
setProgramId(undefined);
|
|
120
87
|
const props = {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { setUserIdentity } from "@saasquatch/component-boilerplate";
|
|
2
|
-
import { useEffect } from "@saasquatch/universal-hooks";
|
|
3
1
|
import { h } from "@stencil/core";
|
|
4
2
|
import { useShareButton } from "./useShareButton";
|
|
5
3
|
import { createHookStory } from "../sqm-stencilbook/HookStoryAddon";
|
|
4
|
+
import { useCannedEnvironment } from "@saasquatch/component-boilerplate/canned";
|
|
6
5
|
export default {
|
|
7
6
|
title: "Hooks / useShareButton",
|
|
8
7
|
};
|
|
@@ -10,23 +9,7 @@ function setupGraphQL() {
|
|
|
10
9
|
const id = "testestest";
|
|
11
10
|
const accountId = id;
|
|
12
11
|
const programId = "sam-partner-test-2";
|
|
13
|
-
|
|
14
|
-
window.widgetIdent = {
|
|
15
|
-
tenantAlias: "test_a8b41jotf8a1v",
|
|
16
|
-
appDomain: "https://staging.referralsaasquatch.com",
|
|
17
|
-
programId,
|
|
18
|
-
};
|
|
19
|
-
useEffect(() => {
|
|
20
|
-
setUserIdentity({
|
|
21
|
-
accountId,
|
|
22
|
-
id,
|
|
23
|
-
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
24
|
-
});
|
|
25
|
-
return () => {
|
|
26
|
-
window.widgetIdent = undefined;
|
|
27
|
-
setUserIdentity(undefined);
|
|
28
|
-
};
|
|
29
|
-
}, []);
|
|
12
|
+
useCannedEnvironment({ programId, user: { id, accountId } });
|
|
30
13
|
}
|
|
31
14
|
export const BareBonesView = createHookStory(() => {
|
|
32
15
|
setupGraphQL();
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { setUserIdentity } from "@saasquatch/component-boilerplate";
|
|
2
|
-
import { useEffect } from "@saasquatch/universal-hooks";
|
|
3
1
|
import { h } from "@stencil/core";
|
|
4
2
|
import { ShareLinkView } from "./sqm-share-link-view";
|
|
5
3
|
import { useShareLink } from "./useShareLink";
|
|
6
4
|
import { createHookStory } from "../sqm-stencilbook/HookStoryAddon";
|
|
5
|
+
import { useCannedEnvironment } from "@saasquatch/component-boilerplate/canned";
|
|
7
6
|
export default {
|
|
8
7
|
title: "Hooks / useShareLink",
|
|
9
8
|
};
|
|
@@ -11,23 +10,7 @@ function setupGraphQL() {
|
|
|
11
10
|
const id = "zach.harrison@referralsaasquatch.com";
|
|
12
11
|
const accountId = id;
|
|
13
12
|
const programId = "klip-referral-program";
|
|
14
|
-
|
|
15
|
-
window.widgetIdent = {
|
|
16
|
-
tenantAlias: "test_a74miwdpofztj",
|
|
17
|
-
appDomain: "https://staging.referralsaasquatch.com",
|
|
18
|
-
programId,
|
|
19
|
-
};
|
|
20
|
-
useEffect(() => {
|
|
21
|
-
setUserIdentity({
|
|
22
|
-
accountId,
|
|
23
|
-
id,
|
|
24
|
-
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImlkIjoiemFjaC5oYXJyaXNvbkByZWZlcnJhbHNhYXNxdWF0Y2guY29tIiwiYWNjb3VudElkIjoiemFjaC5oYXJyaXNvbkByZWZlcnJhbHNhYXNxdWF0Y2guY29tIn19.Wi8Vd5r64g5n8VNhiY-v5cqFcLwGxPG3Wi3dVSfkFZI",
|
|
25
|
-
});
|
|
26
|
-
return () => {
|
|
27
|
-
window.widgetIdent = undefined;
|
|
28
|
-
setUserIdentity(undefined);
|
|
29
|
-
};
|
|
30
|
-
}, []);
|
|
13
|
+
useCannedEnvironment({ programId, user: { id, accountId } });
|
|
31
14
|
}
|
|
32
15
|
export const BareBonesView = createHookStory(() => {
|
|
33
16
|
setupGraphQL();
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { setUserIdentity } from "@saasquatch/component-boilerplate";
|
|
2
|
-
import { useEffect } from "@saasquatch/universal-hooks";
|
|
3
1
|
import { h } from "@stencil/core";
|
|
4
2
|
import { createHookStory } from "../sqm-stencilbook/HookStoryAddon";
|
|
5
|
-
|
|
3
|
+
import { useCannedEnvironment } from "@saasquatch/component-boilerplate/canned";
|
|
6
4
|
export default {
|
|
7
5
|
title: "Hooks / useTaskCard",
|
|
8
6
|
};
|
|
@@ -10,23 +8,7 @@ function setupGraphQL() {
|
|
|
10
8
|
const id = "sam+klip@saasquat.ch";
|
|
11
9
|
const accountId = id;
|
|
12
10
|
const programId = "klip-referral-program";
|
|
13
|
-
|
|
14
|
-
window.widgetIdent = {
|
|
15
|
-
tenantAlias: "test_a74miwdpofztj",
|
|
16
|
-
appDomain: "https://staging.referralsaasquatch.com",
|
|
17
|
-
programId,
|
|
18
|
-
};
|
|
19
|
-
useEffect(() => {
|
|
20
|
-
setUserIdentity({
|
|
21
|
-
accountId,
|
|
22
|
-
id,
|
|
23
|
-
jwt: JWT,
|
|
24
|
-
});
|
|
25
|
-
return () => {
|
|
26
|
-
window.widgetIdent = undefined;
|
|
27
|
-
setUserIdentity(undefined);
|
|
28
|
-
};
|
|
29
|
-
}, []);
|
|
11
|
+
useCannedEnvironment({ programId, user: { id, accountId } });
|
|
30
12
|
return { id, accountId };
|
|
31
13
|
}
|
|
32
14
|
export const TaskCard = createHookStory(() => {
|
|
@@ -5,16 +5,16 @@ import { a as PortalSectionView, P as PortalContainerView } from './sqm-portal-c
|
|
|
5
5
|
import { T as TextSpanView } from './sqm-text-span-view-ed92b3c6.js';
|
|
6
6
|
import { b as browser, u as useMemo, k as useState, m as useRef } from './dom-context-hooks.module-f88a3e54.js';
|
|
7
7
|
import { d as demoMerge } from './demoMerge-a0320a8e.js';
|
|
8
|
-
import { u as useChildElements } from './useChildElements-
|
|
9
|
-
import { a as useProgramId, v as useLocale, b as useUserIdentity, d as dist, e as useQuery, c as useEngagementMedium, u as useParentValue, f as useMutation, g as getEnvironmentSDK,
|
|
8
|
+
import { u as useChildElements } from './useChildElements-18bd6080.js';
|
|
9
|
+
import { a as useProgramId, v as useLocale, b as useUserIdentity, d as dist, e as useQuery, c as useEngagementMedium, u as useParentValue, f as useMutation, g as getEnvironmentSDK, a7 as useLazyQuery, h as useRefreshDispatcher } from './index-ebb35768.js';
|
|
10
10
|
import { p as pathToRegexp } from './index-e6f5153e.js';
|
|
11
11
|
import { l as luxon } from './luxon-40b943cb.js';
|
|
12
|
-
import { i as intl } from './global-
|
|
12
|
+
import { i as intl } from './global-11396707.js';
|
|
13
13
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
14
14
|
import { C as CopyTextView } from './copy-text-view-e1c3f2cd.js';
|
|
15
|
-
import { a as isValidColor, b as isMobile } from './utilities-
|
|
15
|
+
import { a as isValidColor, b as isMobile } from './utilities-937c375d.js';
|
|
16
16
|
import { o as optimizeCloudinaryUrl } from './imageUrl-4775f17b.js';
|
|
17
|
-
import { a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED } from './useReferralCodes-
|
|
17
|
+
import { a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED } from './useReferralCodes-d1706a4b.js';
|
|
18
18
|
|
|
19
19
|
function BigStatView(props) {
|
|
20
20
|
const { statvalue, flexReverse, alignment, statTextColor, statFontSize, descriptionTextColor, descriptionFontSize, statFontWeight, } = props;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as getAugmentedNamespace, c as createCommonjsModule, a as commonjsGlobal, b as browser, l as l$1 } from './dom-context-hooks.module-f88a3e54.js';
|
|
2
|
-
import { s as setImplementation, g as getEnvironmentSDK } from './index-
|
|
2
|
+
import { s as setImplementation, g as getEnvironmentSDK } from './index-ebb35768.js';
|
|
3
3
|
|
|
4
4
|
/* @generated */
|
|
5
5
|
// prettier-ignore
|