@koobiq/components 18.25.0 → 18.27.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-theme.scss +1 -1
- package/breadcrumbs/breadcrumbs.scss +0 -1
- package/button/_button-theme.scss +1 -1
- package/button-toggle/_button-toggle-theme.scss +1 -1
- package/checkbox/checkbox-tokens.scss +0 -2
- package/checkbox/checkbox.scss +17 -11
- package/code-block/code-block.scss +2 -0
- package/core/locales/en-US.d.ts +1 -0
- package/core/locales/es-LA.d.ts +1 -0
- package/core/locales/fa-IR.d.ts +1 -0
- package/core/locales/locale-service.d.ts +7 -0
- package/core/locales/pt-BR.d.ts +1 -0
- package/core/locales/ru-RU.d.ts +1 -0
- package/core/locales/tk-TM.d.ts +1 -0
- package/core/locales/zh-CN.d.ts +1 -0
- package/core/option/_option-action-theme.scss +3 -3
- package/core/option/_option-theme.scss +1 -1
- package/core/option/option.d.ts +3 -1
- package/core/pop-up/pop-up-trigger.d.ts +2 -1
- package/core/styles/common/_select.scss +1 -2
- package/core/styles/typography/_typography.scss +2 -0
- package/core/styles/visual/_layout-media.scss +1 -0
- package/core/styles/visual/_layout.scss +2 -0
- package/dropdown/_dropdown-theme.scss +7 -7
- package/dropdown/dropdown.scss +3 -3
- package/esm2022/alert/alert.component.mjs +3 -2
- package/esm2022/badge/badge.component.mjs +2 -2
- package/esm2022/breadcrumbs/breadcrumbs.mjs +3 -3
- package/esm2022/button/button.component.mjs +2 -2
- package/esm2022/button-toggle/button-toggle.component.mjs +2 -2
- package/esm2022/checkbox/checkbox.mjs +2 -2
- package/esm2022/core/locales/en-US.mjs +3 -2
- package/esm2022/core/locales/es-LA.mjs +3 -2
- package/esm2022/core/locales/fa-IR.mjs +3 -2
- package/esm2022/core/locales/pt-BR.mjs +3 -2
- package/esm2022/core/locales/ru-RU.mjs +3 -2
- package/esm2022/core/locales/tk-TM.mjs +3 -2
- package/esm2022/core/locales/zh-CN.mjs +3 -2
- package/esm2022/core/option/action.mjs +2 -2
- package/esm2022/core/option/option.mjs +9 -5
- package/esm2022/core/pop-up/pop-up-trigger.mjs +9 -5
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/datepicker/calendar-header.component.mjs +1 -1
- package/esm2022/dropdown/dropdown.component.mjs +3 -3
- package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +1 -2
- package/esm2022/file-upload/multiple-file-upload.component.mjs +5 -6
- package/esm2022/file-upload/single-file-upload.component.mjs +8 -9
- package/esm2022/filter-bar/filter-bar.mjs +3 -3
- package/esm2022/filter-bar/filter-bar.types.mjs +4 -1
- package/esm2022/filter-bar/pipe-add.mjs +2 -2
- package/esm2022/filter-bar/pipes/base-pipe.mjs +2 -2
- package/esm2022/filter-bar/pipes/pipe-button.mjs +13 -6
- 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 +46 -5
- package/esm2022/filter-bar/pipes/pipe-readonly.mjs +71 -0
- package/esm2022/filter-bar/pipes/pipe-select.mjs +2 -2
- package/esm2022/filter-bar/pipes/pipe-state.mjs +9 -2
- package/esm2022/filter-bar/pipes/pipe-text.mjs +2 -2
- package/esm2022/filter-bar/public-api.mjs +2 -1
- package/esm2022/form-field/form-field.mjs +2 -2
- package/esm2022/form-field/hint.mjs +2 -2
- package/esm2022/form-field/password-hint.mjs +2 -2
- package/esm2022/input/input-number.mjs +2 -2
- package/esm2022/list/list-selection.component.mjs +2 -2
- package/esm2022/list/list.component.mjs +2 -2
- package/esm2022/modal/modal.component.mjs +2 -2
- package/esm2022/navbar/navbar-item.component.mjs +6 -4
- package/esm2022/navbar/navbar.component.mjs +4 -4
- package/esm2022/navbar/vertical-navbar.component.mjs +5 -4
- package/esm2022/popover/popover.component.mjs +20 -1
- package/esm2022/select/select.component.mjs +9 -5
- package/esm2022/sidepanel/sidepanel-container.component.mjs +2 -2
- package/esm2022/tags/tag-list.component.mjs +12 -6
- package/esm2022/timezone/timezone-option.component.mjs +2 -2
- package/esm2022/timezone/timezone-select.component.mjs +2 -2
- package/esm2022/toast/toast-container.component.mjs +2 -2
- package/esm2022/toast/toast.component.mjs +3 -3
- package/esm2022/toast/toast.service.mjs +18 -15
- package/esm2022/toast/toast.type.mjs +19 -2
- package/esm2022/toggle/toggle.component.mjs +18 -12
- package/esm2022/top-bar/top-bar.mjs +14 -6
- package/esm2022/tree/toggle.mjs +2 -2
- package/esm2022/tree/tree-selection.component.mjs +2 -2
- package/esm2022/tree/tree.mjs +2 -2
- package/esm2022/tree-select/tree-select.component.mjs +8 -4
- package/fesm2022/koobiq-components-alert.mjs +2 -1
- package/fesm2022/koobiq-components-alert.mjs.map +1 -1
- package/fesm2022/koobiq-components-badge.mjs +2 -2
- package/fesm2022/koobiq-components-badge.mjs.map +1 -1
- package/fesm2022/koobiq-components-breadcrumbs.mjs +2 -2
- package/fesm2022/koobiq-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/koobiq-components-button-toggle.mjs +2 -2
- package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-button.mjs +2 -2
- package/fesm2022/koobiq-components-button.mjs.map +1 -1
- package/fesm2022/koobiq-components-checkbox.mjs +2 -2
- package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +33 -18
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-dropdown.mjs +2 -2
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-ellipsis-center.mjs +0 -1
- package/fesm2022/koobiq-components-ellipsis-center.mjs.map +1 -1
- package/fesm2022/koobiq-components-file-upload.mjs +11 -13
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-filter-bar.mjs +139 -22
- package/fesm2022/koobiq-components-filter-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +6 -6
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-input.mjs +1 -1
- package/fesm2022/koobiq-components-input.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +4 -4
- package/fesm2022/koobiq-components-list.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 +11 -9
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +19 -0
- package/fesm2022/koobiq-components-popover.mjs.map +1 -1
- package/fesm2022/koobiq-components-select.mjs +8 -4
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidepanel.mjs +2 -2
- package/fesm2022/koobiq-components-tags.mjs +11 -5
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-timezone.mjs +4 -4
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-toast.mjs +40 -20
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/fesm2022/koobiq-components-toggle.mjs +16 -10
- package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-top-bar.mjs +13 -5
- package/fesm2022/koobiq-components-top-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +7 -3
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +6 -6
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/file-upload/_file-upload-theme.scss +17 -15
- package/file-upload/file-upload.scss +6 -3
- package/file-upload/multiple-file-upload.component.scss +2 -0
- package/file-upload/single-file-upload.component.scss +2 -0
- package/filter-bar/_filter-bar-theme.scss +1 -1
- package/filter-bar/filter-bar.types.d.ts +6 -3
- package/filter-bar/pipes/pipe-button.d.ts +4 -1
- package/filter-bar/pipes/pipe-multi-select.d.ts +15 -1
- package/filter-bar/pipes/pipe-readonly.d.ts +7 -0
- package/filter-bar/pipes/pipe-state.d.ts +6 -0
- package/filter-bar/public-api.d.ts +1 -0
- package/form-field/_form-field-theme.scss +2 -2
- package/form-field/_hint-theme.scss +1 -1
- package/link/_link-theme.scss +1 -1
- package/list/_list-theme.scss +11 -21
- package/list/list.scss +20 -6
- package/markdown/markdown.scss +2 -0
- package/modal/modal-tokens.scss +1 -1
- package/modal/modal.scss +8 -3
- package/navbar/_navbar-theme.scss +1 -1
- package/package.json +4 -4
- package/popover/popover.component.d.ts +5 -3
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/prebuilt-themes/theme.css +1 -1
- package/schematics/ng-add/index.js +2 -2
- package/scrollbar/scrollbar.component.scss +2 -0
- package/select/select.component.d.ts +1 -0
- package/sidepanel/sidepanel-tokens.scss +4 -4
- package/sidepanel/sidepanel.scss +1 -0
- package/tabs/_tabs-theme.scss +1 -1
- package/tags/_tag-theme.scss +1 -1
- package/textarea/textarea-tokens.scss +1 -1
- package/toast/toast-container.component.scss +29 -3
- package/toast/toast-tokens.scss +5 -1
- package/toast/toast.service.d.ts +0 -1
- package/toast/toast.type.d.ts +12 -2
- package/toggle/toggle.component.d.ts +6 -2
- package/toggle/toggle.scss +3 -0
- package/top-bar/top-bar-tokens.scss +4 -3
- package/top-bar/top-bar.d.ts +7 -0
- package/top-bar/top-bar.scss +27 -3
- package/tree/_tree-theme.scss +4 -4
- package/tree-select/tree-select.component.d.ts +1 -0
package/toast/toast.type.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InjectionToken, TemplateRef } from '@angular/core';
|
|
1
|
+
import { InjectionToken, Provider, TemplateRef } from '@angular/core';
|
|
2
2
|
export declare enum KbqToastStyle {
|
|
3
3
|
Contrast = "contrast",
|
|
4
4
|
Success = "success",
|
|
@@ -29,5 +29,15 @@ export interface KbqToastConfig {
|
|
|
29
29
|
duration: number;
|
|
30
30
|
delay: number;
|
|
31
31
|
onTop: boolean;
|
|
32
|
+
/** Custom indentation for positioning the toast stack overlay when using `GlobalPositionStrategy` */
|
|
33
|
+
indent: {
|
|
34
|
+
/** Vertical spacing from the top or bottom of the screen. */
|
|
35
|
+
vertical: number;
|
|
36
|
+
/** Horizontal spacing from the left or right of the screen. */
|
|
37
|
+
horizontal: number;
|
|
38
|
+
};
|
|
32
39
|
}
|
|
33
|
-
export declare const
|
|
40
|
+
export declare const defaultToastConfig: KbqToastConfig;
|
|
41
|
+
export declare const KBQ_TOAST_CONFIG: InjectionToken<KbqToastConfig>;
|
|
42
|
+
/** Utility provider for `KBQ_TOAST_CONFIG`. */
|
|
43
|
+
export declare const kbqToastConfigurationProvider: (configuration: Partial<KbqToastConfig>) => Provider;
|
|
@@ -39,6 +39,10 @@ export declare class KbqToggleComponent extends KbqColorDirective implements Aft
|
|
|
39
39
|
get indeterminate(): boolean;
|
|
40
40
|
set indeterminate(value: boolean);
|
|
41
41
|
private _indeterminate;
|
|
42
|
+
/**
|
|
43
|
+
* Property for manually set loading state.
|
|
44
|
+
*/
|
|
45
|
+
loading: boolean;
|
|
42
46
|
readonly change: EventEmitter<KbqToggleChange>;
|
|
43
47
|
/** Event emitted when the toggle's `indeterminate` value changes. */
|
|
44
48
|
readonly indeterminateChange: EventEmitter<boolean>;
|
|
@@ -61,12 +65,12 @@ export declare class KbqToggleComponent extends KbqColorDirective implements Aft
|
|
|
61
65
|
private setTransitionCheckState;
|
|
62
66
|
private onTouchedCallback;
|
|
63
67
|
private onChangeCallback;
|
|
64
|
-
private updateModelValue;
|
|
65
68
|
private transitionCheckState;
|
|
66
69
|
private emitChangeEvent;
|
|
67
70
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqToggleComponent, never>;
|
|
68
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqToggleComponent, "kbq-toggle", ["kbqToggle"], { "big": { "alias": "big"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; }, { "change": "change"; "indeterminateChange": "indeterminateChange"; }, never, ["*", "kbq-hint"], false, never>;
|
|
71
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqToggleComponent, "kbq-toggle", ["kbqToggle"], { "big": { "alias": "big"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, { "change": "change"; "indeterminateChange": "indeterminateChange"; }, never, ["*", "kbq-hint"], false, never>;
|
|
69
72
|
static ngAcceptInputType_tabIndex: unknown;
|
|
70
73
|
static ngAcceptInputType_indeterminate: unknown;
|
|
74
|
+
static ngAcceptInputType_loading: unknown;
|
|
71
75
|
}
|
|
72
76
|
export {};
|
package/toggle/toggle.scss
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
.kbq-top-bar {
|
|
1
|
+
:where(.kbq-top-bar) {
|
|
2
2
|
--kbq-top-bar-position: sticky;
|
|
3
3
|
--kbq-top-bar-background: var(--kbq-background-bg);
|
|
4
4
|
--kbq-top-bar-spacer-min-width: 80px;
|
|
5
5
|
--kbq-top-bar-padding-vertical: var(--kbq-size-xl);
|
|
6
6
|
--kbq-top-bar-padding-horizontal: var(--kbq-size-xxl);
|
|
7
7
|
--kbq-top-bar-border-radius: 0;
|
|
8
|
-
--kbq-top-bar-
|
|
9
|
-
--kbq-top-bar-
|
|
8
|
+
--kbq-top-bar-container-start-gap: 0;
|
|
9
|
+
--kbq-top-bar-container-start-basis: 0;
|
|
10
|
+
--kbq-top-bar-container-end-gap: var(--kbq-size-s);
|
|
10
11
|
--kbq-top-bar-shadow-bottom: var(--kbq-shadow-overflow-normal-bottom);
|
|
11
12
|
--kbq-top-bar-shadow-transition: ease-out 300ms;
|
|
12
13
|
}
|
package/top-bar/top-bar.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { KbqOverflowItems } from '@koobiq/components/overflow-items';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class KbqTopBarSpacer {
|
|
3
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTopBarSpacer, never>;
|
|
@@ -11,6 +12,12 @@ export declare class KbqTopBarContainer {
|
|
|
11
12
|
* Conditionally applies a CSS class based on the value
|
|
12
13
|
*/
|
|
13
14
|
placement: import("@angular/core").InputSignal<"start" | "end">;
|
|
15
|
+
/**
|
|
16
|
+
* Track if container has `KbqOverflowItems` directive assigned.
|
|
17
|
+
* Used to replace `gap` with `margin` so `KbqOverflowItems` will calculate correct width on resize.
|
|
18
|
+
* @docs-private
|
|
19
|
+
*/
|
|
20
|
+
protected readonly overflowItems: KbqOverflowItems | null;
|
|
14
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTopBarContainer, never>;
|
|
15
22
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTopBarContainer, "[kbqTopBarContainer]", never, { "placement": { "alias": "placement"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
16
23
|
}
|
package/top-bar/top-bar.scss
CHANGED
|
@@ -14,17 +14,41 @@
|
|
|
14
14
|
|
|
15
15
|
.kbq-top-bar-spacer {
|
|
16
16
|
height: 100%;
|
|
17
|
-
flex:
|
|
17
|
+
flex: 0 0 var(--kbq-top-bar-spacer-min-width);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.kbq-top-bar-container__start {
|
|
21
21
|
display: flex;
|
|
22
|
-
gap: var(--kbq-top-bar-
|
|
22
|
+
gap: var(--kbq-top-bar-container-start-gap);
|
|
23
|
+
flex: 1 0 var(--kbq-top-bar-container-start-basis);
|
|
24
|
+
justify-content: flex-start;
|
|
25
|
+
min-width: 0;
|
|
23
26
|
}
|
|
24
27
|
|
|
25
28
|
.kbq-top-bar-container__end {
|
|
26
29
|
display: flex;
|
|
27
|
-
gap: var(--kbq-top-bar-
|
|
30
|
+
gap: var(--kbq-top-bar-container-end-gap);
|
|
31
|
+
justify-content: end;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.kbq-top-bar-container__with-overflow-items {
|
|
35
|
+
gap: unset;
|
|
36
|
+
padding: 1px;
|
|
37
|
+
|
|
38
|
+
> .kbq-overflow-item {
|
|
39
|
+
&:not(:last-of-type) {
|
|
40
|
+
margin-right: var(--kbq-top-bar-container-end-gap);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
// apply margin if the last item needs to be alwaysVisible
|
|
44
|
+
&:last-of-type:is([aria-hidden='false']) + .kbq-overflow-items-result {
|
|
45
|
+
margin-left: var(--kbq-top-bar-container-end-gap);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.kbq-overflow-items-result:first-child {
|
|
50
|
+
margin-right: var(--kbq-top-bar-container-end-gap);
|
|
51
|
+
}
|
|
28
52
|
}
|
|
29
53
|
|
|
30
54
|
&.kbq-top-bar_with-shadow {
|
package/tree/_tree-theme.scss
CHANGED
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
color: var(--kbq-tree-#{$state-name}-text-color);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
.kbq-tree-node-toggle .kbq-icon,
|
|
13
|
-
.kbq-icon.kbq-tree-node-toggle {
|
|
12
|
+
.kbq-tree-node-toggle .kbq-icon.kbq-empty,
|
|
13
|
+
.kbq-icon.kbq-empty.kbq-tree-node-toggle {
|
|
14
14
|
color: var(--kbq-tree-#{$state-name}-tree-toggle-color);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
.kbq-option-action .kbq-icon {
|
|
17
|
+
.kbq-option-action .kbq-icon.kbq-empty {
|
|
18
18
|
color: var(--kbq-tree-#{$state-name}-action-button-color);
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
&.kbq-disabled {
|
|
49
49
|
@include kbq-tree-option(states-disabled);
|
|
50
50
|
|
|
51
|
-
& .kbq-icon {
|
|
51
|
+
& .kbq-icon.kbq-empty {
|
|
52
52
|
color: var(--kbq-states-icon-disabled);
|
|
53
53
|
}
|
|
54
54
|
}
|
|
@@ -181,6 +181,7 @@ export declare class KbqTreeSelect extends KbqAbstractSelect implements AfterCon
|
|
|
181
181
|
panelWidth: KbqTreeSelectPanelWidth;
|
|
182
182
|
get panelOpen(): boolean;
|
|
183
183
|
get canShowCleaner(): boolean;
|
|
184
|
+
/** @docs-private */
|
|
184
185
|
get colorForState(): KbqComponentColors;
|
|
185
186
|
isEmptySearchResult: boolean;
|
|
186
187
|
triggerValues: KbqTreeSelectTriggerValue[];
|