@taiga-ui/addon-doc 3.23.0 → 3.23.1

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.
@@ -1883,9 +1883,9 @@
1883
1883
 
1884
1884
  var TuiThemeService = /** @class */ (function (_super) {
1885
1885
  __extends(TuiThemeService, _super);
1886
- function TuiThemeService(name, key, storage) {
1887
- var _this = _super.call(this, storage.getItem(key) || name) || this;
1888
- _this.name = name;
1886
+ function TuiThemeService(initialTheme, key, storage) {
1887
+ var _this = _super.call(this, storage.getItem(key) || initialTheme) || this;
1888
+ _this.initialTheme = initialTheme;
1889
1889
  _this.key = key;
1890
1890
  _this.storage = storage;
1891
1891
  return _this;
@@ -1896,7 +1896,7 @@
1896
1896
  };
1897
1897
  Object.defineProperty(TuiThemeService.prototype, "isDefaultTheme", {
1898
1898
  get: function () {
1899
- return this.value === this.name;
1899
+ return this.value === TUI_THEME_DEFAULT_NAME;
1900
1900
  },
1901
1901
  enumerable: false,
1902
1902
  configurable: true