@koobiq/components 18.9.0 → 18.9.1
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/autocomplete/autocomplete-trigger.directive.d.ts +5 -3
- package/badge/_badge-theme.scss +1 -1
- package/code-block/code-block-content.d.ts +4 -4
- package/code-block/code-block.component.d.ts +3 -0
- package/core/common-behaviors/common-module.d.ts +2 -2
- package/core/forms/forms-tokens.scss +1 -1
- package/core/services/measure-scrollbar.service.d.ts +2 -2
- package/core/services/theme.service.d.ts +4 -3
- package/datepicker/datepicker.component.d.ts +3 -3
- package/dl/dl.scss +1 -1
- package/dropdown/dropdown-content.directive.d.ts +2 -2
- package/dropdown/dropdown-trigger.directive.d.ts +1 -0
- package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +13 -17
- package/esm2022/badge/badge.component.mjs +2 -2
- package/esm2022/code-block/code-block-content.mjs +22 -11
- package/esm2022/code-block/code-block.component.mjs +12 -6
- package/esm2022/core/common-behaviors/common-module.mjs +14 -12
- package/esm2022/core/services/measure-scrollbar.service.mjs +7 -12
- package/esm2022/core/services/theme.service.mjs +10 -8
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/datepicker/datepicker.component.mjs +6 -11
- package/esm2022/dl/dl.component.mjs +2 -2
- package/esm2022/dropdown/dropdown-content.directive.mjs +6 -9
- package/esm2022/dropdown/dropdown-trigger.directive.mjs +8 -5
- package/esm2022/file-upload/multiple-file-upload.component.mjs +3 -3
- package/esm2022/file-upload/single-file-upload.component.mjs +3 -3
- package/esm2022/form-field/cleaner.mjs +3 -3
- package/esm2022/form-field/form-field.mjs +2 -2
- package/esm2022/form-field/password-hint.mjs +3 -3
- package/esm2022/form-field/password-toggle.mjs +3 -3
- package/esm2022/form-field/stepper.mjs +5 -1
- package/esm2022/icon/icon-button.component.mjs +3 -3
- package/esm2022/icon/icon-item.component.mjs +4 -4
- package/esm2022/icon/icon.component.mjs +5 -5
- package/esm2022/modal/modal.component.mjs +8 -11
- package/esm2022/navbar/navbar-item.component.mjs +31 -32
- package/esm2022/popover/popover-confirm.component.mjs +3 -3
- package/esm2022/popover/popover.component.mjs +3 -3
- package/esm2022/select/select.component.mjs +5 -4
- package/esm2022/sidebar/sidebar.component.mjs +8 -7
- package/esm2022/tags/tag-input.mjs +2 -3
- package/esm2022/textarea/textarea.component.mjs +8 -5
- package/esm2022/timezone/timezone-select.component.mjs +3 -3
- package/esm2022/tree/toggle.mjs +6 -5
- package/esm2022/tree/tree-selection.component.mjs +2 -2
- package/esm2022/tree/tree.mjs +2 -2
- package/esm2022/tree-select/tree-select.component.mjs +7 -7
- package/fesm2022/koobiq-components-autocomplete.mjs +12 -16
- package/fesm2022/koobiq-components-autocomplete.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-code-block.mjs +29 -13
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +26 -29
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +4 -9
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-dl.mjs +2 -2
- package/fesm2022/koobiq-components-dl.mjs.map +1 -1
- package/fesm2022/koobiq-components-dropdown.mjs +10 -10
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-file-upload.mjs +4 -4
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +12 -8
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +9 -9
- package/fesm2022/koobiq-components-icon.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +7 -10
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +30 -32
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +4 -4
- package/fesm2022/koobiq-components-popover.mjs.map +1 -1
- package/fesm2022/koobiq-components-select.mjs +4 -3
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidebar.mjs +6 -6
- package/fesm2022/koobiq-components-sidebar.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +1 -2
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-textarea.mjs +7 -4
- 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-tree-select.mjs +6 -6
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +9 -8
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/file-upload/_file-upload-theme.scss +2 -2
- package/form-field/_form-field-theme.scss +7 -0
- package/form-field/form-field-tokens.scss +2 -0
- package/icon/_icon-item-theme.scss +3 -0
- package/icon/_icon-theme.scss +3 -1
- package/modal/modal.component.d.ts +2 -2
- package/navbar/navbar-item.component.d.ts +7 -7
- package/package.json +4 -4
- package/popover/popover.scss +4 -0
- 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/select/select.component.d.ts +1 -0
- package/sidebar/sidebar.component.d.ts +1 -0
- package/textarea/textarea.component.d.ts +1 -0
- package/tree/_tree-theme.scss +2 -1
- package/tree-select/tree-select.component.d.ts +1 -0
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
border-color: var(--kbq-file-upload-single-states-error-container-border) !important;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
:not(.kbq-link),
|
|
29
29
|
.kbq-icon {
|
|
30
30
|
color: var(--kbq-file-upload-single-states-error-text-block-color);
|
|
31
31
|
}
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
|
|
92
92
|
&:not(.kbq-disabled) {
|
|
93
93
|
.kbq-file-upload__row.error {
|
|
94
|
-
|
|
94
|
+
:not(.kbq-link),
|
|
95
95
|
.kbq-icon {
|
|
96
96
|
color: var(--kbq-file-upload-multiple-states-error-text-block-color);
|
|
97
97
|
}
|
|
@@ -67,6 +67,13 @@
|
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
+
.kbq-form-field__prefix,
|
|
71
|
+
.kbq-form-field__suffix {
|
|
72
|
+
.kbq-icon {
|
|
73
|
+
color: var(--kbq-icon-contrast-fade);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
70
77
|
.kbq-form-field__hint {
|
|
71
78
|
& > .kbq-hint:not(.kbq-password-hint, .kbq-contrast-fade, .kbq-success, .kbq-warning, .kbq-error) {
|
|
72
79
|
color: var(--kbq-form-field-hint-text);
|
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
--kbq-form-field-size-icon-button-size: var(--kbq-size-xxl);
|
|
9
9
|
--kbq-form-field-size-icon-button-margin-right: var(--kbq-size-xxs);
|
|
10
10
|
--kbq-form-field-size-icon-button-margin-left: var(--kbq-size-xxs);
|
|
11
|
+
--kbq-form-field-hint-size-margin-top: var(--kbq-size-xxs);
|
|
12
|
+
--kbq-form-field-hint-size-gap: var(--kbq-size-s);
|
|
11
13
|
/* THEME TOKENS */
|
|
12
14
|
--kbq-form-field-default-border-color: var(--kbq-line-contrast-fade);
|
|
13
15
|
--kbq-form-field-default-background: var(--kbq-background-bg);
|
package/icon/_icon-theme.scss
CHANGED
|
@@ -17,7 +17,7 @@ export declare class KbqModalComponent<T = any, R = any> extends KbqModalRef<T,
|
|
|
17
17
|
private modalControl;
|
|
18
18
|
private changeDetector;
|
|
19
19
|
private focusMonitor;
|
|
20
|
-
|
|
20
|
+
protected readonly document: Document;
|
|
21
21
|
componentColors: typeof KbqComponentColors;
|
|
22
22
|
kbqModalType: ModalType;
|
|
23
23
|
kbqComponent: Type<T>;
|
|
@@ -79,7 +79,7 @@ export declare class KbqModalComponent<T = any, R = any> extends KbqModalRef<T,
|
|
|
79
79
|
private contentComponentRef;
|
|
80
80
|
private animationState;
|
|
81
81
|
private container;
|
|
82
|
-
constructor(overlay: Overlay, renderer: Renderer2, cfr: ComponentFactoryResolver, elementRef: ElementRef, viewContainer: ViewContainerRef, modalControl: KbqModalControlService, changeDetector: ChangeDetectorRef, focusMonitor: FocusMonitor
|
|
82
|
+
constructor(overlay: Overlay, renderer: Renderer2, cfr: ComponentFactoryResolver, elementRef: ElementRef, viewContainer: ViewContainerRef, modalControl: KbqModalControlService, changeDetector: ChangeDetectorRef, focusMonitor: FocusMonitor);
|
|
83
83
|
kbqGetContainer: HTMLElement | OverlayRef | (() => HTMLElement | OverlayRef);
|
|
84
84
|
ngOnInit(): void;
|
|
85
85
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -22,13 +22,13 @@ export declare class KbqNavbarBento {
|
|
|
22
22
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqNavbarBento, "kbq-navbar-item[bento], [kbq-navbar-item][bento]", never, {}, {}, never, never, false, never>;
|
|
23
23
|
}
|
|
24
24
|
export declare class KbqNavbarTitle implements AfterViewInit {
|
|
25
|
-
|
|
25
|
+
protected readonly isBrowser: boolean;
|
|
26
|
+
protected readonly nativeElement: any;
|
|
26
27
|
readonly hovered: Subject<boolean>;
|
|
27
28
|
outerElementWidth: number;
|
|
28
29
|
isTextOverflown: boolean;
|
|
29
30
|
get text(): string;
|
|
30
31
|
get isOverflown(): boolean;
|
|
31
|
-
constructor(elementRef: ElementRef);
|
|
32
32
|
getOuterElementWidth(): number;
|
|
33
33
|
checkTextOverflown(): void;
|
|
34
34
|
ngAfterViewInit(): void;
|
|
@@ -85,7 +85,8 @@ export declare class KbqNavbarFocusableItem implements IFocusableOption, AfterCo
|
|
|
85
85
|
static ngAcceptInputType_disabled: unknown;
|
|
86
86
|
}
|
|
87
87
|
export declare class KbqNavbarRectangleElement {
|
|
88
|
-
|
|
88
|
+
protected readonly isBrowser: boolean;
|
|
89
|
+
protected readonly nativeElement: any;
|
|
89
90
|
readonly state: Subject<void>;
|
|
90
91
|
get horizontal(): boolean;
|
|
91
92
|
set horizontal(value: boolean);
|
|
@@ -97,7 +98,6 @@ export declare class KbqNavbarRectangleElement {
|
|
|
97
98
|
set collapsed(value: boolean);
|
|
98
99
|
private _collapsed;
|
|
99
100
|
button: KbqButtonCssStyler;
|
|
100
|
-
constructor(elementRef: ElementRef);
|
|
101
101
|
getOuterElementWidth(): number;
|
|
102
102
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqNavbarRectangleElement, never>;
|
|
103
103
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqNavbarRectangleElement, "kbq-navbar-item, [kbq-navbar-item], kbq-navbar-divider, kbq-navbar-brand, [kbq-navbar-brand]", never, {}, {}, ["button"], never, false, never>;
|
|
@@ -140,18 +140,18 @@ export declare class KbqNavbarItem extends KbqTooltipTrigger implements AfterCon
|
|
|
140
140
|
export declare class KbqNavbarToggle extends KbqTooltipTrigger implements OnDestroy {
|
|
141
141
|
navbar: KbqVerticalNavbar;
|
|
142
142
|
private changeDetectorRef;
|
|
143
|
-
|
|
143
|
+
protected readonly document: Document;
|
|
144
144
|
customIcon: KbqIcon;
|
|
145
145
|
get content(): string | TemplateRef<any>;
|
|
146
146
|
set content(content: string | TemplateRef<any>);
|
|
147
147
|
get disabled(): boolean;
|
|
148
148
|
protected modifier: TooltipModifier;
|
|
149
|
-
constructor(navbar: KbqVerticalNavbar, changeDetectorRef: ChangeDetectorRef
|
|
149
|
+
constructor(navbar: KbqVerticalNavbar, changeDetectorRef: ChangeDetectorRef);
|
|
150
150
|
onKeydown($event: KeyboardEvent): void;
|
|
151
151
|
ngOnDestroy(): void;
|
|
152
152
|
toggle: () => void;
|
|
153
153
|
private getWindow;
|
|
154
154
|
private windowToggleHandler;
|
|
155
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KbqNavbarToggle,
|
|
155
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqNavbarToggle, never>;
|
|
156
156
|
static ɵcmp: i0.ɵɵComponentDeclaration<KbqNavbarToggle, "kbq-navbar-toggle", never, { "content": { "alias": "kbqCollapsedTooltip"; "required": false; }; }, {}, ["customIcon"], ["[kbq-icon]", "kbq-navbar-title"], false, never>;
|
|
157
157
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@koobiq/components",
|
|
3
|
-
"version": "18.9.
|
|
3
|
+
"version": "18.9.1",
|
|
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.9.
|
|
28
|
-
"@koobiq/angular-moment-adapter": "18.9.
|
|
29
|
-
"@koobiq/angular-luxon-adapter": "18.9.
|
|
27
|
+
"@koobiq/cdk": "18.9.1",
|
|
28
|
+
"@koobiq/angular-moment-adapter": "18.9.1",
|
|
29
|
+
"@koobiq/angular-luxon-adapter": "18.9.1",
|
|
30
30
|
"@koobiq/date-formatter": "^3.1.4",
|
|
31
31
|
"@koobiq/icons": "^9.2.0",
|
|
32
32
|
"@koobiq/tokens-builder": "3.8.1",
|
package/popover/popover.scss
CHANGED
|
@@ -92,6 +92,8 @@ $trigger-margin: 9px;
|
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
.kbq-popover__header_top-overflow {
|
|
95
|
+
position: relative;
|
|
96
|
+
z-index: 2;
|
|
95
97
|
box-shadow: var(--kbq-shadow-overflow-normal-bottom);
|
|
96
98
|
}
|
|
97
99
|
|
|
@@ -104,6 +106,8 @@ $trigger-margin: 9px;
|
|
|
104
106
|
}
|
|
105
107
|
|
|
106
108
|
.kbq-popover__footer_bottom-overflow {
|
|
109
|
+
position: relative;
|
|
110
|
+
z-index: 2;
|
|
107
111
|
box-shadow: var(--kbq-shadow-overflow-normal-top);
|
|
108
112
|
}
|
|
109
113
|
|