@skyux/theme
Advanced tools
Comparing version 4.0.0 to 4.1.0
@@ -338,3 +338,3 @@ (function (global, factory) { | ||
fontAwesome.load('\uf0fc', SkyAppStyleLoader_1.LOAD_TIMEOUT), | ||
skyuxIcons.load('\ue808', SkyAppStyleLoader_1.LOAD_TIMEOUT), | ||
skyuxIcons.load('\ue999', SkyAppStyleLoader_1.LOAD_TIMEOUT), | ||
blackbaudSans.load(undefined, SkyAppStyleLoader_1.LOAD_TIMEOUT), | ||
@@ -341,0 +341,0 @@ themePromise |
@@ -15,3 +15,3 @@ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("fontfaceobserver"),require("@angular/core"),require("rxjs/operators"),require("rxjs")):"function"==typeof define&&define.amd?define("@skyux/theme",["exports","fontfaceobserver","@angular/core","rxjs/operators","rxjs"],t):t(((e=e||self).skyux=e.skyux||{},e.skyux.theme={}),e.FontFaceObserver,e.ng.core,e.rxjs.operators,e.rxjs)}(this,(function(e,t,s,r,n){"use strict"; | ||
and limitations under the License. | ||
***************************************************************************** */function o(e,t,s,r){var n,o=arguments.length,i=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,s):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,s,r);else for(var h=e.length-1;h>=0;h--)(n=e[h])&&(i=(o<3?n(i):o>3?n(t,s,i):n(t,s))||i);return o>3&&i&&Object.defineProperty(t,s,i),i}var i=function(){function e(){this.settings=new n.ReplaySubject(1),this.settingsObs=this.settings.asObservable()}return Object.defineProperty(e.prototype,"settingsChange",{get:function(){return this.settingsObs},enumerable:!0,configurable:!0}),e.prototype.init=function(e,t,s){this.hostEl=e,this.renderer=t,this.setTheme(s)},e.prototype.destroy=function(){this.settings.complete(),this.hostEl=this.renderer=void 0},e.prototype.setTheme=function(e){var t=this.current;this.applySettings(t,e),this.applyThemeMode(t,e),this.settings.next({currentSettings:e,previousSettings:t}),this.current=e},e.prototype.applySettings=function(e,t){var s=e&&e.theme.hostClass,r=t.theme.hostClass;(!s||s!==r)&&(s&&this.removeHostClass(s),this.addHostClass(r))},e.prototype.applyThemeMode=function(e,t){var s=e&&e.mode.hostClass,r=t.mode.hostClass;(!e||s!==r)&&(s&&this.removeHostClass(s),t.theme.supportedModes.indexOf(t.mode)>=0&&this.addHostClass(r))},e.prototype.addHostClass=function(e){this.renderer.addClass(this.hostEl,e)},e.prototype.removeHostClass=function(e){this.renderer.removeClass(this.hostEl,e)},e=o([s.Injectable()],e)}(),h=function(){function e(e){this.themeSvc=e,this.isLoaded=!1}var n,h,a;return n=e,e.prototype.loadStyles=function(){var e,s=this;if(this.isLoaded)return Promise.resolve();e=this.themeSvc?this.themeSvc.settingsChange.pipe(r.take(1)).toPromise():Promise.resolve();var o=new t("FontAwesome"),i=new t("skyux-icons"),h=new t("Blackbaud Sans");return Promise.all([o.load("",n.LOAD_TIMEOUT),i.load("",n.LOAD_TIMEOUT),h.load(void 0,n.LOAD_TIMEOUT),e]).then((function(){s.isLoaded=!0})).catch((function(e){return Promise.resolve({error:e})}))},e.LOAD_TIMEOUT=3e3,e.ctorParameters=function(){return[{type:i,decorators:[{type:s.Optional}]}]},e=n=o([s.Injectable(),(h=0,a=s.Optional(),function(e,t){a(e,t,h)})],e)}(),a=function(){function e(){this.visible=new n.ReplaySubject(1)}return e=o([s.Injectable()],e)}(),u=function(){function e(e,t){this.name=e,this.hostClass=t}return e.presets={light:new e("light","sky-theme-mode-light"),dark:new e("dark","sky-theme-mode-dark")},e}(),c=function(){function e(e,t,s){this.name=e,this.hostClass=t,this.supportedModes=s}return e.presets={default:new e("default","sky-theme-default",[u.presets.light]),modern:new e("modern","sky-theme-modern",[u.presets.light,u.presets.dark])},e}(),l=function(e,t){this.theme=e,this.mode=t},p=new l(c.presets.default,u.presets.light),d=function(){function e(e,t,s){this.elRef=e,this.renderer=t,this.themeSvc=s,this._skyTheme=p}return Object.defineProperty(e.prototype,"skyTheme",{get:function(){return this._skyTheme},set:function(e){this._skyTheme=e||p,this.initialized&&this.themeSvc.setTheme(this.skyTheme)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.themeSvc.init(this.elRef.nativeElement,this.renderer,this.skyTheme),this.initialized=!0},e.prototype.ngOnDestroy=function(){this.themeSvc.destroy()},e.ctorParameters=function(){return[{type:s.ElementRef},{type:s.Renderer2},{type:i}]},o([s.Input()],e.prototype,"skyTheme",null),e=o([s.Directive({selector:"[skyTheme]",providers:[i]})],e)}(),f=function(){function e(){}return e=o([s.NgModule({declarations:[d],providers:[h,a],exports:[d]})],e)}();e.SkyAppStyleLoader=h,e.SkyAppViewportService=a,e.SkyTheme=c,e.SkyThemeMode=u,e.SkyThemeModule=f,e.SkyThemeService=i,e.SkyThemeSettings=l,e.ɵa=d,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
***************************************************************************** */function o(e,t,s,r){var n,o=arguments.length,i=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,s):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,s,r);else for(var h=e.length-1;h>=0;h--)(n=e[h])&&(i=(o<3?n(i):o>3?n(t,s,i):n(t,s))||i);return o>3&&i&&Object.defineProperty(t,s,i),i}var i=function(){function e(){this.settings=new n.ReplaySubject(1),this.settingsObs=this.settings.asObservable()}return Object.defineProperty(e.prototype,"settingsChange",{get:function(){return this.settingsObs},enumerable:!0,configurable:!0}),e.prototype.init=function(e,t,s){this.hostEl=e,this.renderer=t,this.setTheme(s)},e.prototype.destroy=function(){this.settings.complete(),this.hostEl=this.renderer=void 0},e.prototype.setTheme=function(e){var t=this.current;this.applySettings(t,e),this.applyThemeMode(t,e),this.settings.next({currentSettings:e,previousSettings:t}),this.current=e},e.prototype.applySettings=function(e,t){var s=e&&e.theme.hostClass,r=t.theme.hostClass;(!s||s!==r)&&(s&&this.removeHostClass(s),this.addHostClass(r))},e.prototype.applyThemeMode=function(e,t){var s=e&&e.mode.hostClass,r=t.mode.hostClass;(!e||s!==r)&&(s&&this.removeHostClass(s),t.theme.supportedModes.indexOf(t.mode)>=0&&this.addHostClass(r))},e.prototype.addHostClass=function(e){this.renderer.addClass(this.hostEl,e)},e.prototype.removeHostClass=function(e){this.renderer.removeClass(this.hostEl,e)},e=o([s.Injectable()],e)}(),h=function(){function e(e){this.themeSvc=e,this.isLoaded=!1}var n,h,a;return n=e,e.prototype.loadStyles=function(){var e,s=this;if(this.isLoaded)return Promise.resolve();e=this.themeSvc?this.themeSvc.settingsChange.pipe(r.take(1)).toPromise():Promise.resolve();var o=new t("FontAwesome"),i=new t("skyux-icons"),h=new t("Blackbaud Sans");return Promise.all([o.load("",n.LOAD_TIMEOUT),i.load("",n.LOAD_TIMEOUT),h.load(void 0,n.LOAD_TIMEOUT),e]).then((function(){s.isLoaded=!0})).catch((function(e){return Promise.resolve({error:e})}))},e.LOAD_TIMEOUT=3e3,e.ctorParameters=function(){return[{type:i,decorators:[{type:s.Optional}]}]},e=n=o([s.Injectable(),(h=0,a=s.Optional(),function(e,t){a(e,t,h)})],e)}(),a=function(){function e(){this.visible=new n.ReplaySubject(1)}return e=o([s.Injectable()],e)}(),u=function(){function e(e,t){this.name=e,this.hostClass=t}return e.presets={light:new e("light","sky-theme-mode-light"),dark:new e("dark","sky-theme-mode-dark")},e}(),c=function(){function e(e,t,s){this.name=e,this.hostClass=t,this.supportedModes=s}return e.presets={default:new e("default","sky-theme-default",[u.presets.light]),modern:new e("modern","sky-theme-modern",[u.presets.light,u.presets.dark])},e}(),l=function(e,t){this.theme=e,this.mode=t},p=new l(c.presets.default,u.presets.light),d=function(){function e(e,t,s){this.elRef=e,this.renderer=t,this.themeSvc=s,this._skyTheme=p}return Object.defineProperty(e.prototype,"skyTheme",{get:function(){return this._skyTheme},set:function(e){this._skyTheme=e||p,this.initialized&&this.themeSvc.setTheme(this.skyTheme)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.themeSvc.init(this.elRef.nativeElement,this.renderer,this.skyTheme),this.initialized=!0},e.prototype.ngOnDestroy=function(){this.themeSvc.destroy()},e.ctorParameters=function(){return[{type:s.ElementRef},{type:s.Renderer2},{type:i}]},o([s.Input()],e.prototype,"skyTheme",null),e=o([s.Directive({selector:"[skyTheme]",providers:[i]})],e)}(),f=function(){function e(){}return e=o([s.NgModule({declarations:[d],providers:[h,a],exports:[d]})],e)}();e.SkyAppStyleLoader=h,e.SkyAppViewportService=a,e.SkyTheme=c,e.SkyThemeMode=u,e.SkyThemeModule=f,e.SkyThemeService=i,e.SkyThemeSettings=l,e.ɵa=d,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=skyux-theme.umd.min.js.map |
@@ -0,1 +1,6 @@ | ||
# 4.1.0 (2020-05-28) | ||
- Added error label styling to the modern theme's dark mode. [#136](https://github.com/blackbaud/skyux-theme/pull/136) | ||
- Updated the SKY UX icon font version to 3.0.0-beta.2. [#137](https://github.com/blackbaud/skyux-theme/pull/137) | ||
# 4.0.0 (2020-05-11) | ||
@@ -2,0 +7,0 @@ |
@@ -32,3 +32,3 @@ var SkyAppStyleLoader_1; | ||
fontAwesome.load('\uf0fc', SkyAppStyleLoader_1.LOAD_TIMEOUT), | ||
skyuxIcons.load('\ue808', SkyAppStyleLoader_1.LOAD_TIMEOUT), | ||
skyuxIcons.load('\ue999', SkyAppStyleLoader_1.LOAD_TIMEOUT), | ||
blackbaudSans.load(undefined, SkyAppStyleLoader_1.LOAD_TIMEOUT), | ||
@@ -58,2 +58,2 @@ themePromise | ||
export { SkyAppStyleLoader }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3R5bGUtbG9hZGVyLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHNreXV4L3RoZW1lLyIsInNvdXJjZXMiOlsic3R5bGUtbG9hZGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsT0FBTyxLQUFLLGdCQUFnQixNQUFNLGtCQUFrQixDQUFDO0FBRXJEL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BhIGNoYXJhY3RlciBmb3IgRm9udEF3ZXNvbWUgc2luY2Ugc29tZSBicm93c2VycyB3aWxsIGZhaWwgdG8gZGV0ZWN0XG4gICAgICAgIC8vIHdoZW4gdGhlIGZvbnQgaXMgbG9hZGVkIHVubGVzcyBhIGtub3duIGNoYXJhY3RlciB3aXRoIGEgZGlmZmVyZW50IHdpZHRoXG4gICAgICAgIC8vIHRoYW4gdGhlIGRlZmF1bHQgaXMgbm90IHNwZWNpZmllZC5cbiAgICAgICAgZm9udEF3ZXNvbWUubG9hZCgnXFx1ZjBmYycsIFNreUFwcFN0eWxlTG9hZGVyLkxPQURfVElNRU9VVCksXG4gICAgICAgIHNreXV4SWNvbnMubG9hZCgnXFx1ZTgwOCcsIFNreUFwcFN0eWxlTG9hZGVyLkxPQURfVElNRU9VVCksXG4gICAgICAgIGJsYWNrYmF1ZFNhbnMubG9hZCh1bmRlZmluZWQsIFNreUFwcFN0eWxlTG9hZGVyLkxPQURfVElNRU9VVCksXG4gICAgICAgIHRoZW1lUHJvbWlzZVxuICAgICAgXSlcbiAgICAgIC50aGVuKCgpID0+IHtcbiAgICAgICAgdGhpcy5pc0xvYWRlZCA9IHRydWU7XG4gICAgICB9KVxuICAgICAgLmNhdGNoKChlcnJvcikgPT4ge1xuICAgICAgICAvLyBFcnJvcnMgbG9hZGluZyB0aGUgZm9udCBzaG91bGQgbm90IHN0b3AgdGhlIHBhZ2UgZnJvbSByZW5kZXJpbmcuXG4gICAgICAgIC8vIFBhc3NpbmcgdGhlIGVycm9yIGFsb25nIGluIGNhc2UgdGhlIGNsaWVudCB3YW50cyB0byBkbyBzb21ldGhpbmcgd2l0aCBpdC5cbiAgICAgICAgcmV0dXJuIFByb21pc2UucmVzb2x2ZSh7XG4gICAgICAgICAgZXJyb3JcbiAgICAgICAgfSk7XG4gICAgICB9KTtcbiAgfVxufVxuIl19 | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3R5bGUtbG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cgd2l0aCBpdC5cbiAgICAgICAgcmV0dXJuIFByb21pc2UucmVzb2x2ZSh7XG4gICAgICAgICAgZXJyb3JcbiAgICAgICAgfSk7XG4gICAgICB9KTtcbiAgfVxufVxuIl19 |
@@ -33,3 +33,3 @@ import { __decorate, __param } from "tslib"; | ||
fontAwesome.load('\uf0fc', SkyAppStyleLoader_1.LOAD_TIMEOUT), | ||
skyuxIcons.load('\ue808', SkyAppStyleLoader_1.LOAD_TIMEOUT), | ||
skyuxIcons.load('\ue999', SkyAppStyleLoader_1.LOAD_TIMEOUT), | ||
blackbaudSans.load(undefined, SkyAppStyleLoader_1.LOAD_TIMEOUT), | ||
@@ -61,2 +61,2 @@ themePromise | ||
export { SkyAppStyleLoader }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3R5bGUtbG9hZGVyLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHNreXV4L3RoZW1lLyIsInNvdXJjZXMiOlsic3R5bGUtbG9hZGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEtBQUssZ0JBQWdCLE1BQU0sa0JBQWtCLENBQUM7QUFFckQsT0FBTyxFQUNMLFVBQVUsRUFDVixRQUFRLEVBQ1QsTUFBTSxlQUFlLENBQUM7QUFFdkIsT0FBTyxFQUNMLElBQUksRUFDTCxNQUFNLGdCQUFnQixDQUFDO0FBRXhCLE9BQU8sRUFDTCxlQUFlLEVBQ2hCLE1BQU0seUJBQXlCLENBQUM7QUFHakM7SUFJRSwyQkFDc0IsUUFBMEI7UUFBMUIsYUFBUSxHQUFSLFFBQVEsQ0FBa0I7UUFIekMsYUFBUSxHQUFHLEtBQUssQ0FBQztJQUlwQixDQUFDOzBCQU5NLGlCQUFpQjtJQVFyQixzQ0FBVSxHQUFqQjtRQUFBLGlCQXVDQztRQXRDQyxJQUFJLElBQUksQ0FBQyxRQUFRLEVBQUU7WUFDakIsT0FBTyxPQUFP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gICAgIGZvbnRBd2Vzb21lLmxvYWQoJ1xcdWYwZmMnLCBTa3lBcHBTdHlsZUxvYWRlci5MT0FEX1RJTUVPVVQpLFxuICAgICAgICBza3l1eEljb25zLmxvYWQoJ1xcdWU5OTknLCBTa3lBcHBTdHlsZUxvYWRlci5MT0FEX1RJTUVPVVQpLFxuICAgICAgICBibGFja2JhdWRTYW5zLmxvYWQodW5kZWZpbmVkLCBTa3lBcHBTdHlsZUxvYWRlci5MT0FEX1RJTUVPVVQpLFxuICAgICAgICB0aGVtZVByb21pc2VcbiAgICAgIF0pXG4gICAgICAudGhlbigoKSA9PiB7XG4gICAgICAgIHRoaXMuaXNMb2FkZWQgPSB0cnVlO1xuICAgICAgfSlcbiAgICAgIC5jYXRjaCgoZXJyb3IpID0+IHtcbiAgICAgICAgLy8gRXJyb3JzIGxvYWRpbmcgdGhlIGZvbnQgc2hvdWxkIG5vdCBzdG9wIHRoZSBwYWdlIGZyb20gcmVuZGVyaW5nLlxuICAgICAgICAvLyBQYXNzaW5nIHRoZSBlcnJvciBhbG9uZyBpbiBjYXNlIHRoZSBjbGllbnQgd2FudHMgdG8gZG8gc29tZXRoaW5nIHdpdGggaXQuXG4gICAgICAgIHJldHVybiBQcm9taXNlLnJlc29sdmUoe1xuICAgICAgICAgIGVycm9yXG4gICAgICAgIH0pO1xuICAgICAgfSk7XG4gIH1cbn1cbiJdfQ== |
@@ -118,3 +118,3 @@ import { __decorate, __param } from 'tslib'; | ||
fontAwesome.load('\uf0fc', SkyAppStyleLoader_1.LOAD_TIMEOUT), | ||
skyuxIcons.load('\ue808', SkyAppStyleLoader_1.LOAD_TIMEOUT), | ||
skyuxIcons.load('\ue999', SkyAppStyleLoader_1.LOAD_TIMEOUT), | ||
blackbaudSans.load(undefined, SkyAppStyleLoader_1.LOAD_TIMEOUT), | ||
@@ -121,0 +121,0 @@ themePromise |
@@ -124,3 +124,3 @@ import { __decorate, __param } from 'tslib'; | ||
fontAwesome.load('\uf0fc', SkyAppStyleLoader_1.LOAD_TIMEOUT), | ||
skyuxIcons.load('\ue808', SkyAppStyleLoader_1.LOAD_TIMEOUT), | ||
skyuxIcons.load('\ue999', SkyAppStyleLoader_1.LOAD_TIMEOUT), | ||
blackbaudSans.load(undefined, SkyAppStyleLoader_1.LOAD_TIMEOUT), | ||
@@ -127,0 +127,0 @@ themePromise |
{ | ||
"name": "@skyux/theme", | ||
"version": "4.0.0", | ||
"version": "4.1.0", | ||
"description": "SKY UX Theme", | ||
@@ -13,3 +13,3 @@ "keywords": [], | ||
"dependencies": { | ||
"@blackbaud/skyux-design-tokens": "0.0.18", | ||
"@blackbaud/skyux-design-tokens": "0.0.19", | ||
"@types/fontfaceobserver": "0.0.6", | ||
@@ -16,0 +16,0 @@ "fontfaceobserver": "2.1.0" |
@@ -21,3 +21,3 @@ /* jshint node: true */ | ||
fontAwesome.load('\uf0fc', LOAD_TIMEOUT), | ||
skyuxIcons.load('\ue808', LOAD_TIMEOUT), | ||
skyuxIcons.load('\ue999', LOAD_TIMEOUT), | ||
blackbaudSans.load(null, LOAD_TIMEOUT) | ||
@@ -24,0 +24,0 @@ ] |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
532745
3681
+ Added@blackbaud/skyux-design-tokens@0.0.19(transitive)
- Removed@blackbaud/skyux-design-tokens@0.0.18(transitive)