@daltonr/pathwrite-angular 0.1.1 → 0.1.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/dist/shell.js +2 -2
  2. package/package.json +2 -2
package/dist/shell.js CHANGED
@@ -145,7 +145,7 @@ let PathShellComponent = (() => {
145
145
  *ngIf="!s.isFirstStep"
146
146
  type="button"
147
147
  class="pw-shell__btn pw-shell__btn--back"
148
- [disabled]="s.isNavigating"
148
+ [disabled]="s.isNavigating || !s.canMovePrevious"
149
149
  (click)="facade.previous()"
150
150
  >{{ backLabel }}</button>
151
151
  </div>
@@ -160,7 +160,7 @@ let PathShellComponent = (() => {
160
160
  <button
161
161
  type="button"
162
162
  class="pw-shell__btn pw-shell__btn--next"
163
- [disabled]="s.isNavigating"
163
+ [disabled]="s.isNavigating || !s.canMoveNext"
164
164
  (click)="facade.next()"
165
165
  >{{ s.isLastStep ? finishLabel : nextLabel }}</button>
166
166
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daltonr/pathwrite-angular",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "Angular adapter for @daltonr/pathwrite-core — RxJS observables, signal-friendly, with optional <pw-shell> default UI.",
@@ -46,7 +46,7 @@
46
46
  "rxjs": "^7.0.0"
47
47
  },
48
48
  "dependencies": {
49
- "@daltonr/pathwrite-core": "^0.1.1"
49
+ "@daltonr/pathwrite-core": "^0.1.2"
50
50
  },
51
51
  "publishConfig": {
52
52
  "access": "public"