@filip.mazev/modal 0.1.63 → 1.0.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.
Files changed (2) hide show
  1. package/README.md +10 -2
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -15,10 +15,14 @@
15
15
 
16
16
  ## Installation
17
17
 
18
- Please install both @filip.mazev/blocks-core and @filip.mazev/modal for propert functionality and full customization.
18
+ ```bash
19
+ npm i @filip.mazev/modal@latest
20
+ ```
21
+
22
+ Or with the global blocks `ng` command which adds all blocks packages and sets up your styles.scss
19
23
 
20
24
  ```bash
21
- npm i @filip.mazev/blocks-core@latest @filip.mazev/modal@latest
25
+ ng add @filip.mazev/blocks@latest
22
26
  ```
23
27
 
24
28
  ### Theme Configuration
@@ -33,7 +37,11 @@ To enable the library's stylization, import the theme provider in your global st
33
37
  :root {
34
38
  @include blocks.core-theme(blocks.$default-light-theme-config);
35
39
 
40
+ // if you dont want to override themes, just use:
41
+ // @include modal.modal-theme(());
42
+
36
43
  @include modal.modal-theme((
44
+ /* Optional: Override default Modal style variables */
37
45
  'modal-mobile-swipe-line-color': #cfcfcf,
38
46
  ));
39
47
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@filip.mazev/modal",
3
- "version": "0.1.63",
3
+ "version": "1.0.2",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  "./_modal-theme": "./lib/styles/_modal-theme.scss",
@@ -17,7 +17,8 @@
17
17
  "sass": "src/lib/styles/_index.scss",
18
18
  "peerDependencies": {
19
19
  "@angular/common": "^21.1.1",
20
- "@angular/core": "^21.1.1"
20
+ "@angular/core": "^21.1.1",
21
+ "@filip.mazev/blocks-core": "^1.0.0"
21
22
  },
22
23
  "dependencies": {
23
24
  "tslib": "^2.3.0"