@magmonium/one 0.4.38 → 0.4.40
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
package/types/magmonium-one.d.ts
CHANGED
|
@@ -4043,7 +4043,13 @@ export declare class SectionSearchComponent extends BaseTextInputComponent<Searc
|
|
|
4043
4043
|
*/
|
|
4044
4044
|
elementInputs: import("@angular/core").InputSignal<Record<string, unknown> | undefined>;
|
|
4045
4045
|
readonly searchChange: import("@angular/core").OutputEmitterRef<string>;
|
|
4046
|
-
|
|
4046
|
+
/**
|
|
4047
|
+
* Whether the field is open. A `model` rather than a signal of the bar's own:
|
|
4048
|
+
* a caller that draws the toggle somewhere other than this bar — the nav
|
|
4049
|
+
* header stands it in the trail's row, beside the nav — holds the state and
|
|
4050
|
+
* hands it back when the field loses the caret.
|
|
4051
|
+
*/
|
|
4052
|
+
readonly isOpen: import("@angular/core").ModelSignal<boolean>;
|
|
4047
4053
|
/**
|
|
4048
4054
|
* The text the results component is drawing for. The debounced value rather
|
|
4049
4055
|
* than the live one: results are a search, and a keystroke is not — this is
|
|
@@ -4161,10 +4167,16 @@ export declare class SectionSearchComponent extends BaseTextInputComponent<Searc
|
|
|
4161
4167
|
"required": false;
|
|
4162
4168
|
"isSignal": true;
|
|
4163
4169
|
};
|
|
4170
|
+
"isOpen": {
|
|
4171
|
+
"alias": "isOpen";
|
|
4172
|
+
"required": false;
|
|
4173
|
+
"isSignal": true;
|
|
4174
|
+
};
|
|
4164
4175
|
}, {
|
|
4165
4176
|
"value": "valueChange";
|
|
4166
4177
|
"touched": "touchedChange";
|
|
4167
4178
|
"searchChange": "searchChange";
|
|
4179
|
+
"isOpen": "isOpenChange";
|
|
4168
4180
|
}, never, ["*"], true, never>;
|
|
4169
4181
|
}
|
|
4170
4182
|
type BadgeVariant = 'saas' | 'status' | 'minimal' | 'default' | 'primary' | 'danger' | 'chip';
|
|
@@ -14414,6 +14426,18 @@ export declare class NavHeaderComponent {
|
|
|
14414
14426
|
_isUser: import("@angular/core").Signal<boolean>;
|
|
14415
14427
|
_isSearch: import("@angular/core").Signal<boolean>;
|
|
14416
14428
|
_hasParent: import("@angular/core").Signal<boolean>;
|
|
14429
|
+
/**
|
|
14430
|
+
* Whether the search field is showing in the nav's place. The bar draws no
|
|
14431
|
+
* toggle of its own here: it stands in the trail's row, so the trail — and
|
|
14432
|
+
* the bar's open state with it — is the header's to hold and hand over.
|
|
14433
|
+
*/
|
|
14434
|
+
_searchOpen: import("@angular/core").WritableSignal<boolean>;
|
|
14435
|
+
_searchToggle: {
|
|
14436
|
+
icon: string;
|
|
14437
|
+
iconOnly: true;
|
|
14438
|
+
variant: "ghost";
|
|
14439
|
+
};
|
|
14440
|
+
_openSearch: () => void;
|
|
14417
14441
|
/**
|
|
14418
14442
|
* The text the app the Address stands in words its search bar with
|
|
14419
14443
|
* (GLOSSARY.md SearchLabel), or `''` where it named none — the bar's input is
|
|
@@ -14424,6 +14448,7 @@ export declare class NavHeaderComponent {
|
|
|
14424
14448
|
_trail: import("@angular/core").Signal<import("@magmonium/one").BreadcrumbTrail[] | null>;
|
|
14425
14449
|
_user: import("@angular/core").Signal<import("@magmonium/one").AuthUser | null>;
|
|
14426
14450
|
_header: import("@angular/core").Signal<import("@magmonium/one").BreadcrumbTrail | null>;
|
|
14451
|
+
constructor();
|
|
14427
14452
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavHeaderComponent, never>;
|
|
14428
14453
|
static ɵcmp: i0.ɵɵComponentDeclaration<NavHeaderComponent, "m-nav-header", never, {}, {}, never, never, true, never>;
|
|
14429
14454
|
}
|