@koobiq/components 16.0.0-beta.15 → 16.0.0-beta.17
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/checkbox/_checkbox-theme.scss +9 -6
- package/core/common-behaviors/index.d.ts +2 -0
- package/core/pop-up/pop-up.d.ts +7 -0
- package/core/styles/_variables.scss +1 -1
- package/core/styles/theming/_components-theming.scss +4 -0
- package/core/styles/theming/_theming.scss +1 -0
- package/esm2022/core/common-behaviors/index.mjs +3 -1
- package/esm2022/core/highlight/highlight.pipe.mjs +2 -2
- package/esm2022/core/pop-up/pop-up-trigger.mjs +2 -2
- package/esm2022/core/pop-up/pop-up.mjs +8 -1
- package/esm2022/form-field/form-field.mjs +7 -1
- package/esm2022/icon/icon-button.component.mjs +2 -1
- package/esm2022/icon/icon-item.component.mjs +2 -1
- package/esm2022/icon/icon.component.mjs +13 -1
- package/esm2022/input/input-number.mjs +4 -2
- package/esm2022/loader-overlay/loader-overlay.component.mjs +2 -2
- package/esm2022/modal/modal.component.mjs +17 -3
- package/esm2022/navbar/navbar-item.component.mjs +11 -8
- package/esm2022/navbar/navbar.component.mjs +18 -8
- package/esm2022/navbar/vertical-navbar.component.mjs +3 -3
- package/esm2022/popover/popover.component.mjs +6 -1
- package/esm2022/tabs/tab-group.component.mjs +5 -5
- package/esm2022/textarea/textarea.component.mjs +32 -21
- package/esm2022/tree/control/base-tree-control.mjs +4 -4
- package/esm2022/tree/control/flat-tree-control.filters.mjs +3 -2
- package/esm2022/tree/control/flat-tree-control.mjs +4 -4
- package/esm2022/tree/control/tree-control.mjs +1 -1
- package/esm2022/tree/toggle.mjs +2 -2
- package/esm2022/tree/tree-option.component.mjs +4 -1
- package/fesm2022/koobiq-components-core.mjs +14 -5
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +6 -0
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +14 -0
- package/fesm2022/koobiq-components-icon.mjs.map +1 -1
- package/fesm2022/koobiq-components-input.mjs +3 -1
- package/fesm2022/koobiq-components-input.mjs.map +1 -1
- package/fesm2022/koobiq-components-loader-overlay.mjs +2 -2
- package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +16 -2
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +29 -16
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +5 -0
- package/fesm2022/koobiq-components-popover.mjs.map +1 -1
- package/fesm2022/koobiq-components-tabs.mjs +3 -3
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-textarea.mjs +31 -20
- package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +12 -8
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/form-field/form-field.d.ts +2 -0
- package/icon/icon-button.component.d.ts +1 -0
- package/icon/icon-item.component.d.ts +1 -0
- package/icon/icon.component.d.ts +3 -0
- package/input/input-number.d.ts +3 -2
- package/modal/modal.component.d.ts +3 -0
- package/navbar/_navbar-theme.scss +2 -2
- package/navbar/navbar-item.component.d.ts +1 -0
- package/navbar/navbar-item.scss +2 -2
- package/navbar/navbar.component.d.ts +3 -0
- package/package.json +31 -31
- package/popover/popover.component.d.ts +5 -0
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/splitter/_splitter-theme.scss +4 -4
- package/textarea/textarea.component.d.ts +4 -3
- package/tree/control/base-tree-control.d.ts +1 -1
- package/tree/control/tree-control.d.ts +1 -1
|
@@ -35,6 +35,7 @@ export declare class KbqFormField extends KbqFormFieldMixinBase implements After
|
|
|
35
35
|
hovered: boolean;
|
|
36
36
|
canCleanerClearByEsc: boolean;
|
|
37
37
|
private $unsubscribe;
|
|
38
|
+
get hasFocus(): boolean;
|
|
38
39
|
get hasHint(): boolean;
|
|
39
40
|
get hasSuffix(): boolean;
|
|
40
41
|
get hasPrefix(): boolean;
|
|
@@ -48,6 +49,7 @@ export declare class KbqFormField extends KbqFormFieldMixinBase implements After
|
|
|
48
49
|
ngAfterContentInit(): void;
|
|
49
50
|
ngAfterContentChecked(): void;
|
|
50
51
|
ngAfterViewInit(): void;
|
|
52
|
+
focusViaKeyboard(): void;
|
|
51
53
|
clearValue($event: any): void;
|
|
52
54
|
onContainerClick($event: any): void;
|
|
53
55
|
onKeyDown(event: KeyboardEvent): void;
|
|
@@ -13,6 +13,7 @@ export declare class KbqIconButton extends KbqIcon implements OnDestroy, CanColo
|
|
|
13
13
|
get disabled(): boolean;
|
|
14
14
|
set disabled(value: boolean);
|
|
15
15
|
private _disabled;
|
|
16
|
+
name: string;
|
|
16
17
|
constructor(elementRef: ElementRef, iconName: string, formField: KbqFormFieldRef, changeDetectorRef: ChangeDetectorRef, focusMonitor: FocusMonitor);
|
|
17
18
|
ngOnDestroy(): void;
|
|
18
19
|
private runFocusMonitor;
|
|
@@ -4,6 +4,7 @@ import { KbqIcon } from './icon.component';
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class KbqIconItem extends KbqIcon implements CanColor {
|
|
6
6
|
protected changeDetectorRef: ChangeDetectorRef;
|
|
7
|
+
name: string;
|
|
7
8
|
constructor(elementRef: ElementRef, iconName: string, formField: KbqFormFieldRef, changeDetectorRef: ChangeDetectorRef);
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqIconItem, [null, { attribute: "kbq-icon-item"; }, { optional: true; }, null]>;
|
|
9
10
|
static ɵcmp: i0.ɵɵComponentDeclaration<KbqIconItem, "[kbq-icon-item]", never, { "color": { "alias": "color"; "required": false; }; }, {}, never, ["*"], false, never>;
|
package/icon/icon.component.d.ts
CHANGED
|
@@ -9,13 +9,16 @@ export declare class KbqIconBase {
|
|
|
9
9
|
/** @docs-private */
|
|
10
10
|
export declare const KbqIconMixinBase: CanColorCtor & typeof KbqIconBase;
|
|
11
11
|
export declare class KbqIcon extends KbqIconMixinBase implements CanColor, AfterContentInit {
|
|
12
|
+
protected iconName: string;
|
|
12
13
|
protected formField: KbqFormFieldRef;
|
|
13
14
|
protected changeDetectorRef: ChangeDetectorRef;
|
|
14
15
|
small: boolean;
|
|
15
16
|
autoColor: boolean;
|
|
16
17
|
hasError: boolean;
|
|
18
|
+
protected name: string;
|
|
17
19
|
constructor(elementRef: ElementRef, iconName: string, formField: KbqFormFieldRef, changeDetectorRef: ChangeDetectorRef);
|
|
18
20
|
getHostElement(): any;
|
|
21
|
+
updateMaxHeight(): void;
|
|
19
22
|
ngAfterContentInit(): void;
|
|
20
23
|
private updateState;
|
|
21
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqIcon, [null, { attribute: "kbq-icon"; }, { optional: true; }, null]>;
|
package/input/input-number.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnDestroy, Renderer2 } from '@angular/core';
|
|
1
|
+
import { AfterContentInit, ElementRef, EventEmitter, OnDestroy, Renderer2 } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { KbqLocaleService } from '@koobiq/components/core';
|
|
4
4
|
import { KbqFormFieldControl } from '@koobiq/components/form-field';
|
|
@@ -13,7 +13,7 @@ export declare function isDigit(value: string): boolean;
|
|
|
13
13
|
export declare function getPrecision(value: number): number;
|
|
14
14
|
export declare function add(value1: number, value2: number): number;
|
|
15
15
|
export declare const KBQ_NUMBER_INPUT_VALUE_ACCESSOR: any;
|
|
16
|
-
export declare class KbqNumberInput implements KbqFormFieldControl<any>, ControlValueAccessor, OnDestroy {
|
|
16
|
+
export declare class KbqNumberInput implements KbqFormFieldControl<any>, ControlValueAccessor, AfterContentInit, OnDestroy {
|
|
17
17
|
private elementRef;
|
|
18
18
|
private readonly renderer;
|
|
19
19
|
private localeService;
|
|
@@ -53,6 +53,7 @@ export declare class KbqNumberInput implements KbqFormFieldControl<any>, Control
|
|
|
53
53
|
private valueFromPaste;
|
|
54
54
|
private localeSubscription;
|
|
55
55
|
constructor(elementRef: ElementRef, renderer: Renderer2, step: string, bigStep: string, min: string, max: string, localeService: KbqLocaleService);
|
|
56
|
+
ngAfterContentInit(): void;
|
|
56
57
|
ngOnDestroy(): void;
|
|
57
58
|
onContainerClick(): void;
|
|
58
59
|
focus(): void;
|
|
@@ -65,6 +65,8 @@ export declare class KbqModalComponent<T = any, R = any> extends KbqModalRef<T,
|
|
|
65
65
|
bodyContainer: ViewContainerRef;
|
|
66
66
|
autoFocusedButtons: QueryList<ElementRef>;
|
|
67
67
|
modalBody: ElementRef;
|
|
68
|
+
isTopOverflow: boolean;
|
|
69
|
+
isBottomOverflow: boolean;
|
|
68
70
|
maskAnimationClassMap: object;
|
|
69
71
|
modalAnimationClassMap: object;
|
|
70
72
|
transformOrigin: string;
|
|
@@ -84,6 +86,7 @@ export declare class KbqModalComponent<T = any, R = any> extends KbqModalRef<T,
|
|
|
84
86
|
ngOnChanges(changes: SimpleChanges): void;
|
|
85
87
|
ngAfterViewInit(): void;
|
|
86
88
|
ngOnDestroy(): void;
|
|
89
|
+
checkOverflow(): void;
|
|
87
90
|
open(): void;
|
|
88
91
|
close(result?: R): void;
|
|
89
92
|
destroy(result?: R): void;
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
background: map.get($navbar-item, state-selected);
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
&:hover:not(.kbq-navbar-
|
|
51
|
+
&:hover:not(.kbq-navbar-item_has-nested, .kbq-navbar-item_form-field) {
|
|
52
52
|
cursor: pointer;
|
|
53
53
|
|
|
54
54
|
& .kbq-navbar-item__overlay {
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
&:active:not(.kbq-navbar-
|
|
59
|
+
&:active:not(.kbq-navbar-item_has-nested, .kbq-navbar-item_form-field) {
|
|
60
60
|
& .kbq-navbar-item__overlay {
|
|
61
61
|
background: map.get($navbar-item, state-active);
|
|
62
62
|
}
|
|
@@ -74,6 +74,7 @@ export declare class KbqNavbarFocusableItem implements IFocusableOption, AfterCo
|
|
|
74
74
|
title: KbqNavbarTitle;
|
|
75
75
|
button: KbqButton;
|
|
76
76
|
formField: KbqFormField;
|
|
77
|
+
get nestedElement(): KbqButton | KbqFormField;
|
|
77
78
|
get tooltip(): KbqTooltipTrigger;
|
|
78
79
|
private _tooltip;
|
|
79
80
|
readonly onFocus: Subject<KbqNavbarFocusableItemEvent>;
|
package/navbar/navbar-item.scss
CHANGED
|
@@ -100,7 +100,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
100
100
|
padding-left: var(--kbq-vertical-navbar-size-icon-margin, map.get($tokens, vertical-navbar-size-icon-margin));
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
&.kbq-navbar-
|
|
103
|
+
&.kbq-navbar-item_has-nested {
|
|
104
104
|
padding-left: 12px;
|
|
105
105
|
padding-right: 12px;
|
|
106
106
|
}
|
|
@@ -124,7 +124,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
.kbq-navbar-item.kbq-navbar-
|
|
127
|
+
.kbq-navbar-item.kbq-navbar-item_has-nested .kbq-button {
|
|
128
128
|
flex: 1;
|
|
129
129
|
|
|
130
130
|
& .kbq-button-wrapper {
|
|
@@ -53,6 +53,9 @@ export declare class KbqNavbar extends KbqFocusableComponent implements AfterVie
|
|
|
53
53
|
ngOnDestroy(): void;
|
|
54
54
|
onKeyDown(event: KeyboardEvent): void;
|
|
55
55
|
updateExpandedStateForItems: () => void;
|
|
56
|
+
private eventFromInput;
|
|
57
|
+
private cursorOnFirstPosition;
|
|
58
|
+
private cursorOnLastPosition;
|
|
56
59
|
private collapseItems;
|
|
57
60
|
private expandItems;
|
|
58
61
|
private setItemsState;
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@koobiq/components",
|
|
3
|
-
"version": "16.0.0-beta.
|
|
3
|
+
"version": "16.0.0-beta.17",
|
|
4
4
|
"description": "koobiq",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
|
-
"url": "https://
|
|
7
|
+
"url": "https://github.com/koobiq/angular-components.git"
|
|
8
8
|
},
|
|
9
9
|
"keywords": [
|
|
10
10
|
"angular",
|
|
@@ -13,19 +13,19 @@
|
|
|
13
13
|
],
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"bugs": {
|
|
16
|
-
"url": "https://
|
|
16
|
+
"url": "https://github.com/koobiq/angular-components/issues"
|
|
17
17
|
},
|
|
18
|
-
"homepage": "https://
|
|
18
|
+
"homepage": "https://github.com/koobiq/angular-components/blob/master/README.md",
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"@angular/cdk": "^16.1.5",
|
|
21
21
|
"@angular/forms": "^16.1.5",
|
|
22
|
-
"@koobiq/cdk": "^16.0.0-beta.
|
|
23
|
-
"@koobiq/angular-moment-adapter": "^16.0.0-beta.
|
|
24
|
-
"@koobiq/angular-luxon-adapter": "^16.0.0-beta.
|
|
22
|
+
"@koobiq/cdk": "^16.0.0-beta.17",
|
|
23
|
+
"@koobiq/angular-moment-adapter": "^16.0.0-beta.17",
|
|
24
|
+
"@koobiq/angular-luxon-adapter": "^16.0.0-beta.17",
|
|
25
25
|
"@mosaic-design/date-formatter": "^2.1.1",
|
|
26
26
|
"@koobiq/icons": "^7.1.0",
|
|
27
|
-
"@koobiq/tokens-builder": "^3.0.0-beta.
|
|
28
|
-
"@koobiq/design-tokens": "^3.0.0-beta.
|
|
27
|
+
"@koobiq/tokens-builder": "^3.0.0-beta.23",
|
|
28
|
+
"@koobiq/design-tokens": "^3.0.0-beta.23",
|
|
29
29
|
"marked": "^4.0.18"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
@@ -74,18 +74,18 @@
|
|
|
74
74
|
"esm": "./esm2022/badge/koobiq-components-badge.mjs",
|
|
75
75
|
"default": "./fesm2022/koobiq-components-badge.mjs"
|
|
76
76
|
},
|
|
77
|
-
"./button": {
|
|
78
|
-
"types": "./button/index.d.ts",
|
|
79
|
-
"esm2022": "./esm2022/button/koobiq-components-button.mjs",
|
|
80
|
-
"esm": "./esm2022/button/koobiq-components-button.mjs",
|
|
81
|
-
"default": "./fesm2022/koobiq-components-button.mjs"
|
|
82
|
-
},
|
|
83
77
|
"./button-toggle": {
|
|
84
78
|
"types": "./button-toggle/index.d.ts",
|
|
85
79
|
"esm2022": "./esm2022/button-toggle/koobiq-components-button-toggle.mjs",
|
|
86
80
|
"esm": "./esm2022/button-toggle/koobiq-components-button-toggle.mjs",
|
|
87
81
|
"default": "./fesm2022/koobiq-components-button-toggle.mjs"
|
|
88
82
|
},
|
|
83
|
+
"./button": {
|
|
84
|
+
"types": "./button/index.d.ts",
|
|
85
|
+
"esm2022": "./esm2022/button/koobiq-components-button.mjs",
|
|
86
|
+
"esm": "./esm2022/button/koobiq-components-button.mjs",
|
|
87
|
+
"default": "./fesm2022/koobiq-components-button.mjs"
|
|
88
|
+
},
|
|
89
89
|
"./card": {
|
|
90
90
|
"types": "./card/index.d.ts",
|
|
91
91
|
"esm2022": "./esm2022/card/koobiq-components-card.mjs",
|
|
@@ -146,11 +146,11 @@
|
|
|
146
146
|
"esm": "./esm2022/file-upload/koobiq-components-file-upload.mjs",
|
|
147
147
|
"default": "./fesm2022/koobiq-components-file-upload.mjs"
|
|
148
148
|
},
|
|
149
|
-
"./
|
|
150
|
-
"types": "./
|
|
151
|
-
"esm2022": "./esm2022/
|
|
152
|
-
"esm": "./esm2022/
|
|
153
|
-
"default": "./fesm2022/koobiq-components-
|
|
149
|
+
"./form-field": {
|
|
150
|
+
"types": "./form-field/index.d.ts",
|
|
151
|
+
"esm2022": "./esm2022/form-field/koobiq-components-form-field.mjs",
|
|
152
|
+
"esm": "./esm2022/form-field/koobiq-components-form-field.mjs",
|
|
153
|
+
"default": "./fesm2022/koobiq-components-form-field.mjs"
|
|
154
154
|
},
|
|
155
155
|
"./icon": {
|
|
156
156
|
"types": "./icon/index.d.ts",
|
|
@@ -158,11 +158,11 @@
|
|
|
158
158
|
"esm": "./esm2022/icon/koobiq-components-icon.mjs",
|
|
159
159
|
"default": "./fesm2022/koobiq-components-icon.mjs"
|
|
160
160
|
},
|
|
161
|
-
"./
|
|
162
|
-
"types": "./
|
|
163
|
-
"esm2022": "./esm2022/
|
|
164
|
-
"esm": "./esm2022/
|
|
165
|
-
"default": "./fesm2022/koobiq-components-
|
|
161
|
+
"./input": {
|
|
162
|
+
"types": "./input/index.d.ts",
|
|
163
|
+
"esm2022": "./esm2022/input/koobiq-components-input.mjs",
|
|
164
|
+
"esm": "./esm2022/input/koobiq-components-input.mjs",
|
|
165
|
+
"default": "./fesm2022/koobiq-components-input.mjs"
|
|
166
166
|
},
|
|
167
167
|
"./link": {
|
|
168
168
|
"types": "./link/index.d.ts",
|
|
@@ -242,6 +242,12 @@
|
|
|
242
242
|
"esm": "./esm2022/sidebar/koobiq-components-sidebar.mjs",
|
|
243
243
|
"default": "./fesm2022/koobiq-components-sidebar.mjs"
|
|
244
244
|
},
|
|
245
|
+
"./sidepanel": {
|
|
246
|
+
"types": "./sidepanel/index.d.ts",
|
|
247
|
+
"esm2022": "./esm2022/sidepanel/koobiq-components-sidepanel.mjs",
|
|
248
|
+
"esm": "./esm2022/sidepanel/koobiq-components-sidepanel.mjs",
|
|
249
|
+
"default": "./fesm2022/koobiq-components-sidepanel.mjs"
|
|
250
|
+
},
|
|
245
251
|
"./splitter": {
|
|
246
252
|
"types": "./splitter/index.d.ts",
|
|
247
253
|
"esm2022": "./esm2022/splitter/koobiq-components-splitter.mjs",
|
|
@@ -254,12 +260,6 @@
|
|
|
254
260
|
"esm": "./esm2022/table/koobiq-components-table.mjs",
|
|
255
261
|
"default": "./fesm2022/koobiq-components-table.mjs"
|
|
256
262
|
},
|
|
257
|
-
"./sidepanel": {
|
|
258
|
-
"types": "./sidepanel/index.d.ts",
|
|
259
|
-
"esm2022": "./esm2022/sidepanel/koobiq-components-sidepanel.mjs",
|
|
260
|
-
"esm": "./esm2022/sidepanel/koobiq-components-sidepanel.mjs",
|
|
261
|
-
"default": "./fesm2022/koobiq-components-sidepanel.mjs"
|
|
262
|
-
},
|
|
263
263
|
"./tabs": {
|
|
264
264
|
"types": "./tabs/index.d.ts",
|
|
265
265
|
"esm2022": "./esm2022/tabs/koobiq-components-tabs.mjs",
|
|
@@ -53,6 +53,11 @@ export declare class KbqPopoverTrigger extends KbqPopUpTrigger<KbqPopoverCompone
|
|
|
53
53
|
private _size;
|
|
54
54
|
get customClass(): string;
|
|
55
55
|
set customClass(value: string);
|
|
56
|
+
/**
|
|
57
|
+
* Controls the behavior of closing the component on scroll.
|
|
58
|
+
* The default value is `false`.
|
|
59
|
+
* Use CloseScrollStrategy as alternative
|
|
60
|
+
*/
|
|
56
61
|
get closeOnScroll(): boolean;
|
|
57
62
|
set closeOnScroll(value: boolean);
|
|
58
63
|
private _closeOnScroll;
|