@saasquatch/mint-components 2.5.5-2 → 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 +813 -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 +771 -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 +762 -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-6196e0f6.entry.js +0 -308
- 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-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-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-d6fd8f37.system.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,79 +1,80 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
function _extends() {
|
|
4
|
-
_extends = Object.assign
|
|
5
|
-
for (var
|
|
6
|
-
var
|
|
7
|
-
|
|
8
|
-
for (var key in source) {
|
|
9
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
10
|
-
target[key] = source[key];
|
|
11
|
-
}
|
|
12
|
-
}
|
|
4
|
+
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
5
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
6
|
+
var t = arguments[e];
|
|
7
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
13
8
|
}
|
|
9
|
+
return n;
|
|
10
|
+
}, _extends.apply(null, arguments);
|
|
11
|
+
}
|
|
14
12
|
|
|
15
|
-
|
|
16
|
-
};
|
|
13
|
+
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; };
|
|
17
14
|
|
|
18
|
-
|
|
19
|
-
}
|
|
15
|
+
var isBrowser = (typeof window === "undefined" ? "undefined" : _typeof$1(window)) === "object" && (typeof document === "undefined" ? "undefined" : _typeof$1(document)) === 'object' && document.nodeType === 9;
|
|
20
16
|
|
|
21
|
-
|
|
17
|
+
function _typeof(o) {
|
|
18
|
+
"@babel/helpers - typeof";
|
|
22
19
|
|
|
23
|
-
|
|
20
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
21
|
+
return typeof o;
|
|
22
|
+
} : function (o) {
|
|
23
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
24
|
+
}, _typeof(o);
|
|
25
|
+
}
|
|
24
26
|
|
|
25
|
-
function
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
if ("
|
|
31
|
-
|
|
27
|
+
function toPrimitive(t, e) {
|
|
28
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
29
|
+
var r;
|
|
30
|
+
if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) {
|
|
31
|
+
var i = r.call(t, e || "default");
|
|
32
|
+
if ("object" != _typeof(i)) return i;
|
|
33
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
32
34
|
}
|
|
35
|
+
return ("string" === e ? String : Number)(t);
|
|
33
36
|
}
|
|
34
37
|
|
|
35
|
-
function
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
return Constructor;
|
|
38
|
+
function toPropertyKey(t) {
|
|
39
|
+
var i = toPrimitive(t, "string");
|
|
40
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
39
41
|
}
|
|
40
42
|
|
|
41
|
-
function
|
|
42
|
-
|
|
43
|
-
o
|
|
44
|
-
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
return _setPrototypeOf(o, p);
|
|
43
|
+
function _defineProperties(e, r) {
|
|
44
|
+
for (var t = 0; t < r.length; t++) {
|
|
45
|
+
var o = r[t];
|
|
46
|
+
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);
|
|
47
|
+
}
|
|
48
48
|
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
_setPrototypeOf(subClass, superClass);
|
|
49
|
+
function _createClass(e, r, t) {
|
|
50
|
+
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
|
|
51
|
+
writable: !1
|
|
52
|
+
}), e;
|
|
54
53
|
}
|
|
55
54
|
|
|
56
|
-
function
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
55
|
+
function _setPrototypeOf(t, e) {
|
|
56
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
|
|
57
|
+
return t.__proto__ = e, t;
|
|
58
|
+
}, _setPrototypeOf(t, e);
|
|
59
|
+
}
|
|
60
60
|
|
|
61
|
-
|
|
61
|
+
function _inheritsLoose(t, o) {
|
|
62
|
+
t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o);
|
|
62
63
|
}
|
|
63
64
|
|
|
64
|
-
function
|
|
65
|
-
if (
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
var key, i;
|
|
65
|
+
function _assertThisInitialized(e) {
|
|
66
|
+
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
67
|
+
return e;
|
|
68
|
+
}
|
|
69
69
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
70
|
+
function _objectWithoutPropertiesLoose(r, e) {
|
|
71
|
+
if (null == r) return {};
|
|
72
|
+
var t = {};
|
|
73
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
74
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
75
|
+
t[n] = r[n];
|
|
74
76
|
}
|
|
75
|
-
|
|
76
|
-
return target;
|
|
77
|
+
return t;
|
|
77
78
|
}
|
|
78
79
|
|
|
79
80
|
var plainObjectConstrurctor = {}.constructor;
|
|
@@ -119,20 +120,17 @@ var join = function join(value, by) {
|
|
|
119
120
|
|
|
120
121
|
return result;
|
|
121
122
|
};
|
|
122
|
-
|
|
123
123
|
/**
|
|
124
|
-
* Converts array
|
|
124
|
+
* Converts JSS array value to a CSS string.
|
|
125
125
|
*
|
|
126
126
|
* `margin: [['5px', '10px']]` > `margin: 5px 10px;`
|
|
127
127
|
* `border: ['1px', '2px']` > `border: 1px, 2px;`
|
|
128
128
|
* `margin: [['5px', '10px'], '!important']` > `margin: 5px 10px !important;`
|
|
129
129
|
* `color: ['red', !important]` > `color: red !important;`
|
|
130
130
|
*/
|
|
131
|
-
var toCssValue = function toCssValue(value, ignoreImportant) {
|
|
132
|
-
if (ignoreImportant === void 0) {
|
|
133
|
-
ignoreImportant = false;
|
|
134
|
-
}
|
|
135
131
|
|
|
132
|
+
|
|
133
|
+
var toCssValue = function toCssValue(value) {
|
|
136
134
|
if (!Array.isArray(value)) return value;
|
|
137
135
|
var cssValue = ''; // Support space separated values via `[['5px', '10px']]`.
|
|
138
136
|
|
|
@@ -145,17 +143,32 @@ var toCssValue = function toCssValue(value, ignoreImportant) {
|
|
|
145
143
|
} else cssValue = join(value, ', '); // Add !important, because it was ignored.
|
|
146
144
|
|
|
147
145
|
|
|
148
|
-
if (
|
|
146
|
+
if (value[value.length - 1] === '!important') {
|
|
149
147
|
cssValue += ' !important';
|
|
150
148
|
}
|
|
151
149
|
|
|
152
150
|
return cssValue;
|
|
153
151
|
};
|
|
154
152
|
|
|
153
|
+
function getWhitespaceSymbols(options) {
|
|
154
|
+
if (options && options.format === false) {
|
|
155
|
+
return {
|
|
156
|
+
linebreak: '',
|
|
157
|
+
space: ''
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
return {
|
|
162
|
+
linebreak: '\n',
|
|
163
|
+
space: ' '
|
|
164
|
+
};
|
|
165
|
+
}
|
|
166
|
+
|
|
155
167
|
/**
|
|
156
168
|
* Indent a string.
|
|
157
169
|
* http://jsperf.com/array-join-vs-for
|
|
158
170
|
*/
|
|
171
|
+
|
|
159
172
|
function indentStr(str, indent) {
|
|
160
173
|
var result = '';
|
|
161
174
|
|
|
@@ -181,6 +194,15 @@ function toCss(selector, style, options) {
|
|
|
181
194
|
_options$indent = _options.indent,
|
|
182
195
|
indent = _options$indent === void 0 ? 0 : _options$indent;
|
|
183
196
|
var fallbacks = style.fallbacks;
|
|
197
|
+
|
|
198
|
+
if (options.format === false) {
|
|
199
|
+
indent = -Infinity;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
var _getWhitespaceSymbols = getWhitespaceSymbols(options),
|
|
203
|
+
linebreak = _getWhitespaceSymbols.linebreak,
|
|
204
|
+
space = _getWhitespaceSymbols.space;
|
|
205
|
+
|
|
184
206
|
if (selector) indent++; // Apply fallbacks first.
|
|
185
207
|
|
|
186
208
|
if (fallbacks) {
|
|
@@ -193,8 +215,8 @@ function toCss(selector, style, options) {
|
|
|
193
215
|
var value = fallback[prop];
|
|
194
216
|
|
|
195
217
|
if (value != null) {
|
|
196
|
-
if (result) result +=
|
|
197
|
-
result += indentStr(prop + ":
|
|
218
|
+
if (result) result += linebreak;
|
|
219
|
+
result += indentStr(prop + ":" + space + toCssValue(value) + ";", indent);
|
|
198
220
|
}
|
|
199
221
|
}
|
|
200
222
|
}
|
|
@@ -204,8 +226,8 @@ function toCss(selector, style, options) {
|
|
|
204
226
|
var _value = fallbacks[_prop];
|
|
205
227
|
|
|
206
228
|
if (_value != null) {
|
|
207
|
-
if (result) result +=
|
|
208
|
-
result += indentStr(_prop + ":
|
|
229
|
+
if (result) result += linebreak;
|
|
230
|
+
result += indentStr(_prop + ":" + space + toCssValue(_value) + ";", indent);
|
|
209
231
|
}
|
|
210
232
|
}
|
|
211
233
|
}
|
|
@@ -215,8 +237,8 @@ function toCss(selector, style, options) {
|
|
|
215
237
|
var _value2 = style[_prop2];
|
|
216
238
|
|
|
217
239
|
if (_value2 != null && _prop2 !== 'fallbacks') {
|
|
218
|
-
if (result) result +=
|
|
219
|
-
result += indentStr(_prop2 + ":
|
|
240
|
+
if (result) result += linebreak;
|
|
241
|
+
result += indentStr(_prop2 + ":" + space + toCssValue(_value2) + ";", indent);
|
|
220
242
|
}
|
|
221
243
|
} // Allow empty style in this case, because properties will be added dynamically.
|
|
222
244
|
|
|
@@ -225,8 +247,8 @@ function toCss(selector, style, options) {
|
|
|
225
247
|
|
|
226
248
|
if (!selector) return result;
|
|
227
249
|
indent--;
|
|
228
|
-
if (result) result = "
|
|
229
|
-
return indentStr(selector + "
|
|
250
|
+
if (result) result = "" + linebreak + result + linebreak;
|
|
251
|
+
return indentStr("" + selector + space + "{" + result, indent) + indentStr('}', indent);
|
|
230
252
|
}
|
|
231
253
|
|
|
232
254
|
var escapeRegex = /([[\].#*$><+~=|^:(),"'`\s])/g;
|
|
@@ -240,12 +262,7 @@ var BaseStyleRule =
|
|
|
240
262
|
function () {
|
|
241
263
|
function BaseStyleRule(key, style, options) {
|
|
242
264
|
this.type = 'style';
|
|
243
|
-
this.key = void 0;
|
|
244
265
|
this.isProcessed = false;
|
|
245
|
-
this.style = void 0;
|
|
246
|
-
this.renderer = void 0;
|
|
247
|
-
this.renderable = void 0;
|
|
248
|
-
this.options = void 0;
|
|
249
266
|
var sheet = options.sheet,
|
|
250
267
|
Renderer = options.Renderer;
|
|
251
268
|
this.key = key;
|
|
@@ -299,9 +316,6 @@ function (_BaseStyleRule) {
|
|
|
299
316
|
var _this;
|
|
300
317
|
|
|
301
318
|
_this = _BaseStyleRule.call(this, key, style, options) || this;
|
|
302
|
-
_this.selectorText = void 0;
|
|
303
|
-
_this.id = void 0;
|
|
304
|
-
_this.renderable = void 0;
|
|
305
319
|
var selector = options.selector,
|
|
306
320
|
scoped = options.scoped,
|
|
307
321
|
sheet = options.sheet,
|
|
@@ -398,12 +412,12 @@ function (_BaseStyleRule) {
|
|
|
398
412
|
return StyleRule;
|
|
399
413
|
}(BaseStyleRule);
|
|
400
414
|
var pluginStyleRule = {
|
|
401
|
-
onCreateRule: function onCreateRule(
|
|
402
|
-
if (
|
|
415
|
+
onCreateRule: function onCreateRule(key, style, options) {
|
|
416
|
+
if (key[0] === '@' || options.parent && options.parent.type === 'keyframes') {
|
|
403
417
|
return null;
|
|
404
418
|
}
|
|
405
419
|
|
|
406
|
-
return new StyleRule(
|
|
420
|
+
return new StyleRule(key, style, options);
|
|
407
421
|
}
|
|
408
422
|
};
|
|
409
423
|
|
|
@@ -421,13 +435,7 @@ var ConditionalRule =
|
|
|
421
435
|
function () {
|
|
422
436
|
function ConditionalRule(key, styles, options) {
|
|
423
437
|
this.type = 'conditional';
|
|
424
|
-
this.at = void 0;
|
|
425
|
-
this.key = void 0;
|
|
426
|
-
this.query = void 0;
|
|
427
|
-
this.rules = void 0;
|
|
428
|
-
this.options = void 0;
|
|
429
438
|
this.isProcessed = false;
|
|
430
|
-
this.renderable = void 0;
|
|
431
439
|
this.key = key;
|
|
432
440
|
var atMatch = key.match(atRegExp);
|
|
433
441
|
this.at = atMatch ? atMatch[1] : 'unknown'; // Key might contain a unique suffix in case the `name` passed by user was duplicate.
|
|
@@ -473,6 +481,16 @@ function () {
|
|
|
473
481
|
this.options.jss.plugins.onProcessRule(rule);
|
|
474
482
|
return rule;
|
|
475
483
|
}
|
|
484
|
+
/**
|
|
485
|
+
* Replace rule, run plugins.
|
|
486
|
+
*/
|
|
487
|
+
;
|
|
488
|
+
|
|
489
|
+
_proto.replaceRule = function replaceRule(name, style, options) {
|
|
490
|
+
var newRule = this.rules.replace(name, style, options);
|
|
491
|
+
if (newRule) this.options.jss.plugins.onProcessRule(newRule);
|
|
492
|
+
return newRule;
|
|
493
|
+
}
|
|
476
494
|
/**
|
|
477
495
|
* Generates a CSS string.
|
|
478
496
|
*/
|
|
@@ -483,6 +501,9 @@ function () {
|
|
|
483
501
|
options = defaultToStringOptions;
|
|
484
502
|
}
|
|
485
503
|
|
|
504
|
+
var _getWhitespaceSymbols = getWhitespaceSymbols(options),
|
|
505
|
+
linebreak = _getWhitespaceSymbols.linebreak;
|
|
506
|
+
|
|
486
507
|
if (options.indent == null) options.indent = defaultToStringOptions.indent;
|
|
487
508
|
if (options.children == null) options.children = defaultToStringOptions.children;
|
|
488
509
|
|
|
@@ -491,12 +512,12 @@ function () {
|
|
|
491
512
|
}
|
|
492
513
|
|
|
493
514
|
var children = this.rules.toString(options);
|
|
494
|
-
return children ? this.query + " {
|
|
515
|
+
return children ? this.query + " {" + linebreak + children + linebreak + "}" : '';
|
|
495
516
|
};
|
|
496
517
|
|
|
497
518
|
return ConditionalRule;
|
|
498
519
|
}();
|
|
499
|
-
var keyRegExp = /@media|@supports\s+/;
|
|
520
|
+
var keyRegExp = /@container|@media|@supports\s+/;
|
|
500
521
|
var pluginConditionalRule = {
|
|
501
522
|
onCreateRule: function onCreateRule(key, styles, options) {
|
|
502
523
|
return keyRegExp.test(key) ? new ConditionalRule(key, styles, options) : null;
|
|
@@ -518,13 +539,7 @@ function () {
|
|
|
518
539
|
function KeyframesRule(key, frames, options) {
|
|
519
540
|
this.type = 'keyframes';
|
|
520
541
|
this.at = '@keyframes';
|
|
521
|
-
this.key = void 0;
|
|
522
|
-
this.name = void 0;
|
|
523
|
-
this.id = void 0;
|
|
524
|
-
this.rules = void 0;
|
|
525
|
-
this.options = void 0;
|
|
526
542
|
this.isProcessed = false;
|
|
527
|
-
this.renderable = void 0;
|
|
528
543
|
var nameMatch = key.match(nameRegExp);
|
|
529
544
|
|
|
530
545
|
if (nameMatch && nameMatch[1]) {
|
|
@@ -563,6 +578,9 @@ function () {
|
|
|
563
578
|
options = defaultToStringOptions$1;
|
|
564
579
|
}
|
|
565
580
|
|
|
581
|
+
var _getWhitespaceSymbols = getWhitespaceSymbols(options),
|
|
582
|
+
linebreak = _getWhitespaceSymbols.linebreak;
|
|
583
|
+
|
|
566
584
|
if (options.indent == null) options.indent = defaultToStringOptions$1.indent;
|
|
567
585
|
if (options.children == null) options.children = defaultToStringOptions$1.children;
|
|
568
586
|
|
|
@@ -571,18 +589,18 @@ function () {
|
|
|
571
589
|
}
|
|
572
590
|
|
|
573
591
|
var children = this.rules.toString(options);
|
|
574
|
-
if (children) children = "
|
|
592
|
+
if (children) children = "" + linebreak + children + linebreak;
|
|
575
593
|
return this.at + " " + this.id + " {" + children + "}";
|
|
576
594
|
};
|
|
577
595
|
|
|
578
596
|
return KeyframesRule;
|
|
579
597
|
}();
|
|
580
598
|
var keyRegExp$1 = /@keyframes\s+/;
|
|
581
|
-
var refRegExp = /\$([\w-]+)/g;
|
|
599
|
+
var refRegExp$1 = /\$([\w-]+)/g;
|
|
582
600
|
|
|
583
601
|
var findReferencedKeyframe = function findReferencedKeyframe(val, keyframes) {
|
|
584
602
|
if (typeof val === 'string') {
|
|
585
|
-
return val.replace(refRegExp, function (match, name) {
|
|
603
|
+
return val.replace(refRegExp$1, function (match, name) {
|
|
586
604
|
if (name in keyframes) {
|
|
587
605
|
return keyframes[name];
|
|
588
606
|
}
|
|
@@ -606,7 +624,7 @@ var replaceRef = function replaceRef(style, prop, keyframes) {
|
|
|
606
624
|
}
|
|
607
625
|
};
|
|
608
626
|
|
|
609
|
-
var
|
|
627
|
+
var pluginKeyframesRule = {
|
|
610
628
|
onCreateRule: function onCreateRule(key, frames, options) {
|
|
611
629
|
return typeof key === 'string' && keyRegExp$1.test(key) ? new KeyframesRule(key, frames, options) : null;
|
|
612
630
|
},
|
|
@@ -643,15 +661,7 @@ function (_BaseStyleRule) {
|
|
|
643
661
|
_inheritsLoose(KeyframeRule, _BaseStyleRule);
|
|
644
662
|
|
|
645
663
|
function KeyframeRule() {
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
649
|
-
args[_key] = arguments[_key];
|
|
650
|
-
}
|
|
651
|
-
|
|
652
|
-
_this = _BaseStyleRule.call.apply(_BaseStyleRule, [this].concat(args)) || this;
|
|
653
|
-
_this.renderable = void 0;
|
|
654
|
-
return _this;
|
|
664
|
+
return _BaseStyleRule.apply(this, arguments) || this;
|
|
655
665
|
}
|
|
656
666
|
|
|
657
667
|
var _proto = KeyframeRule.prototype;
|
|
@@ -686,11 +696,7 @@ function () {
|
|
|
686
696
|
function FontFaceRule(key, style, options) {
|
|
687
697
|
this.type = 'font-face';
|
|
688
698
|
this.at = '@font-face';
|
|
689
|
-
this.key = void 0;
|
|
690
|
-
this.style = void 0;
|
|
691
|
-
this.options = void 0;
|
|
692
699
|
this.isProcessed = false;
|
|
693
|
-
this.renderable = void 0;
|
|
694
700
|
this.key = key;
|
|
695
701
|
this.style = style;
|
|
696
702
|
this.options = options;
|
|
@@ -703,12 +709,15 @@ function () {
|
|
|
703
709
|
var _proto = FontFaceRule.prototype;
|
|
704
710
|
|
|
705
711
|
_proto.toString = function toString(options) {
|
|
712
|
+
var _getWhitespaceSymbols = getWhitespaceSymbols(options),
|
|
713
|
+
linebreak = _getWhitespaceSymbols.linebreak;
|
|
714
|
+
|
|
706
715
|
if (Array.isArray(this.style)) {
|
|
707
716
|
var str = '';
|
|
708
717
|
|
|
709
718
|
for (var index = 0; index < this.style.length; index++) {
|
|
710
719
|
str += toCss(this.at, this.style[index]);
|
|
711
|
-
if (this.style[index + 1]) str +=
|
|
720
|
+
if (this.style[index + 1]) str += linebreak;
|
|
712
721
|
}
|
|
713
722
|
|
|
714
723
|
return str;
|
|
@@ -732,11 +741,7 @@ function () {
|
|
|
732
741
|
function ViewportRule(key, style, options) {
|
|
733
742
|
this.type = 'viewport';
|
|
734
743
|
this.at = '@viewport';
|
|
735
|
-
this.key = void 0;
|
|
736
|
-
this.style = void 0;
|
|
737
|
-
this.options = void 0;
|
|
738
744
|
this.isProcessed = false;
|
|
739
|
-
this.renderable = void 0;
|
|
740
745
|
this.key = key;
|
|
741
746
|
this.style = style;
|
|
742
747
|
this.options = options;
|
|
@@ -765,11 +770,7 @@ var SimpleRule =
|
|
|
765
770
|
function () {
|
|
766
771
|
function SimpleRule(key, value, options) {
|
|
767
772
|
this.type = 'simple';
|
|
768
|
-
this.key = void 0;
|
|
769
|
-
this.value = void 0;
|
|
770
|
-
this.options = void 0;
|
|
771
773
|
this.isProcessed = false;
|
|
772
|
-
this.renderable = void 0;
|
|
773
774
|
this.key = key;
|
|
774
775
|
this.value = value;
|
|
775
776
|
this.options = options;
|
|
@@ -810,7 +811,7 @@ var pluginSimpleRule = {
|
|
|
810
811
|
}
|
|
811
812
|
};
|
|
812
813
|
|
|
813
|
-
var plugins = [pluginStyleRule, pluginConditionalRule,
|
|
814
|
+
var plugins$1 = [pluginStyleRule, pluginConditionalRule, pluginKeyframesRule, pluginKeyframeRule, pluginFontFaceRule, pluginViewportRule, pluginSimpleRule];
|
|
814
815
|
|
|
815
816
|
var defaultUpdateOptions = {
|
|
816
817
|
process: true
|
|
@@ -837,9 +838,6 @@ function () {
|
|
|
837
838
|
this.raw = {};
|
|
838
839
|
this.index = [];
|
|
839
840
|
this.counter = 0;
|
|
840
|
-
this.options = void 0;
|
|
841
|
-
this.classes = void 0;
|
|
842
|
-
this.keyframes = void 0;
|
|
843
841
|
this.options = options;
|
|
844
842
|
this.classes = options.classes;
|
|
845
843
|
this.keyframes = options.keyframes;
|
|
@@ -901,12 +899,33 @@ function () {
|
|
|
901
899
|
return rule;
|
|
902
900
|
}
|
|
903
901
|
/**
|
|
904
|
-
*
|
|
902
|
+
* Replace rule.
|
|
903
|
+
* Create a new rule and remove old one instead of overwriting
|
|
904
|
+
* because we want to invoke onCreateRule hook to make plugins work.
|
|
905
|
+
*/
|
|
906
|
+
;
|
|
907
|
+
|
|
908
|
+
_proto.replace = function replace(name, decl, ruleOptions) {
|
|
909
|
+
var oldRule = this.get(name);
|
|
910
|
+
var oldIndex = this.index.indexOf(oldRule);
|
|
911
|
+
|
|
912
|
+
if (oldRule) {
|
|
913
|
+
this.remove(oldRule);
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
var options = ruleOptions;
|
|
917
|
+
if (oldIndex !== -1) options = _extends({}, ruleOptions, {
|
|
918
|
+
index: oldIndex
|
|
919
|
+
});
|
|
920
|
+
return this.add(name, decl, options);
|
|
921
|
+
}
|
|
922
|
+
/**
|
|
923
|
+
* Get a rule by name or selector.
|
|
905
924
|
*/
|
|
906
925
|
;
|
|
907
926
|
|
|
908
|
-
_proto.get = function get(
|
|
909
|
-
return this.map[
|
|
927
|
+
_proto.get = function get(nameOrSelector) {
|
|
928
|
+
return this.map[nameOrSelector];
|
|
910
929
|
}
|
|
911
930
|
/**
|
|
912
931
|
* Delete a rule.
|
|
@@ -978,20 +997,17 @@ function () {
|
|
|
978
997
|
var options;
|
|
979
998
|
|
|
980
999
|
if (typeof (arguments.length <= 0 ? undefined : arguments[0]) === 'string') {
|
|
981
|
-
name = arguments.length <= 0 ? undefined : arguments[0];
|
|
982
|
-
|
|
983
|
-
data = arguments.length <= 1 ? undefined : arguments[1]; // $FlowFixMe[invalid-tuple-index]
|
|
984
|
-
|
|
1000
|
+
name = arguments.length <= 0 ? undefined : arguments[0];
|
|
1001
|
+
data = arguments.length <= 1 ? undefined : arguments[1];
|
|
985
1002
|
options = arguments.length <= 2 ? undefined : arguments[2];
|
|
986
1003
|
} else {
|
|
987
|
-
data = arguments.length <= 0 ? undefined : arguments[0];
|
|
988
|
-
|
|
1004
|
+
data = arguments.length <= 0 ? undefined : arguments[0];
|
|
989
1005
|
options = arguments.length <= 1 ? undefined : arguments[1];
|
|
990
1006
|
name = null;
|
|
991
1007
|
}
|
|
992
1008
|
|
|
993
1009
|
if (name) {
|
|
994
|
-
this.updateOne(this.
|
|
1010
|
+
this.updateOne(this.get(name), data, options);
|
|
995
1011
|
} else {
|
|
996
1012
|
for (var index = 0; index < this.index.length; index++) {
|
|
997
1013
|
this.updateOne(this.index[index], data, options);
|
|
@@ -1017,32 +1033,31 @@ function () {
|
|
|
1017
1033
|
return;
|
|
1018
1034
|
}
|
|
1019
1035
|
|
|
1020
|
-
var
|
|
1021
|
-
var style = styleRule.style;
|
|
1036
|
+
var style = rule.style;
|
|
1022
1037
|
plugins.onUpdate(data, rule, sheet, options); // We rely on a new `style` ref in case it was mutated during onUpdate hook.
|
|
1023
1038
|
|
|
1024
|
-
if (options.process && style && style !==
|
|
1039
|
+
if (options.process && style && style !== rule.style) {
|
|
1025
1040
|
// We need to run the plugins in case new `style` relies on syntax plugins.
|
|
1026
|
-
plugins.onProcessStyle(
|
|
1041
|
+
plugins.onProcessStyle(rule.style, rule, sheet); // Update and add props.
|
|
1027
1042
|
|
|
1028
|
-
for (var prop in
|
|
1029
|
-
var nextValue =
|
|
1043
|
+
for (var prop in rule.style) {
|
|
1044
|
+
var nextValue = rule.style[prop];
|
|
1030
1045
|
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.
|
|
1031
1046
|
// We do this comparison to avoid unneeded `rule.prop()` calls, since we have the old `style` object here.
|
|
1032
1047
|
|
|
1033
1048
|
if (nextValue !== prevValue) {
|
|
1034
|
-
|
|
1049
|
+
rule.prop(prop, nextValue, forceUpdateOptions);
|
|
1035
1050
|
}
|
|
1036
1051
|
} // Remove props.
|
|
1037
1052
|
|
|
1038
1053
|
|
|
1039
1054
|
for (var _prop in style) {
|
|
1040
|
-
var _nextValue =
|
|
1055
|
+
var _nextValue = rule.style[_prop];
|
|
1041
1056
|
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.
|
|
1042
1057
|
// We do this comparison to avoid unneeded `rule.prop()` calls, since we have the old `style` object here.
|
|
1043
1058
|
|
|
1044
1059
|
if (_nextValue == null && _nextValue !== _prevValue) {
|
|
1045
|
-
|
|
1060
|
+
rule.prop(_prop, null, forceUpdateOptions);
|
|
1046
1061
|
}
|
|
1047
1062
|
}
|
|
1048
1063
|
}
|
|
@@ -1057,12 +1072,15 @@ function () {
|
|
|
1057
1072
|
var sheet = this.options.sheet;
|
|
1058
1073
|
var link = sheet ? sheet.options.link : false;
|
|
1059
1074
|
|
|
1075
|
+
var _getWhitespaceSymbols = getWhitespaceSymbols(options),
|
|
1076
|
+
linebreak = _getWhitespaceSymbols.linebreak;
|
|
1077
|
+
|
|
1060
1078
|
for (var index = 0; index < this.index.length; index++) {
|
|
1061
1079
|
var rule = this.index[index];
|
|
1062
1080
|
var css = rule.toString(options); // No need to render an empty rule.
|
|
1063
1081
|
|
|
1064
1082
|
if (!css && !link) continue;
|
|
1065
|
-
if (str) str +=
|
|
1083
|
+
if (str) str += linebreak;
|
|
1066
1084
|
str += css;
|
|
1067
1085
|
}
|
|
1068
1086
|
|
|
@@ -1076,14 +1094,6 @@ var StyleSheet =
|
|
|
1076
1094
|
/*#__PURE__*/
|
|
1077
1095
|
function () {
|
|
1078
1096
|
function StyleSheet(styles, options) {
|
|
1079
|
-
this.options = void 0;
|
|
1080
|
-
this.deployed = void 0;
|
|
1081
|
-
this.attached = void 0;
|
|
1082
|
-
this.rules = void 0;
|
|
1083
|
-
this.renderer = void 0;
|
|
1084
|
-
this.classes = void 0;
|
|
1085
|
-
this.keyframes = void 0;
|
|
1086
|
-
this.queue = void 0;
|
|
1087
1097
|
this.attached = false;
|
|
1088
1098
|
this.deployed = false;
|
|
1089
1099
|
this.classes = {};
|
|
@@ -1169,6 +1179,40 @@ function () {
|
|
|
1169
1179
|
this.deployed = false;
|
|
1170
1180
|
return rule;
|
|
1171
1181
|
}
|
|
1182
|
+
/**
|
|
1183
|
+
* Replace a rule in the current stylesheet.
|
|
1184
|
+
*/
|
|
1185
|
+
;
|
|
1186
|
+
|
|
1187
|
+
_proto.replaceRule = function replaceRule(nameOrSelector, decl, options) {
|
|
1188
|
+
var oldRule = this.rules.get(nameOrSelector);
|
|
1189
|
+
if (!oldRule) return this.addRule(nameOrSelector, decl, options);
|
|
1190
|
+
var newRule = this.rules.replace(nameOrSelector, decl, options);
|
|
1191
|
+
|
|
1192
|
+
if (newRule) {
|
|
1193
|
+
this.options.jss.plugins.onProcessRule(newRule);
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
if (this.attached) {
|
|
1197
|
+
if (!this.deployed) return newRule; // Don't replace / delete rule directly if there is no stringified version yet.
|
|
1198
|
+
// It will be inserted all together when .attach is called.
|
|
1199
|
+
|
|
1200
|
+
if (this.renderer) {
|
|
1201
|
+
if (!newRule) {
|
|
1202
|
+
this.renderer.deleteRule(oldRule);
|
|
1203
|
+
} else if (oldRule.renderable) {
|
|
1204
|
+
this.renderer.replaceRule(oldRule.renderable, newRule);
|
|
1205
|
+
}
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1208
|
+
return newRule;
|
|
1209
|
+
} // We can't replace rules to a detached style node.
|
|
1210
|
+
// We will redeploy the sheet once user will attach it.
|
|
1211
|
+
|
|
1212
|
+
|
|
1213
|
+
this.deployed = false;
|
|
1214
|
+
return newRule;
|
|
1215
|
+
}
|
|
1172
1216
|
/**
|
|
1173
1217
|
* Insert rule into the StyleSheet
|
|
1174
1218
|
*/
|
|
@@ -1196,12 +1240,12 @@ function () {
|
|
|
1196
1240
|
return added;
|
|
1197
1241
|
}
|
|
1198
1242
|
/**
|
|
1199
|
-
* Get a rule by name.
|
|
1243
|
+
* Get a rule by name or selector.
|
|
1200
1244
|
*/
|
|
1201
1245
|
;
|
|
1202
1246
|
|
|
1203
|
-
_proto.getRule = function getRule(
|
|
1204
|
-
return this.rules.get(
|
|
1247
|
+
_proto.getRule = function getRule(nameOrSelector) {
|
|
1248
|
+
return this.rules.get(nameOrSelector);
|
|
1205
1249
|
}
|
|
1206
1250
|
/**
|
|
1207
1251
|
* Delete a rule by name.
|
|
@@ -1285,7 +1329,7 @@ function () {
|
|
|
1285
1329
|
internal: [],
|
|
1286
1330
|
external: []
|
|
1287
1331
|
};
|
|
1288
|
-
this.registry =
|
|
1332
|
+
this.registry = {};
|
|
1289
1333
|
}
|
|
1290
1334
|
|
|
1291
1335
|
var _proto = PluginsRegistry.prototype;
|
|
@@ -1324,7 +1368,6 @@ function () {
|
|
|
1324
1368
|
|
|
1325
1369
|
_proto.onProcessStyle = function onProcessStyle(style, rule, sheet) {
|
|
1326
1370
|
for (var i = 0; i < this.registry.onProcessStyle.length; i++) {
|
|
1327
|
-
// $FlowFixMe[prop-missing]
|
|
1328
1371
|
rule.style = this.registry.onProcessStyle[i](rule.style, rule, sheet);
|
|
1329
1372
|
}
|
|
1330
1373
|
}
|
|
@@ -1403,8 +1446,9 @@ function () {
|
|
|
1403
1446
|
}();
|
|
1404
1447
|
|
|
1405
1448
|
/**
|
|
1406
|
-
* Sheets registry to access
|
|
1449
|
+
* Sheets registry to access all instances in one place.
|
|
1407
1450
|
*/
|
|
1451
|
+
|
|
1408
1452
|
var SheetsRegistry =
|
|
1409
1453
|
/*#__PURE__*/
|
|
1410
1454
|
function () {
|
|
@@ -1462,6 +1506,9 @@ function () {
|
|
|
1462
1506
|
attached = _ref.attached,
|
|
1463
1507
|
options = _objectWithoutPropertiesLoose(_ref, ["attached"]);
|
|
1464
1508
|
|
|
1509
|
+
var _getWhitespaceSymbols = getWhitespaceSymbols(options),
|
|
1510
|
+
linebreak = _getWhitespaceSymbols.linebreak;
|
|
1511
|
+
|
|
1465
1512
|
var css = '';
|
|
1466
1513
|
|
|
1467
1514
|
for (var i = 0; i < this.registry.length; i++) {
|
|
@@ -1471,7 +1518,7 @@ function () {
|
|
|
1471
1518
|
continue;
|
|
1472
1519
|
}
|
|
1473
1520
|
|
|
1474
|
-
if (css) css +=
|
|
1521
|
+
if (css) css += linebreak;
|
|
1475
1522
|
css += sheet.toString(options);
|
|
1476
1523
|
}
|
|
1477
1524
|
|
|
@@ -1499,7 +1546,7 @@ function () {
|
|
|
1499
1546
|
* each request in order to not leak sheets across requests.
|
|
1500
1547
|
*/
|
|
1501
1548
|
|
|
1502
|
-
var
|
|
1549
|
+
var sheets = new SheetsRegistry();
|
|
1503
1550
|
|
|
1504
1551
|
/* eslint-disable */
|
|
1505
1552
|
|
|
@@ -1522,12 +1569,12 @@ if (globalThis$1[ns] == null) globalThis$1[ns] = 0; // Bundle may contain multip
|
|
|
1522
1569
|
// the module.
|
|
1523
1570
|
|
|
1524
1571
|
var moduleId = globalThis$1[ns]++;
|
|
1525
|
-
|
|
1526
1572
|
/**
|
|
1527
1573
|
* Returns a function which generates unique class names based on counters.
|
|
1528
1574
|
* When new generator function is created, rule counter is reseted.
|
|
1529
1575
|
* We need to reset the rule counter for SSR for each request.
|
|
1530
1576
|
*/
|
|
1577
|
+
|
|
1531
1578
|
var createGenerateId = function createGenerateId(options) {
|
|
1532
1579
|
if (options === void 0) {
|
|
1533
1580
|
options = {};
|
|
@@ -1565,6 +1612,7 @@ var createGenerateId = function createGenerateId(options) {
|
|
|
1565
1612
|
/**
|
|
1566
1613
|
* Cache the value from the first time a function is called.
|
|
1567
1614
|
*/
|
|
1615
|
+
|
|
1568
1616
|
var memoize = function memoize(fn) {
|
|
1569
1617
|
var value;
|
|
1570
1618
|
return function () {
|
|
@@ -1572,10 +1620,11 @@ var memoize = function memoize(fn) {
|
|
|
1572
1620
|
return value;
|
|
1573
1621
|
};
|
|
1574
1622
|
};
|
|
1575
|
-
|
|
1576
1623
|
/**
|
|
1577
1624
|
* Get a style property value.
|
|
1578
1625
|
*/
|
|
1626
|
+
|
|
1627
|
+
|
|
1579
1628
|
var getPropertyValue = function getPropertyValue(cssRule, prop) {
|
|
1580
1629
|
try {
|
|
1581
1630
|
// Support CSSTOM.
|
|
@@ -1589,28 +1638,26 @@ var getPropertyValue = function getPropertyValue(cssRule, prop) {
|
|
|
1589
1638
|
return '';
|
|
1590
1639
|
}
|
|
1591
1640
|
};
|
|
1592
|
-
|
|
1593
1641
|
/**
|
|
1594
1642
|
* Set a style property.
|
|
1595
1643
|
*/
|
|
1644
|
+
|
|
1645
|
+
|
|
1596
1646
|
var setProperty = function setProperty(cssRule, prop, value) {
|
|
1597
1647
|
try {
|
|
1598
1648
|
var cssValue = value;
|
|
1599
1649
|
|
|
1600
1650
|
if (Array.isArray(value)) {
|
|
1601
|
-
cssValue = toCssValue(value
|
|
1602
|
-
|
|
1603
|
-
if (value[value.length - 1] === '!important') {
|
|
1604
|
-
cssRule.style.setProperty(prop, cssValue, 'important');
|
|
1605
|
-
return true;
|
|
1606
|
-
}
|
|
1651
|
+
cssValue = toCssValue(value);
|
|
1607
1652
|
} // Support CSSTOM.
|
|
1608
1653
|
|
|
1609
1654
|
|
|
1610
1655
|
if (cssRule.attributeStyleMap) {
|
|
1611
1656
|
cssRule.attributeStyleMap.set(prop, cssValue);
|
|
1612
1657
|
} else {
|
|
1613
|
-
|
|
1658
|
+
var indexOfImportantFlag = cssValue ? cssValue.indexOf('!important') : -1;
|
|
1659
|
+
var cssValueWithoutImportantFlag = indexOfImportantFlag > -1 ? cssValue.substr(0, indexOfImportantFlag - 1) : cssValue;
|
|
1660
|
+
cssRule.style.setProperty(prop, cssValueWithoutImportantFlag, indexOfImportantFlag > -1 ? 'important' : '');
|
|
1614
1661
|
}
|
|
1615
1662
|
} catch (err) {
|
|
1616
1663
|
// IE may throw if property is unknown.
|
|
@@ -1619,10 +1666,11 @@ var setProperty = function setProperty(cssRule, prop, value) {
|
|
|
1619
1666
|
|
|
1620
1667
|
return true;
|
|
1621
1668
|
};
|
|
1622
|
-
|
|
1623
1669
|
/**
|
|
1624
1670
|
* Remove a style property.
|
|
1625
1671
|
*/
|
|
1672
|
+
|
|
1673
|
+
|
|
1626
1674
|
var removeProperty = function removeProperty(cssRule, prop) {
|
|
1627
1675
|
try {
|
|
1628
1676
|
// Support CSSTOM.
|
|
@@ -1634,10 +1682,11 @@ var removeProperty = function removeProperty(cssRule, prop) {
|
|
|
1634
1682
|
} catch (err) {
|
|
1635
1683
|
}
|
|
1636
1684
|
};
|
|
1637
|
-
|
|
1638
1685
|
/**
|
|
1639
1686
|
* Set the selector.
|
|
1640
1687
|
*/
|
|
1688
|
+
|
|
1689
|
+
|
|
1641
1690
|
var setSelector = function setSelector(cssRule, selectorText) {
|
|
1642
1691
|
cssRule.selectorText = selectorText; // Return false if setter was not successful.
|
|
1643
1692
|
// Currently works in chrome only.
|
|
@@ -1702,16 +1751,17 @@ function findCommentNode(text) {
|
|
|
1702
1751
|
|
|
1703
1752
|
return null;
|
|
1704
1753
|
}
|
|
1705
|
-
|
|
1706
1754
|
/**
|
|
1707
1755
|
* Find a node before which we can insert the sheet.
|
|
1708
1756
|
*/
|
|
1757
|
+
|
|
1758
|
+
|
|
1709
1759
|
function findPrevNode(options) {
|
|
1710
|
-
var registry
|
|
1760
|
+
var registry = sheets.registry;
|
|
1711
1761
|
|
|
1712
|
-
if (registry
|
|
1762
|
+
if (registry.length > 0) {
|
|
1713
1763
|
// Try to insert before the next higher sheet.
|
|
1714
|
-
var sheet = findHigherSheet(registry
|
|
1764
|
+
var sheet = findHigherSheet(registry, options);
|
|
1715
1765
|
|
|
1716
1766
|
if (sheet && sheet.renderer) {
|
|
1717
1767
|
return {
|
|
@@ -1721,7 +1771,7 @@ function findPrevNode(options) {
|
|
|
1721
1771
|
} // Otherwise insert after the last attached.
|
|
1722
1772
|
|
|
1723
1773
|
|
|
1724
|
-
sheet = findHighestSheet(registry
|
|
1774
|
+
sheet = findHighestSheet(registry, options);
|
|
1725
1775
|
|
|
1726
1776
|
if (sheet && sheet.renderer) {
|
|
1727
1777
|
return {
|
|
@@ -1763,7 +1813,6 @@ function insertStyle(style, options) {
|
|
|
1763
1813
|
|
|
1764
1814
|
|
|
1765
1815
|
if (insertionPoint && typeof insertionPoint.nodeType === 'number') {
|
|
1766
|
-
// https://stackoverflow.com/questions/41328728/force-casting-in-flow
|
|
1767
1816
|
var insertionPointElement = insertionPoint;
|
|
1768
1817
|
var parentNode = insertionPointElement.parentNode;
|
|
1769
1818
|
if (parentNode) parentNode.insertBefore(style, insertionPointElement.nextSibling);
|
|
@@ -1785,13 +1834,10 @@ var getNonce = memoize(function () {
|
|
|
1785
1834
|
var _insertRule = function insertRule(container, rule, index) {
|
|
1786
1835
|
try {
|
|
1787
1836
|
if ('insertRule' in container) {
|
|
1788
|
-
|
|
1789
|
-
c.insertRule(rule, index);
|
|
1837
|
+
container.insertRule(rule, index);
|
|
1790
1838
|
} // Keyframes rule.
|
|
1791
1839
|
else if ('appendRule' in container) {
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
_c.appendRule(rule);
|
|
1840
|
+
container.appendRule(rule);
|
|
1795
1841
|
}
|
|
1796
1842
|
} catch (err) {
|
|
1797
1843
|
return false;
|
|
@@ -1823,7 +1869,6 @@ var createStyle = function createStyle() {
|
|
|
1823
1869
|
var DomRenderer =
|
|
1824
1870
|
/*#__PURE__*/
|
|
1825
1871
|
function () {
|
|
1826
|
-
// HTMLStyleElement needs fixing https://github.com/facebook/flow/issues/2696
|
|
1827
1872
|
// Will be empty if link: true option is not set, because
|
|
1828
1873
|
// it is only for use together with insertRule API.
|
|
1829
1874
|
function DomRenderer(sheet) {
|
|
@@ -1831,12 +1876,10 @@ function () {
|
|
|
1831
1876
|
this.setProperty = setProperty;
|
|
1832
1877
|
this.removeProperty = removeProperty;
|
|
1833
1878
|
this.setSelector = setSelector;
|
|
1834
|
-
this.element = void 0;
|
|
1835
|
-
this.sheet = void 0;
|
|
1836
1879
|
this.hasInsertedRules = false;
|
|
1837
1880
|
this.cssRules = [];
|
|
1838
1881
|
// There is no sheet when the renderer is used from a standalone StyleRule.
|
|
1839
|
-
if (sheet)
|
|
1882
|
+
if (sheet) sheets.add(sheet);
|
|
1840
1883
|
this.sheet = sheet;
|
|
1841
1884
|
|
|
1842
1885
|
var _ref = this.sheet ? this.sheet.options : {},
|
|
@@ -1966,7 +2009,7 @@ function () {
|
|
|
1966
2009
|
// like rules inside media queries or keyframes
|
|
1967
2010
|
|
|
1968
2011
|
if (rule.options.parent instanceof StyleSheet) {
|
|
1969
|
-
this.cssRules
|
|
2012
|
+
this.cssRules.splice(index, 0, cssRule);
|
|
1970
2013
|
}
|
|
1971
2014
|
}
|
|
1972
2015
|
/**
|
|
@@ -1992,8 +2035,6 @@ function () {
|
|
|
1992
2035
|
}
|
|
1993
2036
|
/**
|
|
1994
2037
|
* Generate a new CSS rule and replace the existing one.
|
|
1995
|
-
*
|
|
1996
|
-
* Only used for some old browsers because they can't set a selector.
|
|
1997
2038
|
*/
|
|
1998
2039
|
;
|
|
1999
2040
|
|
|
@@ -2023,7 +2064,7 @@ var Jss =
|
|
|
2023
2064
|
function () {
|
|
2024
2065
|
function Jss(options) {
|
|
2025
2066
|
this.id = instanceCounter++;
|
|
2026
|
-
this.version = "10.
|
|
2067
|
+
this.version = "10.10.0";
|
|
2027
2068
|
this.plugins = new PluginsRegistry();
|
|
2028
2069
|
this.options = {
|
|
2029
2070
|
id: {
|
|
@@ -2037,8 +2078,8 @@ function () {
|
|
|
2037
2078
|
minify: false
|
|
2038
2079
|
});
|
|
2039
2080
|
|
|
2040
|
-
for (var i = 0; i < plugins.length; i++) {
|
|
2041
|
-
this.plugins.use(plugins[i], {
|
|
2081
|
+
for (var i = 0; i < plugins$1.length; i++) {
|
|
2082
|
+
this.plugins.use(plugins$1[i], {
|
|
2042
2083
|
queue: 'internal'
|
|
2043
2084
|
});
|
|
2044
2085
|
}
|
|
@@ -2095,7 +2136,7 @@ function () {
|
|
|
2095
2136
|
index = _options.index;
|
|
2096
2137
|
|
|
2097
2138
|
if (typeof index !== 'number') {
|
|
2098
|
-
index =
|
|
2139
|
+
index = sheets.index === 0 ? 0 : sheets.index + 1;
|
|
2099
2140
|
}
|
|
2100
2141
|
|
|
2101
2142
|
var sheet = new StyleSheet(styles, _extends({}, options, {
|
|
@@ -2115,7 +2156,7 @@ function () {
|
|
|
2115
2156
|
|
|
2116
2157
|
_proto.removeStyleSheet = function removeStyleSheet(sheet) {
|
|
2117
2158
|
sheet.detach();
|
|
2118
|
-
|
|
2159
|
+
sheets.remove(sheet);
|
|
2119
2160
|
return this;
|
|
2120
2161
|
}
|
|
2121
2162
|
/**
|
|
@@ -2135,10 +2176,8 @@ function () {
|
|
|
2135
2176
|
|
|
2136
2177
|
// Enable rule without name for inline styles.
|
|
2137
2178
|
if (typeof name === 'object') {
|
|
2138
|
-
// $FlowFixMe[incompatible-call]
|
|
2139
2179
|
return this.createRule(undefined, name, style);
|
|
2140
|
-
}
|
|
2141
|
-
|
|
2180
|
+
}
|
|
2142
2181
|
|
|
2143
2182
|
var ruleOptions = _extends({}, options, {
|
|
2144
2183
|
name: name,
|
|
@@ -2176,6 +2215,16 @@ function () {
|
|
|
2176
2215
|
return Jss;
|
|
2177
2216
|
}();
|
|
2178
2217
|
|
|
2218
|
+
var createJss = function createJss(options) {
|
|
2219
|
+
return new Jss(options);
|
|
2220
|
+
};
|
|
2221
|
+
|
|
2222
|
+
/**
|
|
2223
|
+
* Export a constant indicating if this browser has CSSTOM support.
|
|
2224
|
+
* https://developers.google.com/web/updates/2018/03/cssom
|
|
2225
|
+
*/
|
|
2226
|
+
var hasCSSTOMSupport = typeof CSS === 'object' && CSS != null && 'number' in CSS;
|
|
2227
|
+
|
|
2179
2228
|
/**
|
|
2180
2229
|
* A better abstraction over CSS.
|
|
2181
2230
|
*
|
|
@@ -2183,24 +2232,7 @@ function () {
|
|
|
2183
2232
|
* @website https://github.com/cssinjs/jss
|
|
2184
2233
|
* @license MIT
|
|
2185
2234
|
*/
|
|
2186
|
-
|
|
2187
|
-
/**
|
|
2188
|
-
* Export a constant indicating if this browser has CSSTOM support.
|
|
2189
|
-
* https://developers.google.com/web/updates/2018/03/cssom
|
|
2190
|
-
*/
|
|
2191
|
-
var hasCSSTOMSupport = typeof CSS === 'object' && CSS != null && 'number' in CSS;
|
|
2192
|
-
/**
|
|
2193
|
-
* Creates a new instance of Jss.
|
|
2194
|
-
*/
|
|
2195
|
-
|
|
2196
|
-
var create = function create(options) {
|
|
2197
|
-
return new Jss(options);
|
|
2198
|
-
};
|
|
2199
|
-
/**
|
|
2200
|
-
* A global Jss instance.
|
|
2201
|
-
*/
|
|
2202
|
-
|
|
2203
|
-
var jss = create();
|
|
2235
|
+
var index = createJss();
|
|
2204
2236
|
|
|
2205
2237
|
var now = Date.now();
|
|
2206
2238
|
var fnValuesNs = "fnValues" + now;
|
|
@@ -2227,15 +2259,13 @@ var functionPlugin = function functionPlugin() {
|
|
|
2227
2259
|
if (typeof value !== 'function') continue;
|
|
2228
2260
|
delete style[prop];
|
|
2229
2261
|
fnValues[prop] = value;
|
|
2230
|
-
}
|
|
2231
|
-
|
|
2262
|
+
}
|
|
2232
2263
|
|
|
2233
2264
|
rule[fnValuesNs] = fnValues;
|
|
2234
2265
|
return style;
|
|
2235
2266
|
},
|
|
2236
2267
|
onUpdate: function onUpdate(data, rule, sheet, options) {
|
|
2237
|
-
var styleRule = rule;
|
|
2238
|
-
|
|
2268
|
+
var styleRule = rule;
|
|
2239
2269
|
var fnRule = styleRule[fnRuleNs]; // If we have a style function, the entire rule is dynamic and style object
|
|
2240
2270
|
// will be returned from that function.
|
|
2241
2271
|
|
|
@@ -2243,8 +2273,7 @@ var functionPlugin = function functionPlugin() {
|
|
|
2243
2273
|
// Empty object will remove all currently defined props
|
|
2244
2274
|
// in case function rule returns a falsy value.
|
|
2245
2275
|
styleRule.style = fnRule(data) || {};
|
|
2246
|
-
}
|
|
2247
|
-
|
|
2276
|
+
}
|
|
2248
2277
|
|
|
2249
2278
|
var fnValues = styleRule[fnValuesNs]; // If we have a fn values map, it is a rule with function values.
|
|
2250
2279
|
|
|
@@ -2300,8 +2329,7 @@ var isObservable = function isObservable(value) {
|
|
|
2300
2329
|
var observablePlugin = function observablePlugin(updateOptions) {
|
|
2301
2330
|
return {
|
|
2302
2331
|
onCreateRule: function onCreateRule(name, decl, options) {
|
|
2303
|
-
if (!isObservable(decl)) return null;
|
|
2304
|
-
|
|
2332
|
+
if (!isObservable(decl)) return null;
|
|
2305
2333
|
var style$ = decl;
|
|
2306
2334
|
var rule = createRule(name, {}, options); // TODO
|
|
2307
2335
|
// Call `stream.subscribe()` returns a subscription, which should be explicitly
|
|
@@ -2340,13 +2368,13 @@ var observablePlugin = function observablePlugin(updateOptions) {
|
|
|
2340
2368
|
};
|
|
2341
2369
|
|
|
2342
2370
|
var semiWithNl = /;\n/;
|
|
2343
|
-
|
|
2344
2371
|
/**
|
|
2345
2372
|
* Naive CSS parser.
|
|
2346
2373
|
* - Supports only rule body (no selectors)
|
|
2347
2374
|
* - Requires semicolon and new line after the value (except of last line)
|
|
2348
2375
|
* - No nested rules support
|
|
2349
2376
|
*/
|
|
2377
|
+
|
|
2350
2378
|
var parse = function parse(cssText) {
|
|
2351
2379
|
var style = {};
|
|
2352
2380
|
var split = cssText.split(semiWithNl);
|
|
@@ -2370,7 +2398,6 @@ var parse = function parse(cssText) {
|
|
|
2370
2398
|
|
|
2371
2399
|
var onProcessRule = function onProcessRule(rule) {
|
|
2372
2400
|
if (typeof rule.style === 'string') {
|
|
2373
|
-
// $FlowFixMe[prop-missing] We can safely assume that rule has the style property
|
|
2374
2401
|
rule.style = parse(rule.style);
|
|
2375
2402
|
}
|
|
2376
2403
|
};
|
|
@@ -2390,9 +2417,6 @@ function () {
|
|
|
2390
2417
|
function GlobalContainerRule(key, styles, options) {
|
|
2391
2418
|
this.type = 'global';
|
|
2392
2419
|
this.at = at;
|
|
2393
|
-
this.rules = void 0;
|
|
2394
|
-
this.options = void 0;
|
|
2395
|
-
this.key = void 0;
|
|
2396
2420
|
this.isProcessed = false;
|
|
2397
2421
|
this.key = key;
|
|
2398
2422
|
this.options = options;
|
|
@@ -2426,6 +2450,16 @@ function () {
|
|
|
2426
2450
|
if (rule) this.options.jss.plugins.onProcessRule(rule);
|
|
2427
2451
|
return rule;
|
|
2428
2452
|
}
|
|
2453
|
+
/**
|
|
2454
|
+
* Replace rule, run plugins.
|
|
2455
|
+
*/
|
|
2456
|
+
;
|
|
2457
|
+
|
|
2458
|
+
_proto.replaceRule = function replaceRule(name, style, options) {
|
|
2459
|
+
var newRule = this.rules.replace(name, style, options);
|
|
2460
|
+
if (newRule) this.options.jss.plugins.onProcessRule(newRule);
|
|
2461
|
+
return newRule;
|
|
2462
|
+
}
|
|
2429
2463
|
/**
|
|
2430
2464
|
* Get index of a rule.
|
|
2431
2465
|
*/
|
|
@@ -2439,8 +2473,8 @@ function () {
|
|
|
2439
2473
|
*/
|
|
2440
2474
|
;
|
|
2441
2475
|
|
|
2442
|
-
_proto.toString = function toString() {
|
|
2443
|
-
return this.rules.toString();
|
|
2476
|
+
_proto.toString = function toString(options) {
|
|
2477
|
+
return this.rules.toString(options);
|
|
2444
2478
|
};
|
|
2445
2479
|
|
|
2446
2480
|
return GlobalContainerRule;
|
|
@@ -2452,10 +2486,7 @@ function () {
|
|
|
2452
2486
|
function GlobalPrefixedRule(key, style, options) {
|
|
2453
2487
|
this.type = 'global';
|
|
2454
2488
|
this.at = at;
|
|
2455
|
-
this.options = void 0;
|
|
2456
|
-
this.rule = void 0;
|
|
2457
2489
|
this.isProcessed = false;
|
|
2458
|
-
this.key = void 0;
|
|
2459
2490
|
this.key = key;
|
|
2460
2491
|
this.options = options;
|
|
2461
2492
|
var selector = key.substr(atPrefix.length);
|
|
@@ -2473,10 +2504,10 @@ function () {
|
|
|
2473
2504
|
return GlobalPrefixedRule;
|
|
2474
2505
|
}();
|
|
2475
2506
|
|
|
2476
|
-
var separatorRegExp = /\s*,\s*/g;
|
|
2507
|
+
var separatorRegExp$1 = /\s*,\s*/g;
|
|
2477
2508
|
|
|
2478
2509
|
function addScope(selector, scope) {
|
|
2479
|
-
var parts = selector.split(separatorRegExp);
|
|
2510
|
+
var parts = selector.split(separatorRegExp$1);
|
|
2480
2511
|
var scoped = '';
|
|
2481
2512
|
|
|
2482
2513
|
for (var i = 0; i < parts.length; i++) {
|
|
@@ -2517,9 +2548,6 @@ function handlePrefixedGlobalRule(rule, sheet) {
|
|
|
2517
2548
|
}
|
|
2518
2549
|
/**
|
|
2519
2550
|
* Convert nested rules to separate, remove them from original styles.
|
|
2520
|
-
*
|
|
2521
|
-
* @param {Rule} rule
|
|
2522
|
-
* @api public
|
|
2523
2551
|
*/
|
|
2524
2552
|
|
|
2525
2553
|
|
|
@@ -2543,7 +2571,7 @@ function jssGlobal() {
|
|
|
2543
2571
|
}
|
|
2544
2572
|
}
|
|
2545
2573
|
|
|
2546
|
-
if (options.scoped === false) {
|
|
2574
|
+
if (!options.selector && options.scoped === false) {
|
|
2547
2575
|
options.selector = name;
|
|
2548
2576
|
}
|
|
2549
2577
|
|
|
@@ -2654,9 +2682,6 @@ function extend(style, rule, sheet, newStyle) {
|
|
|
2654
2682
|
}
|
|
2655
2683
|
/**
|
|
2656
2684
|
* Handle `extend` property.
|
|
2657
|
-
*
|
|
2658
|
-
* @param {Rule} rule
|
|
2659
|
-
* @api public
|
|
2660
2685
|
*/
|
|
2661
2686
|
|
|
2662
2687
|
|
|
@@ -2670,23 +2695,18 @@ function jssExtend() {
|
|
|
2670
2695
|
if (prop !== 'extend') return value; // Value is empty, remove properties set previously.
|
|
2671
2696
|
|
|
2672
2697
|
if (value == null || value === false) {
|
|
2673
|
-
// $FlowFixMe[prop-missing]
|
|
2674
2698
|
for (var key in rule[valueNs]) {
|
|
2675
2699
|
rule.prop(key, null);
|
|
2676
|
-
}
|
|
2677
|
-
|
|
2700
|
+
}
|
|
2678
2701
|
|
|
2679
2702
|
rule[valueNs] = null;
|
|
2680
2703
|
return null;
|
|
2681
2704
|
}
|
|
2682
2705
|
|
|
2683
2706
|
if (typeof value === 'object') {
|
|
2684
|
-
// $FlowFixMe[invalid-in-rhs] This will be an object
|
|
2685
2707
|
for (var _key in value) {
|
|
2686
|
-
// $FlowFixMe[incompatible-use] This will be an object
|
|
2687
2708
|
rule.prop(_key, value[_key]);
|
|
2688
|
-
}
|
|
2689
|
-
|
|
2709
|
+
}
|
|
2690
2710
|
|
|
2691
2711
|
rule[valueNs] = value;
|
|
2692
2712
|
} // Make sure we don't set the value in the core.
|
|
@@ -2701,14 +2721,11 @@ function jssExtend() {
|
|
|
2701
2721
|
};
|
|
2702
2722
|
}
|
|
2703
2723
|
|
|
2704
|
-
var separatorRegExp
|
|
2724
|
+
var separatorRegExp = /\s*,\s*/g;
|
|
2705
2725
|
var parentRegExp = /&/g;
|
|
2706
|
-
var refRegExp
|
|
2726
|
+
var refRegExp = /\$([\w-]+)/g;
|
|
2707
2727
|
/**
|
|
2708
2728
|
* Convert nested rules to separate, remove them from original styles.
|
|
2709
|
-
*
|
|
2710
|
-
* @param {Rule} rule
|
|
2711
|
-
* @api public
|
|
2712
2729
|
*/
|
|
2713
2730
|
|
|
2714
2731
|
function jssNested() {
|
|
@@ -2718,7 +2735,6 @@ function jssNested() {
|
|
|
2718
2735
|
var rule = container.getRule(key) || sheet && sheet.getRule(key);
|
|
2719
2736
|
|
|
2720
2737
|
if (rule) {
|
|
2721
|
-
rule = rule;
|
|
2722
2738
|
return rule.selector;
|
|
2723
2739
|
}
|
|
2724
2740
|
return key;
|
|
@@ -2726,8 +2742,8 @@ function jssNested() {
|
|
|
2726
2742
|
}
|
|
2727
2743
|
|
|
2728
2744
|
function replaceParentRefs(nestedProp, parentProp) {
|
|
2729
|
-
var parentSelectors = parentProp.split(separatorRegExp
|
|
2730
|
-
var nestedSelectors = nestedProp.split(separatorRegExp
|
|
2745
|
+
var parentSelectors = parentProp.split(separatorRegExp);
|
|
2746
|
+
var nestedSelectors = nestedProp.split(separatorRegExp);
|
|
2731
2747
|
var result = '';
|
|
2732
2748
|
|
|
2733
2749
|
for (var i = 0; i < parentSelectors.length; i++) {
|
|
@@ -2747,8 +2763,7 @@ function jssNested() {
|
|
|
2747
2763
|
function getOptions(rule, container, prevOptions) {
|
|
2748
2764
|
// Options has been already created, now we only increase index.
|
|
2749
2765
|
if (prevOptions) return _extends({}, prevOptions, {
|
|
2750
|
-
index: prevOptions.index + 1
|
|
2751
|
-
|
|
2766
|
+
index: prevOptions.index + 1
|
|
2752
2767
|
});
|
|
2753
2768
|
var nestingLevel = rule.options.nestingLevel;
|
|
2754
2769
|
nestingLevel = nestingLevel === undefined ? 1 : nestingLevel + 1;
|
|
@@ -2782,17 +2797,22 @@ function jssNested() {
|
|
|
2782
2797
|
|
|
2783
2798
|
if (!replaceRef) replaceRef = getReplaceRef(container, sheet); // Replace all $refs.
|
|
2784
2799
|
|
|
2785
|
-
selector = selector.replace(refRegExp
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2800
|
+
selector = selector.replace(refRegExp, replaceRef);
|
|
2801
|
+
var name = styleRule.key + "-" + prop;
|
|
2802
|
+
|
|
2803
|
+
if ('replaceRule' in container) {
|
|
2804
|
+
// for backward compatibility
|
|
2805
|
+
container.replaceRule(name, style[prop], _extends({}, options, {
|
|
2806
|
+
selector: selector
|
|
2807
|
+
}));
|
|
2808
|
+
} else {
|
|
2809
|
+
container.addRule(name, style[prop], _extends({}, options, {
|
|
2810
|
+
selector: selector
|
|
2811
|
+
}));
|
|
2812
|
+
}
|
|
2789
2813
|
} else if (isNestedConditional) {
|
|
2790
2814
|
// Place conditional right after the parent rule to ensure right ordering.
|
|
2791
|
-
container.addRule(prop, {}, options)
|
|
2792
|
-
// And flow doesn't know this will always be a StyleRule which has the addRule method
|
|
2793
|
-
// $FlowFixMe[incompatible-use]
|
|
2794
|
-
// $FlowFixMe[prop-missing]
|
|
2795
|
-
.addRule(styleRule.key, style[prop], {
|
|
2815
|
+
container.addRule(prop, {}, options).addRule(styleRule.key, style[prop], {
|
|
2796
2816
|
selector: styleRule.selector
|
|
2797
2817
|
});
|
|
2798
2818
|
}
|
|
@@ -2811,10 +2831,11 @@ function jssNested() {
|
|
|
2811
2831
|
/**
|
|
2812
2832
|
* Set selector.
|
|
2813
2833
|
*
|
|
2814
|
-
* @param
|
|
2815
|
-
* @param
|
|
2816
|
-
* @return
|
|
2834
|
+
* @param original rule
|
|
2835
|
+
* @param className class string
|
|
2836
|
+
* @return flag indicating function was successfull or not
|
|
2817
2837
|
*/
|
|
2838
|
+
|
|
2818
2839
|
function registerClass(rule, className) {
|
|
2819
2840
|
// Skip falsy values
|
|
2820
2841
|
if (!className) return true; // Support array of class names `{composes: ['foo', 'bar']}`
|
|
@@ -2833,8 +2854,7 @@ function registerClass(rule, className) {
|
|
|
2833
2854
|
return registerClass(rule, className.split(' '));
|
|
2834
2855
|
}
|
|
2835
2856
|
|
|
2836
|
-
var
|
|
2837
|
-
parent = _ref.parent; // It is a ref to a local rule.
|
|
2857
|
+
var parent = rule.options.parent; // It is a ref to a local rule.
|
|
2838
2858
|
|
|
2839
2859
|
if (className[0] === '$') {
|
|
2840
2860
|
var refRule = parent.getRule(className.substr(1));
|
|
@@ -2856,9 +2876,6 @@ function registerClass(rule, className) {
|
|
|
2856
2876
|
}
|
|
2857
2877
|
/**
|
|
2858
2878
|
* Convert compose property to additional class, remove property from original styles.
|
|
2859
|
-
*
|
|
2860
|
-
* @param {Rule} rule
|
|
2861
|
-
* @api public
|
|
2862
2879
|
*/
|
|
2863
2880
|
|
|
2864
2881
|
|
|
@@ -2879,26 +2896,23 @@ function jssCompose() {
|
|
|
2879
2896
|
/* eslint-disable no-var, prefer-template */
|
|
2880
2897
|
var uppercasePattern = /[A-Z]/g;
|
|
2881
2898
|
var msPattern = /^ms-/;
|
|
2882
|
-
var cache = {};
|
|
2899
|
+
var cache$2 = {};
|
|
2883
2900
|
|
|
2884
2901
|
function toHyphenLower(match) {
|
|
2885
2902
|
return '-' + match.toLowerCase()
|
|
2886
2903
|
}
|
|
2887
2904
|
|
|
2888
2905
|
function hyphenateStyleName(name) {
|
|
2889
|
-
if (cache.hasOwnProperty(name)) {
|
|
2890
|
-
return cache[name]
|
|
2906
|
+
if (cache$2.hasOwnProperty(name)) {
|
|
2907
|
+
return cache$2[name]
|
|
2891
2908
|
}
|
|
2892
2909
|
|
|
2893
2910
|
var hName = name.replace(uppercasePattern, toHyphenLower);
|
|
2894
|
-
return (cache[name] = msPattern.test(hName) ? '-' + hName : hName)
|
|
2911
|
+
return (cache$2[name] = msPattern.test(hName) ? '-' + hName : hName)
|
|
2895
2912
|
}
|
|
2896
2913
|
|
|
2897
2914
|
/**
|
|
2898
2915
|
* Convert camel cased property names to dash separated.
|
|
2899
|
-
*
|
|
2900
|
-
* @param {Object} style
|
|
2901
|
-
* @return {Object}
|
|
2902
2916
|
*/
|
|
2903
2917
|
|
|
2904
2918
|
function convertCase(style) {
|
|
@@ -2917,8 +2931,6 @@ function convertCase(style) {
|
|
|
2917
2931
|
}
|
|
2918
2932
|
/**
|
|
2919
2933
|
* Allow camel cased property names by converting them back to dasherized.
|
|
2920
|
-
*
|
|
2921
|
-
* @param {Rule} rule
|
|
2922
2934
|
*/
|
|
2923
2935
|
|
|
2924
2936
|
|
|
@@ -2960,8 +2972,6 @@ var ms = hasCSSTOMSupport && CSS ? CSS.ms : 'ms';
|
|
|
2960
2972
|
var percent = hasCSSTOMSupport && CSS ? CSS.percent : '%';
|
|
2961
2973
|
/**
|
|
2962
2974
|
* Generated jss-plugin-default-unit CSS property units
|
|
2963
|
-
*
|
|
2964
|
-
* @type object
|
|
2965
2975
|
*/
|
|
2966
2976
|
|
|
2967
2977
|
var defaultUnits = {
|
|
@@ -3120,6 +3130,7 @@ var defaultUnits = {
|
|
|
3120
3130
|
/**
|
|
3121
3131
|
* Clones the object and adds a camel cased property version.
|
|
3122
3132
|
*/
|
|
3133
|
+
|
|
3123
3134
|
function addCamelCasedVersion(obj) {
|
|
3124
3135
|
var regExp = /(-[a-z])/g;
|
|
3125
3136
|
|
|
@@ -3129,9 +3140,9 @@ function addCamelCasedVersion(obj) {
|
|
|
3129
3140
|
|
|
3130
3141
|
var newObj = {};
|
|
3131
3142
|
|
|
3132
|
-
for (var
|
|
3133
|
-
newObj[
|
|
3134
|
-
newObj[
|
|
3143
|
+
for (var key in obj) {
|
|
3144
|
+
newObj[key] = obj[key];
|
|
3145
|
+
newObj[key.replace(regExp, replace)] = obj[key];
|
|
3135
3146
|
}
|
|
3136
3147
|
|
|
3137
3148
|
return newObj;
|
|
@@ -3436,7 +3447,6 @@ var customPropObj = {
|
|
|
3436
3447
|
};
|
|
3437
3448
|
|
|
3438
3449
|
/* eslint-disable no-use-before-define */
|
|
3439
|
-
|
|
3440
3450
|
/**
|
|
3441
3451
|
* Map values by given prop.
|
|
3442
3452
|
*
|
|
@@ -3445,6 +3455,7 @@ var customPropObj = {
|
|
|
3445
3455
|
* @param {String} original rule
|
|
3446
3456
|
* @return {String} mapped values
|
|
3447
3457
|
*/
|
|
3458
|
+
|
|
3448
3459
|
function mapValuesByProp(value, prop, rule) {
|
|
3449
3460
|
return value.map(function (item) {
|
|
3450
3461
|
return objectToArray(item, prop, rule, false, true);
|
|
@@ -3589,39 +3600,34 @@ function jssExpand() {
|
|
|
3589
3600
|
};
|
|
3590
3601
|
}
|
|
3591
3602
|
|
|
3592
|
-
function _arrayLikeToArray(
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
arr2[i] = arr[i];
|
|
3597
|
-
}
|
|
3598
|
-
|
|
3599
|
-
return arr2;
|
|
3603
|
+
function _arrayLikeToArray(r, a) {
|
|
3604
|
+
(null == a || a > r.length) && (a = r.length);
|
|
3605
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
3606
|
+
return n;
|
|
3600
3607
|
}
|
|
3601
3608
|
|
|
3602
|
-
function _arrayWithoutHoles(
|
|
3603
|
-
if (Array.isArray(
|
|
3609
|
+
function _arrayWithoutHoles(r) {
|
|
3610
|
+
if (Array.isArray(r)) return _arrayLikeToArray(r);
|
|
3604
3611
|
}
|
|
3605
3612
|
|
|
3606
|
-
function _iterableToArray(
|
|
3607
|
-
if (typeof Symbol
|
|
3613
|
+
function _iterableToArray(r) {
|
|
3614
|
+
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
3608
3615
|
}
|
|
3609
3616
|
|
|
3610
|
-
function _unsupportedIterableToArray(
|
|
3611
|
-
if (
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
3617
|
+
function _unsupportedIterableToArray(r, a) {
|
|
3618
|
+
if (r) {
|
|
3619
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
3620
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
3621
|
+
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;
|
|
3622
|
+
}
|
|
3617
3623
|
}
|
|
3618
3624
|
|
|
3619
3625
|
function _nonIterableSpread() {
|
|
3620
3626
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
3621
3627
|
}
|
|
3622
3628
|
|
|
3623
|
-
function _toConsumableArray(
|
|
3624
|
-
return _arrayWithoutHoles(
|
|
3629
|
+
function _toConsumableArray(r) {
|
|
3630
|
+
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
3625
3631
|
}
|
|
3626
3632
|
|
|
3627
3633
|
// Export javascript style and css style vendor prefixes.
|
|
@@ -4019,13 +4025,13 @@ var flex2009 = {
|
|
|
4019
4025
|
// 'flex2009' going after 'flex2012'.
|
|
4020
4026
|
// 'prefixed' going after 'unprefixed'
|
|
4021
4027
|
|
|
4022
|
-
var plugins
|
|
4023
|
-
var propertyDetectors = plugins
|
|
4028
|
+
var plugins = [appearence, colorAdjust, mask, textOrientation, transform, transition, writingMode, userSelect, breakPropsOld, inlineLogicalOld, unprefixed, prefixed, scrollSnap, overscrollBehavior, flex2012, flex2009];
|
|
4029
|
+
var propertyDetectors = plugins.filter(function (p) {
|
|
4024
4030
|
return p.supportedProperty;
|
|
4025
4031
|
}).map(function (p) {
|
|
4026
4032
|
return p.supportedProperty;
|
|
4027
4033
|
});
|
|
4028
|
-
var noPrefill = plugins
|
|
4034
|
+
var noPrefill = plugins.filter(function (p) {
|
|
4029
4035
|
return p.noPrefill;
|
|
4030
4036
|
}).reduce(function (a, p) {
|
|
4031
4037
|
a.push.apply(a, _toConsumableArray(p.noPrefill));
|
|
@@ -4033,7 +4039,7 @@ var noPrefill = plugins$1.filter(function (p) {
|
|
|
4033
4039
|
}, []);
|
|
4034
4040
|
|
|
4035
4041
|
var el;
|
|
4036
|
-
var cache
|
|
4042
|
+
var cache = {};
|
|
4037
4043
|
|
|
4038
4044
|
if (isBrowser) {
|
|
4039
4045
|
el = document.createElement('p'); // We test every property on vendor prefix requirement.
|
|
@@ -4048,13 +4054,13 @@ if (isBrowser) {
|
|
|
4048
4054
|
|
|
4049
4055
|
for (var key$1 in computed) {
|
|
4050
4056
|
// eslint-disable-next-line no-restricted-globals
|
|
4051
|
-
if (!isNaN(key$1)) cache
|
|
4057
|
+
if (!isNaN(key$1)) cache[computed[key$1]] = computed[key$1];
|
|
4052
4058
|
} // Properties that cannot be correctly detected using the
|
|
4053
4059
|
// cache prefill method.
|
|
4054
4060
|
|
|
4055
4061
|
|
|
4056
4062
|
noPrefill.forEach(function (x) {
|
|
4057
|
-
return delete cache
|
|
4063
|
+
return delete cache[x];
|
|
4058
4064
|
});
|
|
4059
4065
|
}
|
|
4060
4066
|
/**
|
|
@@ -4076,8 +4082,8 @@ function supportedProperty(prop, options) {
|
|
|
4076
4082
|
// For server-side rendering.
|
|
4077
4083
|
if (!el) return prop; // Remove cache for benchmark tests or return property from the cache.
|
|
4078
4084
|
|
|
4079
|
-
if (
|
|
4080
|
-
return cache
|
|
4085
|
+
if (cache[prop] != null) {
|
|
4086
|
+
return cache[prop];
|
|
4081
4087
|
} // Check if 'transition' or 'transform' natively supported in browser.
|
|
4082
4088
|
|
|
4083
4089
|
|
|
@@ -4087,9 +4093,9 @@ function supportedProperty(prop, options) {
|
|
|
4087
4093
|
|
|
4088
4094
|
|
|
4089
4095
|
for (var i = 0; i < propertyDetectors.length; i++) {
|
|
4090
|
-
cache
|
|
4096
|
+
cache[prop] = propertyDetectors[i](prop, el.style, options); // Break loop, if value found.
|
|
4091
4097
|
|
|
4092
|
-
if (cache
|
|
4098
|
+
if (cache[prop]) break;
|
|
4093
4099
|
} // Reset styles for current property.
|
|
4094
4100
|
// Firefox can even throw an error for invalid properties, e.g., "0".
|
|
4095
4101
|
|
|
@@ -4100,10 +4106,10 @@ function supportedProperty(prop, options) {
|
|
|
4100
4106
|
return false;
|
|
4101
4107
|
}
|
|
4102
4108
|
|
|
4103
|
-
return cache
|
|
4109
|
+
return cache[prop];
|
|
4104
4110
|
}
|
|
4105
4111
|
|
|
4106
|
-
var cache$1
|
|
4112
|
+
var cache$1 = {};
|
|
4107
4113
|
var transitionProperties = {
|
|
4108
4114
|
transition: 1,
|
|
4109
4115
|
'transition-property': 1,
|
|
@@ -4155,8 +4161,8 @@ function supportedValue(property, value) {
|
|
|
4155
4161
|
|
|
4156
4162
|
var cacheKey = property + prefixedValue; // Remove cache for benchmark tests or return value from cache.
|
|
4157
4163
|
|
|
4158
|
-
if (
|
|
4159
|
-
return cache$1
|
|
4164
|
+
if (cache$1[cacheKey] != null) {
|
|
4165
|
+
return cache$1[cacheKey];
|
|
4160
4166
|
} // IE can even throw an error in some cases, for e.g. style.content = 'bar'.
|
|
4161
4167
|
|
|
4162
4168
|
|
|
@@ -4165,7 +4171,7 @@ function supportedValue(property, value) {
|
|
|
4165
4171
|
el$1.style[property] = prefixedValue;
|
|
4166
4172
|
} catch (err) {
|
|
4167
4173
|
// Return false if value not supported.
|
|
4168
|
-
cache$1
|
|
4174
|
+
cache$1[cacheKey] = false;
|
|
4169
4175
|
return false;
|
|
4170
4176
|
} // If 'transition' or 'transition-property' property.
|
|
4171
4177
|
|
|
@@ -4181,7 +4187,7 @@ function supportedValue(property, value) {
|
|
|
4181
4187
|
el$1.style[property] = prefixedValue; // Return false if value not supported.
|
|
4182
4188
|
|
|
4183
4189
|
if (el$1.style[property] === '') {
|
|
4184
|
-
cache$1
|
|
4190
|
+
cache$1[cacheKey] = false;
|
|
4185
4191
|
return false;
|
|
4186
4192
|
}
|
|
4187
4193
|
} // Reset styles for current property.
|
|
@@ -4189,14 +4195,12 @@ function supportedValue(property, value) {
|
|
|
4189
4195
|
|
|
4190
4196
|
el$1.style[property] = ''; // Write current value to cache.
|
|
4191
4197
|
|
|
4192
|
-
cache$1
|
|
4193
|
-
return cache$1
|
|
4198
|
+
cache$1[cacheKey] = prefixedValue;
|
|
4199
|
+
return cache$1[cacheKey];
|
|
4194
4200
|
}
|
|
4195
4201
|
|
|
4196
4202
|
/**
|
|
4197
4203
|
* Add vendor prefix to a property name when needed.
|
|
4198
|
-
*
|
|
4199
|
-
* @api public
|
|
4200
4204
|
*/
|
|
4201
4205
|
|
|
4202
4206
|
function jssVendorPrefixer() {
|
|
@@ -4275,7 +4279,7 @@ function jssPropsSort() {
|
|
|
4275
4279
|
};
|
|
4276
4280
|
}
|
|
4277
4281
|
|
|
4278
|
-
var create
|
|
4282
|
+
var create = function create(options) {
|
|
4279
4283
|
if (options === void 0) {
|
|
4280
4284
|
options = {};
|
|
4281
4285
|
}
|
|
@@ -4285,9 +4289,9 @@ var create$1 = function create(options) {
|
|
|
4285
4289
|
};
|
|
4286
4290
|
};
|
|
4287
4291
|
|
|
4288
|
-
const jss
|
|
4289
|
-
const createStyleSheet = (...args) => jss
|
|
4292
|
+
const jss = createJss(create());
|
|
4293
|
+
const createStyleSheet = (...args) => jss.createStyleSheet(...args);
|
|
4290
4294
|
|
|
4291
|
-
exports.create = create
|
|
4295
|
+
exports.create = create;
|
|
4292
4296
|
exports.createStyleSheet = createStyleSheet;
|
|
4293
|
-
exports.
|
|
4297
|
+
exports.index = index;
|