@koobiq/components 17.0.0-rc.9 → 17.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -2
- package/alert/_alert-theme.scss +0 -1
- package/alert/alert.component.d.ts +3 -1
- package/alert/alert.component.scss +14 -14
- package/alert/public-api.d.ts +1 -1
- package/autocomplete/_autocomplete-theme.scss +0 -1
- package/autocomplete/autocomplete.scss +3 -6
- package/autocomplete/public-api.d.ts +2 -2
- package/badge/_badge-theme.scss +1 -2
- package/badge/badge.component.scss +0 -1
- package/badge/public-api.d.ts +1 -1
- package/button/_button-base.scss +0 -1
- package/button/_button-theme.scss +5 -3
- package/button/button.component.d.ts +2 -2
- package/button/button.scss +0 -1
- package/button/public-api.d.ts +1 -1
- package/button-toggle/_button-toggle-theme.scss +2 -3
- package/button-toggle/button-toggle.scss +2 -9
- package/button-toggle/public-api.d.ts +1 -1
- package/card/_card-theme.scss +0 -1
- package/card/card.component.d.ts +1 -1
- package/card/card.component.scss +1 -2
- package/card/public-api.d.ts +1 -1
- package/checkbox/_checkbox-theme.scss +10 -11
- package/checkbox/checkbox.scss +13 -19
- package/code-block/README.md +17 -14
- package/code-block/_code-block-theme.scss +23 -16
- package/code-block/actionbar.component.d.ts +2 -1
- package/code-block/actionbar.component.scss +5 -13
- package/code-block/code-block.component.d.ts +4 -3
- package/code-block/code-block.scss +8 -14
- package/code-block/public-api.d.ts +1 -1
- package/core/animation/index.d.ts +1 -1
- package/core/common-behaviors/index.d.ts +3 -3
- package/core/datetime/index.d.ts +1 -1
- package/core/formatters/index.d.ts +1 -1
- package/core/forms/_forms-theme.scss +0 -1
- package/core/forms/_forms.scss +0 -1
- package/core/forms/index.d.ts +1 -1
- package/core/locales/index.d.ts +1 -1
- package/core/option/_optgroup-theme.scss +0 -1
- package/core/option/_option-action-theme.scss +0 -1
- package/core/option/_option-theme.scss +0 -1
- package/core/option/action.scss +4 -2
- package/core/option/index.d.ts +2 -2
- package/core/option/optgroup.scss +2 -3
- package/core/option/option.scss +0 -1
- package/core/pop-up/_pop-up.scss +0 -1
- package/core/pop-up/pop-up-trigger.d.ts +3 -3
- package/core/public-api.d.ts +3 -3
- package/core/select/constants.d.ts +1 -1
- package/core/select/index.d.ts +3 -3
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +0 -2
- package/core/selection/pseudo-checkbox/pseudo-checkbox.scss +0 -1
- package/core/services/theme.service.d.ts +3 -2
- package/core/styles/_core.scss +0 -1
- package/core/styles/_koobiq-theme.scss +5 -3
- package/core/styles/common/_animation.scss +11 -10
- package/core/styles/common/_button.scss +0 -2
- package/core/styles/common/_clearfix.scss +1 -1
- package/core/styles/common/_groups.scss +0 -4
- package/core/styles/common/_list.scss +23 -61
- package/core/styles/common/_overlay.scss +4 -3
- package/core/styles/common/_popup.scss +0 -1
- package/core/styles/common/_rtl.scss +4 -4
- package/core/styles/common/_select.scss +37 -26
- package/core/styles/common/_tokens.scss +0 -2
- package/core/styles/functions/_number.scss +14 -19
- package/core/styles/functions/_string.scss +18 -19
- package/core/styles/functions/_timing.scss +24 -24
- package/core/styles/theming/_components-theming.scss +1120 -1208
- package/core/styles/theming/_scrollbar-theme.scss +8 -5
- package/core/styles/theming/_theming.scss +22 -20
- package/core/styles/typography/_typography-utils.scss +9 -3
- package/core/styles/typography/_typography.scss +114 -94
- package/core/styles/visual/_body.scss +0 -2
- package/core/styles/visual/_layout.scss +30 -22
- package/core/utils/data-size/index.d.ts +1 -1
- package/core/utils/public-api.d.ts +1 -1
- package/datepicker/_datepicker-theme.scss +21 -8
- package/datepicker/calendar-body.scss +0 -3
- package/datepicker/calendar-header.scss +0 -1
- package/datepicker/calendar.scss +1 -2
- package/datepicker/datepicker-content.scss +1 -3
- package/datepicker/datepicker-input.directive.d.ts +1 -0
- package/datepicker/datepicker-input.scss +0 -1
- package/datepicker/datepicker-toggle.scss +0 -1
- package/datepicker/datepicker.component.d.ts +2 -2
- package/datepicker/public-api.d.ts +4 -4
- package/divider/_divider-theme.scss +0 -1
- package/divider/divider.scss +0 -1
- package/dl/_dl-theme.scss +0 -2
- package/dl/dl.scss +0 -1
- package/dl/public-api.d.ts +1 -1
- package/dropdown/_dropdown-theme.scss +4 -2
- package/dropdown/dropdown-content.directive.d.ts +1 -1
- package/dropdown/dropdown-item.component.d.ts +1 -1
- package/dropdown/dropdown-item.scss +9 -7
- package/dropdown/dropdown.component.d.ts +1 -1
- package/dropdown/dropdown.scss +0 -1
- package/dropdown/public-api.d.ts +5 -5
- package/ellipsis-center/ellipsis-center.directive.d.ts +1 -1
- package/empty-state/README.md +0 -0
- package/empty-state/_empty-state-theme.scss +56 -0
- package/empty-state/empty-state.component.d.ts +31 -0
- package/empty-state/empty-state.module.d.ts +10 -0
- package/empty-state/empty-state.scss +81 -0
- package/empty-state/index.d.ts +1 -0
- package/empty-state/public-api.d.ts +2 -0
- package/esm2022/alert/alert.component.mjs +7 -3
- package/esm2022/alert/alert.module.mjs +1 -1
- package/esm2022/alert/public-api.mjs +2 -2
- package/esm2022/autocomplete/autocomplete-origin.directive.mjs +1 -1
- package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +25 -42
- package/esm2022/autocomplete/autocomplete.component.mjs +14 -9
- package/esm2022/autocomplete/autocomplete.module.mjs +3 -3
- package/esm2022/autocomplete/public-api.mjs +3 -3
- package/esm2022/badge/badge.component.mjs +8 -6
- package/esm2022/badge/badge.module.mjs +1 -1
- package/esm2022/badge/public-api.mjs +2 -2
- package/esm2022/button/button.component.mjs +12 -9
- package/esm2022/button/button.module.mjs +1 -1
- package/esm2022/button/public-api.mjs +2 -2
- package/esm2022/button-toggle/button-toggle.component.mjs +26 -20
- package/esm2022/button-toggle/button-toggle.module.mjs +1 -1
- package/esm2022/button-toggle/public-api.mjs +2 -2
- package/esm2022/card/card.component.mjs +4 -5
- package/esm2022/card/card.module.mjs +1 -1
- package/esm2022/card/public-api.mjs +2 -2
- package/esm2022/checkbox/checkbox-config.mjs +1 -1
- package/esm2022/checkbox/checkbox-module.mjs +1 -1
- package/esm2022/checkbox/checkbox-required-validator.mjs +1 -1
- package/esm2022/checkbox/checkbox.mjs +6 -8
- package/esm2022/checkbox/public-api.mjs +1 -1
- package/esm2022/code-block/actionbar.component.mjs +6 -6
- package/esm2022/code-block/code-block.component.mjs +20 -19
- package/esm2022/code-block/code-block.module.mjs +9 -5
- package/esm2022/code-block/public-api.mjs +2 -2
- package/esm2022/core/animation/fade-animations.mjs +1 -1
- package/esm2022/core/animation/index.mjs +2 -2
- package/esm2022/core/animation/select-animations.mjs +2 -2
- package/esm2022/core/common-behaviors/color.mjs +4 -2
- package/esm2022/core/common-behaviors/common-module.mjs +2 -5
- package/esm2022/core/common-behaviors/constructor.mjs +1 -1
- package/esm2022/core/common-behaviors/disabled.mjs +2 -2
- package/esm2022/core/common-behaviors/error-state.mjs +1 -1
- package/esm2022/core/common-behaviors/index.mjs +4 -4
- package/esm2022/core/common-behaviors/tabindex.mjs +1 -1
- package/esm2022/core/datetime/date-adapter.mjs +1 -2
- package/esm2022/core/datetime/date-formats.mjs +1 -1
- package/esm2022/core/datetime/index.mjs +2 -2
- package/esm2022/core/error/error-options.mjs +1 -1
- package/esm2022/core/form-field/form-field-ref.mjs +1 -1
- package/esm2022/core/formatters/date/formatter.mjs +1 -1
- package/esm2022/core/formatters/date/formatter.pipe.mjs +1 -1
- package/esm2022/core/formatters/index.mjs +2 -2
- package/esm2022/core/formatters/number/formatter.mjs +19 -24
- package/esm2022/core/forms/forms-module.mjs +1 -1
- package/esm2022/core/forms/forms.directive.mjs +1 -1
- package/esm2022/core/forms/index.mjs +2 -2
- package/esm2022/core/highlight/highlight.pipe.mjs +1 -1
- package/esm2022/core/highlight/index.mjs +1 -1
- package/esm2022/core/label/label-options.mjs +1 -1
- package/esm2022/core/line/line.mjs +2 -2
- package/esm2022/core/locales/en-US.mjs +1 -1
- package/esm2022/core/locales/es-LA.mjs +1 -1
- package/esm2022/core/locales/fa-IR.mjs +1 -1
- package/esm2022/core/locales/formatters.mjs +1 -3
- package/esm2022/core/locales/index.mjs +2 -2
- package/esm2022/core/locales/locale-service.mjs +8 -5
- package/esm2022/core/locales/locale-service.module.mjs +1 -1
- package/esm2022/core/locales/pt-BR.mjs +1 -1
- package/esm2022/core/locales/ru-RU.mjs +3 -3
- package/esm2022/core/locales/zh-CN.mjs +1 -1
- package/esm2022/core/option/action.mjs +22 -14
- package/esm2022/core/option/index.mjs +3 -3
- package/esm2022/core/option/optgroup.mjs +4 -5
- package/esm2022/core/option/option-module.mjs +1 -1
- package/esm2022/core/option/option.mjs +13 -10
- package/esm2022/core/overlay/overlay-position-map.mjs +1 -1
- package/esm2022/core/pop-up/pop-up-trigger.mjs +14 -24
- package/esm2022/core/pop-up/pop-up.mjs +1 -2
- package/esm2022/core/public-api.mjs +4 -4
- package/esm2022/core/select/common.mjs +2 -5
- package/esm2022/core/select/constants.mjs +1 -2
- package/esm2022/core/select/index.mjs +4 -4
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +3 -3
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +1 -1
- package/esm2022/core/services/measure-scrollbar.service.mjs +1 -2
- package/esm2022/core/services/theme.service.mjs +5 -4
- package/esm2022/core/title/title-text-ref.mjs +1 -1
- package/esm2022/core/utils/data-size/config.mjs +1 -1
- package/esm2022/core/utils/data-size/data-size.pipe.mjs +2 -3
- package/esm2022/core/utils/data-size/index.mjs +2 -2
- package/esm2022/core/utils/data-size/size.mjs +3 -6
- package/esm2022/core/utils/public-api.mjs +2 -2
- package/esm2022/core/utils/utils.mjs +4 -2
- package/esm2022/core/validation/validation.mjs +4 -2
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/datepicker/calendar-body.component.mjs +3 -5
- package/esm2022/datepicker/calendar-header.component.mjs +8 -8
- package/esm2022/datepicker/calendar.component.mjs +6 -6
- package/esm2022/datepicker/datepicker-animations.mjs +1 -1
- package/esm2022/datepicker/datepicker-errors.mjs +1 -1
- package/esm2022/datepicker/datepicker-input.directive.mjs +47 -49
- package/esm2022/datepicker/datepicker-intl.mjs +1 -1
- package/esm2022/datepicker/datepicker-module.mjs +2 -2
- package/esm2022/datepicker/datepicker-toggle.component.mjs +11 -10
- package/esm2022/datepicker/datepicker.component.mjs +15 -18
- package/esm2022/datepicker/month-view.component.mjs +14 -14
- package/esm2022/datepicker/public-api.mjs +5 -5
- package/esm2022/divider/divider.component.mjs +1 -1
- package/esm2022/divider/divider.module.mjs +1 -1
- package/esm2022/dl/dl.component.mjs +7 -7
- package/esm2022/dl/dl.module.mjs +2 -2
- package/esm2022/dl/public-api.mjs +2 -2
- package/esm2022/dropdown/dropdown-animations.mjs +2 -2
- package/esm2022/dropdown/dropdown-content.directive.mjs +3 -3
- package/esm2022/dropdown/dropdown-item.component.mjs +5 -8
- package/esm2022/dropdown/dropdown-trigger.directive.mjs +24 -33
- package/esm2022/dropdown/dropdown.component.mjs +10 -19
- package/esm2022/dropdown/dropdown.module.mjs +1 -1
- package/esm2022/dropdown/dropdown.types.mjs +1 -2
- package/esm2022/dropdown/public-api.mjs +6 -6
- package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +6 -5
- package/esm2022/empty-state/empty-state.component.mjs +104 -0
- package/esm2022/empty-state/empty-state.module.mjs +50 -0
- package/esm2022/empty-state/index.mjs +2 -0
- package/esm2022/empty-state/koobiq-components-empty-state.mjs +5 -0
- package/esm2022/empty-state/public-api.mjs +3 -0
- package/esm2022/file-upload/file-drop.mjs +3 -2
- package/esm2022/file-upload/file-upload.mjs +1 -1
- package/esm2022/file-upload/file-upload.module.mjs +2 -2
- package/esm2022/file-upload/index.mjs +1 -1
- package/esm2022/file-upload/multiple-file-upload.component.mjs +16 -14
- package/esm2022/file-upload/public-api.mjs +2 -2
- package/esm2022/file-upload/single-file-upload.component.mjs +14 -12
- package/esm2022/form-field/cleaner.mjs +13 -3
- package/esm2022/form-field/form-field-control.mjs +1 -2
- package/esm2022/form-field/form-field-errors.mjs +1 -1
- package/esm2022/form-field/form-field.mjs +8 -15
- package/esm2022/form-field/form-field.module.mjs +1 -1
- package/esm2022/form-field/hint.mjs +6 -6
- package/esm2022/form-field/password-hint.mjs +15 -15
- package/esm2022/form-field/password-toggle.mjs +4 -7
- package/esm2022/form-field/prefix.mjs +1 -1
- package/esm2022/form-field/public-api.mjs +4 -4
- package/esm2022/form-field/stepper.mjs +33 -29
- package/esm2022/form-field/suffix.mjs +1 -1
- package/esm2022/form-field/validate.directive.mjs +6 -7
- package/esm2022/icon/icon-button.component.mjs +4 -4
- package/esm2022/icon/icon-item.component.mjs +3 -3
- package/esm2022/icon/icon.component.mjs +5 -6
- package/esm2022/icon/icon.module.mjs +1 -1
- package/esm2022/icon/public-api.mjs +3 -3
- package/esm2022/input/input-number-validators.mjs +1 -1
- package/esm2022/input/input-number.mjs +29 -41
- package/esm2022/input/input-password.mjs +13 -8
- package/esm2022/input/input-value-accessor.mjs +1 -1
- package/esm2022/input/input.mjs +13 -10
- package/esm2022/input/input.module.mjs +1 -1
- package/esm2022/input/public-api.mjs +3 -3
- package/esm2022/link/link.component.mjs +2 -2
- package/esm2022/link/link.module.mjs +1 -1
- package/esm2022/link/public-api.mjs +2 -2
- package/esm2022/list/list-selection.component.mjs +36 -41
- package/esm2022/list/list.component.mjs +5 -6
- package/esm2022/list/list.module.mjs +2 -2
- package/esm2022/list/public-api.mjs +3 -3
- package/esm2022/loader-overlay/loader-overlay.component.mjs +3 -3
- package/esm2022/loader-overlay/loader-overlay.module.mjs +1 -1
- package/esm2022/loader-overlay/public-api.mjs +2 -2
- package/esm2022/markdown/markdown.component.mjs +20 -6
- package/esm2022/markdown/markdown.module.mjs +1 -1
- package/esm2022/markdown/markdown.service.mjs +1 -1
- package/esm2022/modal/css-unit.pipe.mjs +1 -1
- package/esm2022/modal/modal-control.service.mjs +6 -2
- package/esm2022/modal/modal-ref.class.mjs +1 -2
- package/esm2022/modal/modal-util.mjs +1 -1
- package/esm2022/modal/modal.component.mjs +60 -33
- package/esm2022/modal/modal.directive.mjs +27 -11
- package/esm2022/modal/modal.module.mjs +2 -2
- package/esm2022/modal/modal.service.mjs +3 -6
- package/esm2022/modal/modal.type.mjs +1 -1
- package/esm2022/modal/public-api.mjs +3 -3
- package/esm2022/navbar/index.mjs +1 -1
- package/esm2022/navbar/navbar-item.component.mjs +41 -33
- package/esm2022/navbar/navbar.component.mjs +19 -29
- package/esm2022/navbar/navbar.module.mjs +2 -2
- package/esm2022/navbar/public-api.mjs +3 -3
- package/esm2022/navbar/vertical-navbar.component.mjs +21 -23
- package/esm2022/popover/popover-animations.mjs +1 -1
- package/esm2022/popover/popover-confirm.component.mjs +3 -3
- package/esm2022/popover/popover.component.mjs +5 -5
- package/esm2022/popover/popover.module.mjs +1 -1
- package/esm2022/popover/public-api.mjs +3 -3
- package/esm2022/progress-bar/progress-bar.component.mjs +4 -4
- package/esm2022/progress-bar/progress-bar.module.mjs +2 -2
- package/esm2022/progress-bar/public-api.mjs +2 -2
- package/esm2022/progress-spinner/progress-spinner.component.mjs +4 -4
- package/esm2022/progress-spinner/progress-spinner.module.mjs +1 -1
- package/esm2022/progress-spinner/public-api.mjs +2 -2
- package/esm2022/radio/public-api.mjs +2 -2
- package/esm2022/radio/radio.component.mjs +9 -14
- package/esm2022/radio/radio.module.mjs +1 -1
- package/esm2022/risk-level/public-api.mjs +2 -2
- package/esm2022/risk-level/risk-level.component.mjs +3 -3
- package/esm2022/risk-level/risk-level.module.mjs +1 -1
- package/esm2022/scrollbar/public-api.mjs +2 -2
- package/esm2022/scrollbar/scrollbar.component.mjs +19 -21
- package/esm2022/scrollbar/scrollbar.directive.mjs +4 -5
- package/esm2022/scrollbar/scrollbar.module.mjs +2 -2
- package/esm2022/scrollbar/scrollbar.types.mjs +3 -2
- package/esm2022/select/public-api.mjs +3 -3
- package/esm2022/select/select-option.directive.mjs +8 -5
- package/esm2022/select/select.component.mjs +45 -71
- package/esm2022/select/select.module.mjs +1 -1
- package/esm2022/sidebar/public-api.mjs +2 -2
- package/esm2022/sidebar/sidebar-animations.mjs +1 -1
- package/esm2022/sidebar/sidebar.component.mjs +5 -7
- package/esm2022/sidebar/sidebar.module.mjs +1 -1
- package/esm2022/sidepanel/public-api.mjs +4 -4
- package/esm2022/sidepanel/sidepanel-animations.mjs +7 -4
- package/esm2022/sidepanel/sidepanel-config.mjs +1 -1
- package/esm2022/sidepanel/sidepanel-container.component.mjs +4 -4
- package/esm2022/sidepanel/sidepanel-directives.mjs +33 -20
- package/esm2022/sidepanel/sidepanel-ref.mjs +10 -5
- package/esm2022/sidepanel/sidepanel.module.mjs +1 -1
- package/esm2022/sidepanel/sidepanel.service.mjs +11 -15
- package/esm2022/splitter/public-api.mjs +2 -2
- package/esm2022/splitter/splitter.component.mjs +13 -24
- package/esm2022/splitter/splitter.module.mjs +1 -1
- package/esm2022/table/public-api.mjs +2 -2
- package/esm2022/table/table.component.mjs +3 -3
- package/esm2022/table/table.module.mjs +1 -1
- package/esm2022/tabs/paginated-tab-header.mjs +9 -14
- package/esm2022/tabs/public-api.mjs +6 -6
- package/esm2022/tabs/tab-body.component.mjs +10 -11
- package/esm2022/tabs/tab-content.directive.mjs +1 -1
- package/esm2022/tabs/tab-group.component.mjs +11 -13
- package/esm2022/tabs/tab-header.component.mjs +4 -4
- package/esm2022/tabs/tab-label-wrapper.directive.mjs +1 -1
- package/esm2022/tabs/tab-label.directive.mjs +1 -1
- package/esm2022/tabs/tab-nav-bar/index.mjs +1 -1
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +46 -49
- package/esm2022/tabs/tab.component.mjs +7 -10
- package/esm2022/tabs/tabs-animations.mjs +1 -1
- package/esm2022/tabs/tabs.module.mjs +2 -2
- package/esm2022/tags/public-api.mjs +5 -5
- package/esm2022/tags/tag-default-options.mjs +1 -1
- package/esm2022/tags/tag-input.mjs +12 -16
- package/esm2022/tags/tag-list.component.mjs +15 -27
- package/esm2022/tags/tag-text-control.mjs +1 -1
- package/esm2022/tags/tag.component.mjs +5 -8
- package/esm2022/tags/tag.module.mjs +9 -7
- package/esm2022/textarea/index.mjs +1 -1
- package/esm2022/textarea/textarea.component.mjs +4 -7
- package/esm2022/textarea/textarea.module.mjs +1 -1
- package/esm2022/timepicker/public-api.mjs +2 -2
- package/esm2022/timepicker/timepicker.constants.mjs +6 -2
- package/esm2022/timepicker/timepicker.directive.mjs +62 -31
- package/esm2022/timepicker/timepicker.module.mjs +1 -1
- package/esm2022/timezone/cities-by-filter.pipe.mjs +1 -1
- package/esm2022/timezone/timezone-option.component.mjs +12 -11
- package/esm2022/timezone/timezone-option.directive.mjs +3 -3
- package/esm2022/timezone/timezone-select.component.mjs +5 -5
- package/esm2022/timezone/timezone.models.mjs +1 -2
- package/esm2022/timezone/timezone.module.mjs +1 -1
- package/esm2022/timezone/timezone.utils.mjs +5 -9
- package/esm2022/timezone/utc-offset.pipe.mjs +1 -1
- package/esm2022/title/public-api.mjs +2 -2
- package/esm2022/title/title.directive.mjs +9 -5
- package/esm2022/title/title.module.mjs +1 -1
- package/esm2022/toast/public-api.mjs +4 -4
- package/esm2022/toast/toast-animations.mjs +2 -2
- package/esm2022/toast/toast-container.component.mjs +5 -6
- package/esm2022/toast/toast.component.mjs +6 -6
- package/esm2022/toast/toast.module.mjs +1 -1
- package/esm2022/toast/toast.service.mjs +18 -30
- package/esm2022/toast/toast.type.mjs +1 -1
- package/esm2022/toggle/public-api.mjs +2 -2
- package/esm2022/toggle/toggle.component.mjs +17 -11
- package/esm2022/toggle/toggle.module.mjs +1 -1
- package/esm2022/tooltip/public-api.mjs +2 -2
- package/esm2022/tooltip/tooltip.animations.mjs +1 -1
- package/esm2022/tooltip/tooltip.component.mjs +7 -7
- package/esm2022/tooltip/tooltip.module.mjs +2 -2
- package/esm2022/tree/control/base-tree-control.mjs +1 -2
- package/esm2022/tree/control/flat-tree-control.filters.mjs +4 -7
- package/esm2022/tree/control/flat-tree-control.mjs +4 -7
- package/esm2022/tree/control/nested-tree-control.mjs +1 -2
- package/esm2022/tree/control/tree-control.mjs +1 -1
- package/esm2022/tree/data-source/flat-data-source.mjs +3 -8
- package/esm2022/tree/data-source/nested-data-source.mjs +2 -4
- package/esm2022/tree/node.mjs +1 -1
- package/esm2022/tree/outlet.mjs +1 -1
- package/esm2022/tree/padding.directive.mjs +4 -5
- package/esm2022/tree/public-api.mjs +11 -11
- package/esm2022/tree/toggle.mjs +8 -5
- package/esm2022/tree/tree-base.mjs +3 -7
- package/esm2022/tree/tree-errors.mjs +1 -1
- package/esm2022/tree/tree-option.component.mjs +9 -13
- package/esm2022/tree/tree-selection.component.mjs +20 -36
- package/esm2022/tree/tree.mjs +7 -3
- package/esm2022/tree/tree.module.mjs +2 -3
- package/esm2022/tree-select/public-api.mjs +2 -2
- package/esm2022/tree-select/tree-select.component.mjs +59 -72
- package/esm2022/tree-select/tree-select.module.mjs +1 -1
- package/fesm2022/koobiq-components-alert.mjs +10 -6
- package/fesm2022/koobiq-components-alert.mjs.map +1 -1
- package/fesm2022/koobiq-components-autocomplete.mjs +60 -72
- package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
- package/fesm2022/koobiq-components-badge.mjs +10 -8
- package/fesm2022/koobiq-components-badge.mjs.map +1 -1
- package/fesm2022/koobiq-components-button-toggle.mjs +30 -24
- package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-button.mjs +14 -11
- package/fesm2022/koobiq-components-button.mjs.map +1 -1
- package/fesm2022/koobiq-components-card.mjs +4 -5
- package/fesm2022/koobiq-components-card.mjs.map +1 -1
- package/fesm2022/koobiq-components-checkbox.mjs +3 -5
- package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
- package/fesm2022/koobiq-components-code-block.mjs +39 -34
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +325 -336
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +105 -111
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-divider.mjs.map +1 -1
- package/fesm2022/koobiq-components-dl.mjs +9 -9
- package/fesm2022/koobiq-components-dl.mjs.map +1 -1
- package/fesm2022/koobiq-components-dropdown.mjs +125 -147
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-ellipsis-center.mjs +3 -2
- package/fesm2022/koobiq-components-ellipsis-center.mjs.map +1 -1
- package/fesm2022/koobiq-components-empty-state.mjs +157 -0
- package/fesm2022/koobiq-components-empty-state.mjs.map +1 -0
- package/fesm2022/koobiq-components-file-upload.mjs +46 -41
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +75 -73
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +9 -10
- package/fesm2022/koobiq-components-icon.mjs.map +1 -1
- package/fesm2022/koobiq-components-input.mjs +56 -60
- package/fesm2022/koobiq-components-input.mjs.map +1 -1
- package/fesm2022/koobiq-components-link.mjs +1 -1
- package/fesm2022/koobiq-components-link.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +43 -49
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-loader-overlay.mjs +6 -6
- package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
- package/fesm2022/koobiq-components-markdown.mjs +18 -4
- package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +96 -54
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +82 -86
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +12 -12
- package/fesm2022/koobiq-components-popover.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-bar.mjs +5 -5
- package/fesm2022/koobiq-components-progress-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-spinner.mjs +5 -5
- package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
- package/fesm2022/koobiq-components-radio.mjs +11 -16
- package/fesm2022/koobiq-components-radio.mjs.map +1 -1
- package/fesm2022/koobiq-components-risk-level.mjs +4 -4
- package/fesm2022/koobiq-components-risk-level.mjs.map +1 -1
- package/fesm2022/koobiq-components-scrollbar.mjs +22 -24
- package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-select.mjs +55 -78
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidebar.mjs +5 -7
- package/fesm2022/koobiq-components-sidebar.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidepanel.mjs +110 -93
- package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
- package/fesm2022/koobiq-components-splitter.mjs +15 -26
- package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
- package/fesm2022/koobiq-components-table.mjs +5 -5
- package/fesm2022/koobiq-components-table.mjs.map +1 -1
- package/fesm2022/koobiq-components-tabs.mjs +85 -98
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +39 -56
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-textarea.mjs +2 -5
- package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
- package/fesm2022/koobiq-components-timepicker.mjs +69 -34
- package/fesm2022/koobiq-components-timepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-timezone.mjs +16 -21
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-title.mjs +11 -7
- package/fesm2022/koobiq-components-title.mjs.map +1 -1
- package/fesm2022/koobiq-components-toast.mjs +74 -87
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/fesm2022/koobiq-components-toggle.mjs +17 -11
- package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-tooltip.mjs +10 -10
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +67 -80
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +509 -541
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/file-upload/_file-upload-theme.scss +28 -18
- package/file-upload/file-upload.scss +0 -1
- package/file-upload/multiple-file-upload.component.d.ts +2 -2
- package/file-upload/multiple-file-upload.component.scss +17 -27
- package/file-upload/public-api.d.ts +1 -1
- package/file-upload/single-file-upload.component.d.ts +2 -2
- package/file-upload/single-file-upload.component.scss +1 -7
- package/form-field/_form-field-theme.scss +24 -12
- package/form-field/_hint-theme.scss +0 -2
- package/form-field/cleaner.scss +0 -1
- package/form-field/form-field.scss +12 -14
- package/form-field/hint.scss +0 -1
- package/form-field/password-toggle.scss +0 -1
- package/form-field/public-api.d.ts +3 -3
- package/form-field/stepper.scss +0 -1
- package/icon/_icon-button-theme.scss +18 -7
- package/icon/_icon-theme.scss +0 -1
- package/icon/icon-button.scss +2 -5
- package/icon/icon-item.scss +2 -5
- package/icon/icon.scss +0 -1
- package/icon/public-api.d.ts +2 -2
- package/input/_input-theme.scss +0 -1
- package/input/input.scss +9 -9
- package/input/public-api.d.ts +2 -2
- package/link/_link-theme.scss +12 -18
- package/link/link.component.d.ts +1 -1
- package/link/public-api.d.ts +1 -1
- package/list/_list-theme.scss +0 -1
- package/list/list-selection.component.d.ts +3 -3
- package/list/list.scss +1 -3
- package/list/public-api.d.ts +2 -2
- package/loader-overlay/_loader-overlay-theme.scss +6 -4
- package/loader-overlay/loader-overlay.scss +0 -1
- package/loader-overlay/public-api.d.ts +1 -1
- package/markdown/_markdown-theme.scss +11 -8
- package/markdown/markdown.scss +3 -3
- package/modal/README.md +4 -3
- package/modal/_modal-animation.scss +0 -1
- package/modal/_modal-confirm.scss +0 -1
- package/modal/_modal-theme.scss +8 -9
- package/modal/modal.directive.d.ts +3 -3
- package/modal/modal.scss +9 -15
- package/modal/modal.type.d.ts +2 -2
- package/modal/public-api.d.ts +2 -2
- package/navbar/README.md +21 -20
- package/navbar/_navbar-item_horizontal.scss +31 -24
- package/navbar/_navbar-item_vertical.scss +0 -3
- package/navbar/_navbar-theme.scss +3 -6
- package/navbar/navbar-brand.scss +0 -1
- package/navbar/navbar-divider.scss +0 -1
- package/navbar/navbar-item.component.d.ts +1 -1
- package/navbar/navbar-item.scss +9 -2
- package/navbar/navbar.scss +0 -1
- package/navbar/public-api.d.ts +2 -2
- package/navbar/vertical-navbar.scss +0 -1
- package/package.json +12 -6
- package/popover/README.md +17 -14
- package/popover/_popover-theme.scss +0 -1
- package/popover/popover.component.d.ts +1 -1
- package/popover/popover.scss +5 -13
- package/popover/public-api.d.ts +2 -2
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/progress-bar/_progress-bar-theme.scss +0 -1
- package/progress-bar/progress-bar.scss +0 -1
- package/progress-bar/public-api.d.ts +1 -1
- package/progress-spinner/_progress-spinner-theme.scss +0 -1
- package/progress-spinner/progress-spinner.scss +0 -1
- package/progress-spinner/public-api.d.ts +1 -1
- package/radio/_radio-theme.scss +13 -5
- package/radio/public-api.d.ts +1 -1
- package/radio/radio.scss +20 -6
- package/risk-level/_risk-level-theme.scss +0 -1
- package/risk-level/public-api.d.ts +1 -1
- package/risk-level/risk-level.component.scss +1 -4
- package/schematics/ng-add/index.js +4 -4
- package/scrollbar/_scrollbar-component-theme.scss +2 -3
- package/scrollbar/public-api.d.ts +1 -1
- package/scrollbar/scrollbar.component.scss +56 -44
- package/scrollbar/scrollbar.directive.d.ts +1 -1
- package/scrollbar/scrollbar.types.d.ts +1 -1
- package/select/_select-theme.scss +0 -1
- package/select/public-api.d.ts +2 -2
- package/select/select.component.d.ts +4 -1
- package/select/select.scss +0 -1
- package/sidebar/public-api.d.ts +1 -1
- package/sidepanel/_sidepanel-theme.scss +0 -1
- package/sidepanel/public-api.d.ts +3 -3
- package/sidepanel/sidepanel.scss +6 -12
- package/splitter/_splitter-theme.scss +0 -1
- package/splitter/public-api.d.ts +1 -1
- package/splitter/splitter.component.d.ts +2 -2
- package/splitter/splitter.scss +0 -1
- package/table/_table-theme.scss +7 -7
- package/table/public-api.d.ts +1 -1
- package/table/table.scss +2 -2
- package/tabs/_tabs-common.scss +10 -8
- package/tabs/_tabs-theme.scss +0 -1
- package/tabs/paginated-tab-header.d.ts +1 -1
- package/tabs/public-api.d.ts +5 -5
- package/tabs/tab-body.component.d.ts +3 -3
- package/tabs/tab-group.component.d.ts +1 -1
- package/tabs/tab-group.scss +0 -1
- package/tabs/tab-header.scss +0 -6
- package/tabs/tab-nav-bar/tab-nav-bar.d.ts +17 -17
- package/tabs/tab-nav-bar/tab-nav-bar.scss +0 -1
- package/tags/_tag-theme.scss +0 -2
- package/tags/public-api.d.ts +4 -4
- package/tags/tag-input.d.ts +1 -1
- package/tags/tag-list.scss +9 -7
- package/tags/tag.component.d.ts +2 -2
- package/tags/tag.scss +1 -4
- package/textarea/_textarea-theme.scss +0 -1
- package/textarea/textarea.component.d.ts +1 -1
- package/textarea/textarea.scss +1 -4
- package/timepicker/public-api.d.ts +1 -1
- package/timepicker/timepicker.constants.d.ts +2 -0
- package/timepicker/timepicker.directive.d.ts +10 -3
- package/timepicker/timepicker.scss +0 -1
- package/timezone/_timezone-option-theme.scss +0 -1
- package/timezone/timezone-option.component.scss +0 -1
- package/timezone/timezone-option.directive.d.ts +1 -1
- package/timezone/timezone-select.component.scss +0 -1
- package/timezone/timezone.utils.d.ts +1 -1
- package/title/public-api.d.ts +1 -1
- package/title/title.directive.d.ts +2 -2
- package/toast/_toast-theme.scss +0 -2
- package/toast/public-api.d.ts +3 -3
- package/toast/toast-container.component.scss +0 -1
- package/toast/toast.component.scss +4 -2
- package/toast/toast.service.d.ts +2 -2
- package/toast/toast.type.d.ts +1 -1
- package/toggle/_toggle-theme.scss +10 -9
- package/toggle/public-api.d.ts +1 -1
- package/toggle/toggle.component.d.ts +2 -2
- package/toggle/toggle.scss +0 -1
- package/tooltip/_tooltip-theme.scss +0 -1
- package/tooltip/public-api.d.ts +1 -1
- package/tooltip/tooltip.component.d.ts +2 -2
- package/tooltip/tooltip.scss +1 -5
- package/tree/_tree-theme.scss +2 -3
- package/tree/public-api.d.ts +10 -10
- package/tree/toggle.scss +0 -1
- package/tree/tree-base.d.ts +1 -1
- package/tree/tree-option.component.d.ts +1 -1
- package/tree/tree-option.scss +12 -8
- package/tree/tree-selection.component.d.ts +3 -2
- package/tree-select/_tree-select-theme.scss +0 -1
- package/tree-select/public-api.d.ts +1 -1
- package/tree-select/tree-select.component.d.ts +9 -4
- package/tree-select/tree-select.scss +0 -1
package/input/input.scss
CHANGED
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
@use '../core/styles/tokens';
|
|
7
7
|
@use '../core/styles/common/tokens' as *;
|
|
8
8
|
|
|
9
|
-
|
|
10
9
|
$tokens: meta.module-variables(tokens) !default;
|
|
11
10
|
|
|
12
11
|
.kbq-input {
|
|
@@ -20,23 +19,24 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
20
19
|
width: 100%;
|
|
21
20
|
min-height: calc(
|
|
22
21
|
var(--kbq-form-field-size-height, map.get($tokens, form-field-size-height)) -
|
|
23
|
-
|
|
22
|
+
(var(--kbq-form-field-size-border-width, map.get($tokens, form-field-size-border-width)) * 2)
|
|
24
23
|
);
|
|
25
24
|
|
|
26
|
-
padding:
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
padding: calc(
|
|
26
|
+
var(--kbq-input-size-padding-vertical, map.get($tokens, input-size-padding-vertical)) - var(
|
|
27
|
+
--kbq-form-field-size-border-width,
|
|
28
|
+
map.get($tokens, form-field-size-border-width)
|
|
29
|
+
)
|
|
30
30
|
)
|
|
31
31
|
kbq-css-variable(input-size-padding-horizontal);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
input.kbq-input[type=
|
|
34
|
+
input.kbq-input[type='number'] {
|
|
35
35
|
-moz-appearance: textfield;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
input.kbq-input[type=
|
|
39
|
-
input.kbq-input[type=
|
|
38
|
+
input.kbq-input[type='number']::-webkit-inner-spin-button,
|
|
39
|
+
input.kbq-input[type='number']::-webkit-outer-spin-button {
|
|
40
40
|
-webkit-appearance: none;
|
|
41
41
|
}
|
|
42
42
|
|
package/input/public-api.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './input.module';
|
|
2
1
|
export * from './input';
|
|
3
2
|
export * from './input-number';
|
|
3
|
+
export * from './input-number-validators';
|
|
4
4
|
export * from './input-password';
|
|
5
5
|
export * from './input-value-accessor';
|
|
6
|
-
export * from './input
|
|
6
|
+
export * from './input.module';
|
package/link/_link-theme.scss
CHANGED
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
@use '../core/styles/typography/typography-utils' as *;
|
|
5
5
|
@use '../core/styles/common/tokens' as *;
|
|
6
6
|
|
|
7
|
-
|
|
8
7
|
@mixin kbq-link-geometry($tokens) {
|
|
9
8
|
display: inline;
|
|
10
9
|
|
|
@@ -17,8 +16,9 @@
|
|
|
17
16
|
outline: none;
|
|
18
17
|
}
|
|
19
18
|
|
|
20
|
-
&.kbq-text-only,
|
|
21
|
-
&.kbq-text-with-icon .kbq-link__text
|
|
19
|
+
&.kbq-text-only:not(.kbq-text-with-dot),
|
|
20
|
+
&.kbq-text-with-icon .kbq-link__text,
|
|
21
|
+
&.kbq-text-with-dot .kbq-link__text {
|
|
22
22
|
border-bottom-style: solid;
|
|
23
23
|
border-bottom-width: 1px;
|
|
24
24
|
}
|
|
@@ -45,7 +45,6 @@
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
/* stylelint-disable no-descending-specificity */
|
|
49
48
|
&.kbq-link_big {
|
|
50
49
|
&.kbq-text-with-icon .kbq-link__text {
|
|
51
50
|
&:not(:first-child) {
|
|
@@ -58,21 +57,14 @@
|
|
|
58
57
|
}
|
|
59
58
|
}
|
|
60
59
|
|
|
61
|
-
|
|
60
|
+
&.kbq-link_no-underline,
|
|
62
61
|
&.kbq-link_pseudo {
|
|
63
62
|
&.kbq-text-only,
|
|
64
|
-
&.kbq-text-with-icon .kbq-link__text
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
&.kbq-link_no-underline {
|
|
70
|
-
&.kbq-text-only,
|
|
71
|
-
&.kbq-text-with-icon .kbq-link__text {
|
|
63
|
+
&.kbq-text-with-icon .kbq-link__text,
|
|
64
|
+
&.kbq-text-with-dot .kbq-link__text {
|
|
72
65
|
border-bottom-color: transparent;
|
|
73
66
|
}
|
|
74
67
|
}
|
|
75
|
-
/* stylelint-enable no-descending-specificity */
|
|
76
68
|
}
|
|
77
69
|
|
|
78
70
|
@mixin kbq-link-state($component, $state-name) {
|
|
@@ -81,7 +73,8 @@
|
|
|
81
73
|
color: kbq-css-variable(link-#{$state-name}-text, map.get($state, text));
|
|
82
74
|
|
|
83
75
|
&.kbq-text-only,
|
|
84
|
-
&.kbq-text-with-icon .kbq-link__text
|
|
76
|
+
&.kbq-text-with-icon .kbq-link__text,
|
|
77
|
+
&.kbq-text-with-dot .kbq-link__text {
|
|
85
78
|
border-bottom-color: kbq-css-variable(link-#{$state-name}-border-bottom, map.get($state, border-bottom));
|
|
86
79
|
}
|
|
87
80
|
|
|
@@ -140,12 +133,13 @@
|
|
|
140
133
|
@media print {
|
|
141
134
|
.kbq-link_print:not(.kbq-disabled) {
|
|
142
135
|
&.kbq-text-only,
|
|
143
|
-
&.kbq-text-with-icon .kbq-link__text
|
|
136
|
+
&.kbq-text-with-icon .kbq-link__text,
|
|
137
|
+
&.kbq-text-with-dot .kbq-link__text {
|
|
144
138
|
border-bottom: none;
|
|
145
139
|
}
|
|
146
140
|
|
|
147
141
|
&::after {
|
|
148
|
-
content:
|
|
142
|
+
content: ':\a' attr(print);
|
|
149
143
|
white-space: pre;
|
|
150
144
|
}
|
|
151
145
|
}
|
|
@@ -159,7 +153,7 @@
|
|
|
159
153
|
|
|
160
154
|
& .kbq-icon {
|
|
161
155
|
line-height: inherit;
|
|
162
|
-
vertical-align:
|
|
156
|
+
vertical-align: baseline;
|
|
163
157
|
}
|
|
164
158
|
}
|
|
165
159
|
|
package/link/link.component.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
2
|
-
import { ElementRef, OnDestroy
|
|
2
|
+
import { ChangeDetectorRef, ElementRef, OnDestroy } from '@angular/core';
|
|
3
3
|
import { CanDisable, CanDisableCtor, HasTabIndex, HasTabIndexCtor } from '@koobiq/components/core';
|
|
4
4
|
import { KbqIcon } from '@koobiq/components/icon';
|
|
5
5
|
import * as i0 from "@angular/core";
|
package/link/public-api.d.ts
CHANGED
package/list/_list-theme.scss
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Clipboard } from '@angular/cdk/clipboard';
|
|
2
2
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
3
|
-
import { AfterContentInit, ElementRef, EventEmitter,
|
|
3
|
+
import { AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnDestroy, OnInit, QueryList } from '@angular/core';
|
|
4
4
|
import { ControlValueAccessor } from '@angular/forms';
|
|
5
5
|
import { FocusKeyManager, IFocusableOption } from '@koobiq/cdk/a11y';
|
|
6
|
-
import { CanDisable, CanDisableCtor,
|
|
6
|
+
import { CanDisable, CanDisableCtor, HasTabIndex, HasTabIndexCtor, KbqOptgroup, KbqOptionActionComponent, KbqTitleTextRef, MultipleMode } from '@koobiq/components/core';
|
|
7
7
|
import { KbqDropdownTrigger } from '@koobiq/components/dropdown';
|
|
8
8
|
import { KbqTooltipTrigger } from '@koobiq/components/tooltip';
|
|
9
9
|
import { Observable, Subject } from 'rxjs';
|
|
@@ -34,7 +34,7 @@ export declare class KbqListSelectionBase {
|
|
|
34
34
|
}
|
|
35
35
|
/** @docs-private */
|
|
36
36
|
export declare const KbqListSelectionMixinBase: CanDisableCtor & HasTabIndexCtor & typeof KbqListSelectionBase;
|
|
37
|
-
export declare class KbqListSelection extends KbqListSelectionMixinBase implements CanDisable, HasTabIndex, AfterContentInit, ControlValueAccessor {
|
|
37
|
+
export declare class KbqListSelection extends KbqListSelectionMixinBase implements CanDisable, HasTabIndex, AfterContentInit, ControlValueAccessor, OnDestroy {
|
|
38
38
|
private changeDetectorRef;
|
|
39
39
|
private clipboard;
|
|
40
40
|
keyManager: FocusKeyManager<KbqListOption>;
|
package/list/list.scss
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
@use '../core/styles/common/list';
|
|
5
5
|
|
|
6
|
-
|
|
7
6
|
.kbq-list,
|
|
8
7
|
.kbq-list-selection {
|
|
9
8
|
display: block;
|
|
@@ -22,14 +21,13 @@
|
|
|
22
21
|
|
|
23
22
|
& .kbq-option-action {
|
|
24
23
|
display: none;
|
|
25
|
-
height:
|
|
24
|
+
height: kbq-css-variable(size-xl);
|
|
26
25
|
align-items: center;
|
|
27
26
|
}
|
|
28
27
|
|
|
29
28
|
&:not(.kbq-disabled):hover,
|
|
30
29
|
&:not(.kbq-disabled).kbq-focused,
|
|
31
30
|
&:not(.kbq-disabled).kbq-action-button-focused {
|
|
32
|
-
|
|
33
31
|
& .kbq-option-action {
|
|
34
32
|
display: flex;
|
|
35
33
|
}
|
package/list/public-api.d.ts
CHANGED
|
@@ -4,14 +4,15 @@
|
|
|
4
4
|
@use '../core/styles/typography/typography-utils' as *;
|
|
5
5
|
@use '../core/styles/common/tokens' as *;
|
|
6
6
|
|
|
7
|
-
|
|
8
7
|
@mixin kbq-loader-overlay-theme($theme) {
|
|
9
8
|
$loader-overlay: map.get(map.get($theme, components), loader-overlay);
|
|
10
9
|
|
|
11
10
|
.kbq-loader-overlay_filled {
|
|
12
11
|
&.kbq-loader-overlay {
|
|
13
12
|
background: kbq-css-variable(
|
|
14
|
-
loader-overlay-filled-background,
|
|
13
|
+
loader-overlay-filled-background,
|
|
14
|
+
map.get($loader-overlay, filled, background)
|
|
15
|
+
);
|
|
15
16
|
}
|
|
16
17
|
|
|
17
18
|
& .kbq-loader-overlay-text {
|
|
@@ -26,7 +27,9 @@
|
|
|
26
27
|
.kbq-loader-overlay_transparent {
|
|
27
28
|
&.kbq-loader-overlay {
|
|
28
29
|
background: kbq-css-variable(
|
|
29
|
-
loader-overlay-transparent-background,
|
|
30
|
+
loader-overlay-transparent-background,
|
|
31
|
+
map.get($loader-overlay, transparent, background)
|
|
32
|
+
);
|
|
30
33
|
}
|
|
31
34
|
|
|
32
35
|
& .kbq-loader-overlay-text {
|
|
@@ -60,4 +63,3 @@
|
|
|
60
63
|
}
|
|
61
64
|
}
|
|
62
65
|
}
|
|
63
|
-
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
@use '../core/styles/typography/typography-utils' as *;
|
|
6
6
|
@use '../core/styles/common/tokens' as *;
|
|
7
7
|
|
|
8
|
-
|
|
9
8
|
@mixin kbq-markdown-theme($theme) {
|
|
10
9
|
$markdown: map.get($theme, components, markdown);
|
|
11
10
|
|
|
@@ -50,14 +49,18 @@
|
|
|
50
49
|
&:visited {
|
|
51
50
|
color: kbq-css-variable(markdown-link-state-visited-text, map.get($markdown, link-state-visited-text));
|
|
52
51
|
border-bottom-color: kbq-css-variable(
|
|
53
|
-
markdown-link-state-visited-border-bottom,
|
|
52
|
+
markdown-link-state-visited-border-bottom,
|
|
53
|
+
map.get($markdown, link-state-visited-border-bottom)
|
|
54
|
+
);
|
|
54
55
|
}
|
|
55
56
|
|
|
56
57
|
&:hover {
|
|
57
58
|
color: kbq-css-variable(markdown-link-state-hover-text, map.get($markdown, link-state-hover-text));
|
|
58
59
|
transition: color 0ms;
|
|
59
60
|
border-bottom-color: kbq-css-variable(
|
|
60
|
-
markdown-link-state-hover-border-bottom,
|
|
61
|
+
markdown-link-state-hover-border-bottom,
|
|
62
|
+
map.get($markdown, link-state-hover-border-bottom)
|
|
63
|
+
);
|
|
61
64
|
}
|
|
62
65
|
|
|
63
66
|
&:active {
|
|
@@ -65,11 +68,11 @@
|
|
|
65
68
|
}
|
|
66
69
|
|
|
67
70
|
&:focus {
|
|
68
|
-
outline:
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
kbq-css-variable(markdown-link-size-state-focused-outline-width);
|
|
71
|
+
outline: kbq-css-variable(
|
|
72
|
+
markdown-link-state-focused-outline,
|
|
73
|
+
map.get($markdown, link-state-focused-outline)
|
|
74
|
+
)
|
|
75
|
+
solid kbq-css-variable(markdown-link-size-state-focused-outline-width);
|
|
73
76
|
|
|
74
77
|
outline-offset: kbq-css-variable(markdown-link-size-state-focused-outline-offset);
|
|
75
78
|
}
|
package/markdown/markdown.scss
CHANGED
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
@use '../core/styles/tokens';
|
|
5
5
|
@use '../core/styles/common/tokens' as *;
|
|
6
6
|
|
|
7
|
-
|
|
8
7
|
$tokens: meta.module-variables(tokens) !default;
|
|
9
8
|
|
|
10
9
|
.kbq-markdown {
|
|
@@ -77,7 +76,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
77
76
|
|
|
78
77
|
> li {
|
|
79
78
|
&:before {
|
|
80
|
-
content:counter(li)
|
|
79
|
+
content: counter(li) '.';
|
|
81
80
|
counter-increment: li;
|
|
82
81
|
padding-right: kbq-css-variable(markdown-list-size-ol-number-padding-right);
|
|
83
82
|
}
|
|
@@ -166,7 +165,8 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
166
165
|
vertical-align: top;
|
|
167
166
|
}
|
|
168
167
|
|
|
169
|
-
th,
|
|
168
|
+
th,
|
|
169
|
+
td {
|
|
170
170
|
padding: kbq-css-variable(markdown-table-size-padding);
|
|
171
171
|
font-weight: 400;
|
|
172
172
|
}
|
package/modal/README.md
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
The dialog is currently divided into 3 modes - `default`, `confirm box`, `custom`.
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
#### Using service to create Confirm Mode
|
|
5
4
|
|
|
6
5
|
```ts
|
|
@@ -23,9 +22,11 @@ let dialogRef = modalService.open({
|
|
|
23
22
|
```
|
|
24
23
|
|
|
25
24
|
```ts
|
|
26
|
-
@Component({
|
|
25
|
+
@Component({
|
|
26
|
+
/* ... */
|
|
27
|
+
})
|
|
27
28
|
export class CustomComponent {
|
|
28
|
-
constructor(private dialogRef: KbqModalRef) {
|
|
29
|
+
constructor(private dialogRef: KbqModalRef) {}
|
|
29
30
|
|
|
30
31
|
closeDialog() {
|
|
31
32
|
this.modal.destroy({ data: 'this the result data' });
|
package/modal/_modal-theme.scss
CHANGED
|
@@ -4,39 +4,38 @@
|
|
|
4
4
|
@use '../core/styles/typography/typography-utils' as *;
|
|
5
5
|
@use '../core/styles/common/tokens' as *;
|
|
6
6
|
|
|
7
|
-
|
|
8
7
|
@mixin kbq-modal-theme($theme) {
|
|
9
8
|
$modal: map.get(map.get($theme, components), modal);
|
|
10
9
|
|
|
11
10
|
.kbq-modal {
|
|
12
|
-
background:
|
|
13
|
-
box-shadow:
|
|
11
|
+
background: kbq-css-variable(modal-container-background, map.get($modal, container-background));
|
|
12
|
+
box-shadow: kbq-css-variable(modal-container-box-shadow, map.get($modal, container-box-shadow));
|
|
14
13
|
|
|
15
14
|
.kbq-modal-header {
|
|
16
15
|
& .kbq-modal-title {
|
|
17
|
-
color:
|
|
16
|
+
color: kbq-css-variable(modal-header, map.get($modal, header));
|
|
18
17
|
}
|
|
19
18
|
|
|
20
19
|
& .kbq-modal-close {
|
|
21
|
-
color:
|
|
20
|
+
color: kbq-css-variable(modal-close-button, map.get($modal, close-button));
|
|
22
21
|
}
|
|
23
22
|
}
|
|
24
23
|
|
|
25
24
|
.kbq-modal-content {
|
|
26
|
-
color:
|
|
25
|
+
color: kbq-css-variable(modal-content, map.get($modal, content));
|
|
27
26
|
}
|
|
28
27
|
|
|
29
28
|
.kbq-modal-header.kbq-modal-body_top-overflow {
|
|
30
|
-
box-shadow:
|
|
29
|
+
box-shadow: kbq-css-variable(modal-body-top-shadow, map.get($modal, body-top-shadow));
|
|
31
30
|
}
|
|
32
31
|
|
|
33
32
|
.kbq-modal-footer.kbq-modal-body_bottom-overflow {
|
|
34
|
-
box-shadow:
|
|
33
|
+
box-shadow: kbq-css-variable(modal-body-bottom-shadow, map.get($modal, body-bottom-shadow));
|
|
35
34
|
}
|
|
36
35
|
}
|
|
37
36
|
|
|
38
37
|
.kbq-modal-mask {
|
|
39
|
-
background-color:
|
|
38
|
+
background-color: kbq-css-variable(modal-overlay, map.get($modal, overlay));
|
|
40
39
|
}
|
|
41
40
|
}
|
|
42
41
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class KbqModalTitle {
|
|
3
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqModalTitle, never>;
|
|
4
|
-
static
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqModalTitle, "[kbq-modal-title], kbq-modal-title, [kbqModalTitle]", never, {}, {}, never, ["*"], false, never>;
|
|
5
5
|
}
|
|
6
6
|
export declare class KbqModalBody {
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqModalBody, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqModalBody, "[kbq-modal-body], kbq-modal-body, [
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqModalBody, "[kbq-modal-body], kbq-modal-body, [kbqModalBody]", never, {}, {}, never, never, false, never>;
|
|
9
9
|
}
|
|
10
10
|
export declare class KbqModalFooter {
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqModalFooter, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqModalFooter, "[kbq-modal-footer], kbq-modal-footer, [
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqModalFooter, "[kbq-modal-footer], kbq-modal-footer, [kbqModalFooter]", never, {}, {}, never, never, false, never>;
|
|
13
13
|
}
|
|
14
14
|
export declare class KbqModalMainAction {
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqModalMainAction, never>;
|
package/modal/modal.scss
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
|
|
6
6
|
@use './modal-confirm';
|
|
7
7
|
|
|
8
|
-
|
|
9
8
|
.kbq-modal {
|
|
10
9
|
box-sizing: border-box;
|
|
11
10
|
|
|
@@ -84,11 +83,8 @@
|
|
|
84
83
|
align-items: center;
|
|
85
84
|
justify-content: space-between;
|
|
86
85
|
|
|
87
|
-
padding:
|
|
88
|
-
kbq-css-variable(modal-size-header-padding-vertical)
|
|
89
|
-
kbq-css-variable(modal-size-header-padding-right)
|
|
90
|
-
kbq-css-variable(modal-size-header-padding-vertical)
|
|
91
|
-
kbq-css-variable(modal-size-header-padding-left);
|
|
86
|
+
padding: kbq-css-variable(modal-size-header-padding-vertical) kbq-css-variable(modal-size-header-padding-right)
|
|
87
|
+
kbq-css-variable(modal-size-header-padding-vertical) kbq-css-variable(modal-size-header-padding-left);
|
|
92
88
|
|
|
93
89
|
& + .kbq-modal-body {
|
|
94
90
|
padding-top: kbq-css-variable(modal-size-content-padding-top);
|
|
@@ -102,31 +98,29 @@
|
|
|
102
98
|
overflow: hidden;
|
|
103
99
|
}
|
|
104
100
|
|
|
105
|
-
/* stylelint-disable no-descending-specificity */
|
|
106
101
|
.kbq-modal-body {
|
|
107
102
|
display: block;
|
|
108
103
|
overflow-y: auto;
|
|
109
104
|
|
|
110
105
|
max-height: calc(100vh - 260px);
|
|
111
106
|
|
|
112
|
-
padding:
|
|
113
|
-
kbq-css-variable(modal-size-content-padding-
|
|
114
|
-
kbq-css-variable(modal-size-content-padding-horizontal)
|
|
115
|
-
kbq-css-variable(modal-size-content-padding-bottom)
|
|
107
|
+
padding: kbq-css-variable(modal-size-content-padding-top-without-header)
|
|
108
|
+
kbq-css-variable(modal-size-content-padding-horizontal) kbq-css-variable(modal-size-content-padding-bottom)
|
|
116
109
|
kbq-css-variable(modal-size-content-padding-horizontal);
|
|
117
110
|
|
|
118
111
|
word-wrap: break-word;
|
|
112
|
+
|
|
113
|
+
& > * {
|
|
114
|
+
position: relative;
|
|
115
|
+
}
|
|
119
116
|
}
|
|
120
|
-
/* stylelint-enable no-descending-specificity */
|
|
121
117
|
|
|
122
118
|
.kbq-modal-footer,
|
|
123
119
|
.kbq-confirm-footer {
|
|
124
120
|
display: flex;
|
|
125
121
|
align-items: center;
|
|
126
122
|
|
|
127
|
-
padding:
|
|
128
|
-
kbq-css-variable(modal-size-footer-padding-vertical)
|
|
129
|
-
kbq-css-variable(modal-size-footer-padding-horizontal);
|
|
123
|
+
padding: kbq-css-variable(modal-size-footer-padding-vertical) kbq-css-variable(modal-size-footer-padding-horizontal);
|
|
130
124
|
|
|
131
125
|
gap: kbq-css-variable(modal-size-footer-content-gap-horizontal);
|
|
132
126
|
}
|
package/modal/modal.type.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OverlayRef } from '@angular/cdk/overlay';
|
|
2
2
|
import { EventEmitter, TemplateRef, Type } from '@angular/core';
|
|
3
|
-
export type OnClickCallback<T> = (
|
|
3
|
+
export type OnClickCallback<T> = (instance: T) => (false | void | {}) | Promise<false | void | {}>;
|
|
4
4
|
export type ModalType = 'default' | 'confirm' | 'custom';
|
|
5
5
|
export type ConfirmType = 'confirm' | 'success' | 'warn';
|
|
6
6
|
export declare enum ModalSize {
|
|
@@ -55,5 +55,5 @@ export interface IModalButtonOptions<T = any> {
|
|
|
55
55
|
disabled?: boolean | ((this: IModalButtonOptions<T>, contentComponentInstance?: T) => boolean);
|
|
56
56
|
autoFocus?: boolean;
|
|
57
57
|
kbqModalMainAction?: boolean;
|
|
58
|
-
onClick?(this: IModalButtonOptions<T>, contentComponentInstance?: T): (void | {}) | Promise<
|
|
58
|
+
onClick?(this: IModalButtonOptions<T>, contentComponentInstance?: T): (void | {}) | Promise<void | {}>;
|
|
59
59
|
}
|
package/modal/public-api.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { KbqModalComponent } from './modal.component';
|
|
2
1
|
export { KbqModalRef } from './modal-ref.class';
|
|
2
|
+
export { KbqModalComponent } from './modal.component';
|
|
3
|
+
export * from './modal.directive';
|
|
3
4
|
export { KbqModalModule } from './modal.module';
|
|
4
5
|
export { KbqModalService } from './modal.service';
|
|
5
|
-
export * from './modal.directive';
|
|
6
6
|
export * from './modal.type';
|
package/navbar/README.md
CHANGED
|
@@ -9,33 +9,34 @@
|
|
|
9
9
|
|
|
10
10
|
We strongly recommend adhere to use our child components until it is possible but you are free to insert there what you want.
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
-
|
|
12
|
+
- left\right side container **kbq-navbar-section**
|
|
13
|
+
- product\company title **kbq-navbar-brand**
|
|
14
|
+
- logo container **kbq-navbar-logo**
|
|
15
|
+
- any markup
|
|
16
|
+
- **kbq-navbar-title** (please see below)
|
|
17
|
+
- title **kbq-navbar-title**
|
|
18
|
+
- any markup, only font size, font color, font family is gonna be styled
|
|
19
|
+
- menu item container **kbq-navbar-item**
|
|
20
|
+
- icon **[kbq-icon]** (another PT koobiq component, out of the scope of this)
|
|
21
|
+
- title **kbq-navbar-title**
|
|
22
|
+
- dropdown **[kbq-dropdown]** (another PT koobiq component, out of the scope of this)
|
|
23
|
+
- any markup
|
|
24
|
+
- any markup
|
|
25
|
+
- any markup
|
|
26
26
|
|
|
27
27
|
## States
|
|
28
28
|
|
|
29
29
|
We believe you are able to manage navbar child components from outside. Meantime we provide number of kbq-navbar-item states based on css classes which may be combined between each others.
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
- kbq-active - selected item
|
|
32
|
+
- kbq-progress - something in progress (striped animation)
|
|
33
|
+
- cdk-focused - focused state, we control it as well for common tab order behaviour
|
|
34
|
+
|
|
35
35
|
Disable state also could be combined with other states but it is **disabled** attribute.
|
|
36
36
|
|
|
37
37
|
## Collapsing
|
|
38
|
+
|
|
38
39
|
In the case that absence of space the following elements is collapsed:
|
|
39
40
|
|
|
40
|
-
-
|
|
41
|
-
-
|
|
41
|
+
- kbq-navbar-item is collapsed to [kbq-icon] if exists (if not then the item is not collapsed). The title attribute is added for [kbq-icon] from kbq-navbar-item text;
|
|
42
|
+
- kbq-navbar-item is collapsed to [kbq-icon] if exists (if not then the item is not collapsed).
|