@koobiq/components 16.0.0-beta.9 → 17.0.0-beta.2
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/autocomplete/_autocomplete-theme.scss +3 -10
- package/autocomplete/autocomplete-trigger.directive.d.ts +7 -1
- package/autocomplete/autocomplete.scss +0 -5
- package/badge/_badge-theme.scss +4 -0
- package/badge/badge.component.d.ts +1 -0
- package/button/_button-base.scss +1 -1
- package/button/_button-theme.scss +23 -38
- package/button-toggle/_button-toggle-theme.scss +4 -0
- package/checkbox/_checkbox-theme.scss +9 -6
- package/checkbox/checkbox.scss +6 -9
- package/code-block/_code-block-theme.scss +53 -16
- package/code-block/actionbar.component.scss +34 -6
- package/code-block/code-block.component.d.ts +5 -2
- package/code-block/code-block.scss +112 -28
- package/core/common-behaviors/index.d.ts +2 -0
- package/core/datetime/date-adapter.d.ts +1 -1
- package/core/datetime/date-formats.d.ts +1 -1
- package/core/formatters/date/formatter.d.ts +2 -2
- package/core/formatters/date/formatter.pipe.d.ts +1 -1
- package/core/locales/en-US.d.ts +25 -22
- package/core/locales/es-LA.d.ts +24 -27
- package/core/locales/fa-IR.d.ts +24 -28
- package/core/locales/formatters.d.ts +121 -0
- package/core/locales/index.d.ts +7 -2
- package/core/locales/locale-service.d.ts +146 -32
- package/core/locales/pt-BR.d.ts +24 -27
- package/core/locales/ru-RU.d.ts +25 -23
- package/core/locales/zh-CN.d.ts +25 -27
- package/core/option/_option-action-theme.scss +1 -1
- package/core/option/_option-theme.scss +5 -5
- package/core/option/action.scss +1 -1
- package/core/pop-up/pop-up.d.ts +7 -0
- package/core/selection/pseudo-checkbox/pseudo-checkbox.scss +4 -15
- package/core/styles/_koobiq-theme.scss +3 -1
- package/core/styles/_variables.scss +1 -10
- package/core/styles/common/_overlay.scss +4 -0
- package/core/styles/common/_select.scss +2 -1
- package/core/styles/theming/_components-theming.scss +99 -38
- package/core/styles/theming/{_scrollbars-theme.scss → _scrollbar-theme.scss} +25 -4
- package/core/styles/theming/_theming.scss +1 -0
- package/core/styles/typography/_typography.scss +8 -1
- package/core/utils/data-size/data-size.pipe.d.ts +1 -1
- package/dropdown/_dropdown-theme.scss +1 -2
- package/ellipsis-center/ellipsis-center.directive.d.ts +3 -3
- package/esm2022/alert/alert.component.mjs +12 -12
- package/esm2022/alert/alert.module.mjs +4 -4
- package/esm2022/autocomplete/autocomplete-origin.directive.mjs +4 -4
- package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +18 -6
- package/esm2022/autocomplete/autocomplete.component.mjs +8 -8
- package/esm2022/autocomplete/autocomplete.module.mjs +4 -4
- package/esm2022/badge/badge.component.mjs +13 -12
- package/esm2022/badge/badge.module.mjs +4 -4
- package/esm2022/button/button.component.mjs +16 -13
- package/esm2022/button/button.module.mjs +4 -4
- package/esm2022/button-toggle/button-toggle.component.mjs +12 -12
- package/esm2022/button-toggle/button-toggle.module.mjs +4 -4
- package/esm2022/card/card.component.mjs +5 -5
- package/esm2022/card/card.module.mjs +4 -4
- package/esm2022/checkbox/checkbox-module.mjs +4 -4
- package/esm2022/checkbox/checkbox-required-validator.mjs +3 -3
- package/esm2022/checkbox/checkbox.mjs +7 -7
- package/esm2022/code-block/actionbar.component.mjs +5 -5
- package/esm2022/code-block/code-block.component.mjs +32 -14
- package/esm2022/code-block/code-block.module.mjs +8 -8
- package/esm2022/core/common-behaviors/color.mjs +1 -1
- package/esm2022/core/common-behaviors/common-module.mjs +7 -7
- package/esm2022/core/common-behaviors/error-state.mjs +1 -1
- package/esm2022/core/common-behaviors/index.mjs +3 -1
- package/esm2022/core/datetime/date-adapter.mjs +2 -2
- package/esm2022/core/datetime/date-formats.mjs +1 -1
- package/esm2022/core/error/error-options.mjs +6 -6
- package/esm2022/core/formatters/date/formatter.mjs +9 -9
- package/esm2022/core/formatters/date/formatter.pipe.mjs +53 -53
- package/esm2022/core/formatters/index.mjs +7 -6
- package/esm2022/core/formatters/number/formatter.mjs +19 -19
- package/esm2022/core/forms/forms-module.mjs +4 -4
- package/esm2022/core/forms/forms.directive.mjs +8 -8
- package/esm2022/core/highlight/highlight.pipe.mjs +5 -5
- package/esm2022/core/highlight/index.mjs +4 -4
- package/esm2022/core/line/line.mjs +8 -8
- package/esm2022/core/locales/en-US.mjs +25 -22
- package/esm2022/core/locales/es-LA.mjs +24 -29
- package/esm2022/core/locales/fa-IR.mjs +24 -28
- package/esm2022/core/locales/formatters.mjs +126 -0
- package/esm2022/core/locales/index.mjs +8 -3
- package/esm2022/core/locales/locale-service.mjs +14 -13
- package/esm2022/core/locales/locale-service.module.mjs +4 -4
- package/esm2022/core/locales/pt-BR.mjs +24 -27
- package/esm2022/core/locales/ru-RU.mjs +25 -25
- package/esm2022/core/locales/zh-CN.mjs +25 -27
- package/esm2022/core/option/action.mjs +9 -8
- package/esm2022/core/option/optgroup.mjs +4 -4
- package/esm2022/core/option/option-module.mjs +4 -4
- package/esm2022/core/option/option.mjs +8 -8
- package/esm2022/core/overlay/overlay-position-map.mjs +1 -1
- package/esm2022/core/pop-up/pop-up-trigger.mjs +6 -6
- package/esm2022/core/pop-up/pop-up.mjs +12 -5
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +6 -6
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +4 -4
- package/esm2022/core/services/measure-scrollbar.service.mjs +6 -6
- package/esm2022/core/services/theme.service.mjs +5 -5
- package/esm2022/core/utils/data-size/data-size.pipe.mjs +9 -9
- package/esm2022/core/utils/data-size/size.mjs +1 -1
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/datepicker/calendar-body.component.mjs +4 -4
- package/esm2022/datepicker/calendar-header.component.mjs +5 -5
- package/esm2022/datepicker/calendar.component.mjs +6 -6
- package/esm2022/datepicker/datepicker-animations.mjs +1 -1
- package/esm2022/datepicker/datepicker-input.directive.mjs +6 -6
- package/esm2022/datepicker/datepicker-intl.mjs +3 -3
- package/esm2022/datepicker/datepicker-module.mjs +4 -4
- package/esm2022/datepicker/datepicker-toggle.component.mjs +8 -8
- package/esm2022/datepicker/datepicker.component.mjs +10 -10
- package/esm2022/datepicker/month-view.component.mjs +6 -6
- package/esm2022/divider/divider.component.mjs +3 -3
- package/esm2022/divider/divider.module.mjs +4 -4
- package/esm2022/dl/dl.component.mjs +11 -11
- package/esm2022/dl/dl.module.mjs +4 -4
- package/esm2022/dropdown/dropdown-content.directive.mjs +6 -6
- package/esm2022/dropdown/dropdown-item.component.mjs +9 -8
- package/esm2022/dropdown/dropdown-trigger.directive.mjs +6 -6
- package/esm2022/dropdown/dropdown.component.mjs +6 -6
- package/esm2022/dropdown/dropdown.module.mjs +4 -4
- package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +20 -20
- package/esm2022/file-upload/file-drop.mjs +43 -6
- package/esm2022/file-upload/file-upload.mjs +1 -1
- package/esm2022/file-upload/file-upload.module.mjs +4 -4
- package/esm2022/file-upload/multiple-file-upload.component.mjs +47 -26
- package/esm2022/file-upload/single-file-upload.component.mjs +39 -16
- package/esm2022/form-field/cleaner.mjs +3 -3
- package/esm2022/form-field/form-field.mjs +21 -15
- package/esm2022/form-field/form-field.module.mjs +4 -4
- package/esm2022/form-field/hint.mjs +20 -8
- package/esm2022/form-field/password-hint.mjs +24 -21
- package/esm2022/form-field/password-toggle.mjs +6 -6
- package/esm2022/form-field/prefix.mjs +3 -3
- package/esm2022/form-field/stepper.mjs +4 -4
- package/esm2022/form-field/suffix.mjs +3 -3
- package/esm2022/form-field/validate.directive.mjs +17 -12
- package/esm2022/icon/icon-button.component.mjs +7 -6
- package/esm2022/icon/icon-item.component.mjs +7 -6
- package/esm2022/icon/icon.component.mjs +18 -6
- package/esm2022/icon/icon.module.mjs +4 -4
- package/esm2022/input/input-number-validators.mjs +7 -7
- package/esm2022/input/input-number.mjs +12 -9
- package/esm2022/input/input-password.mjs +6 -6
- package/esm2022/input/input.mjs +9 -9
- package/esm2022/input/input.module.mjs +4 -4
- package/esm2022/link/link.component.mjs +5 -5
- package/esm2022/link/link.module.mjs +4 -4
- package/esm2022/list/list-selection.component.mjs +16 -16
- package/esm2022/list/list.component.mjs +9 -9
- package/esm2022/list/list.module.mjs +4 -4
- package/esm2022/loader-overlay/loader-overlay.component.mjs +15 -15
- package/esm2022/loader-overlay/loader-overlay.module.mjs +4 -4
- package/esm2022/markdown/markdown.component.mjs +5 -5
- package/esm2022/markdown/markdown.module.mjs +4 -4
- package/esm2022/markdown/markdown.service.mjs +3 -3
- package/esm2022/modal/css-unit.pipe.mjs +3 -3
- package/esm2022/modal/modal-control.service.mjs +6 -6
- package/esm2022/modal/modal.component.mjs +22 -16
- package/esm2022/modal/modal.directive.mjs +12 -12
- package/esm2022/modal/modal.module.mjs +4 -4
- package/esm2022/modal/modal.service.mjs +5 -5
- package/esm2022/modal/modal.type.mjs +1 -1
- package/esm2022/navbar/navbar-item.component.mjs +69 -104
- package/esm2022/navbar/navbar.component.mjs +28 -17
- package/esm2022/navbar/navbar.module.mjs +6 -10
- package/esm2022/navbar/vertical-navbar.component.mjs +9 -13
- package/esm2022/popover/popover-confirm.component.mjs +11 -13
- package/esm2022/popover/popover.component.mjs +16 -11
- package/esm2022/popover/popover.module.mjs +4 -4
- package/esm2022/progress-bar/progress-bar.component.mjs +11 -11
- package/esm2022/progress-bar/progress-bar.module.mjs +4 -4
- package/esm2022/progress-spinner/progress-spinner.component.mjs +12 -12
- package/esm2022/progress-spinner/progress-spinner.module.mjs +4 -4
- package/esm2022/radio/radio.component.mjs +10 -10
- package/esm2022/radio/radio.module.mjs +4 -4
- package/esm2022/risk-level/risk-level.component.mjs +3 -3
- package/esm2022/risk-level/risk-level.module.mjs +4 -4
- package/esm2022/scrollbar/index.mjs +2 -0
- package/esm2022/scrollbar/koobiq-components-scrollbar.mjs +5 -0
- package/esm2022/scrollbar/public-api.mjs +5 -0
- package/esm2022/scrollbar/scrollbar.component.mjs +130 -0
- package/esm2022/scrollbar/scrollbar.directive.mjs +97 -0
- package/esm2022/scrollbar/scrollbar.module.mjs +20 -0
- package/esm2022/scrollbar/scrollbar.types.mjs +13 -0
- package/esm2022/select/select-option.directive.mjs +6 -6
- package/esm2022/select/select.component.mjs +43 -36
- package/esm2022/select/select.module.mjs +4 -4
- package/esm2022/sidebar/sidebar.component.mjs +11 -11
- package/esm2022/sidebar/sidebar.module.mjs +4 -4
- package/esm2022/sidepanel/sidepanel-animations.mjs +5 -5
- package/esm2022/sidepanel/sidepanel-container.component.mjs +11 -11
- package/esm2022/sidepanel/sidepanel-directives.mjs +26 -26
- package/esm2022/sidepanel/sidepanel-ref.mjs +1 -1
- package/esm2022/sidepanel/sidepanel.module.mjs +4 -4
- package/esm2022/sidepanel/sidepanel.service.mjs +6 -6
- package/esm2022/splitter/splitter.component.mjs +17 -17
- package/esm2022/splitter/splitter.module.mjs +4 -4
- package/esm2022/table/table.component.mjs +3 -3
- package/esm2022/table/table.module.mjs +4 -4
- package/esm2022/tabs/paginated-tab-header.mjs +6 -6
- package/esm2022/tabs/tab-body.component.mjs +12 -12
- package/esm2022/tabs/tab-content.directive.mjs +4 -4
- package/esm2022/tabs/tab-group.component.mjs +21 -21
- package/esm2022/tabs/tab-header.component.mjs +7 -7
- package/esm2022/tabs/tab-label-wrapper.directive.mjs +6 -5
- package/esm2022/tabs/tab-label.directive.mjs +3 -3
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +12 -11
- package/esm2022/tabs/tab.component.mjs +5 -5
- package/esm2022/tabs/tabs.module.mjs +4 -4
- package/esm2022/tags/tag-input.mjs +31 -11
- package/esm2022/tags/tag-list.component.mjs +9 -8
- package/esm2022/tags/tag.component.mjs +16 -16
- package/esm2022/tags/tag.module.mjs +4 -4
- package/esm2022/textarea/textarea.component.mjs +36 -25
- package/esm2022/textarea/textarea.module.mjs +4 -4
- package/esm2022/timepicker/timepicker.directive.mjs +6 -6
- package/esm2022/timepicker/timepicker.module.mjs +4 -4
- package/esm2022/timezone/cities-by-filter.pipe.mjs +3 -3
- package/esm2022/timezone/timezone-option.component.mjs +10 -9
- package/esm2022/timezone/timezone-option.directive.mjs +5 -5
- package/esm2022/timezone/timezone-select.component.mjs +9 -9
- package/esm2022/timezone/timezone.module.mjs +4 -4
- package/esm2022/timezone/timezone.utils.mjs +9 -4
- package/esm2022/timezone/utc-offset.pipe.mjs +6 -6
- package/esm2022/title/title.directive.mjs +6 -6
- package/esm2022/title/title.module.mjs +4 -4
- package/esm2022/toast/toast-animations.mjs +3 -3
- package/esm2022/toast/toast-container.component.mjs +7 -7
- package/esm2022/toast/toast.component.mjs +12 -11
- package/esm2022/toast/toast.module.mjs +4 -4
- package/esm2022/toast/toast.service.mjs +16 -8
- package/esm2022/toast/toast.type.mjs +1 -1
- package/esm2022/toggle/toggle.component.mjs +5 -5
- package/esm2022/toggle/toggle.module.mjs +4 -4
- package/esm2022/tooltip/tooltip.component.mjs +24 -24
- package/esm2022/tooltip/tooltip.module.mjs +4 -4
- package/esm2022/tree/control/base-tree-control.mjs +4 -4
- package/esm2022/tree/control/flat-tree-control.filters.mjs +47 -0
- package/esm2022/tree/control/flat-tree-control.mjs +27 -45
- package/esm2022/tree/control/nested-tree-control.mjs +1 -1
- package/esm2022/tree/control/tree-control.mjs +1 -1
- package/esm2022/tree/data-source/flat-data-source.mjs +1 -1
- package/esm2022/tree/node.mjs +5 -5
- package/esm2022/tree/outlet.mjs +4 -4
- package/esm2022/tree/padding.directive.mjs +6 -6
- package/esm2022/tree/public-api.mjs +2 -1
- package/esm2022/tree/toggle.mjs +12 -12
- package/esm2022/tree/tree-base.mjs +10 -10
- package/esm2022/tree/tree-option.component.mjs +12 -8
- package/esm2022/tree/tree-selection.component.mjs +6 -6
- package/esm2022/tree/tree.mjs +3 -3
- package/esm2022/tree/tree.module.mjs +4 -4
- package/esm2022/tree-select/tree-select.component.mjs +29 -19
- package/esm2022/tree-select/tree-select.module.mjs +9 -9
- package/fesm2022/koobiq-components-alert.mjs +16 -16
- package/fesm2022/koobiq-components-autocomplete.mjs +32 -20
- package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
- package/fesm2022/koobiq-components-badge.mjs +16 -15
- package/fesm2022/koobiq-components-badge.mjs.map +1 -1
- package/fesm2022/koobiq-components-button-toggle.mjs +15 -15
- package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-button.mjs +19 -16
- package/fesm2022/koobiq-components-button.mjs.map +1 -1
- package/fesm2022/koobiq-components-card.mjs +8 -8
- package/fesm2022/koobiq-components-card.mjs.map +1 -1
- package/fesm2022/koobiq-components-checkbox.mjs +13 -13
- package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
- package/fesm2022/koobiq-components-code-block.mjs +40 -23
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +473 -350
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +45 -45
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-divider.mjs +7 -7
- package/fesm2022/koobiq-components-dl.mjs +14 -14
- package/fesm2022/koobiq-components-dl.mjs.map +1 -1
- package/fesm2022/koobiq-components-dropdown.mjs +27 -26
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-ellipsis-center.mjs +19 -19
- package/fesm2022/koobiq-components-ellipsis-center.mjs.map +1 -1
- package/fesm2022/koobiq-components-file-upload.mjs +128 -50
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +97 -72
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +33 -19
- package/fesm2022/koobiq-components-icon.mjs.map +1 -1
- package/fesm2022/koobiq-components-input.mjs +34 -31
- package/fesm2022/koobiq-components-input.mjs.map +1 -1
- package/fesm2022/koobiq-components-link.mjs +8 -8
- package/fesm2022/koobiq-components-link.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +27 -27
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-loader-overlay.mjs +18 -18
- package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
- package/fesm2022/koobiq-components-markdown.mjs +11 -11
- package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +49 -43
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +108 -149
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +30 -26
- package/fesm2022/koobiq-components-popover.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-bar.mjs +14 -14
- package/fesm2022/koobiq-components-progress-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-spinner.mjs +15 -15
- package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
- package/fesm2022/koobiq-components-radio.mjs +13 -13
- package/fesm2022/koobiq-components-radio.mjs.map +1 -1
- package/fesm2022/koobiq-components-risk-level.mjs +7 -7
- package/fesm2022/koobiq-components-scrollbar.mjs +256 -0
- package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -0
- package/fesm2022/koobiq-components-select.mjs +49 -42
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidebar.mjs +14 -14
- package/fesm2022/koobiq-components-sidebar.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidepanel.mjs +47 -47
- package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
- package/fesm2022/koobiq-components-splitter.mjs +20 -20
- package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
- package/fesm2022/koobiq-components-table.mjs +7 -7
- package/fesm2022/koobiq-components-tabs.mjs +72 -70
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +56 -36
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-textarea.mjs +39 -28
- 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 +42 -37
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-title.mjs +9 -9
- package/fesm2022/koobiq-components-title.mjs.map +1 -1
- package/fesm2022/koobiq-components-toast.mjs +36 -27
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/fesm2022/koobiq-components-toggle.mjs +8 -8
- package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-tooltip.mjs +27 -27
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +36 -26
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +132 -100
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/file-upload/_file-upload-theme.scss +10 -1
- package/file-upload/file-drop.d.ts +2 -1
- package/file-upload/file-upload.d.ts +4 -1
- package/file-upload/multiple-file-upload.component.d.ts +14 -6
- package/file-upload/single-file-upload.component.d.ts +12 -6
- package/form-field/_form-field-theme.scss +8 -14
- package/form-field/form-field.d.ts +2 -0
- package/form-field/form-field.scss +12 -1
- package/form-field/hint.scss +1 -1
- package/form-field/password-hint.d.ts +7 -5
- package/icon/icon-button.component.d.ts +1 -0
- package/icon/icon-item.component.d.ts +1 -0
- package/icon/icon.component.d.ts +3 -0
- package/input/input-number.d.ts +3 -2
- package/link/_link-theme.scss +1 -0
- package/list/_list-theme.scss +1 -2
- package/list/list.scss +3 -3
- package/loader-overlay/loader-overlay.scss +2 -2
- package/modal/_modal-confirm.scss +0 -24
- package/modal/modal.component.d.ts +4 -2
- package/modal/modal.scss +32 -20
- package/modal/modal.type.d.ts +0 -1
- package/navbar/_navbar-item_horizontal.scss +97 -0
- package/navbar/_navbar-item_vertical.scss +98 -0
- package/navbar/_navbar-theme.scss +58 -60
- package/navbar/navbar-brand.scss +76 -16
- package/navbar/navbar-divider.scss +13 -4
- package/navbar/navbar-item.component.d.ts +6 -17
- package/navbar/navbar-item.scss +41 -87
- package/navbar/navbar.component.d.ts +3 -0
- package/navbar/navbar.module.d.ts +1 -1
- package/navbar/navbar.scss +13 -1
- package/navbar/vertical-navbar.scss +7 -14
- package/package.json +28 -20
- package/popover/popover-confirm.component.d.ts +0 -2
- package/popover/popover.component.d.ts +6 -1
- package/popover/popover.scss +4 -9
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/progress-spinner/progress-spinner.scss +10 -5
- package/scrollbar/_scrollbar-component-theme.scss +52 -0
- package/scrollbar/index.d.ts +1 -0
- package/scrollbar/public-api.d.ts +4 -0
- package/scrollbar/scrollbar.component.d.ts +33 -0
- package/scrollbar/scrollbar.component.scss +559 -0
- package/scrollbar/scrollbar.directive.d.ts +47 -0
- package/scrollbar/scrollbar.module.d.ts +8 -0
- package/scrollbar/scrollbar.types.d.ts +32 -0
- package/select/select.component.d.ts +4 -3
- package/select/select.scss +7 -0
- package/sidepanel/sidepanel-animations.d.ts +2 -2
- package/sidepanel/sidepanel-directives.d.ts +5 -5
- package/splitter/_splitter-theme.scss +5 -4
- package/tabs/_tabs-common.scss +1 -1
- package/tabs/_tabs-theme.scss +2 -2
- package/tags/tag-input.d.ts +9 -4
- package/tags/tag-list.scss +4 -0
- package/textarea/textarea.component.d.ts +4 -3
- package/timezone/_timezone-option-theme.scss +8 -0
- package/timezone/timezone-option.component.scss +4 -0
- package/timezone/timezone-select.component.scss +13 -0
- package/timezone/timezone.utils.d.ts +4 -0
- package/timezone/utc-offset.pipe.d.ts +3 -1
- package/toast/toast-animations.d.ts +1 -1
- package/toast/toast-container.component.scss +1 -9
- package/toast/toast.component.scss +0 -4
- package/toast/toast.service.d.ts +5 -3
- package/toast/toast.type.d.ts +1 -0
- package/tooltip/tooltip.component.d.ts +1 -1
- package/tooltip/tooltip.scss +0 -3
- package/tree/_tree-theme.scss +5 -5
- package/tree/control/base-tree-control.d.ts +1 -1
- package/tree/control/flat-tree-control.d.ts +5 -3
- package/tree/control/flat-tree-control.filters.d.ts +26 -0
- package/tree/control/tree-control.d.ts +1 -1
- package/tree/public-api.d.ts +1 -0
- package/tree/tree-option.scss +4 -4
- package/tree-select/tree-select.component.d.ts +8 -4
- package/tree-select/tree-select.module.d.ts +1 -1
- package/esm2022/navbar/vertical-navbar.animation.mjs +0 -10
- package/form-field/password-hint.scss +0 -11
- package/navbar/vertical-navbar.animation.d.ts +0 -2
|
@@ -135,7 +135,9 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
135
135
|
.kbq-single-file-upload,
|
|
136
136
|
.kbq-multiple-file-upload {
|
|
137
137
|
.kbq-file-upload__hint:not(.kbq-error) {
|
|
138
|
-
|
|
138
|
+
$form-field-hint: map.get(map.get($theme, components), form-field-hint);
|
|
139
|
+
|
|
140
|
+
color: map.get($form-field-hint, text);
|
|
139
141
|
}
|
|
140
142
|
}
|
|
141
143
|
}
|
|
@@ -184,5 +186,12 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
184
186
|
}
|
|
185
187
|
}
|
|
186
188
|
}
|
|
189
|
+
|
|
190
|
+
.kbq-single-file-upload,
|
|
191
|
+
.kbq-multiple-file-upload {
|
|
192
|
+
.kbq-file-upload__hint.kbq-hint .kbq-hint__text {
|
|
193
|
+
@include kbq-typography-level-to-styles($config, map.get($tokens, form-field-hint-font-text));
|
|
194
|
+
}
|
|
195
|
+
}
|
|
187
196
|
}
|
|
188
197
|
/* stylelint-enable no-descending-specificity */
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { KbqFile } from './file-upload';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class KbqFileDropDirective {
|
|
4
5
|
dragover: boolean;
|
|
5
|
-
filesDropped: EventEmitter<FileList>;
|
|
6
|
+
filesDropped: EventEmitter<FileList | KbqFile[]>;
|
|
6
7
|
onDragOver(event: DragEvent): void;
|
|
7
8
|
onDragLeave(event: DragEvent): void;
|
|
8
9
|
onDrop(event: DragEvent): void;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
2
|
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
export interface KbqFile extends File {
|
|
4
|
+
fullPath: string;
|
|
5
|
+
}
|
|
3
6
|
export interface KbqFileItem {
|
|
4
7
|
file: File;
|
|
5
8
|
hasError?: boolean;
|
|
@@ -11,7 +14,7 @@ export interface KbqInputFile {
|
|
|
11
14
|
files: KbqFileItem[] | KbqFileItem | null;
|
|
12
15
|
accept?: string[];
|
|
13
16
|
onFileSelectedViaClick(event: Event): void;
|
|
14
|
-
onFileDropped(files: FileList): void;
|
|
17
|
+
onFileDropped(files: FileList | KbqFile[]): void;
|
|
15
18
|
}
|
|
16
19
|
export interface KbqInputFileLabel {
|
|
17
20
|
captionText: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
2
2
|
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, Renderer2, TemplateRef } from '@angular/core';
|
|
3
|
-
import { CanDisable } from '@koobiq/components/core';
|
|
4
|
-
import { KbqFileItem, KbqFileValidatorFn, KbqInputFile, KbqInputFileLabel } from './file-upload';
|
|
3
|
+
import { CanDisable, KbqLocaleService } from '@koobiq/components/core';
|
|
4
|
+
import { KbqFile, KbqFileItem, KbqFileValidatorFn, KbqInputFile, KbqInputFileLabel } from './file-upload';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export interface KbqInputFileMultipleLabel extends KbqInputFileLabel {
|
|
7
7
|
captionTextWhenSelected: string;
|
|
@@ -17,7 +17,8 @@ export declare class KbqMultipleFileUploadComponent implements AfterViewInit, On
|
|
|
17
17
|
private focusMonitor;
|
|
18
18
|
private cdr;
|
|
19
19
|
private renderer;
|
|
20
|
-
|
|
20
|
+
readonly configuration: KbqInputFileMultipleLabel;
|
|
21
|
+
private localeService?;
|
|
21
22
|
accept?: string[];
|
|
22
23
|
disabled: boolean;
|
|
23
24
|
errors: string[];
|
|
@@ -33,20 +34,27 @@ export declare class KbqMultipleFileUploadComponent implements AfterViewInit, On
|
|
|
33
34
|
header: string;
|
|
34
35
|
cssClass: string;
|
|
35
36
|
}[];
|
|
37
|
+
config: KbqInputFileMultipleLabel;
|
|
38
|
+
separatedCaptionText: string[];
|
|
39
|
+
separatedCaptionTextWhenSelected: string[];
|
|
40
|
+
separatedCaptionTextForCompactSize: string[];
|
|
36
41
|
private focusMonitorSubscription;
|
|
37
42
|
get acceptedFiles(): string;
|
|
38
43
|
get hasErrors(): boolean;
|
|
39
|
-
constructor(focusMonitor: FocusMonitor, cdr: ChangeDetectorRef, renderer: Renderer2,
|
|
44
|
+
constructor(focusMonitor: FocusMonitor, cdr: ChangeDetectorRef, renderer: Renderer2, configuration: KbqInputFileMultipleLabel, localeService?: KbqLocaleService | undefined);
|
|
40
45
|
ngAfterViewInit(): void;
|
|
41
46
|
ngOnDestroy(): void;
|
|
42
47
|
onFileSelectedViaClick({ target }: Event): void;
|
|
43
|
-
onFileDropped(files: FileList): void;
|
|
48
|
+
onFileDropped(files: FileList | KbqFile[]): void;
|
|
44
49
|
deleteFile(index: number, event?: MouseEvent): void;
|
|
45
50
|
onFileListChange(): void;
|
|
46
51
|
onFocus(focusState: boolean): void;
|
|
52
|
+
private updateLocaleParams;
|
|
47
53
|
private mapToFileItem;
|
|
48
54
|
private validateFile;
|
|
49
55
|
private isCorrectExtension;
|
|
50
|
-
|
|
56
|
+
private initDefaultParams;
|
|
57
|
+
private getCaptionText;
|
|
58
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqMultipleFileUploadComponent, [null, null, null, { optional: true; }, { optional: true; }]>;
|
|
51
59
|
static ɵcmp: i0.ɵɵComponentDeclaration<KbqMultipleFileUploadComponent, "kbq-multiple-file-upload", never, { "accept": { "alias": "accept"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "files": { "alias": "files"; "required": false; }; "size": { "alias": "size"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "customValidation": { "alias": "customValidation"; "required": false; }; }, { "fileQueueChanged": "fileQueueChanged"; }, ["customFileIcon"], ["[hint]"], false, never>;
|
|
52
60
|
}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
2
2
|
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, Renderer2 } from '@angular/core';
|
|
3
|
-
import { CanDisable } from '@koobiq/components/core';
|
|
4
|
-
import { KbqFileItem, KbqFileValidatorFn, KbqInputFile, KbqInputFileLabel } from './file-upload';
|
|
3
|
+
import { CanDisable, KbqLocaleService } from '@koobiq/components/core';
|
|
4
|
+
import { KbqFile, KbqFileItem, KbqFileValidatorFn, KbqInputFile, KbqInputFileLabel } from './file-upload';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare const KBQ_SINGLE_FILE_UPLOAD_DEFAULT_CONFIGURATION: KbqInputFileLabel;
|
|
7
7
|
export declare class KbqSingleFileUploadComponent implements AfterViewInit, OnDestroy, KbqInputFile, CanDisable {
|
|
8
8
|
private focusMonitor;
|
|
9
9
|
private cdr;
|
|
10
10
|
private renderer;
|
|
11
|
-
|
|
11
|
+
readonly configuration: KbqInputFileLabel;
|
|
12
|
+
private localeService?;
|
|
12
13
|
accept: string[];
|
|
13
14
|
disabled: boolean;
|
|
14
15
|
errors: string[];
|
|
@@ -18,18 +19,23 @@ export declare class KbqSingleFileUploadComponent implements AfterViewInit, OnDe
|
|
|
18
19
|
fileQueueChanged: EventEmitter<KbqFileItem | null>;
|
|
19
20
|
input: ElementRef<HTMLInputElement>;
|
|
20
21
|
hasFocus: boolean;
|
|
22
|
+
config: KbqInputFileLabel;
|
|
23
|
+
separatedCaptionText: string[];
|
|
21
24
|
private focusMonitorSubscription;
|
|
22
25
|
get acceptedFiles(): string;
|
|
23
|
-
constructor(focusMonitor: FocusMonitor, cdr: ChangeDetectorRef, renderer: Renderer2,
|
|
26
|
+
constructor(focusMonitor: FocusMonitor, cdr: ChangeDetectorRef, renderer: Renderer2, configuration: KbqInputFileLabel, localeService?: KbqLocaleService | undefined);
|
|
24
27
|
ngAfterViewInit(): void;
|
|
25
28
|
ngOnDestroy(): void;
|
|
26
29
|
onFileSelectedViaClick({ target }: Event): void;
|
|
27
30
|
deleteItem(event?: MouseEvent): void;
|
|
28
|
-
onFileDropped(files: FileList): void;
|
|
31
|
+
onFileDropped(files: FileList | KbqFile[]): void;
|
|
29
32
|
onFocus(focusState: boolean): void;
|
|
33
|
+
private updateLocaleParams;
|
|
30
34
|
private mapToFileItem;
|
|
31
35
|
private validateFile;
|
|
32
36
|
private isCorrectExtension;
|
|
33
|
-
|
|
37
|
+
private initDefaultParams;
|
|
38
|
+
private getCaptionText;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqSingleFileUploadComponent, [null, null, null, { optional: true; }, { optional: true; }]>;
|
|
34
40
|
static ɵcmp: i0.ɵɵComponentDeclaration<KbqSingleFileUploadComponent, "kbq-single-file-upload", never, { "accept": { "alias": "accept"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "files": { "alias": "files"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "customValidation": { "alias": "customValidation"; "required": false; }; }, { "fileQueueChanged": "fileQueueChanged"; }, never, ["[hint]", "[kbq-icon]"], false, never>;
|
|
35
41
|
}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.kbq-input,
|
|
15
|
+
.kbq-tag-input,
|
|
15
16
|
.kbq-textarea {
|
|
16
17
|
color: map.get($state, text);
|
|
17
18
|
|
|
@@ -75,27 +76,20 @@
|
|
|
75
76
|
&.kbq-disabled {
|
|
76
77
|
@include kbq-form-field-state($disabled);
|
|
77
78
|
|
|
78
|
-
.kbq-icon
|
|
79
|
-
.kbq-input,
|
|
80
|
-
.kbq-textarea {
|
|
79
|
+
.kbq-icon {
|
|
81
80
|
color: map.get($disabled, text);
|
|
82
|
-
background: map.get($disabled, background);
|
|
83
81
|
-webkit-text-fill-color: map.get($disabled, text);
|
|
84
82
|
}
|
|
85
83
|
}
|
|
86
84
|
/* stylelint-enable no-descending-specificity */
|
|
87
85
|
}
|
|
88
86
|
|
|
89
|
-
.kbq-form-field__hint
|
|
90
|
-
|
|
87
|
+
.kbq-form-field__hint {
|
|
88
|
+
& > .kbq-hint:not(.kbq-password-hint, .kbq-contrast-fade, .kbq-success, .kbq-warning, .kbq-error) {
|
|
89
|
+
$form-field-hint: map.get(map.get($theme, components), form-field-hint);
|
|
91
90
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
.kbq-password-hint {
|
|
96
|
-
$password-hint: map.get(map.get($theme, components), form-field-password-hint);
|
|
97
|
-
|
|
98
|
-
color: map.get($password-hint, text-color);
|
|
91
|
+
color: map.get($form-field-hint, text);
|
|
92
|
+
}
|
|
99
93
|
}
|
|
100
94
|
}
|
|
101
95
|
|
|
@@ -106,7 +100,7 @@
|
|
|
106
100
|
@include kbq-typography-level-to-styles($config, map.get($tokens, form-field-font-text));
|
|
107
101
|
}
|
|
108
102
|
|
|
109
|
-
.kbq-form-field__hint > .kbq-hint .kbq-hint__text {
|
|
103
|
+
.kbq-form-field__hint > .kbq-hint:not(.kbq-password-hint) .kbq-hint__text {
|
|
110
104
|
@include kbq-typography-level-to-styles($config, map.get($tokens, form-field-hint-font-text));
|
|
111
105
|
}
|
|
112
106
|
}
|
|
@@ -35,6 +35,7 @@ export declare class KbqFormField extends KbqFormFieldMixinBase implements After
|
|
|
35
35
|
hovered: boolean;
|
|
36
36
|
canCleanerClearByEsc: boolean;
|
|
37
37
|
private $unsubscribe;
|
|
38
|
+
get hasFocus(): boolean;
|
|
38
39
|
get hasHint(): boolean;
|
|
39
40
|
get hasSuffix(): boolean;
|
|
40
41
|
get hasPrefix(): boolean;
|
|
@@ -48,6 +49,7 @@ export declare class KbqFormField extends KbqFormFieldMixinBase implements After
|
|
|
48
49
|
ngAfterContentInit(): void;
|
|
49
50
|
ngAfterContentChecked(): void;
|
|
50
51
|
ngAfterViewInit(): void;
|
|
52
|
+
focusViaKeyboard(): void;
|
|
51
53
|
clearValue($event: any): void;
|
|
52
54
|
onContainerClick($event: any): void;
|
|
53
55
|
onKeyDown(event: KeyboardEvent): void;
|
|
@@ -70,6 +70,10 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
70
70
|
);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
+
|
|
74
|
+
& + .kbq-password-hint {
|
|
75
|
+
margin-top: var(--kbq-size-m, map.get($tokens, size-m));
|
|
76
|
+
}
|
|
73
77
|
}
|
|
74
78
|
|
|
75
79
|
.kbq-form-field__container {
|
|
@@ -137,7 +141,14 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
137
141
|
flex-direction: column;
|
|
138
142
|
margin-top: var(--kbq-form-field-hint-size-margin-top, map.get($tokens, form-field-hint-size-margin-top));
|
|
139
143
|
|
|
140
|
-
|
|
144
|
+
& .kbq-password-hint:first-child {
|
|
145
|
+
margin-top: var(--kbq-size-s, map.get($tokens, size-s));
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.kbq-password-hint {
|
|
150
|
+
margin-top: var(--kbq-form-field-hint-size-gap, map.get($tokens, form-field-hint-size-gap));
|
|
141
151
|
}
|
|
142
152
|
|
|
153
|
+
|
|
143
154
|
/* stylelint-enable no-descending-specificity */
|
package/form-field/hint.scss
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { AfterContentInit, ChangeDetectorRef, QueryList } from '@angular/core';
|
|
1
|
+
import { AfterContentInit, ChangeDetectorRef, ElementRef, QueryList } from '@angular/core';
|
|
2
2
|
import { KbqFormField } from './form-field';
|
|
3
|
+
import { KbqHint } from './hint';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare enum PasswordRules {
|
|
5
6
|
Length = 0,
|
|
@@ -16,7 +17,7 @@ export declare const regExpPasswordValidator: {
|
|
|
16
17
|
4: RegExp;
|
|
17
18
|
};
|
|
18
19
|
export declare const hasPasswordStrengthError: (passwordHints: QueryList<KbqPasswordHint>) => boolean;
|
|
19
|
-
export declare class KbqPasswordHint implements AfterContentInit {
|
|
20
|
+
export declare class KbqPasswordHint extends KbqHint implements AfterContentInit {
|
|
20
21
|
private changeDetectorRef;
|
|
21
22
|
private formField;
|
|
22
23
|
id: string;
|
|
@@ -26,19 +27,20 @@ export declare class KbqPasswordHint implements AfterContentInit {
|
|
|
26
27
|
regex: RegExp | null;
|
|
27
28
|
customCheckRule: (value: string) => boolean;
|
|
28
29
|
viewFormField?: KbqFormField;
|
|
30
|
+
fillTextOff: boolean;
|
|
29
31
|
hasError: boolean;
|
|
30
32
|
checked: boolean;
|
|
31
33
|
get icon(): string;
|
|
32
34
|
private checkRule;
|
|
33
35
|
private get control();
|
|
34
36
|
private lastControlValue;
|
|
35
|
-
constructor(changeDetectorRef: ChangeDetectorRef, formField: any);
|
|
37
|
+
constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, formField: any);
|
|
36
38
|
ngAfterContentInit(): void;
|
|
37
39
|
private checkValue;
|
|
38
40
|
private checkLengthRule;
|
|
39
41
|
private checkRegexRule;
|
|
40
42
|
private checkSpecialSymbolsRegexRule;
|
|
41
43
|
private isValueChanged;
|
|
42
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KbqPasswordHint, [null, { optional: true; }]>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqPasswordHint, "kbq-password-hint", never, { "id": { "alias": "id"; "required": false; }; "rule": { "alias": "rule"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "regex": { "alias": "regex"; "required": false; }; "customCheckRule": { "alias": "checkRule"; "required": false; }; "viewFormField": { "alias": "viewFormField"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqPasswordHint, [null, null, { optional: true; }]>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqPasswordHint, "kbq-password-hint", never, { "id": { "alias": "id"; "required": false; }; "rule": { "alias": "rule"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "regex": { "alias": "regex"; "required": false; }; "customCheckRule": { "alias": "checkRule"; "required": false; }; "viewFormField": { "alias": "viewFormField"; "required": false; }; "fillTextOff": { "alias": "fillTextOff"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
44
46
|
}
|
|
@@ -13,6 +13,7 @@ export declare class KbqIconButton extends KbqIcon implements OnDestroy, CanColo
|
|
|
13
13
|
get disabled(): boolean;
|
|
14
14
|
set disabled(value: boolean);
|
|
15
15
|
private _disabled;
|
|
16
|
+
name: string;
|
|
16
17
|
constructor(elementRef: ElementRef, iconName: string, formField: KbqFormFieldRef, changeDetectorRef: ChangeDetectorRef, focusMonitor: FocusMonitor);
|
|
17
18
|
ngOnDestroy(): void;
|
|
18
19
|
private runFocusMonitor;
|
|
@@ -4,6 +4,7 @@ import { KbqIcon } from './icon.component';
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class KbqIconItem extends KbqIcon implements CanColor {
|
|
6
6
|
protected changeDetectorRef: ChangeDetectorRef;
|
|
7
|
+
name: string;
|
|
7
8
|
constructor(elementRef: ElementRef, iconName: string, formField: KbqFormFieldRef, changeDetectorRef: ChangeDetectorRef);
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqIconItem, [null, { attribute: "kbq-icon-item"; }, { optional: true; }, null]>;
|
|
9
10
|
static ɵcmp: i0.ɵɵComponentDeclaration<KbqIconItem, "[kbq-icon-item]", never, { "color": { "alias": "color"; "required": false; }; }, {}, never, ["*"], false, never>;
|
package/icon/icon.component.d.ts
CHANGED
|
@@ -9,13 +9,16 @@ export declare class KbqIconBase {
|
|
|
9
9
|
/** @docs-private */
|
|
10
10
|
export declare const KbqIconMixinBase: CanColorCtor & typeof KbqIconBase;
|
|
11
11
|
export declare class KbqIcon extends KbqIconMixinBase implements CanColor, AfterContentInit {
|
|
12
|
+
protected iconName: string;
|
|
12
13
|
protected formField: KbqFormFieldRef;
|
|
13
14
|
protected changeDetectorRef: ChangeDetectorRef;
|
|
14
15
|
small: boolean;
|
|
15
16
|
autoColor: boolean;
|
|
16
17
|
hasError: boolean;
|
|
18
|
+
protected name: string;
|
|
17
19
|
constructor(elementRef: ElementRef, iconName: string, formField: KbqFormFieldRef, changeDetectorRef: ChangeDetectorRef);
|
|
18
20
|
getHostElement(): any;
|
|
21
|
+
updateMaxHeight(): void;
|
|
19
22
|
ngAfterContentInit(): void;
|
|
20
23
|
private updateState;
|
|
21
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqIcon, [null, { attribute: "kbq-icon"; }, { optional: true; }, null]>;
|
package/input/input-number.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnDestroy, Renderer2 } from '@angular/core';
|
|
1
|
+
import { AfterContentInit, ElementRef, EventEmitter, OnDestroy, Renderer2 } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { KbqLocaleService } from '@koobiq/components/core';
|
|
4
4
|
import { KbqFormFieldControl } from '@koobiq/components/form-field';
|
|
@@ -13,7 +13,7 @@ export declare function isDigit(value: string): boolean;
|
|
|
13
13
|
export declare function getPrecision(value: number): number;
|
|
14
14
|
export declare function add(value1: number, value2: number): number;
|
|
15
15
|
export declare const KBQ_NUMBER_INPUT_VALUE_ACCESSOR: any;
|
|
16
|
-
export declare class KbqNumberInput implements KbqFormFieldControl<any>, ControlValueAccessor, OnDestroy {
|
|
16
|
+
export declare class KbqNumberInput implements KbqFormFieldControl<any>, ControlValueAccessor, AfterContentInit, OnDestroy {
|
|
17
17
|
private elementRef;
|
|
18
18
|
private readonly renderer;
|
|
19
19
|
private localeService;
|
|
@@ -53,6 +53,7 @@ export declare class KbqNumberInput implements KbqFormFieldControl<any>, Control
|
|
|
53
53
|
private valueFromPaste;
|
|
54
54
|
private localeSubscription;
|
|
55
55
|
constructor(elementRef: ElementRef, renderer: Renderer2, step: string, bigStep: string, min: string, max: string, localeService: KbqLocaleService);
|
|
56
|
+
ngAfterContentInit(): void;
|
|
56
57
|
ngOnDestroy(): void;
|
|
57
58
|
onContainerClick(): void;
|
|
58
59
|
focus(): void;
|
package/link/_link-theme.scss
CHANGED
package/list/_list-theme.scss
CHANGED
package/list/list.scss
CHANGED
|
@@ -29,9 +29,9 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
29
29
|
display: none;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
&:not(
|
|
33
|
-
&:not(
|
|
34
|
-
&:not(
|
|
32
|
+
&:not(.kbq-disabled):hover,
|
|
33
|
+
&:not(.kbq-disabled).kbq-focused,
|
|
34
|
+
&:not(.kbq-disabled).kbq-action-button-focused {
|
|
35
35
|
& .kbq-option-action {
|
|
36
36
|
display: flex;
|
|
37
37
|
}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
|
|
4
4
|
@use '../core/styles/tokens';
|
|
5
|
-
@use '../core/styles/variables';
|
|
6
5
|
|
|
7
6
|
|
|
8
7
|
$tokens: meta.module-variables(tokens) !default;
|
|
@@ -31,7 +30,8 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
31
30
|
bottom: 0;
|
|
32
31
|
left: 0;
|
|
33
32
|
|
|
34
|
-
|
|
33
|
+
// todo
|
|
34
|
+
z-index: 10;
|
|
35
35
|
|
|
36
36
|
& .kbq-loader-overlay__container {
|
|
37
37
|
display: flex;
|
|
@@ -7,37 +7,13 @@
|
|
|
7
7
|
$tokens: meta.module-variables(tokens) !default;
|
|
8
8
|
|
|
9
9
|
.kbq-confirm {
|
|
10
|
-
.kbq-modal-header {
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
10
|
.kbq-modal-close {
|
|
15
11
|
display: none;
|
|
16
12
|
}
|
|
17
13
|
|
|
18
|
-
.kbq-modal-body {
|
|
19
|
-
padding-right: var(
|
|
20
|
-
--kbq-modal-size-content-padding-horizontal, map.get($tokens, modal-size-content-padding-horizontal)
|
|
21
|
-
);
|
|
22
|
-
|
|
23
|
-
padding-left: var(
|
|
24
|
-
--kbq-modal-size-content-padding-horizontal, map.get($tokens, modal-size-content-padding-horizontal)
|
|
25
|
-
);
|
|
26
|
-
|
|
27
|
-
padding-bottom: var(
|
|
28
|
-
--kbq-modal-size-content-padding-bottom, map.get($tokens, modal-size-content-padding-bottom)
|
|
29
|
-
);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
14
|
.kbq-confirm-footer {
|
|
33
15
|
display: flex;
|
|
34
16
|
|
|
35
|
-
padding:
|
|
36
|
-
var(--kbq-modal-size-footer-padding-top, map.get($tokens, modal-size-footer-padding-top))
|
|
37
|
-
var(--kbq-modal-size-footer-padding-horizontal, map.get($tokens, modal-size-footer-padding-horizontalt))
|
|
38
|
-
var(--kbq-modal-size-footer-padding-bottom, map.get($tokens, modal-size-footer-padding-bottom))
|
|
39
|
-
var(--kbq-modal-size-footer-padding-horizontal, map.get($tokens, modal-size-footer-padding-horizontal));
|
|
40
|
-
|
|
41
17
|
gap: var(
|
|
42
18
|
--kbq-modal-size-footer-content-gap-horizontal, map.get($tokens, modal-size-footer-content-gap-horizontal)
|
|
43
19
|
);
|
|
@@ -28,7 +28,6 @@ export declare class KbqModalComponent<T = any, R = any> extends KbqModalRef<T,
|
|
|
28
28
|
set kbqVisible(value: boolean);
|
|
29
29
|
private _kbqVisible;
|
|
30
30
|
kbqVisibleChange: EventEmitter<boolean>;
|
|
31
|
-
kbqZIndex: number;
|
|
32
31
|
kbqWidth: number | string;
|
|
33
32
|
kbqSize: ModalSize;
|
|
34
33
|
kbqWrapClassName: string;
|
|
@@ -65,6 +64,8 @@ export declare class KbqModalComponent<T = any, R = any> extends KbqModalRef<T,
|
|
|
65
64
|
bodyContainer: ViewContainerRef;
|
|
66
65
|
autoFocusedButtons: QueryList<ElementRef>;
|
|
67
66
|
modalBody: ElementRef;
|
|
67
|
+
isTopOverflow: boolean;
|
|
68
|
+
isBottomOverflow: boolean;
|
|
68
69
|
maskAnimationClassMap: object;
|
|
69
70
|
modalAnimationClassMap: object;
|
|
70
71
|
transformOrigin: string;
|
|
@@ -84,6 +85,7 @@ export declare class KbqModalComponent<T = any, R = any> extends KbqModalRef<T,
|
|
|
84
85
|
ngOnChanges(changes: SimpleChanges): void;
|
|
85
86
|
ngAfterViewInit(): void;
|
|
86
87
|
ngOnDestroy(): void;
|
|
88
|
+
checkOverflow(): void;
|
|
87
89
|
open(): void;
|
|
88
90
|
close(result?: R): void;
|
|
89
91
|
destroy(result?: R): void;
|
|
@@ -125,5 +127,5 @@ export declare class KbqModalComponent<T = any, R = any> extends KbqModalRef<T,
|
|
|
125
127
|
*/
|
|
126
128
|
private changeBodyOverflow;
|
|
127
129
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqModalComponent<any, any>, never>;
|
|
128
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqModalComponent<any, any>, "kbq-modal", never, { "kbqModalType": { "alias": "kbqModalType"; "required": false; }; "kbqComponent": { "alias": "kbqComponent"; "required": false; }; "kbqContent": { "alias": "kbqContent"; "required": false; }; "kbqComponentParams": { "alias": "kbqComponentParams"; "required": false; }; "kbqFooter": { "alias": "kbqFooter"; "required": false; }; "kbqVisible": { "alias": "kbqVisible"; "required": false; }; "
|
|
130
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqModalComponent<any, any>, "kbq-modal", never, { "kbqModalType": { "alias": "kbqModalType"; "required": false; }; "kbqComponent": { "alias": "kbqComponent"; "required": false; }; "kbqContent": { "alias": "kbqContent"; "required": false; }; "kbqComponentParams": { "alias": "kbqComponentParams"; "required": false; }; "kbqFooter": { "alias": "kbqFooter"; "required": false; }; "kbqVisible": { "alias": "kbqVisible"; "required": false; }; "kbqWidth": { "alias": "kbqWidth"; "required": false; }; "kbqSize": { "alias": "kbqSize"; "required": false; }; "kbqWrapClassName": { "alias": "kbqWrapClassName"; "required": false; }; "kbqClassName": { "alias": "kbqClassName"; "required": false; }; "kbqStyle": { "alias": "kbqStyle"; "required": false; }; "kbqTitle": { "alias": "kbqTitle"; "required": false; }; "kbqCloseByESC": { "alias": "kbqCloseByESC"; "required": false; }; "kbqClosable": { "alias": "kbqClosable"; "required": false; }; "kbqMask": { "alias": "kbqMask"; "required": false; }; "kbqMaskClosable": { "alias": "kbqMaskClosable"; "required": false; }; "kbqMaskStyle": { "alias": "kbqMaskStyle"; "required": false; }; "kbqBodyStyle": { "alias": "kbqBodyStyle"; "required": false; }; "kbqOkText": { "alias": "kbqOkText"; "required": false; }; "kbqOkType": { "alias": "kbqOkType"; "required": false; }; "kbqRestoreFocus": { "alias": "kbqRestoreFocus"; "required": false; }; "kbqOkLoading": { "alias": "kbqOkLoading"; "required": false; }; "kbqOnOk": { "alias": "kbqOnOk"; "required": false; }; "kbqCancelText": { "alias": "kbqCancelText"; "required": false; }; "kbqCancelLoading": { "alias": "kbqCancelLoading"; "required": false; }; "kbqOnCancel": { "alias": "kbqOnCancel"; "required": false; }; "kbqGetContainer": { "alias": "kbqGetContainer"; "required": false; }; }, { "kbqVisibleChange": "kbqVisibleChange"; "kbqAfterOpen": "kbqAfterOpen"; "kbqAfterClose": "kbqAfterClose"; "kbqOnOk": "kbqOnOk"; "kbqOnCancel": "kbqOnCancel"; }, never, ["*"], false, never>;
|
|
129
131
|
}
|
package/modal/modal.scss
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
@use 'sass:meta';
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
|
|
4
|
-
@use '../core/styles/variables' as *;
|
|
5
|
-
|
|
6
4
|
@use '../core/styles/tokens';
|
|
7
5
|
|
|
8
6
|
@use './modal-confirm';
|
|
@@ -43,12 +41,26 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
43
41
|
&.kbq-modal_large {
|
|
44
42
|
width: var(--kbq-modal-size-large-width, map.get($tokens, modal-size-large-width));
|
|
45
43
|
}
|
|
44
|
+
|
|
45
|
+
// todo реализуем когда будем делать 2.0, пока нет возможности отслеживать наличие/отстутствие футера
|
|
46
|
+
//&.kbq-modal_no-footer .kbq-modal-body {
|
|
47
|
+
// padding-bottom: var(
|
|
48
|
+
// --kbq-modal-size-content-padding-bottom-without-footer,
|
|
49
|
+
// map.get($tokens, modal-size-content-padding-bottom-without-footer)
|
|
50
|
+
// );
|
|
51
|
+
//}
|
|
52
|
+
|
|
53
|
+
& .kbq-modal-close {
|
|
54
|
+
position: absolute;
|
|
55
|
+
|
|
56
|
+
top: 16px;
|
|
57
|
+
right: 8px;
|
|
58
|
+
}
|
|
46
59
|
}
|
|
47
60
|
|
|
48
61
|
.kbq-modal-wrap {
|
|
49
62
|
position: fixed;
|
|
50
63
|
|
|
51
|
-
z-index: $z-index-modal;
|
|
52
64
|
top: 0;
|
|
53
65
|
right: 0;
|
|
54
66
|
bottom: 0;
|
|
@@ -78,6 +90,10 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
78
90
|
var(--kbq-modal-size-header-padding-right, map.get($tokens, modal-size-header-padding-right))
|
|
79
91
|
var(--kbq-modal-size-header-padding-vertical, map.get($tokens, modal-size-header-padding-vertical))
|
|
80
92
|
var(--kbq-modal-size-header-padding-left, map.get($tokens, modal-size-header-padding-left));
|
|
93
|
+
|
|
94
|
+
& + .kbq-modal-body {
|
|
95
|
+
padding-top: var(--kbq-modal-size-content-padding-top, map.get($tokens, modal-size-content-padding-top));
|
|
96
|
+
}
|
|
81
97
|
}
|
|
82
98
|
|
|
83
99
|
.kbq-modal-title {
|
|
@@ -87,35 +103,33 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
87
103
|
overflow: hidden;
|
|
88
104
|
}
|
|
89
105
|
|
|
106
|
+
/* stylelint-disable no-descending-specificity */
|
|
90
107
|
.kbq-modal-body {
|
|
91
108
|
display: block;
|
|
92
109
|
overflow-y: auto;
|
|
93
110
|
|
|
94
111
|
max-height: calc(100vh - 260px);
|
|
95
112
|
|
|
96
|
-
padding
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
--kbq-modal-size-content-padding-horizontal, map.get($tokens, modal-size-content-padding-horizontal)
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
padding-bottom: var(
|
|
105
|
-
--kbq-modal-size-content-padding-bottom, map.get($tokens, modal-size-content-padding-bottom)
|
|
106
|
-
);
|
|
113
|
+
padding:
|
|
114
|
+
var(
|
|
115
|
+
--kbq-modal-size-content-padding-top-without-header,
|
|
116
|
+
map.get($tokens, modal-size-content-padding-top-without-header)
|
|
117
|
+
)
|
|
118
|
+
var(--kbq-modal-size-content-padding-horizontal, map.get($tokens, modal-size-content-padding-horizontal))
|
|
119
|
+
var(--kbq-modal-size-content-padding-bottom, map.get($tokens, modal-size-content-padding-bottom))
|
|
120
|
+
var(--kbq-modal-size-content-padding-horizontal, map.get($tokens, modal-size-content-padding-horizontal));
|
|
107
121
|
|
|
108
122
|
word-wrap: break-word;
|
|
109
123
|
}
|
|
124
|
+
/* stylelint-enable no-descending-specificity */
|
|
110
125
|
|
|
111
|
-
.kbq-modal-footer
|
|
126
|
+
.kbq-modal-footer,
|
|
127
|
+
.kbq-confirm-footer {
|
|
112
128
|
display: flex;
|
|
113
129
|
align-items: center;
|
|
114
130
|
|
|
115
131
|
padding:
|
|
116
|
-
var(--kbq-modal-size-footer-padding-
|
|
117
|
-
var(--kbq-modal-size-footer-padding-horizontal, map.get($tokens, modal-size-footer-padding-horizontalt))
|
|
118
|
-
var(--kbq-modal-size-footer-padding-bottom, map.get($tokens, modal-size-footer-padding-bottom))
|
|
132
|
+
var(--kbq-modal-size-footer-padding-vertical, map.get($tokens, modal-size-footer-padding-vertical))
|
|
119
133
|
var(--kbq-modal-size-footer-padding-horizontal, map.get($tokens, modal-size-footer-padding-horizontal));
|
|
120
134
|
|
|
121
135
|
gap: var(
|
|
@@ -126,8 +140,6 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
126
140
|
.kbq-modal-mask {
|
|
127
141
|
position: fixed;
|
|
128
142
|
|
|
129
|
-
z-index: $z-index-modal-mask;
|
|
130
|
-
|
|
131
143
|
top: 0;
|
|
132
144
|
right: 0;
|
|
133
145
|
left: 0;
|
package/modal/modal.type.d.ts
CHANGED