@saasquatch/mint-components 1.15.0-1 → 1.15.0-11
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-9618130b.js} +304 -321
- package/dist/cjs/{copy-text-view-c85acaaa.js → copy-text-view-b2f47da0.js} +53 -38
- package/dist/cjs/{global-e31dc4f5.js → global-19fe8600.js} +70 -13
- 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 +188 -96
- 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-55066ec6.js} +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +2 -2
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +72 -55
- package/dist/cjs/{sqm-portal-email-verification-view-7ebb426a.js → sqm-portal-email-verification-view-9f7b86a9.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-e77710f0.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 +70 -18
- 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/sqm-big-stat-view.js +1 -2
- 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 +1 -1
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +170 -1
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +2 -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/sqm-leaderboard-view.js +54 -54
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +26 -1
- 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.js +2 -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-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 +9 -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/sqm-share-button.js +2 -1
- 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.js +1 -1
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +2 -0
- package/dist/collection/components/sqm-tabs/sqm-tabs.js +2 -0
- 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 +147 -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 +104 -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 +53 -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 +70 -13
- package/dist/collection/global/styles.ts +70 -13
- 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-8f268346.js} +304 -321
- package/dist/esm/{copy-text-view-782137ba.js → copy-text-view-0ac6e1d1.js} +53 -38
- package/dist/esm/{global-be1f9992.js → global-9d6f3bbe.js} +70 -13
- 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 +188 -96
- 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-fda573e4.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
- package/dist/esm/sqm-pagination_3.entry.js +72 -55
- package/dist/esm/{sqm-portal-email-verification-view-35b4353b.js → sqm-portal-email-verification-view-14f1c22c.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-41116f1d.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 +70 -18
- 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-8f268346.js +1 -0
- package/dist/esm-es5/copy-text-view-0ac6e1d1.js +1 -0
- package/dist/esm-es5/{global-be1f9992.js → global-9d6f3bbe.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-fda573e4.js} +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.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-14f1c22c.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-41116f1d.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-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 +70 -13
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-2f101bae.entry.js → p-0559d880.entry.js} +1 -1
- package/dist/mint-components/{p-21620f81.system.entry.js → p-12536a1f.system.entry.js} +1 -1
- package/dist/mint-components/{p-0d182dc1.system.js → p-17da19a2.system.js} +1 -1
- package/dist/mint-components/p-1ae6c418.entry.js +1 -0
- package/dist/mint-components/{p-10d17989.entry.js → p-1b7e6ee9.entry.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-bbcd824a.js → p-28b011a0.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-2e110002.system.js +1 -0
- package/dist/mint-components/p-3109f2d2.js +394 -0
- package/dist/mint-components/{p-57eef0af.entry.js → p-320d3c31.entry.js} +6 -6
- 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-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-63a75798.js → p-3c96533f.js} +1 -1
- package/dist/mint-components/{p-ef6381d4.entry.js → p-3f3ae257.entry.js} +2 -2
- package/dist/mint-components/p-4027c743.system.entry.js +1 -0
- package/dist/mint-components/{p-50c902ca.system.entry.js → p-45bb63c7.system.entry.js} +1 -1
- package/dist/mint-components/p-49206a9c.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-cd569259.system.js → p-4d91a1d6.system.js} +1 -1
- package/dist/mint-components/{p-a7746488.system.js → p-52858682.system.js} +1 -1
- package/dist/mint-components/{p-e5d0375e.system.js → p-571e1427.system.js} +1 -1
- package/dist/mint-components/{p-492b70db.system.js → p-5dbe8b0a.system.js} +1 -1
- package/dist/mint-components/{p-9386ad84.system.entry.js → p-605c2904.system.entry.js} +1 -1
- package/dist/mint-components/{p-bdb7d451.system.js → p-642b0650.system.js} +1 -1
- package/dist/mint-components/{p-91959fbe.js → p-69ac09d4.js} +1 -1
- package/dist/mint-components/{p-3f067fd5.js → p-6d8f7c71.js} +1 -1
- package/dist/mint-components/p-70c41f97.system.js +1 -0
- package/dist/mint-components/{p-99ad7d56.system.js → p-71d7c2a0.system.js} +1 -1
- package/dist/mint-components/{p-65069b66.js → p-776260e8.js} +19 -19
- 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-7e3d84a3.entry.js +13 -0
- 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-8119a65e.system.entry.js +1 -0
- package/dist/mint-components/{p-cbbfac66.entry.js → p-82d04fd3.entry.js} +2 -2
- package/dist/mint-components/{p-5d7e308c.system.entry.js → p-868daffd.system.entry.js} +1 -1
- 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-8ab87bd4.entry.js +144 -0
- package/dist/mint-components/{p-837a0fdd.js → p-8c494bf1.js} +1 -1
- package/dist/mint-components/p-8d9328dd.entry.js +33 -0
- package/dist/mint-components/{p-116baa69.entry.js → p-8e876dde.entry.js} +13 -13
- package/dist/mint-components/p-9abb9ab0.entry.js +13 -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-afbb3f73.entry.js +1 -0
- package/dist/mint-components/p-b12e132b.system.entry.js +1 -0
- package/dist/mint-components/{p-b287833c.system.entry.js → p-b385c9f0.system.entry.js} +1 -1
- package/dist/mint-components/{p-b75bb6e3.system.js → p-b5fb3826.system.js} +1 -1
- package/dist/mint-components/{p-0ebab63e.system.js → p-bd2a2546.system.js} +1 -1
- package/dist/mint-components/p-c571bc61.system.entry.js +1 -0
- 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-91ab3da1.js → p-dc52c36a.js} +1 -1
- package/dist/mint-components/p-dce51a2e.system.entry.js +1 -0
- 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-eab1c9f3.js +1 -0
- package/dist/mint-components/p-ee06426a.system.js +1 -0
- package/dist/mint-components/p-f219e877.system.entry.js +1 -0
- package/dist/mint-components/{p-3f6e0197.system.entry.js → p-f2228da3.system.entry.js} +1 -1
- package/dist/mint-components/p-f9da2c34.system.entry.js +1 -0
- package/dist/mint-components/{p-380bfde1.entry.js → p-fd0a013f.entry.js} +1 -1
- package/dist/types/components/sqm-card-feed/sqm-card-feed.d.ts +1 -1
- package/dist/types/components/sqm-coupon-code/sqm-coupon-code.d.ts +43 -0
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +2 -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/sqm-leaderboard-view.d.ts +1 -0
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard.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.d.ts +2 -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-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 +19 -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/sqm-share-button.d.ts +1 -0
- 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.d.ts +1 -1
- package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +2 -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 +33 -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 +14 -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 +592 -4
- 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-text-span-view-ca32495e.js +0 -1
- package/dist/mint-components/p-1f089c3f.system.entry.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-3b90e01b.system.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-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-b207beeb.entry.js +0 -1
- package/dist/mint-components/p-b82e1935.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-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-f56bedd5.js +0 -1
- package/dist/mint-components/p-fe2e2f4a.entry.js +0 -1
- package/dist/mint-components/p-ff8b8067.entry.js +0 -33
|
@@ -10,6 +10,7 @@ import { useTaskCard } from "./useTaskCard";
|
|
|
10
10
|
/**
|
|
11
11
|
* @uiName Task Card
|
|
12
12
|
* @uiOrder ["reward-amount", "reward-unit", "card-title", "description", "repeatable", "finite", "show-progress-bar", "stat-type", "progress-source", "goal", "steps", "progress-bar-unit", "show-expiry", "reward-duration", "button-text", "button-link", "open-new-tab", "ended-message", "expiry-message", "starts-on-message", "event-key", "*"]
|
|
13
|
+
* @validParents ["sqm-card-feed"]
|
|
13
14
|
* @exampleGroup Rewards
|
|
14
15
|
* @example One Time Task Card - <sqm-task-card reward-amount="1" reward-unit="Free Month" goal="1" card-title="Upgrade Your Plan" description="Receive one free month for being a committed customer when you upgrade your plan." button-text="Upgrade" completed-text="Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}" ended-message="Ended {endDate}" expiry-message="Ends {endDate}" open-new-tab="false" finite="0" starts-on-message="Starts {startDate}"></sqm-task-card>
|
|
15
16
|
* @example Repeatable Task Card - <sqm-task-card reward-amount="250" goal="500" show-progress-bar card-title="Spend $500" description="Earn 250 points when you spend $500 or more." button-text="See plans" completed-text="Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}" ended-message="Ended {endDate}" expiry-message="Ends {endDate}" progress-bar-unit="$" finite="0" repeatable="" reward-unit="Points" starts-on-message="Starts {startDate}"></sqm-task-card>
|
|
@@ -123,6 +124,14 @@ export class TaskCard {
|
|
|
123
124
|
* @uiGroup Button
|
|
124
125
|
*/
|
|
125
126
|
this.hideButton = false;
|
|
127
|
+
/**
|
|
128
|
+
* @uiName Button Style
|
|
129
|
+
* @uiType string
|
|
130
|
+
* @uiEnum ["primary", "secondary"]
|
|
131
|
+
* @uiEnumNames ["Primary", "Secondary"]
|
|
132
|
+
* @uiGroup Style
|
|
133
|
+
*/
|
|
134
|
+
this.buttonStyle = "primary";
|
|
126
135
|
withHooks(this);
|
|
127
136
|
}
|
|
128
137
|
disconnectedCallback() { }
|
|
@@ -134,6 +143,7 @@ export class TaskCard {
|
|
|
134
143
|
const { states, callbacks } = isDemo()
|
|
135
144
|
? useTaskCardDemo(this)
|
|
136
145
|
: useTaskCard(this);
|
|
146
|
+
console.log("button style from controller", this.buttonStyle);
|
|
137
147
|
return (h(TaskCardView, { callbacks: callbacks, states: {
|
|
138
148
|
loading,
|
|
139
149
|
loadingEvent: states.loadingEvent,
|
|
@@ -732,6 +742,143 @@ export class TaskCard {
|
|
|
732
742
|
"reflect": false,
|
|
733
743
|
"defaultValue": "false"
|
|
734
744
|
},
|
|
745
|
+
"backgroundColor": {
|
|
746
|
+
"type": "string",
|
|
747
|
+
"mutable": false,
|
|
748
|
+
"complexType": {
|
|
749
|
+
"original": "string",
|
|
750
|
+
"resolved": "string",
|
|
751
|
+
"references": {}
|
|
752
|
+
},
|
|
753
|
+
"required": false,
|
|
754
|
+
"optional": true,
|
|
755
|
+
"docs": {
|
|
756
|
+
"tags": [{
|
|
757
|
+
"text": "Card Background color",
|
|
758
|
+
"name": "uiName"
|
|
759
|
+
}, {
|
|
760
|
+
"text": "color",
|
|
761
|
+
"name": "uiWidget"
|
|
762
|
+
}, {
|
|
763
|
+
"text": "Style",
|
|
764
|
+
"name": "uiGroup"
|
|
765
|
+
}],
|
|
766
|
+
"text": ""
|
|
767
|
+
},
|
|
768
|
+
"attribute": "background-color",
|
|
769
|
+
"reflect": false
|
|
770
|
+
},
|
|
771
|
+
"textColor": {
|
|
772
|
+
"type": "string",
|
|
773
|
+
"mutable": false,
|
|
774
|
+
"complexType": {
|
|
775
|
+
"original": "string",
|
|
776
|
+
"resolved": "string",
|
|
777
|
+
"references": {}
|
|
778
|
+
},
|
|
779
|
+
"required": false,
|
|
780
|
+
"optional": true,
|
|
781
|
+
"docs": {
|
|
782
|
+
"tags": [{
|
|
783
|
+
"text": "Text color",
|
|
784
|
+
"name": "uiName"
|
|
785
|
+
}, {
|
|
786
|
+
"text": "color",
|
|
787
|
+
"name": "uiWidget"
|
|
788
|
+
}, {
|
|
789
|
+
"text": "Style",
|
|
790
|
+
"name": "uiGroup"
|
|
791
|
+
}],
|
|
792
|
+
"text": ""
|
|
793
|
+
},
|
|
794
|
+
"attribute": "text-color",
|
|
795
|
+
"reflect": false
|
|
796
|
+
},
|
|
797
|
+
"borderColor": {
|
|
798
|
+
"type": "string",
|
|
799
|
+
"mutable": false,
|
|
800
|
+
"complexType": {
|
|
801
|
+
"original": "string",
|
|
802
|
+
"resolved": "string",
|
|
803
|
+
"references": {}
|
|
804
|
+
},
|
|
805
|
+
"required": false,
|
|
806
|
+
"optional": true,
|
|
807
|
+
"docs": {
|
|
808
|
+
"tags": [{
|
|
809
|
+
"text": "Border color",
|
|
810
|
+
"name": "uiName"
|
|
811
|
+
}, {
|
|
812
|
+
"text": "color",
|
|
813
|
+
"name": "uiWidget"
|
|
814
|
+
}, {
|
|
815
|
+
"text": "Style",
|
|
816
|
+
"name": "uiGroup"
|
|
817
|
+
}],
|
|
818
|
+
"text": ""
|
|
819
|
+
},
|
|
820
|
+
"attribute": "border-color",
|
|
821
|
+
"reflect": false
|
|
822
|
+
},
|
|
823
|
+
"borderRadius": {
|
|
824
|
+
"type": "number",
|
|
825
|
+
"mutable": false,
|
|
826
|
+
"complexType": {
|
|
827
|
+
"original": "number",
|
|
828
|
+
"resolved": "number",
|
|
829
|
+
"references": {}
|
|
830
|
+
},
|
|
831
|
+
"required": false,
|
|
832
|
+
"optional": true,
|
|
833
|
+
"docs": {
|
|
834
|
+
"tags": [{
|
|
835
|
+
"text": "Border radius",
|
|
836
|
+
"name": "uiName"
|
|
837
|
+
}, {
|
|
838
|
+
"text": "number",
|
|
839
|
+
"name": "uiType"
|
|
840
|
+
}, {
|
|
841
|
+
"text": "Style",
|
|
842
|
+
"name": "uiGroup"
|
|
843
|
+
}],
|
|
844
|
+
"text": ""
|
|
845
|
+
},
|
|
846
|
+
"attribute": "border-radius",
|
|
847
|
+
"reflect": false
|
|
848
|
+
},
|
|
849
|
+
"buttonStyle": {
|
|
850
|
+
"type": "string",
|
|
851
|
+
"mutable": false,
|
|
852
|
+
"complexType": {
|
|
853
|
+
"original": "\"primary\" | \"secondary\"",
|
|
854
|
+
"resolved": "\"primary\" | \"secondary\"",
|
|
855
|
+
"references": {}
|
|
856
|
+
},
|
|
857
|
+
"required": false,
|
|
858
|
+
"optional": true,
|
|
859
|
+
"docs": {
|
|
860
|
+
"tags": [{
|
|
861
|
+
"text": "Button Style",
|
|
862
|
+
"name": "uiName"
|
|
863
|
+
}, {
|
|
864
|
+
"text": "string",
|
|
865
|
+
"name": "uiType"
|
|
866
|
+
}, {
|
|
867
|
+
"text": "[\"primary\", \"secondary\"]",
|
|
868
|
+
"name": "uiEnum"
|
|
869
|
+
}, {
|
|
870
|
+
"text": "[\"Primary\", \"Secondary\"]",
|
|
871
|
+
"name": "uiEnumNames"
|
|
872
|
+
}, {
|
|
873
|
+
"text": "Style",
|
|
874
|
+
"name": "uiGroup"
|
|
875
|
+
}],
|
|
876
|
+
"text": ""
|
|
877
|
+
},
|
|
878
|
+
"attribute": "button-style",
|
|
879
|
+
"reflect": false,
|
|
880
|
+
"defaultValue": "\"primary\""
|
|
881
|
+
},
|
|
735
882
|
"demoData": {
|
|
736
883
|
"type": "unknown",
|
|
737
884
|
"mutable": false,
|
|
@@ -36,8 +36,18 @@ export function useTaskCard(props) {
|
|
|
36
36
|
function onClick() {
|
|
37
37
|
props.eventKey ? sendEvent(props.eventKey) : openLink();
|
|
38
38
|
}
|
|
39
|
+
const styles = {
|
|
40
|
+
card: {
|
|
41
|
+
backgroundColor: props.backgroundColor,
|
|
42
|
+
textColor: props.textColor,
|
|
43
|
+
borderColor: props.borderColor,
|
|
44
|
+
borderRadius: props.borderRadius,
|
|
45
|
+
buttonStyle: props.buttonStyle,
|
|
46
|
+
},
|
|
47
|
+
};
|
|
39
48
|
return {
|
|
40
49
|
states: { loadingEvent, locale },
|
|
50
|
+
styles,
|
|
41
51
|
callbacks: { sendEvent, onClick },
|
|
42
52
|
};
|
|
43
53
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
export default {
|
|
3
|
+
title: "Components/Text",
|
|
4
|
+
};
|
|
5
|
+
export const PurpleText = () => {
|
|
6
|
+
return (h("sqm-text", { textColor: "slateblue" },
|
|
7
|
+
h("p", null, "This is the text component")));
|
|
8
|
+
};
|
|
9
|
+
export const CustomFontSize = () => {
|
|
10
|
+
return (h("sqm-text", { fontSize: 36 },
|
|
11
|
+
h("p", null, "This is the text component")));
|
|
12
|
+
};
|
|
@@ -1,54 +1,8 @@
|
|
|
1
|
-
import { Component, h, State } from "@stencil/core";
|
|
1
|
+
import { Component, h, Prop, State } from "@stencil/core";
|
|
2
2
|
import { withHooks } from "@saasquatch/stencil-hooks";
|
|
3
|
-
const vanillaStyle = `
|
|
4
|
-
sqm-text {
|
|
5
|
-
display: block;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
sqm-text h1 {
|
|
9
|
-
font-size: var(--sl-font-size-xxx-large);
|
|
10
|
-
font-weight: var(--sl-font-weight-semibold);
|
|
11
|
-
color: var(--sl-color-neutral-800);
|
|
12
|
-
margin: 0;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
sqm-text h2 {
|
|
16
|
-
font-size: var(--sl-font-size-xx-large);
|
|
17
|
-
font-weight: var(--sl-font-weight-semibold);
|
|
18
|
-
color: var(--sl-color-neutral-800);
|
|
19
|
-
margin: 0;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
sqm-text h3 {
|
|
23
|
-
font-size: var(--sl-font-size-x-large);
|
|
24
|
-
font-weight: var(--sl-font-weight-semibold);
|
|
25
|
-
color: var(--sl-color-neutral-800);
|
|
26
|
-
margin: 0;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
sqm-text h4 {
|
|
30
|
-
font-size: var(--sl-font-size-large);
|
|
31
|
-
font-weight: var(--sl-font-weight-bold);
|
|
32
|
-
color: var(--sl-color-neutral-800);
|
|
33
|
-
margin: 0;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
sqm-text p {
|
|
37
|
-
font-size: var(--sl-font-size-medium);
|
|
38
|
-
font-weight: var(--sl-font-weight-normal);
|
|
39
|
-
color: var(--sl-color-neutral-800);
|
|
40
|
-
margin: 0;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
sqm-text sub {
|
|
44
|
-
font-size: var(--sl-font-size-small);
|
|
45
|
-
font-weight: var(--sl-font-weight-normal);
|
|
46
|
-
color: var(--sl-color-neutral-400);
|
|
47
|
-
margin: 0;
|
|
48
|
-
}
|
|
49
|
-
`;
|
|
50
3
|
/**
|
|
51
4
|
* @uiName Text
|
|
5
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero","sqm-big-stat","span","sqm-text-span","sqb-program-section","sqb-conditional-section"]
|
|
52
6
|
* @slots [{"name":"", "title":"Text"}]
|
|
53
7
|
* @slotEditor richText
|
|
54
8
|
* @canvasRenderer always-replace
|
|
@@ -61,11 +15,113 @@ export class Text {
|
|
|
61
15
|
disconnectedCallback() { }
|
|
62
16
|
componentWillLoad() { }
|
|
63
17
|
render() {
|
|
18
|
+
const vanillaStyle = `
|
|
19
|
+
sqm-text {
|
|
20
|
+
display: block;
|
|
21
|
+
color: ${this.textColor || "var(--sqm-text)"};
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
sqm-text h1 {
|
|
25
|
+
font-size: ${this.fontSize ? `${this.fontSize}px` : "var(--sl-font-size-xxx-large)"};
|
|
26
|
+
font-weight: var(--sl-font-weight-semibold);
|
|
27
|
+
color: ${this.textColor || "var(--sqm-text)"};
|
|
28
|
+
margin: 0;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
sqm-text h2 {
|
|
32
|
+
font-size: ${this.fontSize ? `${this.fontSize}px` : "var(--sl-font-size-xx-large)"};
|
|
33
|
+
font-weight: var(--sl-font-weight-semibold);
|
|
34
|
+
color: ${this.textColor || "var(--sqm-text)"};
|
|
35
|
+
margin: 0;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
sqm-text h3 {
|
|
39
|
+
font-size: ${this.fontSize ? `${this.fontSize}px` : "var(--sl-font-size-x-large)"};
|
|
40
|
+
font-weight: var(--sl-font-weight-semibold);
|
|
41
|
+
color: ${this.textColor || "var(--sqm-text)"};
|
|
42
|
+
margin: 0;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
sqm-text h4 {
|
|
46
|
+
font-size: ${this.fontSize ? `${this.fontSize}px` : "var(--sl-font-size-large)"};
|
|
47
|
+
font-weight: var(--sl-font-weight-bold);
|
|
48
|
+
color: ${this.textColor || "var(--sqm-text)"};
|
|
49
|
+
margin: 0;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
sqm-text p {
|
|
53
|
+
font-size: ${this.fontSize ? `${this.fontSize}px` : "var(--sl-font-size-medium)"};
|
|
54
|
+
font-weight: var(--sl-font-weight-normal);
|
|
55
|
+
color: ${this.textColor || "var(--sqm-text)"};
|
|
56
|
+
margin: 0;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
sqm-text sub {
|
|
60
|
+
font-size: ${this.fontSize ? `${this.fontSize}px` : "var(--sl-font-size-small)"};
|
|
61
|
+
font-weight: var(--sl-font-weight-normal);
|
|
62
|
+
color: ${this.textColor || "var(--sqm-text)"};
|
|
63
|
+
margin: 0;
|
|
64
|
+
}
|
|
65
|
+
`;
|
|
64
66
|
return (h("div", null,
|
|
65
67
|
h("style", null, vanillaStyle),
|
|
66
68
|
h("slot", null)));
|
|
67
69
|
}
|
|
68
70
|
static get is() { return "sqm-text"; }
|
|
71
|
+
static get properties() { return {
|
|
72
|
+
"fontSize": {
|
|
73
|
+
"type": "number",
|
|
74
|
+
"mutable": false,
|
|
75
|
+
"complexType": {
|
|
76
|
+
"original": "number",
|
|
77
|
+
"resolved": "number",
|
|
78
|
+
"references": {}
|
|
79
|
+
},
|
|
80
|
+
"required": false,
|
|
81
|
+
"optional": true,
|
|
82
|
+
"docs": {
|
|
83
|
+
"tags": [{
|
|
84
|
+
"text": "Font Size",
|
|
85
|
+
"name": "uiName"
|
|
86
|
+
}, {
|
|
87
|
+
"text": "number",
|
|
88
|
+
"name": "uiType"
|
|
89
|
+
}],
|
|
90
|
+
"text": "Font size in pixels"
|
|
91
|
+
},
|
|
92
|
+
"attribute": "font-size",
|
|
93
|
+
"reflect": false
|
|
94
|
+
},
|
|
95
|
+
"textColor": {
|
|
96
|
+
"type": "string",
|
|
97
|
+
"mutable": false,
|
|
98
|
+
"complexType": {
|
|
99
|
+
"original": "string",
|
|
100
|
+
"resolved": "string",
|
|
101
|
+
"references": {}
|
|
102
|
+
},
|
|
103
|
+
"required": false,
|
|
104
|
+
"optional": true,
|
|
105
|
+
"docs": {
|
|
106
|
+
"tags": [{
|
|
107
|
+
"text": "Text Color",
|
|
108
|
+
"name": "uiName"
|
|
109
|
+
}, {
|
|
110
|
+
"text": "string",
|
|
111
|
+
"name": "uiType"
|
|
112
|
+
}, {
|
|
113
|
+
"text": "[\"primary\", \"secondary\", \"text\"]",
|
|
114
|
+
"name": "uiEnum"
|
|
115
|
+
}, {
|
|
116
|
+
"text": "[\"Primary\", \"Secondary\", \"Text\"]",
|
|
117
|
+
"name": "uiEnumNames"
|
|
118
|
+
}],
|
|
119
|
+
"text": ""
|
|
120
|
+
},
|
|
121
|
+
"attribute": "text-color",
|
|
122
|
+
"reflect": false
|
|
123
|
+
}
|
|
124
|
+
}; }
|
|
69
125
|
static get states() { return {
|
|
70
126
|
"ignored": {}
|
|
71
127
|
}; }
|
|
@@ -4,37 +4,37 @@ const style = {
|
|
|
4
4
|
p: {
|
|
5
5
|
"font-size": "var(--sl-font-size-small)",
|
|
6
6
|
"font-weight": "400",
|
|
7
|
-
color: "var(--
|
|
7
|
+
color: "var(--sq-text)",
|
|
8
8
|
margin: "0",
|
|
9
9
|
},
|
|
10
10
|
subtext: {
|
|
11
11
|
"font-size": "var(--sl-font-size-x-small)",
|
|
12
12
|
"font-weight": "400",
|
|
13
|
-
color: "var(--
|
|
13
|
+
color: "var(--sqm-text-subdued)",
|
|
14
14
|
margin: "0",
|
|
15
15
|
},
|
|
16
16
|
h1: {
|
|
17
17
|
"font-size": "var(--sl-font-size-xx-large)",
|
|
18
18
|
"font-weight": "600",
|
|
19
|
-
color: "var(--
|
|
19
|
+
color: "var(--sq-text)",
|
|
20
20
|
margin: "0",
|
|
21
21
|
},
|
|
22
22
|
h2: {
|
|
23
23
|
"font-size": "var(--sl-font-size-x-large)",
|
|
24
24
|
"font-weight": "600",
|
|
25
|
-
color: "var(--
|
|
25
|
+
color: "var(--sq-text)",
|
|
26
26
|
margin: "0",
|
|
27
27
|
},
|
|
28
28
|
h3: {
|
|
29
29
|
"font-size": "var(--sl-font-size-large)",
|
|
30
30
|
"font-weight": "600",
|
|
31
|
-
color: "var(--
|
|
31
|
+
color: "var(--sq-text)",
|
|
32
32
|
margin: "0",
|
|
33
33
|
},
|
|
34
34
|
h4: {
|
|
35
35
|
"font-size": "13px",
|
|
36
36
|
"font-weight": "600",
|
|
37
|
-
color: "var(--
|
|
37
|
+
color: "var(--sq-text)",
|
|
38
38
|
margin: "0",
|
|
39
39
|
},
|
|
40
40
|
};
|
|
@@ -3,6 +3,7 @@ import { withHooks } from "@saasquatch/stencil-hooks";
|
|
|
3
3
|
import { TextSpanView } from "./sqm-text-span-view";
|
|
4
4
|
/**
|
|
5
5
|
* @uiName Text Span
|
|
6
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero","sqm-big-stat","span","sqm-text-span","sqb-program-section","sqb-conditional-section"]
|
|
6
7
|
* @canvasRenderer always-replace
|
|
7
8
|
*/
|
|
8
9
|
export class Text {
|
|
@@ -11,7 +11,7 @@ export default {
|
|
|
11
11
|
export const TimelineWith1Reward = () => {
|
|
12
12
|
return (h("div", null,
|
|
13
13
|
h("sqm-timeline", null,
|
|
14
|
-
h("sqm-timeline-entry", { reward: "75", unit: "points", desc: "Your friends signs up for a free trial" })),
|
|
14
|
+
h("sqm-timeline-entry", { textColor: "red", lineColor: "red", reward: "75", unit: "points", desc: "Your friends signs up for a free trial" })),
|
|
15
15
|
h("br", null),
|
|
16
16
|
" ",
|
|
17
17
|
h("hr", null),
|
|
@@ -68,3 +68,10 @@ export const TimelineWith4Rewards = () => {
|
|
|
68
68
|
h("sqm-timeline-entry", { reward: "$200", unit: "visa giftcard", desc: "Your friend qualifies as a good fit for Klip Team" }),
|
|
69
69
|
h("sqm-timeline-entry", { reward: "$1000", unit: "visa giftcard", desc: "Your friend purchases Klip Team" }))));
|
|
70
70
|
};
|
|
71
|
+
export const TimelineWithCustomColors = () => {
|
|
72
|
+
return (h("sqm-timeline", null,
|
|
73
|
+
h("sqm-timeline-entry", { "text-color": "red", "line-color": "red", reward: "75", unit: "points", desc: "Your friends signs up for a free trial" }),
|
|
74
|
+
h("sqm-timeline-entry", { "text-color": "red", "line-color": "red", reward: "$50", unit: "visa giftcard", desc: "Your friends signs up for Klip Personal" }),
|
|
75
|
+
h("sqm-timeline-entry", { "text-color": "red", "line-color": "red", reward: "$200", unit: "visa giftcard", desc: "Your friend qualifies as a good fit for Klip Team" }),
|
|
76
|
+
h("sqm-timeline-entry", { "text-color": "red", "line-color": "red", reward: "$1000", unit: "visa giftcard", desc: "Your friend purchases Klip Team" })));
|
|
77
|
+
};
|
|
@@ -1,51 +1,6 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { createStyleSheet } from "../../styling/JSS";
|
|
3
3
|
import { Circle, Gift } from "./SVGs";
|
|
4
|
-
const style = {
|
|
5
|
-
TimelineReward: {
|
|
6
|
-
color: "var(--sl-color-neutral-900)",
|
|
7
|
-
lineHeight: "var(--sl-line-height-dense)",
|
|
8
|
-
"& .container": {
|
|
9
|
-
display: "flex",
|
|
10
|
-
},
|
|
11
|
-
"& .line": {
|
|
12
|
-
display: "none",
|
|
13
|
-
color: "transparent",
|
|
14
|
-
userSelect: "none",
|
|
15
|
-
background: "var(--sl-color-primary-300)",
|
|
16
|
-
width: "4px",
|
|
17
|
-
borderRadius: "4px",
|
|
18
|
-
margin: "-2px",
|
|
19
|
-
position: "relative",
|
|
20
|
-
left: "12px",
|
|
21
|
-
top: "34px",
|
|
22
|
-
},
|
|
23
|
-
"& .step": {
|
|
24
|
-
display: "flex",
|
|
25
|
-
},
|
|
26
|
-
"& .icon": {
|
|
27
|
-
position: "relative",
|
|
28
|
-
top: "4px",
|
|
29
|
-
zIndex: "1",
|
|
30
|
-
color: "var(--sl-color-primary-300)",
|
|
31
|
-
marginRight: "var(--sl-spacing-large)",
|
|
32
|
-
},
|
|
33
|
-
"& .reward": {
|
|
34
|
-
marginRight: "var(--sl-spacing-x-small)",
|
|
35
|
-
fontSize: "var(--sl-font-size-x-large)",
|
|
36
|
-
fontWeight: "var(--sl-font-weight-semibold)",
|
|
37
|
-
},
|
|
38
|
-
"& .unit": {
|
|
39
|
-
textTransform: "uppercase",
|
|
40
|
-
fontSize: "var(--sl-font-size-small)",
|
|
41
|
-
},
|
|
42
|
-
"& .description": {
|
|
43
|
-
fontSize: "var(--sl-font-size-medium)",
|
|
44
|
-
},
|
|
45
|
-
},
|
|
46
|
-
};
|
|
47
|
-
const sheet = createStyleSheet(style);
|
|
48
|
-
const styleString = sheet.toString();
|
|
49
4
|
const vanillaStyle = `
|
|
50
5
|
:host{
|
|
51
6
|
display: block;
|
|
@@ -58,6 +13,51 @@ const vanillaStyle = `
|
|
|
58
13
|
export function TimelineEntryView(props) {
|
|
59
14
|
var _a;
|
|
60
15
|
const timeline_icon = (_a = props.icon) !== null && _a !== void 0 ? _a : props.iconState;
|
|
16
|
+
const style = {
|
|
17
|
+
TimelineReward: {
|
|
18
|
+
color: props.textColor || "var(--sqm-text)",
|
|
19
|
+
lineHeight: "var(--sl-line-height-dense)",
|
|
20
|
+
"& .container": {
|
|
21
|
+
display: "flex",
|
|
22
|
+
},
|
|
23
|
+
"& .line": {
|
|
24
|
+
display: "none",
|
|
25
|
+
color: "transparent",
|
|
26
|
+
userSelect: "none",
|
|
27
|
+
background: props.lineColor || "var(--sl-color-primary-500)",
|
|
28
|
+
width: "4px",
|
|
29
|
+
borderRadius: "4px",
|
|
30
|
+
margin: "-2px",
|
|
31
|
+
position: "relative",
|
|
32
|
+
left: "12px",
|
|
33
|
+
top: "34px",
|
|
34
|
+
},
|
|
35
|
+
"& .step": {
|
|
36
|
+
display: "flex",
|
|
37
|
+
},
|
|
38
|
+
"& .icon": {
|
|
39
|
+
position: "relative",
|
|
40
|
+
top: "4px",
|
|
41
|
+
zIndex: "1",
|
|
42
|
+
color: "var(--sl-color-primary-500)",
|
|
43
|
+
marginRight: "var(--sl-spacing-large)",
|
|
44
|
+
},
|
|
45
|
+
"& .reward": {
|
|
46
|
+
marginRight: "var(--sl-spacing-x-small)",
|
|
47
|
+
fontSize: "var(--sl-font-size-x-large)",
|
|
48
|
+
fontWeight: "var(--sl-font-weight-semibold)",
|
|
49
|
+
},
|
|
50
|
+
"& .unit": {
|
|
51
|
+
textTransform: "uppercase",
|
|
52
|
+
fontSize: "var(--sl-font-size-small)",
|
|
53
|
+
},
|
|
54
|
+
"& .description": {
|
|
55
|
+
fontSize: "var(--sl-font-size-medium)",
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
const sheet = createStyleSheet(style);
|
|
60
|
+
const styleString = sheet.toString();
|
|
61
61
|
return (h("div", { class: sheet.classes.TimelineReward, part: "sqm-base" },
|
|
62
62
|
h("style", { type: "text/css" },
|
|
63
63
|
styleString,
|
|
@@ -20,12 +20,65 @@ export class TimelineReward {
|
|
|
20
20
|
}
|
|
21
21
|
disconnectedCallback() { }
|
|
22
22
|
render() {
|
|
23
|
+
console.log({ ...getProps(this) });
|
|
23
24
|
useRequestRerender([this.reward]);
|
|
24
25
|
return h(TimelineEntryView, Object.assign({}, getProps(this)));
|
|
25
26
|
}
|
|
26
27
|
static get is() { return "sqm-timeline-entry"; }
|
|
27
28
|
static get encapsulation() { return "shadow"; }
|
|
28
29
|
static get properties() { return {
|
|
30
|
+
"textColor": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"mutable": false,
|
|
33
|
+
"complexType": {
|
|
34
|
+
"original": "string",
|
|
35
|
+
"resolved": "string",
|
|
36
|
+
"references": {}
|
|
37
|
+
},
|
|
38
|
+
"required": false,
|
|
39
|
+
"optional": true,
|
|
40
|
+
"docs": {
|
|
41
|
+
"tags": [{
|
|
42
|
+
"text": "Text color",
|
|
43
|
+
"name": "uiName"
|
|
44
|
+
}, {
|
|
45
|
+
"text": "color",
|
|
46
|
+
"name": "uiWidget"
|
|
47
|
+
}, {
|
|
48
|
+
"text": "color",
|
|
49
|
+
"name": "format"
|
|
50
|
+
}],
|
|
51
|
+
"text": "Color of the text and copy icon"
|
|
52
|
+
},
|
|
53
|
+
"attribute": "text-color",
|
|
54
|
+
"reflect": false
|
|
55
|
+
},
|
|
56
|
+
"lineColor": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"mutable": false,
|
|
59
|
+
"complexType": {
|
|
60
|
+
"original": "string",
|
|
61
|
+
"resolved": "string",
|
|
62
|
+
"references": {}
|
|
63
|
+
},
|
|
64
|
+
"required": false,
|
|
65
|
+
"optional": true,
|
|
66
|
+
"docs": {
|
|
67
|
+
"tags": [{
|
|
68
|
+
"text": "Line color",
|
|
69
|
+
"name": "uiName"
|
|
70
|
+
}, {
|
|
71
|
+
"text": "color",
|
|
72
|
+
"name": "uiWidget"
|
|
73
|
+
}, {
|
|
74
|
+
"text": "color",
|
|
75
|
+
"name": "format"
|
|
76
|
+
}],
|
|
77
|
+
"text": "Color of timeline"
|
|
78
|
+
},
|
|
79
|
+
"attribute": "line-color",
|
|
80
|
+
"reflect": false
|
|
81
|
+
},
|
|
29
82
|
"reward": {
|
|
30
83
|
"type": "string",
|
|
31
84
|
"mutable": false,
|
|
@@ -3,10 +3,12 @@ import { Component, h, Prop, State } from "@stencil/core";
|
|
|
3
3
|
import { useChildElements } from "../../tables/useChildElements";
|
|
4
4
|
/**
|
|
5
5
|
* @uiName Program Timeline
|
|
6
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero","sqm-tab","sqb-program-section","sqb-conditional-section"]
|
|
7
|
+
* @validChildren ["sqm-timeline-entry"]
|
|
6
8
|
* @slots [{"name":"","title":"Timeline","validChildren":["sqm-timeline-entry"]}]
|
|
7
9
|
* @exampleGroup Common Components
|
|
8
10
|
* @example Program Timeline - <sqm-timeline icon="circle"> <sqm-timeline-entry reward="$50" unit="visa giftcard" desc="You refer a friend" icon="circle" > </sqm-timeline-entry> <sqm-timeline-entry reward="$200" unit="visa giftcard" desc="Our sales team qualifies your friend as a good fit for our Enterprise plan" icon="circle" > </sqm-timeline-entry> <sqm-timeline-entry reward="$1000" unit="visa giftcard" desc="Your friend purchases an Enterprise plan" icon="circle" > </sqm-timeline-entry></sqm-timeline>
|
|
9
|
-
*/
|
|
11
|
+
*/
|
|
10
12
|
export class Timeline {
|
|
11
13
|
constructor() {
|
|
12
14
|
this.ignored = true;
|
|
@@ -4,6 +4,8 @@ import { getProps } from "../../utils/utils";
|
|
|
4
4
|
import { PortalSectionView } from "./sqm-portal-section-view";
|
|
5
5
|
/**
|
|
6
6
|
* @uiName Titled Section
|
|
7
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero","sqm-tab"]
|
|
8
|
+
* @validChildren ["div","sqm-portal-container","p","sqm-timeline","h1","h2","h3","h5","h4","sqm-qr-code","sqm-referral-code","sqm-referral-codes","sqm-share-code","sqm-share-link","sqm-text","span"]
|
|
7
9
|
* @slots [{"name":"label", "title":"Label"},{"name":"content", "title":"Content"}]
|
|
8
10
|
* @exampleGroup Layout
|
|
9
11
|
* @example Titled Section - <sqm-titled-section text-align="center" label-margin="small" padding="none"><div slot="label"><h2>Section Label</h2></div><div slot="content"><p>Add your section content here!</p></div></sqm-titled-section>
|
package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js
CHANGED
|
@@ -43,11 +43,6 @@ const style = {
|
|
|
43
43
|
DescriptionText: {
|
|
44
44
|
color: "var(--sl-color-neutral-500)",
|
|
45
45
|
},
|
|
46
|
-
SecondaryBtn: {
|
|
47
|
-
"&::part(base)": {
|
|
48
|
-
color: "var(--sl-color-gray-800) !important",
|
|
49
|
-
},
|
|
50
|
-
},
|
|
51
46
|
AlertContainer: {
|
|
52
47
|
"&::part(base)": {
|
|
53
48
|
backgroundColor: "var(--sl-color-red-100)",
|
|
@@ -160,12 +155,6 @@ const vanillaStyle = `
|
|
|
160
155
|
font-weight: 600
|
|
161
156
|
}
|
|
162
157
|
|
|
163
|
-
p {
|
|
164
|
-
line-height: 18px;
|
|
165
|
-
color: var(--sl-color-gray-800);
|
|
166
|
-
font-size: var(--sl-font-size-small);
|
|
167
|
-
}
|
|
168
|
-
|
|
169
158
|
/* this class is dynamically applied in controller */
|
|
170
159
|
.error-input::part(base) {
|
|
171
160
|
border: 1px solid var(--sl-color-danger-500);
|
|
@@ -271,5 +260,5 @@ export const BankingInfoFormView = (props) => {
|
|
|
271
260
|
: slots.paymentFixedDaySelectSlot))))),
|
|
272
261
|
h("div", { class: classes.BtnContainer },
|
|
273
262
|
h("sl-button", { type: "primary", disabled: states.disabled || states.saveDisabled, loading: states.saveLoading, submit: true, exportparts: "base: primarybutton-base" }, text.continueButton),
|
|
274
|
-
!states.hideBackButton && (h("sl-button", { exportparts: "base: secondarybutton-base",
|
|
263
|
+
!states.hideBackButton && (h("sl-button", { exportparts: "base: secondarybutton-base", type: "text", onClick: callbacks.onBack }, text.backButton))))));
|
|
275
264
|
};
|