@fundamental-ngx/core 0.43.20 → 0.43.22
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/button/base-button.d.ts +2 -2
- package/button/button.component.d.ts +2 -1
- package/esm2020/button/base-button.mjs +4 -2
- package/esm2020/button/button.component.mjs +7 -6
- package/esm2020/combobox/combobox.component.mjs +2 -2
- package/esm2020/segmented-button/segmented-button.component.mjs +23 -12
- package/fesm2015/fundamental-ngx-core-button.mjs +9 -6
- package/fesm2015/fundamental-ngx-core-button.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-combobox.mjs +1 -1
- package/fesm2015/fundamental-ngx-core-combobox.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-core-segmented-button.mjs +24 -11
- package/fesm2015/fundamental-ngx-core-segmented-button.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-button.mjs +9 -6
- package/fesm2020/fundamental-ngx-core-button.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-combobox.mjs +1 -1
- package/fesm2020/fundamental-ngx-core-combobox.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-core-segmented-button.mjs +22 -11
- package/fesm2020/fundamental-ngx-core-segmented-button.mjs.map +1 -1
- package/fundamental-ngx-core-v0.43.22.tgz +0 -0
- package/package.json +3 -3
- package/schematics/add-dependencies/index.js +4 -4
- package/segmented-button/segmented-button.component.d.ts +6 -4
- package/fundamental-ngx-core-v0.43.20.tgz +0 -0
|
@@ -54,21 +54,21 @@ function addExternalLibraries(options) {
|
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
56
|
if (!(0, package_utils_1.hasPackage)(tree, '@fundamental-ngx/i18n') ||
|
|
57
|
-
(0, package_utils_1.checkPackageVersion)(tree, '@fundamental-ngx/i18n', '0.43.
|
|
57
|
+
(0, package_utils_1.checkPackageVersion)(tree, '@fundamental-ngx/i18n', '0.43.22', '<')) {
|
|
58
58
|
dependencies.push({
|
|
59
59
|
type: dependencies_1.NodeDependencyType.Default,
|
|
60
60
|
// Will be replaced with the real version during sync-version script run
|
|
61
|
-
version: `0.43.
|
|
61
|
+
version: `0.43.22`,
|
|
62
62
|
name: '@fundamental-ngx/i18n',
|
|
63
63
|
overwrite: true
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
66
|
if (!(0, package_utils_1.hasPackage)(tree, '@fundamental-ngx/cdk') ||
|
|
67
|
-
(0, package_utils_1.checkPackageVersion)(tree, '@fundamental-ngx/cdk', '0.43.
|
|
67
|
+
(0, package_utils_1.checkPackageVersion)(tree, '@fundamental-ngx/cdk', '0.43.22', '<')) {
|
|
68
68
|
dependencies.push({
|
|
69
69
|
type: dependencies_1.NodeDependencyType.Default,
|
|
70
70
|
// Will be replaced with the real version during sync-version script run
|
|
71
|
-
version: `0.43.
|
|
71
|
+
version: `0.43.22`,
|
|
72
72
|
name: '@fundamental-ngx/cdk',
|
|
73
73
|
overwrite: true
|
|
74
74
|
});
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, QueryList } from '@angular/core';
|
|
2
2
|
import { ButtonComponent } from '@fundamental-ngx/core/button';
|
|
3
|
-
import { DestroyedService } from '@fundamental-ngx/cdk/utils';
|
|
3
|
+
import { DestroyedService, FocusableListDirective } from '@fundamental-ngx/cdk/utils';
|
|
4
4
|
import { ControlValueAccessor } from '@angular/forms';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@fundamental-ngx/cdk/utils";
|
|
6
7
|
export declare const isDisabledClass = "is-disabled";
|
|
7
8
|
export type SegmentedButtonValue = string | (string | null)[] | null;
|
|
8
9
|
/**
|
|
@@ -20,6 +21,7 @@ export declare class SegmentedButtonComponent implements AfterViewInit, ControlV
|
|
|
20
21
|
private readonly _changeDetRef;
|
|
21
22
|
private readonly _elementRef;
|
|
22
23
|
private readonly _onDestroy$;
|
|
24
|
+
private focusableList;
|
|
23
25
|
/** Whether segmented button is on toggle mode, which allows to toggle more than 1 button */
|
|
24
26
|
toggle: boolean;
|
|
25
27
|
/** @hidden */
|
|
@@ -41,7 +43,7 @@ export declare class SegmentedButtonComponent implements AfterViewInit, ControlV
|
|
|
41
43
|
/** @hidden */
|
|
42
44
|
onTouched: () => void;
|
|
43
45
|
/** @hidden */
|
|
44
|
-
constructor(_changeDetRef: ChangeDetectorRef, _elementRef: ElementRef, _onDestroy$: DestroyedService);
|
|
46
|
+
constructor(_changeDetRef: ChangeDetectorRef, _elementRef: ElementRef, _onDestroy$: DestroyedService, focusableList: FocusableListDirective);
|
|
45
47
|
/** @hidden */
|
|
46
48
|
ngAfterViewInit(): void;
|
|
47
49
|
/** @hidden */
|
|
@@ -95,6 +97,6 @@ export declare class SegmentedButtonComponent implements AfterViewInit, ControlV
|
|
|
95
97
|
* Returns values depending on selected state of buttons
|
|
96
98
|
*/
|
|
97
99
|
private _getValuesBySelected;
|
|
98
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SegmentedButtonComponent,
|
|
99
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SegmentedButtonComponent, "fd-segmented-button", never, { "toggle": "toggle"; }, {}, ["_buttons"], ["*"], false,
|
|
100
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SegmentedButtonComponent, [null, null, null, { optional: true; host: true; }]>;
|
|
101
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SegmentedButtonComponent, "fd-segmented-button", never, { "toggle": "toggle"; }, {}, ["_buttons"], ["*"], false, [{ directive: typeof i1.FocusableListDirective; inputs: {}; outputs: {}; }]>;
|
|
100
102
|
}
|
|
Binary file
|