@dereekb/dbx-core 14.14.0 → 14.15.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.
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-core",
3
- "version": "14.14.0",
3
+ "version": "14.15.0",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "22.1.4",
7
7
  "@angular/core": "22.1.4",
8
8
  "@angular/router": "22.1.4",
9
- "@dereekb/date": "14.14.0",
10
- "@dereekb/rxjs": "14.14.0",
11
- "@dereekb/util": "14.14.0",
12
- "@dereekb/vitest": "14.14.0",
9
+ "@dereekb/date": "14.15.0",
10
+ "@dereekb/rxjs": "14.15.0",
11
+ "@dereekb/util": "14.15.0",
12
+ "@dereekb/vitest": "14.15.0",
13
13
  "@ngrx/component-store": "^22.0.0",
14
14
  "@ngrx/effects": "^22.0.0",
15
15
  "@ngrx/store": "^22.0.0",
@@ -4746,7 +4746,12 @@ declare abstract class AbstractDbxButtonDirective implements DbxButton {
4746
4746
  */
4747
4747
  readonly buttonEchoSignal: Signal<Maybe<DbxButtonEcho>>;
4748
4748
  readonly buttonClick: i0.OutputEmitterRef<void>;
4749
- readonly ariaLabel: i0.InputSignal<Maybe<string>>;
4749
+ /**
4750
+ * Accessible label for the button.
4751
+ *
4752
+ * Declared as a `model` so a directive composed onto the button (e.g. `dbxRotatingButton`) can set it.
4753
+ */
4754
+ readonly ariaLabel: i0.ModelSignal<Maybe<string>>;
4750
4755
  readonly disabled: i0.InputSignalWithTransform<boolean, Maybe<boolean>>;
4751
4756
  readonly working: i0.InputSignalWithTransform<_dereekb_dbx_core.DbxActionWorkOrWorkProgress, Maybe<_dereekb_dbx_core.DbxActionWorkOrWorkProgress>>;
4752
4757
  readonly buttonDisplay: i0.InputSignal<Maybe<DbxButtonDisplay>>;
@@ -4756,8 +4761,18 @@ declare abstract class AbstractDbxButtonDirective implements DbxButton {
4756
4761
  readonly disabledSignal: Signal<boolean>;
4757
4762
  readonly workingSignal: Signal<_dereekb_dbx_core.DbxActionWorkOrWorkProgress>;
4758
4763
  readonly isWorkingSignal: Signal<boolean>;
4759
- readonly icon: i0.InputSignal<Maybe<string>>;
4760
- readonly text: i0.InputSignal<Maybe<string>>;
4764
+ /**
4765
+ * Icon to display. Takes precedence over the {@link buttonDisplay} icon.
4766
+ *
4767
+ * Declared as a `model` so a directive composed onto the button (e.g. `dbxRotatingButton`) can set it.
4768
+ */
4769
+ readonly icon: i0.ModelSignal<Maybe<string>>;
4770
+ /**
4771
+ * Text to display. Takes precedence over the {@link buttonDisplay} text.
4772
+ *
4773
+ * Declared as a `model` so a directive composed onto the button (e.g. `dbxRotatingButton`) can set it.
4774
+ */
4775
+ readonly text: i0.ModelSignal<Maybe<string>>;
4761
4776
  readonly buttonDisplayContentSignal: Signal<DbxButtonDisplay>;
4762
4777
  readonly buttonDisplayTypeSignal: Signal<DbxButtonDisplayType>;
4763
4778
  readonly iconSignal: Signal<Maybe<string>>;
@@ -4786,7 +4801,7 @@ declare abstract class AbstractDbxButtonDirective implements DbxButton {
4786
4801
  */
4787
4802
  protected _forceButtonClicked(): void;
4788
4803
  static ɵfac: i0.ɵɵFactoryDeclaration<AbstractDbxButtonDirective, never>;
4789
- static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractDbxButtonDirective, never, never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "working": { "alias": "working"; "required": false; "isSignal": true; }; "buttonDisplay": { "alias": "buttonDisplay"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; }, { "buttonClick": "buttonClick"; }, never, never, true, never>;
4804
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractDbxButtonDirective, never, never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "working": { "alias": "working"; "required": false; "isSignal": true; }; "buttonDisplay": { "alias": "buttonDisplay"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; }, { "buttonClick": "buttonClick"; "ariaLabel": "ariaLabelChange"; "icon": "iconChange"; "text": "textChange"; }, never, never, true, never>;
4790
4805
  }
4791
4806
  /**
4792
4807
  * Concrete button directive that provides a {@link DbxButton} instance via DI.