@koobiq/components 16.0.0-beta.8 → 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 +17 -8
- package/badge/badge.component.d.ts +20 -1
- package/badge/badge.component.scss +28 -0
- package/badge/badge.module.d.ts +1 -1
- 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/_koobiq-theme.scss +2 -0
- package/core/styles/_variables.scss +1 -1
- package/core/styles/common/_select.scss +2 -1
- package/core/styles/theming/_components-theming.scss +116 -49
- package/core/styles/theming/_scrollbars-theme.scss +7 -2
- package/core/styles/theming/_theming.scss +200 -28
- package/core/styles/typography/_typography.scss +180 -5
- 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 +71 -10
- package/esm2022/badge/badge.module.mjs +14 -10
- 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 +32 -10
- 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 +69 -0
- package/esm2022/icon/icon-item.component.mjs +28 -0
- package/esm2022/icon/icon.component.mjs +20 -93
- package/esm2022/icon/icon.module.mjs +8 -6
- package/esm2022/icon/public-api.mjs +3 -1
- 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 +16 -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 +30 -26
- 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-animations.mjs +2 -1
- package/esm2022/toast/toast-container.component.mjs +22 -8
- package/esm2022/toast/toast.component.mjs +16 -10
- package/esm2022/toast/toast.module.mjs +4 -4
- package/esm2022/toast/toast.service.mjs +7 -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 +26 -18
- 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 +83 -18
- 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 +109 -74
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +39 -23
- 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 +19 -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 +39 -35
- 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 +44 -26
- 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 +33 -25
- 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/_hint-theme.scss +5 -1
- package/form-field/form-field.d.ts +2 -0
- package/form-field/form-field.scss +12 -1
- package/form-field/hint.d.ts +4 -1
- package/form-field/hint.scss +10 -2
- package/form-field/password-hint.d.ts +7 -5
- package/icon/_icon-button-theme.scss +129 -0
- package/icon/_icon-item-theme.scss +41 -0
- package/icon/_icon-theme.scss +1 -222
- package/icon/icon-button.component.d.ts +23 -0
- package/icon/icon-button.scss +33 -0
- package/icon/icon-item.component.d.ts +11 -0
- package/icon/icon-item.scss +18 -0
- package/icon/icon.component.d.ts +4 -25
- package/icon/icon.module.d.ts +6 -4
- package/icon/icon.scss +0 -41
- package/icon/public-api.d.ts +2 -0
- package/input/input-number.d.ts +3 -2
- package/link/_link-theme.scss +97 -89
- package/link/link.component.d.ts +4 -1
- 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 +30 -30
- 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-theme.scss +6 -6
- package/select/select.component.d.ts +1 -1
- 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-animations.d.ts +1 -0
- package/toast/toast-container.component.d.ts +7 -3
- package/toast/toast.component.d.ts +2 -0
- package/toast/toast.service.d.ts +2 -0
- 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-theme.scss +6 -4
- package/tree-select/tree-select.component.d.ts +9 -5
- package/tree-select/tree-select.module.d.ts +1 -1
- package/form-field/password-hint.scss +0 -11
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
2
|
+
import { ChangeDetectorRef, ElementRef, OnDestroy } from '@angular/core';
|
|
3
|
+
import { CanColor, KbqFormFieldRef } from '@koobiq/components/core';
|
|
4
|
+
import { KbqIcon } from './icon.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class KbqIconButton extends KbqIcon implements OnDestroy, CanColor {
|
|
7
|
+
protected changeDetectorRef: ChangeDetectorRef;
|
|
8
|
+
private focusMonitor;
|
|
9
|
+
small: boolean;
|
|
10
|
+
get tabindex(): any;
|
|
11
|
+
set tabindex(value: any);
|
|
12
|
+
private _tabindex;
|
|
13
|
+
get disabled(): boolean;
|
|
14
|
+
set disabled(value: boolean);
|
|
15
|
+
private _disabled;
|
|
16
|
+
name: string;
|
|
17
|
+
constructor(elementRef: ElementRef, iconName: string, formField: KbqFormFieldRef, changeDetectorRef: ChangeDetectorRef, focusMonitor: FocusMonitor);
|
|
18
|
+
ngOnDestroy(): void;
|
|
19
|
+
private runFocusMonitor;
|
|
20
|
+
private stopFocusMonitor;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqIconButton, [null, { attribute: "kbq-icon-button"; }, { optional: true; }, null, null]>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqIconButton, "[kbq-icon-button]", never, { "color": { "alias": "color"; "required": false; }; "small": { "alias": "small"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
@use 'sass:meta';
|
|
2
|
+
@use 'sass:map';
|
|
3
|
+
|
|
4
|
+
@use '../core/styles/tokens';
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
$tokens: meta.module-variables(tokens) !default;
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
.kbq-icon-button {
|
|
11
|
+
&:not(.kbq-disabled) {
|
|
12
|
+
cursor: pointer;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
padding:
|
|
16
|
+
var(--kbq-icon-button-size-small-vertical-padding, map-get($tokens, icon-button-size-small-vertical-padding))
|
|
17
|
+
var(
|
|
18
|
+
--kbq-icon-button-size-small-horizontal-padding,
|
|
19
|
+
map-get($tokens, icon-button-size-small-horizontal-padding)
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
&.kbq-icon-button_small {
|
|
23
|
+
padding:
|
|
24
|
+
var(
|
|
25
|
+
--kbq-icon-button-size-normal-vertical-padding,
|
|
26
|
+
map-get($tokens, icon-button-size-normal-vertical-padding)
|
|
27
|
+
)
|
|
28
|
+
var(
|
|
29
|
+
--kbq-icon-button-size-normal-horizontal-padding,
|
|
30
|
+
map-get($tokens, icon-button-size-normal-horizontal-padding)
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
|
+
import { CanColor, KbqFormFieldRef } from '@koobiq/components/core';
|
|
3
|
+
import { KbqIcon } from './icon.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class KbqIconItem extends KbqIcon implements CanColor {
|
|
6
|
+
protected changeDetectorRef: ChangeDetectorRef;
|
|
7
|
+
name: string;
|
|
8
|
+
constructor(elementRef: ElementRef, iconName: string, formField: KbqFormFieldRef, changeDetectorRef: ChangeDetectorRef);
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqIconItem, [null, { attribute: "kbq-icon-item"; }, { optional: true; }, null]>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqIconItem, "[kbq-icon-item]", never, { "color": { "alias": "color"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@use 'sass:meta';
|
|
2
|
+
@use 'sass:map';
|
|
3
|
+
|
|
4
|
+
@use '../core/styles/tokens';
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
$tokens: meta.module-variables(tokens) !default;
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
.kbq-icon-item {
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
|
|
13
|
+
border-radius: 50%;
|
|
14
|
+
|
|
15
|
+
padding:
|
|
16
|
+
var(--kbq-icon-item-size-vertical-padding, map-get($tokens, icon-item-size-vertical-padding))
|
|
17
|
+
var(--kbq-icon-item-size-horizontal-padding, map-get($tokens, icon-item-size-horizontal-padding));
|
|
18
|
+
}
|
package/icon/icon.component.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AfterContentInit, ChangeDetectorRef, ElementRef, OnDestroy } from '@angular/core';
|
|
1
|
+
import { AfterContentInit, ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
3
2
|
import { CanColor, CanColorCtor, KbqFormFieldRef } from '@koobiq/components/core';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
/** @docs-private */
|
|
@@ -10,38 +9,18 @@ export declare class KbqIconBase {
|
|
|
10
9
|
/** @docs-private */
|
|
11
10
|
export declare const KbqIconMixinBase: CanColorCtor & typeof KbqIconBase;
|
|
12
11
|
export declare class KbqIcon extends KbqIconMixinBase implements CanColor, AfterContentInit {
|
|
12
|
+
protected iconName: string;
|
|
13
13
|
protected formField: KbqFormFieldRef;
|
|
14
14
|
protected changeDetectorRef: ChangeDetectorRef;
|
|
15
15
|
small: boolean;
|
|
16
16
|
autoColor: boolean;
|
|
17
17
|
hasError: boolean;
|
|
18
|
+
protected name: string;
|
|
18
19
|
constructor(elementRef: ElementRef, iconName: string, formField: KbqFormFieldRef, changeDetectorRef: ChangeDetectorRef);
|
|
19
20
|
getHostElement(): any;
|
|
21
|
+
updateMaxHeight(): void;
|
|
20
22
|
ngAfterContentInit(): void;
|
|
21
23
|
private updateState;
|
|
22
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqIcon, [null, { attribute: "kbq-icon"; }, { optional: true; }, null]>;
|
|
23
25
|
static ɵcmp: i0.ɵɵComponentDeclaration<KbqIcon, "[kbq-icon]", never, { "color": { "alias": "color"; "required": false; }; "small": { "alias": "small"; "required": false; }; "autoColor": { "alias": "autoColor"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
24
26
|
}
|
|
25
|
-
export declare class KbqIconButton extends KbqIcon implements OnDestroy, CanColor {
|
|
26
|
-
protected changeDetectorRef: ChangeDetectorRef;
|
|
27
|
-
private focusMonitor;
|
|
28
|
-
small: boolean;
|
|
29
|
-
get tabindex(): any;
|
|
30
|
-
set tabindex(value: any);
|
|
31
|
-
private _tabindex;
|
|
32
|
-
get disabled(): boolean;
|
|
33
|
-
set disabled(value: boolean);
|
|
34
|
-
private _disabled;
|
|
35
|
-
constructor(elementRef: ElementRef, iconName: string, formField: KbqFormFieldRef, changeDetectorRef: ChangeDetectorRef, focusMonitor: FocusMonitor);
|
|
36
|
-
ngOnDestroy(): void;
|
|
37
|
-
private runFocusMonitor;
|
|
38
|
-
private stopFocusMonitor;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KbqIconButton, [null, { attribute: "kbq-icon-button"; }, { optional: true; }, null, null]>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqIconButton, "[kbq-icon-button]", never, { "color": { "alias": "color"; "required": false; }; "small": { "alias": "small"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
41
|
-
}
|
|
42
|
-
export declare class KbqIconItem extends KbqIcon implements CanColor {
|
|
43
|
-
protected changeDetectorRef: ChangeDetectorRef;
|
|
44
|
-
constructor(elementRef: ElementRef, iconName: string, formField: KbqFormFieldRef, changeDetectorRef: ChangeDetectorRef);
|
|
45
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KbqIconItem, [null, { attribute: "kbq-icon-item"; }, { optional: true; }, null]>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqIconItem, "[kbq-icon-item]", never, { "color": { "alias": "color"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
47
|
-
}
|
package/icon/icon.module.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./icon.component";
|
|
3
|
-
import * as i2 from "
|
|
4
|
-
import * as i3 from "
|
|
5
|
-
import * as i4 from "@angular/
|
|
3
|
+
import * as i2 from "./icon-button.component";
|
|
4
|
+
import * as i3 from "./icon-item.component";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
import * as i5 from "@angular/cdk/a11y";
|
|
7
|
+
import * as i6 from "@angular/cdk/platform";
|
|
6
8
|
export declare class KbqIconModule {
|
|
7
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqIconModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqIconModule, [typeof i1.KbqIcon, typeof
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqIconModule, [typeof i1.KbqIcon, typeof i2.KbqIconButton, typeof i3.KbqIconItem], [typeof i4.CommonModule, typeof i5.A11yModule, typeof i6.PlatformModule], [typeof i1.KbqIcon, typeof i2.KbqIconButton, typeof i3.KbqIconItem]>;
|
|
9
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<KbqIconModule>;
|
|
10
12
|
}
|
package/icon/icon.scss
CHANGED
|
@@ -7,47 +7,6 @@
|
|
|
7
7
|
$tokens: meta.module-variables(tokens) !default;
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
@mixin kbq-icon-size($padding, $line-height, $font-size) {
|
|
11
|
-
padding: $padding;
|
|
12
|
-
line-height: $line-height;
|
|
13
|
-
font-size: $font-size;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.kbq-icon_button {
|
|
17
|
-
&:not(.kbq-disabled) {
|
|
18
|
-
cursor: pointer;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
padding:
|
|
22
|
-
var(--kbq-icon-button-size-small-vertical-padding, map-get($tokens, icon-button-size-small-vertical-padding))
|
|
23
|
-
var(
|
|
24
|
-
--kbq-icon-button-size-small-horizontal-padding,
|
|
25
|
-
map-get($tokens, icon-button-size-small-horizontal-padding)
|
|
26
|
-
);
|
|
27
|
-
|
|
28
|
-
&.kbq-icon-button_small {
|
|
29
|
-
padding:
|
|
30
|
-
var(
|
|
31
|
-
--kbq-icon-button-size-normal-vertical-padding,
|
|
32
|
-
map-get($tokens, icon-button-size-normal-vertical-padding)
|
|
33
|
-
)
|
|
34
|
-
var(
|
|
35
|
-
--kbq-icon-button-size-normal-horizontal-padding,
|
|
36
|
-
map-get($tokens, icon-button-size-normal-horizontal-padding)
|
|
37
|
-
);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.kbq-icon-item {
|
|
42
|
-
box-sizing: border-box;
|
|
43
|
-
|
|
44
|
-
border-radius: 50%;
|
|
45
|
-
|
|
46
|
-
padding:
|
|
47
|
-
var(--kbq-icon-item-size-vertical-padding, map-get($tokens, icon-item-size-vertical-padding))
|
|
48
|
-
var(--kbq-icon-item-size-horizontal-padding, map-get($tokens, icon-item-size-horizontal-padding));
|
|
49
|
-
}
|
|
50
|
-
|
|
51
10
|
.kbq-icon-rotate_90 {
|
|
52
11
|
transform: rotate(90deg);
|
|
53
12
|
}
|
package/icon/public-api.d.ts
CHANGED
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
|
@@ -4,160 +4,163 @@
|
|
|
4
4
|
@use '../core/styles/typography/typography-utils' as *;
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
@mixin kbq-link($
|
|
7
|
+
@mixin kbq-link-geometry($tokens) {
|
|
8
8
|
display: inline;
|
|
9
9
|
|
|
10
|
-
color: map.get($link, text);
|
|
11
10
|
text-decoration: none;
|
|
12
11
|
cursor: pointer;
|
|
13
12
|
|
|
14
|
-
|
|
13
|
+
outline-offset: var(
|
|
14
|
+
--kbq-link-size-state-focused-outline-offset, map.get($tokens, link-size-state-focused-outline-offset)
|
|
15
|
+
);
|
|
15
16
|
|
|
16
17
|
&:focus {
|
|
17
18
|
outline: none;
|
|
18
19
|
}
|
|
19
20
|
|
|
20
|
-
/* stylelint-disable no-descending-specificity */
|
|
21
|
-
&:hover {
|
|
22
|
-
color: map.get($link, state-hover-text);
|
|
23
|
-
transition: color 0ms;
|
|
24
|
-
|
|
25
|
-
&.kbq-text-only,
|
|
26
|
-
&.kbq-text-with-icon .kbq-link__text {
|
|
27
|
-
border-bottom-color: map.get($link, state-hover-border-bottom);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
& .kbq-icon {
|
|
31
|
-
color: map.get($link, state-hover-text);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&:active {
|
|
36
|
-
color: map.get($link, state-active-text);
|
|
37
|
-
|
|
38
|
-
&.kbq-text-only,
|
|
39
|
-
&.kbq-text-with-icon .kbq-link__text {
|
|
40
|
-
border-bottom-color: map.get($link, state-active-border-bottom);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&.cdk-keyboard-focused {
|
|
45
|
-
outline: map.get($link, state-focused-outline) solid map.get($link, link-size-state-focused-outline-width);
|
|
46
|
-
|
|
47
|
-
outline-offset: map.get($link, link-size-state-focused-outline-offset);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
& .kbq-icon {
|
|
51
|
-
color: inherit;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
21
|
&.kbq-text-only,
|
|
55
22
|
&.kbq-text-with-icon .kbq-link__text {
|
|
56
23
|
border-bottom-style: solid;
|
|
57
24
|
border-bottom-width: 1px;
|
|
58
|
-
border-bottom-color: map.get($link, border-bottom);
|
|
59
25
|
}
|
|
60
26
|
|
|
61
27
|
&.kbq-text-with-icon .kbq-link__text {
|
|
62
28
|
&:not(:first-child) {
|
|
63
|
-
margin-left:
|
|
29
|
+
margin-left: var(
|
|
30
|
+
--kbq-link-size-normal-content-padding, map.get($tokens, link-size-normal-content-padding)
|
|
31
|
+
);
|
|
64
32
|
}
|
|
65
33
|
|
|
66
34
|
&:not(:last-child) {
|
|
67
|
-
margin-right:
|
|
35
|
+
margin-right: var(
|
|
36
|
+
--kbq-link-size-normal-content-padding, map.get($tokens, link-size-normal-content-padding)
|
|
37
|
+
);
|
|
68
38
|
}
|
|
69
39
|
}
|
|
70
40
|
|
|
71
|
-
&.kbq-
|
|
72
|
-
&.kbq-text-only,
|
|
41
|
+
&.kbq-link_compact {
|
|
73
42
|
&.kbq-text-with-icon .kbq-link__text {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
43
|
+
&:not(:first-child) {
|
|
44
|
+
margin-left: var(
|
|
45
|
+
--kbq-link-size-compact-content-padding, map.get($tokens, link-size-compact-content-padding)
|
|
46
|
+
);
|
|
47
|
+
}
|
|
77
48
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
49
|
+
&:not(:last-child) {
|
|
50
|
+
margin-right: var(
|
|
51
|
+
--kbq-link-size-compact-content-padding, map.get($tokens, link-size-compact-content-padding)
|
|
52
|
+
);
|
|
53
|
+
}
|
|
82
54
|
}
|
|
83
55
|
}
|
|
84
56
|
|
|
57
|
+
/* stylelint-disable no-descending-specificity */
|
|
85
58
|
&.kbq-link_big {
|
|
86
59
|
&.kbq-text-with-icon .kbq-link__text {
|
|
87
60
|
&:not(:first-child) {
|
|
88
|
-
margin-left: map.get($tokens, link-size-big-content-padding);
|
|
61
|
+
margin-left: var(--kbq-link-size-big-content-padding, map.get($tokens, link-size-big-content-padding));
|
|
89
62
|
}
|
|
90
63
|
|
|
91
64
|
&:not(:last-child) {
|
|
92
|
-
margin-right: map.get($tokens, link-size-big-content-padding);
|
|
65
|
+
margin-right: var(--kbq-link-size-big-content-padding, map.get($tokens, link-size-big-content-padding));
|
|
93
66
|
}
|
|
94
67
|
}
|
|
95
68
|
}
|
|
96
69
|
|
|
97
|
-
&[disabled] {
|
|
98
|
-
color: map.get($foreground, text-disabled);
|
|
99
|
-
|
|
100
|
-
cursor: default;
|
|
101
|
-
pointer-events: none;
|
|
102
70
|
|
|
71
|
+
&.kbq-link_pseudo {
|
|
103
72
|
&.kbq-text-only,
|
|
104
73
|
&.kbq-text-with-icon .kbq-link__text {
|
|
105
|
-
border-bottom
|
|
74
|
+
border-bottom: none;
|
|
106
75
|
}
|
|
76
|
+
}
|
|
107
77
|
|
|
108
|
-
|
|
109
|
-
|
|
78
|
+
&.kbq-link_no-underline {
|
|
79
|
+
&.kbq-text-only,
|
|
80
|
+
&.kbq-text-with-icon .kbq-link__text {
|
|
81
|
+
border-bottom-color: transparent;
|
|
110
82
|
}
|
|
111
|
-
/* stylelint-enable no-descending-specificity */
|
|
112
83
|
}
|
|
84
|
+
/* stylelint-enable no-descending-specificity */
|
|
113
85
|
}
|
|
114
86
|
|
|
115
|
-
@mixin kbq-link-
|
|
116
|
-
|
|
87
|
+
@mixin kbq-link-state($state) {
|
|
88
|
+
color: map.get($state, text);
|
|
89
|
+
|
|
90
|
+
&.kbq-text-only,
|
|
91
|
+
&.kbq-text-with-icon .kbq-link__text {
|
|
92
|
+
border-bottom-color: map.get($state, border-bottom);
|
|
93
|
+
}
|
|
117
94
|
|
|
95
|
+
& .kbq-icon {
|
|
96
|
+
color: map.get($state, text) !important;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
@mixin kbq-link-theme($theme) {
|
|
118
101
|
$link: map.get(map.get($theme, components), link);
|
|
119
102
|
|
|
120
103
|
$tokens: map.get($theme, tokens);
|
|
121
104
|
|
|
122
|
-
.kbq-link
|
|
123
|
-
|
|
124
|
-
|
|
105
|
+
.kbq-link {
|
|
106
|
+
@include kbq-link-geometry($tokens);
|
|
107
|
+
|
|
108
|
+
$default: map.get($link, default);
|
|
109
|
+
@include kbq-link-state($default);
|
|
110
|
+
|
|
111
|
+
transition: color ease-out 300ms;
|
|
112
|
+
|
|
113
|
+
&:hover {
|
|
114
|
+
transition: color 0ms;
|
|
115
|
+
|
|
116
|
+
$hover: map.get($link, hover);
|
|
117
|
+
@include kbq-link-state($hover);
|
|
125
118
|
}
|
|
126
119
|
|
|
127
|
-
|
|
128
|
-
|
|
120
|
+
&:active {
|
|
121
|
+
$active: map.get($link, active);
|
|
122
|
+
@include kbq-link-state($active);
|
|
123
|
+
}
|
|
129
124
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
125
|
+
&.kbq-link_use-visited:not(.kbq-disabled):visited {
|
|
126
|
+
$visited: map.get($link, visited);
|
|
127
|
+
@include kbq-link-state($visited);
|
|
133
128
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
129
|
+
&:hover {
|
|
130
|
+
$visited-hover: map.get($link, visited-hover);
|
|
131
|
+
@include kbq-link-state($visited-hover);
|
|
137
132
|
}
|
|
138
133
|
|
|
139
|
-
|
|
140
|
-
|
|
134
|
+
&:active {
|
|
135
|
+
$visited-active: map.get($link, visited-active);
|
|
136
|
+
@include kbq-link-state($visited-active);
|
|
141
137
|
}
|
|
142
138
|
}
|
|
143
139
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
.kbq-link_print:not([disabled]) {
|
|
149
|
-
color: map.get($foreground, contrast);
|
|
140
|
+
&.cdk-keyboard-focused {
|
|
141
|
+
$focused: map.get($link, focused);
|
|
142
|
+
outline: map.get($focused, outline) solid;
|
|
143
|
+
}
|
|
150
144
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
}
|
|
145
|
+
&.kbq-disabled {
|
|
146
|
+
cursor: default;
|
|
147
|
+
pointer-events: none;
|
|
155
148
|
|
|
156
|
-
|
|
157
|
-
|
|
149
|
+
$disabled: map.get($link, disabled);
|
|
150
|
+
@include kbq-link-state($disabled);
|
|
151
|
+
}
|
|
158
152
|
|
|
159
|
-
|
|
160
|
-
|
|
153
|
+
@media print {
|
|
154
|
+
.kbq-link_print:not(.kbq-disabled) {
|
|
155
|
+
&.kbq-text-only,
|
|
156
|
+
&.kbq-text-with-icon .kbq-link__text {
|
|
157
|
+
border-bottom: none;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
&::after {
|
|
161
|
+
content: ":\a" attr(print);
|
|
162
|
+
white-space: pre;
|
|
163
|
+
}
|
|
161
164
|
}
|
|
162
165
|
}
|
|
163
166
|
}
|
|
@@ -171,9 +174,14 @@
|
|
|
171
174
|
|
|
172
175
|
& .kbq-icon {
|
|
173
176
|
line-height: inherit;
|
|
177
|
+
vertical-align: text-bottom;
|
|
174
178
|
}
|
|
175
179
|
}
|
|
176
180
|
|
|
181
|
+
.kbq-link.kbq-link_compact {
|
|
182
|
+
@include kbq-typography-level-to-styles($config, map.get($tokens, link-font-compact));
|
|
183
|
+
}
|
|
184
|
+
|
|
177
185
|
.kbq-link.kbq-link_big {
|
|
178
186
|
@include kbq-typography-level-to-styles($config, map.get($tokens, link-font-big));
|
|
179
187
|
}
|
package/link/link.component.d.ts
CHANGED
|
@@ -25,6 +25,9 @@ export declare class KbqLink extends KbqLinkMixinBase implements OnDestroy, HasT
|
|
|
25
25
|
get big(): any;
|
|
26
26
|
set big(value: any);
|
|
27
27
|
private _big;
|
|
28
|
+
get compact(): any;
|
|
29
|
+
set compact(value: any);
|
|
30
|
+
private _compact;
|
|
28
31
|
get useVisited(): any;
|
|
29
32
|
set useVisited(value: any);
|
|
30
33
|
private _useVisited;
|
|
@@ -40,5 +43,5 @@ export declare class KbqLink extends KbqLinkMixinBase implements OnDestroy, HasT
|
|
|
40
43
|
getHostElement(): any;
|
|
41
44
|
private updatePrintUrl;
|
|
42
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqLink, never>;
|
|
43
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqLink, "[kbq-link]", ["kbqLink"], { "tabIndex": { "alias": "tabIndex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "pseudo": { "alias": "pseudo"; "required": false; }; "noUnderline": { "alias": "noUnderline"; "required": false; }; "big": { "alias": "big"; "required": false; }; "useVisited": { "alias": "useVisited"; "required": false; }; "print": { "alias": "print"; "required": false; }; }, {}, ["icon"], never, false, never>;
|
|
46
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqLink, "[kbq-link]", ["kbqLink"], { "tabIndex": { "alias": "tabIndex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "pseudo": { "alias": "pseudo"; "required": false; }; "noUnderline": { "alias": "noUnderline"; "required": false; }; "big": { "alias": "big"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "useVisited": { "alias": "useVisited"; "required": false; }; "print": { "alias": "print"; "required": false; }; }, {}, ["icon"], never, false, never>;
|
|
44
47
|
}
|
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;
|