@koobiq/components 18.36.0 → 18.38.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/autocomplete/autocomplete.scss +2 -17
- package/breadcrumbs/breadcrumbs.d.ts +2 -1
- package/breadcrumbs/breadcrumbs.scss +4 -4
- package/button/button.component.d.ts +1 -0
- package/button-toggle/button-toggle.scss +0 -2
- package/content-panel/content-panel.d.ts +1 -1
- package/content-panel/index.d.ts +0 -1
- package/core/common-behaviors/hover.d.ts +15 -0
- package/core/common-behaviors/index.d.ts +1 -1
- package/core/locales/en-US.d.ts +6 -0
- package/core/locales/es-LA.d.ts +6 -0
- package/core/locales/formatters.d.ts +0 -72
- package/core/locales/index.d.ts +0 -2
- package/core/locales/locale-service.d.ts +24 -386
- package/core/locales/pt-BR.d.ts +6 -0
- package/core/locales/ru-RU.d.ts +6 -0
- package/core/locales/tk-TM.d.ts +6 -0
- package/core/option/option.d.ts +3 -2
- package/core/pop-up/pop-up-trigger.d.ts +3 -1
- package/core/pop-up/pop-up.d.ts +1 -0
- package/core/select/common.d.ts +3 -1
- package/core/styles/common/_select.scss +20 -0
- package/core/styles/typography/_typography.scss +23 -82
- package/datepicker/datepicker-module.d.ts +2 -1
- package/dropdown/dropdown-item.scss +8 -7
- package/dropdown/dropdown.scss +5 -14
- package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +4 -4
- package/esm2022/breadcrumbs/breadcrumbs.mjs +46 -37
- package/esm2022/button/button.component.mjs +6 -4
- package/esm2022/button-toggle/button-toggle.component.mjs +2 -2
- package/esm2022/code-block/code-block-highlight.mjs +6 -1
- package/esm2022/content-panel/content-panel.mjs +2 -2
- package/esm2022/content-panel/index.mjs +1 -2
- package/esm2022/core/common-behaviors/color.mjs +2 -1
- package/esm2022/core/common-behaviors/common-module.mjs +2 -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/hover.mjs +34 -0
- package/esm2022/core/common-behaviors/index.mjs +2 -2
- package/esm2022/core/common-behaviors/tabindex.mjs +2 -1
- package/esm2022/core/form-field/field-sizing-content.mjs +5 -2
- package/esm2022/core/formatters/number/formatter.mjs +2 -2
- package/esm2022/core/locales/en-US.mjs +7 -1
- package/esm2022/core/locales/es-LA.mjs +16 -10
- package/esm2022/core/locales/formatters.mjs +1 -73
- package/esm2022/core/locales/index.mjs +1 -3
- package/esm2022/core/locales/locale-service.mjs +5 -8
- package/esm2022/core/locales/pt-BR.mjs +25 -19
- package/esm2022/core/locales/ru-RU.mjs +7 -1
- package/esm2022/core/locales/tk-TM.mjs +30 -24
- package/esm2022/core/option/option.mjs +10 -6
- package/esm2022/core/pop-up/pop-up-trigger.mjs +2 -1
- package/esm2022/core/pop-up/pop-up.mjs +36 -2
- package/esm2022/core/select/common.mjs +10 -4
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/datepicker/calendar-header.component.mjs +5 -4
- package/esm2022/datepicker/datepicker-module.mjs +7 -4
- package/esm2022/dropdown/dropdown-item.component.mjs +2 -2
- package/esm2022/dropdown/dropdown.component.mjs +3 -3
- package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +5 -2
- package/esm2022/file-upload/file-drop.mjs +5 -3
- package/esm2022/file-upload/multiple-file-upload.component.mjs +9 -13
- package/esm2022/file-upload/single-file-upload.component.mjs +9 -4
- package/esm2022/filter-bar/filter-bar.mjs +6 -2
- package/esm2022/filter-bar/filter-search.mjs +3 -3
- package/esm2022/filter-bar/filters.mjs +10 -5
- package/esm2022/filter-bar/pipe-add.mjs +3 -2
- package/esm2022/filter-bar/pipes/base-pipe.mjs +11 -3
- package/esm2022/filter-bar/pipes/pipe-date.mjs +3 -3
- package/esm2022/filter-bar/pipes/pipe-datetime.mjs +3 -3
- package/esm2022/filter-bar/pipes/pipe-multi-select.mjs +5 -4
- package/esm2022/filter-bar/pipes/pipe-multi-tree-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/filter-bar/pipes/pipe-title.mjs +24 -19
- package/esm2022/filter-bar/pipes/pipe-tree-select.mjs +2 -2
- package/esm2022/form-field/fieldset.mjs +2 -2
- package/esm2022/form-field/form-field.mjs +2 -2
- package/esm2022/form-field/stepper.mjs +41 -10
- package/esm2022/inline-edit/inline-edit.mjs +9 -5
- package/esm2022/input/input-number.mjs +7 -6
- package/esm2022/input/input.module.mjs +7 -4
- package/esm2022/list/list-selection.component.mjs +31 -15
- package/esm2022/markdown/markdown.component.mjs +7 -7
- package/esm2022/modal/modal-util.mjs +7 -3
- package/esm2022/modal/modal.component.mjs +2 -2
- package/esm2022/modal/modal.service.mjs +2 -1
- package/esm2022/navbar/navbar-brand.component.mjs +105 -0
- package/esm2022/navbar/navbar-item.component.mjs +18 -170
- package/esm2022/navbar/navbar-toggle.component.mjs +88 -0
- package/esm2022/navbar/navbar.component.mjs +8 -4
- package/esm2022/navbar/navbar.module.mjs +4 -2
- package/esm2022/navbar/public-api.mjs +3 -1
- package/esm2022/navbar/vertical-navbar.component.mjs +28 -6
- package/esm2022/navbar-ic/navbar-ic-header.mjs +20 -4
- package/esm2022/navbar-ic/navbar-ic-item.mjs +7 -8
- package/esm2022/navbar-ic/navbar-ic.animation.mjs +10 -2
- package/esm2022/navbar-ic/navbar-ic.mjs +33 -9
- package/esm2022/notification-center/notification-center.mjs +9 -33
- package/esm2022/popover/popover-confirm.component.mjs +3 -3
- package/esm2022/popover/popover.component.mjs +24 -5
- package/esm2022/resizer/index.mjs +3 -0
- package/esm2022/resizer/koobiq-components-resizer.mjs +5 -0
- package/esm2022/resizer/module.mjs +17 -0
- package/esm2022/resizer/resizer.mjs +135 -0
- package/esm2022/scrollbar/scrollbar.directive.mjs +4 -3
- package/esm2022/search-expandable/search-expandable.mjs +5 -5
- package/esm2022/select/select.component.mjs +2 -14
- package/esm2022/select/select.module.mjs +8 -4
- package/esm2022/sidepanel/sidepanel-container.component.mjs +3 -3
- package/esm2022/split-button/split-button.mjs +47 -6
- package/esm2022/tags/tag-input.mjs +24 -28
- package/esm2022/tags/tag-list.component.mjs +76 -87
- package/esm2022/tags/tag.component.mjs +29 -34
- package/esm2022/textarea/textarea.module.mjs +5 -4
- package/esm2022/time-range/constants.mjs +22 -1
- package/esm2022/time-range/time-range-editor.mjs +11 -6
- package/esm2022/time-range/time-range-title-as-form-field.mjs +2 -1
- package/esm2022/time-range/time-range.mjs +8 -3
- package/esm2022/time-range/time-range.service.mjs +43 -106
- package/esm2022/time-range/types.mjs +1 -1
- package/esm2022/timepicker/timepicker.module.mjs +5 -4
- package/esm2022/timezone/timezone-option.component.mjs +2 -2
- package/esm2022/timezone/timezone.module.mjs +6 -4
- package/esm2022/title/title.directive.mjs +6 -2
- package/esm2022/toggle/toggle.component.mjs +3 -3
- package/esm2022/top-bar/top-bar.mjs +2 -2
- package/esm2022/tree/tree-option.component.mjs +7 -6
- package/esm2022/tree/tree-selection.component.mjs +23 -13
- package/esm2022/tree-select/tree-select.component.mjs +97 -79
- package/esm2022/tree-select/tree-select.module.mjs +7 -4
- package/fesm2022/koobiq-components-autocomplete.mjs +3 -3
- package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
- package/fesm2022/koobiq-components-breadcrumbs.mjs +45 -36
- 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 +5 -3
- package/fesm2022/koobiq-components-button.mjs.map +1 -1
- package/fesm2022/koobiq-components-code-block.mjs +5 -0
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-content-panel.mjs +3 -137
- package/fesm2022/koobiq-components-content-panel.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +156 -478
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +8 -5
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-dropdown.mjs +4 -4
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-ellipsis-center.mjs +4 -1
- package/fesm2022/koobiq-components-ellipsis-center.mjs.map +1 -1
- package/fesm2022/koobiq-components-file-upload.mjs +19 -17
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-filter-bar.mjs +64 -41
- package/fesm2022/koobiq-components-filter-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +44 -17
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-inline-edit.mjs +8 -4
- package/fesm2022/koobiq-components-inline-edit.mjs.map +1 -1
- package/fesm2022/koobiq-components-input.mjs +12 -9
- package/fesm2022/koobiq-components-input.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +30 -14
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-markdown.mjs +6 -6
- package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +9 -4
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar-ic.mjs +70 -26
- package/fesm2022/koobiq-components-navbar-ic.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +792 -740
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-notification-center.mjs +8 -32
- package/fesm2022/koobiq-components-notification-center.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +25 -6
- package/fesm2022/koobiq-components-popover.mjs.map +1 -1
- package/fesm2022/koobiq-components-resizer.mjs +156 -0
- package/fesm2022/koobiq-components-resizer.mjs.map +1 -0
- package/fesm2022/koobiq-components-scrollbar.mjs +3 -2
- package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-search-expandable.mjs +4 -4
- package/fesm2022/koobiq-components-search-expandable.mjs.map +1 -1
- package/fesm2022/koobiq-components-select.mjs +8 -17
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidepanel.mjs +2 -2
- package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
- package/fesm2022/koobiq-components-split-button.mjs +46 -5
- package/fesm2022/koobiq-components-split-button.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +125 -146
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-textarea.mjs +4 -4
- package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
- package/fesm2022/koobiq-components-time-range.mjs +81 -112
- package/fesm2022/koobiq-components-time-range.mjs.map +1 -1
- package/fesm2022/koobiq-components-timepicker.mjs +4 -4
- package/fesm2022/koobiq-components-timepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-timezone.mjs +7 -5
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-title.mjs +5 -1
- package/fesm2022/koobiq-components-title.mjs.map +1 -1
- package/fesm2022/koobiq-components-toggle.mjs +2 -2
- package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-top-bar.mjs +2 -2
- package/fesm2022/koobiq-components-top-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +102 -82
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +28 -17
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/file-upload/_file-upload-theme.scss +32 -34
- package/file-upload/file-upload-tokens.scss +1 -2
- package/file-upload/file-upload.scss +4 -7
- package/file-upload/multiple-file-upload.component.d.ts +1 -1
- package/file-upload/multiple-file-upload.component.scss +12 -14
- package/file-upload/single-file-upload.component.d.ts +1 -0
- package/file-upload/single-file-upload.component.scss +5 -7
- package/filter-bar/filter-bar.d.ts +3 -1
- package/filter-bar/filter-search.scss +1 -3
- package/filter-bar/filters.d.ts +1 -0
- package/filter-bar/pipes/base-pipe.d.ts +5 -1
- package/filter-bar/pipes/pipe-date.scss +4 -2
- package/filter-bar/pipes/pipe-title.d.ts +2 -0
- package/form-field/fieldset-tokens.scss +2 -1
- package/form-field/form-field-tokens.scss +2 -2
- package/form-field/form-field.scss +9 -1
- package/form-field/stepper.d.ts +28 -6
- package/inline-edit/inline-edit.d.ts +5 -1
- package/input/input.module.d.ts +2 -1
- package/list/list-selection.component.d.ts +12 -1
- package/markdown/_markdown-theme.scss +0 -1
- package/markdown/markdown.scss +2 -4
- package/modal/modal-tokens.scss +2 -1
- package/modal/modal-util.d.ts +5 -2
- package/modal/modal.scss +3 -4
- package/navbar/_navbar-item_vertical.scss +44 -43
- package/navbar/_navbar-theme.scss +14 -35
- package/navbar/navbar-brand.component.d.ts +39 -0
- package/navbar/navbar-brand.scss +78 -45
- package/navbar/navbar-divider.scss +1 -1
- package/navbar/navbar-item.component.d.ts +4 -36
- package/navbar/navbar-toggle.component.d.ts +23 -0
- package/navbar/navbar-toggle.scss +64 -0
- package/navbar/navbar-tokens.scss +1 -0
- package/navbar/navbar.module.d.ts +8 -6
- package/navbar/public-api.d.ts +2 -0
- package/navbar/vertical-navbar.component.d.ts +20 -2
- package/navbar/vertical-navbar.scss +14 -9
- package/navbar-ic/navbar-ic-header.d.ts +3 -2
- package/navbar-ic/navbar-ic-header.scss +0 -4
- package/navbar-ic/navbar-ic-item.d.ts +1 -0
- package/navbar-ic/navbar-ic-item.scss +0 -4
- package/navbar-ic/navbar-ic.animation.d.ts +1 -0
- package/navbar-ic/navbar-ic.d.ts +7 -0
- package/notification-center/notification-center.d.ts +12 -9
- package/package.json +16 -10
- package/popover/popover-tokens.scss +1 -0
- package/popover/popover.component.d.ts +12 -1
- package/popover/popover.scss +3 -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/resizer/index.d.ts +2 -0
- package/resizer/module.d.ts +7 -0
- package/{content-panel/resizable.d.ts → resizer/resizer.d.ts} +18 -13
- package/schematics/collection.json +5 -0
- package/schematics/migrations/icons-replacement/README.md +93 -0
- package/schematics/migrations/icons-replacement/data.js +92 -0
- package/schematics/migrations/icons-replacement/index.js +84 -0
- package/schematics/migrations/icons-replacement/schema.json +32 -0
- package/schematics/ng-add/index.js +6 -6
- package/scrollbar/scrollbar.component.scss +2 -3
- package/select/select.module.d.ts +2 -1
- package/select/select.scss +1 -17
- package/sidepanel/sidepanel-tokens.scss +2 -0
- package/sidepanel/sidepanel.scss +2 -0
- package/split-button/_split-button-theme.scss +89 -34
- package/split-button/split-button.d.ts +11 -5
- package/split-button/split-button.scss +40 -51
- package/tags/tag-input.d.ts +16 -7
- package/tags/tag-list.component.d.ts +44 -21
- package/tags/tag-list.scss +13 -14
- package/tags/tag.component.d.ts +20 -15
- package/textarea/textarea-tokens.scss +6 -1
- package/textarea/textarea.module.d.ts +2 -1
- package/textarea/textarea.scss +4 -0
- package/time-range/constants.d.ts +12 -1
- package/time-range/time-range-editor.d.ts +7 -9
- package/time-range/time-range-title-as-form-field.d.ts +1 -0
- package/time-range/time-range.d.ts +5 -2
- package/time-range/time-range.service.d.ts +7 -11
- package/time-range/types.d.ts +37 -11
- package/timepicker/timepicker.module.d.ts +2 -1
- package/timezone/timezone-option.component.scss +6 -0
- package/timezone/timezone.module.d.ts +1 -1
- package/toggle/_toggle-theme.scss +8 -5
- package/toggle/toggle-tokens.scss +0 -1
- package/toggle/toggle.scss +11 -15
- package/top-bar/top-bar-tokens.scss +1 -1
- package/top-bar/top-bar.scss +3 -0
- package/tree/tree-option.component.d.ts +1 -0
- package/tree/tree-selection.component.d.ts +11 -2
- package/tree-select/tree-select.component.d.ts +5 -5
- package/tree-select/tree-select.module.d.ts +2 -1
- package/tree-select/tree-select.scss +4 -0
- package/core/common-behaviors/hovered.d.ts +0 -13
- package/core/locales/fa-IR.d.ts +0 -162
- package/core/locales/zh-CN.d.ts +0 -162
- package/esm2022/content-panel/resizable.mjs +0 -138
- package/esm2022/core/common-behaviors/hovered.mjs +0 -31
- package/esm2022/core/locales/fa-IR.mjs +0 -173
- package/esm2022/core/locales/zh-CN.mjs +0 -161
|
@@ -23,10 +23,19 @@ export declare class KbqListSelectAllEvent<T> {
|
|
|
23
23
|
options: T[];
|
|
24
24
|
constructor(source: KbqListSelection, options: T[]);
|
|
25
25
|
}
|
|
26
|
+
/**
|
|
27
|
+
* Event class that occurs when copying an item from the KbqListSelection.
|
|
28
|
+
* Used to pass data about the copied item and copy context.
|
|
29
|
+
*
|
|
30
|
+
* @param source - instance of KbqListSelection
|
|
31
|
+
* @param option - instance of KbqListOption
|
|
32
|
+
* @param event - original keyboard event (optional) that triggered the copy
|
|
33
|
+
*/
|
|
26
34
|
export declare class KbqListCopyEvent<T> {
|
|
27
35
|
source: KbqListSelection;
|
|
28
36
|
option: T;
|
|
29
|
-
|
|
37
|
+
event?: KeyboardEvent | undefined;
|
|
38
|
+
constructor(source: KbqListSelection, option: T, event?: KeyboardEvent | undefined);
|
|
30
39
|
}
|
|
31
40
|
export declare class KbqListSelection implements AfterContentInit, AfterViewInit, OnDestroy, ControlValueAccessor {
|
|
32
41
|
private elementRef;
|
|
@@ -87,6 +96,7 @@ export declare class KbqListSelection implements AfterContentInit, AfterViewInit
|
|
|
87
96
|
getSelectedOptionValues(): string[];
|
|
88
97
|
toggleFocusedOption(): void;
|
|
89
98
|
canDeselectLast(listOption: KbqListOption): boolean;
|
|
99
|
+
/** @docs-private */
|
|
90
100
|
getHeight(): number;
|
|
91
101
|
onTouched: () => void;
|
|
92
102
|
removeOptionFromList(option: KbqListOption): void;
|
|
@@ -168,6 +178,7 @@ export declare class KbqListOption implements OnDestroy, OnInit, IFocusableOptio
|
|
|
168
178
|
toggle(): void;
|
|
169
179
|
getLabel(): any;
|
|
170
180
|
setSelected(selected: boolean): void;
|
|
181
|
+
/** @docs-private */
|
|
171
182
|
getHeight(): number;
|
|
172
183
|
/** Handles click events on the list option. */
|
|
173
184
|
handleClick($event: MouseEvent): void;
|
package/markdown/markdown.scss
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
// @TODO should remove "selector-class-pattern" rule ignore (#DS-3753)
|
|
2
|
-
/* stylelint-disable selector-class-pattern */
|
|
3
1
|
@use '../core/styles/common/tokens' as *;
|
|
4
2
|
|
|
5
3
|
.kbq-markdown {
|
|
6
4
|
display: block;
|
|
7
5
|
|
|
8
|
-
.
|
|
6
|
+
.kbq-markdown__input {
|
|
9
7
|
display: none;
|
|
10
8
|
}
|
|
11
9
|
|
|
12
|
-
.
|
|
10
|
+
.kbq-markdown__output {
|
|
13
11
|
flex: 1;
|
|
14
12
|
|
|
15
13
|
& > :first-child {
|
package/modal/modal-tokens.scss
CHANGED
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
--kbq-modal-size-header-padding-right: var(--kbq-size-6xl);
|
|
9
9
|
--kbq-modal-size-close-button-margin-left: var(--kbq-size-s);
|
|
10
10
|
--kbq-modal-size-content-padding-horizontal: var(--kbq-size-xxl);
|
|
11
|
-
|
|
11
|
+
// Added top padding to prevent the outline of the first focused field from being clipped
|
|
12
|
+
--kbq-modal-size-content-padding-top: 1px;
|
|
12
13
|
--kbq-modal-size-content-padding-bottom: var(--kbq-size-s);
|
|
13
14
|
--kbq-modal-size-content-padding-top-without-header: var(--kbq-size-xxl);
|
|
14
15
|
--kbq-modal-size-content-padding-bottom-without-footer: var(--kbq-size-4xl);
|
package/modal/modal-util.d.ts
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
|
+
/** @docs-private */
|
|
1
2
|
export interface IClickPosition {
|
|
2
3
|
x: number;
|
|
3
4
|
y: number;
|
|
4
5
|
}
|
|
6
|
+
/** @docs-private */
|
|
5
7
|
export declare class ModalUtil {
|
|
6
|
-
private document
|
|
8
|
+
private document?;
|
|
7
9
|
private lastPosition;
|
|
8
|
-
constructor(document
|
|
10
|
+
constructor(document?: Document | undefined);
|
|
9
11
|
getLastClickPosition(): IClickPosition;
|
|
10
12
|
listenDocumentClick(): void;
|
|
11
13
|
}
|
|
14
|
+
/** @docs-private */
|
|
12
15
|
export declare const modalUtilObject: ModalUtil;
|
package/modal/modal.scss
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
// @TODO should remove "selector-class-pattern" rule ignore (#DS-3753)
|
|
2
|
-
/* stylelint-disable selector-class-pattern */
|
|
3
1
|
@use '../core/styles/common/tokens' as *;
|
|
4
|
-
|
|
5
2
|
@use './modal-confirm';
|
|
6
|
-
|
|
7
3
|
@use './modal-theme' as *;
|
|
8
4
|
|
|
9
5
|
.kbq-modal-container {
|
|
@@ -21,8 +17,11 @@
|
|
|
21
17
|
|
|
22
18
|
list-style: none;
|
|
23
19
|
|
|
20
|
+
// DEPRECATED: Unused. Will be removed in next major release.
|
|
21
|
+
/* stylelint-disable */
|
|
24
22
|
&.zoom-enter,
|
|
25
23
|
&.zoom-appear {
|
|
24
|
+
/* stylelint-enable */
|
|
26
25
|
animation-duration: 0.3s;
|
|
27
26
|
// reset scale avoid mousePosition bug
|
|
28
27
|
transform: none;
|
|
@@ -1,81 +1,78 @@
|
|
|
1
1
|
@use '../core/styles/common/tokens' as *;
|
|
2
2
|
|
|
3
3
|
.kbq-navbar-item.kbq-vertical {
|
|
4
|
+
height: 41px;
|
|
5
|
+
|
|
4
6
|
& .kbq-navbar-item__container {
|
|
5
7
|
gap: var(--kbq-size-m);
|
|
6
8
|
}
|
|
7
9
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
+
padding-right: var(--kbq-size-xl);
|
|
11
|
+
padding-left: var(--kbq-size-xl);
|
|
12
|
+
|
|
13
|
+
&:after {
|
|
14
|
+
top: 0;
|
|
15
|
+
right: var(--kbq-size-s);
|
|
16
|
+
bottom: 1px;
|
|
17
|
+
left: var(--kbq-size-s);
|
|
18
|
+
}
|
|
10
19
|
|
|
20
|
+
&.kbq-navbar-bento {
|
|
21
|
+
display: flex;
|
|
22
|
+
|
|
23
|
+
justify-content: start;
|
|
11
24
|
align-items: center;
|
|
12
25
|
|
|
13
|
-
|
|
14
|
-
padding-left: var(--kbq-size-xl);
|
|
26
|
+
height: var(--kbq-size-5xl);
|
|
15
27
|
|
|
16
|
-
|
|
28
|
+
padding-top: var(--kbq-size-s);
|
|
17
29
|
|
|
18
30
|
&:after {
|
|
19
|
-
top: var(--kbq-size-
|
|
20
|
-
|
|
21
|
-
bottom: var(--kbq-size-xxs);
|
|
22
|
-
left: var(--kbq-size-s);
|
|
31
|
+
top: var(--kbq-size-s);
|
|
32
|
+
bottom: 0;
|
|
23
33
|
}
|
|
34
|
+
}
|
|
24
35
|
|
|
25
|
-
|
|
26
|
-
|
|
36
|
+
&.kbq-expanded {
|
|
37
|
+
align-items: center;
|
|
27
38
|
|
|
28
|
-
|
|
39
|
+
gap: var(--kbq-size-m);
|
|
29
40
|
|
|
30
|
-
|
|
41
|
+
&.kbq-navbar-item_has-nested {
|
|
31
42
|
align-items: center;
|
|
32
43
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
z-index: 1;
|
|
37
|
-
|
|
38
|
-
padding: var(--kbq-size-s);
|
|
39
|
-
|
|
40
|
-
height: var(--kbq-size-5xl);
|
|
41
|
-
width: var(--kbq-size-5xl);
|
|
44
|
+
padding: 0 var(--kbq-size-m);
|
|
45
|
+
}
|
|
42
46
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
bottom: var(--kbq-size-s);
|
|
47
|
-
left: var(--kbq-size-s);
|
|
48
|
-
}
|
|
47
|
+
&.kbq-navbar-bento .kbq-navbar-item__title {
|
|
48
|
+
margin-left: -8px;
|
|
49
|
+
opacity: 0;
|
|
49
50
|
}
|
|
50
51
|
|
|
51
|
-
&.kbq-navbar-
|
|
52
|
-
|
|
52
|
+
&.kbq-navbar-bento:hover,
|
|
53
|
+
&.kbq-navbar-bento.cdk-keyboard-focused {
|
|
54
|
+
& .kbq-navbar-item__title {
|
|
55
|
+
margin-left: 0;
|
|
56
|
+
opacity: 1;
|
|
53
57
|
|
|
54
|
-
|
|
58
|
+
transition:
|
|
59
|
+
opacity 150ms ease-out,
|
|
60
|
+
margin-left 150ms ease-out;
|
|
61
|
+
}
|
|
55
62
|
}
|
|
56
63
|
}
|
|
57
64
|
|
|
58
65
|
&.kbq-collapsed {
|
|
59
|
-
|
|
60
|
-
width: var(--kbq-size-5xl);
|
|
61
|
-
|
|
62
|
-
padding: var(--kbq-size-l);
|
|
66
|
+
width: var(--kbq-size-6xl);
|
|
63
67
|
|
|
64
68
|
justify-content: center;
|
|
65
69
|
|
|
66
|
-
&:after {
|
|
67
|
-
top: var(--kbq-size-s);
|
|
68
|
-
right: var(--kbq-size-s);
|
|
69
|
-
bottom: var(--kbq-size-s);
|
|
70
|
-
left: var(--kbq-size-s);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
70
|
& .kbq-badge {
|
|
74
71
|
position: absolute;
|
|
75
72
|
|
|
76
73
|
z-index: 1;
|
|
77
74
|
|
|
78
|
-
top: var(--kbq-size-
|
|
75
|
+
top: calc(-1 * var(--kbq-size-3xs));
|
|
79
76
|
right: var(--kbq-size-xs);
|
|
80
77
|
}
|
|
81
78
|
|
|
@@ -90,3 +87,7 @@
|
|
|
90
87
|
align-items: center;
|
|
91
88
|
}
|
|
92
89
|
}
|
|
90
|
+
|
|
91
|
+
button.kbq-navbar-item.kbq-vertical {
|
|
92
|
+
width: 100%;
|
|
93
|
+
}
|
|
@@ -21,24 +21,30 @@
|
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
button {
|
|
25
|
+
&.kbq-navbar-item,
|
|
26
|
+
&.kbq-navbar-brand {
|
|
27
|
+
background: transparent;
|
|
28
|
+
border: none;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
24
32
|
@mixin kbq-navbar-theme() {
|
|
25
|
-
.kbq-navbar
|
|
26
|
-
.kbq-vertical-navbar .kbq-vertical-navbar__container {
|
|
33
|
+
.kbq-navbar {
|
|
27
34
|
background-color: var(--kbq-navbar-background);
|
|
28
35
|
}
|
|
29
36
|
|
|
30
37
|
.kbq-vertical-navbar .kbq-vertical-navbar__container {
|
|
38
|
+
background-color: var(--kbq-navbar-vertical-background);
|
|
31
39
|
border-right: 1px solid var(--kbq-navbar-border);
|
|
32
40
|
}
|
|
33
41
|
|
|
34
|
-
.kbq-navbar-item
|
|
35
|
-
.kbq-navbar-brand,
|
|
36
|
-
.kbq-navbar-toggle {
|
|
42
|
+
.kbq-navbar-item {
|
|
37
43
|
cursor: pointer;
|
|
38
44
|
|
|
39
45
|
@include kbq-navbar-item(default);
|
|
40
46
|
|
|
41
|
-
&:hover:not(.kbq-disabled
|
|
47
|
+
&:hover:not(.kbq-disabled) {
|
|
42
48
|
@include kbq-navbar-item(states-hover);
|
|
43
49
|
}
|
|
44
50
|
|
|
@@ -51,8 +57,8 @@
|
|
|
51
57
|
}
|
|
52
58
|
}
|
|
53
59
|
|
|
54
|
-
&:active:not(.kbq-disabled
|
|
55
|
-
&.kbq-active:not(.kbq-disabled
|
|
60
|
+
&:active:not(.kbq-disabled),
|
|
61
|
+
&.kbq-active:not(.kbq-disabled) {
|
|
56
62
|
@include kbq-navbar-item(states-selected);
|
|
57
63
|
}
|
|
58
64
|
|
|
@@ -68,40 +74,13 @@
|
|
|
68
74
|
}
|
|
69
75
|
}
|
|
70
76
|
|
|
71
|
-
.kbq-navbar-brand.kbq-vertical:hover {
|
|
72
|
-
.kbq-navbar-logo {
|
|
73
|
-
transform: scale(1.06);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.kbq-navbar-brand.kbq-horizontal:hover {
|
|
78
|
-
.kbq-navbar-logo {
|
|
79
|
-
z-index: 1;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
77
|
.kbq-navbar-divider {
|
|
84
78
|
background: var(--kbq-line-contrast-less);
|
|
85
79
|
}
|
|
86
80
|
}
|
|
87
81
|
|
|
88
|
-
button {
|
|
89
|
-
&.kbq-navbar-item,
|
|
90
|
-
&.kbq-navbar-brand,
|
|
91
|
-
&.kbq-navbar-toggle {
|
|
92
|
-
background: transparent;
|
|
93
|
-
border: none;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
82
|
@mixin kbq-navbar-typography() {
|
|
98
83
|
.kbq-navbar-title {
|
|
99
84
|
@include kbq-typography-level-to-styles-css-variables(typography, text-normal-medium);
|
|
100
85
|
}
|
|
101
|
-
|
|
102
|
-
.kbq-navbar-brand {
|
|
103
|
-
.kbq-navbar-title {
|
|
104
|
-
@include kbq-typography-level-to-styles-css-variables(typography, navbar-title);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
86
|
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { AfterContentInit, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { KbqTooltipTrigger } from '@koobiq/components/tooltip';
|
|
3
|
+
import { KbqNavbarFocusableItem, KbqNavbarRectangleElement, KbqNavbarTitle } from './navbar-item.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class KbqNavbarBrand extends KbqTooltipTrigger implements AfterContentInit {
|
|
6
|
+
/** @docs-private */
|
|
7
|
+
protected readonly nativeElement: HTMLElement;
|
|
8
|
+
/** @docs-private */
|
|
9
|
+
protected readonly changeDetectorRef: ChangeDetectorRef;
|
|
10
|
+
/** @docs-private */
|
|
11
|
+
protected readonly rectangleElement: KbqNavbarRectangleElement;
|
|
12
|
+
/** @docs-private */
|
|
13
|
+
protected readonly navbarFocusableItem: KbqNavbarFocusableItem;
|
|
14
|
+
/** @docs-private */
|
|
15
|
+
title: KbqNavbarTitle;
|
|
16
|
+
/** alternative display of the brand name in two lines */
|
|
17
|
+
longTitle: boolean;
|
|
18
|
+
/** text that will be displayed in the tooltip. By default, the text is taken from kbq-navbar-title. */
|
|
19
|
+
collapsedText: string;
|
|
20
|
+
get isLink(): boolean;
|
|
21
|
+
/** @docs-private */
|
|
22
|
+
get croppedText(): string;
|
|
23
|
+
/** @docs-private */
|
|
24
|
+
get hasCroppedText(): boolean;
|
|
25
|
+
/** @docs-private */
|
|
26
|
+
get titleText(): string | null;
|
|
27
|
+
/** @docs-private */
|
|
28
|
+
get disabled(): boolean;
|
|
29
|
+
set disabled(value: boolean);
|
|
30
|
+
/** @docs-private */
|
|
31
|
+
get collapsed(): boolean;
|
|
32
|
+
set collapsed(value: boolean);
|
|
33
|
+
private _collapsed;
|
|
34
|
+
constructor();
|
|
35
|
+
ngAfterContentInit(): void;
|
|
36
|
+
private updateTooltip;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqNavbarBrand, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqNavbarBrand, "kbq-navbar-brand, [kbq-navbar-brand]", ["kbqNavbarBrand"], { "longTitle": { "alias": "longTitle"; "required": false; }; "collapsedText": { "alias": "collapsedText"; "required": false; }; }, {}, ["title"], ["*"], false, never>;
|
|
39
|
+
}
|
package/navbar/navbar-brand.scss
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@use '../core/styles/tokens';
|
|
2
2
|
@use '../core/styles/common/tokens' as *;
|
|
3
|
+
@use './navbar-theme';
|
|
3
4
|
|
|
4
5
|
.kbq-navbar-logo {
|
|
5
6
|
display: flex;
|
|
@@ -50,6 +51,18 @@ a.kbq-navbar-brand {
|
|
|
50
51
|
}
|
|
51
52
|
|
|
52
53
|
.kbq-navbar-brand.kbq-vertical {
|
|
54
|
+
flex-direction: row;
|
|
55
|
+
align-items: center;
|
|
56
|
+
|
|
57
|
+
padding: var(--kbq-size-xxs) var(--kbq-size-m) var(--kbq-size-m);
|
|
58
|
+
|
|
59
|
+
&:after {
|
|
60
|
+
top: 0;
|
|
61
|
+
right: var(--kbq-size-s);
|
|
62
|
+
bottom: var(--kbq-size-s);
|
|
63
|
+
left: var(--kbq-size-s);
|
|
64
|
+
}
|
|
65
|
+
|
|
53
66
|
& .kbq-navbar-logo {
|
|
54
67
|
align-items: center;
|
|
55
68
|
}
|
|
@@ -58,65 +71,85 @@ a.kbq-navbar-brand {
|
|
|
58
71
|
display: block;
|
|
59
72
|
align-items: center;
|
|
60
73
|
|
|
61
|
-
padding-
|
|
62
|
-
padding-bottom: var(--kbq-size-xxs);
|
|
63
|
-
|
|
64
|
-
height: var(--kbq-size-3xl);
|
|
65
|
-
|
|
66
|
-
padding-left: 0;
|
|
67
|
-
|
|
68
|
-
text-overflow: ellipsis;
|
|
69
|
-
white-space: nowrap;
|
|
70
|
-
overflow: hidden;
|
|
74
|
+
padding-left: var(--kbq-size-s);
|
|
71
75
|
}
|
|
72
76
|
|
|
73
77
|
&.kbq-expanded {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
height: var(--kbq-size-4xl);
|
|
77
|
-
width: var(--kbq-size-4xl);
|
|
78
|
-
|
|
79
|
-
margin: var(--kbq-size-l) var(--kbq-size-l) var(--kbq-size-4xl);
|
|
80
|
-
|
|
81
|
-
flex-direction: column;
|
|
82
|
-
|
|
83
|
-
&:after {
|
|
84
|
-
top: 0;
|
|
85
|
-
right: 0;
|
|
86
|
-
bottom: 0;
|
|
87
|
-
left: 0;
|
|
78
|
+
& .kbq-navbar-title {
|
|
79
|
+
max-width: 200px;
|
|
88
80
|
}
|
|
81
|
+
}
|
|
89
82
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
justify-content: center;
|
|
83
|
+
&.kbq-collapsed {
|
|
84
|
+
& .kbq-navbar-title {
|
|
85
|
+
display: none !important;
|
|
94
86
|
}
|
|
87
|
+
}
|
|
95
88
|
|
|
96
|
-
|
|
97
|
-
|
|
89
|
+
&.kbq-navbar-brand_long-title .kbq-navbar-title {
|
|
90
|
+
display: -webkit-box;
|
|
98
91
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
}
|
|
92
|
+
-webkit-box-orient: vertical;
|
|
93
|
+
-webkit-line-clamp: 2;
|
|
94
|
+
white-space: normal;
|
|
103
95
|
}
|
|
96
|
+
}
|
|
104
97
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
98
|
+
@mixin kbq-navbar-brand-theme() {
|
|
99
|
+
.kbq-navbar-brand {
|
|
100
|
+
@include navbar-theme.kbq-navbar-item(default);
|
|
101
|
+
|
|
102
|
+
&.kbq-navbar-brand_link {
|
|
103
|
+
cursor: pointer;
|
|
104
|
+
|
|
105
|
+
&:hover:not(.kbq-disabled) {
|
|
106
|
+
@include navbar-theme.kbq-navbar-item(states-hover);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
&.cdk-focused.cdk-keyboard-focused {
|
|
110
|
+
outline: none;
|
|
111
|
+
|
|
112
|
+
&:after {
|
|
113
|
+
display: block;
|
|
114
|
+
box-shadow: inset 0 0 0 2px var(--kbq-states-line-focus-theme);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&:active:not(.kbq-disabled, .kbq-vertical.kbq-navbar-brand),
|
|
119
|
+
&.kbq-active:not(.kbq-disabled, .kbq-vertical.kbq-navbar-brand) {
|
|
120
|
+
@include navbar-theme.kbq-navbar-item(states-selected);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
&.kbq-vertical:hover {
|
|
124
|
+
.kbq-navbar-logo {
|
|
125
|
+
transform: scale(1.06);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
&.kbq-horizontal:hover {
|
|
130
|
+
.kbq-navbar-logo {
|
|
131
|
+
z-index: 1;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
114
134
|
}
|
|
115
135
|
|
|
136
|
+
&.kbq-navbar-focusable-item {
|
|
137
|
+
outline: none;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
@mixin kbq-navbar-brand-typography() {
|
|
143
|
+
.kbq-navbar-brand {
|
|
116
144
|
& .kbq-navbar-title {
|
|
117
|
-
|
|
145
|
+
@include kbq-typography-level-to-styles-css-variables(typography, navbar-title);
|
|
118
146
|
}
|
|
119
147
|
|
|
120
|
-
|
|
148
|
+
&.kbq-navbar-brand_long-title .kbq-navbar-title {
|
|
149
|
+
@include kbq-typography-level-to-styles-css-variables(typography, text-normal-strong);
|
|
150
|
+
}
|
|
121
151
|
}
|
|
122
152
|
}
|
|
153
|
+
|
|
154
|
+
@include kbq-navbar-brand-theme();
|
|
155
|
+
@include kbq-navbar-brand-typography();
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { FocusMonitor, FocusOrigin } from '@angular/cdk/a11y';
|
|
2
|
-
import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, NgZone, OnDestroy
|
|
2
|
+
import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, NgZone, OnDestroy } from '@angular/core';
|
|
3
3
|
import { IFocusableOption } from '@koobiq/cdk/a11y';
|
|
4
4
|
import { KbqButton, KbqButtonCssStyler } from '@koobiq/components/button';
|
|
5
5
|
import { KbqDropdownTrigger } from '@koobiq/components/dropdown';
|
|
6
6
|
import { KbqFormField } from '@koobiq/components/form-field';
|
|
7
7
|
import { KbqIcon } from '@koobiq/components/icon';
|
|
8
|
-
import { KbqTooltipTrigger
|
|
8
|
+
import { KbqTooltipTrigger } from '@koobiq/components/tooltip';
|
|
9
9
|
import { Subject } from 'rxjs';
|
|
10
|
-
import { KbqVerticalNavbar } from './vertical-navbar.component';
|
|
11
10
|
import * as i0 from "@angular/core";
|
|
12
11
|
export interface KbqNavbarFocusableItemEvent {
|
|
13
12
|
item: KbqNavbarFocusableItem;
|
|
@@ -36,18 +35,6 @@ export declare class KbqNavbarTitle implements AfterViewInit {
|
|
|
36
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqNavbarTitle, never>;
|
|
37
36
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqNavbarTitle, "kbq-navbar-title, [kbq-navbar-title]", never, {}, {}, never, never, false, never>;
|
|
38
37
|
}
|
|
39
|
-
export declare class KbqNavbarBrand implements AfterContentInit {
|
|
40
|
-
private navbar;
|
|
41
|
-
logo: KbqNavbarLogo;
|
|
42
|
-
title: KbqNavbarTitle;
|
|
43
|
-
hovered: boolean;
|
|
44
|
-
get hasBento(): boolean;
|
|
45
|
-
private readonly destroyRef;
|
|
46
|
-
constructor(navbar: KbqVerticalNavbar);
|
|
47
|
-
ngAfterContentInit(): void;
|
|
48
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KbqNavbarBrand, [{ optional: true; }]>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqNavbarBrand, "kbq-navbar-brand, [kbq-navbar-brand]", ["kbqNavbarBrand"], {}, {}, ["logo", "title"], ["*"], false, never>;
|
|
50
|
-
}
|
|
51
38
|
export declare class KbqNavbarDivider {
|
|
52
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqNavbarDivider, never>;
|
|
53
40
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqNavbarDivider, "kbq-navbar-divider", never, {}, {}, never, never, false, never>;
|
|
@@ -112,7 +99,6 @@ export declare class KbqNavbarItem extends KbqTooltipTrigger implements AfterCon
|
|
|
112
99
|
private changeDetectorRef;
|
|
113
100
|
private dropdownTrigger;
|
|
114
101
|
private bento;
|
|
115
|
-
private tooltip;
|
|
116
102
|
title: KbqNavbarTitle;
|
|
117
103
|
icon: KbqIcon;
|
|
118
104
|
collapsedText: string;
|
|
@@ -132,29 +118,11 @@ export declare class KbqNavbarItem extends KbqTooltipTrigger implements AfterCon
|
|
|
132
118
|
get showVerticalDropDownAngle(): boolean;
|
|
133
119
|
get showHorizontalDropDownAngle(): boolean;
|
|
134
120
|
get hasCroppedText(): boolean;
|
|
135
|
-
constructor(rectangleElement: KbqNavbarRectangleElement, navbarFocusableItem: KbqNavbarFocusableItem, changeDetectorRef: ChangeDetectorRef, dropdownTrigger: KbqDropdownTrigger, bento: KbqNavbarBento
|
|
121
|
+
constructor(rectangleElement: KbqNavbarRectangleElement, navbarFocusableItem: KbqNavbarFocusableItem, changeDetectorRef: ChangeDetectorRef, dropdownTrigger: KbqDropdownTrigger, bento: KbqNavbarBento);
|
|
136
122
|
ngAfterContentInit(): void;
|
|
137
123
|
updateTooltip(): void;
|
|
138
124
|
getTitleWidth(): number;
|
|
139
125
|
onKeyDown($event: KeyboardEvent): void;
|
|
140
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KbqNavbarItem, [null, null, null, { optional: true; }, { optional: true; }
|
|
126
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqNavbarItem, [null, null, null, { optional: true; }, { optional: true; }]>;
|
|
141
127
|
static ɵcmp: i0.ɵɵComponentDeclaration<KbqNavbarItem, "kbq-navbar-item, [kbq-navbar-item]", ["kbqNavbarItem"], { "collapsedText": { "alias": "collapsedText"; "required": false; }; "trigger": { "alias": "kbqTrigger"; "required": false; }; "collapsable": { "alias": "collapsable"; "required": false; }; }, {}, ["title", "icon"], ["[kbq-icon]", "kbq-navbar-title, [kbq-navbar-title]", "*"], false, never>;
|
|
142
128
|
}
|
|
143
|
-
export declare class KbqNavbarToggle extends KbqTooltipTrigger implements OnDestroy {
|
|
144
|
-
navbar: KbqVerticalNavbar;
|
|
145
|
-
private changeDetectorRef;
|
|
146
|
-
protected readonly document: Document;
|
|
147
|
-
private readonly window;
|
|
148
|
-
customIcon: KbqIcon;
|
|
149
|
-
get content(): string | TemplateRef<any>;
|
|
150
|
-
set content(content: string | TemplateRef<any>);
|
|
151
|
-
get disabled(): boolean;
|
|
152
|
-
protected modifier: TooltipModifier;
|
|
153
|
-
constructor(navbar: KbqVerticalNavbar, changeDetectorRef: ChangeDetectorRef);
|
|
154
|
-
onKeydown($event: KeyboardEvent): void;
|
|
155
|
-
ngOnDestroy(): void;
|
|
156
|
-
toggle: () => void;
|
|
157
|
-
private windowToggleHandler;
|
|
158
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KbqNavbarToggle, never>;
|
|
159
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqNavbarToggle, "kbq-navbar-toggle", never, { "content": { "alias": "kbqCollapsedTooltip"; "required": false; }; }, {}, ["customIcon"], ["[kbq-icon]", "kbq-navbar-title"], false, never>;
|
|
160
|
-
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { KbqVerticalNavbar } from './vertical-navbar.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/cdk/a11y";
|
|
5
|
+
import * as i2 from "@koobiq/components/tooltip";
|
|
6
|
+
export declare class KbqNavbarToggle implements OnDestroy {
|
|
7
|
+
private readonly window;
|
|
8
|
+
private readonly ngZone;
|
|
9
|
+
private readonly changeDetectorRef;
|
|
10
|
+
private readonly tooltip;
|
|
11
|
+
/** @docs-private */
|
|
12
|
+
protected readonly navbar: KbqVerticalNavbar;
|
|
13
|
+
constructor();
|
|
14
|
+
ngOnDestroy(): void;
|
|
15
|
+
/** @docs-private */
|
|
16
|
+
keydownHandler($event: KeyboardEvent): void;
|
|
17
|
+
/** toggles the state of the navbar */
|
|
18
|
+
toggle(): void;
|
|
19
|
+
private updateTooltipContent;
|
|
20
|
+
private windowToggleHandler;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqNavbarToggle, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqNavbarToggle, "kbq-navbar-toggle, [kbq-navbar-toggle]", never, {}, {}, never, ["[kbq-icon]"], false, [{ directive: typeof i1.CdkMonitorFocus; inputs: {}; outputs: {}; }, { directive: typeof i2.KbqTooltipTrigger; inputs: {}; outputs: {}; }]>;
|
|
23
|
+
}
|