@koobiq/components 16.0.0-beta.1 → 16.0.0-beta.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +2 -2
- package/autocomplete/_autocomplete-theme.scss +3 -10
- package/autocomplete/autocomplete-origin.directive.d.ts +1 -1
- package/autocomplete/autocomplete-trigger.directive.d.ts +6 -16
- package/autocomplete/autocomplete.component.d.ts +1 -1
- package/autocomplete/autocomplete.scss +0 -8
- package/badge/README.md +0 -0
- package/{core/styles/theming/_badges-theme.scss → badge/_badge-theme.scss} +14 -13
- package/badge/badge.component.d.ts +44 -0
- package/badge/badge.component.scss +83 -0
- package/badge/badge.module.d.ts +10 -0
- package/badge/index.d.ts +1 -0
- package/badge/public-api.d.ts +2 -0
- package/button/_button-base.scss +1 -1
- package/button/_button-theme.scss +35 -27
- package/button/button.scss +5 -2
- package/button-toggle/_button-toggle-theme.scss +26 -45
- package/button-toggle/button-toggle.component.d.ts +2 -2
- package/button-toggle/button-toggle.scss +40 -87
- package/card/_card-theme.scss +1 -1
- package/checkbox/README.md +1 -1
- package/checkbox/_checkbox-theme.scss +10 -2
- package/checkbox/checkbox.d.ts +2 -2
- package/code-block/README.md +14 -14
- package/code-block/_code-block-theme.scss +49 -10
- package/code-block/actionbar.component.scss +34 -6
- package/code-block/code-block.component.d.ts +2 -2
- package/code-block/code-block.scss +101 -27
- package/core/animation/index.d.ts +1 -1
- package/core/animation/select-animations.d.ts +1 -1
- package/core/common-behaviors/color.d.ts +1 -1
- package/core/common-behaviors/common-module.d.ts +1 -1
- package/core/formatters/index.d.ts +1 -1
- package/core/formatters/number/formatter.d.ts +56 -1
- package/core/forms/_forms-theme.scss +4 -4
- package/core/forms/_forms.scss +1 -3
- package/core/forms/forms.directive.d.ts +2 -2
- package/core/locales/en-US.d.ts +19 -1
- package/core/locales/es-LA.d.ts +27 -0
- package/core/locales/fa-IR.d.ts +28 -0
- package/core/locales/locale-service.d.ts +148 -3
- package/core/locales/pt-BR.d.ts +27 -0
- package/core/locales/ru-RU.d.ts +20 -1
- package/core/locales/zh-CN.d.ts +26 -0
- package/core/option/_optgroup-theme.scss +1 -1
- package/core/option/_option-action-theme.scss +1 -1
- package/core/option/_option-theme.scss +37 -14
- package/core/option/action.d.ts +1 -1
- package/core/option/action.scss +4 -5
- package/core/option/optgroup.d.ts +1 -1
- package/core/option/option.d.ts +37 -8
- package/core/option/option.scss +5 -50
- package/core/overlay/overlay-position-map.d.ts +7 -1
- package/core/pop-up/constants.d.ts +2 -1
- package/core/public-api.d.ts +1 -0
- package/core/select/constants.d.ts +2 -2
- package/core/services/theme.service.d.ts +23 -0
- package/core/styles/_koobiq-theme.scss +12 -1
- package/core/styles/_tokens.kbq.import.scss +4 -4
- package/core/styles/_tokens.scss +4 -4
- package/core/styles/_variables.scss +1 -0
- package/core/styles/common/_animation.scss +10 -6
- package/core/styles/common/_list.scss +123 -0
- package/core/styles/common/_overlay.scss +1 -1
- package/core/styles/common/_select.scss +232 -0
- package/core/styles/theming/_components-theming.scss +716 -102
- package/core/styles/theming/_theming.scss +201 -30
- package/core/styles/typography/_typography.scss +176 -5
- package/datepicker/_datepicker-theme.scss +43 -57
- package/datepicker/calendar-body.component.d.ts +1 -1
- package/datepicker/calendar-body.scss +11 -26
- package/datepicker/calendar-header.component.d.ts +9 -3
- package/datepicker/calendar-header.scss +7 -31
- package/datepicker/calendar.component.d.ts +4 -5
- package/datepicker/calendar.scss +20 -25
- package/datepicker/datepicker-animations.d.ts +2 -2
- package/datepicker/datepicker-content.scss +17 -10
- package/datepicker/datepicker-input.directive.d.ts +4 -4
- package/datepicker/datepicker-input.scss +1 -1
- package/datepicker/datepicker-toggle.component.d.ts +3 -3
- package/datepicker/datepicker.component.d.ts +2 -2
- package/datepicker/month-view.component.d.ts +5 -6
- package/dl/_dl-theme.scss +2 -56
- package/dl/dl.component.d.ts +1 -2
- package/dl/dl.scss +10 -47
- package/dropdown/_dropdown-theme.scss +29 -37
- package/dropdown/dropdown-animations.d.ts +1 -1
- package/dropdown/dropdown-content.directive.d.ts +1 -1
- package/dropdown/dropdown-item.component.d.ts +1 -1
- package/dropdown/dropdown-item.scss +18 -40
- package/dropdown/dropdown-trigger.directive.d.ts +2 -2
- package/dropdown/dropdown.component.d.ts +1 -1
- package/dropdown/dropdown.scss +16 -39
- package/dropdown/dropdown.types.d.ts +1 -1
- package/esm2022/alert/alert.component.mjs +3 -3
- package/esm2022/autocomplete/autocomplete-origin.directive.mjs +4 -4
- package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +34 -31
- package/esm2022/autocomplete/autocomplete.component.mjs +4 -4
- package/esm2022/badge/badge.component.mjs +122 -0
- package/esm2022/badge/badge.module.mjs +40 -0
- package/esm2022/badge/index.mjs +2 -0
- package/esm2022/badge/koobiq-components-badge.mjs +5 -0
- package/esm2022/badge/public-api.mjs +3 -0
- package/esm2022/button/button.component.mjs +4 -3
- package/esm2022/button-toggle/button-toggle.component.mjs +15 -15
- package/esm2022/checkbox/checkbox.mjs +4 -4
- package/esm2022/code-block/actionbar.component.mjs +3 -3
- package/esm2022/code-block/code-block.component.mjs +11 -9
- package/esm2022/core/animation/index.mjs +2 -2
- package/esm2022/core/animation/select-animations.mjs +4 -4
- package/esm2022/core/common-behaviors/color.mjs +1 -1
- package/esm2022/core/common-behaviors/common-module.mjs +2 -2
- package/esm2022/core/formatters/index.mjs +10 -2
- package/esm2022/core/formatters/number/formatter.mjs +224 -3
- package/esm2022/core/forms/forms.directive.mjs +5 -5
- package/esm2022/core/locales/en-US.mjs +22 -4
- package/esm2022/core/locales/es-LA.mjs +31 -2
- package/esm2022/core/locales/fa-IR.mjs +30 -2
- package/esm2022/core/locales/locale-service.mjs +4 -4
- package/esm2022/core/locales/pt-BR.mjs +29 -2
- package/esm2022/core/locales/ru-RU.mjs +23 -2
- package/esm2022/core/locales/zh-CN.mjs +28 -2
- package/esm2022/core/option/action.mjs +8 -7
- package/esm2022/core/option/optgroup.mjs +3 -3
- package/esm2022/core/option/option.mjs +47 -10
- package/esm2022/core/overlay/overlay-position-map.mjs +8 -1
- package/esm2022/core/pop-up/constants.mjs +2 -1
- package/esm2022/core/pop-up/pop-up-trigger.mjs +12 -3
- package/esm2022/core/public-api.mjs +2 -1
- package/esm2022/core/select/constants.mjs +3 -3
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +3 -3
- package/esm2022/core/services/theme.service.mjs +60 -0
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/datepicker/calendar-body.component.mjs +7 -5
- package/esm2022/datepicker/calendar-header.component.mjs +9 -8
- package/esm2022/datepicker/calendar.component.mjs +8 -17
- package/esm2022/datepicker/datepicker-animations.mjs +3 -3
- package/esm2022/datepicker/datepicker-input.directive.mjs +29 -20
- package/esm2022/datepicker/datepicker-toggle.component.mjs +6 -6
- package/esm2022/datepicker/datepicker.component.mjs +12 -12
- package/esm2022/datepicker/month-view.component.mjs +9 -18
- package/esm2022/dl/dl.component.mjs +3 -7
- package/esm2022/dropdown/dropdown-animations.mjs +4 -4
- package/esm2022/dropdown/dropdown-content.directive.mjs +3 -3
- package/esm2022/dropdown/dropdown-errors.mjs +6 -6
- package/esm2022/dropdown/dropdown-item.component.mjs +7 -6
- package/esm2022/dropdown/dropdown-trigger.directive.mjs +10 -9
- package/esm2022/dropdown/dropdown.component.mjs +9 -9
- package/esm2022/dropdown/dropdown.types.mjs +1 -1
- package/esm2022/file-upload/file-drop.mjs +43 -6
- package/esm2022/file-upload/file-upload.mjs +1 -1
- package/esm2022/file-upload/multiple-file-upload.component.mjs +13 -9
- package/esm2022/file-upload/single-file-upload.component.mjs +16 -13
- package/esm2022/form-field/cleaner.mjs +3 -3
- package/esm2022/form-field/form-field.mjs +12 -15
- package/esm2022/form-field/hint.mjs +16 -6
- package/esm2022/form-field/password-hint.mjs +25 -16
- package/esm2022/form-field/password-toggle.mjs +29 -12
- package/esm2022/form-field/prefix.mjs +3 -3
- package/esm2022/form-field/suffix.mjs +3 -3
- package/esm2022/form-field/validate.directive.mjs +15 -9
- package/esm2022/icon/icon-button.component.mjs +68 -0
- package/esm2022/icon/icon-item.component.mjs +27 -0
- package/esm2022/icon/icon.component.mjs +5 -90
- package/esm2022/icon/icon.module.mjs +4 -2
- package/esm2022/icon/public-api.mjs +3 -1
- package/esm2022/input/input-errors.mjs +2 -2
- package/esm2022/input/input-number.mjs +260 -44
- package/esm2022/input/input-password.mjs +5 -5
- package/esm2022/input/input.mjs +7 -7
- package/esm2022/link/link.component.mjs +14 -13
- package/esm2022/list/list-selection.component.mjs +23 -10
- package/esm2022/list/list.component.mjs +2 -2
- package/esm2022/list/list.module.mjs +8 -4
- package/esm2022/loader-overlay/loader-overlay.component.mjs +20 -19
- package/esm2022/modal/modal-control.service.mjs +5 -5
- package/esm2022/modal/modal-ref.class.mjs +1 -1
- package/esm2022/modal/modal.component.mjs +129 -134
- package/esm2022/modal/modal.module.mjs +13 -7
- package/esm2022/modal/modal.service.mjs +23 -23
- package/esm2022/modal/modal.type.mjs +1 -3
- package/esm2022/navbar/navbar-item.component.mjs +19 -18
- package/esm2022/navbar/navbar.component.mjs +20 -11
- package/esm2022/navbar/vertical-navbar.animation.mjs +2 -2
- package/esm2022/navbar/vertical-navbar.component.mjs +11 -8
- package/esm2022/popover/popover-animations.mjs +2 -2
- package/esm2022/popover/popover-confirm.component.mjs +9 -11
- package/esm2022/popover/popover.component.mjs +24 -24
- package/esm2022/progress-spinner/progress-spinner.component.mjs +3 -3
- package/esm2022/radio/radio.component.mjs +11 -8
- package/esm2022/risk-level/index.mjs +2 -0
- package/esm2022/risk-level/koobiq-components-risk-level.mjs +5 -0
- package/esm2022/risk-level/public-api.mjs +3 -0
- package/esm2022/risk-level/risk-level.component.mjs +40 -0
- package/esm2022/risk-level/risk-level.module.mjs +28 -0
- package/esm2022/select/select-option.directive.mjs +15 -3
- package/esm2022/select/select.component.mjs +47 -29
- package/esm2022/sidebar/sidebar-animations.mjs +2 -2
- package/esm2022/sidebar/sidebar.component.mjs +9 -9
- package/esm2022/sidepanel/sidepanel-container.component.mjs +3 -3
- package/esm2022/sidepanel/sidepanel-directives.mjs +8 -10
- package/esm2022/sidepanel/sidepanel.module.mjs +10 -4
- package/esm2022/splitter/splitter.component.mjs +3 -3
- package/esm2022/table/table.component.mjs +3 -3
- package/esm2022/tabs/paginated-tab-header.mjs +11 -2
- package/esm2022/tabs/tab-body.component.mjs +7 -7
- package/esm2022/tabs/tab-content.directive.mjs +3 -3
- package/esm2022/tabs/tab-group.component.mjs +16 -21
- package/esm2022/tabs/tab-header.component.mjs +2 -2
- package/esm2022/tabs/tab-label-wrapper.directive.mjs +4 -3
- package/esm2022/tabs/tab-label.directive.mjs +3 -3
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +21 -10
- package/esm2022/tabs/tab.component.mjs +14 -5
- package/esm2022/tabs/tabs-animations.mjs +2 -2
- package/esm2022/tabs/tabs.module.mjs +2 -6
- package/esm2022/tags/tag-default-options.mjs +1 -1
- package/esm2022/tags/tag-input.mjs +17 -15
- package/esm2022/tags/tag-list.component.mjs +15 -10
- package/esm2022/tags/tag.component.mjs +16 -16
- package/esm2022/textarea/textarea.component.mjs +4 -4
- package/esm2022/timepicker/timepicker.directive.mjs +10 -10
- package/esm2022/timezone/timezone-option.component.mjs +4 -4
- package/esm2022/timezone/timezone-select.component.mjs +5 -5
- package/esm2022/title/title.directive.mjs +6 -6
- package/esm2022/toast/toast-animations.mjs +2 -1
- package/esm2022/toast/toast-container.component.mjs +22 -8
- package/esm2022/toast/toast.component.mjs +30 -13
- package/esm2022/toast/toast.module.mjs +23 -8
- package/esm2022/toast/toast.service.mjs +2 -1
- package/esm2022/toast/toast.type.mjs +6 -1
- package/esm2022/toggle/toggle.component.mjs +4 -4
- package/esm2022/tooltip/tooltip.animations.mjs +2 -2
- package/esm2022/tooltip/tooltip.component.mjs +31 -30
- package/esm2022/tree/control/base-tree-control.mjs +1 -1
- package/esm2022/tree/control/flat-tree-control.mjs +4 -4
- package/esm2022/tree/control/tree-control.mjs +1 -1
- package/esm2022/tree/node.mjs +5 -5
- package/esm2022/tree/outlet.mjs +3 -3
- package/esm2022/tree/padding.directive.mjs +9 -9
- package/esm2022/tree/toggle.mjs +11 -12
- package/esm2022/tree/tree-base.mjs +3 -3
- package/esm2022/tree/tree-option.component.mjs +12 -10
- package/esm2022/tree/tree-selection.component.mjs +8 -6
- package/esm2022/tree/tree.mjs +3 -3
- package/esm2022/tree/tree.module.mjs +13 -4
- package/esm2022/tree-select/tree-select.component.mjs +28 -23
- package/fesm2022/koobiq-components-alert.mjs +2 -2
- package/fesm2022/koobiq-components-alert.mjs.map +1 -1
- package/fesm2022/koobiq-components-autocomplete.mjs +40 -37
- package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
- package/fesm2022/koobiq-components-badge.mjs +166 -0
- package/fesm2022/koobiq-components-badge.mjs.map +1 -0
- package/fesm2022/koobiq-components-button-toggle.mjs +14 -14
- package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-button.mjs +3 -2
- package/fesm2022/koobiq-components-button.mjs.map +1 -1
- package/fesm2022/koobiq-components-checkbox.mjs +3 -3
- package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
- package/fesm2022/koobiq-components-code-block.mjs +10 -9
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +535 -46
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +73 -79
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-dl.mjs +2 -6
- package/fesm2022/koobiq-components-dl.mjs.map +1 -1
- package/fesm2022/koobiq-components-dropdown.mjs +33 -31
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-file-upload.mjs +65 -21
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +96 -59
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +10 -8
- package/fesm2022/koobiq-components-icon.mjs.map +1 -1
- package/fesm2022/koobiq-components-input.mjs +269 -55
- package/fesm2022/koobiq-components-input.mjs.map +1 -1
- package/fesm2022/koobiq-components-link.mjs +13 -12
- package/fesm2022/koobiq-components-link.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +31 -14
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-loader-overlay.mjs +19 -18
- package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +164 -167
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +46 -37
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +32 -33
- package/fesm2022/koobiq-components-popover.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-spinner.mjs +2 -2
- package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
- package/fesm2022/koobiq-components-radio.mjs +10 -7
- package/fesm2022/koobiq-components-radio.mjs.map +1 -1
- package/fesm2022/koobiq-components-risk-level.mjs +72 -0
- package/fesm2022/koobiq-components-risk-level.mjs.map +1 -0
- package/fesm2022/koobiq-components-select.mjs +60 -30
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidebar.mjs +8 -8
- package/fesm2022/koobiq-components-sidebar.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidepanel.mjs +19 -14
- package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
- package/fesm2022/koobiq-components-splitter.mjs +2 -2
- package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
- package/fesm2022/koobiq-components-table.mjs +2 -2
- package/fesm2022/koobiq-components-table.mjs.map +1 -1
- package/fesm2022/koobiq-components-tabs.mjs +74 -53
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +45 -38
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-textarea.mjs +3 -3
- package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
- package/fesm2022/koobiq-components-timepicker.mjs +9 -9
- package/fesm2022/koobiq-components-timepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-timezone.mjs +7 -7
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-title.mjs +5 -5
- package/fesm2022/koobiq-components-title.mjs.map +1 -1
- package/fesm2022/koobiq-components-toast.mjs +71 -22
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/fesm2022/koobiq-components-toggle.mjs +3 -3
- package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-tooltip.mjs +31 -30
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +27 -22
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +67 -54
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/file-upload/_file-upload-theme.scss +54 -40
- package/file-upload/file-drop.d.ts +3 -2
- package/file-upload/file-upload.d.ts +4 -1
- package/file-upload/file-upload.scss +2 -9
- package/file-upload/multiple-file-upload.component.d.ts +6 -5
- package/file-upload/multiple-file-upload.component.scss +170 -59
- package/file-upload/single-file-upload.component.d.ts +6 -5
- package/file-upload/single-file-upload.component.scss +42 -22
- package/form-field/_form-field-theme.scss +3 -6
- package/form-field/_hint-theme.scss +6 -2
- package/form-field/cleaner.d.ts +1 -1
- package/form-field/form-field.d.ts +3 -4
- package/form-field/form-field.scss +2 -2
- package/form-field/hint.d.ts +4 -1
- package/form-field/hint.scss +9 -1
- package/form-field/password-hint.d.ts +7 -3
- package/form-field/password-hint.scss +6 -0
- package/form-field/password-toggle.d.ts +13 -7
- package/form-field/prefix.d.ts +1 -1
- package/form-field/suffix.d.ts +1 -1
- package/form-field/validate.directive.d.ts +1 -1
- package/icon/_icon-button-theme.scss +129 -0
- package/icon/_icon-item-theme.scss +41 -0
- package/icon/_icon-theme.scss +1 -232
- package/icon/icon-button.component.d.ts +22 -0
- package/icon/icon-button.scss +33 -0
- package/icon/icon-item.component.d.ts +10 -0
- package/icon/icon-item.scss +18 -0
- package/icon/icon.component.d.ts +1 -25
- package/icon/icon.module.d.ts +6 -4
- package/icon/icon.scss +0 -41
- package/icon/public-api.d.ts +2 -0
- package/input/_input-theme.scss +2 -1
- package/input/input-number.d.ts +61 -10
- package/input/input-password.d.ts +1 -1
- package/input/input.d.ts +2 -2
- package/input/input.scss +3 -1
- package/link/_link-theme.scss +101 -92
- package/link/link.component.d.ts +4 -4
- package/list/_list-theme.scss +36 -17
- package/list/list-selection.component.d.ts +6 -2
- package/list/list.module.d.ts +1 -1
- package/list/list.scss +6 -19
- package/loader-overlay/_loader-overlay-theme.scss +43 -11
- package/loader-overlay/loader-overlay.component.d.ts +6 -5
- package/loader-overlay/loader-overlay.scss +56 -22
- package/markdown/_markdown-theme.scss +2 -2
- package/modal/README.md +5 -5
- package/modal/_modal-confirm.scss +5 -37
- package/modal/_modal-theme.scss +14 -52
- package/modal/modal-ref.class.d.ts +2 -2
- package/modal/modal.component.d.ts +53 -52
- package/modal/modal.module.d.ts +2 -1
- package/modal/modal.scss +50 -31
- package/modal/modal.type.d.ts +35 -36
- package/navbar/_navbar-theme.scss +2 -2
- package/navbar/navbar-item.component.d.ts +4 -3
- package/navbar/navbar.component.d.ts +5 -2
- package/navbar/vertical-navbar.component.d.ts +4 -2
- package/package.json +48 -38
- package/popover/README.md +14 -14
- package/popover/_popover-theme.scss +15 -78
- package/popover/popover-animations.d.ts +1 -1
- package/popover/popover-confirm.component.d.ts +1 -3
- package/popover/popover.component.d.ts +3 -3
- package/popover/popover.scss +60 -50
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/progress-spinner/progress-spinner.component.d.ts +2 -2
- package/progress-spinner/progress-spinner.scss +10 -5
- package/radio/_radio-theme.scss +17 -4
- package/radio/radio.component.d.ts +2 -2
- package/radio/radio.scss +13 -0
- package/risk-level/README.md +0 -0
- package/risk-level/_risk-level-theme.scss +88 -0
- package/risk-level/index.d.ts +1 -0
- package/risk-level/public-api.d.ts +2 -0
- package/risk-level/risk-level.component.d.ts +18 -0
- package/risk-level/risk-level.component.scss +26 -0
- package/risk-level/risk-level.module.d.ts +10 -0
- package/select/_select-theme.scss +12 -4
- package/select/select-option.directive.d.ts +2 -0
- package/select/select.component.d.ts +15 -12
- package/select/select.scss +6 -190
- package/sidebar/sidebar-animations.d.ts +1 -1
- package/sidebar/sidebar.component.d.ts +3 -3
- package/sidepanel/_sidepanel-theme.scss +11 -41
- package/sidepanel/sidepanel-directives.d.ts +0 -2
- package/sidepanel/sidepanel.scss +33 -35
- package/splitter/_splitter-theme.scss +1 -0
- package/splitter/splitter.component.d.ts +1 -1
- package/table/_table-theme.scss +1 -1
- package/table/table.component.d.ts +1 -1
- package/tabs/_tabs-common.scss +28 -147
- package/tabs/_tabs-theme.scss +81 -175
- package/tabs/paginated-tab-header.d.ts +1 -0
- package/tabs/tab-body.component.d.ts +1 -1
- package/tabs/tab-content.directive.d.ts +1 -1
- package/tabs/tab-group.component.d.ts +5 -8
- package/tabs/tab-group.scss +10 -10
- package/tabs/tab-header.scss +2 -24
- package/tabs/tab-label-wrapper.directive.d.ts +1 -1
- package/tabs/tab-label.directive.d.ts +1 -1
- package/tabs/tab-nav-bar/tab-nav-bar.d.ts +4 -2
- package/tabs/tab-nav-bar/tab-nav-bar.scss +9 -16
- package/tabs/tab.component.d.ts +1 -1
- package/tabs/tabs-animations.d.ts +1 -1
- package/tabs/tabs.module.d.ts +1 -1
- package/tags/_tag-theme.scss +1 -25
- package/tags/tag-default-options.d.ts +4 -0
- package/tags/tag-input.d.ts +2 -2
- package/tags/tag-list.component.d.ts +3 -2
- package/tags/tag-list.scss +26 -16
- package/tags/tag.component.d.ts +6 -6
- package/textarea/textarea.component.d.ts +1 -1
- package/timepicker/timepicker.directive.d.ts +2 -2
- package/timezone/timezone-option.component.d.ts +1 -1
- package/timezone/timezone-select.component.d.ts +1 -1
- package/title/title.directive.d.ts +1 -1
- package/toast/_toast-theme.scss +21 -33
- package/toast/toast-animations.d.ts +1 -0
- package/toast/toast-container.component.d.ts +7 -3
- package/toast/toast-container.component.scss +2 -1
- package/toast/toast.component.d.ts +6 -1
- package/toast/toast.component.scss +41 -34
- package/toast/toast.module.d.ts +1 -1
- package/toast/toast.service.d.ts +2 -0
- package/toast/toast.type.d.ts +8 -5
- package/toggle/_toggle-theme.scss +9 -1
- package/toggle/toggle.component.d.ts +1 -1
- package/toggle/toggle.scss +5 -2
- package/tooltip/tooltip.animations.d.ts +1 -1
- package/tooltip/tooltip.component.d.ts +5 -5
- package/tree/_tree-theme.scss +46 -34
- package/tree/control/base-tree-control.d.ts +1 -1
- package/tree/control/tree-control.d.ts +1 -1
- package/tree/node.d.ts +1 -1
- package/tree/outlet.d.ts +1 -1
- package/tree/padding.directive.d.ts +1 -1
- package/tree/toggle.d.ts +3 -3
- package/tree/tree-base.d.ts +1 -1
- package/tree/tree-option.component.d.ts +1 -2
- package/tree/tree-option.scss +40 -27
- package/tree/tree-selection.component.d.ts +1 -1
- package/tree/tree.d.ts +1 -1
- package/tree/tree.module.d.ts +2 -1
- package/tree-select/_tree-select-theme.scss +13 -3
- package/tree-select/tree-select.component.d.ts +6 -4
- package/tree-select/tree-select.scss +5 -194
- package/core/styles/theming/_badges.scss +0 -57
- package/core/styles/theming/prebuilt/light-theme.scss +0 -20
- package/list/_list-base.scss +0 -54
package/tags/tag-input.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { KbqTagsDefaultOptions } from './tag-default-options';
|
|
|
5
5
|
import { KbqTagList } from './tag-list.component';
|
|
6
6
|
import { KbqTagTextControl } from './tag-text-control';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
-
/** Represents an input event on a `
|
|
8
|
+
/** Represents an input event on a `kbqTagInput`. */
|
|
9
9
|
export interface KbqTagInputEvent {
|
|
10
10
|
/** The native `<input>` element that the event is being fired for. */
|
|
11
11
|
input: HTMLInputElement;
|
|
@@ -83,5 +83,5 @@ export declare class KbqTagInput implements KbqTagTextControl, OnChanges {
|
|
|
83
83
|
/** Checks whether a keycode is one of the configured separators. */
|
|
84
84
|
private isSeparatorKey;
|
|
85
85
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTagInput, [null, null, null, { optional: true; self: true; }, { optional: true; self: true; }]>;
|
|
86
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTagInput, "input[
|
|
86
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTagInput, "input[kbqTagInputFor]", ["kbqTagInput", "kbqTagInputFor"], { "separatorKeyCodes": { "alias": "kbqTagInputSeparatorKeyCodes"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "tagList": { "alias": "kbqTagInputFor"; "required": false; }; "addOnBlur": { "alias": "kbqTagInputAddOnBlur"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "tagEnd": "kbqTagInputTokenEnd"; }, never, never, false, never>;
|
|
87
87
|
}
|
|
@@ -80,7 +80,7 @@ export declare class KbqTagList extends KbqTagListMixinBase implements KbqFormFi
|
|
|
80
80
|
*/
|
|
81
81
|
get placeholder(): string;
|
|
82
82
|
set placeholder(value: string);
|
|
83
|
-
/** Whether any tags or the
|
|
83
|
+
/** Whether any tags or the kbqTagInput inside of this tag-list has focus. */
|
|
84
84
|
get focused(): boolean;
|
|
85
85
|
/**
|
|
86
86
|
* Implemented as part of KbqFormFieldControl.
|
|
@@ -241,6 +241,7 @@ export declare class KbqTagList extends KbqTagListMixinBase implements KbqFormFi
|
|
|
241
241
|
private syncTagsDisabledState;
|
|
242
242
|
/** Revalidate control. */
|
|
243
243
|
private revalidate;
|
|
244
|
+
private propagateSelectableToChildren;
|
|
244
245
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTagList, [null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; self: true; }]>;
|
|
245
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqTagList, "kbq-tag-list", ["
|
|
246
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqTagList, "kbq-tag-list", ["kbqTagList"], { "multiple": { "alias": "multiple"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "value": { "alias": "value"; "required": false; }; "required": { "alias": "required"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; }, { "valueChange": "valueChange"; "change": "change"; }, ["cleaner", "tags"], ["*", "kbq-cleaner"], false, never>;
|
|
246
247
|
}
|
package/tags/tag-list.scss
CHANGED
|
@@ -11,6 +11,10 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
11
11
|
flex-direction: row;
|
|
12
12
|
|
|
13
13
|
box-sizing: border-box;
|
|
14
|
+
|
|
15
|
+
&:focus-visible {
|
|
16
|
+
outline: none;
|
|
17
|
+
}
|
|
14
18
|
}
|
|
15
19
|
|
|
16
20
|
.kbq-tag-input {
|
|
@@ -18,7 +22,14 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
18
22
|
outline: none;
|
|
19
23
|
background: transparent;
|
|
20
24
|
|
|
21
|
-
|
|
25
|
+
text-overflow: ellipsis;
|
|
26
|
+
|
|
27
|
+
min-height: unset;
|
|
28
|
+
|
|
29
|
+
padding-top: var(--kbq-tag-size-padding-vertical, map.get($tokens, tag-size-padding-vertical));
|
|
30
|
+
padding-bottom: var(--kbq-tag-size-padding-vertical, map.get($tokens, tag-size-padding-vertical));
|
|
31
|
+
padding-left: 4px;
|
|
32
|
+
padding-right: unset;
|
|
22
33
|
}
|
|
23
34
|
|
|
24
35
|
.kbq-tags-list__list-container {
|
|
@@ -36,8 +47,6 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
36
47
|
max-width: 100%;
|
|
37
48
|
|
|
38
49
|
flex: 1 1 auto;
|
|
39
|
-
|
|
40
|
-
margin-left: var(--kbq-tag-input-size-content-gap, map.get($tokens, tag-input-size-content-gap));
|
|
41
50
|
}
|
|
42
51
|
}
|
|
43
52
|
|
|
@@ -49,18 +58,19 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
49
58
|
|
|
50
59
|
.kbq-form-field-type-tag-list {
|
|
51
60
|
& .kbq-form-field__container {
|
|
52
|
-
padding-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
61
|
+
$padding-vertical: map.get($tokens, tag-input-size-padding-vertical);
|
|
62
|
+
$border-width: map.get($tokens, form-field-size-border-width);
|
|
63
|
+
|
|
64
|
+
padding:
|
|
65
|
+
calc(
|
|
66
|
+
var(--kbq-tag-input-size-padding-vertical, #{$padding-vertical}) -
|
|
67
|
+
var(--kbq-form-field-size-border-width, $border-width)
|
|
68
|
+
)
|
|
69
|
+
var(--kbq-tag-input-size-padding-right, map.get($tokens, tag-input-size-padding-right))
|
|
70
|
+
calc(
|
|
71
|
+
var(--kbq-tag-input-size-padding-vertical, #{$padding-vertical}) -
|
|
72
|
+
var(--kbq-form-field-size-border-width, $border-width)
|
|
73
|
+
)
|
|
74
|
+
var(--kbq-tag-input-size-padding-left, map.get($tokens, tag-input-size-padding-left));
|
|
65
75
|
}
|
|
66
76
|
}
|
package/tags/tag.component.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export declare class KbqTagSelectionChange {
|
|
|
20
20
|
*/
|
|
21
21
|
export declare class KbqTagAvatar {
|
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTagAvatar, never>;
|
|
23
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTagAvatar, "kbq-tag-avatar, [
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTagAvatar, "kbq-tag-avatar, [kbqTagAvatar]", never, {}, {}, never, never, false, never>;
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* Dummy directive to add CSS class to tag trailing icon.
|
|
@@ -28,7 +28,7 @@ export declare class KbqTagAvatar {
|
|
|
28
28
|
*/
|
|
29
29
|
export declare class KbqTagTrailingIcon {
|
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTagTrailingIcon, never>;
|
|
31
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTagTrailingIcon, "kbq-tag-trailing-icon, [
|
|
31
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTagTrailingIcon, "kbq-tag-trailing-icon, [kbqTagTrailingIcon]", never, {}, {}, never, never, false, never>;
|
|
32
32
|
}
|
|
33
33
|
/** @docs-private */
|
|
34
34
|
export declare class KbqTagBase {
|
|
@@ -111,19 +111,19 @@ export declare class KbqTag extends KbqTagMixinBase implements IFocusableOption,
|
|
|
111
111
|
* Informs any listeners of the removal request. Does not remove the tag from the DOM.
|
|
112
112
|
*/
|
|
113
113
|
remove(): void;
|
|
114
|
-
|
|
114
|
+
handleMousedown(event: Event): void;
|
|
115
115
|
handleKeydown(event: KeyboardEvent): void;
|
|
116
116
|
blur(): void;
|
|
117
117
|
private dispatchSelectionChange;
|
|
118
118
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTag, never>;
|
|
119
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqTag, "kbq-tag, [kbq-tag], kbq-basic-tag, [kbq-basic-tag]", ["
|
|
119
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqTag, "kbq-tag, [kbq-tag], kbq-basic-tag, [kbq-basic-tag]", ["kbqTag"], { "color": { "alias": "color"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "value": { "alias": "value"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "selectionChange": "selectionChange"; "destroyed": "destroyed"; "removed": "removed"; }, ["avatar", "trailingIcon", "removeIcon", "contentChildren"], ["[kbq-icon]:not([kbqTagRemove])", "*", "[kbqTagRemove]"], false, never>;
|
|
120
120
|
}
|
|
121
121
|
/**
|
|
122
122
|
*
|
|
123
123
|
* Example:
|
|
124
124
|
*
|
|
125
125
|
* `<kbq-tag>
|
|
126
|
-
* <kbq-icon
|
|
126
|
+
* <kbq-icon kbqTagRemove>cancel</kbq-icon>
|
|
127
127
|
* </kbq-tag>`
|
|
128
128
|
*
|
|
129
129
|
* You *may* use a custom icon, but you may need to override the `kbq-tag-remove` positioning
|
|
@@ -136,5 +136,5 @@ export declare class KbqTagRemove {
|
|
|
136
136
|
/** Calls the parent tag's public `remove()` method if applicable. */
|
|
137
137
|
handleClick(event: Event): void;
|
|
138
138
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTagRemove, never>;
|
|
139
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTagRemove, "[
|
|
139
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTagRemove, "[kbqTagRemove]", never, {}, {}, never, never, false, never>;
|
|
140
140
|
}
|
|
@@ -110,5 +110,5 @@ export declare class KbqTextarea extends KbqTextareaMixinBase implements KbqForm
|
|
|
110
110
|
/** Checks whether the textarea is invalid based on the native validation. */
|
|
111
111
|
protected isBadInput(): boolean;
|
|
112
112
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTextarea, [null, { optional: true; self: true; }, { optional: true; }, { optional: true; }, null, { optional: true; self: true; }, null]>;
|
|
113
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTextarea, "textarea[
|
|
113
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTextarea, "textarea[kbqTextarea]", ["kbqTextarea"], { "canGrow": { "alias": "canGrow"; "required": false; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
|
|
114
114
|
}
|
|
@@ -62,7 +62,7 @@ export declare class KbqTimepicker<D> implements KbqFormFieldControl<D>, Control
|
|
|
62
62
|
get value(): D | null;
|
|
63
63
|
set value(value: D | null);
|
|
64
64
|
private _value;
|
|
65
|
-
set
|
|
65
|
+
set kbqValidationTooltip(tooltip: KbqWarningTooltipTrigger);
|
|
66
66
|
incorrectInput: EventEmitter<void>;
|
|
67
67
|
get hasSelection(): boolean;
|
|
68
68
|
get isFullFormat(): boolean;
|
|
@@ -137,5 +137,5 @@ export declare class KbqTimepicker<D> implements KbqFormFieldControl<D>, Control
|
|
|
137
137
|
private setControl;
|
|
138
138
|
private validatorOnChange;
|
|
139
139
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTimepicker<any>, [null, null, { optional: true; }]>;
|
|
140
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTimepicker<any>, "input[
|
|
140
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTimepicker<any>, "input[kbqTimepicker]", ["kbqTimepicker"], { "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "id": { "alias": "id"; "required": false; }; "required": { "alias": "required"; "required": false; }; "format": { "alias": "format"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "value": { "alias": "value"; "required": false; }; "kbqValidationTooltip": { "alias": "kbqValidationTooltip"; "required": false; }; }, { "incorrectInput": "incorrectInput"; }, never, never, false, never>;
|
|
141
141
|
}
|
|
@@ -11,5 +11,5 @@ export declare class KbqTimezoneOption extends KbqOption {
|
|
|
11
11
|
private _timezone;
|
|
12
12
|
get viewValue(): string;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTimezoneOption, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqTimezoneOption, "kbq-timezone-option", ["
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqTimezoneOption, "kbq-timezone-option", ["kbqTimezoneOption"], { "highlightText": { "alias": "highlightText"; "required": false; }; "timezone": { "alias": "timezone"; "required": false; }; }, {}, never, never, false, never>;
|
|
15
15
|
}
|
|
@@ -10,5 +10,5 @@ export declare class KbqTimezoneSelect extends KbqSelect {
|
|
|
10
10
|
cleaner: KbqCleaner;
|
|
11
11
|
search: KbqSelectSearch;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTimezoneSelect, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqTimezoneSelect, "kbq-timezone-select", ["
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqTimezoneSelect, "kbq-timezone-select", ["kbqTimezoneSelect"], {}, {}, ["customTrigger", "cleaner", "search"], ["kbq-timezone-select-trigger", "kbq-cleaner", "[kbqSelectSearch]", "[kbq-select-search-empty-result]", "*"], false, never>;
|
|
14
14
|
}
|
|
@@ -27,5 +27,5 @@ export declare class KbqTitleDirective extends KbqTooltipTrigger implements Afte
|
|
|
27
27
|
hideTooltip(): void;
|
|
28
28
|
private createMutationObserver;
|
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTitleDirective, [null, null, null, null, null, null, null, { optional: true; }, { optional: true; host: true; }]>;
|
|
30
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTitleDirective, "[kbq-title]", ["
|
|
30
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTitleDirective, "[kbq-title]", ["kbqTitle"], {}, {}, ["childContainer", "parentContainer"], never, false, never>;
|
|
31
31
|
}
|
package/toast/_toast-theme.scss
CHANGED
|
@@ -4,43 +4,35 @@
|
|
|
4
4
|
@use '../core/styles/typography/typography-utils' as *;
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
@mixin kbq-toast
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
$toast: map.get(map.get($theme, components), toast);
|
|
11
|
-
|
|
12
|
-
.kbq-toast {
|
|
13
|
-
&.kbq-toast_info .kbq-toast__icon {
|
|
14
|
-
color: map.get($toast, icon_info);
|
|
15
|
-
}
|
|
7
|
+
@mixin kbq-toast($toast) {
|
|
8
|
+
box-shadow: map.get($toast, box-shadow);
|
|
16
9
|
|
|
17
|
-
|
|
18
|
-
color: map.get($toast, icon_success);
|
|
19
|
-
}
|
|
10
|
+
background: map.get($toast, background);
|
|
20
11
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
12
|
+
.kbq-toast__title {
|
|
13
|
+
color: map.get($toast, title);
|
|
14
|
+
}
|
|
24
15
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
16
|
+
.kbq-toast__text {
|
|
17
|
+
color: map.get($toast, text);
|
|
28
18
|
}
|
|
19
|
+
}
|
|
29
20
|
|
|
30
|
-
.kbq-toast__wrapper {
|
|
31
|
-
border-color: map.get($toast, border);
|
|
32
21
|
|
|
33
|
-
|
|
22
|
+
@mixin kbq-toast-theme($theme) {
|
|
23
|
+
$toast: map.get(map.get($theme, components), toast);
|
|
34
24
|
|
|
35
|
-
|
|
36
|
-
|
|
25
|
+
$contrast: map.get($toast, contrast);
|
|
26
|
+
$error: map.get($toast, error);
|
|
37
27
|
|
|
38
|
-
.kbq-
|
|
39
|
-
|
|
40
|
-
|
|
28
|
+
.kbq-toast {
|
|
29
|
+
&.kbq-toast_contrast {
|
|
30
|
+
@include kbq-toast($contrast);
|
|
31
|
+
}
|
|
41
32
|
|
|
42
|
-
|
|
43
|
-
|
|
33
|
+
&.kbq-toast_error {
|
|
34
|
+
@include kbq-toast($error);
|
|
35
|
+
}
|
|
44
36
|
}
|
|
45
37
|
}
|
|
46
38
|
|
|
@@ -48,14 +40,10 @@
|
|
|
48
40
|
$tokens: map.get($config, tokens);
|
|
49
41
|
|
|
50
42
|
.kbq-toast {
|
|
51
|
-
@include kbq-typography-level-to-styles($config,
|
|
43
|
+
@include kbq-typography-level-to-styles($config, map.get($tokens, toast-font-text));
|
|
52
44
|
}
|
|
53
45
|
|
|
54
46
|
.kbq-toast__title {
|
|
55
47
|
@include kbq-typography-level-to-styles($config, map.get($tokens, toast-font-title));
|
|
56
48
|
}
|
|
57
|
-
|
|
58
|
-
.kbq-toast__caption {
|
|
59
|
-
@include kbq-typography-level-to-styles($config, map.get($tokens, toast-font-caption));
|
|
60
|
-
}
|
|
61
49
|
}
|
|
@@ -1,15 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CdkScrollable, ScrollDispatcher } from '@angular/cdk/overlay';
|
|
2
|
+
import { ChangeDetectorRef, ComponentRef, ElementRef, EmbeddedViewRef, Injector, NgZone, TemplateRef, ViewContainerRef, ViewRef } from '@angular/core';
|
|
3
|
+
import { KbqToastService } from './toast.service';
|
|
2
4
|
import { KbqToastData } from './toast.type';
|
|
3
5
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class KbqToastContainerComponent {
|
|
6
|
+
export declare class KbqToastContainerComponent extends CdkScrollable {
|
|
5
7
|
private injector;
|
|
6
8
|
private changeDetectorRef;
|
|
9
|
+
readonly service: KbqToastService;
|
|
7
10
|
viewContainer: ViewContainerRef;
|
|
8
|
-
constructor(injector: Injector, changeDetectorRef: ChangeDetectorRef);
|
|
11
|
+
constructor(injector: Injector, changeDetectorRef: ChangeDetectorRef, service: KbqToastService, elementRef: ElementRef<HTMLElement>, scrollDispatcher: ScrollDispatcher, ngZone: NgZone);
|
|
9
12
|
createToast<C>(data: KbqToastData, componentType: any, onTop: boolean): ComponentRef<C>;
|
|
10
13
|
createTemplate<C>(data: KbqToastData, template: TemplateRef<any>, onTop: boolean): EmbeddedViewRef<C>;
|
|
11
14
|
remove(viewRef: ViewRef): void;
|
|
12
15
|
getInjector(data: KbqToastData): Injector;
|
|
16
|
+
dispatchScrollEvent: () => void;
|
|
13
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqToastContainerComponent, never>;
|
|
14
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<KbqToastContainerComponent, "kbq-toast-container", never, {}, {}, never, never, false, never>;
|
|
15
19
|
}
|
|
@@ -11,8 +11,9 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
11
11
|
.kbq-toast-container {
|
|
12
12
|
display: flex;
|
|
13
13
|
flex-direction: column;
|
|
14
|
+
align-items: flex-end;
|
|
14
15
|
|
|
15
|
-
gap:
|
|
16
|
+
gap: 12px;
|
|
16
17
|
}
|
|
17
18
|
|
|
18
19
|
.cdk-overlay-container {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AnimationEvent } from '@angular/animations';
|
|
1
2
|
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
2
3
|
import { ElementRef, OnDestroy } from '@angular/core';
|
|
3
4
|
import { ThemePalette } from '@koobiq/components/core';
|
|
@@ -5,6 +6,10 @@ import { BehaviorSubject } from 'rxjs';
|
|
|
5
6
|
import { KbqToastService } from './toast.service';
|
|
6
7
|
import { KbqToastData } from './toast.type';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class KbqToastCloseButton {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqToastCloseButton, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqToastCloseButton, "[kbq-toast-close-button]", never, {}, {}, never, never, false, never>;
|
|
12
|
+
}
|
|
8
13
|
export declare class KbqToastComponent implements OnDestroy {
|
|
9
14
|
readonly data: KbqToastData;
|
|
10
15
|
readonly service: KbqToastService;
|
|
@@ -21,13 +26,13 @@ export declare class KbqToastComponent implements OnDestroy {
|
|
|
21
26
|
get toastStyle(): {
|
|
22
27
|
[x: string]: boolean;
|
|
23
28
|
};
|
|
24
|
-
get hasDismiss(): boolean;
|
|
25
29
|
get isFocusedOrHovered(): boolean;
|
|
26
30
|
private destroyed;
|
|
27
31
|
constructor(data: KbqToastData, service: KbqToastService, elementRef: ElementRef, focusMonitor: FocusMonitor);
|
|
28
32
|
ngOnDestroy(): void;
|
|
29
33
|
close(): void;
|
|
30
34
|
isTemplateRef(value: any): boolean;
|
|
35
|
+
onAnimation($event: AnimationEvent): void;
|
|
31
36
|
private runFocusMonitor;
|
|
32
37
|
private stopFocusMonitor;
|
|
33
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqToastComponent, never>;
|
|
@@ -9,42 +9,38 @@
|
|
|
9
9
|
$tokens: meta.module-variables(tokens) !default;
|
|
10
10
|
|
|
11
11
|
.kbq-toast {
|
|
12
|
+
display: flex;
|
|
12
13
|
box-sizing: border-box;
|
|
13
14
|
|
|
14
15
|
z-index: $z-index-toast;
|
|
15
16
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.kbq-toast__wrapper {
|
|
21
|
-
box-sizing: border-box;
|
|
17
|
+
min-width: var(--kbq-toast-size-container-min-width, map.get($tokens, toast-size-container-min-width));
|
|
18
|
+
max-width: 480px;
|
|
22
19
|
|
|
23
|
-
|
|
24
|
-
flex: 1 1 auto;
|
|
20
|
+
height: auto;
|
|
25
21
|
|
|
26
|
-
|
|
22
|
+
border-radius: var(--kbq-toast-size-container-border-radius, map.get($tokens, toast-size-container-border-radius));
|
|
27
23
|
|
|
28
|
-
padding
|
|
29
|
-
|
|
24
|
+
padding:
|
|
25
|
+
var(--kbq-toast-size-container-padding-vertical, map.get($tokens, toast-size-container-padding-vertical))
|
|
26
|
+
var(--kbq-toast-size-container-padding-horizontal, map.get($tokens, toast-size-container-padding-horizontal));
|
|
30
27
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
.kbq-toast__icon-container {
|
|
37
|
-
padding-right: var(--kbq-toast-size-icon-margin, map.get($tokens, toast-size-icon-margin));
|
|
38
|
-
|
|
39
|
-
padding-top: var(--kbq-toast-size-padding-vertical, map.get($tokens, toast-size-padding-vertical));
|
|
40
|
-
padding-bottom: var(--kbq-toast-size-padding-vertical, map.get($tokens, toast-size-padding-vertical));
|
|
28
|
+
gap: var(
|
|
29
|
+
--kbq-toast-size-container-content-gap-horizontal,
|
|
30
|
+
map.get($tokens, toast-size-container-content-gap-horizontal)
|
|
31
|
+
);
|
|
41
32
|
}
|
|
42
33
|
|
|
43
34
|
.kbq-toast__container {
|
|
44
|
-
|
|
35
|
+
display: flex;
|
|
36
|
+
flex-direction: column;
|
|
37
|
+
|
|
38
|
+
flex: 1;
|
|
45
39
|
|
|
46
|
-
|
|
47
|
-
|
|
40
|
+
gap: var(
|
|
41
|
+
--kbq-toast-size-container-content-gap-vertical,
|
|
42
|
+
map.get($tokens, toast-size-container-content-gap-vertical)
|
|
43
|
+
)
|
|
48
44
|
}
|
|
49
45
|
|
|
50
46
|
.kbq-toast__title {
|
|
@@ -53,24 +49,35 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
53
49
|
}
|
|
54
50
|
}
|
|
55
51
|
|
|
52
|
+
.kbq-toast__text {
|
|
53
|
+
display: flex;
|
|
54
|
+
flex: 1;
|
|
55
|
+
align-items: center;
|
|
56
|
+
}
|
|
57
|
+
|
|
56
58
|
.kbq-toast__content {
|
|
57
59
|
display: flex;
|
|
58
60
|
flex-direction: column;
|
|
59
61
|
}
|
|
60
62
|
|
|
61
63
|
.kbq-toast__actions {
|
|
62
|
-
|
|
64
|
+
display: flex;
|
|
63
65
|
|
|
64
|
-
|
|
65
|
-
margin-right: var(--kbq-toast-size-actionbar-gap, map.get($tokens, toast-size-actionbar-gap));
|
|
66
|
-
}
|
|
67
|
-
}
|
|
66
|
+
padding-top: var(--kbq-toast-size-button-stack-padding-top, map.get($tokens, toast-size-button-stack-padding-top));
|
|
68
67
|
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
gap: var(
|
|
69
|
+
--kbq-toast-size-button-stack-content-gap-horizontal,
|
|
70
|
+
map.get($tokens, toast-size-button-stack-content-gap-horizontal)
|
|
71
|
+
);
|
|
71
72
|
|
|
72
|
-
|
|
73
|
-
|
|
73
|
+
& * + .kbq-link {
|
|
74
|
+
margin-left: 12px;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
74
77
|
|
|
75
|
-
|
|
78
|
+
.kbq-toast__close-button {
|
|
79
|
+
margin-top: var(--kbq-toast-size-close-button-margin-top, map.get($tokens, toast-size-close-button-margin-top));
|
|
80
|
+
margin-right: var(
|
|
81
|
+
--kbq-toast-size-close-button-margin-right, map.get($tokens, toast-size-close-button-margin-right)
|
|
82
|
+
);
|
|
76
83
|
}
|
package/toast/toast.module.d.ts
CHANGED
|
@@ -8,6 +8,6 @@ import * as i6 from "@koobiq/components/icon";
|
|
|
8
8
|
import * as i7 from "@koobiq/components/button";
|
|
9
9
|
export declare class KbqToastModule {
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqToastModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqToastModule, [typeof i1.KbqToastComponent, typeof i2.KbqToastContainerComponent], [typeof i3.CommonModule, typeof i4.OverlayModule, typeof i5.A11yModule, typeof i6.KbqIconModule, typeof i7.KbqButtonModule],
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqToastModule, [typeof i1.KbqToastComponent, typeof i2.KbqToastContainerComponent, typeof i1.KbqToastCloseButton], [typeof i3.CommonModule, typeof i4.OverlayModule, typeof i5.A11yModule, typeof i6.KbqIconModule, typeof i7.KbqButtonModule], [typeof i1.KbqToastComponent, typeof i2.KbqToastContainerComponent, typeof i1.KbqToastCloseButton]>;
|
|
12
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<KbqToastModule>;
|
|
13
13
|
}
|
package/toast/toast.service.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AnimationEvent } from '@angular/animations';
|
|
1
2
|
import { Overlay } from '@angular/cdk/overlay';
|
|
2
3
|
import { Injector, ComponentRef, TemplateRef, EmbeddedViewRef, InjectionToken } from '@angular/core';
|
|
3
4
|
import { BehaviorSubject } from 'rxjs';
|
|
@@ -15,6 +16,7 @@ export declare class KbqToastService<T extends KbqToastComponent = KbqToastCompo
|
|
|
15
16
|
get templates(): EmbeddedViewRef<T>[];
|
|
16
17
|
readonly hovered: BehaviorSubject<boolean>;
|
|
17
18
|
readonly focused: BehaviorSubject<boolean>;
|
|
19
|
+
readonly animation: BehaviorSubject<AnimationEvent | null>;
|
|
18
20
|
private containerInstance;
|
|
19
21
|
private overlayRef;
|
|
20
22
|
private portal;
|
package/toast/toast.type.d.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { TemplateRef, InjectionToken } from '@angular/core';
|
|
2
|
-
export
|
|
2
|
+
export declare enum KbqToastStyle {
|
|
3
|
+
Contrast = "contrast",
|
|
4
|
+
Error = "error"
|
|
5
|
+
}
|
|
3
6
|
export declare enum KbqToastPosition {
|
|
4
7
|
TOP_RIGHT = "top-right",
|
|
5
8
|
TOP_LEFT = "top-left",
|
|
@@ -10,13 +13,13 @@ export declare enum KbqToastPosition {
|
|
|
10
13
|
CENTER = "center"
|
|
11
14
|
}
|
|
12
15
|
export declare class KbqToastData {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
icon?: TemplateRef<any
|
|
16
|
+
title?: string | TemplateRef<any>;
|
|
17
|
+
style?: KbqToastStyle | string;
|
|
18
|
+
icon?: TemplateRef<any> | boolean;
|
|
16
19
|
caption?: string | TemplateRef<any>;
|
|
17
20
|
content?: string | TemplateRef<any>;
|
|
18
21
|
actions?: TemplateRef<any>;
|
|
19
|
-
|
|
22
|
+
closeButton?: TemplateRef<any> | boolean;
|
|
20
23
|
}
|
|
21
24
|
export interface KbqToastConfig {
|
|
22
25
|
position: KbqToastPosition;
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
$toggle-error: map.get($toggle, error);
|
|
68
68
|
|
|
69
69
|
.kbq-toggle {
|
|
70
|
-
color: map.get($foreground,
|
|
70
|
+
color: map.get($foreground, contrast);
|
|
71
71
|
|
|
72
72
|
@include kbq-toggle-color($toggle-theme);
|
|
73
73
|
|
|
@@ -86,6 +86,10 @@
|
|
|
86
86
|
& .kbq-hint {
|
|
87
87
|
@include kbq-typography-level-to-styles($config, map.get($tokens, toggle-font-normal-caption));
|
|
88
88
|
}
|
|
89
|
+
|
|
90
|
+
& .kbq-toggle-bar-container {
|
|
91
|
+
height: kbq-line-height($config, map.get($tokens, toggle-font-normal-label));
|
|
92
|
+
}
|
|
89
93
|
}
|
|
90
94
|
|
|
91
95
|
.kbq-toggle.kbq-toggle_big {
|
|
@@ -94,5 +98,9 @@
|
|
|
94
98
|
& .kbq-hint {
|
|
95
99
|
@include kbq-typography-level-to-styles($config, map.get($tokens, toggle-font-big-caption));
|
|
96
100
|
}
|
|
101
|
+
|
|
102
|
+
& .kbq-toggle-bar-container {
|
|
103
|
+
height: kbq-line-height($config, map.get($tokens, toggle-font-big-label));
|
|
104
|
+
}
|
|
97
105
|
}
|
|
98
106
|
}
|
|
@@ -52,6 +52,6 @@ export declare class KbqToggleComponent extends KbqToggleMixinBase implements Co
|
|
|
52
52
|
private updateModelValue;
|
|
53
53
|
private emitChangeEvent;
|
|
54
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqToggleComponent, never>;
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqToggleComponent, "kbq-toggle", ["
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqToggleComponent, "kbq-toggle", ["kbqToggle"], { "color": { "alias": "color"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "big": { "alias": "big"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; }, { "change": "change"; }, never, ["*", "kbq-hint"], false, never>;
|
|
56
56
|
}
|
|
57
57
|
export {};
|
package/toggle/toggle.scss
CHANGED
|
@@ -32,6 +32,11 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
+
.kbq-toggle-bar-container {
|
|
36
|
+
display: flex;
|
|
37
|
+
align-items: center;
|
|
38
|
+
}
|
|
39
|
+
|
|
35
40
|
.kbq-toggle-bar {
|
|
36
41
|
position: relative;
|
|
37
42
|
box-sizing: border-box;
|
|
@@ -80,8 +85,6 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
80
85
|
|
|
81
86
|
.kbq-toggle.kbq-toggle_big {
|
|
82
87
|
& .kbq-toggle-bar {
|
|
83
|
-
margin-top: 2px;
|
|
84
|
-
|
|
85
88
|
height: var(--kbq-toggle-size-big-height, map.get($tokens, toggle-size-big-height));
|
|
86
89
|
width: var(--kbq-toggle-size-big-width, map.get($tokens, toggle-size-big-width));
|
|
87
90
|
}
|
|
@@ -3,6 +3,6 @@ import { AnimationTriggerMetadata } from '@angular/animations';
|
|
|
3
3
|
* Animations used by KbqTooltip.
|
|
4
4
|
* @docs-private
|
|
5
5
|
*/
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const kbqTooltipAnimations: {
|
|
7
7
|
readonly tooltipState: AnimationTriggerMetadata;
|
|
8
8
|
};
|