@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
|
@@ -5,17 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
@mixin kbq-autocomplete-theme($theme) {
|
|
8
|
-
$
|
|
8
|
+
$select-panel: map.get(map.get($theme, components), select-panel);
|
|
9
9
|
|
|
10
10
|
.kbq-autocomplete-panel {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
color: theming.kbq-color($foreground, text);
|
|
14
|
-
|
|
15
|
-
.kbq-selected {
|
|
16
|
-
$popup: map.get(map.get($theme, components), popup);
|
|
17
|
-
|
|
18
|
-
background-color: map.get($popup, background);
|
|
19
|
-
}
|
|
11
|
+
box-shadow: map.get($select-panel, shadow);
|
|
12
|
+
background: map.get($select-panel, background);
|
|
20
13
|
}
|
|
21
14
|
}
|
|
@@ -23,11 +23,6 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
23
23
|
|
|
24
24
|
max-height: var(--kbq-autocomplete-size-panel-max-height, map.get($tokens, autocomplete-size-panel-max-height));
|
|
25
25
|
|
|
26
|
-
border: {
|
|
27
|
-
width: 1px;
|
|
28
|
-
style: solid;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
26
|
border-bottom-left-radius: var(
|
|
32
27
|
--kbq-autocomplete-size-panel-border-radius, map.get($tokens, autocomplete-size-panel-border-radius)
|
|
33
28
|
);
|
package/badge/_badge-theme.scss
CHANGED
package/button/_button-base.scss
CHANGED
|
@@ -25,18 +25,17 @@
|
|
|
25
25
|
|
|
26
26
|
@include _icon(map.get($params, left-icon), map.get($params, right-icon));
|
|
27
27
|
|
|
28
|
-
&:hover:not(
|
|
29
|
-
&.kbq-hover:not(
|
|
28
|
+
&:hover:not(.kbq-disabled),
|
|
29
|
+
&.kbq-hover:not(.kbq-disabled) {
|
|
30
30
|
background: map.get($params, states_hover_background);
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
&:active:not(
|
|
34
|
-
&.kbq-active:not(
|
|
33
|
+
&:active:not(.kbq-disabled),
|
|
34
|
+
&.kbq-active:not(.kbq-disabled) {
|
|
35
35
|
background: map.get($params, states_active_background);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
&.kbq-disabled
|
|
39
|
-
&[disabled] {
|
|
38
|
+
&.kbq-disabled {
|
|
40
39
|
color: map.get($params, states_disabled_foreground);
|
|
41
40
|
background: map.get($params, states_disabled_background);
|
|
42
41
|
|
|
@@ -44,27 +43,24 @@
|
|
|
44
43
|
}
|
|
45
44
|
}
|
|
46
45
|
|
|
47
|
-
@mixin kbq-outline-button($params
|
|
46
|
+
@mixin kbq-outline-button($params) {
|
|
48
47
|
border-color: map.get($params, border);
|
|
49
48
|
color: map.get($params, foreground);
|
|
50
49
|
background: map.get($params, background);
|
|
51
50
|
|
|
52
|
-
@
|
|
53
|
-
@include _icon(map.get($params, left-icon), map.get($params, right-icon));
|
|
54
|
-
}
|
|
51
|
+
@include _icon(map.get($params, left-icon), map.get($params, right-icon));
|
|
55
52
|
|
|
56
|
-
&:hover:not(
|
|
57
|
-
&.kbq-hover:not(
|
|
53
|
+
&:hover:not(.kbq-disabled),
|
|
54
|
+
&.kbq-hover:not(.kbq-disabled) {
|
|
58
55
|
background: map.get($params, states_hover_background);
|
|
59
56
|
}
|
|
60
57
|
|
|
61
|
-
&:active:not(
|
|
62
|
-
&.kbq-active:not(
|
|
58
|
+
&:active:not(.kbq-disabled),
|
|
59
|
+
&.kbq-active:not(.kbq-disabled) {
|
|
63
60
|
background: map.get($params, states_active_background);
|
|
64
61
|
}
|
|
65
62
|
|
|
66
|
-
&.kbq-disabled
|
|
67
|
-
&[disabled] {
|
|
63
|
+
&.kbq-disabled {
|
|
68
64
|
border-color: map.get($params, states_disabled_border);
|
|
69
65
|
color: map.get($params, states_disabled_foreground);
|
|
70
66
|
|
|
@@ -79,18 +75,17 @@
|
|
|
79
75
|
|
|
80
76
|
@include _icon(map.get($params, left-icon), map.get($params, right-icon));
|
|
81
77
|
|
|
82
|
-
&:hover:not(
|
|
83
|
-
&.kbq-hover:not(
|
|
78
|
+
&:hover:not(.kbq-disabled),
|
|
79
|
+
&.kbq-hover:not(.kbq-disabled) {
|
|
84
80
|
background: map.get($params, states_hover_background);
|
|
85
81
|
}
|
|
86
82
|
|
|
87
|
-
&:active:not(
|
|
88
|
-
&.kbq-active:not(
|
|
83
|
+
&:active:not(.kbq-disabled),
|
|
84
|
+
&.kbq-active:not(.kbq-disabled) {
|
|
89
85
|
background: map.get($params, states_active_background);
|
|
90
86
|
}
|
|
91
87
|
|
|
92
|
-
&.kbq-disabled
|
|
93
|
-
&[disabled] {
|
|
88
|
+
&.kbq-disabled {
|
|
94
89
|
border-color: map.get($params, states_disabled_border);
|
|
95
90
|
color: map.get($params, states_disabled_foreground);
|
|
96
91
|
|
|
@@ -132,6 +127,12 @@
|
|
|
132
127
|
|
|
133
128
|
@include kbq-outline-button($outline-theme-fade-on);
|
|
134
129
|
}
|
|
130
|
+
|
|
131
|
+
&.kbq-contrast-fade {
|
|
132
|
+
$outline-contrast-fade-on: map.get(map.get($button, outline), contrast-fade-on);
|
|
133
|
+
|
|
134
|
+
@include kbq-outline-button($outline-contrast-fade-on);
|
|
135
|
+
}
|
|
135
136
|
}
|
|
136
137
|
|
|
137
138
|
&.kbq-button_transparent {
|
|
@@ -156,22 +157,6 @@
|
|
|
156
157
|
}
|
|
157
158
|
}
|
|
158
159
|
}
|
|
159
|
-
|
|
160
|
-
.kbq-button_outline {
|
|
161
|
-
$outline-contrast-fade-on: map.get(map.get($button, outline), contrast-fade-on);
|
|
162
|
-
|
|
163
|
-
&.kbq-button {
|
|
164
|
-
&.kbq-contrast-fade {
|
|
165
|
-
@include kbq-outline-button($outline-contrast-fade-on);
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
&.kbq-button-icon {
|
|
170
|
-
&.kbq-contrast-fade {
|
|
171
|
-
@include kbq-outline-button($outline-contrast-fade-on, $include-icons: false);
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
160
|
}
|
|
176
161
|
|
|
177
162
|
@mixin kbq-button-typography($config) {
|
|
@@ -15,8 +15,13 @@
|
|
|
15
15
|
|
|
16
16
|
@mixin kbq-checkbox-color($checkbox) {
|
|
17
17
|
$default: map.get($checkbox, default);
|
|
18
|
+
|
|
18
19
|
@include kbq-checkbox-state($default);
|
|
19
20
|
|
|
21
|
+
.kbq-checkbox-label {
|
|
22
|
+
color: map.get($default, text);
|
|
23
|
+
}
|
|
24
|
+
|
|
20
25
|
.kbq-checkbox__frame {
|
|
21
26
|
& .kbq-checkbox-checkmark,
|
|
22
27
|
& .kbq-checkbox-mixedmark {
|
|
@@ -82,26 +87,24 @@
|
|
|
82
87
|
& .kbq-hint .kbq-hint__text {
|
|
83
88
|
color: map.get($disabled, caption);
|
|
84
89
|
}
|
|
90
|
+
|
|
91
|
+
.kbq-checkbox-label {
|
|
92
|
+
color: map.get($disabled, text);
|
|
93
|
+
}
|
|
85
94
|
}
|
|
86
95
|
}
|
|
87
96
|
/* stylelint-enable no-descending-specificity */
|
|
88
97
|
|
|
89
98
|
@mixin kbq-checkbox-theme($theme) {
|
|
90
|
-
$foreground: map.get($theme, foreground);
|
|
91
|
-
|
|
92
99
|
$checkbox: map.get(map.get($theme, components), checkbox);
|
|
93
100
|
|
|
94
101
|
$checkbox-theme: map.get($checkbox, theme);
|
|
95
102
|
$checkbox-error: map.get($checkbox, error);
|
|
96
103
|
|
|
97
104
|
.kbq-checkbox {
|
|
98
|
-
color: map.get($foreground, contrast);
|
|
99
|
-
|
|
100
105
|
@include kbq-checkbox-color($checkbox-theme);
|
|
101
106
|
|
|
102
107
|
&.kbq-error {
|
|
103
|
-
color: map.get($foreground, contrast);
|
|
104
|
-
|
|
105
108
|
@include kbq-checkbox-color($checkbox-error);
|
|
106
109
|
}
|
|
107
110
|
}
|
package/checkbox/checkbox.scss
CHANGED
|
@@ -14,17 +14,12 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
14
14
|
.kbq-checkbox-checkmark,
|
|
15
15
|
.kbq-checkbox-mixedmark {
|
|
16
16
|
display: none;
|
|
17
|
-
|
|
18
|
-
position: absolute;
|
|
19
|
-
|
|
20
|
-
top: -1px;
|
|
21
|
-
left: -1px;
|
|
22
|
-
right: 0;
|
|
23
|
-
bottom: 0;
|
|
24
17
|
}
|
|
25
18
|
|
|
26
19
|
.kbq-checkbox__frame {
|
|
27
|
-
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
justify-content: center;
|
|
28
23
|
|
|
29
24
|
box-sizing: border-box;
|
|
30
25
|
pointer-events: none;
|
|
@@ -36,6 +31,9 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
36
31
|
width: var(--kbq-checkbox-size-normal-border-width, map.get($tokens, checkbox-size-normal-border-width));
|
|
37
32
|
style: solid;
|
|
38
33
|
}
|
|
34
|
+
|
|
35
|
+
height: var(--kbq-checkbox-size-normal-width, map.get($tokens, checkbox-size-normal-width));
|
|
36
|
+
width: var(--kbq-checkbox-size-normal-width, map.get($tokens, checkbox-size-normal-width));
|
|
39
37
|
}
|
|
40
38
|
|
|
41
39
|
.kbq-checkbox__layout {
|
|
@@ -5,13 +5,49 @@
|
|
|
5
5
|
@use '../core/styles/typography/typography-utils' as *;
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
@mixin kbq-code-block-style($style) {
|
|
9
|
+
$container: map.get($style, container);
|
|
10
|
+
$actionbar: map.get($style, actionbar);
|
|
11
|
+
$collapse: map.get($style, collapse);
|
|
12
|
+
|
|
13
|
+
border-color: map.get($container, border);
|
|
14
|
+
background: map.get($container, background);
|
|
15
|
+
|
|
16
|
+
& .kbq-tab-header {
|
|
17
|
+
$header: map.get($style, header);
|
|
18
|
+
background: map.get($header, background) !important;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&:not(.kbq-code-block_no-header) .kbq-code-block__code {
|
|
22
|
+
box-shadow: map.get($container, shadow);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.kbq-code-block_no-header {
|
|
26
|
+
& .kbq-code-block__fade-gradient {
|
|
27
|
+
display: block;
|
|
28
|
+
|
|
29
|
+
background: map.get($actionbar, fade-gradient)
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
& .kbq-code-block-actionbar {
|
|
34
|
+
background: map.get($actionbar, background);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
& .kbq-code-block__show-more_expanded {
|
|
39
|
+
background: map.get($collapse, expanded-background);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
& .kbq-code-block__show-more_collapsed {
|
|
43
|
+
background: map.get($collapse, collapsed-background);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
8
47
|
@mixin kbq-code-block-theme($theme) {
|
|
9
48
|
$code-block: map.get(map.get($theme, components), code-block);
|
|
10
49
|
|
|
11
50
|
.kbq-code-block {
|
|
12
|
-
background-color: map.get($code-block, main-background);
|
|
13
|
-
border-color: map.get($code-block, border);
|
|
14
|
-
|
|
15
51
|
.hljs {
|
|
16
52
|
$hljs: map.get($code-block, hljs);
|
|
17
53
|
|
|
@@ -282,12 +318,12 @@
|
|
|
282
318
|
}
|
|
283
319
|
}
|
|
284
320
|
|
|
285
|
-
&.kbq-code-
|
|
286
|
-
|
|
321
|
+
&.kbq-code-block_outline {
|
|
322
|
+
@include kbq-code-block-style(map.get($code-block, outline));
|
|
287
323
|
}
|
|
288
324
|
|
|
289
|
-
|
|
290
|
-
|
|
325
|
+
&.kbq-code-block_filled {
|
|
326
|
+
@include kbq-code-block-style(map.get($code-block, filled));
|
|
291
327
|
}
|
|
292
328
|
|
|
293
329
|
.kbq-tab-header {
|
|
@@ -298,7 +334,6 @@
|
|
|
298
334
|
}
|
|
299
335
|
|
|
300
336
|
.kbq-code-block__show-more {
|
|
301
|
-
border-top-color: map.get($code-block, border) !important;
|
|
302
337
|
}
|
|
303
338
|
}
|
|
304
339
|
|
|
@@ -326,9 +361,5 @@
|
|
|
326
361
|
font: inherit;
|
|
327
362
|
}
|
|
328
363
|
}
|
|
329
|
-
|
|
330
|
-
.hljs-ln-numbers {
|
|
331
|
-
@include kbq-typography-level-to-styles($config, caption-mono);
|
|
332
|
-
}
|
|
333
364
|
}
|
|
334
365
|
}
|
|
@@ -13,12 +13,40 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
13
13
|
|
|
14
14
|
position: absolute;
|
|
15
15
|
|
|
16
|
-
top:
|
|
17
|
-
right:
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
16
|
+
top: 0;
|
|
17
|
+
right: 0;
|
|
18
|
+
|
|
19
|
+
padding:
|
|
20
|
+
var(
|
|
21
|
+
--kbq-code-block-size-actionbar-padding-vertical,
|
|
22
|
+
map.get($tokens, code-block-size-actionbar-padding-vertical)
|
|
23
|
+
)
|
|
24
|
+
var(
|
|
25
|
+
--kbq-code-block-size-actionbar-padding-horizontal,
|
|
26
|
+
map.get($tokens, code-block-size-actionbar-padding-horizontal)
|
|
27
|
+
);
|
|
28
|
+
|
|
29
|
+
gap: var(
|
|
30
|
+
--kbq-code-block-size-actionbar-content-gap-horizontal,
|
|
31
|
+
map.get($tokens, code-block-size-actionbar-content-gap-horizontal)
|
|
32
|
+
);
|
|
33
|
+
|
|
34
|
+
& .kbq-code-block__fade-gradient {
|
|
35
|
+
display: none;
|
|
36
|
+
|
|
37
|
+
width: var(
|
|
38
|
+
--kbq-code-block-size-actionbar-fade-gradient-width,
|
|
39
|
+
map.get($tokens, code-block-size-actionbar-fade-gradient-width)
|
|
40
|
+
);
|
|
41
|
+
height: 40px;
|
|
42
|
+
|
|
43
|
+
margin-top: calc(
|
|
44
|
+
var(
|
|
45
|
+
--kbq-code-block-size-actionbar-padding-vertical,
|
|
46
|
+
map.get($tokens, code-block-size-actionbar-padding-vertical)
|
|
47
|
+
) * -1
|
|
48
|
+
);
|
|
49
|
+
}
|
|
22
50
|
|
|
23
51
|
&.kbq-actionbar-block_floating {
|
|
24
52
|
top: map.get($tokens, code-block-size-actionbar-margin-top);
|
|
@@ -44,7 +44,7 @@ export declare class KbqCodeBlockComponent implements OnDestroy {
|
|
|
44
44
|
tabGroup: KbqTabGroup;
|
|
45
45
|
lineNumbers: boolean;
|
|
46
46
|
codeFiles: KbqCodeFile[];
|
|
47
|
-
|
|
47
|
+
filled: boolean;
|
|
48
48
|
maxHeight: number;
|
|
49
49
|
softWrap: boolean;
|
|
50
50
|
get noHeader(): any;
|
|
@@ -70,5 +70,5 @@ export declare class KbqCodeBlockComponent implements OnDestroy {
|
|
|
70
70
|
private updateMultiline;
|
|
71
71
|
private getFullFileName;
|
|
72
72
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqCodeBlockComponent, [null, null, null, null, { optional: true; }]>;
|
|
73
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqCodeBlockComponent, "kbq-code-block", ["kbqCodeBlock"], { "lineNumbers": { "alias": "lineNumbers"; "required": false; }; "codeFiles": { "alias": "codeFiles"; "required": false; }; "
|
|
73
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqCodeBlockComponent, "kbq-code-block", ["kbqCodeBlock"], { "lineNumbers": { "alias": "lineNumbers"; "required": false; }; "codeFiles": { "alias": "codeFiles"; "required": false; }; "filled": { "alias": "filled"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "softWrap": { "alias": "softWrap"; "required": false; }; }, {}, never, never, false, never>;
|
|
74
74
|
}
|
|
@@ -9,6 +9,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
9
9
|
.kbq-code-block {
|
|
10
10
|
display: block;
|
|
11
11
|
position: relative;
|
|
12
|
+
overflow: hidden;
|
|
12
13
|
|
|
13
14
|
box-sizing: border-box;
|
|
14
15
|
|
|
@@ -17,24 +18,62 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
17
18
|
-moz-hyphens: none;
|
|
18
19
|
-webkit-hyphens: none;
|
|
19
20
|
|
|
20
|
-
border-width:
|
|
21
|
+
border-width: var(
|
|
22
|
+
--kbq-code-block-size-container-border-width, map.get($tokens, code-block-size-container-border-width)
|
|
23
|
+
);
|
|
21
24
|
border-style: solid;
|
|
22
|
-
border-radius:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
content: "";
|
|
26
|
-
|
|
27
|
-
position: absolute;
|
|
28
|
-
top: 39px;
|
|
29
|
-
left: 0;
|
|
30
|
-
right: 0;
|
|
31
|
-
|
|
32
|
-
height: 1px;
|
|
33
|
-
}
|
|
25
|
+
border-radius: var(
|
|
26
|
+
--kbq-code-block-size-container-border-radius, map.get($tokens, code-block-size-container-border-radius)
|
|
27
|
+
);
|
|
34
28
|
|
|
35
29
|
.kbq-tab-header {
|
|
36
30
|
// 4 buttons + margin
|
|
37
31
|
margin-right: calc(32 * 4) + 24px;
|
|
32
|
+
|
|
33
|
+
padding:
|
|
34
|
+
var(
|
|
35
|
+
--kbq-code-block-size-header-padding-vertical,
|
|
36
|
+
map.get($tokens, code-block-size-header-padding-vertical)
|
|
37
|
+
)
|
|
38
|
+
var(
|
|
39
|
+
--kbq-code-block-size-header-padding-right,
|
|
40
|
+
map.get($tokens, code-block-size-header-padding-right)
|
|
41
|
+
)
|
|
42
|
+
var(
|
|
43
|
+
--kbq-code-block-size-header-padding-vertical,
|
|
44
|
+
map.get($tokens, code-block-size-header-padding-vertical)
|
|
45
|
+
) var(
|
|
46
|
+
--kbq-code-block-size-header-padding-left,
|
|
47
|
+
map.get($tokens, code-block-size-header-padding-left)
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.kbq-code-block__code {
|
|
52
|
+
> code {
|
|
53
|
+
padding:
|
|
54
|
+
var(
|
|
55
|
+
--kbq-code-block-size-with-header-content-padding-top,
|
|
56
|
+
map.get($tokens, code-block-size-with-header-content-padding-top)
|
|
57
|
+
)
|
|
58
|
+
var(
|
|
59
|
+
--kbq-code-block-size-with-header-content-padding-horizontal,
|
|
60
|
+
map.get($tokens, code-block-size-with-header-content-padding-horizontal)
|
|
61
|
+
)
|
|
62
|
+
var(
|
|
63
|
+
--kbq-code-block-size-with-header-content-padding-bottom,
|
|
64
|
+
map.get($tokens, code-block-size-with-header-content-padding-bottom)
|
|
65
|
+
) var(
|
|
66
|
+
--kbq-code-block-size-with-header-content-padding-horizontal,
|
|
67
|
+
map.get($tokens, code-block-size-with-header-content-padding-horizontal)
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.hljs-ln-numbers {
|
|
72
|
+
padding-right: var(
|
|
73
|
+
--kbq-code-block-size-with-header-content-content-gap-horizontal,
|
|
74
|
+
map.get($tokens, code-block-size-with-header-content-content-gap-horizontal)
|
|
75
|
+
);
|
|
76
|
+
}
|
|
38
77
|
}
|
|
39
78
|
|
|
40
79
|
&.kbq-code-block_hide-line-numbers .hljs-ln-line.hljs-ln-numbers {
|
|
@@ -54,12 +93,31 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
54
93
|
}
|
|
55
94
|
|
|
56
95
|
&.kbq-code-block_no-header {
|
|
96
|
+
.kbq-tab-header {
|
|
97
|
+
display: none;
|
|
98
|
+
}
|
|
99
|
+
|
|
57
100
|
.kbq-code-block__code {
|
|
58
101
|
position: relative;
|
|
59
|
-
}
|
|
60
102
|
|
|
61
|
-
|
|
62
|
-
|
|
103
|
+
& > code {
|
|
104
|
+
padding:
|
|
105
|
+
var(
|
|
106
|
+
--kbq-code-block-size-no-header-content-padding-vertical,
|
|
107
|
+
map.get($tokens, code-block-size-no-header-content-padding-vertical)
|
|
108
|
+
)
|
|
109
|
+
var(
|
|
110
|
+
--kbq-code-block-size-no-header-content-padding-horizontal,
|
|
111
|
+
map.get($tokens, code-block-size-no-header-content-padding-horizontal)
|
|
112
|
+
);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.hljs-ln-numbers {
|
|
116
|
+
padding-right: var(
|
|
117
|
+
--kbq-code-block-size-no-header-content-content-gap-horizontal,
|
|
118
|
+
map.get($tokens, code-block-size-no-header-content-content-gap-horizontal)
|
|
119
|
+
);
|
|
120
|
+
}
|
|
63
121
|
}
|
|
64
122
|
}
|
|
65
123
|
|
|
@@ -89,10 +147,6 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
89
147
|
white-space: pre-wrap
|
|
90
148
|
}
|
|
91
149
|
|
|
92
|
-
> code {
|
|
93
|
-
padding: map.get($tokens, code-block-size-padding) !important;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
150
|
.hljs-ln {
|
|
97
151
|
border-collapse: unset;
|
|
98
152
|
|
|
@@ -102,9 +156,6 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
102
156
|
}
|
|
103
157
|
|
|
104
158
|
.hljs-ln-numbers {
|
|
105
|
-
border-right-width: map.get($tokens, code-block-size-line-numbers-border-width);
|
|
106
|
-
padding: map.get($tokens, code-block-size-line-numbers-padding);
|
|
107
|
-
|
|
108
159
|
vertical-align: baseline;
|
|
109
160
|
text-align: right;
|
|
110
161
|
}
|
|
@@ -115,14 +166,37 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
115
166
|
}
|
|
116
167
|
|
|
117
168
|
.kbq-code-block__show-more {
|
|
169
|
+
display: flex;
|
|
170
|
+
justify-content: center;
|
|
118
171
|
overflow: hidden;
|
|
119
172
|
|
|
120
173
|
width: 100%;
|
|
121
174
|
|
|
122
|
-
|
|
123
|
-
|
|
175
|
+
position: absolute;
|
|
176
|
+
bottom: 0;
|
|
124
177
|
|
|
125
|
-
|
|
126
|
-
|
|
178
|
+
&.kbq-code-block__show-more_collapsed {
|
|
179
|
+
padding-top: var(
|
|
180
|
+
--kbq-code-block-size-collapse-collapsed-padding-top,
|
|
181
|
+
map.get($tokens, code-block-size-collapse-collapsed-padding-top)
|
|
182
|
+
);
|
|
183
|
+
|
|
184
|
+
padding-bottom: var(
|
|
185
|
+
--kbq-code-block-size-collapse-collapsed-padding-bottom,
|
|
186
|
+
map.get($tokens, code-block-size-collapse-collapsed-padding-bottom)
|
|
187
|
+
);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
&.kbq-code-block__show-more_expanded {
|
|
191
|
+
padding-top: var(
|
|
192
|
+
--kbq-code-block-size-collapse-expanded-padding-top,
|
|
193
|
+
map.get($tokens, code-block-size-collapse-expanded-padding-top)
|
|
194
|
+
);
|
|
195
|
+
|
|
196
|
+
margin-bottom: var(
|
|
197
|
+
--kbq-code-block-size-collapse-expanded-padding-bottom,
|
|
198
|
+
map.get($tokens, code-block-size-collapse-expanded-padding-bottom)
|
|
199
|
+
);
|
|
200
|
+
}
|
|
127
201
|
}
|
|
128
202
|
/* stylelint-enable no-descending-specificity */
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
1
2
|
export { KbqCommonModule, KBQ_SANITY_CHECKS } from './common-module';
|
|
2
3
|
export { CanDisable, CanDisableCtor, mixinDisabled } from './disabled';
|
|
3
4
|
export { CanColor, CanColorCtor, mixinColor, ThemePalette, KbqComponentColors } from './color';
|
|
4
5
|
export { HasTabIndex, HasTabIndexCtor, mixinTabIndex } from './tabindex';
|
|
5
6
|
export { CanUpdateErrorStateCtor, CanUpdateErrorState, mixinErrorState } from './error-state';
|
|
7
|
+
export declare const KBQ_PARENT_ANIMATION_COMPONENT: InjectionToken<any>;
|
package/core/locales/index.d.ts
CHANGED
|
@@ -11,9 +11,10 @@
|
|
|
11
11
|
color: map.get($state, text);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
// todo выглядит как баг
|
|
15
|
+
//.kbq-icon {
|
|
16
|
+
// color: map.get($state, icon);
|
|
17
|
+
//}
|
|
17
18
|
|
|
18
19
|
.kbq-option-action .kbq-icon {
|
|
19
20
|
color: map.get($state, icon-button);
|
|
@@ -47,8 +48,7 @@
|
|
|
47
48
|
}
|
|
48
49
|
}
|
|
49
50
|
|
|
50
|
-
&.kbq-disabled
|
|
51
|
-
&[disabled] {
|
|
51
|
+
&.kbq-disabled {
|
|
52
52
|
@include kbq-option(map.get($list-item, disabled));
|
|
53
53
|
}
|
|
54
54
|
}
|
package/core/option/action.scss
CHANGED
package/core/pop-up/pop-up.d.ts
CHANGED
|
@@ -21,6 +21,13 @@ export declare abstract class KbqPopUp implements OnDestroy {
|
|
|
21
21
|
ngOnDestroy(): void;
|
|
22
22
|
isTemplateRef(value: any): boolean;
|
|
23
23
|
show(delay: number): void;
|
|
24
|
+
/**
|
|
25
|
+
* Hides the popup after a specified delay.
|
|
26
|
+
*
|
|
27
|
+
* The hide timeout triggers the hiding of the popup by updating visibility and emitting relevant events.
|
|
28
|
+
* Also, it marks for check to ensure proper change detection, especially for parent components with OnPush strategy.
|
|
29
|
+
* @param delay - The delay in milliseconds before hiding the popup.
|
|
30
|
+
*/
|
|
24
31
|
hide(delay: number): void;
|
|
25
32
|
isVisible(): boolean;
|
|
26
33
|
updateClassMap(placement: string, customClass: string, classMap?: any): void;
|