@saasquatch/mint-components 1.15.0-4 → 1.15.0-40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{GenericTableView-a9f4ba75.js → GenericTableView-a9d0b798.js} +7 -7
- package/dist/cjs/{ShadowViewAddon-9e7916d8.js → ShadowViewAddon-fcd0c52f.js} +487 -418
- package/dist/cjs/{copy-text-view-c85acaaa.js → copy-text-view-ee147291.js} +54 -39
- package/dist/cjs/{email-registration-view-55b378dc.js → email-registration-view-37b44222.js} +1 -1
- package/dist/cjs/{global-0cf6d295.js → global-a38a094f.js} +304 -87
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/mint-components.cjs.js +2 -2
- package/dist/cjs/{mixins-f7e0377a.js → mixins-4761d472.js} +6 -6
- package/dist/cjs/sqm-banking-info-form_17.cjs.entry.js +297 -161
- package/dist/cjs/{sqm-base-registration-form-view-8a2c8763.js → sqm-base-registration-form-view-1c5094d3.js} +2 -2
- package/dist/cjs/sqm-big-stat_41.cjs.entry.js +287 -112
- package/dist/cjs/{sqm-close-button-view-ea3fa23b.js → sqm-close-button-view-b297e933.js} +1 -1
- package/dist/cjs/sqm-close-button.cjs.entry.js +2 -2
- package/dist/cjs/sqm-email-verification.cjs.entry.js +2 -2
- package/dist/cjs/sqm-empty_4.cjs.entry.js +49 -49
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-invoice-table-view-dbf7a907.js → sqm-invoice-table-view-19ca10fa.js} +2 -2
- package/dist/cjs/{sqm-leaderboard-rank-view-d39a55d8.js → sqm-leaderboard-rank-view-7c6cebe3.js} +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-navigation-sidebar-item-view-6f35d2ee.js → sqm-navigation-sidebar-item-view-10b62df1.js} +18 -7
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +26 -3
- package/dist/cjs/{sqm-navigation-sidebar-view-17111896.js → sqm-navigation-sidebar-view-38a5227a.js} +16 -6
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +19 -3
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +86 -59
- package/dist/cjs/sqm-password-field.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-ab0fb983.js → sqm-portal-email-verification-view-26c893d3.js} +3 -3
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-portal-forgot-password-view-78f19ef9.js → sqm-portal-forgot-password-view-fdd97c18.js} +24 -17
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +25 -4
- package/dist/cjs/sqm-portal-google-login.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-portal-login-view-761a4d8e.js → sqm-portal-login-view-0fbbda1b.js} +3 -3
- package/dist/cjs/{sqm-portal-profile-view-e3026b53.js → sqm-portal-profile-view-674a7543.js} +3 -3
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-registration-form-view-637a4bf4.js → sqm-portal-registration-form-view-399f4eaf.js} +2 -2
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-reset-password-view-fe602822.js → sqm-portal-reset-password-view-0439a9e5.js} +2 -2
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-verify-email-view-7b678f34.js → sqm-portal-verify-email-view-05f72dec.js} +2 -2
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-qr-code-view-15dfc0b6.js → sqm-qr-code-view-7ee9fa56.js} +2 -7
- package/dist/cjs/sqm-qr-code.cjs.entry.js +1 -1
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +111 -24
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +1 -1
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +81 -15
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +154 -30
- package/dist/cjs/sqm-tabs.cjs.entry.js +16 -4
- package/dist/cjs/sqm-text-span-view-ce4c0178.js +63 -0
- package/dist/cjs/sqm-text-span.cjs.entry.js +4 -4
- package/dist/collection/components/sqm-big-stat/BigStat.stories.js +13 -0
- package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +15 -7
- package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +162 -2
- package/dist/collection/components/sqm-big-stat/useBigStat.js +10 -0
- package/dist/collection/components/sqm-big-stat/useDemoBigStat.js +13 -4
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +1 -0
- package/dist/collection/components/sqm-coupon-code/CouponCode.stories.js +7 -0
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code-view.js +13 -13
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +169 -1
- package/dist/collection/components/sqm-coupon-code/useCouponCode.js +1 -0
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +14 -6
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +58 -1
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +1 -1
- package/dist/collection/components/sqm-form-message/FormMessage.stories.js +1 -1
- package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +3 -2
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +79 -0
- package/dist/collection/components/sqm-invoice-table/cells/sqm-invoice-table-download-cell.js +2 -2
- package/dist/collection/components/sqm-invoice-table/sqm-invoice-table-view.js +1 -1
- package/dist/collection/components/sqm-leaderboard/Leaderboard.stories.js +37 -0
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +60 -54
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +197 -32
- package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank-view.js +2 -2
- package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank.css +2 -2
- package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -1
- package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +27 -2
- package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +1 -0
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +16 -6
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +83 -5
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.js +17 -6
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +233 -1
- package/dist/collection/components/sqm-navigation-sidebar-item/useNavigationSidebarItem.js +9 -1
- package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +3 -3
- package/dist/collection/components/sqm-pagination/sqm-pagination.js +43 -0
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js +8 -4
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +1 -1
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +6 -6
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.js +22 -15
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +95 -2
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +41 -36
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +103 -2
- package/dist/collection/components/sqm-portal-frame/usePortalFrame.js +4 -1
- package/dist/collection/components/sqm-portal-login/sqm-portal-login-view.js +1 -1
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +1 -1
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +8 -2
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +77 -2
- package/dist/collection/components/sqm-qr-code/sqm-qr-code-view.js +2 -7
- package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +32 -31
- package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +75 -0
- package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +3 -0
- package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +169 -1
- package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +6 -0
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +46 -46
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +28 -1
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +48 -15
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-status-cell.js +60 -6
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.js +4 -4
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.js +3 -3
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +71 -5
- package/dist/collection/components/sqm-share-button/ShareButton.stories.js +3 -1
- package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +23 -22
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +53 -7
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +169 -1
- package/dist/collection/components/sqm-share-link/ShareLink.stories.js +12 -0
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +171 -3
- package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +20 -8
- package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +110 -2
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +2 -0
- package/dist/collection/components/sqm-tabs/Tabs.stories.js +7 -0
- package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +14 -2
- package/dist/collection/components/sqm-tabs/sqm-tabs.js +28 -2
- package/dist/collection/components/sqm-task-card/DetailsView.js +8 -2
- package/dist/collection/components/sqm-task-card/progress-bar/progress-bar-view.js +3 -2
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +138 -156
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +146 -0
- package/dist/collection/components/sqm-task-card/useTaskCard.js +10 -0
- package/dist/collection/components/sqm-text/Text.stories.js +12 -0
- package/dist/collection/components/sqm-text/sqm-text.js +100 -49
- package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +44 -43
- package/dist/collection/components/sqm-text-span/sqm-text-span.js +51 -2
- package/dist/collection/components/sqm-timeline/Timeline.stories.js +8 -1
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +45 -45
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +52 -0
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +19 -42
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +14 -41
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +55 -21
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +13 -13
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +18 -18
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +168 -16
- package/dist/collection/components/views/copy-text-view.js +53 -38
- package/dist/collection/global/mixins.js +8 -8
- package/dist/collection/global/styles.js +304 -87
- package/dist/collection/global/styles.ts +304 -87
- package/dist/collection/tables/GenericTableView.js +6 -6
- package/dist/esm/{GenericTableView-7b9087af.js → GenericTableView-3b6f9ccc.js} +7 -7
- package/dist/esm/{ShadowViewAddon-e350d540.js → ShadowViewAddon-5f9b6d07.js} +487 -418
- package/dist/esm/{copy-text-view-782137ba.js → copy-text-view-4a207b17.js} +54 -39
- package/dist/esm/{email-registration-view-a7818cf2.js → email-registration-view-b1c858ee.js} +1 -1
- package/dist/esm/{global-1d207c9e.js → global-66746c30.js} +304 -87
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mint-components.js +2 -2
- package/dist/esm/{mixins-83f90fa1.js → mixins-f750863a.js} +6 -6
- package/dist/esm/sqm-banking-info-form_17.entry.js +297 -161
- package/dist/esm/{sqm-base-registration-form-view-593d4ac3.js → sqm-base-registration-form-view-d732a5df.js} +2 -2
- package/dist/esm/sqm-big-stat_41.entry.js +287 -112
- package/dist/esm/{sqm-close-button-view-f9819751.js → sqm-close-button-view-bc2bc10e.js} +1 -1
- package/dist/esm/sqm-close-button.entry.js +2 -2
- package/dist/esm/sqm-email-verification.entry.js +2 -2
- package/dist/esm/sqm-empty_4.entry.js +49 -49
- package/dist/esm/sqm-instant-access-registration.entry.js +2 -2
- package/dist/esm/{sqm-invoice-table-view-e0c9772a.js → sqm-invoice-table-view-b7e91eef.js} +2 -2
- package/dist/esm/{sqm-leaderboard-rank-view-753c8d4a.js → sqm-leaderboard-rank-view-84b3c539.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +3 -3
- package/dist/esm/{sqm-navigation-sidebar-item-view-8f1c72bc.js → sqm-navigation-sidebar-item-view-6e046743.js} +18 -7
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +26 -3
- package/dist/esm/{sqm-navigation-sidebar-view-9d802b78.js → sqm-navigation-sidebar-view-f898265a.js} +16 -6
- package/dist/esm/sqm-navigation-sidebar.entry.js +20 -4
- package/dist/esm/sqm-pagination_3.entry.js +86 -59
- package/dist/esm/sqm-password-field.entry.js +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-6c8bad0b.js → sqm-portal-email-verification-view-00f03873.js} +3 -3
- package/dist/esm/sqm-portal-email-verification.entry.js +4 -4
- package/dist/esm/{sqm-portal-forgot-password-view-3d3182f1.js → sqm-portal-forgot-password-view-55fc0873.js} +24 -17
- package/dist/esm/sqm-portal-forgot-password.entry.js +25 -4
- package/dist/esm/sqm-portal-google-login.entry.js +3 -3
- package/dist/esm/sqm-portal-google-registration-form.entry.js +4 -4
- package/dist/esm/{sqm-portal-login-view-7e49609a.js → sqm-portal-login-view-e870b4b0.js} +3 -3
- package/dist/esm/{sqm-portal-profile-view-cbdeec1f.js → sqm-portal-profile-view-0d45de87.js} +3 -3
- package/dist/esm/sqm-portal-profile.entry.js +3 -3
- package/dist/esm/{sqm-portal-registration-form-view-3c1f6000.js → sqm-portal-registration-form-view-5d651c04.js} +2 -2
- package/dist/esm/sqm-portal-registration-form.entry.js +3 -3
- package/dist/esm/{sqm-portal-reset-password-view-54a8651f.js → sqm-portal-reset-password-view-6903828e.js} +2 -2
- package/dist/esm/sqm-portal-reset-password.entry.js +3 -3
- package/dist/esm/{sqm-portal-verify-email-view-b12cb894.js → sqm-portal-verify-email-view-01ac711f.js} +2 -2
- package/dist/esm/sqm-portal-verify-email.entry.js +3 -3
- package/dist/esm/{sqm-qr-code-view-f1d0763b.js → sqm-qr-code-view-62c10948.js} +2 -7
- package/dist/esm/sqm-qr-code.entry.js +1 -1
- package/dist/esm/sqm-referral-table_11.entry.js +111 -24
- package/dist/esm/sqm-referred-registration.entry.js +2 -2
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm/sqm-rewards-table_9.entry.js +81 -15
- package/dist/esm/sqm-stencilbook.entry.js +154 -30
- package/dist/esm/sqm-tabs.entry.js +16 -4
- package/dist/esm/sqm-text-span-view-cd3902e5.js +61 -0
- package/dist/esm/sqm-text-span.entry.js +4 -4
- package/dist/esm-es5/GenericTableView-3b6f9ccc.js +1 -0
- package/dist/esm-es5/ShadowViewAddon-5f9b6d07.js +1 -0
- package/dist/esm-es5/copy-text-view-4a207b17.js +1 -0
- package/dist/esm-es5/{email-registration-view-a7818cf2.js → email-registration-view-b1c858ee.js} +1 -1
- package/dist/esm-es5/{global-1d207c9e.js → global-66746c30.js} +4 -4
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/mixins-f750863a.js +1 -0
- package/dist/esm-es5/sqm-banking-info-form_17.entry.js +1 -1
- package/dist/esm-es5/{sqm-base-registration-form-view-593d4ac3.js → sqm-base-registration-form-view-d732a5df.js} +1 -1
- package/dist/esm-es5/sqm-big-stat_41.entry.js +1 -1
- package/dist/esm-es5/{sqm-close-button-view-f9819751.js → sqm-close-button-view-bc2bc10e.js} +1 -1
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/{sqm-invoice-table-view-e0c9772a.js → sqm-invoice-table-view-b7e91eef.js} +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank-view-84b3c539.js +1 -0
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-6e046743.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-view-f898265a.js +1 -0
- 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-password-field.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-6c8bad0b.js → sqm-portal-email-verification-view-00f03873.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password-view-55fc0873.js +1 -0
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-login-view-e870b4b0.js +1 -0
- package/dist/esm-es5/{sqm-portal-profile-view-cbdeec1f.js → sqm-portal-profile-view-0d45de87.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-registration-form-view-3c1f6000.js → sqm-portal-registration-form-view-5d651c04.js} +1 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-54a8651f.js → sqm-portal-reset-password-view-6903828e.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-b12cb894.js → sqm-portal-verify-email-view-01ac711f.js} +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/{sqm-qr-code-view-f1d0763b.js → sqm-qr-code-view-62c10948.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-referred-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/sqm-text-span-view-cd3902e5.js +1 -0
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/mint-components/global/styles.ts +304 -87
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-9b894557.entry.js → p-015da96d.entry.js} +1 -1
- package/dist/mint-components/p-042642d3.entry.js +1 -0
- package/dist/mint-components/p-0480b155.system.entry.js +1 -0
- package/dist/mint-components/{p-91ab3da1.js → p-057f5402.js} +1 -1
- package/dist/mint-components/{p-d07f3090.entry.js → p-0b3218a5.entry.js} +1 -1
- package/dist/mint-components/{p-d929b9d5.system.js → p-0bdeab70.system.js} +1 -1
- package/dist/mint-components/{p-e5d0375e.system.js → p-0df294ad.system.js} +1 -1
- package/dist/mint-components/p-0e32981f.js +1 -0
- package/dist/mint-components/p-0eb3d919.system.entry.js +1 -0
- package/dist/mint-components/p-1abe7884.system.entry.js +1 -0
- package/dist/mint-components/p-210e8f49.entry.js +144 -0
- package/dist/mint-components/{p-99ad7d56.system.js → p-223dd3f7.system.js} +1 -1
- package/dist/mint-components/{p-709e1799.system.entry.js → p-241d68d4.system.entry.js} +1 -1
- package/dist/mint-components/p-32a47b41.system.js +1 -0
- package/dist/mint-components/p-3a21f8f9.system.entry.js +1 -0
- package/dist/mint-components/p-3c3aab4c.system.js +1 -0
- package/dist/mint-components/{p-19bc3406.system.entry.js → p-3e4e74a2.system.entry.js} +1 -1
- package/dist/mint-components/{p-c8147def.js → p-3e604cad.js} +1 -1
- package/dist/mint-components/{p-475245d1.system.js → p-3f290d24.system.js} +12 -12
- package/dist/mint-components/{p-164a9103.system.entry.js → p-41d051b1.system.entry.js} +1 -1
- package/dist/mint-components/{p-90fc6774.system.entry.js → p-457962b7.system.entry.js} +1 -1
- package/dist/mint-components/p-46a672e4.entry.js +1 -0
- package/dist/mint-components/p-49b20dae.js +1 -0
- package/dist/mint-components/{p-380bfde1.entry.js → p-4b42b756.entry.js} +1 -1
- package/dist/mint-components/{p-2dca9e1a.system.js → p-4b9789a2.system.js} +1 -1
- package/dist/mint-components/{p-fbac722b.js → p-4caaf25a.js} +1 -1
- package/dist/mint-components/{p-f0772618.system.entry.js → p-4d478108.system.entry.js} +1 -1
- package/dist/mint-components/{p-6d4a313f.js → p-4f22fda2.js} +81 -81
- package/dist/mint-components/{p-b75bb6e3.system.js → p-505951d2.system.js} +1 -1
- package/dist/mint-components/p-5366850e.entry.js +1 -0
- package/dist/mint-components/p-54b0b768.system.js +1 -0
- package/dist/mint-components/p-5c5964e0.js +1 -0
- package/dist/mint-components/{p-b2bf509e.entry.js → p-5cd684b2.entry.js} +2 -2
- package/dist/mint-components/p-5d407714.system.entry.js +1 -0
- package/dist/mint-components/{p-a2fde301.entry.js → p-5ef6de10.entry.js} +1 -1
- package/dist/mint-components/p-66a2b1a4.js +1 -0
- package/dist/mint-components/p-6798cad1.system.js +1 -0
- package/dist/mint-components/{p-b33b7eb5.system.js → p-6798d563.system.js} +1 -1
- package/dist/mint-components/p-693fc880.system.js +1 -0
- package/dist/mint-components/{p-0c78815e.system.entry.js → p-6a49b077.system.entry.js} +1 -1
- package/dist/mint-components/{p-53730ffe.entry.js → p-6a5f57d7.entry.js} +1 -1
- package/dist/mint-components/p-6c1d0367.entry.js +33 -0
- package/dist/mint-components/p-71f23364.entry.js +13 -0
- package/dist/mint-components/{p-92816d1f.js → p-72ff8268.js} +1 -1
- package/dist/mint-components/p-731d06a9.entry.js +1 -0
- package/dist/mint-components/p-74afdafb.system.js +1 -0
- package/dist/mint-components/p-767485b8.system.js +1 -0
- package/dist/mint-components/{p-1673fae9.system.entry.js → p-770bba1b.system.entry.js} +1 -1
- package/dist/mint-components/p-77b8a529.system.entry.js +1 -0
- package/dist/mint-components/{p-7a9290ba.js → p-82113e37.js} +1 -1
- package/dist/mint-components/p-8530290b.entry.js +258 -0
- package/dist/mint-components/{p-0d2d0b6d.entry.js → p-865f812e.entry.js} +1 -1
- package/dist/mint-components/{p-42187319.system.entry.js → p-884ac29e.system.entry.js} +1 -1
- package/dist/mint-components/p-8a6494c7.system.js +1 -0
- package/dist/mint-components/{p-00ed4c2e.entry.js → p-8e93e590.entry.js} +1 -1
- package/dist/mint-components/p-8feb4180.entry.js +1 -0
- package/dist/mint-components/p-9acf0b39.system.entry.js +1 -0
- package/dist/mint-components/p-9f2edf59.system.js +1 -0
- package/dist/mint-components/{p-6df88590.system.entry.js → p-9fe574ca.system.entry.js} +1 -1
- package/dist/mint-components/{p-6055eb4c.system.js → p-a1091368.system.js} +1 -1
- package/dist/mint-components/{p-4428294b.entry.js → p-a3e68251.entry.js} +1 -1
- package/dist/mint-components/p-a572db9b.system.entry.js +1 -0
- package/dist/mint-components/{p-7f80a9d7.entry.js → p-a60d5315.entry.js} +1 -1
- package/dist/mint-components/p-a68932b0.system.entry.js +1 -0
- package/dist/mint-components/{p-f4a8ee29.system.entry.js → p-af516659.system.entry.js} +1 -1
- package/dist/mint-components/p-af96b482.entry.js +205 -0
- package/dist/mint-components/p-b0d4938a.system.entry.js +1 -0
- package/dist/mint-components/p-b637f1e4.js +1 -0
- package/dist/mint-components/{p-2f101bae.entry.js → p-b6761073.entry.js} +1 -1
- package/dist/mint-components/{p-9bfd9bed.system.entry.js → p-bb6e411d.system.entry.js} +1 -1
- package/dist/mint-components/p-bdd80fce.js +1 -0
- package/dist/mint-components/p-bf25f63a.js +394 -0
- package/dist/mint-components/{p-9cb06082.system.entry.js → p-c024fc32.system.entry.js} +1 -1
- package/dist/mint-components/{p-91959fbe.js → p-c96a25c6.js} +1 -1
- package/dist/mint-components/p-ca9e0322.system.js +1 -0
- package/dist/mint-components/{p-1a6b7d2a.entry.js → p-cd0ee247.entry.js} +1 -1
- package/dist/mint-components/{p-9d3d4098.system.js → p-cfa34cf2.system.js} +1 -1
- package/dist/mint-components/p-d0064d54.system.entry.js +1 -0
- package/dist/mint-components/{p-9386ad84.system.entry.js → p-d12e9cfd.system.entry.js} +1 -1
- package/dist/mint-components/{p-35b475bf.js → p-d1ae7a2d.js} +1 -1
- package/dist/mint-components/{p-5c28406d.system.entry.js → p-d5b3397c.system.entry.js} +1 -1
- package/dist/mint-components/p-d5e9906e.system.js +1 -0
- package/dist/mint-components/p-d6352d15.js +1 -0
- package/dist/mint-components/p-d932f43d.entry.js +1 -0
- package/dist/mint-components/p-d9335f16.js +1 -0
- package/dist/mint-components/p-d94a4d50.system.entry.js +1 -0
- package/dist/mint-components/{p-15d77d0b.entry.js → p-dded7d43.entry.js} +1 -1
- package/dist/mint-components/p-de136dd3.js +1 -0
- package/dist/mint-components/p-e1e62d55.entry.js +1 -0
- package/dist/mint-components/{p-4794641c.system.js → p-e2705fbe.system.js} +1 -1
- package/dist/mint-components/p-e309a219.js +1 -0
- package/dist/mint-components/{p-f940190a.js → p-e518a60d.js} +1 -1
- package/dist/mint-components/{p-f2d8d3d3.system.entry.js → p-e80f9e26.system.entry.js} +1 -1
- package/dist/mint-components/{p-775f3ded.entry.js → p-f0fdbd82.entry.js} +1 -1
- package/dist/mint-components/p-fb584d7a.js +1 -0
- package/dist/mint-components/p-fbef4ecb.system.js +1 -0
- package/dist/mint-components/p-fe6fe9cf.entry.js +13 -0
- package/dist/types/components/sqm-big-stat/BigStat.stories.d.ts +2 -0
- package/dist/types/components/sqm-big-stat/sqm-big-stat-view.d.ts +5 -0
- package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +41 -0
- package/dist/types/components/sqm-coupon-code/CouponCode.stories.d.ts +2 -0
- package/dist/types/components/sqm-coupon-code/sqm-coupon-code-view.d.ts +2 -0
- package/dist/types/components/sqm-coupon-code/sqm-coupon-code.d.ts +42 -0
- package/dist/types/components/sqm-coupon-code/useCouponCode.d.ts +1 -0
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout-view.d.ts +4 -1
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +13 -0
- package/dist/types/components/sqm-hero-image/sqm-hero-image-view.d.ts +1 -0
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +19 -0
- package/dist/types/components/sqm-leaderboard/Leaderboard.stories.d.ts +1 -0
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard-view.d.ts +6 -0
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +48 -7
- package/dist/types/components/sqm-leaderboard/useLeaderboard.d.ts +6 -0
- package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.d.ts +1 -0
- package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +14 -0
- package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.d.ts +8 -0
- package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +57 -0
- package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +1 -0
- package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +9 -0
- package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password-view.d.ts +2 -0
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.d.ts +7 -0
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +15 -0
- package/dist/types/components/sqm-portal-frame/sqm-portal-frame-view.d.ts +3 -0
- package/dist/types/components/sqm-portal-frame/sqm-portal-frame.d.ts +19 -0
- package/dist/types/components/sqm-portal-frame/usePortalFrame.d.ts +2 -1
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step-view.d.ts +3 -0
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +20 -2
- package/dist/types/components/sqm-referral-card/sqm-referral-card-view.d.ts +5 -2
- package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +20 -0
- package/dist/types/components/sqm-referral-code/ReferralCode.stories.d.ts +1 -0
- package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +42 -0
- package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +1 -0
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +1 -0
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +6 -0
- package/dist/types/components/sqm-share-button/ShareButton.stories.d.ts +1 -1
- package/dist/types/components/sqm-share-button/sqm-share-button-view.d.ts +2 -1
- package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +15 -3
- package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +42 -0
- package/dist/types/components/sqm-share-link/ShareLink.stories.d.ts +1 -0
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +43 -1
- package/dist/types/components/sqm-stat-container/sqm-stat-container-view.d.ts +3 -0
- package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +23 -0
- package/dist/types/components/sqm-tabs/Tabs.stories.d.ts +1 -0
- package/dist/types/components/sqm-tabs/sqm-tabs-view.d.ts +1 -0
- package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +8 -0
- package/dist/types/components/sqm-task-card/DetailsView.d.ts +6 -0
- package/dist/types/components/sqm-task-card/sqm-task-card-view.d.ts +5 -0
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +32 -0
- package/dist/types/components/sqm-task-card/useTaskCard.d.ts +9 -0
- package/dist/types/components/sqm-text/Text.stories.d.ts +6 -0
- package/dist/types/components/sqm-text/sqm-text.d.ts +12 -0
- package/dist/types/components/sqm-text-span/sqm-text-span-view.d.ts +4 -2
- package/dist/types/components/sqm-text-span/sqm-text-span.d.ts +13 -1
- package/dist/types/components/sqm-timeline/Timeline.stories.d.ts +1 -0
- package/dist/types/components/sqm-timeline/sqm-timeline-entry-view.d.ts +2 -0
- package/dist/types/components/sqm-timeline/sqm-timeline-entry.d.ts +14 -0
- package/dist/types/components/views/copy-text-view.d.ts +5 -0
- package/dist/types/components.d.ts +1112 -15
- package/dist/types/global/mixins.d.ts +12 -12
- package/dist/types/global/styles.d.ts +1 -1
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/sqm-text-span-view-0aa82125.js +0 -62
- package/dist/esm/sqm-text-span-view-ca32495e.js +0 -60
- package/dist/esm-es5/GenericTableView-7b9087af.js +0 -1
- package/dist/esm-es5/ShadowViewAddon-e350d540.js +0 -1
- package/dist/esm-es5/copy-text-view-782137ba.js +0 -1
- package/dist/esm-es5/mixins-83f90fa1.js +0 -1
- package/dist/esm-es5/sqm-leaderboard-rank-view-753c8d4a.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-8f1c72bc.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-view-9d802b78.js +0 -1
- package/dist/esm-es5/sqm-portal-forgot-password-view-3d3182f1.js +0 -1
- package/dist/esm-es5/sqm-portal-login-view-7e49609a.js +0 -1
- package/dist/esm-es5/sqm-text-span-view-ca32495e.js +0 -1
- package/dist/mint-components/p-091e7ca2.system.entry.js +0 -1
- package/dist/mint-components/p-0ebab63e.system.js +0 -1
- package/dist/mint-components/p-141bf5c1.system.entry.js +0 -1
- package/dist/mint-components/p-14a65f29.system.js +0 -1
- package/dist/mint-components/p-23379b5b.entry.js +0 -144
- package/dist/mint-components/p-24db5c70.js +0 -1
- package/dist/mint-components/p-2bcd406c.system.js +0 -1
- package/dist/mint-components/p-2da21ba4.entry.js +0 -1
- package/dist/mint-components/p-31015791.js +0 -1
- package/dist/mint-components/p-342bc70c.system.entry.js +0 -1
- package/dist/mint-components/p-38e5c429.system.js +0 -1
- package/dist/mint-components/p-3a31cc83.entry.js +0 -13
- package/dist/mint-components/p-3b90e01b.system.js +0 -1
- package/dist/mint-components/p-3ba1ab43.system.js +0 -1
- package/dist/mint-components/p-3db34d68.js +0 -1
- package/dist/mint-components/p-3f6e0197.system.entry.js +0 -1
- package/dist/mint-components/p-420554af.system.entry.js +0 -1
- package/dist/mint-components/p-441b60ac.system.entry.js +0 -1
- package/dist/mint-components/p-492b70db.system.js +0 -1
- package/dist/mint-components/p-4e5af50c.js +0 -1
- package/dist/mint-components/p-5bdafc7e.system.entry.js +0 -1
- package/dist/mint-components/p-626e9e84.js +0 -1
- package/dist/mint-components/p-635d5ef2.system.js +0 -1
- package/dist/mint-components/p-6a97b51d.entry.js +0 -13
- package/dist/mint-components/p-716d0275.entry.js +0 -1
- package/dist/mint-components/p-7ab21e4d.entry.js +0 -1
- package/dist/mint-components/p-837a0fdd.js +0 -1
- package/dist/mint-components/p-85671c3d.system.entry.js +0 -1
- package/dist/mint-components/p-904ebcf6.system.entry.js +0 -1
- package/dist/mint-components/p-91521e9d.js +0 -1
- package/dist/mint-components/p-9db71c84.entry.js +0 -1
- package/dist/mint-components/p-aad32fb6.system.js +0 -1
- package/dist/mint-components/p-b207beeb.entry.js +0 -1
- package/dist/mint-components/p-babcdb1f.system.entry.js +0 -1
- package/dist/mint-components/p-c060f770.system.entry.js +0 -1
- package/dist/mint-components/p-c3bfb9c3.entry.js +0 -258
- package/dist/mint-components/p-c9f1dde7.js +0 -1
- package/dist/mint-components/p-cd1d497f.system.js +0 -1
- package/dist/mint-components/p-dbcb5359.js +0 -1
- package/dist/mint-components/p-dcc81e90.entry.js +0 -1
- package/dist/mint-components/p-e07bc6c4.system.js +0 -1
- package/dist/mint-components/p-e41aac34.js +0 -1
- package/dist/mint-components/p-e6f50ffd.entry.js +0 -1
- package/dist/mint-components/p-f1e72435.entry.js +0 -33
- package/dist/mint-components/p-f3e2098c.js +0 -394
- package/dist/mint-components/p-f56bedd5.js +0 -1
- package/dist/mint-components/p-f71ae358.system.entry.js +0 -1
- package/dist/mint-components/p-f7c99803.system.js +0 -1
- package/dist/mint-components/p-f87ae19e.entry.js +0 -205
|
@@ -2,8 +2,8 @@ import { r as registerInstance, h as h$1 } from './index-91e7729f.js';
|
|
|
2
2
|
import { n as h } from './stencil-hooks.module-4bc38af4.js';
|
|
3
3
|
import { g as getEnvironmentSDK } from './index.module-89a79f66.js';
|
|
4
4
|
import './JSS-67b5cff8.js';
|
|
5
|
-
import './mixins-
|
|
6
|
-
import { C as CloseButtonView } from './sqm-close-button-view-
|
|
5
|
+
import './mixins-f750863a.js';
|
|
6
|
+
import { C as CloseButtonView } from './sqm-close-button-view-bc2bc10e.js';
|
|
7
7
|
|
|
8
8
|
const CloseButton = class {
|
|
9
9
|
constructor(hostRef) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { h, r as registerInstance } from './index-91e7729f.js';
|
|
2
2
|
import { k as useState, f as useEffect, n as h$1 } from './stencil-hooks.module-4bc38af4.js';
|
|
3
|
-
import { i as intl } from './global-
|
|
3
|
+
import { i as intl } from './global-66746c30.js';
|
|
4
4
|
import { d as dist, t as Pn, w as wn, J, $ as $e, i as isDemo, q as En } from './index.module-89a79f66.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { g as getProps } from './utils-334c1e34.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
8
|
+
import { T as TextSpanView } from './sqm-text-span-view-cd3902e5.js';
|
|
9
9
|
import { S as SHOW_CODE_NAMESPACE, V as VERIFICATION_EMAIL_NAMESPACE } from './keys-406491dc.js';
|
|
10
10
|
import { u as useVerificationEmail } from './useVerificationEmail-edc318cb.js';
|
|
11
11
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-91e7729f.js';
|
|
2
2
|
import { n as h$1 } from './stencil-hooks.module-4bc38af4.js';
|
|
3
|
-
import { i as intl } from './global-
|
|
3
|
+
import { i as intl } from './global-66746c30.js';
|
|
4
4
|
import './index.module-89a79f66.js';
|
|
5
5
|
import { g as getProps } from './utils-334c1e34.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
@@ -93,54 +93,6 @@ const PortalContainer = class {
|
|
|
93
93
|
}
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
const vanillaStyle = `
|
|
97
|
-
sqm-text {
|
|
98
|
-
display: block;
|
|
99
|
-
color: var(--sqm-text);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
sqm-text h1 {
|
|
103
|
-
font-size: var(--sl-font-size-xxx-large);
|
|
104
|
-
font-weight: var(--sl-font-weight-semibold);
|
|
105
|
-
color: var(--sqm-text);
|
|
106
|
-
margin: 0;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
sqm-text h2 {
|
|
110
|
-
font-size: var(--sl-font-size-xx-large);
|
|
111
|
-
font-weight: var(--sl-font-weight-semibold);
|
|
112
|
-
color: var(--sqm-text);
|
|
113
|
-
margin: 0;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
sqm-text h3 {
|
|
117
|
-
font-size: var(--sl-font-size-x-large);
|
|
118
|
-
font-weight: var(--sl-font-weight-semibold);
|
|
119
|
-
color: var(--sqm-text);
|
|
120
|
-
margin: 0;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
sqm-text h4 {
|
|
124
|
-
font-size: var(--sl-font-size-large);
|
|
125
|
-
font-weight: var(--sl-font-weight-bold);
|
|
126
|
-
color: var(--sqm-text);
|
|
127
|
-
margin: 0;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
sqm-text p {
|
|
131
|
-
font-size: var(--sl-font-size-medium);
|
|
132
|
-
font-weight: var(--sl-font-weight-normal);
|
|
133
|
-
color: var(--sqm-text);
|
|
134
|
-
margin: 0;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
sqm-text sub {
|
|
138
|
-
font-size: var(--sl-font-size-small);
|
|
139
|
-
font-weight: var(--sl-font-weight-normal);
|
|
140
|
-
color: var(--sqm-text);
|
|
141
|
-
margin: 0;
|
|
142
|
-
}
|
|
143
|
-
`;
|
|
144
96
|
const Text = class {
|
|
145
97
|
constructor(hostRef) {
|
|
146
98
|
registerInstance(this, hostRef);
|
|
@@ -150,6 +102,54 @@ const Text = class {
|
|
|
150
102
|
disconnectedCallback() { }
|
|
151
103
|
componentWillLoad() { }
|
|
152
104
|
render() {
|
|
105
|
+
const vanillaStyle = `
|
|
106
|
+
sqm-text {
|
|
107
|
+
display: block;
|
|
108
|
+
color: ${this.textColor || "var(--sqm-text)"};
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
sqm-text h1 {
|
|
112
|
+
font-size: ${this.fontSize ? `${this.fontSize}px` : "var(--sl-font-size-xxx-large)"};
|
|
113
|
+
font-weight: var(--sl-font-weight-semibold);
|
|
114
|
+
color: ${this.textColor || "var(--sqm-text)"};
|
|
115
|
+
margin: 0;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
sqm-text h2 {
|
|
119
|
+
font-size: ${this.fontSize ? `${this.fontSize}px` : "var(--sl-font-size-xx-large)"};
|
|
120
|
+
font-weight: var(--sl-font-weight-semibold);
|
|
121
|
+
color: ${this.textColor || "var(--sqm-text)"};
|
|
122
|
+
margin: 0;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
sqm-text h3 {
|
|
126
|
+
font-size: ${this.fontSize ? `${this.fontSize}px` : "var(--sl-font-size-x-large)"};
|
|
127
|
+
font-weight: var(--sl-font-weight-semibold);
|
|
128
|
+
color: ${this.textColor || "var(--sqm-text)"};
|
|
129
|
+
margin: 0;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
sqm-text h4 {
|
|
133
|
+
font-size: ${this.fontSize ? `${this.fontSize}px` : "var(--sl-font-size-large)"};
|
|
134
|
+
font-weight: var(--sl-font-weight-bold);
|
|
135
|
+
color: ${this.textColor || "var(--sqm-text)"};
|
|
136
|
+
margin: 0;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
sqm-text p {
|
|
140
|
+
font-size: ${this.fontSize ? `${this.fontSize}px` : "var(--sl-font-size-medium)"};
|
|
141
|
+
font-weight: var(--sl-font-weight-normal);
|
|
142
|
+
color: ${this.textColor || "var(--sqm-text)"};
|
|
143
|
+
margin: 0;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
sqm-text sub {
|
|
147
|
+
font-size: ${this.fontSize ? `${this.fontSize}px` : "var(--sl-font-size-small)"};
|
|
148
|
+
font-weight: var(--sl-font-weight-normal);
|
|
149
|
+
color: ${this.textColor || "var(--sqm-text)"};
|
|
150
|
+
margin: 0;
|
|
151
|
+
}
|
|
152
|
+
`;
|
|
153
153
|
return (h("div", null, h("style", null, vanillaStyle), h("slot", null)));
|
|
154
154
|
}
|
|
155
155
|
};
|
|
@@ -4,8 +4,8 @@ import { i as isDemo, b as setUserIdentity } from './index.module-89a79f66.js';
|
|
|
4
4
|
import './jsonpointer-388a7082.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
|
-
import './mixins-
|
|
8
|
-
import { E as EmailRegistrationView } from './email-registration-view-
|
|
7
|
+
import './mixins-f750863a.js';
|
|
8
|
+
import { E as EmailRegistrationView } from './email-registration-view-b1c858ee.js';
|
|
9
9
|
import './useRegistrationFormState-d6f33135.js';
|
|
10
10
|
import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-dc4ad9f2.js';
|
|
11
11
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-91e7729f.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-66746c30.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
4
|
import { E as ErrorView } from './ErrorView-48e2b969.js';
|
|
5
5
|
|
|
@@ -1970,7 +1970,7 @@ const style$2 = {
|
|
|
1970
1970
|
fontSize: "var(--sl-font-size-small)",
|
|
1971
1971
|
marginTop: "var(--sl-spacing-small)",
|
|
1972
1972
|
margin: "0 0 var(--sl-spacing-large)",
|
|
1973
|
-
color: "var(--
|
|
1973
|
+
color: "var(--sqm-text-subdued)",
|
|
1974
1974
|
},
|
|
1975
1975
|
Header: {
|
|
1976
1976
|
fontSize: "var(--sl-font-size-large)",
|
package/dist/esm/{sqm-leaderboard-rank-view-753c8d4a.js → sqm-leaderboard-rank-view-84b3c539.js}
RENAMED
|
@@ -2,7 +2,7 @@ import { h } from './index-91e7729f.js';
|
|
|
2
2
|
|
|
3
3
|
function LeaderboardRankView(props) {
|
|
4
4
|
const { data } = props;
|
|
5
|
-
return h("span", {
|
|
5
|
+
return (h("span", { style: { marginTop: "0px", fontSize: "var(--sl-font-size-small)" } }, data.rank));
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
export { LeaderboardRankView as L };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-91e7729f.js';
|
|
2
2
|
import { n as h } from './stencil-hooks.module-4bc38af4.js';
|
|
3
|
-
import { i as intl } from './global-
|
|
3
|
+
import { i as intl } from './global-66746c30.js';
|
|
4
4
|
import { d as dist, H, J, w as wn, i as isDemo } from './index.module-89a79f66.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
|
-
import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-
|
|
6
|
+
import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-84b3c539.js';
|
|
7
7
|
|
|
8
8
|
const GET_RANK = dist.gql `
|
|
9
9
|
query ($type: String!, $filter: UserLeaderboardFilterInput) {
|
|
@@ -48,7 +48,7 @@ function useLeaderboardRank(props) {
|
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
const sqmLeaderboardRankCss = "p,.P{font-size:var(--sl-font-size-small);color:var(--
|
|
51
|
+
const sqmLeaderboardRankCss = "p,.P{font-size:var(--sl-font-size-small);color:var(--sqm-text);margin-top:0px}p.Subtitle,.P.Subtitle{color:var(--sqm-text-subdued);margin:0px}";
|
|
52
52
|
|
|
53
53
|
const LeaderboardRank = class {
|
|
54
54
|
constructor(hostRef) {
|
|
@@ -1,25 +1,36 @@
|
|
|
1
1
|
import { h } from './index-91e7729f.js';
|
|
2
2
|
import { j as jn } from './index.module-89a79f66.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
|
-
import { g as gap } from './mixins-
|
|
4
|
+
import { g as gap } from './mixins-f750863a.js';
|
|
5
5
|
|
|
6
6
|
function NavigationSidebarItemView(props) {
|
|
7
7
|
const { states, data } = props;
|
|
8
|
+
const backgroundColor = props.backgroundColor || "var(--sqm-portal-background)";
|
|
9
|
+
const backgroundHoverColor = props.backgroundHoverColor || "var(--sl-color-gray-50)";
|
|
10
|
+
const backgroundFocusedColor = props.backgroundFocusedColor || "var(--sl-color-gray-200)";
|
|
11
|
+
const textFocusedColor = props.textFocusedColor || "var(--sqm-text)";
|
|
8
12
|
const style = {
|
|
9
13
|
ItemContainer: {
|
|
10
14
|
display: "flex",
|
|
11
|
-
"background-color": `${states.active ?
|
|
12
|
-
|
|
13
|
-
|
|
15
|
+
"background-color": `${states.active ? backgroundFocusedColor : backgroundColor}`,
|
|
16
|
+
borderRadius: props.borderRadius
|
|
17
|
+
? `${props.borderRadius}px`
|
|
18
|
+
: "var(--sl-border-radius-large)",
|
|
19
|
+
padding: `var(--sl-spacing-${props.padding})`,
|
|
14
20
|
"text-decoration": "none",
|
|
15
|
-
color:
|
|
21
|
+
color: states.active
|
|
22
|
+
? textFocusedColor
|
|
23
|
+
: props.textColor || "var(--sqm-text)",
|
|
16
24
|
"align-items": "center",
|
|
17
25
|
...gap({ direction: "row", size: "var(--sl-font-size-small)" }),
|
|
18
26
|
"&:hover": {
|
|
19
27
|
cursor: "pointer",
|
|
20
28
|
background: states.active
|
|
21
|
-
?
|
|
22
|
-
:
|
|
29
|
+
? backgroundFocusedColor
|
|
30
|
+
: backgroundHoverColor,
|
|
31
|
+
color: states.active
|
|
32
|
+
? textFocusedColor
|
|
33
|
+
: props.textHoverColor || "var(--sqm-text)",
|
|
23
34
|
},
|
|
24
35
|
},
|
|
25
36
|
Label: {
|
|
@@ -4,8 +4,8 @@ import { k as kn, i as isDemo } from './index.module-89a79f66.js';
|
|
|
4
4
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
5
5
|
import { g as getProps } from './utils-334c1e34.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
|
-
import './mixins-
|
|
8
|
-
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-
|
|
7
|
+
import './mixins-f750863a.js';
|
|
8
|
+
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-6e046743.js';
|
|
9
9
|
|
|
10
10
|
function useNavigationSidebarItem(props) {
|
|
11
11
|
const currentPage = kn();
|
|
@@ -16,14 +16,29 @@ function useNavigationSidebarItem(props) {
|
|
|
16
16
|
data: {
|
|
17
17
|
label: props.label,
|
|
18
18
|
icon: props.icon,
|
|
19
|
-
path: props.path
|
|
19
|
+
path: props.path,
|
|
20
20
|
},
|
|
21
|
+
backgroundColor: props.backgroundColor,
|
|
22
|
+
backgroundHoverColor: props.backgroundHoverColor,
|
|
23
|
+
textColor: props.textColor,
|
|
24
|
+
textHoverColor: props.textHoverColor,
|
|
25
|
+
borderRadius: props.borderRadius,
|
|
26
|
+
backgroundFocusedColor: props.backgroundFocusedColor,
|
|
27
|
+
textFocusedColor: props.textFocusedColor,
|
|
28
|
+
padding: props.padding,
|
|
21
29
|
};
|
|
22
30
|
}
|
|
23
31
|
|
|
24
32
|
const NavigationSidebarItem = class {
|
|
25
33
|
constructor(hostRef) {
|
|
26
34
|
registerInstance(this, hostRef);
|
|
35
|
+
/**
|
|
36
|
+
* @uiName Padding
|
|
37
|
+
* @uiType string
|
|
38
|
+
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
39
|
+
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
40
|
+
*/
|
|
41
|
+
this.padding = "x-small";
|
|
27
42
|
h(this);
|
|
28
43
|
}
|
|
29
44
|
disconnectedCallback() { }
|
|
@@ -43,6 +58,14 @@ function useSidebarItemDemo(props) {
|
|
|
43
58
|
label: props.label || "Dashboard",
|
|
44
59
|
icon: props.icon || "house",
|
|
45
60
|
},
|
|
61
|
+
backgroundColor: props.backgroundColor,
|
|
62
|
+
backgroundHoverColor: props.backgroundHoverColor,
|
|
63
|
+
textColor: props.textColor,
|
|
64
|
+
textHoverColor: props.textHoverColor,
|
|
65
|
+
borderRadius: props.borderRadius,
|
|
66
|
+
backgroundFocusedColor: props.backgroundFocusedColor,
|
|
67
|
+
textFocusedColor: props.textFocusedColor,
|
|
68
|
+
padding: props.padding,
|
|
46
69
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
47
70
|
}
|
|
48
71
|
|
package/dist/esm/{sqm-navigation-sidebar-view-9d802b78.js → sqm-navigation-sidebar-view-f898265a.js}
RENAMED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { h } from './index-91e7729f.js';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
function NavigationSidebarView(props, children) {
|
|
4
|
+
const vanillaStyle = `
|
|
4
5
|
|
|
5
6
|
* {
|
|
6
7
|
padding: 0;
|
|
@@ -8,6 +9,16 @@ const vanillaStyle = `
|
|
|
8
9
|
box-sizing: border-box;
|
|
9
10
|
}
|
|
10
11
|
|
|
12
|
+
.container {
|
|
13
|
+
background: var(--sqm-portal-background);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.menu-items {
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
gap: 10px;
|
|
20
|
+
}
|
|
21
|
+
|
|
11
22
|
@keyframes slideIn {
|
|
12
23
|
0% {
|
|
13
24
|
left: -350px;
|
|
@@ -59,12 +70,12 @@ const vanillaStyle = `
|
|
|
59
70
|
flex-direction: column;
|
|
60
71
|
z-index: 100;
|
|
61
72
|
}
|
|
62
|
-
.menu-items {
|
|
73
|
+
.menu-items {
|
|
63
74
|
display: none;
|
|
64
75
|
padding: 20px;
|
|
65
76
|
border-right: 1px solid #eaeaea;
|
|
66
77
|
padding-top: 60px;
|
|
67
|
-
background:
|
|
78
|
+
background: var(--sqm-portal-background);
|
|
68
79
|
width: 100vw;
|
|
69
80
|
height: 100vh;
|
|
70
81
|
position: absolute;
|
|
@@ -128,7 +139,7 @@ const vanillaStyle = `
|
|
|
128
139
|
.toggler:checked ~ .hamburger > .line:nth-child(2),
|
|
129
140
|
.toggler:checked ~ .hamburger > .line:nth-child(3) {
|
|
130
141
|
width: 75%;
|
|
131
|
-
border-bottom: 3px solid
|
|
142
|
+
border-bottom: 3px solid ${props.mobileMenuColor};
|
|
132
143
|
margin: 0;
|
|
133
144
|
}
|
|
134
145
|
|
|
@@ -138,11 +149,10 @@ const vanillaStyle = `
|
|
|
138
149
|
height: 4px;
|
|
139
150
|
width: 100%;
|
|
140
151
|
margin-bottom: 3px;
|
|
141
|
-
border-bottom: 5px solid
|
|
152
|
+
border-bottom: 5px solid ${props.mobileMenuColor};
|
|
142
153
|
}
|
|
143
154
|
}
|
|
144
155
|
`;
|
|
145
|
-
function NavigationSidebarView(props, children) {
|
|
146
156
|
return (h("div", { class: "container", part: "sqm-base" },
|
|
147
157
|
h("style", null, vanillaStyle),
|
|
148
158
|
h("input", Object.assign({ type: "checkbox", class: "toggler" }, props)),
|
|
@@ -1,21 +1,31 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-91e7729f.js';
|
|
2
2
|
import { n as h, k as useState, f as useEffect } from './stencil-hooks.module-4bc38af4.js';
|
|
3
|
-
import { k as kn, H } from './index.module-89a79f66.js';
|
|
4
|
-
import {
|
|
3
|
+
import { i as isDemo, k as kn, H } from './index.module-89a79f66.js';
|
|
4
|
+
import { c as cjs } from './cjs-bdfb4486.js';
|
|
5
|
+
import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-f898265a.js';
|
|
5
6
|
|
|
6
7
|
const NavigationSidebar = class {
|
|
7
8
|
constructor(hostRef) {
|
|
8
9
|
registerInstance(this, hostRef);
|
|
9
10
|
this.ignored = true;
|
|
11
|
+
/**
|
|
12
|
+
* @uiName Text color
|
|
13
|
+
* @uiWidget color
|
|
14
|
+
* @format color
|
|
15
|
+
* @uiGroup Style
|
|
16
|
+
*/
|
|
17
|
+
this.mobileMenuColor = "var(--sqm-text, #444445)";
|
|
10
18
|
h(this);
|
|
11
19
|
}
|
|
12
20
|
disconnectedCallback() { }
|
|
13
21
|
render() {
|
|
14
|
-
const props =
|
|
22
|
+
const props = isDemo()
|
|
23
|
+
? useDemoNavigationSidebar(this)
|
|
24
|
+
: useNavigationSidebar(this);
|
|
15
25
|
return (h$1(NavigationSidebarView, Object.assign({}, props), h$1("slot", null)));
|
|
16
26
|
}
|
|
17
27
|
};
|
|
18
|
-
function useNavigationSidebar() {
|
|
28
|
+
function useNavigationSidebar(props) {
|
|
19
29
|
const location = kn();
|
|
20
30
|
const programId = H();
|
|
21
31
|
const [checked, setChecked] = useState(false);
|
|
@@ -27,9 +37,15 @@ function useNavigationSidebar() {
|
|
|
27
37
|
setChecked(e.target.checked);
|
|
28
38
|
}
|
|
29
39
|
return {
|
|
40
|
+
mobileMenuColor: props.mobileMenuColor,
|
|
30
41
|
checked,
|
|
31
42
|
onClick,
|
|
32
43
|
};
|
|
33
44
|
}
|
|
45
|
+
function useDemoNavigationSidebar(props) {
|
|
46
|
+
return cjs({
|
|
47
|
+
mobileMenuColor: props.mobileMenuColor,
|
|
48
|
+
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
49
|
+
}
|
|
34
50
|
|
|
35
51
|
export { NavigationSidebar as sqm_navigation_sidebar };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { h, F as Fragment, r as registerInstance } from './index-91e7729f.js';
|
|
2
2
|
import { n as h$1, k as useState } from './stencil-hooks.module-4bc38af4.js';
|
|
3
|
-
import { i as intl } from './global-
|
|
3
|
+
import { i as intl } from './global-66746c30.js';
|
|
4
4
|
import { F as Fn, i as isDemo, d as dist, H, J, w as wn, $ as $e, B } from './index.module-89a79f66.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { g as getProps } from './utils-334c1e34.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
8
|
import { R as REFERRAL_CODES_PAGINATION_CONTEXT, a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED, u as useReferralCodes } from './useReferralCodes-8f75921a.js';
|
|
9
|
-
import './mixins-
|
|
10
|
-
import { C as CopyTextView } from './copy-text-view-
|
|
9
|
+
import './mixins-f750863a.js';
|
|
10
|
+
import { C as CopyTextView } from './copy-text-view-4a207b17.js';
|
|
11
11
|
|
|
12
12
|
const style = {
|
|
13
13
|
Container: {
|
|
@@ -25,7 +25,7 @@ const style = {
|
|
|
25
25
|
const sheet = createStyleSheet(style);
|
|
26
26
|
const styleString = sheet.toString();
|
|
27
27
|
function PaginationView(props) {
|
|
28
|
-
const { states, callbacks, text } = props;
|
|
28
|
+
const { states, callbacks, text, buttonType } = props;
|
|
29
29
|
const { onNext, onPrev } = callbacks;
|
|
30
30
|
const { currentPage, totalPages, loading } = states;
|
|
31
31
|
if (totalPages === 1)
|
|
@@ -33,10 +33,10 @@ function PaginationView(props) {
|
|
|
33
33
|
return (h("span", { class: sheet.classes.Container, part: "sqm-base" },
|
|
34
34
|
h("style", { type: "text/css" }, styleString),
|
|
35
35
|
!loading && (h(Fragment, null,
|
|
36
|
-
h("sl-button", { onClick: onPrev, part: "sqm-pagination-button", circle: true, disabled: currentPage === 1 },
|
|
36
|
+
h("sl-button", { exportparts: `base: ${buttonType}button-base`, onClick: onPrev, part: "sqm-pagination-button", circle: true, disabled: currentPage === 1 },
|
|
37
37
|
h("sl-icon", { name: "chevron-left", label: "Previous Page" })),
|
|
38
38
|
h("div", { class: sheet.classes.TextContainer }, text.paginationText))),
|
|
39
|
-
h("sl-button", { onClick: onNext, part: "sqm-pagination-button", circle: true, disabled: currentPage === totalPages },
|
|
39
|
+
h("sl-button", { exportparts: `base: ${buttonType}button-base`, onClick: onNext, part: "sqm-pagination-button", circle: true, disabled: currentPage === totalPages },
|
|
40
40
|
h("sl-icon", { name: "chevron-right", label: "Previous Page" }))));
|
|
41
41
|
}
|
|
42
42
|
|
|
@@ -75,6 +75,15 @@ const Pagination = class {
|
|
|
75
75
|
* @uiName Pagination text
|
|
76
76
|
*/
|
|
77
77
|
this.paginationText = "{currentPage} of {totalPages}";
|
|
78
|
+
/**
|
|
79
|
+
* The type of the button that is used (primary, secondary, or tertiary).
|
|
80
|
+
* @uiName Button Type
|
|
81
|
+
* @uiType string
|
|
82
|
+
* @uiEnum ["primary", "secondary", "tertiary"]
|
|
83
|
+
* @uiEnumNames ["Primary", "Secondary", "Tertiary"]
|
|
84
|
+
* @uiGroup Style
|
|
85
|
+
*/
|
|
86
|
+
this.buttonType = "secondary";
|
|
78
87
|
h$1(this);
|
|
79
88
|
}
|
|
80
89
|
disconnectedCallback() { }
|
|
@@ -93,6 +102,7 @@ function useDemoPagination(props) {
|
|
|
93
102
|
totalPages: 5,
|
|
94
103
|
loading: false,
|
|
95
104
|
},
|
|
105
|
+
buttonType: props.buttonType,
|
|
96
106
|
callbacks: {
|
|
97
107
|
onNext: () => setCurrentPage(currentPage + 1),
|
|
98
108
|
onPrev: () => setCurrentPage(currentPage - 1),
|
|
@@ -203,6 +213,7 @@ const ReferralCode = class {
|
|
|
203
213
|
* @uiType string
|
|
204
214
|
* @uiEnum ["left", "center", "right"]
|
|
205
215
|
* @uiEnumNames ["Left", "Center", "Right"]
|
|
216
|
+
* @uiGroup Style
|
|
206
217
|
*/
|
|
207
218
|
this.textAlign = "left";
|
|
208
219
|
/**
|
|
@@ -216,8 +227,18 @@ const ReferralCode = class {
|
|
|
216
227
|
* @uiType string
|
|
217
228
|
* @uiEnum ["icon", "button-outside", "button-below"]
|
|
218
229
|
* @uiEnumNames ["Icon", "Button outside", "Button below"]
|
|
230
|
+
* @uiGroup Style
|
|
219
231
|
*/
|
|
220
232
|
this.buttonStyle = "icon";
|
|
233
|
+
/**
|
|
234
|
+
* The type of the button that is used (primary, secondary, or tertiary).
|
|
235
|
+
* @uiName Button Type
|
|
236
|
+
* @uiType string
|
|
237
|
+
* @uiEnum ["primary", "secondary", "tertiary"]
|
|
238
|
+
* @uiEnumNames ["Primary", "Secondary", "Tertiary"]
|
|
239
|
+
* @uiGroup Style
|
|
240
|
+
*/
|
|
241
|
+
this.buttonType = "primary";
|
|
221
242
|
h$1(this);
|
|
222
243
|
}
|
|
223
244
|
disconnectedCallback() { }
|
|
@@ -241,6 +262,11 @@ function useDemoReferralCode(props) {
|
|
|
241
262
|
notificationText: props.notificationText,
|
|
242
263
|
showNotificationText: props.showNotificationText,
|
|
243
264
|
isCopied: props.showNotificationText,
|
|
265
|
+
borderColor: props.borderColor,
|
|
266
|
+
backgroundColor: props.backgroundColor,
|
|
267
|
+
textColor: props.textColor,
|
|
268
|
+
borderRadius: props.borderRadius,
|
|
269
|
+
buttonType: props.buttonType,
|
|
244
270
|
isUsed: false,
|
|
245
271
|
rewardStatus: "AVAILABLE",
|
|
246
272
|
open,
|
|
@@ -254,53 +280,53 @@ function useDemoReferralCode(props) {
|
|
|
254
280
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
255
281
|
}
|
|
256
282
|
|
|
257
|
-
const style$1 = {
|
|
258
|
-
Wrapper: {
|
|
259
|
-
width: "100%",
|
|
260
|
-
display: "flex",
|
|
261
|
-
alignItems: "flex-start",
|
|
262
|
-
justifyContent: "center",
|
|
263
|
-
flexDirection: "column",
|
|
264
|
-
gap: "var(--sl-spacing-large)",
|
|
265
|
-
},
|
|
266
|
-
HeaderContainer: {
|
|
267
|
-
display: "flex",
|
|
268
|
-
alignItems: "center",
|
|
269
|
-
justifyContent: "space-between",
|
|
270
|
-
width: "100%",
|
|
271
|
-
},
|
|
272
|
-
ShareCodeContainer: {
|
|
273
|
-
width: "100%",
|
|
274
|
-
display: "flex",
|
|
275
|
-
alignItems: "flex-start",
|
|
276
|
-
justifyContent: "center",
|
|
277
|
-
flexDirection: "column",
|
|
278
|
-
},
|
|
279
|
-
ShareButtonContainer: {
|
|
280
|
-
width: "100%",
|
|
281
|
-
display: "flex",
|
|
282
|
-
alignItems: "flex-start",
|
|
283
|
-
justifyContent: "center",
|
|
284
|
-
flexDirection: "column",
|
|
285
|
-
},
|
|
286
|
-
TitleText: {
|
|
287
|
-
color: "var(--sqm-text-subdued)",
|
|
288
|
-
fontSize: "var(--sl-font-size-large)",
|
|
289
|
-
margin: "0",
|
|
290
|
-
},
|
|
291
|
-
};
|
|
292
|
-
const vanillaStyle = `
|
|
293
|
-
:host {
|
|
294
|
-
display: block;
|
|
295
|
-
}
|
|
296
|
-
:host([hidden]): {
|
|
297
|
-
display: none;
|
|
298
|
-
}
|
|
299
|
-
`;
|
|
300
|
-
const sheet$1 = createStyleSheet(style$1);
|
|
301
|
-
const styleString$1 = sheet$1.toString();
|
|
302
283
|
function ReferralCodesView(props) {
|
|
303
|
-
const { slots, titleText, states } = props;
|
|
284
|
+
const { slots, titleText, states, textColor = "var(--sqm-text-subdued)", } = props;
|
|
285
|
+
const style = {
|
|
286
|
+
Wrapper: {
|
|
287
|
+
width: "100%",
|
|
288
|
+
display: "flex",
|
|
289
|
+
alignItems: "flex-start",
|
|
290
|
+
justifyContent: "center",
|
|
291
|
+
flexDirection: "column",
|
|
292
|
+
gap: "var(--sl-spacing-large)",
|
|
293
|
+
color: textColor,
|
|
294
|
+
},
|
|
295
|
+
HeaderContainer: {
|
|
296
|
+
display: "flex",
|
|
297
|
+
alignItems: "center",
|
|
298
|
+
justifyContent: "space-between",
|
|
299
|
+
width: "100%",
|
|
300
|
+
},
|
|
301
|
+
ShareCodeContainer: {
|
|
302
|
+
width: "100%",
|
|
303
|
+
display: "flex",
|
|
304
|
+
alignItems: "flex-start",
|
|
305
|
+
justifyContent: "center",
|
|
306
|
+
flexDirection: "column",
|
|
307
|
+
},
|
|
308
|
+
ShareButtonContainer: {
|
|
309
|
+
width: "100%",
|
|
310
|
+
display: "flex",
|
|
311
|
+
alignItems: "flex-start",
|
|
312
|
+
justifyContent: "center",
|
|
313
|
+
flexDirection: "column",
|
|
314
|
+
},
|
|
315
|
+
TitleText: {
|
|
316
|
+
fontSize: "var(--sl-font-size-large)",
|
|
317
|
+
margin: "0",
|
|
318
|
+
},
|
|
319
|
+
};
|
|
320
|
+
const vanillaStyle = `
|
|
321
|
+
:host {
|
|
322
|
+
display: block;
|
|
323
|
+
}
|
|
324
|
+
:host([hidden]): {
|
|
325
|
+
display: none;
|
|
326
|
+
}
|
|
327
|
+
`;
|
|
328
|
+
const sheet = createStyleSheet(style);
|
|
329
|
+
const styleString = sheet.toString();
|
|
304
330
|
const getSlotContent = (states) => {
|
|
305
331
|
if (states.noCodes) {
|
|
306
332
|
return slots.empty;
|
|
@@ -308,16 +334,16 @@ function ReferralCodesView(props) {
|
|
|
308
334
|
if (states.loading) {
|
|
309
335
|
return slots.loading;
|
|
310
336
|
}
|
|
311
|
-
return (h("div", { class: sheet
|
|
312
|
-
h("div", { class: sheet
|
|
313
|
-
h("div", { class: sheet
|
|
337
|
+
return (h("div", { class: sheet.classes.Wrapper },
|
|
338
|
+
h("div", { class: sheet.classes.ShareCodeContainer }, slots.shareCodes),
|
|
339
|
+
h("div", { class: sheet.classes.ShareButtonContainer }, slots.shareButtons)));
|
|
314
340
|
};
|
|
315
|
-
return (h("div", { class: sheet
|
|
341
|
+
return (h("div", { class: sheet.classes.Wrapper, part: "sqm-base" },
|
|
316
342
|
h("style", { type: "text/css" },
|
|
317
343
|
vanillaStyle,
|
|
318
|
-
styleString
|
|
319
|
-
h("div", { class: sheet
|
|
320
|
-
h("h2", { class: sheet
|
|
344
|
+
styleString),
|
|
345
|
+
h("div", { class: sheet.classes.HeaderContainer },
|
|
346
|
+
h("h2", { class: sheet.classes.TitleText }, titleText),
|
|
321
347
|
!states.noCodes && !states.loading && slots.pagination),
|
|
322
348
|
getSlotContent(states)));
|
|
323
349
|
}
|
|
@@ -377,6 +403,7 @@ function LoadingRow() {
|
|
|
377
403
|
function useDemoReferralCodes(props) {
|
|
378
404
|
return cjs({
|
|
379
405
|
titleText: props.titleText,
|
|
406
|
+
textColor: props.textColor,
|
|
380
407
|
states: {
|
|
381
408
|
noCodes: false,
|
|
382
409
|
loading: false,
|
|
@@ -4,7 +4,7 @@ import { i as isDemo } from './index.module-89a79f66.js';
|
|
|
4
4
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
5
5
|
import { g as getProps } from './utils-334c1e34.js';
|
|
6
6
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
7
|
-
import { E as ErrorStyles } from './mixins-
|
|
7
|
+
import { E as ErrorStyles } from './mixins-f750863a.js';
|
|
8
8
|
import { R as REGISTRATION_FORM_STATE_CONTEXT } from './useRegistrationFormState-d6f33135.js';
|
|
9
9
|
|
|
10
10
|
var constants = {
|