@saasquatch/mint-components 1.6.2-4 → 1.6.2-7
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-4921be4b.js → GenericTableView-47869553.js} +2 -2
- package/dist/cjs/{ShadowViewAddon-d2c9b323.js → ShadowViewAddon-efc84247.js} +19 -19
- package/dist/cjs/{global-58e5d657.js → global-0a3fc724.js} +5 -15
- package/dist/cjs/{index.module-7eab8006.js → index.module-458fac5c.js} +6658 -6307
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{luxon-59ca7d19.js → luxon-479fc825.js} +1 -1
- package/dist/cjs/mint-components.cjs.js +5 -5
- package/dist/cjs/raisins-plop-target.cjs.entry.js +2 -5
- package/dist/cjs/{re-render-111a3ebb.js → re-render-60cd2050.js} +5 -5
- package/dist/cjs/sqm-asset-card.cjs.entry.js +5 -5
- package/dist/cjs/sqm-big-stat_35.cjs.entry.js +84 -79
- package/dist/cjs/sqm-empty_5.cjs.entry.js +1 -1
- package/dist/cjs/sqm-form-message.cjs.entry.js +1 -1
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-hero-view-46223e34.js → sqm-hero-view-bc763ed2.js} +2 -2
- package/dist/cjs/sqm-hero.cjs.entry.js +3 -3
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +8 -8
- package/dist/cjs/{sqm-navigation-sidebar-item-view-6020bdf9.js → sqm-navigation-sidebar-item-view-c96b19cd.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +6 -6
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/sqm-password-field.cjs.entry.js +5 -5
- package/dist/cjs/sqm-popup-container.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-portal-email-verification-view-eebe6329.js → sqm-portal-email-verification-view-37960787.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +8 -8
- package/dist/cjs/{sqm-portal-footer-view-531c12fe.js → sqm-portal-footer-view-8735a488.js} +1 -1
- package/dist/cjs/sqm-portal-footer.cjs.entry.js +6 -5
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-portal-profile-view-d0818828.js → sqm-portal-profile-view-567d9c38.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +9 -9
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +8 -8
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +16 -16
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +8 -8
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +8 -8
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +13 -13
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +1 -1
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -4
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +25 -19
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +95 -95
- package/dist/cjs/sqm-tab.cjs.entry.js +8 -0
- package/dist/cjs/sqm-tabs.cjs.entry.js +8 -6
- package/dist/cjs/sqm-text-span.cjs.entry.js +1 -1
- package/dist/cjs/{stencil-hooks.module-87a1f4f7.js → stencil-hooks.module-6fe43579.js} +1 -0
- package/dist/cjs/{use-callback-e754042f.js → use-callback-5d15897d.js} +1 -1
- package/dist/cjs/useChildElements-c05ab04d.js +32 -0
- package/dist/cjs/{useReferralTable-a04fa0e5.js → useReferralTable-4e8de241.js} +10 -10
- package/dist/cjs/{useRegistrationFormState-aa366992.js → useRegistrationFormState-012c5483.js} +4 -4
- package/dist/collection/collection-manifest.json +1 -4
- package/dist/collection/components/{sqm-rewards-table/columns/sqm-rewards-table-plop-target.js → raisins-plop-target/raisins-plop-target.js} +1 -6
- package/dist/collection/components/sqm-asset-card/AssetCard.stories.js +2 -2
- package/dist/collection/components/sqm-asset-card/sqm-asset-card.js +1 -1
- package/dist/collection/components/sqm-card-feed/sqm-card-feed.js +1 -1
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +2 -2
- package/dist/collection/components/sqm-image/sqm-image.js +1 -1
- package/dist/collection/components/sqm-popup-container/sqm-popup-container.js +3 -1
- package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +2 -2
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +5 -1
- package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +7 -7
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +1 -1
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +2 -2
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +8 -8
- package/dist/collection/components/sqm-referral-table/useReferralTable.js +1 -1
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +15 -9
- package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +1 -1
- package/dist/collection/components/sqm-route/sqm-route.js +2 -1
- package/dist/collection/components/sqm-router/sqm-router.js +2 -1
- package/dist/collection/components/sqm-scroll/sqm-scroll.js +1 -1
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -1
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +1 -1
- package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +1 -1
- package/dist/collection/components/sqm-tab/sqm-tab.js +7 -0
- package/dist/collection/components/sqm-table-cell/sqm-table-cell.js +14 -2
- package/dist/collection/components/sqm-table-row/sqm-table-row.js +11 -1
- package/dist/collection/components/sqm-tabs/sqm-tabs.js +2 -3
- package/dist/collection/components/sqm-tabs/useTabs.js +3 -1
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +3 -3
- package/dist/collection/components/sqm-text/sqm-text.js +0 -7
- package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +1 -1
- package/dist/collection/components/sqm-user-name/sqm-user-name.js +1 -1
- package/dist/collection/global/styles.js +2 -12
- package/dist/collection/global/styles.ts +2 -12
- package/dist/collection/tables/GenericTableView.js +2 -2
- package/dist/collection/tables/useChildElements.js +13 -4
- package/dist/esm/{GenericTableView-59c5d47c.js → GenericTableView-10cac7d6.js} +2 -2
- package/dist/esm/{ShadowViewAddon-34b985aa.js → ShadowViewAddon-cec39cd8.js} +19 -19
- package/dist/esm/{global-79d68d1f.js → global-5b9a6254.js} +5 -15
- package/dist/esm/{index.module-8e654eb1.js → index.module-f1d6a79a.js} +6636 -6285
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{luxon-38ca2169.js → luxon-5a398612.js} +1 -1
- package/dist/esm/mint-components.js +5 -5
- package/dist/esm/raisins-plop-target.entry.js +6 -9
- package/dist/esm/{re-render-cd65b629.js → re-render-bd3232df.js} +5 -5
- package/dist/esm/sqm-asset-card.entry.js +5 -5
- package/dist/esm/sqm-big-stat_35.entry.js +84 -79
- package/dist/esm/sqm-empty_5.entry.js +1 -1
- package/dist/esm/sqm-form-message.entry.js +1 -1
- package/dist/esm/sqm-graphql-client-provider.entry.js +6 -6
- package/dist/esm/{sqm-hero-view-93fac447.js → sqm-hero-view-9fb2be89.js} +2 -2
- package/dist/esm/sqm-hero.entry.js +3 -3
- package/dist/esm/sqm-leaderboard-rank.entry.js +8 -8
- package/dist/esm/{sqm-navigation-sidebar-item-view-52b5e3b9.js → sqm-navigation-sidebar-item-view-df7ce8d3.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +6 -6
- package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm/sqm-password-field.entry.js +5 -5
- package/dist/esm/sqm-popup-container.entry.js +6 -6
- package/dist/esm/{sqm-portal-email-verification-view-7dafea6c.js → sqm-portal-email-verification-view-efaa0c2a.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +8 -8
- package/dist/esm/{sqm-portal-footer-view-a857dd94.js → sqm-portal-footer-view-135108bc.js} +1 -1
- package/dist/esm/sqm-portal-footer.entry.js +6 -5
- package/dist/esm/sqm-portal-forgot-password.entry.js +6 -6
- package/dist/esm/sqm-portal-logout.entry.js +6 -6
- package/dist/esm/{sqm-portal-profile-view-785773e9.js → sqm-portal-profile-view-af9d221b.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +9 -9
- package/dist/esm/sqm-portal-protected-route.entry.js +8 -8
- package/dist/esm/sqm-portal-registration-form.entry.js +16 -16
- package/dist/esm/sqm-portal-reset-password.entry.js +10 -10
- package/dist/esm/sqm-portal-verify-email.entry.js +8 -8
- package/dist/esm/sqm-referral-table_11.entry.js +13 -13
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
- package/dist/esm/sqm-rewards-table_9.entry.js +25 -19
- package/dist/esm/sqm-stencilbook.entry.js +95 -95
- package/dist/esm/sqm-tab.entry.js +8 -0
- package/dist/esm/sqm-tabs.entry.js +8 -6
- package/dist/esm/sqm-text-span.entry.js +1 -1
- package/dist/esm/{stencil-hooks.module-66fea7dc.js → stencil-hooks.module-eefa3570.js} +1 -1
- package/dist/esm/{use-callback-69ec5c5c.js → use-callback-684c8bb7.js} +1 -1
- package/dist/esm/useChildElements-06e99bd3.js +30 -0
- package/dist/esm/{useReferralTable-6c14c78f.js → useReferralTable-ec3f383a.js} +10 -10
- package/dist/esm/{useRegistrationFormState-1378c47e.js → useRegistrationFormState-61148598.js} +4 -4
- package/dist/esm-es5/{GenericTableView-59c5d47c.js → GenericTableView-10cac7d6.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-cec39cd8.js +1 -0
- package/dist/esm-es5/{global-79d68d1f.js → global-5b9a6254.js} +2 -2
- package/dist/esm-es5/index.module-f1d6a79a.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-38ca2169.js → luxon-5a398612.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
- package/dist/esm-es5/{re-render-cd65b629.js → re-render-bd3232df.js} +1 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_35.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_5.entry.js +1 -1
- package/dist/esm-es5/sqm-form-message.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/{sqm-hero-view-93fac447.js → sqm-hero-view-9fb2be89.js} +1 -1
- 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-navigation-sidebar-item-view-df7ce8d3.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-7dafea6c.js → sqm-portal-email-verification-view-efaa0c2a.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-footer-view-a857dd94.js → sqm-portal-footer-view-135108bc.js} +1 -1
- package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-785773e9.js → sqm-portal-profile-view-af9d221b.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.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-customer-note-column.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-tab.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/{stencil-hooks.module-66fea7dc.js → stencil-hooks.module-eefa3570.js} +1 -1
- package/dist/esm-es5/use-callback-684c8bb7.js +1 -0
- package/dist/esm-es5/useChildElements-06e99bd3.js +1 -0
- package/dist/esm-es5/useReferralTable-ec3f383a.js +1 -0
- package/dist/esm-es5/{useRegistrationFormState-1378c47e.js → useRegistrationFormState-61148598.js} +1 -1
- package/dist/mint-components/global/styles.ts +2 -12
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-16beb451.system.entry.js → p-00d4636f.system.entry.js} +1 -1
- package/dist/mint-components/{p-b22b94ac.js → p-0148c516.js} +1 -1
- package/dist/mint-components/p-01639b5f.system.entry.js +1 -0
- package/dist/mint-components/p-088d9242.system.js +1 -0
- package/dist/mint-components/{p-d8f4703a.js → p-0d62a64e.js} +2 -2
- package/dist/mint-components/{p-e907c45c.system.js → p-0e441a14.system.js} +1 -1
- package/dist/mint-components/{p-986000f9.system.entry.js → p-0ef78846.system.entry.js} +1 -1
- package/dist/mint-components/p-0fb3eb79.entry.js +1 -0
- package/dist/mint-components/{p-df9c90db.system.entry.js → p-0fc6d62e.system.entry.js} +1 -1
- package/dist/mint-components/{p-a94d07d9.system.js → p-108cf81e.system.js} +1 -1
- package/dist/mint-components/p-18d7fb36.system.entry.js +1 -0
- package/dist/mint-components/{p-cbe1f72a.system.entry.js → p-1c43e9bc.system.entry.js} +1 -1
- package/dist/mint-components/p-2160da9c.system.entry.js +1 -0
- package/dist/mint-components/p-21b6ab78.system.js +1 -0
- package/dist/mint-components/{p-89d8133d.entry.js → p-222e5418.entry.js} +1 -1
- package/dist/mint-components/{p-72dd2010.system.entry.js → p-29165926.system.entry.js} +1 -1
- package/dist/mint-components/p-2b533296.system.entry.js +1 -0
- package/dist/mint-components/{p-201076d0.system.js → p-2dd51663.system.js} +1 -1
- package/dist/mint-components/{p-12b08957.js → p-302f5c8d.js} +1 -1
- package/dist/mint-components/{p-cd4ae408.system.entry.js → p-32948762.system.entry.js} +1 -1
- package/dist/mint-components/{p-4f4c7f69.system.entry.js → p-33ad07f7.system.entry.js} +1 -1
- package/dist/mint-components/p-34eb3bdc.system.js +1 -0
- package/dist/mint-components/{p-20f0c0cc.system.js → p-373d93c0.system.js} +1 -1
- package/dist/mint-components/{p-4cdef37c.system.entry.js → p-39617ebd.system.entry.js} +1 -1
- package/dist/mint-components/{p-458416a0.system.js → p-3b0f33f3.system.js} +1 -1
- package/dist/mint-components/{p-433f243c.system.entry.js → p-3c6f3be9.system.entry.js} +1 -1
- package/dist/mint-components/{p-e2bf9132.system.js → p-446a0805.system.js} +1 -1
- package/dist/mint-components/p-4df7fe07.entry.js +1 -0
- package/dist/mint-components/{p-27a8ee57.system.entry.js → p-50553269.system.entry.js} +1 -1
- package/dist/mint-components/{p-50cb9888.js → p-52a2beaf.js} +1 -1
- package/dist/mint-components/{p-78c7b4b7.js → p-538904bd.js} +1 -1
- package/dist/mint-components/p-57592ac0.entry.js +1 -0
- package/dist/mint-components/p-57dafb17.entry.js +1 -0
- package/dist/mint-components/{p-2db3e574.entry.js → p-5860deff.entry.js} +1 -1
- package/dist/mint-components/p-5d250c32.js +1 -0
- package/dist/mint-components/{p-89841802.system.entry.js → p-5d93c50c.system.entry.js} +1 -1
- package/dist/mint-components/{p-0c6077a8.system.entry.js → p-5f4e5442.system.entry.js} +1 -1
- package/dist/mint-components/p-5f61bd8b.system.js +1 -0
- package/dist/mint-components/{p-ad04fd37.js → p-62bed275.js} +1 -1
- package/dist/mint-components/p-6486c807.system.entry.js +1 -0
- package/dist/mint-components/p-65d698c7.entry.js +1 -0
- package/dist/mint-components/p-666ec4a5.js +1 -0
- package/dist/mint-components/{p-9bac73dc.system.js → p-684aadb5.system.js} +1 -1
- package/dist/mint-components/p-68aaeaa0.js +1 -0
- package/dist/mint-components/p-68ee4e8e.entry.js +1 -0
- package/dist/mint-components/p-68f75eff.system.entry.js +1 -0
- package/dist/mint-components/{p-cfce9e5c.entry.js → p-6fbe2dc3.entry.js} +1 -1
- package/dist/mint-components/{p-5f2d84e2.js → p-76bd561b.js} +2 -2
- package/dist/mint-components/{p-7ba78151.js → p-793e934b.js} +1 -1
- package/dist/mint-components/p-797e733a.entry.js +13 -0
- package/dist/mint-components/{p-5aedc3a5.system.js → p-7b4dc3ec.system.js} +2 -2
- package/dist/mint-components/{p-586eec52.js → p-81ea8b81.js} +1 -1
- package/dist/mint-components/{p-55411493.js → p-821a487a.js} +3 -3
- package/dist/mint-components/{p-d7d007fb.system.entry.js → p-88a2e66e.system.entry.js} +1 -1
- package/dist/mint-components/{p-0049fc60.entry.js → p-88b62a7d.entry.js} +1 -1
- package/dist/mint-components/p-89086f34.entry.js +1 -0
- package/dist/mint-components/{p-c78782b3.system.js → p-893681b9.system.js} +1 -1
- package/dist/mint-components/{p-dd627dd0.entry.js → p-8a2c78e0.entry.js} +1 -1
- package/dist/mint-components/p-8b7a19d3.system.entry.js +1 -0
- package/dist/mint-components/p-90a375c5.system.entry.js +1 -0
- package/dist/mint-components/{p-27557cc8.entry.js → p-90e71268.entry.js} +1 -1
- package/dist/mint-components/p-92110eef.entry.js +1 -0
- package/dist/mint-components/p-99397ef5.system.js +1 -0
- package/dist/mint-components/p-9a4e1964.entry.js +1 -0
- package/dist/mint-components/{p-a3f87461.entry.js → p-a1acdbb4.entry.js} +1 -1
- package/dist/mint-components/{p-a6291305.system.entry.js → p-a4335cb5.system.entry.js} +1 -1
- package/dist/mint-components/p-a8bd051e.entry.js +99 -0
- package/dist/mint-components/{p-da02c4e6.system.js → p-a9f58c48.system.js} +1 -1
- package/dist/mint-components/p-aa4ca962.system.js +1 -0
- package/dist/mint-components/{p-d8c1aa2f.entry.js → p-aa637746.entry.js} +1 -1
- package/dist/mint-components/p-ad4e74e4.entry.js +1 -0
- package/dist/mint-components/{p-250e8ca9.system.entry.js → p-add3f638.system.entry.js} +1 -1
- package/dist/mint-components/{p-b2ad0a75.system.entry.js → p-af23900d.system.entry.js} +1 -1
- package/dist/mint-components/p-b32d2a0b.system.entry.js +1 -0
- package/dist/mint-components/{p-c32cc965.entry.js → p-b6b4acce.entry.js} +1 -1
- package/dist/mint-components/{p-cc6f7cb5.entry.js → p-ca08cf71.entry.js} +1 -1
- package/dist/mint-components/{p-c88cb982.entry.js → p-ce6f7e0e.entry.js} +1 -1
- package/dist/mint-components/{p-d1aef95c.entry.js → p-ceeeb344.entry.js} +1 -1
- package/dist/mint-components/{p-29f82c6d.system.entry.js → p-ceefa54a.system.entry.js} +1 -1
- package/dist/mint-components/p-cfbab766.entry.js +13 -0
- package/dist/mint-components/{p-f79a103c.system.entry.js → p-d0da2a7a.system.entry.js} +1 -1
- package/dist/mint-components/{p-c14b8c38.entry.js → p-d4dbc7b7.entry.js} +1 -1
- package/dist/mint-components/{p-8a0cf4be.system.js → p-d4ee07e6.system.js} +2 -2
- package/dist/mint-components/{p-e5591fd2.entry.js → p-d6c804c5.entry.js} +1 -1
- package/dist/mint-components/p-dbfb865e.js +1 -0
- package/dist/mint-components/{p-dd2506bd.system.entry.js → p-dd3ddece.system.entry.js} +1 -1
- package/dist/mint-components/{p-1644c8e4.js → p-e733843b.js} +1 -1
- package/dist/mint-components/{p-d5be4f5e.entry.js → p-ea6f3130.entry.js} +1 -1
- package/dist/mint-components/p-f5994865.js +1 -0
- package/dist/mint-components/p-f912a4da.entry.js +9 -0
- package/dist/mint-components/{p-7ca29279.system.entry.js → p-ff2aea1e.system.entry.js} +1 -1
- package/dist/types/components/raisins-plop-target/raisins-plop-target.d.ts +9 -0
- package/dist/types/components/sqm-card-feed/sqm-card-feed.d.ts +1 -1
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +2 -2
- package/dist/types/components/sqm-image/sqm-image.d.ts +1 -1
- package/dist/types/components/sqm-popup-container/sqm-popup-container.d.ts +3 -1
- package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +2 -2
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +2 -1
- package/dist/types/components/sqm-program-explainer/sqm-program-explainer.d.ts +1 -1
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +2 -2
- package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +3 -3
- package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +3 -3
- package/dist/types/components/sqm-route/sqm-route.d.ts +2 -1
- package/dist/types/components/sqm-router/sqm-router.d.ts +2 -1
- package/dist/types/components/sqm-scroll/sqm-scroll.d.ts +1 -1
- package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +1 -1
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +1 -1
- package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +1 -1
- package/dist/types/components/sqm-tab/sqm-tab.d.ts +2 -0
- package/dist/types/components/sqm-table-cell/sqm-table-cell.d.ts +6 -0
- package/dist/types/components/sqm-table-row/sqm-table-row.d.ts +7 -0
- package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +2 -3
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +2 -2
- package/dist/types/components/sqm-text/sqm-text.d.ts +0 -7
- package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +1 -1
- package/dist/types/components/sqm-user-name/sqm-user-name.d.ts +1 -1
- package/dist/types/components.d.ts +44 -577
- 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 +5 -4
- package/dist/cjs/sqm-qa-referral-card.cjs.entry.js +0 -89
- package/dist/cjs/sqm-qa-tabs.cjs.entry.js +0 -100
- package/dist/cjs/sqm-qa.cjs.entry.js +0 -112
- package/dist/cjs/useChildElements-3a4087c1.js +0 -23
- package/dist/collection/assets/PoweredBySaaSquatch.png +0 -0
- package/dist/collection/assets/saasquatch-logo-wide.jpeg +0 -0
- package/dist/collection/assets/saasquatch-logo.png +0 -0
- package/dist/collection/components/sqm-qa/sqm-qa.js +0 -1038
- package/dist/collection/components/sqm-qa-referral-card/ReferralCard.stories.js +0 -79
- package/dist/collection/components/sqm-qa-referral-card/sqm-referral-card-view.js +0 -56
- package/dist/collection/components/sqm-qa-referral-card/sqm-referral-card.js +0 -70
- package/dist/collection/components/sqm-qa-tabs/Tabs.stories.js +0 -491
- package/dist/collection/components/sqm-qa-tabs/sqm-tabs-view.js +0 -31
- package/dist/collection/components/sqm-qa-tabs/sqm-tabs.js +0 -59
- package/dist/collection/components/sqm-qa-tabs/useTabs.js +0 -46
- package/dist/esm/sqm-qa-referral-card.entry.js +0 -85
- package/dist/esm/sqm-qa-tabs.entry.js +0 -96
- package/dist/esm/sqm-qa.entry.js +0 -108
- package/dist/esm/useChildElements-5a1262d5.js +0 -21
- package/dist/esm-es5/ShadowViewAddon-34b985aa.js +0 -1
- package/dist/esm-es5/index.module-8e654eb1.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-52b5e3b9.js +0 -1
- package/dist/esm-es5/sqm-qa-referral-card.entry.js +0 -1
- package/dist/esm-es5/sqm-qa-tabs.entry.js +0 -1
- package/dist/esm-es5/sqm-qa.entry.js +0 -1
- package/dist/esm-es5/use-callback-69ec5c5c.js +0 -1
- package/dist/esm-es5/useChildElements-5a1262d5.js +0 -1
- package/dist/esm-es5/useReferralTable-6c14c78f.js +0 -1
- package/dist/mint-components/p-03d611e6.system.entry.js +0 -1
- package/dist/mint-components/p-1260d387.entry.js +0 -1
- package/dist/mint-components/p-1670c8d5.system.entry.js +0 -1
- package/dist/mint-components/p-28002477.system.js +0 -1
- package/dist/mint-components/p-36ff7a62.entry.js +0 -1
- package/dist/mint-components/p-4392ba94.js +0 -1
- package/dist/mint-components/p-4587520e.entry.js +0 -1
- package/dist/mint-components/p-45d161fe.entry.js +0 -1
- package/dist/mint-components/p-46ed891a.entry.js +0 -1
- package/dist/mint-components/p-47aa639f.system.entry.js +0 -1
- package/dist/mint-components/p-494c99f7.js +0 -1
- package/dist/mint-components/p-4b34c8b6.system.js +0 -1
- package/dist/mint-components/p-4c2cec5c.system.entry.js +0 -1
- package/dist/mint-components/p-4c93df52.entry.js +0 -1
- package/dist/mint-components/p-4e89da81.js +0 -1
- package/dist/mint-components/p-505d8965.system.entry.js +0 -1
- package/dist/mint-components/p-6d0a42f8.system.entry.js +0 -1
- package/dist/mint-components/p-72435015.entry.js +0 -99
- package/dist/mint-components/p-9c58002f.entry.js +0 -1
- package/dist/mint-components/p-af290d9f.entry.js +0 -1
- package/dist/mint-components/p-b670cff3.system.js +0 -1
- package/dist/mint-components/p-b7b610d9.entry.js +0 -1
- package/dist/mint-components/p-bc796bc0.system.js +0 -1
- package/dist/mint-components/p-bdf8f103.js +0 -1
- package/dist/mint-components/p-c0221050.entry.js +0 -13
- package/dist/mint-components/p-c2b5997d.entry.js +0 -1
- package/dist/mint-components/p-c7514dbd.system.entry.js +0 -1
- package/dist/mint-components/p-c7eaa296.system.entry.js +0 -1
- package/dist/mint-components/p-c9977e50.system.entry.js +0 -1
- package/dist/mint-components/p-ca2819e8.system.js +0 -1
- package/dist/mint-components/p-cdabe7a8.js +0 -1
- package/dist/mint-components/p-d0f1cc06.entry.js +0 -9
- package/dist/mint-components/p-d3c61681.system.js +0 -1
- package/dist/mint-components/p-dc2120a9.entry.js +0 -13
- package/dist/mint-components/p-dec7a657.entry.js +0 -1
- package/dist/mint-components/p-e0140005.system.entry.js +0 -1
- package/dist/mint-components/p-e647c594.entry.js +0 -1
- package/dist/mint-components/p-fb8715c9.system.entry.js +0 -1
- package/dist/mint-components/p-fcb6bc22.entry.js +0 -1
- package/dist/mint-components/p-fd2e16a3.system.entry.js +0 -1
- package/dist/types/components/sqm-qa/sqm-qa.d.ts +0 -250
- package/dist/types/components/sqm-qa-referral-card/ReferralCard.stories.d.ts +0 -14
- package/dist/types/components/sqm-qa-referral-card/sqm-referral-card-view.d.ts +0 -9
- package/dist/types/components/sqm-qa-referral-card/sqm-referral-card.d.ts +0 -20
- package/dist/types/components/sqm-qa-tabs/Tabs.stories.d.ts +0 -15
- package/dist/types/components/sqm-qa-tabs/sqm-tabs-view.d.ts +0 -9
- package/dist/types/components/sqm-qa-tabs/sqm-tabs.d.ts +0 -23
- package/dist/types/components/sqm-qa-tabs/useTabs.d.ts +0 -9
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-plop-target.d.ts +0 -11
- package/docs/grapesjs.js +0 -54
|
@@ -7,7 +7,7 @@ import { useShareCode } from "./useShareCode";
|
|
|
7
7
|
import deepmerge from "deepmerge";
|
|
8
8
|
/**
|
|
9
9
|
* @uiName Share Code
|
|
10
|
-
* @exampleGroup
|
|
10
|
+
* @exampleGroup Sharing
|
|
11
11
|
* @example Share Code - <sqm-share-code tooltip-text="Copied to Clipboard" tooltip-lifespan="1000"></sqm-share-code>
|
|
12
12
|
*/
|
|
13
13
|
export class ShareCode {
|
|
@@ -7,7 +7,7 @@ import { getProps } from "../../utils/utils";
|
|
|
7
7
|
import deepmerge from "deepmerge";
|
|
8
8
|
/**
|
|
9
9
|
* @uiName Share Link
|
|
10
|
-
* @exampleGroup
|
|
10
|
+
* @exampleGroup Sharing
|
|
11
11
|
* @example Share Link - <sqm-share-link tooltip-text="Copied to Clipboard" tooltip-lifespan="1000"></sqm-share-link>
|
|
12
12
|
*/
|
|
13
13
|
export class ShareLink {
|
|
@@ -6,7 +6,7 @@ import { getProps } from "../../utils/utils";
|
|
|
6
6
|
* @uiName Stat Container
|
|
7
7
|
* @slots [{"name":"", "title":"Stats"}]
|
|
8
8
|
* @exampleGroup Statistics
|
|
9
|
-
* @example Container with Three Stats - <sqm-stat-container space="xxx-large" display="flex"><sqm-big-stat flex-reverse="true" alignment="left" stat-type="/rewardBalance/CREDIT/POINT/value/global">Points Balance</sqm-big-stat><sqm-big-stat flex-reverse="true" alignment="left" stat-type="/integrationRewardsCountFiltered/AVAILABLE/global">Giftcards Earned</sqm-big-stat><sqm-big-stat flex-reverse="true" alignment="left" stat-type="/referralsCount">Referrals</sqm-big-stat></sqm-stat-container>
|
|
9
|
+
* @example Container with Three Stats - <sqm-stat-container space="xxx-large" display="flex"><sqm-big-stat flex-reverse="true" alignment="left" stat-type="/rewardBalance/CREDIT/POINT/value/global"><p>Points Balance</p></sqm-big-stat><sqm-big-stat flex-reverse="true" alignment="left" stat-type="/integrationRewardsCountFiltered/AVAILABLE/global"><p>Giftcards Earned</p></sqm-big-stat><sqm-big-stat flex-reverse="true" alignment="left" stat-type="/referralsCount"><p>Referrals</p></sqm-big-stat></sqm-stat-container>
|
|
10
10
|
*/
|
|
11
11
|
export class StatContainer {
|
|
12
12
|
constructor() {
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { withHooks } from "@saasquatch/stencil-hooks";
|
|
1
2
|
import { Component, h, Prop } from "@stencil/core";
|
|
3
|
+
import { useRequestRerender } from "../../tables/re-render";
|
|
2
4
|
import { TabView } from "./sqm-tab-view";
|
|
3
5
|
/**
|
|
4
6
|
* @uiName Tab
|
|
@@ -8,7 +10,12 @@ import { TabView } from "./sqm-tab-view";
|
|
|
8
10
|
* @example Tab - <sqm-tab header="Example"><p>This is an example tab. Add your own content here.</p></sqm-tab>
|
|
9
11
|
*/
|
|
10
12
|
export class Tab {
|
|
13
|
+
constructor() {
|
|
14
|
+
withHooks(this);
|
|
15
|
+
}
|
|
16
|
+
disconnectedCallback() { }
|
|
11
17
|
render() {
|
|
18
|
+
useRequestRerender([this.header]);
|
|
12
19
|
return (h(TabView, null,
|
|
13
20
|
h("slot", null)));
|
|
14
21
|
}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import { Component, h, Prop, Host } from "@stencil/core";
|
|
2
|
+
/**
|
|
3
|
+
* @uiName Table Cell
|
|
4
|
+
* @slots [{"name":"", "title":"Cell Content"}]
|
|
5
|
+
*/
|
|
2
6
|
export class TableCell {
|
|
3
7
|
constructor() {
|
|
8
|
+
/** @uiName Column Span */
|
|
4
9
|
this.colspan = 1;
|
|
10
|
+
/** @uiName Padding */
|
|
5
11
|
this.padding = "15px 10px";
|
|
6
12
|
}
|
|
7
13
|
render() {
|
|
@@ -23,7 +29,10 @@ export class TableCell {
|
|
|
23
29
|
"required": false,
|
|
24
30
|
"optional": false,
|
|
25
31
|
"docs": {
|
|
26
|
-
"tags": [
|
|
32
|
+
"tags": [{
|
|
33
|
+
"text": "Column Span",
|
|
34
|
+
"name": "uiName"
|
|
35
|
+
}],
|
|
27
36
|
"text": ""
|
|
28
37
|
},
|
|
29
38
|
"attribute": "colspan",
|
|
@@ -41,7 +50,10 @@ export class TableCell {
|
|
|
41
50
|
"required": false,
|
|
42
51
|
"optional": false,
|
|
43
52
|
"docs": {
|
|
44
|
-
"tags": [
|
|
53
|
+
"tags": [{
|
|
54
|
+
"text": "Padding",
|
|
55
|
+
"name": "uiName"
|
|
56
|
+
}],
|
|
45
57
|
"text": ""
|
|
46
58
|
},
|
|
47
59
|
"attribute": "padding",
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import { Component, h, Host, Prop } from "@stencil/core";
|
|
2
|
+
/**
|
|
3
|
+
* @uiName Table Row
|
|
4
|
+
* @slots [{"name":"", "title":"Row Content"}]
|
|
5
|
+
*/
|
|
2
6
|
export class TableRow {
|
|
3
7
|
constructor() {
|
|
8
|
+
/**
|
|
9
|
+
* @uiName Border
|
|
10
|
+
*/
|
|
4
11
|
this.border = "1px solid #EAEAEA";
|
|
5
12
|
}
|
|
6
13
|
render() {
|
|
@@ -22,7 +29,10 @@ export class TableRow {
|
|
|
22
29
|
"required": false,
|
|
23
30
|
"optional": false,
|
|
24
31
|
"docs": {
|
|
25
|
-
"tags": [
|
|
32
|
+
"tags": [{
|
|
33
|
+
"text": "Border",
|
|
34
|
+
"name": "uiName"
|
|
35
|
+
}],
|
|
26
36
|
"text": ""
|
|
27
37
|
},
|
|
28
38
|
"attribute": "border",
|
|
@@ -7,9 +7,8 @@ import { useTabs } from "./useTabs";
|
|
|
7
7
|
* @uiName Tab Group
|
|
8
8
|
* @slots [{"name":"", "title":"Tabs","validChildren":["sqm-tab"]}]
|
|
9
9
|
* @exampleGroup Layout
|
|
10
|
-
* @
|
|
11
|
-
* @example
|
|
12
|
-
* @example Loyalty Tab Group - <sqm-tabs placement="top"> <sqm-tab header="Leaderboard"> <sqm-leaderboard usersheading="Users" statsheading="Points Earned" rankheading="Rank" rank-type="rowNumber" leaderboard-type="topPointEarners" show-rank anonymous-user="Anonymous User" > <sqm-empty empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_leaderboard2.png" empty-state-header="View your rank in the leaderboard" empty-state-text="Be the first to earn points and reach the top of the leaderboard" ></sqm-empty ></sqm-leaderboard> </sqm-tab> <sqm-tab header="Reward history"> <sqm-rewards-table ><sqm-rewards-table-reward-column available-text="{availableAmount} remaining" column-title="Reward" copy-text="Copied!" redeemed-text="{redeemedAmount} redeemed" > </sqm-rewards-table-reward-column> <sqm-rewards-table-source-column anonymous-user="Anonymous User" column-title="Source" deleted-user="Deleted User" referral-text="{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}" reward-exchange-text="Reward Exchange" reward-source-text="{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}" > </sqm-rewards-table-source-column><sqm-rewards-table-status-column column-title="Status" expiry-text="Expires on " status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }"></sqm-rewards-table-status-column><sqm-rewards-table-date-column column-title="Date received" date-shown="dateGiven"></sqm-rewards-table-date-column><sqm-empty empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png" empty-state-header="View your rewards" empty-state-text="Refer friends and complete tasks to view the details of your rewards"></sqm-empty></sqm-rewards-table></sqm-tab><sqm-tab header="Redeem"><sqm-reward-exchange-list back-text="Back" button-text="Exchange Rewards" cancel-text="Cancel" choose-amount-title="Select" choose-reward-title="Rewards" confirmation-title="Confirm" continue-text="Continue" continue-to-confirmation-text="Continue to confirmation" done-text="Done" reward-title="Choose a reward" not-available-error="{unavailableReasonCode, select, US_TAX {US Tax limit} INSUFFICIENT_REDEEMABLE_CREDIT {{sourceValue} required} AVAILABILITY_PREDICATE {Not available} other {{unavailableReasonCode}} }" not-enough-error="Not enough {sourceUnit} to redeem for this reward" query-error="Unable to load reward exchange list. Please try again" redeem-text="Redeem" redeem-title="Confirm and redeem" redemption-error="An error occured trying to redeem this reward. Please try again" redemption-success-text="Redeemed {sourceValue} for {destinationValue}" select-text="Select amount to receive" source-amount-message="{ruleType, select, FIXED_GLOBAL_REWARD {{sourceValue}} other {{sourceMinValue} to {sourceMaxValue}}}" tooltiptext="Copied" reward-name-title="Reward" reward-amount-title="Reward Amount" cost-title="Cost to Redeem" reward-redeemed-text="Reward redeemed" skeleton-card-num="8" promo-code="Promo Code" tooltip-text="Copied!"><sqm-empty empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_exchange2.png" empty-state-header="Redeem rewards" empty-state-text="Use your points to redeem rewards once they become available"></sqm-empty></sqm-reward-exchange-list></sqm-tab></sqm-tabs>
|
|
10
|
+
* @canvasRenderer always-replace
|
|
11
|
+
* @example Generic Tab Group - <sqm-tabs><sqm-tab header="Tab 1"><p>This is the first tab</p></sqm-tab><sqm-tab header="Tab 2"><p>This is the second tab</p></sqm-tab><sqm-tab header="Tab 3"><p>This is the third tab</p></sqm-tab></sqm-tabs>
|
|
13
12
|
*/
|
|
14
13
|
export class Tabs {
|
|
15
14
|
constructor() {
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { useHost } from "@saasquatch/component-boilerplate";
|
|
2
2
|
import { useEffect, useMemo } from "@saasquatch/universal-hooks";
|
|
3
|
+
import { useRerenderListener } from "../../tables/re-render";
|
|
3
4
|
import { useChildElements } from "../../tables/useChildElements";
|
|
4
5
|
const REVEAL_EVENT = "sq:reveal";
|
|
5
6
|
export function useTabs() {
|
|
6
7
|
const rawTabs = useChildElements();
|
|
7
8
|
const host = useHost();
|
|
9
|
+
const tick = useRerenderListener();
|
|
8
10
|
const tabs = useMemo(() => rawTabs
|
|
9
11
|
.filter((tab) => tab.tagName === "SQM-TAB" || tab.tagName === "RAISINS-PLOP-TARGET")
|
|
10
12
|
.map((tab, i) => {
|
|
@@ -21,7 +23,7 @@ export function useTabs() {
|
|
|
21
23
|
// set id as targets for scroll component
|
|
22
24
|
tab.setAttribute("id", "tab-" + i);
|
|
23
25
|
return tab;
|
|
24
|
-
}), [rawTabs]);
|
|
26
|
+
}), [rawTabs, tick]);
|
|
25
27
|
useEffect(() => {
|
|
26
28
|
const listener = (e) => {
|
|
27
29
|
var _a;
|
|
@@ -12,7 +12,7 @@ import { useTaskCard } from "./useTaskCard";
|
|
|
12
12
|
* @uiOrder ["reward-amount", "reward-unit", "card-title", "description", "repeatable", "finite", "show-progress-bar", "stat-type", "progress-source", "goal", "steps", "progress-bar-unit", "show-expiry", "reward-duration", "button-text", "button-link", "open-new-tab", "ended-message", "expiry-message", "starts-on-message", "event-key", "*"]
|
|
13
13
|
* @exampleGroup Rewards
|
|
14
14
|
* @example One Time Task Card - <sqm-task-card reward-amount="1" reward-unit="Free Month" goal="1" card-title="Upgrade Your Plan" description="Receive one free month for being a committed customer when you upgrade your plan." button-text="Upgrade" completed-text="Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}" ended-message="Ended {endDate}" expiry-message="Ends {endDate}" open-new-tab="false" finite="0" starts-on-message="Starts {startDate}"></sqm-task-card>
|
|
15
|
-
* @example Repeatable Task Card - <sqm-task-card reward-amount="250" goal="500" show-progress-bar card-title="Spend $500" description="Earn
|
|
15
|
+
* @example Repeatable Task Card - <sqm-task-card reward-amount="250" goal="500" show-progress-bar card-title="Spend $500" description="Earn 250 points when you spend $500 or more." button-text="See plans" completed-text="Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}" ended-message="Ended {endDate}" expiry-message="Ends {endDate}" progress-bar-unit="$" finite="0" repeatable="" reward-unit="Points" starts-on-message="Starts {startDate}"></sqm-task-card>
|
|
16
16
|
* @example Event Sending Task Card - <sqm-task-card goal="1" reward-amount="50" card-title="Follow Us on Twitter" description="Earn 50 points when you follow us on Twitter!" button-text="Follow" button-link="https://twitter.com/" open-new-tab="true" event-key="socialFollow" completed-text="Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}" ended-message="Ended {endDate}" expiry-message="Ends {endDate}" finite="0" reward-unit="Points" starts-on-message="Starts {startDate}"></sqm-task-card>
|
|
17
17
|
*/
|
|
18
18
|
export class TaskCard {
|
|
@@ -45,7 +45,7 @@ export class TaskCard {
|
|
|
45
45
|
*/
|
|
46
46
|
this.repeatable = false;
|
|
47
47
|
/**
|
|
48
|
-
* The number of times a
|
|
48
|
+
* The number of times a task can be completed when repeatable. Use zero for no limit (the default).
|
|
49
49
|
*
|
|
50
50
|
* @uiName Repeat Amount
|
|
51
51
|
* @uiGroup Reward
|
|
@@ -280,7 +280,7 @@ export class TaskCard {
|
|
|
280
280
|
"text": "Reward",
|
|
281
281
|
"name": "uiGroup"
|
|
282
282
|
}],
|
|
283
|
-
"text": "The number of times a
|
|
283
|
+
"text": "The number of times a task can be completed when repeatable. Use zero for no limit (the default)."
|
|
284
284
|
},
|
|
285
285
|
"attribute": "finite",
|
|
286
286
|
"reflect": false,
|
|
@@ -52,13 +52,6 @@ const vanillaStyle = `
|
|
|
52
52
|
* @slots [{"name":"", "title":"Text"}]
|
|
53
53
|
* @slotEditor richText
|
|
54
54
|
* @canvasRenderer always-replace
|
|
55
|
-
* @exampleGroup Typography
|
|
56
|
-
* @example H1 - <sqm-text><h1>H1 Header Text</h1></sqm-text>
|
|
57
|
-
* @example H2 - <sqm-text><h2>H2 Header Text</h2></sqm-text>
|
|
58
|
-
* @example H3 - <sqm-text><h3>H3 Header Text</h3></sqm-text>
|
|
59
|
-
* @example H4 - <sqm-text><h4>H4 Header Text</h4></sqm-text>
|
|
60
|
-
* @example Paragraph - <sqm-text><p>Paragraph Text</p></sqm-text>
|
|
61
|
-
* @canvasRenderer always-replace
|
|
62
55
|
*/
|
|
63
56
|
export class Text {
|
|
64
57
|
constructor() {
|
|
@@ -6,7 +6,7 @@ import { PortalSectionView } from "./sqm-portal-section-view";
|
|
|
6
6
|
* @uiName Titled Section
|
|
7
7
|
* @slots [{"name":"label", "title":"Label"},{"name":"content", "title":"Content"}]
|
|
8
8
|
* @exampleGroup Layout
|
|
9
|
-
* @example Titled Section - <sqm-titled-section text-align="center" label-margin="small" padding="none"><div slot="label">Section Label</div><div slot="content">Add your section content here!</div></sqm-titled-section>
|
|
9
|
+
* @example Titled Section - <sqm-titled-section text-align="center" label-margin="small" padding="none"><div slot="label"><h2>Section Label</h2></div><div slot="content"><p>Add your section content here!</p></div></sqm-titled-section>
|
|
10
10
|
*/
|
|
11
11
|
export class TitledSection {
|
|
12
12
|
constructor() {
|
|
@@ -7,7 +7,7 @@ import { useUserName } from "./useUserName";
|
|
|
7
7
|
/**
|
|
8
8
|
* @uiName User Name
|
|
9
9
|
* @exampleGroup Common Components
|
|
10
|
-
* @example User Name Display - <sqm-user-name fallback="Anonymous User"></sqm-user-name>
|
|
10
|
+
* @example User Name Display - <sqm-user-name fallback="Anonymous User" loading-text="..."></sqm-user-name>
|
|
11
11
|
*/
|
|
12
12
|
export class UserName {
|
|
13
13
|
constructor() {
|
|
@@ -577,10 +577,6 @@ html {
|
|
|
577
577
|
:root {
|
|
578
578
|
--sqm-header-background: var(--sl-color-white);
|
|
579
579
|
--sqm-footer-background: var(--sl-color-white);
|
|
580
|
-
|
|
581
|
-
// --st-color-text-error, --st-content-max-width, --st-content-background, and --st-portal-background are no longer provided by mint-component
|
|
582
|
-
// These variables should be supplied by the Service Titan project
|
|
583
|
-
|
|
584
580
|
--sqm-color-text-error: #e63717;
|
|
585
581
|
--sqm-content-max-width: 700px;
|
|
586
582
|
--sqm-content-background: var(--sl-color-white);
|
|
@@ -589,6 +585,7 @@ html {
|
|
|
589
585
|
--sqm-portal-main-width: 900px;
|
|
590
586
|
--sqm-max-width: 1280px;
|
|
591
587
|
}
|
|
588
|
+
|
|
592
589
|
body {
|
|
593
590
|
font-family: var(--sl-font-sans);
|
|
594
591
|
font-size: var(--sl-font-size-medium);
|
|
@@ -599,14 +596,7 @@ body {
|
|
|
599
596
|
margin: 0;
|
|
600
597
|
background-color: var(--sqm-portal-background);
|
|
601
598
|
}
|
|
602
|
-
|
|
603
|
-
a:visited {
|
|
604
|
-
text-decoration: none;
|
|
605
|
-
color: var(--sl-color-primary-500);
|
|
606
|
-
}
|
|
607
|
-
a:hover {
|
|
608
|
-
color: var(--sl-color-primary-600);
|
|
609
|
-
}
|
|
599
|
+
|
|
610
600
|
// .terms-link,
|
|
611
601
|
// .terms-link:visited {
|
|
612
602
|
// color: var(--sl-color-gray-500);
|
|
@@ -578,10 +578,6 @@ html {
|
|
|
578
578
|
:root {
|
|
579
579
|
--sqm-header-background: var(--sl-color-white);
|
|
580
580
|
--sqm-footer-background: var(--sl-color-white);
|
|
581
|
-
|
|
582
|
-
// --st-color-text-error, --st-content-max-width, --st-content-background, and --st-portal-background are no longer provided by mint-component
|
|
583
|
-
// These variables should be supplied by the Service Titan project
|
|
584
|
-
|
|
585
581
|
--sqm-color-text-error: #e63717;
|
|
586
582
|
--sqm-content-max-width: 700px;
|
|
587
583
|
--sqm-content-background: var(--sl-color-white);
|
|
@@ -590,6 +586,7 @@ html {
|
|
|
590
586
|
--sqm-portal-main-width: 900px;
|
|
591
587
|
--sqm-max-width: 1280px;
|
|
592
588
|
}
|
|
589
|
+
|
|
593
590
|
body {
|
|
594
591
|
font-family: var(--sl-font-sans);
|
|
595
592
|
font-size: var(--sl-font-size-medium);
|
|
@@ -600,14 +597,7 @@ body {
|
|
|
600
597
|
margin: 0;
|
|
601
598
|
background-color: var(--sqm-portal-background);
|
|
602
599
|
}
|
|
603
|
-
|
|
604
|
-
a:visited {
|
|
605
|
-
text-decoration: none;
|
|
606
|
-
color: var(--sl-color-primary-500);
|
|
607
|
-
}
|
|
608
|
-
a:hover {
|
|
609
|
-
color: var(--sl-color-primary-600);
|
|
610
|
-
}
|
|
600
|
+
|
|
611
601
|
// .terms-link,
|
|
612
602
|
// .terms-link:visited {
|
|
613
603
|
// color: var(--sl-color-gray-500);
|
|
@@ -100,10 +100,10 @@ export function GenericTableView(props) {
|
|
|
100
100
|
return (h("tr", { style: {
|
|
101
101
|
borderTop: `${!data.textOverrides.showLabels && i === 0 ? "none" : ""}`,
|
|
102
102
|
}, part: "table-row" }, row.map((cell, j) => {
|
|
103
|
-
return (h("td", { class: (hiddenCols === null || hiddenCols === void 0 ? void 0 : hiddenCols.includes(j)) ? "hidden" : "", "data-label": columns[j] + ":", style: {
|
|
103
|
+
return typeof columns[j] === "string" ? (h("td", { class: (hiddenCols === null || hiddenCols === void 0 ? void 0 : hiddenCols.includes(j)) ? "hidden" : "", "data-label": columns[j] + ":", style: {
|
|
104
104
|
gridTemplateColumns: (hiddenCols === null || hiddenCols === void 0 ? void 0 : hiddenCols.includes(j)) ? "1fr"
|
|
105
105
|
: "0.5fr 0.5fr",
|
|
106
|
-
} }, cell));
|
|
106
|
+
} }, cell)) : (h("td", null));
|
|
107
107
|
})));
|
|
108
108
|
})))),
|
|
109
109
|
h("div", { class: sheet.classes.ButtonContainer, part: states.namespace + "-button-wrapper" },
|
|
@@ -1,18 +1,27 @@
|
|
|
1
1
|
import { useHost } from "@saasquatch/component-boilerplate";
|
|
2
|
-
import {
|
|
2
|
+
import { useMemo, useState } from "@saasquatch/universal-hooks";
|
|
3
3
|
export function useChildElements() {
|
|
4
4
|
const host = useHost();
|
|
5
5
|
const initialState = host.children.length
|
|
6
6
|
? Array.from(host.children)
|
|
7
7
|
: [];
|
|
8
8
|
const [childElements, setChildElements] = useState(initialState);
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
let observer;
|
|
10
|
+
// Create observer once
|
|
11
|
+
useMemo(() => {
|
|
12
|
+
observer = new MutationObserver(() => {
|
|
11
13
|
const children = Array.from(host.children);
|
|
12
14
|
setChildElements([...children]);
|
|
13
15
|
});
|
|
16
|
+
}, []);
|
|
17
|
+
// Listen to host and observe / disconnect
|
|
18
|
+
useMemo(() => {
|
|
19
|
+
if (!observer)
|
|
20
|
+
return;
|
|
14
21
|
observer.observe(host, { childList: true });
|
|
15
|
-
return () =>
|
|
22
|
+
return () => {
|
|
23
|
+
observer.disconnect();
|
|
24
|
+
};
|
|
16
25
|
}, [host]);
|
|
17
26
|
return childElements;
|
|
18
27
|
}
|
|
@@ -101,10 +101,10 @@ function GenericTableView(props) {
|
|
|
101
101
|
return (h("tr", { style: {
|
|
102
102
|
borderTop: `${!data.textOverrides.showLabels && i === 0 ? "none" : ""}`,
|
|
103
103
|
}, part: "table-row" }, row.map((cell, j) => {
|
|
104
|
-
return (h("td", { class: (hiddenCols === null || hiddenCols === void 0 ? void 0 : hiddenCols.includes(j)) ? "hidden" : "", "data-label": columns[j] + ":", style: {
|
|
104
|
+
return typeof columns[j] === "string" ? (h("td", { class: (hiddenCols === null || hiddenCols === void 0 ? void 0 : hiddenCols.includes(j)) ? "hidden" : "", "data-label": columns[j] + ":", style: {
|
|
105
105
|
gridTemplateColumns: (hiddenCols === null || hiddenCols === void 0 ? void 0 : hiddenCols.includes(j)) ? "1fr"
|
|
106
106
|
: "0.5fr 0.5fr",
|
|
107
|
-
} }, cell));
|
|
107
|
+
} }, cell)) : (h("td", null));
|
|
108
108
|
})));
|
|
109
109
|
})))),
|
|
110
110
|
h("div", { class: sheet.classes.ButtonContainer, part: states.namespace + "-button-wrapper" },
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { h, c as Host, d as getAssetPath, g as getElement } from './index-17b4da69.js';
|
|
2
|
-
import { i as useState, b as browser, k as useMemo } from './stencil-hooks.module-
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import { d as dist,
|
|
2
|
+
import { i as useState, b as browser, k as useMemo } from './stencil-hooks.module-eefa3570.js';
|
|
3
|
+
import { i as intl } from './global-5b9a6254.js';
|
|
4
|
+
import { d as dist, W, _ as _$1, c as cn, E as Ee, Q, k as getEnvironmentSDK, H } from './index.module-f1d6a79a.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { H as HostBlock, A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-f60a614c.js';
|
|
7
7
|
import { c as createStyleSheet, j as jss, a as create } from './JSS-f00f9536.js';
|
|
8
|
-
import { u as useChildElements } from './useChildElements-
|
|
9
|
-
import { l as luxon } from './luxon-
|
|
8
|
+
import { u as useChildElements } from './useChildElements-06e99bd3.js';
|
|
9
|
+
import { l as luxon } from './luxon-5a398612.js';
|
|
10
10
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
11
11
|
import { T as TextSpanView } from './sqm-text-span-view-0ba1484d.js';
|
|
12
12
|
import { P as PortalContainerView } from './sqm-portal-container-view-ca454627.js';
|
|
@@ -359,11 +359,11 @@ const WIDGET_ENGAGEMENT_EVENT = dist.gql `
|
|
|
359
359
|
`;
|
|
360
360
|
function useShareLink(props) {
|
|
361
361
|
var _a, _b;
|
|
362
|
-
const { programId =
|
|
363
|
-
const user =
|
|
364
|
-
const engagementMedium =
|
|
365
|
-
const { data } =
|
|
366
|
-
const [sendLoadEvent] =
|
|
362
|
+
const { programId = W() } = props;
|
|
363
|
+
const user = _$1();
|
|
364
|
+
const engagementMedium = Q();
|
|
365
|
+
const { data } = cn(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
366
|
+
const [sendLoadEvent] = Ee(WIDGET_ENGAGEMENT_EVENT);
|
|
367
367
|
const shareString = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.shareLink) !== null && _b !== void 0 ? _b :
|
|
368
368
|
// Shown during loading
|
|
369
369
|
"...";
|
|
@@ -448,17 +448,17 @@ function GenericShare(res) {
|
|
|
448
448
|
function useShareButton(props) {
|
|
449
449
|
var _a, _b;
|
|
450
450
|
const { sharetitle, sharetext, medium } = props;
|
|
451
|
-
const programId = props.programId ? props.programId :
|
|
452
|
-
const user =
|
|
451
|
+
const programId = props.programId ? props.programId : W();
|
|
452
|
+
const user = _$1();
|
|
453
453
|
const variables = {
|
|
454
|
-
engagementMedium:
|
|
454
|
+
engagementMedium: Q(),
|
|
455
455
|
programId: programId,
|
|
456
456
|
shareMedium: medium.toUpperCase(),
|
|
457
457
|
};
|
|
458
458
|
// only queries if a programId is available
|
|
459
|
-
const res =
|
|
459
|
+
const res = cn(MessageLinkQuery$1, variables, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
|
|
460
460
|
const directLink = (_b = (_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.shareLink;
|
|
461
|
-
const environment =
|
|
461
|
+
const environment = getEnvironmentSDK();
|
|
462
462
|
const hide = (medium.toLocaleUpperCase() === "SMS" &&
|
|
463
463
|
window.orientation === undefined) ||
|
|
464
464
|
(medium.toLocaleUpperCase() === "DIRECT" && !window.navigator.share);
|
|
@@ -774,7 +774,7 @@ function pathToRegexp(path, keys, options) {
|
|
|
774
774
|
const debug = browser("sq:useBigStat");
|
|
775
775
|
const LOADING = "...";
|
|
776
776
|
const debugQuery = (query, variables, getStat) => {
|
|
777
|
-
const res =
|
|
777
|
+
const res = cn(query, variables);
|
|
778
778
|
if (!(res === null || res === void 0 ? void 0 : res.data) && !res.loading) {
|
|
779
779
|
console.error("issue getting stat:", res);
|
|
780
780
|
}
|
|
@@ -1332,11 +1332,11 @@ const StatPaths = [
|
|
|
1332
1332
|
const StatPatterns = StatPaths.map((pattern) => pathToRegexp(pattern.route));
|
|
1333
1333
|
function useBigStat(props) {
|
|
1334
1334
|
var _a;
|
|
1335
|
-
const { statType, flexReverse, alignment, programId =
|
|
1335
|
+
const { statType, flexReverse, alignment, programId = W(), } = props;
|
|
1336
1336
|
// triggers a re-render if the label is manually changed
|
|
1337
1337
|
useChildElements();
|
|
1338
|
-
const locale =
|
|
1339
|
-
const userIdent =
|
|
1338
|
+
const locale = H();
|
|
1339
|
+
const userIdent = _$1();
|
|
1340
1340
|
const re = useMemo(() => StatPatterns.find((re) => re.exec(statType)), [statType]);
|
|
1341
1341
|
if (!(re === null || re === void 0 ? void 0 : re.exec(statType))) {
|
|
1342
1342
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as getAugmentedNamespace, c as createCommonjsModule, a as commonjsGlobal, b as browser, l as l$1 } from './stencil-hooks.module-
|
|
2
|
-
import { s as src, m as memoize,
|
|
1
|
+
import { g as getAugmentedNamespace, c as createCommonjsModule, a as commonjsGlobal, b as browser, l as l$1 } from './stencil-hooks.module-eefa3570.js';
|
|
2
|
+
import { s as src, m as memoize, O } from './index.module-f1d6a79a.js';
|
|
3
3
|
|
|
4
4
|
var __assign = (undefined && undefined.__assign) || function () {
|
|
5
5
|
__assign = Object.assign || function(t) {
|
|
@@ -26481,10 +26481,6 @@ html {
|
|
|
26481
26481
|
:root {
|
|
26482
26482
|
--sqm-header-background: var(--sl-color-white);
|
|
26483
26483
|
--sqm-footer-background: var(--sl-color-white);
|
|
26484
|
-
|
|
26485
|
-
// --st-color-text-error, --st-content-max-width, --st-content-background, and --st-portal-background are no longer provided by mint-component
|
|
26486
|
-
// These variables should be supplied by the Service Titan project
|
|
26487
|
-
|
|
26488
26484
|
--sqm-color-text-error: #e63717;
|
|
26489
26485
|
--sqm-content-max-width: 700px;
|
|
26490
26486
|
--sqm-content-background: var(--sl-color-white);
|
|
@@ -26493,6 +26489,7 @@ html {
|
|
|
26493
26489
|
--sqm-portal-main-width: 900px;
|
|
26494
26490
|
--sqm-max-width: 1280px;
|
|
26495
26491
|
}
|
|
26492
|
+
|
|
26496
26493
|
body {
|
|
26497
26494
|
font-family: var(--sl-font-sans);
|
|
26498
26495
|
font-size: var(--sl-font-size-medium);
|
|
@@ -26503,14 +26500,7 @@ body {
|
|
|
26503
26500
|
margin: 0;
|
|
26504
26501
|
background-color: var(--sqm-portal-background);
|
|
26505
26502
|
}
|
|
26506
|
-
|
|
26507
|
-
a:visited {
|
|
26508
|
-
text-decoration: none;
|
|
26509
|
-
color: var(--sl-color-primary-500);
|
|
26510
|
-
}
|
|
26511
|
-
a:hover {
|
|
26512
|
-
color: var(--sl-color-primary-600);
|
|
26513
|
-
}
|
|
26503
|
+
|
|
26514
26504
|
// .terms-link,
|
|
26515
26505
|
// .terms-link:visited {
|
|
26516
26506
|
// color: var(--sl-color-gray-500);
|
|
@@ -26639,7 +26629,7 @@ sl-input::part(label){
|
|
|
26639
26629
|
|
|
26640
26630
|
`;
|
|
26641
26631
|
|
|
26642
|
-
|
|
26632
|
+
O(l$1);
|
|
26643
26633
|
const debug = browser("sq:global");
|
|
26644
26634
|
const cache = createIntlCache();
|
|
26645
26635
|
const intl = createIntl({
|