@spartan-ng/brain 0.0.1-alpha.511 → 0.0.1-alpha.513
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/accordion/lib/brn-accordion.d.ts +8 -4
- package/checkbox/lib/brn-checkbox.d.ts +3 -1
- package/fesm2022/spartan-ng-brain-accordion.mjs +82 -30
- package/fesm2022/spartan-ng-brain-accordion.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-checkbox.mjs +5 -2
- package/fesm2022/spartan-ng-brain-checkbox.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-input-otp.mjs +11 -9
- package/fesm2022/spartan-ng-brain-input-otp.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-radio-group.mjs +4 -1
- package/fesm2022/spartan-ng-brain-radio-group.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-select.mjs +9 -3
- package/fesm2022/spartan-ng-brain-select.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-slider.mjs +8 -2
- package/fesm2022/spartan-ng-brain-slider.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-switch.mjs +5 -2
- package/fesm2022/spartan-ng-brain-switch.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-toggle-group.mjs +5 -2
- package/fesm2022/spartan-ng-brain-toggle-group.mjs.map +1 -1
- package/input-otp/lib/brn-input-otp.d.ts +4 -2
- package/package.json +1 -1
- package/radio-group/lib/brn-radio-group.d.ts +3 -1
- package/select/lib/brn-select.d.ts +2 -1
- package/slider/lib/brn-slider.d.ts +3 -1
- package/switch/lib/brn-switch.d.ts +3 -1
- package/toggle-group/lib/brn-toggle-group.d.ts +3 -1
|
@@ -23,6 +23,8 @@ export declare class BrnToggleGroup<T = unknown> implements ControlValueAccessor
|
|
|
23
23
|
readonly vertical: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
|
|
24
24
|
/** Value of the toggle group. */
|
|
25
25
|
readonly value: import("@angular/core").ModelSignal<ToggleValue<T>>;
|
|
26
|
+
/** Emits when the value changes. */
|
|
27
|
+
readonly valueChange: import("@angular/core").OutputEmitterRef<ToggleValue<T>>;
|
|
26
28
|
/** Whether no button toggles need to be selected. */
|
|
27
29
|
readonly nullable: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
|
|
28
30
|
/** Whether multiple button toggles can be selected. */
|
|
@@ -62,7 +64,7 @@ export declare class BrnToggleGroup<T = unknown> implements ControlValueAccessor
|
|
|
62
64
|
/** Update the value of the group */
|
|
63
65
|
private emitSelectionChange;
|
|
64
66
|
static ɵfac: i0.ɵɵFactoryDeclaration<BrnToggleGroup<any>, never>;
|
|
65
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BrnToggleGroup<any>, "brn-toggle-group", ["brnToggleGroup"], { "vertical": { "alias": "vertical"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "nullable": { "alias": "nullable"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "change": "change"; }, never, ["*"], true, never>;
|
|
67
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BrnToggleGroup<any>, "brn-toggle-group", ["brnToggleGroup"], { "vertical": { "alias": "vertical"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "nullable": { "alias": "nullable"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "valueChange": "valueChange"; "change": "change"; }, never, ["*"], true, never>;
|
|
66
68
|
}
|
|
67
69
|
type ToggleValue<T> = T | T[] | null | undefined;
|
|
68
70
|
export {};
|