@liquid-js/lyr-core 22.0.0-alpha.1 → 22.0.0-alpha.4
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/components/accordion/accordion-item-body.component.html +7 -0
- package/components/accordion/accordion-item-body.component.scss +8 -1
- package/components/card/_card.component.theme.scss +7 -0
- package/components/card/flip-card/_flip-card.component.theme.scss +5 -0
- package/components/card/reveal-card/_reveal-card.component.theme.scss +5 -0
- package/components/file-drop/file-drop.component.scss +5 -1
- package/components/list/_list.component.theme.scss +6 -0
- package/components/menu/_menu.component.theme.scss +7 -1
- package/components/menu/menu-item.component.html +16 -14
- package/components/tag/_tag-list.scss +5 -0
- package/components/tree-grid/_tree-grid.component.theme.scss +7 -0
- package/fesm2022/liquid-js-lyr-core-accordion.mjs +87 -15
- package/fesm2022/liquid-js-lyr-core-accordion.mjs.map +1 -1
- package/fesm2022/liquid-js-lyr-core-base.mjs +38 -2
- package/fesm2022/liquid-js-lyr-core-base.mjs.map +1 -1
- package/fesm2022/liquid-js-lyr-core-chat.mjs +1 -1
- package/fesm2022/liquid-js-lyr-core-chat.mjs.map +1 -1
- package/fesm2022/liquid-js-lyr-core-context-menu.mjs +1 -0
- package/fesm2022/liquid-js-lyr-core-context-menu.mjs.map +1 -1
- package/fesm2022/liquid-js-lyr-core-dialog.mjs +13 -4
- package/fesm2022/liquid-js-lyr-core-dialog.mjs.map +1 -1
- package/fesm2022/liquid-js-lyr-core-file-drop.mjs +2 -2
- package/fesm2022/liquid-js-lyr-core-file-drop.mjs.map +1 -1
- package/fesm2022/liquid-js-lyr-core-form-field.mjs +1 -1
- package/fesm2022/liquid-js-lyr-core-form-field.mjs.map +1 -1
- package/fesm2022/liquid-js-lyr-core-menu.mjs +52 -4
- package/fesm2022/liquid-js-lyr-core-menu.mjs.map +1 -1
- package/fesm2022/liquid-js-lyr-core-tree-grid.mjs.map +1 -1
- package/package.json +1 -1
- package/schematics/ng-add/index.js +2 -2
- package/schematics/util/package.js +10 -1
- package/styles/core/_mixins.scss +10 -0
- package/styles/global/typography/_typography.scss +16 -0
- package/styles/prebuilt/components-custom-properties.css +1 -1
- package/styles/prebuilt/corporate-custom-properties.css +1 -1
- package/styles/prebuilt/corporate.css +1 -1
- package/styles/prebuilt/cosmic-custom-properties.css +1 -1
- package/styles/prebuilt/cosmic.css +1 -1
- package/styles/prebuilt/dark-custom-properties.css +1 -1
- package/styles/prebuilt/dark.css +1 -1
- package/styles/prebuilt/default-custom-properties.css +1 -1
- package/styles/prebuilt/default.css +1 -1
- package/styles/prebuilt/material-dark-custom-properties.css +1 -1
- package/styles/prebuilt/material-dark.css +1 -1
- package/styles/prebuilt/material-light-custom-properties.css +1 -1
- package/styles/prebuilt/material-light.css +1 -1
- package/styles/themes/_mapping.scss +8 -0
- package/types/liquid-js-lyr-core-accordion.d.ts +28 -3
- package/types/liquid-js-lyr-core-base.d.ts +5 -3
- package/types/liquid-js-lyr-core-button.d.ts +1 -1
- package/types/liquid-js-lyr-core-dialog.d.ts +11 -4
- package/types/liquid-js-lyr-core-menu.d.ts +44 -1
- package/types/liquid-js-lyr-core-select.d.ts +3 -3
- package/types/liquid-js-lyr-core-tree-grid.d.ts +4 -1
|
@@ -7,6 +7,9 @@ $nb-mapping: (
|
|
|
7
7
|
link-text-decoration: underline,
|
|
8
8
|
link-text-focus-color: text-primary-focus-color,
|
|
9
9
|
link-text-hover-color: text-primary-hover-color,
|
|
10
|
+
link-outline-width: 0.1875rem,
|
|
11
|
+
link-outline-color: outline-color,
|
|
12
|
+
link-outline-border-radius: border-radius,
|
|
10
13
|
card-background-color: background-basic-color-1,
|
|
11
14
|
card-text-color: text-basic-color,
|
|
12
15
|
card-text-font-family: text-paragraph-font-family,
|
|
@@ -145,6 +148,8 @@ $nb-mapping: (
|
|
|
145
148
|
menu-item-hover-text-color: text-primary-hover-color,
|
|
146
149
|
menu-item-icon-hover-color: menu-item-hover-text-color,
|
|
147
150
|
menu-item-focus-background-color: background-basic-color-3,
|
|
151
|
+
menu-item-outline-width: outline-width,
|
|
152
|
+
menu-item-outline-color: outline-color,
|
|
148
153
|
menu-item-active-background-color: color-primary-transparent-100,
|
|
149
154
|
menu-item-active-text-color: text-primary-color,
|
|
150
155
|
menu-item-icon-active-color: menu-item-active-text-color,
|
|
@@ -2576,6 +2581,9 @@ $nb-mapping: (
|
|
|
2576
2581
|
tree-grid-sort-header-button-background-color: transparent,
|
|
2577
2582
|
tree-grid-sort-header-button-border: none,
|
|
2578
2583
|
tree-grid-sort-header-button-padding: 0,
|
|
2584
|
+
tree-grid-button-outline-width: link-outline-width,
|
|
2585
|
+
tree-grid-button-outline-color: link-outline-color,
|
|
2586
|
+
tree-grid-button-outline-border-radius: link-outline-border-radius,
|
|
2579
2587
|
table-cell-border-width: tree-grid-cell-border-width,
|
|
2580
2588
|
table-cell-border-style: tree-grid-cell-border-style,
|
|
2581
2589
|
table-cell-border-color: tree-grid-cell-border-color,
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { NbBooleanInput, NbContainerAppearance } from "@liquid-js/lyr-core/base";
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
import { TemplateRef } from "@angular/core";
|
|
6
7
|
import * as i1 from "@liquid-js/lyr-core/icon";
|
|
7
8
|
/**
|
|
8
9
|
* What the accordion needs from its items, which register themselves.
|
|
@@ -56,6 +57,17 @@ export interface NbAccordionItem {
|
|
|
56
57
|
*
|
|
57
58
|
* `NbAccordionItemComponent` has several methods, for example it is possible to trigger item click/toggle:
|
|
58
59
|
* @stacked-example(Expand API, accordion/accordion-toggle.component)
|
|
60
|
+
*
|
|
61
|
+
* An item's content is created with the accordion. Content in an `nbAccordionItemBodyContent` template is created
|
|
62
|
+
* when the item is first expanded, and kept from then on:
|
|
63
|
+
* ```html
|
|
64
|
+
* <nb-accordion-item>
|
|
65
|
+
* <nb-accordion-item-header>Settings</nb-accordion-item-header>
|
|
66
|
+
* <nb-accordion-item-body>
|
|
67
|
+
* <some-component *nbAccordionItemBodyContent />
|
|
68
|
+
* </nb-accordion-item-body>
|
|
69
|
+
* </nb-accordion-item>
|
|
70
|
+
* ```
|
|
59
71
|
* @styles
|
|
60
72
|
*
|
|
61
73
|
* accordion-border-width:
|
|
@@ -184,15 +196,28 @@ export declare class NbAccordionItemComponent implements NbAccordionItem {
|
|
|
184
196
|
}, never, ["nb-accordion-item-header", "nb-accordion-item-body"], true, never>;
|
|
185
197
|
}
|
|
186
198
|
/**
|
|
187
|
-
*
|
|
199
|
+
* An accordion item's content, rendered when the item is first expanded and then kept:
|
|
200
|
+
* `<ng-template nbAccordionItemBodyContent>` in an `nb-accordion-item-body`.
|
|
201
|
+
*/
|
|
202
|
+
export declare class NbAccordionItemBodyContentDirective {
|
|
203
|
+
readonly templateRef: TemplateRef<unknown>;
|
|
204
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NbAccordionItemBodyContentDirective, never>;
|
|
205
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NbAccordionItemBodyContentDirective, "[nbAccordionItemBodyContent]", never, {}, {}, never, never, true, never>;
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* The content of an `nb-accordion-item`, which slides open and closed. Content in an `nbAccordionItemBodyContent`
|
|
209
|
+
* template is created when the item is first expanded, and kept from then on.
|
|
188
210
|
*/
|
|
189
211
|
export declare class NbAccordionItemBodyComponent {
|
|
190
212
|
private readonly accordionItem;
|
|
191
213
|
private readonly container;
|
|
214
|
+
readonly contentDirective: import("@angular/core").Signal<NbAccordionItemBodyContentDirective | undefined>;
|
|
192
215
|
readonly state: import("@angular/core").Signal<"collapsed" | "expanded">;
|
|
216
|
+
/** Whether the `nbAccordionItemBodyContent` is rendered: since the item was first expanded. */
|
|
217
|
+
readonly init: import("@angular/core").WritableSignal<boolean>;
|
|
193
218
|
constructor();
|
|
194
219
|
static ɵfac: i0.ɵɵFactoryDeclaration<NbAccordionItemBodyComponent, never>;
|
|
195
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NbAccordionItemBodyComponent, "nb-accordion-item-body", never, {}, {},
|
|
220
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NbAccordionItemBodyComponent, "nb-accordion-item-body", never, {}, {}, ["contentDirective"], ["*"], true, never>;
|
|
196
221
|
}
|
|
197
222
|
/**
|
|
198
223
|
* The header of an `nb-accordion-item`: a button that toggles the item with a click, Space or Enter, and shows a
|
|
@@ -211,6 +236,6 @@ export declare class NbAccordionItemHeaderComponent {
|
|
|
211
236
|
}
|
|
212
237
|
export declare class NbAccordionModule {
|
|
213
238
|
static ɵfac: i0.ɵɵFactoryDeclaration<NbAccordionModule, never>;
|
|
214
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NbAccordionModule, never, [typeof i1.NbIconModule, typeof NbAccordionComponent, typeof NbAccordionItemComponent, typeof NbAccordionItemHeaderComponent, typeof NbAccordionItemBodyComponent], [typeof NbAccordionComponent, typeof NbAccordionItemComponent, typeof NbAccordionItemHeaderComponent, typeof NbAccordionItemBodyComponent]>;
|
|
239
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NbAccordionModule, never, [typeof i1.NbIconModule, typeof NbAccordionComponent, typeof NbAccordionItemComponent, typeof NbAccordionItemHeaderComponent, typeof NbAccordionItemBodyComponent, typeof NbAccordionItemBodyContentDirective], [typeof NbAccordionComponent, typeof NbAccordionItemComponent, typeof NbAccordionItemHeaderComponent, typeof NbAccordionItemBodyComponent, typeof NbAccordionItemBodyContentDirective]>;
|
|
215
240
|
static ɵinj: i0.ɵɵInjectorDeclaration<NbAccordionModule>;
|
|
216
241
|
}
|
|
@@ -1018,10 +1018,12 @@ declare function expandDuration(distance: number): number;
|
|
|
1018
1018
|
*
|
|
1019
1019
|
* CSS can't transition to `height: auto`, so the heights are measured: the element's styles hold the end state, and the
|
|
1020
1020
|
* animation covers the change from the height it had. A change while one is running starts from where it is, so it
|
|
1021
|
-
* turns back without a jump.
|
|
1022
|
-
*
|
|
1021
|
+
* turns back without a jump. Content that changes size while it opens, e.g. its own parts opening or images loading, is
|
|
1022
|
+
* followed to the end the animation was going to have, rather than reached with a jump once it ends. `keep` is held on
|
|
1023
|
+
* every frame, e.g. the visibility a collapsed element only gets at the end. Without a `duration`, it takes
|
|
1024
|
+
* {@link expandDuration} of the distance. Returns the animation, or nothing where there's none, as with reduced motion.
|
|
1023
1025
|
*/
|
|
1024
|
-
declare function animateExpand(element: HTMLElement, expanded: boolean, options?: KeyframeAnimationOptions, keep?: Keyframe):
|
|
1026
|
+
declare function animateExpand(element: HTMLElement, expanded: boolean, options?: KeyframeAnimationOptions, keep?: Keyframe): Animation | undefined;
|
|
1025
1027
|
/**
|
|
1026
1028
|
* Fades and scales a pane, a dialog's or a window's, in as it opens, or out before it's removed; the overlay fades the
|
|
1027
1029
|
* backdrop itself. Resolves when the animation ends, or right away with reduced motion or where elements don't
|
|
@@ -958,7 +958,7 @@ export declare class NbButtonGroupComponent<T = unknown, M extends NbBooleanInpu
|
|
|
958
958
|
readonly value: import("@angular/core").InputSignal<T | T[] | null | undefined>;
|
|
959
959
|
/** Emits the value after the change detection that pressed or unpressed a toggle, and only when it differs. */
|
|
960
960
|
readonly valueChange: import("@angular/core").OutputEmitterRef<NbButtonGroupValue<T, M>>;
|
|
961
|
-
protected readonly valueState: import("@angular/core").WritableSignal<T | T[] |
|
|
961
|
+
protected readonly valueState: import("@angular/core").WritableSignal<T | typeof NO_VALUE | T[] | null | undefined>;
|
|
962
962
|
/**
|
|
963
963
|
* The properties the buttons in the group render with.
|
|
964
964
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Generated bundle index. Do not edit.
|
|
3
3
|
*/
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
import { ComponentRef, ElementRef, EmbeddedViewRef, EnvironmentProviders, ErrorHandler, InjectionToken, Injector, ModuleWithProviders, OnDestroy, OnInit, Provider, TemplateRef, Type, ViewContainerRef } from "@angular/core";
|
|
5
|
+
import { ChangeDetectorRef, ComponentRef, ElementRef, EmbeddedViewRef, EnvironmentProviders, ErrorHandler, InjectionToken, Injector, ModuleWithProviders, OnDestroy, OnInit, Provider, TemplateRef, Type, ViewContainerRef } from "@angular/core";
|
|
6
6
|
import * as i1 from "@liquid-js/lyr-core/cdk";
|
|
7
7
|
import { NbComponentContext, NbComponentPortal, NbEscapeStack, NbFocusTrap, NbFocusTrapFactoryService, NbGlobalPosition, NbGlobalPositionStrategy, NbOverlayRef, NbOverlayService, NbPortalOutletDirective, NbPositionBuilderService, NbPositionHelper, NbScrollStrategy, NbTemplatePortal } from "@liquid-js/lyr-core/cdk";
|
|
8
8
|
import { Observable, Subject } from "rxjs";
|
|
@@ -55,7 +55,8 @@ export declare class NbDialogConfig<D = unknown> {
|
|
|
55
55
|
*/
|
|
56
56
|
viewContainerRef?: ViewContainerRef;
|
|
57
57
|
/**
|
|
58
|
-
* Closes the dialog
|
|
58
|
+
* Closes the dialog when a navigation leaves its page, e.g. with the browser's back button; `false` by default.
|
|
59
|
+
* A navigation that only changes the query or fragment, as apps do to keep state in the URL, leaves it open.
|
|
59
60
|
*/
|
|
60
61
|
closeOnNavigation: boolean;
|
|
61
62
|
/**
|
|
@@ -122,12 +123,17 @@ export declare class NbDialogContainerComponent implements OnInit, OnDestroy {
|
|
|
122
123
|
protected readonly elementRef: ElementRef<any>;
|
|
123
124
|
protected readonly focusTrapFactory: NbFocusTrapFactoryService;
|
|
124
125
|
protected readonly injector: Injector;
|
|
126
|
+
protected readonly changeDetectorRef: ChangeDetectorRef;
|
|
125
127
|
readonly portalOutlet: import("@angular/core").Signal<NbPortalOutletDirective>;
|
|
126
128
|
protected focusTrap?: NbFocusTrap;
|
|
127
129
|
ngOnInit(): void;
|
|
128
130
|
ngOnDestroy(): void;
|
|
129
131
|
attachComponentPortal<T>(portal: NbComponentPortal<T>): ComponentRef<T>;
|
|
130
132
|
attachTemplatePortal<C>(portal: NbTemplatePortal<C>): EmbeddedViewRef<C>;
|
|
133
|
+
/**
|
|
134
|
+
* Renders the dialog and its attached content now.
|
|
135
|
+
*/
|
|
136
|
+
detectChanges(): void;
|
|
131
137
|
static ɵfac: i0.ɵɵFactoryDeclaration<NbDialogContainerComponent, never>;
|
|
132
138
|
static ɵcmp: i0.ɵɵComponentDeclaration<NbDialogContainerComponent, "nb-dialog-container", never, {}, {}, never, never, true, never>;
|
|
133
139
|
}
|
|
@@ -299,8 +305,9 @@ export declare class NbConfirmDialogComponent {
|
|
|
299
305
|
* `closeOnEsc` - closes the dialog with Escape. Default is true.
|
|
300
306
|
* @stacked-example(Escape hit, dialog/dialog-esc.component)
|
|
301
307
|
*
|
|
302
|
-
* `closeOnNavigation` - closes the dialog
|
|
303
|
-
* Default is
|
|
308
|
+
* `closeOnNavigation` - closes the dialog when a navigation leaves its page, e.g. with the browser's back button. A
|
|
309
|
+
* navigation that only changes the query or fragment, as apps do to keep state in the URL, leaves it open. Default is
|
|
310
|
+
* false.
|
|
304
311
|
*
|
|
305
312
|
* `hasScroll` - lets the page scroll under the dialog. Default is false: the page can't scroll while a dialog is
|
|
306
313
|
* open. Open the dialogs in a separate window and try to scroll.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Generated bundle index. Do not edit.
|
|
3
3
|
*/
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
import { AfterViewChecked, AfterViewInit, ChangeDetectorRef, DestroyRef, DoCheck, ElementRef, EnvironmentProviders, InjectionToken, ModuleWithProviders, OnChanges, OnInit, SimpleChanges } from "@angular/core";
|
|
5
|
+
import { AfterViewChecked, AfterViewInit, AnimationCallbackEvent, ChangeDetectorRef, DestroyRef, DoCheck, ElementRef, EnvironmentProviders, InjectionToken, ModuleWithProviders, OnChanges, OnInit, SimpleChanges } from "@angular/core";
|
|
6
6
|
import * as i1 from "@liquid-js/lyr-core/icon";
|
|
7
7
|
import { NbIconConfig } from "@liquid-js/lyr-core/icon";
|
|
8
8
|
import * as i2 from "@liquid-js/lyr-core/badge";
|
|
@@ -39,6 +39,11 @@ export declare class NbMenuItem<D = unknown> {
|
|
|
39
39
|
* Whether the submenu is open; the menu updates it as the user opens and closes submenus.
|
|
40
40
|
*/
|
|
41
41
|
expanded?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Whether the submenu opens and closes (`true` by default). With `false` the children always show and the item has
|
|
44
|
+
* no toggle, e.g. the sections of the page it links to. A horizontal menu's dropdowns still open and close.
|
|
45
|
+
*/
|
|
46
|
+
collapsible?: boolean;
|
|
42
47
|
/**
|
|
43
48
|
* A badge shown after the title.
|
|
44
49
|
*/
|
|
@@ -197,13 +202,20 @@ export declare class NbMenuItemComponent implements DoCheck, AfterViewInit, Afte
|
|
|
197
202
|
readonly toggleSubMenu: import("@angular/core").OutputEmitterRef<NbMenuItem<unknown>>;
|
|
198
203
|
readonly selectItem: import("@angular/core").OutputEmitterRef<NbMenuItem<unknown>>;
|
|
199
204
|
readonly itemClick: import("@angular/core").OutputEmitterRef<NbMenuItem<unknown>>;
|
|
205
|
+
private readonly menu;
|
|
200
206
|
toggleState: NbToggleStates;
|
|
201
207
|
private readonly submenu;
|
|
202
208
|
private rendered?;
|
|
209
|
+
private itemRendered;
|
|
210
|
+
private firstSubmenu?;
|
|
203
211
|
ngDoCheck(): void;
|
|
204
212
|
ngAfterViewChecked(): void;
|
|
205
213
|
ngAfterViewInit(): void;
|
|
206
214
|
onToggleSubMenu(item: NbMenuItem): void;
|
|
215
|
+
/** A submenu that appears open, as the item gets children, opens. */
|
|
216
|
+
protected submenuEnter(event: AnimationCallbackEvent): void;
|
|
217
|
+
/** A submenu that goes while it shows, as the item loses its children, closes first. */
|
|
218
|
+
protected submenuLeave(event: AnimationCallbackEvent): void;
|
|
207
219
|
/** Going to a parent's own page opens its submenu, so its pages show. */
|
|
208
220
|
openSubMenu(item: NbMenuItem): void;
|
|
209
221
|
onHoverItem(item: NbMenuItem): void;
|
|
@@ -211,6 +223,17 @@ export declare class NbMenuItemComponent implements DoCheck, AfterViewInit, Afte
|
|
|
211
223
|
onItemClick(item: NbMenuItem): void;
|
|
212
224
|
/** An item whose children are all hidden renders as a plain item, without an expand toggle. */
|
|
213
225
|
hasVisibleChildren(): boolean;
|
|
226
|
+
/** Whether the submenu opens and closes: unless the item says otherwise, and always as a dropdown. */
|
|
227
|
+
collapsible(): boolean;
|
|
228
|
+
/** Whether the item has a toggle for its submenu. */
|
|
229
|
+
hasToggle(): boolean;
|
|
230
|
+
/** Whether the submenu shows: open, or one that doesn't close. */
|
|
231
|
+
isExpanded(): boolean;
|
|
232
|
+
/**
|
|
233
|
+
* Whether the item shows as selected: the selected item, and its parents unless the menu marks only the item; then a
|
|
234
|
+
* parent shows it only while its closed submenu hides the item.
|
|
235
|
+
*/
|
|
236
|
+
isActive(): boolean;
|
|
214
237
|
/**
|
|
215
238
|
* Whether a `url` item opens in the current tab; a link opened elsewhere (for example `target="_blank"`)
|
|
216
239
|
* shouldn't take the selection.
|
|
@@ -318,6 +341,14 @@ export declare class NbMenuItemComponent implements DoCheck, AfterViewInit, Afte
|
|
|
318
341
|
* With `autoCollapse`, opening a submenu closes the others:
|
|
319
342
|
* @stacked-example(Autocollapse Menu, menu/menu-autocollapse.component)
|
|
320
343
|
*
|
|
344
|
+
* The parents of the selected item show as selected too. With `highlightParents` set to `false`, only the item does,
|
|
345
|
+
* and a parent while its closed submenu hides the item. An item with `collapsible: false` always shows its children,
|
|
346
|
+
* without a toggle, e.g. the sections of the page it links to:
|
|
347
|
+
* ```html
|
|
348
|
+
* <nb-menu [items]="[{ title: 'Guide', link: '/guide', collapsible: false, children: sections }]"
|
|
349
|
+
* [highlightParents]="false" />
|
|
350
|
+
* ```
|
|
351
|
+
*
|
|
321
352
|
* An item's `badge` shows an `nb-badge` after its title:
|
|
322
353
|
* @stacked-example(Menu item badge, menu/menu-badge.component)
|
|
323
354
|
*
|
|
@@ -339,6 +370,8 @@ export declare class NbMenuItemComponent implements DoCheck, AfterViewInit, Afte
|
|
|
339
370
|
* menu-item-hover-background-color:
|
|
340
371
|
* menu-item-hover-cursor:
|
|
341
372
|
* menu-item-focus-background-color:
|
|
373
|
+
* menu-item-outline-width:
|
|
374
|
+
* menu-item-outline-color:
|
|
342
375
|
* menu-item-hover-text-color:
|
|
343
376
|
* menu-item-icon-hover-color:
|
|
344
377
|
* menu-item-active-background-color:
|
|
@@ -404,6 +437,11 @@ export declare class NbMenuComponent implements OnInit, OnChanges, AfterViewInit
|
|
|
404
437
|
* Closes the other submenus when one opens, and when an item is selected.
|
|
405
438
|
*/
|
|
406
439
|
readonly autoCollapse: import("@angular/core").InputSignalWithTransform<boolean, NbBooleanInput>;
|
|
440
|
+
/**
|
|
441
|
+
* Shows the parents of the selected item as selected too (`true` by default). With `false` only the item shows as
|
|
442
|
+
* selected, and a parent while its closed submenu hides the item.
|
|
443
|
+
*/
|
|
444
|
+
readonly highlightParents: import("@angular/core").InputSignalWithTransform<boolean, NbBooleanInput>;
|
|
407
445
|
/**
|
|
408
446
|
* Shows the top-level items in a column, or in a row with their children in dropdowns.
|
|
409
447
|
*/
|
|
@@ -461,6 +499,11 @@ export declare class NbMenuComponent implements OnInit, OnChanges, AfterViewInit
|
|
|
461
499
|
"required": false;
|
|
462
500
|
"isSignal": true;
|
|
463
501
|
};
|
|
502
|
+
"highlightParents": {
|
|
503
|
+
"alias": "highlightParents";
|
|
504
|
+
"required": false;
|
|
505
|
+
"isSignal": true;
|
|
506
|
+
};
|
|
464
507
|
"orientation": {
|
|
465
508
|
"alias": "orientation";
|
|
466
509
|
"required": false;
|
|
@@ -1174,7 +1174,7 @@ export declare class NbSelectComponent<T = unknown, M extends NbBooleanInput = N
|
|
|
1174
1174
|
* What scrolling the page does while the options are open: `block` (default) prevents it, `close` closes them,
|
|
1175
1175
|
* `reposition` moves them along, and `noop` nothing.
|
|
1176
1176
|
*/
|
|
1177
|
-
readonly scrollStrategy: import("@angular/core").InputSignal<"
|
|
1177
|
+
readonly scrollStrategy: import("@angular/core").InputSignal<"close" | "noop" | "block" | "reposition">;
|
|
1178
1178
|
/**
|
|
1179
1179
|
* Emits when the user changes the selection, not when a value is written: the selected option's value (or `null`),
|
|
1180
1180
|
* or with `multiple`, the values of all selected options. See `NbSelectValue`.
|
|
@@ -1351,7 +1351,7 @@ export declare class NbSelectComponent<T = unknown, M extends NbBooleanInput = N
|
|
|
1351
1351
|
/**
|
|
1352
1352
|
* How many of the options a select-all option acts on are selected: `all`, `some` or `none`.
|
|
1353
1353
|
*/
|
|
1354
|
-
readonly selectAllState: import("@angular/core").Signal<"
|
|
1354
|
+
readonly selectAllState: import("@angular/core").Signal<"none" | "some" | "all">;
|
|
1355
1355
|
protected toggleAll(): void;
|
|
1356
1356
|
/**
|
|
1357
1357
|
* Whether a value means "nothing selected": `undefined`, and `null` unless the select is `nullable`.
|
|
@@ -1734,7 +1734,7 @@ export declare class NbAutocompleteDirective<T> implements NbAutocompleteRef, On
|
|
|
1734
1734
|
* What scrolling the page does while the options are open: `block` (default) prevents it, `close` closes them,
|
|
1735
1735
|
* `reposition` moves them along, and `noop` leaves them where they are.
|
|
1736
1736
|
*/
|
|
1737
|
-
readonly scrollStrategy: import("@angular/core").InputSignal<"
|
|
1737
|
+
readonly scrollStrategy: import("@angular/core").InputSignal<"close" | "noop" | "block" | "reposition">;
|
|
1738
1738
|
/**
|
|
1739
1739
|
* An element to position the options at instead of the input.
|
|
1740
1740
|
*/
|
|
@@ -34,7 +34,7 @@ export declare enum NbSortDirection {
|
|
|
34
34
|
* tree grid's data source) and emits `sort`. A data source that tells its direction also drives the headers' icons.
|
|
35
35
|
*/
|
|
36
36
|
export declare class NbSortDirective {
|
|
37
|
-
readonly sortable: import("@angular/core").InputSignalWithTransform<NbSortable | NbSortState | undefined,
|
|
37
|
+
readonly sortable: import("@angular/core").InputSignalWithTransform<NbSortable | NbSortState | undefined, ɵNbNullableInput | NbSortable | NbSortState>;
|
|
38
38
|
/** The direction a column is sorted in, when what's sorted tells it. */
|
|
39
39
|
directionOf(column: string): NbSortDirection | undefined;
|
|
40
40
|
readonly sort: import("@angular/core").OutputEmitterRef<NbSortRequest>;
|
|
@@ -444,6 +444,9 @@ export declare class NbTreeGridNoDataCellDirective {
|
|
|
444
444
|
* tree-grid-sort-header-button-background-color:
|
|
445
445
|
* tree-grid-sort-header-button-border:
|
|
446
446
|
* tree-grid-sort-header-button-padding:
|
|
447
|
+
* tree-grid-button-outline-width:
|
|
448
|
+
* tree-grid-button-outline-color:
|
|
449
|
+
* tree-grid-button-outline-border-radius:
|
|
447
450
|
*/
|
|
448
451
|
export declare class NbTreeGridComponent<T> extends NbTable<NbTreeGridPresentationNode<T>> implements OnChanges, AfterContentInit, AfterViewInit, OnDestroy {
|
|
449
452
|
protected readonly destroyRef: DestroyRef;
|