@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/link/_link-theme.scss
CHANGED
|
@@ -4,162 +4,163 @@
|
|
|
4
4
|
@use '../core/styles/typography/typography-utils' as *;
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
@mixin kbq-link($
|
|
8
|
-
display: inline
|
|
7
|
+
@mixin kbq-link-geometry($tokens) {
|
|
8
|
+
display: inline;
|
|
9
9
|
|
|
10
|
-
color: map.get($link, text);
|
|
11
10
|
text-decoration: none;
|
|
12
11
|
cursor: pointer;
|
|
13
12
|
|
|
14
|
-
|
|
13
|
+
outline-offset: var(
|
|
14
|
+
--kbq-link-size-state-focused-outline-offset, map.get($tokens, link-size-state-focused-outline-offset)
|
|
15
|
+
);
|
|
15
16
|
|
|
16
17
|
&:focus {
|
|
17
18
|
outline: none;
|
|
18
19
|
}
|
|
19
20
|
|
|
20
|
-
/* stylelint-disable no-descending-specificity */
|
|
21
|
-
&:hover {
|
|
22
|
-
color: map.get($link, state-hover-text);
|
|
23
|
-
transition: color 0ms;
|
|
24
|
-
|
|
25
|
-
&.kbq-text-only,
|
|
26
|
-
&.kbq-text-with-icon .kbq-link__text {
|
|
27
|
-
border-bottom-color: map.get($link, state-hover-border-bottom);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
& .kbq-icon {
|
|
31
|
-
color: map.get($link, state-hover-text);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&:active {
|
|
36
|
-
color: map.get($link, state-active-text);
|
|
37
|
-
|
|
38
|
-
&.kbq-text-only,
|
|
39
|
-
&.kbq-text-with-icon .kbq-link__text {
|
|
40
|
-
border-bottom-color: map.get($link, state-active-border-bottom);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&.cdk-keyboard-focused {
|
|
45
|
-
outline: map.get($link, state-focused-outline) solid map.get($link, link-size-state-focused-outline-width);
|
|
46
|
-
|
|
47
|
-
outline-offset: map.get($link, link-size-state-focused-outline-offset);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
& .kbq-icon {
|
|
51
|
-
color: inherit;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
21
|
&.kbq-text-only,
|
|
55
22
|
&.kbq-text-with-icon .kbq-link__text {
|
|
56
23
|
border-bottom-style: solid;
|
|
57
24
|
border-bottom-width: 1px;
|
|
58
|
-
border-bottom-color: map.get($link, border-bottom);
|
|
59
25
|
}
|
|
60
26
|
|
|
61
27
|
&.kbq-text-with-icon .kbq-link__text {
|
|
62
28
|
&:not(:first-child) {
|
|
63
|
-
margin-left:
|
|
29
|
+
margin-left: var(
|
|
30
|
+
--kbq-link-size-normal-content-padding, map.get($tokens, link-size-normal-content-padding)
|
|
31
|
+
);
|
|
64
32
|
}
|
|
65
33
|
|
|
66
34
|
&:not(:last-child) {
|
|
67
|
-
margin-right:
|
|
35
|
+
margin-right: var(
|
|
36
|
+
--kbq-link-size-normal-content-padding, map.get($tokens, link-size-normal-content-padding)
|
|
37
|
+
);
|
|
68
38
|
}
|
|
69
39
|
}
|
|
70
40
|
|
|
71
|
-
&.kbq-
|
|
72
|
-
display: inline;
|
|
73
|
-
|
|
74
|
-
&.kbq-text-only,
|
|
41
|
+
&.kbq-link_compact {
|
|
75
42
|
&.kbq-text-with-icon .kbq-link__text {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
43
|
+
&:not(:first-child) {
|
|
44
|
+
margin-left: var(
|
|
45
|
+
--kbq-link-size-compact-content-padding, map.get($tokens, link-size-compact-content-padding)
|
|
46
|
+
);
|
|
47
|
+
}
|
|
79
48
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
49
|
+
&:not(:last-child) {
|
|
50
|
+
margin-right: var(
|
|
51
|
+
--kbq-link-size-compact-content-padding, map.get($tokens, link-size-compact-content-padding)
|
|
52
|
+
);
|
|
53
|
+
}
|
|
84
54
|
}
|
|
85
55
|
}
|
|
86
56
|
|
|
57
|
+
/* stylelint-disable no-descending-specificity */
|
|
87
58
|
&.kbq-link_big {
|
|
88
59
|
&.kbq-text-with-icon .kbq-link__text {
|
|
89
60
|
&:not(:first-child) {
|
|
90
|
-
margin-left: map.get($tokens, link-size-big-content-padding);
|
|
61
|
+
margin-left: var(--kbq-link-size-big-content-padding, map.get($tokens, link-size-big-content-padding));
|
|
91
62
|
}
|
|
92
63
|
|
|
93
64
|
&:not(:last-child) {
|
|
94
|
-
margin-right: map.get($tokens, link-size-big-content-padding);
|
|
65
|
+
margin-right: var(--kbq-link-size-big-content-padding, map.get($tokens, link-size-big-content-padding));
|
|
95
66
|
}
|
|
96
67
|
}
|
|
97
68
|
}
|
|
98
69
|
|
|
99
|
-
&[disabled] {
|
|
100
|
-
color: map.get($foreground, text-disabled);
|
|
101
|
-
|
|
102
|
-
cursor: default;
|
|
103
|
-
pointer-events: none;
|
|
104
70
|
|
|
71
|
+
&.kbq-link_pseudo {
|
|
105
72
|
&.kbq-text-only,
|
|
106
73
|
&.kbq-text-with-icon .kbq-link__text {
|
|
107
|
-
border-bottom
|
|
74
|
+
border-bottom: none;
|
|
108
75
|
}
|
|
76
|
+
}
|
|
109
77
|
|
|
110
|
-
|
|
111
|
-
|
|
78
|
+
&.kbq-link_no-underline {
|
|
79
|
+
&.kbq-text-only,
|
|
80
|
+
&.kbq-text-with-icon .kbq-link__text {
|
|
81
|
+
border-bottom-color: transparent;
|
|
112
82
|
}
|
|
113
|
-
/* stylelint-enable no-descending-specificity */
|
|
114
83
|
}
|
|
84
|
+
/* stylelint-enable no-descending-specificity */
|
|
115
85
|
}
|
|
116
86
|
|
|
117
|
-
@mixin kbq-link-
|
|
118
|
-
|
|
87
|
+
@mixin kbq-link-state($state) {
|
|
88
|
+
color: map.get($state, text);
|
|
119
89
|
|
|
90
|
+
&.kbq-text-only,
|
|
91
|
+
&.kbq-text-with-icon .kbq-link__text {
|
|
92
|
+
border-bottom-color: map.get($state, border-bottom);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
& .kbq-icon {
|
|
96
|
+
color: map.get($state, text) !important;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
@mixin kbq-link-theme($theme) {
|
|
120
101
|
$link: map.get(map.get($theme, components), link);
|
|
121
102
|
|
|
122
103
|
$tokens: map.get($theme, tokens);
|
|
123
104
|
|
|
124
|
-
.kbq-link
|
|
125
|
-
|
|
126
|
-
|
|
105
|
+
.kbq-link {
|
|
106
|
+
@include kbq-link-geometry($tokens);
|
|
107
|
+
|
|
108
|
+
$default: map.get($link, default);
|
|
109
|
+
@include kbq-link-state($default);
|
|
110
|
+
|
|
111
|
+
transition: color ease-out 300ms;
|
|
112
|
+
|
|
113
|
+
&:hover {
|
|
114
|
+
transition: color 0ms;
|
|
115
|
+
|
|
116
|
+
$hover: map.get($link, hover);
|
|
117
|
+
@include kbq-link-state($hover);
|
|
127
118
|
}
|
|
128
119
|
|
|
129
|
-
|
|
130
|
-
|
|
120
|
+
&:active {
|
|
121
|
+
$active: map.get($link, active);
|
|
122
|
+
@include kbq-link-state($active);
|
|
123
|
+
}
|
|
131
124
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
125
|
+
&.kbq-link_use-visited:not(.kbq-disabled):visited {
|
|
126
|
+
$visited: map.get($link, visited);
|
|
127
|
+
@include kbq-link-state($visited);
|
|
135
128
|
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
129
|
+
&:hover {
|
|
130
|
+
$visited-hover: map.get($link, visited-hover);
|
|
131
|
+
@include kbq-link-state($visited-hover);
|
|
139
132
|
}
|
|
140
133
|
|
|
141
|
-
|
|
142
|
-
|
|
134
|
+
&:active {
|
|
135
|
+
$visited-active: map.get($link, visited-active);
|
|
136
|
+
@include kbq-link-state($visited-active);
|
|
143
137
|
}
|
|
144
138
|
}
|
|
145
139
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
.kbq-link_print:not([disabled]) {
|
|
151
|
-
color: map.get($foreground, text);
|
|
140
|
+
&.cdk-keyboard-focused {
|
|
141
|
+
$focused: map.get($link, focused);
|
|
142
|
+
outline: map.get($focused, outline) solid;
|
|
143
|
+
}
|
|
152
144
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
}
|
|
145
|
+
&.kbq-disabled {
|
|
146
|
+
cursor: default;
|
|
147
|
+
pointer-events: none;
|
|
157
148
|
|
|
158
|
-
|
|
159
|
-
|
|
149
|
+
$disabled: map.get($link, disabled);
|
|
150
|
+
@include kbq-link-state($disabled);
|
|
151
|
+
}
|
|
160
152
|
|
|
161
|
-
|
|
162
|
-
|
|
153
|
+
@media print {
|
|
154
|
+
.kbq-link_print:not(.kbq-disabled) {
|
|
155
|
+
&.kbq-text-only,
|
|
156
|
+
&.kbq-text-with-icon .kbq-link__text {
|
|
157
|
+
border-bottom: none;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
&::after {
|
|
161
|
+
content: ":\a" attr(print);
|
|
162
|
+
white-space: pre;
|
|
163
|
+
}
|
|
163
164
|
}
|
|
164
165
|
}
|
|
165
166
|
}
|
|
@@ -170,6 +171,14 @@
|
|
|
170
171
|
|
|
171
172
|
.kbq-link {
|
|
172
173
|
@include kbq-typography-level-to-styles($config, map.get($tokens, link-font-normal));
|
|
174
|
+
|
|
175
|
+
& .kbq-icon {
|
|
176
|
+
line-height: inherit;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.kbq-link.kbq-link_compact {
|
|
181
|
+
@include kbq-typography-level-to-styles($config, map.get($tokens, link-font-compact));
|
|
173
182
|
}
|
|
174
183
|
|
|
175
184
|
.kbq-link.kbq-link_big {
|
package/link/link.component.d.ts
CHANGED
|
@@ -22,12 +22,12 @@ export declare class KbqLink extends KbqLinkMixinBase implements OnDestroy, HasT
|
|
|
22
22
|
get noUnderline(): any;
|
|
23
23
|
set noUnderline(value: any);
|
|
24
24
|
private _noUnderline;
|
|
25
|
-
get caption(): any;
|
|
26
|
-
set caption(value: any);
|
|
27
|
-
private _caption;
|
|
28
25
|
get big(): any;
|
|
29
26
|
set big(value: any);
|
|
30
27
|
private _big;
|
|
28
|
+
get compact(): any;
|
|
29
|
+
set compact(value: any);
|
|
30
|
+
private _compact;
|
|
31
31
|
get useVisited(): any;
|
|
32
32
|
set useVisited(value: any);
|
|
33
33
|
private _useVisited;
|
|
@@ -43,5 +43,5 @@ export declare class KbqLink extends KbqLinkMixinBase implements OnDestroy, HasT
|
|
|
43
43
|
getHostElement(): any;
|
|
44
44
|
private updatePrintUrl;
|
|
45
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqLink, never>;
|
|
46
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqLink, "[kbq-link]", ["
|
|
46
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqLink, "[kbq-link]", ["kbqLink"], { "tabIndex": { "alias": "tabIndex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "pseudo": { "alias": "pseudo"; "required": false; }; "noUnderline": { "alias": "noUnderline"; "required": false; }; "big": { "alias": "big"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "useVisited": { "alias": "useVisited"; "required": false; }; "print": { "alias": "print"; "required": false; }; }, {}, ["icon"], never, false, never>;
|
|
47
47
|
}
|
package/list/_list-theme.scss
CHANGED
|
@@ -4,35 +4,50 @@
|
|
|
4
4
|
@use '../core/styles/typography/typography-utils' as *;
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
@mixin kbq-list-
|
|
8
|
-
|
|
9
|
-
$background: map.get($theme, background);
|
|
7
|
+
@mixin kbq-list-item($state) {
|
|
8
|
+
background: map.get($state, container-background);
|
|
10
9
|
|
|
11
|
-
.kbq-list-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
.kbq-list-text {
|
|
11
|
+
color: map.get($state, text);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.kbq-icon {
|
|
15
|
+
color: map.get($state, icon);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.kbq-option-action .kbq-icon {
|
|
19
|
+
color: map.get($state, icon-button);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.kbq-list-option-caption {
|
|
23
|
+
color: map.get($state, caption);
|
|
14
24
|
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@mixin kbq-list-theme($theme) {
|
|
28
|
+
$list-item: map.get(map.get($theme, components), list-item);
|
|
15
29
|
|
|
16
30
|
.kbq-list-option {
|
|
17
|
-
|
|
31
|
+
@include kbq-list-item(map.get($list-item, default));
|
|
18
32
|
|
|
19
|
-
&:hover {
|
|
20
|
-
|
|
33
|
+
&:hover:not(.kbq-disabled) {
|
|
34
|
+
@include kbq-list-item(map.get($list-item, hover));
|
|
21
35
|
}
|
|
22
36
|
|
|
23
37
|
&.kbq-focused {
|
|
24
|
-
border-color: map.get(map.get($
|
|
38
|
+
border-color: map.get(map.get($list-item, focused), focus-outline);
|
|
25
39
|
}
|
|
26
40
|
|
|
27
41
|
&.kbq-selected {
|
|
28
|
-
|
|
29
|
-
}
|
|
42
|
+
@include kbq-list-item(map.get($list-item, selected));
|
|
30
43
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
44
|
+
&:hover:not(.kbq-disabled) {
|
|
45
|
+
@include kbq-list-item(map.get($list-item, selected-hover));
|
|
46
|
+
}
|
|
47
|
+
}
|
|
34
48
|
|
|
35
|
-
|
|
49
|
+
&.kbq-disabled {
|
|
50
|
+
@include kbq-list-item(map.get($list-item, disabled));
|
|
36
51
|
}
|
|
37
52
|
}
|
|
38
53
|
}
|
|
@@ -42,6 +57,10 @@
|
|
|
42
57
|
|
|
43
58
|
.kbq-list-item,
|
|
44
59
|
.kbq-list-option {
|
|
45
|
-
@include kbq-typography-level-to-styles($config, map.get($tokens, list-font-
|
|
60
|
+
@include kbq-typography-level-to-styles($config, map.get($tokens, list-font-text));
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.kbq-list-option-caption {
|
|
64
|
+
@include kbq-typography-level-to-styles($config, map.get($tokens, list-font-caption));
|
|
46
65
|
}
|
|
47
66
|
}
|
|
@@ -114,7 +114,11 @@ export declare class KbqListSelection extends KbqListSelectionMixinBase implemen
|
|
|
114
114
|
private selectAllOptions;
|
|
115
115
|
private copyActiveOption;
|
|
116
116
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqListSelection, [null, null, { attribute: "multiple"; }, { optional: true; }]>;
|
|
117
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqListSelection, "kbq-list-selection", ["
|
|
117
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqListSelection, "kbq-list-selection", ["kbqListSelection"], { "disabled": { "alias": "disabled"; "required": false; }; "autoSelect": { "alias": "autoSelect"; "required": false; }; "noUnselectLast": { "alias": "noUnselectLast"; "required": false; }; "horizontal": { "alias": "horizontal"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; }, { "onSelectAll": "onSelectAll"; "onCopy": "onCopy"; "selectionChange": "selectionChange"; }, ["options"], ["*"], false, never>;
|
|
118
|
+
}
|
|
119
|
+
export declare class KbqListOptionCaption {
|
|
120
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqListOptionCaption, never>;
|
|
121
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqListOptionCaption, "[kbq-list-option-caption]", never, {}, {}, never, never, false, never>;
|
|
118
122
|
}
|
|
119
123
|
/**
|
|
120
124
|
* Component for list-options of selection-list. Each list-option can automatically
|
|
@@ -168,5 +172,5 @@ export declare class KbqListOption implements OnDestroy, OnInit, IFocusableOptio
|
|
|
168
172
|
blur(): void;
|
|
169
173
|
getHostElement(): HTMLElement;
|
|
170
174
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqListOption, [null, null, null, null, { optional: true; }]>;
|
|
171
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqListOption, "kbq-list-option", ["
|
|
175
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqListOption, "kbq-list-option", ["kbqListOption"], { "checkboxPosition": { "alias": "checkboxPosition"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "showCheckbox": { "alias": "showCheckbox"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, {}, ["actionButton", "tooltipTrigger", "dropdownTrigger"], ["[kbq-icon]", "*", "[kbq-list-option-caption]", "kbq-option-action"], false, never>;
|
|
172
176
|
}
|
package/list/list.module.d.ts
CHANGED
|
@@ -6,6 +6,6 @@ import * as i4 from "@angular/cdk/a11y";
|
|
|
6
6
|
import * as i5 from "@koobiq/components/core";
|
|
7
7
|
export declare class KbqListModule {
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqListModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqListModule, [typeof i1.KbqList, typeof i2.KbqListSelection, typeof i1.KbqListItem, typeof i2.KbqListOption], [typeof i3.CommonModule, typeof i4.A11yModule, typeof i5.KbqPseudoCheckboxModule, typeof i5.KbqLineModule, typeof i5.KbqOptionModule], [typeof i1.KbqList, typeof i2.KbqListSelection, typeof i1.KbqListItem, typeof i2.KbqListOption, typeof i5.KbqOptionModule]>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqListModule, [typeof i1.KbqList, typeof i2.KbqListSelection, typeof i1.KbqListItem, typeof i2.KbqListOption, typeof i2.KbqListOptionCaption], [typeof i3.CommonModule, typeof i4.A11yModule, typeof i5.KbqPseudoCheckboxModule, typeof i5.KbqLineModule, typeof i5.KbqOptionModule], [typeof i1.KbqList, typeof i2.KbqListSelection, typeof i1.KbqListItem, typeof i2.KbqListOption, typeof i2.KbqListOptionCaption, typeof i5.KbqOptionModule]>;
|
|
10
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<KbqListModule>;
|
|
11
11
|
}
|
package/list/list.scss
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
@use 'sass:meta';
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
|
|
4
|
-
@use 'list-base';
|
|
5
4
|
@use '../core/styles/common/list';
|
|
6
5
|
|
|
7
6
|
@use '../core/styles/tokens';
|
|
@@ -20,33 +19,21 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
20
19
|
.kbq-list-option {
|
|
21
20
|
@include list.kbq-no-select;
|
|
22
21
|
|
|
23
|
-
@include list
|
|
22
|
+
@include list.kbq-list-item-base();
|
|
24
23
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
right: -2px;
|
|
28
|
-
bottom: -2px;
|
|
29
|
-
left: -2px;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
& .kbq-pseudo-checkbox,
|
|
33
|
-
& .kbq-icon {
|
|
34
|
-
margin-right: var(--kbq-list-size-icon-right-margin, map.get($tokens, list-size-icon-right-margin));
|
|
24
|
+
&:not(.kbq-disabled) {
|
|
25
|
+
cursor: pointer;
|
|
35
26
|
}
|
|
36
27
|
|
|
37
28
|
& .kbq-option-action {
|
|
38
29
|
display: none;
|
|
39
30
|
}
|
|
40
31
|
|
|
41
|
-
&:not(
|
|
42
|
-
&:not(
|
|
43
|
-
&:not(
|
|
32
|
+
&:not(.kbq-disabled):hover,
|
|
33
|
+
&:not(.kbq-disabled).kbq-focused,
|
|
34
|
+
&:not(.kbq-disabled).kbq-action-button-focused {
|
|
44
35
|
& .kbq-option-action {
|
|
45
36
|
display: flex;
|
|
46
37
|
}
|
|
47
38
|
}
|
|
48
39
|
}
|
|
49
|
-
|
|
50
|
-
.kbq-list-option:not([disabled]):not(.kbq-disabled){
|
|
51
|
-
cursor: pointer;
|
|
52
|
-
}
|
|
@@ -7,28 +7,60 @@
|
|
|
7
7
|
@mixin kbq-loader-overlay-theme($theme) {
|
|
8
8
|
$loader-overlay: map.get(map.get($theme, components), loader-overlay);
|
|
9
9
|
|
|
10
|
-
.kbq-loader-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
.kbq-loader-overlay_filled {
|
|
11
|
+
$filled: map.get($loader-overlay, filled);
|
|
12
|
+
|
|
13
|
+
&.kbq-loader-overlay {
|
|
14
|
+
background: map.get($filled, background);
|
|
15
|
+
}
|
|
13
16
|
|
|
14
|
-
|
|
15
|
-
|
|
17
|
+
& .kbq-loader-overlay-text {
|
|
18
|
+
color: map.get($filled, text);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
& .kbq-loader-overlay-caption {
|
|
22
|
+
color: map.get($filled, caption);
|
|
23
|
+
}
|
|
16
24
|
}
|
|
17
25
|
|
|
18
|
-
.kbq-loader-
|
|
19
|
-
|
|
26
|
+
.kbq-loader-overlay_transparent {
|
|
27
|
+
$transparent: map.get($loader-overlay, transparent);
|
|
28
|
+
|
|
29
|
+
&.kbq-loader-overlay {
|
|
30
|
+
background: map.get($transparent, background);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
& .kbq-loader-overlay-text {
|
|
34
|
+
color: map.get($transparent, text);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
& .kbq-loader-overlay-caption {
|
|
38
|
+
color: map.get($transparent, caption);
|
|
39
|
+
}
|
|
20
40
|
}
|
|
21
41
|
}
|
|
22
42
|
|
|
23
43
|
@mixin kbq-loader-overlay-typography($config) {
|
|
24
44
|
$tokens: map.get($config, tokens);
|
|
25
45
|
|
|
26
|
-
.kbq-loader-
|
|
27
|
-
|
|
46
|
+
.kbq-loader-overlay_big {
|
|
47
|
+
& .kbq-loader-overlay-text {
|
|
48
|
+
@include kbq-typography-level-to-styles($config, map.get($tokens, loader-overlay-font-big-text));
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
& .kbq-loader-overlay-caption {
|
|
52
|
+
@include kbq-typography-level-to-styles($config, map.get($tokens, loader-overlay-font-big-caption));
|
|
53
|
+
}
|
|
28
54
|
}
|
|
29
55
|
|
|
30
|
-
.kbq-loader-
|
|
31
|
-
|
|
56
|
+
.kbq-loader-overlay_compact {
|
|
57
|
+
& .kbq-loader-overlay-text {
|
|
58
|
+
@include kbq-typography-level-to-styles($config, map.get($tokens, loader-overlay-font-compact-text));
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
& .kbq-loader-overlay-caption {
|
|
62
|
+
@include kbq-typography-level-to-styles($config, map.get($tokens, loader-overlay-font-compact-caption));
|
|
63
|
+
}
|
|
32
64
|
}
|
|
33
65
|
}
|
|
34
66
|
|
|
@@ -15,20 +15,21 @@ export declare class KbqLoaderOverlayCaption {
|
|
|
15
15
|
export declare class KbqLoaderOverlay implements OnInit, OnDestroy {
|
|
16
16
|
private elementRef;
|
|
17
17
|
private renderer;
|
|
18
|
-
private fixedTop;
|
|
19
18
|
text: string;
|
|
20
19
|
caption: string;
|
|
20
|
+
compact: boolean;
|
|
21
|
+
transparent: boolean;
|
|
21
22
|
get isExternalIndicator(): boolean;
|
|
22
23
|
get isExternalText(): boolean;
|
|
23
24
|
get isExternalCaption(): boolean;
|
|
24
|
-
get isFixedTop(): boolean;
|
|
25
25
|
get isEmpty(): boolean;
|
|
26
|
+
get spinnerSize(): string;
|
|
26
27
|
externalIndicator: KbqLoaderOverlayIndicator | null;
|
|
27
28
|
externalText: KbqLoaderOverlayText | null;
|
|
28
29
|
externalCaption: KbqLoaderOverlayCaption | null;
|
|
29
|
-
constructor(elementRef: ElementRef, renderer: Renderer2
|
|
30
|
+
constructor(elementRef: ElementRef, renderer: Renderer2);
|
|
30
31
|
ngOnInit(): void;
|
|
31
32
|
ngOnDestroy(): void;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KbqLoaderOverlay,
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqLoaderOverlay, "kbq-loader-overlay", never, { "text": { "alias": "text"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; }, {}, ["externalIndicator", "externalText", "externalCaption"], ["[kbq-loader-overlay-indicator]", "[kbq-loader-overlay-text]", "[kbq-loader-overlay-caption]"], false, never>;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqLoaderOverlay, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqLoaderOverlay, "kbq-loader-overlay", never, { "text": { "alias": "text"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "transparent": { "alias": "transparent"; "required": false; }; }, {}, ["externalIndicator", "externalText", "externalCaption"], ["[kbq-loader-overlay-indicator]", "[kbq-loader-overlay-text]", "[kbq-loader-overlay-caption]"], false, never>;
|
|
34
35
|
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
|
|
4
4
|
@use '../core/styles/tokens';
|
|
5
|
+
@use '../core/styles/variables';
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
$tokens: meta.module-variables(tokens) !default;
|
|
@@ -10,6 +11,13 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
10
11
|
position: relative;
|
|
11
12
|
}
|
|
12
13
|
|
|
14
|
+
.kbq-loader-overlay-text,
|
|
15
|
+
.kbq-loader-overlay-caption {
|
|
16
|
+
max-width: 90%;
|
|
17
|
+
|
|
18
|
+
text-align: center;
|
|
19
|
+
}
|
|
20
|
+
|
|
13
21
|
.kbq-loader-overlay {
|
|
14
22
|
position: absolute;
|
|
15
23
|
|
|
@@ -23,6 +31,8 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
23
31
|
bottom: 0;
|
|
24
32
|
left: 0;
|
|
25
33
|
|
|
34
|
+
z-index: variables.$z-index-loader-overlay;
|
|
35
|
+
|
|
26
36
|
& .kbq-loader-overlay__container {
|
|
27
37
|
display: flex;
|
|
28
38
|
flex-direction: column;
|
|
@@ -34,31 +44,55 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
34
44
|
max-width: 80%;
|
|
35
45
|
}
|
|
36
46
|
|
|
37
|
-
&.kbq-loader-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
47
|
+
&.kbq-loader-overlay_big {
|
|
48
|
+
padding-left: var(
|
|
49
|
+
--kbq-loader-overlay-size-big-overlay-padding-horizontal,
|
|
50
|
+
map.get($tokens, loader-overlay-size-big-overlay-padding-horizontal)
|
|
51
|
+
);
|
|
52
|
+
|
|
53
|
+
padding-right: var(
|
|
54
|
+
--kbq-loader-overlay-size-big-overlay-padding-horizontal,
|
|
55
|
+
map.get($tokens, loader-overlay-size-big-overlay-padding-horizontal)
|
|
56
|
+
);
|
|
57
|
+
|
|
58
|
+
& .kbq-progress-spinner {
|
|
59
|
+
margin-bottom: var(
|
|
60
|
+
--kbq-loader-overlay-size-big-loader-margin-bottom,
|
|
61
|
+
map.get($tokens, loader-overlay-size-big-loader-margin-bottom)
|
|
62
|
+
);
|
|
42
63
|
}
|
|
43
|
-
}
|
|
44
64
|
|
|
45
|
-
|
|
46
|
-
|
|
65
|
+
& .kbq-loader-overlay-text {
|
|
66
|
+
margin-bottom: var(
|
|
67
|
+
--kbq-loader-overlay-size-big-content-content-gap-vertical,
|
|
68
|
+
map.get($tokens, loader-overlay-size-big-content-content-gap-vertical)
|
|
69
|
+
);
|
|
70
|
+
}
|
|
47
71
|
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.kbq-loader-overlay-text {
|
|
51
|
-
margin-top: map.get($tokens, size-s);
|
|
52
72
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
73
|
+
&.kbq-loader-overlay_compact {
|
|
74
|
+
padding-left: var(
|
|
75
|
+
--kbq-loader-overlay-size-compact-overlay-padding-horizontal,
|
|
76
|
+
map.get($tokens, loader-overlay-size-compact-overlay-padding-horizontal)
|
|
77
|
+
);
|
|
78
|
+
|
|
79
|
+
padding-right: var(
|
|
80
|
+
--kbq-loader-overlay-size-compact-overlay-padding-horizontal,
|
|
81
|
+
map.get($tokens, loader-overlay-size-compact-overlay-padding-horizontal)
|
|
82
|
+
);
|
|
83
|
+
|
|
84
|
+
& .kbq-progress-spinner {
|
|
85
|
+
margin-bottom: var(
|
|
86
|
+
--kbq-loader-overlay-size-compact-loader-margin-bottom,
|
|
87
|
+
map.get($tokens, loader-overlay-size-compact-loader-margin-bottom)
|
|
88
|
+
);
|
|
89
|
+
}
|
|
62
90
|
|
|
63
|
-
|
|
91
|
+
& .kbq-loader-overlay-text {
|
|
92
|
+
margin-bottom: var(
|
|
93
|
+
--kbq-loader-overlay-size-compact-content-content-gap-vertical,
|
|
94
|
+
map.get($tokens, loader-overlay-size-compact-content-content-gap-vertical)
|
|
95
|
+
);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
64
98
|
}
|