@dnd-mapp/shared-ui 2.0.0 → 2.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.
package/README.md CHANGED
@@ -46,8 +46,13 @@ To ensure the custom themes, fonts, and assets are correctly bundled, update you
46
46
  "src/assets",
47
47
  {
48
48
  "glob": "**/*",
49
- "input": "node_modules/@dnd-mapp/shared-ui/assets",
50
- "output": "assets"
49
+ "input": "node_modules/@dnd-mapp/shared-ui/assets/fonts",
50
+ "output": "assets/fonts"
51
+ },
52
+ {
53
+ "glob": "**/*",
54
+ "input": "node_modules/@dnd-mapp/shared-ui/assets/images",
55
+ "output": "assets/images"
51
56
  }
52
57
  ],
53
58
  "styles": ["src/styles.scss"]
@@ -68,8 +73,8 @@ Additionally, you need to import the library styles directly into your applicati
68
73
  1. Import Fonts first
69
74
  2. Import Main Theme and Component Styles
70
75
  */
71
- @import "@dnd-mapp/shared-ui/assets/styles/fonts.scss"; /* 1. */
72
- @import "@dnd-mapp/shared-ui/assets/styles/main.scss"; /* 2. */
76
+ @import "@dnd-mapp/shared-ui/styles/fonts"; /* 1. */
77
+ @import "@dnd-mapp/shared-ui/styles/main"; /* 2. */
73
78
  ```
74
79
 
75
80
  ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dnd-mapp/shared-ui",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Official Angular component library for the D&D Mapp platform.",
5
5
  "author": "NoNamer777",
6
6
  "license": "UNLICENSED",
@@ -18,11 +18,22 @@
18
18
  "bugs": {
19
19
  "url": "https://github.com/dnd-mapp/shared-ui"
20
20
  },
21
- "sideEffects": [
22
- "*.scss"
23
- ],
24
21
  "exports": {
25
- "./assets/*": "./assets/*",
22
+ "./fonts/*": "./assets/fonts/*",
23
+ "./images/*": "./assets/images/*",
24
+ "./styles/*": "./assets/styles/*",
25
+ "./styles/colors": {
26
+ "sass": "./assets/styles/colors/index.scss"
27
+ },
28
+ "./styles/fonts": {
29
+ "sass": "./assets/styles/fonts.scss"
30
+ },
31
+ "./styles/main": {
32
+ "sass": "./assets/styles/main.scss"
33
+ },
34
+ "./styles/theme-variables": {
35
+ "sass": "./assets/styles/theme-variables/index.scss"
36
+ },
26
37
  "./package.json": {
27
38
  "default": "./package.json"
28
39
  },
@@ -47,5 +58,6 @@
47
58
  "tslib": "~2.8"
48
59
  },
49
60
  "module": "fesm2022/dnd-mapp-shared-ui.mjs",
50
- "typings": "types/dnd-mapp-shared-ui.d.ts"
61
+ "typings": "types/dnd-mapp-shared-ui.d.ts",
62
+ "sideEffects": false
51
63
  }
File without changes