@koobiq/components 18.21.0 → 18.22.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/badge/badge.component.d.ts +0 -1
- package/breadcrumbs/breadcrumbs.d.ts +19 -22
- package/breadcrumbs/breadcrumbs.scss +13 -4
- package/breadcrumbs/breadcrumbs.types.d.ts +22 -0
- package/breadcrumbs/public-api.d.ts +1 -0
- package/button/button.component.d.ts +11 -16
- package/checkbox/checkbox.d.ts +13 -18
- package/core/common-behaviors/color.d.ts +11 -0
- package/core/common-behaviors/index.d.ts +1 -1
- package/core/option/action.d.ts +5 -7
- package/core/option/optgroup.d.ts +6 -7
- package/core/pop-up/pop-up-trigger.d.ts +2 -2
- package/core/pop-up/pop-up.d.ts +8 -2
- package/core/selection/pseudo-checkbox/pseudo-checkbox.d.ts +3 -12
- package/core/utils/utils.d.ts +3 -0
- package/dropdown/dropdown-item.component.d.ts +6 -8
- package/empty-state/_empty-state-theme.scss +15 -5
- package/empty-state/empty-state-tokens.scss +12 -2
- package/empty-state/empty-state.component.d.ts +7 -2
- package/empty-state/empty-state.scss +29 -0
- package/esm2022/accordion/accordion-trigger.component.mjs +1 -1
- package/esm2022/actions-panel/actions-panel-container.mjs +2 -2
- package/esm2022/badge/badge.component.mjs +2 -5
- package/esm2022/breadcrumbs/breadcrumbs.mjs +55 -22
- package/esm2022/breadcrumbs/breadcrumbs.types.mjs +2 -0
- package/esm2022/breadcrumbs/public-api.mjs +2 -1
- package/esm2022/button/button.component.mjs +23 -27
- package/esm2022/button-toggle/button-toggle.component.mjs +4 -3
- package/esm2022/checkbox/checkbox.mjs +23 -24
- package/esm2022/code-block/code-block.mjs +2 -2
- package/esm2022/core/common-behaviors/color.mjs +35 -1
- package/esm2022/core/common-behaviors/disabled.mjs +2 -1
- package/esm2022/core/common-behaviors/error-state.mjs +2 -1
- package/esm2022/core/common-behaviors/index.mjs +2 -2
- package/esm2022/core/common-behaviors/tabindex.mjs +2 -1
- package/esm2022/core/option/action.mjs +17 -12
- package/esm2022/core/option/optgroup.mjs +18 -12
- package/esm2022/core/option/option.mjs +1 -1
- package/esm2022/core/pop-up/pop-up-trigger.mjs +7 -7
- package/esm2022/core/pop-up/pop-up.mjs +21 -5
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +10 -19
- package/esm2022/core/utils/utils.mjs +7 -1
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/datepicker/calendar-header.component.mjs +1 -1
- package/esm2022/datepicker/datepicker-toggle.component.mjs +1 -1
- package/esm2022/dropdown/dropdown-item.component.mjs +19 -14
- package/esm2022/empty-state/empty-state.component.mjs +13 -8
- package/esm2022/file-upload/multiple-file-upload.component.mjs +2 -2
- package/esm2022/file-upload/single-file-upload.component.mjs +2 -2
- package/esm2022/filter-bar/filter-refresher.mjs +2 -2
- package/esm2022/filter-bar/filter-reset.mjs +1 -1
- package/esm2022/filter-bar/filter-search.mjs +2 -2
- package/esm2022/filter-bar/filters.mjs +2 -2
- package/esm2022/filter-bar/pipe-add.mjs +2 -2
- package/esm2022/filter-bar/pipes/pipe-button.mjs +2 -2
- package/esm2022/filter-bar/pipes/pipe-date.mjs +2 -2
- package/esm2022/filter-bar/pipes/pipe-datetime.mjs +2 -2
- package/esm2022/filter-bar/pipes/pipe-multi-select.mjs +2 -2
- package/esm2022/filter-bar/pipes/pipe-select.mjs +2 -2
- package/esm2022/filter-bar/pipes/pipe-text.mjs +2 -2
- package/esm2022/form-field/cleaner.mjs +1 -1
- package/esm2022/form-field/form-field.mjs +13 -22
- package/esm2022/form-field/hint.mjs +10 -18
- package/esm2022/form-field/password-hint.mjs +7 -7
- package/esm2022/form-field/password-toggle.mjs +1 -1
- package/esm2022/form-field/stepper.mjs +1 -1
- package/esm2022/icon/icon-button.component.mjs +13 -21
- package/esm2022/icon/icon-item.component.mjs +8 -15
- package/esm2022/icon/icon.component.mjs +15 -27
- package/esm2022/input/input-password.mjs +20 -5
- package/esm2022/input/input.mjs +21 -22
- package/esm2022/link/link.component.mjs +46 -14
- package/esm2022/list/list-selection.component.mjs +19 -15
- package/esm2022/loader-overlay/loader-overlay.component.mjs +14 -9
- package/esm2022/modal/modal.component.mjs +1 -1
- package/esm2022/modal/modal.directive.mjs +1 -1
- package/esm2022/navbar/navbar-item.component.mjs +2 -2
- package/esm2022/popover/popover-confirm.component.mjs +2 -2
- package/esm2022/popover/popover.component.mjs +5 -4
- package/esm2022/progress-bar/progress-bar.component.mjs +14 -21
- package/esm2022/progress-spinner/progress-spinner.component.mjs +17 -24
- package/esm2022/radio/radio.component.mjs +25 -35
- package/esm2022/select/select.component.mjs +56 -37
- package/esm2022/sidepanel/sidepanel-directives.mjs +2 -2
- package/esm2022/tabs/paginated-tab-header.mjs +7 -4
- package/esm2022/tabs/tab-group.component.mjs +23 -19
- package/esm2022/tabs/tab-header.component.mjs +3 -3
- package/esm2022/tabs/tab-label-wrapper.directive.mjs +16 -13
- package/esm2022/tabs/tab-nav-bar.mjs +2 -2
- package/esm2022/tabs/tab.component.mjs +17 -12
- package/esm2022/tags/tag-list.component.mjs +27 -22
- package/esm2022/tags/tag.component.mjs +7 -14
- package/esm2022/textarea/textarea.component.mjs +21 -22
- package/esm2022/timezone/timezone-select.component.mjs +3 -3
- package/esm2022/toast/toast.component.mjs +2 -2
- package/esm2022/toggle/toggle.component.mjs +20 -19
- package/esm2022/tree/toggle.mjs +19 -14
- package/esm2022/tree/tree-option.component.mjs +1 -1
- package/esm2022/tree/tree-selection.component.mjs +1 -1
- package/esm2022/tree-select/tree-select.component.mjs +58 -38
- package/fesm2022/koobiq-components-accordion.mjs +1 -1
- package/fesm2022/koobiq-components-accordion.mjs.map +1 -1
- package/fesm2022/koobiq-components-actions-panel.mjs +1 -1
- package/fesm2022/koobiq-components-actions-panel.mjs.map +1 -1
- package/fesm2022/koobiq-components-badge.mjs +2 -5
- package/fesm2022/koobiq-components-badge.mjs.map +1 -1
- package/fesm2022/koobiq-components-breadcrumbs.mjs +54 -21
- package/fesm2022/koobiq-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/koobiq-components-button-toggle.mjs +3 -3
- package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-button.mjs +23 -27
- package/fesm2022/koobiq-components-button.mjs.map +1 -1
- package/fesm2022/koobiq-components-checkbox.mjs +23 -24
- package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
- package/fesm2022/koobiq-components-code-block.mjs +1 -1
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +107 -46
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +2 -2
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-dropdown.mjs +18 -13
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-empty-state.mjs +12 -7
- package/fesm2022/koobiq-components-empty-state.mjs.map +1 -1
- package/fesm2022/koobiq-components-file-upload.mjs +2 -2
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-filter-bar.mjs +11 -11
- package/fesm2022/koobiq-components-filter-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +26 -43
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +33 -57
- package/fesm2022/koobiq-components-icon.mjs.map +1 -1
- package/fesm2022/koobiq-components-input.mjs +40 -25
- package/fesm2022/koobiq-components-input.mjs.map +1 -1
- package/fesm2022/koobiq-components-link.mjs +46 -14
- package/fesm2022/koobiq-components-link.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +19 -15
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-loader-overlay.mjs +13 -8
- package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +2 -2
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +2 -2
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +5 -4
- package/fesm2022/koobiq-components-popover.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-bar.mjs +13 -20
- package/fesm2022/koobiq-components-progress-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-spinner.mjs +16 -23
- package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
- package/fesm2022/koobiq-components-radio.mjs +25 -35
- package/fesm2022/koobiq-components-radio.mjs.map +1 -1
- package/fesm2022/koobiq-components-select.mjs +56 -37
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidepanel.mjs +1 -1
- package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
- package/fesm2022/koobiq-components-tabs.mjs +60 -44
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +32 -34
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-textarea.mjs +21 -22
- package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
- package/fesm2022/koobiq-components-timezone.mjs +2 -2
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-toast.mjs +1 -1
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/fesm2022/koobiq-components-toggle.mjs +20 -19
- package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +57 -37
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +21 -15
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/file-upload/multiple-file-upload.component.d.ts +2 -2
- package/file-upload/single-file-upload.component.d.ts +2 -2
- package/form-field/form-field.d.ts +4 -12
- package/form-field/hint.d.ts +3 -12
- package/form-field/password-hint.d.ts +3 -3
- package/icon/icon-button.component.d.ts +5 -8
- package/icon/icon-item.component.d.ts +3 -7
- package/icon/icon.component.d.ts +7 -14
- package/input/input-password.d.ts +8 -2
- package/input/input.d.ts +9 -18
- package/link/_link-theme.scss +17 -8
- package/link/link.component.d.ts +13 -9
- package/list/list-selection.component.d.ts +8 -10
- package/loader-overlay/_loader-overlay-theme.scss +18 -8
- package/loader-overlay/loader-overlay-tokens.scss +6 -3
- package/loader-overlay/loader-overlay.component.d.ts +7 -2
- package/loader-overlay/loader-overlay.scss +19 -5
- package/package.json +4 -4
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/prebuilt-themes/theme.css +1 -1
- package/progress-bar/progress-bar.component.d.ts +4 -12
- package/progress-spinner/progress-spinner.component.d.ts +4 -12
- package/radio/radio.component.d.ts +11 -25
- package/schematics/collection.json +10 -0
- package/schematics/migrations/css-selectors/README.md +19 -0
- package/schematics/migrations/deprecated-icons/README.md +21 -0
- package/schematics/migrations/empty-state-size-attr/README.md +62 -0
- package/schematics/migrations/empty-state-size-attr/index.js +74 -0
- package/schematics/migrations/empty-state-size-attr/schema.json +15 -0
- package/schematics/migrations/loader-overlay-size-attr/README.md +62 -0
- package/schematics/migrations/loader-overlay-size-attr/index.js +74 -0
- package/schematics/migrations/loader-overlay-size-attr/schema.json +15 -0
- package/schematics/migrations/new-icons-pack/README.md +21 -0
- package/schematics/ng-add/index.js +2 -2
- package/schematics/utils/angular-parsing.js +153 -0
- package/schematics/utils/ast.js +28 -0
- package/schematics/utils/package-config.js +46 -0
- package/schematics/utils/typescript.js +171 -0
- package/select/select.component.d.ts +26 -25
- package/tabs/paginated-tab-header.d.ts +2 -1
- package/tabs/tab-group.component.d.ts +11 -13
- package/tabs/tab-header.component.d.ts +1 -1
- package/tabs/tab-label-wrapper.directive.d.ts +6 -8
- package/tabs/tab.component.d.ts +7 -8
- package/tags/tag-list.component.d.ts +15 -18
- package/tags/tag.component.d.ts +3 -10
- package/textarea/textarea.component.d.ts +8 -17
- package/toggle/toggle.component.d.ts +8 -12
- package/tree/toggle.d.ts +7 -9
- package/tree/tree-selection.component.d.ts +2 -2
- package/tree-select/tree-select.component.d.ts +24 -26
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AfterViewInit, DoCheck, ElementRef, EventEmitter, QueryList, TemplateRef } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import {
|
|
3
|
+
import { ErrorStateMatcher } from '@koobiq/components/core';
|
|
4
4
|
import { ProgressSpinnerMode } from '@koobiq/components/progress-spinner';
|
|
5
5
|
import { KbqFile, KbqFileItem, KbqFileUploadBase, KbqFileValidatorFn, KbqInputFile, KbqInputFileLabel } from './file-upload';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -14,7 +14,7 @@ export interface KbqInputFileMultipleLabel extends KbqInputFileLabel {
|
|
|
14
14
|
[k: string | number | symbol]: unknown;
|
|
15
15
|
}
|
|
16
16
|
export declare const KBQ_MULTIPLE_FILE_UPLOAD_DEFAULT_CONFIGURATION: KbqInputFileMultipleLabel;
|
|
17
|
-
export declare class KbqMultipleFileUploadComponent extends KbqFileUploadBase implements AfterViewInit, KbqInputFile,
|
|
17
|
+
export declare class KbqMultipleFileUploadComponent extends KbqFileUploadBase implements AfterViewInit, KbqInputFile, ControlValueAccessor, DoCheck {
|
|
18
18
|
/**
|
|
19
19
|
* A value responsible for progress spinner type.
|
|
20
20
|
* Loading logic depends on selected mode */
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { AfterViewInit, DoCheck, ElementRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import {
|
|
3
|
+
import { ErrorStateMatcher } from '@koobiq/components/core';
|
|
4
4
|
import { ProgressSpinnerMode } from '@koobiq/components/progress-spinner';
|
|
5
5
|
import { KbqFile, KbqFileItem, KbqFileUploadBase, KbqFileValidatorFn, KbqInputFile, KbqInputFileLabel } from './file-upload';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare const KBQ_SINGLE_FILE_UPLOAD_DEFAULT_CONFIGURATION: KbqInputFileLabel;
|
|
8
|
-
export declare class KbqSingleFileUploadComponent extends KbqFileUploadBase implements AfterViewInit, KbqInputFile,
|
|
8
|
+
export declare class KbqSingleFileUploadComponent extends KbqFileUploadBase implements AfterViewInit, KbqInputFile, ControlValueAccessor, DoCheck {
|
|
9
9
|
/**
|
|
10
10
|
* A value responsible for progress spinner type.
|
|
11
11
|
* Loading logic depends on selected mode */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FocusMonitor, FocusOrigin } from '@angular/cdk/a11y';
|
|
2
2
|
import { AfterContentChecked, AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, QueryList } from '@angular/core';
|
|
3
3
|
import { NgControl } from '@angular/forms';
|
|
4
|
-
import {
|
|
4
|
+
import { KbqColorDirective } from '@koobiq/components/core';
|
|
5
5
|
import { KbqCleaner } from './cleaner';
|
|
6
6
|
import { KbqFormFieldControl } from './form-field-control';
|
|
7
7
|
import { KbqHint } from './hint';
|
|
@@ -11,15 +11,7 @@ import { KbqPrefix } from './prefix';
|
|
|
11
11
|
import { KbqStepper } from './stepper';
|
|
12
12
|
import { KbqSuffix } from './suffix';
|
|
13
13
|
import * as i0 from "@angular/core";
|
|
14
|
-
|
|
15
|
-
export declare class KbqFormFieldBase {
|
|
16
|
-
elementRef: ElementRef;
|
|
17
|
-
constructor(elementRef: ElementRef);
|
|
18
|
-
}
|
|
19
|
-
/** @docs-private */
|
|
20
|
-
export declare const KbqFormFieldMixinBase: CanColorCtor & typeof KbqFormFieldBase;
|
|
21
|
-
export declare class KbqFormField extends KbqFormFieldMixinBase implements AfterContentInit, AfterContentChecked, AfterViewInit, CanColor, OnDestroy {
|
|
22
|
-
elementRef: ElementRef;
|
|
14
|
+
export declare class KbqFormField extends KbqColorDirective implements AfterContentInit, AfterContentChecked, AfterViewInit, OnDestroy {
|
|
23
15
|
private changeDetectorRef;
|
|
24
16
|
private focusMonitor;
|
|
25
17
|
control: KbqFormFieldControl<any>;
|
|
@@ -47,7 +39,7 @@ export declare class KbqFormField extends KbqFormFieldMixinBase implements After
|
|
|
47
39
|
get canShowCleaner(): boolean;
|
|
48
40
|
get disabled(): boolean;
|
|
49
41
|
get canShowStepper(): boolean;
|
|
50
|
-
constructor(
|
|
42
|
+
constructor(changeDetectorRef: ChangeDetectorRef, focusMonitor: FocusMonitor);
|
|
51
43
|
ngAfterContentInit(): void;
|
|
52
44
|
ngAfterContentChecked(): void;
|
|
53
45
|
ngAfterViewInit(): void;
|
|
@@ -74,7 +66,7 @@ export declare class KbqFormField extends KbqFormFieldMixinBase implements After
|
|
|
74
66
|
/** Throws an error if the form field's control is missing. */
|
|
75
67
|
protected validateControlChild(): void;
|
|
76
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqFormField, never>;
|
|
77
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqFormField, "kbq-form-field", ["kbqFormField"], {
|
|
69
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqFormField, "kbq-form-field", ["kbqFormField"], {}, {}, ["control", "stepper", "cleaner", "passwordToggle", "hint", "passwordHints", "suffix", "prefix"], ["[kbqPrefix]", "*", "[kbqSuffix]", "kbq-cleaner", "kbq-password-toggle", "kbq-stepper", "kbq-hint, kbq-password-hint"], false, never>;
|
|
78
70
|
}
|
|
79
71
|
export declare class KbqFormFieldWithoutBorders {
|
|
80
72
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqFormFieldWithoutBorders, never>;
|
package/form-field/hint.d.ts
CHANGED
|
@@ -1,20 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { CanColorCtor } from '@koobiq/components/core';
|
|
1
|
+
import { KbqColorDirective } from '@koobiq/components/core';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
|
-
|
|
5
|
-
export declare class KbqHintBase {
|
|
6
|
-
elementRef: ElementRef;
|
|
7
|
-
constructor(elementRef: ElementRef);
|
|
8
|
-
}
|
|
9
|
-
/** @docs-private */
|
|
10
|
-
export declare const KbqHintMixinBase: CanColorCtor & typeof KbqHintBase;
|
|
11
|
-
export declare class KbqHint extends KbqHintMixinBase {
|
|
3
|
+
export declare class KbqHint extends KbqColorDirective {
|
|
12
4
|
id: string;
|
|
13
5
|
fillTextOff: boolean;
|
|
14
6
|
compact: boolean;
|
|
15
|
-
constructor(elementRef: ElementRef);
|
|
16
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqHint, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqHint, "kbq-hint", ["kbqHint"], { "
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqHint, "kbq-hint", ["kbqHint"], { "id": { "alias": "id"; "required": false; }; "fillTextOff": { "alias": "fillTextOff"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; }, {}, never, ["[kbq-icon]", "*"], false, never>;
|
|
18
9
|
static ngAcceptInputType_fillTextOff: unknown;
|
|
19
10
|
static ngAcceptInputType_compact: unknown;
|
|
20
11
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterContentInit, ChangeDetectorRef,
|
|
1
|
+
import { AfterContentInit, ChangeDetectorRef, QueryList } from '@angular/core';
|
|
2
2
|
import { KbqFormField } from './form-field';
|
|
3
3
|
import { KbqHint } from './hint';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -34,13 +34,13 @@ export declare class KbqPasswordHint extends KbqHint implements AfterContentInit
|
|
|
34
34
|
private checkRule;
|
|
35
35
|
private get control();
|
|
36
36
|
private lastControlValue;
|
|
37
|
-
constructor(
|
|
37
|
+
constructor(changeDetectorRef: ChangeDetectorRef, formField: any);
|
|
38
38
|
ngAfterContentInit(): void;
|
|
39
39
|
private checkValue;
|
|
40
40
|
private checkLengthRule;
|
|
41
41
|
private checkRegexRule;
|
|
42
42
|
private checkSpecialSymbolsRegexRule;
|
|
43
43
|
private isValueChanged;
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KbqPasswordHint, [null,
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqPasswordHint, [null, { optional: true; }]>;
|
|
45
45
|
static ɵcmp: i0.ɵɵComponentDeclaration<KbqPasswordHint, "kbq-password-hint", never, { "id": { "alias": "id"; "required": false; }; "rule": { "alias": "rule"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "regex": { "alias": "regex"; "required": false; }; "customCheckRule": { "alias": "checkRule"; "required": false; }; "viewFormField": { "alias": "viewFormField"; "required": false; }; "fillTextOff": { "alias": "fillTextOff"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
46
46
|
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
2
|
-
import { AfterViewInit,
|
|
3
|
-
import { CanColor, KbqFormFieldRef } from '@koobiq/components/core';
|
|
2
|
+
import { AfterViewInit, OnDestroy } from '@angular/core';
|
|
4
3
|
import { KbqIcon } from './icon.component';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class KbqIconButton extends KbqIcon implements AfterViewInit, OnDestroy
|
|
7
|
-
protected
|
|
8
|
-
private focusMonitor;
|
|
5
|
+
export declare class KbqIconButton extends KbqIcon implements AfterViewInit, OnDestroy {
|
|
6
|
+
protected readonly focusMonitor: FocusMonitor;
|
|
9
7
|
small: boolean;
|
|
10
8
|
/** Name of an icon within a @koobiq/icons. */
|
|
11
9
|
iconName: string;
|
|
@@ -17,12 +15,11 @@ export declare class KbqIconButton extends KbqIcon implements AfterViewInit, OnD
|
|
|
17
15
|
set disabled(value: boolean);
|
|
18
16
|
private _disabled;
|
|
19
17
|
name: string;
|
|
20
|
-
constructor(elementRef: ElementRef, formField: KbqFormFieldRef, changeDetectorRef: ChangeDetectorRef, focusMonitor: FocusMonitor);
|
|
21
18
|
ngAfterViewInit(): void;
|
|
22
19
|
ngOnDestroy(): void;
|
|
23
20
|
private runFocusMonitor;
|
|
24
21
|
private stopFocusMonitor;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KbqIconButton,
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqIconButton, "[kbq-icon-button]", never, { "
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqIconButton, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqIconButton, "[kbq-icon-button]", never, { "small": { "alias": "small"; "required": false; }; "iconName": { "alias": "kbq-icon-button"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
27
24
|
static ngAcceptInputType_disabled: unknown;
|
|
28
25
|
}
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
|
-
import { CanColor, KbqFormFieldRef } from '@koobiq/components/core';
|
|
3
1
|
import { KbqIcon } from './icon.component';
|
|
4
2
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class KbqIconItem extends KbqIcon
|
|
6
|
-
protected changeDetectorRef: ChangeDetectorRef;
|
|
3
|
+
export declare class KbqIconItem extends KbqIcon {
|
|
7
4
|
name: string;
|
|
8
5
|
/** Name of an icon within a @koobiq/icons. */
|
|
9
6
|
iconName: string;
|
|
10
7
|
fade: boolean;
|
|
11
8
|
big: boolean;
|
|
12
|
-
|
|
13
|
-
static
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqIconItem, "[kbq-icon-item]", never, { "color": { "alias": "color"; "required": false; }; "iconName": { "alias": "kbq-icon-item"; "required": false; }; "fade": { "alias": "fade"; "required": false; }; "big": { "alias": "big"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqIconItem, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqIconItem, "[kbq-icon-item]", never, { "iconName": { "alias": "kbq-icon-item"; "required": false; }; "fade": { "alias": "fade"; "required": false; }; "big": { "alias": "big"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
15
11
|
}
|
package/icon/icon.component.d.ts
CHANGED
|
@@ -1,27 +1,20 @@
|
|
|
1
1
|
import { AfterContentInit, ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { KbqColorDirective } from '@koobiq/components/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
/** @docs-private */
|
|
10
|
-
export declare const KbqIconMixinBase: CanColorCtor & typeof KbqIconBase;
|
|
11
|
-
export declare class KbqIcon extends KbqIconMixinBase implements CanColor, AfterContentInit {
|
|
12
|
-
protected formField: KbqFormFieldRef;
|
|
13
|
-
protected changeDetectorRef: ChangeDetectorRef;
|
|
4
|
+
export declare class KbqIcon extends KbqColorDirective implements AfterContentInit {
|
|
5
|
+
readonly elementRef: ElementRef<any>;
|
|
6
|
+
protected readonly formField: import("@koobiq/components/core").KbqFormFieldRef | null;
|
|
7
|
+
protected readonly changeDetectorRef: ChangeDetectorRef;
|
|
14
8
|
small: boolean;
|
|
15
9
|
autoColor: boolean;
|
|
16
10
|
hasError: boolean;
|
|
17
11
|
/** Name of an icon within a @koobiq/icons. */
|
|
18
12
|
iconName: string;
|
|
19
13
|
protected name: string;
|
|
20
|
-
constructor(elementRef: ElementRef, formField: KbqFormFieldRef, changeDetectorRef: ChangeDetectorRef);
|
|
21
14
|
getHostElement(): any;
|
|
22
15
|
updateMaxHeight(): void;
|
|
23
16
|
ngAfterContentInit(): void;
|
|
24
17
|
private updateState;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KbqIcon,
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqIcon, "[kbq-icon]", never, { "
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqIcon, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqIcon, "[kbq-icon]", never, { "small": { "alias": "small"; "required": false; }; "autoColor": { "alias": "autoColor"; "required": false; }; "iconName": { "alias": "kbq-icon"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
27
20
|
}
|
|
@@ -3,10 +3,15 @@ import { FormGroupDirective, NgControl, NgForm } from '@angular/forms';
|
|
|
3
3
|
import { CanUpdateErrorState, ErrorStateMatcher } from '@koobiq/components/core';
|
|
4
4
|
import { KbqFormFieldControl } from '@koobiq/components/form-field';
|
|
5
5
|
import { Subject } from 'rxjs';
|
|
6
|
-
import { KbqInputMixinBase } from './input';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class KbqInputPassword
|
|
7
|
+
export declare class KbqInputPassword implements KbqFormFieldControl<any>, OnChanges, OnDestroy, DoCheck, OnChanges, CanUpdateErrorState {
|
|
9
8
|
protected elementRef: ElementRef;
|
|
9
|
+
ngControl: NgControl;
|
|
10
|
+
parentForm: NgForm;
|
|
11
|
+
parentFormGroup: FormGroupDirective;
|
|
12
|
+
defaultErrorStateMatcher: ErrorStateMatcher;
|
|
13
|
+
/** Whether the component is in an error state. */
|
|
14
|
+
errorState: boolean;
|
|
10
15
|
/** An object used to control when error messages are shown. */
|
|
11
16
|
errorStateMatcher: ErrorStateMatcher;
|
|
12
17
|
/**
|
|
@@ -70,6 +75,7 @@ export declare class KbqInputPassword extends KbqInputMixinBase implements KbqFo
|
|
|
70
75
|
ngOnChanges(): void;
|
|
71
76
|
ngOnDestroy(): void;
|
|
72
77
|
ngDoCheck(): void;
|
|
78
|
+
updateErrorState(): void;
|
|
73
79
|
checkRules(): void;
|
|
74
80
|
toggleType(): void;
|
|
75
81
|
/** Focuses the input. */
|
package/input/input.d.ts
CHANGED
|
@@ -1,29 +1,19 @@
|
|
|
1
1
|
import { DoCheck, ElementRef, OnChanges, OnDestroy } from '@angular/core';
|
|
2
2
|
import { FormGroupDirective, NgControl, NgForm } from '@angular/forms';
|
|
3
|
-
import { CanUpdateErrorState,
|
|
3
|
+
import { CanUpdateErrorState, ErrorStateMatcher } from '@koobiq/components/core';
|
|
4
4
|
import { KbqFormFieldControl } from '@koobiq/components/form-field';
|
|
5
5
|
import { Subject } from 'rxjs';
|
|
6
6
|
import { KbqNumberInput } from './input-number';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
-
|
|
9
|
-
export declare class KbqInputBase {
|
|
10
|
-
defaultErrorStateMatcher: ErrorStateMatcher;
|
|
11
|
-
parentForm: NgForm;
|
|
12
|
-
parentFormGroup: FormGroupDirective;
|
|
13
|
-
ngControl: NgControl;
|
|
14
|
-
/**
|
|
15
|
-
* Emits whenever the component state changes and should cause the parent
|
|
16
|
-
* form-field to update. Implemented as part of `KbqFormFieldControl`.
|
|
17
|
-
* @docs-private
|
|
18
|
-
*/
|
|
19
|
-
readonly stateChanges: Subject<void>;
|
|
20
|
-
constructor(defaultErrorStateMatcher: ErrorStateMatcher, parentForm: NgForm, parentFormGroup: FormGroupDirective, ngControl: NgControl);
|
|
21
|
-
}
|
|
22
|
-
/** @docs-private */
|
|
23
|
-
export declare const KbqInputMixinBase: CanUpdateErrorStateCtor & typeof KbqInputBase;
|
|
24
|
-
export declare class KbqInput extends KbqInputMixinBase implements KbqFormFieldControl<any>, OnChanges, OnDestroy, DoCheck, CanUpdateErrorState, OnChanges {
|
|
8
|
+
export declare class KbqInput implements KbqFormFieldControl<any>, OnChanges, OnDestroy, DoCheck, OnChanges, CanUpdateErrorState {
|
|
25
9
|
protected elementRef: ElementRef;
|
|
10
|
+
ngControl: NgControl;
|
|
26
11
|
numberInput: KbqNumberInput;
|
|
12
|
+
parentForm: NgForm;
|
|
13
|
+
parentFormGroup: FormGroupDirective;
|
|
14
|
+
defaultErrorStateMatcher: ErrorStateMatcher;
|
|
15
|
+
/** Whether the component is in an error state. */
|
|
16
|
+
errorState: boolean;
|
|
27
17
|
/** An object used to control when error messages are shown. */
|
|
28
18
|
errorStateMatcher: ErrorStateMatcher;
|
|
29
19
|
/**
|
|
@@ -85,6 +75,7 @@ export declare class KbqInput extends KbqInputMixinBase implements KbqFormFieldC
|
|
|
85
75
|
ngOnChanges(): void;
|
|
86
76
|
ngOnDestroy(): void;
|
|
87
77
|
ngDoCheck(): void;
|
|
78
|
+
updateErrorState(): void;
|
|
88
79
|
/** Focuses the input. */
|
|
89
80
|
focus(): void;
|
|
90
81
|
onBlur(): void;
|
package/link/_link-theme.scss
CHANGED
|
@@ -21,9 +21,8 @@
|
|
|
21
21
|
border-bottom-color: transparent;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
&.kbq-text-with-icon {
|
|
25
|
-
|
|
26
|
-
align-items: center;
|
|
24
|
+
&.kbq-text-with-icon .kbq-icon {
|
|
25
|
+
vertical-align: baseline;
|
|
27
26
|
}
|
|
28
27
|
|
|
29
28
|
&.kbq-text-with-icon .kbq-link__text {
|
|
@@ -37,13 +36,23 @@
|
|
|
37
36
|
}
|
|
38
37
|
|
|
39
38
|
&.kbq-link_compact {
|
|
40
|
-
&.kbq-text-with-icon
|
|
41
|
-
|
|
42
|
-
|
|
39
|
+
&.kbq-text-with-icon {
|
|
40
|
+
.kbq-icon.kbq-icon_left {
|
|
41
|
+
vertical-align: text-top;
|
|
43
42
|
}
|
|
44
43
|
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
.kbq-icon.kbq-icon_right {
|
|
45
|
+
vertical-align: middle;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.kbq-link__text {
|
|
49
|
+
&:not(:first-child) {
|
|
50
|
+
margin-left: var(--kbq-link-size-compact-content-padding);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&:not(:last-child) {
|
|
54
|
+
margin-right: var(--kbq-link-size-compact-content-padding);
|
|
55
|
+
}
|
|
47
56
|
}
|
|
48
57
|
}
|
|
49
58
|
}
|
package/link/link.component.d.ts
CHANGED
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
2
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy } from '@angular/core';
|
|
3
|
-
import { CanDisable, CanDisableCtor, HasTabIndex, HasTabIndexCtor } from '@koobiq/components/core';
|
|
2
|
+
import { AfterContentInit, AfterViewInit, ChangeDetectorRef, DestroyRef, ElementRef, OnDestroy, QueryList, Renderer2 } from '@angular/core';
|
|
4
3
|
import { KbqIcon } from '@koobiq/components/icon';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
|
-
/** @docs-private */
|
|
7
|
-
export declare class KbqLinkBase {
|
|
8
|
-
}
|
|
9
|
-
/** @docs-private */
|
|
10
|
-
export declare const KbqLinkMixinBase: HasTabIndexCtor & CanDisableCtor & typeof KbqLinkBase;
|
|
11
5
|
export declare const baseURLRegex: RegExp;
|
|
12
|
-
export declare class KbqLink
|
|
6
|
+
export declare class KbqLink implements AfterContentInit, AfterViewInit, OnDestroy {
|
|
13
7
|
private elementRef;
|
|
14
8
|
private focusMonitor;
|
|
15
9
|
private changeDetector;
|
|
10
|
+
protected readonly renderer: Renderer2;
|
|
11
|
+
protected readonly destroyRef: DestroyRef;
|
|
12
|
+
protected readonly nativeElement: any;
|
|
13
|
+
icons: QueryList<ElementRef>;
|
|
16
14
|
/** Whether the link is disabled. */
|
|
17
15
|
get disabled(): boolean;
|
|
18
16
|
set disabled(value: boolean);
|
|
19
17
|
private _disabled;
|
|
18
|
+
get tabIndex(): number;
|
|
19
|
+
set tabIndex(value: number);
|
|
20
|
+
private _tabIndex;
|
|
20
21
|
pseudo: boolean;
|
|
21
22
|
noUnderline: boolean;
|
|
22
23
|
big: boolean;
|
|
@@ -33,10 +34,13 @@ export declare class KbqLink extends KbqLinkMixinBase implements AfterViewInit,
|
|
|
33
34
|
ngOnDestroy(): void;
|
|
34
35
|
focus(): void;
|
|
35
36
|
getHostElement(): any;
|
|
37
|
+
ngAfterContentInit(): void;
|
|
38
|
+
private updateClassModifierForIcons;
|
|
36
39
|
private updatePrintUrl;
|
|
37
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqLink, never>;
|
|
38
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqLink, "[kbq-link]", ["kbqLink"], { "
|
|
41
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqLink, "[kbq-link]", ["kbqLink"], { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "pseudo": { "alias": "pseudo"; "required": false; }; "noUnderline": { "alias": "noUnderline"; "required": false; }; "big": { "alias": "big"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "useVisited": { "alias": "useVisited"; "required": false; }; "print": { "alias": "print"; "required": false; }; }, {}, ["icon", "icons"], never, false, never>;
|
|
39
42
|
static ngAcceptInputType_disabled: unknown;
|
|
43
|
+
static ngAcceptInputType_tabIndex: unknown;
|
|
40
44
|
static ngAcceptInputType_pseudo: unknown;
|
|
41
45
|
static ngAcceptInputType_noUnderline: unknown;
|
|
42
46
|
static ngAcceptInputType_big: unknown;
|
|
@@ -4,7 +4,7 @@ import { SelectionModel } from '@angular/cdk/collections';
|
|
|
4
4
|
import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnDestroy, OnInit, QueryList } from '@angular/core';
|
|
5
5
|
import { ControlValueAccessor } from '@angular/forms';
|
|
6
6
|
import { FocusKeyManager, IFocusableOption } from '@koobiq/cdk/a11y';
|
|
7
|
-
import {
|
|
7
|
+
import { KbqOptgroup, KbqOptionActionComponent, KbqTitleTextRef, MultipleMode } from '@koobiq/components/core';
|
|
8
8
|
import { KbqDropdownTrigger } from '@koobiq/components/dropdown';
|
|
9
9
|
import { KbqTooltipTrigger } from '@koobiq/components/tooltip';
|
|
10
10
|
import { Observable, Subject } from 'rxjs';
|
|
@@ -28,14 +28,8 @@ export declare class KbqListCopyEvent<T> {
|
|
|
28
28
|
option: T;
|
|
29
29
|
constructor(source: KbqListSelection, option: T);
|
|
30
30
|
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
elementRef: ElementRef;
|
|
34
|
-
constructor(elementRef: ElementRef);
|
|
35
|
-
}
|
|
36
|
-
/** @docs-private */
|
|
37
|
-
export declare const KbqListSelectionMixinBase: CanDisableCtor & HasTabIndexCtor & typeof KbqListSelectionBase;
|
|
38
|
-
export declare class KbqListSelection extends KbqListSelectionMixinBase implements CanDisable, HasTabIndex, AfterContentInit, AfterViewInit, OnDestroy, ControlValueAccessor {
|
|
31
|
+
export declare class KbqListSelection implements AfterContentInit, AfterViewInit, OnDestroy, ControlValueAccessor {
|
|
32
|
+
private elementRef;
|
|
39
33
|
private changeDetectorRef;
|
|
40
34
|
private clipboard;
|
|
41
35
|
protected readonly focusMonitor: FocusMonitor;
|
|
@@ -55,6 +49,9 @@ export declare class KbqListSelection extends KbqListSelectionMixinBase implemen
|
|
|
55
49
|
get tabIndex(): any;
|
|
56
50
|
set tabIndex(value: any);
|
|
57
51
|
private _tabIndex;
|
|
52
|
+
get disabled(): boolean;
|
|
53
|
+
set disabled(value: boolean);
|
|
54
|
+
private _disabled;
|
|
58
55
|
/**
|
|
59
56
|
* Function used for comparing an option against the selected value when determining which
|
|
60
57
|
* options should appear as selected. The first argument is the value of an options. The second
|
|
@@ -117,8 +114,9 @@ export declare class KbqListSelection extends KbqListSelectionMixinBase implemen
|
|
|
117
114
|
private selectAllOptions;
|
|
118
115
|
private copyActiveOption;
|
|
119
116
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqListSelection, [null, null, { attribute: "multiple"; }, { optional: true; }]>;
|
|
120
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqListSelection, "kbq-list-selection", ["kbqListSelection"], { "
|
|
117
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqListSelection, "kbq-list-selection", ["kbqListSelection"], { "autoSelect": { "alias": "autoSelect"; "required": false; }; "noUnselectLast": { "alias": "noUnselectLast"; "required": false; }; "horizontal": { "alias": "horizontal"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; }, { "onSelectAll": "onSelectAll"; "onCopy": "onCopy"; "selectionChange": "selectionChange"; }, ["options"], ["*"], false, never>;
|
|
121
118
|
static ngAcceptInputType_horizontal: unknown;
|
|
119
|
+
static ngAcceptInputType_disabled: unknown;
|
|
122
120
|
}
|
|
123
121
|
export declare class KbqListOptionCaption {
|
|
124
122
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqListOptionCaption, never>;
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
background: var(--kbq-loader-overlay-filled-overlay-background);
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
.kbq-loader-overlay-text {
|
|
11
11
|
color: var(--kbq-loader-overlay-filled-text-color);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
.kbq-loader-overlay-caption {
|
|
15
15
|
color: var(--kbq-loader-overlay-filled-caption-color);
|
|
16
16
|
}
|
|
17
17
|
}
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
background: var(--kbq-loader-overlay-transparent-overlay-background);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
.kbq-loader-overlay-text {
|
|
25
25
|
color: var(--kbq-loader-overlay-transparent-text-color);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
.kbq-loader-overlay-caption {
|
|
29
29
|
color: var(--kbq-loader-overlay-transparent-caption-color);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -33,21 +33,31 @@
|
|
|
33
33
|
|
|
34
34
|
@mixin kbq-loader-overlay-typography() {
|
|
35
35
|
.kbq-loader-overlay_big {
|
|
36
|
-
|
|
36
|
+
.kbq-loader-overlay-text {
|
|
37
|
+
@include kbq-typography-level-to-styles-css-variables(typography, headline);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.kbq-loader-overlay-caption {
|
|
41
|
+
@include kbq-typography-level-to-styles-css-variables(typography, text-big);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.kbq-loader-overlay_normal {
|
|
46
|
+
.kbq-loader-overlay-text {
|
|
37
47
|
@include kbq-typography-level-to-styles-css-variables(typography, subheading);
|
|
38
48
|
}
|
|
39
49
|
|
|
40
|
-
|
|
50
|
+
.kbq-loader-overlay-caption {
|
|
41
51
|
@include kbq-typography-level-to-styles-css-variables(typography, text-normal);
|
|
42
52
|
}
|
|
43
53
|
}
|
|
44
54
|
|
|
45
55
|
.kbq-loader-overlay_compact {
|
|
46
|
-
|
|
56
|
+
.kbq-loader-overlay-text {
|
|
47
57
|
@include kbq-typography-level-to-styles-css-variables(typography, text-normal);
|
|
48
58
|
}
|
|
49
59
|
|
|
50
|
-
|
|
60
|
+
.kbq-loader-overlay-caption {
|
|
51
61
|
@include kbq-typography-level-to-styles-css-variables(typography, text-compact);
|
|
52
62
|
}
|
|
53
63
|
}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
.kbq-loader-overlay {
|
|
1
|
+
:where(.kbq-loader-overlay) {
|
|
2
2
|
--kbq-loader-overlay-size-big-overlay-padding-horizontal: var(--kbq-size-3xl);
|
|
3
3
|
--kbq-loader-overlay-size-big-loader-margin-bottom: var(--kbq-size-xxl);
|
|
4
|
-
--kbq-loader-overlay-size-big-content-content-gap-vertical: var(--kbq-size-
|
|
4
|
+
--kbq-loader-overlay-size-big-content-content-gap-vertical: var(--kbq-size-l);
|
|
5
|
+
--kbq-loader-overlay-size-normal-overlay-padding-horizontal: var(--kbq-sizeа-3xl);
|
|
6
|
+
--kbq-loader-overlay-size-normal-loader-margin-bottom: var(--kbq-size-xxl);
|
|
7
|
+
--kbq-loader-overlay-size-normal-content-content-gap-vertical: var(--kbq-size-xxs);
|
|
5
8
|
--kbq-loader-overlay-size-compact-overlay-padding-horizontal: var(--kbq-size-3xl);
|
|
6
9
|
--kbq-loader-overlay-size-compact-loader-margin-bottom: var(--kbq-size-s);
|
|
7
|
-
--kbq-loader-overlay-size-compact-content-content-gap-vertical: var(--kbq-size-
|
|
10
|
+
--kbq-loader-overlay-size-compact-content-content-gap-vertical: var(--kbq-size-xxs);
|
|
8
11
|
/* THEME TOKENS */
|
|
9
12
|
--kbq-loader-overlay-transparent-overlay-background: var(--kbq-background-overlay-inverse);
|
|
10
13
|
--kbq-loader-overlay-transparent-text-color: var(--kbq-foreground-contrast);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ElementRef, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
+
import { KbqDefaultSizes } from '@koobiq/components/core';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class KbqLoaderOverlayIndicator {
|
|
4
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqLoaderOverlayIndicator, never>;
|
|
@@ -17,7 +18,7 @@ export declare class KbqLoaderOverlay implements OnInit, OnDestroy {
|
|
|
17
18
|
private renderer;
|
|
18
19
|
text: string;
|
|
19
20
|
caption: string;
|
|
20
|
-
|
|
21
|
+
size: KbqDefaultSizes;
|
|
21
22
|
transparent: boolean;
|
|
22
23
|
private parent;
|
|
23
24
|
get isExternalIndicator(): boolean;
|
|
@@ -25,6 +26,10 @@ export declare class KbqLoaderOverlay implements OnInit, OnDestroy {
|
|
|
25
26
|
get isExternalCaption(): boolean;
|
|
26
27
|
get isEmpty(): boolean;
|
|
27
28
|
get spinnerSize(): string;
|
|
29
|
+
/**
|
|
30
|
+
* @docs-private
|
|
31
|
+
*/
|
|
32
|
+
protected get loaderSizeClass(): string;
|
|
28
33
|
externalIndicator: KbqLoaderOverlayIndicator | null;
|
|
29
34
|
externalText: KbqLoaderOverlayText | null;
|
|
30
35
|
externalCaption: KbqLoaderOverlayCaption | null;
|
|
@@ -32,5 +37,5 @@ export declare class KbqLoaderOverlay implements OnInit, OnDestroy {
|
|
|
32
37
|
ngOnInit(): void;
|
|
33
38
|
ngOnDestroy(): void;
|
|
34
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqLoaderOverlay, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqLoaderOverlay, "kbq-loader-overlay", never, { "text": { "alias": "text"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqLoaderOverlay, "kbq-loader-overlay", never, { "text": { "alias": "text"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "size": { "alias": "size"; "required": false; }; "transparent": { "alias": "transparent"; "required": false; }; }, {}, ["externalIndicator", "externalText", "externalCaption"], ["[kbq-loader-overlay-indicator]", "[kbq-loader-overlay-text]", "[kbq-loader-overlay-caption]"], false, never>;
|
|
36
41
|
}
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
// todo
|
|
31
31
|
z-index: 10;
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
.kbq-loader-overlay__container {
|
|
34
34
|
display: flex;
|
|
35
35
|
flex-direction: column;
|
|
36
36
|
|
|
@@ -46,25 +46,39 @@
|
|
|
46
46
|
|
|
47
47
|
padding-right: var(--kbq-loader-overlay-size-big-overlay-padding-horizontal);
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
.kbq-progress-spinner {
|
|
50
50
|
margin-bottom: var(--kbq-loader-overlay-size-big-loader-margin-bottom);
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
.kbq-loader-overlay-text {
|
|
54
54
|
margin-bottom: var(--kbq-loader-overlay-size-big-content-content-gap-vertical);
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
+
&.kbq-loader-overlay_normal {
|
|
59
|
+
padding-left: var(--kbq-loader-overlay-size-normal-overlay-padding-horizontal);
|
|
60
|
+
|
|
61
|
+
padding-right: var(--kbq-loader-overlay-size-normal-overlay-padding-horizontal);
|
|
62
|
+
|
|
63
|
+
.kbq-progress-spinner {
|
|
64
|
+
margin-bottom: var(--kbq-loader-overlay-size-normal-loader-margin-bottom);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.kbq-loader-overlay-text {
|
|
68
|
+
margin-bottom: var(--kbq-loader-overlay-size-normal-content-content-gap-vertical);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
58
72
|
&.kbq-loader-overlay_compact {
|
|
59
73
|
padding-left: var(--kbq-loader-overlay-size-compact-overlay-padding-horizontal);
|
|
60
74
|
|
|
61
75
|
padding-right: var(--kbq-loader-overlay-size-compact-overlay-padding-horizontal);
|
|
62
76
|
|
|
63
|
-
|
|
77
|
+
.kbq-progress-spinner {
|
|
64
78
|
margin-bottom: var(--kbq-loader-overlay-size-compact-loader-margin-bottom);
|
|
65
79
|
}
|
|
66
80
|
|
|
67
|
-
|
|
81
|
+
.kbq-loader-overlay-text {
|
|
68
82
|
margin-bottom: var(--kbq-loader-overlay-size-compact-content-content-gap-vertical);
|
|
69
83
|
}
|
|
70
84
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@koobiq/components",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.22.0",
|
|
4
4
|
"description": "koobiq",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"@angular/cdk": "^18.0.0",
|
|
25
25
|
"@angular/core": "^18.0.0",
|
|
26
26
|
"@angular/forms": "^18.0.0",
|
|
27
|
-
"@koobiq/cdk": "18.
|
|
28
|
-
"@koobiq/angular-moment-adapter": "18.
|
|
29
|
-
"@koobiq/angular-luxon-adapter": "18.
|
|
27
|
+
"@koobiq/cdk": "18.22.0",
|
|
28
|
+
"@koobiq/angular-moment-adapter": "18.22.0",
|
|
29
|
+
"@koobiq/angular-luxon-adapter": "18.22.0",
|
|
30
30
|
"@koobiq/date-formatter": "^3.2.3",
|
|
31
31
|
"@koobiq/icons": "^9.4.0",
|
|
32
32
|
"@koobiq/tokens-builder": "3.11.0",
|