@saasquatch/mint-components 1.15.0-53 → 1.15.0-55
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/{IndirectTaxDetailsView-6e117dd3.js → IndirectTaxDetailsView-dfef88aa.js} +2 -2
- package/dist/cjs/{ShadowViewAddon-e1bcffe2.js → ShadowViewAddon-26f92307.js} +13 -13
- package/dist/cjs/{data-68a42a7b.js → data-d4339c2e.js} +1 -1
- package/dist/cjs/{stencil-hooks.module-62264802.js → dom-context-hooks.module-7fa676ae.js} +17 -17
- package/dist/cjs/{global-6d0d196d.js → global-adc86686.js} +11844 -11855
- package/dist/cjs/{index.module-39955732.js → index.module-4f54e412.js} +191 -191
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{luxon-3b809948.js → luxon-949beaf2.js} +2 -2
- package/dist/cjs/mint-components.cjs.js +3 -3
- package/dist/cjs/{mockRewardData-baa02051.js → mockRewardData-df37c8a3.js} +1 -1
- package/dist/cjs/{re-render-28fed959.js → re-render-d516138a.js} +4 -4
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +87 -87
- package/dist/cjs/sqm-big-stat_42.cjs.entry.js +101 -101
- package/dist/cjs/sqm-close-button.cjs.entry.js +3 -3
- package/dist/cjs/sqm-code-verification.cjs.entry.js +14 -14
- package/dist/cjs/sqm-context-router.cjs.entry.js +9 -9
- package/dist/cjs/sqm-email-verification.cjs.entry.js +11 -11
- package/dist/cjs/sqm-empty_4.cjs.entry.js +6 -6
- package/dist/cjs/sqm-form-message.cjs.entry.js +2 -2
- package/dist/cjs/sqm-google-sign-in.cjs.entry.js +13 -13
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +5 -5
- package/dist/cjs/sqm-header-logo.cjs.entry.js +2 -2
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +5 -5
- package/dist/cjs/sqm-invoice-table-data-cell_5.cjs.entry.js +5 -5
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +4 -4
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-navigation-sidebar-item-view-188bfc41.js → sqm-navigation-sidebar-item-view-ec7a5c53.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +4 -4
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +5 -5
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +10 -10
- package/dist/cjs/sqm-password-field.cjs.entry.js +8 -8
- package/dist/cjs/sqm-popup-container.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-email-verification-view-14ea3a91.js → sqm-portal-email-verification-view-8e45fe79.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +12 -12
- package/dist/cjs/{sqm-portal-forgot-password-view-7519a332.js → sqm-portal-forgot-password-view-0a8d3243.js} +1 -1
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-google-login.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +8 -8
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-profile-view-570d2ae3.js → sqm-portal-profile-view-d467ee35.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +12 -12
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +5 -5
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +7 -7
- package/dist/cjs/sqm-qr-code.cjs.entry.js +9 -9
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +19 -19
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +5 -5
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -4
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +20 -20
- package/dist/cjs/sqm-scroll.cjs.entry.js +2 -2
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +46 -46
- package/dist/cjs/sqm-tab.cjs.entry.js +4 -4
- package/dist/cjs/sqm-tabs.cjs.entry.js +7 -7
- package/dist/cjs/sqm-tax-and-cash.cjs.entry.js +12 -12
- package/dist/cjs/sqm-text-span.cjs.entry.js +2 -2
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +7 -7
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +5 -5
- package/dist/cjs/{useChildElements-e5fa605c.js → useChildElements-966c9041.js} +5 -5
- package/dist/cjs/{useInstantAccessRegistration-86b7164c.js → useInstantAccessRegistration-08bcb487.js} +4 -4
- package/dist/cjs/{usePayoutStatus-3cca69e5.js → usePayoutStatus-3b34dab1.js} +5 -5
- package/dist/cjs/{usePortalLogin-e246988e.js → usePortalLogin-1c022d8d.js} +3 -3
- package/dist/cjs/{usePortalRegistrationForm-d28621de.js → usePortalRegistrationForm-75b647fe.js} +6 -6
- package/dist/cjs/{useReferralCodes-a47dcbc2.js → useReferralCodes-11cdf43b.js} +3 -3
- package/dist/cjs/{useReferralTable-19e7523a.js → useReferralTable-90d4d6e9.js} +9 -9
- package/dist/cjs/{useRegistrationFormState-5f44ca80.js → useRegistrationFormState-bbee6e7b.js} +6 -6
- package/dist/cjs/{useVerificationEmail-1496b993.js → useVerificationEmail-9dd3997a.js} +6 -6
- package/dist/cjs/{utilities-be3ce1f8.js → utilities-9a0c5e91.js} +4 -4
- package/dist/cjs/{utils-0b09e2cb.js → utils-5c07844e.js} +1 -1
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +2 -2
- package/dist/collection/global/global.js +24 -12
- package/dist/collection/global/styles.js +65 -89
- package/dist/collection/global/styles.ts +54 -101
- package/dist/esm/{IndirectTaxDetailsView-2eff2cc8.js → IndirectTaxDetailsView-db6a9748.js} +2 -2
- package/dist/esm/{ShadowViewAddon-dc890af9.js → ShadowViewAddon-bb9a8dd5.js} +9 -9
- package/dist/esm/{data-ce8ed0ae.js → data-ee3ae298.js} +1 -1
- package/dist/esm/{stencil-hooks.module-20ad2b5f.js → dom-context-hooks.module-63370afd.js} +12 -12
- package/dist/esm/{global-64286824.js → global-f50c85cf.js} +11836 -11847
- package/dist/esm/{index.module-d49ae5e7.js → index.module-38dad6c9.js} +153 -153
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{luxon-793b7f13.js → luxon-bbf75a9d.js} +1 -1
- package/dist/esm/mint-components.js +3 -3
- package/dist/esm/{mockRewardData-3d8fe7b0.js → mockRewardData-96a2d26d.js} +1 -1
- package/dist/esm/{re-render-789f9123.js → re-render-9c90767d.js} +2 -2
- package/dist/esm/sqm-banking-info-form_10.entry.js +11 -11
- package/dist/esm/sqm-big-stat_42.entry.js +12 -12
- package/dist/esm/sqm-close-button.entry.js +2 -2
- package/dist/esm/sqm-code-verification.entry.js +4 -4
- package/dist/esm/sqm-context-router.entry.js +2 -2
- package/dist/esm/sqm-email-verification.entry.js +4 -4
- package/dist/esm/sqm-empty_4.entry.js +3 -3
- package/dist/esm/sqm-form-message.entry.js +1 -1
- package/dist/esm/sqm-google-sign-in.entry.js +2 -2
- package/dist/esm/sqm-graphql-client-provider.entry.js +2 -2
- package/dist/esm/sqm-header-logo.entry.js +1 -1
- package/dist/esm/sqm-instant-access-registration.entry.js +4 -4
- package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +2 -2
- package/dist/esm/sqm-leaderboard-rank.entry.js +3 -3
- package/dist/esm/sqm-logout-current-user.entry.js +2 -2
- package/dist/esm/{sqm-navigation-sidebar-item-view-30c52ccd.js → sqm-navigation-sidebar-item-view-797601b0.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
- package/dist/esm/sqm-navigation-sidebar.entry.js +2 -2
- package/dist/esm/sqm-pagination_3.entry.js +4 -4
- package/dist/esm/sqm-password-field.entry.js +3 -3
- package/dist/esm/sqm-popup-container.entry.js +2 -2
- package/dist/esm/{sqm-portal-email-verification-view-86d50913.js → sqm-portal-email-verification-view-ca131d3b.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +4 -4
- package/dist/esm/{sqm-portal-forgot-password-view-dc6b4f26.js → sqm-portal-forgot-password-view-0e795cdd.js} +1 -1
- package/dist/esm/sqm-portal-forgot-password.entry.js +3 -3
- package/dist/esm/sqm-portal-google-login.entry.js +3 -3
- package/dist/esm/sqm-portal-google-registration-form.entry.js +4 -4
- package/dist/esm/sqm-portal-logout.entry.js +2 -2
- package/dist/esm/{sqm-portal-profile-view-c2b82f77.js → sqm-portal-profile-view-3358dd68.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +5 -5
- package/dist/esm/sqm-portal-protected-route.entry.js +2 -2
- package/dist/esm/sqm-portal-registration-form.entry.js +4 -4
- package/dist/esm/sqm-portal-reset-password.entry.js +2 -2
- package/dist/esm/sqm-portal-verify-email.entry.js +2 -2
- package/dist/esm/sqm-qr-code.entry.js +3 -3
- package/dist/esm/sqm-referral-table_11.entry.js +8 -8
- package/dist/esm/sqm-referred-registration.entry.js +4 -4
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +3 -3
- package/dist/esm/sqm-rewards-table_9.entry.js +8 -8
- package/dist/esm/sqm-scroll.entry.js +1 -1
- package/dist/esm/sqm-stencilbook.entry.js +14 -14
- package/dist/esm/sqm-tab.entry.js +3 -3
- package/dist/esm/sqm-tabs.entry.js +4 -4
- package/dist/esm/sqm-tax-and-cash.entry.js +5 -5
- package/dist/esm/sqm-text-span.entry.js +1 -1
- package/dist/esm/sqm-widget-verification-controller.entry.js +2 -2
- package/dist/esm/sqm-widget-verification.entry.js +2 -2
- package/dist/esm/{useChildElements-0ca9a015.js → useChildElements-4e70ac0e.js} +2 -2
- package/dist/esm/{useInstantAccessRegistration-b224f3ce.js → useInstantAccessRegistration-0f04459e.js} +3 -3
- package/dist/esm/{usePayoutStatus-e92a6e43.js → usePayoutStatus-7eeec61b.js} +2 -2
- package/dist/esm/{usePortalLogin-6b1951c6.js → usePortalLogin-61abe78e.js} +2 -2
- package/dist/esm/{usePortalRegistrationForm-61bf948d.js → usePortalRegistrationForm-afc0171e.js} +3 -3
- package/dist/esm/{useReferralCodes-0b798295.js → useReferralCodes-311e6d72.js} +2 -2
- package/dist/esm/{useReferralTable-c1511d9d.js → useReferralTable-65a01a6a.js} +4 -4
- package/dist/esm/{useRegistrationFormState-2db047e9.js → useRegistrationFormState-18c2cea7.js} +2 -2
- package/dist/esm/{useVerificationEmail-085eda87.js → useVerificationEmail-f9413de9.js} +2 -2
- package/dist/esm/{utilities-6341d9fd.js → utilities-ad9c2893.js} +2 -2
- package/dist/esm/{utils-517e9b20.js → utils-0e4cc3fb.js} +1 -1
- package/dist/esm-es5/{IndirectTaxDetailsView-2eff2cc8.js → IndirectTaxDetailsView-db6a9748.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-bb9a8dd5.js +1 -0
- package/dist/esm-es5/{data-ce8ed0ae.js → data-ee3ae298.js} +1 -1
- package/dist/esm-es5/dom-context-hooks.module-63370afd.js +53 -0
- package/dist/esm-es5/{global-64286824.js → global-f50c85cf.js} +5 -5
- package/dist/esm-es5/index.module-38dad6c9.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/luxon-bbf75a9d.js +1 -0
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{mockRewardData-3d8fe7b0.js → mockRewardData-96a2d26d.js} +1 -1
- package/dist/esm-es5/re-render-9c90767d.js +1 -0
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_42.entry.js +1 -1
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-context-router.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-form-message.entry.js +1 -1
- package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-invoice-table-data-cell_5.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-30c52ccd.js → sqm-navigation-sidebar-item-view-797601b0.js} +1 -1
- 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-pagination_3.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-86d50913.js → sqm-portal-email-verification-view-ca131d3b.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-forgot-password-view-dc6b4f26.js → sqm-portal-forgot-password-view-0e795cdd.js} +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-c2b82f77.js → sqm-portal-profile-view-3358dd68.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-qr-code.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-referred-registration.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-scroll.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-tax-and-cash.entry.js +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
- package/dist/esm-es5/useChildElements-4e70ac0e.js +1 -0
- package/dist/esm-es5/useInstantAccessRegistration-0f04459e.js +1 -0
- package/dist/esm-es5/{usePayoutStatus-e92a6e43.js → usePayoutStatus-7eeec61b.js} +1 -1
- package/dist/esm-es5/usePortalLogin-61abe78e.js +1 -0
- package/dist/esm-es5/usePortalRegistrationForm-afc0171e.js +1 -0
- package/dist/esm-es5/useReferralCodes-311e6d72.js +1 -0
- package/dist/esm-es5/useReferralTable-65a01a6a.js +1 -0
- package/dist/esm-es5/useRegistrationFormState-18c2cea7.js +1 -0
- package/dist/esm-es5/useVerificationEmail-f9413de9.js +1 -0
- package/dist/esm-es5/utilities-ad9c2893.js +1 -0
- package/dist/esm-es5/{utils-517e9b20.js → utils-0e4cc3fb.js} +1 -1
- package/dist/mint-components/global/styles.ts +54 -101
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-ac71b501.js → p-000c91b1.js} +1 -1
- package/dist/mint-components/{p-de3ef27e.js → p-08700497.js} +1 -1
- package/dist/mint-components/{p-edf6bf2e.system.entry.js → p-08a77d1e.system.entry.js} +1 -1
- package/dist/mint-components/p-0bb21f5b.system.entry.js +1 -0
- package/dist/mint-components/{p-1f82181b.system.entry.js → p-0cba75e6.system.entry.js} +1 -1
- package/dist/mint-components/{p-8408b84b.entry.js → p-0de7e5ec.entry.js} +1 -1
- package/dist/mint-components/{p-a341ce23.js → p-0e59a91e.js} +1 -1
- package/dist/mint-components/{p-d6c151e3.system.js → p-0ea61502.system.js} +1 -1
- package/dist/mint-components/{p-99a82e5a.system.entry.js → p-14128c84.system.entry.js} +1 -1
- package/dist/mint-components/{p-167be4b9.system.js → p-15012f59.system.js} +1 -1
- package/dist/mint-components/{p-5a44e1d2.system.entry.js → p-16f9453d.system.entry.js} +1 -1
- package/dist/mint-components/{p-9b52645f.entry.js → p-189e1995.entry.js} +1 -1
- package/dist/mint-components/{p-8f6e124b.system.entry.js → p-19703136.system.entry.js} +1 -1
- package/dist/mint-components/{p-b6bdf89e.entry.js → p-1a278658.entry.js} +1 -1
- package/dist/mint-components/{p-6c0c466f.system.js → p-1c1f4ce7.system.js} +1 -1
- package/dist/mint-components/p-209ea185.js +1 -0
- package/dist/mint-components/{p-37e58170.system.entry.js → p-2487d469.system.entry.js} +1 -1
- package/dist/mint-components/{p-d5b01068.system.entry.js → p-2ce028bd.system.entry.js} +1 -1
- package/dist/mint-components/{p-d54fa68e.entry.js → p-3191e4a8.entry.js} +1 -1
- package/dist/mint-components/{p-799d62fe.entry.js → p-327125c2.entry.js} +1 -1
- package/dist/mint-components/{p-9199ab6d.system.entry.js → p-33d55ad7.system.entry.js} +1 -1
- package/dist/mint-components/{p-4e5dff09.system.entry.js → p-35061d76.system.entry.js} +1 -1
- package/dist/mint-components/{p-9c73e84d.entry.js → p-366028ad.entry.js} +2 -2
- package/dist/mint-components/{p-305cbc9b.entry.js → p-367b702e.entry.js} +1 -1
- package/dist/mint-components/{p-20b2f691.js → p-3787a4d6.js} +1 -1
- package/dist/mint-components/{p-b3f6377c.system.js → p-380e5257.system.js} +1 -1
- package/dist/mint-components/{p-01c508cc.js → p-3851d145.js} +1 -1
- package/dist/mint-components/{p-67ca8443.system.entry.js → p-3c546860.system.entry.js} +1 -1
- package/dist/mint-components/{p-bcee8002.entry.js → p-3c9ca9be.entry.js} +2 -2
- package/dist/mint-components/{p-ff3c651c.js → p-3cb249c3.js} +1 -1
- package/dist/mint-components/{p-7f499d2f.system.js → p-3dc34570.system.js} +1 -1
- package/dist/mint-components/{p-deca5ec3.system.entry.js → p-3e3b15ea.system.entry.js} +1 -1
- package/dist/mint-components/{p-54212ad6.system.js → p-42da8239.system.js} +1 -1
- package/dist/mint-components/{p-50ee4d5e.js → p-45c444fb.js} +1 -1
- package/dist/mint-components/{p-a11426b2.js → p-460155de.js} +1 -1
- package/dist/mint-components/p-4731a666.entry.js +11 -0
- package/dist/mint-components/p-485e2d9f.system.entry.js +1 -0
- package/dist/mint-components/{p-3ca0adb2.system.entry.js → p-498eff1a.system.entry.js} +1 -1
- package/dist/mint-components/{p-e05d092a.entry.js → p-4a9aaf3d.entry.js} +1 -1
- package/dist/mint-components/{p-2378a0dd.entry.js → p-4aed3645.entry.js} +1 -1
- package/dist/mint-components/{p-037da77e.js → p-4d19270b.js} +1 -1
- package/dist/mint-components/{p-dbf52a1f.js → p-4f384ad0.js} +1 -1
- package/dist/mint-components/p-4f5329a2.system.js +53 -0
- package/dist/mint-components/{p-6491939b.entry.js → p-5210f021.entry.js} +11 -11
- package/dist/mint-components/{p-e7aa4f3b.system.js → p-578a27c8.system.js} +1 -1
- package/dist/mint-components/{p-b12bd1e1.js → p-581d3a24.js} +1 -1
- package/dist/mint-components/{p-a39c3535.system.entry.js → p-587115cb.system.entry.js} +1 -1
- package/dist/mint-components/{p-1e79befd.entry.js → p-5f3483c4.entry.js} +1 -1
- package/dist/mint-components/{p-5856f946.system.js → p-5fa75265.system.js} +1 -1
- package/dist/mint-components/{p-f03bd6ad.system.js → p-61ea13c4.system.js} +1 -1
- package/dist/mint-components/p-63e29387.js +42 -0
- package/dist/mint-components/{p-620e625b.system.entry.js → p-655bd421.system.entry.js} +1 -1
- package/dist/mint-components/{p-84079726.entry.js → p-65ed872f.entry.js} +1 -1
- package/dist/mint-components/p-672d144e.entry.js +1 -0
- package/dist/mint-components/{p-3206d0a4.js → p-6ad674c2.js} +1 -1
- package/dist/mint-components/p-6d2d4f7c.entry.js +1 -0
- package/dist/mint-components/{p-c1821c6d.entry.js → p-6e069052.entry.js} +1 -1
- package/dist/mint-components/p-6f812969.entry.js +13 -0
- package/dist/mint-components/{p-1d46f8fa.system.entry.js → p-7059ee40.system.entry.js} +1 -1
- package/dist/mint-components/{p-02c92db1.system.js → p-7159c51c.system.js} +1 -1
- package/dist/mint-components/{p-bd11230d.system.js → p-734dde9b.system.js} +1 -1
- package/dist/mint-components/{p-edfa670f.system.entry.js → p-77e96216.system.entry.js} +1 -1
- package/dist/mint-components/{p-b0362941.js → p-7970e73a.js} +1 -1
- package/dist/mint-components/{p-bdb9e05a.system.entry.js → p-7af4fba0.system.entry.js} +1 -1
- package/dist/mint-components/{p-4edcf988.system.entry.js → p-7b635ed8.system.entry.js} +1 -1
- package/dist/mint-components/{p-36bbd4de.entry.js → p-7b8d29bb.entry.js} +1 -1
- package/dist/mint-components/{p-aadb1a8a.system.js → p-7ccd64de.system.js} +1 -1
- package/dist/mint-components/{p-74eaa3c0.js → p-862845d7.js} +2 -2
- package/dist/mint-components/{p-3f35ded4.entry.js → p-87196574.entry.js} +1 -1
- package/dist/mint-components/{p-f826665a.entry.js → p-884a1b19.entry.js} +1 -1
- package/dist/mint-components/p-8b1d837f.entry.js +1 -0
- package/dist/mint-components/{p-322c1e5e.entry.js → p-8dc1cd0f.entry.js} +1 -1
- package/dist/mint-components/{p-9841c478.system.js → p-8e28333b.system.js} +1 -1
- package/dist/mint-components/p-8e2bead4.js +1 -0
- package/dist/mint-components/{p-79a50a65.entry.js → p-8ef2f30c.entry.js} +1 -1
- package/dist/mint-components/p-91014439.system.js +1 -0
- package/dist/mint-components/{p-dccfe305.system.entry.js → p-910f56ca.system.entry.js} +1 -1
- package/dist/mint-components/{p-efd2b6ec.system.entry.js → p-949ca517.system.entry.js} +1 -1
- package/dist/mint-components/{p-238fcec6.entry.js → p-94f9fbf7.entry.js} +1 -1
- package/dist/mint-components/{p-1fb297f9.entry.js → p-9616a0ef.entry.js} +5 -5
- package/dist/mint-components/{p-b6083f58.system.entry.js → p-987036b6.system.entry.js} +1 -1
- package/dist/mint-components/{p-a2e377aa.system.entry.js → p-99921ce8.system.entry.js} +1 -1
- package/dist/mint-components/{p-51810653.system.entry.js → p-99af44e3.system.entry.js} +1 -1
- package/dist/mint-components/{p-b4638167.entry.js → p-9e297104.entry.js} +1 -1
- package/dist/mint-components/{p-e524056f.entry.js → p-9f82e69d.entry.js} +1 -1
- package/dist/mint-components/p-9f86f878.js +394 -0
- package/dist/mint-components/p-9fb8b33a.system.js +1 -0
- package/dist/mint-components/{p-7371218f.system.entry.js → p-a07e0930.system.entry.js} +1 -1
- package/dist/mint-components/{p-04007292.system.js → p-a148663a.system.js} +1 -1
- package/dist/mint-components/{p-4904d54f.system.js → p-a42e6ab3.system.js} +1 -1
- package/dist/mint-components/{p-43ce09f0.entry.js → p-a7ee19dc.entry.js} +1 -1
- package/dist/mint-components/{p-d7cbca3c.system.entry.js → p-a8b53df1.system.entry.js} +1 -1
- package/dist/mint-components/{p-27903fca.entry.js → p-a91408bf.entry.js} +1 -1
- package/dist/mint-components/{p-71bc7f52.system.js → p-aa0f597a.system.js} +22 -22
- package/dist/mint-components/{p-7d456d0a.system.entry.js → p-ac2fdad8.system.entry.js} +1 -1
- package/dist/mint-components/{p-22405668.entry.js → p-b065215a.entry.js} +1 -1
- package/dist/mint-components/{p-92d706e7.entry.js → p-b11d89bd.entry.js} +1 -1
- package/dist/mint-components/{p-73feb66f.js → p-b22b7891.js} +2 -2
- package/dist/mint-components/{p-5c362093.system.js → p-b24ca3e9.system.js} +1 -1
- package/dist/mint-components/{p-8c126ccb.system.entry.js → p-b35ceac8.system.entry.js} +1 -1
- package/dist/mint-components/{p-5fbbc259.system.entry.js → p-b3da317b.system.entry.js} +1 -1
- package/dist/mint-components/{p-c2b880ef.entry.js → p-b3fc88b2.entry.js} +2 -2
- package/dist/mint-components/{p-37c4ae42.entry.js → p-b5346a5a.entry.js} +1 -1
- package/dist/mint-components/{p-4115e328.system.entry.js → p-b64f7dcb.system.entry.js} +1 -1
- package/dist/mint-components/{p-b143d532.system.entry.js → p-b70ef2f5.system.entry.js} +1 -1
- package/dist/mint-components/{p-992ff197.entry.js → p-bac0b56a.entry.js} +2 -2
- package/dist/mint-components/p-bed793fd.js +1233 -0
- package/dist/mint-components/{p-9697bb3f.system.entry.js → p-c29e07a9.system.entry.js} +1 -1
- package/dist/mint-components/{p-8278225e.entry.js → p-c3884e55.entry.js} +1 -1
- package/dist/mint-components/p-c4886223.entry.js +1 -0
- package/dist/mint-components/{p-59270c5f.system.entry.js → p-ca96a20f.system.entry.js} +1 -1
- package/dist/mint-components/p-cab1f502.js +1 -0
- package/dist/mint-components/{p-08cf4237.system.entry.js → p-d0a25912.system.entry.js} +1 -1
- package/dist/mint-components/{p-f2ebbbe3.system.entry.js → p-d2699bed.system.entry.js} +1 -1
- package/dist/mint-components/{p-a9be22a6.system.entry.js → p-d2d15c86.system.entry.js} +1 -1
- package/dist/mint-components/{p-2f2bced4.system.js → p-d399162b.system.js} +1 -1
- package/dist/mint-components/p-d4a8298d.entry.js +1 -0
- package/dist/mint-components/{p-7dc10820.system.js → p-d821418e.system.js} +1 -1
- package/dist/mint-components/p-d8c5b80a.system.js +1 -0
- package/dist/mint-components/{p-0714554e.system.entry.js → p-da6fe95f.system.entry.js} +1 -1
- package/dist/mint-components/{p-df34f189.system.entry.js → p-dbe29e53.system.entry.js} +1 -1
- package/dist/mint-components/{p-191c1dbf.entry.js → p-df9bea7a.entry.js} +1 -1
- package/dist/mint-components/{p-27bb9d05.entry.js → p-e27ff213.entry.js} +1 -1
- package/dist/mint-components/p-e49b253f.entry.js +11 -0
- package/dist/mint-components/{p-cfce2cfa.system.js → p-e57d61af.system.js} +1 -1
- package/dist/mint-components/{p-71a0adcf.entry.js → p-e5d72a05.entry.js} +1 -1
- package/dist/mint-components/{p-4d8e3766.system.entry.js → p-eea87fdc.system.entry.js} +1 -1
- package/dist/mint-components/{p-cbc93735.system.entry.js → p-f13d0b4c.system.entry.js} +1 -1
- package/dist/mint-components/p-f307b716.js +1 -0
- package/dist/mint-components/{p-fa420231.js → p-f7700805.js} +1 -1
- package/dist/mint-components/{p-30826d8f.system.entry.js → p-f8520da2.system.entry.js} +1 -1
- package/dist/mint-components/{p-a44b7a52.system.js → p-fa6fba34.system.js} +1 -1
- package/dist/mint-components/{p-9713e9a9.entry.js → p-fa89e7d4.entry.js} +1 -1
- package/dist/mint-components/{p-33b13e55.system.entry.js → p-fb2976fc.system.entry.js} +1 -1
- package/dist/mint-components/{p-4b12067f.js → p-fb5be0c5.js} +1 -1
- package/dist/mint-components/p-fb77f662.entry.js +1 -0
- package/dist/mint-components/{p-73a761b4.system.entry.js → p-fc592a31.system.entry.js} +1 -1
- package/dist/types/global/global.d.ts +2 -2
- package/dist/types/global/styles.d.ts +1 -2
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/ShadowViewAddon-dc890af9.js +0 -1
- package/dist/esm-es5/index.module-d49ae5e7.js +0 -1
- package/dist/esm-es5/luxon-793b7f13.js +0 -1
- package/dist/esm-es5/re-render-789f9123.js +0 -1
- package/dist/esm-es5/stencil-hooks.module-20ad2b5f.js +0 -53
- package/dist/esm-es5/useChildElements-0ca9a015.js +0 -1
- package/dist/esm-es5/useInstantAccessRegistration-b224f3ce.js +0 -1
- package/dist/esm-es5/usePortalLogin-6b1951c6.js +0 -1
- package/dist/esm-es5/usePortalRegistrationForm-61bf948d.js +0 -1
- package/dist/esm-es5/useReferralCodes-0b798295.js +0 -1
- package/dist/esm-es5/useReferralTable-c1511d9d.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-2db047e9.js +0 -1
- package/dist/esm-es5/useVerificationEmail-085eda87.js +0 -1
- package/dist/esm-es5/utilities-6341d9fd.js +0 -1
- package/dist/mint-components/p-0126962c.entry.js +0 -1
- package/dist/mint-components/p-01dd6b18.system.js +0 -1
- package/dist/mint-components/p-055e6ebd.system.entry.js +0 -1
- package/dist/mint-components/p-0c327ec3.entry.js +0 -1
- package/dist/mint-components/p-106e808d.entry.js +0 -11
- package/dist/mint-components/p-1bdc4f94.system.entry.js +0 -1
- package/dist/mint-components/p-3168fa90.js +0 -1
- package/dist/mint-components/p-3174c756.entry.js +0 -1
- package/dist/mint-components/p-35b2fde0.js +0 -42
- package/dist/mint-components/p-66ac6bed.js +0 -1
- package/dist/mint-components/p-7e0c12e3.entry.js +0 -1
- package/dist/mint-components/p-88e32c4a.system.js +0 -53
- package/dist/mint-components/p-9b7745db.js +0 -394
- package/dist/mint-components/p-9cc40be1.entry.js +0 -1
- package/dist/mint-components/p-b4eca678.js +0 -1
- package/dist/mint-components/p-e078e746.js +0 -1248
- package/dist/mint-components/p-e13ed54a.entry.js +0 -1
- package/dist/mint-components/p-e523b22e.entry.js +0 -11
- package/dist/mint-components/p-e59eba75.entry.js +0 -13
- package/dist/mint-components/p-ea1eed5d.js +0 -1
- package/dist/mint-components/p-ecf91505.system.js +0 -1
- package/dist/mint-components/p-fca47a45.system.js +0 -1
- package/shoelace/assets/icons/twitter-x.svg +0 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const
|
|
4
|
-
const index_module = require('./index.module-
|
|
3
|
+
const domContextHooks_module = require('./dom-context-hooks.module-7fa676ae.js');
|
|
4
|
+
const index_module = require('./index.module-4f54e412.js');
|
|
5
5
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
6
6
|
const utils = require('./utils-6847bc06.js');
|
|
7
7
|
|
|
@@ -9,7 +9,7 @@ function usePortalLogin(props) {
|
|
|
9
9
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
10
10
|
const [request, { loading, errors, data }] = index_module.je();
|
|
11
11
|
const [loginWithGoogle, { loading: gLoading, errors: gErrors }] = index_module.hn();
|
|
12
|
-
const [error, setError] =
|
|
12
|
+
const [error, setError] = domContextHooks_module.useState("");
|
|
13
13
|
const urlParams = new URLSearchParams(index_module.jn.location.search);
|
|
14
14
|
const nextPageOverride = urlParams.get("nextPage");
|
|
15
15
|
const googleSubmit = async (e) => {
|
package/dist/cjs/{usePortalRegistrationForm-d28621de.js → usePortalRegistrationForm-75b647fe.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const
|
|
4
|
-
const index_module = require('./index.module-
|
|
3
|
+
const domContextHooks_module = require('./dom-context-hooks.module-7fa676ae.js');
|
|
4
|
+
const index_module = require('./index.module-4f54e412.js');
|
|
5
5
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
6
|
-
const useRegistrationFormState = require('./useRegistrationFormState-
|
|
6
|
+
const useRegistrationFormState = require('./useRegistrationFormState-bbee6e7b.js');
|
|
7
7
|
const AsYouType = require('./AsYouType-6788393a.js');
|
|
8
8
|
|
|
9
9
|
const RegistrationFormQuery = index_module.dist.gql `
|
|
@@ -21,13 +21,13 @@ const RegistrationFormQuery = index_module.dist.gql `
|
|
|
21
21
|
`;
|
|
22
22
|
function usePortalRegistrationForm(props) {
|
|
23
23
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
24
|
-
const formRef =
|
|
24
|
+
const formRef = domContextHooks_module.useRef(null);
|
|
25
25
|
const locale = index_module.L();
|
|
26
26
|
const { registrationFormState, setRegistrationFormState } = useRegistrationFormState.useRegistrationFormState({});
|
|
27
27
|
const [request, { loading, errors, data, formError }] = index_module.Oe();
|
|
28
28
|
const queryResponse = index_module.wn(RegistrationFormQuery, { key: props.formKey });
|
|
29
29
|
const formLoading = loading || queryResponse.loading;
|
|
30
|
-
|
|
30
|
+
domContextHooks_module.useEffect(() => {
|
|
31
31
|
var _a, _b, _c;
|
|
32
32
|
const initialData = (_a = queryResponse === null || queryResponse === void 0 ? void 0 : queryResponse.data) === null || _a === void 0 ? void 0 : _a.form.initialData.initialData;
|
|
33
33
|
const disabled = ((_b = queryResponse === null || queryResponse === void 0 ? void 0 : queryResponse.data) === null || _b === void 0 ? void 0 : _b.form.initialData.isEnabled) === false;
|
|
@@ -41,7 +41,7 @@ function usePortalRegistrationForm(props) {
|
|
|
41
41
|
};
|
|
42
42
|
setRegistrationFormState(formState);
|
|
43
43
|
}, [(_a = queryResponse === null || queryResponse === void 0 ? void 0 : queryResponse.data) === null || _a === void 0 ? void 0 : _a.form.initialData]);
|
|
44
|
-
|
|
44
|
+
domContextHooks_module.useEffect(() => {
|
|
45
45
|
if (!formRef.current)
|
|
46
46
|
return;
|
|
47
47
|
const form = formRef.current;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const
|
|
4
|
-
const index_module = require('./index.module-
|
|
3
|
+
const domContextHooks_module = require('./dom-context-hooks.module-7fa676ae.js');
|
|
4
|
+
const index_module = require('./index.module-4f54e412.js');
|
|
5
5
|
|
|
6
6
|
const GET_REFERRAL_CODES = index_module.dist.gql `
|
|
7
7
|
query getCodes(
|
|
@@ -99,7 +99,7 @@ function useReferralCodes(props) {
|
|
|
99
99
|
whatsapp: { messageLink: "" },
|
|
100
100
|
},
|
|
101
101
|
});
|
|
102
|
-
|
|
102
|
+
domContextHooks_module.useEffect(() => {
|
|
103
103
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
104
104
|
if ((_a = referralData === null || referralData === void 0 ? void 0 : referralData.data) === null || _a === void 0 ? void 0 : _a.length) {
|
|
105
105
|
const data = referralData.data[0];
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-a43a63b4.js');
|
|
4
|
-
const
|
|
5
|
-
const index_module = require('./index.module-
|
|
6
|
-
const reRender = require('./re-render-
|
|
7
|
-
const useChildElements = require('./useChildElements-
|
|
4
|
+
const domContextHooks_module = require('./dom-context-hooks.module-7fa676ae.js');
|
|
5
|
+
const index_module = require('./index.module-4f54e412.js');
|
|
6
|
+
const reRender = require('./re-render-d516138a.js');
|
|
7
|
+
const useChildElements = require('./useChildElements-966c9041.js');
|
|
8
8
|
|
|
9
|
-
const debug =
|
|
9
|
+
const debug = domContextHooks_module.browser("sq:useReferralTable");
|
|
10
10
|
const CSS_NAMESPACE = "sqm-referral-table";
|
|
11
11
|
const GET_REFERRER_DATA = index_module.dist.gql `
|
|
12
12
|
query getReferrals(
|
|
@@ -259,7 +259,7 @@ function useReferralTable(props, emptyElement, loadingElement) {
|
|
|
259
259
|
userId_eq: user === null || user === void 0 ? void 0 : user.id,
|
|
260
260
|
accountId_eq: user === null || user === void 0 ? void 0 : user.accountId,
|
|
261
261
|
};
|
|
262
|
-
const [content, setContent] =
|
|
262
|
+
const [content, setContent] = domContextHooks_module.useReducer((state, next) => ({
|
|
263
263
|
...state,
|
|
264
264
|
...next,
|
|
265
265
|
}), {
|
|
@@ -286,11 +286,11 @@ function useReferralTable(props, emptyElement, loadingElement) {
|
|
|
286
286
|
rewardFilter,
|
|
287
287
|
locale,
|
|
288
288
|
}, (props.showReferrer && referrerLoading && !referrerResponse) || !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
289
|
-
|
|
289
|
+
domContextHooks_module.useEffect(() => {
|
|
290
290
|
if (states.currentPage === 0 && showReferrerRow)
|
|
291
291
|
callbacks.setLimit(props.perPage - 1);
|
|
292
292
|
}, [showReferrerRow]);
|
|
293
|
-
|
|
293
|
+
domContextHooks_module.useEffect(() => {
|
|
294
294
|
if (props.showReferrer && showReferrerRow) {
|
|
295
295
|
callbacks.setLimit(props.perPage - 1);
|
|
296
296
|
callbacks.setCurrentPage(0);
|
|
@@ -327,7 +327,7 @@ function useReferralTable(props, emptyElement, loadingElement) {
|
|
|
327
327
|
// Set the content to render and finish loading components
|
|
328
328
|
setContent({ columns, loading: false, page: states.currentPage });
|
|
329
329
|
}
|
|
330
|
-
|
|
330
|
+
domContextHooks_module.useEffect(() => {
|
|
331
331
|
setContent({ loading: true });
|
|
332
332
|
referralData && getComponentData(components);
|
|
333
333
|
}, [referralData, components, tick]);
|
package/dist/cjs/{useRegistrationFormState-5f44ca80.js → useRegistrationFormState-bbee6e7b.js}
RENAMED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const
|
|
4
|
-
const index_module = require('./index.module-
|
|
3
|
+
const domContextHooks_module = require('./dom-context-hooks.module-7fa676ae.js');
|
|
4
|
+
const index_module = require('./index.module-4f54e412.js');
|
|
5
5
|
|
|
6
6
|
const REGISTRATION_FORM_STATE_CONTEXT = "sq:registration-form-state";
|
|
7
7
|
const REGISTRATION_FORM_STATE_CONTEXT_INTERNAL = "sq:registration-form-state-internal";
|
|
8
8
|
function useRegistrationForm() {
|
|
9
|
-
const parent =
|
|
10
|
-
const parentValue =
|
|
9
|
+
const parent = domContextHooks_module.d(REGISTRATION_FORM_STATE_CONTEXT_INTERNAL);
|
|
10
|
+
const parentValue = domContextHooks_module.d(REGISTRATION_FORM_STATE_CONTEXT);
|
|
11
11
|
if (!parent)
|
|
12
12
|
return [undefined, undefined];
|
|
13
13
|
return [parentValue, parent[1]];
|
|
14
14
|
}
|
|
15
15
|
function useRegistrationFormState(formState) {
|
|
16
16
|
const host = index_module._();
|
|
17
|
-
const [registrationFormState, setRegistrationFormState] =
|
|
18
|
-
|
|
17
|
+
const [registrationFormState, setRegistrationFormState] = domContextHooks_module.y(host, REGISTRATION_FORM_STATE_CONTEXT, formState);
|
|
18
|
+
domContextHooks_module.y(host, REGISTRATION_FORM_STATE_CONTEXT_INTERNAL, [
|
|
19
19
|
registrationFormState,
|
|
20
20
|
setRegistrationFormState,
|
|
21
21
|
]);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const
|
|
4
|
-
const index_module = require('./index.module-
|
|
3
|
+
const domContextHooks_module = require('./dom-context-hooks.module-7fa676ae.js');
|
|
4
|
+
const index_module = require('./index.module-4f54e412.js');
|
|
5
5
|
|
|
6
6
|
const UserLookupQuery = index_module.dist.gql `
|
|
7
7
|
query userLookup {
|
|
@@ -59,8 +59,8 @@ const SubmitImpactCodeMutation = index_module.dist.gql `
|
|
|
59
59
|
// ! is done before calling any mutations
|
|
60
60
|
function useVerificationEmail() {
|
|
61
61
|
const userIdentity = index_module.J();
|
|
62
|
-
const [verificationEmail, setVerificationEmail] =
|
|
63
|
-
const [hasEmails, setHasEmails] =
|
|
62
|
+
const [verificationEmail, setVerificationEmail] = domContextHooks_module.useState(null);
|
|
63
|
+
const [hasEmails, setHasEmails] = domContextHooks_module.useState({
|
|
64
64
|
participant: false,
|
|
65
65
|
impact: false,
|
|
66
66
|
});
|
|
@@ -75,7 +75,7 @@ function useVerificationEmail() {
|
|
|
75
75
|
const [submitImpactCode, { loading: submitImpactCodeLoading, errors: submitImpactCodeErrors },] = index_module.$e(SubmitImpactCodeMutation);
|
|
76
76
|
const verifyLoading = verifyMutationLoading || submitImpactCodeLoading;
|
|
77
77
|
const verifyErrors = verifyMutationErrors || submitImpactCodeErrors;
|
|
78
|
-
const [initialized, setInitialized] =
|
|
78
|
+
const [initialized, setInitialized] = domContextHooks_module.useState(false);
|
|
79
79
|
const initialise = async () => {
|
|
80
80
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
81
81
|
try {
|
|
@@ -152,7 +152,7 @@ function useVerificationEmail() {
|
|
|
152
152
|
return result;
|
|
153
153
|
}
|
|
154
154
|
};
|
|
155
|
-
|
|
155
|
+
domContextHooks_module.useEffect(() => {
|
|
156
156
|
if (!initialized)
|
|
157
157
|
initialise();
|
|
158
158
|
}, []);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const
|
|
4
|
-
const index_module = require('./index.module-
|
|
3
|
+
const domContextHooks_module = require('./dom-context-hooks.module-7fa676ae.js');
|
|
4
|
+
const index_module = require('./index.module-4f54e412.js');
|
|
5
5
|
|
|
6
6
|
// import { IntlMessageFormat } from 'intl-messageformat';
|
|
7
7
|
function isMobile(breakPoint) {
|
|
8
|
-
const [width, setWidth] =
|
|
8
|
+
const [width, setWidth] = domContextHooks_module.useState(window.innerWidth);
|
|
9
9
|
const handleWindowResize = index_module.useCallback(() => setWidth(window.innerWidth), []);
|
|
10
|
-
|
|
10
|
+
domContextHooks_module.useEffect(() => {
|
|
11
11
|
window.addEventListener("resize", handleWindowResize);
|
|
12
12
|
return () => window.removeEventListener("resize", handleWindowResize);
|
|
13
13
|
}, []);
|
|
@@ -26,12 +26,12 @@ export function TaskCardView(props) {
|
|
|
26
26
|
color: content.textColor || "var(--sqm-text)",
|
|
27
27
|
},
|
|
28
28
|
"& .main.complete": {
|
|
29
|
-
|
|
29
|
+
opacity: "0.8",
|
|
30
30
|
borderColor: "var(--sqm-accent-color-border)",
|
|
31
31
|
},
|
|
32
32
|
"& .main.expired": {
|
|
33
33
|
color: content.textColor || "var(--sqm-text)",
|
|
34
|
-
|
|
34
|
+
opacity: "0.8",
|
|
35
35
|
},
|
|
36
36
|
"& .title": {
|
|
37
37
|
fontSize: "var(--sl-font-size-medium)",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "@formatjs/intl-relativetimeformat/polyfill";
|
|
2
1
|
import "@formatjs/intl-relativetimeformat/dist/locale-data/en";
|
|
3
|
-
import "@formatjs/intl-
|
|
2
|
+
import "@formatjs/intl-relativetimeformat/polyfill";
|
|
3
|
+
import { createIntl, createIntlCache } from "@formatjs/intl";
|
|
4
4
|
import "@formatjs/intl-pluralrules/dist/locale-data/en";
|
|
5
|
-
import "
|
|
5
|
+
import "@formatjs/intl-pluralrules/polyfill";
|
|
6
|
+
import { getEnvironmentSDK, setUseHostImplementation, } from "@saasquatch/component-boilerplate";
|
|
6
7
|
import { useHost } from "@saasquatch/stencil-hooks";
|
|
7
|
-
import
|
|
8
|
-
import { createIntl, createIntlCache } from "@formatjs/intl";
|
|
8
|
+
import "babel-polyfill";
|
|
9
9
|
import debugFn from "debug";
|
|
10
10
|
setUseHostImplementation(useHost);
|
|
11
11
|
const debug = debugFn("sq:global");
|
|
@@ -13,7 +13,7 @@ const cache = createIntlCache();
|
|
|
13
13
|
export const intl = createIntl({
|
|
14
14
|
locale: "en",
|
|
15
15
|
}, cache);
|
|
16
|
-
import { SlAlert, SlAnimation, SlAvatar, SlBadge, SlButton, SlButtonGroup, SlCard, SlCheckbox, SlColorPicker, SlDetails, SlDialog, SlDrawer, SlDropdown, SlForm, SlFormatBytes, SlFormatDate, SlFormatNumber, SlIcon, SlIconButton, SlImageComparer, SlInclude, SlInput, SlMenu, SlMenuDivider, SlMenuItem, SlMenuLabel, SlProgressBar, SlProgressRing, SlRadio, SlRange, SlRating, SlRelativeTime, SlResizeObserver, SlResponsiveEmbed, SlSelect, SlSkeleton, SlSpinner, SlSwitch, SlTab, SlTabGroup, SlTabPanel, SlTag, SlTextarea, SlTooltip,
|
|
16
|
+
import { SlAlert, SlAnimation, SlAvatar, SlBadge, SlButton, SlButtonGroup, SlCard, SlCheckbox, SlColorPicker, SlDetails, SlDialog, SlDrawer, SlDropdown, SlForm, SlFormatBytes, SlFormatDate, SlFormatNumber, SlIcon, SlIconButton, SlImageComparer, SlInclude, SlInput, SlMenu, SlMenuDivider, SlMenuItem, SlMenuLabel, SlProgressBar, SlProgressRing, SlRadio, SlRange, SlRating, SlRelativeTime, SlResizeObserver, SlResponsiveEmbed, SlSelect, SlSkeleton, SlSpinner, SlSwitch, SlTab, SlTabGroup, SlTabPanel, SlTag, SlTextarea, SlTooltip, registerIconLibrary, setBasePath, } from "@saasquatch/shoelace";
|
|
17
17
|
try {
|
|
18
18
|
setBasePath("/dist/shoelace");
|
|
19
19
|
// SlAlert.register();
|
|
@@ -71,10 +71,22 @@ catch (error) {
|
|
|
71
71
|
debug("components already registered");
|
|
72
72
|
}
|
|
73
73
|
import { insertCSS } from "../insertcss";
|
|
74
|
-
import
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
74
|
+
import { getStyles } from "./styles";
|
|
75
|
+
const applyStyles = (css) => {
|
|
76
|
+
try {
|
|
77
|
+
insertCSS(css);
|
|
78
|
+
}
|
|
79
|
+
catch (error) {
|
|
80
|
+
debug(error);
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
if (getEnvironmentSDK().type === "None") {
|
|
84
|
+
window.addEventListener("message", ({ data }) => {
|
|
85
|
+
if (!(data === null || data === void 0 ? void 0 : data.brandingConfig))
|
|
86
|
+
return;
|
|
87
|
+
const styles = getStyles(data.brandingConfig);
|
|
88
|
+
applyStyles(styles);
|
|
89
|
+
});
|
|
80
90
|
}
|
|
91
|
+
const styles = getStyles(window.SquatchBrandingConfig);
|
|
92
|
+
applyStyles(styles);
|
|
@@ -70,8 +70,9 @@
|
|
|
70
70
|
--teal-6: #0b6270;
|
|
71
71
|
--teal-7: #004551;
|
|
72
72
|
} */
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
export const getStyles = (config) => {
|
|
74
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62;
|
|
75
|
+
return `
|
|
75
76
|
/* vietnamese */
|
|
76
77
|
@font-face {
|
|
77
78
|
font-family: 'Nunito Sans';
|
|
@@ -570,95 +571,70 @@ html {
|
|
|
570
571
|
--sqm-color-text-error: #e63717;
|
|
571
572
|
--sqm-content-max-width: 700px;
|
|
572
573
|
--sqm-content-background: var(--sl-color-white);
|
|
573
|
-
--sqm-portal-background: ${(
|
|
574
|
+
--sqm-portal-background: ${(_a = config === null || config === void 0 ? void 0 : config.color) === null || _a === void 0 ? void 0 : _a.backgroundColor};
|
|
574
575
|
--widget-background-color: var(--sl-color-white);
|
|
575
576
|
--sqm-portal-main-width: 900px;
|
|
576
577
|
--sqm-max-width: 100%;
|
|
577
578
|
--sqm-skeleton-background: #eee;
|
|
578
|
-
--sqm-text: ${((
|
|
579
|
-
--sqm-text-subdued: ${(
|
|
580
|
-
|
|
581
|
-
--sqm-primary-color: ${((
|
|
582
|
-
--sqm-primary-button-background:${((
|
|
583
|
-
"#1ed760"};
|
|
584
|
-
--sqm-primary-button-
|
|
585
|
-
|
|
586
|
-
--sqm-primary-button-color
|
|
587
|
-
--sqm-primary-button-
|
|
588
|
-
--sqm-primary-button-
|
|
589
|
-
--sqm-
|
|
590
|
-
|
|
591
|
-
--sqm-
|
|
592
|
-
--sqm-secondary-button-
|
|
593
|
-
--sqm-secondary-button-
|
|
594
|
-
--sqm-secondary-button-color-
|
|
595
|
-
--sqm-secondary-button-
|
|
596
|
-
|
|
597
|
-
"
|
|
598
|
-
--sqm-
|
|
599
|
-
|
|
600
|
-
--sqm-
|
|
601
|
-
|
|
602
|
-
--sqm-
|
|
603
|
-
--sqm-
|
|
604
|
-
|
|
605
|
-
--sqm-
|
|
606
|
-
|
|
607
|
-
--sqm-
|
|
608
|
-
--sqm-
|
|
609
|
-
--sqm-
|
|
610
|
-
--sqm-
|
|
611
|
-
"#0d4a27"};
|
|
612
|
-
|
|
613
|
-
--sqm-success-color-icon: ${((_45 = (_44 = (_43 = window.SquatchBrandingConfig) === null || _43 === void 0 ? void 0 : _43.color) === null || _44 === void 0 ? void 0 : _44.success) === null || _45 === void 0 ? void 0 : _45.iconAndBadge) ||
|
|
614
|
-
"var(--sl-color-success-600)"};
|
|
615
|
-
--sqm-success-color-text: ${((_48 = (_47 = (_46 = window.SquatchBrandingConfig) === null || _46 === void 0 ? void 0 : _46.color) === null || _47 === void 0 ? void 0 : _47.success) === null || _48 === void 0 ? void 0 : _48.text) ||
|
|
616
|
-
"var(--sl-color-success-950)"};
|
|
617
|
-
--sqm-success-color-border: ${((_51 = (_50 = (_49 = window.SquatchBrandingConfig) === null || _49 === void 0 ? void 0 : _49.color) === null || _50 === void 0 ? void 0 : _50.success) === null || _51 === void 0 ? void 0 : _51.border) ||
|
|
618
|
-
"var(--sl-color-success-400)"};
|
|
619
|
-
--sqm-success-color-background: ${((_54 = (_53 = (_52 = window.SquatchBrandingConfig) === null || _52 === void 0 ? void 0 : _52.color) === null || _53 === void 0 ? void 0 : _53.success) === null || _54 === void 0 ? void 0 : _54.background) ||
|
|
620
|
-
"var(--sl-color-success-300)"};
|
|
579
|
+
--sqm-text: ${((_c = (_b = config === null || config === void 0 ? void 0 : config.color) === null || _b === void 0 ? void 0 : _b.textColorShades) === null || _c === void 0 ? void 0 : _c.mainText) || "white"};
|
|
580
|
+
--sqm-text-subdued: ${(_e = (_d = config === null || config === void 0 ? void 0 : config.color) === null || _d === void 0 ? void 0 : _d.textColorShades) === null || _e === void 0 ? void 0 : _e.subduedText};
|
|
581
|
+
|
|
582
|
+
--sqm-primary-color: ${((_f = config === null || config === void 0 ? void 0 : config.main) === null || _f === void 0 ? void 0 : _f.brandColor) || "#1ed760"};
|
|
583
|
+
--sqm-primary-button-background:${((_h = (_g = config === null || config === void 0 ? void 0 : config.primaryButton) === null || _g === void 0 ? void 0 : _g.buttonColor) === null || _h === void 0 ? void 0 : _h.background) || "#1ed760"};
|
|
584
|
+
--sqm-primary-button-background-hover: ${((_k = (_j = config === null || config === void 0 ? void 0 : config.primaryButton) === null || _j === void 0 ? void 0 : _j.buttonHoverColor) === null || _k === void 0 ? void 0 : _k.background) || "#1ed760"};
|
|
585
|
+
--sqm-primary-button-color-hover: ${(_m = (_l = config === null || config === void 0 ? void 0 : config.primaryButton) === null || _l === void 0 ? void 0 : _l.buttonHoverColor) === null || _m === void 0 ? void 0 : _m.label};
|
|
586
|
+
--sqm-primary-button-border-color-hover: ${(_p = (_o = config === null || config === void 0 ? void 0 : config.primaryButton) === null || _o === void 0 ? void 0 : _o.buttonHoverColor) === null || _p === void 0 ? void 0 : _p.border};
|
|
587
|
+
--sqm-primary-button-color: ${((_r = (_q = config === null || config === void 0 ? void 0 : config.primaryButton) === null || _q === void 0 ? void 0 : _q.buttonColor) === null || _r === void 0 ? void 0 : _r.label) || "#FFFFFF"};
|
|
588
|
+
--sqm-primary-button-color-border: ${((_t = (_s = config === null || config === void 0 ? void 0 : config.primaryButton) === null || _s === void 0 ? void 0 : _s.buttonColor) === null || _t === void 0 ? void 0 : _t.border) || "transparent"};
|
|
589
|
+
--sqm-primary-button-radius: ${((_u = config === null || config === void 0 ? void 0 : config.primaryButton) === null || _u === void 0 ? void 0 : _u.borderRadius) + "px"};
|
|
590
|
+
--sqm-secondary-button-background: ${((_v = config === null || config === void 0 ? void 0 : config.secondaryButton) === null || _v === void 0 ? void 0 : _v.buttonColor) || "#191414"};
|
|
591
|
+
--sqm-secondary-button-background-hover: ${(_x = (_w = config === null || config === void 0 ? void 0 : config.secondaryButton) === null || _w === void 0 ? void 0 : _w.buttonHoverColor) === null || _x === void 0 ? void 0 : _x.background};
|
|
592
|
+
--sqm-secondary-button-color-hover: ${(_z = (_y = config === null || config === void 0 ? void 0 : config.secondaryButton) === null || _y === void 0 ? void 0 : _y.buttonHoverColor) === null || _z === void 0 ? void 0 : _z.label};
|
|
593
|
+
--sqm-secondary-button-border-color-hover: ${(_1 = (_0 = config === null || config === void 0 ? void 0 : config.secondaryButton) === null || _0 === void 0 ? void 0 : _0.buttonHoverColor) === null || _1 === void 0 ? void 0 : _1.border};
|
|
594
|
+
--sqm-secondary-button-color: ${((_3 = (_2 = config === null || config === void 0 ? void 0 : config.secondaryButton) === null || _2 === void 0 ? void 0 : _2.buttonColor) === null || _3 === void 0 ? void 0 : _3.label) || "#FFFFFF"};
|
|
595
|
+
--sqm-secondary-button-color-border: ${((_5 = (_4 = config === null || config === void 0 ? void 0 : config.secondaryButton) === null || _4 === void 0 ? void 0 : _4.buttonColor) === null || _5 === void 0 ? void 0 : _5.border) || "#FFFFFF"};
|
|
596
|
+
--sqm-secondary-button-radius: ${((_6 = config === null || config === void 0 ? void 0 : config.secondaryButton) === null || _6 === void 0 ? void 0 : _6.borderRadius) + "px"};
|
|
597
|
+
|
|
598
|
+
--sqm-border-radius-normal: ${((_7 = config === null || config === void 0 ? void 0 : config.border) === null || _7 === void 0 ? void 0 : _7.borderRadius) + "px"};
|
|
599
|
+
--sqm-border-color: ${(_8 = config === null || config === void 0 ? void 0 : config.border) === null || _8 === void 0 ? void 0 : _8.borderColor};
|
|
600
|
+
|
|
601
|
+
--sqm-border-thickness: ${((_9 = config === null || config === void 0 ? void 0 : config.border) === null || _9 === void 0 ? void 0 : _9.borderThickness) + "px"};
|
|
602
|
+
|
|
603
|
+
--sqm-accent-color-icon: ${((_11 = (_10 = config === null || config === void 0 ? void 0 : config.color) === null || _10 === void 0 ? void 0 : _10.accentColorShades) === null || _11 === void 0 ? void 0 : _11.icon) || "#1ed760"};
|
|
604
|
+
--sqm-accent-color-text: ${((_13 = (_12 = config === null || config === void 0 ? void 0 : config.color) === null || _12 === void 0 ? void 0 : _12.accentColorShades) === null || _13 === void 0 ? void 0 : _13.text) || "#fff"};
|
|
605
|
+
--sqm-accent-color-border: ${((_15 = (_14 = config === null || config === void 0 ? void 0 : config.color) === null || _14 === void 0 ? void 0 : _14.accentColorShades) === null || _15 === void 0 ? void 0 : _15.border) || "#1ed760"};
|
|
606
|
+
--sqm-accent-color-background: ${((_17 = (_16 = config === null || config === void 0 ? void 0 : config.color) === null || _16 === void 0 ? void 0 : _16.accentColorShades) === null || _17 === void 0 ? void 0 : _17.background) || "#0d4a27"};
|
|
607
|
+
|
|
608
|
+
--sqm-success-color-icon: ${((_19 = (_18 = config === null || config === void 0 ? void 0 : config.color) === null || _18 === void 0 ? void 0 : _18.success) === null || _19 === void 0 ? void 0 : _19.iconAndBadge) || "var(--sl-color-success-600)"};
|
|
609
|
+
--sqm-success-color-text: ${((_21 = (_20 = config === null || config === void 0 ? void 0 : config.color) === null || _20 === void 0 ? void 0 : _20.success) === null || _21 === void 0 ? void 0 : _21.text) || "var(--sl-color-success-950)"};
|
|
610
|
+
--sqm-success-color-border: ${((_23 = (_22 = config === null || config === void 0 ? void 0 : config.color) === null || _22 === void 0 ? void 0 : _22.success) === null || _23 === void 0 ? void 0 : _23.border) || "var(--sl-color-success-400)"};
|
|
611
|
+
--sqm-success-color-background: ${((_25 = (_24 = config === null || config === void 0 ? void 0 : config.color) === null || _24 === void 0 ? void 0 : _24.success) === null || _25 === void 0 ? void 0 : _25.background) || "var(--sl-color-success-300)"};
|
|
621
612
|
|
|
622
|
-
--sqm-warning-color-icon: ${((
|
|
623
|
-
"var(--sl-color-warning-
|
|
624
|
-
--sqm-warning-color-
|
|
625
|
-
"var(--sl-color-warning-
|
|
626
|
-
|
|
627
|
-
"var(--sl-color-
|
|
628
|
-
--sqm-
|
|
629
|
-
"var(--sl-color-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
"var(--sl-color-
|
|
633
|
-
--sqm-
|
|
634
|
-
"var(--sl-color-
|
|
635
|
-
--sqm-
|
|
636
|
-
|
|
637
|
-
--sqm-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
--sqm-
|
|
641
|
-
|
|
642
|
-
--sqm-
|
|
643
|
-
|
|
644
|
-
--sqm-informative-color-border: ${((_87 = (_86 = (_85 = window.SquatchBrandingConfig) === null || _85 === void 0 ? void 0 : _85.color) === null || _86 === void 0 ? void 0 : _86.informative) === null || _87 === void 0 ? void 0 : _87.border) ||
|
|
645
|
-
"var(--sl-color-sky-400)"};
|
|
646
|
-
--sqm-informative-color-background: ${((_90 = (_89 = (_88 = window.SquatchBrandingConfig) === null || _88 === void 0 ? void 0 : _88.color) === null || _89 === void 0 ? void 0 : _89.informative) === null || _90 === void 0 ? void 0 : _90.background) ||
|
|
647
|
-
"var(--sl-color-sky-300)"};
|
|
648
|
-
|
|
649
|
-
--sqm-input-background: ${((_93 = (_92 = (_91 = window.SquatchBrandingConfig) === null || _91 === void 0 ? void 0 : _91.formFields) === null || _92 === void 0 ? void 0 : _92.formFieldColor) === null || _93 === void 0 ? void 0 : _93.background) ||
|
|
650
|
-
"#fff"};
|
|
651
|
-
--sqm-input-border-color: ${((_96 = (_95 = (_94 = window.SquatchBrandingConfig) === null || _94 === void 0 ? void 0 : _94.formFields) === null || _95 === void 0 ? void 0 : _95.formFieldColor) === null || _96 === void 0 ? void 0 : _96.border) ||
|
|
652
|
-
"#eaeaea"};
|
|
653
|
-
--sqm-input-border-radius: ${((_98 = (_97 = window.SquatchBrandingConfig) === null || _97 === void 0 ? void 0 : _97.formFields) === null || _98 === void 0 ? void 0 : _98.borderRadius) + "px"};
|
|
654
|
-
--sqm-input-color: ${((_101 = (_100 = (_99 = window.SquatchBrandingConfig) === null || _99 === void 0 ? void 0 : _99.formFields) === null || _100 === void 0 ? void 0 : _100.formFieldColor) === null || _101 === void 0 ? void 0 : _101.inputText) ||
|
|
655
|
-
"#000"};
|
|
656
|
-
--sqm-input-label-color: ${((_104 = (_103 = (_102 = window.SquatchBrandingConfig) === null || _102 === void 0 ? void 0 : _102.color) === null || _103 === void 0 ? void 0 : _103.textColorShades) === null || _104 === void 0 ? void 0 : _104.mainText) || "#000"};
|
|
657
|
-
--sqm-input-border-color-focus: ${((_106 = (_105 = window.SquatchBrandingConfig) === null || _105 === void 0 ? void 0 : _105.formFields) === null || _106 === void 0 ? void 0 : _106.selectedStateColor) || "#eaeaea"};
|
|
658
|
-
--sqm-input-border-color-hover: ${((_108 = (_107 = window.SquatchBrandingConfig) === null || _107 === void 0 ? void 0 : _107.formFields) === null || _108 === void 0 ? void 0 : _108.hoverStateColor) || "#ccc"};
|
|
613
|
+
--sqm-warning-color-icon: ${((_27 = (_26 = config === null || config === void 0 ? void 0 : config.color) === null || _26 === void 0 ? void 0 : _26.warning) === null || _27 === void 0 ? void 0 : _27.iconAndBadge) || "var(--sl-color-warning-600)"};
|
|
614
|
+
--sqm-warning-color-text: ${((_29 = (_28 = config === null || config === void 0 ? void 0 : config.color) === null || _28 === void 0 ? void 0 : _28.warning) === null || _29 === void 0 ? void 0 : _29.text) || "var(--sl-color-warning-950)"};
|
|
615
|
+
--sqm-warning-color-border: ${((_31 = (_30 = config === null || config === void 0 ? void 0 : config.color) === null || _30 === void 0 ? void 0 : _30.warning) === null || _31 === void 0 ? void 0 : _31.border) || "var(--sl-color-warning-400)"};
|
|
616
|
+
--sqm-warning-color-background: ${((_33 = (_32 = config === null || config === void 0 ? void 0 : config.color) === null || _32 === void 0 ? void 0 : _32.warning) === null || _33 === void 0 ? void 0 : _33.background) || "var(--sl-color-warning-300)"};
|
|
617
|
+
|
|
618
|
+
--sqm-danger-color-icon: ${((_35 = (_34 = config === null || config === void 0 ? void 0 : config.color) === null || _34 === void 0 ? void 0 : _34.critical) === null || _35 === void 0 ? void 0 : _35.iconAndBadge) || "var(--sl-color-danger-600)"};
|
|
619
|
+
--sqm-danger-color-text: ${((_37 = (_36 = config === null || config === void 0 ? void 0 : config.color) === null || _36 === void 0 ? void 0 : _36.critical) === null || _37 === void 0 ? void 0 : _37.text) || "var(--sl-color-danger-950)"};
|
|
620
|
+
--sqm-danger-color-border: ${((_39 = (_38 = config === null || config === void 0 ? void 0 : config.color) === null || _38 === void 0 ? void 0 : _38.critical) === null || _39 === void 0 ? void 0 : _39.border) || "var(--sl-color-danger-400)"};
|
|
621
|
+
--sqm-danger-color-background: ${((_41 = (_40 = config === null || config === void 0 ? void 0 : config.color) === null || _40 === void 0 ? void 0 : _40.critical) === null || _41 === void 0 ? void 0 : _41.background) || "var(--sl-color-danger-300)"};
|
|
622
|
+
|
|
623
|
+
--sqm-informative-color-icon: ${((_43 = (_42 = config === null || config === void 0 ? void 0 : config.color) === null || _42 === void 0 ? void 0 : _42.informative) === null || _43 === void 0 ? void 0 : _43.iconAndBadge) || "var(--sl-color-sky-600)"};
|
|
624
|
+
--sqm-informative-color-text: ${((_45 = (_44 = config === null || config === void 0 ? void 0 : config.color) === null || _44 === void 0 ? void 0 : _44.informative) === null || _45 === void 0 ? void 0 : _45.text) || "var(--sl-color-sky-950)"};
|
|
625
|
+
--sqm-informative-color-border: ${((_47 = (_46 = config === null || config === void 0 ? void 0 : config.color) === null || _46 === void 0 ? void 0 : _46.informative) === null || _47 === void 0 ? void 0 : _47.border) || "var(--sl-color-sky-400)"};
|
|
626
|
+
--sqm-informative-color-background: ${((_49 = (_48 = config === null || config === void 0 ? void 0 : config.color) === null || _48 === void 0 ? void 0 : _48.informative) === null || _49 === void 0 ? void 0 : _49.background) || "var(--sl-color-sky-300)"};
|
|
627
|
+
|
|
628
|
+
--sqm-input-background: ${((_51 = (_50 = config === null || config === void 0 ? void 0 : config.formFields) === null || _50 === void 0 ? void 0 : _50.formFieldColor) === null || _51 === void 0 ? void 0 : _51.background) || "#fff"};
|
|
629
|
+
--sqm-input-border-color: ${((_53 = (_52 = config === null || config === void 0 ? void 0 : config.formFields) === null || _52 === void 0 ? void 0 : _52.formFieldColor) === null || _53 === void 0 ? void 0 : _53.border) || "#eaeaea"};
|
|
630
|
+
--sqm-input-border-radius: ${((_54 = config === null || config === void 0 ? void 0 : config.formFields) === null || _54 === void 0 ? void 0 : _54.borderRadius) + "px"};
|
|
631
|
+
--sqm-input-color: ${((_56 = (_55 = config === null || config === void 0 ? void 0 : config.formFields) === null || _55 === void 0 ? void 0 : _55.formFieldColor) === null || _56 === void 0 ? void 0 : _56.inputText) || "#000"};
|
|
632
|
+
--sqm-input-label-color: ${((_58 = (_57 = config === null || config === void 0 ? void 0 : config.color) === null || _57 === void 0 ? void 0 : _57.textColorShades) === null || _58 === void 0 ? void 0 : _58.mainText) || "#000"};
|
|
633
|
+
--sqm-input-border-color-focus: ${((_59 = config === null || config === void 0 ? void 0 : config.formFields) === null || _59 === void 0 ? void 0 : _59.selectedStateColor) || "#eaeaea"};
|
|
634
|
+
--sqm-input-border-color-hover: ${((_60 = config === null || config === void 0 ? void 0 : config.formFields) === null || _60 === void 0 ? void 0 : _60.hoverStateColor) || "#ccc"};
|
|
659
635
|
--sqm-input-label-font-size: inherit;
|
|
660
636
|
--sqm-input-disabled-color: var(--sqm-text-subdued);
|
|
661
|
-
--sqm-input-disabled-background: ${(
|
|
637
|
+
--sqm-input-disabled-background: ${(_61 = config === null || config === void 0 ? void 0 : config.formFields) === null || _61 === void 0 ? void 0 : _61.disabledBackgroundColor};
|
|
662
638
|
|
|
663
639
|
--sl-color-primary-100: var(--sqm-primary-color);
|
|
664
640
|
--sl-color-primary-200: var(--sqm-primary-color);
|
|
@@ -707,18 +683,18 @@ html {
|
|
|
707
683
|
}
|
|
708
684
|
|
|
709
685
|
body {
|
|
710
|
-
font-family: ${((
|
|
686
|
+
font-family: ${((_62 = config === null || config === void 0 ? void 0 : config.main) === null || _62 === void 0 ? void 0 : _62.brandFont) || "var(--sl-font-sans)"};
|
|
711
687
|
font-size: var(--sl-font-size-medium);
|
|
712
688
|
font-weight: var(--sl-font-weight-normal);
|
|
713
689
|
letter-spacing: var(--sl-letter-spacing-small);
|
|
714
690
|
color: var(--sqm-text);
|
|
715
691
|
line-height: var(--sl-line-height-normal);
|
|
716
692
|
margin: 0;
|
|
717
|
-
background-color: var(--sqm-portal-background)
|
|
693
|
+
background-color: var(--sqm-portal-background);
|
|
718
694
|
}
|
|
719
695
|
|
|
720
696
|
.story-div {
|
|
721
|
-
background: var(--sqm-portal-background)
|
|
697
|
+
background: var(--sqm-portal-background);
|
|
722
698
|
color: var(--sqm-text) !important;
|
|
723
699
|
}
|
|
724
700
|
|
|
@@ -830,7 +806,7 @@ sl-details::part(summary) {
|
|
|
830
806
|
*::part(primarybutton-base),
|
|
831
807
|
sl-button[type="primary"]::part(base) {
|
|
832
808
|
width: 100%;
|
|
833
|
-
background-color: var(--sqm-primary-button-background)
|
|
809
|
+
background-color: var(--sqm-primary-button-background);
|
|
834
810
|
color: var(--sqm-primary-button-color);
|
|
835
811
|
border-color: var(--sqm-primary-button-color-border);
|
|
836
812
|
border-radius: var(--sqm-primary-button-radius);
|
|
@@ -942,4 +918,4 @@ sl-icon::part(base):hover {
|
|
|
942
918
|
|
|
943
919
|
|
|
944
920
|
`;
|
|
945
|
-
|
|
921
|
+
};
|