@saasquatch/mint-components 2.5.5-1 → 2.5.5
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/AsYouType-5f15a922.js +4764 -0
- package/dist/cjs/{ErrorView-17578c10.js → ErrorView-8f6cf1cb.js} +1 -1
- package/dist/cjs/{GenericTableView-4c48c630.js → GenericTableView-12d35117.js} +17 -15
- package/dist/cjs/{JSS-8503a151.js → JSS-bf8078e9.js} +342 -338
- package/dist/cjs/{ShadowViewAddon-f57cb460.js → ShadowViewAddon-ee16ec1d.js} +312 -292
- package/dist/cjs/{copy-text-view-bb2c0ea7.js → copy-text-view-49517b2a.js} +2 -2
- package/dist/cjs/{data-ae38fa86.js → data-77273531.js} +5 -5
- package/dist/cjs/demoMerge-6f125494.js +203 -0
- package/dist/cjs/{dom-context-hooks.module-e7b6727c.js → dom-context-hooks.module-735c3942.js} +133 -76
- package/dist/cjs/{email-registration-view-306c8878.js → email-registration-view-36a74293.js} +10 -9
- package/dist/cjs/{global-3ba30270.js → global-973bc63c.js} +587 -583
- package/dist/cjs/{index.module-3221a469.js → index-8530c62f.js} +2911 -511
- package/dist/cjs/{index-8277cbb3.js → index-d41c2c94.js} +766 -340
- package/dist/cjs/{index-8c6255f5.js → index-f1dd6136.js} +47 -29
- package/dist/cjs/{jsonpointer-11327262.js → jsonpointer-0db21316.js} +8 -4
- package/dist/cjs/loader.cjs.js +6 -5
- package/dist/cjs/{luxon-c1ad356a.js → luxon-d3612a3d.js} +486 -299
- package/dist/cjs/mint-components.cjs.js +11 -7
- package/dist/cjs/{mockRewardData-ed603fca.js → mockRewardData-e6a0a048.js} +5 -3
- package/dist/cjs/{parseStates-d1effc19.js → parseStates-35013ba4.js} +3 -0
- package/dist/cjs/raisins-plop-target.cjs.entry.js +1 -1
- package/dist/cjs/{re-render-34b36aca.js → re-render-51c48d7c.js} +5 -5
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +399 -1395
- package/dist/cjs/sqm-big-stat_47.cjs.entry.js +818 -2891
- package/dist/cjs/{sqm-close-button-view-e9f2a454.js → sqm-close-button-view-74e5e1e9.js} +2 -2
- package/dist/cjs/sqm-close-button.cjs.entry.js +6 -11
- package/dist/cjs/sqm-code-verification.cjs.entry.js +20 -47
- package/dist/cjs/sqm-context-router.cjs.entry.js +9 -8
- package/dist/cjs/sqm-email-verification_2.cjs.entry.js +71 -182
- package/dist/cjs/sqm-empty_4.cjs.entry.js +21 -58
- package/dist/cjs/sqm-form-message_2.cjs.entry.js +7 -19
- package/dist/cjs/sqm-google-sign-in.cjs.entry.js +10 -9
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +11 -10
- package/dist/cjs/sqm-header-logo.cjs.entry.js +4 -19
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +14 -89
- package/dist/cjs/sqm-invoice-table-data-cell_5.cjs.entry.js +6 -8
- package/dist/cjs/{sqm-lead-checkbox-field-view-d6df81c7.js → sqm-lead-checkbox-field-view-24ac7358.js} +12 -11
- package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +14 -30
- package/dist/cjs/sqm-lead-input-field-view-7dfbc714.js +52 -0
- package/dist/cjs/sqm-lead-input-field.cjs.entry.js +15 -31
- package/dist/cjs/{sqm-leaderboard-rank-view-67fd7934.js → sqm-leaderboard-rank-view-e992762c.js} +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +25 -22
- package/dist/cjs/{sqm-logout-current-user-view-f330d641.js → sqm-logout-current-user-view-ebee238e.js} +2 -2
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +17 -28
- package/dist/cjs/{sqm-navigation-sidebar-item-view-9134e64e.js → sqm-navigation-sidebar-item-view-a2cab80e.js} +4 -4
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +23 -18
- package/dist/cjs/{sqm-navigation-sidebar-view-6616e3e0.js → sqm-navigation-sidebar-view-873e0c44.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +12 -17
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +40 -102
- package/dist/cjs/{sqm-partner-info-modal-view-6173c618.js → sqm-partner-info-modal-view-c8972001.js} +4 -4
- package/dist/cjs/sqm-password-field.cjs.entry.js +186 -86
- package/dist/cjs/sqm-popup-container.cjs.entry.js +12 -12
- package/dist/cjs/{sqm-portal-container-view-757f921b.js → sqm-portal-container-view-c0cf9af9.js} +2 -2
- package/dist/cjs/{sqm-portal-email-verification-view-38d8344c.js → sqm-portal-email-verification-view-92866725.js} +4 -4
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +22 -52
- package/dist/cjs/sqm-portal-forgot-password_6.cjs.entry.js +101 -429
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +7 -13
- package/dist/cjs/{sqm-portal-profile-view-062eda68.js → sqm-portal-profile-view-60e78cdb.js} +20 -17
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +20 -56
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +11 -24
- package/dist/cjs/{sqm-portal-registration-form-view-a45f7a52.js → sqm-portal-registration-form-view-5473e24d.js} +26 -21
- package/dist/cjs/{sqm-portal-reset-password-view-b2c546bd.js → sqm-portal-reset-password-view-7a6f55c5.js} +3 -3
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +21 -89
- package/dist/cjs/{sqm-portal-verify-email-view-2a120d0a.js → sqm-portal-verify-email-view-7efa70c9.js} +48 -45
- package/dist/cjs/{sqm-qr-code-view-0d43424e.js → sqm-qr-code-view-70da70f9.js} +3 -3
- package/dist/cjs/sqm-qr-code.cjs.entry.js +22 -48
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +37 -140
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +5 -4
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -7
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +98 -217
- package/dist/cjs/sqm-route.cjs.entry.js +2 -1
- package/dist/cjs/sqm-scroll.cjs.entry.js +12 -8
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +2892 -2264
- package/dist/cjs/sqm-tab.cjs.entry.js +5 -4
- package/dist/cjs/sqm-tabs.cjs.entry.js +9 -8
- package/dist/cjs/{sqm-text-span-view-b9e10f5d.js → sqm-text-span-view-c6938acd.js} +2 -2
- package/dist/cjs/sqm-text-span.cjs.entry.js +8 -4
- package/dist/cjs/{sqm-user-info-form-view-aedca5fe.js → sqm-user-info-form-view-e878a9a3.js} +173 -163
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +6 -11
- package/dist/cjs/subregions-3dbacb18.js +1467 -0
- package/dist/cjs/{useChildElements-36f7e4bb.js → useChildElements-e5e26816.js} +3 -3
- package/dist/cjs/{useIndirectTaxForm-7656fc63.js → useIndirectTaxForm-691691c2.js} +42 -38
- package/dist/cjs/{useInstantAccessRegistration-43514e50.js → useInstantAccessRegistration-9201777d.js} +6 -6
- package/dist/cjs/{useLeadFormState-34f9834b.js → useLeadFormState-f5b768b9.js} +20 -20
- package/dist/cjs/{usePortalRegistrationForm-b18a1f6b.js → usePortalRegistrationForm-b3c0451b.js} +16 -13
- package/dist/cjs/{useReferralCodes-25d5320a.js → useReferralCodes-5794a177.js} +11 -11
- package/dist/cjs/{useReferralTable-ad86986b.js → useReferralTable-32b3541b.js} +19 -19
- package/dist/cjs/{useRegistrationFormState-ea81d55a.js → useRegistrationFormState-feccd2c8.js} +3 -3
- package/dist/cjs/{useVerificationEmail-70aad5f1.js → useVerificationEmail-f0807562.js} +17 -15
- package/dist/cjs/{utilities-dfc34bea.js → utilities-04345466.js} +3 -3
- package/dist/collection/ShadowViewAddon.js +1 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/raisins-plop-target/raisins-plop-target.js +36 -34
- package/dist/collection/components/sqm-base-registration/BaseRegistrationForm.stories.js +3 -7
- package/dist/collection/components/sqm-base-registration/sqm-base-registration-form-view.js +11 -23
- package/dist/collection/components/sqm-big-stat/BigStat.stories.js +11 -27
- package/dist/collection/components/sqm-big-stat/UseBigStat.stories.js +2 -16
- package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +1 -4
- package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +294 -298
- package/dist/collection/components/sqm-big-stat/useDemoBigStat.js +3 -3
- package/dist/collection/components/sqm-brand/SqmBrand.stories.js +4 -72
- package/dist/collection/components/sqm-brand/sqm-brand.js +61 -58
- package/dist/collection/components/sqm-card-feed/CardFeed.stories.js +43 -120
- package/dist/collection/components/sqm-card-feed/sqm-card-feed-view.js +1 -5
- package/dist/collection/components/sqm-card-feed/sqm-card-feed.js +55 -59
- package/dist/collection/components/sqm-checkbox-field/CheckboxField.stories.js +17 -22
- package/dist/collection/components/sqm-checkbox-field/UseCheckboxField.stories.js +5 -19
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +18 -21
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +167 -179
- package/dist/collection/components/sqm-close-button/CloseButton.stories.js +3 -5
- package/dist/collection/components/sqm-close-button/sqm-close-button-view.js +1 -5
- package/dist/collection/components/sqm-close-button/sqm-close-button.js +32 -35
- package/dist/collection/components/sqm-context-router/ContextRouter.js +4 -33
- package/dist/collection/components/sqm-context-router/sqm-context-router.js +39 -33
- package/dist/collection/components/sqm-coupon-code/CouponCode.stories.js +13 -13
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code-view.js +1 -7
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +601 -695
- package/dist/collection/components/sqm-coupon-code/useCouponCode.js +10 -5
- package/dist/collection/components/sqm-divided-layout/DividedLayout.stories.js +19 -36
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +1 -5
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +129 -135
- package/dist/collection/components/sqm-dropdown-field/DropdownField.stories.js +7 -7
- package/dist/collection/components/sqm-dropdown-field/UseDropdownField.stories.js +3 -15
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field-view.js +13 -15
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +128 -133
- package/dist/collection/components/sqm-edit-profile/EditProfileForm.stories.js +2 -2
- package/dist/collection/components/sqm-edit-profile/UseEditProfile.stories.js +9 -9
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +27 -45
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile.js +272 -264
- package/dist/collection/components/sqm-edit-profile/useEditProfile.js +4 -3
- package/dist/collection/components/sqm-empty/EmptyState.stories.js +4 -7
- package/dist/collection/components/sqm-empty/sqm-empty-view.js +6 -12
- package/dist/collection/components/sqm-empty/sqm-empty.js +102 -95
- package/dist/collection/components/sqm-form-message/FormMessage.stories.js +9 -27
- package/dist/collection/components/sqm-form-message/sqm-form-message.js +102 -108
- package/dist/collection/components/sqm-google-sign-in/sqm-google-sign-in.js +61 -56
- package/dist/collection/components/sqm-graphql-client-provider/sqm-graphql-client-provider.js +32 -28
- package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +147 -161
- package/dist/collection/components/sqm-hero/Hero.stories.js +20 -54
- package/dist/collection/components/sqm-hero/sqm-hero-view.js +5 -11
- package/dist/collection/components/sqm-hero/sqm-hero.js +177 -202
- package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +9 -26
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +533 -590
- package/dist/collection/components/sqm-hook-story-container/sqm-hook-story-container.js +28 -23
- package/dist/collection/components/sqm-image/sqm-image-view.js +1 -6
- package/dist/collection/components/sqm-image/sqm-image.js +131 -131
- package/dist/collection/components/sqm-input-field/InputField.stories.js +17 -17
- package/dist/collection/components/sqm-input-field/UseInputField.stories.js +7 -22
- package/dist/collection/components/sqm-input-field/sqm-input-field-view.js +14 -15
- package/dist/collection/components/sqm-input-field/sqm-input-field.js +156 -162
- package/dist/collection/components/sqm-instant-access-registration/sqm-instant-access-registration.js +410 -481
- package/dist/collection/components/sqm-invoice-table/InvoiceTable.stories.js +2 -18
- package/dist/collection/components/sqm-invoice-table/UseInvoiceTable.stories.js +2 -14
- package/dist/collection/components/sqm-invoice-table/cells/sqm-invoice-table-data-cell.js +27 -23
- package/dist/collection/components/sqm-invoice-table/cells/sqm-invoice-table-date-cell.js +44 -40
- package/dist/collection/components/sqm-invoice-table/cells/sqm-invoice-table-download-cell.js +29 -29
- package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.js +85 -80
- package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.js +68 -64
- package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.js +40 -39
- package/dist/collection/components/sqm-invoice-table/sqm-invoice-table-view.js +1 -8
- package/dist/collection/components/sqm-invoice-table/sqm-invoice-table.js +287 -310
- package/dist/collection/components/sqm-invoice-table/useInvoiceTable.js +1 -3
- package/dist/collection/components/sqm-lead-form/LeadCheckboxField.stories.js +7 -7
- package/dist/collection/components/sqm-lead-form/LeadForm.stories.js +6 -10
- package/dist/collection/components/sqm-lead-form/LeadFormDropdownField.stories.js +10 -10
- package/dist/collection/components/sqm-lead-form/LeadInputField.stories.js +7 -7
- package/dist/collection/components/sqm-lead-form/sqm-lead-checkbox-field-view.js +20 -24
- package/dist/collection/components/sqm-lead-form/sqm-lead-checkbox-field.js +167 -179
- package/dist/collection/components/sqm-lead-form/sqm-lead-dropdown-field-view.js +13 -17
- package/dist/collection/components/sqm-lead-form/sqm-lead-dropdown-field.js +174 -189
- package/dist/collection/components/sqm-lead-form/sqm-lead-form-view.js +22 -48
- package/dist/collection/components/sqm-lead-form/sqm-lead-form.js +365 -420
- package/dist/collection/components/sqm-lead-form/sqm-lead-input-field-view.js +13 -16
- package/dist/collection/components/sqm-lead-form/sqm-lead-input-field.js +179 -191
- package/dist/collection/components/sqm-lead-form/useLeadForm.js +3 -1
- package/dist/collection/components/sqm-leaderboard/Leaderboard.stories.js +23 -29
- package/dist/collection/components/sqm-leaderboard/UseLeaderboard.stories.js +3 -15
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +11 -35
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +553 -563
- package/dist/collection/components/sqm-leaderboard-rank/LeaderboardRank.stories.js +3 -12
- package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank.js +200 -192
- package/dist/collection/components/sqm-leaderboard-rank/useLeaderboardRank.js +4 -3
- package/dist/collection/components/sqm-link-button/LinkButton.stories.js +2 -2
- package/dist/collection/components/sqm-link-button/sqm-link-button-view.js +1 -6
- package/dist/collection/components/sqm-link-button/sqm-link-button.js +73 -77
- package/dist/collection/components/sqm-logout-current-user/LogoutCurrentUser.stories.js +1 -1
- package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user-view.js +1 -9
- package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +106 -115
- package/dist/collection/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.js +104 -109
- package/dist/collection/components/sqm-name-fields/NameFields.stories.js +2 -2
- package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +21 -20
- package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +104 -109
- package/dist/collection/components/sqm-navigation-menu/sqm-navigation-menu-view.js +6 -9
- package/dist/collection/components/sqm-navigation-menu/sqm-navigation-menu.js +92 -82
- package/dist/collection/components/sqm-navigation-sidebar/NavigationSidebar.stories.js +1 -3
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +1 -8
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +71 -73
- package/dist/collection/components/sqm-navigation-sidebar-item/SidebarItem.stories.js +2 -2
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.js +1 -4
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +315 -308
- package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +1 -9
- package/dist/collection/components/sqm-pagination/sqm-pagination.js +94 -100
- package/dist/collection/components/sqm-partner-info-modal/PartnerInfoModal.stories.js +13 -13
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal-view.js +22 -54
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal.js +515 -603
- package/dist/collection/components/sqm-partner-info-modal/usePartnerInfoModal.js +3 -3
- package/dist/collection/components/sqm-password-field/passwordValidation.js +8 -20
- package/dist/collection/components/sqm-password-field/sqm-password-field-view.js +16 -18
- package/dist/collection/components/sqm-password-field/sqm-password-field.js +197 -219
- package/dist/collection/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.js +1 -7
- package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.js +1 -4
- package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll.js +82 -84
- package/dist/collection/components/sqm-popup-container/PopupContainer.stories.js +1 -2
- package/dist/collection/components/sqm-popup-container/sqm-popup-container-view.js +1 -5
- package/dist/collection/components/sqm-popup-container/sqm-popup-container.js +161 -155
- package/dist/collection/components/sqm-portal-change-marketing/ChangeMarketing.stories.js +5 -5
- package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing-view.js +8 -17
- package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing.js +142 -154
- package/dist/collection/components/sqm-portal-change-password/ChangePassword.stories.js +6 -6
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js +8 -24
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +380 -436
- package/dist/collection/components/sqm-portal-change-password/usePortalChangePassword.js +5 -2
- package/dist/collection/components/sqm-portal-container/PortalContainer.stories.js +16 -119
- package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +1 -5
- package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +280 -299
- package/dist/collection/components/sqm-portal-email-verification/PortalEmailVerification.stories.js +5 -5
- package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification-view.js +13 -25
- package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +216 -243
- package/dist/collection/components/sqm-portal-email-verification/usePortalEmailVerification.js +2 -1
- package/dist/collection/components/sqm-portal-footer/PortalFooter.stories.js +6 -6
- package/dist/collection/components/sqm-portal-footer/PoweredByImg.js +1 -12
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +6 -16
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +317 -351
- package/dist/collection/components/sqm-portal-forgot-password/PortalForgotPassword.stories.js +4 -4
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.js +1 -14
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +279 -316
- package/dist/collection/components/sqm-portal-forgot-password/usePortalForgotPassword.js +2 -1
- package/dist/collection/components/sqm-portal-frame/PortalFrame.stories.js +14 -55
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +1 -7
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +141 -158
- package/dist/collection/components/sqm-portal-google-login/sqm-portal-google-login.js +295 -342
- package/dist/collection/components/sqm-portal-google-registration-form/PortalGoogleRegistrationForm.stories.js +19 -26
- package/dist/collection/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.js +645 -749
- package/dist/collection/components/sqm-portal-login/PortalLogin.stories.js +2 -5
- package/dist/collection/components/sqm-portal-login/sqm-portal-login-view.js +1 -17
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +255 -292
- package/dist/collection/components/sqm-portal-login/usePortalLogin.js +4 -2
- package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +33 -36
- package/dist/collection/components/sqm-portal-profile/PortalProfile.stories.js +6 -6
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +15 -26
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +282 -314
- package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +72 -82
- package/dist/collection/components/sqm-portal-register/PortalRegister.stories.js +8 -13
- package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +15 -28
- package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +525 -610
- package/dist/collection/components/sqm-portal-register/usePortalRegister.js +3 -1
- package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +10 -15
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +20 -33
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +573 -663
- package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +5 -2
- package/dist/collection/components/sqm-portal-reset-password/PortalResetPassword.stories.js +6 -6
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password-view.js +7 -29
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +449 -514
- package/dist/collection/components/sqm-portal-reset-password/usePortalResetPassword.js +2 -1
- package/dist/collection/components/sqm-portal-verify-email/PortalVerifyEmail.stories.js +2 -2
- package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email-view.js +2 -14
- package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +196 -222
- package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +4 -2
- package/dist/collection/components/sqm-program-explainer/ProgramExplainer.stories.js +20 -32
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer-view.js +1 -7
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +84 -78
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +4 -10
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +231 -220
- package/dist/collection/components/sqm-program-menu/ProgramMenu.stories.js +8 -25
- package/dist/collection/components/sqm-program-menu/sqm-program-menu.js +8 -9
- package/dist/collection/components/sqm-qr-code/QRCode.stories.js +8 -8
- package/dist/collection/components/sqm-qr-code/sqm-qr-code-view.js +2 -11
- package/dist/collection/components/sqm-qr-code/sqm-qr-code.js +206 -230
- package/dist/collection/components/sqm-radio-card/RadioCard.stories.js +2 -2
- package/dist/collection/components/sqm-radio-card/sqm-radio-card-view.js +1 -9
- package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +29 -86
- package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +3 -11
- package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +304 -335
- package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +14 -14
- package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +369 -410
- package/dist/collection/components/sqm-referral-code/useReferralCode.js +3 -3
- package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +9 -36
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +3 -14
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +167 -175
- package/dist/collection/components/sqm-referral-iframe/ReferralIframe.stories.js +2 -4
- package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe-view.js +1 -3
- package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe.js +125 -132
- package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +9 -24
- package/dist/collection/components/sqm-referral-table/ReferralTableCell.stories.js +1 -1
- package/dist/collection/components/sqm-referral-table/ReferralTableRewardsCell.stories.js +5 -8
- package/dist/collection/components/sqm-referral-table/TaxAndCashReferralTable.stories.js +1 -1
- package/dist/collection/components/sqm-referral-table/TaxAndCashReferralTableRewardsCell.stories.js +30 -30
- package/dist/collection/components/sqm-referral-table/UseReferralTable.stories.js +8 -30
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-cell.js +28 -23
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-date-cell.js +44 -40
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +219 -278
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-status-cell.js +81 -76
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-user-cell.js +24 -20
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-column.js +65 -61
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +120 -139
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +260 -300
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-status-column.js +208 -225
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-user-column.js +124 -133
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +229 -253
- package/dist/collection/components/sqm-referral-table/useReferralTable.js +1 -3
- package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +479 -557
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeList.stories.js +1 -1
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeListData.js +1 -0
- package/dist/collection/components/sqm-reward-exchange-list/SVGs.js +5 -26
- package/dist/collection/components/sqm-reward-exchange-list/UseRewardExchangeList.stories.js +8 -18
- package/dist/collection/components/sqm-reward-exchange-list/progressBar.js +26 -28
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +96 -174
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +618 -726
- package/dist/collection/components/sqm-rewards-table/RewardsTable.stories.js +16 -31
- package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +12 -15
- package/dist/collection/components/sqm-rewards-table/TaxAndCashRewardsTable.stories.js +11 -11
- package/dist/collection/components/sqm-rewards-table/UseRewardsTable.stories.js +8 -30
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-customer-note-cell.js +45 -40
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-date-cell.js +44 -40
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.js +97 -103
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.js +160 -156
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +336 -332
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.js +96 -105
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.js +67 -66
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +127 -135
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +173 -197
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.js +390 -463
- package/dist/collection/components/sqm-rewards-table/mockRewardData.js +4 -2
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +206 -219
- package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +1 -3
- package/dist/collection/components/sqm-route/sqm-route.js +31 -26
- package/dist/collection/components/sqm-router/Router.stories.js +4 -33
- package/dist/collection/components/sqm-router/sqm-router.js +17 -14
- package/dist/collection/components/sqm-scroll/Scroll.stories.js +6 -89
- package/dist/collection/components/sqm-scroll/sqm-scroll.js +259 -255
- package/dist/collection/components/sqm-share-button/ShareButton.stories.js +12 -46
- package/dist/collection/components/sqm-share-button/UseShareButton.stories.js +2 -7
- package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +1 -6
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +509 -521
- package/dist/collection/components/sqm-share-code/ShareCode.stories.js +13 -13
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +329 -360
- package/dist/collection/components/sqm-share-code/useShareCode.js +3 -3
- package/dist/collection/components/sqm-share-link/ShareLink.stories.js +85 -86
- package/dist/collection/components/sqm-share-link/UseShareLink.stories.js +17 -20
- package/dist/collection/components/sqm-share-link/sqm-share-link-view.js +21 -49
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +987 -1192
- package/dist/collection/components/sqm-share-link/useShareLink.js +3 -3
- package/dist/collection/components/sqm-skeleton/sqm-skeleton.js +55 -59
- package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +1 -5
- package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +162 -185
- package/dist/collection/components/sqm-stencilbook/AutoColor.js +1 -1
- package/dist/collection/components/sqm-stencilbook/BrandSelector.js +12 -15
- package/dist/collection/components/sqm-stencilbook/CucumberAddon.js +1 -5
- package/dist/collection/components/sqm-stencilbook/HookStoryAddon.js +1 -2
- package/dist/collection/components/sqm-stencilbook/Matrix.js +4 -13
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +8 -13
- package/dist/collection/components/sqm-tab/sqm-tab.js +27 -25
- package/dist/collection/components/sqm-table-cell/sqm-table-cell.js +47 -49
- package/dist/collection/components/sqm-table-row/sqm-table-row.js +27 -30
- package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +10 -17
- package/dist/collection/components/sqm-tabs/sqm-tabs.js +62 -59
- package/dist/collection/components/sqm-tabs/useTabs.js +1 -2
- package/dist/collection/components/sqm-task-card/DetailsView.js +1 -7
- package/dist/collection/components/sqm-task-card/SVGs.js +3 -7
- package/dist/collection/components/sqm-task-card/TaskCard.stories.js +31 -277
- package/dist/collection/components/sqm-task-card/UseTaskCard.stories.js +1 -17
- package/dist/collection/components/sqm-task-card/progress-bar/ProgressBar.stories.js +1 -1
- package/dist/collection/components/sqm-task-card/progress-bar/SVGs.js +2 -10
- package/dist/collection/components/sqm-task-card/progress-bar/progress-bar-view.js +10 -13
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +56 -83
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +780 -860
- package/dist/collection/components/sqm-text/Text.stories.js +2 -4
- package/dist/collection/components/sqm-text/sqm-text.js +61 -57
- package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +1 -5
- package/dist/collection/components/sqm-text-span/sqm-text-span.js +109 -101
- package/dist/collection/components/sqm-timeline/SVGs.js +3 -9
- package/dist/collection/components/sqm-timeline/Timeline.stories.js +5 -57
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +1 -16
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +178 -166
- package/dist/collection/components/sqm-timeline/sqm-timeline.js +41 -45
- package/dist/collection/components/sqm-titled-section/TitledSection.stories.js +5 -206
- package/dist/collection/components/sqm-titled-section/sqm-portal-section-view.js +1 -4
- package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +129 -148
- package/dist/collection/components/sqm-user-attribute/UserAttribute.stories.js +4 -7
- package/dist/collection/components/sqm-user-attribute/sqm-user-attribute-view.js +1 -3
- package/dist/collection/components/sqm-user-attribute/sqm-user-attribute.js +146 -137
- package/dist/collection/components/sqm-user-name/sqm-user-name.js +82 -84
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +6 -26
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +215 -240
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.js +12 -22
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +12 -30
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.js +177 -195
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +33 -41
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +776 -921
- package/dist/collection/components/sqm-widget-verification/useVerificationEmail.js +4 -2
- package/dist/collection/components/tax-and-cash/SVGs.js +1 -4
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +1 -3
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/formDefinitions.js +188 -198
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +34 -83
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +1864 -2210
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +8 -7
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.js +13 -31
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +26 -53
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +565 -660
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +6 -3
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +24 -63
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +699 -816
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +11 -7
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/PayoutDetailsCard.stories.js +1 -4
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +5 -20
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +130 -147
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +12 -33
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +910 -1035
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/ErrorView.js +1 -3
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/LoadingView.js +2 -19
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +4760 -5686
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +89 -176
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +1857 -2159
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +1 -0
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/UserInfoFormView.stories.js +27 -27
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/DocusignExpiredView.js +5 -9
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.js +24 -44
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/SlotViews.stories.js +6 -6
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +120 -157
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +713 -823
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +9 -7
- package/dist/collection/components/views/EmailRegistration.stories.js +60 -60
- package/dist/collection/components/views/copy-text-view.js +6 -17
- package/dist/collection/components/views/email-registration-view.js +14 -28
- package/dist/collection/global/styles.js +8 -4
- package/dist/collection/stories/NewPortal.stories.js +106 -178
- package/dist/collection/tables/GenericTableView.js +19 -27
- package/dist/collection/tables/TableSlots.js +5 -19
- package/dist/collection/utils/DefaultTemplateView.js +6 -24
- package/dist/collection/utils/RequiredPropsError.js +10 -24
- package/dist/collection/utils/TemplateView.js +1 -3
- package/dist/collection/utils/demoMerge.js +10 -0
- package/dist/esm/AsYouType-cc09fa68.js +4746 -0
- package/dist/esm/{ErrorView-c6fc1d9b.js → ErrorView-19af8137.js} +1 -1
- package/dist/esm/{GenericTableView-471a9386.js → GenericTableView-4f7ac63d.js} +17 -15
- package/dist/esm/{JSS-67b5cff8.js → JSS-e97b34f4.js} +341 -337
- package/dist/esm/{ShadowViewAddon-e1375e0d.js → ShadowViewAddon-0c8005bd.js} +284 -264
- package/dist/esm/{copy-text-view-87259b11.js → copy-text-view-e1c3f2cd.js} +2 -2
- package/dist/esm/{data-04d2da44.js → data-510cc9b7.js} +1 -1
- package/dist/esm/demoMerge-a0320a8e.js +201 -0
- package/dist/esm/{dom-context-hooks.module-50442785.js → dom-context-hooks.module-f88a3e54.js} +129 -72
- package/dist/esm/{email-registration-view-4cdb4129.js → email-registration-view-7a63a912.js} +10 -9
- package/dist/esm/{global-f019575d.js → global-cf0cc6b1.js} +586 -582
- package/dist/esm/{index-38ad4957.js → index-7a8b0c0b.js} +766 -341
- package/dist/esm/{index.module-cc08450c.js → index-b04013cc.js} +2873 -473
- package/dist/esm/{index-ffa26b43.js → index-e6f5153e.js} +47 -29
- package/dist/esm/{jsonpointer-388a7082.js → jsonpointer-c5423376.js} +8 -4
- package/dist/esm/loader.js +6 -5
- package/dist/esm/{luxon-1be92a8e.js → luxon-40b943cb.js} +486 -299
- package/dist/esm/mint-components.js +8 -7
- package/dist/esm/{mockRewardData-9b27d6f1.js → mockRewardData-2cceba7a.js} +5 -3
- package/dist/esm/{parseStates-ed75e224.js → parseStates-0c27f2de.js} +3 -1
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/raisins-plop-target.entry.js +1 -1
- package/dist/esm/{re-render-380499f8.js → re-render-e911a0f7.js} +5 -5
- package/dist/esm/sqm-banking-info-form_10.entry.js +381 -1377
- package/dist/esm/sqm-big-stat_47.entry.js +767 -2840
- package/dist/esm/{sqm-close-button-view-fd9012e7.js → sqm-close-button-view-1deb12b1.js} +2 -2
- package/dist/esm/sqm-close-button.entry.js +5 -10
- package/dist/esm/sqm-code-verification.entry.js +19 -46
- package/dist/esm/sqm-context-router.entry.js +6 -5
- package/dist/esm/sqm-email-verification_2.entry.js +43 -154
- package/dist/esm/sqm-empty_4.entry.js +21 -58
- package/dist/esm/sqm-form-message_2.entry.js +7 -19
- package/dist/esm/sqm-google-sign-in.entry.js +4 -3
- package/dist/esm/sqm-graphql-client-provider.entry.js +9 -8
- package/dist/esm/sqm-header-logo.entry.js +4 -19
- package/dist/esm/sqm-instant-access-registration.entry.js +12 -87
- package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +6 -8
- package/dist/esm/{sqm-lead-checkbox-field-view-04aa32a7.js → sqm-lead-checkbox-field-view-d055e7bd.js} +12 -11
- package/dist/esm/sqm-lead-checkbox-field.entry.js +12 -28
- package/dist/esm/sqm-lead-input-field-view-b0d62f1c.js +50 -0
- package/dist/esm/sqm-lead-input-field.entry.js +13 -29
- package/dist/esm/{sqm-leaderboard-rank-view-7a682cc3.js → sqm-leaderboard-rank-view-cd52cc80.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +22 -19
- package/dist/esm/{sqm-logout-current-user-view-376c1bf6.js → sqm-logout-current-user-view-9bda187a.js} +2 -2
- package/dist/esm/sqm-logout-current-user.entry.js +12 -23
- package/dist/esm/{sqm-navigation-sidebar-item-view-40837457.js → sqm-navigation-sidebar-item-view-754b2484.js} +4 -4
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +21 -16
- package/dist/esm/{sqm-navigation-sidebar-view-2b66457a.js → sqm-navigation-sidebar-view-e2094399.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar.entry.js +11 -16
- package/dist/esm/sqm-pagination_3.entry.js +35 -97
- package/dist/esm/{sqm-partner-info-modal-view-e02fb63a.js → sqm-partner-info-modal-view-3b59be37.js} +4 -4
- package/dist/esm/sqm-password-field.entry.js +185 -85
- package/dist/esm/sqm-popup-container.entry.js +12 -12
- package/dist/esm/{sqm-portal-container-view-200c9df8.js → sqm-portal-container-view-fcd53673.js} +2 -2
- package/dist/esm/{sqm-portal-email-verification-view-3fa9587c.js → sqm-portal-email-verification-view-88fbf496.js} +4 -4
- package/dist/esm/sqm-portal-email-verification.entry.js +18 -48
- package/dist/esm/sqm-portal-forgot-password_6.entry.js +73 -401
- package/dist/esm/sqm-portal-logout.entry.js +5 -11
- package/dist/esm/{sqm-portal-profile-view-41894261.js → sqm-portal-profile-view-f27adfba.js} +20 -17
- package/dist/esm/sqm-portal-profile.entry.js +16 -52
- package/dist/esm/sqm-portal-protected-route.entry.js +8 -21
- package/dist/esm/{sqm-portal-registration-form-view-79265df5.js → sqm-portal-registration-form-view-113e1969.js} +26 -21
- package/dist/esm/{sqm-portal-reset-password-view-c7dd1c01.js → sqm-portal-reset-password-view-f9fb6355.js} +3 -3
- package/dist/esm/sqm-portal-reset-password.entry.js +18 -86
- package/dist/esm/{sqm-portal-verify-email-view-c102aa7c.js → sqm-portal-verify-email-view-ee40e3f2.js} +48 -45
- package/dist/esm/{sqm-qr-code-view-dd46daa3.js → sqm-qr-code-view-f8de4606.js} +3 -3
- package/dist/esm/sqm-qr-code.entry.js +18 -44
- package/dist/esm/sqm-referral-table_11.entry.js +36 -139
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +5 -4
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -7
- package/dist/esm/sqm-rewards-table_9.entry.js +55 -174
- package/dist/esm/sqm-route.entry.js +2 -1
- package/dist/esm/sqm-scroll.entry.js +12 -8
- package/dist/esm/sqm-stencilbook.entry.js +4808 -4180
- package/dist/esm/sqm-tab.entry.js +5 -4
- package/dist/esm/sqm-tabs.entry.js +9 -8
- package/dist/esm/{sqm-text-span-view-72f43dff.js → sqm-text-span-view-ed92b3c6.js} +2 -2
- package/dist/esm/sqm-text-span.entry.js +8 -4
- package/dist/esm/{sqm-user-info-form-view-8a95c5eb.js → sqm-user-info-form-view-c044a385.js} +173 -163
- package/dist/esm/sqm-widget-verification-controller.entry.js +4 -9
- package/dist/esm/subregions-d9f177f6.js +1452 -0
- package/dist/esm/{useChildElements-aa9eb7c9.js → useChildElements-a69f208f.js} +3 -3
- package/dist/esm/{useIndirectTaxForm-8d2e873d.js → useIndirectTaxForm-64a3ca69.js} +32 -28
- package/dist/esm/{useInstantAccessRegistration-7b11eb02.js → useInstantAccessRegistration-8c678a5a.js} +6 -6
- package/dist/esm/{useLeadFormState-b67018f2.js → useLeadFormState-34e05463.js} +7 -7
- package/dist/esm/{usePortalRegistrationForm-91e5786d.js → usePortalRegistrationForm-c6519939.js} +14 -11
- package/dist/esm/{useReferralCodes-a0a271ca.js → useReferralCodes-d0a384e4.js} +9 -9
- package/dist/esm/{useReferralTable-670580ff.js → useReferralTable-214dff06.js} +11 -11
- package/dist/esm/{useRegistrationFormState-95a75c57.js → useRegistrationFormState-72b4786d.js} +3 -3
- package/dist/esm/{useVerificationEmail-99d9f705.js → useVerificationEmail-b2c349a3.js} +12 -10
- package/dist/esm/{utilities-23a276e0.js → utilities-ceab25cd.js} +2 -2
- package/dist/esm-es5/AsYouType-cc09fa68.js +1 -0
- package/dist/esm-es5/{ErrorView-c6fc1d9b.js → ErrorView-19af8137.js} +1 -1
- package/dist/esm-es5/GenericTableView-4f7ac63d.js +1 -0
- package/dist/esm-es5/JSS-e97b34f4.js +8 -0
- package/dist/esm-es5/ShadowViewAddon-0c8005bd.js +1 -0
- package/dist/esm-es5/copy-text-view-e1c3f2cd.js +1 -0
- package/dist/esm-es5/data-510cc9b7.js +1 -0
- package/dist/esm-es5/demoMerge-a0320a8e.js +1 -0
- package/dist/esm-es5/dom-context-hooks.module-f88a3e54.js +53 -0
- package/dist/esm-es5/email-registration-view-7a63a912.js +1 -0
- package/dist/esm-es5/global-cf0cc6b1.js +271 -0
- package/dist/esm-es5/imageUrl-4775f17b.js +1 -1
- package/dist/esm-es5/index-7a8b0c0b.js +2 -0
- package/dist/esm-es5/index-b04013cc.js +1 -0
- package/dist/esm-es5/index-e6f5153e.js +1 -0
- package/dist/esm-es5/jsonpointer-c5423376.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/luxon-40b943cb.js +1 -0
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/mockRewardData-2cceba7a.js +1 -0
- package/dist/esm-es5/parseStates-0c27f2de.js +1 -0
- package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
- package/dist/esm-es5/re-render-e911a0f7.js +1 -0
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -1
- package/dist/esm-es5/{sqm-close-button-view-fd9012e7.js → sqm-close-button-view-1deb12b1.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_2.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-form-message_2.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-lead-checkbox-field-view-d055e7bd.js +1 -0
- package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
- package/dist/esm-es5/sqm-lead-input-field-view-b0d62f1c.js +1 -0
- package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
- package/dist/esm-es5/{sqm-leaderboard-rank-view-7a682cc3.js → sqm-leaderboard-rank-view-cd52cc80.js} +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/{sqm-logout-current-user-view-376c1bf6.js → sqm-logout-current-user-view-9bda187a.js} +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-754b2484.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-view-e2094399.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
- package/dist/esm-es5/sqm-partner-info-modal-view-3b59be37.js +1 -0
- 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-container-view-fcd53673.js +1 -0
- package/dist/esm-es5/{sqm-portal-email-verification-view-3fa9587c.js → sqm-portal-email-verification-view-88fbf496.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password_6.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-profile-view-f27adfba.js +1 -0
- 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-view-113e1969.js +1 -0
- package/dist/esm-es5/sqm-portal-reset-password-view-f9fb6355.js +1 -0
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-verify-email-view-ee40e3f2.js +1 -0
- package/dist/esm-es5/{sqm-qr-code-view-dd46daa3.js → sqm-qr-code-view-f8de4606.js} +1 -1
- package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-route.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-text-span-view-ed92b3c6.js +1 -0
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/sqm-user-info-form-view-c044a385.js +1 -0
- package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
- package/dist/esm-es5/subregions-d9f177f6.js +1 -0
- package/dist/esm-es5/useChildElements-a69f208f.js +1 -0
- package/dist/esm-es5/useIndirectTaxForm-64a3ca69.js +6 -0
- package/dist/esm-es5/useInstantAccessRegistration-8c678a5a.js +1 -0
- package/dist/esm-es5/useLeadFormState-34e05463.js +1 -0
- package/dist/esm-es5/usePortalRegistrationForm-c6519939.js +1 -0
- package/dist/esm-es5/useReferralCodes-d0a384e4.js +1 -0
- package/dist/esm-es5/useReferralTable-214dff06.js +1 -0
- package/dist/esm-es5/useRegistrationFormState-72b4786d.js +1 -0
- package/dist/esm-es5/useVerificationEmail-b2c349a3.js +1 -0
- package/dist/esm-es5/utilities-ceab25cd.js +1 -0
- package/dist/esm-es5/utils-334c1e34.js +1 -1
- package/dist/loader/index.d.ts +9 -1
- package/dist/loader/package.json +1 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +2 -1
- package/dist/mint-components/p-029ee766.system.js +1 -0
- package/dist/mint-components/p-04eaa3bb.system.js +1 -0
- package/dist/mint-components/p-056845fb.js +56 -0
- package/dist/mint-components/p-05715d8c.system.entry.js +1 -0
- package/dist/mint-components/p-0650e0f1.system.js +1 -0
- package/dist/mint-components/p-09a6ab1f.entry.js +1 -0
- package/dist/mint-components/p-0a8c9f35.system.entry.js +1 -0
- package/dist/mint-components/{p-11c127f5.js → p-0b77b3fe.js} +1 -1
- package/dist/mint-components/p-0bc61e27.system.entry.js +1 -0
- package/dist/mint-components/p-0bdacc2d.system.js +1 -0
- package/dist/mint-components/p-0c81f11f.system.entry.js +1 -0
- package/dist/mint-components/p-0c97293e.entry.js +1 -0
- package/dist/mint-components/p-0d69fc17.system.entry.js +1 -0
- package/dist/mint-components/p-0daa339e.entry.js +1 -0
- package/dist/mint-components/p-0f65e4ad.system.js +1 -0
- package/dist/mint-components/p-11028f98.system.js +1 -0
- package/dist/mint-components/p-119b9680.system.js +1 -0
- package/dist/mint-components/{p-ed741b3b.js → p-125c5bec.js} +6 -6
- package/dist/mint-components/p-12ae9c97.entry.js +1 -0
- package/dist/mint-components/p-139825b2.entry.js +1 -0
- package/dist/mint-components/p-14f0af4c.system.entry.js +1 -0
- package/dist/mint-components/{p-1a3a57c0.js → p-159a9368.js} +1 -1
- package/dist/mint-components/{p-78e98761.js → p-15f170d4.js} +4 -4
- package/dist/mint-components/p-162e5426.system.js +1 -0
- package/dist/mint-components/p-1933e4cc.system.entry.js +1 -0
- package/dist/mint-components/p-1aa5cdff.entry.js +1 -0
- package/dist/mint-components/p-1b673705.system.js +1 -0
- package/dist/mint-components/p-1e1543c7.entry.js +1 -0
- package/dist/mint-components/p-201ae45a.js +1 -0
- package/dist/mint-components/p-20b90db3.system.entry.js +1 -0
- package/dist/mint-components/p-2380b28e.system.entry.js +1 -0
- package/dist/mint-components/p-258152c8.system.entry.js +1 -0
- package/dist/mint-components/p-29be0454.system.entry.js +1 -0
- package/dist/mint-components/p-2af001d4.system.js +1 -0
- package/dist/mint-components/{p-88e16945.js → p-2b052eed.js} +1 -1
- package/dist/mint-components/p-2b5c577a.system.js +1 -0
- package/dist/mint-components/p-2ff39583.entry.js +33 -0
- package/dist/mint-components/p-3104b4ba.entry.js +1 -0
- package/dist/mint-components/p-324dd9c9.system.entry.js +1 -0
- package/dist/mint-components/p-32b3c92e.system.entry.js +1 -0
- package/dist/mint-components/{p-c813ec64.js → p-3595dbe3.js} +1 -1
- package/dist/mint-components/p-384d4366.system.entry.js +1 -0
- package/dist/mint-components/{p-a417a4c7.js → p-388fdcdc.js} +1 -1
- package/dist/mint-components/{p-acaf505d.entry.js → p-39e59497.entry.js} +1 -1
- package/dist/mint-components/p-3a8fa8df.system.entry.js +1 -0
- package/dist/mint-components/{p-456ccda6.system.js → p-3aab5e80.system.js} +1 -1
- package/dist/mint-components/p-3b7eac48.js +1 -0
- package/dist/mint-components/p-3f9d4025.js +254 -0
- package/dist/mint-components/p-4639a9ed.entry.js +1 -0
- package/dist/mint-components/p-483c2ce0.system.entry.js +1 -0
- package/dist/mint-components/p-487dac4b.system.js +271 -0
- package/dist/mint-components/p-49ca1533.system.entry.js +1 -0
- package/dist/mint-components/p-49d4188a.system.js +1 -0
- package/dist/mint-components/p-4be3689e.system.entry.js +1 -0
- package/dist/mint-components/p-4d690bf1.system.js +1 -0
- package/dist/mint-components/p-4ea630ba.system.js +1 -0
- package/dist/mint-components/p-5a1be3aa.entry.js +83 -0
- package/dist/mint-components/p-5a2c495f.js +1 -0
- package/dist/mint-components/p-5b043988.system.entry.js +1 -0
- package/dist/mint-components/p-5bacacba.entry.js +13 -0
- package/dist/mint-components/p-5e7e4e54.system.entry.js +1 -0
- package/dist/mint-components/p-6333265f.system.js +1 -1
- package/dist/mint-components/p-643a756b.system.js +53 -0
- package/dist/mint-components/p-647ca265.entry.js +1 -0
- package/dist/mint-components/p-647ffff2.entry.js +1 -0
- package/dist/mint-components/p-64c93b03.system.js +1 -0
- package/dist/mint-components/p-6708043c.entry.js +1 -0
- package/dist/mint-components/p-6a7c9ae4.system.entry.js +1 -0
- package/dist/mint-components/p-6a7cd966.system.js +1 -0
- package/dist/mint-components/p-6b9ff091.system.js +1 -0
- package/dist/mint-components/p-6be0e0a7.system.entry.js +1 -0
- package/dist/mint-components/p-6ccdf33a.js +1 -0
- package/dist/mint-components/p-6cdde5e8.system.js +1 -0
- package/dist/mint-components/p-6cfca206.js +1 -0
- package/dist/mint-components/{p-d276468c.js → p-6e00edce.js} +1 -1
- package/dist/mint-components/p-6eb14db9.system.entry.js +1 -0
- package/dist/mint-components/p-6f3ba1ad.system.js +1 -0
- package/dist/mint-components/p-6f66bb97.system.js +1 -0
- package/dist/mint-components/p-7127e360.system.entry.js +1 -0
- package/dist/mint-components/{p-d0559e66.js → p-71759064.js} +1 -1
- package/dist/mint-components/p-72f11f03.js +1 -0
- package/dist/mint-components/p-732ac03d.js +1 -0
- package/dist/mint-components/p-74f50554.js +1 -0
- package/dist/mint-components/p-7558fe46.js +499 -0
- package/dist/mint-components/{p-c43e1d3b.js → p-75b7496e.js} +1 -1
- package/dist/mint-components/p-76d36b05.js +1 -0
- package/dist/mint-components/p-7a8ed2f3.system.entry.js +1 -0
- package/dist/mint-components/{p-3390f1f2.system.js → p-7d992af1.system.js} +2 -2
- package/dist/mint-components/p-7f71b56b.system.entry.js +1 -0
- package/dist/mint-components/p-81b63e83.system.entry.js +1 -0
- package/dist/mint-components/p-83330731.system.js +1 -0
- package/dist/mint-components/p-834cd992.js +2 -0
- package/dist/mint-components/p-843c9997.system.js +1 -0
- package/dist/mint-components/{p-956f9479.system.js → p-8680e52b.system.js} +1 -1
- package/dist/mint-components/p-8740794e.system.js +2 -0
- package/dist/mint-components/p-885630e6.entry.js +1 -0
- package/dist/mint-components/p-8886a874.system.js +1 -0
- package/dist/mint-components/p-88b65807.system.js +1 -0
- package/dist/mint-components/p-89b410d5.system.entry.js +1 -0
- package/dist/mint-components/p-89eef397.entry.js +1 -0
- package/dist/mint-components/p-8aae5dba.system.entry.js +1 -0
- package/dist/mint-components/p-8ba39302.entry.js +1 -0
- package/dist/mint-components/{p-c2254b88.js → p-8d85f34c.js} +1 -1
- package/dist/mint-components/p-8f67c580.js +1 -0
- package/dist/mint-components/p-8fa1f8e3.entry.js +1 -0
- package/dist/mint-components/p-930cc94f.system.js +1 -0
- package/dist/mint-components/p-94f3e0a2.js +1 -0
- package/dist/mint-components/p-96e332db.entry.js +17 -0
- package/dist/mint-components/p-9755e82a.system.entry.js +1 -0
- package/dist/mint-components/p-9a7f186b.entry.js +1 -0
- package/dist/mint-components/p-9c2e286c.entry.js +11 -0
- package/dist/mint-components/{p-e30abc44.js → p-9cabd2d1.js} +1 -1
- package/dist/mint-components/p-9d06abb3.entry.js +13 -0
- package/dist/mint-components/p-9d1659c4.entry.js +308 -0
- package/dist/mint-components/p-9d6ef5ca.entry.js +11 -0
- package/dist/mint-components/p-a0e6ccbc.system.js +1 -0
- package/dist/mint-components/p-a35191ca.system.js +1 -0
- package/dist/mint-components/p-a3d1c665.system.entry.js +1 -0
- package/dist/mint-components/p-a43a9fa9.system.js +1 -1
- package/dist/mint-components/{p-04da3964.system.js → p-a6c96b8a.system.js} +1 -1
- package/dist/mint-components/p-a75748c4.js +13 -0
- package/dist/mint-components/{p-f9fcc772.js → p-a7a74002.js} +1 -1
- package/dist/mint-components/{p-3484f1c1.js → p-a8e2f45b.js} +1 -1
- package/dist/mint-components/p-a976d930.system.entry.js +1 -0
- package/dist/mint-components/p-aadbe44d.js +1 -0
- package/dist/mint-components/p-aaf15612.entry.js +1 -0
- package/dist/mint-components/p-ab1e96ea.system.js +1 -0
- package/dist/mint-components/p-abd9e52b.system.entry.js +1 -0
- package/dist/mint-components/{p-19aebd7d.js → p-ac32d96a.js} +1 -1
- package/dist/mint-components/{p-381af581.js → p-acd3e9e3.js} +1 -1
- package/dist/mint-components/{p-9a69f781.system.js → p-ae5f7df6.system.js} +1 -1
- package/dist/mint-components/p-af9d3491.js +1 -0
- package/dist/mint-components/p-b1f880ee.entry.js +1 -0
- package/dist/mint-components/p-b492fd4b.system.entry.js +1 -0
- package/dist/mint-components/p-b652d3b3.js +1 -0
- package/dist/mint-components/p-b6f5ab75.system.entry.js +1 -0
- package/dist/mint-components/p-b907384d.entry.js +1 -0
- package/dist/mint-components/p-bbb494a8.system.js +1 -0
- package/dist/mint-components/p-bd1a14ba.js +1 -0
- package/dist/mint-components/p-bd66c171.js +1 -0
- package/dist/mint-components/p-be38ae67.js +1 -0
- package/dist/mint-components/p-c30dfd5d.entry.js +92 -0
- package/dist/mint-components/p-c380988f.system.js +1 -0
- package/dist/mint-components/{p-104f6ced.entry.js → p-c3a07f51.entry.js} +1 -1
- package/dist/mint-components/p-c50c206e.system.js +1 -0
- package/dist/mint-components/p-c6d2a452.js +1 -0
- package/dist/mint-components/p-c7dd2eaa.system.entry.js +1 -0
- package/dist/mint-components/p-c8f697e4.system.js +1 -0
- package/dist/mint-components/p-c980e369.entry.js +1 -0
- package/dist/mint-components/p-cb714df1.system.js +1 -0
- package/dist/mint-components/p-cdf099fe.js +108 -0
- package/dist/mint-components/p-ce06d498.js +52 -0
- package/dist/mint-components/p-d08ebaa9.js +1 -0
- package/dist/mint-components/p-d8fac546.entry.js +1 -0
- package/dist/mint-components/p-d91a97d2.js +1 -0
- package/dist/mint-components/p-da6cb2c3.system.entry.js +1 -0
- package/dist/mint-components/p-dd7e8c95.system.js +8 -0
- package/dist/mint-components/p-dd82a675.system.entry.js +1 -0
- package/dist/mint-components/p-df1206f0.entry.js +1 -0
- package/dist/mint-components/p-df45273e.js +1 -0
- package/dist/mint-components/p-df531a5d.entry.js +1 -0
- package/dist/mint-components/p-e1c55f04.system.entry.js +1 -0
- package/dist/mint-components/p-e33839b3.system.js +1 -0
- package/dist/mint-components/p-e389aded.entry.js +1 -0
- package/dist/mint-components/p-e73e0fc4.system.js +1 -0
- package/dist/mint-components/p-e7f7b9c6.entry.js +1 -0
- package/dist/mint-components/{p-b47e3740.system.js → p-e9942aae.system.js} +1 -1
- package/dist/mint-components/p-eac100d1.system.js +1 -0
- package/dist/mint-components/p-eb47b174.entry.js +1 -0
- package/dist/mint-components/p-eba82926.js +1 -0
- package/dist/mint-components/p-ec00bb5f.js +1 -0
- package/dist/mint-components/p-edc8d9bc.system.js +1 -0
- package/dist/mint-components/p-f0e1d538.entry.js +147 -0
- package/dist/mint-components/{p-ff75998a.system.entry.js → p-f53c7a87.system.entry.js} +1 -1
- package/dist/mint-components/p-f686c142.system.js +1 -0
- package/dist/mint-components/{p-5b0de730.js → p-fa2edc58.js} +152 -152
- package/dist/mint-components/p-fab41ea8.system.entry.js +1 -0
- package/dist/mint-components/p-fd14377b.entry.js +1 -0
- package/dist/mint-components/p-ff1336b3.entry.js +148 -0
- package/dist/types/components/sqm-big-stat/useBigStat.d.ts +1 -1
- package/dist/types/components/sqm-context-router/useContextRouter.d.ts +1 -1
- package/dist/types/components/sqm-coupon-code/useCouponCode.d.ts +1 -1
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +1 -1
- package/dist/types/components/sqm-lead-form/useLeadForm.d.ts +2 -2
- package/dist/types/components/sqm-lead-form/useLeadFormState.d.ts +3 -3
- package/dist/types/components/sqm-leaderboard/useLeaderboard.d.ts +2 -2
- package/dist/types/components/sqm-pagination/usePagination.d.ts +1 -1
- package/dist/types/components/sqm-partner-info-modal/usePartnerInfoModal.d.ts +3 -3
- package/dist/types/components/sqm-popup-container/sqm-popup-container-view.d.ts +1 -1
- package/dist/types/components/sqm-popup-container/usePopupContainer.d.ts +2 -2
- package/dist/types/components/sqm-portal-footer/PoweredByImg.d.ts +1 -1
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer-view.d.ts +1 -1
- package/dist/types/components/sqm-portal-google-registration-form/usePortalGoogleRegistrationForm.d.ts +1 -1
- package/dist/types/components/sqm-portal-register/usePortalRegister.d.ts +1 -1
- package/dist/types/components/sqm-portal-registration-form/usePortalRegistrationForm.d.ts +1 -1
- package/dist/types/components/sqm-portal-registration-form/useRegistrationFormState.d.ts +3 -3
- package/dist/types/components/sqm-referral-codes/useReferralCodes.d.ts +2 -2
- package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe-view.d.ts +1 -1
- package/dist/types/components/sqm-referral-table/useReferralTable.d.ts +1 -1
- package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.d.ts +2 -2
- package/dist/types/components/sqm-reward-exchange-list/useRewardExchangeList.d.ts +5 -5
- package/dist/types/components/sqm-router/useRouter.d.ts +1 -1
- package/dist/types/components/sqm-share-link/sqm-share-link-view.d.ts +1 -1
- package/dist/types/components/sqm-stencilbook/Matrix.d.ts +1 -1
- package/dist/types/components/sqm-tab/sqm-tab-view.d.ts +1 -1
- package/dist/types/components/sqm-tabs/sqm-tabs-view.d.ts +1 -1
- package/dist/types/components/sqm-task-card/progress-bar/progress-bar-view.d.ts +1 -1
- package/dist/types/components/sqm-task-card/sqm-task-card-view.d.ts +1 -1
- package/dist/types/components/sqm-widget-verification/getVerificationStep.d.ts +2 -2
- package/dist/types/components/tax-and-cash/data.d.ts +13 -13
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/mockData.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.d.ts +2 -2
- package/dist/types/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-docusign-form/useDocusignForm.d.ts +5 -5
- package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.d.ts +6 -6
- package/dist/types/components/tax-and-cash/sqm-payout-details-card/usePayoutDetailsCard.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +3 -3
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/extractProps.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.d.ts +5 -5
- package/dist/types/components/tax-and-cash/subregions.d.ts +1 -1
- package/dist/types/components/tax-and-cash/utils.d.ts +1 -1
- package/dist/types/components.d.ts +3771 -3
- package/dist/types/global/mixins.d.ts +5 -5
- package/dist/types/stencil-public-runtime.d.ts +275 -193
- package/dist/types/utils/RequiredPropsError.d.ts +1 -1
- package/dist/types/utils/demoMerge.d.ts +8 -0
- package/dist/types/utils/utils.d.ts +1 -1
- package/docs/docs.docx +0 -0
- package/docs/stats.json +120116 -0
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +34 -45
- package/dist/cjs/AsYouType-d15caac8.js +0 -4128
- package/dist/cjs/cjs-1066ec21.js +0 -135
- package/dist/cjs/eventKeys-7af4df4d.js +0 -5
- package/dist/cjs/sqm-lead-input-field-view-cd3f8076.js +0 -51
- package/dist/cjs/subregions-36662566.js +0 -1101
- package/dist/esm/AsYouType-2d56519e.js +0 -4108
- package/dist/esm/cjs-bdfb4486.js +0 -133
- package/dist/esm/eventKeys-f76b6a03.js +0 -3
- package/dist/esm/sqm-lead-input-field-view-919dc0a9.js +0 -49
- package/dist/esm/subregions-16dc47a9.js +0 -1086
- package/dist/esm-es5/AsYouType-2d56519e.js +0 -1
- package/dist/esm-es5/GenericTableView-471a9386.js +0 -1
- package/dist/esm-es5/JSS-67b5cff8.js +0 -8
- package/dist/esm-es5/ShadowViewAddon-e1375e0d.js +0 -1
- package/dist/esm-es5/cjs-bdfb4486.js +0 -1
- package/dist/esm-es5/copy-text-view-87259b11.js +0 -1
- package/dist/esm-es5/data-04d2da44.js +0 -1
- package/dist/esm-es5/dom-context-hooks.module-50442785.js +0 -53
- package/dist/esm-es5/email-registration-view-4cdb4129.js +0 -1
- package/dist/esm-es5/eventKeys-f76b6a03.js +0 -1
- package/dist/esm-es5/global-f019575d.js +0 -271
- package/dist/esm-es5/index-38ad4957.js +0 -1
- package/dist/esm-es5/index-ffa26b43.js +0 -1
- package/dist/esm-es5/index.module-cc08450c.js +0 -1
- package/dist/esm-es5/jsonpointer-388a7082.js +0 -1
- package/dist/esm-es5/luxon-1be92a8e.js +0 -1
- package/dist/esm-es5/mockRewardData-9b27d6f1.js +0 -1
- package/dist/esm-es5/parseStates-ed75e224.js +0 -1
- package/dist/esm-es5/re-render-380499f8.js +0 -1
- package/dist/esm-es5/sqm-lead-checkbox-field-view-04aa32a7.js +0 -1
- package/dist/esm-es5/sqm-lead-input-field-view-919dc0a9.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-40837457.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-view-2b66457a.js +0 -1
- package/dist/esm-es5/sqm-partner-info-modal-view-e02fb63a.js +0 -1
- package/dist/esm-es5/sqm-portal-container-view-200c9df8.js +0 -1
- package/dist/esm-es5/sqm-portal-profile-view-41894261.js +0 -1
- package/dist/esm-es5/sqm-portal-registration-form-view-79265df5.js +0 -1
- package/dist/esm-es5/sqm-portal-reset-password-view-c7dd1c01.js +0 -1
- package/dist/esm-es5/sqm-portal-verify-email-view-c102aa7c.js +0 -1
- package/dist/esm-es5/sqm-text-span-view-72f43dff.js +0 -1
- package/dist/esm-es5/sqm-user-info-form-view-8a95c5eb.js +0 -1
- package/dist/esm-es5/subregions-16dc47a9.js +0 -1
- package/dist/esm-es5/useChildElements-aa9eb7c9.js +0 -1
- package/dist/esm-es5/useIndirectTaxForm-8d2e873d.js +0 -6
- package/dist/esm-es5/useInstantAccessRegistration-7b11eb02.js +0 -1
- package/dist/esm-es5/useLeadFormState-b67018f2.js +0 -1
- package/dist/esm-es5/usePortalRegistrationForm-91e5786d.js +0 -1
- package/dist/esm-es5/useReferralCodes-a0a271ca.js +0 -1
- package/dist/esm-es5/useReferralTable-670580ff.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-95a75c57.js +0 -1
- package/dist/esm-es5/useVerificationEmail-99d9f705.js +0 -1
- package/dist/esm-es5/utilities-23a276e0.js +0 -1
- package/dist/mint-components/p-0306ce68.js +0 -1
- package/dist/mint-components/p-03361685.system.entry.js +0 -1
- package/dist/mint-components/p-036b876f.system.js +0 -1
- package/dist/mint-components/p-083180bf.js +0 -1
- package/dist/mint-components/p-08f36275.entry.js +0 -92
- package/dist/mint-components/p-08f82f9e.system.entry.js +0 -1
- package/dist/mint-components/p-092305db.entry.js +0 -1
- package/dist/mint-components/p-0ac8d8f4.system.js +0 -1
- package/dist/mint-components/p-0b1e90fe.system.js +0 -1
- package/dist/mint-components/p-0dca7884.entry.js +0 -148
- package/dist/mint-components/p-0ec9eb9b.entry.js +0 -1
- package/dist/mint-components/p-115dfc03.system.js +0 -1
- package/dist/mint-components/p-128610fb.system.js +0 -1
- package/dist/mint-components/p-13d1b10d.entry.js +0 -1
- package/dist/mint-components/p-13f3a647.js +0 -1
- package/dist/mint-components/p-16bd4751.system.entry.js +0 -1
- package/dist/mint-components/p-1a673057.system.js +0 -8
- package/dist/mint-components/p-1cf59d96.system.js +0 -1
- package/dist/mint-components/p-1ee1dd9c.system.entry.js +0 -1
- package/dist/mint-components/p-1f292473.entry.js +0 -1
- package/dist/mint-components/p-220cd813.system.entry.js +0 -1
- package/dist/mint-components/p-2392aabe.entry.js +0 -1
- package/dist/mint-components/p-263ca1be.system.js +0 -1
- package/dist/mint-components/p-274816ae.entry.js +0 -1
- package/dist/mint-components/p-2786819c.js +0 -1
- package/dist/mint-components/p-28ed2ae9.js +0 -1
- package/dist/mint-components/p-28fa5159.entry.js +0 -1
- package/dist/mint-components/p-290314a6.js +0 -52
- package/dist/mint-components/p-2cc01e0a.system.js +0 -1
- package/dist/mint-components/p-319bf866.system.entry.js +0 -1
- package/dist/mint-components/p-31b7d861.entry.js +0 -1
- package/dist/mint-components/p-31c5f477.entry.js +0 -1
- package/dist/mint-components/p-31cfa118.system.entry.js +0 -1
- package/dist/mint-components/p-3268c98c.system.entry.js +0 -1
- package/dist/mint-components/p-34917ee4.system.js +0 -1
- package/dist/mint-components/p-34bea1be.system.js +0 -1
- package/dist/mint-components/p-3db7a3c0.system.entry.js +0 -1
- package/dist/mint-components/p-429fa431.js +0 -1
- package/dist/mint-components/p-44ce74b6.js +0 -1
- package/dist/mint-components/p-45be99ae.system.js +0 -1
- package/dist/mint-components/p-47dc2362.system.entry.js +0 -1
- package/dist/mint-components/p-48b25874.system.js +0 -1
- package/dist/mint-components/p-4bd679a7.system.js +0 -1
- package/dist/mint-components/p-4ca6cc3c.system.entry.js +0 -1
- package/dist/mint-components/p-51d06654.system.js +0 -1
- package/dist/mint-components/p-5218d9dd.system.entry.js +0 -1
- package/dist/mint-components/p-5264ea68.js +0 -1
- package/dist/mint-components/p-5300edb5.js +0 -1
- package/dist/mint-components/p-556338c3.system.js +0 -1
- package/dist/mint-components/p-573ea3fd.system.entry.js +0 -1
- package/dist/mint-components/p-57c693ef.system.entry.js +0 -1
- package/dist/mint-components/p-59d5f239.system.entry.js +0 -1
- package/dist/mint-components/p-5c3cdefe.entry.js +0 -1
- package/dist/mint-components/p-5cda271c.system.entry.js +0 -1
- package/dist/mint-components/p-5d99dbc9.js +0 -1
- package/dist/mint-components/p-641f968d.system.js +0 -1
- package/dist/mint-components/p-686dd5eb.system.js +0 -1
- package/dist/mint-components/p-6b5528b1.entry.js +0 -33
- package/dist/mint-components/p-6c3a1d86.js +0 -1
- package/dist/mint-components/p-6c8758ac.entry.js +0 -1
- package/dist/mint-components/p-6dffb326.entry.js +0 -13
- package/dist/mint-components/p-6e9738a4.js +0 -1
- package/dist/mint-components/p-6f8dde97.system.js +0 -1
- package/dist/mint-components/p-7010498f.js +0 -1
- package/dist/mint-components/p-7062154c.system.js +0 -1
- package/dist/mint-components/p-717fa601.js +0 -1
- package/dist/mint-components/p-732907b1.system.entry.js +0 -1
- package/dist/mint-components/p-7562cd98.system.js +0 -1
- package/dist/mint-components/p-7ae8fb53.system.js +0 -1
- package/dist/mint-components/p-808f7f22.entry.js +0 -1
- package/dist/mint-components/p-80cee817.system.js +0 -1
- package/dist/mint-components/p-8452837a.system.js +0 -1
- package/dist/mint-components/p-85996c52.system.entry.js +0 -1
- package/dist/mint-components/p-8629d0be.system.entry.js +0 -1
- package/dist/mint-components/p-86c430f8.system.entry.js +0 -1
- package/dist/mint-components/p-8707c7fb.entry.js +0 -1
- package/dist/mint-components/p-8899ff38.system.entry.js +0 -1
- package/dist/mint-components/p-88a5350b.entry.js +0 -11
- package/dist/mint-components/p-8d363802.js +0 -1
- package/dist/mint-components/p-93e4954e.entry.js +0 -308
- package/dist/mint-components/p-952eefec.system.js +0 -1
- package/dist/mint-components/p-95f82a6f.entry.js +0 -9
- package/dist/mint-components/p-9715be5b.entry.js +0 -1
- package/dist/mint-components/p-97b8073f.system.js +0 -1
- package/dist/mint-components/p-99f7e6f1.js +0 -1
- package/dist/mint-components/p-9f517f81.entry.js +0 -1
- package/dist/mint-components/p-9f7d1197.system.entry.js +0 -1
- package/dist/mint-components/p-a04be06d.system.entry.js +0 -1
- package/dist/mint-components/p-a08157c4.js +0 -1
- package/dist/mint-components/p-a495e3a5.entry.js +0 -1
- package/dist/mint-components/p-a52a961e.entry.js +0 -1
- package/dist/mint-components/p-a6920cc9.system.entry.js +0 -1
- package/dist/mint-components/p-a7fc1e02.js +0 -42
- package/dist/mint-components/p-ab8a551f.system.entry.js +0 -1
- package/dist/mint-components/p-ac65d2c1.entry.js +0 -1
- package/dist/mint-components/p-ad9ea625.system.entry.js +0 -1
- package/dist/mint-components/p-b0aa9348.entry.js +0 -1
- package/dist/mint-components/p-b2295bc5.system.js +0 -1
- package/dist/mint-components/p-b56f3e55.js +0 -1
- package/dist/mint-components/p-b61be711.entry.js +0 -1
- package/dist/mint-components/p-b6504987.system.js +0 -53
- package/dist/mint-components/p-b69dbed8.system.js +0 -1
- package/dist/mint-components/p-b6b5fa4f.system.entry.js +0 -1
- package/dist/mint-components/p-bc625793.system.js +0 -1
- package/dist/mint-components/p-bee4af5d.js +0 -1
- package/dist/mint-components/p-c03131dd.js +0 -1
- package/dist/mint-components/p-c09ae087.system.js +0 -1
- package/dist/mint-components/p-c1086930.js +0 -1
- package/dist/mint-components/p-c50e77ad.entry.js +0 -1
- package/dist/mint-components/p-c5698ef9.system.js +0 -1
- package/dist/mint-components/p-ca872769.system.entry.js +0 -1
- package/dist/mint-components/p-ca90ea64.js +0 -499
- package/dist/mint-components/p-cdf5354f.entry.js +0 -1
- package/dist/mint-components/p-cef45012.js +0 -1
- package/dist/mint-components/p-d028db52.system.entry.js +0 -1
- package/dist/mint-components/p-d0318b41.entry.js +0 -13
- package/dist/mint-components/p-d0ce74bd.system.js +0 -1
- package/dist/mint-components/p-d267f4bb.system.js +0 -1
- package/dist/mint-components/p-d26df2da.entry.js +0 -1
- package/dist/mint-components/p-d3b1ab20.system.entry.js +0 -1
- package/dist/mint-components/p-d463fa82.system.js +0 -1
- package/dist/mint-components/p-d46a048d.system.entry.js +0 -1
- package/dist/mint-components/p-d533ff7b.system.js +0 -271
- package/dist/mint-components/p-d6a7f402.entry.js +0 -1
- package/dist/mint-components/p-d9dbbf22.system.entry.js +0 -1
- package/dist/mint-components/p-db30fbd1.js +0 -13
- package/dist/mint-components/p-de8d7e90.entry.js +0 -17
- package/dist/mint-components/p-df28013f.system.entry.js +0 -1
- package/dist/mint-components/p-dffad4a8.entry.js +0 -1
- package/dist/mint-components/p-e006b6ad.entry.js +0 -1
- package/dist/mint-components/p-e0578030.system.js +0 -1
- package/dist/mint-components/p-e31c7242.system.entry.js +0 -1
- package/dist/mint-components/p-e4eac70d.js +0 -108
- package/dist/mint-components/p-e506bf7f.entry.js +0 -1
- package/dist/mint-components/p-e66187b6.system.entry.js +0 -1
- package/dist/mint-components/p-e7cf6632.js +0 -1
- package/dist/mint-components/p-e7d6e1e0.entry.js +0 -11
- package/dist/mint-components/p-e7e129ac.js +0 -1
- package/dist/mint-components/p-eb992f94.js +0 -1
- package/dist/mint-components/p-ec3e44c8.system.js +0 -1
- package/dist/mint-components/p-ec58040a.system.js +0 -1
- package/dist/mint-components/p-eedda43c.system.js +0 -1
- package/dist/mint-components/p-f0b63c48.entry.js +0 -83
- package/dist/mint-components/p-f1584abb.system.entry.js +0 -1
- package/dist/mint-components/p-f381533a.js +0 -1
- package/dist/mint-components/p-f45e076d.system.js +0 -1
- package/dist/mint-components/p-f507b364.system.entry.js +0 -1
- package/dist/mint-components/p-f69a4eb1.system.entry.js +0 -1
- package/dist/mint-components/p-f89c6a57.system.js +0 -1
- package/dist/mint-components/p-f982278b.entry.js +0 -1
- package/dist/mint-components/p-fbdd8c2a.system.entry.js +0 -1
- package/dist/mint-components/p-fdc4f293.system.entry.js +0 -1
- package/dist/mint-components/p-ff1a5481.system.js +0 -1
|
@@ -1,77 +1,78 @@
|
|
|
1
1
|
function _extends() {
|
|
2
|
-
_extends = Object.assign
|
|
3
|
-
for (var
|
|
4
|
-
var
|
|
5
|
-
|
|
6
|
-
for (var key in source) {
|
|
7
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
8
|
-
target[key] = source[key];
|
|
9
|
-
}
|
|
10
|
-
}
|
|
2
|
+
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
3
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
4
|
+
var t = arguments[e];
|
|
5
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
11
6
|
}
|
|
7
|
+
return n;
|
|
8
|
+
}, _extends.apply(null, arguments);
|
|
9
|
+
}
|
|
12
10
|
|
|
13
|
-
|
|
14
|
-
};
|
|
11
|
+
var _typeof$1 = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
|
15
12
|
|
|
16
|
-
|
|
17
|
-
}
|
|
13
|
+
var isBrowser = (typeof window === "undefined" ? "undefined" : _typeof$1(window)) === "object" && (typeof document === "undefined" ? "undefined" : _typeof$1(document)) === 'object' && document.nodeType === 9;
|
|
18
14
|
|
|
19
|
-
|
|
15
|
+
function _typeof(o) {
|
|
16
|
+
"@babel/helpers - typeof";
|
|
20
17
|
|
|
21
|
-
|
|
18
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
19
|
+
return typeof o;
|
|
20
|
+
} : function (o) {
|
|
21
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
22
|
+
}, _typeof(o);
|
|
23
|
+
}
|
|
22
24
|
|
|
23
|
-
function
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
if ("
|
|
29
|
-
|
|
25
|
+
function toPrimitive(t, e) {
|
|
26
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
27
|
+
var r;
|
|
28
|
+
if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) {
|
|
29
|
+
var i = r.call(t, e || "default");
|
|
30
|
+
if ("object" != _typeof(i)) return i;
|
|
31
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
30
32
|
}
|
|
33
|
+
return ("string" === e ? String : Number)(t);
|
|
31
34
|
}
|
|
32
35
|
|
|
33
|
-
function
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
return Constructor;
|
|
36
|
+
function toPropertyKey(t) {
|
|
37
|
+
var i = toPrimitive(t, "string");
|
|
38
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
37
39
|
}
|
|
38
40
|
|
|
39
|
-
function
|
|
40
|
-
|
|
41
|
-
o
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
return _setPrototypeOf(o, p);
|
|
41
|
+
function _defineProperties(e, r) {
|
|
42
|
+
for (var t = 0; t < r.length; t++) {
|
|
43
|
+
var o = r[t];
|
|
44
|
+
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);
|
|
45
|
+
}
|
|
46
46
|
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
_setPrototypeOf(subClass, superClass);
|
|
47
|
+
function _createClass(e, r, t) {
|
|
48
|
+
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
|
|
49
|
+
writable: !1
|
|
50
|
+
}), e;
|
|
52
51
|
}
|
|
53
52
|
|
|
54
|
-
function
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
}
|
|
53
|
+
function _setPrototypeOf(t, e) {
|
|
54
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
|
|
55
|
+
return t.__proto__ = e, t;
|
|
56
|
+
}, _setPrototypeOf(t, e);
|
|
57
|
+
}
|
|
58
58
|
|
|
59
|
-
|
|
59
|
+
function _inheritsLoose(t, o) {
|
|
60
|
+
t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o);
|
|
60
61
|
}
|
|
61
62
|
|
|
62
|
-
function
|
|
63
|
-
if (
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
var key, i;
|
|
63
|
+
function _assertThisInitialized(e) {
|
|
64
|
+
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
65
|
+
return e;
|
|
66
|
+
}
|
|
67
67
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
68
|
+
function _objectWithoutPropertiesLoose(r, e) {
|
|
69
|
+
if (null == r) return {};
|
|
70
|
+
var t = {};
|
|
71
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
72
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
73
|
+
t[n] = r[n];
|
|
72
74
|
}
|
|
73
|
-
|
|
74
|
-
return target;
|
|
75
|
+
return t;
|
|
75
76
|
}
|
|
76
77
|
|
|
77
78
|
var plainObjectConstrurctor = {}.constructor;
|
|
@@ -117,20 +118,17 @@ var join = function join(value, by) {
|
|
|
117
118
|
|
|
118
119
|
return result;
|
|
119
120
|
};
|
|
120
|
-
|
|
121
121
|
/**
|
|
122
|
-
* Converts array
|
|
122
|
+
* Converts JSS array value to a CSS string.
|
|
123
123
|
*
|
|
124
124
|
* `margin: [['5px', '10px']]` > `margin: 5px 10px;`
|
|
125
125
|
* `border: ['1px', '2px']` > `border: 1px, 2px;`
|
|
126
126
|
* `margin: [['5px', '10px'], '!important']` > `margin: 5px 10px !important;`
|
|
127
127
|
* `color: ['red', !important]` > `color: red !important;`
|
|
128
128
|
*/
|
|
129
|
-
var toCssValue = function toCssValue(value, ignoreImportant) {
|
|
130
|
-
if (ignoreImportant === void 0) {
|
|
131
|
-
ignoreImportant = false;
|
|
132
|
-
}
|
|
133
129
|
|
|
130
|
+
|
|
131
|
+
var toCssValue = function toCssValue(value) {
|
|
134
132
|
if (!Array.isArray(value)) return value;
|
|
135
133
|
var cssValue = ''; // Support space separated values via `[['5px', '10px']]`.
|
|
136
134
|
|
|
@@ -143,17 +141,32 @@ var toCssValue = function toCssValue(value, ignoreImportant) {
|
|
|
143
141
|
} else cssValue = join(value, ', '); // Add !important, because it was ignored.
|
|
144
142
|
|
|
145
143
|
|
|
146
|
-
if (
|
|
144
|
+
if (value[value.length - 1] === '!important') {
|
|
147
145
|
cssValue += ' !important';
|
|
148
146
|
}
|
|
149
147
|
|
|
150
148
|
return cssValue;
|
|
151
149
|
};
|
|
152
150
|
|
|
151
|
+
function getWhitespaceSymbols(options) {
|
|
152
|
+
if (options && options.format === false) {
|
|
153
|
+
return {
|
|
154
|
+
linebreak: '',
|
|
155
|
+
space: ''
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
return {
|
|
160
|
+
linebreak: '\n',
|
|
161
|
+
space: ' '
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
|
|
153
165
|
/**
|
|
154
166
|
* Indent a string.
|
|
155
167
|
* http://jsperf.com/array-join-vs-for
|
|
156
168
|
*/
|
|
169
|
+
|
|
157
170
|
function indentStr(str, indent) {
|
|
158
171
|
var result = '';
|
|
159
172
|
|
|
@@ -179,6 +192,15 @@ function toCss(selector, style, options) {
|
|
|
179
192
|
_options$indent = _options.indent,
|
|
180
193
|
indent = _options$indent === void 0 ? 0 : _options$indent;
|
|
181
194
|
var fallbacks = style.fallbacks;
|
|
195
|
+
|
|
196
|
+
if (options.format === false) {
|
|
197
|
+
indent = -Infinity;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
var _getWhitespaceSymbols = getWhitespaceSymbols(options),
|
|
201
|
+
linebreak = _getWhitespaceSymbols.linebreak,
|
|
202
|
+
space = _getWhitespaceSymbols.space;
|
|
203
|
+
|
|
182
204
|
if (selector) indent++; // Apply fallbacks first.
|
|
183
205
|
|
|
184
206
|
if (fallbacks) {
|
|
@@ -191,8 +213,8 @@ function toCss(selector, style, options) {
|
|
|
191
213
|
var value = fallback[prop];
|
|
192
214
|
|
|
193
215
|
if (value != null) {
|
|
194
|
-
if (result) result +=
|
|
195
|
-
result += indentStr(prop + ":
|
|
216
|
+
if (result) result += linebreak;
|
|
217
|
+
result += indentStr(prop + ":" + space + toCssValue(value) + ";", indent);
|
|
196
218
|
}
|
|
197
219
|
}
|
|
198
220
|
}
|
|
@@ -202,8 +224,8 @@ function toCss(selector, style, options) {
|
|
|
202
224
|
var _value = fallbacks[_prop];
|
|
203
225
|
|
|
204
226
|
if (_value != null) {
|
|
205
|
-
if (result) result +=
|
|
206
|
-
result += indentStr(_prop + ":
|
|
227
|
+
if (result) result += linebreak;
|
|
228
|
+
result += indentStr(_prop + ":" + space + toCssValue(_value) + ";", indent);
|
|
207
229
|
}
|
|
208
230
|
}
|
|
209
231
|
}
|
|
@@ -213,8 +235,8 @@ function toCss(selector, style, options) {
|
|
|
213
235
|
var _value2 = style[_prop2];
|
|
214
236
|
|
|
215
237
|
if (_value2 != null && _prop2 !== 'fallbacks') {
|
|
216
|
-
if (result) result +=
|
|
217
|
-
result += indentStr(_prop2 + ":
|
|
238
|
+
if (result) result += linebreak;
|
|
239
|
+
result += indentStr(_prop2 + ":" + space + toCssValue(_value2) + ";", indent);
|
|
218
240
|
}
|
|
219
241
|
} // Allow empty style in this case, because properties will be added dynamically.
|
|
220
242
|
|
|
@@ -223,8 +245,8 @@ function toCss(selector, style, options) {
|
|
|
223
245
|
|
|
224
246
|
if (!selector) return result;
|
|
225
247
|
indent--;
|
|
226
|
-
if (result) result = "
|
|
227
|
-
return indentStr(selector + "
|
|
248
|
+
if (result) result = "" + linebreak + result + linebreak;
|
|
249
|
+
return indentStr("" + selector + space + "{" + result, indent) + indentStr('}', indent);
|
|
228
250
|
}
|
|
229
251
|
|
|
230
252
|
var escapeRegex = /([[\].#*$><+~=|^:(),"'`\s])/g;
|
|
@@ -238,12 +260,7 @@ var BaseStyleRule =
|
|
|
238
260
|
function () {
|
|
239
261
|
function BaseStyleRule(key, style, options) {
|
|
240
262
|
this.type = 'style';
|
|
241
|
-
this.key = void 0;
|
|
242
263
|
this.isProcessed = false;
|
|
243
|
-
this.style = void 0;
|
|
244
|
-
this.renderer = void 0;
|
|
245
|
-
this.renderable = void 0;
|
|
246
|
-
this.options = void 0;
|
|
247
264
|
var sheet = options.sheet,
|
|
248
265
|
Renderer = options.Renderer;
|
|
249
266
|
this.key = key;
|
|
@@ -297,9 +314,6 @@ function (_BaseStyleRule) {
|
|
|
297
314
|
var _this;
|
|
298
315
|
|
|
299
316
|
_this = _BaseStyleRule.call(this, key, style, options) || this;
|
|
300
|
-
_this.selectorText = void 0;
|
|
301
|
-
_this.id = void 0;
|
|
302
|
-
_this.renderable = void 0;
|
|
303
317
|
var selector = options.selector,
|
|
304
318
|
scoped = options.scoped,
|
|
305
319
|
sheet = options.sheet,
|
|
@@ -396,12 +410,12 @@ function (_BaseStyleRule) {
|
|
|
396
410
|
return StyleRule;
|
|
397
411
|
}(BaseStyleRule);
|
|
398
412
|
var pluginStyleRule = {
|
|
399
|
-
onCreateRule: function onCreateRule(
|
|
400
|
-
if (
|
|
413
|
+
onCreateRule: function onCreateRule(key, style, options) {
|
|
414
|
+
if (key[0] === '@' || options.parent && options.parent.type === 'keyframes') {
|
|
401
415
|
return null;
|
|
402
416
|
}
|
|
403
417
|
|
|
404
|
-
return new StyleRule(
|
|
418
|
+
return new StyleRule(key, style, options);
|
|
405
419
|
}
|
|
406
420
|
};
|
|
407
421
|
|
|
@@ -419,13 +433,7 @@ var ConditionalRule =
|
|
|
419
433
|
function () {
|
|
420
434
|
function ConditionalRule(key, styles, options) {
|
|
421
435
|
this.type = 'conditional';
|
|
422
|
-
this.at = void 0;
|
|
423
|
-
this.key = void 0;
|
|
424
|
-
this.query = void 0;
|
|
425
|
-
this.rules = void 0;
|
|
426
|
-
this.options = void 0;
|
|
427
436
|
this.isProcessed = false;
|
|
428
|
-
this.renderable = void 0;
|
|
429
437
|
this.key = key;
|
|
430
438
|
var atMatch = key.match(atRegExp);
|
|
431
439
|
this.at = atMatch ? atMatch[1] : 'unknown'; // Key might contain a unique suffix in case the `name` passed by user was duplicate.
|
|
@@ -471,6 +479,16 @@ function () {
|
|
|
471
479
|
this.options.jss.plugins.onProcessRule(rule);
|
|
472
480
|
return rule;
|
|
473
481
|
}
|
|
482
|
+
/**
|
|
483
|
+
* Replace rule, run plugins.
|
|
484
|
+
*/
|
|
485
|
+
;
|
|
486
|
+
|
|
487
|
+
_proto.replaceRule = function replaceRule(name, style, options) {
|
|
488
|
+
var newRule = this.rules.replace(name, style, options);
|
|
489
|
+
if (newRule) this.options.jss.plugins.onProcessRule(newRule);
|
|
490
|
+
return newRule;
|
|
491
|
+
}
|
|
474
492
|
/**
|
|
475
493
|
* Generates a CSS string.
|
|
476
494
|
*/
|
|
@@ -481,6 +499,9 @@ function () {
|
|
|
481
499
|
options = defaultToStringOptions;
|
|
482
500
|
}
|
|
483
501
|
|
|
502
|
+
var _getWhitespaceSymbols = getWhitespaceSymbols(options),
|
|
503
|
+
linebreak = _getWhitespaceSymbols.linebreak;
|
|
504
|
+
|
|
484
505
|
if (options.indent == null) options.indent = defaultToStringOptions.indent;
|
|
485
506
|
if (options.children == null) options.children = defaultToStringOptions.children;
|
|
486
507
|
|
|
@@ -489,12 +510,12 @@ function () {
|
|
|
489
510
|
}
|
|
490
511
|
|
|
491
512
|
var children = this.rules.toString(options);
|
|
492
|
-
return children ? this.query + " {
|
|
513
|
+
return children ? this.query + " {" + linebreak + children + linebreak + "}" : '';
|
|
493
514
|
};
|
|
494
515
|
|
|
495
516
|
return ConditionalRule;
|
|
496
517
|
}();
|
|
497
|
-
var keyRegExp = /@media|@supports\s+/;
|
|
518
|
+
var keyRegExp = /@container|@media|@supports\s+/;
|
|
498
519
|
var pluginConditionalRule = {
|
|
499
520
|
onCreateRule: function onCreateRule(key, styles, options) {
|
|
500
521
|
return keyRegExp.test(key) ? new ConditionalRule(key, styles, options) : null;
|
|
@@ -516,13 +537,7 @@ function () {
|
|
|
516
537
|
function KeyframesRule(key, frames, options) {
|
|
517
538
|
this.type = 'keyframes';
|
|
518
539
|
this.at = '@keyframes';
|
|
519
|
-
this.key = void 0;
|
|
520
|
-
this.name = void 0;
|
|
521
|
-
this.id = void 0;
|
|
522
|
-
this.rules = void 0;
|
|
523
|
-
this.options = void 0;
|
|
524
540
|
this.isProcessed = false;
|
|
525
|
-
this.renderable = void 0;
|
|
526
541
|
var nameMatch = key.match(nameRegExp);
|
|
527
542
|
|
|
528
543
|
if (nameMatch && nameMatch[1]) {
|
|
@@ -561,6 +576,9 @@ function () {
|
|
|
561
576
|
options = defaultToStringOptions$1;
|
|
562
577
|
}
|
|
563
578
|
|
|
579
|
+
var _getWhitespaceSymbols = getWhitespaceSymbols(options),
|
|
580
|
+
linebreak = _getWhitespaceSymbols.linebreak;
|
|
581
|
+
|
|
564
582
|
if (options.indent == null) options.indent = defaultToStringOptions$1.indent;
|
|
565
583
|
if (options.children == null) options.children = defaultToStringOptions$1.children;
|
|
566
584
|
|
|
@@ -569,18 +587,18 @@ function () {
|
|
|
569
587
|
}
|
|
570
588
|
|
|
571
589
|
var children = this.rules.toString(options);
|
|
572
|
-
if (children) children = "
|
|
590
|
+
if (children) children = "" + linebreak + children + linebreak;
|
|
573
591
|
return this.at + " " + this.id + " {" + children + "}";
|
|
574
592
|
};
|
|
575
593
|
|
|
576
594
|
return KeyframesRule;
|
|
577
595
|
}();
|
|
578
596
|
var keyRegExp$1 = /@keyframes\s+/;
|
|
579
|
-
var refRegExp = /\$([\w-]+)/g;
|
|
597
|
+
var refRegExp$1 = /\$([\w-]+)/g;
|
|
580
598
|
|
|
581
599
|
var findReferencedKeyframe = function findReferencedKeyframe(val, keyframes) {
|
|
582
600
|
if (typeof val === 'string') {
|
|
583
|
-
return val.replace(refRegExp, function (match, name) {
|
|
601
|
+
return val.replace(refRegExp$1, function (match, name) {
|
|
584
602
|
if (name in keyframes) {
|
|
585
603
|
return keyframes[name];
|
|
586
604
|
}
|
|
@@ -604,7 +622,7 @@ var replaceRef = function replaceRef(style, prop, keyframes) {
|
|
|
604
622
|
}
|
|
605
623
|
};
|
|
606
624
|
|
|
607
|
-
var
|
|
625
|
+
var pluginKeyframesRule = {
|
|
608
626
|
onCreateRule: function onCreateRule(key, frames, options) {
|
|
609
627
|
return typeof key === 'string' && keyRegExp$1.test(key) ? new KeyframesRule(key, frames, options) : null;
|
|
610
628
|
},
|
|
@@ -641,15 +659,7 @@ function (_BaseStyleRule) {
|
|
|
641
659
|
_inheritsLoose(KeyframeRule, _BaseStyleRule);
|
|
642
660
|
|
|
643
661
|
function KeyframeRule() {
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
647
|
-
args[_key] = arguments[_key];
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
_this = _BaseStyleRule.call.apply(_BaseStyleRule, [this].concat(args)) || this;
|
|
651
|
-
_this.renderable = void 0;
|
|
652
|
-
return _this;
|
|
662
|
+
return _BaseStyleRule.apply(this, arguments) || this;
|
|
653
663
|
}
|
|
654
664
|
|
|
655
665
|
var _proto = KeyframeRule.prototype;
|
|
@@ -684,11 +694,7 @@ function () {
|
|
|
684
694
|
function FontFaceRule(key, style, options) {
|
|
685
695
|
this.type = 'font-face';
|
|
686
696
|
this.at = '@font-face';
|
|
687
|
-
this.key = void 0;
|
|
688
|
-
this.style = void 0;
|
|
689
|
-
this.options = void 0;
|
|
690
697
|
this.isProcessed = false;
|
|
691
|
-
this.renderable = void 0;
|
|
692
698
|
this.key = key;
|
|
693
699
|
this.style = style;
|
|
694
700
|
this.options = options;
|
|
@@ -701,12 +707,15 @@ function () {
|
|
|
701
707
|
var _proto = FontFaceRule.prototype;
|
|
702
708
|
|
|
703
709
|
_proto.toString = function toString(options) {
|
|
710
|
+
var _getWhitespaceSymbols = getWhitespaceSymbols(options),
|
|
711
|
+
linebreak = _getWhitespaceSymbols.linebreak;
|
|
712
|
+
|
|
704
713
|
if (Array.isArray(this.style)) {
|
|
705
714
|
var str = '';
|
|
706
715
|
|
|
707
716
|
for (var index = 0; index < this.style.length; index++) {
|
|
708
717
|
str += toCss(this.at, this.style[index]);
|
|
709
|
-
if (this.style[index + 1]) str +=
|
|
718
|
+
if (this.style[index + 1]) str += linebreak;
|
|
710
719
|
}
|
|
711
720
|
|
|
712
721
|
return str;
|
|
@@ -730,11 +739,7 @@ function () {
|
|
|
730
739
|
function ViewportRule(key, style, options) {
|
|
731
740
|
this.type = 'viewport';
|
|
732
741
|
this.at = '@viewport';
|
|
733
|
-
this.key = void 0;
|
|
734
|
-
this.style = void 0;
|
|
735
|
-
this.options = void 0;
|
|
736
742
|
this.isProcessed = false;
|
|
737
|
-
this.renderable = void 0;
|
|
738
743
|
this.key = key;
|
|
739
744
|
this.style = style;
|
|
740
745
|
this.options = options;
|
|
@@ -763,11 +768,7 @@ var SimpleRule =
|
|
|
763
768
|
function () {
|
|
764
769
|
function SimpleRule(key, value, options) {
|
|
765
770
|
this.type = 'simple';
|
|
766
|
-
this.key = void 0;
|
|
767
|
-
this.value = void 0;
|
|
768
|
-
this.options = void 0;
|
|
769
771
|
this.isProcessed = false;
|
|
770
|
-
this.renderable = void 0;
|
|
771
772
|
this.key = key;
|
|
772
773
|
this.value = value;
|
|
773
774
|
this.options = options;
|
|
@@ -808,7 +809,7 @@ var pluginSimpleRule = {
|
|
|
808
809
|
}
|
|
809
810
|
};
|
|
810
811
|
|
|
811
|
-
var plugins = [pluginStyleRule, pluginConditionalRule,
|
|
812
|
+
var plugins$1 = [pluginStyleRule, pluginConditionalRule, pluginKeyframesRule, pluginKeyframeRule, pluginFontFaceRule, pluginViewportRule, pluginSimpleRule];
|
|
812
813
|
|
|
813
814
|
var defaultUpdateOptions = {
|
|
814
815
|
process: true
|
|
@@ -835,9 +836,6 @@ function () {
|
|
|
835
836
|
this.raw = {};
|
|
836
837
|
this.index = [];
|
|
837
838
|
this.counter = 0;
|
|
838
|
-
this.options = void 0;
|
|
839
|
-
this.classes = void 0;
|
|
840
|
-
this.keyframes = void 0;
|
|
841
839
|
this.options = options;
|
|
842
840
|
this.classes = options.classes;
|
|
843
841
|
this.keyframes = options.keyframes;
|
|
@@ -899,12 +897,33 @@ function () {
|
|
|
899
897
|
return rule;
|
|
900
898
|
}
|
|
901
899
|
/**
|
|
902
|
-
*
|
|
900
|
+
* Replace rule.
|
|
901
|
+
* Create a new rule and remove old one instead of overwriting
|
|
902
|
+
* because we want to invoke onCreateRule hook to make plugins work.
|
|
903
|
+
*/
|
|
904
|
+
;
|
|
905
|
+
|
|
906
|
+
_proto.replace = function replace(name, decl, ruleOptions) {
|
|
907
|
+
var oldRule = this.get(name);
|
|
908
|
+
var oldIndex = this.index.indexOf(oldRule);
|
|
909
|
+
|
|
910
|
+
if (oldRule) {
|
|
911
|
+
this.remove(oldRule);
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
var options = ruleOptions;
|
|
915
|
+
if (oldIndex !== -1) options = _extends({}, ruleOptions, {
|
|
916
|
+
index: oldIndex
|
|
917
|
+
});
|
|
918
|
+
return this.add(name, decl, options);
|
|
919
|
+
}
|
|
920
|
+
/**
|
|
921
|
+
* Get a rule by name or selector.
|
|
903
922
|
*/
|
|
904
923
|
;
|
|
905
924
|
|
|
906
|
-
_proto.get = function get(
|
|
907
|
-
return this.map[
|
|
925
|
+
_proto.get = function get(nameOrSelector) {
|
|
926
|
+
return this.map[nameOrSelector];
|
|
908
927
|
}
|
|
909
928
|
/**
|
|
910
929
|
* Delete a rule.
|
|
@@ -976,20 +995,17 @@ function () {
|
|
|
976
995
|
var options;
|
|
977
996
|
|
|
978
997
|
if (typeof (arguments.length <= 0 ? undefined : arguments[0]) === 'string') {
|
|
979
|
-
name = arguments.length <= 0 ? undefined : arguments[0];
|
|
980
|
-
|
|
981
|
-
data = arguments.length <= 1 ? undefined : arguments[1]; // $FlowFixMe[invalid-tuple-index]
|
|
982
|
-
|
|
998
|
+
name = arguments.length <= 0 ? undefined : arguments[0];
|
|
999
|
+
data = arguments.length <= 1 ? undefined : arguments[1];
|
|
983
1000
|
options = arguments.length <= 2 ? undefined : arguments[2];
|
|
984
1001
|
} else {
|
|
985
|
-
data = arguments.length <= 0 ? undefined : arguments[0];
|
|
986
|
-
|
|
1002
|
+
data = arguments.length <= 0 ? undefined : arguments[0];
|
|
987
1003
|
options = arguments.length <= 1 ? undefined : arguments[1];
|
|
988
1004
|
name = null;
|
|
989
1005
|
}
|
|
990
1006
|
|
|
991
1007
|
if (name) {
|
|
992
|
-
this.updateOne(this.
|
|
1008
|
+
this.updateOne(this.get(name), data, options);
|
|
993
1009
|
} else {
|
|
994
1010
|
for (var index = 0; index < this.index.length; index++) {
|
|
995
1011
|
this.updateOne(this.index[index], data, options);
|
|
@@ -1015,32 +1031,31 @@ function () {
|
|
|
1015
1031
|
return;
|
|
1016
1032
|
}
|
|
1017
1033
|
|
|
1018
|
-
var
|
|
1019
|
-
var style = styleRule.style;
|
|
1034
|
+
var style = rule.style;
|
|
1020
1035
|
plugins.onUpdate(data, rule, sheet, options); // We rely on a new `style` ref in case it was mutated during onUpdate hook.
|
|
1021
1036
|
|
|
1022
|
-
if (options.process && style && style !==
|
|
1037
|
+
if (options.process && style && style !== rule.style) {
|
|
1023
1038
|
// We need to run the plugins in case new `style` relies on syntax plugins.
|
|
1024
|
-
plugins.onProcessStyle(
|
|
1039
|
+
plugins.onProcessStyle(rule.style, rule, sheet); // Update and add props.
|
|
1025
1040
|
|
|
1026
|
-
for (var prop in
|
|
1027
|
-
var nextValue =
|
|
1041
|
+
for (var prop in rule.style) {
|
|
1042
|
+
var nextValue = rule.style[prop];
|
|
1028
1043
|
var prevValue = style[prop]; // We need to use `force: true` because `rule.style` has been updated during onUpdate hook, so `rule.prop()` will not update the CSSOM rule.
|
|
1029
1044
|
// We do this comparison to avoid unneeded `rule.prop()` calls, since we have the old `style` object here.
|
|
1030
1045
|
|
|
1031
1046
|
if (nextValue !== prevValue) {
|
|
1032
|
-
|
|
1047
|
+
rule.prop(prop, nextValue, forceUpdateOptions);
|
|
1033
1048
|
}
|
|
1034
1049
|
} // Remove props.
|
|
1035
1050
|
|
|
1036
1051
|
|
|
1037
1052
|
for (var _prop in style) {
|
|
1038
|
-
var _nextValue =
|
|
1053
|
+
var _nextValue = rule.style[_prop];
|
|
1039
1054
|
var _prevValue = style[_prop]; // We need to use `force: true` because `rule.style` has been updated during onUpdate hook, so `rule.prop()` will not update the CSSOM rule.
|
|
1040
1055
|
// We do this comparison to avoid unneeded `rule.prop()` calls, since we have the old `style` object here.
|
|
1041
1056
|
|
|
1042
1057
|
if (_nextValue == null && _nextValue !== _prevValue) {
|
|
1043
|
-
|
|
1058
|
+
rule.prop(_prop, null, forceUpdateOptions);
|
|
1044
1059
|
}
|
|
1045
1060
|
}
|
|
1046
1061
|
}
|
|
@@ -1055,12 +1070,15 @@ function () {
|
|
|
1055
1070
|
var sheet = this.options.sheet;
|
|
1056
1071
|
var link = sheet ? sheet.options.link : false;
|
|
1057
1072
|
|
|
1073
|
+
var _getWhitespaceSymbols = getWhitespaceSymbols(options),
|
|
1074
|
+
linebreak = _getWhitespaceSymbols.linebreak;
|
|
1075
|
+
|
|
1058
1076
|
for (var index = 0; index < this.index.length; index++) {
|
|
1059
1077
|
var rule = this.index[index];
|
|
1060
1078
|
var css = rule.toString(options); // No need to render an empty rule.
|
|
1061
1079
|
|
|
1062
1080
|
if (!css && !link) continue;
|
|
1063
|
-
if (str) str +=
|
|
1081
|
+
if (str) str += linebreak;
|
|
1064
1082
|
str += css;
|
|
1065
1083
|
}
|
|
1066
1084
|
|
|
@@ -1074,14 +1092,6 @@ var StyleSheet =
|
|
|
1074
1092
|
/*#__PURE__*/
|
|
1075
1093
|
function () {
|
|
1076
1094
|
function StyleSheet(styles, options) {
|
|
1077
|
-
this.options = void 0;
|
|
1078
|
-
this.deployed = void 0;
|
|
1079
|
-
this.attached = void 0;
|
|
1080
|
-
this.rules = void 0;
|
|
1081
|
-
this.renderer = void 0;
|
|
1082
|
-
this.classes = void 0;
|
|
1083
|
-
this.keyframes = void 0;
|
|
1084
|
-
this.queue = void 0;
|
|
1085
1095
|
this.attached = false;
|
|
1086
1096
|
this.deployed = false;
|
|
1087
1097
|
this.classes = {};
|
|
@@ -1167,6 +1177,40 @@ function () {
|
|
|
1167
1177
|
this.deployed = false;
|
|
1168
1178
|
return rule;
|
|
1169
1179
|
}
|
|
1180
|
+
/**
|
|
1181
|
+
* Replace a rule in the current stylesheet.
|
|
1182
|
+
*/
|
|
1183
|
+
;
|
|
1184
|
+
|
|
1185
|
+
_proto.replaceRule = function replaceRule(nameOrSelector, decl, options) {
|
|
1186
|
+
var oldRule = this.rules.get(nameOrSelector);
|
|
1187
|
+
if (!oldRule) return this.addRule(nameOrSelector, decl, options);
|
|
1188
|
+
var newRule = this.rules.replace(nameOrSelector, decl, options);
|
|
1189
|
+
|
|
1190
|
+
if (newRule) {
|
|
1191
|
+
this.options.jss.plugins.onProcessRule(newRule);
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
if (this.attached) {
|
|
1195
|
+
if (!this.deployed) return newRule; // Don't replace / delete rule directly if there is no stringified version yet.
|
|
1196
|
+
// It will be inserted all together when .attach is called.
|
|
1197
|
+
|
|
1198
|
+
if (this.renderer) {
|
|
1199
|
+
if (!newRule) {
|
|
1200
|
+
this.renderer.deleteRule(oldRule);
|
|
1201
|
+
} else if (oldRule.renderable) {
|
|
1202
|
+
this.renderer.replaceRule(oldRule.renderable, newRule);
|
|
1203
|
+
}
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
return newRule;
|
|
1207
|
+
} // We can't replace rules to a detached style node.
|
|
1208
|
+
// We will redeploy the sheet once user will attach it.
|
|
1209
|
+
|
|
1210
|
+
|
|
1211
|
+
this.deployed = false;
|
|
1212
|
+
return newRule;
|
|
1213
|
+
}
|
|
1170
1214
|
/**
|
|
1171
1215
|
* Insert rule into the StyleSheet
|
|
1172
1216
|
*/
|
|
@@ -1194,12 +1238,12 @@ function () {
|
|
|
1194
1238
|
return added;
|
|
1195
1239
|
}
|
|
1196
1240
|
/**
|
|
1197
|
-
* Get a rule by name.
|
|
1241
|
+
* Get a rule by name or selector.
|
|
1198
1242
|
*/
|
|
1199
1243
|
;
|
|
1200
1244
|
|
|
1201
|
-
_proto.getRule = function getRule(
|
|
1202
|
-
return this.rules.get(
|
|
1245
|
+
_proto.getRule = function getRule(nameOrSelector) {
|
|
1246
|
+
return this.rules.get(nameOrSelector);
|
|
1203
1247
|
}
|
|
1204
1248
|
/**
|
|
1205
1249
|
* Delete a rule by name.
|
|
@@ -1283,7 +1327,7 @@ function () {
|
|
|
1283
1327
|
internal: [],
|
|
1284
1328
|
external: []
|
|
1285
1329
|
};
|
|
1286
|
-
this.registry =
|
|
1330
|
+
this.registry = {};
|
|
1287
1331
|
}
|
|
1288
1332
|
|
|
1289
1333
|
var _proto = PluginsRegistry.prototype;
|
|
@@ -1322,7 +1366,6 @@ function () {
|
|
|
1322
1366
|
|
|
1323
1367
|
_proto.onProcessStyle = function onProcessStyle(style, rule, sheet) {
|
|
1324
1368
|
for (var i = 0; i < this.registry.onProcessStyle.length; i++) {
|
|
1325
|
-
// $FlowFixMe[prop-missing]
|
|
1326
1369
|
rule.style = this.registry.onProcessStyle[i](rule.style, rule, sheet);
|
|
1327
1370
|
}
|
|
1328
1371
|
}
|
|
@@ -1401,8 +1444,9 @@ function () {
|
|
|
1401
1444
|
}();
|
|
1402
1445
|
|
|
1403
1446
|
/**
|
|
1404
|
-
* Sheets registry to access
|
|
1447
|
+
* Sheets registry to access all instances in one place.
|
|
1405
1448
|
*/
|
|
1449
|
+
|
|
1406
1450
|
var SheetsRegistry =
|
|
1407
1451
|
/*#__PURE__*/
|
|
1408
1452
|
function () {
|
|
@@ -1460,6 +1504,9 @@ function () {
|
|
|
1460
1504
|
attached = _ref.attached,
|
|
1461
1505
|
options = _objectWithoutPropertiesLoose(_ref, ["attached"]);
|
|
1462
1506
|
|
|
1507
|
+
var _getWhitespaceSymbols = getWhitespaceSymbols(options),
|
|
1508
|
+
linebreak = _getWhitespaceSymbols.linebreak;
|
|
1509
|
+
|
|
1463
1510
|
var css = '';
|
|
1464
1511
|
|
|
1465
1512
|
for (var i = 0; i < this.registry.length; i++) {
|
|
@@ -1469,7 +1516,7 @@ function () {
|
|
|
1469
1516
|
continue;
|
|
1470
1517
|
}
|
|
1471
1518
|
|
|
1472
|
-
if (css) css +=
|
|
1519
|
+
if (css) css += linebreak;
|
|
1473
1520
|
css += sheet.toString(options);
|
|
1474
1521
|
}
|
|
1475
1522
|
|
|
@@ -1497,7 +1544,7 @@ function () {
|
|
|
1497
1544
|
* each request in order to not leak sheets across requests.
|
|
1498
1545
|
*/
|
|
1499
1546
|
|
|
1500
|
-
var
|
|
1547
|
+
var sheets = new SheetsRegistry();
|
|
1501
1548
|
|
|
1502
1549
|
/* eslint-disable */
|
|
1503
1550
|
|
|
@@ -1520,12 +1567,12 @@ if (globalThis$1[ns] == null) globalThis$1[ns] = 0; // Bundle may contain multip
|
|
|
1520
1567
|
// the module.
|
|
1521
1568
|
|
|
1522
1569
|
var moduleId = globalThis$1[ns]++;
|
|
1523
|
-
|
|
1524
1570
|
/**
|
|
1525
1571
|
* Returns a function which generates unique class names based on counters.
|
|
1526
1572
|
* When new generator function is created, rule counter is reseted.
|
|
1527
1573
|
* We need to reset the rule counter for SSR for each request.
|
|
1528
1574
|
*/
|
|
1575
|
+
|
|
1529
1576
|
var createGenerateId = function createGenerateId(options) {
|
|
1530
1577
|
if (options === void 0) {
|
|
1531
1578
|
options = {};
|
|
@@ -1563,6 +1610,7 @@ var createGenerateId = function createGenerateId(options) {
|
|
|
1563
1610
|
/**
|
|
1564
1611
|
* Cache the value from the first time a function is called.
|
|
1565
1612
|
*/
|
|
1613
|
+
|
|
1566
1614
|
var memoize = function memoize(fn) {
|
|
1567
1615
|
var value;
|
|
1568
1616
|
return function () {
|
|
@@ -1570,10 +1618,11 @@ var memoize = function memoize(fn) {
|
|
|
1570
1618
|
return value;
|
|
1571
1619
|
};
|
|
1572
1620
|
};
|
|
1573
|
-
|
|
1574
1621
|
/**
|
|
1575
1622
|
* Get a style property value.
|
|
1576
1623
|
*/
|
|
1624
|
+
|
|
1625
|
+
|
|
1577
1626
|
var getPropertyValue = function getPropertyValue(cssRule, prop) {
|
|
1578
1627
|
try {
|
|
1579
1628
|
// Support CSSTOM.
|
|
@@ -1587,28 +1636,26 @@ var getPropertyValue = function getPropertyValue(cssRule, prop) {
|
|
|
1587
1636
|
return '';
|
|
1588
1637
|
}
|
|
1589
1638
|
};
|
|
1590
|
-
|
|
1591
1639
|
/**
|
|
1592
1640
|
* Set a style property.
|
|
1593
1641
|
*/
|
|
1642
|
+
|
|
1643
|
+
|
|
1594
1644
|
var setProperty = function setProperty(cssRule, prop, value) {
|
|
1595
1645
|
try {
|
|
1596
1646
|
var cssValue = value;
|
|
1597
1647
|
|
|
1598
1648
|
if (Array.isArray(value)) {
|
|
1599
|
-
cssValue = toCssValue(value
|
|
1600
|
-
|
|
1601
|
-
if (value[value.length - 1] === '!important') {
|
|
1602
|
-
cssRule.style.setProperty(prop, cssValue, 'important');
|
|
1603
|
-
return true;
|
|
1604
|
-
}
|
|
1649
|
+
cssValue = toCssValue(value);
|
|
1605
1650
|
} // Support CSSTOM.
|
|
1606
1651
|
|
|
1607
1652
|
|
|
1608
1653
|
if (cssRule.attributeStyleMap) {
|
|
1609
1654
|
cssRule.attributeStyleMap.set(prop, cssValue);
|
|
1610
1655
|
} else {
|
|
1611
|
-
|
|
1656
|
+
var indexOfImportantFlag = cssValue ? cssValue.indexOf('!important') : -1;
|
|
1657
|
+
var cssValueWithoutImportantFlag = indexOfImportantFlag > -1 ? cssValue.substr(0, indexOfImportantFlag - 1) : cssValue;
|
|
1658
|
+
cssRule.style.setProperty(prop, cssValueWithoutImportantFlag, indexOfImportantFlag > -1 ? 'important' : '');
|
|
1612
1659
|
}
|
|
1613
1660
|
} catch (err) {
|
|
1614
1661
|
// IE may throw if property is unknown.
|
|
@@ -1617,10 +1664,11 @@ var setProperty = function setProperty(cssRule, prop, value) {
|
|
|
1617
1664
|
|
|
1618
1665
|
return true;
|
|
1619
1666
|
};
|
|
1620
|
-
|
|
1621
1667
|
/**
|
|
1622
1668
|
* Remove a style property.
|
|
1623
1669
|
*/
|
|
1670
|
+
|
|
1671
|
+
|
|
1624
1672
|
var removeProperty = function removeProperty(cssRule, prop) {
|
|
1625
1673
|
try {
|
|
1626
1674
|
// Support CSSTOM.
|
|
@@ -1632,10 +1680,11 @@ var removeProperty = function removeProperty(cssRule, prop) {
|
|
|
1632
1680
|
} catch (err) {
|
|
1633
1681
|
}
|
|
1634
1682
|
};
|
|
1635
|
-
|
|
1636
1683
|
/**
|
|
1637
1684
|
* Set the selector.
|
|
1638
1685
|
*/
|
|
1686
|
+
|
|
1687
|
+
|
|
1639
1688
|
var setSelector = function setSelector(cssRule, selectorText) {
|
|
1640
1689
|
cssRule.selectorText = selectorText; // Return false if setter was not successful.
|
|
1641
1690
|
// Currently works in chrome only.
|
|
@@ -1700,16 +1749,17 @@ function findCommentNode(text) {
|
|
|
1700
1749
|
|
|
1701
1750
|
return null;
|
|
1702
1751
|
}
|
|
1703
|
-
|
|
1704
1752
|
/**
|
|
1705
1753
|
* Find a node before which we can insert the sheet.
|
|
1706
1754
|
*/
|
|
1755
|
+
|
|
1756
|
+
|
|
1707
1757
|
function findPrevNode(options) {
|
|
1708
|
-
var registry
|
|
1758
|
+
var registry = sheets.registry;
|
|
1709
1759
|
|
|
1710
|
-
if (registry
|
|
1760
|
+
if (registry.length > 0) {
|
|
1711
1761
|
// Try to insert before the next higher sheet.
|
|
1712
|
-
var sheet = findHigherSheet(registry
|
|
1762
|
+
var sheet = findHigherSheet(registry, options);
|
|
1713
1763
|
|
|
1714
1764
|
if (sheet && sheet.renderer) {
|
|
1715
1765
|
return {
|
|
@@ -1719,7 +1769,7 @@ function findPrevNode(options) {
|
|
|
1719
1769
|
} // Otherwise insert after the last attached.
|
|
1720
1770
|
|
|
1721
1771
|
|
|
1722
|
-
sheet = findHighestSheet(registry
|
|
1772
|
+
sheet = findHighestSheet(registry, options);
|
|
1723
1773
|
|
|
1724
1774
|
if (sheet && sheet.renderer) {
|
|
1725
1775
|
return {
|
|
@@ -1761,7 +1811,6 @@ function insertStyle(style, options) {
|
|
|
1761
1811
|
|
|
1762
1812
|
|
|
1763
1813
|
if (insertionPoint && typeof insertionPoint.nodeType === 'number') {
|
|
1764
|
-
// https://stackoverflow.com/questions/41328728/force-casting-in-flow
|
|
1765
1814
|
var insertionPointElement = insertionPoint;
|
|
1766
1815
|
var parentNode = insertionPointElement.parentNode;
|
|
1767
1816
|
if (parentNode) parentNode.insertBefore(style, insertionPointElement.nextSibling);
|
|
@@ -1783,13 +1832,10 @@ var getNonce = memoize(function () {
|
|
|
1783
1832
|
var _insertRule = function insertRule(container, rule, index) {
|
|
1784
1833
|
try {
|
|
1785
1834
|
if ('insertRule' in container) {
|
|
1786
|
-
|
|
1787
|
-
c.insertRule(rule, index);
|
|
1835
|
+
container.insertRule(rule, index);
|
|
1788
1836
|
} // Keyframes rule.
|
|
1789
1837
|
else if ('appendRule' in container) {
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
_c.appendRule(rule);
|
|
1838
|
+
container.appendRule(rule);
|
|
1793
1839
|
}
|
|
1794
1840
|
} catch (err) {
|
|
1795
1841
|
return false;
|
|
@@ -1821,7 +1867,6 @@ var createStyle = function createStyle() {
|
|
|
1821
1867
|
var DomRenderer =
|
|
1822
1868
|
/*#__PURE__*/
|
|
1823
1869
|
function () {
|
|
1824
|
-
// HTMLStyleElement needs fixing https://github.com/facebook/flow/issues/2696
|
|
1825
1870
|
// Will be empty if link: true option is not set, because
|
|
1826
1871
|
// it is only for use together with insertRule API.
|
|
1827
1872
|
function DomRenderer(sheet) {
|
|
@@ -1829,12 +1874,10 @@ function () {
|
|
|
1829
1874
|
this.setProperty = setProperty;
|
|
1830
1875
|
this.removeProperty = removeProperty;
|
|
1831
1876
|
this.setSelector = setSelector;
|
|
1832
|
-
this.element = void 0;
|
|
1833
|
-
this.sheet = void 0;
|
|
1834
1877
|
this.hasInsertedRules = false;
|
|
1835
1878
|
this.cssRules = [];
|
|
1836
1879
|
// There is no sheet when the renderer is used from a standalone StyleRule.
|
|
1837
|
-
if (sheet)
|
|
1880
|
+
if (sheet) sheets.add(sheet);
|
|
1838
1881
|
this.sheet = sheet;
|
|
1839
1882
|
|
|
1840
1883
|
var _ref = this.sheet ? this.sheet.options : {},
|
|
@@ -1964,7 +2007,7 @@ function () {
|
|
|
1964
2007
|
// like rules inside media queries or keyframes
|
|
1965
2008
|
|
|
1966
2009
|
if (rule.options.parent instanceof StyleSheet) {
|
|
1967
|
-
this.cssRules
|
|
2010
|
+
this.cssRules.splice(index, 0, cssRule);
|
|
1968
2011
|
}
|
|
1969
2012
|
}
|
|
1970
2013
|
/**
|
|
@@ -1990,8 +2033,6 @@ function () {
|
|
|
1990
2033
|
}
|
|
1991
2034
|
/**
|
|
1992
2035
|
* Generate a new CSS rule and replace the existing one.
|
|
1993
|
-
*
|
|
1994
|
-
* Only used for some old browsers because they can't set a selector.
|
|
1995
2036
|
*/
|
|
1996
2037
|
;
|
|
1997
2038
|
|
|
@@ -2021,7 +2062,7 @@ var Jss =
|
|
|
2021
2062
|
function () {
|
|
2022
2063
|
function Jss(options) {
|
|
2023
2064
|
this.id = instanceCounter++;
|
|
2024
|
-
this.version = "10.
|
|
2065
|
+
this.version = "10.10.0";
|
|
2025
2066
|
this.plugins = new PluginsRegistry();
|
|
2026
2067
|
this.options = {
|
|
2027
2068
|
id: {
|
|
@@ -2035,8 +2076,8 @@ function () {
|
|
|
2035
2076
|
minify: false
|
|
2036
2077
|
});
|
|
2037
2078
|
|
|
2038
|
-
for (var i = 0; i < plugins.length; i++) {
|
|
2039
|
-
this.plugins.use(plugins[i], {
|
|
2079
|
+
for (var i = 0; i < plugins$1.length; i++) {
|
|
2080
|
+
this.plugins.use(plugins$1[i], {
|
|
2040
2081
|
queue: 'internal'
|
|
2041
2082
|
});
|
|
2042
2083
|
}
|
|
@@ -2093,7 +2134,7 @@ function () {
|
|
|
2093
2134
|
index = _options.index;
|
|
2094
2135
|
|
|
2095
2136
|
if (typeof index !== 'number') {
|
|
2096
|
-
index =
|
|
2137
|
+
index = sheets.index === 0 ? 0 : sheets.index + 1;
|
|
2097
2138
|
}
|
|
2098
2139
|
|
|
2099
2140
|
var sheet = new StyleSheet(styles, _extends({}, options, {
|
|
@@ -2113,7 +2154,7 @@ function () {
|
|
|
2113
2154
|
|
|
2114
2155
|
_proto.removeStyleSheet = function removeStyleSheet(sheet) {
|
|
2115
2156
|
sheet.detach();
|
|
2116
|
-
|
|
2157
|
+
sheets.remove(sheet);
|
|
2117
2158
|
return this;
|
|
2118
2159
|
}
|
|
2119
2160
|
/**
|
|
@@ -2133,10 +2174,8 @@ function () {
|
|
|
2133
2174
|
|
|
2134
2175
|
// Enable rule without name for inline styles.
|
|
2135
2176
|
if (typeof name === 'object') {
|
|
2136
|
-
// $FlowFixMe[incompatible-call]
|
|
2137
2177
|
return this.createRule(undefined, name, style);
|
|
2138
|
-
}
|
|
2139
|
-
|
|
2178
|
+
}
|
|
2140
2179
|
|
|
2141
2180
|
var ruleOptions = _extends({}, options, {
|
|
2142
2181
|
name: name,
|
|
@@ -2174,6 +2213,16 @@ function () {
|
|
|
2174
2213
|
return Jss;
|
|
2175
2214
|
}();
|
|
2176
2215
|
|
|
2216
|
+
var createJss = function createJss(options) {
|
|
2217
|
+
return new Jss(options);
|
|
2218
|
+
};
|
|
2219
|
+
|
|
2220
|
+
/**
|
|
2221
|
+
* Export a constant indicating if this browser has CSSTOM support.
|
|
2222
|
+
* https://developers.google.com/web/updates/2018/03/cssom
|
|
2223
|
+
*/
|
|
2224
|
+
var hasCSSTOMSupport = typeof CSS === 'object' && CSS != null && 'number' in CSS;
|
|
2225
|
+
|
|
2177
2226
|
/**
|
|
2178
2227
|
* A better abstraction over CSS.
|
|
2179
2228
|
*
|
|
@@ -2181,24 +2230,7 @@ function () {
|
|
|
2181
2230
|
* @website https://github.com/cssinjs/jss
|
|
2182
2231
|
* @license MIT
|
|
2183
2232
|
*/
|
|
2184
|
-
|
|
2185
|
-
/**
|
|
2186
|
-
* Export a constant indicating if this browser has CSSTOM support.
|
|
2187
|
-
* https://developers.google.com/web/updates/2018/03/cssom
|
|
2188
|
-
*/
|
|
2189
|
-
var hasCSSTOMSupport = typeof CSS === 'object' && CSS != null && 'number' in CSS;
|
|
2190
|
-
/**
|
|
2191
|
-
* Creates a new instance of Jss.
|
|
2192
|
-
*/
|
|
2193
|
-
|
|
2194
|
-
var create = function create(options) {
|
|
2195
|
-
return new Jss(options);
|
|
2196
|
-
};
|
|
2197
|
-
/**
|
|
2198
|
-
* A global Jss instance.
|
|
2199
|
-
*/
|
|
2200
|
-
|
|
2201
|
-
var jss = create();
|
|
2233
|
+
var index = createJss();
|
|
2202
2234
|
|
|
2203
2235
|
var now = Date.now();
|
|
2204
2236
|
var fnValuesNs = "fnValues" + now;
|
|
@@ -2225,15 +2257,13 @@ var functionPlugin = function functionPlugin() {
|
|
|
2225
2257
|
if (typeof value !== 'function') continue;
|
|
2226
2258
|
delete style[prop];
|
|
2227
2259
|
fnValues[prop] = value;
|
|
2228
|
-
}
|
|
2229
|
-
|
|
2260
|
+
}
|
|
2230
2261
|
|
|
2231
2262
|
rule[fnValuesNs] = fnValues;
|
|
2232
2263
|
return style;
|
|
2233
2264
|
},
|
|
2234
2265
|
onUpdate: function onUpdate(data, rule, sheet, options) {
|
|
2235
|
-
var styleRule = rule;
|
|
2236
|
-
|
|
2266
|
+
var styleRule = rule;
|
|
2237
2267
|
var fnRule = styleRule[fnRuleNs]; // If we have a style function, the entire rule is dynamic and style object
|
|
2238
2268
|
// will be returned from that function.
|
|
2239
2269
|
|
|
@@ -2241,8 +2271,7 @@ var functionPlugin = function functionPlugin() {
|
|
|
2241
2271
|
// Empty object will remove all currently defined props
|
|
2242
2272
|
// in case function rule returns a falsy value.
|
|
2243
2273
|
styleRule.style = fnRule(data) || {};
|
|
2244
|
-
}
|
|
2245
|
-
|
|
2274
|
+
}
|
|
2246
2275
|
|
|
2247
2276
|
var fnValues = styleRule[fnValuesNs]; // If we have a fn values map, it is a rule with function values.
|
|
2248
2277
|
|
|
@@ -2298,8 +2327,7 @@ var isObservable = function isObservable(value) {
|
|
|
2298
2327
|
var observablePlugin = function observablePlugin(updateOptions) {
|
|
2299
2328
|
return {
|
|
2300
2329
|
onCreateRule: function onCreateRule(name, decl, options) {
|
|
2301
|
-
if (!isObservable(decl)) return null;
|
|
2302
|
-
|
|
2330
|
+
if (!isObservable(decl)) return null;
|
|
2303
2331
|
var style$ = decl;
|
|
2304
2332
|
var rule = createRule(name, {}, options); // TODO
|
|
2305
2333
|
// Call `stream.subscribe()` returns a subscription, which should be explicitly
|
|
@@ -2338,13 +2366,13 @@ var observablePlugin = function observablePlugin(updateOptions) {
|
|
|
2338
2366
|
};
|
|
2339
2367
|
|
|
2340
2368
|
var semiWithNl = /;\n/;
|
|
2341
|
-
|
|
2342
2369
|
/**
|
|
2343
2370
|
* Naive CSS parser.
|
|
2344
2371
|
* - Supports only rule body (no selectors)
|
|
2345
2372
|
* - Requires semicolon and new line after the value (except of last line)
|
|
2346
2373
|
* - No nested rules support
|
|
2347
2374
|
*/
|
|
2375
|
+
|
|
2348
2376
|
var parse = function parse(cssText) {
|
|
2349
2377
|
var style = {};
|
|
2350
2378
|
var split = cssText.split(semiWithNl);
|
|
@@ -2368,7 +2396,6 @@ var parse = function parse(cssText) {
|
|
|
2368
2396
|
|
|
2369
2397
|
var onProcessRule = function onProcessRule(rule) {
|
|
2370
2398
|
if (typeof rule.style === 'string') {
|
|
2371
|
-
// $FlowFixMe[prop-missing] We can safely assume that rule has the style property
|
|
2372
2399
|
rule.style = parse(rule.style);
|
|
2373
2400
|
}
|
|
2374
2401
|
};
|
|
@@ -2388,9 +2415,6 @@ function () {
|
|
|
2388
2415
|
function GlobalContainerRule(key, styles, options) {
|
|
2389
2416
|
this.type = 'global';
|
|
2390
2417
|
this.at = at;
|
|
2391
|
-
this.rules = void 0;
|
|
2392
|
-
this.options = void 0;
|
|
2393
|
-
this.key = void 0;
|
|
2394
2418
|
this.isProcessed = false;
|
|
2395
2419
|
this.key = key;
|
|
2396
2420
|
this.options = options;
|
|
@@ -2424,6 +2448,16 @@ function () {
|
|
|
2424
2448
|
if (rule) this.options.jss.plugins.onProcessRule(rule);
|
|
2425
2449
|
return rule;
|
|
2426
2450
|
}
|
|
2451
|
+
/**
|
|
2452
|
+
* Replace rule, run plugins.
|
|
2453
|
+
*/
|
|
2454
|
+
;
|
|
2455
|
+
|
|
2456
|
+
_proto.replaceRule = function replaceRule(name, style, options) {
|
|
2457
|
+
var newRule = this.rules.replace(name, style, options);
|
|
2458
|
+
if (newRule) this.options.jss.plugins.onProcessRule(newRule);
|
|
2459
|
+
return newRule;
|
|
2460
|
+
}
|
|
2427
2461
|
/**
|
|
2428
2462
|
* Get index of a rule.
|
|
2429
2463
|
*/
|
|
@@ -2437,8 +2471,8 @@ function () {
|
|
|
2437
2471
|
*/
|
|
2438
2472
|
;
|
|
2439
2473
|
|
|
2440
|
-
_proto.toString = function toString() {
|
|
2441
|
-
return this.rules.toString();
|
|
2474
|
+
_proto.toString = function toString(options) {
|
|
2475
|
+
return this.rules.toString(options);
|
|
2442
2476
|
};
|
|
2443
2477
|
|
|
2444
2478
|
return GlobalContainerRule;
|
|
@@ -2450,10 +2484,7 @@ function () {
|
|
|
2450
2484
|
function GlobalPrefixedRule(key, style, options) {
|
|
2451
2485
|
this.type = 'global';
|
|
2452
2486
|
this.at = at;
|
|
2453
|
-
this.options = void 0;
|
|
2454
|
-
this.rule = void 0;
|
|
2455
2487
|
this.isProcessed = false;
|
|
2456
|
-
this.key = void 0;
|
|
2457
2488
|
this.key = key;
|
|
2458
2489
|
this.options = options;
|
|
2459
2490
|
var selector = key.substr(atPrefix.length);
|
|
@@ -2471,10 +2502,10 @@ function () {
|
|
|
2471
2502
|
return GlobalPrefixedRule;
|
|
2472
2503
|
}();
|
|
2473
2504
|
|
|
2474
|
-
var separatorRegExp = /\s*,\s*/g;
|
|
2505
|
+
var separatorRegExp$1 = /\s*,\s*/g;
|
|
2475
2506
|
|
|
2476
2507
|
function addScope(selector, scope) {
|
|
2477
|
-
var parts = selector.split(separatorRegExp);
|
|
2508
|
+
var parts = selector.split(separatorRegExp$1);
|
|
2478
2509
|
var scoped = '';
|
|
2479
2510
|
|
|
2480
2511
|
for (var i = 0; i < parts.length; i++) {
|
|
@@ -2515,9 +2546,6 @@ function handlePrefixedGlobalRule(rule, sheet) {
|
|
|
2515
2546
|
}
|
|
2516
2547
|
/**
|
|
2517
2548
|
* Convert nested rules to separate, remove them from original styles.
|
|
2518
|
-
*
|
|
2519
|
-
* @param {Rule} rule
|
|
2520
|
-
* @api public
|
|
2521
2549
|
*/
|
|
2522
2550
|
|
|
2523
2551
|
|
|
@@ -2541,7 +2569,7 @@ function jssGlobal() {
|
|
|
2541
2569
|
}
|
|
2542
2570
|
}
|
|
2543
2571
|
|
|
2544
|
-
if (options.scoped === false) {
|
|
2572
|
+
if (!options.selector && options.scoped === false) {
|
|
2545
2573
|
options.selector = name;
|
|
2546
2574
|
}
|
|
2547
2575
|
|
|
@@ -2652,9 +2680,6 @@ function extend(style, rule, sheet, newStyle) {
|
|
|
2652
2680
|
}
|
|
2653
2681
|
/**
|
|
2654
2682
|
* Handle `extend` property.
|
|
2655
|
-
*
|
|
2656
|
-
* @param {Rule} rule
|
|
2657
|
-
* @api public
|
|
2658
2683
|
*/
|
|
2659
2684
|
|
|
2660
2685
|
|
|
@@ -2668,23 +2693,18 @@ function jssExtend() {
|
|
|
2668
2693
|
if (prop !== 'extend') return value; // Value is empty, remove properties set previously.
|
|
2669
2694
|
|
|
2670
2695
|
if (value == null || value === false) {
|
|
2671
|
-
// $FlowFixMe[prop-missing]
|
|
2672
2696
|
for (var key in rule[valueNs]) {
|
|
2673
2697
|
rule.prop(key, null);
|
|
2674
|
-
}
|
|
2675
|
-
|
|
2698
|
+
}
|
|
2676
2699
|
|
|
2677
2700
|
rule[valueNs] = null;
|
|
2678
2701
|
return null;
|
|
2679
2702
|
}
|
|
2680
2703
|
|
|
2681
2704
|
if (typeof value === 'object') {
|
|
2682
|
-
// $FlowFixMe[invalid-in-rhs] This will be an object
|
|
2683
2705
|
for (var _key in value) {
|
|
2684
|
-
// $FlowFixMe[incompatible-use] This will be an object
|
|
2685
2706
|
rule.prop(_key, value[_key]);
|
|
2686
|
-
}
|
|
2687
|
-
|
|
2707
|
+
}
|
|
2688
2708
|
|
|
2689
2709
|
rule[valueNs] = value;
|
|
2690
2710
|
} // Make sure we don't set the value in the core.
|
|
@@ -2699,14 +2719,11 @@ function jssExtend() {
|
|
|
2699
2719
|
};
|
|
2700
2720
|
}
|
|
2701
2721
|
|
|
2702
|
-
var separatorRegExp
|
|
2722
|
+
var separatorRegExp = /\s*,\s*/g;
|
|
2703
2723
|
var parentRegExp = /&/g;
|
|
2704
|
-
var refRegExp
|
|
2724
|
+
var refRegExp = /\$([\w-]+)/g;
|
|
2705
2725
|
/**
|
|
2706
2726
|
* Convert nested rules to separate, remove them from original styles.
|
|
2707
|
-
*
|
|
2708
|
-
* @param {Rule} rule
|
|
2709
|
-
* @api public
|
|
2710
2727
|
*/
|
|
2711
2728
|
|
|
2712
2729
|
function jssNested() {
|
|
@@ -2716,7 +2733,6 @@ function jssNested() {
|
|
|
2716
2733
|
var rule = container.getRule(key) || sheet && sheet.getRule(key);
|
|
2717
2734
|
|
|
2718
2735
|
if (rule) {
|
|
2719
|
-
rule = rule;
|
|
2720
2736
|
return rule.selector;
|
|
2721
2737
|
}
|
|
2722
2738
|
return key;
|
|
@@ -2724,8 +2740,8 @@ function jssNested() {
|
|
|
2724
2740
|
}
|
|
2725
2741
|
|
|
2726
2742
|
function replaceParentRefs(nestedProp, parentProp) {
|
|
2727
|
-
var parentSelectors = parentProp.split(separatorRegExp
|
|
2728
|
-
var nestedSelectors = nestedProp.split(separatorRegExp
|
|
2743
|
+
var parentSelectors = parentProp.split(separatorRegExp);
|
|
2744
|
+
var nestedSelectors = nestedProp.split(separatorRegExp);
|
|
2729
2745
|
var result = '';
|
|
2730
2746
|
|
|
2731
2747
|
for (var i = 0; i < parentSelectors.length; i++) {
|
|
@@ -2745,8 +2761,7 @@ function jssNested() {
|
|
|
2745
2761
|
function getOptions(rule, container, prevOptions) {
|
|
2746
2762
|
// Options has been already created, now we only increase index.
|
|
2747
2763
|
if (prevOptions) return _extends({}, prevOptions, {
|
|
2748
|
-
index: prevOptions.index + 1
|
|
2749
|
-
|
|
2764
|
+
index: prevOptions.index + 1
|
|
2750
2765
|
});
|
|
2751
2766
|
var nestingLevel = rule.options.nestingLevel;
|
|
2752
2767
|
nestingLevel = nestingLevel === undefined ? 1 : nestingLevel + 1;
|
|
@@ -2780,17 +2795,22 @@ function jssNested() {
|
|
|
2780
2795
|
|
|
2781
2796
|
if (!replaceRef) replaceRef = getReplaceRef(container, sheet); // Replace all $refs.
|
|
2782
2797
|
|
|
2783
|
-
selector = selector.replace(refRegExp
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2798
|
+
selector = selector.replace(refRegExp, replaceRef);
|
|
2799
|
+
var name = styleRule.key + "-" + prop;
|
|
2800
|
+
|
|
2801
|
+
if ('replaceRule' in container) {
|
|
2802
|
+
// for backward compatibility
|
|
2803
|
+
container.replaceRule(name, style[prop], _extends({}, options, {
|
|
2804
|
+
selector: selector
|
|
2805
|
+
}));
|
|
2806
|
+
} else {
|
|
2807
|
+
container.addRule(name, style[prop], _extends({}, options, {
|
|
2808
|
+
selector: selector
|
|
2809
|
+
}));
|
|
2810
|
+
}
|
|
2787
2811
|
} else if (isNestedConditional) {
|
|
2788
2812
|
// Place conditional right after the parent rule to ensure right ordering.
|
|
2789
|
-
container.addRule(prop, {}, options)
|
|
2790
|
-
// And flow doesn't know this will always be a StyleRule which has the addRule method
|
|
2791
|
-
// $FlowFixMe[incompatible-use]
|
|
2792
|
-
// $FlowFixMe[prop-missing]
|
|
2793
|
-
.addRule(styleRule.key, style[prop], {
|
|
2813
|
+
container.addRule(prop, {}, options).addRule(styleRule.key, style[prop], {
|
|
2794
2814
|
selector: styleRule.selector
|
|
2795
2815
|
});
|
|
2796
2816
|
}
|
|
@@ -2809,10 +2829,11 @@ function jssNested() {
|
|
|
2809
2829
|
/**
|
|
2810
2830
|
* Set selector.
|
|
2811
2831
|
*
|
|
2812
|
-
* @param
|
|
2813
|
-
* @param
|
|
2814
|
-
* @return
|
|
2832
|
+
* @param original rule
|
|
2833
|
+
* @param className class string
|
|
2834
|
+
* @return flag indicating function was successfull or not
|
|
2815
2835
|
*/
|
|
2836
|
+
|
|
2816
2837
|
function registerClass(rule, className) {
|
|
2817
2838
|
// Skip falsy values
|
|
2818
2839
|
if (!className) return true; // Support array of class names `{composes: ['foo', 'bar']}`
|
|
@@ -2831,8 +2852,7 @@ function registerClass(rule, className) {
|
|
|
2831
2852
|
return registerClass(rule, className.split(' '));
|
|
2832
2853
|
}
|
|
2833
2854
|
|
|
2834
|
-
var
|
|
2835
|
-
parent = _ref.parent; // It is a ref to a local rule.
|
|
2855
|
+
var parent = rule.options.parent; // It is a ref to a local rule.
|
|
2836
2856
|
|
|
2837
2857
|
if (className[0] === '$') {
|
|
2838
2858
|
var refRule = parent.getRule(className.substr(1));
|
|
@@ -2854,9 +2874,6 @@ function registerClass(rule, className) {
|
|
|
2854
2874
|
}
|
|
2855
2875
|
/**
|
|
2856
2876
|
* Convert compose property to additional class, remove property from original styles.
|
|
2857
|
-
*
|
|
2858
|
-
* @param {Rule} rule
|
|
2859
|
-
* @api public
|
|
2860
2877
|
*/
|
|
2861
2878
|
|
|
2862
2879
|
|
|
@@ -2877,26 +2894,23 @@ function jssCompose() {
|
|
|
2877
2894
|
/* eslint-disable no-var, prefer-template */
|
|
2878
2895
|
var uppercasePattern = /[A-Z]/g;
|
|
2879
2896
|
var msPattern = /^ms-/;
|
|
2880
|
-
var cache = {};
|
|
2897
|
+
var cache$2 = {};
|
|
2881
2898
|
|
|
2882
2899
|
function toHyphenLower(match) {
|
|
2883
2900
|
return '-' + match.toLowerCase()
|
|
2884
2901
|
}
|
|
2885
2902
|
|
|
2886
2903
|
function hyphenateStyleName(name) {
|
|
2887
|
-
if (cache.hasOwnProperty(name)) {
|
|
2888
|
-
return cache[name]
|
|
2904
|
+
if (cache$2.hasOwnProperty(name)) {
|
|
2905
|
+
return cache$2[name]
|
|
2889
2906
|
}
|
|
2890
2907
|
|
|
2891
2908
|
var hName = name.replace(uppercasePattern, toHyphenLower);
|
|
2892
|
-
return (cache[name] = msPattern.test(hName) ? '-' + hName : hName)
|
|
2909
|
+
return (cache$2[name] = msPattern.test(hName) ? '-' + hName : hName)
|
|
2893
2910
|
}
|
|
2894
2911
|
|
|
2895
2912
|
/**
|
|
2896
2913
|
* Convert camel cased property names to dash separated.
|
|
2897
|
-
*
|
|
2898
|
-
* @param {Object} style
|
|
2899
|
-
* @return {Object}
|
|
2900
2914
|
*/
|
|
2901
2915
|
|
|
2902
2916
|
function convertCase(style) {
|
|
@@ -2915,8 +2929,6 @@ function convertCase(style) {
|
|
|
2915
2929
|
}
|
|
2916
2930
|
/**
|
|
2917
2931
|
* Allow camel cased property names by converting them back to dasherized.
|
|
2918
|
-
*
|
|
2919
|
-
* @param {Rule} rule
|
|
2920
2932
|
*/
|
|
2921
2933
|
|
|
2922
2934
|
|
|
@@ -2958,8 +2970,6 @@ var ms = hasCSSTOMSupport && CSS ? CSS.ms : 'ms';
|
|
|
2958
2970
|
var percent = hasCSSTOMSupport && CSS ? CSS.percent : '%';
|
|
2959
2971
|
/**
|
|
2960
2972
|
* Generated jss-plugin-default-unit CSS property units
|
|
2961
|
-
*
|
|
2962
|
-
* @type object
|
|
2963
2973
|
*/
|
|
2964
2974
|
|
|
2965
2975
|
var defaultUnits = {
|
|
@@ -3118,6 +3128,7 @@ var defaultUnits = {
|
|
|
3118
3128
|
/**
|
|
3119
3129
|
* Clones the object and adds a camel cased property version.
|
|
3120
3130
|
*/
|
|
3131
|
+
|
|
3121
3132
|
function addCamelCasedVersion(obj) {
|
|
3122
3133
|
var regExp = /(-[a-z])/g;
|
|
3123
3134
|
|
|
@@ -3127,9 +3138,9 @@ function addCamelCasedVersion(obj) {
|
|
|
3127
3138
|
|
|
3128
3139
|
var newObj = {};
|
|
3129
3140
|
|
|
3130
|
-
for (var
|
|
3131
|
-
newObj[
|
|
3132
|
-
newObj[
|
|
3141
|
+
for (var key in obj) {
|
|
3142
|
+
newObj[key] = obj[key];
|
|
3143
|
+
newObj[key.replace(regExp, replace)] = obj[key];
|
|
3133
3144
|
}
|
|
3134
3145
|
|
|
3135
3146
|
return newObj;
|
|
@@ -3434,7 +3445,6 @@ var customPropObj = {
|
|
|
3434
3445
|
};
|
|
3435
3446
|
|
|
3436
3447
|
/* eslint-disable no-use-before-define */
|
|
3437
|
-
|
|
3438
3448
|
/**
|
|
3439
3449
|
* Map values by given prop.
|
|
3440
3450
|
*
|
|
@@ -3443,6 +3453,7 @@ var customPropObj = {
|
|
|
3443
3453
|
* @param {String} original rule
|
|
3444
3454
|
* @return {String} mapped values
|
|
3445
3455
|
*/
|
|
3456
|
+
|
|
3446
3457
|
function mapValuesByProp(value, prop, rule) {
|
|
3447
3458
|
return value.map(function (item) {
|
|
3448
3459
|
return objectToArray(item, prop, rule, false, true);
|
|
@@ -3587,39 +3598,34 @@ function jssExpand() {
|
|
|
3587
3598
|
};
|
|
3588
3599
|
}
|
|
3589
3600
|
|
|
3590
|
-
function _arrayLikeToArray(
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
arr2[i] = arr[i];
|
|
3595
|
-
}
|
|
3596
|
-
|
|
3597
|
-
return arr2;
|
|
3601
|
+
function _arrayLikeToArray(r, a) {
|
|
3602
|
+
(null == a || a > r.length) && (a = r.length);
|
|
3603
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
3604
|
+
return n;
|
|
3598
3605
|
}
|
|
3599
3606
|
|
|
3600
|
-
function _arrayWithoutHoles(
|
|
3601
|
-
if (Array.isArray(
|
|
3607
|
+
function _arrayWithoutHoles(r) {
|
|
3608
|
+
if (Array.isArray(r)) return _arrayLikeToArray(r);
|
|
3602
3609
|
}
|
|
3603
3610
|
|
|
3604
|
-
function _iterableToArray(
|
|
3605
|
-
if (typeof Symbol
|
|
3611
|
+
function _iterableToArray(r) {
|
|
3612
|
+
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
3606
3613
|
}
|
|
3607
3614
|
|
|
3608
|
-
function _unsupportedIterableToArray(
|
|
3609
|
-
if (
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
3615
|
+
function _unsupportedIterableToArray(r, a) {
|
|
3616
|
+
if (r) {
|
|
3617
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
3618
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
3619
|
+
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
|
|
3620
|
+
}
|
|
3615
3621
|
}
|
|
3616
3622
|
|
|
3617
3623
|
function _nonIterableSpread() {
|
|
3618
3624
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
3619
3625
|
}
|
|
3620
3626
|
|
|
3621
|
-
function _toConsumableArray(
|
|
3622
|
-
return _arrayWithoutHoles(
|
|
3627
|
+
function _toConsumableArray(r) {
|
|
3628
|
+
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
3623
3629
|
}
|
|
3624
3630
|
|
|
3625
3631
|
// Export javascript style and css style vendor prefixes.
|
|
@@ -4017,13 +4023,13 @@ var flex2009 = {
|
|
|
4017
4023
|
// 'flex2009' going after 'flex2012'.
|
|
4018
4024
|
// 'prefixed' going after 'unprefixed'
|
|
4019
4025
|
|
|
4020
|
-
var plugins
|
|
4021
|
-
var propertyDetectors = plugins
|
|
4026
|
+
var plugins = [appearence, colorAdjust, mask, textOrientation, transform, transition, writingMode, userSelect, breakPropsOld, inlineLogicalOld, unprefixed, prefixed, scrollSnap, overscrollBehavior, flex2012, flex2009];
|
|
4027
|
+
var propertyDetectors = plugins.filter(function (p) {
|
|
4022
4028
|
return p.supportedProperty;
|
|
4023
4029
|
}).map(function (p) {
|
|
4024
4030
|
return p.supportedProperty;
|
|
4025
4031
|
});
|
|
4026
|
-
var noPrefill = plugins
|
|
4032
|
+
var noPrefill = plugins.filter(function (p) {
|
|
4027
4033
|
return p.noPrefill;
|
|
4028
4034
|
}).reduce(function (a, p) {
|
|
4029
4035
|
a.push.apply(a, _toConsumableArray(p.noPrefill));
|
|
@@ -4031,7 +4037,7 @@ var noPrefill = plugins$1.filter(function (p) {
|
|
|
4031
4037
|
}, []);
|
|
4032
4038
|
|
|
4033
4039
|
var el;
|
|
4034
|
-
var cache
|
|
4040
|
+
var cache = {};
|
|
4035
4041
|
|
|
4036
4042
|
if (isBrowser) {
|
|
4037
4043
|
el = document.createElement('p'); // We test every property on vendor prefix requirement.
|
|
@@ -4046,13 +4052,13 @@ if (isBrowser) {
|
|
|
4046
4052
|
|
|
4047
4053
|
for (var key$1 in computed) {
|
|
4048
4054
|
// eslint-disable-next-line no-restricted-globals
|
|
4049
|
-
if (!isNaN(key$1)) cache
|
|
4055
|
+
if (!isNaN(key$1)) cache[computed[key$1]] = computed[key$1];
|
|
4050
4056
|
} // Properties that cannot be correctly detected using the
|
|
4051
4057
|
// cache prefill method.
|
|
4052
4058
|
|
|
4053
4059
|
|
|
4054
4060
|
noPrefill.forEach(function (x) {
|
|
4055
|
-
return delete cache
|
|
4061
|
+
return delete cache[x];
|
|
4056
4062
|
});
|
|
4057
4063
|
}
|
|
4058
4064
|
/**
|
|
@@ -4074,8 +4080,8 @@ function supportedProperty(prop, options) {
|
|
|
4074
4080
|
// For server-side rendering.
|
|
4075
4081
|
if (!el) return prop; // Remove cache for benchmark tests or return property from the cache.
|
|
4076
4082
|
|
|
4077
|
-
if (
|
|
4078
|
-
return cache
|
|
4083
|
+
if (cache[prop] != null) {
|
|
4084
|
+
return cache[prop];
|
|
4079
4085
|
} // Check if 'transition' or 'transform' natively supported in browser.
|
|
4080
4086
|
|
|
4081
4087
|
|
|
@@ -4085,9 +4091,9 @@ function supportedProperty(prop, options) {
|
|
|
4085
4091
|
|
|
4086
4092
|
|
|
4087
4093
|
for (var i = 0; i < propertyDetectors.length; i++) {
|
|
4088
|
-
cache
|
|
4094
|
+
cache[prop] = propertyDetectors[i](prop, el.style, options); // Break loop, if value found.
|
|
4089
4095
|
|
|
4090
|
-
if (cache
|
|
4096
|
+
if (cache[prop]) break;
|
|
4091
4097
|
} // Reset styles for current property.
|
|
4092
4098
|
// Firefox can even throw an error for invalid properties, e.g., "0".
|
|
4093
4099
|
|
|
@@ -4098,10 +4104,10 @@ function supportedProperty(prop, options) {
|
|
|
4098
4104
|
return false;
|
|
4099
4105
|
}
|
|
4100
4106
|
|
|
4101
|
-
return cache
|
|
4107
|
+
return cache[prop];
|
|
4102
4108
|
}
|
|
4103
4109
|
|
|
4104
|
-
var cache$1
|
|
4110
|
+
var cache$1 = {};
|
|
4105
4111
|
var transitionProperties = {
|
|
4106
4112
|
transition: 1,
|
|
4107
4113
|
'transition-property': 1,
|
|
@@ -4153,8 +4159,8 @@ function supportedValue(property, value) {
|
|
|
4153
4159
|
|
|
4154
4160
|
var cacheKey = property + prefixedValue; // Remove cache for benchmark tests or return value from cache.
|
|
4155
4161
|
|
|
4156
|
-
if (
|
|
4157
|
-
return cache$1
|
|
4162
|
+
if (cache$1[cacheKey] != null) {
|
|
4163
|
+
return cache$1[cacheKey];
|
|
4158
4164
|
} // IE can even throw an error in some cases, for e.g. style.content = 'bar'.
|
|
4159
4165
|
|
|
4160
4166
|
|
|
@@ -4163,7 +4169,7 @@ function supportedValue(property, value) {
|
|
|
4163
4169
|
el$1.style[property] = prefixedValue;
|
|
4164
4170
|
} catch (err) {
|
|
4165
4171
|
// Return false if value not supported.
|
|
4166
|
-
cache$1
|
|
4172
|
+
cache$1[cacheKey] = false;
|
|
4167
4173
|
return false;
|
|
4168
4174
|
} // If 'transition' or 'transition-property' property.
|
|
4169
4175
|
|
|
@@ -4179,7 +4185,7 @@ function supportedValue(property, value) {
|
|
|
4179
4185
|
el$1.style[property] = prefixedValue; // Return false if value not supported.
|
|
4180
4186
|
|
|
4181
4187
|
if (el$1.style[property] === '') {
|
|
4182
|
-
cache$1
|
|
4188
|
+
cache$1[cacheKey] = false;
|
|
4183
4189
|
return false;
|
|
4184
4190
|
}
|
|
4185
4191
|
} // Reset styles for current property.
|
|
@@ -4187,14 +4193,12 @@ function supportedValue(property, value) {
|
|
|
4187
4193
|
|
|
4188
4194
|
el$1.style[property] = ''; // Write current value to cache.
|
|
4189
4195
|
|
|
4190
|
-
cache$1
|
|
4191
|
-
return cache$1
|
|
4196
|
+
cache$1[cacheKey] = prefixedValue;
|
|
4197
|
+
return cache$1[cacheKey];
|
|
4192
4198
|
}
|
|
4193
4199
|
|
|
4194
4200
|
/**
|
|
4195
4201
|
* Add vendor prefix to a property name when needed.
|
|
4196
|
-
*
|
|
4197
|
-
* @api public
|
|
4198
4202
|
*/
|
|
4199
4203
|
|
|
4200
4204
|
function jssVendorPrefixer() {
|
|
@@ -4273,7 +4277,7 @@ function jssPropsSort() {
|
|
|
4273
4277
|
};
|
|
4274
4278
|
}
|
|
4275
4279
|
|
|
4276
|
-
var create
|
|
4280
|
+
var create = function create(options) {
|
|
4277
4281
|
if (options === void 0) {
|
|
4278
4282
|
options = {};
|
|
4279
4283
|
}
|
|
@@ -4283,7 +4287,7 @@ var create$1 = function create(options) {
|
|
|
4283
4287
|
};
|
|
4284
4288
|
};
|
|
4285
4289
|
|
|
4286
|
-
const jss
|
|
4287
|
-
const createStyleSheet = (...args) => jss
|
|
4290
|
+
const jss = createJss(create());
|
|
4291
|
+
const createStyleSheet = (...args) => jss.createStyleSheet(...args);
|
|
4288
4292
|
|
|
4289
|
-
export { create
|
|
4293
|
+
export { create as a, createStyleSheet as c, index as i };
|