@koobiq/components 18.35.0 → 18.37.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/accordion/accordion.component.d.ts +1 -1
- package/app-switcher/_app-switcher-theme.scss +34 -0
- package/app-switcher/app-switcher-animations.d.ts +5 -0
- package/app-switcher/app-switcher-dropdown-app.d.ts +11 -0
- package/app-switcher/app-switcher-dropdown-app.scss +85 -0
- package/app-switcher/app-switcher-dropdown-site.d.ts +9 -0
- package/app-switcher/app-switcher-dropdown-site.scss +53 -0
- package/app-switcher/app-switcher.d.ts +191 -0
- package/app-switcher/app-switcher.module.d.ts +10 -0
- package/app-switcher/app-switcher.scss +64 -0
- package/app-switcher/index.d.ts +1 -0
- package/app-switcher/kbq-app-switcher-list-item.d.ts +16 -0
- package/app-switcher/kbq-app-switcher-list-item.scss +180 -0
- package/app-switcher/public-api.d.ts +6 -0
- package/autocomplete/autocomplete.scss +2 -17
- package/badge/badge.component.d.ts +1 -1
- package/badge/badge.component.scss +2 -0
- package/breadcrumbs/breadcrumbs.d.ts +2 -1
- package/breadcrumbs/breadcrumbs.scss +8 -4
- package/button/button.component.d.ts +3 -2
- 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/clipboard.d.ts +1 -1
- package/core/common-behaviors/color.d.ts +5 -5
- package/core/common-behaviors/focus-monitor.d.ts +19 -0
- package/core/common-behaviors/hover.d.ts +15 -0
- package/core/common-behaviors/index.d.ts +4 -0
- package/core/common-behaviors/orientation.d.ts +4 -0
- package/core/common-behaviors/read-state.d.ts +12 -0
- package/core/locales/en-US.d.ts +62 -0
- package/core/locales/es-LA.d.ts +62 -0
- package/core/locales/formatters.d.ts +0 -72
- package/core/locales/index.d.ts +0 -2
- package/core/locales/locale-service.d.ts +292 -250
- package/core/locales/pt-BR.d.ts +62 -0
- package/core/locales/ru-RU.d.ts +62 -0
- package/core/locales/tk-TM.d.ts +62 -0
- package/core/locales/types.d.ts +22 -0
- package/core/navbar/rectangle-item.d.ts +1 -1
- package/core/option/action.d.ts +1 -1
- package/core/option/option.d.ts +3 -2
- package/core/pop-up/constants.d.ts +2 -1
- package/core/pop-up/pop-up-trigger.d.ts +3 -3
- package/core/pop-up/pop-up.d.ts +2 -1
- package/core/select/common.d.ts +6 -1
- package/core/select/constants.d.ts +5 -0
- package/core/styles/common/_select.scss +25 -0
- package/core/styles/typography/_typography.scss +23 -82
- package/core/utils/dom.d.ts +1 -6
- package/datepicker/datepicker-module.d.ts +2 -1
- package/divider/divider.scss +1 -0
- package/dropdown/dropdown-item.scss +8 -7
- package/dropdown/dropdown.component.d.ts +5 -1
- package/dropdown/dropdown.module.d.ts +1 -1
- package/dropdown/dropdown.scss +5 -14
- package/esm2022/accordion/accordion-content.mjs +3 -3
- package/esm2022/accordion/accordion-header.mjs +3 -3
- package/esm2022/accordion/accordion-item.mjs +3 -3
- package/esm2022/accordion/accordion-trigger.component.mjs +3 -3
- package/esm2022/accordion/accordion.component.mjs +5 -5
- package/esm2022/accordion/accordion.module.mjs +4 -4
- package/esm2022/actions-panel/actions-panel-container.mjs +3 -3
- package/esm2022/actions-panel/actions-panel.mjs +3 -3
- package/esm2022/actions-panel/module.mjs +4 -4
- package/esm2022/alert/alert.component.mjs +12 -12
- package/esm2022/alert/alert.module.mjs +4 -4
- package/esm2022/app-switcher/app-switcher-animations.mjs +18 -0
- package/esm2022/app-switcher/app-switcher-dropdown-app.mjs +75 -0
- package/esm2022/app-switcher/app-switcher-dropdown-site.mjs +60 -0
- package/esm2022/app-switcher/app-switcher.mjs +446 -0
- package/esm2022/app-switcher/app-switcher.module.mjs +45 -0
- package/esm2022/app-switcher/index.mjs +2 -0
- package/esm2022/app-switcher/kbq-app-switcher-list-item.mjs +84 -0
- package/esm2022/app-switcher/koobiq-components-app-switcher.mjs +5 -0
- package/esm2022/app-switcher/public-api.mjs +7 -0
- package/esm2022/autocomplete/autocomplete-origin.directive.mjs +3 -3
- package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +7 -7
- package/esm2022/autocomplete/autocomplete.component.mjs +3 -3
- package/esm2022/autocomplete/autocomplete.module.mjs +4 -4
- package/esm2022/badge/badge.component.mjs +11 -11
- package/esm2022/badge/badge.module.mjs +4 -4
- package/esm2022/breadcrumbs/breadcrumbs.mjs +58 -49
- package/esm2022/breadcrumbs/breadcrumbs.module.mjs +4 -4
- package/esm2022/button/button.component.mjs +12 -10
- package/esm2022/button/button.dropdown-trigger.directive.mjs +3 -3
- package/esm2022/button/button.module.mjs +4 -4
- package/esm2022/button-toggle/button-toggle.component.mjs +8 -8
- package/esm2022/button-toggle/button-toggle.module.mjs +4 -4
- package/esm2022/checkbox/checkbox-module.mjs +4 -4
- package/esm2022/checkbox/checkbox-required-validator.mjs +3 -3
- package/esm2022/checkbox/checkbox.mjs +3 -3
- package/esm2022/clamped-text/clamped-text.mjs +3 -3
- package/esm2022/clamped-text/module.mjs +4 -4
- package/esm2022/code-block/code-block-highlight.mjs +12 -7
- package/esm2022/code-block/code-block.mjs +4 -4
- package/esm2022/code-block/code-block.module.mjs +4 -4
- package/esm2022/content-panel/content-panel.mjs +26 -26
- package/esm2022/content-panel/index.mjs +1 -2
- package/esm2022/content-panel/module.mjs +4 -4
- package/esm2022/core/common-behaviors/clipboard.mjs +4 -4
- package/esm2022/core/common-behaviors/color.mjs +7 -7
- package/esm2022/core/common-behaviors/common-module.mjs +6 -5
- package/esm2022/core/common-behaviors/disabled.mjs +2 -1
- package/esm2022/core/common-behaviors/error-state.mjs +2 -1
- package/esm2022/core/common-behaviors/focus-monitor.mjs +37 -0
- package/esm2022/core/common-behaviors/hover.mjs +34 -0
- package/esm2022/core/common-behaviors/index.mjs +5 -1
- package/esm2022/core/common-behaviors/orientation.mjs +2 -0
- package/esm2022/core/common-behaviors/read-state.mjs +33 -0
- package/esm2022/core/common-behaviors/tabindex.mjs +2 -1
- package/esm2022/core/error/error-state-matcher.mjs +9 -9
- package/esm2022/core/form-field/field-sizing-content.mjs +8 -5
- package/esm2022/core/formatters/date/formatter.mjs +3 -3
- package/esm2022/core/formatters/date/formatter.pipe.mjs +78 -78
- package/esm2022/core/formatters/filesize/formatter.mjs +3 -3
- package/esm2022/core/formatters/index.mjs +4 -4
- package/esm2022/core/formatters/number/formatter.mjs +14 -14
- package/esm2022/core/forms/forms-module.mjs +4 -4
- package/esm2022/core/forms/forms.directive.mjs +6 -6
- package/esm2022/core/highlight/highlight.pipe.mjs +3 -3
- package/esm2022/core/highlight/index.mjs +4 -4
- package/esm2022/core/line/line.mjs +7 -7
- package/esm2022/core/locales/en-US.mjs +105 -1
- package/esm2022/core/locales/es-LA.mjs +114 -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 -11
- package/esm2022/core/locales/locale-service.module.mjs +4 -4
- package/esm2022/core/locales/pt-BR.mjs +123 -19
- package/esm2022/core/locales/ru-RU.mjs +119 -1
- package/esm2022/core/locales/tk-TM.mjs +128 -24
- package/esm2022/core/locales/types.mjs +1 -1
- package/esm2022/core/navbar/rectangle-item.mjs +7 -6
- package/esm2022/core/option/action-container.mjs +3 -3
- package/esm2022/core/option/action.mjs +4 -4
- package/esm2022/core/option/optgroup.mjs +3 -3
- package/esm2022/core/option/option-module.mjs +4 -4
- package/esm2022/core/option/option.mjs +13 -9
- package/esm2022/core/pop-up/constants.mjs +2 -1
- package/esm2022/core/pop-up/pop-up-trigger.mjs +7 -6
- package/esm2022/core/pop-up/pop-up.mjs +4 -4
- package/esm2022/core/select/common.mjs +35 -19
- package/esm2022/core/select/constants.mjs +6 -1
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +3 -3
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +4 -4
- package/esm2022/core/services/measure-scrollbar.service.mjs +3 -3
- package/esm2022/core/services/theme.service.mjs +3 -3
- package/esm2022/core/utils/dom.mjs +2 -8
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/datepicker/calendar-body.component.mjs +3 -3
- package/esm2022/datepicker/calendar-header.component.mjs +7 -6
- package/esm2022/datepicker/calendar.component.mjs +3 -3
- package/esm2022/datepicker/datepicker-input.directive.mjs +6 -6
- package/esm2022/datepicker/datepicker-intl.mjs +3 -3
- package/esm2022/datepicker/datepicker-module.mjs +11 -8
- package/esm2022/datepicker/datepicker-toggle.component.mjs +9 -9
- package/esm2022/datepicker/datepicker.component.mjs +6 -6
- package/esm2022/datepicker/month-view.component.mjs +3 -3
- package/esm2022/divider/divider.component.mjs +4 -4
- package/esm2022/divider/divider.module.mjs +4 -4
- package/esm2022/dl/dl.component.mjs +9 -9
- package/esm2022/dl/dl.module.mjs +4 -4
- package/esm2022/dropdown/dropdown-content.directive.mjs +3 -3
- package/esm2022/dropdown/dropdown-item.component.mjs +5 -5
- package/esm2022/dropdown/dropdown-trigger.directive.mjs +5 -5
- package/esm2022/dropdown/dropdown.component.mjs +18 -8
- package/esm2022/dropdown/dropdown.module.mjs +14 -10
- package/esm2022/dynamic-translation/dynamic-translation.mjs +9 -9
- package/esm2022/dynamic-translation/module.mjs +4 -4
- package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +12 -9
- package/esm2022/empty-state/empty-state.component.mjs +15 -15
- package/esm2022/empty-state/empty-state.module.mjs +4 -4
- package/esm2022/file-upload/file-drop.mjs +7 -5
- package/esm2022/file-upload/file-upload.mjs +1 -1
- package/esm2022/file-upload/file-upload.module.mjs +4 -4
- package/esm2022/file-upload/multiple-file-upload.component.mjs +20 -13
- package/esm2022/file-upload/single-file-upload.component.mjs +19 -6
- package/esm2022/filter-bar/filter-bar-button.mjs +3 -3
- package/esm2022/filter-bar/filter-bar.mjs +8 -4
- package/esm2022/filter-bar/filter-bar.module.mjs +4 -4
- package/esm2022/filter-bar/filter-refresher.mjs +3 -3
- package/esm2022/filter-bar/filter-reset.mjs +3 -3
- package/esm2022/filter-bar/filter-search.mjs +6 -6
- package/esm2022/filter-bar/filters.mjs +12 -7
- package/esm2022/filter-bar/pipe-add.mjs +6 -5
- package/esm2022/filter-bar/pipe.directive.mjs +3 -3
- package/esm2022/filter-bar/pipes/base-pipe.mjs +17 -9
- package/esm2022/filter-bar/pipes/pipe-button.mjs +3 -3
- package/esm2022/filter-bar/pipes/pipe-date.mjs +6 -6
- package/esm2022/filter-bar/pipes/pipe-datetime.mjs +6 -6
- package/esm2022/filter-bar/pipes/pipe-multi-select.mjs +15 -9
- package/esm2022/filter-bar/pipes/pipe-multi-tree-select.mjs +12 -7
- package/esm2022/filter-bar/pipes/pipe-readonly.mjs +6 -6
- package/esm2022/filter-bar/pipes/pipe-select.mjs +6 -6
- package/esm2022/filter-bar/pipes/pipe-state.mjs +3 -3
- package/esm2022/filter-bar/pipes/pipe-text.mjs +6 -6
- package/esm2022/filter-bar/pipes/pipe-title.mjs +26 -21
- package/esm2022/filter-bar/pipes/pipe-tree-select.mjs +6 -6
- package/esm2022/form-field/cleaner.mjs +3 -3
- package/esm2022/form-field/error.mjs +3 -3
- package/esm2022/form-field/fieldset.mjs +11 -11
- package/esm2022/form-field/form-field.mjs +11 -11
- package/esm2022/form-field/form-field.module.mjs +4 -4
- package/esm2022/form-field/hint.mjs +3 -3
- package/esm2022/form-field/label.mjs +3 -3
- package/esm2022/form-field/password-hint.mjs +3 -3
- package/esm2022/form-field/password-toggle.mjs +7 -7
- package/esm2022/form-field/prefix.mjs +3 -3
- package/esm2022/form-field/reactive-password-hint.mjs +3 -3
- package/esm2022/form-field/stepper.mjs +44 -13
- package/esm2022/form-field/suffix.mjs +3 -3
- package/esm2022/form-field/validate.directive.mjs +3 -3
- package/esm2022/icon/icon-button.component.mjs +3 -3
- package/esm2022/icon/icon-item.component.mjs +3 -3
- package/esm2022/icon/icon.component.mjs +4 -4
- package/esm2022/icon/icon.module.mjs +4 -4
- package/esm2022/inline-edit/index.mjs +3 -0
- package/esm2022/inline-edit/inline-edit.mjs +382 -0
- package/esm2022/inline-edit/koobiq-components-inline-edit.mjs +5 -0
- package/esm2022/inline-edit/module.mjs +25 -0
- package/esm2022/input/input-number-validators.mjs +6 -6
- package/esm2022/input/input-number.mjs +10 -9
- package/esm2022/input/input-password.mjs +4 -4
- package/esm2022/input/input.mjs +7 -7
- package/esm2022/input/input.module.mjs +11 -8
- package/esm2022/link/link.component.mjs +6 -6
- package/esm2022/link/link.module.mjs +4 -4
- package/esm2022/list/list-selection.component.mjs +40 -24
- package/esm2022/list/list.component.mjs +6 -6
- package/esm2022/list/list.module.mjs +4 -4
- package/esm2022/loader-overlay/loader-overlay.component.mjs +13 -13
- package/esm2022/loader-overlay/loader-overlay.module.mjs +4 -4
- package/esm2022/markdown/markdown.component.mjs +10 -10
- package/esm2022/markdown/markdown.module.mjs +4 -4
- package/esm2022/markdown/markdown.service.mjs +3 -3
- package/esm2022/modal/css-unit.pipe.mjs +3 -3
- package/esm2022/modal/modal-control.service.mjs +3 -3
- package/esm2022/modal/modal-util.mjs +7 -3
- package/esm2022/modal/modal.component.mjs +5 -5
- package/esm2022/modal/modal.directive.mjs +12 -12
- package/esm2022/modal/modal.module.mjs +4 -4
- package/esm2022/modal/modal.service.mjs +5 -4
- package/esm2022/navbar/navbar-item.component.mjs +53 -44
- package/esm2022/navbar/navbar.component.mjs +17 -13
- package/esm2022/navbar/navbar.module.mjs +4 -4
- package/esm2022/navbar/vertical-navbar.component.mjs +6 -6
- package/esm2022/navbar-ic/navbar-ic-header.mjs +25 -9
- package/esm2022/navbar-ic/navbar-ic-item.mjs +35 -44
- package/esm2022/navbar-ic/navbar-ic.animation.mjs +10 -2
- package/esm2022/navbar-ic/navbar-ic.mjs +50 -21
- package/esm2022/navbar-ic/navbar-ic.module.mjs +4 -4
- package/esm2022/notification-center/index.mjs +2 -0
- package/esm2022/notification-center/koobiq-components-notification-center.mjs +5 -0
- package/esm2022/notification-center/notification-center-animations.mjs +18 -0
- package/esm2022/notification-center/notification-center.mjs +353 -0
- package/esm2022/notification-center/notification-center.module.mjs +38 -0
- package/esm2022/notification-center/notification-center.service.mjs +127 -0
- package/esm2022/notification-center/notification-item.mjs +70 -0
- package/esm2022/notification-center/public-api.mjs +5 -0
- package/esm2022/overflow-items/module.mjs +4 -4
- package/esm2022/overflow-items/overflow-items.mjs +95 -41
- package/esm2022/popover/popover-confirm.component.mjs +10 -10
- package/esm2022/popover/popover.component.mjs +31 -13
- package/esm2022/popover/popover.module.mjs +4 -4
- package/esm2022/progress-bar/progress-bar.component.mjs +9 -9
- package/esm2022/progress-bar/progress-bar.module.mjs +4 -4
- package/esm2022/progress-spinner/progress-spinner.component.mjs +9 -9
- package/esm2022/progress-spinner/progress-spinner.module.mjs +4 -4
- package/esm2022/radio/radio.component.mjs +6 -6
- package/esm2022/radio/radio.module.mjs +4 -4
- 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/risk-level/risk-level.component.mjs +3 -3
- package/esm2022/risk-level/risk-level.module.mjs +4 -4
- package/esm2022/scrollbar/scrollbar.component.mjs +3 -3
- package/esm2022/scrollbar/scrollbar.directive.mjs +7 -6
- package/esm2022/scrollbar/scrollbar.module.mjs +4 -4
- package/esm2022/search-expandable/index.mjs +2 -0
- package/esm2022/search-expandable/koobiq-components-search-expandable.mjs +5 -0
- package/esm2022/search-expandable/public-api.mjs +3 -0
- package/esm2022/search-expandable/search-expandable.mjs +177 -0
- package/esm2022/search-expandable/search-expandable.module.mjs +18 -0
- package/esm2022/select/select-option.directive.mjs +3 -3
- package/esm2022/select/select.component.mjs +38 -23
- package/esm2022/select/select.module.mjs +12 -8
- package/esm2022/sidebar/sidebar.component.mjs +9 -9
- package/esm2022/sidebar/sidebar.module.mjs +4 -4
- package/esm2022/sidepanel/sidepanel-container.component.mjs +5 -5
- package/esm2022/sidepanel/sidepanel-directives.mjs +15 -15
- package/esm2022/sidepanel/sidepanel.module.mjs +4 -4
- package/esm2022/sidepanel/sidepanel.service.mjs +3 -3
- package/esm2022/split-button/index.mjs +2 -0
- package/esm2022/split-button/koobiq-components-split-button.mjs +5 -0
- package/esm2022/split-button/public-api.mjs +3 -0
- package/esm2022/split-button/split-button.mjs +133 -0
- package/esm2022/split-button/split-button.module.mjs +18 -0
- package/esm2022/splitter/splitter.component.mjs +13 -13
- package/esm2022/splitter/splitter.module.mjs +4 -4
- package/esm2022/table/table.component.mjs +6 -6
- package/esm2022/table/table.module.mjs +4 -4
- package/esm2022/tabs/paginated-tab-header.mjs +4 -4
- package/esm2022/tabs/tab-body.component.mjs +6 -6
- package/esm2022/tabs/tab-content.directive.mjs +3 -3
- package/esm2022/tabs/tab-group.component.mjs +15 -15
- package/esm2022/tabs/tab-header.component.mjs +4 -4
- package/esm2022/tabs/tab-label-wrapper.directive.mjs +4 -4
- package/esm2022/tabs/tab-label.directive.mjs +3 -3
- package/esm2022/tabs/tab-nav-bar.mjs +10 -10
- package/esm2022/tabs/tab.component.mjs +3 -3
- package/esm2022/tabs/tabs.module.mjs +4 -4
- package/esm2022/tags/tag-input.mjs +38 -36
- package/esm2022/tags/tag-list.component.mjs +281 -250
- package/esm2022/tags/tag.component.mjs +206 -140
- package/esm2022/tags/tag.module.mjs +4 -4
- package/esm2022/textarea/textarea.component.mjs +5 -5
- package/esm2022/textarea/textarea.module.mjs +7 -6
- package/esm2022/time-range/constants.mjs +42 -0
- package/esm2022/time-range/index.mjs +8 -0
- package/esm2022/time-range/koobiq-components-time-range.mjs +5 -0
- package/esm2022/time-range/module.mjs +36 -0
- package/esm2022/time-range/time-range-editor.mjs +224 -0
- package/esm2022/time-range/time-range-title-as-form-field.mjs +60 -0
- package/esm2022/time-range/time-range-title.mjs +112 -0
- package/esm2022/time-range/time-range.mjs +234 -0
- package/esm2022/time-range/time-range.service.mjs +126 -0
- package/esm2022/time-range/types.mjs +2 -0
- package/esm2022/timepicker/timepicker.directive.mjs +4 -4
- package/esm2022/timepicker/timepicker.module.mjs +9 -8
- package/esm2022/timezone/cities-by-filter.pipe.mjs +3 -3
- package/esm2022/timezone/timezone-option.component.mjs +5 -5
- package/esm2022/timezone/timezone-option.directive.mjs +3 -3
- package/esm2022/timezone/timezone-select.component.mjs +9 -9
- package/esm2022/timezone/timezone.module.mjs +10 -8
- package/esm2022/timezone/utc-offset.pipe.mjs +3 -3
- package/esm2022/title/title.directive.mjs +9 -5
- package/esm2022/title/title.module.mjs +4 -4
- package/esm2022/toast/toast-container.component.mjs +3 -3
- package/esm2022/toast/toast.component.mjs +20 -14
- package/esm2022/toast/toast.module.mjs +4 -4
- package/esm2022/toast/toast.service.mjs +5 -4
- package/esm2022/toast/toast.type.mjs +1 -1
- package/esm2022/toggle/toggle.component.mjs +6 -6
- package/esm2022/toggle/toggle.module.mjs +4 -4
- package/esm2022/tooltip/tooltip.component.mjs +19 -19
- package/esm2022/tooltip/tooltip.module.mjs +4 -4
- package/esm2022/top-bar/module.mjs +4 -4
- package/esm2022/top-bar/top-bar.mjs +11 -11
- package/esm2022/tree/node.mjs +3 -3
- package/esm2022/tree/outlet.mjs +3 -3
- package/esm2022/tree/padding.directive.mjs +3 -3
- package/esm2022/tree/toggle.mjs +16 -12
- package/esm2022/tree/tree-base.mjs +7 -7
- package/esm2022/tree/tree-option.component.mjs +11 -14
- package/esm2022/tree/tree-selection.component.mjs +26 -16
- package/esm2022/tree/tree.mjs +3 -3
- package/esm2022/tree/tree.module.mjs +4 -4
- package/esm2022/tree-select/tree-select.component.mjs +142 -84
- package/esm2022/tree-select/tree-select.module.mjs +11 -8
- package/esm2022/username/module.mjs +4 -4
- package/esm2022/username/username.mjs +15 -15
- package/esm2022/username/username.pipe.mjs +8 -8
- package/fesm2022/koobiq-components-accordion.mjs +20 -20
- package/fesm2022/koobiq-components-accordion.mjs.map +1 -1
- package/fesm2022/koobiq-components-actions-panel.mjs +10 -10
- package/fesm2022/koobiq-components-alert.mjs +16 -16
- package/fesm2022/koobiq-components-app-switcher.mjs +704 -0
- package/fesm2022/koobiq-components-app-switcher.mjs.map +1 -0
- package/fesm2022/koobiq-components-autocomplete.mjs +16 -16
- package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
- package/fesm2022/koobiq-components-badge.mjs +14 -14
- package/fesm2022/koobiq-components-badge.mjs.map +1 -1
- package/fesm2022/koobiq-components-breadcrumbs.mjs +61 -52
- package/fesm2022/koobiq-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/koobiq-components-button-toggle.mjs +12 -12
- package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-button.mjs +18 -16
- package/fesm2022/koobiq-components-button.mjs.map +1 -1
- package/fesm2022/koobiq-components-checkbox.mjs +10 -10
- package/fesm2022/koobiq-components-clamped-text.mjs +7 -7
- package/fesm2022/koobiq-components-code-block.mjs +18 -13
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-content-panel.mjs +31 -165
- package/fesm2022/koobiq-components-content-panel.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +962 -581
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +47 -44
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-divider.mjs +8 -8
- package/fesm2022/koobiq-components-divider.mjs.map +1 -1
- package/fesm2022/koobiq-components-dl.mjs +13 -13
- package/fesm2022/koobiq-components-dropdown.mjs +41 -27
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-dynamic-translation.mjs +13 -13
- package/fesm2022/koobiq-components-ellipsis-center.mjs +11 -8
- package/fesm2022/koobiq-components-ellipsis-center.mjs.map +1 -1
- package/fesm2022/koobiq-components-empty-state.mjs +19 -19
- package/fesm2022/koobiq-components-file-upload.mjs +45 -25
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-filter-bar.mjs +147 -114
- package/fesm2022/koobiq-components-filter-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +100 -73
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +13 -13
- package/fesm2022/koobiq-components-icon.mjs.map +1 -1
- package/fesm2022/koobiq-components-inline-edit.mjs +411 -0
- package/fesm2022/koobiq-components-inline-edit.mjs.map +1 -0
- package/fesm2022/koobiq-components-input.mjs +34 -31
- package/fesm2022/koobiq-components-input.mjs.map +1 -1
- package/fesm2022/koobiq-components-link.mjs +10 -10
- package/fesm2022/koobiq-components-link.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +49 -33
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-loader-overlay.mjs +16 -16
- package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
- package/fesm2022/koobiq-components-markdown.mjs +16 -16
- package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +36 -31
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar-ic.mjs +122 -81
- package/fesm2022/koobiq-components-navbar-ic.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +77 -64
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-notification-center.mjs +586 -0
- package/fesm2022/koobiq-components-notification-center.mjs.map +1 -0
- package/fesm2022/koobiq-components-overflow-items.mjs +98 -44
- package/fesm2022/koobiq-components-overflow-items.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +43 -25
- package/fesm2022/koobiq-components-popover.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-bar.mjs +13 -13
- package/fesm2022/koobiq-components-progress-spinner.mjs +13 -13
- package/fesm2022/koobiq-components-radio.mjs +10 -10
- package/fesm2022/koobiq-components-resizer.mjs +156 -0
- package/fesm2022/koobiq-components-resizer.mjs.map +1 -0
- package/fesm2022/koobiq-components-risk-level.mjs +7 -7
- package/fesm2022/koobiq-components-scrollbar.mjs +13 -12
- package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-search-expandable.mjs +199 -0
- package/fesm2022/koobiq-components-search-expandable.mjs.map +1 -0
- package/fesm2022/koobiq-components-select.mjs +51 -33
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidebar.mjs +13 -13
- package/fesm2022/koobiq-components-sidepanel.mjs +26 -26
- package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
- package/fesm2022/koobiq-components-split-button.mjs +155 -0
- package/fesm2022/koobiq-components-split-button.mjs.map +1 -0
- package/fesm2022/koobiq-components-splitter.mjs +16 -16
- package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
- package/fesm2022/koobiq-components-table.mjs +10 -10
- package/fesm2022/koobiq-components-tabs.mjs +52 -52
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +522 -428
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-textarea.mjs +10 -10
- package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
- package/fesm2022/koobiq-components-time-range.mjs +809 -0
- package/fesm2022/koobiq-components-time-range.mjs.map +1 -0
- package/fesm2022/koobiq-components-timepicker.mjs +11 -11
- package/fesm2022/koobiq-components-timepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-timezone.mjs +31 -29
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-title.mjs +12 -8
- package/fesm2022/koobiq-components-title.mjs.map +1 -1
- package/fesm2022/koobiq-components-toast.mjs +28 -21
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/fesm2022/koobiq-components-toggle.mjs +9 -9
- package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-tooltip.mjs +22 -22
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/fesm2022/koobiq-components-top-bar.mjs +15 -15
- package/fesm2022/koobiq-components-top-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +151 -91
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +72 -61
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/fesm2022/koobiq-components-username.mjs +27 -27
- package/file-upload/_file-upload-theme.scss +33 -35
- package/file-upload/file-upload-tokens.scss +1 -2
- package/file-upload/file-upload.d.ts +1 -1
- package/file-upload/file-upload.scss +4 -7
- package/file-upload/multiple-file-upload.component.d.ts +2 -1
- package/file-upload/multiple-file-upload.component.scss +12 -14
- package/file-upload/single-file-upload.component.d.ts +2 -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 +6 -2
- package/filter-bar/pipes/base-pipe.scss +3 -3
- package/filter-bar/pipes/pipe-date.scss +4 -1
- package/filter-bar/pipes/pipe-title.d.ts +2 -0
- package/form-field/fieldset-tokens.scss +1 -0
- package/form-field/form-field-tokens.scss +1 -1
- package/form-field/form-field.d.ts +1 -1
- package/form-field/form-field.scss +7 -7
- package/form-field/password-toggle.d.ts +1 -1
- package/form-field/stepper.d.ts +28 -6
- package/icon/icon.component.d.ts +2 -2
- package/inline-edit/index.d.ts +2 -0
- package/inline-edit/inline-edit-tokens.scss +8 -0
- package/inline-edit/inline-edit.d.ts +140 -0
- package/inline-edit/inline-edit.scss +208 -0
- package/inline-edit/module.d.ts +7 -0
- package/input/input-number.d.ts +1 -1
- package/input/input-password.d.ts +2 -2
- package/input/input.d.ts +2 -2
- package/input/input.module.d.ts +2 -1
- package/link/link.component.d.ts +3 -3
- package/list/list-selection.component.d.ts +13 -2
- package/loader-overlay/loader-overlay.component.d.ts +1 -1
- package/markdown/_markdown-theme.scss +1 -2
- package/markdown/markdown-tokens.scss +1 -0
- package/markdown/markdown.scss +10 -4
- package/modal/modal-tokens.scss +2 -1
- package/modal/modal-util.d.ts +5 -2
- package/modal/modal.component.d.ts +1 -1
- package/modal/modal.scss +3 -4
- package/navbar/_navbar-item_vertical.scss +10 -0
- package/navbar/navbar-brand.scss +5 -2
- package/navbar/navbar-item.component.d.ts +3 -2
- package/navbar/navbar.component.d.ts +4 -4
- package/navbar/vertical-navbar.component.d.ts +2 -2
- package/navbar/vertical-navbar.scss +1 -0
- package/navbar-ic/navbar-ic-header.d.ts +4 -3
- package/navbar-ic/navbar-ic-header.scss +0 -4
- package/navbar-ic/navbar-ic-item.d.ts +3 -2
- 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 +11 -2
- package/notification-center/_notification-center-theme.scss +27 -0
- package/notification-center/index.d.ts +1 -0
- package/notification-center/notification-center-animations.d.ts +5 -0
- package/notification-center/notification-center.d.ts +153 -0
- package/notification-center/notification-center.module.d.ts +7 -0
- package/notification-center/notification-center.scss +126 -0
- package/notification-center/notification-center.service.d.ts +72 -0
- package/notification-center/notification-item.d.ts +27 -0
- package/notification-center/notification-item.scss +157 -0
- package/notification-center/public-api.d.ts +4 -0
- package/overflow-items/overflow-items.d.ts +23 -9
- package/package.json +46 -4
- package/popover/popover-tokens.scss +1 -0
- package/popover/popover.component.d.ts +9 -1
- package/popover/popover.scss +18 -11
- 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/search-expandable/index.d.ts +1 -0
- package/search-expandable/public-api.d.ts +2 -0
- package/search-expandable/search-expandable.d.ts +70 -0
- package/search-expandable/search-expandable.module.d.ts +7 -0
- package/search-expandable/search-expandable.scss +21 -0
- package/select/select.component.d.ts +38 -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 +114 -0
- package/split-button/index.d.ts +1 -0
- package/split-button/public-api.d.ts +2 -0
- package/split-button/split-button.d.ts +37 -0
- package/split-button/split-button.module.d.ts +7 -0
- package/split-button/split-button.scss +72 -0
- package/splitter/splitter.component.d.ts +5 -5
- package/tabs/paginated-tab-header.d.ts +1 -1
- package/tabs/tab-header.component.d.ts +2 -2
- package/tabs/tab-label-wrapper.directive.d.ts +2 -2
- package/tabs/tab-nav-bar.d.ts +3 -3
- package/tags/_tag-theme.scss +21 -15
- package/tags/tag-input.d.ts +18 -7
- package/tags/tag-list.component.d.ts +175 -64
- package/tags/tag-list.scss +24 -14
- package/tags/tag-tokens.scss +17 -1
- package/tags/tag.component.d.ts +91 -27
- package/tags/tag.scss +9 -0
- package/textarea/textarea-tokens.scss +6 -1
- package/textarea/textarea.component.d.ts +2 -2
- package/textarea/textarea.module.d.ts +2 -1
- package/textarea/textarea.scss +4 -0
- package/time-range/constants.d.ts +19 -0
- package/time-range/index.d.ts +7 -0
- package/time-range/module.d.ts +10 -0
- package/time-range/time-range-editor.d.ts +65 -0
- package/time-range/time-range-title-as-form-field.d.ts +41 -0
- package/time-range/time-range-title.d.ts +18 -0
- package/time-range/time-range.d.ts +78 -0
- package/time-range/time-range.scss +66 -0
- package/time-range/time-range.service.d.ts +25 -0
- package/time-range/types.d.ts +69 -0
- package/timepicker/timepicker.directive.d.ts +2 -2
- 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/toast/toast.component.d.ts +6 -4
- package/toast/toast.component.scss +11 -1
- package/toast/toast.service.d.ts +1 -0
- package/toast/toast.type.d.ts +1 -0
- 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/toggle.d.ts +1 -1
- package/tree/tree-base.d.ts +2 -2
- package/tree/tree-option.component.d.ts +2 -1
- package/tree/tree-selection.component.d.ts +12 -3
- package/tree-select/tree-select.component.d.ts +49 -8
- package/tree-select/tree-select.module.d.ts +2 -1
- package/tree-select/tree-select.scss +4 -0
- package/core/locales/fa-IR.d.ts +0 -100
- package/core/locales/zh-CN.d.ts +0 -100
- package/esm2022/content-panel/resizable.mjs +0 -138
- package/esm2022/core/locales/fa-IR.mjs +0 -99
- package/esm2022/core/locales/zh-CN.mjs +0 -99
|
@@ -11,7 +11,7 @@ export declare enum KbqAccordionVariant {
|
|
|
11
11
|
}
|
|
12
12
|
export declare class KbqAccordion implements OnDestroy, AfterViewInit {
|
|
13
13
|
protected readonly focusMonitor: FocusMonitor;
|
|
14
|
-
protected readonly elementRef: ElementRef<
|
|
14
|
+
protected readonly elementRef: ElementRef<HTMLElement>;
|
|
15
15
|
variant: KbqAccordionVariant | string;
|
|
16
16
|
ngAfterViewInit(): void;
|
|
17
17
|
ngOnDestroy(): void;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
@use '../core/styles/common/tokens' as *;
|
|
2
|
+
|
|
3
|
+
@mixin kbq-app-switcher-theme() {
|
|
4
|
+
.kbq-app-switcher {
|
|
5
|
+
background: var(--kbq-background-card);
|
|
6
|
+
|
|
7
|
+
.kbq-app-switcher-group-header {
|
|
8
|
+
color: var(--kbq-foreground-contrast-secondary);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.kbq-app-switcher__empty-search-result {
|
|
13
|
+
color: var(--kbq-foreground-contrast-secondary);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@mixin kbq-app-switcher-typography() {
|
|
18
|
+
.kbq-app-switcher,
|
|
19
|
+
.kbq-app-switcher__empty-search-result {
|
|
20
|
+
@include kbq-typography-level-to-styles-css-variables(typography, text-normal);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.kbq-app-switcher-group-header__text {
|
|
24
|
+
@include kbq-typography-level-to-styles-css-variables(typography, caps-compact-strong);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.kbq-app-switcher-group-header__badge {
|
|
28
|
+
@include kbq-typography-level-to-styles-css-variables(typography, text-compact-medium);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.kbq-app-switch-tree-option__text {
|
|
32
|
+
@include kbq-typography-level-to-styles-css-variables(typography, text-normal-medium);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { KbqDropdownItem } from '@koobiq/components/dropdown';
|
|
2
|
+
import { KbqAppSwitcherApp } from './app-switcher';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/** @docs-private */
|
|
5
|
+
export declare class KbqAppSwitcherDropdownApp extends KbqDropdownItem {
|
|
6
|
+
private sanitizer;
|
|
7
|
+
app: KbqAppSwitcherApp;
|
|
8
|
+
getIcon(icon: string | null): import("@angular/platform-browser").SafeHtml;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqAppSwitcherDropdownApp, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqAppSwitcherDropdownApp, "[kbq-app-switcher-dropdown-app]", ["kbqAppSwitcherDropdownApp"], { "app": { "alias": "kbq-app-switcher-dropdown-app"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
@use '../core/styles/common';
|
|
2
|
+
@use '../core/styles/common/tokens';
|
|
3
|
+
|
|
4
|
+
.kbq-app-switcher-dropdown-app {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: row;
|
|
7
|
+
|
|
8
|
+
width: 100%;
|
|
9
|
+
min-height: 50px;
|
|
10
|
+
|
|
11
|
+
border-radius: var(--kbq-size-xs);
|
|
12
|
+
|
|
13
|
+
@include common.user-select(none);
|
|
14
|
+
|
|
15
|
+
text-decoration: none;
|
|
16
|
+
box-sizing: border-box;
|
|
17
|
+
outline: none;
|
|
18
|
+
-webkit-tap-highlight-color: transparent;
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
|
|
21
|
+
padding: var(--kbq-size-xxs) var(--kbq-size-m);
|
|
22
|
+
|
|
23
|
+
& .kbq-app-switcher-dropdown-app__icon {
|
|
24
|
+
padding-top: var(--kbq-size-s);
|
|
25
|
+
padding-right: var(--kbq-size-m);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
& .kbq-app-switcher-dropdown-app__container {
|
|
29
|
+
width: 100%;
|
|
30
|
+
|
|
31
|
+
align-self: center;
|
|
32
|
+
|
|
33
|
+
& .kbq-app-switcher-dropdown-app__name {
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-direction: row;
|
|
36
|
+
|
|
37
|
+
justify-content: space-between;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
& .kbq-app-switcher-dropdown-app__caption {
|
|
41
|
+
margin-left: var(--kbq-size-3xs);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
& .kbq-dropdown-item__caption {
|
|
46
|
+
padding-top: var(--kbq-size-3xs);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
& .kbq-app-switcher-dropdown-item-trigger__icon {
|
|
50
|
+
margin-top: var(--kbq-size-3xs);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@mixin _kbq-app-switcher-dropdown-app-theme() {
|
|
55
|
+
.kbq-app-switcher-dropdown-app {
|
|
56
|
+
background: var(--kbq-list-default-container-background);
|
|
57
|
+
color: var(--kbq-list-default-text-color);
|
|
58
|
+
|
|
59
|
+
&.kbq-dropdown-item_highlighted,
|
|
60
|
+
&:hover {
|
|
61
|
+
background: var(--kbq-states-background-transparent-active);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&.cdk-keyboard-focused {
|
|
65
|
+
border-color: var(--kbq-list-states-focused-focus-outline-color);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.kbq-app-switcher-dropdown-app__caption {
|
|
69
|
+
color: var(--kbq-dropdown-item-caption-color);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@mixin _kbq-app-switcher-dropdown-app-typography() {
|
|
75
|
+
.kbq-app-switcher-dropdown-app {
|
|
76
|
+
@include tokens.kbq-typography-level-to-styles-css-variables(typography, text-normal);
|
|
77
|
+
|
|
78
|
+
.kbq-app-switcher-dropdown-app__caption {
|
|
79
|
+
@include tokens.kbq-typography-level-to-styles-css-variables(typography, text-compact);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@include _kbq-app-switcher-dropdown-app-theme();
|
|
85
|
+
@include _kbq-app-switcher-dropdown-app-typography();
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { KbqDropdownItem } from '@koobiq/components/dropdown';
|
|
2
|
+
import { KbqAppSwitcherSite } from './app-switcher';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/** @docs-private */
|
|
5
|
+
export declare class KbqAppSwitcherDropdownSite extends KbqDropdownItem {
|
|
6
|
+
site: KbqAppSwitcherSite;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqAppSwitcherDropdownSite, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqAppSwitcherDropdownSite, "[kbq-app-switcher-dropdown-site]", ["kbqAppSwitcherDropdownSite"], { "site": { "alias": "kbq-app-switcher-dropdown-site"; "required": false; }; }, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
@use '../core/styles/common';
|
|
2
|
+
@use '../core/styles/common/tokens';
|
|
3
|
+
|
|
4
|
+
.kbq-app-switcher-dropdown-site {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: row;
|
|
7
|
+
|
|
8
|
+
justify-content: space-between;
|
|
9
|
+
|
|
10
|
+
width: 100%;
|
|
11
|
+
min-height: var(--kbq-size-3xl);
|
|
12
|
+
|
|
13
|
+
text-decoration: none;
|
|
14
|
+
|
|
15
|
+
border-radius: var(--kbq-size-xs);
|
|
16
|
+
|
|
17
|
+
@include common.user-select(none);
|
|
18
|
+
@include common.kbq-list-item-base();
|
|
19
|
+
|
|
20
|
+
padding: var(--kbq-size-xxs) var(--kbq-size-m);
|
|
21
|
+
|
|
22
|
+
& .kbq-app-switcher-dropdown-item-trigger__icon,
|
|
23
|
+
& .kbq-badge {
|
|
24
|
+
margin-top: var(--kbq-size-3xs);
|
|
25
|
+
|
|
26
|
+
align-self: flex-start;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@mixin _kbq-app-switcher-dropdown-site-theme() {
|
|
31
|
+
.kbq-app-switcher-dropdown-site {
|
|
32
|
+
background: var(--kbq-list-default-container-background);
|
|
33
|
+
color: var(--kbq-list-default-text-color);
|
|
34
|
+
|
|
35
|
+
&.kbq-dropdown-item_highlighted,
|
|
36
|
+
&:hover {
|
|
37
|
+
background: var(--kbq-states-background-transparent-active);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&.cdk-keyboard-focused {
|
|
41
|
+
border-color: var(--kbq-list-states-focused-focus-outline-color);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@mixin _kbq-app-switcher-dropdown-site-typography() {
|
|
47
|
+
.kbq-app-switcher-dropdown-site {
|
|
48
|
+
@include tokens.kbq-typography-level-to-styles-css-variables(typography, text-normal);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@include _kbq-app-switcher-dropdown-site-theme();
|
|
53
|
+
@include _kbq-app-switcher-dropdown-site-typography();
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import { CdkScrollable, Overlay, OverlayConfig, ScrollStrategy } from '@angular/cdk/overlay';
|
|
2
|
+
import { AfterContentInit, AfterViewInit, EventEmitter, InjectionToken, OnInit, TemplateRef, Type } from '@angular/core';
|
|
3
|
+
import { FormControl } from '@angular/forms';
|
|
4
|
+
import { KbqPopUp, KbqPopUpTrigger, PopUpPlacements, PopUpSizes } from '@koobiq/components/core';
|
|
5
|
+
import { KbqDropdownTrigger } from '@koobiq/components/dropdown';
|
|
6
|
+
import { KbqInput } from '@koobiq/components/input';
|
|
7
|
+
import { Subscription } from 'rxjs';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export interface KbqAppSwitcherApp {
|
|
10
|
+
name: string;
|
|
11
|
+
id: string | number;
|
|
12
|
+
type?: string | number;
|
|
13
|
+
icon: string;
|
|
14
|
+
caption?: string;
|
|
15
|
+
aliases?: KbqAppSwitcherApp[];
|
|
16
|
+
link?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface KbqAppSwitcherSite {
|
|
19
|
+
name: string;
|
|
20
|
+
id: string | number;
|
|
21
|
+
status?: string;
|
|
22
|
+
icon?: string;
|
|
23
|
+
apps: KbqAppSwitcherApp[];
|
|
24
|
+
}
|
|
25
|
+
/** @docs-private */
|
|
26
|
+
export declare function defaultGroupBy(app: KbqAppSwitcherApp, groups: Record<string, KbqAppSwitcherApp>, untyped: KbqAppSwitcherApp[]): void;
|
|
27
|
+
export declare const KBQ_MIN_NUMBER_OF_APPS_TO_ENABLE_SEARCH: number;
|
|
28
|
+
export declare const KBQ_MIN_NUMBER_OF_APPS_TO_ENABLE_GROUPING: number;
|
|
29
|
+
/** @docs-private */
|
|
30
|
+
export declare const KBQ_APP_SWITCHER_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;
|
|
31
|
+
/** @docs-private */
|
|
32
|
+
export declare function kbqAppSwitcherScrollStrategyFactory(overlay: Overlay): () => ScrollStrategy;
|
|
33
|
+
/** @docs-private */
|
|
34
|
+
export declare const KBQ_APP_SWITCHER_SCROLL_STRATEGY_FACTORY_PROVIDER: {
|
|
35
|
+
provide: InjectionToken<() => ScrollStrategy>;
|
|
36
|
+
deps: (typeof Overlay)[];
|
|
37
|
+
useFactory: typeof kbqAppSwitcherScrollStrategyFactory;
|
|
38
|
+
};
|
|
39
|
+
/** default configuration of app-switcher */
|
|
40
|
+
/** @docs-private */
|
|
41
|
+
export declare const KBQ_APP_SWITCHER_DEFAULT_CONFIGURATION: {
|
|
42
|
+
searchPlaceholder: string;
|
|
43
|
+
searchEmptyResult: string;
|
|
44
|
+
sitesHeader: string;
|
|
45
|
+
};
|
|
46
|
+
/** Injection Token for providing configuration of app-switcher */
|
|
47
|
+
/** @docs-private */
|
|
48
|
+
export declare const KBQ_APP_SWITCHER_CONFIGURATION: InjectionToken<unknown>;
|
|
49
|
+
/** @docs-private */
|
|
50
|
+
export declare class KbqAppSwitcherComponent extends KbqPopUp implements AfterViewInit {
|
|
51
|
+
/** @docs-private */
|
|
52
|
+
protected readonly localeService: import("@koobiq/components/core").KbqLocaleService | null;
|
|
53
|
+
readonly externalConfiguration: unknown;
|
|
54
|
+
configuration: any;
|
|
55
|
+
/** localized data
|
|
56
|
+
* @docs-private */
|
|
57
|
+
get localeData(): any;
|
|
58
|
+
/** @docs-private */
|
|
59
|
+
readonly searchControl: FormControl<string | null>;
|
|
60
|
+
/** @docs-private */
|
|
61
|
+
filteredSites: KbqAppSwitcherSite[];
|
|
62
|
+
/** @docs-private */
|
|
63
|
+
prefix: string;
|
|
64
|
+
/** @docs-private */
|
|
65
|
+
trigger: KbqAppSwitcherTrigger;
|
|
66
|
+
/** @docs-private */
|
|
67
|
+
isTrapFocus: boolean;
|
|
68
|
+
/** @docs-private */
|
|
69
|
+
protected activeSite: KbqAppSwitcherSite;
|
|
70
|
+
/** @docs-private */
|
|
71
|
+
protected activeApp: KbqAppSwitcherApp;
|
|
72
|
+
/** @docs-private */
|
|
73
|
+
input: KbqInput;
|
|
74
|
+
/** @docs-private */
|
|
75
|
+
otherSites: KbqDropdownTrigger;
|
|
76
|
+
constructor();
|
|
77
|
+
ngAfterViewInit(): void;
|
|
78
|
+
/** @docs-private */
|
|
79
|
+
updateClassMap(placement: string, customClass: string, size: PopUpSizes): void;
|
|
80
|
+
/** @docs-private */
|
|
81
|
+
updateTrapFocus(isTrapFocus: boolean): void;
|
|
82
|
+
/** @docs-private */
|
|
83
|
+
escapeHandler(): void;
|
|
84
|
+
/** @docs-private */
|
|
85
|
+
selectAppInSite(site: KbqAppSwitcherSite, app: KbqAppSwitcherApp): void;
|
|
86
|
+
private filterSites;
|
|
87
|
+
private updateLocaleParams;
|
|
88
|
+
private initDefaultParams;
|
|
89
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqAppSwitcherComponent, never>;
|
|
90
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqAppSwitcherComponent, "kbq-app-switcher", never, {}, {}, never, never, true, never>;
|
|
91
|
+
}
|
|
92
|
+
export declare class KbqAppSwitcherTrigger extends KbqPopUpTrigger<KbqAppSwitcherComponent> implements AfterContentInit, OnInit {
|
|
93
|
+
/** @docs-private */
|
|
94
|
+
protected scrollStrategy: () => ScrollStrategy;
|
|
95
|
+
/** @docs-private */
|
|
96
|
+
arrow: boolean;
|
|
97
|
+
/** @docs-private */
|
|
98
|
+
customClass: string;
|
|
99
|
+
/** @docs-private */
|
|
100
|
+
private hasBackdrop;
|
|
101
|
+
/** @docs-private */
|
|
102
|
+
private size;
|
|
103
|
+
/** @docs-private */
|
|
104
|
+
content: string | TemplateRef<any>;
|
|
105
|
+
/** @docs-private */
|
|
106
|
+
header: string | TemplateRef<any>;
|
|
107
|
+
/** @docs-private */
|
|
108
|
+
footer: string | TemplateRef<any>;
|
|
109
|
+
/** @docs-private */
|
|
110
|
+
private closeOnScroll;
|
|
111
|
+
/** Whether search is used or not */
|
|
112
|
+
get withSearch(): boolean;
|
|
113
|
+
/** Number of applications to choose from
|
|
114
|
+
* @docs-private */
|
|
115
|
+
get appsCount(): number;
|
|
116
|
+
/** Whether the sites are used or not
|
|
117
|
+
* @docs-private */
|
|
118
|
+
get sitesMode(): boolean;
|
|
119
|
+
/** Whether the sites are used or not
|
|
120
|
+
* @docs-private */
|
|
121
|
+
get currentApps(): KbqAppSwitcherApp[];
|
|
122
|
+
/** Selected application */
|
|
123
|
+
selectedApp: KbqAppSwitcherApp;
|
|
124
|
+
/** Placement of popUp */
|
|
125
|
+
placement: PopUpPlacements;
|
|
126
|
+
/** Class that will be used in the background */
|
|
127
|
+
backdropClass: string;
|
|
128
|
+
/** Offset of popUp */
|
|
129
|
+
offset: number | null;
|
|
130
|
+
/** Array of sites */
|
|
131
|
+
get sites(): KbqAppSwitcherSite[];
|
|
132
|
+
set sites(value: KbqAppSwitcherSite[]);
|
|
133
|
+
private _parsedSites;
|
|
134
|
+
/** Array of applications */
|
|
135
|
+
get apps(): KbqAppSwitcherApp[];
|
|
136
|
+
set apps(apps: KbqAppSwitcherApp[]);
|
|
137
|
+
private makeGroupsForApps;
|
|
138
|
+
private _parsedApps;
|
|
139
|
+
/** Function to group the apps by type. The first argument is an app object with type.
|
|
140
|
+
* The second is a groups object and third is an array for untyped apps */
|
|
141
|
+
get groupBy(): (app: KbqAppSwitcherApp, groups: Record<string, KbqAppSwitcherApp>, untyped: KbqAppSwitcherApp[]) => void;
|
|
142
|
+
set groupBy(fn: (app: KbqAppSwitcherApp, groups: Record<string, KbqAppSwitcherApp>, untyped: KbqAppSwitcherApp[]) => void);
|
|
143
|
+
private _groupBy;
|
|
144
|
+
/** Selected site */
|
|
145
|
+
get selectedSite(): KbqAppSwitcherSite;
|
|
146
|
+
set selectedSite(value: KbqAppSwitcherSite);
|
|
147
|
+
private _parsedSelectedSite;
|
|
148
|
+
/** Whether the trigger is disabled. */
|
|
149
|
+
get disabled(): boolean;
|
|
150
|
+
set disabled(value: boolean);
|
|
151
|
+
/** @docs-private */
|
|
152
|
+
get hasClickTrigger(): boolean;
|
|
153
|
+
/** Emits a change event whenever the placement state changes. */
|
|
154
|
+
readonly placementChange: EventEmitter<any>;
|
|
155
|
+
/** Emits a change event whenever the visible state changes. */
|
|
156
|
+
readonly visibleChange: EventEmitter<boolean>;
|
|
157
|
+
/** @docs-private */
|
|
158
|
+
readonly selectedSiteChange: EventEmitter<KbqAppSwitcherSite>;
|
|
159
|
+
/** @docs-private */
|
|
160
|
+
readonly selectedAppChange: EventEmitter<KbqAppSwitcherApp>;
|
|
161
|
+
/** @docs-private */
|
|
162
|
+
trigger: string;
|
|
163
|
+
/** @docs-private */
|
|
164
|
+
originalSites: KbqAppSwitcherSite[];
|
|
165
|
+
/** @docs-private */
|
|
166
|
+
originalApps: KbqAppSwitcherApp[];
|
|
167
|
+
/** @docs-private */
|
|
168
|
+
protected originSelector: string;
|
|
169
|
+
/** @docs-private */
|
|
170
|
+
protected get overlayConfig(): OverlayConfig;
|
|
171
|
+
/** @docs-private */
|
|
172
|
+
protected preventClosingByInnerScrollSubscription: Subscription;
|
|
173
|
+
ngOnInit(): void;
|
|
174
|
+
ngAfterContentInit(): void;
|
|
175
|
+
/** @docs-private */
|
|
176
|
+
updateData(): void;
|
|
177
|
+
/** Updates the current position.
|
|
178
|
+
* @docs-private */
|
|
179
|
+
updatePosition(reapplyPosition?: boolean): void;
|
|
180
|
+
/** @docs-private */
|
|
181
|
+
getOverlayHandleComponentType(): Type<KbqAppSwitcherComponent>;
|
|
182
|
+
/** @docs-private */
|
|
183
|
+
updateClassMap(newPlacement?: string): void;
|
|
184
|
+
/** @docs-private */
|
|
185
|
+
closingActions(): import("rxjs").Observable<void | MouseEvent | CdkScrollable>;
|
|
186
|
+
private hideIfNotInViewPort;
|
|
187
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqAppSwitcherTrigger, never>;
|
|
188
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqAppSwitcherTrigger, "[kbqAppSwitcher]", ["kbqAppSwitcher"], { "selectedApp": { "alias": "selectedApp"; "required": false; }; "placement": { "alias": "kbqAppSwitcherPlacement"; "required": false; }; "backdropClass": { "alias": "backdropClass"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "sites": { "alias": "sites"; "required": false; }; "apps": { "alias": "apps"; "required": false; }; "groupBy": { "alias": "groupBy"; "required": false; }; "selectedSite": { "alias": "selectedSite"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "placementChange": "kbqPlacementChange"; "visibleChange": "kbqVisibleChange"; "selectedSiteChange": "selectedSiteChange"; "selectedAppChange": "selectedAppChange"; }, never, never, true, never>;
|
|
189
|
+
static ngAcceptInputType_offset: unknown;
|
|
190
|
+
static ngAcceptInputType_disabled: unknown;
|
|
191
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./app-switcher";
|
|
3
|
+
import * as i2 from "./kbq-app-switcher-list-item";
|
|
4
|
+
import * as i3 from "./app-switcher-dropdown-app";
|
|
5
|
+
import * as i4 from "./app-switcher-dropdown-site";
|
|
6
|
+
export declare class KbqAppSwitcherModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqAppSwitcherModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqAppSwitcherModule, never, [typeof i1.KbqAppSwitcherComponent, typeof i1.KbqAppSwitcherTrigger, typeof i2.KbqAppSwitcherListItem, typeof i3.KbqAppSwitcherDropdownApp, typeof i4.KbqAppSwitcherDropdownSite], [typeof i1.KbqAppSwitcherTrigger]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KbqAppSwitcherModule>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
@use './app-switcher-theme' as *;
|
|
2
|
+
|
|
3
|
+
.kbq-app-switcher {
|
|
4
|
+
position: relative;
|
|
5
|
+
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
|
|
9
|
+
margin-top: var(--kbq-size-xxs);
|
|
10
|
+
margin-bottom: var(--kbq-size-xxs);
|
|
11
|
+
|
|
12
|
+
width: 320px;
|
|
13
|
+
|
|
14
|
+
border-radius: var(--kbq-size-xs);
|
|
15
|
+
|
|
16
|
+
box-shadow: var(--kbq-shadow-popup);
|
|
17
|
+
|
|
18
|
+
box-sizing: border-box;
|
|
19
|
+
|
|
20
|
+
z-index: 1;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.kbq-app-switcher__search-container {
|
|
24
|
+
padding-top: var(--kbq-size-xxs);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.kbq-app-switcher__search-result {
|
|
28
|
+
max-width: 320px;
|
|
29
|
+
|
|
30
|
+
min-height: 0;
|
|
31
|
+
|
|
32
|
+
padding: var(--kbq-size-s) var(--kbq-size-xxs);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.kbq-app-switcher__empty-search-result {
|
|
36
|
+
display: flex;
|
|
37
|
+
justify-content: center;
|
|
38
|
+
align-items: center;
|
|
39
|
+
|
|
40
|
+
height: 96px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.kbq-app-switcher__app-container {
|
|
44
|
+
display: flex;
|
|
45
|
+
flex-direction: column;
|
|
46
|
+
min-height: 0;
|
|
47
|
+
|
|
48
|
+
padding: var(--kbq-size-s) var(--kbq-size-xxs);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.kbq-app-switcher-group-header {
|
|
52
|
+
padding: var(--kbq-size-s) var(--kbq-size-m);
|
|
53
|
+
|
|
54
|
+
display: flex;
|
|
55
|
+
flex-direction: row;
|
|
56
|
+
justify-content: space-between;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.kbq-app-switcher__sites-container {
|
|
60
|
+
padding: var(--kbq-size-xxs);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@include kbq-app-switcher-theme();
|
|
64
|
+
@include kbq-app-switcher-typography();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { KbqDropdownItem } from '@koobiq/components/dropdown';
|
|
2
|
+
import { KbqAppSwitcherApp } from './app-switcher';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/** @docs-private */
|
|
5
|
+
export declare class KbqAppSwitcherListItem extends KbqDropdownItem {
|
|
6
|
+
private sanitizer;
|
|
7
|
+
app: KbqAppSwitcherApp;
|
|
8
|
+
toggle: boolean;
|
|
9
|
+
collapsed: boolean;
|
|
10
|
+
clickHandler(event: MouseEvent): void;
|
|
11
|
+
getIcon(icon: string | null): import("@angular/platform-browser").SafeHtml;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqAppSwitcherListItem, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqAppSwitcherListItem, "[kbq-app-switcher-list-item]", ["kbqAppSwitcherApp"], { "app": { "alias": "app"; "required": false; }; "toggle": { "alias": "toggle"; "required": false; }; "collapsed": { "alias": "collapsed"; "required": false; }; }, {}, never, never, true, never>;
|
|
14
|
+
static ngAcceptInputType_toggle: unknown;
|
|
15
|
+
static ngAcceptInputType_collapsed: unknown;
|
|
16
|
+
}
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
@use '../core/styles/common';
|
|
2
|
+
@use '../core/styles/common/tokens';
|
|
3
|
+
|
|
4
|
+
.kbq-app-switcher-list-item {
|
|
5
|
+
position: relative;
|
|
6
|
+
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: row;
|
|
9
|
+
|
|
10
|
+
max-width: 100%;
|
|
11
|
+
min-height: 38px;
|
|
12
|
+
|
|
13
|
+
border-radius: var(--kbq-size-s);
|
|
14
|
+
|
|
15
|
+
padding: var(--kbq-size-xxs) var(--kbq-size-m) var(--kbq-size-xs) var(--kbq-size-m);
|
|
16
|
+
|
|
17
|
+
@include common.user-select(none);
|
|
18
|
+
|
|
19
|
+
text-decoration: none;
|
|
20
|
+
box-sizing: border-box;
|
|
21
|
+
outline: none;
|
|
22
|
+
-webkit-tap-highlight-color: transparent;
|
|
23
|
+
cursor: pointer;
|
|
24
|
+
|
|
25
|
+
&.kbq-app-switcher-site_nested {
|
|
26
|
+
margin-left: var(--kbq-size-xxl);
|
|
27
|
+
|
|
28
|
+
border-top-left-radius: unset;
|
|
29
|
+
border-bottom-left-radius: unset;
|
|
30
|
+
|
|
31
|
+
&:after {
|
|
32
|
+
content: '';
|
|
33
|
+
|
|
34
|
+
position: absolute;
|
|
35
|
+
left: -1px;
|
|
36
|
+
top: 0;
|
|
37
|
+
|
|
38
|
+
height: 100%;
|
|
39
|
+
|
|
40
|
+
border-left-width: 1px;
|
|
41
|
+
border-left-style: solid;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&:has(+ :not(.kbq-app-switcher-site_nested)),
|
|
45
|
+
&:last-child {
|
|
46
|
+
border-bottom-left-radius: var(--kbq-size-s);
|
|
47
|
+
|
|
48
|
+
&:after {
|
|
49
|
+
top: 0;
|
|
50
|
+
|
|
51
|
+
width: var(--kbq-size-m);
|
|
52
|
+
height: var(--kbq-size-xxl);
|
|
53
|
+
|
|
54
|
+
border-bottom-left-radius: var(--kbq-size-s);
|
|
55
|
+
border-bottom-width: 1px;
|
|
56
|
+
border-bottom-style: solid;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.kbq-app-switcher-list-item__toggle {
|
|
63
|
+
position: absolute;
|
|
64
|
+
|
|
65
|
+
display: none;
|
|
66
|
+
align-items: center;
|
|
67
|
+
justify-content: center;
|
|
68
|
+
|
|
69
|
+
top: var(--kbq-size-m);
|
|
70
|
+
left: var(--kbq-size-m);
|
|
71
|
+
|
|
72
|
+
width: var(--kbq-size-xxl);
|
|
73
|
+
height: var(--kbq-size-xxl);
|
|
74
|
+
|
|
75
|
+
border-radius: var(--kbq-size-xxs);
|
|
76
|
+
|
|
77
|
+
& .kbq-icon {
|
|
78
|
+
transform: rotate(0deg);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&.kbq-expanded {
|
|
82
|
+
& .kbq-icon {
|
|
83
|
+
transform: rotate(180deg);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.kbq-app-switcher-list-item__icon {
|
|
89
|
+
padding-top: var(--kbq-size-s);
|
|
90
|
+
padding-right: var(--kbq-size-m);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.kbq-app-switcher-list-item__container {
|
|
94
|
+
max-width: 100%;
|
|
95
|
+
min-width: 0;
|
|
96
|
+
|
|
97
|
+
align-self: center;
|
|
98
|
+
|
|
99
|
+
& .kbq-app-switcher-list-item__name {
|
|
100
|
+
@include common.kbq-truncate-line();
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
& .kbq-app-switcher-list-item__caption {
|
|
104
|
+
@include common.kbq-truncate-line();
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
@mixin _kbq-app-switcher-list-item-theme() {
|
|
109
|
+
.kbq-app-switcher-site_nested:after {
|
|
110
|
+
border-left-color: var(--kbq-line-contrast-less);
|
|
111
|
+
border-bottom-color: var(--kbq-line-contrast-less);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.kbq-app-switcher-list-item__caption {
|
|
115
|
+
color: var(--kbq-foreground-contrast-secondary);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.kbq-app-switcher-list-item {
|
|
119
|
+
&:hover,
|
|
120
|
+
&.kbq-hover,
|
|
121
|
+
&.kbq-focused {
|
|
122
|
+
&:has(.kbq-app-switcher-list-item__toggle) .kbq-app-switcher-list-item__icon {
|
|
123
|
+
visibility: hidden;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
& .kbq-app-switcher-list-item__toggle {
|
|
127
|
+
display: flex;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
&:hover,
|
|
132
|
+
&.kbq-hover {
|
|
133
|
+
background: var(--kbq-states-background-transparent-hover);
|
|
134
|
+
|
|
135
|
+
& .kbq-app-switcher-list-item__toggle {
|
|
136
|
+
background: var(--kbq-states-background-transparent-hover);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
&:active,
|
|
141
|
+
&.kbq-active {
|
|
142
|
+
background: var(--kbq-states-background-transparent-active);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
&.kbq-selected {
|
|
146
|
+
background: var(--kbq-background-theme-less);
|
|
147
|
+
|
|
148
|
+
&:hover,
|
|
149
|
+
&.kbq-hover {
|
|
150
|
+
background: var(--kbq-states-background-theme-less-hover);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
&:active,
|
|
154
|
+
&.kbq-active {
|
|
155
|
+
background: var(--kbq-states-background-theme-less-active);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
background: var(--kbq-list-default-container-background);
|
|
160
|
+
color: var(--kbq-list-default-text-color);
|
|
161
|
+
|
|
162
|
+
&.cdk-keyboard-focused {
|
|
163
|
+
outline: none;
|
|
164
|
+
border-color: var(--kbq-list-states-focused-focus-outline-color);
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
@mixin _kbq-app-switcher-list-item-typography() {
|
|
170
|
+
.kbq-app-switcher-list-item__name {
|
|
171
|
+
@include tokens.kbq-typography-level-to-styles-css-variables(typography, text-normal-medium);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.kbq-app-switcher-list-item__caption {
|
|
175
|
+
@include tokens.kbq-typography-level-to-styles-css-variables(typography, text-compact);
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
@include _kbq-app-switcher-list-item-theme();
|
|
180
|
+
@include _kbq-app-switcher-list-item-typography();
|