@koobiq/components 17.0.0-rc.8 → 17.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -2
- package/alert/_alert-theme.scss +0 -1
- package/alert/alert.component.d.ts +3 -1
- package/alert/alert.component.scss +14 -14
- package/alert/public-api.d.ts +1 -1
- package/autocomplete/_autocomplete-theme.scss +0 -1
- package/autocomplete/autocomplete.scss +3 -6
- package/autocomplete/public-api.d.ts +2 -2
- package/badge/_badge-theme.scss +1 -2
- package/badge/badge.component.scss +0 -1
- package/badge/public-api.d.ts +1 -1
- package/button/_button-base.scss +0 -1
- package/button/_button-theme.scss +5 -3
- package/button/button.component.d.ts +2 -2
- package/button/button.scss +0 -1
- package/button/public-api.d.ts +1 -1
- package/button-toggle/_button-toggle-theme.scss +2 -3
- package/button-toggle/button-toggle.scss +2 -9
- package/button-toggle/public-api.d.ts +1 -1
- package/card/_card-theme.scss +0 -1
- package/card/card.component.d.ts +1 -1
- package/card/card.component.scss +1 -2
- package/card/public-api.d.ts +1 -1
- package/checkbox/_checkbox-theme.scss +10 -11
- package/checkbox/checkbox.scss +13 -19
- package/code-block/README.md +17 -14
- package/code-block/_code-block-theme.scss +23 -16
- package/code-block/actionbar.component.scss +4 -7
- package/code-block/code-block.component.d.ts +2 -2
- package/code-block/code-block.scss +8 -14
- package/code-block/public-api.d.ts +1 -1
- package/core/animation/index.d.ts +1 -1
- package/core/common-behaviors/index.d.ts +3 -3
- package/core/datetime/index.d.ts +1 -1
- package/core/formatters/index.d.ts +1 -1
- package/core/forms/_forms-theme.scss +0 -1
- package/core/forms/_forms.scss +0 -1
- package/core/forms/index.d.ts +1 -1
- package/core/locales/index.d.ts +1 -1
- package/core/option/_optgroup-theme.scss +0 -1
- package/core/option/_option-action-theme.scss +0 -1
- package/core/option/_option-theme.scss +0 -1
- package/core/option/action.scss +4 -2
- package/core/option/index.d.ts +2 -2
- package/core/option/optgroup.scss +2 -3
- package/core/option/option.scss +0 -1
- package/core/pop-up/_pop-up.scss +0 -1
- package/core/pop-up/pop-up-trigger.d.ts +3 -3
- package/core/public-api.d.ts +3 -3
- package/core/select/constants.d.ts +1 -1
- package/core/select/index.d.ts +3 -3
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +1 -2
- package/core/selection/pseudo-checkbox/pseudo-checkbox.scss +0 -1
- package/core/services/theme.service.d.ts +3 -2
- package/core/styles/_core.scss +0 -1
- package/core/styles/_koobiq-theme.scss +5 -3
- package/core/styles/common/_animation.scss +11 -10
- package/core/styles/common/_button.scss +0 -2
- package/core/styles/common/_clearfix.scss +1 -1
- package/core/styles/common/_groups.scss +0 -4
- package/core/styles/common/_list.scss +23 -61
- package/core/styles/common/_overlay.scss +4 -3
- package/core/styles/common/_popup.scss +0 -1
- package/core/styles/common/_rtl.scss +4 -4
- package/core/styles/common/_select.scss +37 -26
- package/core/styles/common/_tokens.scss +0 -2
- package/core/styles/functions/_number.scss +14 -19
- package/core/styles/functions/_string.scss +18 -19
- package/core/styles/functions/_timing.scss +24 -24
- package/core/styles/theming/_components-theming.scss +1120 -1208
- package/core/styles/theming/_scrollbar-theme.scss +8 -5
- package/core/styles/theming/_theming.scss +22 -20
- package/core/styles/typography/_typography-utils.scss +9 -3
- package/core/styles/typography/_typography.scss +114 -94
- package/core/styles/visual/_body.scss +0 -2
- package/core/styles/visual/_layout.scss +30 -22
- package/core/utils/data-size/index.d.ts +1 -1
- package/core/utils/public-api.d.ts +1 -1
- package/datepicker/_datepicker-theme.scss +21 -8
- package/datepicker/calendar-body.scss +0 -3
- package/datepicker/calendar-header.scss +0 -1
- package/datepicker/calendar.scss +1 -2
- package/datepicker/datepicker-content.scss +1 -3
- package/datepicker/datepicker-input.directive.d.ts +1 -0
- package/datepicker/datepicker-input.scss +0 -1
- package/datepicker/datepicker-toggle.scss +0 -1
- package/datepicker/datepicker.component.d.ts +2 -2
- package/datepicker/public-api.d.ts +4 -4
- package/divider/_divider-theme.scss +0 -1
- package/divider/divider.scss +0 -1
- package/dl/_dl-theme.scss +0 -2
- package/dl/dl.scss +0 -1
- package/dl/public-api.d.ts +1 -1
- package/dropdown/_dropdown-theme.scss +4 -2
- package/dropdown/dropdown-content.directive.d.ts +1 -1
- package/dropdown/dropdown-item.component.d.ts +1 -1
- package/dropdown/dropdown-item.scss +9 -7
- package/dropdown/dropdown.component.d.ts +1 -1
- package/dropdown/dropdown.scss +0 -1
- package/dropdown/public-api.d.ts +5 -5
- package/ellipsis-center/ellipsis-center.directive.d.ts +1 -1
- package/empty-state/README.md +0 -0
- package/empty-state/_empty-state-theme.scss +56 -0
- package/empty-state/empty-state.component.d.ts +31 -0
- package/empty-state/empty-state.module.d.ts +10 -0
- package/empty-state/empty-state.scss +81 -0
- package/empty-state/index.d.ts +1 -0
- package/empty-state/public-api.d.ts +2 -0
- package/esm2022/alert/alert.component.mjs +7 -3
- package/esm2022/alert/alert.module.mjs +1 -1
- package/esm2022/alert/public-api.mjs +2 -2
- package/esm2022/autocomplete/autocomplete-origin.directive.mjs +1 -1
- package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +25 -42
- package/esm2022/autocomplete/autocomplete.component.mjs +14 -9
- package/esm2022/autocomplete/autocomplete.module.mjs +3 -3
- package/esm2022/autocomplete/public-api.mjs +3 -3
- package/esm2022/badge/badge.component.mjs +8 -6
- package/esm2022/badge/badge.module.mjs +1 -1
- package/esm2022/badge/public-api.mjs +2 -2
- package/esm2022/button/button.component.mjs +12 -9
- package/esm2022/button/button.module.mjs +1 -1
- package/esm2022/button/public-api.mjs +2 -2
- package/esm2022/button-toggle/button-toggle.component.mjs +26 -20
- package/esm2022/button-toggle/button-toggle.module.mjs +1 -1
- package/esm2022/button-toggle/public-api.mjs +2 -2
- package/esm2022/card/card.component.mjs +4 -5
- package/esm2022/card/card.module.mjs +1 -1
- package/esm2022/card/public-api.mjs +2 -2
- package/esm2022/checkbox/checkbox-config.mjs +1 -1
- package/esm2022/checkbox/checkbox-module.mjs +1 -1
- package/esm2022/checkbox/checkbox-required-validator.mjs +1 -1
- package/esm2022/checkbox/checkbox.mjs +6 -8
- package/esm2022/checkbox/public-api.mjs +1 -1
- package/esm2022/code-block/actionbar.component.mjs +4 -6
- package/esm2022/code-block/code-block.component.mjs +17 -19
- package/esm2022/code-block/code-block.module.mjs +9 -5
- package/esm2022/code-block/public-api.mjs +2 -2
- package/esm2022/core/animation/fade-animations.mjs +1 -1
- package/esm2022/core/animation/index.mjs +2 -2
- package/esm2022/core/animation/select-animations.mjs +2 -2
- package/esm2022/core/common-behaviors/color.mjs +4 -2
- package/esm2022/core/common-behaviors/common-module.mjs +2 -5
- package/esm2022/core/common-behaviors/constructor.mjs +1 -1
- package/esm2022/core/common-behaviors/disabled.mjs +2 -2
- package/esm2022/core/common-behaviors/error-state.mjs +1 -1
- package/esm2022/core/common-behaviors/index.mjs +4 -4
- package/esm2022/core/common-behaviors/tabindex.mjs +1 -1
- package/esm2022/core/datetime/date-adapter.mjs +1 -2
- package/esm2022/core/datetime/date-formats.mjs +1 -1
- package/esm2022/core/datetime/index.mjs +2 -2
- package/esm2022/core/error/error-options.mjs +1 -1
- package/esm2022/core/form-field/form-field-ref.mjs +1 -1
- package/esm2022/core/formatters/date/formatter.mjs +1 -1
- package/esm2022/core/formatters/date/formatter.pipe.mjs +1 -1
- package/esm2022/core/formatters/index.mjs +2 -2
- package/esm2022/core/formatters/number/formatter.mjs +19 -24
- package/esm2022/core/forms/forms-module.mjs +1 -1
- package/esm2022/core/forms/forms.directive.mjs +1 -1
- package/esm2022/core/forms/index.mjs +2 -2
- package/esm2022/core/highlight/highlight.pipe.mjs +1 -1
- package/esm2022/core/highlight/index.mjs +1 -1
- package/esm2022/core/label/label-options.mjs +1 -1
- package/esm2022/core/line/line.mjs +2 -2
- package/esm2022/core/locales/en-US.mjs +1 -1
- package/esm2022/core/locales/es-LA.mjs +1 -1
- package/esm2022/core/locales/fa-IR.mjs +1 -1
- package/esm2022/core/locales/formatters.mjs +1 -3
- package/esm2022/core/locales/index.mjs +2 -2
- package/esm2022/core/locales/locale-service.mjs +8 -5
- package/esm2022/core/locales/locale-service.module.mjs +1 -1
- package/esm2022/core/locales/pt-BR.mjs +1 -1
- package/esm2022/core/locales/ru-RU.mjs +3 -3
- package/esm2022/core/locales/zh-CN.mjs +1 -1
- package/esm2022/core/option/action.mjs +22 -14
- package/esm2022/core/option/index.mjs +3 -3
- package/esm2022/core/option/optgroup.mjs +4 -5
- package/esm2022/core/option/option-module.mjs +1 -1
- package/esm2022/core/option/option.mjs +13 -10
- package/esm2022/core/overlay/overlay-position-map.mjs +1 -1
- package/esm2022/core/pop-up/pop-up-trigger.mjs +14 -24
- package/esm2022/core/pop-up/pop-up.mjs +1 -2
- package/esm2022/core/public-api.mjs +4 -4
- package/esm2022/core/select/common.mjs +2 -5
- package/esm2022/core/select/constants.mjs +1 -2
- package/esm2022/core/select/index.mjs +4 -4
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +3 -3
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +1 -1
- package/esm2022/core/services/measure-scrollbar.service.mjs +1 -2
- package/esm2022/core/services/theme.service.mjs +5 -4
- package/esm2022/core/title/title-text-ref.mjs +1 -1
- package/esm2022/core/utils/data-size/config.mjs +1 -1
- package/esm2022/core/utils/data-size/data-size.pipe.mjs +2 -3
- package/esm2022/core/utils/data-size/index.mjs +2 -2
- package/esm2022/core/utils/data-size/size.mjs +3 -6
- package/esm2022/core/utils/public-api.mjs +2 -2
- package/esm2022/core/utils/utils.mjs +4 -2
- package/esm2022/core/validation/validation.mjs +4 -2
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/datepicker/calendar-body.component.mjs +3 -5
- package/esm2022/datepicker/calendar-header.component.mjs +8 -8
- package/esm2022/datepicker/calendar.component.mjs +6 -6
- package/esm2022/datepicker/datepicker-animations.mjs +1 -1
- package/esm2022/datepicker/datepicker-errors.mjs +1 -1
- package/esm2022/datepicker/datepicker-input.directive.mjs +47 -49
- package/esm2022/datepicker/datepicker-intl.mjs +1 -1
- package/esm2022/datepicker/datepicker-module.mjs +2 -2
- package/esm2022/datepicker/datepicker-toggle.component.mjs +11 -10
- package/esm2022/datepicker/datepicker.component.mjs +15 -18
- package/esm2022/datepicker/month-view.component.mjs +14 -14
- package/esm2022/datepicker/public-api.mjs +5 -5
- package/esm2022/divider/divider.component.mjs +1 -1
- package/esm2022/divider/divider.module.mjs +1 -1
- package/esm2022/dl/dl.component.mjs +7 -7
- package/esm2022/dl/dl.module.mjs +2 -2
- package/esm2022/dl/public-api.mjs +2 -2
- package/esm2022/dropdown/dropdown-animations.mjs +2 -2
- package/esm2022/dropdown/dropdown-content.directive.mjs +3 -3
- package/esm2022/dropdown/dropdown-item.component.mjs +5 -8
- package/esm2022/dropdown/dropdown-trigger.directive.mjs +24 -33
- package/esm2022/dropdown/dropdown.component.mjs +10 -19
- package/esm2022/dropdown/dropdown.module.mjs +1 -1
- package/esm2022/dropdown/dropdown.types.mjs +1 -2
- package/esm2022/dropdown/public-api.mjs +6 -6
- package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +6 -5
- package/esm2022/empty-state/empty-state.component.mjs +104 -0
- package/esm2022/empty-state/empty-state.module.mjs +50 -0
- package/esm2022/empty-state/index.mjs +2 -0
- package/esm2022/empty-state/koobiq-components-empty-state.mjs +5 -0
- package/esm2022/empty-state/public-api.mjs +3 -0
- package/esm2022/file-upload/file-drop.mjs +3 -2
- package/esm2022/file-upload/file-upload.mjs +1 -1
- package/esm2022/file-upload/file-upload.module.mjs +2 -2
- package/esm2022/file-upload/index.mjs +1 -1
- package/esm2022/file-upload/multiple-file-upload.component.mjs +16 -14
- package/esm2022/file-upload/public-api.mjs +2 -2
- package/esm2022/file-upload/single-file-upload.component.mjs +14 -12
- package/esm2022/form-field/cleaner.mjs +13 -3
- package/esm2022/form-field/form-field-control.mjs +1 -2
- package/esm2022/form-field/form-field-errors.mjs +1 -1
- package/esm2022/form-field/form-field.mjs +8 -15
- package/esm2022/form-field/form-field.module.mjs +1 -1
- package/esm2022/form-field/hint.mjs +6 -6
- package/esm2022/form-field/password-hint.mjs +15 -15
- package/esm2022/form-field/password-toggle.mjs +4 -7
- package/esm2022/form-field/prefix.mjs +1 -1
- package/esm2022/form-field/public-api.mjs +4 -4
- package/esm2022/form-field/stepper.mjs +33 -29
- package/esm2022/form-field/suffix.mjs +1 -1
- package/esm2022/form-field/validate.directive.mjs +6 -7
- package/esm2022/icon/icon-button.component.mjs +4 -4
- package/esm2022/icon/icon-item.component.mjs +3 -3
- package/esm2022/icon/icon.component.mjs +5 -6
- package/esm2022/icon/icon.module.mjs +1 -1
- package/esm2022/icon/public-api.mjs +3 -3
- package/esm2022/input/input-number-validators.mjs +1 -1
- package/esm2022/input/input-number.mjs +29 -41
- package/esm2022/input/input-password.mjs +13 -8
- package/esm2022/input/input-value-accessor.mjs +1 -1
- package/esm2022/input/input.mjs +13 -10
- package/esm2022/input/input.module.mjs +1 -1
- package/esm2022/input/public-api.mjs +3 -3
- package/esm2022/link/link.component.mjs +2 -2
- package/esm2022/link/link.module.mjs +1 -1
- package/esm2022/link/public-api.mjs +2 -2
- package/esm2022/list/list-selection.component.mjs +36 -41
- package/esm2022/list/list.component.mjs +5 -6
- package/esm2022/list/list.module.mjs +2 -2
- package/esm2022/list/public-api.mjs +3 -3
- package/esm2022/loader-overlay/loader-overlay.component.mjs +3 -3
- package/esm2022/loader-overlay/loader-overlay.module.mjs +1 -1
- package/esm2022/loader-overlay/public-api.mjs +2 -2
- package/esm2022/markdown/markdown.component.mjs +20 -6
- package/esm2022/markdown/markdown.module.mjs +1 -1
- package/esm2022/markdown/markdown.service.mjs +1 -1
- package/esm2022/modal/css-unit.pipe.mjs +1 -1
- package/esm2022/modal/modal-control.service.mjs +6 -2
- package/esm2022/modal/modal-ref.class.mjs +1 -2
- package/esm2022/modal/modal-util.mjs +1 -1
- package/esm2022/modal/modal.component.mjs +60 -33
- package/esm2022/modal/modal.directive.mjs +27 -11
- package/esm2022/modal/modal.module.mjs +2 -2
- package/esm2022/modal/modal.service.mjs +3 -6
- package/esm2022/modal/modal.type.mjs +1 -1
- package/esm2022/modal/public-api.mjs +3 -3
- package/esm2022/navbar/index.mjs +1 -1
- package/esm2022/navbar/navbar-item.component.mjs +41 -33
- package/esm2022/navbar/navbar.component.mjs +19 -29
- package/esm2022/navbar/navbar.module.mjs +2 -2
- package/esm2022/navbar/public-api.mjs +3 -3
- package/esm2022/navbar/vertical-navbar.component.mjs +21 -23
- package/esm2022/popover/popover-animations.mjs +1 -1
- package/esm2022/popover/popover-confirm.component.mjs +3 -3
- package/esm2022/popover/popover.component.mjs +5 -5
- package/esm2022/popover/popover.module.mjs +1 -1
- package/esm2022/popover/public-api.mjs +3 -3
- package/esm2022/progress-bar/progress-bar.component.mjs +4 -4
- package/esm2022/progress-bar/progress-bar.module.mjs +2 -2
- package/esm2022/progress-bar/public-api.mjs +2 -2
- package/esm2022/progress-spinner/progress-spinner.component.mjs +4 -4
- package/esm2022/progress-spinner/progress-spinner.module.mjs +1 -1
- package/esm2022/progress-spinner/public-api.mjs +2 -2
- package/esm2022/radio/public-api.mjs +2 -2
- package/esm2022/radio/radio.component.mjs +9 -14
- package/esm2022/radio/radio.module.mjs +1 -1
- package/esm2022/risk-level/public-api.mjs +2 -2
- package/esm2022/risk-level/risk-level.component.mjs +3 -3
- package/esm2022/risk-level/risk-level.module.mjs +1 -1
- package/esm2022/scrollbar/public-api.mjs +2 -2
- package/esm2022/scrollbar/scrollbar.component.mjs +19 -21
- package/esm2022/scrollbar/scrollbar.directive.mjs +4 -5
- package/esm2022/scrollbar/scrollbar.module.mjs +2 -2
- package/esm2022/scrollbar/scrollbar.types.mjs +3 -2
- package/esm2022/select/public-api.mjs +3 -3
- package/esm2022/select/select-option.directive.mjs +8 -5
- package/esm2022/select/select.component.mjs +45 -71
- package/esm2022/select/select.module.mjs +1 -1
- package/esm2022/sidebar/public-api.mjs +2 -2
- package/esm2022/sidebar/sidebar-animations.mjs +1 -1
- package/esm2022/sidebar/sidebar.component.mjs +5 -7
- package/esm2022/sidebar/sidebar.module.mjs +1 -1
- package/esm2022/sidepanel/public-api.mjs +4 -4
- package/esm2022/sidepanel/sidepanel-animations.mjs +7 -4
- package/esm2022/sidepanel/sidepanel-config.mjs +1 -1
- package/esm2022/sidepanel/sidepanel-container.component.mjs +4 -4
- package/esm2022/sidepanel/sidepanel-directives.mjs +33 -20
- package/esm2022/sidepanel/sidepanel-ref.mjs +10 -5
- package/esm2022/sidepanel/sidepanel.module.mjs +1 -1
- package/esm2022/sidepanel/sidepanel.service.mjs +11 -15
- package/esm2022/splitter/public-api.mjs +2 -2
- package/esm2022/splitter/splitter.component.mjs +13 -24
- package/esm2022/splitter/splitter.module.mjs +1 -1
- package/esm2022/table/public-api.mjs +2 -2
- package/esm2022/table/table.component.mjs +3 -3
- package/esm2022/table/table.module.mjs +1 -1
- package/esm2022/tabs/paginated-tab-header.mjs +9 -14
- package/esm2022/tabs/public-api.mjs +6 -6
- package/esm2022/tabs/tab-body.component.mjs +10 -11
- package/esm2022/tabs/tab-content.directive.mjs +1 -1
- package/esm2022/tabs/tab-group.component.mjs +11 -13
- package/esm2022/tabs/tab-header.component.mjs +4 -4
- package/esm2022/tabs/tab-label-wrapper.directive.mjs +1 -1
- package/esm2022/tabs/tab-label.directive.mjs +1 -1
- package/esm2022/tabs/tab-nav-bar/index.mjs +1 -1
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +46 -49
- package/esm2022/tabs/tab.component.mjs +7 -10
- package/esm2022/tabs/tabs-animations.mjs +1 -1
- package/esm2022/tabs/tabs.module.mjs +2 -2
- package/esm2022/tags/public-api.mjs +5 -5
- package/esm2022/tags/tag-default-options.mjs +1 -1
- package/esm2022/tags/tag-input.mjs +12 -16
- package/esm2022/tags/tag-list.component.mjs +15 -27
- package/esm2022/tags/tag-text-control.mjs +1 -1
- package/esm2022/tags/tag.component.mjs +5 -8
- package/esm2022/tags/tag.module.mjs +9 -7
- package/esm2022/textarea/index.mjs +1 -1
- package/esm2022/textarea/textarea.component.mjs +4 -7
- package/esm2022/textarea/textarea.module.mjs +1 -1
- package/esm2022/timepicker/public-api.mjs +2 -2
- package/esm2022/timepicker/timepicker.constants.mjs +6 -2
- package/esm2022/timepicker/timepicker.directive.mjs +62 -31
- package/esm2022/timepicker/timepicker.module.mjs +1 -1
- package/esm2022/timezone/cities-by-filter.pipe.mjs +1 -1
- package/esm2022/timezone/timezone-option.component.mjs +12 -11
- package/esm2022/timezone/timezone-option.directive.mjs +3 -3
- package/esm2022/timezone/timezone-select.component.mjs +5 -5
- package/esm2022/timezone/timezone.models.mjs +1 -2
- package/esm2022/timezone/timezone.module.mjs +1 -1
- package/esm2022/timezone/timezone.utils.mjs +5 -9
- package/esm2022/timezone/utc-offset.pipe.mjs +1 -1
- package/esm2022/title/public-api.mjs +2 -2
- package/esm2022/title/title.directive.mjs +9 -5
- package/esm2022/title/title.module.mjs +1 -1
- package/esm2022/toast/public-api.mjs +4 -4
- package/esm2022/toast/toast-animations.mjs +2 -2
- package/esm2022/toast/toast-container.component.mjs +5 -6
- package/esm2022/toast/toast.component.mjs +6 -6
- package/esm2022/toast/toast.module.mjs +1 -1
- package/esm2022/toast/toast.service.mjs +18 -30
- package/esm2022/toast/toast.type.mjs +1 -1
- package/esm2022/toggle/public-api.mjs +2 -2
- package/esm2022/toggle/toggle.component.mjs +17 -11
- package/esm2022/toggle/toggle.module.mjs +1 -1
- package/esm2022/tooltip/public-api.mjs +2 -2
- package/esm2022/tooltip/tooltip.animations.mjs +1 -1
- package/esm2022/tooltip/tooltip.component.mjs +7 -7
- package/esm2022/tooltip/tooltip.module.mjs +2 -2
- package/esm2022/tree/control/base-tree-control.mjs +1 -2
- package/esm2022/tree/control/flat-tree-control.filters.mjs +4 -7
- package/esm2022/tree/control/flat-tree-control.mjs +4 -7
- package/esm2022/tree/control/nested-tree-control.mjs +1 -2
- package/esm2022/tree/control/tree-control.mjs +1 -1
- package/esm2022/tree/data-source/flat-data-source.mjs +3 -8
- package/esm2022/tree/data-source/nested-data-source.mjs +2 -4
- package/esm2022/tree/node.mjs +1 -1
- package/esm2022/tree/outlet.mjs +1 -1
- package/esm2022/tree/padding.directive.mjs +4 -5
- package/esm2022/tree/public-api.mjs +11 -11
- package/esm2022/tree/toggle.mjs +8 -5
- package/esm2022/tree/tree-base.mjs +3 -7
- package/esm2022/tree/tree-errors.mjs +1 -1
- package/esm2022/tree/tree-option.component.mjs +9 -13
- package/esm2022/tree/tree-selection.component.mjs +20 -36
- package/esm2022/tree/tree.mjs +7 -3
- package/esm2022/tree/tree.module.mjs +2 -3
- package/esm2022/tree-select/public-api.mjs +2 -2
- package/esm2022/tree-select/tree-select.component.mjs +59 -72
- package/esm2022/tree-select/tree-select.module.mjs +1 -1
- package/fesm2022/koobiq-components-alert.mjs +10 -6
- package/fesm2022/koobiq-components-alert.mjs.map +1 -1
- package/fesm2022/koobiq-components-autocomplete.mjs +60 -72
- package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
- package/fesm2022/koobiq-components-badge.mjs +10 -8
- package/fesm2022/koobiq-components-badge.mjs.map +1 -1
- package/fesm2022/koobiq-components-button-toggle.mjs +30 -24
- package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-button.mjs +14 -11
- package/fesm2022/koobiq-components-button.mjs.map +1 -1
- package/fesm2022/koobiq-components-card.mjs +4 -5
- package/fesm2022/koobiq-components-card.mjs.map +1 -1
- package/fesm2022/koobiq-components-checkbox.mjs +3 -5
- package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
- package/fesm2022/koobiq-components-code-block.mjs +34 -34
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +325 -336
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +105 -111
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-divider.mjs.map +1 -1
- package/fesm2022/koobiq-components-dl.mjs +9 -9
- package/fesm2022/koobiq-components-dl.mjs.map +1 -1
- package/fesm2022/koobiq-components-dropdown.mjs +125 -147
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-ellipsis-center.mjs +3 -2
- package/fesm2022/koobiq-components-ellipsis-center.mjs.map +1 -1
- package/fesm2022/koobiq-components-empty-state.mjs +157 -0
- package/fesm2022/koobiq-components-empty-state.mjs.map +1 -0
- package/fesm2022/koobiq-components-file-upload.mjs +46 -41
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +75 -73
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +9 -10
- package/fesm2022/koobiq-components-icon.mjs.map +1 -1
- package/fesm2022/koobiq-components-input.mjs +56 -60
- package/fesm2022/koobiq-components-input.mjs.map +1 -1
- package/fesm2022/koobiq-components-link.mjs +1 -1
- package/fesm2022/koobiq-components-link.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +43 -49
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-loader-overlay.mjs +6 -6
- package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
- package/fesm2022/koobiq-components-markdown.mjs +18 -4
- package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +96 -54
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +82 -86
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +12 -12
- package/fesm2022/koobiq-components-popover.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-bar.mjs +5 -5
- package/fesm2022/koobiq-components-progress-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-spinner.mjs +5 -5
- package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
- package/fesm2022/koobiq-components-radio.mjs +11 -16
- package/fesm2022/koobiq-components-radio.mjs.map +1 -1
- package/fesm2022/koobiq-components-risk-level.mjs +4 -4
- package/fesm2022/koobiq-components-risk-level.mjs.map +1 -1
- package/fesm2022/koobiq-components-scrollbar.mjs +22 -24
- package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-select.mjs +55 -78
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidebar.mjs +5 -7
- package/fesm2022/koobiq-components-sidebar.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidepanel.mjs +110 -93
- package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
- package/fesm2022/koobiq-components-splitter.mjs +15 -26
- package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
- package/fesm2022/koobiq-components-table.mjs +5 -5
- package/fesm2022/koobiq-components-table.mjs.map +1 -1
- package/fesm2022/koobiq-components-tabs.mjs +85 -98
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +39 -56
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-textarea.mjs +2 -5
- package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
- package/fesm2022/koobiq-components-timepicker.mjs +69 -34
- package/fesm2022/koobiq-components-timepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-timezone.mjs +16 -21
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-title.mjs +11 -7
- package/fesm2022/koobiq-components-title.mjs.map +1 -1
- package/fesm2022/koobiq-components-toast.mjs +74 -87
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/fesm2022/koobiq-components-toggle.mjs +17 -11
- package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-tooltip.mjs +10 -10
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +67 -80
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +509 -541
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/file-upload/_file-upload-theme.scss +28 -18
- package/file-upload/file-upload.scss +0 -1
- package/file-upload/multiple-file-upload.component.d.ts +2 -2
- package/file-upload/multiple-file-upload.component.scss +17 -27
- package/file-upload/public-api.d.ts +1 -1
- package/file-upload/single-file-upload.component.d.ts +2 -2
- package/file-upload/single-file-upload.component.scss +1 -7
- package/form-field/_form-field-theme.scss +24 -12
- package/form-field/_hint-theme.scss +0 -2
- package/form-field/cleaner.scss +0 -1
- package/form-field/form-field.scss +12 -14
- package/form-field/hint.scss +0 -1
- package/form-field/password-toggle.scss +0 -1
- package/form-field/public-api.d.ts +3 -3
- package/form-field/stepper.scss +0 -1
- package/icon/_icon-button-theme.scss +18 -7
- package/icon/_icon-theme.scss +0 -1
- package/icon/icon-button.scss +2 -5
- package/icon/icon-item.scss +2 -5
- package/icon/icon.scss +0 -1
- package/icon/public-api.d.ts +2 -2
- package/input/_input-theme.scss +0 -1
- package/input/input.scss +9 -9
- package/input/public-api.d.ts +2 -2
- package/link/_link-theme.scss +12 -18
- package/link/link.component.d.ts +1 -1
- package/link/public-api.d.ts +1 -1
- package/list/_list-theme.scss +0 -1
- package/list/list-selection.component.d.ts +3 -3
- package/list/list.scss +1 -3
- package/list/public-api.d.ts +2 -2
- package/loader-overlay/_loader-overlay-theme.scss +6 -4
- package/loader-overlay/loader-overlay.scss +0 -1
- package/loader-overlay/public-api.d.ts +1 -1
- package/markdown/_markdown-theme.scss +11 -8
- package/markdown/markdown.scss +3 -3
- package/modal/README.md +4 -3
- package/modal/_modal-animation.scss +0 -1
- package/modal/_modal-confirm.scss +0 -1
- package/modal/_modal-theme.scss +8 -9
- package/modal/modal.directive.d.ts +3 -3
- package/modal/modal.scss +9 -15
- package/modal/modal.type.d.ts +2 -2
- package/modal/public-api.d.ts +2 -2
- package/navbar/README.md +21 -20
- package/navbar/_navbar-item_horizontal.scss +31 -24
- package/navbar/_navbar-item_vertical.scss +0 -3
- package/navbar/_navbar-theme.scss +3 -6
- package/navbar/navbar-brand.scss +0 -1
- package/navbar/navbar-divider.scss +0 -1
- package/navbar/navbar-item.component.d.ts +1 -1
- package/navbar/navbar-item.scss +9 -2
- package/navbar/navbar.scss +0 -1
- package/navbar/public-api.d.ts +2 -2
- package/navbar/vertical-navbar.scss +0 -1
- package/package.json +12 -6
- package/popover/README.md +17 -14
- package/popover/_popover-theme.scss +0 -1
- package/popover/popover.component.d.ts +1 -1
- package/popover/popover.scss +5 -13
- package/popover/public-api.d.ts +2 -2
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/progress-bar/_progress-bar-theme.scss +0 -1
- package/progress-bar/progress-bar.scss +0 -1
- package/progress-bar/public-api.d.ts +1 -1
- package/progress-spinner/_progress-spinner-theme.scss +0 -1
- package/progress-spinner/progress-spinner.scss +0 -1
- package/progress-spinner/public-api.d.ts +1 -1
- package/radio/_radio-theme.scss +13 -5
- package/radio/public-api.d.ts +1 -1
- package/radio/radio.scss +20 -6
- package/risk-level/_risk-level-theme.scss +0 -1
- package/risk-level/public-api.d.ts +1 -1
- package/risk-level/risk-level.component.scss +1 -4
- package/schematics/ng-add/index.js +4 -4
- package/scrollbar/_scrollbar-component-theme.scss +2 -3
- package/scrollbar/public-api.d.ts +1 -1
- package/scrollbar/scrollbar.component.scss +56 -44
- package/scrollbar/scrollbar.directive.d.ts +1 -1
- package/scrollbar/scrollbar.types.d.ts +1 -1
- package/select/_select-theme.scss +0 -1
- package/select/public-api.d.ts +2 -2
- package/select/select.component.d.ts +4 -1
- package/select/select.scss +0 -1
- package/sidebar/public-api.d.ts +1 -1
- package/sidepanel/_sidepanel-theme.scss +0 -1
- package/sidepanel/public-api.d.ts +3 -3
- package/sidepanel/sidepanel.scss +6 -12
- package/splitter/_splitter-theme.scss +0 -1
- package/splitter/public-api.d.ts +1 -1
- package/splitter/splitter.component.d.ts +2 -2
- package/splitter/splitter.scss +0 -1
- package/table/_table-theme.scss +7 -7
- package/table/public-api.d.ts +1 -1
- package/table/table.scss +2 -2
- package/tabs/_tabs-common.scss +10 -8
- package/tabs/_tabs-theme.scss +0 -1
- package/tabs/paginated-tab-header.d.ts +1 -1
- package/tabs/public-api.d.ts +5 -5
- package/tabs/tab-body.component.d.ts +3 -3
- package/tabs/tab-group.component.d.ts +1 -1
- package/tabs/tab-group.scss +0 -1
- package/tabs/tab-header.scss +0 -6
- package/tabs/tab-nav-bar/tab-nav-bar.d.ts +17 -17
- package/tabs/tab-nav-bar/tab-nav-bar.scss +0 -1
- package/tags/_tag-theme.scss +0 -2
- package/tags/public-api.d.ts +4 -4
- package/tags/tag-input.d.ts +1 -1
- package/tags/tag-list.scss +9 -7
- package/tags/tag.component.d.ts +2 -2
- package/tags/tag.scss +1 -4
- package/textarea/_textarea-theme.scss +0 -1
- package/textarea/textarea.component.d.ts +1 -1
- package/textarea/textarea.scss +1 -4
- package/timepicker/public-api.d.ts +1 -1
- package/timepicker/timepicker.constants.d.ts +2 -0
- package/timepicker/timepicker.directive.d.ts +10 -3
- package/timepicker/timepicker.scss +0 -1
- package/timezone/_timezone-option-theme.scss +0 -1
- package/timezone/timezone-option.component.scss +0 -1
- package/timezone/timezone-option.directive.d.ts +1 -1
- package/timezone/timezone-select.component.scss +0 -1
- package/timezone/timezone.utils.d.ts +1 -1
- package/title/public-api.d.ts +1 -1
- package/title/title.directive.d.ts +2 -2
- package/toast/_toast-theme.scss +0 -2
- package/toast/public-api.d.ts +3 -3
- package/toast/toast-container.component.scss +0 -1
- package/toast/toast.component.scss +4 -2
- package/toast/toast.service.d.ts +2 -2
- package/toast/toast.type.d.ts +1 -1
- package/toggle/_toggle-theme.scss +10 -9
- package/toggle/public-api.d.ts +1 -1
- package/toggle/toggle.component.d.ts +2 -2
- package/toggle/toggle.scss +0 -1
- package/tooltip/_tooltip-theme.scss +0 -1
- package/tooltip/public-api.d.ts +1 -1
- package/tooltip/tooltip.component.d.ts +2 -2
- package/tooltip/tooltip.scss +1 -5
- package/tree/_tree-theme.scss +2 -3
- package/tree/public-api.d.ts +10 -10
- package/tree/toggle.scss +0 -1
- package/tree/tree-base.d.ts +1 -1
- package/tree/tree-option.component.d.ts +1 -1
- package/tree/tree-option.scss +12 -8
- package/tree/tree-selection.component.d.ts +3 -2
- package/tree-select/_tree-select-theme.scss +0 -1
- package/tree-select/public-api.d.ts +1 -1
- package/tree-select/tree-select.component.d.ts +9 -4
- package/tree-select/tree-select.scss +0 -1
|
@@ -4,26 +4,27 @@
|
|
|
4
4
|
@use '../core/styles/typography/typography-utils' as *;
|
|
5
5
|
@use '../core/styles/common/tokens' as *;
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
/* stylelint-disable no-descending-specificity */
|
|
9
7
|
@mixin kbq-file-upload-theme($theme) {
|
|
10
8
|
$file-upload: map.get($theme, components, file-upload);
|
|
11
9
|
|
|
12
10
|
.kbq-file-upload {
|
|
13
|
-
.kbq-focused,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
.kbq-focused,
|
|
12
|
+
.kbq-link.kbq-focused {
|
|
13
|
+
border: 2px solid
|
|
14
|
+
kbq-css-variable(file-upload-single-states-focused, map.get($file-upload, single, states, focused));
|
|
17
15
|
}
|
|
18
16
|
}
|
|
19
17
|
|
|
20
18
|
.kbq-single-file-upload {
|
|
21
19
|
.kbq-file-upload {
|
|
22
20
|
background-color: kbq-css-variable(
|
|
23
|
-
file-upload-single-default-background,
|
|
21
|
+
file-upload-single-default-background,
|
|
22
|
+
map.get($file-upload, single, default, background)
|
|
24
23
|
);
|
|
25
24
|
border-color: kbq-css-variable(
|
|
26
|
-
file-upload-single-default-border,
|
|
25
|
+
file-upload-single-default-border,
|
|
26
|
+
map.get($file-upload, single, default, border)
|
|
27
|
+
) !important;
|
|
27
28
|
|
|
28
29
|
&.dragover {
|
|
29
30
|
background-color: kbq-css-variable(
|
|
@@ -32,7 +33,8 @@
|
|
|
32
33
|
);
|
|
33
34
|
border-color: kbq-css-variable(
|
|
34
35
|
file-upload-single-states-on-drag-border,
|
|
35
|
-
map.get($file-upload, single, states, on-drag, border)
|
|
36
|
+
map.get($file-upload, single, states, on-drag, border)
|
|
37
|
+
) !important;
|
|
36
38
|
}
|
|
37
39
|
|
|
38
40
|
&.kbq-error:not(.kbq-disabled) {
|
|
@@ -43,7 +45,8 @@
|
|
|
43
45
|
);
|
|
44
46
|
border-color: kbq-css-variable(
|
|
45
47
|
file-upload-single-states-error-border,
|
|
46
|
-
map.get($file-upload, single, states, error, border)
|
|
48
|
+
map.get($file-upload, single, states, error, border)
|
|
49
|
+
) !important;
|
|
47
50
|
}
|
|
48
51
|
|
|
49
52
|
*,
|
|
@@ -80,18 +83,25 @@
|
|
|
80
83
|
.kbq-multiple-file-upload {
|
|
81
84
|
.kbq-file-upload {
|
|
82
85
|
background-color: kbq-css-variable(
|
|
83
|
-
file-upload-multiple-default-background,
|
|
86
|
+
file-upload-multiple-default-background,
|
|
87
|
+
map.get($file-upload, multiple, default, background)
|
|
88
|
+
);
|
|
84
89
|
border-color: kbq-css-variable(
|
|
85
|
-
file-upload-multiple-default-border,
|
|
90
|
+
file-upload-multiple-default-border,
|
|
91
|
+
map.get($file-upload, multiple, default, border)
|
|
92
|
+
) !important;
|
|
86
93
|
|
|
87
94
|
.btn-upload {
|
|
88
95
|
border-top-color: kbq-css-variable(
|
|
89
|
-
file-upload-multiple-default-border,
|
|
96
|
+
file-upload-multiple-default-border,
|
|
97
|
+
map.get($file-upload, multiple, default, border)
|
|
98
|
+
);
|
|
90
99
|
}
|
|
91
100
|
|
|
92
101
|
.kbq-file-multiple-uploaded__header {
|
|
93
102
|
border-bottom-color: kbq-css-variable(
|
|
94
|
-
file-upload-multiple-default-grid-divider,
|
|
103
|
+
file-upload-multiple-default-grid-divider,
|
|
104
|
+
map.get($file-upload, multiple, default, grid-divider)
|
|
95
105
|
);
|
|
96
106
|
|
|
97
107
|
.kbq-file-multiple-uploaded__header-inner {
|
|
@@ -170,13 +180,15 @@
|
|
|
170
180
|
.multiple__uploaded-item {
|
|
171
181
|
& .kbq-file-upload__file .kbq-icon {
|
|
172
182
|
color: kbq-css-variable(
|
|
173
|
-
file-upload-multiple-default-left-icon,
|
|
183
|
+
file-upload-multiple-default-left-icon,
|
|
184
|
+
map.get($file-upload, multiple, default, left-icon)
|
|
174
185
|
);
|
|
175
186
|
}
|
|
176
187
|
|
|
177
188
|
& .kbq-file-upload__action .kbq-icon {
|
|
178
189
|
color: kbq-css-variable(
|
|
179
|
-
file-upload-multiple-default-icon-button,
|
|
190
|
+
file-upload-multiple-default-icon-button,
|
|
191
|
+
map.get($file-upload, multiple, default, icon-button)
|
|
180
192
|
);
|
|
181
193
|
}
|
|
182
194
|
}
|
|
@@ -191,7 +203,6 @@
|
|
|
191
203
|
}
|
|
192
204
|
}
|
|
193
205
|
|
|
194
|
-
|
|
195
206
|
@mixin kbq-file-upload-typography($config) {
|
|
196
207
|
.kbq-single-file-upload {
|
|
197
208
|
& .file-item__text-wrapper,
|
|
@@ -235,4 +246,3 @@
|
|
|
235
246
|
}
|
|
236
247
|
}
|
|
237
248
|
}
|
|
238
|
-
/* stylelint-enable no-descending-specificity */
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, Renderer2, TemplateRef } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
2
3
|
import { CanDisable, KbqLocaleService } from '@koobiq/components/core';
|
|
4
|
+
import { ProgressSpinnerMode } from '@koobiq/components/progress-spinner';
|
|
3
5
|
import { Subscription } from 'rxjs';
|
|
4
6
|
import { KbqFile, KbqFileItem, KbqFileValidatorFn, KbqInputFile, KbqInputFileLabel } from './file-upload';
|
|
5
|
-
import { ProgressSpinnerMode } from '@koobiq/components/progress-spinner';
|
|
6
|
-
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export interface KbqInputFileMultipleLabel extends KbqInputFileLabel {
|
|
9
9
|
captionTextWhenSelected: string;
|
|
@@ -4,12 +4,9 @@
|
|
|
4
4
|
@use '../core/styles/tokens';
|
|
5
5
|
@use '../core/styles/common/tokens' as *;
|
|
6
6
|
|
|
7
|
-
|
|
8
7
|
$tokens: meta.module-variables(tokens) !default;
|
|
9
8
|
|
|
10
|
-
//todo нужно рефакторить со стилями тут сложно
|
|
11
|
-
/* stylelint-disable no-descending-specificity */
|
|
12
|
-
|
|
9
|
+
// todo нужно рефакторить со стилями тут сложно
|
|
13
10
|
.kbq-multiple-file-upload .kbq-file-upload {
|
|
14
11
|
border-radius: kbq-css-variable(file-upload-size-multiple-big-container-border-radius);
|
|
15
12
|
border-width: kbq-css-variable(file-upload-size-multiple-big-container-border-width);
|
|
@@ -18,8 +15,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
18
15
|
&.default:not(.selected) {
|
|
19
16
|
justify-content: center;
|
|
20
17
|
|
|
21
|
-
padding:
|
|
22
|
-
kbq-css-variable(file-upload-size-multiple-big-container-padding-vertical)
|
|
18
|
+
padding: kbq-css-variable(file-upload-size-multiple-big-container-padding-vertical)
|
|
23
19
|
kbq-css-variable(file-upload-size-multiple-big-container-padding-vertical);
|
|
24
20
|
|
|
25
21
|
min-height: kbq-css-variable(file-upload-size-multiple-big-container-min-height);
|
|
@@ -45,8 +41,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
45
41
|
}
|
|
46
42
|
|
|
47
43
|
&.compact:not(.selected) {
|
|
48
|
-
padding:
|
|
49
|
-
kbq-css-variable(file-upload-size-single-container-padding-vertical)
|
|
44
|
+
padding: kbq-css-variable(file-upload-size-single-container-padding-vertical)
|
|
50
45
|
kbq-css-variable(file-upload-size-single-container-padding-horizontal);
|
|
51
46
|
|
|
52
47
|
& .dropzone {
|
|
@@ -70,14 +65,17 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
70
65
|
$padding-horizontal: map.get($tokens, file-upload-size-multiple-big-grid-cell-padding-horizontal);
|
|
71
66
|
$outline-width: map.get($tokens, list-size-container-focus-outline-width);
|
|
72
67
|
|
|
73
|
-
padding:
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
68
|
+
padding: calc(
|
|
69
|
+
var(--kbq-file-upload-size-multiple-big-grid-cell-padding-vertical, $padding-vertical) - var(
|
|
70
|
+
--kbq-list-size-container-focus-outline-width,
|
|
71
|
+
$outline-width
|
|
72
|
+
)
|
|
77
73
|
)
|
|
78
74
|
calc(
|
|
79
|
-
var(--kbq-file-upload-size-multiple-big-grid-cell-padding-horizontal, $padding-horizontal) -
|
|
80
|
-
|
|
75
|
+
var(--kbq-file-upload-size-multiple-big-grid-cell-padding-horizontal, $padding-horizontal) - var(
|
|
76
|
+
--kbq-list-size-container-focus-outline-width,
|
|
77
|
+
$outline-width
|
|
78
|
+
)
|
|
81
79
|
);
|
|
82
80
|
}
|
|
83
81
|
|
|
@@ -111,7 +109,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
111
109
|
|
|
112
110
|
.kbq-file-upload__file,
|
|
113
111
|
.kbq-file-upload__size,
|
|
114
|
-
.kbq-file-upload__action
|
|
112
|
+
.kbq-file-upload__action {
|
|
115
113
|
//padding-left: $horizontal-padding-item;
|
|
116
114
|
//padding-right: $horizontal-padding-item;
|
|
117
115
|
}
|
|
@@ -138,17 +136,15 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
138
136
|
$padding-horizontal: map.get($tokens, file-upload-size-multiple-big-grid-cell-padding-horizontal);
|
|
139
137
|
$compensation: 2px;
|
|
140
138
|
|
|
141
|
-
padding:
|
|
142
|
-
calc(
|
|
139
|
+
padding: calc(
|
|
143
140
|
var(--kbq-file-upload-size-multiple-big-grid-cell-padding-vertical, $padding-vertical) +
|
|
144
|
-
|
|
141
|
+
$compensation
|
|
145
142
|
)
|
|
146
143
|
calc(
|
|
147
144
|
var(--kbq-file-upload-size-multiple-big-grid-cell-padding-horizontal, $padding-horizontal) +
|
|
148
|
-
|
|
145
|
+
$compensation
|
|
149
146
|
);
|
|
150
147
|
}
|
|
151
|
-
|
|
152
148
|
}
|
|
153
149
|
|
|
154
150
|
.btn-upload {
|
|
@@ -156,8 +152,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
156
152
|
$padding-horizontal: map.get($tokens, file-upload-size-single-container-padding-horizontal);
|
|
157
153
|
$border-width: map.get($tokens, file-upload-size-single-container-border-width);
|
|
158
154
|
|
|
159
|
-
padding:
|
|
160
|
-
calc(var(--kbq-file-upload-size-single-container-padding-vertical, $padding-vertical) - $border-width)
|
|
155
|
+
padding: calc(var(--kbq-file-upload-size-single-container-padding-vertical, $padding-vertical) - $border-width)
|
|
161
156
|
calc(var(--kbq-file-upload-size-single-container-padding-horizontal, $padding-horizontal) - $border-width);
|
|
162
157
|
|
|
163
158
|
border-top-left-radius: kbq-css-variable(file-upload-size-single-container-border-radius);
|
|
@@ -185,11 +180,6 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
185
180
|
}
|
|
186
181
|
}
|
|
187
182
|
|
|
188
|
-
.kbq-hint {
|
|
189
|
-
display: block;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
183
|
.kbq-file-upload__hint {
|
|
193
184
|
margin-top: kbq-css-variable(form-field-hint-size-margin-top);
|
|
194
185
|
}
|
|
195
|
-
/* stylelint-enable no-descending-specificity */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, Renderer2 } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
2
3
|
import { CanDisable, KbqLocaleService } from '@koobiq/components/core';
|
|
3
|
-
import { Subscription } from 'rxjs';
|
|
4
4
|
import { ProgressSpinnerMode } from '@koobiq/components/progress-spinner';
|
|
5
|
-
import {
|
|
5
|
+
import { Subscription } from 'rxjs';
|
|
6
6
|
import { KbqFile, KbqFileItem, KbqFileValidatorFn, KbqInputFile, KbqInputFileLabel } from './file-upload';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare const KBQ_SINGLE_FILE_UPLOAD_DEFAULT_CONFIGURATION: KbqInputFileLabel;
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
@use '../core/styles/common';
|
|
7
7
|
@use '../core/styles/common/tokens' as *;
|
|
8
8
|
|
|
9
|
-
|
|
10
9
|
$tokens: meta.module-variables(tokens) !default;
|
|
11
10
|
|
|
12
11
|
.kbq-single-file-upload .kbq-file-upload {
|
|
@@ -14,8 +13,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
14
13
|
$padding-horizontal: map.get($tokens, file-upload-size-single-container-padding-horizontal);
|
|
15
14
|
$border-width: map.get($tokens, file-upload-size-single-container-border-width);
|
|
16
15
|
|
|
17
|
-
padding:
|
|
18
|
-
calc(var(--kbq-file-upload-size-single-container-padding-vertical, $padding-vertical) - $border-width)
|
|
16
|
+
padding: calc(var(--kbq-file-upload-size-single-container-padding-vertical, $padding-vertical) - $border-width)
|
|
19
17
|
calc(var(--kbq-file-upload-size-single-container-padding-horizontal, $padding-horizontal) - $border-width);
|
|
20
18
|
|
|
21
19
|
border-radius: kbq-css-variable(file-upload-size-single-container-border-radius);
|
|
@@ -52,10 +50,6 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
52
50
|
}
|
|
53
51
|
}
|
|
54
52
|
|
|
55
|
-
.kbq-hint {
|
|
56
|
-
display: block;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
53
|
.kbq-file-upload__hint {
|
|
60
54
|
margin-top: kbq-css-variable(form-field-hint-size-margin-top);
|
|
61
55
|
}
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
@use '../core/styles/typography/typography-utils' as *;
|
|
6
6
|
@use '../core/styles/common/tokens' as *;
|
|
7
7
|
|
|
8
|
-
|
|
9
8
|
@mixin kbq-form-field-state($component, $state-name) {
|
|
10
9
|
$state: map.get($component, $state-name);
|
|
11
10
|
|
|
@@ -39,18 +38,25 @@
|
|
|
39
38
|
|
|
40
39
|
@include kbq-form-field-state($form-field, default);
|
|
41
40
|
|
|
42
|
-
/* stylelint-disable no-descending-specificity */
|
|
43
41
|
& .kbq-input {
|
|
44
42
|
//https://css-tricks.com/almanac/selectors/a/autofill/
|
|
45
43
|
&:-webkit-autofill,
|
|
46
44
|
&:-webkit-autofill:hover,
|
|
47
45
|
&:-webkit-autofill:focus {
|
|
48
|
-
-webkit-box-shadow: 0 0 0 40rem
|
|
49
|
-
|
|
46
|
+
-webkit-box-shadow: 0 0 0 40rem
|
|
47
|
+
kbq-css-variable(
|
|
48
|
+
form-field-states-autofill-background,
|
|
49
|
+
map.get($form-field, states-autofill, background)
|
|
50
|
+
)
|
|
51
|
+
inset;
|
|
50
52
|
-webkit-text-fill-color: kbq-css-variable(
|
|
51
|
-
form-field-states-autofill-text,
|
|
53
|
+
form-field-states-autofill-text,
|
|
54
|
+
map.get($form-field, states-autofill, text)
|
|
55
|
+
);
|
|
52
56
|
caret-color: kbq-css-variable(
|
|
53
|
-
form-field-states-autofill-text,
|
|
57
|
+
form-field-states-autofill-text,
|
|
58
|
+
map.get($form-field, states-autofill, text)
|
|
59
|
+
);
|
|
54
60
|
}
|
|
55
61
|
}
|
|
56
62
|
|
|
@@ -58,8 +64,11 @@
|
|
|
58
64
|
@include kbq-form-field-state($form-field, states-focused);
|
|
59
65
|
|
|
60
66
|
& .kbq-form-field__container {
|
|
61
|
-
box-shadow: 0 0 0.1px 1px
|
|
62
|
-
|
|
67
|
+
box-shadow: 0 0 0.1px 1px
|
|
68
|
+
kbq-css-variable(
|
|
69
|
+
form-field-states-focused-focu-outline,
|
|
70
|
+
map.get($form-field, states-focused, focus-outline)
|
|
71
|
+
);
|
|
63
72
|
}
|
|
64
73
|
}
|
|
65
74
|
|
|
@@ -68,8 +77,11 @@
|
|
|
68
77
|
@include kbq-form-field-state($form-field, states-error);
|
|
69
78
|
|
|
70
79
|
&.cdk-focused .kbq-form-field__container {
|
|
71
|
-
box-shadow: 0 0 0.1px 1px
|
|
72
|
-
|
|
80
|
+
box-shadow: 0 0 0.1px 1px
|
|
81
|
+
kbq-css-variable(
|
|
82
|
+
form-field-states-error-focu-outline,
|
|
83
|
+
map.get($form-field, states-error, focus-outline)
|
|
84
|
+
);
|
|
73
85
|
}
|
|
74
86
|
}
|
|
75
87
|
|
|
@@ -79,11 +91,11 @@
|
|
|
79
91
|
.kbq-icon {
|
|
80
92
|
color: kbq-css-variable(form-field-disabled-text, map.get($form-field, disabled, text));
|
|
81
93
|
-webkit-text-fill-color: kbq-css-variable(
|
|
82
|
-
form-field-disabled-text,
|
|
94
|
+
form-field-disabled-text,
|
|
95
|
+
map.get($form-field, disabled, text)
|
|
83
96
|
);
|
|
84
97
|
}
|
|
85
98
|
}
|
|
86
|
-
/* stylelint-enable no-descending-specificity */
|
|
87
99
|
}
|
|
88
100
|
|
|
89
101
|
.kbq-form-field__hint {
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
@use '../core/styles/typography/typography-utils' as *;
|
|
6
6
|
@use '../core/styles/common/tokens' as *;
|
|
7
7
|
|
|
8
|
-
|
|
9
8
|
@mixin kbq-hint-color($component, $type, $style-name) {
|
|
10
9
|
$style: map.get($component, $type, $style-name);
|
|
11
10
|
|
|
@@ -16,7 +15,6 @@
|
|
|
16
15
|
}
|
|
17
16
|
}
|
|
18
17
|
|
|
19
|
-
|
|
20
18
|
@mixin kbq-hint-theme($theme) {
|
|
21
19
|
$hint: map.get(map.get($theme, components), hint);
|
|
22
20
|
|
package/form-field/cleaner.scss
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/* stylelint-disable scss/operator-no-newline-after */
|
|
2
|
+
|
|
1
3
|
@use 'sass:meta';
|
|
2
4
|
@use 'sass:map';
|
|
3
5
|
|
|
@@ -6,11 +8,8 @@
|
|
|
6
8
|
@use '../core/styles/tokens';
|
|
7
9
|
@use '../core/styles/common/tokens' as *;
|
|
8
10
|
|
|
9
|
-
|
|
10
11
|
$tokens: meta.module-variables(tokens) !default;
|
|
11
12
|
|
|
12
|
-
/* stylelint-disable no-descending-specificity */
|
|
13
|
-
|
|
14
13
|
.kbq-form-field {
|
|
15
14
|
position: relative;
|
|
16
15
|
display: inline-block;
|
|
@@ -47,8 +46,8 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
47
46
|
.kbq-input {
|
|
48
47
|
padding-left: calc(
|
|
49
48
|
var(--kbq-form-field-size-icon-size, map.get($tokens, form-field-size-icon-size)) +
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
var(--kbq-form-field-size-icon-margin-left, map.get($tokens, form-field-size-icon-margin-left)) +
|
|
50
|
+
var(--kbq-form-field-size-icon-margin-right, map.get($tokens, form-field-size-icon-margin-right))
|
|
52
51
|
);
|
|
53
52
|
}
|
|
54
53
|
}
|
|
@@ -60,14 +59,14 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
60
59
|
.kbq-input {
|
|
61
60
|
padding-right: calc(
|
|
62
61
|
var(--kbq-form-field-size-icon-button-size, map.get($tokens, form-field-size-icon-button-size)) +
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
62
|
+
var(
|
|
63
|
+
--kbq-form-field-size-icon-button-margin-left,
|
|
64
|
+
map.get($tokens, form-field-size-icon-button-margin-left)
|
|
65
|
+
) +
|
|
66
|
+
var(
|
|
67
|
+
--kbq-form-field-size-icon-button-margin-right,
|
|
68
|
+
map.get($tokens, form-field-size-icon-button-margin-right)
|
|
69
|
+
)
|
|
71
70
|
);
|
|
72
71
|
}
|
|
73
72
|
}
|
|
@@ -150,4 +149,3 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
150
149
|
.kbq-password-hint {
|
|
151
150
|
margin-top: kbq-css-variable(form-field-hint-size-gap);
|
|
152
151
|
}
|
|
153
|
-
/* stylelint-enable no-descending-specificity */
|
package/form-field/hint.scss
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export * from './
|
|
1
|
+
export * from './cleaner';
|
|
2
2
|
export * from './form-field';
|
|
3
3
|
export * from './form-field-control';
|
|
4
4
|
export * from './form-field-errors';
|
|
5
|
+
export * from './form-field.module';
|
|
5
6
|
export * from './hint';
|
|
6
7
|
export * from './password-hint';
|
|
7
8
|
export * from './password-toggle';
|
|
8
|
-
export * from './suffix';
|
|
9
9
|
export * from './prefix';
|
|
10
|
-
export * from './cleaner';
|
|
11
10
|
export * from './stepper';
|
|
11
|
+
export * from './suffix';
|
|
12
12
|
export * from './validate.directive';
|
package/form-field/stepper.scss
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
@use '../core/styles/theming/theming' as *;
|
|
4
4
|
@use '../core/styles/common/tokens' as *;
|
|
5
5
|
|
|
6
|
-
|
|
7
6
|
@mixin kbq-icon-button-theme($theme) {
|
|
8
7
|
$icon-button: map.get($theme, components, icon-button);
|
|
9
8
|
|
|
@@ -35,7 +34,9 @@
|
|
|
35
34
|
&:active,
|
|
36
35
|
&.kbq-active {
|
|
37
36
|
color: kbq-css-variable(
|
|
38
|
-
icon-button-ontrast-state-active,
|
|
37
|
+
icon-button-ontrast-state-active,
|
|
38
|
+
map.get($icon-button, contrast, state-active)
|
|
39
|
+
);
|
|
39
40
|
}
|
|
40
41
|
|
|
41
42
|
&:not(.kbq-disabled):hover {
|
|
@@ -44,7 +45,9 @@
|
|
|
44
45
|
|
|
45
46
|
&.kbq-disabled {
|
|
46
47
|
color: kbq-css-variable(
|
|
47
|
-
icon-button-ontrast-state-disabled,
|
|
48
|
+
icon-button-ontrast-state-disabled,
|
|
49
|
+
map.get($icon-button, contrast, state-disabled)
|
|
50
|
+
);
|
|
48
51
|
}
|
|
49
52
|
}
|
|
50
53
|
|
|
@@ -54,17 +57,23 @@
|
|
|
54
57
|
&:active,
|
|
55
58
|
&.kbq-active {
|
|
56
59
|
color: kbq-css-variable(
|
|
57
|
-
icon-button-ade-contrast-state-active,
|
|
60
|
+
icon-button-ade-contrast-state-active,
|
|
61
|
+
map.get($icon-button, fade-contrast, state-active)
|
|
62
|
+
);
|
|
58
63
|
}
|
|
59
64
|
|
|
60
65
|
&:not(.kbq-disabled):hover {
|
|
61
66
|
color: kbq-css-variable(
|
|
62
|
-
icon-button-ade-contrast-state-hover,
|
|
67
|
+
icon-button-ade-contrast-state-hover,
|
|
68
|
+
map.get($icon-button, fade-contrast, state-hover)
|
|
69
|
+
);
|
|
63
70
|
}
|
|
64
71
|
|
|
65
72
|
&.kbq-disabled {
|
|
66
73
|
color: kbq-css-variable(
|
|
67
|
-
icon-button-ade-contrast-state-disabled,
|
|
74
|
+
icon-button-ade-contrast-state-disabled,
|
|
75
|
+
map.get($icon-button, fade-contrast, state-disabled)
|
|
76
|
+
);
|
|
68
77
|
}
|
|
69
78
|
}
|
|
70
79
|
|
|
@@ -99,7 +108,9 @@
|
|
|
99
108
|
|
|
100
109
|
&.kbq-disabled {
|
|
101
110
|
color: kbq-css-variable(
|
|
102
|
-
icon-button-uccess-state-disabled,
|
|
111
|
+
icon-button-uccess-state-disabled,
|
|
112
|
+
map.get($icon-button, success, state-disabled)
|
|
113
|
+
);
|
|
103
114
|
}
|
|
104
115
|
}
|
|
105
116
|
|
package/icon/_icon-theme.scss
CHANGED
package/icon/icon-button.scss
CHANGED
|
@@ -3,19 +3,16 @@
|
|
|
3
3
|
|
|
4
4
|
@use '../core/styles/common/tokens' as *;
|
|
5
5
|
|
|
6
|
-
|
|
7
6
|
.kbq-icon-button {
|
|
8
7
|
&:not(.kbq-disabled) {
|
|
9
8
|
cursor: pointer;
|
|
10
9
|
}
|
|
11
10
|
|
|
12
|
-
padding:
|
|
13
|
-
kbq-css-variable(icon-button-size-small-vertical-padding)
|
|
11
|
+
padding: kbq-css-variable(icon-button-size-small-vertical-padding)
|
|
14
12
|
kbq-css-variable(icon-button-size-small-horizontal-padding);
|
|
15
13
|
|
|
16
14
|
&.kbq-icon-button_small {
|
|
17
|
-
padding:
|
|
18
|
-
kbq-css-variable(icon-button-size-normal-vertical-padding)
|
|
15
|
+
padding: kbq-css-variable(icon-button-size-normal-vertical-padding)
|
|
19
16
|
kbq-css-variable(icon-button-size-normal-horizontal-padding);
|
|
20
17
|
}
|
|
21
18
|
}
|
package/icon/icon-item.scss
CHANGED
|
@@ -3,21 +3,18 @@
|
|
|
3
3
|
|
|
4
4
|
@use '../core/styles/common/tokens' as *;
|
|
5
5
|
|
|
6
|
-
|
|
7
6
|
.kbq-icon-item {
|
|
8
7
|
box-sizing: border-box;
|
|
9
8
|
|
|
10
9
|
border-radius: 50%;
|
|
11
10
|
|
|
12
11
|
&.kbq-icon-item_normal {
|
|
13
|
-
padding:
|
|
14
|
-
kbq-css-variable(icon-item-size-normal-vertical-padding)
|
|
12
|
+
padding: kbq-css-variable(icon-item-size-normal-vertical-padding)
|
|
15
13
|
kbq-css-variable(icon-item-size-normal-horizontal-padding);
|
|
16
14
|
}
|
|
17
15
|
|
|
18
16
|
&.kbq-icon-item_big {
|
|
19
|
-
padding:
|
|
20
|
-
kbq-css-variable(icon-item-size-big-vertical-padding)
|
|
17
|
+
padding: kbq-css-variable(icon-item-size-big-vertical-padding)
|
|
21
18
|
kbq-css-variable(icon-item-size-big-horizontal-padding);
|
|
22
19
|
}
|
|
23
20
|
}
|
package/icon/icon.scss
CHANGED
package/icon/public-api.d.ts
CHANGED