@koobiq/components 16.0.0-beta.1 → 16.0.0-beta.10
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 +8 -0
- package/code-block/code-block.component.d.ts +1 -1
- 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 +685 -92
- package/core/styles/theming/_theming.scss +201 -30
- package/core/styles/typography/_typography.scss +175 -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 +4 -4
- 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 +18 -9
- package/esm2022/navbar/vertical-navbar.animation.mjs +2 -2
- package/esm2022/navbar/vertical-navbar.component.mjs +9 -6
- 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 +1 -1
- 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 +29 -28
- 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 +5 -5
- 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 +42 -33
- 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.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 +29 -28
- 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/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
package/tabs/_tabs-theme.scss
CHANGED
|
@@ -4,237 +4,143 @@
|
|
|
4
4
|
@use '../core/styles/typography/typography-utils' as *;
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
$background: map.get($theme, background);
|
|
7
|
+
@mixin kbq-tab-item-state($state) {
|
|
8
|
+
background: map.get($state, background);
|
|
9
|
+
color: map.get($state, text);
|
|
11
10
|
|
|
12
|
-
|
|
11
|
+
& .kbq-icon {
|
|
12
|
+
color: map.get($state, icon);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
13
15
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
+
@mixin kbq-tab-item-style($tab-item) {
|
|
17
|
+
@include kbq-tab-item-state(map.get($tab-item, default));
|
|
16
18
|
|
|
17
|
-
.kbq-
|
|
18
|
-
|
|
19
|
+
&:hover:not(.kbq-disabled) {
|
|
20
|
+
@include kbq-tab-item-state(map.get($tab-item, hover));
|
|
19
21
|
}
|
|
20
22
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
+
&.kbq-selected {
|
|
24
|
+
@include kbq-tab-item-state(map.get($tab-item, selected));
|
|
23
25
|
|
|
24
26
|
&:hover {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
& .kbq-icon {
|
|
28
|
-
color: map.get($foreground, text);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&:active {
|
|
33
|
-
background: map.get($foreground, divider);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&.kbq-tab-header__pagination_before {
|
|
37
|
-
border-right-color: map.get($foreground, divider);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&.kbq-tab-header__pagination_after {
|
|
41
|
-
border-left-color: map.get($foreground, divider);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&[disabled],
|
|
45
|
-
&.kbq-disabled {
|
|
46
|
-
pointer-events: none;
|
|
47
|
-
|
|
48
|
-
& .kbq-icon {
|
|
49
|
-
color: map.get($foreground, text-disabled);
|
|
50
|
-
}
|
|
27
|
+
@include kbq-tab-item-state(map.get($tab-item, selected-hover));
|
|
51
28
|
}
|
|
52
29
|
}
|
|
53
30
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
border-top-color: transparent;
|
|
59
|
-
border-bottom-color: map.get($tabs, border);
|
|
60
|
-
|
|
61
|
-
&.cdk-keyboard-focused:after {
|
|
62
|
-
border-color: map.get(map.get($theme, states), focused-color);
|
|
63
|
-
border-bottom-color: transparent;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
&.kbq-tab-label_empty {
|
|
67
|
-
color: map.get($tabs, state-empty-text);
|
|
68
|
-
|
|
69
|
-
& .kbq-icon {
|
|
70
|
-
color: map.get($tabs, state-empty-icon);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
&:hover {
|
|
75
|
-
background: map.get($background, overlay-hover);
|
|
76
|
-
|
|
77
|
-
color: map.get($tabs, state-hover-text);
|
|
31
|
+
&.cdk-keyboard-focused {
|
|
32
|
+
border-color: map.get(map.get($tab-item, focused), border-color);
|
|
33
|
+
}
|
|
78
34
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
}
|
|
82
|
-
}
|
|
35
|
+
&.kbq-disabled {
|
|
36
|
+
@include kbq-tab-item-state(map.get($tab-item, disabled));
|
|
83
37
|
|
|
84
|
-
&.kbq-
|
|
85
|
-
|
|
86
|
-
color: map.get($tabs, border);
|
|
87
|
-
bottom-color: transparent;
|
|
88
|
-
}
|
|
38
|
+
&.kbq-selected {
|
|
39
|
+
@include kbq-tab-item-state(map.get($tab-item, selected-disabled));
|
|
89
40
|
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
90
43
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
color: map.get($tabs, state-disabled-text);
|
|
96
|
-
|
|
97
|
-
& .kbq-icon {
|
|
98
|
-
color: map.get($tabs, state-disabled-icon);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
44
|
+
@mixin kbq-tab-stack-style($tab-stack) {
|
|
45
|
+
.kbq-tab-header {
|
|
46
|
+
background: map.get($tab-stack, background);
|
|
101
47
|
}
|
|
48
|
+
}
|
|
102
49
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
50
|
+
//noinspection ALL
|
|
51
|
+
@mixin kbq-tabs-theme($theme) {
|
|
52
|
+
$tab-item: map.get(map.get($theme, components), tab-item);
|
|
106
53
|
|
|
107
|
-
|
|
108
|
-
color: map.get($tabs, state-normal-icon);
|
|
109
|
-
}
|
|
54
|
+
$tab-stack: map.get(map.get($theme, components), tab-stack);
|
|
110
55
|
|
|
111
|
-
|
|
56
|
+
$tab-stack_filled: map.get($tab-stack, filled);
|
|
57
|
+
$tab-item_filled: map.get($tab-item, filled);
|
|
112
58
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
border-bottom-color: transparent;
|
|
116
|
-
}
|
|
59
|
+
$tab-stack_transparent: map.get($tab-stack, transparent);
|
|
60
|
+
$tab-item_transparent: map.get($tab-item, transparent);
|
|
117
61
|
|
|
118
|
-
|
|
119
|
-
|
|
62
|
+
.kbq-tab-group {
|
|
63
|
+
&.kbq-tab-group_filled {
|
|
64
|
+
&.kbq-tab-group_on-background {
|
|
65
|
+
@include kbq-tab-stack-style(map.get($tab-stack_filled, on-background));
|
|
120
66
|
|
|
121
|
-
|
|
122
|
-
|
|
67
|
+
& .kbq-tab-label {
|
|
68
|
+
@include kbq-tab-item-style(map.get($tab-item_filled, on-background));
|
|
69
|
+
}
|
|
123
70
|
}
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
&.kbq-active {
|
|
127
|
-
border-bottom-color: transparent;
|
|
128
71
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
& .kbq-icon {
|
|
132
|
-
color: map.get($tabs, state-normal-icon);
|
|
133
|
-
}
|
|
72
|
+
&.kbq-tab-group_on-surface {
|
|
73
|
+
@include kbq-tab-stack-style(map.get($tab-stack_filled, on-surface));
|
|
134
74
|
|
|
135
|
-
|
|
136
|
-
|
|
75
|
+
& .kbq-tab-label {
|
|
76
|
+
@include kbq-tab-item-style(map.get($tab-item_filled, on-background));
|
|
77
|
+
}
|
|
137
78
|
}
|
|
138
79
|
}
|
|
139
80
|
|
|
140
|
-
|
|
141
|
-
background
|
|
142
|
-
|
|
143
|
-
color: map.get($tabs, state-hover-text);
|
|
81
|
+
&.kbq-tab-group_transparent {
|
|
82
|
+
&.kbq-tab-group_on-background {
|
|
83
|
+
@include kbq-tab-stack-style(map.get($tab-stack_transparent, on-background));
|
|
144
84
|
|
|
145
|
-
|
|
146
|
-
|
|
85
|
+
& .kbq-tab-label {
|
|
86
|
+
@include kbq-tab-item-style(map.get($tab-item_transparent, on-background));
|
|
87
|
+
}
|
|
147
88
|
}
|
|
148
|
-
}
|
|
149
89
|
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
cursor: default;
|
|
90
|
+
&.kbq-tab-group_on-surface {
|
|
91
|
+
@include kbq-tab-stack-style(map.get($tab-stack_transparent, on-surface));
|
|
153
92
|
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
opacity: map.get($tabs, state-disabled-marker-opacity);
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
& .kbq-icon {
|
|
161
|
-
color: map.get($tabs, state-disabled-icon);
|
|
93
|
+
& .kbq-tab-label {
|
|
94
|
+
@include kbq-tab-item-style(map.get($tab-item_transparent, on-background));
|
|
95
|
+
}
|
|
162
96
|
}
|
|
163
97
|
}
|
|
164
98
|
}
|
|
165
99
|
|
|
166
|
-
.kbq-tab-
|
|
167
|
-
|
|
168
|
-
|
|
100
|
+
.kbq-tab-nav-bar {
|
|
101
|
+
&.kbq-tab-nav-bar_filled {
|
|
102
|
+
&.kbq-tab-nav-bar_on-background {
|
|
103
|
+
@include kbq-tab-stack-style(map.get($tab-stack_filled, on-background));
|
|
169
104
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
&.cdk-keyboard-focused:after {
|
|
175
|
-
border-color: map.get(map.get($theme, states), focused-color);
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
&.kbq-tab-label_empty {
|
|
179
|
-
color: map.get($tabs, state-empty-text);
|
|
180
|
-
|
|
181
|
-
& .kbq-icon {
|
|
182
|
-
color: map.get($tabs, state-empty-icon);
|
|
105
|
+
& .kbq-tab-link {
|
|
106
|
+
@include kbq-tab-item-style(map.get($tab-item_filled, on-background));
|
|
107
|
+
}
|
|
183
108
|
}
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
&:hover {
|
|
187
|
-
background: map.get($vertical-tabs, state-hover-background);
|
|
188
109
|
|
|
189
|
-
|
|
110
|
+
&.kbq-tab-nav-bar_on-surface {
|
|
111
|
+
@include kbq-tab-stack-style(map.get($tab-stack_filled, on-surface));
|
|
190
112
|
|
|
191
|
-
|
|
192
|
-
|
|
113
|
+
& .kbq-tab-link {
|
|
114
|
+
@include kbq-tab-item-style(map.get($tab-item_filled, on-background));
|
|
115
|
+
}
|
|
193
116
|
}
|
|
194
117
|
}
|
|
195
118
|
|
|
196
|
-
&.kbq-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
& .kbq-icon {
|
|
201
|
-
color: map.get($tabs, state-normal-icon);
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
&:before {
|
|
205
|
-
background-color: map.get($tabs, state-active-marker);
|
|
206
|
-
}
|
|
119
|
+
&.kbq-tab-nav-bar_transparent {
|
|
120
|
+
&.kbq-tab-nav-bar_on-background {
|
|
121
|
+
@include kbq-tab-stack-style(map.get($tab-stack_transparent, on-background));
|
|
207
122
|
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
& .kbq-icon {
|
|
212
|
-
color: map.get($tabs, state-hover-icon);
|
|
123
|
+
& .kbq-tab-link {
|
|
124
|
+
@include kbq-tab-item-style(map.get($tab-item_transparent, on-background));
|
|
213
125
|
}
|
|
214
126
|
}
|
|
215
|
-
}
|
|
216
127
|
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
cursor: default;
|
|
220
|
-
background: map.get($vertical-tabs, state-normal-background);
|
|
128
|
+
&.kbq-tab-nav-bar_on-surface {
|
|
129
|
+
@include kbq-tab-stack-style(map.get($tab-stack_transparent, on-surface));
|
|
221
130
|
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
color: map.get($tabs, state-disabled-icon);
|
|
131
|
+
& .kbq-tab-link {
|
|
132
|
+
@include kbq-tab-item-style(map.get($tab-item_transparent, on-background));
|
|
133
|
+
}
|
|
226
134
|
}
|
|
227
135
|
}
|
|
228
136
|
}
|
|
229
|
-
/* stylelint-enable no-descending-specificity */
|
|
230
137
|
}
|
|
231
138
|
|
|
232
139
|
@mixin kbq-tabs-typography($config) {
|
|
233
140
|
$tokens: map.get($config, tokens);
|
|
234
141
|
|
|
235
142
|
.kbq-tab-label,
|
|
236
|
-
.kbq-tab-label_old,
|
|
237
143
|
.kbq-tab-link {
|
|
238
|
-
@include kbq-typography-level-to-styles($config, map.get($tokens, tabs-font-
|
|
144
|
+
@include kbq-typography-level-to-styles($config, map.get($tokens, tabs-font-text));
|
|
239
145
|
}
|
|
240
146
|
}
|
|
@@ -174,6 +174,7 @@ export declare abstract class KbqPaginatedTabHeader implements AfterContentCheck
|
|
|
174
174
|
* @returns Information on the current scroll distance and the maximum.
|
|
175
175
|
*/
|
|
176
176
|
private scrollTo;
|
|
177
|
+
private updateScrollPosition;
|
|
177
178
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqPaginatedTabHeader, [null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
178
179
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqPaginatedTabHeader, never, never, { "disablePagination": { "alias": "disablePagination"; "required": false; }; }, {}, never, never, false, never>;
|
|
179
180
|
}
|
|
@@ -91,5 +91,5 @@ export declare class KbqTabBodyPortal extends CdkPortalOutlet implements OnInit,
|
|
|
91
91
|
/** Clean up centering subscription. */
|
|
92
92
|
ngOnDestroy(): void;
|
|
93
93
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTabBodyPortal, never>;
|
|
94
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTabBodyPortal, "[
|
|
94
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTabBodyPortal, "[kbqTabBodyHost]", never, {}, {}, never, never, false, never>;
|
|
95
95
|
}
|
|
@@ -5,5 +5,5 @@ export declare class KbqTabContent {
|
|
|
5
5
|
template: TemplateRef<any>;
|
|
6
6
|
constructor(template: TemplateRef<any>);
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTabContent, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTabContent, "[
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTabContent, "[kbqTabContent]", never, {}, {}, never, never, false, never>;
|
|
9
9
|
}
|
|
@@ -4,10 +4,6 @@ import { Subject } from 'rxjs';
|
|
|
4
4
|
import { KbqTabHeader } from './tab-header.component';
|
|
5
5
|
import { KbqTab } from './tab.component';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class KbqOldTabsCssStyler {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KbqOldTabsCssStyler, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqOldTabsCssStyler, "kbq-tab-group[kbq-old-tabs]", never, {}, {}, never, never, false, never>;
|
|
10
|
-
}
|
|
11
7
|
export declare class KbqAlignTabsCenterCssStyler {
|
|
12
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqAlignTabsCenterCssStyler, never>;
|
|
13
9
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqAlignTabsCenterCssStyler, "kbq-tab-group[kbq-align-tabs-center], [kbq-tab-nav-bar][kbq-align-tabs-center]", never, {}, {}, never, never, false, never>;
|
|
@@ -54,11 +50,12 @@ export declare const KbqTabGroupMixinBase: CanDisableCtor & typeof KbqTabGroupBa
|
|
|
54
50
|
export declare class KbqTabGroup extends KbqTabGroupMixinBase implements AfterContentInit, AfterViewInit, AfterContentChecked, OnDestroy {
|
|
55
51
|
private readonly changeDetectorRef;
|
|
56
52
|
readonly resizeStream: Subject<Event>;
|
|
57
|
-
oldTab: boolean;
|
|
58
53
|
vertical: boolean;
|
|
59
54
|
tabs: QueryList<KbqTab>;
|
|
60
55
|
tabBodyWrapper: ElementRef;
|
|
61
56
|
tabHeader: KbqTabHeader;
|
|
57
|
+
transparent: boolean;
|
|
58
|
+
onSurface: boolean;
|
|
62
59
|
/** Whether the tab group should grow to the size of the active tab. */
|
|
63
60
|
get dynamicHeight(): boolean;
|
|
64
61
|
set dynamicHeight(value: boolean);
|
|
@@ -90,7 +87,7 @@ export declare class KbqTabGroup extends KbqTabGroupMixinBase implements AfterCo
|
|
|
90
87
|
private resizeSubscription;
|
|
91
88
|
private readonly groupId;
|
|
92
89
|
private readonly resizeDebounceInterval;
|
|
93
|
-
constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef,
|
|
90
|
+
constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, vertical: string, defaultConfig?: IKbqTabsConfig);
|
|
94
91
|
/**
|
|
95
92
|
* After the content is checked, this component knows what tabs have been defined
|
|
96
93
|
* and what the selected index should be. This is where we can know exactly what position
|
|
@@ -129,6 +126,6 @@ export declare class KbqTabGroup extends KbqTabGroupMixinBase implements AfterCo
|
|
|
129
126
|
private subscribeToResize;
|
|
130
127
|
/** Clamps the given index to the bounds of 0 and the tabs length. */
|
|
131
128
|
private clampTabIndex;
|
|
132
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTabGroup, [null, null, { attribute: "
|
|
133
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqTabGroup, "kbq-tab-group", ["
|
|
129
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTabGroup, [null, null, { attribute: "vertical"; }, { optional: true; }]>;
|
|
130
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqTabGroup, "kbq-tab-group", ["kbqTabGroup"], { "disabled": { "alias": "disabled"; "required": false; }; "transparent": { "alias": "transparent"; "required": false; }; "onSurface": { "alias": "onSurface"; "required": false; }; "dynamicHeight": { "alias": "dynamicHeight"; "required": false; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "headerPosition": { "alias": "headerPosition"; "required": false; }; "animationDuration": { "alias": "animationDuration"; "required": false; }; }, { "selectedIndexChange": "selectedIndexChange"; "focusChange": "focusChange"; "animationDone": "animationDone"; "selectedTabChange": "selectedTabChange"; }, ["tabs"], never, false, never>;
|
|
134
131
|
}
|
package/tabs/tab-group.scss
CHANGED
|
@@ -23,14 +23,15 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
23
23
|
.kbq-tab-group_vertical {
|
|
24
24
|
flex-direction: row;
|
|
25
25
|
|
|
26
|
+
.kbq-tab-list__content {
|
|
27
|
+
gap: var(
|
|
28
|
+
--kbq-tabs-size-tab-stack-vertical-content-gap-vartical,
|
|
29
|
+
map.get($tokens, tabs-size-tab-stack-vertical-content-gap-vertical)
|
|
30
|
+
) 0;
|
|
31
|
+
}
|
|
32
|
+
|
|
26
33
|
& .kbq-tab-header__content {
|
|
27
34
|
overflow-y: auto;
|
|
28
|
-
|
|
29
|
-
padding-top: 8px;
|
|
30
|
-
padding-bottom: 1px;
|
|
31
|
-
|
|
32
|
-
border-right-width: var(--kbq-tabs-size-border-width, #{map.get($tokens, tabs-size-border-width)});
|
|
33
|
-
border-right-style: solid;
|
|
34
35
|
}
|
|
35
36
|
}
|
|
36
37
|
|
|
@@ -46,13 +47,12 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
46
47
|
display: block;
|
|
47
48
|
overflow: hidden;
|
|
48
49
|
|
|
49
|
-
// Fix for auto content wrapping in IE11
|
|
50
|
-
flex-basis: 100%;
|
|
51
|
-
|
|
52
50
|
&.kbq-tab-body__active {
|
|
51
|
+
position: relative;
|
|
52
|
+
|
|
53
53
|
overflow-x: hidden;
|
|
54
54
|
overflow-y: auto;
|
|
55
|
-
|
|
55
|
+
|
|
56
56
|
z-index: 1;
|
|
57
57
|
flex-grow: 1;
|
|
58
58
|
}
|
package/tabs/tab-header.scss
CHANGED
|
@@ -47,24 +47,9 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
47
47
|
padding-left: 12px;
|
|
48
48
|
padding-right: 12px;
|
|
49
49
|
|
|
50
|
-
|
|
51
|
-
bottom-style: solid;
|
|
52
|
-
bottom-width: var(--kbq-tabs-size-border-width, map.get($tokens, tabs-size-border-width));
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
&.kbq-tab-header__pagination_before {
|
|
56
|
-
border: {
|
|
57
|
-
right-style: solid;
|
|
58
|
-
right-width: var(--kbq-tabs-size-border-width, map.get($tokens, tabs-size-border-width));
|
|
59
|
-
};
|
|
60
|
-
}
|
|
50
|
+
&.kbq-tab-header__pagination_before {}
|
|
61
51
|
|
|
62
|
-
&.kbq-tab-header__pagination_after {
|
|
63
|
-
border: {
|
|
64
|
-
left-style: solid;
|
|
65
|
-
left-width: var(--kbq-tabs-size-border-width, map.get($tokens, tabs-size-border-width));
|
|
66
|
-
};
|
|
67
|
-
}
|
|
52
|
+
&.kbq-tab-header__pagination_after {}
|
|
68
53
|
|
|
69
54
|
.kbq-tab-header__pagination-controls_enabled & {
|
|
70
55
|
display: flex;
|
|
@@ -91,14 +76,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
91
76
|
.kbq-tab-label {
|
|
92
77
|
@include tab-label;
|
|
93
78
|
@include vendor-prefixes.user-select(none);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.kbq-tab-label_old {
|
|
97
|
-
@include tab-label-old;
|
|
98
|
-
}
|
|
99
79
|
|
|
100
|
-
.kbq-tab-label,
|
|
101
|
-
.kbq-tab-label_old {
|
|
102
80
|
.kbq-tab-group_stretch-labels & {
|
|
103
81
|
flex-basis: 0;
|
|
104
82
|
flex-grow: 1;
|
|
@@ -27,5 +27,5 @@ export declare class KbqTabLabelWrapper extends KbqTabLabelWrapperMixinBase impl
|
|
|
27
27
|
getInnerText(): any;
|
|
28
28
|
private addClassModifierForIcons;
|
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTabLabelWrapper, never>;
|
|
30
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTabLabelWrapper, "[
|
|
30
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTabLabelWrapper, "[kbqTabLabelWrapper]", never, { "disabled": { "alias": "disabled"; "required": false; }; "tab": { "alias": "tab"; "required": false; }; }, {}, ["labelContent"], never, false, never>;
|
|
31
31
|
}
|
|
@@ -5,5 +5,5 @@ export declare const KBQ_TAB_LABEL: InjectionToken<KbqTabLabel>;
|
|
|
5
5
|
/** Used to flag tab labels for use with the portal directive */
|
|
6
6
|
export declare class KbqTabLabel extends CdkPortal {
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTabLabel, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTabLabel, "[kbq-tab-label], [
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTabLabel, "[kbq-tab-label], [kbqTabLabel]", never, {}, {}, never, never, false, never>;
|
|
9
9
|
}
|
|
@@ -25,16 +25,18 @@ export declare class KbqTabLink extends KbqTabLinkMixinBase implements OnDestroy
|
|
|
25
25
|
ngOnDestroy(): void;
|
|
26
26
|
private addClassModifierForIcons;
|
|
27
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTabLink, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqTabLink, "a[kbq-tab-link], a[
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqTabLink, "a[kbq-tab-link], a[kbqTabLink]", ["kbqTabLink"], { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "active": { "alias": "active"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
31
|
* Navigation component matching the styles of the tab group header.
|
|
32
32
|
*/
|
|
33
33
|
export declare class KbqTabNav implements AfterContentInit {
|
|
34
34
|
vertical: boolean;
|
|
35
|
+
transparent: boolean;
|
|
36
|
+
onSurface: boolean;
|
|
35
37
|
links: QueryList<KbqTabLink>;
|
|
36
38
|
constructor(vertical: string);
|
|
37
39
|
ngAfterContentInit(): void;
|
|
38
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTabNav, [{ attribute: "vertical"; }]>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqTabNav, "[kbq-tab-nav-bar]", ["
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqTabNav, "[kbq-tab-nav-bar]", ["kbqTabNavBar", "kbqTabNav"], { "transparent": { "alias": "transparent"; "required": false; }; "onSurface": { "alias": "onSurface"; "required": false; }; }, {}, ["links"], ["*"], false, never>;
|
|
40
42
|
}
|
|
@@ -19,16 +19,6 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
19
19
|
flex-basis: 0;
|
|
20
20
|
flex-grow: 1;
|
|
21
21
|
}
|
|
22
|
-
|
|
23
|
-
& > .kbq-icon {
|
|
24
|
-
&.kbq-icon_left {
|
|
25
|
-
margin-right: var(--kbq-tabs-size-label-icon-margin, map.get($tokens, tabs-size-label-icon-margin));
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&.kbq-icon_right {
|
|
29
|
-
margin-left: var(--kbq-tabs-size-label-icon-margin, map.get($tokens, tabs-size-label-icon-margin));
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
22
|
}
|
|
33
23
|
|
|
34
24
|
.kbq-tab-nav-bar {
|
|
@@ -37,8 +27,6 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
37
27
|
|
|
38
28
|
position: relative;
|
|
39
29
|
|
|
40
|
-
padding: 1px 1px 0 1px;
|
|
41
|
-
|
|
42
30
|
& .kbq-tab-group_align-labels-center {
|
|
43
31
|
justify-content: center;
|
|
44
32
|
}
|
|
@@ -46,9 +34,14 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
46
34
|
& .kbq-tab-group_align-labels-end {
|
|
47
35
|
justify-content: flex-end;
|
|
48
36
|
}
|
|
49
|
-
}
|
|
50
37
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
38
|
+
&.kbq-tab-group_vertical {
|
|
39
|
+
flex-direction: column;
|
|
40
|
+
flex-grow: 0;
|
|
41
|
+
|
|
42
|
+
gap: var(
|
|
43
|
+
--kbq-tabs-size-tab-stack-vertical-content-gap-vartical,
|
|
44
|
+
map.get($tokens, tabs-size-tab-stack-vertical-content-gap-vertical)
|
|
45
|
+
) 0;
|
|
46
|
+
}
|
|
54
47
|
}
|
package/tabs/tab.component.d.ts
CHANGED
|
@@ -64,5 +64,5 @@ export declare class KbqTab extends KbqTabMixinBase implements OnInit, CanDisabl
|
|
|
64
64
|
*/
|
|
65
65
|
protected setTemplateLabelInput(value: KbqTabLabel): void;
|
|
66
66
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTab, never>;
|
|
67
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqTab, "kbq-tab", ["
|
|
67
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqTab, "kbq-tab", ["kbqTab"], { "disabled": { "alias": "disabled"; "required": false; }; "tooltipTitle": { "alias": "tooltipTitle"; "required": false; }; "tooltipPlacement": { "alias": "tooltipPlacement"; "required": false; }; "textLabel": { "alias": "label"; "required": false; }; "empty": { "alias": "empty"; "required": false; }; "tabId": { "alias": "tabId"; "required": false; }; }, {}, ["templateLabel", "explicitContent"], ["*"], false, never>;
|
|
68
68
|
}
|
package/tabs/tabs.module.d.ts
CHANGED
|
@@ -16,6 +16,6 @@ import * as i14 from "@koobiq/components/icon";
|
|
|
16
16
|
import * as i15 from "@koobiq/components/tooltip";
|
|
17
17
|
export declare class KbqTabsModule {
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTabsModule, never>;
|
|
19
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqTabsModule, [typeof i1.KbqTabGroup, typeof i2.KbqTabLabel, typeof i3.KbqTab, typeof i4.KbqTabLabelWrapper, typeof i5.KbqTabNav, typeof i5.KbqTabLink, typeof i6.KbqTabBody, typeof i6.KbqTabBodyPortal, typeof i7.KbqTabHeader, typeof i8.KbqTabContent, typeof i1.
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqTabsModule, [typeof i1.KbqTabGroup, typeof i2.KbqTabLabel, typeof i3.KbqTab, typeof i4.KbqTabLabelWrapper, typeof i5.KbqTabNav, typeof i5.KbqTabLink, typeof i6.KbqTabBody, typeof i6.KbqTabBodyPortal, typeof i7.KbqTabHeader, typeof i8.KbqTabContent, typeof i1.KbqAlignTabsCenterCssStyler, typeof i1.KbqAlignTabsEndCssStyler, typeof i1.KbqStretchTabsCssStyler, typeof i1.KbqVerticalTabsCssStyler], [typeof i9.CommonModule, typeof i10.PortalModule, typeof i11.A11yModule, typeof i12.CdkScrollableModule, typeof i13.KbqCommonModule, typeof i14.KbqIconModule, typeof i15.KbqToolTipModule], [typeof i13.KbqCommonModule, typeof i1.KbqTabGroup, typeof i2.KbqTabLabel, typeof i3.KbqTab, typeof i5.KbqTabNav, typeof i5.KbqTabLink, typeof i8.KbqTabContent, typeof i1.KbqAlignTabsCenterCssStyler, typeof i1.KbqAlignTabsEndCssStyler, typeof i1.KbqStretchTabsCssStyler, typeof i1.KbqVerticalTabsCssStyler]>;
|
|
20
20
|
static ɵinj: i0.ɵɵInjectorDeclaration<KbqTabsModule>;
|
|
21
21
|
}
|
package/tags/_tag-theme.scss
CHANGED
|
@@ -52,38 +52,14 @@
|
|
|
52
52
|
@include kbq-tag-color(map.get($tag, theme-fade-on));
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
&.kbq-contrast {
|
|
55
|
+
&.kbq-contrast-fade {
|
|
56
56
|
@include kbq-tag-color(map.get($tag, contrast-fade-on));
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
&.kbq-error {
|
|
60
60
|
@include kbq-tag-color(map.get($tag, error-fade-on));
|
|
61
61
|
}
|
|
62
|
-
|
|
63
|
-
//&.kbq-disabled {
|
|
64
|
-
// color: map.get($foreground, text-disabled);
|
|
65
|
-
//
|
|
66
|
-
// border-color: transparent;
|
|
67
|
-
//
|
|
68
|
-
// background-color: map.get($background, background-disabled);
|
|
69
|
-
//}
|
|
70
62
|
}
|
|
71
|
-
|
|
72
|
-
//.kbq-tag-input {
|
|
73
|
-
// color: map.get($foreground, text);
|
|
74
|
-
//
|
|
75
|
-
// &::placeholder {
|
|
76
|
-
// color: map.get($foreground, text-disabled);
|
|
77
|
-
// }
|
|
78
|
-
//
|
|
79
|
-
// &::-ms-input-placeholder {
|
|
80
|
-
// color: map.get($foreground, text-disabled);
|
|
81
|
-
// }
|
|
82
|
-
//
|
|
83
|
-
// &::-webkit-input-placeholder {
|
|
84
|
-
// color: map.get($foreground, text-disabled);
|
|
85
|
-
// }
|
|
86
|
-
//}
|
|
87
63
|
}
|
|
88
64
|
|
|
89
65
|
@mixin kbq-tag-typography($config) {
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { KbqTagSeparator } from './tag-input';
|
|
2
3
|
/** Default options, for the chips module, that can be overridden. */
|
|
3
4
|
export interface KbqTagsDefaultOptions {
|
|
4
5
|
/** The list of key codes that will trigger a chipEnd event. */
|
|
5
6
|
separatorKeyCodes: number[];
|
|
7
|
+
separators?: {
|
|
8
|
+
[key: number]: KbqTagSeparator;
|
|
9
|
+
};
|
|
6
10
|
}
|
|
7
11
|
/** Injection token to be used to override the default options for the chips module. */
|
|
8
12
|
export declare const KBQ_TAGS_DEFAULT_OPTIONS: InjectionToken<KbqTagsDefaultOptions>;
|