@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
|
@@ -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
|
|
@@ -530,14 +557,23 @@ function useDemoCouponCode(props) {
|
|
|
530
557
|
function DividedLayoutView(props, children) {
|
|
531
558
|
const getBorder = () => {
|
|
532
559
|
if (props.direction === "row") {
|
|
533
|
-
return {
|
|
560
|
+
return {
|
|
561
|
+
"border-right": props.borderless
|
|
562
|
+
? "none"
|
|
563
|
+
: `1px solid ${props.borderColor || "var(--sqm-text)"}`,
|
|
564
|
+
};
|
|
534
565
|
}
|
|
535
566
|
else {
|
|
536
|
-
return {
|
|
567
|
+
return {
|
|
568
|
+
"border-bottom": props.borderless
|
|
569
|
+
? "none"
|
|
570
|
+
: `1px solid ${props.borderColor || "var(--sqm-text)"}`,
|
|
571
|
+
};
|
|
537
572
|
}
|
|
538
573
|
};
|
|
539
574
|
const style = {
|
|
540
575
|
LayoutContainer: {
|
|
576
|
+
background: props.backgroundColor,
|
|
541
577
|
display: "contents",
|
|
542
578
|
// First style applies when shadow DOM is disabled, second applies when shadow DOM is enabled
|
|
543
579
|
"& > :not(:last-child)": {
|
|
@@ -553,11 +589,10 @@ function DividedLayoutView(props, children) {
|
|
|
553
589
|
flex: 1;
|
|
554
590
|
box-sizing: border-box;
|
|
555
591
|
flex-direction: ${props.direction};
|
|
556
|
-
background-color: var(--sqm-
|
|
592
|
+
background-color: var(--sqm-portal-background);
|
|
593
|
+
color: var(--sqm-text);
|
|
557
594
|
overflow-x: clip;
|
|
558
|
-
${props.direction === "column"
|
|
559
|
-
? "width: 100%; max-width: var(--sqm-portal-main-width);"
|
|
560
|
-
: ""}
|
|
595
|
+
${props.direction === "column" ? "width: 100%; max-width: 100%" : ""}
|
|
561
596
|
${props.contentAreaWidth !== null
|
|
562
597
|
? `max-width: ${props.contentAreaWidth} !important;`
|
|
563
598
|
: ""}
|
|
@@ -589,10 +624,17 @@ const DividedLayout = class {
|
|
|
589
624
|
constructor(hostRef) {
|
|
590
625
|
index.registerInstance(this, hostRef);
|
|
591
626
|
/**
|
|
627
|
+
* @undocumented
|
|
592
628
|
* Uses Shorthand CSS border syntax allowing specification of thickness, fill style and color.
|
|
593
629
|
* @uiName Border style
|
|
594
630
|
*/
|
|
595
631
|
this.dividerStyle = "1px solid #EAEAEA";
|
|
632
|
+
/**
|
|
633
|
+
* Background color of the divider
|
|
634
|
+
* @uiName Divider Background Color
|
|
635
|
+
* @uiWidget color
|
|
636
|
+
*/
|
|
637
|
+
this.backgroundColor = "#FFFFFF";
|
|
596
638
|
stencilHooks_module.h$1(this);
|
|
597
639
|
}
|
|
598
640
|
disconnectedCallback() { }
|
|
@@ -987,7 +1029,7 @@ function HeroImageView(props, children) {
|
|
|
987
1029
|
props.paddingImage +
|
|
988
1030
|
"))",
|
|
989
1031
|
textAlign: "center",
|
|
990
|
-
color: props.textColor || "var(--
|
|
1032
|
+
color: props.textColor || "var(--sqm-text)",
|
|
991
1033
|
lineHeight: "var(--sl-line-height-dense)",
|
|
992
1034
|
"@media (max-width: 599px)": {
|
|
993
1035
|
padding: "var(--sl-spacing-" + props.paddingText + ")",
|
|
@@ -998,7 +1040,7 @@ function HeroImageView(props, children) {
|
|
|
998
1040
|
background: props.backgroundColor || "",
|
|
999
1041
|
flexDirection: props.imagePos === "right" ? "row-reverse" : "row",
|
|
1000
1042
|
lineHeight: "var(--sl-line-height-dense)",
|
|
1001
|
-
color: props.textColor || "var(--
|
|
1043
|
+
color: props.textColor || "var(--sqm-text)",
|
|
1002
1044
|
"& .image-area": {
|
|
1003
1045
|
width: props.imagePercentage ? props.imagePercentage + "%" : "50%",
|
|
1004
1046
|
padding: "var(--sl-spacing-" + props.paddingImage + ")",
|
|
@@ -1068,7 +1110,7 @@ function HeroImageView(props, children) {
|
|
|
1068
1110
|
index.h("div", { class: sheet.classes.Overlay, part: "sqm-overlay" },
|
|
1069
1111
|
props.header && (index.h("div", { class: sheet.classes.Header }, props.header)),
|
|
1070
1112
|
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
|
|
1113
|
+
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
1114
|
? window.open(props.buttonLink)
|
|
1073
1115
|
: window.open(props.buttonLink, "_parent") }, props.buttonText)),
|
|
1074
1116
|
children && children)));
|
|
@@ -1092,6 +1134,7 @@ const HeroImage = class {
|
|
|
1092
1134
|
index.registerInstance(this, hostRef);
|
|
1093
1135
|
/**
|
|
1094
1136
|
* @uiName Overlay opacity
|
|
1137
|
+
* @uiGroup Style
|
|
1095
1138
|
*/
|
|
1096
1139
|
this.overlayOpacity = "0.75";
|
|
1097
1140
|
/**
|
|
@@ -1099,11 +1142,13 @@ const HeroImage = class {
|
|
|
1099
1142
|
* @uiType string
|
|
1100
1143
|
* @uiEnum ["overlay", "columns"]
|
|
1101
1144
|
* @uiEnumNames ["Overlay", "Two-column"]
|
|
1145
|
+
* @uiGroup Style
|
|
1102
1146
|
*/
|
|
1103
1147
|
this.layout = "overlay";
|
|
1104
1148
|
/**
|
|
1105
1149
|
* @uiName Image percentage
|
|
1106
1150
|
* @uiType number
|
|
1151
|
+
* @uiGroup Style
|
|
1107
1152
|
*/
|
|
1108
1153
|
this.imagePercentage = 50;
|
|
1109
1154
|
/**
|
|
@@ -1111,6 +1156,7 @@ const HeroImage = class {
|
|
|
1111
1156
|
* @uiType string
|
|
1112
1157
|
* @uiEnum ["left", "center", "right"]
|
|
1113
1158
|
* @uiEnumNames ["Left", "Center", "Right"]
|
|
1159
|
+
* @uiGroup Style
|
|
1114
1160
|
*/
|
|
1115
1161
|
this.imagePos = "center";
|
|
1116
1162
|
/**
|
|
@@ -1118,6 +1164,7 @@ const HeroImage = class {
|
|
|
1118
1164
|
* @uiType string
|
|
1119
1165
|
* @uiEnum ["top", "bottom"]
|
|
1120
1166
|
* @uiEnumNames ["Top", "Bottom"]
|
|
1167
|
+
* @uiGroup Style
|
|
1121
1168
|
*/
|
|
1122
1169
|
this.imageMobilePos = "top";
|
|
1123
1170
|
/**
|
|
@@ -1130,6 +1177,7 @@ const HeroImage = class {
|
|
|
1130
1177
|
* @uiType string
|
|
1131
1178
|
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
1132
1179
|
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
1180
|
+
* @uiGroup Style
|
|
1133
1181
|
*/
|
|
1134
1182
|
this.paddingText = "xxxx-large";
|
|
1135
1183
|
/**
|
|
@@ -1137,8 +1185,18 @@ const HeroImage = class {
|
|
|
1137
1185
|
* @uiType string
|
|
1138
1186
|
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
1139
1187
|
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
1188
|
+
* @uiGroup Style
|
|
1140
1189
|
*/
|
|
1141
1190
|
this.paddingImage = "none";
|
|
1191
|
+
/**
|
|
1192
|
+
* The type of the button (primary or secondary) that will be used to copy the link.
|
|
1193
|
+
* @uiName Button Type
|
|
1194
|
+
* @uiType string
|
|
1195
|
+
* @uiEnum ["primary", "secondary"]
|
|
1196
|
+
* @uiEnumNames ["Primary", "Secondary"]
|
|
1197
|
+
* @uiGroup Style
|
|
1198
|
+
*/
|
|
1199
|
+
this.buttonType = "primary";
|
|
1142
1200
|
stencilHooks_module.h$1(this);
|
|
1143
1201
|
}
|
|
1144
1202
|
disconnectedCallback() { }
|
|
@@ -1427,13 +1485,6 @@ const Leaderboard = class {
|
|
|
1427
1485
|
* @uiName Width
|
|
1428
1486
|
*/
|
|
1429
1487
|
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
1488
|
/**
|
|
1438
1489
|
* @uiName Viewing user text
|
|
1439
1490
|
*/
|
|
@@ -1456,6 +1507,13 @@ const Leaderboard = class {
|
|
|
1456
1507
|
* @uiName Maximum rows number
|
|
1457
1508
|
*/
|
|
1458
1509
|
this.maxRows = 10;
|
|
1510
|
+
/**
|
|
1511
|
+
* Hide the viewer's leaderboard row if not in the top results.
|
|
1512
|
+
*
|
|
1513
|
+
* @uiName Hide viewing user
|
|
1514
|
+
* @default
|
|
1515
|
+
*/
|
|
1516
|
+
this.hideViewer = false;
|
|
1459
1517
|
this.ignored = true;
|
|
1460
1518
|
stencilHooks_module.h$1(this);
|
|
1461
1519
|
ShadowViewAddon.withShadowView(this);
|
|
@@ -1479,6 +1537,12 @@ const Leaderboard = class {
|
|
|
1479
1537
|
showRank: this.showRank,
|
|
1480
1538
|
rankSuffix: this.rankSuffix,
|
|
1481
1539
|
width: this.width,
|
|
1540
|
+
viewingUserHighlightColor: this.viewingUserHighlightColor,
|
|
1541
|
+
viewingUserHighlightTextColor: this.viewingUserHighlightTextColor,
|
|
1542
|
+
background: this.background,
|
|
1543
|
+
borderColor: this.borderColor,
|
|
1544
|
+
textColor: this.textColor,
|
|
1545
|
+
borderRadius: this.borderRadius,
|
|
1482
1546
|
};
|
|
1483
1547
|
const demoProps = { ...props, demoData: this.demoData };
|
|
1484
1548
|
const viewprops = index_module.isDemo()
|
|
@@ -1549,6 +1613,12 @@ function useLeaderboardDemo(props) {
|
|
|
1549
1613
|
hideNames: props.hideNames,
|
|
1550
1614
|
rankSuffix: props.rankSuffix,
|
|
1551
1615
|
width: props.width,
|
|
1616
|
+
viewingUserHighlightColor: props.viewingUserHighlightColor,
|
|
1617
|
+
viewingUserHighlightTextColor: props.viewingUserHighlightTextColor,
|
|
1618
|
+
background: props.background,
|
|
1619
|
+
borderColor: props.borderColor,
|
|
1620
|
+
textColor: props.textColor,
|
|
1621
|
+
borderRadius: props.borderRadius,
|
|
1552
1622
|
},
|
|
1553
1623
|
},
|
|
1554
1624
|
data: {
|
|
@@ -2560,7 +2630,7 @@ const PortalFooter = class {
|
|
|
2560
2630
|
static get assetsDirs() { return ["../../assets"]; }
|
|
2561
2631
|
};
|
|
2562
2632
|
|
|
2563
|
-
function usePortalFrame(footerContent, headerContent) {
|
|
2633
|
+
function usePortalFrame(footerContent, headerContent, props) {
|
|
2564
2634
|
const [, rerender] = index_module.yn();
|
|
2565
2635
|
return {
|
|
2566
2636
|
data: {
|
|
@@ -2570,6 +2640,7 @@ function usePortalFrame(footerContent, headerContent) {
|
|
|
2570
2640
|
callbacks: {
|
|
2571
2641
|
rerender,
|
|
2572
2642
|
},
|
|
2643
|
+
backgroundColor: props.backgroundColor,
|
|
2573
2644
|
};
|
|
2574
2645
|
}
|
|
2575
2646
|
|
|
@@ -2581,6 +2652,12 @@ const PortalFrame = class {
|
|
|
2581
2652
|
* @undocumented
|
|
2582
2653
|
*/
|
|
2583
2654
|
this.notFullScreen = false;
|
|
2655
|
+
/**
|
|
2656
|
+
* @uiName Background color
|
|
2657
|
+
* @uiWidget color
|
|
2658
|
+
* @uiType string
|
|
2659
|
+
*/
|
|
2660
|
+
this.backgroundColor = "var(--sqm-portal-background, #fff);";
|
|
2584
2661
|
stencilHooks_module.h$1(this);
|
|
2585
2662
|
}
|
|
2586
2663
|
disconnectedCallback() { }
|
|
@@ -2589,13 +2666,14 @@ const PortalFrame = class {
|
|
|
2589
2666
|
const headerContent = index.h("slot", { name: "header" });
|
|
2590
2667
|
const props = index_module.isDemo()
|
|
2591
2668
|
? usePortalFrameDemo(footerContent, headerContent, this)
|
|
2592
|
-
: usePortalFrame(footerContent, headerContent);
|
|
2669
|
+
: usePortalFrame(footerContent, headerContent, this);
|
|
2593
2670
|
return (index.h(ShadowViewAddon.PortalFrameView, Object.assign({}, props), index.h("slot", null)));
|
|
2594
2671
|
}
|
|
2595
2672
|
};
|
|
2596
2673
|
function usePortalFrameDemo(footerContent, headerContent, props) {
|
|
2597
2674
|
return cjs.cjs({
|
|
2598
2675
|
notFullScreen: true,
|
|
2676
|
+
backgroundColor: props.backgroundColor,
|
|
2599
2677
|
data: {
|
|
2600
2678
|
footer: footerContent ? (footerContent) : (index.h("span", null, "example@example.com")),
|
|
2601
2679
|
header: headerContent ? (headerContent) : (index.h("div", { style: { display: "flex", flexDirection: "column" } }, index.h("span", { style: {
|
|
@@ -3013,7 +3091,7 @@ function useRegisterDemo(props) {
|
|
|
3013
3091
|
function ProgramExplainerView(props, children) {
|
|
3014
3092
|
const style = {
|
|
3015
3093
|
Container: {
|
|
3016
|
-
color: props.textColor || "var(--
|
|
3094
|
+
color: props.textColor || "var(--sqm-text)",
|
|
3017
3095
|
background: props.backgroundColor || "",
|
|
3018
3096
|
},
|
|
3019
3097
|
Header: {
|
|
@@ -3073,7 +3151,10 @@ function ProgramExplainerStepView(props) {
|
|
|
3073
3151
|
width: "100%",
|
|
3074
3152
|
padding: "var(--sl-spacing-x-large)",
|
|
3075
3153
|
lineHeight: "var(--sl-line-height-dense)",
|
|
3076
|
-
|
|
3154
|
+
borderRadius: props.borderRadius
|
|
3155
|
+
? `${props.borderRadius}px`
|
|
3156
|
+
: "var(--sl-border-radius-large)",
|
|
3157
|
+
color: props.textColor || "var(--sqm-text)",
|
|
3077
3158
|
background: props.backgroundColor || "var(--sl-color-primary-50)",
|
|
3078
3159
|
"@media (max-width: 499px)": {
|
|
3079
3160
|
flexDirection: "row",
|
|
@@ -3087,6 +3168,7 @@ function ProgramExplainerStepView(props) {
|
|
|
3087
3168
|
},
|
|
3088
3169
|
},
|
|
3089
3170
|
Header: {
|
|
3171
|
+
color: props.textColor || "var(--sqm-text)",
|
|
3090
3172
|
fontSize: "var(--sl-font-size-large)",
|
|
3091
3173
|
fontWeight: "var(--sl-font-weight-bold)",
|
|
3092
3174
|
marginTop: "var(--sl-spacing-x-large)",
|
|
@@ -3095,6 +3177,7 @@ function ProgramExplainerStepView(props) {
|
|
|
3095
3177
|
},
|
|
3096
3178
|
},
|
|
3097
3179
|
Description: {
|
|
3180
|
+
color: props.textColor || "var(--sqm-text)",
|
|
3098
3181
|
fontSize: "var(--sl-font-size-medium)",
|
|
3099
3182
|
marginTop: "var(--sl-spacing-small)",
|
|
3100
3183
|
"@media (max-width: 499px)": {
|
|
@@ -3107,11 +3190,14 @@ function ProgramExplainerStepView(props) {
|
|
|
3107
3190
|
borderRadius: "100%",
|
|
3108
3191
|
objectFit: "cover",
|
|
3109
3192
|
userSelect: "none",
|
|
3110
|
-
background: "
|
|
3111
|
-
color: "var(--sl-color-primary-
|
|
3193
|
+
background: props.iconBackgroundColor || "var(--sl-color-white)",
|
|
3194
|
+
color: props.iconColor || "var(--sl-color-primary-500)",
|
|
3112
3195
|
fontSize: "26px",
|
|
3113
3196
|
textAlign: "center",
|
|
3114
3197
|
lineHeight: "72px",
|
|
3198
|
+
display: "flex",
|
|
3199
|
+
alignItems: "center",
|
|
3200
|
+
justifyContent: "center",
|
|
3115
3201
|
},
|
|
3116
3202
|
};
|
|
3117
3203
|
const sheet = JSS.createStyleSheet(style);
|
|
@@ -3180,44 +3266,45 @@ const ProgramMenu = class {
|
|
|
3180
3266
|
}
|
|
3181
3267
|
};
|
|
3182
3268
|
|
|
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
3269
|
const vanillaStyle$1 = `
|
|
3214
3270
|
:host{
|
|
3215
3271
|
display: block;
|
|
3216
3272
|
}
|
|
3217
3273
|
`;
|
|
3218
3274
|
function ReferralCardView(props) {
|
|
3219
|
-
|
|
3220
|
-
|
|
3275
|
+
const style = {
|
|
3276
|
+
Container: {
|
|
3277
|
+
borderRadius: props.borderRadius || "var(--sl-border-radius-large)",
|
|
3278
|
+
color: props.textColor || "var(--sqm-text)",
|
|
3279
|
+
background: props.backgroundColor || "var(--sl-color-neutral-0)",
|
|
3280
|
+
display: "flex",
|
|
3281
|
+
flexDirection: "column",
|
|
3282
|
+
rowGap: "var(--sl-spacing-large)",
|
|
3283
|
+
},
|
|
3284
|
+
EndContainer: {
|
|
3285
|
+
display: "flex",
|
|
3286
|
+
flexDirection: "column",
|
|
3287
|
+
alignItems: "center",
|
|
3288
|
+
},
|
|
3289
|
+
ColumnContainer: {
|
|
3290
|
+
"& p": { margin: "0" },
|
|
3291
|
+
display: "grid",
|
|
3292
|
+
gridAutoColumns: "minmax(0, 1fr)",
|
|
3293
|
+
gridAutoFlow: "column",
|
|
3294
|
+
gap: "calc(2 * var(--sl-spacing-medium))",
|
|
3295
|
+
"@media (max-width: 499px)": {
|
|
3296
|
+
gridAutoFlow: "unset",
|
|
3297
|
+
gridAutoColumns: "unset",
|
|
3298
|
+
gridTemplateColumns: "1fr",
|
|
3299
|
+
border: "none",
|
|
3300
|
+
},
|
|
3301
|
+
},
|
|
3302
|
+
};
|
|
3303
|
+
const sheet = JSS.createStyleSheet(style);
|
|
3304
|
+
const styleString = sheet.toString();
|
|
3305
|
+
const borderColor = props.borderColor || "var(--sl-color-neutral-300)";
|
|
3306
|
+
return (index.h("div", { part: "sqm-base", class: sheet.classes.Container, style: {
|
|
3307
|
+
border: `${props.hideBorder ? "none" : "1px solid " + borderColor}`,
|
|
3221
3308
|
"padding-top": `var(--sl-spacing-${props.paddingTop})`,
|
|
3222
3309
|
"padding-right": `var(--sl-spacing-${props.paddingRight})`,
|
|
3223
3310
|
"padding-bottom": `var(--sl-spacing-${props.paddingBottom})`,
|
|
@@ -3227,15 +3314,15 @@ function ReferralCardView(props) {
|
|
|
3227
3314
|
margin: `${props.limitWidth ? "auto" : "none"}`,
|
|
3228
3315
|
} },
|
|
3229
3316
|
index.h("style", { type: "text/css" },
|
|
3230
|
-
styleString
|
|
3317
|
+
styleString,
|
|
3231
3318
|
vanillaStyle$1),
|
|
3232
|
-
props.hasHeader && (index.h("div", { class: sheet
|
|
3233
|
-
index.h("div", { part: "sqm-column-container", class: sheet
|
|
3319
|
+
props.hasHeader && (index.h("div", { class: sheet.classes.EndContainer }, props.slots.header)),
|
|
3320
|
+
index.h("div", { part: "sqm-column-container", class: sheet.classes.ColumnContainer, style: {
|
|
3234
3321
|
alignItems: props.verticalAlignment,
|
|
3235
3322
|
} },
|
|
3236
3323
|
props.slots.left,
|
|
3237
3324
|
props.slots.right),
|
|
3238
|
-
props.hasFooter && (index.h("div", { class: sheet
|
|
3325
|
+
props.hasFooter && (index.h("div", { class: sheet.classes.EndContainer }, props.slots.footer))));
|
|
3239
3326
|
}
|
|
3240
3327
|
|
|
3241
3328
|
const ReferralCard = class {
|
|
@@ -4469,8 +4556,8 @@ const ShareButton = class {
|
|
|
4469
4556
|
/**
|
|
4470
4557
|
* @uiType string
|
|
4471
4558
|
* @uiName Button style
|
|
4472
|
-
* @uiEnum ["primary" , "success", "info", "warning", "danger", "default", "text" ]
|
|
4473
|
-
* @uiEnumNames ["Primary", "Success", "Info", "Warning", "Danger", "Default", "Text"]
|
|
4559
|
+
* @uiEnum ["primary", "secondary", "success", "info", "warning", "danger", "default", "text" ]
|
|
4560
|
+
* @uiEnumNames ["Primary", "Secondary", "Success", "Info", "Warning", "Danger", "Default", "Text"]
|
|
4474
4561
|
*/
|
|
4475
4562
|
this.type = "default";
|
|
4476
4563
|
/**
|
|
@@ -4482,11 +4569,13 @@ const ShareButton = class {
|
|
|
4482
4569
|
this.iconslot = "prefix";
|
|
4483
4570
|
/**
|
|
4484
4571
|
* @uiName Hide icon
|
|
4572
|
+
* @uiGroup Style
|
|
4485
4573
|
* @default
|
|
4486
4574
|
*/
|
|
4487
4575
|
this.hideicon = false;
|
|
4488
4576
|
/**
|
|
4489
4577
|
* @uiName Hide text
|
|
4578
|
+
* @uiGroup Style
|
|
4490
4579
|
* @default
|
|
4491
4580
|
*/
|
|
4492
4581
|
this.hidetext = false;
|
|
@@ -4592,6 +4681,7 @@ const ShareCode = class {
|
|
|
4592
4681
|
* @uiType string
|
|
4593
4682
|
* @uiEnum ["left", "center", "right"]
|
|
4594
4683
|
* @uiEnumNames ["Left", "Center", "Right"]
|
|
4684
|
+
* @uiGroup Style
|
|
4595
4685
|
*/
|
|
4596
4686
|
this.textAlign = "left";
|
|
4597
4687
|
/**
|
|
@@ -4605,8 +4695,18 @@ const ShareCode = class {
|
|
|
4605
4695
|
* @uiType string
|
|
4606
4696
|
* @uiEnum ["icon", "button-outside", "button-below"]
|
|
4607
4697
|
* @uiEnumNames ["Icon", "Button outside", "Button below"]
|
|
4698
|
+
* @uiGroup Style
|
|
4608
4699
|
*/
|
|
4609
4700
|
this.buttonStyle = "icon";
|
|
4701
|
+
/**
|
|
4702
|
+
* The type of the button (primary or secondary) that will be used to copy the link.
|
|
4703
|
+
* @uiName Button Type
|
|
4704
|
+
* @uiType string
|
|
4705
|
+
* @uiEnum ["primary", "secondary"]
|
|
4706
|
+
* @uiEnumNames ["Primary", "Secondary"]
|
|
4707
|
+
* @uiGroup Style
|
|
4708
|
+
*/
|
|
4709
|
+
this.buttonType = "primary";
|
|
4610
4710
|
stencilHooks_module.h$1(this);
|
|
4611
4711
|
}
|
|
4612
4712
|
disconnectedCallback() { }
|
|
@@ -4627,6 +4727,11 @@ function useDemoShareCode(props) {
|
|
|
4627
4727
|
textAlign: props.textAlign,
|
|
4628
4728
|
copyButtonLabel: props.copyButtonLabel,
|
|
4629
4729
|
buttonStyle: props.buttonStyle,
|
|
4730
|
+
backgroundColor: props.backgroundColor,
|
|
4731
|
+
textColor: props.textColor,
|
|
4732
|
+
borderRadius: props.borderRadius,
|
|
4733
|
+
borderColor: props.borderColor,
|
|
4734
|
+
buttonType: props.buttonType,
|
|
4630
4735
|
rewardStatus: "AVAILABLE",
|
|
4631
4736
|
open,
|
|
4632
4737
|
onClick: () => {
|
|
@@ -4661,19 +4766,30 @@ const ShareLink = class {
|
|
|
4661
4766
|
* @uiType string
|
|
4662
4767
|
* @uiEnum ["left", "center", "right"]
|
|
4663
4768
|
* @uiEnumNames ["Left", "Center", "Right"]
|
|
4769
|
+
* @uiGroup Style
|
|
4664
4770
|
*/
|
|
4665
4771
|
this.textAlign = "left";
|
|
4666
4772
|
/**
|
|
4667
4773
|
* @uiName Copy button label
|
|
4668
4774
|
*/
|
|
4669
4775
|
this.copyButtonLabel = "Copy Link";
|
|
4776
|
+
/**
|
|
4777
|
+
* The type of the button (primary or secondary) that will be used to copy the link.
|
|
4778
|
+
* @uiName Button Type
|
|
4779
|
+
* @uiType string
|
|
4780
|
+
* @uiEnum ["primary", "secondary"]
|
|
4781
|
+
* @uiEnumNames ["Primary", "Secondary"]
|
|
4782
|
+
* @uiGroup Style
|
|
4783
|
+
*/
|
|
4784
|
+
this.buttonType = "primary";
|
|
4670
4785
|
/**
|
|
4671
4786
|
* Set the copy button style and placement
|
|
4672
4787
|
*
|
|
4673
|
-
* @uiName
|
|
4788
|
+
* @uiName Button style
|
|
4674
4789
|
* @uiType string
|
|
4675
4790
|
* @uiEnum ["icon", "button-outside", "button-below"]
|
|
4676
4791
|
* @uiEnumNames ["Icon", "Button outside", "Button below"]
|
|
4792
|
+
* @uiGroup Style
|
|
4677
4793
|
*/
|
|
4678
4794
|
this.buttonStyle = "icon";
|
|
4679
4795
|
stencilHooks_module.h$1(this);
|
|
@@ -4695,7 +4811,12 @@ function useDemoShareLink(props) {
|
|
|
4695
4811
|
tooltiptext: props.tooltiptext,
|
|
4696
4812
|
textAlign: props.textAlign,
|
|
4697
4813
|
buttonStyle: props.buttonStyle,
|
|
4814
|
+
backgroundColor: props.backgroundColor,
|
|
4815
|
+
textColor: props.textColor,
|
|
4816
|
+
borderRadius: props.borderRadius,
|
|
4817
|
+
buttonType: props.buttonType,
|
|
4698
4818
|
copyButtonLabel: props.copyButtonLabel,
|
|
4819
|
+
borderColor: props.borderColor,
|
|
4699
4820
|
rewardStatus: "AVAILABLE",
|
|
4700
4821
|
open,
|
|
4701
4822
|
onClick: () => {
|
|
@@ -4720,12 +4841,29 @@ const StatContainer = class {
|
|
|
4720
4841
|
*/
|
|
4721
4842
|
this.space = "xxx-large";
|
|
4722
4843
|
/**
|
|
4844
|
+
* @undocumented
|
|
4723
4845
|
* @uiName Display
|
|
4724
4846
|
* @uiType string
|
|
4725
4847
|
* @uiEnum ["grid", "flex"]
|
|
4726
4848
|
* @uiEnumNames ["Grid", "Flex"]
|
|
4727
4849
|
*/
|
|
4728
|
-
this.display = "
|
|
4850
|
+
this.display = "flex";
|
|
4851
|
+
/**
|
|
4852
|
+
* Controls the alignment of the flexbox
|
|
4853
|
+
*
|
|
4854
|
+
* @uiName Alignment
|
|
4855
|
+
* @uiType string
|
|
4856
|
+
* @uiEnum ["left", "right", "center"]
|
|
4857
|
+
* @uiEnumNames ["Left", "Right", "Center"]
|
|
4858
|
+
*/
|
|
4859
|
+
this.alignment = "center";
|
|
4860
|
+
/**
|
|
4861
|
+
* @uiName Gap
|
|
4862
|
+
* @uiType string
|
|
4863
|
+
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
4864
|
+
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
4865
|
+
*/
|
|
4866
|
+
this.gap = "x-large";
|
|
4729
4867
|
stencilHooks_module.h$1(this);
|
|
4730
4868
|
}
|
|
4731
4869
|
disconnectedCallback() { }
|
|
@@ -4769,8 +4907,18 @@ function useTaskCard(props) {
|
|
|
4769
4907
|
function onClick() {
|
|
4770
4908
|
props.eventKey ? sendEvent(props.eventKey) : openLink();
|
|
4771
4909
|
}
|
|
4910
|
+
const styles = {
|
|
4911
|
+
card: {
|
|
4912
|
+
backgroundColor: props.backgroundColor,
|
|
4913
|
+
textColor: props.textColor,
|
|
4914
|
+
borderColor: props.borderColor,
|
|
4915
|
+
borderRadius: props.borderRadius,
|
|
4916
|
+
buttonStyle: props.buttonStyle,
|
|
4917
|
+
},
|
|
4918
|
+
};
|
|
4772
4919
|
return {
|
|
4773
4920
|
states: { loadingEvent, locale },
|
|
4921
|
+
styles,
|
|
4774
4922
|
callbacks: { sendEvent, onClick },
|
|
4775
4923
|
};
|
|
4776
4924
|
}
|
|
@@ -4884,6 +5032,14 @@ const TaskCard = class {
|
|
|
4884
5032
|
* @uiGroup Button
|
|
4885
5033
|
*/
|
|
4886
5034
|
this.hideButton = false;
|
|
5035
|
+
/**
|
|
5036
|
+
* @uiName Button Style
|
|
5037
|
+
* @uiType string
|
|
5038
|
+
* @uiEnum ["primary", "secondary"]
|
|
5039
|
+
* @uiEnumNames ["Primary", "Secondary"]
|
|
5040
|
+
* @uiGroup Style
|
|
5041
|
+
*/
|
|
5042
|
+
this.buttonStyle = "primary";
|
|
4887
5043
|
stencilHooks_module.h$1(this);
|
|
4888
5044
|
}
|
|
4889
5045
|
disconnectedCallback() { }
|
|
@@ -4895,6 +5051,7 @@ const TaskCard = class {
|
|
|
4895
5051
|
const { states, callbacks } = index_module.isDemo()
|
|
4896
5052
|
? useTaskCardDemo(this)
|
|
4897
5053
|
: useTaskCard(this);
|
|
5054
|
+
console.log("button style from controller", this.buttonStyle);
|
|
4898
5055
|
return (index.h(ShadowViewAddon.TaskCardView, { callbacks: callbacks, states: {
|
|
4899
5056
|
loading,
|
|
4900
5057
|
loadingEvent: states.loadingEvent,
|
|
@@ -4958,51 +5115,6 @@ const Gift = () => (index.h("svg", { width: "24", height: "24", viewBox: "0 0 24
|
|
|
4958
5115
|
const Circle = () => (index.h("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
4959
5116
|
index.h("circle", { cx: "12", cy: "12", r: "9", fill: "currentColor", stroke: "currentColor", "stroke-width": "2" })));
|
|
4960
5117
|
|
|
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
5118
|
const vanillaStyle$2 = `
|
|
5007
5119
|
:host{
|
|
5008
5120
|
display: block;
|
|
@@ -5015,9 +5127,54 @@ const vanillaStyle$2 = `
|
|
|
5015
5127
|
function TimelineEntryView(props) {
|
|
5016
5128
|
var _a;
|
|
5017
5129
|
const timeline_icon = (_a = props.icon) !== null && _a !== void 0 ? _a : props.iconState;
|
|
5018
|
-
|
|
5130
|
+
const style = {
|
|
5131
|
+
TimelineReward: {
|
|
5132
|
+
color: props.textColor || "var(--sqm-text)",
|
|
5133
|
+
lineHeight: "var(--sl-line-height-dense)",
|
|
5134
|
+
"& .container": {
|
|
5135
|
+
display: "flex",
|
|
5136
|
+
},
|
|
5137
|
+
"& .line": {
|
|
5138
|
+
display: "none",
|
|
5139
|
+
color: "transparent",
|
|
5140
|
+
userSelect: "none",
|
|
5141
|
+
background: props.lineColor || "var(--sl-color-primary-500)",
|
|
5142
|
+
width: "4px",
|
|
5143
|
+
borderRadius: "4px",
|
|
5144
|
+
margin: "-2px",
|
|
5145
|
+
position: "relative",
|
|
5146
|
+
left: "12px",
|
|
5147
|
+
top: "34px",
|
|
5148
|
+
},
|
|
5149
|
+
"& .step": {
|
|
5150
|
+
display: "flex",
|
|
5151
|
+
},
|
|
5152
|
+
"& .icon": {
|
|
5153
|
+
position: "relative",
|
|
5154
|
+
top: "4px",
|
|
5155
|
+
zIndex: "1",
|
|
5156
|
+
color: props.lineColor || "var(--sl-color-primary-500)",
|
|
5157
|
+
marginRight: "var(--sl-spacing-large)",
|
|
5158
|
+
},
|
|
5159
|
+
"& .reward": {
|
|
5160
|
+
marginRight: "var(--sl-spacing-x-small)",
|
|
5161
|
+
fontSize: "var(--sl-font-size-x-large)",
|
|
5162
|
+
fontWeight: "var(--sl-font-weight-semibold)",
|
|
5163
|
+
},
|
|
5164
|
+
"& .unit": {
|
|
5165
|
+
textTransform: "uppercase",
|
|
5166
|
+
fontSize: "var(--sl-font-size-small)",
|
|
5167
|
+
},
|
|
5168
|
+
"& .description": {
|
|
5169
|
+
fontSize: "var(--sl-font-size-medium)",
|
|
5170
|
+
},
|
|
5171
|
+
},
|
|
5172
|
+
};
|
|
5173
|
+
const sheet = JSS.createStyleSheet(style);
|
|
5174
|
+
const styleString = sheet.toString();
|
|
5175
|
+
return (index.h("div", { class: sheet.classes.TimelineReward, part: "sqm-base" },
|
|
5019
5176
|
index.h("style", { type: "text/css" },
|
|
5020
|
-
styleString
|
|
5177
|
+
styleString,
|
|
5021
5178
|
vanillaStyle$2),
|
|
5022
5179
|
index.h("div", { class: "container", part: "sqm-entry-container" },
|
|
5023
5180
|
index.h("div", { class: "line" }, "/"),
|