@descope/sdk-mixins
Advanced tools
Comparing version 0.1.17 to 0.1.18
@@ -581,3 +581,3 @@ 'use strict'; | ||
var _ThemeMixinClass_instances, _ThemeMixinClass__themeResource, _ThemeMixinClass_fetchTheme, _ThemeMixinClass_themeResource_get, _ThemeMixinClass_loadGlobalStyle, _ThemeMixinClass_loadComponentsStyle, _ThemeMixinClass_loadFonts, _ThemeMixinClass_applyTheme, _a; | ||
const BaseClass = sdkHelpers.compose(createValidateAttributesMixin({ theme: themeValidation }), staticResourcesMixin, initLifecycleMixin, descopeUiMixin, configMixin, initElementMixin)(superclass); | ||
const BaseClass = sdkHelpers.compose(createValidateAttributesMixin({ theme: themeValidation }), staticResourcesMixin, initLifecycleMixin, descopeUiMixin, configMixin, initElementMixin, observeAttributesMixin)(superclass); | ||
return _a = class ThemeMixinClass extends BaseClass { | ||
@@ -606,2 +606,6 @@ constructor() { | ||
tslib.__classPrivateFieldGet(this, _ThemeMixinClass_instances, "m", _ThemeMixinClass_applyTheme).call(this); | ||
this.observeAttributes(['theme'], () => { | ||
tslib.__classPrivateFieldGet(this, _ThemeMixinClass_instances, "m", _ThemeMixinClass_loadFonts).call(this); | ||
tslib.__classPrivateFieldGet(this, _ThemeMixinClass_instances, "m", _ThemeMixinClass_applyTheme).call(this); | ||
}); | ||
} | ||
@@ -608,0 +612,0 @@ }, |
@@ -579,3 +579,3 @@ import { __classPrivateFieldGet, __classPrivateFieldSet } from 'tslib'; | ||
var _ThemeMixinClass_instances, _ThemeMixinClass__themeResource, _ThemeMixinClass_fetchTheme, _ThemeMixinClass_themeResource_get, _ThemeMixinClass_loadGlobalStyle, _ThemeMixinClass_loadComponentsStyle, _ThemeMixinClass_loadFonts, _ThemeMixinClass_applyTheme, _a; | ||
const BaseClass = compose(createValidateAttributesMixin({ theme: themeValidation }), staticResourcesMixin, initLifecycleMixin, descopeUiMixin, configMixin, initElementMixin)(superclass); | ||
const BaseClass = compose(createValidateAttributesMixin({ theme: themeValidation }), staticResourcesMixin, initLifecycleMixin, descopeUiMixin, configMixin, initElementMixin, observeAttributesMixin)(superclass); | ||
return _a = class ThemeMixinClass extends BaseClass { | ||
@@ -604,2 +604,6 @@ constructor() { | ||
__classPrivateFieldGet(this, _ThemeMixinClass_instances, "m", _ThemeMixinClass_applyTheme).call(this); | ||
this.observeAttributes(['theme'], () => { | ||
__classPrivateFieldGet(this, _ThemeMixinClass_instances, "m", _ThemeMixinClass_loadFonts).call(this); | ||
__classPrivateFieldGet(this, _ThemeMixinClass_instances, "m", _ThemeMixinClass_applyTheme).call(this); | ||
}); | ||
} | ||
@@ -606,0 +610,0 @@ }, |
{ | ||
"name": "@descope/sdk-mixins", | ||
"version": "0.1.17", | ||
"version": "0.1.18", | ||
"author": "Descope Team <info@descope.com>", | ||
@@ -45,3 +45,3 @@ "homepage": "https://github.com/descope/sdk-mixins", | ||
"@types/jest": "^29.0.0", | ||
"@types/node": "20.11.24", | ||
"@types/node": "20.11.25", | ||
"@types/js-cookie": "^3.0.2", | ||
@@ -86,4 +86,4 @@ "@typescript-eslint/parser": "^7.0.0", | ||
"tslib": "2.6.2", | ||
"@descope/sdk-helpers": "0.1.13", | ||
"@descope/sdk-component-drivers": "0.1.13" | ||
"@descope/sdk-helpers": "0.1.14", | ||
"@descope/sdk-component-drivers": "0.1.14" | ||
}, | ||
@@ -90,0 +90,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
573694
7205
+ Added@descope/sdk-component-drivers@0.1.14(transitive)
+ Added@descope/sdk-helpers@0.1.14(transitive)
- Removed@descope/sdk-component-drivers@0.1.13(transitive)
- Removed@descope/sdk-helpers@0.1.13(transitive)
Updated@descope/sdk-helpers@0.1.14