@akcelik/strct 0.5.3 → 0.5.5
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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akcelik/strct",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.5",
|
|
4
4
|
"description": "UIStruct — a standalone Angular component library with a tokenised, multi-palette theme system, built for datacenter / infrastructure management UIs.",
|
|
5
5
|
"author": "Serkan Akcelik <serkan.akcelik@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
package/types/akcelik-strct.d.ts
CHANGED
|
@@ -860,10 +860,14 @@ declare class StrctInput {
|
|
|
860
860
|
|
|
861
861
|
/** Checkbox with custom box. Works with `[(ngModel)]` / reactive forms. */
|
|
862
862
|
declare class StrctCheckbox implements ControlValueAccessor {
|
|
863
|
-
readonly checked: _angular_core.
|
|
864
|
-
readonly isDisabled: _angular_core.
|
|
863
|
+
readonly checked: _angular_core.ModelSignal<boolean>;
|
|
864
|
+
readonly isDisabled: _angular_core.ModelSignal<boolean>;
|
|
865
865
|
/** Static disable; forms' setDisabledState also drives the disabled state. */
|
|
866
866
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
867
|
+
/** Tri-state visual indicator for a parent / intermediate state. */
|
|
868
|
+
readonly indeterminate: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
869
|
+
/** Accessible label for the checkbox (used when no text label is present). */
|
|
870
|
+
readonly ariaLabel: _angular_core.InputSignal<string | null>;
|
|
867
871
|
private onChange;
|
|
868
872
|
protected onTouched: () => void;
|
|
869
873
|
constructor();
|
|
@@ -873,7 +877,7 @@ declare class StrctCheckbox implements ControlValueAccessor {
|
|
|
873
877
|
registerOnTouched(fn: () => void): void;
|
|
874
878
|
setDisabledState(isDisabled: boolean): void;
|
|
875
879
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StrctCheckbox, never>;
|
|
876
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctCheckbox, "strct-checkbox", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
880
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctCheckbox, "strct-checkbox", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "isDisabled": { "alias": "isDisabled"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "indeterminate": { "alias": "indeterminate"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; "isDisabled": "isDisabledChange"; }, never, ["*"], true, never>;
|
|
877
881
|
}
|
|
878
882
|
|
|
879
883
|
/** On/off switch. Works with `[(ngModel)]` / reactive forms. */
|