ngwr 15.0.0 → 15.0.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.
|
@@ -5,7 +5,7 @@ import { InjectionToken } from "@angular/core";
|
|
|
5
5
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6
6
|
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
7
7
|
*/
|
|
8
|
-
const NGWR_VERSION = "15.0.
|
|
8
|
+
const NGWR_VERSION = "15.0.1";
|
|
9
9
|
/**
|
|
10
10
|
* @license
|
|
11
11
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ngwr-version.mjs","names":[],"sources":["../../../projects/lib/version/version.ts","../../../projects/lib/version/version.token.ts"],"sourcesContent":["/**\n * @license\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE\n */\n\n/**\n * The ngwr library version string, kept in sync with\n * `projects/lib/package.json` by `scripts/release/prepare.ts`.\n *\n * Prefer this over reading `package.json` at runtime — that requires a JSON\n * import or `require`, neither of which tree-shakes well in Angular builds.\n *\n * Distinct from `Version` exported by `@angular/core`, which reports the\n * loaded Angular runtime version (e.g. `'22.0.0'`), not ngwr's.\n */\nexport const NGWR_VERSION = '15.0.
|
|
1
|
+
{"version":3,"file":"ngwr-version.mjs","names":[],"sources":["../../../projects/lib/version/version.ts","../../../projects/lib/version/version.token.ts"],"sourcesContent":["/**\n * @license\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE\n */\n\n/**\n * The ngwr library version string, kept in sync with\n * `projects/lib/package.json` by `scripts/release/prepare.ts`.\n *\n * Prefer this over reading `package.json` at runtime — that requires a JSON\n * import or `require`, neither of which tree-shakes well in Angular builds.\n *\n * Distinct from `Version` exported by `@angular/core`, which reports the\n * loaded Angular runtime version (e.g. `'22.0.0'`), not ngwr's.\n */\nexport const NGWR_VERSION = '15.0.1';\n","/**\n * @license\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE\n */\n\nimport { InjectionToken } from '@angular/core';\n\nimport { NGWR_VERSION } from './version';\n\n/**\n * Injection token holding the ngwr library version string.\n *\n * Default factory returns {@link NGWR_VERSION}. Override it in tests or in\n * apps that want to surface a custom build identifier.\n *\n * @example\n * ```ts\n * @Component({...})\n * export class FooterComponent {\n * readonly version = inject(NGWR_VERSION_TOKEN);\n * }\n * ```\n */\nexport const NGWR_VERSION_TOKEN = new InjectionToken<string>('NGWR_VERSION_TOKEN', {\n providedIn: 'root',\n factory: () => NGWR_VERSION,\n});\n"],"mappings":";;;;;;;AAiBA,MAAa,eAAe;;;;;;;ACQ5B,MAAa,qBAAqB,IAAI,eAAuB,sBAAsB;CACjF,YAAY;CACZ,eAAe;AAChB,CAAA"}
|
package/llms.txt
CHANGED
|
@@ -43,7 +43,7 @@ Or add it manually (pnpm / npm / yarn):
|
|
|
43
43
|
pnpm add ngwr @angular/cdk
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
-
Requires Angular 22: the `@angular/*` peers are `^22.
|
|
46
|
+
Requires Angular 22.2 or a later 22.x: the `@angular/*` peers are `^22.2.0` (`@angular/cdk`,
|
|
47
47
|
`@angular/common`, `@angular/core`, `@angular/forms`,
|
|
48
48
|
`@angular/platform-browser`), plus `rxjs ^7`. A newer Angular major joins the
|
|
49
49
|
range in a release once CI has run the suite on it. Optional: `@angular/router`,
|
package/package.json
CHANGED
|
@@ -39,12 +39,12 @@
|
|
|
39
39
|
"url": "https://github.com/thekhegay/ngwr/issues"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@angular/cdk": "^22.
|
|
43
|
-
"@angular/common": "^22.
|
|
44
|
-
"@angular/core": "^22.
|
|
45
|
-
"@angular/forms": "^22.
|
|
46
|
-
"@angular/platform-browser": "^22.
|
|
47
|
-
"@angular/router": "^22.
|
|
42
|
+
"@angular/cdk": "^22.2.0",
|
|
43
|
+
"@angular/common": "^22.2.0",
|
|
44
|
+
"@angular/core": "^22.2.0",
|
|
45
|
+
"@angular/forms": "^22.2.0",
|
|
46
|
+
"@angular/platform-browser": "^22.2.0",
|
|
47
|
+
"@angular/router": "^22.2.0",
|
|
48
48
|
"rxjs": "^7.0.0",
|
|
49
49
|
"prosemirror-commands": "^1.7.2",
|
|
50
50
|
"prosemirror-history": "^1.5.0",
|
|
@@ -1103,5 +1103,5 @@
|
|
|
1103
1103
|
"sass": "./styles/_typography.scss"
|
|
1104
1104
|
}
|
|
1105
1105
|
},
|
|
1106
|
-
"version": "15.0.
|
|
1106
|
+
"version": "15.0.1"
|
|
1107
1107
|
}
|
|
@@ -817,8 +817,11 @@ const REPORTS = [
|
|
|
817
817
|
{
|
|
818
818
|
lead: 'a `color` naming a removed intent',
|
|
819
819
|
body: 'The palette is five intents — primary, success, warning, danger, info. `secondary` was a second brand ' +
|
|
820
|
-
'colour, and `light`, `medium` and `dark` were neutral fills
|
|
821
|
-
'
|
|
820
|
+
'colour, and `light`, `medium` and `dark` were neutral fills. The neutral variant is a different thing from ' +
|
|
821
|
+
'a dark slab, and how you ask for it depends on the component: omit `color` on `wr-btn`, `wr-divider` and ' +
|
|
822
|
+
'`wr-skeleton`, but bind `[color]="null"` on `wr-tag` and `wr-badge`, whose `color` defaults to primary — ' +
|
|
823
|
+
'deleting the attribute there gives a primary tag. `wr-progress` has no neutral variant. Choose per site. ' +
|
|
824
|
+
'With strictTemplates this is a compile error; ' +
|
|
822
825
|
'without it the component renders neutral and says nothing.',
|
|
823
826
|
find: file => isMarkup(file)
|
|
824
827
|
? at(file.after, new RegExp(String.raw `\s\[?color\]?\s*=\s*["']\s*'?(?:${REMOVED_ALT})'?\s*["']`))
|
|
@@ -25,7 +25,7 @@ const global_styles_1 = require("../utility/global-styles");
|
|
|
25
25
|
* because a consumer can remove it; this list is about what `ng add` has to add.
|
|
26
26
|
*/
|
|
27
27
|
const BASE_PEERS = [
|
|
28
|
-
['@angular/cdk', '^22.
|
|
28
|
+
['@angular/cdk', '^22.2.0'],
|
|
29
29
|
['lucide', '>=1.0.0'],
|
|
30
30
|
];
|
|
31
31
|
/** Default density → the `withDensity(...)` feature passed to `provideWr()`. */
|
package/types/ngwr-version.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ import { InjectionToken } from "@angular/core";
|
|
|
15
15
|
* Distinct from `Version` exported by `@angular/core`, which reports the
|
|
16
16
|
* loaded Angular runtime version (e.g. `'22.0.0'`), not ngwr's.
|
|
17
17
|
*/
|
|
18
|
-
export declare const NGWR_VERSION = "15.0.
|
|
18
|
+
export declare const NGWR_VERSION = "15.0.1";
|
|
19
19
|
/**
|
|
20
20
|
* Injection token holding the ngwr library version string.
|
|
21
21
|
*
|