@koobiq/components 16.0.0-beta.1 → 16.0.0-beta.11
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/LICENSE +1 -1
- package/README.md +2 -2
- package/autocomplete/_autocomplete-theme.scss +3 -10
- package/autocomplete/autocomplete-origin.directive.d.ts +1 -1
- package/autocomplete/autocomplete-trigger.directive.d.ts +6 -16
- package/autocomplete/autocomplete.component.d.ts +1 -1
- package/autocomplete/autocomplete.scss +0 -8
- package/badge/README.md +0 -0
- package/{core/styles/theming/_badges-theme.scss → badge/_badge-theme.scss} +14 -13
- package/badge/badge.component.d.ts +44 -0
- package/badge/badge.component.scss +83 -0
- package/badge/badge.module.d.ts +10 -0
- package/badge/index.d.ts +1 -0
- package/badge/public-api.d.ts +2 -0
- package/button/_button-base.scss +1 -1
- package/button/_button-theme.scss +35 -27
- package/button/button.scss +5 -2
- package/button-toggle/_button-toggle-theme.scss +26 -45
- package/button-toggle/button-toggle.component.d.ts +2 -2
- package/button-toggle/button-toggle.scss +40 -87
- package/card/_card-theme.scss +1 -1
- package/checkbox/README.md +1 -1
- package/checkbox/_checkbox-theme.scss +10 -2
- package/checkbox/checkbox.d.ts +2 -2
- package/code-block/README.md +14 -14
- package/code-block/_code-block-theme.scss +49 -10
- package/code-block/actionbar.component.scss +34 -6
- package/code-block/code-block.component.d.ts +2 -2
- package/code-block/code-block.scss +101 -27
- package/core/animation/index.d.ts +1 -1
- package/core/animation/select-animations.d.ts +1 -1
- package/core/common-behaviors/color.d.ts +1 -1
- package/core/common-behaviors/common-module.d.ts +1 -1
- package/core/formatters/index.d.ts +1 -1
- package/core/formatters/number/formatter.d.ts +56 -1
- package/core/forms/_forms-theme.scss +4 -4
- package/core/forms/_forms.scss +1 -3
- package/core/forms/forms.directive.d.ts +2 -2
- package/core/locales/en-US.d.ts +19 -1
- package/core/locales/es-LA.d.ts +27 -0
- package/core/locales/fa-IR.d.ts +28 -0
- package/core/locales/locale-service.d.ts +148 -3
- package/core/locales/pt-BR.d.ts +27 -0
- package/core/locales/ru-RU.d.ts +20 -1
- package/core/locales/zh-CN.d.ts +26 -0
- package/core/option/_optgroup-theme.scss +1 -1
- package/core/option/_option-action-theme.scss +1 -1
- package/core/option/_option-theme.scss +37 -14
- package/core/option/action.d.ts +1 -1
- package/core/option/action.scss +4 -5
- package/core/option/optgroup.d.ts +1 -1
- package/core/option/option.d.ts +37 -8
- package/core/option/option.scss +5 -50
- package/core/overlay/overlay-position-map.d.ts +7 -1
- package/core/pop-up/constants.d.ts +2 -1
- package/core/public-api.d.ts +1 -0
- package/core/select/constants.d.ts +2 -2
- package/core/services/theme.service.d.ts +23 -0
- package/core/styles/_koobiq-theme.scss +12 -1
- package/core/styles/_tokens.kbq.import.scss +4 -4
- package/core/styles/_tokens.scss +4 -4
- package/core/styles/_variables.scss +1 -0
- package/core/styles/common/_animation.scss +10 -6
- package/core/styles/common/_list.scss +123 -0
- package/core/styles/common/_overlay.scss +1 -1
- package/core/styles/common/_select.scss +232 -0
- package/core/styles/theming/_components-theming.scss +716 -102
- package/core/styles/theming/_theming.scss +201 -30
- package/core/styles/typography/_typography.scss +176 -5
- package/datepicker/_datepicker-theme.scss +43 -57
- package/datepicker/calendar-body.component.d.ts +1 -1
- package/datepicker/calendar-body.scss +11 -26
- package/datepicker/calendar-header.component.d.ts +9 -3
- package/datepicker/calendar-header.scss +7 -31
- package/datepicker/calendar.component.d.ts +4 -5
- package/datepicker/calendar.scss +20 -25
- package/datepicker/datepicker-animations.d.ts +2 -2
- package/datepicker/datepicker-content.scss +17 -10
- package/datepicker/datepicker-input.directive.d.ts +4 -4
- package/datepicker/datepicker-input.scss +1 -1
- package/datepicker/datepicker-toggle.component.d.ts +3 -3
- package/datepicker/datepicker.component.d.ts +2 -2
- package/datepicker/month-view.component.d.ts +5 -6
- package/dl/_dl-theme.scss +2 -56
- package/dl/dl.component.d.ts +1 -2
- package/dl/dl.scss +10 -47
- package/dropdown/_dropdown-theme.scss +29 -37
- package/dropdown/dropdown-animations.d.ts +1 -1
- package/dropdown/dropdown-content.directive.d.ts +1 -1
- package/dropdown/dropdown-item.component.d.ts +1 -1
- package/dropdown/dropdown-item.scss +18 -40
- package/dropdown/dropdown-trigger.directive.d.ts +2 -2
- package/dropdown/dropdown.component.d.ts +1 -1
- package/dropdown/dropdown.scss +16 -39
- package/dropdown/dropdown.types.d.ts +1 -1
- package/esm2022/alert/alert.component.mjs +3 -3
- package/esm2022/autocomplete/autocomplete-origin.directive.mjs +4 -4
- package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +34 -31
- package/esm2022/autocomplete/autocomplete.component.mjs +4 -4
- package/esm2022/badge/badge.component.mjs +122 -0
- package/esm2022/badge/badge.module.mjs +40 -0
- package/esm2022/badge/index.mjs +2 -0
- package/esm2022/badge/koobiq-components-badge.mjs +5 -0
- package/esm2022/badge/public-api.mjs +3 -0
- package/esm2022/button/button.component.mjs +4 -3
- package/esm2022/button-toggle/button-toggle.component.mjs +15 -15
- package/esm2022/checkbox/checkbox.mjs +4 -4
- package/esm2022/code-block/actionbar.component.mjs +3 -3
- package/esm2022/code-block/code-block.component.mjs +11 -9
- package/esm2022/core/animation/index.mjs +2 -2
- package/esm2022/core/animation/select-animations.mjs +4 -4
- package/esm2022/core/common-behaviors/color.mjs +1 -1
- package/esm2022/core/common-behaviors/common-module.mjs +2 -2
- package/esm2022/core/formatters/index.mjs +10 -2
- package/esm2022/core/formatters/number/formatter.mjs +224 -3
- package/esm2022/core/forms/forms.directive.mjs +5 -5
- package/esm2022/core/locales/en-US.mjs +22 -4
- package/esm2022/core/locales/es-LA.mjs +31 -2
- package/esm2022/core/locales/fa-IR.mjs +30 -2
- package/esm2022/core/locales/locale-service.mjs +4 -4
- package/esm2022/core/locales/pt-BR.mjs +29 -2
- package/esm2022/core/locales/ru-RU.mjs +23 -2
- package/esm2022/core/locales/zh-CN.mjs +28 -2
- package/esm2022/core/option/action.mjs +8 -7
- package/esm2022/core/option/optgroup.mjs +3 -3
- package/esm2022/core/option/option.mjs +47 -10
- package/esm2022/core/overlay/overlay-position-map.mjs +8 -1
- package/esm2022/core/pop-up/constants.mjs +2 -1
- package/esm2022/core/pop-up/pop-up-trigger.mjs +12 -3
- package/esm2022/core/public-api.mjs +2 -1
- package/esm2022/core/select/constants.mjs +3 -3
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +3 -3
- package/esm2022/core/services/theme.service.mjs +60 -0
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/datepicker/calendar-body.component.mjs +7 -5
- package/esm2022/datepicker/calendar-header.component.mjs +9 -8
- package/esm2022/datepicker/calendar.component.mjs +8 -17
- package/esm2022/datepicker/datepicker-animations.mjs +3 -3
- package/esm2022/datepicker/datepicker-input.directive.mjs +29 -20
- package/esm2022/datepicker/datepicker-toggle.component.mjs +6 -6
- package/esm2022/datepicker/datepicker.component.mjs +12 -12
- package/esm2022/datepicker/month-view.component.mjs +9 -18
- package/esm2022/dl/dl.component.mjs +3 -7
- package/esm2022/dropdown/dropdown-animations.mjs +4 -4
- package/esm2022/dropdown/dropdown-content.directive.mjs +3 -3
- package/esm2022/dropdown/dropdown-errors.mjs +6 -6
- package/esm2022/dropdown/dropdown-item.component.mjs +7 -6
- package/esm2022/dropdown/dropdown-trigger.directive.mjs +10 -9
- package/esm2022/dropdown/dropdown.component.mjs +9 -9
- package/esm2022/dropdown/dropdown.types.mjs +1 -1
- package/esm2022/file-upload/file-drop.mjs +43 -6
- package/esm2022/file-upload/file-upload.mjs +1 -1
- package/esm2022/file-upload/multiple-file-upload.component.mjs +13 -9
- package/esm2022/file-upload/single-file-upload.component.mjs +16 -13
- package/esm2022/form-field/cleaner.mjs +3 -3
- package/esm2022/form-field/form-field.mjs +12 -15
- package/esm2022/form-field/hint.mjs +16 -6
- package/esm2022/form-field/password-hint.mjs +25 -16
- package/esm2022/form-field/password-toggle.mjs +29 -12
- package/esm2022/form-field/prefix.mjs +3 -3
- package/esm2022/form-field/suffix.mjs +3 -3
- package/esm2022/form-field/validate.directive.mjs +15 -9
- package/esm2022/icon/icon-button.component.mjs +68 -0
- package/esm2022/icon/icon-item.component.mjs +27 -0
- package/esm2022/icon/icon.component.mjs +5 -90
- package/esm2022/icon/icon.module.mjs +4 -2
- package/esm2022/icon/public-api.mjs +3 -1
- package/esm2022/input/input-errors.mjs +2 -2
- package/esm2022/input/input-number.mjs +260 -44
- package/esm2022/input/input-password.mjs +5 -5
- package/esm2022/input/input.mjs +7 -7
- package/esm2022/link/link.component.mjs +14 -13
- package/esm2022/list/list-selection.component.mjs +23 -10
- package/esm2022/list/list.component.mjs +2 -2
- package/esm2022/list/list.module.mjs +8 -4
- package/esm2022/loader-overlay/loader-overlay.component.mjs +20 -19
- package/esm2022/modal/modal-control.service.mjs +5 -5
- package/esm2022/modal/modal-ref.class.mjs +1 -1
- package/esm2022/modal/modal.component.mjs +129 -134
- package/esm2022/modal/modal.module.mjs +13 -7
- package/esm2022/modal/modal.service.mjs +23 -23
- package/esm2022/modal/modal.type.mjs +1 -3
- package/esm2022/navbar/navbar-item.component.mjs +19 -18
- package/esm2022/navbar/navbar.component.mjs +20 -11
- package/esm2022/navbar/vertical-navbar.animation.mjs +2 -2
- package/esm2022/navbar/vertical-navbar.component.mjs +11 -8
- package/esm2022/popover/popover-animations.mjs +2 -2
- package/esm2022/popover/popover-confirm.component.mjs +9 -11
- package/esm2022/popover/popover.component.mjs +24 -24
- package/esm2022/progress-spinner/progress-spinner.component.mjs +3 -3
- package/esm2022/radio/radio.component.mjs +11 -8
- package/esm2022/risk-level/index.mjs +2 -0
- package/esm2022/risk-level/koobiq-components-risk-level.mjs +5 -0
- package/esm2022/risk-level/public-api.mjs +3 -0
- package/esm2022/risk-level/risk-level.component.mjs +40 -0
- package/esm2022/risk-level/risk-level.module.mjs +28 -0
- package/esm2022/select/select-option.directive.mjs +15 -3
- package/esm2022/select/select.component.mjs +47 -29
- package/esm2022/sidebar/sidebar-animations.mjs +2 -2
- package/esm2022/sidebar/sidebar.component.mjs +9 -9
- package/esm2022/sidepanel/sidepanel-container.component.mjs +3 -3
- package/esm2022/sidepanel/sidepanel-directives.mjs +8 -10
- package/esm2022/sidepanel/sidepanel.module.mjs +10 -4
- package/esm2022/splitter/splitter.component.mjs +3 -3
- package/esm2022/table/table.component.mjs +3 -3
- package/esm2022/tabs/paginated-tab-header.mjs +11 -2
- package/esm2022/tabs/tab-body.component.mjs +7 -7
- package/esm2022/tabs/tab-content.directive.mjs +3 -3
- package/esm2022/tabs/tab-group.component.mjs +16 -21
- package/esm2022/tabs/tab-header.component.mjs +2 -2
- package/esm2022/tabs/tab-label-wrapper.directive.mjs +4 -3
- package/esm2022/tabs/tab-label.directive.mjs +3 -3
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +21 -10
- package/esm2022/tabs/tab.component.mjs +14 -5
- package/esm2022/tabs/tabs-animations.mjs +2 -2
- package/esm2022/tabs/tabs.module.mjs +2 -6
- package/esm2022/tags/tag-default-options.mjs +1 -1
- package/esm2022/tags/tag-input.mjs +17 -15
- package/esm2022/tags/tag-list.component.mjs +15 -10
- package/esm2022/tags/tag.component.mjs +16 -16
- package/esm2022/textarea/textarea.component.mjs +4 -4
- package/esm2022/timepicker/timepicker.directive.mjs +10 -10
- package/esm2022/timezone/timezone-option.component.mjs +4 -4
- package/esm2022/timezone/timezone-select.component.mjs +5 -5
- package/esm2022/title/title.directive.mjs +6 -6
- package/esm2022/toast/toast-animations.mjs +2 -1
- package/esm2022/toast/toast-container.component.mjs +22 -8
- package/esm2022/toast/toast.component.mjs +30 -13
- package/esm2022/toast/toast.module.mjs +23 -8
- package/esm2022/toast/toast.service.mjs +2 -1
- package/esm2022/toast/toast.type.mjs +6 -1
- package/esm2022/toggle/toggle.component.mjs +4 -4
- package/esm2022/tooltip/tooltip.animations.mjs +2 -2
- package/esm2022/tooltip/tooltip.component.mjs +31 -30
- package/esm2022/tree/control/base-tree-control.mjs +1 -1
- package/esm2022/tree/control/flat-tree-control.mjs +4 -4
- package/esm2022/tree/control/tree-control.mjs +1 -1
- package/esm2022/tree/node.mjs +5 -5
- package/esm2022/tree/outlet.mjs +3 -3
- package/esm2022/tree/padding.directive.mjs +9 -9
- package/esm2022/tree/toggle.mjs +11 -12
- package/esm2022/tree/tree-base.mjs +3 -3
- package/esm2022/tree/tree-option.component.mjs +12 -10
- package/esm2022/tree/tree-selection.component.mjs +8 -6
- package/esm2022/tree/tree.mjs +3 -3
- package/esm2022/tree/tree.module.mjs +13 -4
- package/esm2022/tree-select/tree-select.component.mjs +28 -23
- package/fesm2022/koobiq-components-alert.mjs +2 -2
- package/fesm2022/koobiq-components-alert.mjs.map +1 -1
- package/fesm2022/koobiq-components-autocomplete.mjs +40 -37
- package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
- package/fesm2022/koobiq-components-badge.mjs +166 -0
- package/fesm2022/koobiq-components-badge.mjs.map +1 -0
- package/fesm2022/koobiq-components-button-toggle.mjs +14 -14
- package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-button.mjs +3 -2
- package/fesm2022/koobiq-components-button.mjs.map +1 -1
- package/fesm2022/koobiq-components-checkbox.mjs +3 -3
- package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
- package/fesm2022/koobiq-components-code-block.mjs +10 -9
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +535 -46
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +73 -79
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-dl.mjs +2 -6
- package/fesm2022/koobiq-components-dl.mjs.map +1 -1
- package/fesm2022/koobiq-components-dropdown.mjs +33 -31
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-file-upload.mjs +65 -21
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +96 -59
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +10 -8
- package/fesm2022/koobiq-components-icon.mjs.map +1 -1
- package/fesm2022/koobiq-components-input.mjs +269 -55
- package/fesm2022/koobiq-components-input.mjs.map +1 -1
- package/fesm2022/koobiq-components-link.mjs +13 -12
- package/fesm2022/koobiq-components-link.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +31 -14
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-loader-overlay.mjs +19 -18
- package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +164 -167
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +46 -37
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +32 -33
- package/fesm2022/koobiq-components-popover.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-spinner.mjs +2 -2
- package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
- package/fesm2022/koobiq-components-radio.mjs +10 -7
- package/fesm2022/koobiq-components-radio.mjs.map +1 -1
- package/fesm2022/koobiq-components-risk-level.mjs +72 -0
- package/fesm2022/koobiq-components-risk-level.mjs.map +1 -0
- package/fesm2022/koobiq-components-select.mjs +60 -30
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidebar.mjs +8 -8
- package/fesm2022/koobiq-components-sidebar.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidepanel.mjs +19 -14
- package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
- package/fesm2022/koobiq-components-splitter.mjs +2 -2
- package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
- package/fesm2022/koobiq-components-table.mjs +2 -2
- package/fesm2022/koobiq-components-table.mjs.map +1 -1
- package/fesm2022/koobiq-components-tabs.mjs +74 -53
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +45 -38
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-textarea.mjs +3 -3
- package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
- package/fesm2022/koobiq-components-timepicker.mjs +9 -9
- package/fesm2022/koobiq-components-timepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-timezone.mjs +7 -7
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-title.mjs +5 -5
- package/fesm2022/koobiq-components-title.mjs.map +1 -1
- package/fesm2022/koobiq-components-toast.mjs +71 -22
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/fesm2022/koobiq-components-toggle.mjs +3 -3
- package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-tooltip.mjs +31 -30
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +27 -22
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +67 -54
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/file-upload/_file-upload-theme.scss +54 -40
- package/file-upload/file-drop.d.ts +3 -2
- package/file-upload/file-upload.d.ts +4 -1
- package/file-upload/file-upload.scss +2 -9
- package/file-upload/multiple-file-upload.component.d.ts +6 -5
- package/file-upload/multiple-file-upload.component.scss +170 -59
- package/file-upload/single-file-upload.component.d.ts +6 -5
- package/file-upload/single-file-upload.component.scss +42 -22
- package/form-field/_form-field-theme.scss +3 -6
- package/form-field/_hint-theme.scss +6 -2
- package/form-field/cleaner.d.ts +1 -1
- package/form-field/form-field.d.ts +3 -4
- package/form-field/form-field.scss +2 -2
- package/form-field/hint.d.ts +4 -1
- package/form-field/hint.scss +9 -1
- package/form-field/password-hint.d.ts +7 -3
- package/form-field/password-hint.scss +6 -0
- package/form-field/password-toggle.d.ts +13 -7
- package/form-field/prefix.d.ts +1 -1
- package/form-field/suffix.d.ts +1 -1
- package/form-field/validate.directive.d.ts +1 -1
- package/icon/_icon-button-theme.scss +129 -0
- package/icon/_icon-item-theme.scss +41 -0
- package/icon/_icon-theme.scss +1 -232
- package/icon/icon-button.component.d.ts +22 -0
- package/icon/icon-button.scss +33 -0
- package/icon/icon-item.component.d.ts +10 -0
- package/icon/icon-item.scss +18 -0
- package/icon/icon.component.d.ts +1 -25
- package/icon/icon.module.d.ts +6 -4
- package/icon/icon.scss +0 -41
- package/icon/public-api.d.ts +2 -0
- package/input/_input-theme.scss +2 -1
- package/input/input-number.d.ts +61 -10
- package/input/input-password.d.ts +1 -1
- package/input/input.d.ts +2 -2
- package/input/input.scss +3 -1
- package/link/_link-theme.scss +101 -92
- package/link/link.component.d.ts +4 -4
- package/list/_list-theme.scss +36 -17
- package/list/list-selection.component.d.ts +6 -2
- package/list/list.module.d.ts +1 -1
- package/list/list.scss +6 -19
- package/loader-overlay/_loader-overlay-theme.scss +43 -11
- package/loader-overlay/loader-overlay.component.d.ts +6 -5
- package/loader-overlay/loader-overlay.scss +56 -22
- package/markdown/_markdown-theme.scss +2 -2
- package/modal/README.md +5 -5
- package/modal/_modal-confirm.scss +5 -37
- package/modal/_modal-theme.scss +14 -52
- package/modal/modal-ref.class.d.ts +2 -2
- package/modal/modal.component.d.ts +53 -52
- package/modal/modal.module.d.ts +2 -1
- package/modal/modal.scss +50 -31
- package/modal/modal.type.d.ts +35 -36
- package/navbar/_navbar-theme.scss +2 -2
- package/navbar/navbar-item.component.d.ts +4 -3
- package/navbar/navbar.component.d.ts +5 -2
- package/navbar/vertical-navbar.component.d.ts +4 -2
- package/package.json +48 -38
- package/popover/README.md +14 -14
- package/popover/_popover-theme.scss +15 -78
- package/popover/popover-animations.d.ts +1 -1
- package/popover/popover-confirm.component.d.ts +1 -3
- package/popover/popover.component.d.ts +3 -3
- package/popover/popover.scss +60 -50
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/progress-spinner/progress-spinner.component.d.ts +2 -2
- package/progress-spinner/progress-spinner.scss +10 -5
- package/radio/_radio-theme.scss +17 -4
- package/radio/radio.component.d.ts +2 -2
- package/radio/radio.scss +13 -0
- package/risk-level/README.md +0 -0
- package/risk-level/_risk-level-theme.scss +88 -0
- package/risk-level/index.d.ts +1 -0
- package/risk-level/public-api.d.ts +2 -0
- package/risk-level/risk-level.component.d.ts +18 -0
- package/risk-level/risk-level.component.scss +26 -0
- package/risk-level/risk-level.module.d.ts +10 -0
- package/select/_select-theme.scss +12 -4
- package/select/select-option.directive.d.ts +2 -0
- package/select/select.component.d.ts +15 -12
- package/select/select.scss +6 -190
- package/sidebar/sidebar-animations.d.ts +1 -1
- package/sidebar/sidebar.component.d.ts +3 -3
- package/sidepanel/_sidepanel-theme.scss +11 -41
- package/sidepanel/sidepanel-directives.d.ts +0 -2
- package/sidepanel/sidepanel.scss +33 -35
- package/splitter/_splitter-theme.scss +1 -0
- package/splitter/splitter.component.d.ts +1 -1
- package/table/_table-theme.scss +1 -1
- package/table/table.component.d.ts +1 -1
- package/tabs/_tabs-common.scss +28 -147
- package/tabs/_tabs-theme.scss +81 -175
- package/tabs/paginated-tab-header.d.ts +1 -0
- package/tabs/tab-body.component.d.ts +1 -1
- package/tabs/tab-content.directive.d.ts +1 -1
- package/tabs/tab-group.component.d.ts +5 -8
- package/tabs/tab-group.scss +10 -10
- package/tabs/tab-header.scss +2 -24
- package/tabs/tab-label-wrapper.directive.d.ts +1 -1
- package/tabs/tab-label.directive.d.ts +1 -1
- package/tabs/tab-nav-bar/tab-nav-bar.d.ts +4 -2
- package/tabs/tab-nav-bar/tab-nav-bar.scss +9 -16
- package/tabs/tab.component.d.ts +1 -1
- package/tabs/tabs-animations.d.ts +1 -1
- package/tabs/tabs.module.d.ts +1 -1
- package/tags/_tag-theme.scss +1 -25
- package/tags/tag-default-options.d.ts +4 -0
- package/tags/tag-input.d.ts +2 -2
- package/tags/tag-list.component.d.ts +3 -2
- package/tags/tag-list.scss +26 -16
- package/tags/tag.component.d.ts +6 -6
- package/textarea/textarea.component.d.ts +1 -1
- package/timepicker/timepicker.directive.d.ts +2 -2
- package/timezone/timezone-option.component.d.ts +1 -1
- package/timezone/timezone-select.component.d.ts +1 -1
- package/title/title.directive.d.ts +1 -1
- package/toast/_toast-theme.scss +21 -33
- package/toast/toast-animations.d.ts +1 -0
- package/toast/toast-container.component.d.ts +7 -3
- package/toast/toast-container.component.scss +2 -1
- package/toast/toast.component.d.ts +6 -1
- package/toast/toast.component.scss +41 -34
- package/toast/toast.module.d.ts +1 -1
- package/toast/toast.service.d.ts +2 -0
- package/toast/toast.type.d.ts +8 -5
- package/toggle/_toggle-theme.scss +9 -1
- package/toggle/toggle.component.d.ts +1 -1
- package/toggle/toggle.scss +5 -2
- package/tooltip/tooltip.animations.d.ts +1 -1
- package/tooltip/tooltip.component.d.ts +5 -5
- package/tree/_tree-theme.scss +46 -34
- package/tree/control/base-tree-control.d.ts +1 -1
- package/tree/control/tree-control.d.ts +1 -1
- package/tree/node.d.ts +1 -1
- package/tree/outlet.d.ts +1 -1
- package/tree/padding.directive.d.ts +1 -1
- package/tree/toggle.d.ts +3 -3
- package/tree/tree-base.d.ts +1 -1
- package/tree/tree-option.component.d.ts +1 -2
- package/tree/tree-option.scss +40 -27
- package/tree/tree-selection.component.d.ts +1 -1
- package/tree/tree.d.ts +1 -1
- package/tree/tree.module.d.ts +2 -1
- package/tree-select/_tree-select-theme.scss +13 -3
- package/tree-select/tree-select.component.d.ts +6 -4
- package/tree-select/tree-select.scss +5 -194
- package/core/styles/theming/_badges.scss +0 -57
- package/core/styles/theming/prebuilt/light-theme.scss +0 -20
- package/list/_list-base.scss +0 -54
|
@@ -124,7 +124,7 @@ export declare class KbqRadioGroup extends KbqRadioGroupMixinBase implements Aft
|
|
|
124
124
|
/** Updates the `selected` radio button from the internal _value state. */
|
|
125
125
|
private updateSelectedRadioFromValue;
|
|
126
126
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqRadioGroup, never>;
|
|
127
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqRadioGroup, "kbq-radio-group", ["
|
|
127
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqRadioGroup, "kbq-radio-group", ["kbqRadioGroup"], { "big": { "alias": "big"; "required": false; }; "name": { "alias": "name"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "value": { "alias": "value"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, { "change": "change"; }, ["radios"], never, false, never>;
|
|
128
128
|
}
|
|
129
129
|
/** @docs-private */
|
|
130
130
|
declare abstract class KbqRadioButtonBase {
|
|
@@ -199,6 +199,6 @@ export declare class KbqRadioButton extends KbqRadioButtonMixinBase implements O
|
|
|
199
199
|
/** Dispatch change event with current value. */
|
|
200
200
|
private emitChangeEvent;
|
|
201
201
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqRadioButton, [{ optional: true; }, null, null, null, null]>;
|
|
202
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqRadioButton, "kbq-radio-button", ["
|
|
202
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqRadioButton, "kbq-radio-button", ["kbqRadioButton"], { "color": { "alias": "color"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "name": { "alias": "name"; "required": false; }; "isFocused": { "alias": "isFocused"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, { "change": "change"; }, never, ["*", "kbq-hint"], false, never>;
|
|
203
203
|
}
|
|
204
204
|
export {};
|
package/radio/radio.scss
CHANGED
|
@@ -6,6 +6,19 @@
|
|
|
6
6
|
|
|
7
7
|
$tokens: meta.module-variables(tokens) !default;
|
|
8
8
|
|
|
9
|
+
.kbq-radio-group {
|
|
10
|
+
display: inline-flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
|
|
13
|
+
&.kbq-radio-group_normal {
|
|
14
|
+
gap: var(--kbq-radio-size-normal-vertical-gap, map.get($tokens, radio-size-normal-vertical-gap));;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&.kbq-radio-group_big {
|
|
18
|
+
gap: var(--kbq-radio-size-big-vertical-gap, map.get($tokens, radio-size-big-vertical-gap));;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
9
22
|
// Top-level host container.
|
|
10
23
|
.kbq-radio-button {
|
|
11
24
|
display: inline-block;
|
|
File without changes
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
@use 'sass:meta';
|
|
2
|
+
@use 'sass:map';
|
|
3
|
+
|
|
4
|
+
@use '../core/styles/typography/typography-utils' as *;
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
@mixin kbq-risk-level-filled-color($risk-level) {
|
|
8
|
+
border: transparent;
|
|
9
|
+
|
|
10
|
+
color: map.get($risk-level, color);
|
|
11
|
+
background: map.get($risk-level, background);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@mixin kbq-risk-level-outline-color($risk-level) {
|
|
15
|
+
border-color: map.get($risk-level, border);
|
|
16
|
+
|
|
17
|
+
color: map.get($risk-level, color);
|
|
18
|
+
background: map.get($risk-level, background);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@mixin kbq-risk-level-theme($theme) {
|
|
22
|
+
$risk-level: map.get(map.get($theme, components), risk-level);
|
|
23
|
+
|
|
24
|
+
$filled: map.get($risk-level, filled);
|
|
25
|
+
$outline: map.get($risk-level, outline);
|
|
26
|
+
|
|
27
|
+
.kbq-risk-level_filled {
|
|
28
|
+
$fade-on: map.get($filled, fade-on);
|
|
29
|
+
|
|
30
|
+
&.kbq-risk-level_fade-contrast {
|
|
31
|
+
@include kbq-risk-level-filled-color(map.get($fade-on, contrast));
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&.kbq-risk-level_fade-success {
|
|
35
|
+
@include kbq-risk-level-filled-color(map.get($fade-on, success));
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&.kbq-risk-level_fade-warning {
|
|
39
|
+
@include kbq-risk-level-filled-color(map.get($fade-on, warning));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&.kbq-risk-level_fade-error {
|
|
43
|
+
@include kbq-risk-level-filled-color(map.get($fade-on, error));
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
$fade-off: map.get($filled, fade-off);
|
|
47
|
+
|
|
48
|
+
&.kbq-risk-level_success {
|
|
49
|
+
@include kbq-risk-level-filled-color(map.get($fade-off, success));
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&.kbq-risk-level_warning {
|
|
53
|
+
@include kbq-risk-level-filled-color(map.get($fade-off, warning));
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&.kbq-risk-level_error {
|
|
57
|
+
@include kbq-risk-level-filled-color(map.get($fade-off, error));
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.kbq-risk-level_outline {
|
|
62
|
+
$fade-on: map.get($outline, fade-on);
|
|
63
|
+
|
|
64
|
+
&.kbq-risk-level_fade-contrast {
|
|
65
|
+
@include kbq-risk-level-outline-color(map.get($fade-on, contrast));
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&.kbq-risk-level_fade-success {
|
|
69
|
+
@include kbq-risk-level-outline-color(map.get($fade-on, success));
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&.kbq-risk-level_fade-warning {
|
|
73
|
+
@include kbq-risk-level-outline-color(map.get($fade-on, warning));
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&.kbq-risk-level_fade-error {
|
|
77
|
+
@include kbq-risk-level-outline-color(map.get($fade-on, error));
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@mixin kbq-risk-level-typography($config) {
|
|
83
|
+
$tokens: map.get($config, tokens);
|
|
84
|
+
|
|
85
|
+
.kbq-risk-level {
|
|
86
|
+
@include kbq-typography-level-to-styles($config, map.get($tokens, risk-level-font-text));
|
|
87
|
+
}
|
|
88
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare enum KbqRiskLevelColors {
|
|
3
|
+
FadeContrast = "fade-contrast",
|
|
4
|
+
FadeSuccess = "fade-success",
|
|
5
|
+
FadeWarning = "fade-warning",
|
|
6
|
+
FadeError = "fade-error",
|
|
7
|
+
Success = "success",
|
|
8
|
+
Warning = "warning",
|
|
9
|
+
Error = "error"
|
|
10
|
+
}
|
|
11
|
+
export declare class KbqRiskLevel {
|
|
12
|
+
outline: boolean;
|
|
13
|
+
get riskLevelColor(): string;
|
|
14
|
+
set riskLevelColor(value: string | KbqRiskLevelColors);
|
|
15
|
+
private _riskLevelColor;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqRiskLevel, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqRiskLevel, "kbq-risk-level", never, { "outline": { "alias": "outline"; "required": false; }; "riskLevelColor": { "alias": "riskLevelColor"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
@use 'sass:meta';
|
|
2
|
+
@use 'sass:map';
|
|
3
|
+
|
|
4
|
+
@use '../core/styles/tokens';
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
$tokens: meta.module-variables(tokens) !default;
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
.kbq-risk-level {
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
|
|
13
|
+
display: inline-flex;
|
|
14
|
+
text-align: center;
|
|
15
|
+
|
|
16
|
+
border-style: solid;
|
|
17
|
+
|
|
18
|
+
padding:
|
|
19
|
+
var(--kbq-risk-level-size-padding-vertical, map.get($tokens, risk-level-size-padding-vertical))
|
|
20
|
+
var(--kbq-risk-level-size-padding-horizontal, map.get($tokens, risk-level-size-padding-horizontal));
|
|
21
|
+
|
|
22
|
+
border: {
|
|
23
|
+
width: var(--kbq-risk-level-size-border-width, map.get($tokens, risk-level-size-border-width));
|
|
24
|
+
radius: var(--kbq-risk-level-size-border-radius, map.get($tokens, risk-level-size-border-radius));
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./risk-level.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/cdk/a11y";
|
|
5
|
+
import * as i4 from "@angular/cdk/platform";
|
|
6
|
+
export declare class KbqRiskLevelModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqRiskLevelModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqRiskLevelModule, [typeof i1.KbqRiskLevel], [typeof i2.CommonModule, typeof i3.A11yModule, typeof i4.PlatformModule], [typeof i1.KbqRiskLevel]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KbqRiskLevelModule>;
|
|
10
|
+
}
|
|
@@ -11,10 +11,11 @@
|
|
|
11
11
|
|
|
12
12
|
$error: map.get($theme, error);
|
|
13
13
|
|
|
14
|
-
$
|
|
14
|
+
$select-panel: map.get(map.get($theme, components), select-panel);
|
|
15
|
+
$divider: map.get(map.get($theme, components), divider);
|
|
15
16
|
|
|
16
17
|
.kbq-select {
|
|
17
|
-
color: map.get($foreground,
|
|
18
|
+
color: map.get($foreground, contrast);
|
|
18
19
|
|
|
19
20
|
&.ng-invalid {
|
|
20
21
|
color: kbq-color($error);
|
|
@@ -26,15 +27,22 @@
|
|
|
26
27
|
}
|
|
27
28
|
|
|
28
29
|
.kbq-select__placeholder {
|
|
30
|
+
text-overflow: ellipsis;
|
|
31
|
+
|
|
29
32
|
color: map.get($foreground, text-disabled);
|
|
30
33
|
}
|
|
31
34
|
|
|
32
35
|
.kbq-select__panel {
|
|
33
|
-
|
|
36
|
+
box-shadow: map.get($select-panel, shadow);
|
|
37
|
+
background: map.get($select-panel, background);
|
|
38
|
+
|
|
39
|
+
& .kbq-select__footer {
|
|
40
|
+
border-color: map.get($divider, color);
|
|
41
|
+
}
|
|
34
42
|
}
|
|
35
43
|
|
|
36
44
|
.kbq-select__search-container {
|
|
37
|
-
border-bottom-color: map.get($
|
|
45
|
+
border-bottom-color: map.get($divider, color);
|
|
38
46
|
}
|
|
39
47
|
|
|
40
48
|
.kbq-select__no-options-message {
|
|
@@ -15,6 +15,8 @@ export declare class KbqOptionTooltip extends KbqTooltipTrigger implements After
|
|
|
15
15
|
ngOnDestroy(): void;
|
|
16
16
|
onMouseEnter(): void;
|
|
17
17
|
onMouseLeave(): void;
|
|
18
|
+
onFocus(): void;
|
|
19
|
+
onBlur(): void;
|
|
18
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqOptionTooltip, [null, null, null, null, null, null, null, { optional: true; }]>;
|
|
19
21
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqOptionTooltip, "kbq-option", never, {}, {}, never, never, false, never>;
|
|
20
22
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { Directionality } from '@angular/cdk/bidi';
|
|
2
2
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
3
3
|
import { CdkConnectedOverlay, ConnectedPosition } from '@angular/cdk/overlay';
|
|
4
|
+
import { CdkVirtualForOf } from '@angular/cdk/scrolling';
|
|
4
5
|
import { AfterContentInit, AfterViewInit, ChangeDetectorRef, DoCheck, ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, OnInit, QueryList, Renderer2, SimpleChanges, TemplateRef } from '@angular/core';
|
|
5
6
|
import { ControlValueAccessor, FormGroupDirective, NgControl, NgForm } from '@angular/forms';
|
|
6
7
|
import { ActiveDescendantKeyManager } from '@koobiq/cdk/a11y';
|
|
7
|
-
import { CanDisable, CanDisableCtor, CanUpdateErrorState, CanUpdateErrorStateCtor, ErrorStateMatcher, HasTabIndex, HasTabIndexCtor, KbqOptgroup, KbqOption, KbqOptionSelectionChange, KbqLocaleService } from '@koobiq/components/core';
|
|
8
|
+
import { CanDisable, CanDisableCtor, CanUpdateErrorState, CanUpdateErrorStateCtor, ErrorStateMatcher, HasTabIndex, HasTabIndexCtor, KbqOptgroup, KbqOption, KbqOptionSelectionChange, KbqLocaleService, KbqOptionBase } from '@koobiq/components/core';
|
|
8
9
|
import { KbqCleaner, KbqFormField, KbqFormFieldControl } from '@koobiq/components/form-field';
|
|
9
10
|
import { KbqInput } from '@koobiq/components/input';
|
|
10
11
|
import { KbqTag } from '@koobiq/components/tags';
|
|
@@ -18,7 +19,7 @@ export declare class KbqSelectChange {
|
|
|
18
19
|
}
|
|
19
20
|
export declare class KbqSelectFooter {
|
|
20
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqSelectFooter, never>;
|
|
21
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqSelectFooter, "kbq-select-footer", never, {}, {}, never, never, false, never>;
|
|
22
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqSelectFooter, "kbq-select-footer, [kbq-select-footer]", never, {}, {}, never, never, false, never>;
|
|
22
23
|
}
|
|
23
24
|
export declare class KbqSelectSearch implements AfterContentInit, OnDestroy {
|
|
24
25
|
input: KbqInput;
|
|
@@ -31,11 +32,11 @@ export declare class KbqSelectSearch implements AfterContentInit, OnDestroy {
|
|
|
31
32
|
ngOnDestroy(): void;
|
|
32
33
|
handleKeydown(event: KeyboardEvent): void;
|
|
33
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqSelectSearch, never>;
|
|
34
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqSelectSearch, "[
|
|
35
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqSelectSearch, "[kbqSelectSearch]", ["kbqSelectSearch"], {}, {}, ["input"], never, false, never>;
|
|
35
36
|
}
|
|
36
37
|
export declare class KbqSelectSearchEmptyResult {
|
|
37
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqSelectSearchEmptyResult, never>;
|
|
38
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqSelectSearchEmptyResult, "[kbq-select-search-empty-result]", ["
|
|
39
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqSelectSearchEmptyResult, "[kbq-select-search-empty-result]", ["kbqSelectSearchEmptyResult"], {}, {}, never, never, false, never>;
|
|
39
40
|
}
|
|
40
41
|
export declare class KbqSelectTrigger {
|
|
41
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqSelectTrigger, never>;
|
|
@@ -78,8 +79,8 @@ export declare class KbqSelect extends KbqSelectMixinBase implements AfterConten
|
|
|
78
79
|
/** The cached font-size of the trigger element. */
|
|
79
80
|
triggerFontSize: number;
|
|
80
81
|
/** Deals with the selection logic. */
|
|
81
|
-
selectionModel: SelectionModel<
|
|
82
|
-
previousSelectionModelSelected:
|
|
82
|
+
selectionModel: SelectionModel<KbqOptionBase>;
|
|
83
|
+
previousSelectionModelSelected: KbqOptionBase[];
|
|
83
84
|
/** Manages keyboard events for options in the panel. */
|
|
84
85
|
keyManager: ActiveDescendantKeyManager<KbqOption>;
|
|
85
86
|
/** The value of the select panel's transform-origin property. */
|
|
@@ -105,6 +106,7 @@ export declare class KbqSelect extends KbqSelectMixinBase implements AfterConten
|
|
|
105
106
|
panel: ElementRef;
|
|
106
107
|
optionsContainer: ElementRef;
|
|
107
108
|
overlayDir: CdkConnectedOverlay;
|
|
109
|
+
cdkVirtualForOf?: CdkVirtualForOf<any>;
|
|
108
110
|
tags: QueryList<KbqTag>;
|
|
109
111
|
/** User-supplied override of the trigger element. */
|
|
110
112
|
customTrigger: KbqSelectTrigger;
|
|
@@ -128,7 +130,7 @@ export declare class KbqSelect extends KbqSelectMixinBase implements AfterConten
|
|
|
128
130
|
* Function used to sort the values in a select in multiple mode.
|
|
129
131
|
* Follows the same logic as `Array.prototype.sort`.
|
|
130
132
|
*/
|
|
131
|
-
sortComparator: (a:
|
|
133
|
+
sortComparator: (a: KbqOptionBase, b: KbqOptionBase, options: KbqOptionBase[]) => number;
|
|
132
134
|
/** Combined stream of all of the child options' change events. */
|
|
133
135
|
readonly optionSelectionChanges: Observable<KbqOptionSelectionChange>;
|
|
134
136
|
/** Event emitted when the select panel has been toggled. */
|
|
@@ -177,13 +179,14 @@ export declare class KbqSelect extends KbqSelectMixinBase implements AfterConten
|
|
|
177
179
|
/** Whether the select is focused. */
|
|
178
180
|
get focused(): boolean;
|
|
179
181
|
set focused(value: boolean);
|
|
180
|
-
private _focused;
|
|
181
182
|
panelOpen: boolean;
|
|
183
|
+
private _focused;
|
|
184
|
+
private withVirtualScroll;
|
|
182
185
|
get isEmptySearchResult(): boolean;
|
|
183
186
|
get canShowCleaner(): boolean;
|
|
184
|
-
get selected():
|
|
187
|
+
get selected(): KbqOptionBase | KbqOptionBase[];
|
|
185
188
|
get triggerValue(): string;
|
|
186
|
-
get triggerValues():
|
|
189
|
+
get triggerValues(): KbqOptionBase[];
|
|
187
190
|
get empty(): boolean;
|
|
188
191
|
private closeSubscription;
|
|
189
192
|
/** The scroll position of the overlay panel, calculated to center the selected option. */
|
|
@@ -265,7 +268,7 @@ export declare class KbqSelect extends KbqSelectMixinBase implements AfterConten
|
|
|
265
268
|
*/
|
|
266
269
|
onContainerClick(): void;
|
|
267
270
|
/** Invoked when an option is clicked. */
|
|
268
|
-
onRemoveMatcherItem(option:
|
|
271
|
+
onRemoveMatcherItem(option: KbqOptionBase, $event: any): void;
|
|
269
272
|
calculateHiddenItems(): void;
|
|
270
273
|
getItemHeight(): number;
|
|
271
274
|
private updateLocaleParams;
|
|
@@ -325,6 +328,6 @@ export declare class KbqSelect extends KbqSelectMixinBase implements AfterConten
|
|
|
325
328
|
private getTotalVisibleItems;
|
|
326
329
|
private buildTriggerClone;
|
|
327
330
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqSelect, [null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; self: true; }, null, { optional: true; }]>;
|
|
328
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqSelect, "kbq-select", ["
|
|
331
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqSelect, "kbq-select", ["kbqSelect"], { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "hiddenItemsText": { "alias": "hiddenItemsText"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "backdropClass": { "alias": "backdropClass"; "required": false; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; "sortComparator": { "alias": "sortComparator"; "required": false; }; "hasBackdrop": { "alias": "hasBackdrop"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "value": { "alias": "value"; "required": false; }; "id": { "alias": "id"; "required": false; }; "hiddenItemsTextFormatter": { "alias": "hiddenItemsTextFormatter"; "required": false; }; }, { "openedChange": "openedChange"; "openedStream": "opened"; "closedStream": "closed"; "selectionChange": "selectionChange"; "valueChange": "valueChange"; }, ["cdkVirtualForOf", "customTrigger", "customMatcher", "customTagTemplateRef", "cleaner", "search", "options", "optionGroups"], ["kbq-select-trigger, [kbq-select-trigger]", "kbq-cleaner", "kbq-select-matcher, [kbq-select-matcher]", "[kbqSelectSearch]", "[kbq-select-search-empty-result]", "*", "kbq-select-footer,[kbq-select-footer]"], false, never>;
|
|
329
332
|
}
|
|
330
333
|
export {};
|
package/select/select.scss
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@use 'sass:meta';
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
|
|
4
|
-
@use '../core/styles/common/
|
|
4
|
+
@use '../core/styles/common/select' as *;
|
|
5
5
|
|
|
6
6
|
@use '../core/styles/tokens';
|
|
7
7
|
|
|
@@ -9,199 +9,22 @@
|
|
|
9
9
|
$tokens: meta.module-variables(tokens) !default;
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
.kbq-select__matcher {
|
|
13
|
-
display: flex;
|
|
14
|
-
align-items: center;
|
|
15
|
-
|
|
16
|
-
width: 100%;
|
|
17
|
-
|
|
18
|
-
overflow: hidden;
|
|
19
|
-
|
|
20
|
-
white-space: nowrap;
|
|
21
|
-
|
|
22
|
-
& > span {
|
|
23
|
-
flex: 1;
|
|
24
|
-
overflow: hidden;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.kbq-select__match-container {
|
|
29
|
-
width: 100%;
|
|
30
|
-
|
|
31
|
-
text-overflow: ellipsis;
|
|
32
|
-
overflow: hidden;
|
|
33
|
-
|
|
34
|
-
& .kbq-select__match-hidden-text {
|
|
35
|
-
flex: 0 0 70px;
|
|
36
|
-
align-self: center;
|
|
37
|
-
padding: 0 8px;
|
|
38
|
-
|
|
39
|
-
text-align: right;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
12
|
.kbq-select {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
display: inline-block;
|
|
47
|
-
|
|
48
|
-
width: 100%;
|
|
49
|
-
|
|
50
|
-
outline: none;
|
|
51
|
-
|
|
52
|
-
& .kbq-select__trigger {
|
|
53
|
-
display: flex;
|
|
54
|
-
box-sizing: border-box;
|
|
55
|
-
position: relative;
|
|
56
|
-
|
|
57
|
-
height: calc(
|
|
58
|
-
var(--kbq-form-field-size-height, map.get($tokens, form-field-size-height)) -
|
|
59
|
-
(var(--kbq-form-field-size-border-width, map.get($tokens, form-field-size-border-width)) * 2)
|
|
60
|
-
);
|
|
61
|
-
|
|
62
|
-
cursor: pointer;
|
|
63
|
-
|
|
64
|
-
& .kbq-select__matcher {
|
|
65
|
-
padding-left: calc(
|
|
66
|
-
var(--kbq-select-size-left-padding, #{map.get($tokens, select-size-left-padding)}) -
|
|
67
|
-
var(--kbq-form-field-size-border-width, #{map.get($tokens, form-field-size-border-width)})
|
|
68
|
-
);
|
|
69
|
-
padding-right: calc(
|
|
70
|
-
var(--kbq-select-size-right-padding, #{map.get($tokens, select-size-right-padding)}) -
|
|
71
|
-
var(--kbq-form-field-size-border-width, #{map.get($tokens, form-field-size-border-width)})
|
|
72
|
-
);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
&.kbq-select__trigger_multiple {
|
|
76
|
-
.kbq-select__matcher {
|
|
77
|
-
.kbq-select__match-container {
|
|
78
|
-
display: flex;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
$select-size-left-padding-multiple: map.get($tokens, select-size-left-padding-multiple);
|
|
82
|
-
$form-field-size-border-width: map.get($tokens, form-field-size-border-width);
|
|
83
|
-
|
|
84
|
-
padding-left: calc(
|
|
85
|
-
var(--kbq-select-size-left-padding-multiple, #{$select-size-left-padding-multiple}) -
|
|
86
|
-
var(--kbq-form-field-size-border-width, #{$form-field-size-border-width})
|
|
87
|
-
);
|
|
88
|
-
|
|
89
|
-
& .kbq-tag.kbq-disabled .kbq-tag__text {
|
|
90
|
-
margin-right: 7px;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
&.kbq-disabled {
|
|
97
|
-
& .kbq-select__trigger {
|
|
98
|
-
@include vendor-prefixes.user-select(none);
|
|
99
|
-
|
|
100
|
-
cursor: default;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.kbq-select__no-options-message {
|
|
106
|
-
display: flex;
|
|
107
|
-
flex-direction: row;
|
|
108
|
-
align-items: center;
|
|
109
|
-
box-sizing: border-box;
|
|
110
|
-
|
|
111
|
-
position: relative;
|
|
112
|
-
|
|
113
|
-
max-width: 100%;
|
|
114
|
-
height: var(--kbq-option-size-height, map.get($tokens, option-size-height));
|
|
115
|
-
|
|
116
|
-
cursor: default;
|
|
117
|
-
outline: none;
|
|
118
|
-
|
|
119
|
-
padding-left: var(--kbq-option-size-horizontal-padding, map.get($tokens, option-size-horizontal-padding));
|
|
120
|
-
padding-right: var(--kbq-option-size-horizontal-padding, map.get($tokens, option-size-horizontal-padding));
|
|
121
|
-
|
|
122
|
-
border: var(--kbq-option-size-border-width, map.get($tokens, option-size-border-width)) solid transparent;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.kbq-select__match-list {
|
|
126
|
-
display: flex;
|
|
127
|
-
flex-wrap: wrap;
|
|
128
|
-
overflow: hidden;
|
|
129
|
-
|
|
130
|
-
max-height: calc(
|
|
131
|
-
var(--kbq-form-field-size-height, map.get($tokens, form-field-size-height)) - 4px
|
|
132
|
-
);
|
|
133
|
-
|
|
134
|
-
height: calc(
|
|
135
|
-
var(--kbq-form-field-size-height, map.get($tokens, form-field-size-height)) - 4px
|
|
136
|
-
);
|
|
137
|
-
|
|
138
|
-
& .kbq-tag {
|
|
139
|
-
margin-right: 4px;
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.kbq-select__arrow-wrapper {
|
|
144
|
-
display: flex;
|
|
145
|
-
align-self: center;
|
|
146
|
-
|
|
147
|
-
// When used in a box or standard appearance form-field the arrow should be shifted up 50%.
|
|
148
|
-
.kbq-form-field-appearance-fill &,
|
|
149
|
-
.kbq-form-field-appearance-standard & {
|
|
150
|
-
transform: translateY(-50%);
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
// When used in a outline form-field the arrow should be shifted up 25%.
|
|
154
|
-
.kbq-form-field-appearance-outline & {
|
|
155
|
-
transform: translateY(-25%);
|
|
156
|
-
}
|
|
13
|
+
@extend %kbq-select-base;
|
|
157
14
|
}
|
|
158
15
|
|
|
159
16
|
.kbq-select__panel {
|
|
160
|
-
|
|
161
|
-
max-width: var(--kbq-select-panel-size-max-width, map.get($tokens, select-panel-size-max-width));
|
|
162
|
-
|
|
163
|
-
overflow: hidden;
|
|
164
|
-
|
|
165
|
-
border: {
|
|
166
|
-
width: var(--kbq-select-panel-size-border-width, map.get($tokens, select-panel-size-border-width));
|
|
167
|
-
style: solid;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
border-bottom-left-radius: var(
|
|
171
|
-
--kbq-select-panel-size-border-radius, map.get($tokens, select-panel-size-border-radius)
|
|
172
|
-
);
|
|
173
|
-
border-bottom-right-radius: var(
|
|
174
|
-
--kbq-select-panel-size-border-radius, map.get($tokens, select-panel-size-border-radius)
|
|
175
|
-
);
|
|
176
|
-
|
|
177
|
-
// Override optgroup and option to scale based on font-size of the trigger.
|
|
178
|
-
.kbq-optgroup-label,
|
|
179
|
-
.kbq-option {
|
|
180
|
-
font-size: inherit;
|
|
181
|
-
line-height: var(--kbq-option-size-height, map.get($tokens, option-size-height));
|
|
182
|
-
height: var(--kbq-option-size-height, map.get($tokens, option-size-height));
|
|
183
|
-
}
|
|
17
|
+
@extend %kbq-select-panel;
|
|
184
18
|
|
|
185
19
|
& .kbq-select__footer {
|
|
186
|
-
|
|
187
|
-
align-items: center;
|
|
188
|
-
box-sizing: border-box;
|
|
189
|
-
padding: map.get($tokens, size-xxs) map.get($tokens, size-m);
|
|
190
|
-
border-top-width: 1px;
|
|
191
|
-
border-top-style: solid;
|
|
192
|
-
min-height: var(
|
|
193
|
-
--kbq-list-size-footer-min-height,
|
|
194
|
-
map.get($tokens, list-size-footer-min-height)
|
|
195
|
-
);
|
|
20
|
+
@extend %kbq-select-footer;
|
|
196
21
|
}
|
|
197
22
|
}
|
|
198
23
|
|
|
199
24
|
.kbq-select__content {
|
|
200
|
-
|
|
201
|
-
padding: var(--kbq-select-panel-size-vertical-padding, map.get($tokens, select-panel-size-vertical-padding)) 0;
|
|
202
|
-
overflow: hidden auto;
|
|
25
|
+
@extend %kbq-select-content;
|
|
203
26
|
|
|
204
|
-
|
|
27
|
+
&:not(:has(> .kbq-select__no-options-message)) .cdk-virtual-scroll-viewport {
|
|
205
28
|
max-height: calc(
|
|
206
29
|
var(--kbq-select-panel-size-max-height, map.get($tokens, select-panel-size-max-height))
|
|
207
30
|
);
|
|
@@ -213,10 +36,3 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
213
36
|
cursor: pointer;
|
|
214
37
|
}
|
|
215
38
|
}
|
|
216
|
-
|
|
217
|
-
.kbq-select__search-container {
|
|
218
|
-
border-bottom: {
|
|
219
|
-
width: 1px;
|
|
220
|
-
style: solid;
|
|
221
|
-
}
|
|
222
|
-
}
|
|
@@ -16,12 +16,12 @@ export declare class KbqSidebarOpened {
|
|
|
16
16
|
width: string;
|
|
17
17
|
maxWidth: string;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqSidebarOpened, never>;
|
|
19
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqSidebarOpened, "[kbq-sidebar-opened]", ["
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqSidebarOpened, "[kbq-sidebar-opened]", ["kbqSidebarOpened"], { "minWidth": { "alias": "minWidth"; "required": false; }; "width": { "alias": "width"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; }, {}, never, never, false, never>;
|
|
20
20
|
}
|
|
21
21
|
export declare class KbqSidebarClosed {
|
|
22
22
|
width: string;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqSidebarClosed, never>;
|
|
24
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqSidebarClosed, "[kbq-sidebar-closed]", ["
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqSidebarClosed, "[kbq-sidebar-closed]", ["kbqSidebarClosed"], { "width": { "alias": "width"; "required": false; }; }, {}, never, never, false, never>;
|
|
25
25
|
}
|
|
26
26
|
export declare class KbqSidebar implements OnDestroy, OnInit, AfterContentInit {
|
|
27
27
|
private ngZone;
|
|
@@ -48,6 +48,6 @@ export declare class KbqSidebar implements OnDestroy, OnInit, AfterContentInit {
|
|
|
48
48
|
private unRegisterKeydownListener;
|
|
49
49
|
private saveWidth;
|
|
50
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqSidebar, never>;
|
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqSidebar, "kbq-sidebar", ["
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqSidebar, "kbq-sidebar", ["kbqSidebar"], { "opened": { "alias": "opened"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, { "stateChanged": "stateChanged"; }, ["openedContent", "closedContent"], ["[kbq-sidebar-opened]", "[kbq-sidebar-closed]"], false, never>;
|
|
52
52
|
}
|
|
53
53
|
export {};
|