@next-core/brick-kit 2.122.1 → 2.122.2

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/index.esm.js CHANGED
@@ -7910,19 +7910,6 @@ Object.keys(presetPrimaryColors).forEach(function (key) {
7910
7910
  });
7911
7911
  presetDarkPalettes[key].primary = presetDarkPalettes[key][5];
7912
7912
  });
7913
- presetPalettes.red;
7914
- presetPalettes.volcano;
7915
- presetPalettes.gold;
7916
- presetPalettes.orange;
7917
- presetPalettes.yellow;
7918
- presetPalettes.lime;
7919
- presetPalettes.green;
7920
- presetPalettes.cyan;
7921
- presetPalettes.blue;
7922
- presetPalettes.geekblue;
7923
- presetPalettes.purple;
7924
- presetPalettes.magenta;
7925
- presetPalettes.grey;
7926
7913
 
7927
7914
  function getStyleByBaseColors(theme, baseColors, backgroundColor) {
7928
7915
  return (theme === "dark" ? getDarkStyle : getLightStyle)("".concat(getCssVariableDefinitionsByPalettes(generatePalettes(baseColors, theme, backgroundColor), theme), "\n").concat(getMigratedCssVariableDefinitions(theme, baseColors, backgroundColor)));
@@ -8529,6 +8516,7 @@ class Kernel {
8529
8516
  legacy
8530
8517
  } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
8531
8518
  this.toggleBars(true);
8519
+ getRuntime().applyPageTitle(null);
8532
8520
 
8533
8521
  if (this.currentLayout !== "console") {
8534
8522
  // No bars should be unset for the business layout.
@@ -8543,8 +8531,6 @@ class Kernel {
8543
8531
  // 对于 Legacy 页面,仅当切换应用时重设面包屑。
8544
8532
  this.appBar.setBreadcrumb(null);
8545
8533
  }
8546
-
8547
- getRuntime().applyPageTitle(null);
8548
8534
  }
8549
8535
 
8550
8536
  toggleLegacyIframe(visible) {