ng-hub-ui-modal 22.14.0 → 22.14.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 +8 -4
  2. package/package.json +5 -2
package/README.md CHANGED
@@ -4,13 +4,10 @@
4
4
 
5
5
  [![NPM Version](https://img.shields.io/npm/v/ng-hub-ui-modal.svg)](https://www.npmjs.com/package/ng-hub-ui-modal)
6
6
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
7
- [![Angular](https://img.shields.io/badge/Angular-21-red.svg)](https://angular.io)
7
+ [![Angular](https://img.shields.io/badge/Angular-22-red.svg)](https://angular.dev)
8
8
 
9
9
  > A standalone, fully-featured Angular modal library with flexible content projection, placement support, and full CSS variable theming. No Bootstrap or ng-bootstrap dependency required.
10
10
 
11
- > **⚠️ WARNING: BREAKING CHANGES IN VERSION 21.0.0**
12
- > If you are upgrading from `1.x.x` to `21.x.x` and you have overridden the `.modal` or `.modal-dialog` CSS classes in your global stylesheets, please review the [BREAKING_CHANGES.md](./BREAKING_CHANGES.md) document to migrate your styles to the new `hub-modal` BEM classes.
13
-
14
11
  ---
15
12
 
16
13
  ## Documentation and Live Examples
@@ -55,6 +52,7 @@ This library is part of the **ng-hub-ui** ecosystem:
55
52
 
56
53
  - [Features](#features)
57
54
  - [Installation](#installation)
55
+ - [Upgrading from 1.x](#upgrading-from-1x)
58
56
  - [Quick Start](#quick-start)
59
57
  - [Examples](#examples)
60
58
  - [Open with TemplateRef](#open-with-templateref)
@@ -125,6 +123,12 @@ resolve `ng-hub-ui-utils` at build time.
125
123
 
126
124
  ---
127
125
 
126
+ ## Upgrading from 1.x
127
+
128
+ If you are coming from `1.x` and you overrode the `.modal` or `.modal-dialog` CSS classes in your global stylesheets, read [BREAKING_CHANGES.md](./BREAKING_CHANGES.md) first: `21.0.0` moved the dialog to the `hub-modal` BEM classes, so those overrides no longer match anything.
129
+
130
+ ---
131
+
128
132
  ## Quick Start
129
133
 
130
134
  ### Standalone (recommended)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ng-hub-ui-modal",
3
- "version": "22.14.0",
3
+ "version": "22.14.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=18.0.0",
6
6
  "@angular/core": ">=18.0.0",
@@ -28,7 +28,10 @@
28
28
  "component",
29
29
  "customizable",
30
30
  "decoupled",
31
- "independent"
31
+ "independent",
32
+ "ng-hub-ui",
33
+ "signals",
34
+ "standalone"
32
35
  ],
33
36
  "description": "Standalone, signal-based modal/dialog service and components for Angular (ng-hub-ui family).",
34
37
  "repository": {