ngx-tethys 21.0.13 → 21.0.14
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/CHANGELOG.md +7 -0
- package/fesm2022/ngx-tethys.mjs +1 -1
- package/fesm2022/ngx-tethys.mjs.map +1 -1
- package/package.json +1 -1
- package/schematics/version.d.ts +1 -1
- package/schematics/version.js +1 -1
- package/styles/bootstrap/utilities/_background.scss +2 -3
- package/styles/bootstrap/utilities/_text.scss +3 -0
- package/styles/variables.scss +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [21.0.14](github.com/atinc/ngx-tethys/compare/21.0.13...21.0.14) (2026-09-04)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **style:** 文本颜色以及背景色的调整 #TINFR-3991 ([431b4df](github.com/atinc/ngx-tethys/commits/431b4dff2525fa58706c1e412c81e09924c9aa56)), closes [#TINFR-3991](github.com/atinc/ngx-tethys/issues/TINFR-3991)
|
|
11
|
+
|
|
5
12
|
## [21.0.13](github.com/atinc/ngx-tethys/compare/21.0.12...21.0.13) (2026-09-03)
|
|
6
13
|
|
|
7
14
|
|
package/fesm2022/ngx-tethys.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Version, InjectionToken, makeEnvironmentProviders } from '@angular/core';
|
|
2
2
|
|
|
3
|
-
const VERSION = new Version('21.0.
|
|
3
|
+
const VERSION = new Version('21.0.14');
|
|
4
4
|
|
|
5
5
|
const THY_GLOBAL_CONFIG = new InjectionToken('thy-global-config');
|
|
6
6
|
function getOverlayGlobalConfig(globalConfig) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-tethys.mjs","sources":["../../../src/version.ts","../../../src/core/global-config.ts","../../../src/core/provide.ts","../../../src/ngx-tethys.ts"],"sourcesContent":["import { Version } from '@angular/core';\n\nexport const VERSION = new Version('21.0.
|
|
1
|
+
{"version":3,"file":"ngx-tethys.mjs","sources":["../../../src/version.ts","../../../src/core/global-config.ts","../../../src/core/provide.ts","../../../src/ngx-tethys.ts"],"sourcesContent":["import { Version } from '@angular/core';\n\nexport const VERSION = new Version('21.0.14');\n","import { InjectionToken } from '@angular/core';\n\nexport interface ThyOverlayGlobalConfig {\n /**\n * Whether overlay-based components can automatically choose a better position\n * from their fallback positions when the preferred placement does not fit.\n */\n flexiblePosition?: boolean;\n\n /**\n * Whether overlay-based components can be pushed on-screen if none of the provided positions fit.\n */\n canPush?: boolean;\n}\n\nexport interface ThyGlobalConfig {\n overlay?: ThyOverlayGlobalConfig;\n}\n\nexport const THY_GLOBAL_CONFIG = new InjectionToken<ThyGlobalConfig>('thy-global-config');\n\nexport function getOverlayGlobalConfig(globalConfig?: ThyGlobalConfig | null): ThyOverlayGlobalConfig {\n return globalConfig?.overlay ?? {};\n}\n","import { EnvironmentProviders, Provider, makeEnvironmentProviders } from '@angular/core';\nimport { THY_GLOBAL_CONFIG, ThyGlobalConfig } from './global-config';\n\nexport type ThyTethysFeature = Provider | EnvironmentProviders;\n\nexport function provideTethys(...features: ThyTethysFeature[]): EnvironmentProviders {\n return makeEnvironmentProviders(features);\n}\n\nexport function withGlobalConfig(config: ThyGlobalConfig): EnvironmentProviders {\n return makeEnvironmentProviders([{ provide: THY_GLOBAL_CONFIG, useValue: config }]);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;MAEa,OAAO,GAAG,IAAI,OAAO,CAAC,SAAS;;MCiB/B,iBAAiB,GAAG,IAAI,cAAc,CAAkB,mBAAmB;AAElF,SAAU,sBAAsB,CAAC,YAAqC,EAAA;AACxE,IAAA,OAAO,YAAY,EAAE,OAAO,IAAI,EAAE;AACtC;;AClBM,SAAU,aAAa,CAAC,GAAG,QAA4B,EAAA;AACzD,IAAA,OAAO,wBAAwB,CAAC,QAAQ,CAAC;AAC7C;AAEM,SAAU,gBAAgB,CAAC,MAAuB,EAAA;AACpD,IAAA,OAAO,wBAAwB,CAAC,CAAC,EAAE,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC,CAAC;AACvF;;ACXA;;AAEG;;;;"}
|
package/package.json
CHANGED
package/schematics/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "21.0.
|
|
1
|
+
export declare const VERSION = "21.0.14";
|
package/schematics/version.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use
|
|
1
|
+
@use 'sass:map';
|
|
2
2
|
@use '../../mixins/background-variant';
|
|
3
3
|
@use '../../variables';
|
|
4
4
|
@use '../functions-variables';
|
|
@@ -10,9 +10,9 @@ $bg-colors: map.merge(
|
|
|
10
10
|
(
|
|
11
11
|
'.bg-lighter': variables.$bg-lighter,
|
|
12
12
|
'.bg-bright': variables.$bg-bright,
|
|
13
|
+
'.bg-secondary': variables.$bg-secondary,
|
|
13
14
|
'.bg-content': variables.$bg-content,
|
|
14
15
|
'.bg-primary': variables.$bg-primary,
|
|
15
|
-
'.bg-secondary': variables.$bg-secondary,
|
|
16
16
|
'.bg-success': variables.$bg-success,
|
|
17
17
|
'.bg-info': variables.$bg-info,
|
|
18
18
|
'.bg-warning': variables.$bg-warning,
|
|
@@ -27,7 +27,6 @@ $bg-subtle-colors: () !default;
|
|
|
27
27
|
$bg-subtle-colors: map.merge(
|
|
28
28
|
(
|
|
29
29
|
'.bg-primary-subtle': color-mix(in srgb, variables.$bg-primary 10%, transparent),
|
|
30
|
-
'.bg-secondary-subtle': color-mix(in srgb, variables.$bg-secondary 10%, transparent),
|
|
31
30
|
'.bg-success-subtle': color-mix(in srgb, variables.$bg-success 10%, transparent),
|
|
32
31
|
'.bg-info-subtle': color-mix(in srgb, variables.$bg-info 10%, transparent),
|
|
33
32
|
'.bg-warning-subtle': color-mix(in srgb, variables.$bg-warning 10%, transparent),
|
|
@@ -87,8 +87,11 @@ $text-colors: map.merge(
|
|
|
87
87
|
(
|
|
88
88
|
'.text-placeholder': variables.$text-placeholder,
|
|
89
89
|
'.text-body': variables.$text-body,
|
|
90
|
+
'.text-default': variables.$text-default,
|
|
90
91
|
'.text-desc': variables.$text-desc,
|
|
92
|
+
'.text-quaternary': variables.$text-desc,
|
|
91
93
|
'.text-muted': variables.$text-muted,
|
|
94
|
+
'.text-tertiary': variables.$text-muted,
|
|
92
95
|
'.text-white': variables.$text-white,
|
|
93
96
|
'.text-primary': variables.$text-primary,
|
|
94
97
|
'.text-secondary': variables.$text-secondary,
|
package/styles/variables.scss
CHANGED
|
@@ -58,7 +58,8 @@ $gray-900: #212529 !default;
|
|
|
58
58
|
|
|
59
59
|
/** text color */
|
|
60
60
|
$text-placeholder: $gray-400 !default;
|
|
61
|
-
$text-
|
|
61
|
+
$text-default: $gray-800 !default;
|
|
62
|
+
$text-body: $text-default !default;
|
|
62
63
|
$text-desc: $gray-500 !default;
|
|
63
64
|
$text-primary: $primary !default;
|
|
64
65
|
$text-secondary: $gray-700 !default;
|
|
@@ -76,8 +77,8 @@ $bg-default: var(--bg-color-default) !default;
|
|
|
76
77
|
$bg-lighter: $gray-100 !default;
|
|
77
78
|
$bg-bright: $gray-80 !default;
|
|
78
79
|
$bg-content: $gray-80 !default;
|
|
80
|
+
$bg-secondary: $gray-80 !default;
|
|
79
81
|
$bg-primary: $primary !default;
|
|
80
|
-
$bg-secondary: $secondary !default;
|
|
81
82
|
$bg-success: $success !default;
|
|
82
83
|
$bg-info: $info !default;
|
|
83
84
|
$bg-warning: $warning !default;
|