@saasquatch/mint-components 1.5.0-113 → 1.5.0-117
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/CHANGELOG.md +82 -15
- package/dist/cjs/{GenericTableView-f947b749.js → GenericTableView-ed381b89.js} +7 -6
- package/dist/cjs/{ShadowViewAddon-79dd6c07.js → ShadowViewAddon-60ca6e6c.js} +242 -179
- package/dist/cjs/{global-633d1fb7.js → global-13123238.js} +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/mint-components.cjs.js +2 -2
- package/dist/cjs/{sqm-big-stat_30.cjs.entry.js → sqm-big-stat_31.cjs.entry.js} +198 -154
- package/dist/cjs/sqm-empty_5.cjs.entry.js +3 -2
- package/dist/cjs/{sqm-hero-view-a13795c0.js → sqm-hero-view-3b0d45d0.js} +1 -0
- package/dist/cjs/sqm-hero.cjs.entry.js +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-container-view-d101032e.js → sqm-portal-container-view-5ea913a8.js} +2 -1
- package/dist/cjs/{sqm-portal-email-verification-view-c32a55d6.js → sqm-portal-email-verification-view-535ae80c.js} +2 -2
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-footer-view-cac67bc9.js → sqm-portal-footer-view-3c62d7a6.js} +1 -1
- package/dist/cjs/sqm-portal-footer.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-forgot-password-view-10c0b54f.js → sqm-portal-forgot-password-view-02b046e1.js} +1 -1
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-profile-view-72c40619.js → sqm-portal-profile-view-12c9cd73.js} +3 -3
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-portal-reset-password-view-1fdc957e.js → sqm-portal-reset-password-view-20df8d45.js} +1 -1
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-section-view-186a5f7e.js → sqm-portal-section-view-f3c8475a.js} +1 -0
- package/dist/cjs/{sqm-portal-verify-email-view-4c78e231.js → sqm-portal-verify-email-view-1b07a1ba.js} +1 -1
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +27 -10
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +1 -1
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +37 -21
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +252 -115
- package/dist/cjs/sqm-text-span-view-c54af22c.js +59 -0
- package/dist/cjs/sqm-text-span.cjs.entry.js +1 -1
- package/dist/collection/components/sqm-big-stat/UseBigStat.stories.js +15 -3
- package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +1 -0
- package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +3 -3
- package/dist/collection/components/sqm-big-stat/useBigStat.js +1 -1
- package/dist/collection/components/sqm-card-feed/sqm-card-feed-view.js +1 -0
- package/dist/collection/components/sqm-hero/sqm-hero-view.js +1 -0
- package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +9 -2
- package/dist/collection/components/sqm-image/sqm-image-view.js +1 -0
- package/dist/collection/components/sqm-leaderboard/UseLeaderboard.stories.js +2 -2
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +0 -5
- package/dist/collection/components/sqm-portal-container/PortalContainer.stories.js +72 -0
- package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +2 -1
- package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +26 -0
- package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +40 -38
- package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe-view.js +1 -0
- package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +1 -1
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +0 -1
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +10 -1
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-status-column.js +5 -1
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +12 -10
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeListData.js +1 -1
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +1 -1
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +11 -9
- package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +10 -10
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.js +9 -25
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +7 -27
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +3 -0
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.js +1 -1
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +14 -9
- package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +7 -1
- package/dist/collection/components/sqm-scroll/Scroll.stories.js +14 -23
- package/dist/collection/components/sqm-scroll/sqm-scroll.js +102 -147
- package/dist/collection/components/sqm-share-button/ShareButton.stories.js +8 -8
- package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +29 -29
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +21 -21
- package/dist/collection/components/sqm-share-code/ShareCode.stories.js +2 -2
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +7 -7
- package/dist/collection/components/sqm-share-code/useShareCode.js +1 -1
- package/dist/collection/components/sqm-share-link/ShareLink.stories.js +3 -3
- package/dist/collection/components/sqm-share-link/UseShareLink.stories.js +3 -3
- package/dist/collection/components/sqm-share-link/sqm-share-link-view.js +1 -1
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +4 -4
- package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +1 -0
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +2 -0
- package/dist/collection/components/sqm-tabs/sqm-tabs.js +1 -1
- package/dist/collection/components/sqm-task-card/DetailsView.js +1 -1
- package/dist/collection/components/sqm-task-card/progress-bar/SVGs.js +7 -0
- package/dist/collection/components/sqm-task-card/progress-bar/progress-bar-view.js +52 -50
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +18 -10
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +3 -1
- package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +42 -42
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +77 -0
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +1 -80
- package/dist/collection/components/sqm-timeline/sqm-timeline.js +0 -18
- package/dist/collection/components/sqm-titled-section/sqm-portal-section-view.js +1 -0
- package/dist/collection/global/styles.js +1 -0
- package/dist/collection/global/styles.ts +1 -0
- package/dist/collection/stories/NewPortal.stories.js +2 -2
- package/dist/collection/stories/PortalTemplates.stories.js +0 -7
- package/dist/collection/stories/Widget.stories.js +49 -0
- package/dist/collection/tables/GenericTableView.js +7 -6
- package/dist/esm/{GenericTableView-6b7b537b.js → GenericTableView-6924630b.js} +7 -6
- package/dist/esm/{ShadowViewAddon-9c382e30.js → ShadowViewAddon-3347acdb.js} +242 -180
- package/dist/esm/{global-7d4eb5e5.js → global-9bff4920.js} +1 -0
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mint-components.js +2 -2
- package/dist/esm/{sqm-big-stat_30.entry.js → sqm-big-stat_31.entry.js} +199 -156
- package/dist/esm/sqm-empty_5.entry.js +3 -2
- package/dist/esm/{sqm-hero-view-5ea17052.js → sqm-hero-view-8e70916e.js} +1 -0
- package/dist/esm/sqm-hero.entry.js +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm/{sqm-portal-container-view-dea0cdcc.js → sqm-portal-container-view-46929235.js} +2 -1
- package/dist/esm/{sqm-portal-email-verification-view-86e3ff2e.js → sqm-portal-email-verification-view-1d7eca0a.js} +2 -2
- package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
- package/dist/esm/{sqm-portal-footer-view-d6a43c4d.js → sqm-portal-footer-view-df66904d.js} +1 -1
- package/dist/esm/sqm-portal-footer.entry.js +2 -2
- package/dist/esm/{sqm-portal-forgot-password-view-fa088f83.js → sqm-portal-forgot-password-view-6b99a1ad.js} +1 -1
- package/dist/esm/sqm-portal-forgot-password.entry.js +2 -2
- package/dist/esm/{sqm-portal-profile-view-c34e781b.js → sqm-portal-profile-view-b96b89a3.js} +3 -3
- package/dist/esm/sqm-portal-profile.entry.js +4 -4
- package/dist/esm/{sqm-portal-reset-password-view-73e14282.js → sqm-portal-reset-password-view-2c0da51c.js} +1 -1
- package/dist/esm/sqm-portal-reset-password.entry.js +2 -2
- package/dist/esm/{sqm-portal-section-view-88a80af9.js → sqm-portal-section-view-61dbb8a9.js} +1 -0
- package/dist/esm/{sqm-portal-verify-email-view-cbf1cfdc.js → sqm-portal-verify-email-view-0d005914.js} +1 -1
- package/dist/esm/sqm-portal-verify-email.entry.js +2 -2
- package/dist/esm/sqm-referral-table_11.entry.js +27 -10
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm/sqm-rewards-table_9.entry.js +37 -21
- package/dist/esm/sqm-stencilbook.entry.js +248 -111
- package/dist/esm/sqm-text-span-view-c8793d61.js +57 -0
- package/dist/esm/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/GenericTableView-6924630b.js +1 -0
- package/dist/esm-es5/ShadowViewAddon-3347acdb.js +1 -0
- package/dist/esm-es5/{global-7d4eb5e5.js → global-9bff4920.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-big-stat_31.entry.js +1 -0
- package/dist/esm-es5/sqm-empty_5.entry.js +1 -1
- package/dist/esm-es5/{sqm-hero-view-5ea17052.js → sqm-hero-view-8e70916e.js} +0 -0
- package/dist/esm-es5/sqm-hero.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-container-view-46929235.js +1 -0
- package/dist/esm-es5/{sqm-portal-email-verification-view-86e3ff2e.js → sqm-portal-email-verification-view-1d7eca0a.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-footer-view-d6a43c4d.js → sqm-portal-footer-view-df66904d.js} +1 -1
- package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-forgot-password-view-fa088f83.js → sqm-portal-forgot-password-view-6b99a1ad.js} +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-c34e781b.js → sqm-portal-profile-view-b96b89a3.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-73e14282.js → sqm-portal-reset-password-view-2c0da51c.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-section-view-88a80af9.js → sqm-portal-section-view-61dbb8a9.js} +0 -0
- package/dist/esm-es5/{sqm-portal-verify-email-view-cbf1cfdc.js → sqm-portal-verify-email-view-0d005914.js} +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.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/{mint-components/p-179988b5.js → esm-es5/sqm-text-span-view-c8793d61.js} +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/mint-components/global/styles.ts +1 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-e08f5f8e.js → p-00c0fd3c.js} +0 -0
- package/dist/mint-components/{p-49667de1.system.entry.js → p-07b18f4a.system.entry.js} +1 -1
- package/dist/mint-components/{p-f31a3a08.system.entry.js → p-099d949d.system.entry.js} +1 -1
- package/dist/mint-components/{p-ce0ec1c4.system.js → p-1830b02e.system.js} +1 -1
- package/dist/mint-components/p-1e57c649.entry.js +9 -0
- package/dist/mint-components/p-23a3e161.entry.js +1 -0
- package/dist/mint-components/{p-3dbd3303.entry.js → p-258dc62f.entry.js} +1 -1
- package/dist/mint-components/{p-1c3c2ddb.system.js → p-26b42a93.system.js} +1 -1
- package/dist/mint-components/{p-147440c3.js → p-2ec8c64c.js} +0 -0
- package/dist/mint-components/{p-e82076e4.system.js → p-2ef43b0b.system.js} +1 -1
- package/dist/mint-components/{p-91951a0a.system.entry.js → p-3295bcea.system.entry.js} +1 -1
- package/dist/mint-components/{p-d7736049.system.entry.js → p-32b9d246.system.entry.js} +1 -1
- package/dist/mint-components/p-33159b8f.entry.js +99 -0
- package/dist/mint-components/p-39928661.system.entry.js +1 -0
- package/dist/mint-components/{p-96bbb28a.system.entry.js → p-3bb7f637.system.entry.js} +1 -1
- package/dist/mint-components/{p-6b43e4cc.system.js → p-3bf4f950.system.js} +1 -1
- package/dist/mint-components/{p-53af4433.system.js → p-3cf449ba.system.js} +0 -0
- package/dist/mint-components/{p-fe0d7472.entry.js → p-4556231d.entry.js} +1 -1
- package/dist/mint-components/{p-759df017.system.entry.js → p-4fdc7713.system.entry.js} +1 -1
- package/dist/mint-components/{p-6a87a09f.entry.js → p-5c35a4e6.entry.js} +1 -1
- package/dist/mint-components/p-5c71ba83.js +268 -0
- package/dist/mint-components/{p-8d7ae057.system.entry.js → p-60abe71f.system.entry.js} +1 -1
- package/dist/mint-components/p-6660f97d.system.js +1 -0
- package/dist/mint-components/p-6faceb79.system.entry.js +1 -0
- package/dist/mint-components/{p-eb61462d.entry.js → p-710dd330.entry.js} +12 -12
- package/dist/mint-components/{p-1959da16.system.js → p-73e64749.system.js} +1 -1
- package/dist/mint-components/{p-4f4bdfad.system.entry.js → p-79e4c06a.system.entry.js} +1 -1
- package/dist/mint-components/{p-3bdc5918.js → p-7b074331.js} +1 -1
- package/dist/mint-components/{p-4a1b7d35.js → p-7fe7dbb0.js} +1 -1
- package/dist/mint-components/{p-d264d1a0.system.js → p-80845175.system.js} +1 -1
- package/dist/mint-components/{p-200ffff7.entry.js → p-96f571e5.entry.js} +1 -1
- package/dist/mint-components/p-99e7434e.js +1 -0
- package/dist/mint-components/{p-93e15034.entry.js → p-9dee36f6.entry.js} +1 -1
- package/dist/mint-components/{p-16023c39.system.entry.js → p-a35ce12b.system.entry.js} +1 -1
- package/dist/mint-components/{p-2af6bb32.system.entry.js → p-a36892ea.system.entry.js} +1 -1
- package/dist/mint-components/p-a82df645.system.entry.js +1 -0
- package/dist/mint-components/{p-55b6147d.js → p-abc7fa04.js} +1 -1
- package/dist/mint-components/p-ad741ee2.system.entry.js +1 -0
- package/dist/mint-components/p-aebee81d.system.js +1 -0
- package/dist/mint-components/{p-3e65453b.system.js → p-b756428e.system.js} +0 -0
- package/dist/mint-components/{p-1d1e9197.js → p-ba597021.js} +1 -1
- package/dist/mint-components/p-bb630f90.system.js +1 -0
- package/dist/mint-components/p-c887a653.system.js +1 -0
- package/dist/mint-components/{p-d33eb961.js → p-c8cb3674.js} +1 -1
- package/dist/mint-components/{p-20e8567f.entry.js → p-ca696a40.entry.js} +1 -1
- package/dist/mint-components/{p-1204f7df.entry.js → p-cfe3ceb7.entry.js} +1 -1
- package/dist/mint-components/{p-a8141e7b.entry.js → p-d073aead.entry.js} +1 -1
- package/dist/mint-components/p-db46fe90.js +1 -0
- package/dist/mint-components/{p-fcd096b3.entry.js → p-dc0b8fdb.entry.js} +1 -1
- package/dist/mint-components/{p-ce8b1b36.system.js → p-e2cb443e.system.js} +1 -1
- package/dist/mint-components/{p-72a798c3.entry.js → p-e3fff405.entry.js} +1 -1
- package/dist/mint-components/p-ec5633b8.js +1 -0
- package/dist/mint-components/p-ec77261d.system.js +1 -0
- package/dist/mint-components/{p-e57bb617.entry.js → p-ee1684ae.entry.js} +1 -1
- package/dist/mint-components/{p-c5314bbc.js → p-eff88c3d.js} +1 -1
- package/dist/mint-components/p-f34dd1c1.js +1 -0
- package/dist/mint-components/{p-72296718.system.entry.js → p-f72dc3a5.system.entry.js} +1 -1
- package/dist/types/components/sqm-big-stat/UseBigStat.stories.d.ts +24 -0
- package/dist/types/components/sqm-portal-container/PortalContainer.stories.d.ts +6 -0
- package/dist/types/components/sqm-portal-container/sqm-portal-container-view.d.ts +1 -0
- package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +6 -0
- package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +2 -3
- package/dist/types/components/sqm-reward-exchange-list/RewardExchangeListData.d.ts +19 -19
- package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.d.ts +1 -1
- package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list.d.ts +6 -4
- package/dist/types/components/sqm-reward-exchange-list/useRewardExchangeList.d.ts +1 -1
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.d.ts +0 -1
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.d.ts +0 -4
- package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +7 -4
- package/dist/types/components/sqm-scroll/Scroll.stories.d.ts +1 -0
- package/dist/types/components/sqm-scroll/sqm-scroll.d.ts +56 -8
- package/dist/types/components/sqm-share-button/sqm-share-button-view.d.ts +6 -6
- package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +9 -9
- package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +2 -2
- package/dist/types/components/sqm-share-code/useShareCode.d.ts +2 -2
- package/dist/types/components/sqm-share-link/sqm-share-link-view.d.ts +1 -1
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +1 -1
- package/dist/types/components/sqm-share-link/useShareLink.d.ts +1 -1
- package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +1 -1
- package/dist/types/components/sqm-task-card/progress-bar/SVGs.d.ts +1 -0
- package/dist/types/components/sqm-task-card/progress-bar/progress-bar-view.d.ts +1 -0
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +2 -0
- package/dist/types/components/sqm-timeline/sqm-timeline-entry-view.d.ts +9 -0
- package/dist/types/components.d.ts +172 -78
- package/dist/types/global/styles.d.ts +1 -1
- package/dist/types/stories/Widget.stories.d.ts +22 -0
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/sqm-stat-container-view-8aaf6cb8.js +0 -52
- package/dist/cjs/sqm-stat-container.cjs.entry.js +0 -36
- package/dist/cjs/sqm-text-span-view-f101dedf.js +0 -59
- package/dist/esm/sqm-stat-container-view-226b6496.js +0 -50
- package/dist/esm/sqm-stat-container.entry.js +0 -32
- package/dist/esm/sqm-text-span-view-7e61c95c.js +0 -57
- package/dist/esm-es5/GenericTableView-6b7b537b.js +0 -1
- package/dist/esm-es5/ShadowViewAddon-9c382e30.js +0 -1
- package/dist/esm-es5/sqm-big-stat_30.entry.js +0 -1
- package/dist/esm-es5/sqm-portal-container-view-dea0cdcc.js +0 -1
- package/dist/esm-es5/sqm-stat-container-view-226b6496.js +0 -1
- package/dist/esm-es5/sqm-stat-container.entry.js +0 -1
- package/dist/esm-es5/sqm-text-span-view-7e61c95c.js +0 -1
- package/dist/mint-components/p-1a786c17.js +0 -1
- package/dist/mint-components/p-1b71a09e.system.entry.js +0 -1
- package/dist/mint-components/p-1cd23e56.system.entry.js +0 -1
- package/dist/mint-components/p-2c5d7a20.js +0 -268
- package/dist/mint-components/p-3f88f8eb.system.js +0 -1
- package/dist/mint-components/p-45581e0b.entry.js +0 -9
- package/dist/mint-components/p-48161ba8.js +0 -1
- package/dist/mint-components/p-4e0ce80b.js +0 -1
- package/dist/mint-components/p-546ee840.entry.js +0 -1
- package/dist/mint-components/p-55f3d841.system.js +0 -1
- package/dist/mint-components/p-78df4d2d.system.js +0 -1
- package/dist/mint-components/p-8bcaafaf.system.js +0 -1
- package/dist/mint-components/p-9e4f0169.system.entry.js +0 -1
- package/dist/mint-components/p-a44b64d5.js +0 -1
- package/dist/mint-components/p-ac303785.system.js +0 -1
- package/dist/mint-components/p-b359d5a5.entry.js +0 -1
- package/dist/mint-components/p-bb497e73.entry.js +0 -93
- package/dist/mint-components/p-c5086d90.system.js +0 -1
- package/dist/mint-components/p-e16186c0.system.entry.js +0 -1
- package/dist/mint-components/p-e2731437.system.entry.js +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
2
|
import { m as h, e as useEffect, k as useState, f as useRef, y, b as browser, u as useReducer } from './stencil-hooks.module-acc8a613.js';
|
|
3
|
-
import { i as intl } from './global-
|
|
3
|
+
import { i as intl } from './global-9bff4920.js';
|
|
4
4
|
import { u as useCallback } from './use-callback-7e0bfd3b.js';
|
|
5
|
-
import { j as jn, d as dist, i as ie, b as sn, q as qe, M, r as rn, c as dn, g as $e, E as Ee,
|
|
5
|
+
import { j as jn, P, d as dist, i as ie, b as sn, q as qe, M, r as rn, c as dn, g as $e, E as Ee, D as De, H as He, l as ln, R as Rn, A as An } from './index.module-aac201f3.js';
|
|
6
6
|
import './extends-c31f1eff.js';
|
|
7
7
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
8
8
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
@@ -12,10 +12,10 @@ import { a as useRequestRerender } from './re-render-544e9c59.js';
|
|
|
12
12
|
import { u as useChildElements } from './useChildElements-db935587.js';
|
|
13
13
|
import './luxon-f44215d9.js';
|
|
14
14
|
import { g as getProps, a as getMissingProps } from './utils-1d345130.js';
|
|
15
|
-
import './sqm-text-span-view-
|
|
16
|
-
import './sqm-portal-container-view-
|
|
17
|
-
import { c as useDemoBigStat,
|
|
18
|
-
import './sqm-portal-section-view-
|
|
15
|
+
import './sqm-text-span-view-c8793d61.js';
|
|
16
|
+
import './sqm-portal-container-view-46929235.js';
|
|
17
|
+
import { c as useDemoBigStat, H as useBigStat, B as BigStatView, F as autoColorScaleCss, D as CardFeedView, E as EditProfileView, I as withShadowView, L as LeaderboardView, e as PortalChangePasswordView, P as PortalFrameView, f as PortalLoginView, g as PortalRegisterView, R as ReferralIframeView, J as demoRewardExchange, i as RewardExchangeView, K as pathToRegexp, b as useShareButton, S as ShareButtonView, a as ShareLinkView, u as useShareLink, d as StatContainerView, T as TaskCardView } from './ShadowViewAddon-3347acdb.js';
|
|
18
|
+
import './sqm-portal-section-view-61dbb8a9.js';
|
|
19
19
|
|
|
20
20
|
const BigStat = class {
|
|
21
21
|
constructor(hostRef) {
|
|
@@ -31,7 +31,8 @@ const BigStat = class {
|
|
|
31
31
|
render() {
|
|
32
32
|
var _a;
|
|
33
33
|
const { props, label } = jn() ? useDemoBigStat(this) : useBigStat(this);
|
|
34
|
-
const
|
|
34
|
+
const host = P();
|
|
35
|
+
const hasLabel = !!((_a = host.innerHTML) === null || _a === void 0 ? void 0 : _a.trim());
|
|
35
36
|
const labelSlot = h$1("slot", { name: "label" }, hasLabel ? h$1("slot", null) : label);
|
|
36
37
|
return h$1(BigStatView, Object.assign({}, props, { labelSlot: labelSlot }));
|
|
37
38
|
}
|
|
@@ -412,6 +413,7 @@ EditProfile.style = sqmEditProfileCss;
|
|
|
412
413
|
function HeroImageView(props, children) {
|
|
413
414
|
const overlay = Boolean((props.header || props.description || props.buttonText) &&
|
|
414
415
|
props.layout === "overlay");
|
|
416
|
+
// Dependent on props, not feasiable to move out
|
|
415
417
|
const style = {
|
|
416
418
|
Container: {
|
|
417
419
|
position: "relative",
|
|
@@ -442,10 +444,17 @@ function HeroImageView(props, children) {
|
|
|
442
444
|
},
|
|
443
445
|
Overlay: {
|
|
444
446
|
zIndex: "1",
|
|
445
|
-
padding: "var(--sl-spacing-" +
|
|
447
|
+
padding: "calc(var(--sl-spacing-" +
|
|
448
|
+
props.paddingText +
|
|
449
|
+
") + var(--sl-spacing-" +
|
|
450
|
+
props.paddingImage +
|
|
451
|
+
"))",
|
|
446
452
|
textAlign: "center",
|
|
447
453
|
color: props.textColor || "var(--sl-color-neutral-0)",
|
|
448
454
|
lineHeight: "var(--sl-line-height-dense)",
|
|
455
|
+
"@media (max-width: 599px)": {
|
|
456
|
+
padding: "var(--sl-spacing-" + props.paddingText + ")",
|
|
457
|
+
},
|
|
449
458
|
},
|
|
450
459
|
Column: {
|
|
451
460
|
display: "flex",
|
|
@@ -457,7 +466,6 @@ function HeroImageView(props, children) {
|
|
|
457
466
|
width: props.imagePercentage ? props.imagePercentage + "%" : "50%",
|
|
458
467
|
padding: "var(--sl-spacing-" + props.paddingImage + ")",
|
|
459
468
|
boxSizing: "border-box",
|
|
460
|
-
// margin: props.maxHeight ? "auto" : "",
|
|
461
469
|
"@media (max-width: 599px)": {
|
|
462
470
|
width: "100%",
|
|
463
471
|
},
|
|
@@ -5431,57 +5439,59 @@ const ProgramMenu = class {
|
|
|
5431
5439
|
}
|
|
5432
5440
|
};
|
|
5433
5441
|
|
|
5434
|
-
|
|
5435
|
-
|
|
5436
|
-
|
|
5437
|
-
|
|
5438
|
-
|
|
5439
|
-
|
|
5440
|
-
|
|
5441
|
-
|
|
5442
|
-
|
|
5443
|
-
|
|
5444
|
-
|
|
5445
|
-
|
|
5446
|
-
|
|
5447
|
-
|
|
5448
|
-
padding: "0",
|
|
5449
|
-
marginBottom: "var(--sl-spacing-xx-large)",
|
|
5450
|
-
},
|
|
5451
|
-
},
|
|
5452
|
-
"& .right": {
|
|
5453
|
-
boxSizing: "border-box",
|
|
5454
|
-
width: "50%",
|
|
5455
|
-
padding: "var(--sl-spacing-large)",
|
|
5456
|
-
paddingLeft: "var(--sl-spacing-medium)",
|
|
5457
|
-
alignSelf: props.verticalAlignment,
|
|
5458
|
-
"@media (max-width: 499px)": {
|
|
5459
|
-
width: "100%",
|
|
5460
|
-
padding: "0",
|
|
5461
|
-
},
|
|
5442
|
+
const style = {
|
|
5443
|
+
Container: {
|
|
5444
|
+
display: "flex",
|
|
5445
|
+
color: "var(--sl-color-neutral-900)",
|
|
5446
|
+
background: "var(--sl-color-neutral-0)",
|
|
5447
|
+
"& .left": {
|
|
5448
|
+
boxSizing: "border-box",
|
|
5449
|
+
width: "50%",
|
|
5450
|
+
padding: "var(--sl-spacing-large)",
|
|
5451
|
+
paddingRight: "var(--sl-spacing-medium)",
|
|
5452
|
+
"@media (max-width: 499px)": {
|
|
5453
|
+
width: "100%",
|
|
5454
|
+
padding: "0",
|
|
5455
|
+
marginBottom: "var(--sl-spacing-xx-large)",
|
|
5462
5456
|
},
|
|
5463
|
-
|
|
5464
|
-
|
|
5457
|
+
},
|
|
5458
|
+
"& .right": {
|
|
5459
|
+
boxSizing: "border-box",
|
|
5460
|
+
width: "50%",
|
|
5461
|
+
padding: "var(--sl-spacing-large)",
|
|
5462
|
+
paddingLeft: "var(--sl-spacing-medium)",
|
|
5465
5463
|
"@media (max-width: 499px)": {
|
|
5466
|
-
|
|
5467
|
-
|
|
5464
|
+
width: "100%",
|
|
5465
|
+
padding: "0",
|
|
5468
5466
|
},
|
|
5469
5467
|
},
|
|
5470
|
-
|
|
5471
|
-
|
|
5472
|
-
|
|
5473
|
-
|
|
5468
|
+
border: "1px solid var(--sl-color-neutral-300)",
|
|
5469
|
+
borderRadius: "var(--sl-border-radius-large)",
|
|
5470
|
+
"@media (max-width: 499px)": {
|
|
5471
|
+
flexDirection: "column",
|
|
5472
|
+
border: "none",
|
|
5473
|
+
},
|
|
5474
|
+
},
|
|
5475
|
+
};
|
|
5476
|
+
const sheet = createStyleSheet(style);
|
|
5477
|
+
const styleString = sheet.toString();
|
|
5478
|
+
const vanillaStyle = `
|
|
5474
5479
|
:host{
|
|
5475
5480
|
display: block;
|
|
5476
5481
|
}
|
|
5477
5482
|
`;
|
|
5483
|
+
function ReferralCardView(props) {
|
|
5478
5484
|
return (h$1("div", null,
|
|
5479
5485
|
h$1("style", { type: "text/css" },
|
|
5480
5486
|
styleString,
|
|
5481
5487
|
vanillaStyle),
|
|
5482
5488
|
h$1("div", { class: sheet.classes.Container },
|
|
5483
|
-
h$1("div", { class: "left"
|
|
5484
|
-
|
|
5489
|
+
h$1("div", { class: "left", style: {
|
|
5490
|
+
alignSelf: props.verticalAlignment,
|
|
5491
|
+
} }, props.slots.left),
|
|
5492
|
+
h$1("div", { class: "right", style: {
|
|
5493
|
+
alignSelf: props.verticalAlignment,
|
|
5494
|
+
} }, props.slots.right))));
|
|
5485
5495
|
}
|
|
5486
5496
|
|
|
5487
5497
|
const ReferralCard = class {
|
|
@@ -5530,7 +5540,7 @@ function useReferralIframe(props) {
|
|
|
5530
5540
|
};
|
|
5531
5541
|
}
|
|
5532
5542
|
|
|
5533
|
-
const style = {
|
|
5543
|
+
const style$1 = {
|
|
5534
5544
|
IconStyle: {
|
|
5535
5545
|
display: "block",
|
|
5536
5546
|
position: "absolute",
|
|
@@ -5549,21 +5559,21 @@ const style = {
|
|
|
5549
5559
|
margin: "30px",
|
|
5550
5560
|
},
|
|
5551
5561
|
};
|
|
5552
|
-
const sheet = createStyleSheet(style);
|
|
5553
|
-
const styleString = sheet.toString();
|
|
5562
|
+
const sheet$1 = createStyleSheet(style$1);
|
|
5563
|
+
const styleString$1 = sheet$1.toString();
|
|
5554
5564
|
function RequiredPropsError({ missingProps }) {
|
|
5555
5565
|
if (!missingProps)
|
|
5556
5566
|
return false;
|
|
5557
5567
|
const host = P();
|
|
5558
5568
|
const [detailsOpen, setDetailsOpen] = useState(false);
|
|
5559
|
-
return (h$1("sl-alert", { type: "danger", open: true, class: sheet.classes.Alert },
|
|
5560
|
-
h$1("style", { type: "text/css" }, styleString),
|
|
5561
|
-
h$1("div", { slot: "icon", class: sheet.classes.IconStyle },
|
|
5569
|
+
return (h$1("sl-alert", { type: "danger", open: true, class: sheet$1.classes.Alert },
|
|
5570
|
+
h$1("style", { type: "text/css" }, styleString$1),
|
|
5571
|
+
h$1("div", { slot: "icon", class: sheet$1.classes.IconStyle },
|
|
5562
5572
|
h$1("sl-icon", { name: "exclamation-octagon" })),
|
|
5563
|
-
h$1("div", { class: sheet.classes.DivStyle },
|
|
5564
|
-
h$1("h2", { class: sheet.classes.Heading }, "There was a problem loading this page"),
|
|
5573
|
+
h$1("div", { class: sheet$1.classes.DivStyle },
|
|
5574
|
+
h$1("h2", { class: sheet$1.classes.Heading }, "There was a problem loading this page"),
|
|
5565
5575
|
h$1("p", null, "There was a technical problem that prevented this page from loading. Please contact us with the link to this page.")),
|
|
5566
|
-
h$1("details", { class: sheet.classes.Details },
|
|
5576
|
+
h$1("details", { class: sheet$1.classes.Details },
|
|
5567
5577
|
h$1("summary", { onClick: () => setDetailsOpen(!detailsOpen) },
|
|
5568
5578
|
detailsOpen ? "Less" : "More",
|
|
5569
5579
|
" details"),
|
|
@@ -6485,9 +6495,9 @@ const SqmRewardExchangeList = class {
|
|
|
6485
6495
|
/**
|
|
6486
6496
|
* Shown when a user copies a fuel tank code
|
|
6487
6497
|
*
|
|
6488
|
-
* @uiName
|
|
6498
|
+
* @uiName Tooltip Text
|
|
6489
6499
|
*/
|
|
6490
|
-
this.
|
|
6500
|
+
this.tooltipText = "Copied";
|
|
6491
6501
|
/**
|
|
6492
6502
|
* @uiName Done Text
|
|
6493
6503
|
*/
|
|
@@ -6517,7 +6527,9 @@ const SqmRewardExchangeList = class {
|
|
|
6517
6527
|
*/
|
|
6518
6528
|
this.promoCode = "Promo Code";
|
|
6519
6529
|
/**
|
|
6520
|
-
*
|
|
6530
|
+
* Set the number of placeholder cards to be shown in loading state.
|
|
6531
|
+
*
|
|
6532
|
+
* @undocumented Loading Cards
|
|
6521
6533
|
*/
|
|
6522
6534
|
this.skeletonCardNum = 8;
|
|
6523
6535
|
/**
|
|
@@ -6704,7 +6716,17 @@ const Scroll = class {
|
|
|
6704
6716
|
constructor(hostRef) {
|
|
6705
6717
|
registerInstance(this, hostRef);
|
|
6706
6718
|
this.ignored = true;
|
|
6719
|
+
/**
|
|
6720
|
+
* @uiName Button Type
|
|
6721
|
+
* @uiType string
|
|
6722
|
+
* @uiEnum ["default", "primary", "success", "neutral", "warning", "danger", "text"]
|
|
6723
|
+
*/
|
|
6707
6724
|
this.buttonType = "default";
|
|
6725
|
+
/**
|
|
6726
|
+
* @uiName Scroll Animation Style
|
|
6727
|
+
* @uiType string
|
|
6728
|
+
* @uiEnum ["smooth", "auto"]
|
|
6729
|
+
*/
|
|
6708
6730
|
this.scrollAnimation = "smooth";
|
|
6709
6731
|
h(this);
|
|
6710
6732
|
}
|
|
@@ -6735,12 +6757,13 @@ const Scroll = class {
|
|
|
6735
6757
|
const styleString = sheet.toString();
|
|
6736
6758
|
const vanillaStyle = `
|
|
6737
6759
|
:host{
|
|
6738
|
-
display:
|
|
6760
|
+
display: contents;
|
|
6739
6761
|
}
|
|
6740
|
-
${this.
|
|
6762
|
+
${this.mobile &&
|
|
6741
6763
|
`
|
|
6742
6764
|
@media only screen and (max-width: 499px) {
|
|
6743
6765
|
:host {
|
|
6766
|
+
display: block;
|
|
6744
6767
|
width: 100%;
|
|
6745
6768
|
}
|
|
6746
6769
|
}
|
|
@@ -6749,9 +6772,9 @@ const Scroll = class {
|
|
|
6749
6772
|
let classStack = "";
|
|
6750
6773
|
if (this.outline)
|
|
6751
6774
|
classStack += "outline ";
|
|
6752
|
-
if (this.
|
|
6775
|
+
if (this.mobile)
|
|
6753
6776
|
classStack += "mobile ";
|
|
6754
|
-
return (h$1("div", { class: sheet.classes.Button }, h$1("style", { type: "text/css" }, vanillaStyle, styleString), h$1("sl-button", { type: this.outline ? "primary" : this.buttonType, onClick: callbacks.scroll, size: this.size, pill: this.pill,
|
|
6777
|
+
return (h$1("div", { class: sheet.classes.Button }, h$1("style", { type: "text/css" }, vanillaStyle, styleString), h$1("sl-button", { type: this.outline ? "primary" : this.buttonType, onClick: callbacks.scroll, size: this.size, pill: this.pill, circle: this.circle, class: classStack }, (this.iconSlot || this.iconName) && (h$1("sl-icon", { slot: this.iconSlot || "prefix", name: this.iconName })), this.buttonText, h$1("slot", null))));
|
|
6755
6778
|
}
|
|
6756
6779
|
};
|
|
6757
6780
|
|
|
@@ -6772,15 +6795,15 @@ const ShareButton = class {
|
|
|
6772
6795
|
* @uiEnum ["prefix", "suffix" ]
|
|
6773
6796
|
* @uiEnumNames ["Prefix", "Suffix"]
|
|
6774
6797
|
*/
|
|
6775
|
-
this.
|
|
6798
|
+
this.iconSlot = "prefix";
|
|
6776
6799
|
/**
|
|
6777
6800
|
* @uiName Hide the icon
|
|
6778
6801
|
*/
|
|
6779
|
-
this.
|
|
6802
|
+
this.hideIcon = false;
|
|
6780
6803
|
/**
|
|
6781
6804
|
* @uiName Hide the text
|
|
6782
6805
|
*/
|
|
6783
|
-
this.
|
|
6806
|
+
this.hideText = false;
|
|
6784
6807
|
h(this);
|
|
6785
6808
|
}
|
|
6786
6809
|
disconnectedCallback() { }
|
|
@@ -6834,7 +6857,7 @@ function useShareCode(props) {
|
|
|
6834
6857
|
// Only if called from a user-initiated event
|
|
6835
6858
|
navigator.clipboard.writeText(shareString);
|
|
6836
6859
|
setOpen(true);
|
|
6837
|
-
setTimeout(() => setOpen(false), props.
|
|
6860
|
+
setTimeout(() => setOpen(false), props.tooltipLifespan);
|
|
6838
6861
|
sendLoadEvent({
|
|
6839
6862
|
eventMeta: {
|
|
6840
6863
|
programId,
|
|
@@ -6860,13 +6883,13 @@ const ShareCode = class {
|
|
|
6860
6883
|
*
|
|
6861
6884
|
* @uiName Tooltip text
|
|
6862
6885
|
*/
|
|
6863
|
-
this.
|
|
6886
|
+
this.tooltipText = "Copied to Clipboard";
|
|
6864
6887
|
/**
|
|
6865
6888
|
* The number of milliseconds that the tooltip will appear for
|
|
6866
6889
|
*
|
|
6867
6890
|
* @uiName Tooltip lifespan
|
|
6868
6891
|
*/
|
|
6869
|
-
this.
|
|
6892
|
+
this.tooltipLifespan = DEFAULT_TOOLTIP_LIFESPAN;
|
|
6870
6893
|
h(this);
|
|
6871
6894
|
}
|
|
6872
6895
|
disconnectedCallback() { }
|
|
@@ -6883,14 +6906,14 @@ function useDemoShareCode(props) {
|
|
|
6883
6906
|
const shareString = "SHARECODE001";
|
|
6884
6907
|
return cjs({
|
|
6885
6908
|
shareString,
|
|
6886
|
-
|
|
6909
|
+
tooltipText: props.tooltipText,
|
|
6887
6910
|
open,
|
|
6888
6911
|
onClick: () => {
|
|
6889
6912
|
// Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
|
|
6890
6913
|
// Only if called from a user-initiated event
|
|
6891
6914
|
navigator.clipboard.writeText(shareString);
|
|
6892
6915
|
setOpen(true);
|
|
6893
|
-
setTimeout(() => setOpen(false), props.
|
|
6916
|
+
setTimeout(() => setOpen(false), props.tooltipLifespan);
|
|
6894
6917
|
},
|
|
6895
6918
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
6896
6919
|
}
|
|
@@ -6904,7 +6927,7 @@ const ShareLink = class {
|
|
|
6904
6927
|
*
|
|
6905
6928
|
* @uiName Tooltip text
|
|
6906
6929
|
*/
|
|
6907
|
-
this.
|
|
6930
|
+
this.tooltipText = "Copied to Clipboard";
|
|
6908
6931
|
/**
|
|
6909
6932
|
* The number of milliseconds that the tooltip will appear for
|
|
6910
6933
|
*
|
|
@@ -6927,7 +6950,7 @@ function useDemoShareLink(props) {
|
|
|
6927
6950
|
const shareString = "https://www.example.com/sharelink/abc";
|
|
6928
6951
|
return cjs({
|
|
6929
6952
|
shareString,
|
|
6930
|
-
|
|
6953
|
+
tooltipText: props.tooltipText,
|
|
6931
6954
|
open,
|
|
6932
6955
|
onClick: () => {
|
|
6933
6956
|
// Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
|
|
@@ -6939,6 +6962,30 @@ function useDemoShareLink(props) {
|
|
|
6939
6962
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
6940
6963
|
}
|
|
6941
6964
|
|
|
6965
|
+
const StatContainer = class {
|
|
6966
|
+
constructor(hostRef) {
|
|
6967
|
+
registerInstance(this, hostRef);
|
|
6968
|
+
this.ignored = true;
|
|
6969
|
+
/**
|
|
6970
|
+
* @uiName Space between stats
|
|
6971
|
+
* @uiType string
|
|
6972
|
+
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
6973
|
+
*/
|
|
6974
|
+
this.space = "xxx-large";
|
|
6975
|
+
/**
|
|
6976
|
+
* @uiName Display
|
|
6977
|
+
* @uiType string
|
|
6978
|
+
* @uiEnum ["grid", "flex"]
|
|
6979
|
+
*/
|
|
6980
|
+
this.display = "grid";
|
|
6981
|
+
h(this);
|
|
6982
|
+
}
|
|
6983
|
+
disconnectedCallback() { }
|
|
6984
|
+
render() {
|
|
6985
|
+
return (h$1(StatContainerView, Object.assign({}, getProps(this)), h$1("slot", null)));
|
|
6986
|
+
}
|
|
6987
|
+
};
|
|
6988
|
+
|
|
6942
6989
|
const TableCell = class {
|
|
6943
6990
|
constructor(hostRef) {
|
|
6944
6991
|
registerInstance(this, hostRef);
|
|
@@ -7036,6 +7083,8 @@ const TaskCard = class {
|
|
|
7036
7083
|
*/
|
|
7037
7084
|
this.showProgressBar = false;
|
|
7038
7085
|
/**
|
|
7086
|
+
* Sets the goal for progress to be completed. If repeatable is checked, repeatable goals will be increments of this.
|
|
7087
|
+
*
|
|
7039
7088
|
* @uiName Goal Completion Number
|
|
7040
7089
|
*/
|
|
7041
7090
|
this.goal = 1;
|
|
@@ -7150,24 +7199,6 @@ const Timeline = class {
|
|
|
7150
7199
|
::slotted(*:not(:only-child):not(:last-child)) {
|
|
7151
7200
|
margin-bottom: var(--sl-spacing-xx-large);
|
|
7152
7201
|
}
|
|
7153
|
-
|
|
7154
|
-
// ::slotted(*:not(:only-child):not(:first-child)) * {
|
|
7155
|
-
// background: yellow;
|
|
7156
|
-
// }
|
|
7157
|
-
|
|
7158
|
-
// ::slotted(*:not(:only-child):not(:first-child))::before {
|
|
7159
|
-
// display: block;
|
|
7160
|
-
// content: "";
|
|
7161
|
-
// position: relative;
|
|
7162
|
-
// height: 65px;
|
|
7163
|
-
// width: 4px;
|
|
7164
|
-
// top: -15px;
|
|
7165
|
-
// left: 50px;
|
|
7166
|
-
// margin-top: -44px;
|
|
7167
|
-
// margin-bottom: -15px;
|
|
7168
|
-
// border-radius: 4px;
|
|
7169
|
-
// background: red;
|
|
7170
|
-
// }
|
|
7171
7202
|
`;
|
|
7172
7203
|
return (h$1("div", null, h$1("style", { type: "text/css" }, vanillaStyle), h$1("slot", null)));
|
|
7173
7204
|
}
|
|
@@ -7181,14 +7212,85 @@ const Gift = () => (h$1("svg", { width: "24", height: "24", viewBox: "0 0 24 24"
|
|
|
7181
7212
|
const Circle = () => (h$1("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
7182
7213
|
h$1("circle", { cx: "12", cy: "12", r: "9", fill: "currentColor", stroke: "currentColor", "stroke-width": "2" })));
|
|
7183
7214
|
|
|
7215
|
+
const style$2 = {
|
|
7216
|
+
TimelineReward: {
|
|
7217
|
+
color: "var(--sl-color-neutral-900)",
|
|
7218
|
+
lineHeight: "var(--sl-line-height-dense)",
|
|
7219
|
+
"& .container": {
|
|
7220
|
+
display: "flex",
|
|
7221
|
+
},
|
|
7222
|
+
"& .line": {
|
|
7223
|
+
display: "none",
|
|
7224
|
+
color: "transparent",
|
|
7225
|
+
userSelect: "none",
|
|
7226
|
+
background: "var(--sl-color-primary-300)",
|
|
7227
|
+
width: "4px",
|
|
7228
|
+
borderRadius: "4px",
|
|
7229
|
+
margin: "-2px",
|
|
7230
|
+
position: "relative",
|
|
7231
|
+
left: "12px",
|
|
7232
|
+
top: "34px",
|
|
7233
|
+
},
|
|
7234
|
+
"& .step": {
|
|
7235
|
+
display: "flex",
|
|
7236
|
+
},
|
|
7237
|
+
"& .icon": {
|
|
7238
|
+
position: "relative",
|
|
7239
|
+
top: "4px",
|
|
7240
|
+
zIndex: "1",
|
|
7241
|
+
color: "var(--sl-color-primary-300)",
|
|
7242
|
+
marginRight: "var(--sl-spacing-large)",
|
|
7243
|
+
},
|
|
7244
|
+
"& .reward": {
|
|
7245
|
+
marginRight: "var(--sl-spacing-x-small)",
|
|
7246
|
+
fontSize: "var(--sl-font-size-x-large)",
|
|
7247
|
+
fontWeight: "var(--sl-font-weight-semibold)",
|
|
7248
|
+
},
|
|
7249
|
+
"& .unit": {
|
|
7250
|
+
textTransform: "uppercase",
|
|
7251
|
+
fontSize: "var(--sl-font-size-small)",
|
|
7252
|
+
},
|
|
7253
|
+
"& .description": {
|
|
7254
|
+
fontSize: "var(--sl-font-size-medium)",
|
|
7255
|
+
},
|
|
7256
|
+
},
|
|
7257
|
+
};
|
|
7258
|
+
const sheet$2 = createStyleSheet(style$2);
|
|
7259
|
+
const styleString$2 = sheet$2.toString();
|
|
7260
|
+
const vanillaStyle$1 = `
|
|
7261
|
+
:host{
|
|
7262
|
+
display: block;
|
|
7263
|
+
}
|
|
7264
|
+
|
|
7265
|
+
:host(:not(:last-of-type)) .line {
|
|
7266
|
+
display: block;
|
|
7267
|
+
}
|
|
7268
|
+
`;
|
|
7269
|
+
function TimelineEntryView(props) {
|
|
7270
|
+
var _a;
|
|
7271
|
+
const timeline_icon = (_a = props.icon) !== null && _a !== void 0 ? _a : props.iconState;
|
|
7272
|
+
return (h$1("div", { class: sheet$2.classes.TimelineReward },
|
|
7273
|
+
h$1("style", { type: "text/css" },
|
|
7274
|
+
styleString$2,
|
|
7275
|
+
vanillaStyle$1),
|
|
7276
|
+
h$1("div", { class: "container" },
|
|
7277
|
+
h$1("div", { class: "line" }, "/"),
|
|
7278
|
+
h$1("div", { class: "step" },
|
|
7279
|
+
timeline_icon === "gift" && (h$1("div", { class: "icon" },
|
|
7280
|
+
h$1(Gift, null))),
|
|
7281
|
+
timeline_icon === "circle" && (h$1("div", { class: "icon" },
|
|
7282
|
+
h$1(Circle, null))),
|
|
7283
|
+
h$1("div", null,
|
|
7284
|
+
h$1("div", null,
|
|
7285
|
+
h$1("span", { class: "reward" }, props.reward),
|
|
7286
|
+
h$1("span", { class: "unit" }, props.unit)),
|
|
7287
|
+
h$1("div", { class: "description" }, props.desc))))));
|
|
7288
|
+
}
|
|
7289
|
+
|
|
7184
7290
|
const TimelineReward = class {
|
|
7185
7291
|
constructor(hostRef) {
|
|
7186
7292
|
registerInstance(this, hostRef);
|
|
7187
7293
|
this.ignored = true;
|
|
7188
|
-
// @State() line: boolean = false;
|
|
7189
|
-
// @Method() async setLine(value: boolean) {
|
|
7190
|
-
// this.line = value;
|
|
7191
|
-
// }
|
|
7192
7294
|
this.iconState = "gift";
|
|
7193
7295
|
h(this);
|
|
7194
7296
|
}
|
|
@@ -7200,66 +7302,7 @@ const TimelineReward = class {
|
|
|
7200
7302
|
useRequestRerender([this.reward]);
|
|
7201
7303
|
return h$1(TimelineEntryView, Object.assign({}, getProps(this)));
|
|
7202
7304
|
}
|
|
7203
|
-
};
|
|
7204
|
-
function TimelineEntryView(props) {
|
|
7205
|
-
var _a;
|
|
7206
|
-
const style = {
|
|
7207
|
-
TimelineReward: {
|
|
7208
|
-
color: "var(--sl-color-neutral-900)",
|
|
7209
|
-
lineHeight: "var(--sl-line-height-dense)",
|
|
7210
|
-
"& .container": {
|
|
7211
|
-
display: "flex",
|
|
7212
|
-
},
|
|
7213
|
-
"& .line": {
|
|
7214
|
-
display: "none",
|
|
7215
|
-
color: "transparent",
|
|
7216
|
-
userSelect: "none",
|
|
7217
|
-
background: "var(--sl-color-primary-300)",
|
|
7218
|
-
width: "4px",
|
|
7219
|
-
borderRadius: "4px",
|
|
7220
|
-
margin: "-2px",
|
|
7221
|
-
position: "relative",
|
|
7222
|
-
left: "12px",
|
|
7223
|
-
top: "34px",
|
|
7224
|
-
},
|
|
7225
|
-
"& .step": {
|
|
7226
|
-
display: "flex",
|
|
7227
|
-
},
|
|
7228
|
-
"& .icon": {
|
|
7229
|
-
position: "relative",
|
|
7230
|
-
top: "4px",
|
|
7231
|
-
zIndex: "1",
|
|
7232
|
-
color: "var(--sl-color-primary-300)",
|
|
7233
|
-
marginRight: "var(--sl-spacing-large)",
|
|
7234
|
-
},
|
|
7235
|
-
"& .reward": {
|
|
7236
|
-
marginRight: "var(--sl-spacing-x-small)",
|
|
7237
|
-
fontSize: "var(--sl-font-size-x-large)",
|
|
7238
|
-
fontWeight: "var(--sl-font-weight-semibold)",
|
|
7239
|
-
},
|
|
7240
|
-
"& .unit": {
|
|
7241
|
-
textTransform: "uppercase",
|
|
7242
|
-
fontSize: "var(--sl-font-size-small)",
|
|
7243
|
-
},
|
|
7244
|
-
"& .description": {
|
|
7245
|
-
fontSize: "var(--sl-font-size-medium)",
|
|
7246
|
-
},
|
|
7247
|
-
},
|
|
7248
|
-
};
|
|
7249
|
-
const sheet = createStyleSheet(style);
|
|
7250
|
-
const styleString = sheet.toString();
|
|
7251
|
-
const vanillaStyle = `
|
|
7252
|
-
:host{
|
|
7253
|
-
display: block;
|
|
7254
|
-
}
|
|
7255
|
-
|
|
7256
|
-
:host(:not(:last-child)) .line {
|
|
7257
|
-
display: block;
|
|
7258
|
-
}
|
|
7259
|
-
`;
|
|
7260
|
-
const timeline_icon = (_a = props.icon) !== null && _a !== void 0 ? _a : props.iconState;
|
|
7261
|
-
return (h$1("div", { class: sheet.classes.TimelineReward }, h$1("style", { type: "text/css" }, styleString, vanillaStyle), h$1("div", { class: "container" }, h$1("div", { class: "line" }, "/"), h$1("div", { class: "step" }, timeline_icon === "gift" && (h$1("div", { class: "icon" }, h$1(Gift, null))), timeline_icon === "circle" && (h$1("div", { class: "icon" }, h$1(Circle, null))), h$1("div", null, h$1("div", null, h$1("span", { class: "reward" }, props.reward), h$1("span", { class: "unit" }, props.unit)), h$1("div", { class: "description" }, props.desc))))));
|
|
7262
|
-
}
|
|
7305
|
+
};
|
|
7263
7306
|
|
|
7264
7307
|
function UserNameView(props) {
|
|
7265
7308
|
return h$1(Host, null, props.loading ? props.loadingText : props.username);
|
|
@@ -7318,4 +7361,4 @@ function useUserNameDemo(props) {
|
|
|
7318
7361
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
7319
7362
|
}
|
|
7320
7363
|
|
|
7321
|
-
export { BigStat as sqm_big_stat, BrandComponent as sqm_brand, CardFeed as sqm_card_feed, DividedLayout as sqm_divided_layout, EditProfile as sqm_edit_profile, HeroImage as sqm_hero_image, SqmHookStoryContainer as sqm_hook_story_container, Leaderboard as sqm_leaderboard, NavigationMenu as sqm_navigation_menu, PortalChangePassword as sqm_portal_change_password, PortalFrame as sqm_portal_frame, PortalLogin as sqm_portal_login, PortalRegister as sqm_portal_register, ProgramExplainer as sqm_program_explainer, ProgramExplainerStep as sqm_program_explainer_step, ProgramMenu as sqm_program_menu, ReferralCard as sqm_referral_card, SqmReferralIframe as sqm_referral_iframe, SqmRewardExchangeList as sqm_reward_exchange_list, SqmRouter as sqm_router, Scroll as sqm_scroll, ShareButton as sqm_share_button, ShareCode as sqm_share_code, ShareLink as sqm_share_link, TableCell as sqm_table_cell, TableRow as sqm_table_row, TaskCard as sqm_task_card, Timeline as sqm_timeline, TimelineReward as sqm_timeline_entry, UserName as sqm_user_name };
|
|
7364
|
+
export { BigStat as sqm_big_stat, BrandComponent as sqm_brand, CardFeed as sqm_card_feed, DividedLayout as sqm_divided_layout, EditProfile as sqm_edit_profile, HeroImage as sqm_hero_image, SqmHookStoryContainer as sqm_hook_story_container, Leaderboard as sqm_leaderboard, NavigationMenu as sqm_navigation_menu, PortalChangePassword as sqm_portal_change_password, PortalFrame as sqm_portal_frame, PortalLogin as sqm_portal_login, PortalRegister as sqm_portal_register, ProgramExplainer as sqm_program_explainer, ProgramExplainerStep as sqm_program_explainer_step, ProgramMenu as sqm_program_menu, ReferralCard as sqm_referral_card, SqmReferralIframe as sqm_referral_iframe, SqmRewardExchangeList as sqm_reward_exchange_list, SqmRouter as sqm_router, Scroll as sqm_scroll, ShareButton as sqm_share_button, ShareCode as sqm_share_code, ShareLink as sqm_share_link, StatContainer as sqm_stat_container, TableCell as sqm_table_cell, TableRow as sqm_table_row, TaskCard as sqm_task_card, Timeline as sqm_timeline, TimelineReward as sqm_timeline_entry, UserName as sqm_user_name };
|
|
@@ -3,8 +3,8 @@ import { m as h$1 } from './stencil-hooks.module-acc8a613.js';
|
|
|
3
3
|
import './extends-c31f1eff.js';
|
|
4
4
|
import { c as createStyleSheet } from './JSS-96eeab98.js';
|
|
5
5
|
import { g as getProps } from './utils-1d345130.js';
|
|
6
|
-
import { P as PortalContainerView } from './sqm-portal-container-view-
|
|
7
|
-
import { P as PortalSectionView } from './sqm-portal-section-view-
|
|
6
|
+
import { P as PortalContainerView } from './sqm-portal-container-view-46929235.js';
|
|
7
|
+
import { P as PortalSectionView } from './sqm-portal-section-view-61dbb8a9.js';
|
|
8
8
|
|
|
9
9
|
function EmptyStateView(props) {
|
|
10
10
|
const { emptyStateHeader, emptyStateImage, emptyStateText } = props;
|
|
@@ -26,6 +26,7 @@ const HeroImage = class {
|
|
|
26
26
|
};
|
|
27
27
|
|
|
28
28
|
function ImageView(props) {
|
|
29
|
+
// Dependent on props, not feasiable to move out
|
|
29
30
|
const style = {
|
|
30
31
|
Container: {
|
|
31
32
|
display: "flex",
|
|
@@ -4,7 +4,7 @@ import './use-callback-7e0bfd3b.js';
|
|
|
4
4
|
import './extends-c31f1eff.js';
|
|
5
5
|
import './JSS-96eeab98.js';
|
|
6
6
|
import { g as getProps } from './utils-1d345130.js';
|
|
7
|
-
import { H as HeroView } from './sqm-hero-view-
|
|
7
|
+
import { H as HeroView } from './sqm-hero-view-8e70916e.js';
|
|
8
8
|
|
|
9
9
|
const Hero = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { m as h } from './stencil-hooks.module-acc8a613.js';
|
|
3
|
-
import { i as intl } from './global-
|
|
3
|
+
import { i as intl } from './global-9bff4920.js';
|
|
4
4
|
import './use-callback-7e0bfd3b.js';
|
|
5
5
|
import { d as dist, M, i as ie, b as sn, j as jn } from './index.module-aac201f3.js';
|
|
6
6
|
import './extends-c31f1eff.js';
|
package/dist/esm/{sqm-portal-container-view-dea0cdcc.js → sqm-portal-container-view-46929235.js}
RENAMED
|
@@ -11,8 +11,9 @@ function PortalContainerView(props, children) {
|
|
|
11
11
|
: "100%",
|
|
12
12
|
"grid-gap": `var(--sl-spacing-${props.gap})`,
|
|
13
13
|
padding: props.padding === "none" ? "0" : `var(--sl-spacing-${props.padding})`,
|
|
14
|
-
maxWidth: props.maxWidth
|
|
14
|
+
maxWidth: props.maxWidth,
|
|
15
15
|
margin: props.center && "auto",
|
|
16
|
+
justifyContent: props.justifyContent,
|
|
16
17
|
},
|
|
17
18
|
};
|
|
18
19
|
const vanillaStyle = `
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-9bff4920.js';
|
|
3
3
|
import { A as AuthWrapper, a as AuthColumn } from './mixins-10353a39.js';
|
|
4
4
|
import { c as createStyleSheet } from './JSS-96eeab98.js';
|
|
5
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
5
|
+
import { T as TextSpanView } from './sqm-text-span-view-c8793d61.js';
|
|
6
6
|
|
|
7
7
|
const style = {
|
|
8
8
|
Wrapper: AuthWrapper,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
2
|
import { k as useState, e as useEffect, m as h } from './stencil-hooks.module-acc8a613.js';
|
|
3
|
-
import './global-
|
|
3
|
+
import './global-9bff4920.js';
|
|
4
4
|
import './use-callback-7e0bfd3b.js';
|
|
5
5
|
import { n as nn, i as ie, j as jn } from './index.module-aac201f3.js';
|
|
6
6
|
import './extends-c31f1eff.js';
|
|
7
7
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
8
8
|
import './mixins-10353a39.js';
|
|
9
9
|
import './JSS-96eeab98.js';
|
|
10
|
-
import './sqm-text-span-view-
|
|
11
|
-
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-
|
|
10
|
+
import './sqm-text-span-view-c8793d61.js';
|
|
11
|
+
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-1d7eca0a.js';
|
|
12
12
|
|
|
13
13
|
function usePortalEmailVerification(props) {
|
|
14
14
|
var _a, _b, _c, _d, _e;
|