@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
|
@@ -7,6 +7,7 @@ import { CouponCodeView } from "./sqm-coupon-code-view";
|
|
|
7
7
|
import { useCouponCode } from "./useCouponCode";
|
|
8
8
|
/**
|
|
9
9
|
* @uiName Coupon Code
|
|
10
|
+
* @validParents ["sqm-brand","sqm-portal-container","div","sqm-popup-container","sqm-hero","sqm-referral-card","sqm-titled-section", "sqb-program-section", "sqb-conditional-section"]
|
|
10
11
|
* @compatibility Built for instant access
|
|
11
12
|
* @exampleGroup Instant Access
|
|
12
13
|
* @example Coupon Code - <sqm-coupon-code tooltip-text="Copied to Clipboard" tooltip-lifespan="1000"></sqm-coupon-code>
|
|
@@ -30,6 +31,7 @@ export class CouponCode {
|
|
|
30
31
|
* @uiType string
|
|
31
32
|
* @uiEnum ["left", "center", "right"]
|
|
32
33
|
* @uiEnumNames ["Left", "Center", "Right"]
|
|
34
|
+
* @uiGroup Style
|
|
33
35
|
*/
|
|
34
36
|
this.textAlign = "left";
|
|
35
37
|
/**
|
|
@@ -43,6 +45,7 @@ export class CouponCode {
|
|
|
43
45
|
* @uiType string
|
|
44
46
|
* @uiEnum ["icon", "button-outside", "button-below"]
|
|
45
47
|
* @uiEnumNames ["Icon", "Button outside", "Button below"]
|
|
48
|
+
* @uiGroup Style
|
|
46
49
|
*/
|
|
47
50
|
this.buttonStyle = "icon";
|
|
48
51
|
/**
|
|
@@ -104,6 +107,15 @@ export class CouponCode {
|
|
|
104
107
|
* @uiGroup Coupon code error
|
|
105
108
|
*/
|
|
106
109
|
this.couponCodePlaceholder = "...";
|
|
110
|
+
/**
|
|
111
|
+
* The type of the button (primary or secondary) that will be used to copy the link.
|
|
112
|
+
* @uiName Button Type
|
|
113
|
+
* @uiType string
|
|
114
|
+
* @uiEnum ["primary", "secondary"]
|
|
115
|
+
* @uiEnumNames ["Primary", "Secondary"]
|
|
116
|
+
* @uiGroup Style
|
|
117
|
+
*/
|
|
118
|
+
this.buttonType = "primary";
|
|
107
119
|
withHooks(this);
|
|
108
120
|
}
|
|
109
121
|
disconnectedCallback() { }
|
|
@@ -205,6 +217,9 @@ export class CouponCode {
|
|
|
205
217
|
}, {
|
|
206
218
|
"text": "[\"Left\", \"Center\", \"Right\"]",
|
|
207
219
|
"name": "uiEnumNames"
|
|
220
|
+
}, {
|
|
221
|
+
"text": "Style",
|
|
222
|
+
"name": "uiGroup"
|
|
208
223
|
}],
|
|
209
224
|
"text": ""
|
|
210
225
|
},
|
|
@@ -256,6 +271,9 @@ export class CouponCode {
|
|
|
256
271
|
}, {
|
|
257
272
|
"text": "[\"Icon\", \"Button outside\", \"Button below\"]",
|
|
258
273
|
"name": "uiEnumNames"
|
|
274
|
+
}, {
|
|
275
|
+
"text": "Style",
|
|
276
|
+
"name": "uiGroup"
|
|
259
277
|
}],
|
|
260
278
|
"text": "Set the copy button style and placement."
|
|
261
279
|
},
|
|
@@ -470,12 +488,158 @@ export class CouponCode {
|
|
|
470
488
|
"reflect": false,
|
|
471
489
|
"defaultValue": "\"...\""
|
|
472
490
|
},
|
|
491
|
+
"borderColor": {
|
|
492
|
+
"type": "string",
|
|
493
|
+
"mutable": false,
|
|
494
|
+
"complexType": {
|
|
495
|
+
"original": "string",
|
|
496
|
+
"resolved": "string",
|
|
497
|
+
"references": {}
|
|
498
|
+
},
|
|
499
|
+
"required": false,
|
|
500
|
+
"optional": true,
|
|
501
|
+
"docs": {
|
|
502
|
+
"tags": [{
|
|
503
|
+
"text": "Border color",
|
|
504
|
+
"name": "uiName"
|
|
505
|
+
}, {
|
|
506
|
+
"text": "color",
|
|
507
|
+
"name": "uiWidget"
|
|
508
|
+
}, {
|
|
509
|
+
"text": "color",
|
|
510
|
+
"name": "format"
|
|
511
|
+
}, {
|
|
512
|
+
"text": "Style",
|
|
513
|
+
"name": "uiGroup"
|
|
514
|
+
}],
|
|
515
|
+
"text": "Border color of share link container (default is set to 1px solid transparent)"
|
|
516
|
+
},
|
|
517
|
+
"attribute": "border-color",
|
|
518
|
+
"reflect": false
|
|
519
|
+
},
|
|
520
|
+
"textColor": {
|
|
521
|
+
"type": "string",
|
|
522
|
+
"mutable": false,
|
|
523
|
+
"complexType": {
|
|
524
|
+
"original": "string",
|
|
525
|
+
"resolved": "string",
|
|
526
|
+
"references": {}
|
|
527
|
+
},
|
|
528
|
+
"required": false,
|
|
529
|
+
"optional": true,
|
|
530
|
+
"docs": {
|
|
531
|
+
"tags": [{
|
|
532
|
+
"text": "Text color",
|
|
533
|
+
"name": "uiName"
|
|
534
|
+
}, {
|
|
535
|
+
"text": "color",
|
|
536
|
+
"name": "uiWidget"
|
|
537
|
+
}, {
|
|
538
|
+
"text": "color",
|
|
539
|
+
"name": "format"
|
|
540
|
+
}, {
|
|
541
|
+
"text": "Style",
|
|
542
|
+
"name": "uiGroup"
|
|
543
|
+
}],
|
|
544
|
+
"text": "Color of the text and copy icon"
|
|
545
|
+
},
|
|
546
|
+
"attribute": "text-color",
|
|
547
|
+
"reflect": false
|
|
548
|
+
},
|
|
549
|
+
"borderRadius": {
|
|
550
|
+
"type": "string",
|
|
551
|
+
"mutable": false,
|
|
552
|
+
"complexType": {
|
|
553
|
+
"original": "string",
|
|
554
|
+
"resolved": "string",
|
|
555
|
+
"references": {}
|
|
556
|
+
},
|
|
557
|
+
"required": false,
|
|
558
|
+
"optional": true,
|
|
559
|
+
"docs": {
|
|
560
|
+
"tags": [{
|
|
561
|
+
"text": "Border Radius",
|
|
562
|
+
"name": "uiName"
|
|
563
|
+
}, {
|
|
564
|
+
"text": "number",
|
|
565
|
+
"name": "uiType"
|
|
566
|
+
}, {
|
|
567
|
+
"text": "Style",
|
|
568
|
+
"name": "uiGroup"
|
|
569
|
+
}],
|
|
570
|
+
"text": "The border radius on the share link container (in pixels)"
|
|
571
|
+
},
|
|
572
|
+
"attribute": "border-radius",
|
|
573
|
+
"reflect": false
|
|
574
|
+
},
|
|
575
|
+
"buttonType": {
|
|
576
|
+
"type": "string",
|
|
577
|
+
"mutable": false,
|
|
578
|
+
"complexType": {
|
|
579
|
+
"original": "\"primary\" | \"secondary\"",
|
|
580
|
+
"resolved": "\"primary\" | \"secondary\"",
|
|
581
|
+
"references": {}
|
|
582
|
+
},
|
|
583
|
+
"required": false,
|
|
584
|
+
"optional": true,
|
|
585
|
+
"docs": {
|
|
586
|
+
"tags": [{
|
|
587
|
+
"text": "Button Type",
|
|
588
|
+
"name": "uiName"
|
|
589
|
+
}, {
|
|
590
|
+
"text": "string",
|
|
591
|
+
"name": "uiType"
|
|
592
|
+
}, {
|
|
593
|
+
"text": "[\"primary\", \"secondary\"]",
|
|
594
|
+
"name": "uiEnum"
|
|
595
|
+
}, {
|
|
596
|
+
"text": "[\"Primary\", \"Secondary\"]",
|
|
597
|
+
"name": "uiEnumNames"
|
|
598
|
+
}, {
|
|
599
|
+
"text": "Style",
|
|
600
|
+
"name": "uiGroup"
|
|
601
|
+
}],
|
|
602
|
+
"text": "The type of the button (primary or secondary) that will be used to copy the link."
|
|
603
|
+
},
|
|
604
|
+
"attribute": "button-type",
|
|
605
|
+
"reflect": false,
|
|
606
|
+
"defaultValue": "\"primary\""
|
|
607
|
+
},
|
|
608
|
+
"backgroundColor": {
|
|
609
|
+
"type": "string",
|
|
610
|
+
"mutable": false,
|
|
611
|
+
"complexType": {
|
|
612
|
+
"original": "string",
|
|
613
|
+
"resolved": "string",
|
|
614
|
+
"references": {}
|
|
615
|
+
},
|
|
616
|
+
"required": false,
|
|
617
|
+
"optional": true,
|
|
618
|
+
"docs": {
|
|
619
|
+
"tags": [{
|
|
620
|
+
"text": "Background color",
|
|
621
|
+
"name": "uiName"
|
|
622
|
+
}, {
|
|
623
|
+
"text": "color",
|
|
624
|
+
"name": "uiWidget"
|
|
625
|
+
}, {
|
|
626
|
+
"text": "color",
|
|
627
|
+
"name": "format"
|
|
628
|
+
}, {
|
|
629
|
+
"text": "Style",
|
|
630
|
+
"name": "uiGroup"
|
|
631
|
+
}],
|
|
632
|
+
"text": "Background color of share link container"
|
|
633
|
+
},
|
|
634
|
+
"attribute": "background-color",
|
|
635
|
+
"reflect": false
|
|
636
|
+
},
|
|
473
637
|
"demoData": {
|
|
474
638
|
"type": "unknown",
|
|
475
639
|
"mutable": false,
|
|
476
640
|
"complexType": {
|
|
477
641
|
"original": "DemoData<CouponCodeViewProps>",
|
|
478
|
-
"resolved": "{ loading?: boolean; errorType?: \"error\" | \"warning\" | \"info\" | \"success\"; couponCodeLabel?: string; copyString?: string; tooltiptext?: string; open?: boolean; copyButtonLabel?: string; disabled?: boolean; textAlign?: \"left\" | \"right\" | \"center\"; buttonStyle?: \"icon\" | \"button-outside\" | \"button-below\"; error?: boolean; errorText?: string; notificationText?: string; showNotificationText?: boolean; inputPlaceholderText?: string; dateAvailable?: string; isCopied?: boolean; onClick?: () => void; }",
|
|
642
|
+
"resolved": "{ loading?: boolean; textColor?: string; errorType?: \"error\" | \"warning\" | \"info\" | \"success\"; couponCodeLabel?: string; copyString?: string; tooltiptext?: string; open?: boolean; copyButtonLabel?: string; disabled?: boolean; textAlign?: \"left\" | \"right\" | \"center\"; buttonStyle?: \"icon\" | \"button-outside\" | \"button-below\"; error?: boolean; errorText?: string; notificationText?: string; showNotificationText?: boolean; inputPlaceholderText?: string; dateAvailable?: string; isCopied?: boolean; backgroundColor?: string; borderRadius?: string; buttonType?: \"primary\" | \"secondary\"; borderColor?: string; onClick?: () => void; }",
|
|
479
643
|
"references": {
|
|
480
644
|
"DemoData": {
|
|
481
645
|
"location": "import",
|
|
@@ -514,6 +678,11 @@ function useDemoCouponCode(props) {
|
|
|
514
678
|
error: false,
|
|
515
679
|
couponCodePlaceholder: props.couponCodePlaceholder,
|
|
516
680
|
couponCodeLabel: props.couponCodeLabel,
|
|
681
|
+
borderColor: props.borderColor,
|
|
682
|
+
backgroundColor: props.backgroundColor,
|
|
683
|
+
textColor: props.textColor,
|
|
684
|
+
borderRadius: props.borderRadius,
|
|
685
|
+
buttonType: props.buttonType,
|
|
517
686
|
open,
|
|
518
687
|
onClick: () => {
|
|
519
688
|
// Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
|
|
@@ -3,14 +3,23 @@ import { createStyleSheet } from "../../styling/JSS";
|
|
|
3
3
|
export function DividedLayoutView(props, children) {
|
|
4
4
|
const getBorder = () => {
|
|
5
5
|
if (props.direction === "row") {
|
|
6
|
-
return {
|
|
6
|
+
return {
|
|
7
|
+
"border-right": props.borderless
|
|
8
|
+
? "none"
|
|
9
|
+
: `1px solid ${props.borderColor || "var(--sqm-text)"}`,
|
|
10
|
+
};
|
|
7
11
|
}
|
|
8
12
|
else {
|
|
9
|
-
return {
|
|
13
|
+
return {
|
|
14
|
+
"border-bottom": props.borderless
|
|
15
|
+
? "none"
|
|
16
|
+
: `1px solid ${props.borderColor || "var(--sqm-text)"}`,
|
|
17
|
+
};
|
|
10
18
|
}
|
|
11
19
|
};
|
|
12
20
|
const style = {
|
|
13
21
|
LayoutContainer: {
|
|
22
|
+
background: props.backgroundColor,
|
|
14
23
|
display: "contents",
|
|
15
24
|
// First style applies when shadow DOM is disabled, second applies when shadow DOM is enabled
|
|
16
25
|
"& > :not(:last-child)": {
|
|
@@ -26,11 +35,10 @@ export function DividedLayoutView(props, children) {
|
|
|
26
35
|
flex: 1;
|
|
27
36
|
box-sizing: border-box;
|
|
28
37
|
flex-direction: ${props.direction};
|
|
29
|
-
background-color: var(--sqm-
|
|
38
|
+
background-color: var(--sqm-portal-background);
|
|
39
|
+
color: var(--sqm-text);
|
|
30
40
|
overflow-x: clip;
|
|
31
|
-
${props.direction === "column"
|
|
32
|
-
? "width: 100%; max-width: var(--sqm-portal-main-width);"
|
|
33
|
-
: ""}
|
|
41
|
+
${props.direction === "column" ? "width: 100%; max-width: 100%" : ""}
|
|
34
42
|
${props.contentAreaWidth !== null
|
|
35
43
|
? `max-width: ${props.contentAreaWidth} !important;`
|
|
36
44
|
: ""}
|
|
@@ -7,15 +7,24 @@ import { getProps } from "../../utils/utils";
|
|
|
7
7
|
* Spacing is left up to the child
|
|
8
8
|
*
|
|
9
9
|
* @uiName Divided Layout
|
|
10
|
+
* @validParents ["sqm-brand","sqm-portal-container","div","sqm-popup-container","sqm-hero","sqm-referral-card","sqm-titled-section","sqb-program-section","sqb-conditional-section"]
|
|
11
|
+
* @exampleGroup Layout
|
|
10
12
|
* @slots [{"name":"", "title":"Layout Content"}]
|
|
11
13
|
*/
|
|
12
14
|
export class DividedLayout {
|
|
13
15
|
constructor() {
|
|
14
16
|
/**
|
|
17
|
+
* @undocumented
|
|
15
18
|
* Uses Shorthand CSS border syntax allowing specification of thickness, fill style and color.
|
|
16
19
|
* @uiName Border style
|
|
17
20
|
*/
|
|
18
21
|
this.dividerStyle = "1px solid #EAEAEA";
|
|
22
|
+
/**
|
|
23
|
+
* Background color of the divider
|
|
24
|
+
* @uiName Divider Background Color
|
|
25
|
+
* @uiWidget color
|
|
26
|
+
*/
|
|
27
|
+
this.backgroundColor = "#FFFFFF";
|
|
19
28
|
withHooks(this);
|
|
20
29
|
}
|
|
21
30
|
disconnectedCallback() { }
|
|
@@ -90,14 +99,64 @@ export class DividedLayout {
|
|
|
90
99
|
"optional": false,
|
|
91
100
|
"docs": {
|
|
92
101
|
"tags": [{
|
|
102
|
+
"text": "Uses Shorthand CSS border syntax allowing specification of thickness, fill style and color.",
|
|
103
|
+
"name": "undocumented"
|
|
104
|
+
}, {
|
|
93
105
|
"text": "Border style",
|
|
94
106
|
"name": "uiName"
|
|
95
107
|
}],
|
|
96
|
-
"text": "
|
|
108
|
+
"text": ""
|
|
97
109
|
},
|
|
98
110
|
"attribute": "divider-style",
|
|
99
111
|
"reflect": false,
|
|
100
112
|
"defaultValue": "\"1px solid #EAEAEA\""
|
|
113
|
+
},
|
|
114
|
+
"backgroundColor": {
|
|
115
|
+
"type": "string",
|
|
116
|
+
"mutable": false,
|
|
117
|
+
"complexType": {
|
|
118
|
+
"original": "string",
|
|
119
|
+
"resolved": "string",
|
|
120
|
+
"references": {}
|
|
121
|
+
},
|
|
122
|
+
"required": false,
|
|
123
|
+
"optional": true,
|
|
124
|
+
"docs": {
|
|
125
|
+
"tags": [{
|
|
126
|
+
"text": "Divider Background Color",
|
|
127
|
+
"name": "uiName"
|
|
128
|
+
}, {
|
|
129
|
+
"text": "color",
|
|
130
|
+
"name": "uiWidget"
|
|
131
|
+
}],
|
|
132
|
+
"text": "Background color of the divider"
|
|
133
|
+
},
|
|
134
|
+
"attribute": "background-color",
|
|
135
|
+
"reflect": false,
|
|
136
|
+
"defaultValue": "\"#FFFFFF\""
|
|
137
|
+
},
|
|
138
|
+
"borderColor": {
|
|
139
|
+
"type": "string",
|
|
140
|
+
"mutable": false,
|
|
141
|
+
"complexType": {
|
|
142
|
+
"original": "string",
|
|
143
|
+
"resolved": "string",
|
|
144
|
+
"references": {}
|
|
145
|
+
},
|
|
146
|
+
"required": false,
|
|
147
|
+
"optional": true,
|
|
148
|
+
"docs": {
|
|
149
|
+
"tags": [{
|
|
150
|
+
"text": "Divider Background Color",
|
|
151
|
+
"name": "uiName"
|
|
152
|
+
}, {
|
|
153
|
+
"text": "color",
|
|
154
|
+
"name": "uiWidget"
|
|
155
|
+
}],
|
|
156
|
+
"text": "Color of the divider (defaults to default text color if none is set)"
|
|
157
|
+
},
|
|
158
|
+
"attribute": "border-color",
|
|
159
|
+
"reflect": false
|
|
101
160
|
}
|
|
102
161
|
}; }
|
|
103
162
|
}
|
|
@@ -32,7 +32,7 @@ const EditProfileView = (props) => {
|
|
|
32
32
|
}, submit: true, exportparts: "base: primarybutton-base" }, text.updatetext),
|
|
33
33
|
h("sl-button", { onClick: () => {
|
|
34
34
|
callbacks.setShowEdit(false);
|
|
35
|
-
}, exportparts: "base:
|
|
35
|
+
}, exportparts: "base: secondarybutton-base" }, text.canceltext)))));
|
|
36
36
|
}
|
|
37
37
|
return (h("div", { class: `CardWrapper FormWrapper ${!states.showEdit && "ShowEdit"}`, part: "sqm-base" },
|
|
38
38
|
h("div", { class: "FormSection" },
|
|
@@ -8,7 +8,7 @@ export function EmptyStateView(props) {
|
|
|
8
8
|
h("sqm-text", { slot: "label" },
|
|
9
9
|
h("p", { part: "header-text" }, emptyStateHeader)),
|
|
10
10
|
h("sqm-text", { slot: "content" },
|
|
11
|
-
h("p", { part: "description-text"
|
|
11
|
+
h("p", { part: "description-text" }, intl.formatMessage({
|
|
12
12
|
id: "emptyStateText",
|
|
13
13
|
defaultMessage: emptyStateText,
|
|
14
14
|
}, {
|
|
@@ -23,7 +23,7 @@ export const FullStackSuccess = () => {
|
|
|
23
23
|
h("div", { class: "AlertContent" },
|
|
24
24
|
h("div", { part: "successalert-text" }, "Title"),
|
|
25
25
|
h("div", { part: "successalert-subtext" }, "Body text."),
|
|
26
|
-
h("sl-button", { type: "
|
|
26
|
+
h("sl-button", { type: "primary", exportparts: "base: primarybutton-base", onClick: () => {
|
|
27
27
|
console.log("click");
|
|
28
28
|
} }, "Primary Action"),
|
|
29
29
|
h("sl-button", { class: "SecondaryTextButton", type: "text", onClick: () => {
|
|
@@ -4,6 +4,7 @@ import { HeroView } from "./sqm-hero-view";
|
|
|
4
4
|
import { getProps } from "../../utils/utils";
|
|
5
5
|
/**
|
|
6
6
|
* @uiName Hero Layout
|
|
7
|
+
* @validParents ["sqm-portal-container","sqm-brand","div"]
|
|
7
8
|
* @slots [{"name":"","title":"Primary Column Content"},{"name":"secondary-column","title":"Secondary Column Content"}]
|
|
8
9
|
* @example Two Column Hero Layout - <sqm-hero background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80" min-height="0" columns="2" padding-size="large" wrap-direction="wrap" secondary-background="lightgrey"><h1>Primary Column Content</h1><h1 slot="secondary-column">Secondary Column Content</h1></sqm-hero>
|
|
9
10
|
* @exampleGroup Layout
|
|
@@ -38,7 +38,7 @@ export function HeroImageView(props, children) {
|
|
|
38
38
|
props.paddingImage +
|
|
39
39
|
"))",
|
|
40
40
|
textAlign: "center",
|
|
41
|
-
color: props.textColor || "var(--
|
|
41
|
+
color: props.textColor || "var(--sqm-text)",
|
|
42
42
|
lineHeight: "var(--sl-line-height-dense)",
|
|
43
43
|
"@media (max-width: 599px)": {
|
|
44
44
|
padding: "var(--sl-spacing-" + props.paddingText + ")",
|
|
@@ -49,7 +49,7 @@ export function HeroImageView(props, children) {
|
|
|
49
49
|
background: props.backgroundColor || "",
|
|
50
50
|
flexDirection: props.imagePos === "right" ? "row-reverse" : "row",
|
|
51
51
|
lineHeight: "var(--sl-line-height-dense)",
|
|
52
|
-
color: props.textColor || "var(--
|
|
52
|
+
color: props.textColor || "var(--sqm-text)",
|
|
53
53
|
"& .image-area": {
|
|
54
54
|
width: props.imagePercentage ? props.imagePercentage + "%" : "50%",
|
|
55
55
|
padding: "var(--sl-spacing-" + props.paddingImage + ")",
|
|
@@ -119,7 +119,7 @@ export function HeroImageView(props, children) {
|
|
|
119
119
|
h("div", { class: sheet.classes.Overlay, part: "sqm-overlay" },
|
|
120
120
|
props.header && (h("div", { class: sheet.classes.Header }, props.header)),
|
|
121
121
|
props.description && (h("div", { class: sheet.classes.Description }, props.description)),
|
|
122
|
-
props.buttonText && (h("sl-button", { class: sheet.classes.Button, type: "primary", onClick: () => props.buttonNewTab
|
|
122
|
+
props.buttonText && (h("sl-button", { class: sheet.classes.Button, type: "primary", exportparts: `base: ${props.buttonType === "primary" ? "primary" : "secondary"}button-base`, onClick: () => props.buttonNewTab
|
|
123
123
|
? window.open(props.buttonLink)
|
|
124
124
|
: window.open(props.buttonLink, "_parent") }, props.buttonText)),
|
|
125
125
|
children && children)));
|
|
@@ -4,6 +4,7 @@ import { getProps } from "../../utils/utils";
|
|
|
4
4
|
import { HeroImageView } from "./sqm-hero-image-view";
|
|
5
5
|
/**
|
|
6
6
|
* @uiName Hero Image
|
|
7
|
+
* @validParents ["sqm-portal-container","sqm-brand", "div"]
|
|
7
8
|
* @exampleGroup Common Components
|
|
8
9
|
* @example Two Column Hero Image - <sqm-hero-image image-url="https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png" header="MyCompany Rewards" description="Refer a friend and earn up to $1200 in rewards" layout="columns" image-pos="right" background-color="#F9F9F9"></sqm-hero-image>
|
|
9
10
|
* @example Overlay Hero Image - <sqm-hero-image image-url="https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png" header="MyCompany Rewards" description="Refer a friend and earn up to $1200 in rewards" layout="overlay" image-pos="center" background-color="#F9F9F9" button-link="https://www.example.com" button-new-tab button-text="Earn!" image-percentage="45" overlay-opacity=".5" padding-image="small" padding-text="xxxx-large"></sqm-hero-image>
|
|
@@ -12,6 +13,7 @@ export class HeroImage {
|
|
|
12
13
|
constructor() {
|
|
13
14
|
/**
|
|
14
15
|
* @uiName Overlay opacity
|
|
16
|
+
* @uiGroup Style
|
|
15
17
|
*/
|
|
16
18
|
this.overlayOpacity = "0.75";
|
|
17
19
|
/**
|
|
@@ -19,11 +21,13 @@ export class HeroImage {
|
|
|
19
21
|
* @uiType string
|
|
20
22
|
* @uiEnum ["overlay", "columns"]
|
|
21
23
|
* @uiEnumNames ["Overlay", "Two-column"]
|
|
24
|
+
* @uiGroup Style
|
|
22
25
|
*/
|
|
23
26
|
this.layout = "overlay";
|
|
24
27
|
/**
|
|
25
28
|
* @uiName Image percentage
|
|
26
29
|
* @uiType number
|
|
30
|
+
* @uiGroup Style
|
|
27
31
|
*/
|
|
28
32
|
this.imagePercentage = 50;
|
|
29
33
|
/**
|
|
@@ -31,6 +35,7 @@ export class HeroImage {
|
|
|
31
35
|
* @uiType string
|
|
32
36
|
* @uiEnum ["left", "center", "right"]
|
|
33
37
|
* @uiEnumNames ["Left", "Center", "Right"]
|
|
38
|
+
* @uiGroup Style
|
|
34
39
|
*/
|
|
35
40
|
this.imagePos = "center";
|
|
36
41
|
/**
|
|
@@ -38,6 +43,7 @@ export class HeroImage {
|
|
|
38
43
|
* @uiType string
|
|
39
44
|
* @uiEnum ["top", "bottom"]
|
|
40
45
|
* @uiEnumNames ["Top", "Bottom"]
|
|
46
|
+
* @uiGroup Style
|
|
41
47
|
*/
|
|
42
48
|
this.imageMobilePos = "top";
|
|
43
49
|
/**
|
|
@@ -50,6 +56,7 @@ export class HeroImage {
|
|
|
50
56
|
* @uiType string
|
|
51
57
|
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
52
58
|
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
59
|
+
* @uiGroup Style
|
|
53
60
|
*/
|
|
54
61
|
this.paddingText = "xxxx-large";
|
|
55
62
|
/**
|
|
@@ -57,8 +64,18 @@ export class HeroImage {
|
|
|
57
64
|
* @uiType string
|
|
58
65
|
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
59
66
|
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
67
|
+
* @uiGroup Style
|
|
60
68
|
*/
|
|
61
69
|
this.paddingImage = "none";
|
|
70
|
+
/**
|
|
71
|
+
* The type of the button (primary or secondary) that will be used to copy the link.
|
|
72
|
+
* @uiName Button Type
|
|
73
|
+
* @uiType string
|
|
74
|
+
* @uiEnum ["primary", "secondary"]
|
|
75
|
+
* @uiEnumNames ["Primary", "Secondary"]
|
|
76
|
+
* @uiGroup Style
|
|
77
|
+
*/
|
|
78
|
+
this.buttonType = "primary";
|
|
62
79
|
withHooks(this);
|
|
63
80
|
}
|
|
64
81
|
disconnectedCallback() { }
|
|
@@ -115,6 +132,9 @@ export class HeroImage {
|
|
|
115
132
|
}, {
|
|
116
133
|
"text": "color",
|
|
117
134
|
"name": "format"
|
|
135
|
+
}, {
|
|
136
|
+
"text": "Style",
|
|
137
|
+
"name": "uiGroup"
|
|
118
138
|
}],
|
|
119
139
|
"text": ""
|
|
120
140
|
},
|
|
@@ -135,6 +155,9 @@ export class HeroImage {
|
|
|
135
155
|
"tags": [{
|
|
136
156
|
"text": "Overlay opacity",
|
|
137
157
|
"name": "uiName"
|
|
158
|
+
}, {
|
|
159
|
+
"text": "Style",
|
|
160
|
+
"name": "uiGroup"
|
|
138
161
|
}],
|
|
139
162
|
"text": ""
|
|
140
163
|
},
|
|
@@ -162,6 +185,9 @@ export class HeroImage {
|
|
|
162
185
|
}, {
|
|
163
186
|
"text": "color",
|
|
164
187
|
"name": "format"
|
|
188
|
+
}, {
|
|
189
|
+
"text": "Style",
|
|
190
|
+
"name": "uiGroup"
|
|
165
191
|
}],
|
|
166
192
|
"text": ""
|
|
167
193
|
},
|
|
@@ -188,6 +214,9 @@ export class HeroImage {
|
|
|
188
214
|
}, {
|
|
189
215
|
"text": "color",
|
|
190
216
|
"name": "format"
|
|
217
|
+
}, {
|
|
218
|
+
"text": "Style",
|
|
219
|
+
"name": "uiGroup"
|
|
191
220
|
}],
|
|
192
221
|
"text": ""
|
|
193
222
|
},
|
|
@@ -217,6 +246,9 @@ export class HeroImage {
|
|
|
217
246
|
}, {
|
|
218
247
|
"text": "[\"Overlay\", \"Two-column\"]",
|
|
219
248
|
"name": "uiEnumNames"
|
|
249
|
+
}, {
|
|
250
|
+
"text": "Style",
|
|
251
|
+
"name": "uiGroup"
|
|
220
252
|
}],
|
|
221
253
|
"text": ""
|
|
222
254
|
},
|
|
@@ -241,6 +273,9 @@ export class HeroImage {
|
|
|
241
273
|
}, {
|
|
242
274
|
"text": "number",
|
|
243
275
|
"name": "uiType"
|
|
276
|
+
}, {
|
|
277
|
+
"text": "Style",
|
|
278
|
+
"name": "uiGroup"
|
|
244
279
|
}],
|
|
245
280
|
"text": ""
|
|
246
281
|
},
|
|
@@ -271,6 +306,9 @@ export class HeroImage {
|
|
|
271
306
|
}, {
|
|
272
307
|
"text": "[\"Left\", \"Center\", \"Right\"]",
|
|
273
308
|
"name": "uiEnumNames"
|
|
309
|
+
}, {
|
|
310
|
+
"text": "Style",
|
|
311
|
+
"name": "uiGroup"
|
|
274
312
|
}],
|
|
275
313
|
"text": ""
|
|
276
314
|
},
|
|
@@ -301,6 +339,9 @@ export class HeroImage {
|
|
|
301
339
|
}, {
|
|
302
340
|
"text": "[\"Top\", \"Bottom\"]",
|
|
303
341
|
"name": "uiEnumNames"
|
|
342
|
+
}, {
|
|
343
|
+
"text": "Style",
|
|
344
|
+
"name": "uiGroup"
|
|
304
345
|
}],
|
|
305
346
|
"text": ""
|
|
306
347
|
},
|
|
@@ -443,6 +484,9 @@ export class HeroImage {
|
|
|
443
484
|
}, {
|
|
444
485
|
"text": "[\"None\", \"XXX-Small\", \"XX-Small\", \"X-Small\", \"Small\", \"Medium\", \"Large\", \"X-Large\", \"XX-Large\", \"XXX-Large\", \"XXXX-Large\"]",
|
|
445
486
|
"name": "uiEnumNames"
|
|
487
|
+
}, {
|
|
488
|
+
"text": "Style",
|
|
489
|
+
"name": "uiGroup"
|
|
446
490
|
}],
|
|
447
491
|
"text": ""
|
|
448
492
|
},
|
|
@@ -478,12 +522,48 @@ export class HeroImage {
|
|
|
478
522
|
}, {
|
|
479
523
|
"text": "[\"None\", \"XXX-Small\", \"XX-Small\", \"X-Small\", \"Small\", \"Medium\", \"Large\", \"X-Large\", \"XX-Large\", \"XXX-Large\", \"XXXX-Large\"]",
|
|
480
524
|
"name": "uiEnumNames"
|
|
525
|
+
}, {
|
|
526
|
+
"text": "Style",
|
|
527
|
+
"name": "uiGroup"
|
|
481
528
|
}],
|
|
482
529
|
"text": ""
|
|
483
530
|
},
|
|
484
531
|
"attribute": "padding-image",
|
|
485
532
|
"reflect": false,
|
|
486
533
|
"defaultValue": "\"none\""
|
|
534
|
+
},
|
|
535
|
+
"buttonType": {
|
|
536
|
+
"type": "string",
|
|
537
|
+
"mutable": false,
|
|
538
|
+
"complexType": {
|
|
539
|
+
"original": "\"primary\" | \"secondary\"",
|
|
540
|
+
"resolved": "\"primary\" | \"secondary\"",
|
|
541
|
+
"references": {}
|
|
542
|
+
},
|
|
543
|
+
"required": false,
|
|
544
|
+
"optional": true,
|
|
545
|
+
"docs": {
|
|
546
|
+
"tags": [{
|
|
547
|
+
"text": "Button Type",
|
|
548
|
+
"name": "uiName"
|
|
549
|
+
}, {
|
|
550
|
+
"text": "string",
|
|
551
|
+
"name": "uiType"
|
|
552
|
+
}, {
|
|
553
|
+
"text": "[\"primary\", \"secondary\"]",
|
|
554
|
+
"name": "uiEnum"
|
|
555
|
+
}, {
|
|
556
|
+
"text": "[\"Primary\", \"Secondary\"]",
|
|
557
|
+
"name": "uiEnumNames"
|
|
558
|
+
}, {
|
|
559
|
+
"text": "Style",
|
|
560
|
+
"name": "uiGroup"
|
|
561
|
+
}],
|
|
562
|
+
"text": "The type of the button (primary or secondary) that will be used to copy the link."
|
|
563
|
+
},
|
|
564
|
+
"attribute": "button-type",
|
|
565
|
+
"reflect": false,
|
|
566
|
+
"defaultValue": "\"primary\""
|
|
487
567
|
}
|
|
488
568
|
}; }
|
|
489
569
|
}
|
|
@@ -3,6 +3,7 @@ import { getProps } from "../../utils/utils";
|
|
|
3
3
|
import { ImageView } from "./sqm-image-view";
|
|
4
4
|
/**
|
|
5
5
|
* @uiName Image
|
|
6
|
+
* @validParents ["sqm-brand","div","sqm-portal-container","sqm-divided-layout","sqm-titled-section", "sqb-program-section", "sqb-conditional-section"]
|
|
6
7
|
* @exampleGroup Common Components
|
|
7
8
|
* @example Image - <sqm-image image-url="https://res.cloudinary.com/saasquatch/image/upload/v1644000259/squatch-assets/tn47wOj.png" alignment="center"></sqm-image>
|
|
8
9
|
*/
|
|
@@ -6,6 +6,7 @@ import { EmailRegistrationView, } from "../views/email-registration-view";
|
|
|
6
6
|
import { useInstantAccessRegistration } from "./useInstantAccessRegistration";
|
|
7
7
|
/**
|
|
8
8
|
* @uiName Instant Access Registration
|
|
9
|
+
* @validParents ["sqm-portal-container","div","sqm-hero","template", "sqb-program-section", "sqb-conditional-section"]
|
|
9
10
|
* @compatibility Built for instant access
|
|
10
11
|
* @exampleGroup Instant Access
|
|
11
12
|
* @example Instant Access Registration - <sqm-instant-access-registration></sqm-instant-access-registration>
|