@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
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a29c60ef.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
-
const global = require('./global-
|
|
7
|
+
const global = require('./global-f06aabc0.js');
|
|
8
8
|
const index_module = require('./index.module-ee84433d.js');
|
|
9
9
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
10
10
|
const cjs = require('./cjs-1066ec21.js');
|
|
@@ -12,18 +12,18 @@ const utils = require('./utils-6847bc06.js');
|
|
|
12
12
|
const JSS = require('./JSS-8503a151.js');
|
|
13
13
|
require('./useReferralCodes-82e8797b.js');
|
|
14
14
|
require('./mixins-f7e0377a.js');
|
|
15
|
-
const copyTextView = require('./copy-text-view-
|
|
15
|
+
const copyTextView = require('./copy-text-view-b2f47da0.js');
|
|
16
16
|
const reRender = require('./re-render-b324deab.js');
|
|
17
17
|
const useChildElements = require('./useChildElements-1b35d945.js');
|
|
18
18
|
require('./luxon-2926d85f.js');
|
|
19
|
-
require('./sqm-text-span-view-
|
|
19
|
+
require('./sqm-text-span-view-56e48a78.js');
|
|
20
20
|
const index$1 = require('./index-8c6255f5.js');
|
|
21
21
|
const useRegistrationFormState = require('./useRegistrationFormState-7b820f0c.js');
|
|
22
|
-
const sqmPortalLoginView = require('./sqm-portal-login-view-
|
|
22
|
+
const sqmPortalLoginView = require('./sqm-portal-login-view-84e99287.js');
|
|
23
23
|
const usePortalLogin = require('./usePortalLogin-63d896d1.js');
|
|
24
24
|
const AsYouType = require('./AsYouType-6788393a.js');
|
|
25
25
|
const utilities = require('./utilities-78f5e169.js');
|
|
26
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
26
|
+
const ShadowViewAddon = require('./ShadowViewAddon-f641a7de.js');
|
|
27
27
|
require('./sqm-portal-container-view-4f15143a.js');
|
|
28
28
|
const usePayoutStatus = require('./usePayoutStatus-4b5894ef.js');
|
|
29
29
|
|
|
@@ -35,8 +35,19 @@ const BigStat = class {
|
|
|
35
35
|
*
|
|
36
36
|
* @uiName Flex reverse
|
|
37
37
|
* @default
|
|
38
|
+
* @uiGroup Style
|
|
38
39
|
*/
|
|
39
40
|
this.flexReverse = false;
|
|
41
|
+
/**
|
|
42
|
+
* Controls the alignment of the flexbox
|
|
43
|
+
*
|
|
44
|
+
* @uiName Alignment
|
|
45
|
+
* @uiType string
|
|
46
|
+
* @uiEnum ["left", "right", "center"]
|
|
47
|
+
* @uiEnumNames ["Left", "Right", "Center"]
|
|
48
|
+
* @uiGroup Style
|
|
49
|
+
*/
|
|
50
|
+
this.alignment = "center";
|
|
40
51
|
this.ignored = true;
|
|
41
52
|
stencilHooks_module.h$1(this);
|
|
42
53
|
}
|
|
@@ -419,6 +430,7 @@ const CouponCode = class {
|
|
|
419
430
|
* @uiType string
|
|
420
431
|
* @uiEnum ["left", "center", "right"]
|
|
421
432
|
* @uiEnumNames ["Left", "Center", "Right"]
|
|
433
|
+
* @uiGroup Style
|
|
422
434
|
*/
|
|
423
435
|
this.textAlign = "left";
|
|
424
436
|
/**
|
|
@@ -432,6 +444,7 @@ const CouponCode = class {
|
|
|
432
444
|
* @uiType string
|
|
433
445
|
* @uiEnum ["icon", "button-outside", "button-below"]
|
|
434
446
|
* @uiEnumNames ["Icon", "Button outside", "Button below"]
|
|
447
|
+
* @uiGroup Style
|
|
435
448
|
*/
|
|
436
449
|
this.buttonStyle = "icon";
|
|
437
450
|
/**
|
|
@@ -493,6 +506,15 @@ const CouponCode = class {
|
|
|
493
506
|
* @uiGroup Coupon code error
|
|
494
507
|
*/
|
|
495
508
|
this.couponCodePlaceholder = "...";
|
|
509
|
+
/**
|
|
510
|
+
* The type of the button (primary or secondary) that will be used to copy the link.
|
|
511
|
+
* @uiName Button Type
|
|
512
|
+
* @uiType string
|
|
513
|
+
* @uiEnum ["primary", "secondary"]
|
|
514
|
+
* @uiEnumNames ["Primary", "Secondary"]
|
|
515
|
+
* @uiGroup Style
|
|
516
|
+
*/
|
|
517
|
+
this.buttonType = "primary";
|
|
496
518
|
stencilHooks_module.h$1(this);
|
|
497
519
|
}
|
|
498
520
|
disconnectedCallback() { }
|
|
@@ -516,6 +538,11 @@ function useDemoCouponCode(props) {
|
|
|
516
538
|
error: false,
|
|
517
539
|
couponCodePlaceholder: props.couponCodePlaceholder,
|
|
518
540
|
couponCodeLabel: props.couponCodeLabel,
|
|
541
|
+
borderColor: props.borderColor,
|
|
542
|
+
backgroundColor: props.backgroundColor,
|
|
543
|
+
textColor: props.textColor,
|
|
544
|
+
borderRadius: props.borderRadius,
|
|
545
|
+
buttonType: props.buttonType,
|
|
519
546
|
open,
|
|
520
547
|
onClick: () => {
|
|
521
548
|
// Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
|
|
@@ -528,6 +555,7 @@ function useDemoCouponCode(props) {
|
|
|
528
555
|
}
|
|
529
556
|
|
|
530
557
|
function DividedLayoutView(props, children) {
|
|
558
|
+
console.log("background color is ", props.backgroundColor);
|
|
531
559
|
const getBorder = () => {
|
|
532
560
|
if (props.direction === "row") {
|
|
533
561
|
return { "border-right": props.dividerStyle || "1px solid #EAEAEA" };
|
|
@@ -538,6 +566,7 @@ function DividedLayoutView(props, children) {
|
|
|
538
566
|
};
|
|
539
567
|
const style = {
|
|
540
568
|
LayoutContainer: {
|
|
569
|
+
background: props.backgroundColor,
|
|
541
570
|
display: "contents",
|
|
542
571
|
// First style applies when shadow DOM is disabled, second applies when shadow DOM is enabled
|
|
543
572
|
"& > :not(:last-child)": {
|
|
@@ -553,7 +582,8 @@ function DividedLayoutView(props, children) {
|
|
|
553
582
|
flex: 1;
|
|
554
583
|
box-sizing: border-box;
|
|
555
584
|
flex-direction: ${props.direction};
|
|
556
|
-
background-color: var(--sqm-
|
|
585
|
+
background-color: var(--sqm-portal-background);
|
|
586
|
+
color: var(--sqm-text);
|
|
557
587
|
overflow-x: clip;
|
|
558
588
|
${props.direction === "column"
|
|
559
589
|
? "width: 100%; max-width: var(--sqm-portal-main-width);"
|
|
@@ -593,6 +623,12 @@ const DividedLayout = class {
|
|
|
593
623
|
* @uiName Border style
|
|
594
624
|
*/
|
|
595
625
|
this.dividerStyle = "1px solid #EAEAEA";
|
|
626
|
+
/**
|
|
627
|
+
* Background color of the divider
|
|
628
|
+
* @uiName Divider Background Color
|
|
629
|
+
* @uiWidget color
|
|
630
|
+
*/
|
|
631
|
+
this.backgroundColor = "#FFFFFF";
|
|
596
632
|
stencilHooks_module.h$1(this);
|
|
597
633
|
}
|
|
598
634
|
disconnectedCallback() { }
|
|
@@ -987,7 +1023,7 @@ function HeroImageView(props, children) {
|
|
|
987
1023
|
props.paddingImage +
|
|
988
1024
|
"))",
|
|
989
1025
|
textAlign: "center",
|
|
990
|
-
color: props.textColor || "var(--
|
|
1026
|
+
color: props.textColor || "var(--sqm-text)",
|
|
991
1027
|
lineHeight: "var(--sl-line-height-dense)",
|
|
992
1028
|
"@media (max-width: 599px)": {
|
|
993
1029
|
padding: "var(--sl-spacing-" + props.paddingText + ")",
|
|
@@ -998,7 +1034,7 @@ function HeroImageView(props, children) {
|
|
|
998
1034
|
background: props.backgroundColor || "",
|
|
999
1035
|
flexDirection: props.imagePos === "right" ? "row-reverse" : "row",
|
|
1000
1036
|
lineHeight: "var(--sl-line-height-dense)",
|
|
1001
|
-
color: props.textColor || "var(--
|
|
1037
|
+
color: props.textColor || "var(--sqm-text)",
|
|
1002
1038
|
"& .image-area": {
|
|
1003
1039
|
width: props.imagePercentage ? props.imagePercentage + "%" : "50%",
|
|
1004
1040
|
padding: "var(--sl-spacing-" + props.paddingImage + ")",
|
|
@@ -1068,7 +1104,7 @@ function HeroImageView(props, children) {
|
|
|
1068
1104
|
index.h("div", { class: sheet.classes.Overlay, part: "sqm-overlay" },
|
|
1069
1105
|
props.header && (index.h("div", { class: sheet.classes.Header }, props.header)),
|
|
1070
1106
|
props.description && (index.h("div", { class: sheet.classes.Description }, props.description)),
|
|
1071
|
-
props.buttonText && (index.h("sl-button", { class: sheet.classes.Button, type: "primary", onClick: () => props.buttonNewTab
|
|
1107
|
+
props.buttonText && (index.h("sl-button", { class: sheet.classes.Button, type: "primary", exportparts: `base: ${props.buttonType === "primary" ? "primary" : "secondary"}button-base`, onClick: () => props.buttonNewTab
|
|
1072
1108
|
? window.open(props.buttonLink)
|
|
1073
1109
|
: window.open(props.buttonLink, "_parent") }, props.buttonText)),
|
|
1074
1110
|
children && children)));
|
|
@@ -1092,6 +1128,7 @@ const HeroImage = class {
|
|
|
1092
1128
|
index.registerInstance(this, hostRef);
|
|
1093
1129
|
/**
|
|
1094
1130
|
* @uiName Overlay opacity
|
|
1131
|
+
* @uiGroup Style
|
|
1095
1132
|
*/
|
|
1096
1133
|
this.overlayOpacity = "0.75";
|
|
1097
1134
|
/**
|
|
@@ -1099,11 +1136,13 @@ const HeroImage = class {
|
|
|
1099
1136
|
* @uiType string
|
|
1100
1137
|
* @uiEnum ["overlay", "columns"]
|
|
1101
1138
|
* @uiEnumNames ["Overlay", "Two-column"]
|
|
1139
|
+
* @uiGroup Style
|
|
1102
1140
|
*/
|
|
1103
1141
|
this.layout = "overlay";
|
|
1104
1142
|
/**
|
|
1105
1143
|
* @uiName Image percentage
|
|
1106
1144
|
* @uiType number
|
|
1145
|
+
* @uiGroup Style
|
|
1107
1146
|
*/
|
|
1108
1147
|
this.imagePercentage = 50;
|
|
1109
1148
|
/**
|
|
@@ -1111,6 +1150,7 @@ const HeroImage = class {
|
|
|
1111
1150
|
* @uiType string
|
|
1112
1151
|
* @uiEnum ["left", "center", "right"]
|
|
1113
1152
|
* @uiEnumNames ["Left", "Center", "Right"]
|
|
1153
|
+
* @uiGroup Style
|
|
1114
1154
|
*/
|
|
1115
1155
|
this.imagePos = "center";
|
|
1116
1156
|
/**
|
|
@@ -1118,6 +1158,7 @@ const HeroImage = class {
|
|
|
1118
1158
|
* @uiType string
|
|
1119
1159
|
* @uiEnum ["top", "bottom"]
|
|
1120
1160
|
* @uiEnumNames ["Top", "Bottom"]
|
|
1161
|
+
* @uiGroup Style
|
|
1121
1162
|
*/
|
|
1122
1163
|
this.imageMobilePos = "top";
|
|
1123
1164
|
/**
|
|
@@ -1130,6 +1171,7 @@ const HeroImage = class {
|
|
|
1130
1171
|
* @uiType string
|
|
1131
1172
|
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
1132
1173
|
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
1174
|
+
* @uiGroup Style
|
|
1133
1175
|
*/
|
|
1134
1176
|
this.paddingText = "xxxx-large";
|
|
1135
1177
|
/**
|
|
@@ -1137,8 +1179,18 @@ const HeroImage = class {
|
|
|
1137
1179
|
* @uiType string
|
|
1138
1180
|
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
1139
1181
|
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
1182
|
+
* @uiGroup Style
|
|
1140
1183
|
*/
|
|
1141
1184
|
this.paddingImage = "none";
|
|
1185
|
+
/**
|
|
1186
|
+
* The type of the button (primary or secondary) that will be used to copy the link.
|
|
1187
|
+
* @uiName Button Type
|
|
1188
|
+
* @uiType string
|
|
1189
|
+
* @uiEnum ["primary", "secondary"]
|
|
1190
|
+
* @uiEnumNames ["Primary", "Secondary"]
|
|
1191
|
+
* @uiGroup Style
|
|
1192
|
+
*/
|
|
1193
|
+
this.buttonType = "primary";
|
|
1142
1194
|
stencilHooks_module.h$1(this);
|
|
1143
1195
|
}
|
|
1144
1196
|
disconnectedCallback() { }
|
|
@@ -1427,13 +1479,6 @@ const Leaderboard = class {
|
|
|
1427
1479
|
* @uiName Width
|
|
1428
1480
|
*/
|
|
1429
1481
|
this.width = "100%";
|
|
1430
|
-
/**
|
|
1431
|
-
* Hide the viewer's leaderboard row if not in the top results.
|
|
1432
|
-
*
|
|
1433
|
-
* @uiName Hide viewing user
|
|
1434
|
-
* @default
|
|
1435
|
-
*/
|
|
1436
|
-
this.hideViewer = false;
|
|
1437
1482
|
/**
|
|
1438
1483
|
* @uiName Viewing user text
|
|
1439
1484
|
*/
|
|
@@ -1456,6 +1501,13 @@ const Leaderboard = class {
|
|
|
1456
1501
|
* @uiName Maximum rows number
|
|
1457
1502
|
*/
|
|
1458
1503
|
this.maxRows = 10;
|
|
1504
|
+
/**
|
|
1505
|
+
* Hide the viewer's leaderboard row if not in the top results.
|
|
1506
|
+
*
|
|
1507
|
+
* @uiName Hide viewing user
|
|
1508
|
+
* @default
|
|
1509
|
+
*/
|
|
1510
|
+
this.hideViewer = false;
|
|
1459
1511
|
this.ignored = true;
|
|
1460
1512
|
stencilHooks_module.h$1(this);
|
|
1461
1513
|
ShadowViewAddon.withShadowView(this);
|
|
@@ -1479,6 +1531,12 @@ const Leaderboard = class {
|
|
|
1479
1531
|
showRank: this.showRank,
|
|
1480
1532
|
rankSuffix: this.rankSuffix,
|
|
1481
1533
|
width: this.width,
|
|
1534
|
+
viewingUserHighlightColor: this.viewingUserHighlightColor,
|
|
1535
|
+
viewingUserHighlightTextColor: this.viewingUserHighlightTextColor,
|
|
1536
|
+
background: this.background,
|
|
1537
|
+
borderColor: this.borderColor,
|
|
1538
|
+
textColor: this.textColor,
|
|
1539
|
+
borderRadius: this.borderRadius,
|
|
1482
1540
|
};
|
|
1483
1541
|
const demoProps = { ...props, demoData: this.demoData };
|
|
1484
1542
|
const viewprops = index_module.isDemo()
|
|
@@ -1549,6 +1607,12 @@ function useLeaderboardDemo(props) {
|
|
|
1549
1607
|
hideNames: props.hideNames,
|
|
1550
1608
|
rankSuffix: props.rankSuffix,
|
|
1551
1609
|
width: props.width,
|
|
1610
|
+
viewingUserHighlightColor: props.viewingUserHighlightColor,
|
|
1611
|
+
viewingUserHighlightTextColor: props.viewingUserHighlightTextColor,
|
|
1612
|
+
background: props.background,
|
|
1613
|
+
borderColor: props.borderColor,
|
|
1614
|
+
textColor: props.textColor,
|
|
1615
|
+
borderRadius: props.borderRadius,
|
|
1552
1616
|
},
|
|
1553
1617
|
},
|
|
1554
1618
|
data: {
|
|
@@ -2560,7 +2624,7 @@ const PortalFooter = class {
|
|
|
2560
2624
|
static get assetsDirs() { return ["../../assets"]; }
|
|
2561
2625
|
};
|
|
2562
2626
|
|
|
2563
|
-
function usePortalFrame(footerContent, headerContent) {
|
|
2627
|
+
function usePortalFrame(footerContent, headerContent, props) {
|
|
2564
2628
|
const [, rerender] = index_module.yn();
|
|
2565
2629
|
return {
|
|
2566
2630
|
data: {
|
|
@@ -2570,6 +2634,7 @@ function usePortalFrame(footerContent, headerContent) {
|
|
|
2570
2634
|
callbacks: {
|
|
2571
2635
|
rerender,
|
|
2572
2636
|
},
|
|
2637
|
+
backgroundColor: props.backgroundColor,
|
|
2573
2638
|
};
|
|
2574
2639
|
}
|
|
2575
2640
|
|
|
@@ -2581,6 +2646,12 @@ const PortalFrame = class {
|
|
|
2581
2646
|
* @undocumented
|
|
2582
2647
|
*/
|
|
2583
2648
|
this.notFullScreen = false;
|
|
2649
|
+
/**
|
|
2650
|
+
* @uiName Background color
|
|
2651
|
+
* @uiWidget color
|
|
2652
|
+
* @uiType string
|
|
2653
|
+
*/
|
|
2654
|
+
this.backgroundColor = "var(--sqm-portal-background, #fff);";
|
|
2584
2655
|
stencilHooks_module.h$1(this);
|
|
2585
2656
|
}
|
|
2586
2657
|
disconnectedCallback() { }
|
|
@@ -2589,13 +2660,14 @@ const PortalFrame = class {
|
|
|
2589
2660
|
const headerContent = index.h("slot", { name: "header" });
|
|
2590
2661
|
const props = index_module.isDemo()
|
|
2591
2662
|
? usePortalFrameDemo(footerContent, headerContent, this)
|
|
2592
|
-
: usePortalFrame(footerContent, headerContent);
|
|
2663
|
+
: usePortalFrame(footerContent, headerContent, this);
|
|
2593
2664
|
return (index.h(ShadowViewAddon.PortalFrameView, Object.assign({}, props), index.h("slot", null)));
|
|
2594
2665
|
}
|
|
2595
2666
|
};
|
|
2596
2667
|
function usePortalFrameDemo(footerContent, headerContent, props) {
|
|
2597
2668
|
return cjs.cjs({
|
|
2598
2669
|
notFullScreen: true,
|
|
2670
|
+
backgroundColor: props.backgroundColor,
|
|
2599
2671
|
data: {
|
|
2600
2672
|
footer: footerContent ? (footerContent) : (index.h("span", null, "example@example.com")),
|
|
2601
2673
|
header: headerContent ? (headerContent) : (index.h("div", { style: { display: "flex", flexDirection: "column" } }, index.h("span", { style: {
|
|
@@ -3013,7 +3085,7 @@ function useRegisterDemo(props) {
|
|
|
3013
3085
|
function ProgramExplainerView(props, children) {
|
|
3014
3086
|
const style = {
|
|
3015
3087
|
Container: {
|
|
3016
|
-
color: props.textColor || "var(--
|
|
3088
|
+
color: props.textColor || "var(--sqm-text)",
|
|
3017
3089
|
background: props.backgroundColor || "",
|
|
3018
3090
|
},
|
|
3019
3091
|
Header: {
|
|
@@ -3073,7 +3145,10 @@ function ProgramExplainerStepView(props) {
|
|
|
3073
3145
|
width: "100%",
|
|
3074
3146
|
padding: "var(--sl-spacing-x-large)",
|
|
3075
3147
|
lineHeight: "var(--sl-line-height-dense)",
|
|
3076
|
-
|
|
3148
|
+
borderRadius: props.borderRadius
|
|
3149
|
+
? `${props.borderRadius}px`
|
|
3150
|
+
: "var(--sl-border-radius-large)",
|
|
3151
|
+
color: props.textColor || "var(--sqm-text)",
|
|
3077
3152
|
background: props.backgroundColor || "var(--sl-color-primary-50)",
|
|
3078
3153
|
"@media (max-width: 499px)": {
|
|
3079
3154
|
flexDirection: "row",
|
|
@@ -3087,6 +3162,7 @@ function ProgramExplainerStepView(props) {
|
|
|
3087
3162
|
},
|
|
3088
3163
|
},
|
|
3089
3164
|
Header: {
|
|
3165
|
+
color: props.textColor || "var(--sqm-text)",
|
|
3090
3166
|
fontSize: "var(--sl-font-size-large)",
|
|
3091
3167
|
fontWeight: "var(--sl-font-weight-bold)",
|
|
3092
3168
|
marginTop: "var(--sl-spacing-x-large)",
|
|
@@ -3095,6 +3171,7 @@ function ProgramExplainerStepView(props) {
|
|
|
3095
3171
|
},
|
|
3096
3172
|
},
|
|
3097
3173
|
Description: {
|
|
3174
|
+
color: props.textColor || "var(--sqm-text)",
|
|
3098
3175
|
fontSize: "var(--sl-font-size-medium)",
|
|
3099
3176
|
marginTop: "var(--sl-spacing-small)",
|
|
3100
3177
|
"@media (max-width: 499px)": {
|
|
@@ -3107,11 +3184,14 @@ function ProgramExplainerStepView(props) {
|
|
|
3107
3184
|
borderRadius: "100%",
|
|
3108
3185
|
objectFit: "cover",
|
|
3109
3186
|
userSelect: "none",
|
|
3110
|
-
background: "
|
|
3111
|
-
color: "var(--sl-color-primary-
|
|
3187
|
+
background: props.iconBackgroundColor || "var(--sl-color-white)",
|
|
3188
|
+
color: props.iconColor || "var(--sl-color-primary-500)",
|
|
3112
3189
|
fontSize: "26px",
|
|
3113
3190
|
textAlign: "center",
|
|
3114
3191
|
lineHeight: "72px",
|
|
3192
|
+
display: "flex",
|
|
3193
|
+
alignItems: "center",
|
|
3194
|
+
justifyContent: "center",
|
|
3115
3195
|
},
|
|
3116
3196
|
};
|
|
3117
3197
|
const sheet = JSS.createStyleSheet(style);
|
|
@@ -3180,44 +3260,45 @@ const ProgramMenu = class {
|
|
|
3180
3260
|
}
|
|
3181
3261
|
};
|
|
3182
3262
|
|
|
3183
|
-
const style$4 = {
|
|
3184
|
-
Container: {
|
|
3185
|
-
borderRadius: "var(--sl-border-radius-large)",
|
|
3186
|
-
color: "var(--sl-color-neutral-900)",
|
|
3187
|
-
background: "var(--sl-color-neutral-0)",
|
|
3188
|
-
display: "flex",
|
|
3189
|
-
flexDirection: "column",
|
|
3190
|
-
rowGap: "var(--sl-spacing-large)",
|
|
3191
|
-
},
|
|
3192
|
-
EndContainer: {
|
|
3193
|
-
display: "flex",
|
|
3194
|
-
flexDirection: "column",
|
|
3195
|
-
alignItems: "center",
|
|
3196
|
-
},
|
|
3197
|
-
ColumnContainer: {
|
|
3198
|
-
"& p": { margin: "0" },
|
|
3199
|
-
display: "grid",
|
|
3200
|
-
gridAutoColumns: "minmax(0, 1fr)",
|
|
3201
|
-
gridAutoFlow: "column",
|
|
3202
|
-
gap: "calc(2 * var(--sl-spacing-medium))",
|
|
3203
|
-
"@media (max-width: 499px)": {
|
|
3204
|
-
gridAutoFlow: "unset",
|
|
3205
|
-
gridAutoColumns: "unset",
|
|
3206
|
-
gridTemplateColumns: "1fr",
|
|
3207
|
-
border: "none",
|
|
3208
|
-
},
|
|
3209
|
-
},
|
|
3210
|
-
};
|
|
3211
|
-
const sheet$4 = JSS.createStyleSheet(style$4);
|
|
3212
|
-
const styleString$4 = sheet$4.toString();
|
|
3213
3263
|
const vanillaStyle$1 = `
|
|
3214
3264
|
:host{
|
|
3215
3265
|
display: block;
|
|
3216
3266
|
}
|
|
3217
3267
|
`;
|
|
3218
3268
|
function ReferralCardView(props) {
|
|
3219
|
-
|
|
3220
|
-
|
|
3269
|
+
const style = {
|
|
3270
|
+
Container: {
|
|
3271
|
+
borderRadius: props.borderRadius || "var(--sl-border-radius-large)",
|
|
3272
|
+
color: props.textColor || "var(--sqm-text)",
|
|
3273
|
+
background: props.backgroundColor || "var(--sl-color-neutral-0)",
|
|
3274
|
+
display: "flex",
|
|
3275
|
+
flexDirection: "column",
|
|
3276
|
+
rowGap: "var(--sl-spacing-large)",
|
|
3277
|
+
},
|
|
3278
|
+
EndContainer: {
|
|
3279
|
+
display: "flex",
|
|
3280
|
+
flexDirection: "column",
|
|
3281
|
+
alignItems: "center",
|
|
3282
|
+
},
|
|
3283
|
+
ColumnContainer: {
|
|
3284
|
+
"& p": { margin: "0" },
|
|
3285
|
+
display: "grid",
|
|
3286
|
+
gridAutoColumns: "minmax(0, 1fr)",
|
|
3287
|
+
gridAutoFlow: "column",
|
|
3288
|
+
gap: "calc(2 * var(--sl-spacing-medium))",
|
|
3289
|
+
"@media (max-width: 499px)": {
|
|
3290
|
+
gridAutoFlow: "unset",
|
|
3291
|
+
gridAutoColumns: "unset",
|
|
3292
|
+
gridTemplateColumns: "1fr",
|
|
3293
|
+
border: "none",
|
|
3294
|
+
},
|
|
3295
|
+
},
|
|
3296
|
+
};
|
|
3297
|
+
const sheet = JSS.createStyleSheet(style);
|
|
3298
|
+
const styleString = sheet.toString();
|
|
3299
|
+
const borderColor = props.borderColor || "var(--sl-color-neutral-300)";
|
|
3300
|
+
return (index.h("div", { part: "sqm-base", class: sheet.classes.Container, style: {
|
|
3301
|
+
border: `${props.hideBorder ? "none" : "1px solid " + borderColor}`,
|
|
3221
3302
|
"padding-top": `var(--sl-spacing-${props.paddingTop})`,
|
|
3222
3303
|
"padding-right": `var(--sl-spacing-${props.paddingRight})`,
|
|
3223
3304
|
"padding-bottom": `var(--sl-spacing-${props.paddingBottom})`,
|
|
@@ -3227,15 +3308,15 @@ function ReferralCardView(props) {
|
|
|
3227
3308
|
margin: `${props.limitWidth ? "auto" : "none"}`,
|
|
3228
3309
|
} },
|
|
3229
3310
|
index.h("style", { type: "text/css" },
|
|
3230
|
-
styleString
|
|
3311
|
+
styleString,
|
|
3231
3312
|
vanillaStyle$1),
|
|
3232
|
-
props.hasHeader && (index.h("div", { class: sheet
|
|
3233
|
-
index.h("div", { part: "sqm-column-container", class: sheet
|
|
3313
|
+
props.hasHeader && (index.h("div", { class: sheet.classes.EndContainer }, props.slots.header)),
|
|
3314
|
+
index.h("div", { part: "sqm-column-container", class: sheet.classes.ColumnContainer, style: {
|
|
3234
3315
|
alignItems: props.verticalAlignment,
|
|
3235
3316
|
} },
|
|
3236
3317
|
props.slots.left,
|
|
3237
3318
|
props.slots.right),
|
|
3238
|
-
props.hasFooter && (index.h("div", { class: sheet
|
|
3319
|
+
props.hasFooter && (index.h("div", { class: sheet.classes.EndContainer }, props.slots.footer))));
|
|
3239
3320
|
}
|
|
3240
3321
|
|
|
3241
3322
|
const ReferralCard = class {
|
|
@@ -4469,8 +4550,8 @@ const ShareButton = class {
|
|
|
4469
4550
|
/**
|
|
4470
4551
|
* @uiType string
|
|
4471
4552
|
* @uiName Button style
|
|
4472
|
-
* @uiEnum ["primary" , "success", "info", "warning", "danger", "default", "text" ]
|
|
4473
|
-
* @uiEnumNames ["Primary", "Success", "Info", "Warning", "Danger", "Default", "Text"]
|
|
4553
|
+
* @uiEnum ["primary", "secondary", "success", "info", "warning", "danger", "default", "text" ]
|
|
4554
|
+
* @uiEnumNames ["Primary", "Secondary", "Success", "Info", "Warning", "Danger", "Default", "Text"]
|
|
4474
4555
|
*/
|
|
4475
4556
|
this.type = "default";
|
|
4476
4557
|
/**
|
|
@@ -4482,11 +4563,13 @@ const ShareButton = class {
|
|
|
4482
4563
|
this.iconslot = "prefix";
|
|
4483
4564
|
/**
|
|
4484
4565
|
* @uiName Hide icon
|
|
4566
|
+
* @uiGroup Style
|
|
4485
4567
|
* @default
|
|
4486
4568
|
*/
|
|
4487
4569
|
this.hideicon = false;
|
|
4488
4570
|
/**
|
|
4489
4571
|
* @uiName Hide text
|
|
4572
|
+
* @uiGroup Style
|
|
4490
4573
|
* @default
|
|
4491
4574
|
*/
|
|
4492
4575
|
this.hidetext = false;
|
|
@@ -4592,6 +4675,7 @@ const ShareCode = class {
|
|
|
4592
4675
|
* @uiType string
|
|
4593
4676
|
* @uiEnum ["left", "center", "right"]
|
|
4594
4677
|
* @uiEnumNames ["Left", "Center", "Right"]
|
|
4678
|
+
* @uiGroup Style
|
|
4595
4679
|
*/
|
|
4596
4680
|
this.textAlign = "left";
|
|
4597
4681
|
/**
|
|
@@ -4605,8 +4689,18 @@ const ShareCode = class {
|
|
|
4605
4689
|
* @uiType string
|
|
4606
4690
|
* @uiEnum ["icon", "button-outside", "button-below"]
|
|
4607
4691
|
* @uiEnumNames ["Icon", "Button outside", "Button below"]
|
|
4692
|
+
* @uiGroup Style
|
|
4608
4693
|
*/
|
|
4609
4694
|
this.buttonStyle = "icon";
|
|
4695
|
+
/**
|
|
4696
|
+
* The type of the button (primary or secondary) that will be used to copy the link.
|
|
4697
|
+
* @uiName Button Type
|
|
4698
|
+
* @uiType string
|
|
4699
|
+
* @uiEnum ["primary", "secondary"]
|
|
4700
|
+
* @uiEnumNames ["Primary", "Secondary"]
|
|
4701
|
+
* @uiGroup Style
|
|
4702
|
+
*/
|
|
4703
|
+
this.buttonType = "primary";
|
|
4610
4704
|
stencilHooks_module.h$1(this);
|
|
4611
4705
|
}
|
|
4612
4706
|
disconnectedCallback() { }
|
|
@@ -4627,6 +4721,11 @@ function useDemoShareCode(props) {
|
|
|
4627
4721
|
textAlign: props.textAlign,
|
|
4628
4722
|
copyButtonLabel: props.copyButtonLabel,
|
|
4629
4723
|
buttonStyle: props.buttonStyle,
|
|
4724
|
+
backgroundColor: props.backgroundColor,
|
|
4725
|
+
textColor: props.textColor,
|
|
4726
|
+
borderRadius: props.borderRadius,
|
|
4727
|
+
borderColor: props.borderColor,
|
|
4728
|
+
buttonType: props.buttonType,
|
|
4630
4729
|
rewardStatus: "AVAILABLE",
|
|
4631
4730
|
open,
|
|
4632
4731
|
onClick: () => {
|
|
@@ -4661,19 +4760,30 @@ const ShareLink = class {
|
|
|
4661
4760
|
* @uiType string
|
|
4662
4761
|
* @uiEnum ["left", "center", "right"]
|
|
4663
4762
|
* @uiEnumNames ["Left", "Center", "Right"]
|
|
4763
|
+
* @uiGroup Style
|
|
4664
4764
|
*/
|
|
4665
4765
|
this.textAlign = "left";
|
|
4666
4766
|
/**
|
|
4667
4767
|
* @uiName Copy button label
|
|
4668
4768
|
*/
|
|
4669
4769
|
this.copyButtonLabel = "Copy Link";
|
|
4770
|
+
/**
|
|
4771
|
+
* The type of the button (primary or secondary) that will be used to copy the link.
|
|
4772
|
+
* @uiName Button Type
|
|
4773
|
+
* @uiType string
|
|
4774
|
+
* @uiEnum ["primary", "secondary"]
|
|
4775
|
+
* @uiEnumNames ["Primary", "Secondary"]
|
|
4776
|
+
* @uiGroup Style
|
|
4777
|
+
*/
|
|
4778
|
+
this.buttonType = "primary";
|
|
4670
4779
|
/**
|
|
4671
4780
|
* Set the copy button style and placement
|
|
4672
4781
|
*
|
|
4673
|
-
* @uiName
|
|
4782
|
+
* @uiName Button style
|
|
4674
4783
|
* @uiType string
|
|
4675
4784
|
* @uiEnum ["icon", "button-outside", "button-below"]
|
|
4676
4785
|
* @uiEnumNames ["Icon", "Button outside", "Button below"]
|
|
4786
|
+
* @uiGroup Style
|
|
4677
4787
|
*/
|
|
4678
4788
|
this.buttonStyle = "icon";
|
|
4679
4789
|
stencilHooks_module.h$1(this);
|
|
@@ -4695,7 +4805,12 @@ function useDemoShareLink(props) {
|
|
|
4695
4805
|
tooltiptext: props.tooltiptext,
|
|
4696
4806
|
textAlign: props.textAlign,
|
|
4697
4807
|
buttonStyle: props.buttonStyle,
|
|
4808
|
+
backgroundColor: props.backgroundColor,
|
|
4809
|
+
textColor: props.textColor,
|
|
4810
|
+
borderRadius: props.borderRadius,
|
|
4811
|
+
buttonType: props.buttonType,
|
|
4698
4812
|
copyButtonLabel: props.copyButtonLabel,
|
|
4813
|
+
borderColor: props.borderColor,
|
|
4699
4814
|
rewardStatus: "AVAILABLE",
|
|
4700
4815
|
open,
|
|
4701
4816
|
onClick: () => {
|
|
@@ -4720,12 +4835,29 @@ const StatContainer = class {
|
|
|
4720
4835
|
*/
|
|
4721
4836
|
this.space = "xxx-large";
|
|
4722
4837
|
/**
|
|
4838
|
+
* @undocumented
|
|
4723
4839
|
* @uiName Display
|
|
4724
4840
|
* @uiType string
|
|
4725
4841
|
* @uiEnum ["grid", "flex"]
|
|
4726
4842
|
* @uiEnumNames ["Grid", "Flex"]
|
|
4727
4843
|
*/
|
|
4728
|
-
this.display = "
|
|
4844
|
+
this.display = "flex";
|
|
4845
|
+
/**
|
|
4846
|
+
* Controls the alignment of the flexbox
|
|
4847
|
+
*
|
|
4848
|
+
* @uiName Alignment
|
|
4849
|
+
* @uiType string
|
|
4850
|
+
* @uiEnum ["left", "right", "center"]
|
|
4851
|
+
* @uiEnumNames ["Left", "Right", "Center"]
|
|
4852
|
+
*/
|
|
4853
|
+
this.alignment = "center";
|
|
4854
|
+
/**
|
|
4855
|
+
* @uiName Gap
|
|
4856
|
+
* @uiType string
|
|
4857
|
+
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
4858
|
+
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
4859
|
+
*/
|
|
4860
|
+
this.gap = "x-large";
|
|
4729
4861
|
stencilHooks_module.h$1(this);
|
|
4730
4862
|
}
|
|
4731
4863
|
disconnectedCallback() { }
|
|
@@ -4769,8 +4901,18 @@ function useTaskCard(props) {
|
|
|
4769
4901
|
function onClick() {
|
|
4770
4902
|
props.eventKey ? sendEvent(props.eventKey) : openLink();
|
|
4771
4903
|
}
|
|
4904
|
+
const styles = {
|
|
4905
|
+
card: {
|
|
4906
|
+
backgroundColor: props.backgroundColor,
|
|
4907
|
+
textColor: props.textColor,
|
|
4908
|
+
borderColor: props.borderColor,
|
|
4909
|
+
borderRadius: props.borderRadius,
|
|
4910
|
+
buttonStyle: props.buttonStyle,
|
|
4911
|
+
},
|
|
4912
|
+
};
|
|
4772
4913
|
return {
|
|
4773
4914
|
states: { loadingEvent, locale },
|
|
4915
|
+
styles,
|
|
4774
4916
|
callbacks: { sendEvent, onClick },
|
|
4775
4917
|
};
|
|
4776
4918
|
}
|
|
@@ -4884,6 +5026,14 @@ const TaskCard = class {
|
|
|
4884
5026
|
* @uiGroup Button
|
|
4885
5027
|
*/
|
|
4886
5028
|
this.hideButton = false;
|
|
5029
|
+
/**
|
|
5030
|
+
* @uiName Button Style
|
|
5031
|
+
* @uiType string
|
|
5032
|
+
* @uiEnum ["primary", "secondary"]
|
|
5033
|
+
* @uiEnumNames ["Primary", "Secondary"]
|
|
5034
|
+
* @uiGroup Style
|
|
5035
|
+
*/
|
|
5036
|
+
this.buttonStyle = "primary";
|
|
4887
5037
|
stencilHooks_module.h$1(this);
|
|
4888
5038
|
}
|
|
4889
5039
|
disconnectedCallback() { }
|
|
@@ -4895,6 +5045,7 @@ const TaskCard = class {
|
|
|
4895
5045
|
const { states, callbacks } = index_module.isDemo()
|
|
4896
5046
|
? useTaskCardDemo(this)
|
|
4897
5047
|
: useTaskCard(this);
|
|
5048
|
+
console.log("button style from controller", this.buttonStyle);
|
|
4898
5049
|
return (index.h(ShadowViewAddon.TaskCardView, { callbacks: callbacks, states: {
|
|
4899
5050
|
loading,
|
|
4900
5051
|
loadingEvent: states.loadingEvent,
|
|
@@ -4958,51 +5109,6 @@ const Gift = () => (index.h("svg", { width: "24", height: "24", viewBox: "0 0 24
|
|
|
4958
5109
|
const Circle = () => (index.h("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
4959
5110
|
index.h("circle", { cx: "12", cy: "12", r: "9", fill: "currentColor", stroke: "currentColor", "stroke-width": "2" })));
|
|
4960
5111
|
|
|
4961
|
-
const style$5 = {
|
|
4962
|
-
TimelineReward: {
|
|
4963
|
-
color: "var(--sl-color-neutral-900)",
|
|
4964
|
-
lineHeight: "var(--sl-line-height-dense)",
|
|
4965
|
-
"& .container": {
|
|
4966
|
-
display: "flex",
|
|
4967
|
-
},
|
|
4968
|
-
"& .line": {
|
|
4969
|
-
display: "none",
|
|
4970
|
-
color: "transparent",
|
|
4971
|
-
userSelect: "none",
|
|
4972
|
-
background: "var(--sl-color-primary-300)",
|
|
4973
|
-
width: "4px",
|
|
4974
|
-
borderRadius: "4px",
|
|
4975
|
-
margin: "-2px",
|
|
4976
|
-
position: "relative",
|
|
4977
|
-
left: "12px",
|
|
4978
|
-
top: "34px",
|
|
4979
|
-
},
|
|
4980
|
-
"& .step": {
|
|
4981
|
-
display: "flex",
|
|
4982
|
-
},
|
|
4983
|
-
"& .icon": {
|
|
4984
|
-
position: "relative",
|
|
4985
|
-
top: "4px",
|
|
4986
|
-
zIndex: "1",
|
|
4987
|
-
color: "var(--sl-color-primary-300)",
|
|
4988
|
-
marginRight: "var(--sl-spacing-large)",
|
|
4989
|
-
},
|
|
4990
|
-
"& .reward": {
|
|
4991
|
-
marginRight: "var(--sl-spacing-x-small)",
|
|
4992
|
-
fontSize: "var(--sl-font-size-x-large)",
|
|
4993
|
-
fontWeight: "var(--sl-font-weight-semibold)",
|
|
4994
|
-
},
|
|
4995
|
-
"& .unit": {
|
|
4996
|
-
textTransform: "uppercase",
|
|
4997
|
-
fontSize: "var(--sl-font-size-small)",
|
|
4998
|
-
},
|
|
4999
|
-
"& .description": {
|
|
5000
|
-
fontSize: "var(--sl-font-size-medium)",
|
|
5001
|
-
},
|
|
5002
|
-
},
|
|
5003
|
-
};
|
|
5004
|
-
const sheet$5 = JSS.createStyleSheet(style$5);
|
|
5005
|
-
const styleString$5 = sheet$5.toString();
|
|
5006
5112
|
const vanillaStyle$2 = `
|
|
5007
5113
|
:host{
|
|
5008
5114
|
display: block;
|
|
@@ -5015,9 +5121,54 @@ const vanillaStyle$2 = `
|
|
|
5015
5121
|
function TimelineEntryView(props) {
|
|
5016
5122
|
var _a;
|
|
5017
5123
|
const timeline_icon = (_a = props.icon) !== null && _a !== void 0 ? _a : props.iconState;
|
|
5018
|
-
|
|
5124
|
+
const style = {
|
|
5125
|
+
TimelineReward: {
|
|
5126
|
+
color: props.textColor || "var(--sqm-text)",
|
|
5127
|
+
lineHeight: "var(--sl-line-height-dense)",
|
|
5128
|
+
"& .container": {
|
|
5129
|
+
display: "flex",
|
|
5130
|
+
},
|
|
5131
|
+
"& .line": {
|
|
5132
|
+
display: "none",
|
|
5133
|
+
color: "transparent",
|
|
5134
|
+
userSelect: "none",
|
|
5135
|
+
background: props.lineColor || "var(--sl-color-primary-500)",
|
|
5136
|
+
width: "4px",
|
|
5137
|
+
borderRadius: "4px",
|
|
5138
|
+
margin: "-2px",
|
|
5139
|
+
position: "relative",
|
|
5140
|
+
left: "12px",
|
|
5141
|
+
top: "34px",
|
|
5142
|
+
},
|
|
5143
|
+
"& .step": {
|
|
5144
|
+
display: "flex",
|
|
5145
|
+
},
|
|
5146
|
+
"& .icon": {
|
|
5147
|
+
position: "relative",
|
|
5148
|
+
top: "4px",
|
|
5149
|
+
zIndex: "1",
|
|
5150
|
+
color: props.lineColor || "var(--sl-color-primary-500)",
|
|
5151
|
+
marginRight: "var(--sl-spacing-large)",
|
|
5152
|
+
},
|
|
5153
|
+
"& .reward": {
|
|
5154
|
+
marginRight: "var(--sl-spacing-x-small)",
|
|
5155
|
+
fontSize: "var(--sl-font-size-x-large)",
|
|
5156
|
+
fontWeight: "var(--sl-font-weight-semibold)",
|
|
5157
|
+
},
|
|
5158
|
+
"& .unit": {
|
|
5159
|
+
textTransform: "uppercase",
|
|
5160
|
+
fontSize: "var(--sl-font-size-small)",
|
|
5161
|
+
},
|
|
5162
|
+
"& .description": {
|
|
5163
|
+
fontSize: "var(--sl-font-size-medium)",
|
|
5164
|
+
},
|
|
5165
|
+
},
|
|
5166
|
+
};
|
|
5167
|
+
const sheet = JSS.createStyleSheet(style);
|
|
5168
|
+
const styleString = sheet.toString();
|
|
5169
|
+
return (index.h("div", { class: sheet.classes.TimelineReward, part: "sqm-base" },
|
|
5019
5170
|
index.h("style", { type: "text/css" },
|
|
5020
|
-
styleString
|
|
5171
|
+
styleString,
|
|
5021
5172
|
vanillaStyle$2),
|
|
5022
5173
|
index.h("div", { class: "container", part: "sqm-entry-container" },
|
|
5023
5174
|
index.h("div", { class: "line" }, "/"),
|