@koobiq/components 17.0.0-rc.8 → 17.0.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/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.scss +4 -7
- package/code-block/code-block.component.d.ts +2 -2
- 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 +1 -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 +4 -6
- package/esm2022/code-block/code-block.component.mjs +17 -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 +34 -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
|
@@ -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-code-block-style($component, $style-name) {
|
|
10
9
|
$style: map.get($component, $style-name);
|
|
11
10
|
$base: code-block-#{$style-name};
|
|
@@ -41,26 +40,32 @@
|
|
|
41
40
|
& .kbq-code-block__fade-gradient {
|
|
42
41
|
display: block;
|
|
43
42
|
|
|
44
|
-
background: kbq-css-variable(#{$base}-actionbar-fade-gradient, map.get($style, actionbar, fade-gradient))
|
|
43
|
+
background: kbq-css-variable(#{$base}-actionbar-fade-gradient, map.get($style, actionbar, fade-gradient));
|
|
45
44
|
}
|
|
46
45
|
}
|
|
47
46
|
|
|
48
47
|
.kbq-code-block__show-more {
|
|
49
48
|
.bg-wrapper {
|
|
50
49
|
background: kbq-css-variable(
|
|
51
|
-
#{$base}-collapse-button-expand-background,
|
|
50
|
+
#{$base}-collapse-button-expand-background,
|
|
51
|
+
map.get($style, collapse, button-expand-background)
|
|
52
|
+
);
|
|
52
53
|
opacity: 90%;
|
|
53
54
|
}
|
|
54
55
|
}
|
|
55
56
|
|
|
56
57
|
& .kbq-code-block__show-more_expanded {
|
|
57
58
|
background: kbq-css-variable(
|
|
58
|
-
#{$base}-collapse-expanded-background,
|
|
59
|
+
#{$base}-collapse-expanded-background,
|
|
60
|
+
map.get($style, collapse, expanded-background)
|
|
61
|
+
);
|
|
59
62
|
}
|
|
60
63
|
|
|
61
64
|
& .kbq-code-block__show-more_collapsed {
|
|
62
65
|
background: kbq-css-variable(
|
|
63
|
-
#{$base}-collapse-collapsed-background,
|
|
66
|
+
#{$base}-collapse-collapsed-background,
|
|
67
|
+
map.get($style, collapse, collapsed-background)
|
|
68
|
+
);
|
|
64
69
|
}
|
|
65
70
|
}
|
|
66
71
|
|
|
@@ -346,6 +351,13 @@
|
|
|
346
351
|
@include kbq-code-block-style($code-block, filled);
|
|
347
352
|
}
|
|
348
353
|
|
|
354
|
+
.kbq-tab-header {
|
|
355
|
+
& .kbq-tab-label.kbq-tab-label_horizontal,
|
|
356
|
+
& .kbq-tab-header__pagination {
|
|
357
|
+
border-bottom-color: transparent;
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
|
|
349
361
|
.kbq-tab-group.kbq-focused {
|
|
350
362
|
// paint focus border from the top since because of border constraints
|
|
351
363
|
.kbq-tab-header {
|
|
@@ -354,15 +366,8 @@
|
|
|
354
366
|
|
|
355
367
|
.kbq-tab-body__wrapper {
|
|
356
368
|
border-color: kbq-css-variable(states-focused-color, map.get($theme, states, focused-color));
|
|
357
|
-
box-shadow: inset 0 0 0.1 1px
|
|
358
|
-
states-focused-color, map.get($theme, states, focused-color));
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
.kbq-tab-header {
|
|
363
|
-
& .kbq-tab-label.kbq-tab-label_horizontal,
|
|
364
|
-
& .kbq-tab-header__pagination {
|
|
365
|
-
border-bottom-color: transparent;
|
|
369
|
+
box-shadow: inset 0 0 0.1 1px
|
|
370
|
+
kbq-css-variable(states-focused-color, map.get($theme, states, focused-color));
|
|
366
371
|
}
|
|
367
372
|
}
|
|
368
373
|
}
|
|
@@ -370,11 +375,13 @@
|
|
|
370
375
|
.kbq-code-block-actionbar {
|
|
371
376
|
.kbq-code-block-actionbar_less-contrast {
|
|
372
377
|
background-color: kbq-css-variable(
|
|
373
|
-
code-block-actionbar-bg-less-contrast,
|
|
378
|
+
code-block-actionbar-bg-less-contrast,
|
|
379
|
+
map.get($code-block, actionbar, bg-less-contrast)
|
|
380
|
+
);
|
|
374
381
|
}
|
|
375
382
|
|
|
376
383
|
&.kbq-actionbar-block_floating {
|
|
377
|
-
background-color: kbq-css-variable(code-block-actionbar-bg, map
|
|
384
|
+
background-color: kbq-css-variable(code-block-actionbar-bg, map.get($code-block, actionbar, bg));
|
|
378
385
|
}
|
|
379
386
|
}
|
|
380
387
|
}
|
|
@@ -3,10 +3,8 @@
|
|
|
3
3
|
@use '../core/styles/tokens';
|
|
4
4
|
@use '../core/styles/common/tokens' as *;
|
|
5
5
|
|
|
6
|
-
|
|
7
6
|
$tokens: meta.module-variables(tokens) !default;
|
|
8
7
|
|
|
9
|
-
|
|
10
8
|
.kbq-code-block-actionbar {
|
|
11
9
|
display: flex;
|
|
12
10
|
justify-content: right;
|
|
@@ -17,8 +15,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
17
15
|
top: -1px;
|
|
18
16
|
right: 0;
|
|
19
17
|
|
|
20
|
-
margin:
|
|
21
|
-
kbq-css-variable(code-block-size-actionbar-padding-vertical)
|
|
18
|
+
margin: kbq-css-variable(code-block-size-actionbar-padding-vertical)
|
|
22
19
|
kbq-css-variable(code-block-size-actionbar-padding-horizontal);
|
|
23
20
|
|
|
24
21
|
gap: kbq-css-variable(code-block-size-actionbar-content-gap-horizontal);
|
|
@@ -31,9 +28,9 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
31
28
|
|
|
32
29
|
margin-top: calc(
|
|
33
30
|
var(
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
31
|
+
--kbq-code-block-size-actionbar-padding-vertical,
|
|
32
|
+
map.get($tokens, code-block-size-actionbar-padding-vertical)
|
|
33
|
+
) * -1
|
|
37
34
|
);
|
|
38
35
|
}
|
|
39
36
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
1
2
|
import { Clipboard } from '@angular/cdk/clipboard';
|
|
2
|
-
import {
|
|
3
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, InjectionToken, OnDestroy, Renderer2 } from '@angular/core';
|
|
3
4
|
import { KbqTabChangeEvent, KbqTabGroup } from '@koobiq/components/tabs';
|
|
4
5
|
import { Subject } from 'rxjs';
|
|
5
6
|
import { KbqCodeBlockConfiguration, KbqCodeFile } from './code-block.types';
|
|
6
|
-
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare const COPIED_MESSAGE_TOOLTIP_TIMEOUT = 100;
|
|
9
9
|
export declare const DEFAULT_EXTENSION = "txt";
|
|
@@ -3,13 +3,11 @@
|
|
|
3
3
|
@use '../core/styles/tokens';
|
|
4
4
|
@use '../core/styles/common/tokens' as *;
|
|
5
5
|
|
|
6
|
-
|
|
7
6
|
$tokens: meta.module-variables(tokens) !default;
|
|
8
7
|
|
|
9
8
|
$border-radius: kbq-css-variable(code-block-size-container-border-radius);
|
|
10
9
|
$border-width: kbq-css-variable(code-block-size-container-border-width);
|
|
11
10
|
|
|
12
|
-
/* stylelint-disable no-descending-specificity */
|
|
13
11
|
.kbq-code-block {
|
|
14
12
|
display: block;
|
|
15
13
|
position: relative;
|
|
@@ -29,12 +27,11 @@ $border-width: kbq-css-variable(code-block-size-container-border-width);
|
|
|
29
27
|
// 4 buttons + margin
|
|
30
28
|
$buttons-margin: calc(32 * 4) + 24px;
|
|
31
29
|
|
|
32
|
-
padding:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
) + $buttons-margin)
|
|
30
|
+
padding: kbq-css-variable(code-block-size-header-padding-vertical)
|
|
31
|
+
calc(
|
|
32
|
+
var(--kbq-code-block-size-header-padding-right, map.get($tokens, code-block-size-header-padding-right)) +
|
|
33
|
+
$buttons-margin
|
|
34
|
+
)
|
|
38
35
|
kbq-css-variable(code-block-size-header-padding-vertical)
|
|
39
36
|
kbq-css-variable(code-block-size-header-padding-left);
|
|
40
37
|
|
|
@@ -54,8 +51,7 @@ $border-width: kbq-css-variable(code-block-size-container-border-width);
|
|
|
54
51
|
|
|
55
52
|
.kbq-code-block__code {
|
|
56
53
|
> code {
|
|
57
|
-
padding:
|
|
58
|
-
kbq-css-variable(code-block-size-with-header-content-padding-top)
|
|
54
|
+
padding: kbq-css-variable(code-block-size-with-header-content-padding-top)
|
|
59
55
|
kbq-css-variable(code-block-size-with-header-content-padding-horizontal)
|
|
60
56
|
kbq-css-variable(code-block-size-with-header-content-padding-bottom)
|
|
61
57
|
kbq-css-variable(code-block-size-with-header-content-padding-horizontal);
|
|
@@ -108,8 +104,7 @@ $border-width: kbq-css-variable(code-block-size-container-border-width);
|
|
|
108
104
|
position: relative;
|
|
109
105
|
|
|
110
106
|
& > code {
|
|
111
|
-
padding:
|
|
112
|
-
kbq-css-variable(code-block-size-no-header-content-padding-vertical)
|
|
107
|
+
padding: kbq-css-variable(code-block-size-no-header-content-padding-vertical)
|
|
113
108
|
kbq-css-variable(code-block-size-no-header-content-padding-horizontal);
|
|
114
109
|
}
|
|
115
110
|
|
|
@@ -152,7 +147,7 @@ $border-width: kbq-css-variable(code-block-size-container-border-width);
|
|
|
152
147
|
}
|
|
153
148
|
|
|
154
149
|
&.kbq-code-block__code_soft-wrap {
|
|
155
|
-
white-space: pre-wrap
|
|
150
|
+
white-space: pre-wrap;
|
|
156
151
|
}
|
|
157
152
|
|
|
158
153
|
.hljs-ln {
|
|
@@ -200,4 +195,3 @@ $border-width: kbq-css-variable(code-block-size-container-border-width);
|
|
|
200
195
|
border-radius: kbq-css-variable(button-size-border-radius);
|
|
201
196
|
}
|
|
202
197
|
}
|
|
203
|
-
/* stylelint-enable no-descending-specificity */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
|
-
export {
|
|
2
|
+
export { CanColor, CanColorCtor, KbqComponentColors, ThemePalette, mixinColor } from './color';
|
|
3
|
+
export { KBQ_SANITY_CHECKS, KbqCommonModule } from './common-module';
|
|
3
4
|
export { CanDisable, CanDisableCtor, mixinDisabled } from './disabled';
|
|
4
|
-
export {
|
|
5
|
+
export { CanUpdateErrorState, CanUpdateErrorStateCtor, mixinErrorState } from './error-state';
|
|
5
6
|
export { HasTabIndex, HasTabIndexCtor, mixinTabIndex } from './tabindex';
|
|
6
|
-
export { CanUpdateErrorStateCtor, CanUpdateErrorState, mixinErrorState } from './error-state';
|
|
7
7
|
export declare const KBQ_PARENT_ANIMATION_COMPONENT: InjectionToken<any>;
|
package/core/datetime/index.d.ts
CHANGED
|
@@ -6,6 +6,6 @@ export declare class KbqFormattersModule {
|
|
|
6
6
|
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqFormattersModule, [typeof i1.KbqDecimalPipe, typeof i1.KbqRoundDecimalPipe, typeof i1.KbqTableNumberPipe, typeof i2.AbsoluteDateFormatterPipe, typeof i2.AbsoluteDateTimeFormatterPipe, typeof i2.AbsoluteDateShortFormatterPipe, typeof i2.AbsoluteShortDateTimeFormatterPipe, typeof i2.RelativeDateFormatterPipe, typeof i2.RelativeDateTimeFormatterPipe, typeof i2.RelativeShortDateFormatterPipe, typeof i2.RelativeShortDateTimeFormatterPipe, typeof i2.RangeDateFormatterPipe, typeof i2.RangeShortDateFormatterPipe, typeof i2.RangeDateTimeFormatterPipe, typeof i2.RangeShortDateTimeFormatterPipe, typeof i2.RangeMiddleDateTimeFormatterPipe], never, [typeof i1.KbqDecimalPipe, typeof i1.KbqRoundDecimalPipe, typeof i1.KbqTableNumberPipe, typeof i2.AbsoluteDateFormatterPipe, typeof i2.AbsoluteDateTimeFormatterPipe, typeof i2.AbsoluteDateShortFormatterPipe, typeof i2.AbsoluteShortDateTimeFormatterPipe, typeof i2.RelativeDateFormatterPipe, typeof i2.RelativeDateTimeFormatterPipe, typeof i2.RelativeShortDateFormatterPipe, typeof i2.RelativeShortDateTimeFormatterPipe, typeof i2.RangeDateFormatterPipe, typeof i2.RangeShortDateFormatterPipe, typeof i2.RangeDateTimeFormatterPipe, typeof i2.RangeShortDateTimeFormatterPipe, typeof i2.RangeMiddleDateTimeFormatterPipe]>;
|
|
7
7
|
static ɵinj: i0.ɵɵInjectorDeclaration<KbqFormattersModule>;
|
|
8
8
|
}
|
|
9
|
-
export * from './number/formatter';
|
|
10
9
|
export * from './date/formatter';
|
|
11
10
|
export * from './date/formatter.pipe';
|
|
11
|
+
export * from './number/formatter';
|
package/core/forms/_forms.scss
CHANGED
package/core/forms/index.d.ts
CHANGED
package/core/locales/index.d.ts
CHANGED
package/core/option/action.scss
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use '../styles/common/tokens' as *;
|
|
2
|
+
|
|
1
3
|
.kbq-option-action {
|
|
2
4
|
box-sizing: border-box;
|
|
3
5
|
|
|
@@ -10,8 +12,8 @@
|
|
|
10
12
|
|
|
11
13
|
margin-right: -2px;
|
|
12
14
|
|
|
13
|
-
width:
|
|
14
|
-
height:
|
|
15
|
+
width: kbq-css-variable(list-font-text-line-height);
|
|
16
|
+
height: kbq-css-variable(list-font-text-line-height);
|
|
15
17
|
|
|
16
18
|
cursor: pointer;
|
|
17
19
|
|
package/core/option/index.d.ts
CHANGED
|
@@ -3,14 +3,13 @@
|
|
|
3
3
|
|
|
4
4
|
@use '../styles/common/vendor-prefixes';
|
|
5
5
|
@use '../styles/tokens';
|
|
6
|
-
|
|
6
|
+
@use '../styles/common/tokens' as *;
|
|
7
7
|
|
|
8
8
|
$tokens: meta.module-variables(tokens) !default;
|
|
9
9
|
|
|
10
10
|
.kbq-optgroup-label {
|
|
11
|
-
padding-left:
|
|
11
|
+
padding-left: kbq-css-variable(size-m);
|
|
12
12
|
|
|
13
13
|
@include vendor-prefixes.user-select(none);
|
|
14
|
-
|
|
15
14
|
cursor: default;
|
|
16
15
|
}
|
package/core/option/option.scss
CHANGED
package/core/pop-up/_pop-up.scss
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Directionality } from '@angular/cdk/bidi';
|
|
2
|
-
import { ConnectedOverlayPositionChange, ConnectionPositionPair, Overlay, OverlayRef, ScrollDispatcher
|
|
2
|
+
import { ConnectedOverlayPositionChange, ConnectionPositionPair, Overlay, OverlayConfig, OverlayRef, ScrollDispatcher } from '@angular/cdk/overlay';
|
|
3
3
|
import { ComponentPortal } from '@angular/cdk/portal';
|
|
4
|
-
import { ElementRef, EventEmitter, NgZone, TemplateRef, Type, ViewContainerRef } from '@angular/core';
|
|
4
|
+
import { ElementRef, EventEmitter, NgZone, OnDestroy, OnInit, TemplateRef, Type, ViewContainerRef } from '@angular/core';
|
|
5
5
|
import { Observable, Subject, Subscription } from 'rxjs';
|
|
6
6
|
import { PopUpPlacements } from './constants';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare abstract class KbqPopUpTrigger<T> {
|
|
8
|
+
export declare abstract class KbqPopUpTrigger<T> implements OnInit, OnDestroy {
|
|
9
9
|
protected overlay: Overlay;
|
|
10
10
|
protected elementRef: ElementRef;
|
|
11
11
|
protected ngZone: NgZone;
|
package/core/public-api.d.ts
CHANGED
|
@@ -2,21 +2,21 @@ export * from './animation/index';
|
|
|
2
2
|
export * from './common-behaviors/index';
|
|
3
3
|
export * from './datetime/index';
|
|
4
4
|
export * from './error/error-options';
|
|
5
|
-
export * from './formatters/index';
|
|
6
5
|
export * from './form-field/index';
|
|
6
|
+
export * from './formatters/index';
|
|
7
7
|
export * from './forms/index';
|
|
8
8
|
export * from './highlight/index';
|
|
9
9
|
export * from './label/label-options';
|
|
10
10
|
export * from './line/line';
|
|
11
|
+
export * from './locales/index';
|
|
11
12
|
export * from './option/index';
|
|
12
13
|
export * from './overlay/overlay-position-map';
|
|
13
14
|
export * from './pop-up/index';
|
|
14
15
|
export * from './select/index';
|
|
15
16
|
export * from './selection/index';
|
|
16
|
-
export * from './locales/index';
|
|
17
|
-
export * from './title/index';
|
|
18
17
|
export * from './services/measure-scrollbar.service';
|
|
19
18
|
export * from './services/theme.service';
|
|
19
|
+
export * from './title/index';
|
|
20
20
|
export * from './utils/index';
|
|
21
21
|
export * from './validation/index';
|
|
22
22
|
export * from './version';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Overlay, RepositionScrollStrategy, ScrollStrategy } from '@angular/cdk/overlay';
|
|
2
2
|
import { InjectionToken } from '@angular/core';
|
|
3
3
|
/** The max height of the select's overlay panel */
|
|
4
4
|
export declare const SELECT_PANEL_MAX_HEIGHT = 224;
|
package/core/select/index.d.ts
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
@use '../../styles/common/tokens' as *;
|
|
5
4
|
|
|
6
|
-
|
|
7
5
|
@mixin kbq-pseudo-checkbox-color($component, $style-name) {
|
|
8
6
|
$style: map.get($component, $style-name);
|
|
9
7
|
$base: checkbox-#{$style-name};
|
|
10
8
|
|
|
11
9
|
border-color: kbq-css-variable(#{$base}-default-border, map.get($style, default, border));
|
|
10
|
+
background: kbq-css-variable(#{$base}-default-background, map.get($style, default, background));
|
|
12
11
|
|
|
13
12
|
& .kbq-checkbox-checkmark,
|
|
14
13
|
& .kbq-checkbox-mixedmark {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Renderer2, RendererFactory2 } from '@angular/core';
|
|
1
|
+
import { OnDestroy, Renderer2, RendererFactory2 } from '@angular/core';
|
|
2
2
|
import { BehaviorSubject, Subscription } from 'rxjs';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export interface KbqTheme {
|
|
@@ -7,13 +7,14 @@ export interface KbqTheme {
|
|
|
7
7
|
selected: boolean;
|
|
8
8
|
}
|
|
9
9
|
export declare const KbqDefaultThemes: KbqTheme[];
|
|
10
|
-
export declare class ThemeService<T extends KbqTheme | null = KbqTheme> {
|
|
10
|
+
export declare class ThemeService<T extends KbqTheme | null = KbqTheme> implements OnDestroy {
|
|
11
11
|
private rendererFactory;
|
|
12
12
|
current: BehaviorSubject<T>;
|
|
13
13
|
themes: T[];
|
|
14
14
|
protected renderer: Renderer2;
|
|
15
15
|
protected subscription: Subscription;
|
|
16
16
|
constructor(rendererFactory: RendererFactory2);
|
|
17
|
+
ngOnDestroy(): void;
|
|
17
18
|
setThemes(items: T[]): void;
|
|
18
19
|
setTheme(value: T | number): void;
|
|
19
20
|
getTheme(): T;
|
package/core/styles/_core.scss
CHANGED
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
@use '../../datepicker/datepicker-theme' as *;
|
|
18
18
|
@use '../../divider/divider-theme' as *;
|
|
19
19
|
@use '../../dropdown/dropdown-theme' as *;
|
|
20
|
+
@use '../../empty-state/empty-state-theme' as *;
|
|
20
21
|
@use '../../file-upload/file-upload-theme' as *;
|
|
21
22
|
@use '../../form-field/form-field-theme' as *;
|
|
22
23
|
@use '../../form-field/hint-theme' as *;
|
|
@@ -56,7 +57,6 @@
|
|
|
56
57
|
@use '../highlight/highlight-theme' as *;
|
|
57
58
|
@use '../../dl/dl-theme' as *;
|
|
58
59
|
|
|
59
|
-
|
|
60
60
|
@mixin koobiq-theme($theme) {
|
|
61
61
|
@include kbq-core-theme($theme);
|
|
62
62
|
|
|
@@ -72,6 +72,7 @@
|
|
|
72
72
|
@include kbq-dl-theme($theme);
|
|
73
73
|
@include kbq-divider-theme($theme);
|
|
74
74
|
@include kbq-dropdown-theme($theme);
|
|
75
|
+
@include kbq-empty-state-theme($theme);
|
|
75
76
|
@include kbq-form-field-theme($theme);
|
|
76
77
|
@include kbq-file-upload-theme($theme);
|
|
77
78
|
@include kbq-hint-theme($theme);
|
|
@@ -112,11 +113,11 @@
|
|
|
112
113
|
}
|
|
113
114
|
|
|
114
115
|
@mixin koobiq-typography($tokens, $config: null, $md-config: null) {
|
|
115
|
-
@if $config
|
|
116
|
+
@if not $config {
|
|
116
117
|
$config: kbq-typography-config($tokens);
|
|
117
118
|
}
|
|
118
119
|
|
|
119
|
-
@if $md-config
|
|
120
|
+
@if not $md-config {
|
|
120
121
|
$md-config: kbq-markdown-typography-config($tokens);
|
|
121
122
|
}
|
|
122
123
|
|
|
@@ -131,6 +132,7 @@
|
|
|
131
132
|
@include kbq-code-block-typography($config);
|
|
132
133
|
@include kbq-datepicker-typography($config);
|
|
133
134
|
@include kbq-dropdown-typography($config);
|
|
135
|
+
@include kbq-empty-state-typography($config);
|
|
134
136
|
@include kbq-dl-typography($config);
|
|
135
137
|
@include kbq-form-field-typography($config);
|
|
136
138
|
@include kbq-hint-typography($config);
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
to {
|
|
7
|
-
background-position:
|
|
7
|
+
background-position: 64px 0;
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
|
|
@@ -21,18 +21,19 @@
|
|
|
21
21
|
bottom: 0;
|
|
22
22
|
left: 0;
|
|
23
23
|
|
|
24
|
-
$lighter: rgba(255, 255, 255, 0.
|
|
24
|
+
$lighter: rgba(255, 255, 255, 0.1);
|
|
25
25
|
$darker: rgba(0, 0, 0, 0.04);
|
|
26
26
|
|
|
27
27
|
background: linear-gradient(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
28
|
+
135deg,
|
|
29
|
+
$darker 12px,
|
|
30
|
+
$lighter 12px,
|
|
31
|
+
$lighter 22px,
|
|
32
|
+
$darker 22px,
|
|
33
|
+
$darker 34px,
|
|
34
|
+
$lighter 34px
|
|
35
|
+
)
|
|
36
|
+
repeat;
|
|
36
37
|
background-size: 32px 32px;
|
|
37
38
|
animation: kbq-progress 1s linear infinite;
|
|
38
39
|
}
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
@use '../tokens';
|
|
5
5
|
@use '../common/tokens' as *;
|
|
6
6
|
|
|
7
|
-
|
|
8
7
|
$tokens: meta.module-variables(tokens) !default;
|
|
9
8
|
|
|
10
9
|
@mixin border-top-radius($radius) {
|
|
@@ -78,7 +77,6 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
78
77
|
display: flex;
|
|
79
78
|
flex-direction: column;
|
|
80
79
|
|
|
81
|
-
/* stylelint-disable no-descending-specificity */
|
|
82
80
|
> .kbq-group-item {
|
|
83
81
|
&:first-child:not(:last-child) {
|
|
84
82
|
@include border-bottom-radius(0);
|
|
@@ -112,6 +110,4 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
112
110
|
.kbq-group-item + .kbq-group-item {
|
|
113
111
|
margin-top: calc(-1 * var(--kbq-button-size-border-width, #{map.get($tokens, button-size-border-width)}));
|
|
114
112
|
}
|
|
115
|
-
/* stylelint-enable no-descending-specificity */
|
|
116
113
|
}
|
|
117
|
-
|