@koobiq/components 16.0.0-beta.9 → 17.0.0-beta.1
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.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/checkbox/_checkbox-theme.scss +9 -6
- package/checkbox/checkbox.scss +6 -8
- package/code-block/_code-block-theme.scss +43 -12
- package/code-block/actionbar.component.scss +34 -6
- package/code-block/code-block.component.d.ts +2 -2
- package/code-block/code-block.scss +101 -27
- package/core/common-behaviors/index.d.ts +2 -0
- package/core/locales/index.d.ts +0 -2
- 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/_variables.scss +1 -1
- package/core/styles/common/_select.scss +2 -1
- package/core/styles/theming/_components-theming.scss +46 -23
- package/core/styles/theming/_scrollbars-theme.scss +7 -2
- package/core/styles/theming/_theming.scss +1 -0
- package/core/styles/typography/_typography.scss +6 -1
- package/dropdown/_dropdown-theme.scss +1 -2
- 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 +6 -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 +14 -12
- 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/error/error-options.mjs +6 -6
- package/esm2022/core/formatters/date/formatter.mjs +5 -5
- package/esm2022/core/formatters/date/formatter.pipe.mjs +52 -52
- 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/index.mjs +1 -3
- package/esm2022/core/locales/locale-service.mjs +5 -5
- package/esm2022/core/locales/locale-service.module.mjs +4 -4
- 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 +7 -7
- 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 +10 -10
- 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 +7 -7
- package/esm2022/file-upload/single-file-upload.component.mjs +7 -7
- 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 -13
- 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/navbar/navbar-item.component.mjs +61 -52
- package/esm2022/navbar/navbar.component.mjs +28 -17
- package/esm2022/navbar/navbar.module.mjs +4 -4
- package/esm2022/navbar/vertical-navbar.component.mjs +9 -8
- 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/select/select-option.directive.mjs +6 -6
- package/esm2022/select/select.component.mjs +26 -25
- 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-container.component.mjs +7 -7
- package/esm2022/sidepanel/sidepanel-directives.mjs +18 -18
- 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 +11 -11
- 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 +6 -6
- 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 +5 -5
- 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 +1 -1
- package/esm2022/timezone/utc-offset.pipe.mjs +3 -3
- package/esm2022/title/title.directive.mjs +6 -6
- package/esm2022/title/title.module.mjs +4 -4
- package/esm2022/toast/toast-container.component.mjs +6 -6
- package/esm2022/toast/toast.component.mjs +11 -10
- package/esm2022/toast/toast.module.mjs +4 -4
- package/esm2022/toast/toast.service.mjs +6 -6
- 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 +23 -23
- 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 +25 -17
- package/esm2022/tree-select/tree-select.module.mjs +9 -9
- package/fesm2022/koobiq-components-alert.mjs +16 -16
- package/fesm2022/koobiq-components-autocomplete.mjs +20 -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 +22 -21
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +199 -191
- 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 +9 -9
- package/fesm2022/koobiq-components-ellipsis-center.mjs.map +1 -1
- package/fesm2022/koobiq-components-file-upload.mjs +58 -21
- 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 -40
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +99 -78
- 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-select.mjs +35 -34
- 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 +32 -32
- 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 +71 -69
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +32 -31
- 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 +28 -28
- 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 +24 -23
- 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 +26 -26
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +32 -24
- 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 +2 -2
- package/file-upload/single-file-upload.component.d.ts +2 -2
- 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/modal/_modal-confirm.scss +0 -24
- package/modal/modal.component.d.ts +3 -0
- package/modal/modal.scss +32 -15
- package/navbar/_navbar-theme.scss +8 -7
- package/navbar/navbar-item.component.d.ts +5 -2
- package/navbar/navbar-item.scss +7 -2
- package/navbar/navbar.component.d.ts +3 -0
- package/package.json +12 -12
- package/popover/popover-confirm.component.d.ts +0 -2
- package/popover/popover.component.d.ts +6 -1
- 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/select/select.scss +7 -0
- package/splitter/_splitter-theme.scss +5 -4
- package/tabs/_tabs-common.scss +1 -1
- package/tabs/_tabs-theme.scss +2 -2
- package/tags/tag-list.scss +4 -0
- package/textarea/textarea.component.d.ts +4 -3
- package/toast/toast.type.d.ts +1 -0
- package/tooltip/tooltip.component.d.ts +1 -1
- 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/form-field/password-hint.scss +0 -11
|
@@ -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
3
|
import { CanDisable } from '@koobiq/components/core';
|
|
4
|
-
import { KbqFileItem, KbqFileValidatorFn, KbqInputFile, KbqInputFileLabel } from './file-upload';
|
|
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;
|
|
@@ -40,7 +40,7 @@ export declare class KbqMultipleFileUploadComponent implements AfterViewInit, On
|
|
|
40
40
|
ngAfterViewInit(): void;
|
|
41
41
|
ngOnDestroy(): void;
|
|
42
42
|
onFileSelectedViaClick({ target }: Event): void;
|
|
43
|
-
onFileDropped(files: FileList): void;
|
|
43
|
+
onFileDropped(files: FileList | KbqFile[]): void;
|
|
44
44
|
deleteFile(index: number, event?: MouseEvent): void;
|
|
45
45
|
onFileListChange(): void;
|
|
46
46
|
onFocus(focusState: boolean): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
2
2
|
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, Renderer2 } from '@angular/core';
|
|
3
3
|
import { CanDisable } from '@koobiq/components/core';
|
|
4
|
-
import { KbqFileItem, KbqFileValidatorFn, KbqInputFile, KbqInputFileLabel } from './file-upload';
|
|
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 {
|
|
@@ -25,7 +25,7 @@ export declare class KbqSingleFileUploadComponent implements AfterViewInit, OnDe
|
|
|
25
25
|
ngOnDestroy(): void;
|
|
26
26
|
onFileSelectedViaClick({ target }: Event): void;
|
|
27
27
|
deleteItem(event?: MouseEvent): void;
|
|
28
|
-
onFileDropped(files: FileList): void;
|
|
28
|
+
onFileDropped(files: FileList | KbqFile[]): void;
|
|
29
29
|
onFocus(focusState: boolean): void;
|
|
30
30
|
private mapToFileItem;
|
|
31
31
|
private validateFile;
|
|
@@ -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
|
}
|
|
@@ -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
|
);
|
|
@@ -65,6 +65,8 @@ export declare class KbqModalComponent<T = any, R = any> extends KbqModalRef<T,
|
|
|
65
65
|
bodyContainer: ViewContainerRef;
|
|
66
66
|
autoFocusedButtons: QueryList<ElementRef>;
|
|
67
67
|
modalBody: ElementRef;
|
|
68
|
+
isTopOverflow: boolean;
|
|
69
|
+
isBottomOverflow: boolean;
|
|
68
70
|
maskAnimationClassMap: object;
|
|
69
71
|
modalAnimationClassMap: object;
|
|
70
72
|
transformOrigin: string;
|
|
@@ -84,6 +86,7 @@ export declare class KbqModalComponent<T = any, R = any> extends KbqModalRef<T,
|
|
|
84
86
|
ngOnChanges(changes: SimpleChanges): void;
|
|
85
87
|
ngAfterViewInit(): void;
|
|
86
88
|
ngOnDestroy(): void;
|
|
89
|
+
checkOverflow(): void;
|
|
87
90
|
open(): void;
|
|
88
91
|
close(result?: R): void;
|
|
89
92
|
destroy(result?: R): void;
|
package/modal/modal.scss
CHANGED
|
@@ -43,6 +43,21 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
43
43
|
&.kbq-modal_large {
|
|
44
44
|
width: var(--kbq-modal-size-large-width, map.get($tokens, modal-size-large-width));
|
|
45
45
|
}
|
|
46
|
+
|
|
47
|
+
// todo реализуем когда будем делать 2.0, пока нет возможности отслеживать наличие/отстутствие футера
|
|
48
|
+
//&.kbq-modal_no-footer .kbq-modal-body {
|
|
49
|
+
// padding-bottom: var(
|
|
50
|
+
// --kbq-modal-size-content-padding-bottom-without-footer,
|
|
51
|
+
// map.get($tokens, modal-size-content-padding-bottom-without-footer)
|
|
52
|
+
// );
|
|
53
|
+
//}
|
|
54
|
+
|
|
55
|
+
& .kbq-modal-close {
|
|
56
|
+
position: absolute;
|
|
57
|
+
|
|
58
|
+
top: 16px;
|
|
59
|
+
right: 8px;
|
|
60
|
+
}
|
|
46
61
|
}
|
|
47
62
|
|
|
48
63
|
.kbq-modal-wrap {
|
|
@@ -78,6 +93,10 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
78
93
|
var(--kbq-modal-size-header-padding-right, map.get($tokens, modal-size-header-padding-right))
|
|
79
94
|
var(--kbq-modal-size-header-padding-vertical, map.get($tokens, modal-size-header-padding-vertical))
|
|
80
95
|
var(--kbq-modal-size-header-padding-left, map.get($tokens, modal-size-header-padding-left));
|
|
96
|
+
|
|
97
|
+
& + .kbq-modal-body {
|
|
98
|
+
padding-top: var(--kbq-modal-size-content-padding-top, map.get($tokens, modal-size-content-padding-top));
|
|
99
|
+
}
|
|
81
100
|
}
|
|
82
101
|
|
|
83
102
|
.kbq-modal-title {
|
|
@@ -87,35 +106,33 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
87
106
|
overflow: hidden;
|
|
88
107
|
}
|
|
89
108
|
|
|
109
|
+
/* stylelint-disable no-descending-specificity */
|
|
90
110
|
.kbq-modal-body {
|
|
91
111
|
display: block;
|
|
92
112
|
overflow-y: auto;
|
|
93
113
|
|
|
94
114
|
max-height: calc(100vh - 260px);
|
|
95
115
|
|
|
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
|
-
);
|
|
116
|
+
padding:
|
|
117
|
+
var(
|
|
118
|
+
--kbq-modal-size-content-padding-top-without-header,
|
|
119
|
+
map.get($tokens, modal-size-content-padding-top-without-header)
|
|
120
|
+
)
|
|
121
|
+
var(--kbq-modal-size-content-padding-horizontal, map.get($tokens, modal-size-content-padding-horizontal))
|
|
122
|
+
var(--kbq-modal-size-content-padding-bottom, map.get($tokens, modal-size-content-padding-bottom))
|
|
123
|
+
var(--kbq-modal-size-content-padding-horizontal, map.get($tokens, modal-size-content-padding-horizontal));
|
|
107
124
|
|
|
108
125
|
word-wrap: break-word;
|
|
109
126
|
}
|
|
127
|
+
/* stylelint-enable no-descending-specificity */
|
|
110
128
|
|
|
111
|
-
.kbq-modal-footer
|
|
129
|
+
.kbq-modal-footer,
|
|
130
|
+
.kbq-confirm-footer {
|
|
112
131
|
display: flex;
|
|
113
132
|
align-items: center;
|
|
114
133
|
|
|
115
134
|
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))
|
|
135
|
+
var(--kbq-modal-size-footer-padding-vertical, map.get($tokens, modal-size-footer-padding-vertical))
|
|
119
136
|
var(--kbq-modal-size-footer-padding-horizontal, map.get($tokens, modal-size-footer-padding-horizontal));
|
|
120
137
|
|
|
121
138
|
gap: var(
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
@mixin kbq-navbar-theme($theme) {
|
|
8
8
|
$background: map.get($theme, background);
|
|
9
|
-
$primary: map.get($theme, theme);
|
|
10
9
|
|
|
11
10
|
$navbar: map.get(map.get($theme, components), navbar);
|
|
12
11
|
$navbar-item: map.get(map.get($theme, components), navbar-item);
|
|
@@ -35,11 +34,13 @@
|
|
|
35
34
|
.kbq-navbar-toggle {
|
|
36
35
|
color: map.get($navbar-item, color);
|
|
37
36
|
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
&.kbq-horizontal, &.kbq-vertical {
|
|
38
|
+
& > .kbq-icon {
|
|
39
|
+
color: map.get($navbar-item, icon-color);
|
|
40
|
+
}
|
|
40
41
|
}
|
|
41
42
|
|
|
42
|
-
& .kbq-navbar-item__arrow-icon {
|
|
43
|
+
& .kbq-icon.kbq-navbar-item__arrow-icon {
|
|
43
44
|
color: map.get($navbar-item, color);
|
|
44
45
|
}
|
|
45
46
|
|
|
@@ -47,7 +48,7 @@
|
|
|
47
48
|
background: map.get($navbar-item, state-selected);
|
|
48
49
|
}
|
|
49
50
|
|
|
50
|
-
&:hover:not(.kbq-navbar-
|
|
51
|
+
&:hover:not(.kbq-navbar-item_has-nested, .kbq-navbar-item_form-field) {
|
|
51
52
|
cursor: pointer;
|
|
52
53
|
|
|
53
54
|
& .kbq-navbar-item__overlay {
|
|
@@ -55,13 +56,13 @@
|
|
|
55
56
|
}
|
|
56
57
|
}
|
|
57
58
|
|
|
58
|
-
&:active:not(.kbq-navbar-
|
|
59
|
+
&:active:not(.kbq-navbar-item_has-nested, .kbq-navbar-item_form-field) {
|
|
59
60
|
& .kbq-navbar-item__overlay {
|
|
60
61
|
background: map.get($navbar-item, state-active);
|
|
61
62
|
}
|
|
62
63
|
}
|
|
63
64
|
|
|
64
|
-
|
|
65
|
+
&.kbq-disabled {
|
|
65
66
|
pointer-events: none;
|
|
66
67
|
cursor: default;
|
|
67
68
|
|
|
@@ -5,6 +5,7 @@ import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, NgZone,
|
|
|
5
5
|
import { IFocusableOption } from '@koobiq/cdk/a11y';
|
|
6
6
|
import { KbqButton, KbqButtonCssStyler } from '@koobiq/components/button';
|
|
7
7
|
import { KbqDropdownTrigger } from '@koobiq/components/dropdown';
|
|
8
|
+
import { KbqFormField } from '@koobiq/components/form-field';
|
|
8
9
|
import { KbqIcon } from '@koobiq/components/icon';
|
|
9
10
|
import { KbqTooltipTrigger, TooltipModifier } from '@koobiq/components/tooltip';
|
|
10
11
|
import { Subject } from 'rxjs';
|
|
@@ -72,6 +73,8 @@ export declare class KbqNavbarFocusableItem implements IFocusableOption, AfterCo
|
|
|
72
73
|
private ngZone;
|
|
73
74
|
title: KbqNavbarTitle;
|
|
74
75
|
button: KbqButton;
|
|
76
|
+
formField: KbqFormField;
|
|
77
|
+
get nestedElement(): KbqButton | KbqFormField;
|
|
75
78
|
get tooltip(): KbqTooltipTrigger;
|
|
76
79
|
private _tooltip;
|
|
77
80
|
readonly onFocus: Subject<KbqNavbarFocusableItemEvent>;
|
|
@@ -92,7 +95,7 @@ export declare class KbqNavbarFocusableItem implements IFocusableOption, AfterCo
|
|
|
92
95
|
blur(): void;
|
|
93
96
|
getLabel(): string;
|
|
94
97
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqNavbarFocusableItem, never>;
|
|
95
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqNavbarFocusableItem, "kbq-navbar-item, [kbq-navbar-item], kbq-navbar-brand, [kbq-navbar-brand], kbq-navbar-toggle", never, { "disabled": { "alias": "disabled"; "required": false; }; }, {}, ["title", "button"], never, false, never>;
|
|
98
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqNavbarFocusableItem, "kbq-navbar-item, [kbq-navbar-item], kbq-navbar-brand, [kbq-navbar-brand], kbq-navbar-toggle", never, { "disabled": { "alias": "disabled"; "required": false; }; }, {}, ["title", "button", "formField"], never, false, never>;
|
|
96
99
|
}
|
|
97
100
|
export declare class KbqNavbarRectangleElement {
|
|
98
101
|
elementRef: ElementRef;
|
|
@@ -164,5 +167,5 @@ export declare class KbqNavbarToggle extends KbqTooltipTrigger implements OnDest
|
|
|
164
167
|
private getWindow;
|
|
165
168
|
private windowToggleHandler;
|
|
166
169
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqNavbarToggle, [null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
167
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqNavbarToggle, "kbq-navbar-toggle", never, { "content": { "alias": "
|
|
170
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqNavbarToggle, "kbq-navbar-toggle", never, { "content": { "alias": "kbqCollapsedTooltip"; "required": false; }; }, {}, ["customIcon"], ["[kbq-icon]", "kbq-navbar-title"], false, never>;
|
|
168
171
|
}
|
package/navbar/navbar-item.scss
CHANGED
|
@@ -100,7 +100,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
100
100
|
padding-left: var(--kbq-vertical-navbar-size-icon-margin, map.get($tokens, vertical-navbar-size-icon-margin));
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
&.kbq-navbar-
|
|
103
|
+
&.kbq-navbar-item_has-nested {
|
|
104
104
|
padding-left: 12px;
|
|
105
105
|
padding-right: 12px;
|
|
106
106
|
}
|
|
@@ -124,7 +124,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
.kbq-navbar-item.kbq-navbar-
|
|
127
|
+
.kbq-navbar-item.kbq-navbar-item_has-nested .kbq-button {
|
|
128
128
|
flex: 1;
|
|
129
129
|
|
|
130
130
|
& .kbq-button-wrapper {
|
|
@@ -157,3 +157,8 @@ a.kbq-navbar-title {
|
|
|
157
157
|
z-index: 1;
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
|
+
|
|
161
|
+
.kbq-navbar-item.kbq-navbar-item_form-field .kbq-navbar-item__overlay {
|
|
162
|
+
display: none;
|
|
163
|
+
}
|
|
164
|
+
|
|
@@ -53,6 +53,9 @@ export declare class KbqNavbar extends KbqFocusableComponent implements AfterVie
|
|
|
53
53
|
ngOnDestroy(): void;
|
|
54
54
|
onKeyDown(event: KeyboardEvent): void;
|
|
55
55
|
updateExpandedStateForItems: () => void;
|
|
56
|
+
private eventFromInput;
|
|
57
|
+
private cursorOnFirstPosition;
|
|
58
|
+
private cursorOnLastPosition;
|
|
56
59
|
private collapseItems;
|
|
57
60
|
private expandItems;
|
|
58
61
|
private setItemsState;
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@koobiq/components",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "17.0.0-beta.1",
|
|
4
4
|
"description": "koobiq",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
|
-
"url": "https://
|
|
7
|
+
"url": "https://github.com/koobiq/angular-components.git"
|
|
8
8
|
},
|
|
9
9
|
"keywords": [
|
|
10
10
|
"angular",
|
|
@@ -13,23 +13,23 @@
|
|
|
13
13
|
],
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"bugs": {
|
|
16
|
-
"url": "https://
|
|
16
|
+
"url": "https://github.com/koobiq/angular-components/issues"
|
|
17
17
|
},
|
|
18
|
-
"homepage": "https://
|
|
18
|
+
"homepage": "https://github.com/koobiq/angular-components/blob/master/README.md",
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@angular/cdk": "^
|
|
21
|
-
"@angular/forms": "^
|
|
22
|
-
"@koobiq/cdk": "^
|
|
23
|
-
"@koobiq/angular-moment-adapter": "^
|
|
24
|
-
"@koobiq/angular-luxon-adapter": "^
|
|
20
|
+
"@angular/cdk": "^17.2.0",
|
|
21
|
+
"@angular/forms": "^17.2.0",
|
|
22
|
+
"@koobiq/cdk": "^17.0.0-beta.1",
|
|
23
|
+
"@koobiq/angular-moment-adapter": "^17.0.0-beta.1",
|
|
24
|
+
"@koobiq/angular-luxon-adapter": "^17.0.0-beta.1",
|
|
25
25
|
"@mosaic-design/date-formatter": "^2.1.1",
|
|
26
26
|
"@koobiq/icons": "^7.1.0",
|
|
27
|
-
"@koobiq/tokens-builder": "^3.0.0-beta.
|
|
28
|
-
"@koobiq/design-tokens": "^3.0.0-beta.
|
|
27
|
+
"@koobiq/tokens-builder": "^3.0.0-beta.23",
|
|
28
|
+
"@koobiq/design-tokens": "^3.0.0-beta.23",
|
|
29
29
|
"marked": "^4.0.18"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"tslib": "^2.
|
|
32
|
+
"tslib": "^2.6.2"
|
|
33
33
|
},
|
|
34
34
|
"ng-update": {
|
|
35
35
|
"packageGroup": [
|