@saasquatch/mint-components 1.6.8-0 → 1.6.8-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{GenericTableView-9271483b.js → GenericTableView-380b83e2.js} +7 -2
- package/dist/cjs/{ShadowViewAddon-2d3ef919.js → ShadowViewAddon-7a412c0b.js} +139 -57
- package/dist/cjs/{sqm-passwordless-registration-view-60f25a41.js → email-registration-view-a483578e.js} +7 -6
- package/dist/cjs/{global-3ebda209.js → global-ea52ea30.js} +10 -161
- package/dist/cjs/{index.module-30d74cb5.js → index.module-bd6e817a.js} +36 -23
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{luxon-1b6e7276.js → luxon-53e983a6.js} +1 -1
- package/dist/cjs/mint-components.cjs.js +5 -5
- package/dist/cjs/{re-render-6963789e.js → re-render-1d12dfdd.js} +2 -2
- package/dist/cjs/{sqm-asset-card-view-59c39ed2.js → sqm-asset-card-view-79099616.js} +2 -2
- package/dist/cjs/sqm-asset-card.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-big-stat_36.cjs.entry.js → sqm-big-stat_37.cjs.entry.js} +191 -83
- package/dist/cjs/sqm-empty_5.cjs.entry.js +7 -7
- package/dist/cjs/sqm-form-message.cjs.entry.js +2 -2
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +4 -4
- package/dist/cjs/sqm-header-logo.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-hero-view-201fca7e.js → sqm-hero-view-ddd1ef43.js} +6 -6
- package/dist/cjs/sqm-hero.cjs.entry.js +4 -4
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +9 -10
- package/dist/cjs/sqm-link-button-view-8b446852.js +27 -0
- package/dist/cjs/sqm-link-button.cjs.entry.js +23 -0
- package/dist/cjs/{sqm-navigation-sidebar-item-view-9bba2bad.js → sqm-navigation-sidebar-item-view-91d9d7b5.js} +3 -3
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-navigation-sidebar-view-2da83d3b.js → sqm-navigation-sidebar-view-b830e8d8.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +5 -5
- package/dist/cjs/sqm-password-field.cjs.entry.js +6 -6
- package/dist/cjs/sqm-passwordless-registration.cjs.entry.js +19 -54
- package/dist/cjs/sqm-popup-container.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-portal-container-view-ec1be9eb.js → sqm-portal-container-view-6accb54a.js} +2 -2
- package/dist/cjs/{sqm-portal-email-verification-view-e834e79c.js → sqm-portal-email-verification-view-7e795920.js} +2 -2
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +7 -7
- package/dist/cjs/{sqm-portal-forgot-password-view-a3573ade.js → sqm-portal-forgot-password-view-f73bb724.js} +2 -2
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +7 -7
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-portal-profile-view-c143c506.js → sqm-portal-profile-view-7c290eed.js} +3 -3
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +12 -13
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +9 -10
- package/dist/cjs/{sqm-portal-reset-password-view-a5d48909.js → sqm-portal-reset-password-view-e182df83.js} +1 -1
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +7 -7
- package/dist/cjs/{sqm-portal-verify-email-view-9657cc0c.js → sqm-portal-verify-email-view-fd739843.js} +2 -2
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +6 -6
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +25 -26
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +83 -0
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +3 -3
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +5 -5
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +60 -61
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +4241 -4109
- package/dist/cjs/sqm-tab.cjs.entry.js +5 -5
- package/dist/cjs/sqm-tabs.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-text-span-view-1acdf7e9.js → sqm-text-span-view-3c734dbb.js} +1 -1
- package/dist/cjs/sqm-text-span.cjs.entry.js +3 -3
- package/dist/cjs/sqm-user-identifier-view-69b42b84.js +28 -0
- package/dist/cjs/sqm-user-identifier.cjs.entry.js +11 -38
- package/dist/cjs/{stencil-hooks.module-5344b631.js → stencil-hooks.module-e4bf7f2d.js} +4 -1
- package/dist/cjs/{use-callback-05714e23.js → use-callback-86e9ac75.js} +1 -1
- package/dist/cjs/{useChildElements-161457a6.js → useChildElements-0a6ccd0f.js} +2 -2
- package/dist/cjs/usePasswordlessRegistration-9105faa4.js +47 -0
- package/dist/cjs/{useReferralTable-e933351b.js → useReferralTable-259fc04d.js} +13 -14
- package/dist/cjs/{useRegistrationFormState-5f21a453.js → useRegistrationFormState-ed30c0e6.js} +2 -2
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/sqm-asset-card/sqm-asset-card-view.js +2 -2
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +1 -1
- package/dist/collection/components/sqm-coupon-code/CouponCode.stories.js +10 -0
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +57 -1
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +1 -1
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field-view.js +1 -1
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +4 -4
- package/dist/collection/components/sqm-empty/sqm-empty-view.js +1 -1
- package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +1 -1
- package/dist/collection/components/sqm-hero/sqm-hero-view.js +4 -4
- package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +7 -7
- package/dist/collection/components/sqm-image/sqm-image-view.js +1 -1
- package/dist/collection/components/sqm-input-field/sqm-input-field-view.js +1 -1
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +2 -2
- package/dist/collection/components/sqm-link-button/LinkButton.stories.js +20 -0
- package/dist/collection/components/sqm-link-button/sqm-link-button-view.js +22 -0
- package/dist/collection/components/sqm-link-button/sqm-link-button.js +68 -0
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +2 -2
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.js +2 -2
- package/dist/collection/components/sqm-password-field/sqm-password-field-view.js +1 -1
- package/dist/collection/components/sqm-passwordless-registration/sqm-passwordless-registration.js +17 -37
- package/dist/collection/components/sqm-passwordless-registration/usePasswordlessRegistration.js +6 -2
- package/dist/collection/components/sqm-popup-container/sqm-popup-container-view.js +2 -2
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +1 -1
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.js +1 -1
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +3 -3
- package/dist/collection/components/sqm-portal-login/sqm-portal-login-view.js +2 -2
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +1 -1
- package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +1 -1
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +1 -1
- package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email-view.js +1 -1
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer-view.js +3 -3
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +4 -4
- package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +12 -0
- package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +17 -7
- package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +3 -1
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +7 -7
- package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +241 -0
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +6 -6
- package/dist/collection/components/sqm-share-code/ShareCode.stories.js +18 -3
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +57 -1
- package/dist/collection/components/sqm-share-link/ShareLink.stories.js +15 -1
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +57 -1
- package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +3 -3
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +6 -2
- package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +1 -1
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +1 -1
- package/dist/collection/components/sqm-titled-section/sqm-portal-section-view.js +2 -2
- package/dist/collection/components/sqm-user-identifier/UserIdentifier.stories.js +9 -18
- package/dist/collection/components/sqm-user-identifier/sqm-user-identifier-view.js +17 -26
- package/dist/collection/components/sqm-user-identifier/sqm-user-identifier.js +31 -61
- package/dist/collection/components/views/EmailRegistration.stories.js +31 -0
- package/dist/collection/components/views/copy-text-view.js +8 -1
- package/dist/collection/components/{sqm-passwordless-registration/sqm-passwordless-registration-view.js → views/email-registration-view.js} +6 -5
- package/dist/collection/stories/PortalTemplates.stories.js +1 -1
- package/dist/collection/stories/Widget.stories.js +21 -0
- package/dist/collection/tables/GenericTableView.js +7 -2
- package/dist/esm/{GenericTableView-ce26115f.js → GenericTableView-266126f9.js} +7 -2
- package/dist/esm/{ShadowViewAddon-e57c3d40.js → ShadowViewAddon-ca765d5e.js} +121 -41
- package/dist/esm/{sqm-passwordless-registration-view-dcd145d6.js → email-registration-view-0ed79e24.js} +7 -6
- package/dist/esm/{global-4bd89b1d.js → global-0f137e54.js} +10 -161
- package/dist/esm/{index.module-5043fba6.js → index.module-787e5d35.js} +29 -19
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{luxon-dccb73bb.js → luxon-1e38d7f1.js} +1 -1
- package/dist/esm/mint-components.js +5 -5
- package/dist/esm/{re-render-a3c1732f.js → re-render-54bb3e32.js} +2 -2
- package/dist/esm/{sqm-asset-card-view-b0f8ef8e.js → sqm-asset-card-view-b2ac5a23.js} +2 -2
- package/dist/esm/sqm-asset-card.entry.js +4 -4
- package/dist/esm/{sqm-big-stat_36.entry.js → sqm-big-stat_37.entry.js} +144 -37
- package/dist/esm/sqm-empty_5.entry.js +4 -4
- package/dist/esm/sqm-form-message.entry.js +1 -1
- package/dist/esm/sqm-graphql-client-provider.entry.js +3 -3
- package/dist/esm/sqm-header-logo.entry.js +2 -2
- package/dist/esm/{sqm-hero-view-27de6b06.js → sqm-hero-view-875c927d.js} +6 -6
- package/dist/esm/sqm-hero.entry.js +3 -3
- package/dist/esm/sqm-leaderboard-rank.entry.js +4 -5
- package/dist/esm/sqm-link-button-view-8d9ad936.js +25 -0
- package/dist/esm/sqm-link-button.entry.js +19 -0
- package/dist/esm/{sqm-navigation-sidebar-item-view-d63373b2.js → sqm-navigation-sidebar-item-view-ee402e54.js} +3 -3
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +4 -4
- package/dist/esm/{sqm-navigation-sidebar-view-74ad47d4.js → sqm-navigation-sidebar-view-feb719ce.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar.entry.js +4 -4
- package/dist/esm/sqm-password-field.entry.js +5 -5
- package/dist/esm/sqm-passwordless-registration.entry.js +17 -52
- package/dist/esm/sqm-popup-container.entry.js +5 -5
- package/dist/esm/{sqm-portal-container-view-06bce80d.js → sqm-portal-container-view-83b417f0.js} +2 -2
- package/dist/esm/{sqm-portal-email-verification-view-9c993283.js → sqm-portal-email-verification-view-727bbfd9.js} +2 -2
- package/dist/esm/sqm-portal-email-verification.entry.js +6 -6
- package/dist/esm/{sqm-portal-forgot-password-view-37bafb1c.js → sqm-portal-forgot-password-view-9970dee2.js} +2 -2
- package/dist/esm/sqm-portal-forgot-password.entry.js +6 -6
- package/dist/esm/sqm-portal-logout.entry.js +3 -3
- package/dist/esm/{sqm-portal-profile-view-0b4315c2.js → sqm-portal-profile-view-1f2b6063.js} +3 -3
- package/dist/esm/sqm-portal-profile.entry.js +6 -7
- package/dist/esm/sqm-portal-protected-route.entry.js +3 -3
- package/dist/esm/sqm-portal-registration-form.entry.js +7 -8
- package/dist/esm/{sqm-portal-reset-password-view-2b9da683.js → sqm-portal-reset-password-view-1f0f3bf8.js} +1 -1
- package/dist/esm/sqm-portal-reset-password.entry.js +6 -6
- package/dist/esm/{sqm-portal-verify-email-view-e3e39501.js → sqm-portal-verify-email-view-8d453021.js} +2 -2
- package/dist/esm/sqm-portal-verify-email.entry.js +5 -5
- package/dist/esm/sqm-referral-table_11.entry.js +17 -18
- package/dist/esm/sqm-referred-registration.entry.js +79 -0
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +2 -2
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
- package/dist/esm/sqm-rewards-table_9.entry.js +9 -10
- package/dist/esm/sqm-stencilbook.entry.js +4231 -4099
- package/dist/esm/sqm-tab.entry.js +4 -4
- package/dist/esm/sqm-tabs.entry.js +5 -5
- package/dist/esm/{sqm-text-span-view-b03a3c6d.js → sqm-text-span-view-2f7d6d14.js} +1 -1
- package/dist/esm/sqm-text-span.entry.js +2 -2
- package/dist/esm/sqm-user-identifier-view-379c773f.js +26 -0
- package/dist/esm/sqm-user-identifier.entry.js +12 -39
- package/dist/esm/{stencil-hooks.module-6bde7453.js → stencil-hooks.module-b48b45ec.js} +1 -1
- package/dist/esm/{use-callback-c5579ecb.js → use-callback-051c06c6.js} +1 -1
- package/dist/esm/{useChildElements-a68649fd.js → useChildElements-0124b1a9.js} +2 -2
- package/dist/esm/usePasswordlessRegistration-2381025b.js +45 -0
- package/dist/esm/{useReferralTable-6c6c06cb.js → useReferralTable-3024490c.js} +5 -6
- package/dist/esm/{useRegistrationFormState-97f39def.js → useRegistrationFormState-3c2c2f1b.js} +2 -2
- package/dist/esm-es5/GenericTableView-266126f9.js +1 -0
- package/dist/esm-es5/ShadowViewAddon-ca765d5e.js +1 -0
- package/dist/esm-es5/email-registration-view-0ed79e24.js +1 -0
- package/dist/esm-es5/global-0f137e54.js +285 -0
- package/dist/esm-es5/index.module-787e5d35.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-dccb73bb.js → luxon-1e38d7f1.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-a3c1732f.js → re-render-54bb3e32.js} +1 -1
- package/dist/esm-es5/sqm-asset-card-view-b2ac5a23.js +1 -0
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_37.entry.js +1 -0
- package/dist/esm-es5/sqm-empty_5.entry.js +1 -1
- package/dist/esm-es5/sqm-form-message.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
- package/dist/esm-es5/{sqm-hero-view-27de6b06.js → sqm-hero-view-875c927d.js} +1 -1
- package/dist/esm-es5/sqm-hero.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-link-button-view-8d9ad936.js +1 -0
- package/dist/esm-es5/sqm-link-button.entry.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-ee402e54.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-view-74ad47d4.js → sqm-navigation-sidebar-view-feb719ce.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-passwordless-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-container-view-83b417f0.js +1 -0
- package/dist/esm-es5/{sqm-portal-email-verification-view-9c993283.js → sqm-portal-email-verification-view-727bbfd9.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password-view-9970dee2.js +1 -0
- 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-1f2b6063.js +1 -0
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-2b9da683.js → sqm-portal-reset-password-view-1f0f3bf8.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-verify-email-view-8d453021.js +1 -0
- 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 -0
- package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tab.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/{sqm-text-span-view-b03a3c6d.js → sqm-text-span-view-2f7d6d14.js} +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/sqm-user-identifier-view-379c773f.js +1 -0
- package/dist/esm-es5/sqm-user-identifier.entry.js +1 -1
- package/dist/esm-es5/{stencil-hooks.module-6bde7453.js → stencil-hooks.module-b48b45ec.js} +1 -1
- package/dist/esm-es5/use-callback-051c06c6.js +1 -0
- package/dist/esm-es5/{useChildElements-a68649fd.js → useChildElements-0124b1a9.js} +1 -1
- package/dist/esm-es5/usePasswordlessRegistration-2381025b.js +1 -0
- package/dist/esm-es5/useReferralTable-3024490c.js +1 -0
- package/dist/esm-es5/{useRegistrationFormState-97f39def.js → useRegistrationFormState-3c2c2f1b.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-9dce9be7.system.entry.js → p-01bd9ae1.system.entry.js} +1 -1
- package/dist/mint-components/p-03ad8655.js +1 -0
- package/dist/mint-components/p-05abfc50.system.entry.js +1 -0
- package/dist/mint-components/p-085290c7.system.entry.js +1 -0
- package/dist/mint-components/p-0eddbe09.entry.js +1 -0
- package/dist/mint-components/p-1069832a.entry.js +1 -0
- package/dist/mint-components/{p-fbc2343f.system.js → p-15cfd2cf.system.js} +22 -22
- package/dist/mint-components/p-19cecf43.entry.js +1 -0
- package/dist/mint-components/p-1b9c1909.entry.js +1 -0
- package/dist/mint-components/p-1bf9875f.entry.js +1 -0
- package/dist/mint-components/p-1f54fd38.system.js +1 -0
- package/dist/mint-components/{p-d566db0b.js → p-25254dd1.js} +1 -1
- package/dist/mint-components/p-25ce265e.entry.js +13 -0
- package/dist/mint-components/p-26117a7d.system.js +1 -0
- package/dist/mint-components/p-27c9d3be.system.entry.js +1 -0
- package/dist/mint-components/p-2a7686a6.system.entry.js +1 -0
- package/dist/mint-components/p-2b9ae018.system.js +1 -0
- package/dist/mint-components/p-30ec7d38.entry.js +1 -0
- package/dist/mint-components/p-3282f52a.entry.js +1 -0
- package/dist/mint-components/p-32b28506.system.entry.js +1 -0
- package/dist/mint-components/{p-2f8ddf17.system.entry.js → p-332448db.system.entry.js} +1 -1
- package/dist/mint-components/p-3552b5c5.entry.js +1 -0
- package/dist/mint-components/p-35b9bb54.entry.js +1 -0
- package/dist/mint-components/{p-21bf8abc.entry.js → p-36b5b564.entry.js} +1 -1
- package/dist/mint-components/p-36c08962.js +1 -0
- package/dist/mint-components/p-3855a6e0.entry.js +1 -0
- package/dist/mint-components/p-39ac088a.entry.js +13 -0
- package/dist/mint-components/{p-ce7fef38.system.js → p-3a6a59f2.system.js} +1 -1
- package/dist/mint-components/{p-f628a8cd.entry.js → p-3ad5761c.entry.js} +1 -1
- package/dist/mint-components/{p-850c27d0.entry.js → p-3ad8c79f.entry.js} +1 -1
- package/dist/mint-components/{p-0a15b302.system.js → p-3c189cea.system.js} +1 -1
- package/dist/mint-components/{p-a853bf1c.system.entry.js → p-3cbdb360.system.entry.js} +1 -1
- package/dist/mint-components/{p-b0f1dfad.entry.js → p-3f075d21.entry.js} +1 -1
- package/dist/mint-components/p-4336876b.js +1 -0
- package/dist/mint-components/p-4359f515.system.js +1 -0
- package/dist/mint-components/p-52468c89.system.js +1 -0
- package/dist/mint-components/p-5333d935.entry.js +1 -0
- package/dist/mint-components/p-5377e1c5.system.entry.js +1 -0
- package/dist/mint-components/p-545e2df1.entry.js +1 -0
- package/dist/mint-components/{p-f572337b.system.js → p-555123c5.system.js} +1 -1
- package/dist/mint-components/p-56306cfd.system.js +1 -0
- package/dist/mint-components/p-56494499.js +1 -0
- package/dist/mint-components/p-5938e109.js +1 -0
- package/dist/mint-components/p-598f6e6e.entry.js +171 -0
- package/dist/mint-components/{p-b6de33e5.system.entry.js → p-5a8866c0.system.entry.js} +1 -1
- package/dist/mint-components/p-5deb8687.system.entry.js +1 -0
- package/dist/mint-components/{p-94cf16d4.entry.js → p-65aac49a.entry.js} +1 -1
- package/dist/mint-components/p-6868f6a3.system.entry.js +1 -0
- package/dist/mint-components/{p-acc9e541.js → p-695d65b1.js} +1 -1
- package/dist/mint-components/p-6c69d3d5.entry.js +1 -0
- package/dist/mint-components/{p-0a4c867d.system.entry.js → p-6d7b7618.system.entry.js} +1 -1
- package/dist/mint-components/p-70d33b67.system.js +1 -0
- package/dist/mint-components/p-71fe4061.js +1 -0
- package/dist/mint-components/p-73bca9e7.js +1 -0
- package/dist/mint-components/p-76c339cd.system.js +1 -0
- package/dist/mint-components/p-788fd322.system.js +1 -0
- package/dist/mint-components/p-7ed639bc.js +1 -0
- package/dist/mint-components/p-7ef716a7.js +1 -0
- package/dist/mint-components/p-82f341ec.system.entry.js +1 -0
- package/dist/mint-components/{p-ad694844.system.entry.js → p-838e5560.system.entry.js} +1 -1
- package/dist/mint-components/p-83927707.js +1 -0
- package/dist/mint-components/p-883169ad.entry.js +1 -0
- package/dist/mint-components/p-8caf0121.system.entry.js +1 -0
- package/dist/mint-components/p-8eb9298d.js +268 -0
- package/dist/mint-components/p-911f8910.system.js +1 -0
- package/dist/mint-components/p-9165844e.system.js +1 -0
- package/dist/mint-components/p-91b1dd5f.system.entry.js +1 -0
- package/dist/mint-components/{p-4fc59b30.system.entry.js → p-92002bbb.system.entry.js} +1 -1
- package/dist/mint-components/p-95cc44c3.system.js +1 -0
- package/dist/mint-components/{p-e9489bfb.system.js → p-96e98d06.system.js} +1 -1
- package/dist/mint-components/p-97763c36.system.js +1 -0
- package/dist/mint-components/p-9957d667.system.js +1 -0
- package/dist/mint-components/p-9c0678aa.system.entry.js +1 -0
- package/dist/mint-components/p-9cbc79f6.system.entry.js +1 -0
- package/dist/mint-components/p-9e8ea69d.system.js +1 -0
- package/dist/mint-components/p-a2f7a2f3.system.js +1 -0
- package/dist/mint-components/{p-22176b92.js → p-a90b4c3f.js} +1 -1
- package/dist/mint-components/p-a9467e3e.system.entry.js +1 -0
- package/dist/mint-components/p-aaff2c88.system.entry.js +1 -0
- package/dist/mint-components/p-ae00aec4.system.js +1 -0
- package/dist/mint-components/{p-2d728c9b.entry.js → p-af00c9b0.entry.js} +1 -1
- package/dist/mint-components/p-b039fb72.entry.js +1 -0
- package/dist/mint-components/{p-0e344e4c.system.entry.js → p-b0ad1b74.system.entry.js} +1 -1
- package/dist/mint-components/{p-6b9e32ca.system.js → p-b79c0e38.system.js} +2 -2
- package/dist/mint-components/{p-8ddb2c01.system.entry.js → p-b91658ca.system.entry.js} +1 -1
- package/dist/mint-components/p-ba7feba5.js +1 -0
- package/dist/mint-components/{p-10122db1.system.js → p-bb6f60a6.system.js} +1 -1
- package/dist/mint-components/{p-3aa51afb.js → p-bc6255a0.js} +3 -3
- package/dist/mint-components/{p-cd745ffb.system.js → p-bd63ef52.system.js} +1 -1
- package/dist/mint-components/p-bfdbe27c.js +1 -0
- package/dist/mint-components/p-c0685957.js +1 -0
- package/dist/mint-components/p-cce7f6ea.js +1 -0
- package/dist/mint-components/{p-b0601c94.entry.js → p-cfb400c5.entry.js} +1 -1
- package/dist/mint-components/{p-938ff1fc.js → p-d27b326c.js} +1 -1
- package/dist/mint-components/{p-2c8645c6.system.entry.js → p-d483347f.system.entry.js} +1 -1
- package/dist/mint-components/{p-293d8305.entry.js → p-d949b099.entry.js} +2 -2
- package/dist/mint-components/{p-26131a87.system.entry.js → p-d9643307.system.entry.js} +1 -1
- package/dist/mint-components/p-da70e75d.entry.js +1 -0
- package/dist/mint-components/p-db297fa3.system.entry.js +1 -0
- package/dist/mint-components/{p-54d0019e.entry.js → p-de9716b9.entry.js} +3 -3
- package/dist/mint-components/p-dffe8bea.entry.js +1 -0
- package/dist/mint-components/p-e0167571.js +1 -0
- package/dist/mint-components/p-e41a853f.system.entry.js +1 -0
- package/dist/mint-components/p-e74525d9.system.entry.js +1 -0
- package/dist/mint-components/p-e869887b.system.entry.js +1 -0
- package/dist/mint-components/{p-5bba84a6.system.js → p-e94f28d3.system.js} +1 -1
- package/dist/mint-components/p-ea76c3bc.system.entry.js +1 -0
- package/dist/mint-components/{p-4e38410c.js → p-eb3278aa.js} +153 -153
- package/dist/mint-components/{p-c5966d38.js → p-ed801cb7.js} +1 -1
- package/dist/mint-components/p-f63ea5f4.entry.js +1 -0
- package/dist/mint-components/p-f66b4b3a.js +1 -0
- package/dist/mint-components/p-f85504fd.system.entry.js +1 -0
- package/dist/mint-components/p-f87b1e0b.system.js +1 -0
- package/dist/mint-components/p-f8bbbea1.js +1 -0
- package/dist/mint-components/{p-74f936b0.js → p-f8dd6bac.js} +1 -1
- package/dist/mint-components/{p-b9831b79.entry.js → p-f96d239a.entry.js} +1 -1
- package/dist/mint-components/p-fd90e9db.entry.js +9 -0
- package/dist/types/components/sqm-coupon-code/CouponCode.stories.d.ts +1 -0
- package/dist/types/components/sqm-coupon-code/sqm-coupon-code.d.ts +12 -0
- package/dist/types/components/sqm-link-button/LinkButton.stories.d.ts +9 -0
- package/dist/types/components/sqm-link-button/sqm-link-button-view.d.ts +5 -0
- package/dist/types/components/sqm-link-button/sqm-link-button.d.ts +17 -0
- package/dist/types/components/sqm-passwordless-registration/sqm-passwordless-registration.d.ts +2 -6
- package/dist/types/components/sqm-referral-card/ReferralCard.stories.d.ts +2 -0
- package/dist/types/components/sqm-referral-card/sqm-referral-card-view.d.ts +2 -0
- package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +1 -1
- package/dist/types/components/sqm-referred-registration/sqm-referred-registration.d.ts +44 -0
- package/dist/types/components/sqm-share-code/ShareCode.stories.d.ts +2 -1
- package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +12 -0
- package/dist/types/components/sqm-share-link/ShareLink.stories.d.ts +1 -0
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +12 -0
- package/dist/types/components/sqm-user-identifier/UserIdentifier.stories.d.ts +1 -6
- package/dist/types/components/sqm-user-identifier/sqm-user-identifier-view.d.ts +5 -8
- package/dist/types/components/sqm-user-identifier/sqm-user-identifier.d.ts +8 -18
- package/dist/types/components/{sqm-passwordless-registration/PasswordlessRegistration.stories.d.ts → views/EmailRegistration.stories.d.ts} +1 -1
- package/dist/types/components/views/copy-text-view.d.ts +3 -1
- package/dist/types/components/{sqm-passwordless-registration/sqm-passwordless-registration-view.d.ts → views/email-registration-view.d.ts} +2 -3
- package/dist/types/components.d.ts +185 -47
- package/dist/types/stories/PortalTemplates.stories.d.ts +1 -0
- package/dist/types/stories/Widget.stories.d.ts +24 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +4 -2
- package/dist/cjs/PoweredByImg-7084ef2d.js +0 -16
- package/dist/cjs/index-e4027f09.js +0 -2227
- package/dist/cjs/sqm-portal-footer-view-6e490bc6.js +0 -71
- package/dist/cjs/sqm-portal-footer.cjs.entry.js +0 -69
- package/dist/collection/components/sqm-passwordless-registration/PasswordlessRegistration.stories.js +0 -32
- package/dist/esm/PoweredByImg-1114005e.js +0 -14
- package/dist/esm/index-4bffa04c.js +0 -2225
- package/dist/esm/sqm-portal-footer-view-d673e9b9.js +0 -69
- package/dist/esm/sqm-portal-footer.entry.js +0 -65
- package/dist/esm-es5/GenericTableView-ce26115f.js +0 -1
- package/dist/esm-es5/PoweredByImg-1114005e.js +0 -1
- package/dist/esm-es5/ShadowViewAddon-e57c3d40.js +0 -1
- package/dist/esm-es5/global-4bd89b1d.js +0 -285
- package/dist/esm-es5/index-4bffa04c.js +0 -1
- package/dist/esm-es5/index.module-5043fba6.js +0 -1
- package/dist/esm-es5/sqm-asset-card-view-b0f8ef8e.js +0 -1
- package/dist/esm-es5/sqm-big-stat_36.entry.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-d63373b2.js +0 -1
- package/dist/esm-es5/sqm-passwordless-registration-view-dcd145d6.js +0 -1
- package/dist/esm-es5/sqm-portal-container-view-06bce80d.js +0 -1
- package/dist/esm-es5/sqm-portal-footer-view-d673e9b9.js +0 -1
- package/dist/esm-es5/sqm-portal-footer.entry.js +0 -1
- package/dist/esm-es5/sqm-portal-forgot-password-view-37bafb1c.js +0 -1
- package/dist/esm-es5/sqm-portal-profile-view-0b4315c2.js +0 -1
- package/dist/esm-es5/sqm-portal-verify-email-view-e3e39501.js +0 -1
- package/dist/esm-es5/use-callback-c5579ecb.js +0 -1
- package/dist/esm-es5/useReferralTable-6c6c06cb.js +0 -1
- package/dist/mint-components/p-014e183e.system.js +0 -1
- package/dist/mint-components/p-040a7ac6.system.entry.js +0 -1
- package/dist/mint-components/p-0afd05cc.system.entry.js +0 -1
- package/dist/mint-components/p-0b07c70b.entry.js +0 -171
- package/dist/mint-components/p-0b3af3f2.js +0 -1
- package/dist/mint-components/p-143e7a08.system.js +0 -1
- package/dist/mint-components/p-1555c1e9.js +0 -1
- package/dist/mint-components/p-15e0bdb5.entry.js +0 -1
- package/dist/mint-components/p-18d5795d.system.js +0 -1
- package/dist/mint-components/p-1943d52e.js +0 -1
- package/dist/mint-components/p-1b0c59f0.system.entry.js +0 -1
- package/dist/mint-components/p-1e350778.system.entry.js +0 -1
- package/dist/mint-components/p-218c8a32.js +0 -1
- package/dist/mint-components/p-25d4bd6c.entry.js +0 -1
- package/dist/mint-components/p-2b2415cc.system.js +0 -1
- package/dist/mint-components/p-2bc7c025.system.entry.js +0 -1
- package/dist/mint-components/p-2dcc4495.entry.js +0 -1
- package/dist/mint-components/p-2ffe61a0.system.js +0 -1
- package/dist/mint-components/p-3b084b9e.system.entry.js +0 -1
- package/dist/mint-components/p-4056a7f4.entry.js +0 -1
- package/dist/mint-components/p-41377dac.system.js +0 -1
- package/dist/mint-components/p-4777598b.system.entry.js +0 -1
- package/dist/mint-components/p-497c2091.system.entry.js +0 -1
- package/dist/mint-components/p-545c6333.system.entry.js +0 -1
- package/dist/mint-components/p-561b5ade.js +0 -268
- package/dist/mint-components/p-5bfe901d.js +0 -1
- package/dist/mint-components/p-5da32b79.system.entry.js +0 -1
- package/dist/mint-components/p-68454fb6.system.entry.js +0 -1
- package/dist/mint-components/p-6b5824db.entry.js +0 -13
- package/dist/mint-components/p-6b8b7dc0.system.js +0 -1
- package/dist/mint-components/p-6dd27a5e.js +0 -1
- package/dist/mint-components/p-721deaaf.system.js +0 -1
- package/dist/mint-components/p-848a7767.entry.js +0 -1
- package/dist/mint-components/p-88bfcec2.system.js +0 -1
- package/dist/mint-components/p-8a6a0b6f.js +0 -1
- package/dist/mint-components/p-8a7b0f2c.system.entry.js +0 -1
- package/dist/mint-components/p-8c0e613f.system.js +0 -1
- package/dist/mint-components/p-8e84f311.system.entry.js +0 -1
- package/dist/mint-components/p-910c977e.entry.js +0 -13
- package/dist/mint-components/p-9c63de96.system.js +0 -1
- package/dist/mint-components/p-9ccc4b8a.system.entry.js +0 -1
- package/dist/mint-components/p-9f011b61.system.entry.js +0 -1
- package/dist/mint-components/p-9f06a318.entry.js +0 -1
- package/dist/mint-components/p-a0dcecee.system.js +0 -1
- package/dist/mint-components/p-a15a06d1.entry.js +0 -1
- package/dist/mint-components/p-a208711a.js +0 -1
- package/dist/mint-components/p-a46c0d32.js +0 -1
- package/dist/mint-components/p-a4b7f6a6.system.js +0 -1
- package/dist/mint-components/p-b56a0052.system.js +0 -1
- package/dist/mint-components/p-b76c5252.entry.js +0 -1
- package/dist/mint-components/p-b8301966.js +0 -1
- package/dist/mint-components/p-bef0a1f4.system.js +0 -1
- package/dist/mint-components/p-c3fa90e4.entry.js +0 -1
- package/dist/mint-components/p-c5bd5f21.entry.js +0 -9
- package/dist/mint-components/p-c78edab5.entry.js +0 -1
- package/dist/mint-components/p-c7e36372.system.js +0 -1
- package/dist/mint-components/p-c96900ab.js +0 -1
- package/dist/mint-components/p-ceb6a9e5.js +0 -1
- package/dist/mint-components/p-ceefa840.system.entry.js +0 -1
- package/dist/mint-components/p-d4dd44ce.js +0 -1
- package/dist/mint-components/p-d8c7e0db.js +0 -1
- package/dist/mint-components/p-d96ba635.entry.js +0 -1
- package/dist/mint-components/p-db01736e.entry.js +0 -1
- package/dist/mint-components/p-dbb3533c.system.entry.js +0 -1
- package/dist/mint-components/p-dc9f2ec3.system.entry.js +0 -1
- package/dist/mint-components/p-dcdfc20a.entry.js +0 -1
- package/dist/mint-components/p-e36afaf4.system.entry.js +0 -1
- package/dist/mint-components/p-eae501f9.js +0 -1
- package/dist/mint-components/p-eb5e8657.entry.js +0 -1
- package/dist/mint-components/p-ece264ab.entry.js +0 -1
- package/dist/mint-components/p-ee7e5b54.system.js +0 -1
- package/dist/mint-components/p-f19e6247.entry.js +0 -1
- package/dist/mint-components/p-f4dbaf32.js +0 -1
- package/dist/mint-components/p-f5a0ea6c.entry.js +0 -1
- package/dist/mint-components/p-f6e9b11e.js +0 -1
- package/dist/mint-components/p-f9203fcb.system.entry.js +0 -1
- package/dist/mint-components/p-fab61d16.system.js +0 -1
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import { u as useCallback } from './use-callback-
|
|
5
|
-
import { i as isDemo, R, O, W, f as fn, F as Fe, _, x,
|
|
2
|
+
import { m as h, u as useEffect, i as useState, o as d, j as useRef, b as browser, f as useReducer } from './stencil-hooks.module-b48b45ec.js';
|
|
3
|
+
import { i as intl } from './global-0f137e54.js';
|
|
4
|
+
import { u as useCallback } from './use-callback-051c06c6.js';
|
|
5
|
+
import { i as isDemo, R, d as dist, O, W, f as fn, F as Fe, _, x, a as dn, g as gn, r as Ve, M as Me, D as De, t as He, c as mn } from './index.module-787e5d35.js';
|
|
6
|
+
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
6
7
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
8
|
import './mixins-f60a614c.js';
|
|
8
9
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
9
|
-
import { a as useRequestRerender } from './re-render-
|
|
10
|
-
import { u as useChildElements } from './useChildElements-
|
|
11
|
-
import './luxon-
|
|
12
|
-
import { d as dist } from './index-4bffa04c.js';
|
|
10
|
+
import { a as useRequestRerender } from './re-render-54bb3e32.js';
|
|
11
|
+
import { u as useChildElements } from './useChildElements-0124b1a9.js';
|
|
12
|
+
import './luxon-1e38d7f1.js';
|
|
13
13
|
import { g as getProps, a as getMissingProps, s as sanitizeUrlPath } from './utils-334c1e34.js';
|
|
14
|
-
import './sqm-text-span-view-
|
|
15
|
-
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
14
|
+
import './sqm-text-span-view-2f7d6d14.js';
|
|
16
15
|
import { A as AsYouType } from './AsYouType-46f67d0d.js';
|
|
17
|
-
import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-
|
|
18
|
-
import { b as useDemoBigStat,
|
|
19
|
-
import './sqm-portal-container-view-
|
|
16
|
+
import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-3c2c2f1b.js';
|
|
17
|
+
import { b as useDemoBigStat, O as useBigStat, B as BigStatView, K as autoColorScaleCss, J as CardFeedView, j as CheckboxFieldView, C as CopyTextView, D as DropdownFieldView, E as EditProfileView, I as InputFieldView, Q as withShadowView, L as LeaderboardView, N as NameFieldsView, d as PortalChangePasswordView, i as PortalFooterView, P as PortalFrameView, e as PortalLoginView, f as PortalRegisterView, R as ReferralIframeView, U as demoRewardExchange, k as RewardExchangeView, V as pathToRegexp, a as useShareButton, S as ShareButtonView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-ca765d5e.js';
|
|
18
|
+
import './sqm-portal-container-view-83b417f0.js';
|
|
20
19
|
|
|
21
20
|
const BigStat = class {
|
|
22
21
|
constructor(hostRef) {
|
|
@@ -340,6 +339,18 @@ const CouponCode = class {
|
|
|
340
339
|
* @uiName Copy icon
|
|
341
340
|
*/
|
|
342
341
|
this.isCopyIcon = true;
|
|
342
|
+
/**
|
|
343
|
+
* Set copy button label
|
|
344
|
+
*
|
|
345
|
+
* @uiName Copy button label
|
|
346
|
+
*/
|
|
347
|
+
this.copyButtonLabel = "Copy Coupon";
|
|
348
|
+
/**
|
|
349
|
+
* Set the copy button outside the field
|
|
350
|
+
*
|
|
351
|
+
* @uiName Copy button outside
|
|
352
|
+
*/
|
|
353
|
+
this.buttonOutside = true;
|
|
343
354
|
h(this);
|
|
344
355
|
}
|
|
345
356
|
disconnectedCallback() { }
|
|
@@ -359,6 +370,8 @@ function useDemoCouponCode(props) {
|
|
|
359
370
|
tooltiptext: props.tooltiptext,
|
|
360
371
|
isCopyIcon: props.isCopyIcon,
|
|
361
372
|
textAlign: props.textAlign,
|
|
373
|
+
buttonOutside: props.buttonOutside,
|
|
374
|
+
copyButtonLabel: props.copyButtonLabel,
|
|
362
375
|
open,
|
|
363
376
|
onClick: () => {
|
|
364
377
|
// Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
|
|
@@ -412,7 +425,7 @@ function DividedLayoutView(props, children) {
|
|
|
412
425
|
`;
|
|
413
426
|
const sheet = createStyleSheet(style);
|
|
414
427
|
const styleString = sheet.toString();
|
|
415
|
-
return (h$1("div", { class: sheet.classes.LayoutContainer },
|
|
428
|
+
return (h$1("div", { class: sheet.classes.LayoutContainer, part: "sqm-layout-container" },
|
|
416
429
|
h$1("style", { type: "text/css" },
|
|
417
430
|
vanillaStyle,
|
|
418
431
|
styleString),
|
|
@@ -823,7 +836,7 @@ function HeroImageView(props, children) {
|
|
|
823
836
|
:host{
|
|
824
837
|
display: block;
|
|
825
838
|
}`;
|
|
826
|
-
return (h$1("div", { class: sheet.classes.Container },
|
|
839
|
+
return (h$1("div", { class: sheet.classes.Container, part: "sqm-hero-image-container" },
|
|
827
840
|
h$1("style", { type: "text/css" },
|
|
828
841
|
vanillaStyle,
|
|
829
842
|
styleString),
|
|
@@ -831,7 +844,7 @@ function HeroImageView(props, children) {
|
|
|
831
844
|
props.layout === "columns" && ColumnView()));
|
|
832
845
|
function OverlayView() {
|
|
833
846
|
return (h$1("div", { class: sheet.classes.Background },
|
|
834
|
-
h$1("div", { class: sheet.classes.Overlay },
|
|
847
|
+
h$1("div", { class: sheet.classes.Overlay, part: "sqm-hero-image-overlay-container" },
|
|
835
848
|
props.header && (h$1("div", { class: sheet.classes.Header }, props.header)),
|
|
836
849
|
props.description && (h$1("div", { class: sheet.classes.Description }, props.description)),
|
|
837
850
|
props.buttonText && (h$1("sl-button", { class: sheet.classes.Button, type: "primary", onClick: () => props.buttonNewTab
|
|
@@ -843,11 +856,11 @@ function HeroImageView(props, children) {
|
|
|
843
856
|
return (h$1("div", null,
|
|
844
857
|
h$1("div", { class: sheet.classes.Column },
|
|
845
858
|
h$1("div", { class: "image-area" },
|
|
846
|
-
h$1("img", { class: sheet.classes.Image, src: props.imageUrl })),
|
|
847
|
-
h$1("div", { class: "text-area" },
|
|
848
|
-
props.header && (h$1("div", { class: sheet.classes.Header }, props.header)),
|
|
849
|
-
props.description && (h$1("div", { class: sheet.classes.Description }, props.description)),
|
|
850
|
-
props.buttonText && (h$1("sl-button", { class: sheet.classes.Button, type: "primary", onClick: () => props.buttonNewTab
|
|
859
|
+
h$1("img", { class: sheet.classes.Image, src: props.imageUrl, part: "sqm-hero-image" })),
|
|
860
|
+
h$1("div", { class: "text-area", part: "sqm-hero-image-text-area" },
|
|
861
|
+
props.header && (h$1("div", { class: sheet.classes.Header, part: "sqm-hero-image-header" }, props.header)),
|
|
862
|
+
props.description && (h$1("div", { class: sheet.classes.Description, part: "sqm-hero-image-description" }, props.description)),
|
|
863
|
+
props.buttonText && (h$1("sl-button", { exportparts: "base: sqm-hero-image-btn", class: sheet.classes.Button, type: "primary", onClick: () => props.buttonNewTab
|
|
851
864
|
? window.open(props.buttonLink)
|
|
852
865
|
: window.open(props.buttonLink, "_parent") }, props.buttonText))))));
|
|
853
866
|
}
|
|
@@ -1474,6 +1487,60 @@ function usePortalChangePasswordDemo(props) {
|
|
|
1474
1487
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
1475
1488
|
}
|
|
1476
1489
|
|
|
1490
|
+
const PortalFooter = class {
|
|
1491
|
+
constructor(hostRef) {
|
|
1492
|
+
registerInstance(this, hostRef);
|
|
1493
|
+
this.ignored = true;
|
|
1494
|
+
/**
|
|
1495
|
+
* @uiName Support Email
|
|
1496
|
+
*/
|
|
1497
|
+
this.supportEmail = "support@example.com";
|
|
1498
|
+
/**
|
|
1499
|
+
* @uiName Support Text
|
|
1500
|
+
* @uiWidget textArea
|
|
1501
|
+
*/
|
|
1502
|
+
this.supportText = "For program support, contact {email}";
|
|
1503
|
+
/**
|
|
1504
|
+
* @uiName Hide Powered By SaaSquatch
|
|
1505
|
+
*/
|
|
1506
|
+
this.hidePoweredBy = false;
|
|
1507
|
+
/**
|
|
1508
|
+
* @uiName Powered By Link
|
|
1509
|
+
*/
|
|
1510
|
+
this.poweredByLink = "https://saasquatch.com";
|
|
1511
|
+
/**
|
|
1512
|
+
* @uiName Padding Top
|
|
1513
|
+
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
1514
|
+
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
1515
|
+
*/
|
|
1516
|
+
this.paddingTop = "large";
|
|
1517
|
+
/**
|
|
1518
|
+
* @uiName Padding Right
|
|
1519
|
+
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
1520
|
+
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
1521
|
+
*/
|
|
1522
|
+
this.paddingRight = "large";
|
|
1523
|
+
/**
|
|
1524
|
+
* @uiName Padding Bottom
|
|
1525
|
+
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
1526
|
+
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
1527
|
+
*/
|
|
1528
|
+
this.paddingBottom = "large";
|
|
1529
|
+
/**
|
|
1530
|
+
* @uiName Padding Left
|
|
1531
|
+
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
1532
|
+
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
1533
|
+
*/
|
|
1534
|
+
this.paddingLeft = "large";
|
|
1535
|
+
h(this);
|
|
1536
|
+
}
|
|
1537
|
+
disconnectedCallback() { }
|
|
1538
|
+
render() {
|
|
1539
|
+
return h$1(PortalFooterView, Object.assign({}, getProps(this)));
|
|
1540
|
+
}
|
|
1541
|
+
static get assetsDirs() { return ["../../assets"]; }
|
|
1542
|
+
};
|
|
1543
|
+
|
|
1477
1544
|
function usePortalFrame(footerContent, headerContent) {
|
|
1478
1545
|
const [, rerender] = dn();
|
|
1479
1546
|
return {
|
|
@@ -1913,13 +1980,13 @@ function ProgramExplainerView(props, children) {
|
|
|
1913
1980
|
display: block;
|
|
1914
1981
|
}
|
|
1915
1982
|
}`;
|
|
1916
|
-
return (h$1("div", { class: sheet.classes.Container },
|
|
1983
|
+
return (h$1("div", { class: sheet.classes.Container, part: "sqm-program-explainer-container" },
|
|
1917
1984
|
h$1("style", { type: "text/css" },
|
|
1918
1985
|
styleString,
|
|
1919
1986
|
vanillaStyle),
|
|
1920
1987
|
h$1("div", { class: sheet.classes.Header },
|
|
1921
|
-
h$1("div", { class: sheet.classes.Header }, props.header)),
|
|
1922
|
-
h$1("div", { class: sheet.classes.Grid }, children)));
|
|
1988
|
+
h$1("div", { class: sheet.classes.Header, part: "sqm-program-explainer-header" }, props.header)),
|
|
1989
|
+
h$1("div", { class: sheet.classes.Grid, part: "sqm-program-explainer-grid-container" }, children)));
|
|
1923
1990
|
}
|
|
1924
1991
|
|
|
1925
1992
|
const ProgramExplainer = class {
|
|
@@ -1985,13 +2052,13 @@ function ProgramExplainerStepView(props) {
|
|
|
1985
2052
|
};
|
|
1986
2053
|
const sheet = createStyleSheet(style);
|
|
1987
2054
|
const styleString = sheet.toString();
|
|
1988
|
-
return (h$1("div", { class: sheet.classes.Container },
|
|
2055
|
+
return (h$1("div", { class: sheet.classes.Container, part: "sqm-program-explainer-step-container" },
|
|
1989
2056
|
h$1("style", { type: "text/css" }, styleString),
|
|
1990
|
-
h$1("div", null, props.imageUrl ? (h$1("img", { class: sheet.classes.Media, src: props.imageUrl })) : (h$1("div", { class: sheet.classes.Media },
|
|
2057
|
+
h$1("div", null, props.imageUrl ? (h$1("img", { class: sheet.classes.Media, src: props.imageUrl, part: "sqm-program-explainer-step-media" })) : (h$1("div", { class: sheet.classes.Media, part: "sqm-program-explainer-step-media" },
|
|
1991
2058
|
h$1("sl-icon", { name: props.icon })))),
|
|
1992
2059
|
h$1("div", { class: sheet.classes.Text },
|
|
1993
|
-
h$1("div", { class: sheet.classes.Header }, props.header),
|
|
1994
|
-
h$1("div", { class: sheet.classes.Description }, props.description))));
|
|
2060
|
+
h$1("div", { class: sheet.classes.Header, part: "sqm-program-explainer-step-header" }, props.header),
|
|
2061
|
+
h$1("div", { class: sheet.classes.Description, part: "sqm-program-explainer-step-description" }, props.description))));
|
|
1995
2062
|
}
|
|
1996
2063
|
|
|
1997
2064
|
const ProgramExplainerStep = class {
|
|
@@ -2051,10 +2118,20 @@ const ProgramMenu = class {
|
|
|
2051
2118
|
|
|
2052
2119
|
const style$1 = {
|
|
2053
2120
|
Container: {
|
|
2054
|
-
|
|
2055
|
-
|
|
2121
|
+
border: "1px solid var(--sl-color-neutral-300)",
|
|
2122
|
+
borderRadius: "var(--sl-border-radius-large)",
|
|
2056
2123
|
color: "var(--sl-color-neutral-900)",
|
|
2057
2124
|
background: "var(--sl-color-neutral-0)",
|
|
2125
|
+
},
|
|
2126
|
+
EndContainer: {
|
|
2127
|
+
display: "flex",
|
|
2128
|
+
flexDirection: "column",
|
|
2129
|
+
alignItems: "center",
|
|
2130
|
+
padding: "0 var(--sl-spacing-large)",
|
|
2131
|
+
},
|
|
2132
|
+
ColumnContainer: {
|
|
2133
|
+
"& p": { margin: "0" },
|
|
2134
|
+
display: "flex",
|
|
2058
2135
|
"& .left": {
|
|
2059
2136
|
boxSizing: "border-box",
|
|
2060
2137
|
width: "50%",
|
|
@@ -2073,8 +2150,6 @@ const style$1 = {
|
|
|
2073
2150
|
width: "100%",
|
|
2074
2151
|
},
|
|
2075
2152
|
},
|
|
2076
|
-
border: "1px solid var(--sl-color-neutral-300)",
|
|
2077
|
-
borderRadius: "var(--sl-border-radius-large)",
|
|
2078
2153
|
"@media (max-width: 499px)": {
|
|
2079
2154
|
flexDirection: "column",
|
|
2080
2155
|
border: "none",
|
|
@@ -2089,17 +2164,19 @@ const vanillaStyle = `
|
|
|
2089
2164
|
}
|
|
2090
2165
|
`;
|
|
2091
2166
|
function ReferralCardView(props) {
|
|
2092
|
-
return (h$1("div",
|
|
2167
|
+
return (h$1("div", { part: "sqm-referral-card-container", class: sheet$1.classes.Container },
|
|
2093
2168
|
h$1("style", { type: "text/css" },
|
|
2094
2169
|
styleString$1,
|
|
2095
2170
|
vanillaStyle),
|
|
2096
|
-
h$1("div", {
|
|
2171
|
+
h$1("div", { class: sheet$1.classes.EndContainer }, props.slots.header),
|
|
2172
|
+
h$1("div", { part: "sqm-columns", class: sheet$1.classes.ColumnContainer },
|
|
2097
2173
|
h$1("div", { class: "left", style: {
|
|
2098
2174
|
alignSelf: props.verticalAlignment,
|
|
2099
2175
|
} }, props.slots.left),
|
|
2100
2176
|
h$1("div", { class: "right", style: {
|
|
2101
2177
|
alignSelf: props.verticalAlignment,
|
|
2102
|
-
} }, props.slots.right))
|
|
2178
|
+
} }, props.slots.right)),
|
|
2179
|
+
h$1("div", { class: sheet$1.classes.EndContainer }, props.slots.footer)));
|
|
2103
2180
|
}
|
|
2104
2181
|
|
|
2105
2182
|
const ReferralCard = class {
|
|
@@ -2120,6 +2197,8 @@ const ReferralCard = class {
|
|
|
2120
2197
|
const slots = {
|
|
2121
2198
|
left: h$1("slot", { name: "left" }),
|
|
2122
2199
|
right: h$1("slot", { name: "right" }),
|
|
2200
|
+
header: h$1("slot", { name: "header" }),
|
|
2201
|
+
footer: h$1("slot", { name: "footer" }),
|
|
2123
2202
|
};
|
|
2124
2203
|
return (h$1(ReferralCardView, Object.assign({}, getProps(this), { slots: slots }), h$1("slot", null)));
|
|
2125
2204
|
}
|
|
@@ -3502,6 +3581,18 @@ const ShareCode = class {
|
|
|
3502
3581
|
* @uiName Copy icon
|
|
3503
3582
|
*/
|
|
3504
3583
|
this.isCopyIcon = true;
|
|
3584
|
+
/**
|
|
3585
|
+
* Set copy button label
|
|
3586
|
+
*
|
|
3587
|
+
* @uiName Copy button label
|
|
3588
|
+
*/
|
|
3589
|
+
this.copyButtonLabel = "Copy Code";
|
|
3590
|
+
/**
|
|
3591
|
+
* Set the copy button outside the field
|
|
3592
|
+
*
|
|
3593
|
+
* @uiName Copy button outside
|
|
3594
|
+
*/
|
|
3595
|
+
this.buttonOutside = true;
|
|
3505
3596
|
h(this);
|
|
3506
3597
|
}
|
|
3507
3598
|
disconnectedCallback() { }
|
|
@@ -3521,6 +3612,8 @@ function useDemoShareCode(props) {
|
|
|
3521
3612
|
tooltiptext: props.tooltiptext,
|
|
3522
3613
|
isCopyIcon: props.isCopyIcon,
|
|
3523
3614
|
textAlign: props.textAlign,
|
|
3615
|
+
buttonOutside: props.buttonOutside,
|
|
3616
|
+
copyButtonLabel: props.copyButtonLabel,
|
|
3524
3617
|
open,
|
|
3525
3618
|
onClick: () => {
|
|
3526
3619
|
// Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
|
|
@@ -3559,6 +3652,18 @@ const ShareLink = class {
|
|
|
3559
3652
|
* @uiName Copy icon
|
|
3560
3653
|
*/
|
|
3561
3654
|
this.isCopyIcon = true;
|
|
3655
|
+
/**
|
|
3656
|
+
* Set copy button label
|
|
3657
|
+
*
|
|
3658
|
+
* @uiName Copy button label
|
|
3659
|
+
*/
|
|
3660
|
+
this.copyButtonLabel = "Copy Link";
|
|
3661
|
+
/**
|
|
3662
|
+
* Set the copy button outside the field
|
|
3663
|
+
*
|
|
3664
|
+
* @uiName Copy button outside
|
|
3665
|
+
*/
|
|
3666
|
+
this.buttonOutside = true;
|
|
3562
3667
|
h(this);
|
|
3563
3668
|
}
|
|
3564
3669
|
disconnectedCallback() { }
|
|
@@ -3578,6 +3683,8 @@ function useDemoShareLink(props) {
|
|
|
3578
3683
|
tooltiptext: props.tooltiptext,
|
|
3579
3684
|
isCopyIcon: props.isCopyIcon,
|
|
3580
3685
|
textAlign: props.textAlign,
|
|
3686
|
+
buttonOutside: props.buttonOutside,
|
|
3687
|
+
copyButtonLabel: props.copyButtonLabel,
|
|
3581
3688
|
open,
|
|
3582
3689
|
onClick: () => {
|
|
3583
3690
|
// Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
|
|
@@ -3917,7 +4024,7 @@ const vanillaStyle$1 = `
|
|
|
3917
4024
|
function TimelineEntryView(props) {
|
|
3918
4025
|
var _a;
|
|
3919
4026
|
const timeline_icon = (_a = props.icon) !== null && _a !== void 0 ? _a : props.iconState;
|
|
3920
|
-
return (h$1("div", { class: sheet$2.classes.TimelineReward },
|
|
4027
|
+
return (h$1("div", { class: sheet$2.classes.TimelineReward, part: "sqm-timeline-container" },
|
|
3921
4028
|
h$1("style", { type: "text/css" },
|
|
3922
4029
|
styleString$2,
|
|
3923
4030
|
vanillaStyle$1),
|
|
@@ -4010,4 +4117,4 @@ function useUserNameDemo(props) {
|
|
|
4010
4117
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
4011
4118
|
}
|
|
4012
4119
|
|
|
4013
|
-
export { BigStat as sqm_big_stat, BrandComponent as sqm_brand, CardFeed as sqm_card_feed, CheckboxField as sqm_checkbox_field, CouponCode as sqm_coupon_code, DividedLayout as sqm_divided_layout, DropdownField as sqm_dropdown_field, EditProfile as sqm_edit_profile, HeroImage as sqm_hero_image, SqmHookStoryContainer as sqm_hook_story_container, InputField as sqm_input_field, Leaderboard as sqm_leaderboard, NameFields as sqm_name_fields, NavigationMenu as sqm_navigation_menu, PortalChangePassword as sqm_portal_change_password, PortalFrame as sqm_portal_frame, PortalLogin as sqm_portal_login, PortalRegister as sqm_portal_register, ProgramExplainer as sqm_program_explainer, ProgramExplainerStep as sqm_program_explainer_step, ProgramMenu as sqm_program_menu, ReferralCard as sqm_referral_card, SqmReferralIframe as sqm_referral_iframe, SqmRewardExchangeList as sqm_reward_exchange_list, SqmRouter as sqm_router, Scroll as sqm_scroll, ShareButton as sqm_share_button, ShareCode as sqm_share_code, ShareLink as sqm_share_link, StatContainer as sqm_stat_container, TableCell as sqm_table_cell, TableRow as sqm_table_row, TaskCard as sqm_task_card, Timeline as sqm_timeline, TimelineReward as sqm_timeline_entry, UserName as sqm_user_name };
|
|
4120
|
+
export { BigStat as sqm_big_stat, BrandComponent as sqm_brand, CardFeed as sqm_card_feed, CheckboxField as sqm_checkbox_field, CouponCode as sqm_coupon_code, DividedLayout as sqm_divided_layout, DropdownField as sqm_dropdown_field, EditProfile as sqm_edit_profile, HeroImage as sqm_hero_image, SqmHookStoryContainer as sqm_hook_story_container, InputField as sqm_input_field, Leaderboard as sqm_leaderboard, NameFields as sqm_name_fields, NavigationMenu as sqm_navigation_menu, PortalChangePassword as sqm_portal_change_password, PortalFooter as sqm_portal_footer, PortalFrame as sqm_portal_frame, PortalLogin as sqm_portal_login, PortalRegister as sqm_portal_register, ProgramExplainer as sqm_program_explainer, ProgramExplainerStep as sqm_program_explainer_step, ProgramMenu as sqm_program_menu, ReferralCard as sqm_referral_card, SqmReferralIframe as sqm_referral_iframe, SqmRewardExchangeList as sqm_reward_exchange_list, SqmRouter as sqm_router, Scroll as sqm_scroll, ShareButton as sqm_share_button, ShareCode as sqm_share_code, ShareLink as sqm_share_link, StatContainer as sqm_stat_container, TableCell as sqm_table_cell, TableRow as sqm_table_row, TaskCard as sqm_task_card, Timeline as sqm_timeline, TimelineReward as sqm_timeline_entry, UserName as sqm_user_name };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
2
|
+
import { m as h$1 } from './stencil-hooks.module-b48b45ec.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
4
|
import { g as getProps } from './utils-334c1e34.js';
|
|
5
|
-
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-
|
|
5
|
+
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-83b417f0.js';
|
|
6
6
|
|
|
7
7
|
function EmptyStateView(props) {
|
|
8
8
|
const { emptyStateHeader, emptyStateImage, emptyStateText } = props;
|
|
9
|
-
return (h("sqm-portal-container", { padding: "large", gap: "medium" },
|
|
9
|
+
return (h("sqm-portal-container", { padding: "large", gap: "medium", part: "sqm-empty-container" },
|
|
10
10
|
h("sqm-image", { "image-url": emptyStateImage }),
|
|
11
11
|
h("sqm-titled-section", { "label-margin": "xxx-small", "text-align": "center" },
|
|
12
12
|
h("sqm-text", { slot: "label" },
|
|
@@ -50,7 +50,7 @@ function ImageView(props) {
|
|
|
50
50
|
h("style", { type: "text/css" },
|
|
51
51
|
styleString,
|
|
52
52
|
vanillaStyle),
|
|
53
|
-
h("div", { class: sheet.classes.Container },
|
|
53
|
+
h("div", { class: sheet.classes.Container, part: "sqm-image-container" },
|
|
54
54
|
h("img", { part: "sqm-image", src: props.imageUrl, class: sheet.classes.Image }))));
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
2
|
+
import { m as h } from './stencil-hooks.module-b48b45ec.js';
|
|
3
3
|
|
|
4
4
|
const sqmFormMessageCss = "sl-alert::part(base){border:1px solid;border-radius:3px;-webkit-box-shadow:0 1px 2px rgba(20, 20, 20, 0.1);box-shadow:0 1px 2px rgba(20, 20, 20, 0.1)}.Error::part(base){background-color:var(--sl-color-danger-100);border-color:var(--sl-color-danger-200)}.Success::part(base){background-color:var(--sl-color-success-100);border-color:var(--sl-color-success-200)}.Info::part(base){background-color:var(--sl-color-primary-100);border-color:var(--sl-color-primary-200)}";
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
|
-
import { m, u as useEffect,
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import { U, y as ye, H,
|
|
2
|
+
import { n as m, u as useEffect, m as h } from './stencil-hooks.module-b48b45ec.js';
|
|
3
|
+
import './use-callback-051c06c6.js';
|
|
4
|
+
import { U, y as ye, H, b as he } from './index.module-787e5d35.js';
|
|
5
5
|
|
|
6
6
|
async function useGraphQLClientProvider({ domain }) {
|
|
7
7
|
const token = U();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
2
|
+
import { m as h } from './stencil-hooks.module-b48b45ec.js';
|
|
3
3
|
|
|
4
4
|
const HeroImage = class {
|
|
5
5
|
constructor(hostRef) {
|
|
@@ -19,7 +19,7 @@ const HeroImage = class {
|
|
|
19
19
|
}
|
|
20
20
|
disconnectedCallback() { }
|
|
21
21
|
render() {
|
|
22
|
-
return (h$1(Host, null, h$1("a", { href: this.nextPage }, h$1("img", { style: { height: `${this === null || this === void 0 ? void 0 : this.height}px` }, src: this === null || this === void 0 ? void 0 : this.imageUrl }))));
|
|
22
|
+
return (h$1(Host, null, h$1("a", { href: this.nextPage, part: "sqm-header-logo-link" }, h$1("img", { style: { height: `${this === null || this === void 0 ? void 0 : this.height}px` }, src: this === null || this === void 0 ? void 0 : this.imageUrl }))));
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import { u as useCallback } from './use-callback-
|
|
2
|
+
import { i as useState, u as useEffect } from './stencil-hooks.module-b48b45ec.js';
|
|
3
|
+
import { u as useCallback } from './use-callback-051c06c6.js';
|
|
4
4
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
5
5
|
|
|
6
6
|
// import { IntlMessageFormat } from 'intl-messageformat';
|
|
@@ -135,13 +135,13 @@ function HeroView(props) {
|
|
|
135
135
|
|
|
136
136
|
`;
|
|
137
137
|
// NOTE: Spacing on the columns is controlled on the slots itself. For example using inline styling
|
|
138
|
-
return (h("div", { class: sheet.classes.Container },
|
|
138
|
+
return (h("div", { class: sheet.classes.Container, part: "sqm-hero-container" },
|
|
139
139
|
h("style", { type: "text/css" },
|
|
140
140
|
vanillaStyle,
|
|
141
141
|
styleString),
|
|
142
|
-
states.columns == 2 ? (h("div", { class: sheet.classes.TwoColumnContainer },
|
|
143
|
-
h("div", { class: `${sheet.classes.ColumnWrapper} ${sheet.classes.ColumnPadding}` }, content.primaryColumn),
|
|
144
|
-
h("div", { class: `${sheet.classes.ColumnWrapper} ${sheet.classes.ColumnPadding}` }, content.secondaryColumn))) : (h("div", { class: `${sheet.classes.SingleColumnContainer} ${sheet.classes.ColumnPadding}` }, content.primaryColumn))));
|
|
142
|
+
states.columns == 2 ? (h("div", { class: sheet.classes.TwoColumnContainer, part: "sqm-hero-two-col-container" },
|
|
143
|
+
h("div", { part: "sqm-hero-primary-col", class: `${sheet.classes.ColumnWrapper} ${sheet.classes.ColumnPadding}` }, content.primaryColumn),
|
|
144
|
+
h("div", { part: "sqm-hero-secondary-col", class: `${sheet.classes.ColumnWrapper} ${sheet.classes.ColumnPadding}` }, content.secondaryColumn))) : (h("div", { part: "sqm-hero-primary-col", class: `${sheet.classes.SingleColumnContainer} ${sheet.classes.ColumnPadding}` }, content.primaryColumn))));
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
export { HeroView as H };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import './use-callback-
|
|
2
|
+
import { m as h } from './stencil-hooks.module-b48b45ec.js';
|
|
3
|
+
import './use-callback-051c06c6.js';
|
|
4
4
|
import './JSS-67b5cff8.js';
|
|
5
5
|
import { g as getProps } from './utils-334c1e34.js';
|
|
6
|
-
import { H as HeroView } from './sqm-hero-view-
|
|
6
|
+
import { H as HeroView } from './sqm-hero-view-875c927d.js';
|
|
7
7
|
|
|
8
8
|
const Hero = class {
|
|
9
9
|
constructor(hostRef) {
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import './use-callback-
|
|
5
|
-
import { O, W, f as fn, i as isDemo } from './index.module-
|
|
2
|
+
import { m as h } from './stencil-hooks.module-b48b45ec.js';
|
|
3
|
+
import { i as intl } from './global-0f137e54.js';
|
|
4
|
+
import './use-callback-051c06c6.js';
|
|
5
|
+
import { d as dist, O, W, f as fn, i as isDemo } from './index.module-787e5d35.js';
|
|
6
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
|
-
import { d as dist } from './index-4bffa04c.js';
|
|
8
7
|
import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-10657658.js';
|
|
9
8
|
|
|
10
9
|
const GET_RANK = dist.gql `
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { h } from './index-17b4da69.js';
|
|
2
|
+
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
3
|
+
|
|
4
|
+
const style = {
|
|
5
|
+
Container: { display: "contents" },
|
|
6
|
+
};
|
|
7
|
+
const vanillaStyle = `
|
|
8
|
+
:host{
|
|
9
|
+
display: inline;
|
|
10
|
+
}
|
|
11
|
+
`;
|
|
12
|
+
const sheet = createStyleSheet(style);
|
|
13
|
+
const styleString = sheet.toString();
|
|
14
|
+
function LinkButtonView(props) {
|
|
15
|
+
const { link, openInNewTab } = props;
|
|
16
|
+
return (h("span", { class: sheet.classes.Container },
|
|
17
|
+
h("style", { type: "text/css" },
|
|
18
|
+
styleString,
|
|
19
|
+
vanillaStyle),
|
|
20
|
+
h("sl-button", null,
|
|
21
|
+
h("a", { href: link, target: openInNewTab ? "_blank" : "" },
|
|
22
|
+
h("slot", null)))));
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export { LinkButtonView as L };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-17b4da69.js';
|
|
2
|
+
import './JSS-67b5cff8.js';
|
|
3
|
+
import { g as getProps } from './utils-334c1e34.js';
|
|
4
|
+
import { L as LinkButtonView } from './sqm-link-button-view-8d9ad936.js';
|
|
5
|
+
|
|
6
|
+
const Image = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
/**
|
|
10
|
+
* @uiName User Identification Text
|
|
11
|
+
*/
|
|
12
|
+
this.openInNewTab = false;
|
|
13
|
+
}
|
|
14
|
+
render() {
|
|
15
|
+
return h(LinkButtonView, Object.assign({}, getProps(this)));
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export { Image as sqm_link_button };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import { g as gn } from './index.module-
|
|
2
|
+
import { g as gn } from './index.module-787e5d35.js';
|
|
3
3
|
import { g as gap } from './mixins-f60a614c.js';
|
|
4
4
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
5
5
|
|
|
@@ -31,13 +31,13 @@ function NavigationSidebarItemView(props) {
|
|
|
31
31
|
};
|
|
32
32
|
const sheet = createStyleSheet(style);
|
|
33
33
|
const styleString = sheet.toString();
|
|
34
|
-
return (h("a", { href: data.path, onClick: (e) => {
|
|
34
|
+
return (h("a", { part: "sqm-navigation-item-link", href: data.path, onClick: (e) => {
|
|
35
35
|
e.preventDefault();
|
|
36
36
|
gn.push(data.path);
|
|
37
37
|
}, class: sheet.classes.ItemContainer },
|
|
38
38
|
h("style", { type: "text/css" }, styleString),
|
|
39
39
|
h("sl-icon", { class: sheet.classes.Icon, name: data.icon }),
|
|
40
|
-
h("p", { class: sheet.classes.Label }, data.label)));
|
|
40
|
+
h("p", { class: sheet.classes.Label, part: "sqm-navigation-item-label" }, data.label)));
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
export { NavigationSidebarItemView as N };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import {
|
|
2
|
+
import { m as h } from './stencil-hooks.module-b48b45ec.js';
|
|
3
|
+
import './use-callback-051c06c6.js';
|
|
4
|
+
import { c as mn, i as isDemo } from './index.module-787e5d35.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './mixins-f60a614c.js';
|
|
7
7
|
import './JSS-67b5cff8.js';
|
|
8
8
|
import { g as getProps } from './utils-334c1e34.js';
|
|
9
|
-
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-
|
|
9
|
+
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-ee402e54.js';
|
|
10
10
|
|
|
11
11
|
function useNavigationSidebarItem(props) {
|
|
12
12
|
const currentPage = mn();
|
package/dist/esm/{sqm-navigation-sidebar-view-74ad47d4.js → sqm-navigation-sidebar-view-feb719ce.js}
RENAMED
|
@@ -143,14 +143,14 @@ const vanillaStyle = `
|
|
|
143
143
|
}
|
|
144
144
|
`;
|
|
145
145
|
function NavigationSidebarView(props, children) {
|
|
146
|
-
return (h("div", { class: "container" },
|
|
146
|
+
return (h("div", { class: "container", part: "sqm-navigation-container" },
|
|
147
147
|
h("style", null, vanillaStyle),
|
|
148
148
|
h("input", Object.assign({ type: "checkbox", class: "toggler" }, props)),
|
|
149
149
|
h("div", { class: "hamburger" },
|
|
150
150
|
h("div", { class: "line" }),
|
|
151
151
|
h("div", { class: "line" }),
|
|
152
152
|
h("div", { class: "line" })),
|
|
153
|
-
h("div", { class: "menu-items" }, children)));
|
|
153
|
+
h("div", { class: "menu-items", part: "sqm-navigation-menu-items" }, children)));
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
export { NavigationSidebarView as N };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import {
|
|
5
|
-
import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-
|
|
2
|
+
import { m as h, i as useState, u as useEffect } from './stencil-hooks.module-b48b45ec.js';
|
|
3
|
+
import './use-callback-051c06c6.js';
|
|
4
|
+
import { c as mn, O } from './index.module-787e5d35.js';
|
|
5
|
+
import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-feb719ce.js';
|
|
6
6
|
|
|
7
7
|
const NavigationSidebar = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { h, r as registerInstance } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import { i as isDemo } from './index.module-
|
|
2
|
+
import { o as d, i as useState, m as h$1 } from './stencil-hooks.module-b48b45ec.js';
|
|
3
|
+
import './use-callback-051c06c6.js';
|
|
4
|
+
import { i as isDemo } from './index.module-787e5d35.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { E as ErrorStyles } from './mixins-f60a614c.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
|
-
import { R as REGISTRATION_FORM_STATE_CONTEXT } from './useRegistrationFormState-
|
|
8
|
+
import { R as REGISTRATION_FORM_STATE_CONTEXT } from './useRegistrationFormState-3c2c2f1b.js';
|
|
9
9
|
|
|
10
10
|
var constants = {
|
|
11
11
|
error: {
|
|
@@ -485,7 +485,7 @@ const styleString$1 = sheet$1.toString();
|
|
|
485
485
|
function PortalResetPasswordView(props) {
|
|
486
486
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
487
487
|
const { states, callbacks } = props;
|
|
488
|
-
return (h("div", { class: sheet$1.classes.InputContainer },
|
|
488
|
+
return (h("div", { class: sheet$1.classes.InputContainer, part: "sqm-password-field-container" },
|
|
489
489
|
h("style", { type: "text/css" },
|
|
490
490
|
vanillaStyle,
|
|
491
491
|
styleString$1),
|