@saasquatch/mint-components 1.15.0-2 → 1.15.0-21
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 +271 -114
- 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 +14 -6
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +60 -1
- 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 +271 -114
- 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-0ac8fde9.entry.js +258 -0
- 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-58d06097.system.entry.js +1 -0
- 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-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-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 +4 -1
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +15 -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 +1035 -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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-91e7729f.js';
|
|
2
2
|
import { n as h, f as useEffect, k as useState, i as d, u as useMemo, m as useRef, b as browser, j as useReducer } 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, _, d as dist, J, H, $ as $e, w as wn, B, L, y as yn, j as jn, r as Ue, V as Ve, u as useCallback, Q as Qe, k as kn } from './index.module-89a79f66.js';
|
|
5
5
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
6
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
@@ -8,18 +8,18 @@ import { g as getProps, a as getMissingProps } from './utils-334c1e34.js';
|
|
|
8
8
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
9
9
|
import './useReferralCodes-8f75921a.js';
|
|
10
10
|
import './mixins-83f90fa1.js';
|
|
11
|
-
import { C as CopyTextView } from './copy-text-view-
|
|
11
|
+
import { C as CopyTextView } from './copy-text-view-0ac6e1d1.js';
|
|
12
12
|
import { a as useRequestRerender } from './re-render-cc945f38.js';
|
|
13
13
|
import { u as useChildElements } from './useChildElements-7945ae56.js';
|
|
14
14
|
import './luxon-8d51c92b.js';
|
|
15
|
-
import './sqm-text-span-view-
|
|
15
|
+
import './sqm-text-span-view-c577cc60.js';
|
|
16
16
|
import { p as pathToRegexp } from './index-ffa26b43.js';
|
|
17
17
|
import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-d6f33135.js';
|
|
18
|
-
import { P as PortalLoginView } from './sqm-portal-login-view-
|
|
18
|
+
import { P as PortalLoginView } from './sqm-portal-login-view-37c85d04.js';
|
|
19
19
|
import { u as usePortalLogin } from './usePortalLogin-ef647a50.js';
|
|
20
20
|
import { A as AsYouType } from './AsYouType-46f67d0d.js';
|
|
21
21
|
import { i as isEmpty } from './utilities-5b0ca040.js';
|
|
22
|
-
import { b as useDemoBigStat, U as useBigStat, B as BigStatView, O as autoColorScaleCss, J as CardFeedView, i as CheckboxFieldView, K as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, V as withShadowView, L as LeaderboardView, N as NameFieldsView, C as ChangeMarktingView, d as PortalChangePasswordView, h as PortalFooterView, P as PortalFrameView, e as PortalRegisterView, R as ReferralIframeView, W as demoRewardExchange, j as RewardExchangeView, a as useShareButton, S as ShareButtonView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-
|
|
22
|
+
import { b as useDemoBigStat, U as useBigStat, B as BigStatView, O as autoColorScaleCss, J as CardFeedView, i as CheckboxFieldView, K as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, V as withShadowView, L as LeaderboardView, N as NameFieldsView, C as ChangeMarktingView, d as PortalChangePasswordView, h as PortalFooterView, P as PortalFrameView, e as PortalRegisterView, R as ReferralIframeView, W as demoRewardExchange, j as RewardExchangeView, a as useShareButton, S as ShareButtonView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-908b4435.js';
|
|
23
23
|
import './sqm-portal-container-view-1683ae32.js';
|
|
24
24
|
import { u as usePayoutStatus } from './usePayoutStatus-58aa56b4.js';
|
|
25
25
|
|
|
@@ -31,8 +31,19 @@ const BigStat = class {
|
|
|
31
31
|
*
|
|
32
32
|
* @uiName Flex reverse
|
|
33
33
|
* @default
|
|
34
|
+
* @uiGroup Style
|
|
34
35
|
*/
|
|
35
36
|
this.flexReverse = false;
|
|
37
|
+
/**
|
|
38
|
+
* Controls the alignment of the flexbox
|
|
39
|
+
*
|
|
40
|
+
* @uiName Alignment
|
|
41
|
+
* @uiType string
|
|
42
|
+
* @uiEnum ["left", "right", "center"]
|
|
43
|
+
* @uiEnumNames ["Left", "Right", "Center"]
|
|
44
|
+
* @uiGroup Style
|
|
45
|
+
*/
|
|
46
|
+
this.alignment = "center";
|
|
36
47
|
this.ignored = true;
|
|
37
48
|
h(this);
|
|
38
49
|
}
|
|
@@ -415,6 +426,7 @@ const CouponCode = class {
|
|
|
415
426
|
* @uiType string
|
|
416
427
|
* @uiEnum ["left", "center", "right"]
|
|
417
428
|
* @uiEnumNames ["Left", "Center", "Right"]
|
|
429
|
+
* @uiGroup Style
|
|
418
430
|
*/
|
|
419
431
|
this.textAlign = "left";
|
|
420
432
|
/**
|
|
@@ -428,6 +440,7 @@ const CouponCode = class {
|
|
|
428
440
|
* @uiType string
|
|
429
441
|
* @uiEnum ["icon", "button-outside", "button-below"]
|
|
430
442
|
* @uiEnumNames ["Icon", "Button outside", "Button below"]
|
|
443
|
+
* @uiGroup Style
|
|
431
444
|
*/
|
|
432
445
|
this.buttonStyle = "icon";
|
|
433
446
|
/**
|
|
@@ -489,6 +502,15 @@ const CouponCode = class {
|
|
|
489
502
|
* @uiGroup Coupon code error
|
|
490
503
|
*/
|
|
491
504
|
this.couponCodePlaceholder = "...";
|
|
505
|
+
/**
|
|
506
|
+
* The type of the button (primary or secondary) that will be used to copy the link.
|
|
507
|
+
* @uiName Button Type
|
|
508
|
+
* @uiType string
|
|
509
|
+
* @uiEnum ["primary", "secondary"]
|
|
510
|
+
* @uiEnumNames ["Primary", "Secondary"]
|
|
511
|
+
* @uiGroup Style
|
|
512
|
+
*/
|
|
513
|
+
this.buttonType = "primary";
|
|
492
514
|
h(this);
|
|
493
515
|
}
|
|
494
516
|
disconnectedCallback() { }
|
|
@@ -512,6 +534,11 @@ function useDemoCouponCode(props) {
|
|
|
512
534
|
error: false,
|
|
513
535
|
couponCodePlaceholder: props.couponCodePlaceholder,
|
|
514
536
|
couponCodeLabel: props.couponCodeLabel,
|
|
537
|
+
borderColor: props.borderColor,
|
|
538
|
+
backgroundColor: props.backgroundColor,
|
|
539
|
+
textColor: props.textColor,
|
|
540
|
+
borderRadius: props.borderRadius,
|
|
541
|
+
buttonType: props.buttonType,
|
|
515
542
|
open,
|
|
516
543
|
onClick: () => {
|
|
517
544
|
// Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
|
|
@@ -526,14 +553,23 @@ function useDemoCouponCode(props) {
|
|
|
526
553
|
function DividedLayoutView(props, children) {
|
|
527
554
|
const getBorder = () => {
|
|
528
555
|
if (props.direction === "row") {
|
|
529
|
-
return {
|
|
556
|
+
return {
|
|
557
|
+
"border-right": props.borderless
|
|
558
|
+
? "none"
|
|
559
|
+
: `1px solid ${props.borderColor || "var(--sqm-text)"}`,
|
|
560
|
+
};
|
|
530
561
|
}
|
|
531
562
|
else {
|
|
532
|
-
return {
|
|
563
|
+
return {
|
|
564
|
+
"border-bottom": props.borderless
|
|
565
|
+
? "none"
|
|
566
|
+
: `1px solid ${props.borderColor || "var(--sqm-text)"}`,
|
|
567
|
+
};
|
|
533
568
|
}
|
|
534
569
|
};
|
|
535
570
|
const style = {
|
|
536
571
|
LayoutContainer: {
|
|
572
|
+
background: props.backgroundColor,
|
|
537
573
|
display: "contents",
|
|
538
574
|
// First style applies when shadow DOM is disabled, second applies when shadow DOM is enabled
|
|
539
575
|
"& > :not(:last-child)": {
|
|
@@ -549,11 +585,10 @@ function DividedLayoutView(props, children) {
|
|
|
549
585
|
flex: 1;
|
|
550
586
|
box-sizing: border-box;
|
|
551
587
|
flex-direction: ${props.direction};
|
|
552
|
-
background-color: var(--sqm-
|
|
588
|
+
background-color: var(--sqm-portal-background);
|
|
589
|
+
color: var(--sqm-text);
|
|
553
590
|
overflow-x: clip;
|
|
554
|
-
${props.direction === "column"
|
|
555
|
-
? "width: 100%; max-width: var(--sqm-portal-main-width);"
|
|
556
|
-
: ""}
|
|
591
|
+
${props.direction === "column" ? "width: 100%; max-width: 100%" : ""}
|
|
557
592
|
${props.contentAreaWidth !== null
|
|
558
593
|
? `max-width: ${props.contentAreaWidth} !important;`
|
|
559
594
|
: ""}
|
|
@@ -585,10 +620,17 @@ const DividedLayout = class {
|
|
|
585
620
|
constructor(hostRef) {
|
|
586
621
|
registerInstance(this, hostRef);
|
|
587
622
|
/**
|
|
623
|
+
* @undocumented
|
|
588
624
|
* Uses Shorthand CSS border syntax allowing specification of thickness, fill style and color.
|
|
589
625
|
* @uiName Border style
|
|
590
626
|
*/
|
|
591
627
|
this.dividerStyle = "1px solid #EAEAEA";
|
|
628
|
+
/**
|
|
629
|
+
* Background color of the divider
|
|
630
|
+
* @uiName Divider Background Color
|
|
631
|
+
* @uiWidget color
|
|
632
|
+
*/
|
|
633
|
+
this.backgroundColor = "#FFFFFF";
|
|
592
634
|
h(this);
|
|
593
635
|
}
|
|
594
636
|
disconnectedCallback() { }
|
|
@@ -983,7 +1025,7 @@ function HeroImageView(props, children) {
|
|
|
983
1025
|
props.paddingImage +
|
|
984
1026
|
"))",
|
|
985
1027
|
textAlign: "center",
|
|
986
|
-
color: props.textColor || "var(--
|
|
1028
|
+
color: props.textColor || "var(--sqm-text)",
|
|
987
1029
|
lineHeight: "var(--sl-line-height-dense)",
|
|
988
1030
|
"@media (max-width: 599px)": {
|
|
989
1031
|
padding: "var(--sl-spacing-" + props.paddingText + ")",
|
|
@@ -994,7 +1036,7 @@ function HeroImageView(props, children) {
|
|
|
994
1036
|
background: props.backgroundColor || "",
|
|
995
1037
|
flexDirection: props.imagePos === "right" ? "row-reverse" : "row",
|
|
996
1038
|
lineHeight: "var(--sl-line-height-dense)",
|
|
997
|
-
color: props.textColor || "var(--
|
|
1039
|
+
color: props.textColor || "var(--sqm-text)",
|
|
998
1040
|
"& .image-area": {
|
|
999
1041
|
width: props.imagePercentage ? props.imagePercentage + "%" : "50%",
|
|
1000
1042
|
padding: "var(--sl-spacing-" + props.paddingImage + ")",
|
|
@@ -1064,7 +1106,7 @@ function HeroImageView(props, children) {
|
|
|
1064
1106
|
h$1("div", { class: sheet.classes.Overlay, part: "sqm-overlay" },
|
|
1065
1107
|
props.header && (h$1("div", { class: sheet.classes.Header }, props.header)),
|
|
1066
1108
|
props.description && (h$1("div", { class: sheet.classes.Description }, props.description)),
|
|
1067
|
-
props.buttonText && (h$1("sl-button", { class: sheet.classes.Button, type: "primary", onClick: () => props.buttonNewTab
|
|
1109
|
+
props.buttonText && (h$1("sl-button", { class: sheet.classes.Button, type: "primary", exportparts: `base: ${props.buttonType === "primary" ? "primary" : "secondary"}button-base`, onClick: () => props.buttonNewTab
|
|
1068
1110
|
? window.open(props.buttonLink)
|
|
1069
1111
|
: window.open(props.buttonLink, "_parent") }, props.buttonText)),
|
|
1070
1112
|
children && children)));
|
|
@@ -1088,6 +1130,7 @@ const HeroImage = class {
|
|
|
1088
1130
|
registerInstance(this, hostRef);
|
|
1089
1131
|
/**
|
|
1090
1132
|
* @uiName Overlay opacity
|
|
1133
|
+
* @uiGroup Style
|
|
1091
1134
|
*/
|
|
1092
1135
|
this.overlayOpacity = "0.75";
|
|
1093
1136
|
/**
|
|
@@ -1095,11 +1138,13 @@ const HeroImage = class {
|
|
|
1095
1138
|
* @uiType string
|
|
1096
1139
|
* @uiEnum ["overlay", "columns"]
|
|
1097
1140
|
* @uiEnumNames ["Overlay", "Two-column"]
|
|
1141
|
+
* @uiGroup Style
|
|
1098
1142
|
*/
|
|
1099
1143
|
this.layout = "overlay";
|
|
1100
1144
|
/**
|
|
1101
1145
|
* @uiName Image percentage
|
|
1102
1146
|
* @uiType number
|
|
1147
|
+
* @uiGroup Style
|
|
1103
1148
|
*/
|
|
1104
1149
|
this.imagePercentage = 50;
|
|
1105
1150
|
/**
|
|
@@ -1107,6 +1152,7 @@ const HeroImage = class {
|
|
|
1107
1152
|
* @uiType string
|
|
1108
1153
|
* @uiEnum ["left", "center", "right"]
|
|
1109
1154
|
* @uiEnumNames ["Left", "Center", "Right"]
|
|
1155
|
+
* @uiGroup Style
|
|
1110
1156
|
*/
|
|
1111
1157
|
this.imagePos = "center";
|
|
1112
1158
|
/**
|
|
@@ -1114,6 +1160,7 @@ const HeroImage = class {
|
|
|
1114
1160
|
* @uiType string
|
|
1115
1161
|
* @uiEnum ["top", "bottom"]
|
|
1116
1162
|
* @uiEnumNames ["Top", "Bottom"]
|
|
1163
|
+
* @uiGroup Style
|
|
1117
1164
|
*/
|
|
1118
1165
|
this.imageMobilePos = "top";
|
|
1119
1166
|
/**
|
|
@@ -1126,6 +1173,7 @@ const HeroImage = class {
|
|
|
1126
1173
|
* @uiType string
|
|
1127
1174
|
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
1128
1175
|
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
1176
|
+
* @uiGroup Style
|
|
1129
1177
|
*/
|
|
1130
1178
|
this.paddingText = "xxxx-large";
|
|
1131
1179
|
/**
|
|
@@ -1133,8 +1181,18 @@ const HeroImage = class {
|
|
|
1133
1181
|
* @uiType string
|
|
1134
1182
|
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
1135
1183
|
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
1184
|
+
* @uiGroup Style
|
|
1136
1185
|
*/
|
|
1137
1186
|
this.paddingImage = "none";
|
|
1187
|
+
/**
|
|
1188
|
+
* The type of the button (primary or secondary) that will be used to copy the link.
|
|
1189
|
+
* @uiName Button Type
|
|
1190
|
+
* @uiType string
|
|
1191
|
+
* @uiEnum ["primary", "secondary"]
|
|
1192
|
+
* @uiEnumNames ["Primary", "Secondary"]
|
|
1193
|
+
* @uiGroup Style
|
|
1194
|
+
*/
|
|
1195
|
+
this.buttonType = "primary";
|
|
1138
1196
|
h(this);
|
|
1139
1197
|
}
|
|
1140
1198
|
disconnectedCallback() { }
|
|
@@ -1423,13 +1481,6 @@ const Leaderboard = class {
|
|
|
1423
1481
|
* @uiName Width
|
|
1424
1482
|
*/
|
|
1425
1483
|
this.width = "100%";
|
|
1426
|
-
/**
|
|
1427
|
-
* Hide the viewer's leaderboard row if not in the top results.
|
|
1428
|
-
*
|
|
1429
|
-
* @uiName Hide viewing user
|
|
1430
|
-
* @default
|
|
1431
|
-
*/
|
|
1432
|
-
this.hideViewer = false;
|
|
1433
1484
|
/**
|
|
1434
1485
|
* @uiName Viewing user text
|
|
1435
1486
|
*/
|
|
@@ -1452,6 +1503,13 @@ const Leaderboard = class {
|
|
|
1452
1503
|
* @uiName Maximum rows number
|
|
1453
1504
|
*/
|
|
1454
1505
|
this.maxRows = 10;
|
|
1506
|
+
/**
|
|
1507
|
+
* Hide the viewer's leaderboard row if not in the top results.
|
|
1508
|
+
*
|
|
1509
|
+
* @uiName Hide viewing user
|
|
1510
|
+
* @default
|
|
1511
|
+
*/
|
|
1512
|
+
this.hideViewer = false;
|
|
1455
1513
|
this.ignored = true;
|
|
1456
1514
|
h(this);
|
|
1457
1515
|
withShadowView(this);
|
|
@@ -1475,6 +1533,12 @@ const Leaderboard = class {
|
|
|
1475
1533
|
showRank: this.showRank,
|
|
1476
1534
|
rankSuffix: this.rankSuffix,
|
|
1477
1535
|
width: this.width,
|
|
1536
|
+
viewingUserHighlightColor: this.viewingUserHighlightColor,
|
|
1537
|
+
viewingUserHighlightTextColor: this.viewingUserHighlightTextColor,
|
|
1538
|
+
background: this.background,
|
|
1539
|
+
borderColor: this.borderColor,
|
|
1540
|
+
textColor: this.textColor,
|
|
1541
|
+
borderRadius: this.borderRadius,
|
|
1478
1542
|
};
|
|
1479
1543
|
const demoProps = { ...props, demoData: this.demoData };
|
|
1480
1544
|
const viewprops = isDemo()
|
|
@@ -1545,6 +1609,12 @@ function useLeaderboardDemo(props) {
|
|
|
1545
1609
|
hideNames: props.hideNames,
|
|
1546
1610
|
rankSuffix: props.rankSuffix,
|
|
1547
1611
|
width: props.width,
|
|
1612
|
+
viewingUserHighlightColor: props.viewingUserHighlightColor,
|
|
1613
|
+
viewingUserHighlightTextColor: props.viewingUserHighlightTextColor,
|
|
1614
|
+
background: props.background,
|
|
1615
|
+
borderColor: props.borderColor,
|
|
1616
|
+
textColor: props.textColor,
|
|
1617
|
+
borderRadius: props.borderRadius,
|
|
1548
1618
|
},
|
|
1549
1619
|
},
|
|
1550
1620
|
data: {
|
|
@@ -2556,7 +2626,7 @@ const PortalFooter = class {
|
|
|
2556
2626
|
static get assetsDirs() { return ["../../assets"]; }
|
|
2557
2627
|
};
|
|
2558
2628
|
|
|
2559
|
-
function usePortalFrame(footerContent, headerContent) {
|
|
2629
|
+
function usePortalFrame(footerContent, headerContent, props) {
|
|
2560
2630
|
const [, rerender] = yn();
|
|
2561
2631
|
return {
|
|
2562
2632
|
data: {
|
|
@@ -2566,6 +2636,7 @@ function usePortalFrame(footerContent, headerContent) {
|
|
|
2566
2636
|
callbacks: {
|
|
2567
2637
|
rerender,
|
|
2568
2638
|
},
|
|
2639
|
+
backgroundColor: props.backgroundColor,
|
|
2569
2640
|
};
|
|
2570
2641
|
}
|
|
2571
2642
|
|
|
@@ -2577,6 +2648,12 @@ const PortalFrame = class {
|
|
|
2577
2648
|
* @undocumented
|
|
2578
2649
|
*/
|
|
2579
2650
|
this.notFullScreen = false;
|
|
2651
|
+
/**
|
|
2652
|
+
* @uiName Background color
|
|
2653
|
+
* @uiWidget color
|
|
2654
|
+
* @uiType string
|
|
2655
|
+
*/
|
|
2656
|
+
this.backgroundColor = "var(--sqm-portal-background, #fff);";
|
|
2580
2657
|
h(this);
|
|
2581
2658
|
}
|
|
2582
2659
|
disconnectedCallback() { }
|
|
@@ -2585,13 +2662,14 @@ const PortalFrame = class {
|
|
|
2585
2662
|
const headerContent = h$1("slot", { name: "header" });
|
|
2586
2663
|
const props = isDemo()
|
|
2587
2664
|
? usePortalFrameDemo(footerContent, headerContent, this)
|
|
2588
|
-
: usePortalFrame(footerContent, headerContent);
|
|
2665
|
+
: usePortalFrame(footerContent, headerContent, this);
|
|
2589
2666
|
return (h$1(PortalFrameView, Object.assign({}, props), h$1("slot", null)));
|
|
2590
2667
|
}
|
|
2591
2668
|
};
|
|
2592
2669
|
function usePortalFrameDemo(footerContent, headerContent, props) {
|
|
2593
2670
|
return cjs({
|
|
2594
2671
|
notFullScreen: true,
|
|
2672
|
+
backgroundColor: props.backgroundColor,
|
|
2595
2673
|
data: {
|
|
2596
2674
|
footer: footerContent ? (footerContent) : (h$1("span", null, "example@example.com")),
|
|
2597
2675
|
header: headerContent ? (headerContent) : (h$1("div", { style: { display: "flex", flexDirection: "column" } }, h$1("span", { style: {
|
|
@@ -3009,7 +3087,7 @@ function useRegisterDemo(props) {
|
|
|
3009
3087
|
function ProgramExplainerView(props, children) {
|
|
3010
3088
|
const style = {
|
|
3011
3089
|
Container: {
|
|
3012
|
-
color: props.textColor || "var(--
|
|
3090
|
+
color: props.textColor || "var(--sqm-text)",
|
|
3013
3091
|
background: props.backgroundColor || "",
|
|
3014
3092
|
},
|
|
3015
3093
|
Header: {
|
|
@@ -3069,7 +3147,10 @@ function ProgramExplainerStepView(props) {
|
|
|
3069
3147
|
width: "100%",
|
|
3070
3148
|
padding: "var(--sl-spacing-x-large)",
|
|
3071
3149
|
lineHeight: "var(--sl-line-height-dense)",
|
|
3072
|
-
|
|
3150
|
+
borderRadius: props.borderRadius
|
|
3151
|
+
? `${props.borderRadius}px`
|
|
3152
|
+
: "var(--sl-border-radius-large)",
|
|
3153
|
+
color: props.textColor || "var(--sqm-text)",
|
|
3073
3154
|
background: props.backgroundColor || "var(--sl-color-primary-50)",
|
|
3074
3155
|
"@media (max-width: 499px)": {
|
|
3075
3156
|
flexDirection: "row",
|
|
@@ -3083,6 +3164,7 @@ function ProgramExplainerStepView(props) {
|
|
|
3083
3164
|
},
|
|
3084
3165
|
},
|
|
3085
3166
|
Header: {
|
|
3167
|
+
color: props.textColor || "var(--sqm-text)",
|
|
3086
3168
|
fontSize: "var(--sl-font-size-large)",
|
|
3087
3169
|
fontWeight: "var(--sl-font-weight-bold)",
|
|
3088
3170
|
marginTop: "var(--sl-spacing-x-large)",
|
|
@@ -3091,6 +3173,7 @@ function ProgramExplainerStepView(props) {
|
|
|
3091
3173
|
},
|
|
3092
3174
|
},
|
|
3093
3175
|
Description: {
|
|
3176
|
+
color: props.textColor || "var(--sqm-text)",
|
|
3094
3177
|
fontSize: "var(--sl-font-size-medium)",
|
|
3095
3178
|
marginTop: "var(--sl-spacing-small)",
|
|
3096
3179
|
"@media (max-width: 499px)": {
|
|
@@ -3103,11 +3186,14 @@ function ProgramExplainerStepView(props) {
|
|
|
3103
3186
|
borderRadius: "100%",
|
|
3104
3187
|
objectFit: "cover",
|
|
3105
3188
|
userSelect: "none",
|
|
3106
|
-
background: "
|
|
3107
|
-
color: "var(--sl-color-primary-
|
|
3189
|
+
background: props.iconBackgroundColor || "var(--sl-color-white)",
|
|
3190
|
+
color: props.iconColor || "var(--sl-color-primary-500)",
|
|
3108
3191
|
fontSize: "26px",
|
|
3109
3192
|
textAlign: "center",
|
|
3110
3193
|
lineHeight: "72px",
|
|
3194
|
+
display: "flex",
|
|
3195
|
+
alignItems: "center",
|
|
3196
|
+
justifyContent: "center",
|
|
3111
3197
|
},
|
|
3112
3198
|
};
|
|
3113
3199
|
const sheet = createStyleSheet(style);
|
|
@@ -3176,44 +3262,45 @@ const ProgramMenu = class {
|
|
|
3176
3262
|
}
|
|
3177
3263
|
};
|
|
3178
3264
|
|
|
3179
|
-
const style$4 = {
|
|
3180
|
-
Container: {
|
|
3181
|
-
borderRadius: "var(--sl-border-radius-large)",
|
|
3182
|
-
color: "var(--sl-color-neutral-900)",
|
|
3183
|
-
background: "var(--sl-color-neutral-0)",
|
|
3184
|
-
display: "flex",
|
|
3185
|
-
flexDirection: "column",
|
|
3186
|
-
rowGap: "var(--sl-spacing-large)",
|
|
3187
|
-
},
|
|
3188
|
-
EndContainer: {
|
|
3189
|
-
display: "flex",
|
|
3190
|
-
flexDirection: "column",
|
|
3191
|
-
alignItems: "center",
|
|
3192
|
-
},
|
|
3193
|
-
ColumnContainer: {
|
|
3194
|
-
"& p": { margin: "0" },
|
|
3195
|
-
display: "grid",
|
|
3196
|
-
gridAutoColumns: "minmax(0, 1fr)",
|
|
3197
|
-
gridAutoFlow: "column",
|
|
3198
|
-
gap: "calc(2 * var(--sl-spacing-medium))",
|
|
3199
|
-
"@media (max-width: 499px)": {
|
|
3200
|
-
gridAutoFlow: "unset",
|
|
3201
|
-
gridAutoColumns: "unset",
|
|
3202
|
-
gridTemplateColumns: "1fr",
|
|
3203
|
-
border: "none",
|
|
3204
|
-
},
|
|
3205
|
-
},
|
|
3206
|
-
};
|
|
3207
|
-
const sheet$4 = createStyleSheet(style$4);
|
|
3208
|
-
const styleString$4 = sheet$4.toString();
|
|
3209
3265
|
const vanillaStyle$1 = `
|
|
3210
3266
|
:host{
|
|
3211
3267
|
display: block;
|
|
3212
3268
|
}
|
|
3213
3269
|
`;
|
|
3214
3270
|
function ReferralCardView(props) {
|
|
3215
|
-
|
|
3216
|
-
|
|
3271
|
+
const style = {
|
|
3272
|
+
Container: {
|
|
3273
|
+
borderRadius: props.borderRadius || "var(--sl-border-radius-large)",
|
|
3274
|
+
color: props.textColor || "var(--sqm-text)",
|
|
3275
|
+
background: props.backgroundColor || "var(--sl-color-neutral-0)",
|
|
3276
|
+
display: "flex",
|
|
3277
|
+
flexDirection: "column",
|
|
3278
|
+
rowGap: "var(--sl-spacing-large)",
|
|
3279
|
+
},
|
|
3280
|
+
EndContainer: {
|
|
3281
|
+
display: "flex",
|
|
3282
|
+
flexDirection: "column",
|
|
3283
|
+
alignItems: "center",
|
|
3284
|
+
},
|
|
3285
|
+
ColumnContainer: {
|
|
3286
|
+
"& p": { margin: "0" },
|
|
3287
|
+
display: "grid",
|
|
3288
|
+
gridAutoColumns: "minmax(0, 1fr)",
|
|
3289
|
+
gridAutoFlow: "column",
|
|
3290
|
+
gap: "calc(2 * var(--sl-spacing-medium))",
|
|
3291
|
+
"@media (max-width: 499px)": {
|
|
3292
|
+
gridAutoFlow: "unset",
|
|
3293
|
+
gridAutoColumns: "unset",
|
|
3294
|
+
gridTemplateColumns: "1fr",
|
|
3295
|
+
border: "none",
|
|
3296
|
+
},
|
|
3297
|
+
},
|
|
3298
|
+
};
|
|
3299
|
+
const sheet = createStyleSheet(style);
|
|
3300
|
+
const styleString = sheet.toString();
|
|
3301
|
+
const borderColor = props.borderColor || "var(--sl-color-neutral-300)";
|
|
3302
|
+
return (h$1("div", { part: "sqm-base", class: sheet.classes.Container, style: {
|
|
3303
|
+
border: `${props.hideBorder ? "none" : "1px solid " + borderColor}`,
|
|
3217
3304
|
"padding-top": `var(--sl-spacing-${props.paddingTop})`,
|
|
3218
3305
|
"padding-right": `var(--sl-spacing-${props.paddingRight})`,
|
|
3219
3306
|
"padding-bottom": `var(--sl-spacing-${props.paddingBottom})`,
|
|
@@ -3223,15 +3310,15 @@ function ReferralCardView(props) {
|
|
|
3223
3310
|
margin: `${props.limitWidth ? "auto" : "none"}`,
|
|
3224
3311
|
} },
|
|
3225
3312
|
h$1("style", { type: "text/css" },
|
|
3226
|
-
styleString
|
|
3313
|
+
styleString,
|
|
3227
3314
|
vanillaStyle$1),
|
|
3228
|
-
props.hasHeader && (h$1("div", { class: sheet
|
|
3229
|
-
h$1("div", { part: "sqm-column-container", class: sheet
|
|
3315
|
+
props.hasHeader && (h$1("div", { class: sheet.classes.EndContainer }, props.slots.header)),
|
|
3316
|
+
h$1("div", { part: "sqm-column-container", class: sheet.classes.ColumnContainer, style: {
|
|
3230
3317
|
alignItems: props.verticalAlignment,
|
|
3231
3318
|
} },
|
|
3232
3319
|
props.slots.left,
|
|
3233
3320
|
props.slots.right),
|
|
3234
|
-
props.hasFooter && (h$1("div", { class: sheet
|
|
3321
|
+
props.hasFooter && (h$1("div", { class: sheet.classes.EndContainer }, props.slots.footer))));
|
|
3235
3322
|
}
|
|
3236
3323
|
|
|
3237
3324
|
const ReferralCard = class {
|
|
@@ -4465,8 +4552,8 @@ const ShareButton = class {
|
|
|
4465
4552
|
/**
|
|
4466
4553
|
* @uiType string
|
|
4467
4554
|
* @uiName Button style
|
|
4468
|
-
* @uiEnum ["primary" , "success", "info", "warning", "danger", "default", "text" ]
|
|
4469
|
-
* @uiEnumNames ["Primary", "Success", "Info", "Warning", "Danger", "Default", "Text"]
|
|
4555
|
+
* @uiEnum ["primary", "secondary", "success", "info", "warning", "danger", "default", "text" ]
|
|
4556
|
+
* @uiEnumNames ["Primary", "Secondary", "Success", "Info", "Warning", "Danger", "Default", "Text"]
|
|
4470
4557
|
*/
|
|
4471
4558
|
this.type = "default";
|
|
4472
4559
|
/**
|
|
@@ -4478,11 +4565,13 @@ const ShareButton = class {
|
|
|
4478
4565
|
this.iconslot = "prefix";
|
|
4479
4566
|
/**
|
|
4480
4567
|
* @uiName Hide icon
|
|
4568
|
+
* @uiGroup Style
|
|
4481
4569
|
* @default
|
|
4482
4570
|
*/
|
|
4483
4571
|
this.hideicon = false;
|
|
4484
4572
|
/**
|
|
4485
4573
|
* @uiName Hide text
|
|
4574
|
+
* @uiGroup Style
|
|
4486
4575
|
* @default
|
|
4487
4576
|
*/
|
|
4488
4577
|
this.hidetext = false;
|
|
@@ -4588,6 +4677,7 @@ const ShareCode = class {
|
|
|
4588
4677
|
* @uiType string
|
|
4589
4678
|
* @uiEnum ["left", "center", "right"]
|
|
4590
4679
|
* @uiEnumNames ["Left", "Center", "Right"]
|
|
4680
|
+
* @uiGroup Style
|
|
4591
4681
|
*/
|
|
4592
4682
|
this.textAlign = "left";
|
|
4593
4683
|
/**
|
|
@@ -4601,8 +4691,18 @@ const ShareCode = class {
|
|
|
4601
4691
|
* @uiType string
|
|
4602
4692
|
* @uiEnum ["icon", "button-outside", "button-below"]
|
|
4603
4693
|
* @uiEnumNames ["Icon", "Button outside", "Button below"]
|
|
4694
|
+
* @uiGroup Style
|
|
4604
4695
|
*/
|
|
4605
4696
|
this.buttonStyle = "icon";
|
|
4697
|
+
/**
|
|
4698
|
+
* The type of the button (primary or secondary) that will be used to copy the link.
|
|
4699
|
+
* @uiName Button Type
|
|
4700
|
+
* @uiType string
|
|
4701
|
+
* @uiEnum ["primary", "secondary"]
|
|
4702
|
+
* @uiEnumNames ["Primary", "Secondary"]
|
|
4703
|
+
* @uiGroup Style
|
|
4704
|
+
*/
|
|
4705
|
+
this.buttonType = "primary";
|
|
4606
4706
|
h(this);
|
|
4607
4707
|
}
|
|
4608
4708
|
disconnectedCallback() { }
|
|
@@ -4623,6 +4723,11 @@ function useDemoShareCode(props) {
|
|
|
4623
4723
|
textAlign: props.textAlign,
|
|
4624
4724
|
copyButtonLabel: props.copyButtonLabel,
|
|
4625
4725
|
buttonStyle: props.buttonStyle,
|
|
4726
|
+
backgroundColor: props.backgroundColor,
|
|
4727
|
+
textColor: props.textColor,
|
|
4728
|
+
borderRadius: props.borderRadius,
|
|
4729
|
+
borderColor: props.borderColor,
|
|
4730
|
+
buttonType: props.buttonType,
|
|
4626
4731
|
rewardStatus: "AVAILABLE",
|
|
4627
4732
|
open,
|
|
4628
4733
|
onClick: () => {
|
|
@@ -4657,19 +4762,30 @@ const ShareLink = class {
|
|
|
4657
4762
|
* @uiType string
|
|
4658
4763
|
* @uiEnum ["left", "center", "right"]
|
|
4659
4764
|
* @uiEnumNames ["Left", "Center", "Right"]
|
|
4765
|
+
* @uiGroup Style
|
|
4660
4766
|
*/
|
|
4661
4767
|
this.textAlign = "left";
|
|
4662
4768
|
/**
|
|
4663
4769
|
* @uiName Copy button label
|
|
4664
4770
|
*/
|
|
4665
4771
|
this.copyButtonLabel = "Copy Link";
|
|
4772
|
+
/**
|
|
4773
|
+
* The type of the button (primary or secondary) that will be used to copy the link.
|
|
4774
|
+
* @uiName Button Type
|
|
4775
|
+
* @uiType string
|
|
4776
|
+
* @uiEnum ["primary", "secondary"]
|
|
4777
|
+
* @uiEnumNames ["Primary", "Secondary"]
|
|
4778
|
+
* @uiGroup Style
|
|
4779
|
+
*/
|
|
4780
|
+
this.buttonType = "primary";
|
|
4666
4781
|
/**
|
|
4667
4782
|
* Set the copy button style and placement
|
|
4668
4783
|
*
|
|
4669
|
-
* @uiName
|
|
4784
|
+
* @uiName Button style
|
|
4670
4785
|
* @uiType string
|
|
4671
4786
|
* @uiEnum ["icon", "button-outside", "button-below"]
|
|
4672
4787
|
* @uiEnumNames ["Icon", "Button outside", "Button below"]
|
|
4788
|
+
* @uiGroup Style
|
|
4673
4789
|
*/
|
|
4674
4790
|
this.buttonStyle = "icon";
|
|
4675
4791
|
h(this);
|
|
@@ -4691,7 +4807,12 @@ function useDemoShareLink(props) {
|
|
|
4691
4807
|
tooltiptext: props.tooltiptext,
|
|
4692
4808
|
textAlign: props.textAlign,
|
|
4693
4809
|
buttonStyle: props.buttonStyle,
|
|
4810
|
+
backgroundColor: props.backgroundColor,
|
|
4811
|
+
textColor: props.textColor,
|
|
4812
|
+
borderRadius: props.borderRadius,
|
|
4813
|
+
buttonType: props.buttonType,
|
|
4694
4814
|
copyButtonLabel: props.copyButtonLabel,
|
|
4815
|
+
borderColor: props.borderColor,
|
|
4695
4816
|
rewardStatus: "AVAILABLE",
|
|
4696
4817
|
open,
|
|
4697
4818
|
onClick: () => {
|
|
@@ -4716,12 +4837,29 @@ const StatContainer = class {
|
|
|
4716
4837
|
*/
|
|
4717
4838
|
this.space = "xxx-large";
|
|
4718
4839
|
/**
|
|
4840
|
+
* @undocumented
|
|
4719
4841
|
* @uiName Display
|
|
4720
4842
|
* @uiType string
|
|
4721
4843
|
* @uiEnum ["grid", "flex"]
|
|
4722
4844
|
* @uiEnumNames ["Grid", "Flex"]
|
|
4723
4845
|
*/
|
|
4724
|
-
this.display = "
|
|
4846
|
+
this.display = "flex";
|
|
4847
|
+
/**
|
|
4848
|
+
* Controls the alignment of the flexbox
|
|
4849
|
+
*
|
|
4850
|
+
* @uiName Alignment
|
|
4851
|
+
* @uiType string
|
|
4852
|
+
* @uiEnum ["left", "right", "center"]
|
|
4853
|
+
* @uiEnumNames ["Left", "Right", "Center"]
|
|
4854
|
+
*/
|
|
4855
|
+
this.alignment = "center";
|
|
4856
|
+
/**
|
|
4857
|
+
* @uiName Gap
|
|
4858
|
+
* @uiType string
|
|
4859
|
+
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
4860
|
+
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
4861
|
+
*/
|
|
4862
|
+
this.gap = "x-large";
|
|
4725
4863
|
h(this);
|
|
4726
4864
|
}
|
|
4727
4865
|
disconnectedCallback() { }
|
|
@@ -4765,8 +4903,18 @@ function useTaskCard(props) {
|
|
|
4765
4903
|
function onClick() {
|
|
4766
4904
|
props.eventKey ? sendEvent(props.eventKey) : openLink();
|
|
4767
4905
|
}
|
|
4906
|
+
const styles = {
|
|
4907
|
+
card: {
|
|
4908
|
+
backgroundColor: props.backgroundColor,
|
|
4909
|
+
textColor: props.textColor,
|
|
4910
|
+
borderColor: props.borderColor,
|
|
4911
|
+
borderRadius: props.borderRadius,
|
|
4912
|
+
buttonStyle: props.buttonStyle,
|
|
4913
|
+
},
|
|
4914
|
+
};
|
|
4768
4915
|
return {
|
|
4769
4916
|
states: { loadingEvent, locale },
|
|
4917
|
+
styles,
|
|
4770
4918
|
callbacks: { sendEvent, onClick },
|
|
4771
4919
|
};
|
|
4772
4920
|
}
|
|
@@ -4880,6 +5028,14 @@ const TaskCard = class {
|
|
|
4880
5028
|
* @uiGroup Button
|
|
4881
5029
|
*/
|
|
4882
5030
|
this.hideButton = false;
|
|
5031
|
+
/**
|
|
5032
|
+
* @uiName Button Style
|
|
5033
|
+
* @uiType string
|
|
5034
|
+
* @uiEnum ["primary", "secondary"]
|
|
5035
|
+
* @uiEnumNames ["Primary", "Secondary"]
|
|
5036
|
+
* @uiGroup Style
|
|
5037
|
+
*/
|
|
5038
|
+
this.buttonStyle = "primary";
|
|
4883
5039
|
h(this);
|
|
4884
5040
|
}
|
|
4885
5041
|
disconnectedCallback() { }
|
|
@@ -4891,6 +5047,7 @@ const TaskCard = class {
|
|
|
4891
5047
|
const { states, callbacks } = isDemo()
|
|
4892
5048
|
? useTaskCardDemo(this)
|
|
4893
5049
|
: useTaskCard(this);
|
|
5050
|
+
console.log("button style from controller", this.buttonStyle);
|
|
4894
5051
|
return (h$1(TaskCardView, { callbacks: callbacks, states: {
|
|
4895
5052
|
loading,
|
|
4896
5053
|
loadingEvent: states.loadingEvent,
|
|
@@ -4954,51 +5111,6 @@ const Gift = () => (h$1("svg", { width: "24", height: "24", viewBox: "0 0 24 24"
|
|
|
4954
5111
|
const Circle = () => (h$1("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
4955
5112
|
h$1("circle", { cx: "12", cy: "12", r: "9", fill: "currentColor", stroke: "currentColor", "stroke-width": "2" })));
|
|
4956
5113
|
|
|
4957
|
-
const style$5 = {
|
|
4958
|
-
TimelineReward: {
|
|
4959
|
-
color: "var(--sl-color-neutral-900)",
|
|
4960
|
-
lineHeight: "var(--sl-line-height-dense)",
|
|
4961
|
-
"& .container": {
|
|
4962
|
-
display: "flex",
|
|
4963
|
-
},
|
|
4964
|
-
"& .line": {
|
|
4965
|
-
display: "none",
|
|
4966
|
-
color: "transparent",
|
|
4967
|
-
userSelect: "none",
|
|
4968
|
-
background: "var(--sl-color-primary-300)",
|
|
4969
|
-
width: "4px",
|
|
4970
|
-
borderRadius: "4px",
|
|
4971
|
-
margin: "-2px",
|
|
4972
|
-
position: "relative",
|
|
4973
|
-
left: "12px",
|
|
4974
|
-
top: "34px",
|
|
4975
|
-
},
|
|
4976
|
-
"& .step": {
|
|
4977
|
-
display: "flex",
|
|
4978
|
-
},
|
|
4979
|
-
"& .icon": {
|
|
4980
|
-
position: "relative",
|
|
4981
|
-
top: "4px",
|
|
4982
|
-
zIndex: "1",
|
|
4983
|
-
color: "var(--sl-color-primary-300)",
|
|
4984
|
-
marginRight: "var(--sl-spacing-large)",
|
|
4985
|
-
},
|
|
4986
|
-
"& .reward": {
|
|
4987
|
-
marginRight: "var(--sl-spacing-x-small)",
|
|
4988
|
-
fontSize: "var(--sl-font-size-x-large)",
|
|
4989
|
-
fontWeight: "var(--sl-font-weight-semibold)",
|
|
4990
|
-
},
|
|
4991
|
-
"& .unit": {
|
|
4992
|
-
textTransform: "uppercase",
|
|
4993
|
-
fontSize: "var(--sl-font-size-small)",
|
|
4994
|
-
},
|
|
4995
|
-
"& .description": {
|
|
4996
|
-
fontSize: "var(--sl-font-size-medium)",
|
|
4997
|
-
},
|
|
4998
|
-
},
|
|
4999
|
-
};
|
|
5000
|
-
const sheet$5 = createStyleSheet(style$5);
|
|
5001
|
-
const styleString$5 = sheet$5.toString();
|
|
5002
5114
|
const vanillaStyle$2 = `
|
|
5003
5115
|
:host{
|
|
5004
5116
|
display: block;
|
|
@@ -5011,9 +5123,54 @@ const vanillaStyle$2 = `
|
|
|
5011
5123
|
function TimelineEntryView(props) {
|
|
5012
5124
|
var _a;
|
|
5013
5125
|
const timeline_icon = (_a = props.icon) !== null && _a !== void 0 ? _a : props.iconState;
|
|
5014
|
-
|
|
5126
|
+
const style = {
|
|
5127
|
+
TimelineReward: {
|
|
5128
|
+
color: props.textColor || "var(--sqm-text)",
|
|
5129
|
+
lineHeight: "var(--sl-line-height-dense)",
|
|
5130
|
+
"& .container": {
|
|
5131
|
+
display: "flex",
|
|
5132
|
+
},
|
|
5133
|
+
"& .line": {
|
|
5134
|
+
display: "none",
|
|
5135
|
+
color: "transparent",
|
|
5136
|
+
userSelect: "none",
|
|
5137
|
+
background: props.lineColor || "var(--sl-color-primary-500)",
|
|
5138
|
+
width: "4px",
|
|
5139
|
+
borderRadius: "4px",
|
|
5140
|
+
margin: "-2px",
|
|
5141
|
+
position: "relative",
|
|
5142
|
+
left: "12px",
|
|
5143
|
+
top: "34px",
|
|
5144
|
+
},
|
|
5145
|
+
"& .step": {
|
|
5146
|
+
display: "flex",
|
|
5147
|
+
},
|
|
5148
|
+
"& .icon": {
|
|
5149
|
+
position: "relative",
|
|
5150
|
+
top: "4px",
|
|
5151
|
+
zIndex: "1",
|
|
5152
|
+
color: props.lineColor || "var(--sl-color-primary-500)",
|
|
5153
|
+
marginRight: "var(--sl-spacing-large)",
|
|
5154
|
+
},
|
|
5155
|
+
"& .reward": {
|
|
5156
|
+
marginRight: "var(--sl-spacing-x-small)",
|
|
5157
|
+
fontSize: "var(--sl-font-size-x-large)",
|
|
5158
|
+
fontWeight: "var(--sl-font-weight-semibold)",
|
|
5159
|
+
},
|
|
5160
|
+
"& .unit": {
|
|
5161
|
+
textTransform: "uppercase",
|
|
5162
|
+
fontSize: "var(--sl-font-size-small)",
|
|
5163
|
+
},
|
|
5164
|
+
"& .description": {
|
|
5165
|
+
fontSize: "var(--sl-font-size-medium)",
|
|
5166
|
+
},
|
|
5167
|
+
},
|
|
5168
|
+
};
|
|
5169
|
+
const sheet = createStyleSheet(style);
|
|
5170
|
+
const styleString = sheet.toString();
|
|
5171
|
+
return (h$1("div", { class: sheet.classes.TimelineReward, part: "sqm-base" },
|
|
5015
5172
|
h$1("style", { type: "text/css" },
|
|
5016
|
-
styleString
|
|
5173
|
+
styleString,
|
|
5017
5174
|
vanillaStyle$2),
|
|
5018
5175
|
h$1("div", { class: "container", part: "sqm-entry-container" },
|
|
5019
5176
|
h$1("div", { class: "line" }, "/"),
|