@filip.mazev/modal 0.1.62 → 1.0.0

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 +5 -3
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -15,10 +15,8 @@
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.
19
-
20
18
  ```bash
21
- npm i @filip.mazev/blocks-core@latest @filip.mazev/modal@latest
19
+ npm i @filip.mazev/modal@latest
22
20
  ```
23
21
 
24
22
  ### Theme Configuration
@@ -33,7 +31,11 @@ To enable the library's stylization, import the theme provider in your global st
33
31
  :root {
34
32
  @include blocks.core-theme(blocks.$default-light-theme-config);
35
33
 
34
+ // if you dont want to override themes, just use:
35
+ // @include modal.modal-theme(());
36
+
36
37
  @include modal.modal-theme((
38
+ /* Optional: Override default Modal style variables */
37
39
  'modal-mobile-swipe-line-color': #cfcfcf,
38
40
  ));
39
41
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@filip.mazev/modal",
3
- "version": "0.1.62",
3
+ "version": "1.0.0",
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"