@filip.mazev/blocks 1.2.8 → 1.2.10

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/README.md CHANGED
@@ -31,7 +31,7 @@ npm install @filip.mazev/blocks@latest
31
31
  Then, manually configure your styles.scss:
32
32
 
33
33
  ```scss
34
- @use '@filip.mazev/blocks/core/styles/index' as *;
34
+ @use '@filip.mazev/blocks' as *;
35
35
 
36
36
  @layer base {
37
37
  :root {
package/_index.scss ADDED
@@ -0,0 +1 @@
1
+ @forward './core/styles/index';
@@ -1,7 +1,7 @@
1
1
  /* * Public API Surface of blocks
2
2
  * This file is auto-generated. Do not edit directly.
3
3
  */
4
- const BLOCKS_VERSION = '1.2.8';
4
+ const BLOCKS_VERSION = '1.2.10';
5
5
 
6
6
  /**
7
7
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"filip.mazev-blocks.mjs","sources":["../../../projects/blocks/src/public-api.ts","../../../projects/blocks/src/filip.mazev-blocks.ts"],"sourcesContent":["/* * Public API Surface of blocks\n * This file is auto-generated. Do not edit directly.\n */\n\nexport const BLOCKS_VERSION = '1.2.8';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"AAAA;;AAEG;AAEI,MAAM,cAAc,GAAG;;ACJ9B;;AAEG;;;;"}
1
+ {"version":3,"file":"filip.mazev-blocks.mjs","sources":["../../../projects/blocks/src/public-api.ts","../../../projects/blocks/src/filip.mazev-blocks.ts"],"sourcesContent":["/* * Public API Surface of blocks\n * This file is auto-generated. Do not edit directly.\n */\n\nexport const BLOCKS_VERSION = '1.2.10';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"AAAA;;AAEG;AAEI,MAAM,cAAc,GAAG;;ACJ9B;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@filip.mazev/blocks",
3
- "version": "1.2.8",
3
+ "version": "1.2.10",
4
4
  "license": "MIT",
5
5
  "schematics": "./schematics/collection.json",
6
6
  "exports": {
@@ -14,7 +14,12 @@
14
14
  "types": "./types/filip.mazev-blocks-core.d.ts",
15
15
  "default": "./fesm2022/filip.mazev-blocks-core.mjs"
16
16
  },
17
- "./core/styles/*": "./core/styles/*",
17
+ "./core/styles/*": {
18
+ "default": "./core/styles/*"
19
+ },
20
+ "./schematics/*": {
21
+ "default": "./schematics/*"
22
+ },
18
23
  "./package.json": {
19
24
  "default": "./package.json"
20
25
  },
@@ -35,10 +40,6 @@
35
40
  "default": "./fesm2022/filip.mazev-blocks-toastr.mjs"
36
41
  }
37
42
  },
38
- "peerDependencies": {
39
- "@angular/common": "^21.0.0",
40
- "@angular/core": "^21.0.0"
41
- },
42
43
  "module": "fesm2022/filip.mazev-blocks.mjs",
43
44
  "typings": "types/filip.mazev-blocks.d.ts",
44
45
  "sideEffects": false,
@@ -43,14 +43,14 @@ function injectStyles(tree, context, options) {
43
43
  return;
44
44
  }
45
45
  const content = tree.read(targetStylePath).toString('utf-8');
46
- if (content.includes('@filip.mazev/blocks-core')) {
46
+ if (content.includes('@filip.mazev/blocks')) {
47
47
  context.logger.info('Blocks SCSS configuration already exists. Skipping style injection.');
48
48
  return;
49
49
  }
50
50
  const lightThemeVar = `$${options.theme}-light-theme`;
51
51
  const darkThemeVar = `$${options.theme}-dark-theme`;
52
52
  const blocksThemeSnippet = `
53
- @use '@filip.mazev/blocks/core/styles/index' as *;
53
+ @use '@filip.mazev/blocks' as *;
54
54
 
55
55
  @layer base {
56
56
  :root {
@@ -0,0 +1,11 @@
1
+ {
2
+ "compilerOptions": {
3
+ "module": "commonjs",
4
+ "target": "es2019",
5
+ "outDir": "../dist/blocks/schematics",
6
+ "rootDir": "./",
7
+ "esModuleInterop": true,
8
+ "strict": true
9
+ },
10
+ "include": ["**/*.ts"]
11
+ }
@@ -1,3 +1,3 @@
1
- declare const BLOCKS_VERSION = "1.2.8";
1
+ declare const BLOCKS_VERSION = "1.2.10";
2
2
 
3
3
  export { BLOCKS_VERSION };
@@ -1,13 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "module": "nodenext",
4
- "target": "esnext",
5
- "lib": ["esnext", "dom"],
6
- "moduleResolution": "nodenext",
7
- "strict": true,
8
- "declaration": false,
9
- "noImplicitAny": true
10
- },
11
- "include": ["**/*.ts"],
12
- "exclude": ["node_modules"]
13
- }