@saasquatch/mint-components 1.15.0-2 → 1.15.0-20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{GenericTableView-a9f4ba75.js → GenericTableView-f0e9c531.js} +2 -2
- package/dist/cjs/{ShadowViewAddon-787391f7.js → ShadowViewAddon-f641a7de.js} +430 -402
- package/dist/cjs/{copy-text-view-c85acaaa.js → copy-text-view-b2f47da0.js} +53 -38
- package/dist/cjs/{global-e31dc4f5.js → global-f06aabc0.js} +139 -14
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/mint-components.cjs.js +2 -2
- package/dist/cjs/sqm-banking-info-form_17.cjs.entry.js +7 -44
- package/dist/cjs/{sqm-base-registration-form-view-8a2c8763.js → sqm-base-registration-form-view-1b2440c3.js} +1 -1
- package/dist/cjs/sqm-big-stat_41.cjs.entry.js +260 -109
- package/dist/cjs/sqm-email-verification.cjs.entry.js +2 -2
- package/dist/cjs/sqm-empty_4.cjs.entry.js +50 -49
- package/dist/cjs/{sqm-invoice-table-view-16ac73d0.js → sqm-invoice-table-view-431faed1.js} +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-navigation-sidebar-item-view-6f35d2ee.js → sqm-navigation-sidebar-item-view-5dfd2b52.js} +17 -6
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +25 -2
- 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 +85 -58
- package/dist/cjs/{sqm-portal-email-verification-view-7ebb426a.js → sqm-portal-email-verification-view-969cf926.js} +2 -2
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-forgot-password-view-78f19ef9.js → sqm-portal-forgot-password-view-b986086e.js} +1 -1
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +2 -2
- package/dist/cjs/sqm-portal-google-login.cjs.entry.js +2 -2
- package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-login-view-761a4d8e.js → sqm-portal-login-view-84e99287.js} +1 -1
- package/dist/cjs/{sqm-portal-profile-view-33164798.js → sqm-portal-profile-view-96e936cf.js} +2 -2
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-registration-form-view-637a4bf4.js → sqm-portal-registration-form-view-4377d849.js} +1 -1
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-reset-password-view-fe602822.js → sqm-portal-reset-password-view-52fc50fe.js} +1 -1
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-verify-email-view-7b678f34.js → sqm-portal-verify-email-view-4f837226.js} +1 -1
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-qr-code-view-15dfc0b6.js → sqm-qr-code-view-3da9ed28.js} +2 -7
- package/dist/cjs/sqm-qr-code.cjs.entry.js +1 -1
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +3 -5
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +1 -1
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +4 -4
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +140 -25
- package/dist/cjs/sqm-tabs.cjs.entry.js +9 -4
- package/dist/cjs/{sqm-text-span-view-0aa82125.js → sqm-text-span-view-56e48a78.js} +6 -6
- package/dist/cjs/sqm-text-span.cjs.entry.js +1 -1
- package/dist/collection/components/sqm-big-stat/BigStat.stories.js +13 -0
- package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +15 -8
- 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-card-feed/sqm-card-feed.js +1 -1
- 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 +170 -1
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +4 -1
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +32 -0
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +1 -1
- package/dist/collection/components/sqm-empty/sqm-empty-view.js +1 -1
- package/dist/collection/components/sqm-form-message/FormMessage.stories.js +1 -1
- package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +1 -0
- package/dist/collection/components/sqm-hero/sqm-hero.js +1 -0
- package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +3 -3
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +80 -0
- package/dist/collection/components/sqm-image/sqm-image.js +1 -0
- package/dist/collection/components/sqm-instant-access-registration/sqm-instant-access-registration.js +1 -0
- package/dist/collection/components/sqm-leaderboard/Leaderboard.stories.js +37 -0
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +59 -54
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +198 -32
- package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank.css +2 -2
- package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -1
- package/dist/collection/components/sqm-navigation-menu/sqm-navigation-menu.js +1 -0
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +16 -6
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +85 -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.js +1 -0
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +1 -0
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +36 -36
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +36 -2
- package/dist/collection/components/sqm-portal-frame/usePortalFrame.js +2 -1
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +1 -0
- package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +1 -0
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +1 -0
- package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +1 -0
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer-view.js +1 -1
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +2 -0
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +11 -3
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +77 -2
- package/dist/collection/components/sqm-program-menu/sqm-program-menu.js +1 -0
- package/dist/collection/components/sqm-qr-code/sqm-qr-code-view.js +2 -7
- package/dist/collection/components/sqm-qr-code/sqm-qr-code.js +1 -0
- package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +32 -31
- package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +78 -1
- package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +3 -0
- package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +170 -1
- package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +6 -0
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +46 -46
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +29 -1
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +0 -2
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +2 -0
- package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +1 -0
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +2 -0
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.js +2 -2
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +1 -0
- package/dist/collection/components/sqm-route/sqm-route.js +1 -0
- package/dist/collection/components/sqm-router/sqm-router.js +2 -0
- package/dist/collection/components/sqm-scroll/sqm-scroll.js +1 -0
- package/dist/collection/components/sqm-share-button/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 +54 -7
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +170 -1
- package/dist/collection/components/sqm-share-link/ShareLink.stories.js +12 -0
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +171 -3
- package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +20 -8
- package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +111 -3
- 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 +7 -2
- package/dist/collection/components/sqm-tabs/sqm-tabs.js +30 -2
- package/dist/collection/components/sqm-task-card/DetailsView.js +1 -1
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +139 -155
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +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 +101 -48
- package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +6 -6
- package/dist/collection/components/sqm-text-span/sqm-text-span.js +1 -0
- package/dist/collection/components/sqm-timeline/Timeline.stories.js +8 -1
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +45 -45
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +52 -0
- package/dist/collection/components/sqm-timeline/sqm-timeline.js +3 -1
- package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +2 -0
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +1 -12
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +0 -15
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +1 -11
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +1 -2
- package/dist/collection/components/views/copy-text-view.js +53 -38
- package/dist/collection/global/mixins.js +2 -2
- package/dist/collection/global/styles.js +139 -14
- package/dist/collection/global/styles.ts +139 -14
- package/dist/collection/tables/GenericTableView.js +2 -2
- package/dist/esm/{GenericTableView-7b9087af.js → GenericTableView-e7addb2b.js} +2 -2
- package/dist/esm/{ShadowViewAddon-cf230f50.js → ShadowViewAddon-908b4435.js} +430 -402
- package/dist/esm/{copy-text-view-782137ba.js → copy-text-view-0ac6e1d1.js} +53 -38
- package/dist/esm/{global-be1f9992.js → global-5e65213d.js} +139 -14
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mint-components.js +2 -2
- package/dist/esm/sqm-banking-info-form_17.entry.js +7 -44
- package/dist/esm/{sqm-base-registration-form-view-593d4ac3.js → sqm-base-registration-form-view-31f1cb87.js} +1 -1
- package/dist/esm/sqm-big-stat_41.entry.js +260 -109
- package/dist/esm/sqm-email-verification.entry.js +2 -2
- package/dist/esm/sqm-empty_4.entry.js +50 -49
- package/dist/esm/{sqm-invoice-table-view-2c726568.js → sqm-invoice-table-view-a2c45ff7.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
- package/dist/esm/{sqm-navigation-sidebar-item-view-8f1c72bc.js → sqm-navigation-sidebar-item-view-9cc0f695.js} +17 -6
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +25 -2
- 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 +85 -58
- package/dist/esm/{sqm-portal-email-verification-view-35b4353b.js → sqm-portal-email-verification-view-56a69db0.js} +2 -2
- package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
- package/dist/esm/{sqm-portal-forgot-password-view-3d3182f1.js → sqm-portal-forgot-password-view-50444a7c.js} +1 -1
- package/dist/esm/sqm-portal-forgot-password.entry.js +2 -2
- package/dist/esm/sqm-portal-google-login.entry.js +2 -2
- package/dist/esm/sqm-portal-google-registration-form.entry.js +3 -3
- package/dist/esm/{sqm-portal-login-view-7e49609a.js → sqm-portal-login-view-37c85d04.js} +1 -1
- package/dist/esm/{sqm-portal-profile-view-93003974.js → sqm-portal-profile-view-5cf91770.js} +2 -2
- package/dist/esm/sqm-portal-profile.entry.js +3 -3
- package/dist/esm/{sqm-portal-registration-form-view-3c1f6000.js → sqm-portal-registration-form-view-21d57492.js} +1 -1
- package/dist/esm/sqm-portal-registration-form.entry.js +2 -2
- package/dist/esm/{sqm-portal-reset-password-view-54a8651f.js → sqm-portal-reset-password-view-b000ffc5.js} +1 -1
- package/dist/esm/sqm-portal-reset-password.entry.js +2 -2
- package/dist/esm/{sqm-portal-verify-email-view-b12cb894.js → sqm-portal-verify-email-view-2983ba9b.js} +1 -1
- package/dist/esm/sqm-portal-verify-email.entry.js +2 -2
- package/dist/esm/{sqm-qr-code-view-f1d0763b.js → sqm-qr-code-view-10b8b4cb.js} +2 -7
- package/dist/esm/sqm-qr-code.entry.js +1 -1
- package/dist/esm/sqm-referral-table_11.entry.js +3 -5
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm/sqm-rewards-table_9.entry.js +4 -4
- package/dist/esm/sqm-stencilbook.entry.js +140 -25
- package/dist/esm/sqm-tabs.entry.js +9 -4
- package/dist/esm/{sqm-text-span-view-ca32495e.js → sqm-text-span-view-c577cc60.js} +6 -6
- package/dist/esm/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/{GenericTableView-7b9087af.js → GenericTableView-e7addb2b.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-908b4435.js +1 -0
- package/dist/esm-es5/copy-text-view-0ac6e1d1.js +1 -0
- package/dist/esm-es5/{global-be1f9992.js → global-5e65213d.js} +4 -4
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-banking-info-form_17.entry.js +1 -1
- package/dist/esm-es5/{sqm-base-registration-form-view-593d4ac3.js → sqm-base-registration-form-view-31f1cb87.js} +1 -1
- package/dist/esm-es5/sqm-big-stat_41.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/{sqm-invoice-table-view-2c726568.js → sqm-invoice-table-view-a2c45ff7.js} +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-9cc0f695.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-portal-email-verification-view-35b4353b.js → sqm-portal-email-verification-view-56a69db0.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-forgot-password-view-3d3182f1.js → sqm-portal-forgot-password-view-50444a7c.js} +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-login-view-7e49609a.js → sqm-portal-login-view-37c85d04.js} +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-93003974.js → sqm-portal-profile-view-5cf91770.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-registration-form-view-3c1f6000.js → sqm-portal-registration-form-view-21d57492.js} +1 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-54a8651f.js → sqm-portal-reset-password-view-b000ffc5.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-b12cb894.js → sqm-portal-verify-email-view-2983ba9b.js} +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/{sqm-qr-code-view-f1d0763b.js → sqm-qr-code-view-10b8b4cb.js} +1 -1
- package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/sqm-text-span-view-c577cc60.js +1 -0
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/mint-components/global/styles.ts +139 -14
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/p-03622801.entry.js +1 -0
- package/dist/mint-components/{p-2f101bae.entry.js → p-0559d880.entry.js} +1 -1
- package/dist/mint-components/{p-a7746488.system.js → p-05f785fb.system.js} +1 -1
- package/dist/mint-components/{p-5d7e308c.system.entry.js → p-125a798a.system.entry.js} +1 -1
- package/dist/mint-components/p-16c16702.js +1 -0
- package/dist/mint-components/{p-57eef0af.entry.js → p-1b983c86.entry.js} +6 -6
- package/dist/mint-components/{p-bbcd824a.js → p-1e7e8dd2.js} +1 -1
- package/dist/mint-components/{p-7a9290ba.js → p-20245645.js} +1 -1
- package/dist/mint-components/{p-4794641c.system.js → p-217514ac.system.js} +1 -1
- package/dist/mint-components/p-2271dff7.system.js +1 -0
- package/dist/mint-components/{p-50c902ca.system.entry.js → p-26d60973.system.entry.js} +1 -1
- package/dist/mint-components/{p-19bc3406.system.entry.js → p-2b462e4f.system.entry.js} +1 -1
- package/dist/mint-components/p-2c7ebd5b.js +1 -0
- package/dist/mint-components/p-2d0163d2.system.entry.js +1 -0
- package/dist/mint-components/p-2e110002.system.js +1 -0
- package/dist/mint-components/p-317264ac.system.entry.js +1 -0
- package/dist/mint-components/p-32dbde60.system.js +1 -0
- package/dist/mint-components/{p-9bfd9bed.system.entry.js → p-345fd28e.system.entry.js} +1 -1
- package/dist/mint-components/{p-65069b66.js → p-37e86ead.js} +19 -19
- package/dist/mint-components/p-386c82ba.entry.js +13 -0
- package/dist/mint-components/{p-aad32fb6.system.js → p-38de17fa.system.js} +1 -1
- package/dist/mint-components/{p-a2fde301.entry.js → p-3af1ec4c.entry.js} +1 -1
- package/dist/mint-components/p-46a672e4.entry.js +1 -0
- package/dist/mint-components/{p-cbbfac66.entry.js → p-48b3ef9c.entry.js} +2 -2
- package/dist/mint-components/p-49206a9c.entry.js +1 -0
- package/dist/mint-components/p-4a3359aa.entry.js +1 -0
- package/dist/mint-components/{p-90fc6774.system.entry.js → p-4b6f2eca.system.entry.js} +1 -1
- package/dist/mint-components/{p-e5d0375e.system.js → p-571e1427.system.js} +1 -1
- package/dist/mint-components/p-5b1b2c10.system.entry.js +1 -0
- package/dist/mint-components/p-5d407714.system.entry.js +1 -0
- package/dist/mint-components/{p-492b70db.system.js → p-5dbe8b0a.system.js} +1 -1
- package/dist/mint-components/p-5e617dd6.system.js +1 -0
- package/dist/mint-components/{p-9386ad84.system.entry.js → p-605c2904.system.entry.js} +1 -1
- package/dist/mint-components/p-6131a44f.system.entry.js +1 -0
- package/dist/mint-components/p-61af919f.entry.js +1 -0
- package/dist/mint-components/p-66a2b1a4.js +1 -0
- package/dist/mint-components/{p-91959fbe.js → p-69ac09d4.js} +1 -1
- package/dist/mint-components/p-69e017e1.entry.js +33 -0
- package/dist/mint-components/{p-99ad7d56.system.js → p-71d7c2a0.system.js} +1 -1
- package/dist/mint-components/{p-21620f81.system.entry.js → p-749cb346.system.entry.js} +1 -1
- package/dist/mint-components/{p-bdb7d451.system.js → p-773e2418.system.js} +9 -9
- package/dist/mint-components/{p-0c78815e.system.entry.js → p-7cbec088.system.entry.js} +1 -1
- package/dist/mint-components/{p-dbcb5359.js → p-7e3a84bc.js} +1 -1
- package/dist/mint-components/{p-2da21ba4.entry.js → p-802b9f7e.entry.js} +1 -1
- package/dist/mint-components/{p-85671c3d.system.entry.js → p-8053366e.system.entry.js} +1 -1
- package/dist/mint-components/p-861d4824.entry.js +13 -0
- package/dist/mint-components/p-87c18a1c.system.entry.js +1 -0
- package/dist/mint-components/{p-d07f3090.entry.js → p-87c21535.entry.js} +1 -1
- package/dist/mint-components/p-893d7ab4.js +1 -0
- package/dist/mint-components/{p-837a0fdd.js → p-8c494bf1.js} +1 -1
- package/dist/mint-components/p-9980c750.system.entry.js +1 -0
- package/dist/mint-components/p-9f2edf59.system.js +1 -0
- package/dist/mint-components/p-9f35f2b5.system.entry.js +1 -0
- package/dist/mint-components/{p-3f067fd5.js → p-a34ac378.js} +1 -1
- package/dist/mint-components/p-a558f6db.entry.js +258 -0
- package/dist/mint-components/{p-53730ffe.entry.js → p-a81b507f.entry.js} +3 -3
- package/dist/mint-components/{p-0d2d0b6d.entry.js → p-aaff68dc.entry.js} +1 -1
- package/dist/mint-components/{p-f0772618.system.entry.js → p-ac9f4085.system.entry.js} +1 -1
- package/dist/mint-components/{p-63a75798.js → p-b1c78ed4.js} +1 -1
- package/dist/mint-components/{p-b75bb6e3.system.js → p-b5fb3826.system.js} +1 -1
- package/dist/mint-components/p-b6de39a2.entry.js +1 -0
- package/dist/mint-components/{p-0ebab63e.system.js → p-bd2a2546.system.js} +1 -1
- package/dist/mint-components/{p-626e9e84.js → p-ccb5699b.js} +1 -1
- package/dist/mint-components/{p-7f80a9d7.entry.js → p-ccf8c9aa.entry.js} +1 -1
- package/dist/mint-components/{p-cd569259.system.js → p-d24a881e.system.js} +1 -1
- package/dist/mint-components/p-d2beb502.js +394 -0
- package/dist/mint-components/p-dbec319d.system.js +1 -0
- package/dist/mint-components/{p-91ab3da1.js → p-dc52c36a.js} +1 -1
- package/dist/mint-components/{p-f7c99803.system.js → p-df89186f.system.js} +1 -1
- package/dist/mint-components/{p-f940190a.js → p-e145e4f8.js} +1 -1
- package/dist/mint-components/{p-5c28406d.system.entry.js → p-e21a1cb8.system.entry.js} +1 -1
- package/dist/mint-components/{p-b287833c.system.entry.js → p-e977ff3b.system.entry.js} +1 -1
- package/dist/mint-components/p-eab1c9f3.js +1 -0
- package/dist/mint-components/p-eadd9d56.entry.js +144 -0
- package/dist/mint-components/{p-0d182dc1.system.js → p-ebae139f.system.js} +1 -1
- package/dist/mint-components/{p-10d17989.entry.js → p-f189d803.entry.js} +1 -1
- package/dist/mint-components/{p-3f6e0197.system.entry.js → p-f2228da3.system.entry.js} +1 -1
- package/dist/mint-components/p-f5023fd8.system.entry.js +1 -0
- package/dist/mint-components/{p-ef6381d4.entry.js → p-fbdbcb13.entry.js} +2 -2
- package/dist/mint-components/{p-380bfde1.entry.js → p-fd0a013f.entry.js} +1 -1
- package/dist/mint-components/p-fdaa4dbb.system.entry.js +1 -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-card-feed/sqm-card-feed.d.ts +1 -1
- package/dist/types/components/sqm-coupon-code/sqm-coupon-code-view.d.ts +1 -0
- package/dist/types/components/sqm-coupon-code/sqm-coupon-code.d.ts +43 -0
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout-view.d.ts +2 -0
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +8 -0
- package/dist/types/components/sqm-header-logo/sqm-header-logo.d.ts +1 -0
- package/dist/types/components/sqm-hero/sqm-hero.d.ts +1 -0
- package/dist/types/components/sqm-hero-image/sqm-hero-image-view.d.ts +1 -0
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +20 -0
- package/dist/types/components/sqm-image/sqm-image.d.ts +1 -0
- package/dist/types/components/sqm-instant-access-registration/sqm-instant-access-registration.d.ts +1 -0
- package/dist/types/components/sqm-leaderboard/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 +49 -7
- package/dist/types/components/sqm-leaderboard/useLeaderboard.d.ts +6 -0
- package/dist/types/components/sqm-navigation-menu/sqm-navigation-menu.d.ts +1 -0
- package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.d.ts +1 -0
- package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +16 -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.d.ts +1 -0
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +1 -0
- package/dist/types/components/sqm-portal-frame/sqm-portal-frame-view.d.ts +1 -0
- package/dist/types/components/sqm-portal-frame/sqm-portal-frame.d.ts +6 -0
- package/dist/types/components/sqm-portal-frame/usePortalFrame.d.ts +2 -1
- package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +1 -0
- package/dist/types/components/sqm-portal-logout/sqm-portal-logout.d.ts +1 -0
- package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +1 -0
- package/dist/types/components/sqm-portal-protected-route/sqm-portal-protected-route.d.ts +1 -0
- package/dist/types/components/sqm-program-explainer/sqm-program-explainer.d.ts +2 -0
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step-view.d.ts +3 -0
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +20 -2
- package/dist/types/components/sqm-program-menu/sqm-program-menu.d.ts +1 -0
- package/dist/types/components/sqm-qr-code/sqm-qr-code.d.ts +1 -0
- package/dist/types/components/sqm-referral-card/sqm-referral-card-view.d.ts +5 -2
- package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +23 -1
- package/dist/types/components/sqm-referral-code/ReferralCode.stories.d.ts +1 -0
- package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +43 -0
- package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +1 -0
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +1 -0
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +7 -0
- package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +2 -0
- package/dist/types/components/sqm-referred-registration/sqm-referred-registration.d.ts +1 -0
- package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list.d.ts +2 -0
- package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +1 -0
- package/dist/types/components/sqm-route/sqm-route.d.ts +1 -0
- package/dist/types/components/sqm-router/sqm-router.d.ts +2 -0
- package/dist/types/components/sqm-scroll/sqm-scroll.d.ts +1 -0
- package/dist/types/components/sqm-share-button/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 +16 -3
- package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +43 -0
- package/dist/types/components/sqm-share-link/ShareLink.stories.d.ts +1 -0
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +43 -1
- package/dist/types/components/sqm-stat-container/sqm-stat-container-view.d.ts +3 -0
- package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +24 -1
- 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 +10 -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 +13 -0
- package/dist/types/components/sqm-text-span/sqm-text-span.d.ts +1 -0
- package/dist/types/components/sqm-timeline/Timeline.stories.d.ts +1 -0
- package/dist/types/components/sqm-timeline/sqm-timeline-entry-view.d.ts +2 -0
- package/dist/types/components/sqm-timeline/sqm-timeline-entry.d.ts +14 -0
- package/dist/types/components/sqm-timeline/sqm-timeline.d.ts +3 -1
- package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +2 -0
- package/dist/types/components/views/copy-text-view.d.ts +5 -0
- package/dist/types/components.d.ts +1023 -18
- package/dist/types/global/styles.d.ts +1 -1
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/ShadowViewAddon-cf230f50.js +0 -1
- package/dist/esm-es5/copy-text-view-782137ba.js +0 -1
- package/dist/esm-es5/sqm-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-text-span-view-ca32495e.js +0 -1
- package/dist/mint-components/p-116baa69.entry.js +0 -258
- package/dist/mint-components/p-141bf5c1.system.entry.js +0 -1
- package/dist/mint-components/p-1f089c3f.system.entry.js +0 -1
- package/dist/mint-components/p-24db5c70.js +0 -1
- package/dist/mint-components/p-31015791.js +0 -1
- package/dist/mint-components/p-37996351.system.js +0 -1
- package/dist/mint-components/p-38e5c429.system.js +0 -1
- package/dist/mint-components/p-3b90e01b.system.js +0 -1
- package/dist/mint-components/p-3db34d68.js +0 -1
- package/dist/mint-components/p-420554af.system.entry.js +0 -1
- package/dist/mint-components/p-4e773bb1.system.entry.js +0 -1
- package/dist/mint-components/p-562428ef.system.js +0 -1
- package/dist/mint-components/p-5cb7f9fc.system.entry.js +0 -1
- package/dist/mint-components/p-635d5ef2.system.js +0 -1
- package/dist/mint-components/p-653f963f.entry.js +0 -13
- package/dist/mint-components/p-693942df.entry.js +0 -144
- package/dist/mint-components/p-6cc141b9.js +0 -394
- package/dist/mint-components/p-7846937e.entry.js +0 -13
- package/dist/mint-components/p-7ab21e4d.entry.js +0 -1
- package/dist/mint-components/p-b207beeb.entry.js +0 -1
- package/dist/mint-components/p-b82e1935.system.entry.js +0 -1
- package/dist/mint-components/p-c060f770.system.entry.js +0 -1
- package/dist/mint-components/p-c9f1dde7.js +0 -1
- package/dist/mint-components/p-cb7bdbe4.entry.js +0 -1
- package/dist/mint-components/p-daee25f9.system.entry.js +0 -1
- package/dist/mint-components/p-dcc81e90.entry.js +0 -1
- package/dist/mint-components/p-de8e9981.system.entry.js +0 -1
- package/dist/mint-components/p-e07bc6c4.system.js +0 -1
- package/dist/mint-components/p-e5a5ae7f.system.entry.js +0 -1
- package/dist/mint-components/p-e6f50ffd.entry.js +0 -1
- package/dist/mint-components/p-f56bedd5.js +0 -1
- package/dist/mint-components/p-fe2e2f4a.entry.js +0 -1
- package/dist/mint-components/p-ff8b8067.entry.js +0 -33
|
@@ -5,10 +5,10 @@ import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
7
7
|
import './mixins-83f90fa1.js';
|
|
8
|
-
import './sqm-text-span-view-
|
|
8
|
+
import './sqm-text-span-view-c577cc60.js';
|
|
9
9
|
import { a as useRegistrationForm } from './useRegistrationFormState-d6f33135.js';
|
|
10
|
-
import { B as BaseRegistrationFormView } from './sqm-base-registration-form-view-
|
|
11
|
-
import { P as PortalRegistrationFormView } from './sqm-portal-registration-form-view-
|
|
10
|
+
import { B as BaseRegistrationFormView } from './sqm-base-registration-form-view-31f1cb87.js';
|
|
11
|
+
import { P as PortalRegistrationFormView } from './sqm-portal-registration-form-view-21d57492.js';
|
|
12
12
|
import './AsYouType-46f67d0d.js';
|
|
13
13
|
import { u as usePortalRegistrationForm } from './usePortalRegistrationForm-4b35a357.js';
|
|
14
14
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from './index-91e7729f.js';
|
|
2
2
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
3
3
|
import { A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer } from './mixins-83f90fa1.js';
|
|
4
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
4
|
+
import { T as TextSpanView } from './sqm-text-span-view-c577cc60.js';
|
|
5
5
|
|
|
6
6
|
const style = {
|
|
7
7
|
Wrapper: AuthWrapper,
|
package/dist/esm/{sqm-portal-profile-view-93003974.js → sqm-portal-profile-view-5cf91770.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from './index-91e7729f.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-5e65213d.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
4
|
+
import { T as TextSpanView } from './sqm-text-span-view-c577cc60.js';
|
|
5
5
|
|
|
6
6
|
function PortalProfileView(props) {
|
|
7
7
|
var _a, _b, _c, _d, _e;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-91e7729f.js';
|
|
2
2
|
import { k as useState, f as useEffect, n as h } from './stencil-hooks.module-4bc38af4.js';
|
|
3
|
-
import './global-
|
|
3
|
+
import './global-5e65213d.js';
|
|
4
4
|
import { d as dist, J, w as wn, $ as $e, i as isDemo } 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 './JSS-67b5cff8.js';
|
|
8
|
-
import './sqm-text-span-view-
|
|
9
|
-
import { P as PortalProfileView } from './sqm-portal-profile-view-
|
|
8
|
+
import './sqm-text-span-view-c577cc60.js';
|
|
9
|
+
import { P as PortalProfileView } from './sqm-portal-profile-view-5cf91770.js';
|
|
10
10
|
import { i as isEmpty } from './utilities-5b0ca040.js';
|
|
11
11
|
|
|
12
12
|
const GET_USER = dist.gql `
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from './index-91e7729f.js';
|
|
2
2
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
3
3
|
import { A as AuthWrapper, a as AuthColumn, H as HostBlock, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-83f90fa1.js';
|
|
4
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
4
|
+
import { T as TextSpanView } from './sqm-text-span-view-c577cc60.js';
|
|
5
5
|
|
|
6
6
|
const style = {
|
|
7
7
|
Wrapper: AuthWrapper,
|
|
@@ -5,9 +5,9 @@ import './jsonpointer-388a7082.js';
|
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
7
|
import './mixins-83f90fa1.js';
|
|
8
|
-
import './sqm-text-span-view-
|
|
8
|
+
import './sqm-text-span-view-c577cc60.js';
|
|
9
9
|
import './useRegistrationFormState-d6f33135.js';
|
|
10
|
-
import { P as PortalRegistrationFormView } from './sqm-portal-registration-form-view-
|
|
10
|
+
import { P as PortalRegistrationFormView } from './sqm-portal-registration-form-view-21d57492.js';
|
|
11
11
|
import './AsYouType-46f67d0d.js';
|
|
12
12
|
import { u as usePortalRegistrationForm } from './usePortalRegistrationForm-4b35a357.js';
|
|
13
13
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from './index-91e7729f.js';
|
|
2
2
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
3
3
|
import { A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer } from './mixins-83f90fa1.js';
|
|
4
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
4
|
+
import { T as TextSpanView } from './sqm-text-span-view-c577cc60.js';
|
|
5
5
|
|
|
6
6
|
const style = {
|
|
7
7
|
Wrapper: AuthWrapper,
|
|
@@ -6,8 +6,8 @@ import { c as cjs } from './cjs-bdfb4486.js';
|
|
|
6
6
|
import { s as sanitizeUrlPath } from './utils-334c1e34.js';
|
|
7
7
|
import './JSS-67b5cff8.js';
|
|
8
8
|
import './mixins-83f90fa1.js';
|
|
9
|
-
import './sqm-text-span-view-
|
|
10
|
-
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-
|
|
9
|
+
import './sqm-text-span-view-c577cc60.js';
|
|
10
|
+
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-b000ffc5.js';
|
|
11
11
|
|
|
12
12
|
function usePortalResetPassword(props) {
|
|
13
13
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from './index-91e7729f.js';
|
|
2
2
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
3
3
|
import { A as AuthWrapper, a as AuthColumn } from './mixins-83f90fa1.js';
|
|
4
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
4
|
+
import { T as TextSpanView } from './sqm-text-span-view-c577cc60.js';
|
|
5
5
|
|
|
6
6
|
const style = {
|
|
7
7
|
Wrapper: AuthWrapper,
|
|
@@ -5,8 +5,8 @@ import { c as cjs } from './cjs-bdfb4486.js';
|
|
|
5
5
|
import { s as sanitizeUrlPath, g as getProps } from './utils-334c1e34.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
7
|
import './mixins-83f90fa1.js';
|
|
8
|
-
import './sqm-text-span-view-
|
|
9
|
-
import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-
|
|
8
|
+
import './sqm-text-span-view-c577cc60.js';
|
|
9
|
+
import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-2983ba9b.js';
|
|
10
10
|
|
|
11
11
|
let globalPromise = null;
|
|
12
12
|
function usePortalVerifyEmail({ nextPage, failedPage, verifySuccessText, verifyEmailText, verifyInvalidText, networkErrorMessage, continueText, }) {
|
|
@@ -39,11 +39,6 @@ const style = {
|
|
|
39
39
|
height: "100%",
|
|
40
40
|
maxWidth: "335px",
|
|
41
41
|
},
|
|
42
|
-
TextButton: {
|
|
43
|
-
"&::part(base)": {
|
|
44
|
-
color: "var(--sl-color-gray-600)",
|
|
45
|
-
},
|
|
46
|
-
},
|
|
47
42
|
LoadingSkeleton: {
|
|
48
43
|
"&::part(indicator)": {
|
|
49
44
|
borderRadius: "0px !important",
|
|
@@ -94,8 +89,8 @@ function QrCodeView({ error, qrLink, titleText, downloadCodeText, printCodeText,
|
|
|
94
89
|
!hideTitle && h("span", { part: "sqm-title" }, titleText),
|
|
95
90
|
codeContent,
|
|
96
91
|
h("div", { class: sheet.classes.ButtonContainer },
|
|
97
|
-
h("sl-button", { size: "small", exportparts: "base:
|
|
98
|
-
h("sl-button", { size: "small", exportparts: "base: textbutton-base", type: "text", onClick: createPrintable
|
|
92
|
+
h("sl-button", { size: "small", exportparts: "base: primarybutton-base", type: "primary", onClick: createDownloadable }, downloadCodeText),
|
|
93
|
+
h("sl-button", { size: "small", exportparts: "base: textbutton-base", type: "text", onClick: createPrintable }, printCodeText)))));
|
|
99
94
|
}
|
|
100
95
|
|
|
101
96
|
export { QrCodeView as Q };
|
|
@@ -6,7 +6,7 @@ import { g as getProps } from './utils-334c1e34.js';
|
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
7
|
import { a as REFERRAL_CODES_NAMESPACE } from './useReferralCodes-8f75921a.js';
|
|
8
8
|
import './ErrorView-48e2b969.js';
|
|
9
|
-
import { Q as QrCodeView } from './sqm-qr-code-view-
|
|
9
|
+
import { Q as QrCodeView } from './sqm-qr-code-view-10b8b4cb.js';
|
|
10
10
|
|
|
11
11
|
const ShareLinkQuery = dist.gql `
|
|
12
12
|
query shareLink($programId: ID, $engagementMedium: UserEngagementMedium!) {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, g as getElement, c as Host } from './index-91e7729f.js';
|
|
2
2
|
import { n as h, j as useReducer, u as useMemo, f as useEffect } from './stencil-hooks.module-4bc38af4.js';
|
|
3
|
-
import { i as intl } from './global-
|
|
3
|
+
import { i as intl } from './global-5e65213d.js';
|
|
4
4
|
import { i as isDemo } from './index.module-89a79f66.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
8
|
import './mixins-83f90fa1.js';
|
|
9
|
-
import { G as GenericTableView } from './GenericTableView-
|
|
9
|
+
import { G as GenericTableView } from './GenericTableView-e7addb2b.js';
|
|
10
10
|
import { a as useRequestRerender, u as useRerenderListener } from './re-render-cc945f38.js';
|
|
11
11
|
import { u as useChildElements } from './useChildElements-7945ae56.js';
|
|
12
12
|
import { l as luxon } from './luxon-8d51c92b.js';
|
|
13
13
|
import { g as getPaypalMeta } from './mockRewardData-8bd1b356.js';
|
|
14
14
|
import { u as useReferralTable, t as tryMethod } from './useReferralTable-b3876ed6.js';
|
|
15
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
15
|
+
import { T as TextSpanView } from './sqm-text-span-view-c577cc60.js';
|
|
16
16
|
|
|
17
17
|
const mockReferralData = (count = 4) => {
|
|
18
18
|
const data = [...Array(count)].map(() => getMockData());
|
|
@@ -444,9 +444,7 @@ const ReferralTableRewardsCell = class {
|
|
|
444
444
|
"flex-wrap": "wrap",
|
|
445
445
|
},
|
|
446
446
|
Details: {
|
|
447
|
-
"padding-bottom": "var(--sl-spacing-small)",
|
|
448
447
|
"max-width": "500px",
|
|
449
|
-
// "padding-right": "var(--sl-spacing-x-small)",
|
|
450
448
|
"&::part(header)": {
|
|
451
449
|
padding: "var(--sl-spacing-x-small)",
|
|
452
450
|
cursor: `${this.hideDetails ? "default" : "pointer"}`,
|
|
@@ -1,7 +1,7 @@
|
|
|
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
3
|
import './JSS-67b5cff8.js';
|
|
4
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
4
|
+
import { T as TextSpanView } from './sqm-text-span-view-c577cc60.js';
|
|
5
5
|
|
|
6
6
|
const RewardTableCustomerNoteCell = class {
|
|
7
7
|
constructor(hostRef) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-91e7729f.js';
|
|
2
2
|
import { b as browser, j as useReducer, f as useEffect, n as h$1, u as useMemo } from './stencil-hooks.module-4bc38af4.js';
|
|
3
|
-
import { i as intl } from './global-
|
|
3
|
+
import { i as intl } from './global-5e65213d.js';
|
|
4
4
|
import { d as dist, J, H, L, w as wn, R as Rn, i as isDemo } from './index.module-89a79f66.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
8
|
import './mixins-83f90fa1.js';
|
|
9
|
-
import { G as GenericTableView } from './GenericTableView-
|
|
9
|
+
import { G as GenericTableView } from './GenericTableView-e7addb2b.js';
|
|
10
10
|
import { u as useRerenderListener, a as useRequestRerender } from './re-render-cc945f38.js';
|
|
11
11
|
import { u as useChildElements } from './useChildElements-7945ae56.js';
|
|
12
12
|
import { l as luxon } from './luxon-8d51c92b.js';
|
|
@@ -603,11 +603,11 @@ const RewardTableRewardsCell = class {
|
|
|
603
603
|
},
|
|
604
604
|
Text: {
|
|
605
605
|
fontSize: "var(--sl-font-size-medium)",
|
|
606
|
-
color: "var(--
|
|
606
|
+
color: "var(--sqm-text)",
|
|
607
607
|
},
|
|
608
608
|
Subtext: {
|
|
609
609
|
fontSize: "var(--sl-font-size-small)",
|
|
610
|
-
color: "var(--
|
|
610
|
+
color: "var(--sqm-text-subdued)",
|
|
611
611
|
},
|
|
612
612
|
};
|
|
613
613
|
const sheet = createStyleSheet(style);
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-91e7729f.js';
|
|
2
2
|
import { a as commonjsGlobal, u as useMemo, k as useState, f as useEffect, c as createCommonjsModule, n as h$1 } from './stencil-hooks.module-4bc38af4.js';
|
|
3
|
-
import './global-
|
|
3
|
+
import './global-5e65213d.js';
|
|
4
4
|
import { j as jn, k as kn, b as setUserIdentity, d as dist, X as Xe, p as setProgramId } from './index.module-89a79f66.js';
|
|
5
5
|
import './cjs-bdfb4486.js';
|
|
6
6
|
import './utils-334c1e34.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
8
|
import './useReferralCodes-8f75921a.js';
|
|
9
9
|
import './mixins-83f90fa1.js';
|
|
10
|
-
import { C as CopyTextView } from './copy-text-view-
|
|
11
|
-
import { G as GenericTableView } from './GenericTableView-
|
|
10
|
+
import { C as CopyTextView } from './copy-text-view-0ac6e1d1.js';
|
|
11
|
+
import { G as GenericTableView } from './GenericTableView-e7addb2b.js';
|
|
12
12
|
import './useChildElements-7945ae56.js';
|
|
13
13
|
import { l as luxon } from './luxon-8d51c92b.js';
|
|
14
|
-
import './sqm-text-span-view-
|
|
14
|
+
import './sqm-text-span-view-c577cc60.js';
|
|
15
15
|
import { A as AssetCardView } from './sqm-asset-card-view-fe5db3c0.js';
|
|
16
16
|
import { C as CloseButtonView } from './sqm-close-button-view-f9819751.js';
|
|
17
17
|
import './index-ffa26b43.js';
|
|
18
18
|
import { E as EmailRegistrationView } from './email-registration-view-a7818cf2.js';
|
|
19
19
|
import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-753c8d4a.js';
|
|
20
20
|
import { L as LogoutCurrentUserView } from './sqm-logout-current-user-view-8ef8180f.js';
|
|
21
|
-
import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-
|
|
22
|
-
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-
|
|
23
|
-
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-
|
|
24
|
-
import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-
|
|
25
|
-
import { P as PortalLoginView } from './sqm-portal-login-view-
|
|
26
|
-
import { B as BaseRegistrationFormView } from './sqm-base-registration-form-view-
|
|
27
|
-
import { P as PortalRegistrationFormView } from './sqm-portal-registration-form-view-
|
|
28
|
-
import { P as PortalProfileView } from './sqm-portal-profile-view-
|
|
21
|
+
import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-f898265a.js';
|
|
22
|
+
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-9cc0f695.js';
|
|
23
|
+
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-56a69db0.js';
|
|
24
|
+
import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-50444a7c.js';
|
|
25
|
+
import { P as PortalLoginView } from './sqm-portal-login-view-37c85d04.js';
|
|
26
|
+
import { B as BaseRegistrationFormView } from './sqm-base-registration-form-view-31f1cb87.js';
|
|
27
|
+
import { P as PortalRegistrationFormView } from './sqm-portal-registration-form-view-21d57492.js';
|
|
28
|
+
import { P as PortalProfileView } from './sqm-portal-profile-view-5cf91770.js';
|
|
29
29
|
import './utilities-5b0ca040.js';
|
|
30
|
-
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-
|
|
31
|
-
import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-
|
|
30
|
+
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-b000ffc5.js';
|
|
31
|
+
import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-2983ba9b.js';
|
|
32
32
|
import './ErrorView-48e2b969.js';
|
|
33
|
-
import { Q as QrCodeView } from './sqm-qr-code-view-
|
|
34
|
-
import { S as ShareButtonView, L as LeaderboardView, B as BigStatView, P as PortalFrameView, E as EditProfileView, u as useShareLink, a as useShareButton, b as useDemoBigStat, c as StatContainerView, d as PortalChangePasswordView, e as PortalRegisterView, C as ChangeMarktingView, T as TaskCardView, f as ProgressBarView, g as PoweredByImg$1, h as PortalFooterView, H as HeroView, R as ReferralIframeView, N as NameFieldsView, i as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, j as RewardExchangeView, r as rewardExchangeCustomErrorMsg, k as rewardExchangeLongText, l as rewardExchangeSelected, m as chooseAmountFixed, n as chooseAmountFixedNoDescription, o as chooseAmountVariable, p as chooseAmountVariableNoDescription, q as chooseAmountVariableDisabled, s as chooseAmountVariableUnavailable, t as confirmFixed, v as confirmVariable, w as redemptionError, x as queryError, y as success, z as successVariable, A as loading, F as empty$1, G as rewardExchange, J as CardFeedView, K as CouponCodeView, M as ProgressBar$2, O as autoColorScaleCss, Q as ShadowViewAddon } from './ShadowViewAddon-
|
|
33
|
+
import { Q as QrCodeView } from './sqm-qr-code-view-10b8b4cb.js';
|
|
34
|
+
import { S as ShareButtonView, L as LeaderboardView, B as BigStatView, P as PortalFrameView, E as EditProfileView, u as useShareLink, a as useShareButton, b as useDemoBigStat, c as StatContainerView, d as PortalChangePasswordView, e as PortalRegisterView, C as ChangeMarktingView, T as TaskCardView, f as ProgressBarView, g as PoweredByImg$1, h as PortalFooterView, H as HeroView, R as ReferralIframeView, N as NameFieldsView, i as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, j as RewardExchangeView, r as rewardExchangeCustomErrorMsg, k as rewardExchangeLongText, l as rewardExchangeSelected, m as chooseAmountFixed, n as chooseAmountFixedNoDescription, o as chooseAmountVariable, p as chooseAmountVariableNoDescription, q as chooseAmountVariableDisabled, s as chooseAmountVariableUnavailable, t as confirmFixed, v as confirmVariable, w as redemptionError, x as queryError, y as success, z as successVariable, A as loading, F as empty$1, G as rewardExchange, J as CardFeedView, K as CouponCodeView, M as ProgressBar$2, O as autoColorScaleCss, Q as ShadowViewAddon } from './ShadowViewAddon-908b4435.js';
|
|
35
35
|
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-1683ae32.js';
|
|
36
|
-
import { O as OtherRegionSlotView, I as InvoiceTableView, T as TaxForm } from './sqm-invoice-table-view-
|
|
36
|
+
import { O as OtherRegionSlotView, I as InvoiceTableView, T as TaxForm } from './sqm-invoice-table-view-a2c45ff7.js';
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
39
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -1496,13 +1496,15 @@ const TextStyleWithoutIcon = () => {
|
|
|
1496
1496
|
const props = { medium: "facebook", type: "text", hideicon: true };
|
|
1497
1497
|
return h(ShareButtonView, Object.assign({}, props), "Share");
|
|
1498
1498
|
};
|
|
1499
|
-
const
|
|
1499
|
+
const WithCustomColorsAndBranding = () => {
|
|
1500
1500
|
const props = {
|
|
1501
1501
|
medium: "facebook",
|
|
1502
1502
|
type: "text",
|
|
1503
1503
|
backgroundcolor: "red",
|
|
1504
1504
|
textcolor: "yellow",
|
|
1505
1505
|
iconslot: "prefix",
|
|
1506
|
+
border: "2px solid yellow",
|
|
1507
|
+
borderradius: 30,
|
|
1506
1508
|
};
|
|
1507
1509
|
return h(ShareButtonView, Object.assign({}, props), "Facebook");
|
|
1508
1510
|
};
|
|
@@ -1575,7 +1577,7 @@ const ShareButton = /*#__PURE__*/Object.freeze({
|
|
|
1575
1577
|
WithoutIcon: WithoutIcon,
|
|
1576
1578
|
WithoutText: WithoutText,
|
|
1577
1579
|
TextStyleWithoutIcon: TextStyleWithoutIcon,
|
|
1578
|
-
|
|
1580
|
+
WithCustomColorsAndBranding: WithCustomColorsAndBranding,
|
|
1579
1581
|
WithCustomBorderRadius: WithCustomBorderRadius,
|
|
1580
1582
|
LinkLocationTest: LinkLocationTest,
|
|
1581
1583
|
FullStackIcon: FullStackIcon,
|
|
@@ -1722,6 +1724,18 @@ const CopyButtonBelow = () => {
|
|
|
1722
1724
|
buttonStyle: "button-below",
|
|
1723
1725
|
})));
|
|
1724
1726
|
};
|
|
1727
|
+
const CustomStyles = () => {
|
|
1728
|
+
const props = {
|
|
1729
|
+
copyString: "https://noah.example.com",
|
|
1730
|
+
open: false,
|
|
1731
|
+
tooltiptext: "Copied!",
|
|
1732
|
+
backgroundColor: "#1ed760",
|
|
1733
|
+
borderRadius: "30px",
|
|
1734
|
+
textColor: "#121212",
|
|
1735
|
+
buttonType: "primary",
|
|
1736
|
+
};
|
|
1737
|
+
return h(CopyTextView, Object.assign({}, props));
|
|
1738
|
+
};
|
|
1725
1739
|
const FullStack = () => {
|
|
1726
1740
|
return h("sqm-share-link", null);
|
|
1727
1741
|
};
|
|
@@ -1737,6 +1751,7 @@ const ShareLink = /*#__PURE__*/Object.freeze({
|
|
|
1737
1751
|
TextAlignRight: TextAlignRight,
|
|
1738
1752
|
CopyButton: CopyButton,
|
|
1739
1753
|
CopyButtonBelow: CopyButtonBelow,
|
|
1754
|
+
CustomStyles: CustomStyles,
|
|
1740
1755
|
FullStack: FullStack
|
|
1741
1756
|
});
|
|
1742
1757
|
|
|
@@ -1815,6 +1830,10 @@ const InvalidStatValue = () => {
|
|
|
1815
1830
|
};
|
|
1816
1831
|
return h(BigStatView, Object.assign({}, props), "Big stat");
|
|
1817
1832
|
};
|
|
1833
|
+
const CustomStyles$1 = () => {
|
|
1834
|
+
return (h("sqm-big-stat", { "stat-font-weight": "500", "stat-text-color": "#1ed760", "stat-font-size": "45", "description-text-color": "#121212", "description-font-size": "18", alignment: "center", "stat-type": "/integrationRewardsCountFiltered/AVAILABLE/global", "flex-reverse": true },
|
|
1835
|
+
h("p", null, "Giftcards Earned")));
|
|
1836
|
+
};
|
|
1818
1837
|
const MultipleStats = () => {
|
|
1819
1838
|
return (h("sqm-stat-container", { space: "xxx-large", display: "flex" },
|
|
1820
1839
|
h("sqm-big-stat", { "flex-reverse": "true", alignment: "left", "stat-type": "/referralsCount" },
|
|
@@ -1827,6 +1846,15 @@ const MultipleStats = () => {
|
|
|
1827
1846
|
h("sqm-text", null,
|
|
1828
1847
|
h("p", null, "Points Balance")))));
|
|
1829
1848
|
};
|
|
1849
|
+
const MultipleStatsWithCustomBranding = () => {
|
|
1850
|
+
return (h("sqm-stat-container", { space: "xxx-large", display: "grid", alignment: "center", "hide-border": "true" },
|
|
1851
|
+
h("sqm-big-stat", { "stat-font-weight": "500", "stat-text-color": "#1ed760", "stat-font-size": "45", "description-text-color": "#121212", "description-font-size": "18", alignment: "center", "stat-type": "/integrationRewardsCountFiltered/AVAILABLE/global", "flex-reverse": true },
|
|
1852
|
+
h("p", null, "Giftcards Earned")),
|
|
1853
|
+
h("sqm-big-stat", { "stat-font-weight": "500", "stat-text-color": "#1ed760", "stat-font-size": "45", "description-text-color": "#121212", "description-font-size": "18", alignment: "center", "stat-type": "/integrationRewardsCountFiltered/AVAILABLE/global", "flex-reverse": true },
|
|
1854
|
+
h("p", null, "Referrals")),
|
|
1855
|
+
h("sqm-big-stat", { "stat-font-weight": "500", "stat-text-color": "#1ed760", "stat-font-size": "45", "description-text-color": "#121212", "description-font-size": "18", alignment: "center", "stat-type": "/integrationRewardsCountFiltered/AVAILABLE/global", "flex-reverse": true },
|
|
1856
|
+
h("p", null, "Points balance"))));
|
|
1857
|
+
};
|
|
1830
1858
|
|
|
1831
1859
|
const BigStat = /*#__PURE__*/Object.freeze({
|
|
1832
1860
|
__proto__: null,
|
|
@@ -1839,7 +1867,9 @@ const BigStat = /*#__PURE__*/Object.freeze({
|
|
|
1839
1867
|
FlexReverseLeft: FlexReverseLeft,
|
|
1840
1868
|
NoStatValue: NoStatValue,
|
|
1841
1869
|
InvalidStatValue: InvalidStatValue,
|
|
1842
|
-
|
|
1870
|
+
CustomStyles: CustomStyles$1,
|
|
1871
|
+
MultipleStats: MultipleStats,
|
|
1872
|
+
MultipleStatsWithCustomBranding: MultipleStatsWithCustomBranding
|
|
1843
1873
|
});
|
|
1844
1874
|
|
|
1845
1875
|
const scenario$4 = "@owner:noah @author:noah\nFeature: Leaderboard\n\tThe leaderboard supports three main cases\n\t- Top Started Referrers\n\t- Top Converted Referrers\n\t- Top Point Earners\n\tTo display these different types of leaderboards it uses the backends pre-canned options.\n\tThe backend supports filtering on programId and interval, programId is sourced from program context.\n\n Background: A user exists\n Given a user\n And they are viewing the leaderboard\n\n @motivating\n Scenario Outline: Two types of referrals leaderboards can be displayed\n Given a leaderboard has prop \"leaderboard-type\" with <value>\n And there are started referrals on the tenant\n And there are started converted on the tenant\n When the user views the leaderboard\n Then they see the referral <referralType> leaderboard\n\n Examples:\n | value | referralType |\n | topStartedReferrers | started |\n | topConvertedReferrers | converted |\n\n @motivating\n Scenario: The top point earners leaderboard can be displayed\n Given a leaderboard has prop \"leaderboard-type\" with value \"topPointEarners\"\n And there are users with points\n When the user views the leaderboard\n Then they see the top point earners leaderboard\n And text values are displayed for point counts\n\n @minutia\n Scenario Outline: Reward pretty value is used on the top point earners leaderboard\n Given top point earners leaderboard\n And the \"POINT\" reward unit has a pretty value for the following locales\n | locale |\n | en |\n | fr |\n | tr |\n When the user views the leaderboard\n And they have <locale>\n Then they see the translated pretty value in the stat value column\n\n @motivating\n Scenario Outline: Program Context is used by default to filter leaderboard results\n Given a <leaderboardType> leaderboard loaded with program context for \"my-program\"\n When the user views the leaderboard\n Then they only see <results> from \"my-program\"\n\n Examples:\n | leaderboardType | results |\n | topStartedReferrers | started referrals |\n | topConvertedReferrers | converted referrals |\n | topPointEarners | points earned |\n\n @motivating\n Scenario Outline: Program Id context can be overwritten with a prop\n Given a <leaderboardType> leaderboard has prop \"program-Id\" with value \"my-test-program\"\n When the user views the leaderboard\n Then they only see <results> from \"my-test-program\"\n\n Examples:\n | leaderboardType | results |\n | topStartedReferrers | started referrals |\n | topConvertedReferrers | converted referrals |\n | topPointEarners | points earned |\n\n @motivating\n Scenario Outline: Global leaderboards can be displayed by clearing program context\n\t\t#This is important for clients with use cases like StaffTracks global points leaderboard\n\t\t#This can also be done with a program section in a similar manner\n Given a <leaderboardType> leaderboard has prop \"program-Id\" with value \"\"\n When the user views the leaderboard\n Then they see global <results>\n\n Examples:\n | leaderboardType | results |\n | topStartedReferrers | started referrals |\n | topConvertedReferrers | converted referrals |\n | topPointEarners | points earned |\n\n @motivating\n Scenario: Leaderboard results are shown in descending order\n Given there are leaderboard results\n When the user views the leaderboard\n Then they see up to the 10 top leaderboard results\n And leaderboard is in descending order\n\n @motivating\n Scenario Outline: Leaderboard results can be filtered with a time interval\n Given a <leaderboardType> leaderboard\n And it has prop \"interval\" with value \"2021-11-02T07:00:00.000Z/2021-11-07T07:00:00.000Z\"\n When the user views the leaderboard\n Then they only see <results> from within \"2021-11-02T07:00:00.000Z/2021-11-07T07:00:00.000Z\"\n\n Examples:\n | leaderboardType | results |\n | topStartedReferrers | started referrals |\n | topConvertedReferrers | converted referrals |\n | topPointEarners | points earned |\n\n @motivating\n Scenario Outline: Leaderboard rank type can be configured\n Given a leaderboard has prop \"rank-type\" with <value>\n When the user views the leaderboard\n Then their leaderboard rank is their <rank>\n\n Examples:\n | value | rank |\n | rowNumber | row number |\n | denseRank | dense rank |\n | rank | rank |\n\n @minutia\n Scenario Outline: The max number of leaderboard rows displayed can be configured but defaults to 10\n Given a leaderboard has prop \"max-rows\" with <value>\n And the leaderboard has <resultCount>\n When the user views the leaderboard\n Then they see <number> rows\n\n Examples:\n | value | resultCount | number |\n | | 10 | 10 |\n | 5 | 10 | 5 |\n | 3 | 1 | 1 |\n | 25 | 15 | 15 |\n\n @minutiae @ui\n Scenario: Leaderboards with no results show an empty state\n Given a leaderboard has no results\n When the user views the leaderboard\n Then an empty state is dislayed\n And they see an image of a leaderboard\n And below they see \"View your rank in the leaderboard\"\n And below they see \"Be the first to refer a friend and reach the top of the leaderboard\"\n And the text is center aligned\n\n @minutiae @ui\n Scenario: A custom empty state can be provided\n Given a leaderboard has no results\n When the user views the leaderboard\n Then the contents of the \"empty\" slot are displayed\n\n @minutiae @ui\n Scenario: User is on Essentials plan\n Given the user has an Essentials plan\n When they view the leaderboard\n Then a message telling them to upgrade their plan appears:\n \"\"\"\n Contact Support to upgrade your plan and start leveraging\n gamification in your program.\n \"\"\"\n And an empty table image is displayed\n\n @minutiae @ui\n Scenario: Leaderboard headings can be customized\n Given a leaderboard\n And it has the following props\n | prop | value |\n | rankheading | Place |\n | usersheading | Customer |\n | statsheading | Referral Count |\n | show-rank | true |\n When the user views the leaderboard\n Then they see the following columns with headings\n | column | heading |\n | rank | Place |\n | user | Customer |\n | stat | Referral Count |\n\n @motivating @ui\n Scenario Outline: Leaderboard rank can be hidden or shown\n Given a leaderboard\n And it has prop \"show-rank\" with <propValue>\n When the user views the leaderboard\n Then they <maySee> the rank column\n\n Examples:\n | propValue | maySee |\n | true | see |\n | false | don't see |\n | | don't see |\n\n Scenario Outline: Users names can be hidden or shown\n Given a leaderboard\n And it has prop \"hide-names\" with <propValue>\n When the user views the leaderboard\n Then they <maySee> the referrer column\n\n Examples:\n | propValue | maySee |\n | true | don't see |\n | false | see |\n | | see |\n\n @motivating @ui\n Scenario: Users in the top 10 of the leaderboard results see their leaderboard row highlighted\n Given a user in the top 10 of the leaderboard results\n When they view the leaderboard\n Then they see the row with their name highlighted with brand colour\n\n @motivating @ui\n Scenario Outline: Users not in the top 10 leaderboard results can see their progress at the bottom of the leaderboard\n Given a user <mayHave> completed actions counted by the leaderboard\n And they are not in the top 10 leaderboard results\n And the leaderboard has prop \"show-user\" with <value>\n When they view the leaderboard\n Then they <maySee> \"...\" under the top 10 leaderboard results\n And under \"...\" they <maySee> a row highlighted with brand colour\n And they <maySee> their name\n And they <maySee> their leaderboard value\n And they <maySeeRank>\n\n Examples:\n | mayHave | value | maySee | maySeeRank |\n | has | true | see | see their rank |\n | hasn't | true | see | don't see their rank |\n | N/A | false | don't see | don't see their rank |\n | hasn't | | see | don't see their rank |\n\n @minutiae\n Scenario: Users without names are displayed as an \"Anonymous User\"\n Given a user\n And they do not have a first name\n And they do not have a last initial\n When they view the leaderboard\n Then they see the user displayed as \"Anonymous User\"\n\n @minutiae\n Scenario Outline: If a user only has a first or last name, then only that is displayed\n Given a user\n And they only have a <name>\n When they view the leaderboard\n Then they only see their <name>\n\n Examples:\n | name |\n | firstName |\n | lastName |\n";
|
|
@@ -2210,6 +2240,43 @@ const ReferralLeaderboard = () => {
|
|
|
2210
2240
|
};
|
|
2211
2241
|
return h(LeaderboardView, Object.assign({}, props));
|
|
2212
2242
|
};
|
|
2243
|
+
const ReferralLeaderboardWithCustomStyles = () => {
|
|
2244
|
+
const props = {
|
|
2245
|
+
states: {
|
|
2246
|
+
loading: false,
|
|
2247
|
+
hasLeaders: true,
|
|
2248
|
+
styles: {
|
|
2249
|
+
...defaultStyles$1,
|
|
2250
|
+
rankheading: "Rank",
|
|
2251
|
+
usersheading: "User",
|
|
2252
|
+
statsheading: "Referrals",
|
|
2253
|
+
showRank: true,
|
|
2254
|
+
textColor: "white",
|
|
2255
|
+
borderColor: "white",
|
|
2256
|
+
background: "slateblue",
|
|
2257
|
+
borderRadius: 18,
|
|
2258
|
+
viewingUserHighlightColor: "yellow",
|
|
2259
|
+
viewingUserHighlightTextColor: "slateblue",
|
|
2260
|
+
},
|
|
2261
|
+
},
|
|
2262
|
+
data: {
|
|
2263
|
+
rankType: "rowNumber",
|
|
2264
|
+
leaderboard: users,
|
|
2265
|
+
rowNumber: 10,
|
|
2266
|
+
viewerRank: {
|
|
2267
|
+
firstName: "Viktor",
|
|
2268
|
+
lastInitial: "V",
|
|
2269
|
+
textValue: "82",
|
|
2270
|
+
rank: 1,
|
|
2271
|
+
rowNumber: 1,
|
|
2272
|
+
},
|
|
2273
|
+
},
|
|
2274
|
+
elements: {
|
|
2275
|
+
...defaultElements$1,
|
|
2276
|
+
},
|
|
2277
|
+
};
|
|
2278
|
+
return h(LeaderboardView, Object.assign({}, props));
|
|
2279
|
+
};
|
|
2213
2280
|
const ReferralLeaderboardWithMaxWidth = () => {
|
|
2214
2281
|
const props = {
|
|
2215
2282
|
states: {
|
|
@@ -2470,6 +2537,7 @@ const Leaderboard = /*#__PURE__*/Object.freeze({
|
|
|
2470
2537
|
One: One,
|
|
2471
2538
|
Five: Five,
|
|
2472
2539
|
ReferralLeaderboard: ReferralLeaderboard,
|
|
2540
|
+
ReferralLeaderboardWithCustomStyles: ReferralLeaderboardWithCustomStyles,
|
|
2473
2541
|
ReferralLeaderboardWithMaxWidth: ReferralLeaderboardWithMaxWidth,
|
|
2474
2542
|
PointsLeaderboard: PointsLeaderboard,
|
|
2475
2543
|
TenWithRank: TenWithRank,
|
|
@@ -3471,7 +3539,7 @@ const FullStackSuccess = () => {
|
|
|
3471
3539
|
h("div", { class: "AlertContent" },
|
|
3472
3540
|
h("div", { part: "successalert-text" }, "Title"),
|
|
3473
3541
|
h("div", { part: "successalert-subtext" }, "Body text."),
|
|
3474
|
-
h("sl-button", { type: "
|
|
3542
|
+
h("sl-button", { type: "primary", exportparts: "base: primarybutton-base", onClick: () => {
|
|
3475
3543
|
console.log("click");
|
|
3476
3544
|
} }, "Primary Action"),
|
|
3477
3545
|
h("sl-button", { class: "SecondaryTextButton", type: "text", onClick: () => {
|
|
@@ -13039,7 +13107,7 @@ const Timeline_stories = {
|
|
|
13039
13107
|
const TimelineWith1Reward = () => {
|
|
13040
13108
|
return (h("div", null,
|
|
13041
13109
|
h("sqm-timeline", null,
|
|
13042
|
-
h("sqm-timeline-entry", { reward: "75", unit: "points", desc: "Your friends signs up for a free trial" })),
|
|
13110
|
+
h("sqm-timeline-entry", { textColor: "red", lineColor: "red", reward: "75", unit: "points", desc: "Your friends signs up for a free trial" })),
|
|
13043
13111
|
h("br", null),
|
|
13044
13112
|
" ",
|
|
13045
13113
|
h("hr", null),
|
|
@@ -13096,6 +13164,13 @@ const TimelineWith4Rewards = () => {
|
|
|
13096
13164
|
h("sqm-timeline-entry", { reward: "$200", unit: "visa giftcard", desc: "Your friend qualifies as a good fit for Klip Team" }),
|
|
13097
13165
|
h("sqm-timeline-entry", { reward: "$1000", unit: "visa giftcard", desc: "Your friend purchases Klip Team" }))));
|
|
13098
13166
|
};
|
|
13167
|
+
const TimelineWithCustomColors = () => {
|
|
13168
|
+
return (h("sqm-timeline", null,
|
|
13169
|
+
h("sqm-timeline-entry", { "text-color": "red", "line-color": "red", reward: "75", unit: "points", desc: "Your friends signs up for a free trial" }),
|
|
13170
|
+
h("sqm-timeline-entry", { "text-color": "red", "line-color": "red", reward: "$50", unit: "visa giftcard", desc: "Your friends signs up for Klip Personal" }),
|
|
13171
|
+
h("sqm-timeline-entry", { "text-color": "red", "line-color": "red", reward: "$200", unit: "visa giftcard", desc: "Your friend qualifies as a good fit for Klip Team" }),
|
|
13172
|
+
h("sqm-timeline-entry", { "text-color": "red", "line-color": "red", reward: "$1000", unit: "visa giftcard", desc: "Your friend purchases Klip Team" })));
|
|
13173
|
+
};
|
|
13099
13174
|
|
|
13100
13175
|
const Timeline = /*#__PURE__*/Object.freeze({
|
|
13101
13176
|
__proto__: null,
|
|
@@ -13103,7 +13178,8 @@ const Timeline = /*#__PURE__*/Object.freeze({
|
|
|
13103
13178
|
TimelineWith1Reward: TimelineWith1Reward,
|
|
13104
13179
|
TimelineWith2Rewards: TimelineWith2Rewards,
|
|
13105
13180
|
TimelineWith3Rewards: TimelineWith3Rewards,
|
|
13106
|
-
TimelineWith4Rewards: TimelineWith4Rewards
|
|
13181
|
+
TimelineWith4Rewards: TimelineWith4Rewards,
|
|
13182
|
+
TimelineWithCustomColors: TimelineWithCustomColors
|
|
13107
13183
|
});
|
|
13108
13184
|
|
|
13109
13185
|
const scenario$x = "@author:kutay\n@owner:kutay\nFeature: Image\n\n\tBackground: A user on the portal is viewing the widget\n\t\tGiven a user viewing the image component\n\n\t@motivating\n\t@ui\n\tScenario: Image is displayed from URL\n\t\tGiven an Image component\n\t\tAnd prop \"image-url\" is provided with a valid image url\n\t\tThen the image is displayed\n\t\tAnd it is centered\n\n\t@motivating\n\t@ui\n\tScenario Outline: Images can be aligned left, center or right\n\t\tGiven an Image component\n\t\tAnd prop \"image-url\" is provided with a valid image url\n\t\tAnd prop \"align\" has <value>\n\t\tThen the image is displayed\n\t\tAnd it is aligned to the <value>\n\t\tExamples:\n\t\t\t| value |\n\t\t\t| left |\n\t\t\t| center |\n\t\t\t| right |\n\n\t@motivating\n\t@ui\n\tScenario: Image background can be assigned a color\n\t\tGiven an Image component\n\t\tAnd prop \"image-url\" is provided with a valid image url\n\t\tAnd prop \"background-color\" is provided a color\n\t\tThen the image is displayed\n\t\tAnd the background is the provided color\n\n\t@motivating\n\t@ui\n\tScenario: Image minimum height can be constrained\n\t\tGiven an Image component\n\t\tAnd prop \"image-url\" is provided\n\t\tAnd prop \"min-height\" is given a minimum value\n\t\tThen the image is displayed\n\t\tAnd the container size changes\n\t\tThen the image does not shrink below its minimum height";
|
|
@@ -13560,6 +13636,13 @@ const SimpleTabs = () => (h("div", { style: { maxWidth: "700px", margin: "auto"
|
|
|
13560
13636
|
<sqm-tab header="Advanced">This is the advanced tab</sqm-tab>
|
|
13561
13637
|
</sqm-tabs>
|
|
13562
13638
|
` }));
|
|
13639
|
+
const CustomColor$1 = () => (h("div", { style: { maxWidth: "700px", margin: "auto" }, innerHTML: `
|
|
13640
|
+
<sqm-tabs text-color="red">
|
|
13641
|
+
<sqm-tab header="General">This is the general tab</sqm-tab>
|
|
13642
|
+
<sqm-tab header="Custom">This is the custom tab</sqm-tab>
|
|
13643
|
+
<sqm-tab header="Advanced">This is the advanced tab</sqm-tab>
|
|
13644
|
+
</sqm-tabs>
|
|
13645
|
+
` }));
|
|
13563
13646
|
const ManyTabs = () => (h("div", { style: { maxWidth: "700px", margin: "auto" }, innerHTML: `
|
|
13564
13647
|
<sqm-tabs>
|
|
13565
13648
|
<sqm-tab header="General">This is the general tab</sqm-tab>
|
|
@@ -14041,6 +14124,7 @@ const Tabs = /*#__PURE__*/Object.freeze({
|
|
|
14041
14124
|
__proto__: null,
|
|
14042
14125
|
'default': Tabs_stories,
|
|
14043
14126
|
SimpleTabs: SimpleTabs,
|
|
14127
|
+
CustomColor: CustomColor$1,
|
|
14044
14128
|
ManyTabs: ManyTabs,
|
|
14045
14129
|
SingleTab: SingleTab,
|
|
14046
14130
|
ReferralProgram: ReferralProgram,
|
|
@@ -14127,6 +14211,9 @@ const ReferralCode = () => {
|
|
|
14127
14211
|
const ShowNotificationText = () => {
|
|
14128
14212
|
return (h("sqm-referral-code", { showNotificationText: true, notificationText: "You've copied this code before" }));
|
|
14129
14213
|
};
|
|
14214
|
+
const ShowNotificationTextRed = () => {
|
|
14215
|
+
return (h("sqm-referral-code", { textColor: "red", showNotificationText: true, notificationText: "You've copied this code before" }));
|
|
14216
|
+
};
|
|
14130
14217
|
const ShowNotificationTextWithButton = () => {
|
|
14131
14218
|
return (h("sqm-referral-code", { showNotificationText: true, notificationText: "You've copied this code before", buttonStyle: "button-outside" }));
|
|
14132
14219
|
};
|
|
@@ -14178,6 +14265,7 @@ const ReferralCode$1 = /*#__PURE__*/Object.freeze({
|
|
|
14178
14265
|
'default': ReferralCode_stories,
|
|
14179
14266
|
ReferralCode: ReferralCode,
|
|
14180
14267
|
ShowNotificationText: ShowNotificationText,
|
|
14268
|
+
ShowNotificationTextRed: ShowNotificationTextRed,
|
|
14181
14269
|
ShowNotificationTextWithButton: ShowNotificationTextWithButton,
|
|
14182
14270
|
ShowNotificationTextWithButtonBelow: ShowNotificationTextWithButtonBelow,
|
|
14183
14271
|
CustomTooltipText: CustomTooltipText$1,
|
|
@@ -14459,7 +14547,7 @@ const InAContainer = () => {
|
|
|
14459
14547
|
return (h("div", { style: containerStyles },
|
|
14460
14548
|
h(CloseButtonView, Object.assign({}, defaultProps$j))));
|
|
14461
14549
|
};
|
|
14462
|
-
const CustomColor$
|
|
14550
|
+
const CustomColor$2 = () => {
|
|
14463
14551
|
return (h("div", { style: containerStyles },
|
|
14464
14552
|
h(CloseButtonView, Object.assign({}, { ...defaultProps$j, color: "blue" }))));
|
|
14465
14553
|
};
|
|
@@ -14469,7 +14557,7 @@ const CloseButton = /*#__PURE__*/Object.freeze({
|
|
|
14469
14557
|
'default': CloseButton_stories,
|
|
14470
14558
|
Default: Default$l,
|
|
14471
14559
|
InAContainer: InAContainer,
|
|
14472
|
-
CustomColor: CustomColor$
|
|
14560
|
+
CustomColor: CustomColor$2
|
|
14473
14561
|
});
|
|
14474
14562
|
|
|
14475
14563
|
// ! IMPORTANT: These objects cannot be used as default values for component props
|
|
@@ -15583,6 +15671,12 @@ const WithPreviouslyCopiedCode = () => {
|
|
|
15583
15671
|
shareCodeWithPreviouslyCopied("shareCodes"),
|
|
15584
15672
|
shareButtons("shareButtons")));
|
|
15585
15673
|
};
|
|
15674
|
+
const WithPreviouslyCopiedCodeAndCustomColor = () => {
|
|
15675
|
+
return (h("sqm-referral-codes", { textColor: "red" },
|
|
15676
|
+
pagination("pagination"),
|
|
15677
|
+
shareCodeWithPreviouslyCopied("shareCodes"),
|
|
15678
|
+
shareButtons("shareButtons")));
|
|
15679
|
+
};
|
|
15586
15680
|
const Empty$3 = () => {
|
|
15587
15681
|
return (h("sqm-referral-codes", { demoData: { states: { ...demoData.states, noCodes: true } } },
|
|
15588
15682
|
pagination("pagination"),
|
|
@@ -15609,6 +15703,7 @@ const ReferralCodes$1 = /*#__PURE__*/Object.freeze({
|
|
|
15609
15703
|
'default': ReferralCodes_stories,
|
|
15610
15704
|
ReferralCodes: ReferralCodes,
|
|
15611
15705
|
WithPreviouslyCopiedCode: WithPreviouslyCopiedCode,
|
|
15706
|
+
WithPreviouslyCopiedCodeAndCustomColor: WithPreviouslyCopiedCodeAndCustomColor,
|
|
15612
15707
|
Empty: Empty$3,
|
|
15613
15708
|
EmptyWithCustomTextAndImage: EmptyWithCustomTextAndImage,
|
|
15614
15709
|
Loading: Loading$b
|
|
@@ -15814,6 +15909,25 @@ const QRCode = /*#__PURE__*/Object.freeze({
|
|
|
15814
15909
|
DownloadError: DownloadError
|
|
15815
15910
|
});
|
|
15816
15911
|
|
|
15912
|
+
const Text_stories = {
|
|
15913
|
+
title: "Components/Text",
|
|
15914
|
+
};
|
|
15915
|
+
const PurpleText = () => {
|
|
15916
|
+
return (h("sqm-text", { textColor: "slateblue" },
|
|
15917
|
+
h("p", null, "This is the text component")));
|
|
15918
|
+
};
|
|
15919
|
+
const CustomFontSize = () => {
|
|
15920
|
+
return (h("sqm-text", { fontSize: 36 },
|
|
15921
|
+
h("p", null, "This is the text component")));
|
|
15922
|
+
};
|
|
15923
|
+
|
|
15924
|
+
const Text = /*#__PURE__*/Object.freeze({
|
|
15925
|
+
__proto__: null,
|
|
15926
|
+
'default': Text_stories,
|
|
15927
|
+
PurpleText: PurpleText,
|
|
15928
|
+
CustomFontSize: CustomFontSize
|
|
15929
|
+
});
|
|
15930
|
+
|
|
15817
15931
|
/**
|
|
15818
15932
|
*
|
|
15819
15933
|
* Themes
|
|
@@ -18551,6 +18665,7 @@ const stories = [
|
|
|
18551
18665
|
PayoutButtonScroll,
|
|
18552
18666
|
PayoutStatusAlert,
|
|
18553
18667
|
QRCode,
|
|
18668
|
+
Text,
|
|
18554
18669
|
];
|
|
18555
18670
|
const StencilStorybook = class {
|
|
18556
18671
|
constructor(hostRef) {
|