@danske/sapphire-angular 1.14.1 → 1.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/esm2020/lib/contextual-help/src/contextual-help.component.mjs +1 -1
- package/esm2020/lib/listbox/src/listbox-input.directive.mjs +3 -2
- package/esm2020/lib/listbox/src/listbox.component.mjs +6 -4
- package/esm2020/lib/listbox/src/listbox.module.mjs +3 -3
- package/esm2020/lib/popover/src/popover-trigger.directive.mjs +2 -5
- package/esm2020/lib/popover/src/popover.component.mjs +13 -4
- package/esm2020/lib/select/src/basic-select/basic-select.component.mjs +1 -1
- package/esm2020/lib/select/src/select/select.component.mjs +1 -1
- package/esm2020/lib/table/src/table-cell.directive.mjs +9 -9
- package/esm2020/lib/table/src/table-row.directive.mjs +3 -3
- package/fesm2015/danske-sapphire-angular.mjs +40 -27
- package/fesm2015/danske-sapphire-angular.mjs.map +1 -1
- package/fesm2020/danske-sapphire-angular.mjs +35 -26
- package/fesm2020/danske-sapphire-angular.mjs.map +1 -1
- package/lib/listbox/src/listbox-input.directive.d.ts +1 -1
- package/lib/listbox/src/listbox.component.d.ts +2 -1
- package/lib/listbox/src/listbox.module.d.ts +10 -10
- package/lib/popover/src/popover.component.d.ts +5 -1
- package/lib/table/src/table-cell.directive.d.ts +8 -6
- package/lib/table/src/table-row.directive.d.ts +1 -1
- package/package.json +2 -2
|
@@ -12,5 +12,5 @@ export declare class ListboxInputDirective {
|
|
|
12
12
|
private onFocus;
|
|
13
13
|
private onBlur;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListboxInputDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ListboxInputDirective, "input[spListboxInput]", never, { "listbox": "spListboxInput"; }, {}, never, never,
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ListboxInputDirective, "input[spListboxInput]", never, { "listbox": "spListboxInput"; }, {}, never, never, true, never>;
|
|
16
16
|
}
|
|
@@ -38,6 +38,7 @@ export declare class ListboxComponent implements ControlValueAccessor, AfterView
|
|
|
38
38
|
ariaLabel: string;
|
|
39
39
|
ariaLabelledBy?: string;
|
|
40
40
|
size?: 'large' | 'medium' | 'small';
|
|
41
|
+
id?: string;
|
|
41
42
|
/**
|
|
42
43
|
* Emits whenever an option is selected, regardless of if it's already selected.
|
|
43
44
|
*/
|
|
@@ -123,5 +124,5 @@ export declare class ListboxComponent implements ControlValueAccessor, AfterView
|
|
|
123
124
|
*/
|
|
124
125
|
_isConnectedToInput(): boolean;
|
|
125
126
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListboxComponent, never>;
|
|
126
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListboxComponent, "sp-listbox", ["spListbox"], { "selectedValues": "selectedValues"; "_itemsInput": "spListboxItems"; "disabled": "disabled"; "multiple": "multiple"; "navigationWrapDisabled": "navigationWrapDisabled"; "ariaLabel": "aria-label"; "ariaLabelledBy": "aria-labelledby"; "size": "size"; }, { "selectedValuesChange": "selectedValuesChange"; "selected": "selected"; }, ["itemsInContent"], never, false, never>;
|
|
127
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListboxComponent, "sp-listbox", ["spListbox"], { "selectedValues": "selectedValues"; "_itemsInput": "spListboxItems"; "disabled": "disabled"; "multiple": "multiple"; "navigationWrapDisabled": "navigationWrapDisabled"; "ariaLabel": "aria-label"; "ariaLabelledBy": "aria-labelledby"; "size": "size"; "id": "id"; }, { "selectedValuesChange": "selectedValuesChange"; "selected": "selected"; }, ["itemsInContent"], never, false, never>;
|
|
127
128
|
}
|
|
@@ -5,18 +5,18 @@ import * as i3 from "./option-icon.directive";
|
|
|
5
5
|
import * as i4 from "./option-secondary-text.directive";
|
|
6
6
|
import * as i5 from "./option-primary-text.directive";
|
|
7
7
|
import * as i6 from "./listbox.component";
|
|
8
|
-
import * as i7 from "./listbox-
|
|
9
|
-
import * as i8 from "
|
|
10
|
-
import * as i9 from "
|
|
11
|
-
import * as i10 from "
|
|
12
|
-
import * as i11 from "@angular/cdk/
|
|
13
|
-
import * as i12 from "
|
|
14
|
-
import * as i13 from "../../common/
|
|
15
|
-
import * as i14 from "../../common/
|
|
16
|
-
import * as i15 from "
|
|
8
|
+
import * as i7 from "./listbox-item.component";
|
|
9
|
+
import * as i8 from "@angular/common";
|
|
10
|
+
import * as i9 from "../../icon/src/icon.module";
|
|
11
|
+
import * as i10 from "@angular/cdk/listbox";
|
|
12
|
+
import * as i11 from "@angular/cdk/portal";
|
|
13
|
+
import * as i12 from "../../common/pressed.directive";
|
|
14
|
+
import * as i13 from "../../common/focused.directive";
|
|
15
|
+
import * as i14 from "../../common/sapphire-view-encapsulation";
|
|
16
|
+
import * as i15 from "./listbox-input.directive";
|
|
17
17
|
import * as i16 from "./cdk-option-scroll-issue-patch";
|
|
18
18
|
export declare class SapphireListboxModule {
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<SapphireListboxModule, never>;
|
|
20
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SapphireListboxModule, [typeof i1.SectionDirective, typeof i2.OptionComponent, typeof i3.OptionIconDirective, typeof i4.OptionSecondaryTextDirective, typeof i5.OptionPrimaryTextDirective, typeof i6.ListboxComponent, typeof i7.
|
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SapphireListboxModule, [typeof i1.SectionDirective, typeof i2.OptionComponent, typeof i3.OptionIconDirective, typeof i4.OptionSecondaryTextDirective, typeof i5.OptionPrimaryTextDirective, typeof i6.ListboxComponent, typeof i7.ListboxItemComponent], [typeof i8.CommonModule, typeof i9.SapphireIconModule, typeof i10.CdkListboxModule, typeof i11.PortalModule, typeof i12.PressedDirective, typeof i13.FocusedDirective, typeof i14.UseComponentStyles, typeof i15.ListboxInputDirective, typeof i16.CdkOptionScrollIssuePatch], [typeof i6.ListboxComponent, typeof i2.OptionComponent, typeof i3.OptionIconDirective, typeof i4.OptionSecondaryTextDirective, typeof i5.OptionPrimaryTextDirective, typeof i1.SectionDirective, typeof i15.ListboxInputDirective]>;
|
|
21
21
|
static ɵinj: i0.ɵɵInjectorDeclaration<SapphireListboxModule>;
|
|
22
22
|
}
|
|
@@ -18,6 +18,10 @@ export declare class PopoverComponent implements AfterViewInit {
|
|
|
18
18
|
noMaxWidth: BooleanInput;
|
|
19
19
|
title?: PopoverTitleDirective;
|
|
20
20
|
private contentWrapper?;
|
|
21
|
+
/**
|
|
22
|
+
* Whether the default behavior of moving focus to the popover content upon open should be disabled
|
|
23
|
+
*/
|
|
24
|
+
noAutoFocus: BooleanInput;
|
|
21
25
|
ID: string;
|
|
22
26
|
/**
|
|
23
27
|
* Keeps track of if the content is focused
|
|
@@ -28,5 +32,5 @@ export declare class PopoverComponent implements AfterViewInit {
|
|
|
28
32
|
private handleEscape;
|
|
29
33
|
_contentFocusChanged(origin: FocusOrigin): void;
|
|
30
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<PopoverComponent, [{ optional: true; }]>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PopoverComponent, "sp-popover", never, { "noPadding": "noPadding"; "noMaxWidth": "noMaxWidth"; }, {}, ["title"], ["*"], false, [{ directive: typeof i1.ThemeCheckDirective; inputs: {}; outputs: {}; }, { directive: typeof i2.UseComponentStylesOnHost; inputs: {}; outputs: {}; }]>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PopoverComponent, "sp-popover", never, { "noPadding": "noPadding"; "noMaxWidth": "noMaxWidth"; "noAutoFocus": "noAutoFocus"; }, {}, ["title"], ["*"], false, [{ directive: typeof i1.ThemeCheckDirective; inputs: {}; outputs: {}; }, { directive: typeof i2.UseComponentStylesOnHost; inputs: {}; outputs: {}; }]>;
|
|
32
36
|
}
|
|
@@ -16,12 +16,14 @@ export declare class TableCellDirective implements AfterContentChecked {
|
|
|
16
16
|
*
|
|
17
17
|
* @default 'left'
|
|
18
18
|
*/
|
|
19
|
-
get align(): CellAlignment;
|
|
20
|
-
set align(value: CellAlignment);
|
|
21
|
-
_align
|
|
22
|
-
get width(): string |
|
|
23
|
-
get minWidth(): string |
|
|
24
|
-
get maxWidth(): string |
|
|
19
|
+
get align(): CellAlignment | undefined;
|
|
20
|
+
set align(value: CellAlignment | undefined);
|
|
21
|
+
private _align;
|
|
22
|
+
get width(): string | undefined;
|
|
23
|
+
get minWidth(): string | undefined;
|
|
24
|
+
get maxWidth(): string | undefined;
|
|
25
|
+
private headCell?;
|
|
26
|
+
private isFirstCellInRow;
|
|
25
27
|
constructor(table: TableComponent, truncatedWithTooltipDirective: TruncatedWithTooltipDirective, tableRow: TableRowDirective);
|
|
26
28
|
ngAfterContentChecked(): void;
|
|
27
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableCellDirective, never>;
|
|
@@ -9,7 +9,7 @@ export declare class TableRowDirective<D = unknown> {
|
|
|
9
9
|
cells: QueryList<TableCellDirective>;
|
|
10
10
|
rowData: D | null;
|
|
11
11
|
private onRowClick;
|
|
12
|
-
|
|
12
|
+
getColumnHeadCell(cell: TableCellDirective): TableHeadCellComponent | undefined;
|
|
13
13
|
constructor(table: TableComponent);
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableRowDirective<any>, never>;
|
|
15
15
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TableRowDirective<any>, "tr[sp-table-tr]", never, { "rowData": "rowData"; }, {}, ["cells"], never, false, [{ directive: typeof i1.UseComponentStyles; inputs: {}; outputs: {}; }]>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@danske/sapphire-angular",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.15.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"description": "The Angular implementation of the Sapphire Design System from Danske Bank A/S",
|
|
6
6
|
"module": "fesm2015/danske-sapphire-angular.mjs",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@danske/sapphire-css": "^26.3.1",
|
|
20
20
|
"tslib": "^2.3.0"
|
|
21
21
|
},
|
|
22
|
-
"gitHead": "
|
|
22
|
+
"gitHead": "f848d0d7795b8540aef47a7017870d3732ef73ed",
|
|
23
23
|
"es2020": "fesm2020/danske-sapphire-angular.mjs",
|
|
24
24
|
"esm2020": "esm2020/danske-sapphire-angular.mjs",
|
|
25
25
|
"fesm2020": "fesm2020/danske-sapphire-angular.mjs",
|