@koobiq/components 18.0.0 → 18.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/README.md +0 -0
- package/accordion/_accordion-theme.scss +62 -0
- package/accordion/accordion-content.d.ts +6 -0
- package/accordion/accordion-header.d.ts +6 -0
- package/accordion/accordion-item.d.ts +6 -0
- package/accordion/accordion-tokens.scss +45 -0
- package/accordion/accordion-trigger.component.d.ts +11 -0
- package/accordion/accordion-trigger.component.scss +79 -0
- package/accordion/accordion.component.d.ts +20 -0
- package/accordion/accordion.component.scss +66 -0
- package/accordion/accordion.module.d.ts +12 -0
- package/accordion/index.d.ts +1 -0
- package/accordion/public-api.d.ts +6 -0
- package/alert/_alert-theme.scss +3 -3
- package/alert/alert-tokens.scss +2 -2
- package/alert/alert.component.scss +40 -39
- package/autocomplete/_autocomplete-theme.scss +2 -2
- package/autocomplete/autocomplete.scss +6 -6
- package/badge/_badge-theme.scss +5 -5
- package/badge/badge.component.scss +16 -16
- package/button/_button-base.scss +6 -6
- package/button/_button-theme.scss +11 -11
- package/button/button.dropdown-trigger.directive.d.ts +14 -0
- package/button/button.module.d.ts +2 -1
- package/button/button.scss +8 -8
- package/button/public-api.d.ts +1 -0
- package/button-toggle/_button-toggle-theme.scss +5 -5
- package/button-toggle/button-toggle.scss +11 -11
- package/checkbox/_checkbox-theme.scss +22 -22
- package/checkbox/checkbox-tokens.scss +2 -2
- package/checkbox/checkbox.scss +16 -16
- package/code-block/_code-block-theme.scss +15 -15
- package/code-block/actionbar.component.scss +4 -4
- package/code-block/code-block.scss +18 -19
- package/core/forms/_forms-theme.scss +2 -2
- package/core/forms/_forms.scss +12 -12
- package/core/option/_optgroup-theme.scss +2 -2
- package/core/option/_option-action-theme.scss +6 -6
- package/core/option/_option-theme.scss +5 -5
- package/core/option/action.scss +2 -2
- package/core/option/optgroup.scss +1 -1
- package/core/pop-up/pop-up-trigger.d.ts +5 -1
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +8 -8
- package/core/selection/pseudo-checkbox/pseudo-checkbox-tokens.scss +2 -2
- package/core/selection/pseudo-checkbox/pseudo-checkbox.scss +8 -8
- package/core/styles/common/_groups.scss +4 -4
- package/core/styles/common/_list.scss +19 -19
- package/core/styles/common/_popup.scss +3 -3
- package/core/styles/common/_select.scss +13 -13
- package/core/styles/common/_tokens.scss +8 -19
- package/core/styles/theming/_scrollbar-theme.scss +11 -11
- package/core/styles/typography/_typography.scss +15 -0
- package/core/styles/visual/_layout.scss +13 -13
- package/datepicker/_datepicker-theme.scss +15 -15
- package/datepicker/calendar-body.scss +2 -2
- package/datepicker/calendar-header.scss +3 -3
- package/datepicker/calendar.scss +6 -6
- package/datepicker/datepicker-content.scss +4 -4
- package/datepicker/datepicker-toggle.scss +2 -2
- package/divider/_divider-theme.scss +1 -1
- package/divider/divider.scss +6 -6
- package/dl/_dl-theme.scss +2 -2
- package/dl/dl.scss +4 -4
- package/dropdown/_dropdown-theme.scss +7 -7
- package/dropdown/dropdown-item.scss +2 -2
- package/dropdown/dropdown.scss +5 -5
- package/empty-state/_empty-state-theme.scss +4 -4
- package/empty-state/empty-state.scss +18 -20
- package/esm2022/accordion/accordion-content.mjs +19 -0
- package/esm2022/accordion/accordion-header.mjs +19 -0
- package/esm2022/accordion/accordion-item.mjs +25 -0
- package/esm2022/accordion/accordion-trigger.component.mjs +60 -0
- package/esm2022/accordion/accordion.component.mjs +40 -0
- package/esm2022/accordion/accordion.module.mjs +44 -0
- package/esm2022/accordion/index.mjs +2 -0
- package/esm2022/accordion/koobiq-components-accordion.mjs +5 -0
- package/esm2022/accordion/public-api.mjs +7 -0
- package/esm2022/alert/alert.component.mjs +13 -13
- package/esm2022/alert/alert.module.mjs +4 -4
- package/esm2022/autocomplete/autocomplete-origin.directive.mjs +3 -3
- package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +3 -3
- package/esm2022/autocomplete/autocomplete.component.mjs +5 -5
- package/esm2022/autocomplete/autocomplete.module.mjs +4 -4
- package/esm2022/badge/badge.component.mjs +10 -10
- package/esm2022/badge/badge.module.mjs +4 -4
- package/esm2022/button/button.component.mjs +8 -8
- package/esm2022/button/button.dropdown-trigger.directive.mjs +28 -0
- package/esm2022/button/button.module.mjs +14 -9
- package/esm2022/button/public-api.mjs +2 -1
- package/esm2022/button-toggle/button-toggle.component.mjs +8 -8
- package/esm2022/button-toggle/button-toggle.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 +4 -4
- package/esm2022/code-block/actionbar.component.mjs +4 -4
- package/esm2022/code-block/code-block.component.mjs +4 -4
- package/esm2022/code-block/code-block.module.mjs +4 -4
- package/esm2022/core/common-behaviors/common-module.mjs +4 -4
- package/esm2022/core/error/error-options.mjs +6 -6
- package/esm2022/core/formatters/date/formatter.mjs +3 -3
- package/esm2022/core/formatters/date/formatter.pipe.mjs +39 -39
- package/esm2022/core/formatters/index.mjs +4 -4
- package/esm2022/core/formatters/number/formatter.mjs +12 -12
- package/esm2022/core/forms/forms-module.mjs +4 -4
- package/esm2022/core/forms/forms.directive.mjs +6 -6
- package/esm2022/core/highlight/highlight.pipe.mjs +3 -3
- package/esm2022/core/highlight/index.mjs +4 -4
- package/esm2022/core/line/line.mjs +7 -7
- package/esm2022/core/locales/locale-service.mjs +3 -3
- package/esm2022/core/locales/locale-service.module.mjs +4 -4
- package/esm2022/core/option/action.mjs +5 -5
- package/esm2022/core/option/optgroup.mjs +4 -4
- package/esm2022/core/option/option-module.mjs +4 -4
- package/esm2022/core/option/option.mjs +5 -5
- package/esm2022/core/pop-up/pop-up-trigger.mjs +17 -8
- package/esm2022/core/pop-up/pop-up.mjs +3 -3
- package/esm2022/core/select/common.mjs +15 -15
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +4 -4
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +4 -4
- package/esm2022/core/services/measure-scrollbar.service.mjs +3 -3
- package/esm2022/core/services/theme.service.mjs +3 -3
- package/esm2022/core/utils/data-size/data-size.pipe.mjs +3 -3
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/datepicker/calendar-body.component.mjs +4 -4
- package/esm2022/datepicker/calendar-header.component.mjs +4 -4
- package/esm2022/datepicker/calendar.component.mjs +4 -4
- package/esm2022/datepicker/datepicker-input.directive.mjs +3 -3
- package/esm2022/datepicker/datepicker-intl.mjs +3 -3
- package/esm2022/datepicker/datepicker-module.mjs +4 -4
- package/esm2022/datepicker/datepicker-toggle.component.mjs +7 -7
- package/esm2022/datepicker/datepicker.component.mjs +8 -8
- package/esm2022/datepicker/month-view.component.mjs +3 -3
- package/esm2022/divider/divider.component.mjs +4 -4
- package/esm2022/divider/divider.module.mjs +4 -4
- package/esm2022/dl/dl.component.mjs +10 -10
- package/esm2022/dl/dl.module.mjs +4 -4
- package/esm2022/dropdown/dropdown-content.directive.mjs +3 -3
- package/esm2022/dropdown/dropdown-item.component.mjs +5 -5
- package/esm2022/dropdown/dropdown-trigger.directive.mjs +3 -3
- package/esm2022/dropdown/dropdown.component.mjs +6 -6
- package/esm2022/dropdown/dropdown.module.mjs +4 -4
- package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +7 -7
- package/esm2022/empty-state/empty-state.component.mjs +16 -16
- package/esm2022/empty-state/empty-state.module.mjs +4 -4
- package/esm2022/file-upload/file-drop.mjs +3 -3
- package/esm2022/file-upload/file-upload.module.mjs +4 -4
- package/esm2022/file-upload/multiple-file-upload.component.mjs +4 -4
- package/esm2022/file-upload/single-file-upload.component.mjs +4 -4
- package/esm2022/form-field/cleaner.mjs +5 -5
- package/esm2022/form-field/form-field.mjs +11 -11
- package/esm2022/form-field/form-field.module.mjs +4 -4
- package/esm2022/form-field/hint.mjs +5 -5
- package/esm2022/form-field/password-hint.mjs +6 -6
- package/esm2022/form-field/password-toggle.mjs +4 -4
- package/esm2022/form-field/prefix.mjs +3 -3
- package/esm2022/form-field/stepper.mjs +5 -5
- package/esm2022/form-field/suffix.mjs +3 -3
- package/esm2022/form-field/validate.directive.mjs +3 -3
- package/esm2022/icon/icon-button.component.mjs +6 -6
- package/esm2022/icon/icon-item.component.mjs +6 -6
- package/esm2022/icon/icon.component.mjs +6 -6
- package/esm2022/icon/icon.module.mjs +13 -24
- package/esm2022/input/input-number-validators.mjs +6 -6
- package/esm2022/input/input-number.mjs +5 -5
- package/esm2022/input/input-password.mjs +3 -3
- package/esm2022/input/input.mjs +8 -8
- package/esm2022/input/input.module.mjs +4 -4
- package/esm2022/link/link.component.mjs +3 -3
- package/esm2022/link/link.module.mjs +4 -4
- package/esm2022/list/list-selection.component.mjs +11 -11
- package/esm2022/list/list.component.mjs +7 -7
- package/esm2022/list/list.module.mjs +4 -4
- package/esm2022/loader-overlay/loader-overlay.component.mjs +13 -13
- 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 +3 -3
- package/esm2022/modal/modal.component.mjs +7 -9
- package/esm2022/modal/modal.directive.mjs +53 -17
- package/esm2022/modal/modal.module.mjs +4 -4
- package/esm2022/modal/modal.service.mjs +3 -3
- package/esm2022/navbar/navbar-item.component.mjs +29 -29
- package/esm2022/navbar/navbar.component.mjs +11 -11
- package/esm2022/navbar/navbar.module.mjs +4 -4
- package/esm2022/navbar/vertical-navbar.component.mjs +5 -5
- package/esm2022/popover/popover-confirm.component.mjs +8 -8
- package/esm2022/popover/popover.component.mjs +8 -8
- package/esm2022/popover/popover.module.mjs +4 -4
- package/esm2022/progress-bar/progress-bar.component.mjs +10 -10
- package/esm2022/progress-bar/progress-bar.module.mjs +4 -4
- package/esm2022/progress-spinner/progress-spinner.component.mjs +10 -10
- package/esm2022/progress-spinner/progress-spinner.module.mjs +4 -4
- package/esm2022/radio/radio.component.mjs +7 -7
- package/esm2022/radio/radio.module.mjs +4 -4
- package/esm2022/risk-level/risk-level.component.mjs +4 -4
- package/esm2022/risk-level/risk-level.module.mjs +4 -4
- package/esm2022/scrollbar/scrollbar.component.mjs +6 -6
- package/esm2022/scrollbar/scrollbar.directive.mjs +3 -3
- package/esm2022/scrollbar/scrollbar.module.mjs +4 -4
- package/esm2022/select/select-option.directive.mjs +3 -3
- package/esm2022/select/select.component.mjs +6 -6
- package/esm2022/select/select.module.mjs +4 -4
- package/esm2022/sidebar/sidebar.component.mjs +9 -9
- package/esm2022/sidebar/sidebar.module.mjs +4 -4
- package/esm2022/sidepanel/sidepanel-container.component.mjs +5 -5
- package/esm2022/sidepanel/sidepanel-directives.mjs +15 -15
- package/esm2022/sidepanel/sidepanel.module.mjs +4 -4
- package/esm2022/sidepanel/sidepanel.service.mjs +3 -3
- package/esm2022/splitter/splitter.component.mjs +14 -14
- package/esm2022/splitter/splitter.module.mjs +4 -4
- package/esm2022/table/table.component.mjs +7 -7
- package/esm2022/table/table.module.mjs +4 -4
- package/esm2022/tabs/paginated-tab-header.mjs +3 -3
- package/esm2022/tabs/tab-body.component.mjs +6 -6
- package/esm2022/tabs/tab-content.directive.mjs +3 -3
- package/esm2022/tabs/tab-group.component.mjs +33 -18
- package/esm2022/tabs/tab-header.component.mjs +16 -5
- package/esm2022/tabs/tab-label-wrapper.directive.mjs +8 -4
- package/esm2022/tabs/tab-label.directive.mjs +3 -3
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +7 -7
- package/esm2022/tabs/tab.component.mjs +3 -3
- package/esm2022/tabs/tabs.module.mjs +15 -8
- package/esm2022/tags/tag-input.mjs +3 -3
- package/esm2022/tags/tag-list.component.mjs +4 -4
- package/esm2022/tags/tag.component.mjs +13 -13
- package/esm2022/tags/tag.module.mjs +4 -4
- package/esm2022/textarea/textarea.component.mjs +3 -3
- package/esm2022/textarea/textarea.module.mjs +4 -4
- package/esm2022/timepicker/timepicker.directive.mjs +3 -3
- 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 +3 -3
- package/esm2022/timezone/timezone-select.component.mjs +8 -8
- package/esm2022/timezone/timezone.module.mjs +4 -4
- package/esm2022/timezone/utc-offset.pipe.mjs +3 -3
- package/esm2022/title/title.directive.mjs +3 -3
- package/esm2022/title/title.module.mjs +4 -4
- package/esm2022/toast/toast-container.component.mjs +4 -4
- package/esm2022/toast/toast.component.mjs +8 -8
- package/esm2022/toast/toast.module.mjs +4 -4
- package/esm2022/toast/toast.service.mjs +3 -3
- package/esm2022/toggle/toggle.component.mjs +6 -6
- package/esm2022/toggle/toggle.module.mjs +4 -4
- package/esm2022/tooltip/tooltip.component.mjs +52 -15
- package/esm2022/tooltip/tooltip.module.mjs +15 -28
- package/esm2022/tree/node.mjs +3 -3
- package/esm2022/tree/outlet.mjs +3 -3
- package/esm2022/tree/padding.directive.mjs +3 -3
- package/esm2022/tree/toggle.mjs +11 -11
- package/esm2022/tree/tree-base.mjs +6 -6
- package/esm2022/tree/tree-option.component.mjs +8 -7
- package/esm2022/tree/tree-selection.component.mjs +5 -5
- package/esm2022/tree/tree.mjs +5 -5
- package/esm2022/tree/tree.module.mjs +4 -4
- package/esm2022/tree-select/tree-select.component.mjs +15 -8
- package/esm2022/tree-select/tree-select.module.mjs +4 -4
- package/fesm2022/koobiq-components-accordion.mjs +189 -0
- package/fesm2022/koobiq-components-accordion.mjs.map +1 -0
- package/fesm2022/koobiq-components-alert.mjs +17 -17
- package/fesm2022/koobiq-components-alert.mjs.map +1 -1
- package/fesm2022/koobiq-components-autocomplete.mjs +15 -15
- package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
- package/fesm2022/koobiq-components-badge.mjs +14 -14
- package/fesm2022/koobiq-components-badge.mjs.map +1 -1
- package/fesm2022/koobiq-components-button-toggle.mjs +12 -12
- package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-button.mjs +48 -18
- package/fesm2022/koobiq-components-button.mjs.map +1 -1
- package/fesm2022/koobiq-components-checkbox.mjs +11 -11
- package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
- package/fesm2022/koobiq-components-code-block.mjs +12 -12
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +169 -160
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +39 -39
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-divider.mjs +8 -8
- package/fesm2022/koobiq-components-divider.mjs.map +1 -1
- package/fesm2022/koobiq-components-dl.mjs +14 -14
- package/fesm2022/koobiq-components-dl.mjs.map +1 -1
- package/fesm2022/koobiq-components-dropdown.mjs +20 -20
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-ellipsis-center.mjs +7 -7
- package/fesm2022/koobiq-components-empty-state.mjs +20 -20
- package/fesm2022/koobiq-components-empty-state.mjs.map +1 -1
- package/fesm2022/koobiq-components-file-upload.mjs +15 -15
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +48 -48
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +27 -38
- package/fesm2022/koobiq-components-icon.mjs.map +1 -1
- package/fesm2022/koobiq-components-input.mjs +24 -24
- package/fesm2022/koobiq-components-input.mjs.map +1 -1
- package/fesm2022/koobiq-components-link.mjs +7 -7
- package/fesm2022/koobiq-components-list.mjs +22 -22
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-loader-overlay.mjs +17 -17
- package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
- package/fesm2022/koobiq-components-markdown.mjs +12 -12
- package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +66 -36
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +49 -49
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +18 -18
- 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 +14 -14
- package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
- package/fesm2022/koobiq-components-radio.mjs +11 -11
- package/fesm2022/koobiq-components-radio.mjs.map +1 -1
- package/fesm2022/koobiq-components-risk-level.mjs +8 -8
- package/fesm2022/koobiq-components-risk-level.mjs.map +1 -1
- package/fesm2022/koobiq-components-scrollbar.mjs +12 -12
- package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-select.mjs +12 -12
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidebar.mjs +13 -13
- package/fesm2022/koobiq-components-sidepanel.mjs +26 -26
- package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
- package/fesm2022/koobiq-components-splitter.mjs +17 -17
- package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
- package/fesm2022/koobiq-components-table.mjs +11 -11
- package/fesm2022/koobiq-components-table.mjs.map +1 -1
- package/fesm2022/koobiq-components-tabs.mjs +93 -56
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +24 -24
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-textarea.mjs +7 -7
- package/fesm2022/koobiq-components-timepicker.mjs +7 -7
- package/fesm2022/koobiq-components-timezone.mjs +26 -26
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-title.mjs +7 -7
- package/fesm2022/koobiq-components-toast.mjs +18 -18
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/fesm2022/koobiq-components-toggle.mjs +9 -9
- package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-tooltip.mjs +67 -42
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +18 -11
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +47 -46
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/file-upload/_file-upload-theme.scss +27 -29
- package/file-upload/file-upload-tokens.scss +1 -1
- package/file-upload/multiple-file-upload.component.scss +26 -26
- package/file-upload/single-file-upload.component.scss +8 -8
- package/form-field/_form-field-theme.scss +14 -14
- package/form-field/_hint-theme.scss +2 -2
- package/form-field/cleaner.scss +2 -2
- package/form-field/form-field.scss +10 -10
- package/form-field/hint.scss +4 -4
- package/form-field/password-toggle.scss +2 -2
- package/form-field/stepper.scss +3 -3
- package/icon/_icon-button-theme.scss +26 -26
- package/icon/_icon-item-theme.scss +2 -2
- package/icon/_icon-theme.scss +6 -6
- package/icon/icon-button.component.d.ts +1 -1
- package/icon/icon-button.scss +2 -4
- package/icon/icon-item.component.d.ts +1 -1
- package/icon/icon-item.scss +2 -4
- package/icon/icon.component.d.ts +1 -1
- package/icon/icon.module.d.ts +1 -3
- package/input/input-number.d.ts +1 -1
- package/input/input.d.ts +1 -1
- package/input/input.scss +2 -2
- package/link/_link-theme.scss +11 -11
- package/link/link-tokens.scss +2 -2
- package/list/_list-theme.scss +6 -6
- package/list/list.scss +1 -1
- package/loader-overlay/_loader-overlay-theme.scss +6 -6
- package/loader-overlay/loader-overlay.scss +8 -8
- package/markdown/_markdown-theme.scss +27 -27
- package/markdown/markdown-tokens.scss +19 -19
- package/markdown/markdown.scss +29 -29
- package/modal/_modal-confirm.scss +1 -1
- package/modal/_modal-theme.scss +9 -12
- package/modal/modal.directive.d.ts +3 -0
- package/modal/modal.scss +12 -13
- package/navbar/_navbar-item_horizontal.scss +20 -20
- package/navbar/_navbar-item_vertical.scss +28 -28
- package/navbar/_navbar-theme.scss +8 -8
- package/navbar/navbar-brand.scss +23 -23
- package/navbar/navbar-divider.scss +3 -3
- package/navbar/navbar-item.scss +6 -6
- package/navbar/navbar.scss +1 -1
- package/navbar/vertical-navbar.scss +2 -2
- package/package.json +13 -6
- package/popover/_popover-theme.scss +7 -7
- package/popover/popover.scss +17 -18
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/prebuilt-themes/theme.css +1 -1
- package/progress-bar/_progress-bar-theme.scss +4 -4
- package/progress-bar/progress-bar.scss +5 -5
- package/progress-spinner/_progress-spinner-theme.scss +3 -3
- package/progress-spinner/progress-spinner.scss +7 -7
- package/radio/_radio-theme.scss +9 -9
- package/radio/radio.scss +14 -14
- package/risk-level/_risk-level-theme.scss +5 -5
- package/risk-level/risk-level.component.scss +3 -3
- package/schematics/ng-add/index.js +22 -5
- package/scrollbar/_scrollbar-component-theme.scss +12 -12
- package/scrollbar/scrollbar.component.scss +6 -6
- package/select/_select-theme.scss +9 -9
- package/select/select.scss +2 -2
- package/sidepanel/_sidepanel-theme.scss +4 -4
- package/sidepanel/sidepanel.scss +14 -16
- package/splitter/_splitter-theme.scss +1 -1
- package/table/_table-theme.scss +5 -5
- package/table/table.scss +12 -12
- package/tabs/_tabs-common.scss +32 -3
- package/tabs/_tabs-theme.scss +24 -12
- package/tabs/tab-group.component.d.ts +7 -2
- package/tabs/tab-group.scss +1 -1
- package/tabs/tab-header.component.d.ts +4 -1
- package/tabs/tab-header.scss +29 -0
- package/tabs/tab-nav-bar/tab-nav-bar.scss +1 -1
- package/tabs/tabs.module.d.ts +2 -1
- package/tags/_tag-theme.scss +5 -5
- package/tags/tag-list.scss +5 -5
- package/tags/tag.scss +4 -4
- package/textarea/textarea.scss +2 -2
- package/timepicker/timepicker.scss +1 -1
- package/timezone/_timezone-option-theme.scss +3 -3
- package/timezone/timezone-option-tokens.scss +24 -0
- package/timezone/timezone-option.component.scss +4 -4
- package/timezone/timezone-select.component.scss +1 -1
- package/toast/_toast-theme.scss +4 -4
- package/toast/toast-container.component.scss +3 -3
- package/toast/toast.component.scss +21 -21
- package/toggle/_toggle-theme.scss +8 -8
- package/toggle/toggle.scss +8 -8
- package/tooltip/_tooltip-theme.scss +5 -5
- package/tooltip/tooltip.component.d.ts +11 -4
- package/tooltip/tooltip.module.d.ts +1 -3
- package/tooltip/tooltip.scss +7 -7
- package/tree/_tree-theme.scss +6 -6
- package/tree/toggle.scss +2 -2
- package/tree/tree-option.component.d.ts +1 -0
- package/tree/tree-option.scss +4 -4
- package/tree-select/_tree-select-theme.scss +7 -7
- package/tree-select/tree-select.component.d.ts +2 -0
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
flex-direction: row;
|
|
11
11
|
justify-content: flex-start;
|
|
12
12
|
align-items: center;
|
|
13
|
-
height: kbq-
|
|
13
|
+
height: var(--kbq-badge-size-normal-height);
|
|
14
14
|
text-align: center;
|
|
15
15
|
white-space: nowrap;
|
|
16
16
|
|
|
@@ -18,47 +18,47 @@
|
|
|
18
18
|
|
|
19
19
|
box-sizing: border-box;
|
|
20
20
|
|
|
21
|
-
padding-right: kbq-
|
|
22
|
-
padding-left: kbq-
|
|
21
|
+
padding-right: var(--kbq-badge-size-normal-horizontal-padding);
|
|
22
|
+
padding-left: var(--kbq-badge-size-normal-horizontal-padding);
|
|
23
23
|
|
|
24
24
|
border: {
|
|
25
|
-
width: kbq-
|
|
26
|
-
radius: kbq-
|
|
25
|
+
width: var(--kbq-badge-size-normal-border-width);
|
|
26
|
+
radius: var(--kbq-badge-size-normal-border-radius);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
& .kbq-badge-caption {
|
|
30
|
-
padding-left: kbq-
|
|
30
|
+
padding-left: var(--kbq-badge-size-normal-content-padding);
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
& .kbq-icon_left {
|
|
34
|
-
margin-right: kbq-
|
|
34
|
+
margin-right: var(--kbq-badge-size-normal-icon-left-margin-right);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
& .kbq-icon_right {
|
|
38
|
-
margin-left: kbq-
|
|
38
|
+
margin-left: var(--kbq-badge-size-normal-icon-right-margin-left);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
&.kbq-badge_compact {
|
|
42
|
-
height: kbq-
|
|
42
|
+
height: var(--kbq-badge-size-compact-height);
|
|
43
43
|
|
|
44
|
-
padding-right: kbq-
|
|
45
|
-
padding-left: kbq-
|
|
44
|
+
padding-right: var(--kbq-badge-size-compact-horizontal-padding);
|
|
45
|
+
padding-left: var(--kbq-badge-size-compact-horizontal-padding);
|
|
46
46
|
|
|
47
47
|
border: {
|
|
48
|
-
width: kbq-
|
|
49
|
-
radius: kbq-
|
|
48
|
+
width: var(--kbq-badge-size-compact-border-width);
|
|
49
|
+
radius: var(--kbq-badge-size-compact-border-radius);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
& .kbq-badge-caption {
|
|
53
|
-
padding-left: kbq-
|
|
53
|
+
padding-left: var(--kbq-badge-size-compact-content-padding);
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
& .kbq-icon_left {
|
|
57
|
-
margin-right: kbq-
|
|
57
|
+
margin-right: var(--kbq-badge-size-compact-icon-left-margin-right);
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
& .kbq-icon_right {
|
|
61
|
-
margin-left: kbq-
|
|
61
|
+
margin-left: var(--kbq-badge-size-compact-icon-right-margin-left);
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
}
|
package/button/_button-base.scss
CHANGED
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
|
|
19
19
|
margin: 0; /* Safari */
|
|
20
20
|
|
|
21
|
-
height: kbq-
|
|
22
|
-
min-height: kbq-
|
|
21
|
+
height: var(--kbq-button-size-height);
|
|
22
|
+
min-height: var(--kbq-button-size-height);
|
|
23
23
|
|
|
24
24
|
white-space: nowrap;
|
|
25
25
|
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
|
|
29
29
|
vertical-align: baseline;
|
|
30
30
|
|
|
31
|
-
border: kbq-
|
|
32
|
-
border-radius: kbq-
|
|
31
|
+
border: var(--kbq-button-size-border-width) solid transparent;
|
|
32
|
+
border-radius: var(--kbq-button-size-border-radius);
|
|
33
33
|
|
|
34
34
|
&::-moz-focus-inner {
|
|
35
35
|
border: 0;
|
|
@@ -53,10 +53,10 @@
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
& .kbq-icon_left {
|
|
56
|
-
margin-right: kbq-
|
|
56
|
+
margin-right: var(--kbq-button-size-content-padding);
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
& .kbq-icon_right {
|
|
60
|
-
margin-left: kbq-
|
|
60
|
+
margin-left: var(--kbq-button-size-content-padding);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
@@ -21,29 +21,29 @@
|
|
|
21
21
|
@mixin kbq-button-type($type, $sub-type) {
|
|
22
22
|
$base-path: button-#{$type}-#{$sub-type};
|
|
23
23
|
|
|
24
|
-
border-color: kbq
|
|
25
|
-
color: kbq
|
|
26
|
-
background: kbq
|
|
24
|
+
border-color: var(--kbq-#{$base-path}-border);
|
|
25
|
+
color: var(--kbq-#{$base-path}-foreground);
|
|
26
|
+
background: var(--kbq-#{$base-path}-background);
|
|
27
27
|
|
|
28
|
-
@include _icon(kbq
|
|
28
|
+
@include _icon(var(--kbq-#{$base-path}-left-icon), var(--kbq-#{$base-path}-right-icon));
|
|
29
29
|
|
|
30
30
|
&:hover:not(.kbq-disabled),
|
|
31
31
|
&.kbq-hover:not(.kbq-disabled) {
|
|
32
|
-
background: kbq
|
|
32
|
+
background: var(--kbq-#{$base-path}-states-hover-background);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
&:active:not(.kbq-disabled),
|
|
36
36
|
&.kbq-active:not(.kbq-disabled) {
|
|
37
|
-
background: kbq
|
|
37
|
+
background: var(--kbq-#{$base-path}-states-active-background);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
&.kbq-disabled {
|
|
41
|
-
color: kbq
|
|
42
|
-
background: kbq
|
|
41
|
+
color: var(--kbq-#{$base-path}-states-disabled-foreground);
|
|
42
|
+
background: var(--kbq-#{$base-path}-states-disabled-background);
|
|
43
43
|
|
|
44
44
|
@include _icon(
|
|
45
|
-
kbq
|
|
46
|
-
kbq
|
|
45
|
+
var(--kbq-#{$base-path}-states-disabled-left-icon),
|
|
46
|
+
var(--kbq-#{$base-path}-states-disabled-right-icon)
|
|
47
47
|
);
|
|
48
48
|
}
|
|
49
49
|
}
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
&.kbq-button_outline,
|
|
92
92
|
&.kbq-button_transparent {
|
|
93
93
|
&.cdk-keyboard-focused {
|
|
94
|
-
$focused-color: kbq-
|
|
94
|
+
$focused-color: var(--kbq-states-focused-color);
|
|
95
95
|
outline: 1px solid $focused-color;
|
|
96
96
|
border-color: $focused-color;
|
|
97
97
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { KbqDropdownTrigger } from '@koobiq/components/dropdown';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* This directive enhances `kbq-button` elements acting as dropdown triggers,
|
|
5
|
+
* visually indicating the active state with the `kbq-active` class,
|
|
6
|
+
* following Koobiq Design System.
|
|
7
|
+
*
|
|
8
|
+
* The directive relies on a separate `KbqDropdownTrigger` directive to get dropdown's state.
|
|
9
|
+
*/
|
|
10
|
+
export declare class KbqButtonDropdownTrigger {
|
|
11
|
+
dropdownTrigger: KbqDropdownTrigger;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqButtonDropdownTrigger, never>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqButtonDropdownTrigger, "[kbq-button][kbqDropdownTriggerFor]", never, {}, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -3,8 +3,9 @@ import * as i1 from "./button.component";
|
|
|
3
3
|
import * as i2 from "@angular/cdk/a11y";
|
|
4
4
|
import * as i3 from "@angular/cdk/platform";
|
|
5
5
|
import * as i4 from "@angular/cdk/observers";
|
|
6
|
+
import * as i5 from "./button.dropdown-trigger.directive";
|
|
6
7
|
export declare class KbqButtonModule {
|
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqButtonModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqButtonModule, [typeof i1.KbqButton, typeof i1.KbqButtonCssStyler], [typeof i2.A11yModule, typeof i3.PlatformModule, typeof i4.ObserversModule], [typeof i1.KbqButton, typeof i1.KbqButtonCssStyler]>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqButtonModule, [typeof i1.KbqButton, typeof i1.KbqButtonCssStyler], [typeof i2.A11yModule, typeof i3.PlatformModule, typeof i4.ObserversModule, typeof i5.KbqButtonDropdownTrigger], [typeof i1.KbqButton, typeof i1.KbqButtonCssStyler, typeof i5.KbqButtonDropdownTrigger]>;
|
|
9
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<KbqButtonModule>;
|
|
10
11
|
}
|
package/button/button.scss
CHANGED
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
padding-right: kbq-sum-series-css-variables([button-size-horizontal-padding, 4px]);
|
|
15
15
|
|
|
16
16
|
&.kbq-button-icon_left {
|
|
17
|
-
padding-left: kbq-
|
|
17
|
+
padding-left: var(--kbq-button-size-horizontal-padding);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
&.kbq-button-icon_right {
|
|
21
|
-
padding-right: kbq-
|
|
21
|
+
padding-right: var(--kbq-button-size-horizontal-padding);
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
|
|
@@ -29,18 +29,18 @@
|
|
|
29
29
|
.kbq-button-icon {
|
|
30
30
|
@extend %kbq-button-base;
|
|
31
31
|
|
|
32
|
-
padding-left: kbq-
|
|
32
|
+
padding-left: var(--kbq-button-icon-size-horizontal-padding);
|
|
33
33
|
|
|
34
|
-
padding-right: kbq-
|
|
34
|
+
padding-right: var(--kbq-button-icon-size-horizontal-padding);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
.kbq-button-overlay {
|
|
38
38
|
position: absolute;
|
|
39
39
|
|
|
40
|
-
top: calc(-1 * #{kbq-
|
|
41
|
-
left: calc(-1 * #{kbq-
|
|
42
|
-
right: calc(-1 * #{kbq-
|
|
43
|
-
bottom: calc(-1 * #{kbq-
|
|
40
|
+
top: calc(-1 * #{var(--kbq-button-size-border-width)});
|
|
41
|
+
left: calc(-1 * #{var(--kbq-button-size-border-width)});
|
|
42
|
+
right: calc(-1 * #{var(--kbq-button-size-border-width)});
|
|
43
|
+
bottom: calc(-1 * #{var(--kbq-button-size-border-width)});
|
|
44
44
|
|
|
45
45
|
border-radius: inherit;
|
|
46
46
|
}
|
package/button/public-api.d.ts
CHANGED
|
@@ -6,18 +6,18 @@
|
|
|
6
6
|
@use '../core/styles/common/tokens' as *;
|
|
7
7
|
|
|
8
8
|
@mixin kbq-button-toggle-state($state-name) {
|
|
9
|
-
background: kbq-
|
|
9
|
+
background: var(--kbq-button-toggle-item-#{$state-name}-background);
|
|
10
10
|
|
|
11
|
-
color: kbq-
|
|
11
|
+
color: var(--kbq-button-toggle-item-#{$state-name}-text);
|
|
12
12
|
|
|
13
13
|
& .kbq-icon {
|
|
14
|
-
color: kbq-
|
|
14
|
+
color: var(--kbq-button-toggle-item-#{$state-name}-icon);
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
@mixin kbq-button-toggle-theme() {
|
|
19
19
|
.kbq-button-toggle-group {
|
|
20
|
-
background: kbq-
|
|
20
|
+
background: var(--kbq-button-toggle-container-background);
|
|
21
21
|
|
|
22
22
|
.kbq-button-toggle {
|
|
23
23
|
& > .kbq-button,
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
&.cdk-keyboard-focused {
|
|
56
|
-
border-color: kbq-
|
|
56
|
+
border-color: var(--kbq-button-toggle-item-states-focused-outline);
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
}
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
flex-direction: row;
|
|
14
14
|
align-items: center;
|
|
15
15
|
|
|
16
|
-
gap: kbq-
|
|
16
|
+
gap: var(--kbq-button-toggle-size-container-content-gap-horizontal);
|
|
17
17
|
|
|
18
|
-
border-radius: kbq-
|
|
18
|
+
border-radius: var(--kbq-button-toggle-size-container-border-radius);
|
|
19
19
|
|
|
20
|
-
padding: kbq-
|
|
21
|
-
kbq-
|
|
20
|
+
padding: var(--kbq-button-toggle-size-container-padding-vertical)
|
|
21
|
+
var(--kbq-button-toggle-size-container-padding-horizontal);
|
|
22
22
|
|
|
23
23
|
.kbq-button-toggle {
|
|
24
24
|
display: flex;
|
|
@@ -26,16 +26,16 @@
|
|
|
26
26
|
justify-content: flex-start;
|
|
27
27
|
align-items: center;
|
|
28
28
|
|
|
29
|
-
height: kbq-
|
|
30
|
-
min-height: kbq-
|
|
29
|
+
height: var(--kbq-button-toggle-size-item-height);
|
|
30
|
+
min-height: var(--kbq-button-toggle-size-item-height);
|
|
31
31
|
|
|
32
|
-
border-radius: kbq-
|
|
32
|
+
border-radius: var(--kbq-button-toggle-size-item-border-radius);
|
|
33
33
|
|
|
34
34
|
> .kbq-button,
|
|
35
35
|
> .kbq-button-icon {
|
|
36
36
|
height: inherit;
|
|
37
37
|
min-height: inherit;
|
|
38
|
-
border-radius: kbq-
|
|
38
|
+
border-radius: var(--kbq-button-toggle-size-item-border-radius);
|
|
39
39
|
|
|
40
40
|
padding: kbq-difference-series-css-variables(
|
|
41
41
|
[ button-toggle-size-item-padding-vertical,
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
|
|
61
61
|
width: 100%;
|
|
62
62
|
|
|
63
|
-
gap: kbq-
|
|
63
|
+
gap: var(--kbq-button-toggle-size-item-content-gap-horizontal);
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
}
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
> .kbq-button-icon {
|
|
72
72
|
max-width: 100%;
|
|
73
73
|
|
|
74
|
-
height: kbq-
|
|
74
|
+
height: var(--kbq-button-toggle-size-item-height);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
}
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
> .kbq-button-icon {
|
|
88
88
|
width: 100%;
|
|
89
89
|
|
|
90
|
-
border-radius: kbq-
|
|
90
|
+
border-radius: var(--kbq-button-toggle-size-item-border-radius);
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
}
|
|
@@ -8,36 +8,36 @@
|
|
|
8
8
|
$base: checkbox-#{$style-name};
|
|
9
9
|
|
|
10
10
|
.kbq-checkbox__frame {
|
|
11
|
-
border-color: kbq
|
|
12
|
-
background-color: kbq
|
|
11
|
+
border-color: var(--kbq-#{$base}-default-border);
|
|
12
|
+
background-color: var(--kbq-#{$base}-default-background);
|
|
13
13
|
|
|
14
14
|
& .kbq-checkbox-checkmark,
|
|
15
15
|
& .kbq-checkbox-mixedmark {
|
|
16
|
-
color: kbq
|
|
16
|
+
color: var(--kbq-#{$base}-default-color);
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.kbq-checkbox-label {
|
|
21
|
-
color: kbq
|
|
21
|
+
color: var(--kbq-#{$base}-default-text);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
& .kbq-hint .kbq-hint__text {
|
|
25
|
-
color: kbq
|
|
25
|
+
color: var(--kbq-#{$base}-default-caption);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
&:hover,
|
|
29
29
|
&.kbq-hover {
|
|
30
30
|
.kbq-checkbox__frame {
|
|
31
|
-
border-color: kbq
|
|
32
|
-
background-color: kbq
|
|
31
|
+
border-color: var(--kbq-#{$base}-states-hover-border);
|
|
32
|
+
background-color: var(--kbq-#{$base}-states-hover-background);
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
&.kbq-checked,
|
|
37
37
|
&.kbq-indeterminate {
|
|
38
38
|
.kbq-checkbox__frame {
|
|
39
|
-
border-color: kbq
|
|
40
|
-
background-color: kbq
|
|
39
|
+
border-color: var(--kbq-#{$base}-states-checked-border);
|
|
40
|
+
background-color: var(--kbq-#{$base}-states-checked-background);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
|
|
@@ -46,45 +46,45 @@
|
|
|
46
46
|
&:hover,
|
|
47
47
|
&.kbq-hover {
|
|
48
48
|
.kbq-checkbox__frame {
|
|
49
|
-
border-color: kbq
|
|
50
|
-
background-color: kbq
|
|
49
|
+
border-color: var(--kbq-#{$base}-states-checked-hover-border);
|
|
50
|
+
background-color: var(--kbq-#{$base}-states-checked-hover-background);
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
& .kbq-checkbox-input.cdk-keyboard-focused {
|
|
55
55
|
+ .kbq-checkbox__frame {
|
|
56
|
-
border-color: kbq
|
|
57
|
-
background-color: kbq
|
|
58
|
-
outline: kbq
|
|
56
|
+
border-color: var(--kbq-#{$base}-states-checked-focused-border);
|
|
57
|
+
background-color: var(--kbq-#{$base}-states-checked-focused-background);
|
|
58
|
+
outline: var(--kbq-#{$base}-states-checked-focused-outline);
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
& .kbq-checkbox-input.cdk-keyboard-focused {
|
|
64
64
|
+ .kbq-checkbox__frame {
|
|
65
|
-
border-color: kbq
|
|
66
|
-
background-color: kbq
|
|
67
|
-
outline: kbq
|
|
65
|
+
border-color: var(--kbq-#{$base}-states-focused-border);
|
|
66
|
+
background-color: var(--kbq-#{$base}-states-focused-background);
|
|
67
|
+
outline: var(--kbq-#{$base}-states-focused-outline);
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
&.kbq-disabled {
|
|
72
72
|
.kbq-checkbox__frame {
|
|
73
|
-
border-color: kbq
|
|
74
|
-
background-color: kbq
|
|
73
|
+
border-color: var(--kbq-#{$base}-states-disabled-border);
|
|
74
|
+
background-color: var(--kbq-#{$base}-states-disabled-background);
|
|
75
75
|
|
|
76
76
|
& .kbq-checkbox-checkmark,
|
|
77
77
|
& .kbq-checkbox-mixedmark {
|
|
78
|
-
color: kbq
|
|
78
|
+
color: var(--kbq-#{$base}-states-disabled-color);
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
& .kbq-hint .kbq-hint__text {
|
|
83
|
-
color: kbq
|
|
83
|
+
color: var(--kbq-#{$base}-states-disabled-caption);
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
.kbq-checkbox-label {
|
|
87
|
-
color: kbq
|
|
87
|
+
color: var(--kbq-#{$base}-states-disabled-text);
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
}
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
--kbq-checkbox-theme-states-checked-focused-border: var(--kbq-states-line-focus-theme);
|
|
62
62
|
--kbq-checkbox-theme-states-checked-focused-background: var(--kbq-background-theme);
|
|
63
63
|
--kbq-checkbox-theme-states-checked-focused-outline: 1px solid var(--kbq-states-line-focus-theme);
|
|
64
|
-
--kbq-checkbox-theme-states-disabled-border: var(--kbq-line-
|
|
64
|
+
--kbq-checkbox-theme-states-disabled-border: var(--kbq-states-line-disabled);
|
|
65
65
|
--kbq-checkbox-theme-states-disabled-color: var(--kbq-states-icon-disabled);
|
|
66
66
|
--kbq-checkbox-theme-states-disabled-text: var(--kbq-states-foreground-disabled);
|
|
67
67
|
--kbq-checkbox-theme-states-disabled-background: var(--kbq-states-background-disabled);
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
--kbq-checkbox-error-states-checked-focused-border: var(--kbq-states-line-focus-error);
|
|
84
84
|
--kbq-checkbox-error-states-checked-focused-background: var(--kbq-background-error);
|
|
85
85
|
--kbq-checkbox-error-states-checked-focused-outline: 1px solid var(--kbq-states-line-focus-error);
|
|
86
|
-
--kbq-checkbox-error-states-disabled-border: var(--kbq-line-
|
|
86
|
+
--kbq-checkbox-error-states-disabled-border: var(--kbq-states-line-disabled);
|
|
87
87
|
--kbq-checkbox-error-states-disabled-color: var(--kbq-states-icon-disabled);
|
|
88
88
|
--kbq-checkbox-error-states-disabled-text: var(--kbq-states-foreground-disabled);
|
|
89
89
|
--kbq-checkbox-error-states-disabled-background: var(--kbq-states-background-disabled);
|
package/checkbox/checkbox.scss
CHANGED
|
@@ -22,15 +22,15 @@
|
|
|
22
22
|
pointer-events: none;
|
|
23
23
|
background-color: transparent;
|
|
24
24
|
|
|
25
|
-
border-radius: kbq-
|
|
25
|
+
border-radius: var(--kbq-checkbox-size-normal-border-radius);
|
|
26
26
|
|
|
27
27
|
border: {
|
|
28
|
-
width: kbq-
|
|
28
|
+
width: var(--kbq-checkbox-size-normal-border-width);
|
|
29
29
|
style: solid;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
height: kbq-
|
|
33
|
-
width: kbq-
|
|
32
|
+
height: var(--kbq-checkbox-size-normal-width);
|
|
33
|
+
width: var(--kbq-checkbox-size-normal-width);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.kbq-checkbox__layout {
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
// (e.g. pointer by default, regular when disabled), instead of the browser default.
|
|
43
43
|
cursor: inherit;
|
|
44
44
|
|
|
45
|
-
padding-top: kbq-
|
|
45
|
+
padding-top: var(--kbq-checkbox-size-normal-padding-top);
|
|
46
46
|
|
|
47
|
-
padding-bottom: kbq-
|
|
47
|
+
padding-bottom: var(--kbq-checkbox-size-normal-padding-bottom);
|
|
48
48
|
|
|
49
49
|
padding-left: kbq-sum-series-css-variables(
|
|
50
50
|
[checkbox-size-normal-width,
|
|
@@ -58,11 +58,11 @@
|
|
|
58
58
|
display: inline-block;
|
|
59
59
|
|
|
60
60
|
position: absolute;
|
|
61
|
-
top: kbq-
|
|
61
|
+
top: var(--kbq-checkbox-size-normal-top);
|
|
62
62
|
left: 0;
|
|
63
63
|
|
|
64
|
-
height: kbq-
|
|
65
|
-
width: kbq-
|
|
64
|
+
height: var(--kbq-checkbox-size-normal-width);
|
|
65
|
+
width: var(--kbq-checkbox-size-normal-width);
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
.kbq-checkbox {
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
& .kbq-hint {
|
|
103
|
-
margin-top: kbq-
|
|
103
|
+
margin-top: var(--kbq-checkbox-size-normal-vertical-content-padding);
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
|
|
@@ -113,22 +113,22 @@
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
& .kbq-checkbox__inner-container {
|
|
116
|
-
top: kbq-
|
|
117
|
-
height: kbq-
|
|
118
|
-
width: kbq-
|
|
116
|
+
top: var(--kbq-checkbox-size-big-top);
|
|
117
|
+
height: var(--kbq-checkbox-size-big-width);
|
|
118
|
+
width: var(--kbq-checkbox-size-big-width);
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
& .kbq-checkbox__frame {
|
|
122
|
-
border-radius: kbq-
|
|
122
|
+
border-radius: var(--kbq-checkbox-size-big-border-radius);
|
|
123
123
|
|
|
124
124
|
border: {
|
|
125
|
-
width: kbq-
|
|
125
|
+
width: var(--kbq-checkbox-size-big-border-width);
|
|
126
126
|
style: solid;
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
& .kbq-hint {
|
|
131
|
-
margin-top: kbq-
|
|
131
|
+
margin-top: var(--kbq-checkbox-size-big-vertical-content-padding);
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
|
|
@@ -6,21 +6,21 @@
|
|
|
6
6
|
@use '../core/styles/common/tokens' as *;
|
|
7
7
|
|
|
8
8
|
@function kbq-code-block-hljs-attr($attr) {
|
|
9
|
-
@return kbq-
|
|
9
|
+
@return var(--kbq-code-block-hljs-#{$attr});
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
@mixin kbq-code-block-style($style-name) {
|
|
13
13
|
$base: code-block-#{$style-name};
|
|
14
14
|
|
|
15
|
-
background: kbq
|
|
15
|
+
background: var(--kbq-#{$base}-container-background);
|
|
16
16
|
|
|
17
17
|
& .kbq-tab-header {
|
|
18
|
-
background: kbq
|
|
19
|
-
border-color: kbq
|
|
18
|
+
background: var(--kbq-#{$base}-header-background) !important;
|
|
19
|
+
border-color: var(--kbq-#{$base}-container-border-color);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.kbq-tab-body__wrapper {
|
|
23
|
-
border-color: kbq
|
|
23
|
+
border-color: var(--kbq-#{$base}-container-border-color);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
&:not(.kbq-code-block_no-header) {
|
|
@@ -30,40 +30,40 @@
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
& .kbq-code-block-actionbar {
|
|
33
|
-
background: kbq
|
|
33
|
+
background: var(--kbq-#{$base}-actionbar-background);
|
|
34
34
|
|
|
35
35
|
&.kbq-actionbar-block_floating {
|
|
36
36
|
.kbq-actionbar-block__button-stack {
|
|
37
|
-
background: kbq
|
|
37
|
+
background: var(--kbq-#{$base}-actionbar-background);
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
&.kbq-code-block_header-with-shadow {
|
|
43
43
|
& .kbq-tab-header {
|
|
44
|
-
box-shadow: kbq
|
|
44
|
+
box-shadow: var(--kbq-#{$base}-header-shadow);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
&.kbq-code-block_no-header {
|
|
49
49
|
& .kbq-code-block__fade-gradient {
|
|
50
|
-
background: kbq
|
|
50
|
+
background: var(--kbq-#{$base}-actionbar-fade-gradient);
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
.kbq-code-block__show-more {
|
|
55
55
|
.bg-wrapper {
|
|
56
|
-
background: kbq
|
|
56
|
+
background: var(--kbq-#{$base}-collapse-button-expand-background);
|
|
57
57
|
opacity: 90%;
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
& .kbq-code-block__show-more_expanded {
|
|
62
|
-
background: kbq
|
|
62
|
+
background: var(--kbq-#{$base}-collapse-expanded-background);
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
& .kbq-code-block__show-more_collapsed {
|
|
66
|
-
background: kbq
|
|
66
|
+
background: var(--kbq-#{$base}-collapse-collapsed-background);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
|
|
@@ -351,12 +351,12 @@
|
|
|
351
351
|
.kbq-tab-group.kbq-focused {
|
|
352
352
|
// paint focus border from the top since because of border constraints
|
|
353
353
|
.kbq-tab-header {
|
|
354
|
-
box-shadow: 0 2px 0 -1px kbq-
|
|
354
|
+
box-shadow: 0 2px 0 -1px var(--kbq-states-focused-color);
|
|
355
355
|
}
|
|
356
356
|
|
|
357
357
|
.kbq-tab-body__wrapper {
|
|
358
|
-
border-color: kbq-
|
|
359
|
-
box-shadow: inset 0 0 0.1 1px kbq-
|
|
358
|
+
border-color: var(--kbq-states-focused-color);
|
|
359
|
+
box-shadow: inset 0 0 0.1 1px var(--kbq-states-focused-color);
|
|
360
360
|
}
|
|
361
361
|
}
|
|
362
362
|
}
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
@use '../core/styles/common/tokens' as *;
|
|
5
5
|
|
|
6
6
|
$tokens: meta.module-variables(tokens) !default;
|
|
7
|
-
$actionbar-indents: kbq-
|
|
8
|
-
kbq-
|
|
7
|
+
$actionbar-indents: var(--kbq-code-block-size-actionbar-padding-vertical)
|
|
8
|
+
var(--kbq-code-block-size-actionbar-padding-horizontal);
|
|
9
9
|
|
|
10
10
|
.kbq-code-block-actionbar {
|
|
11
11
|
display: flex;
|
|
@@ -21,13 +21,13 @@ $actionbar-indents: kbq-css-variable(code-block-size-actionbar-padding-vertical)
|
|
|
21
21
|
margin: $actionbar-indents;
|
|
22
22
|
|
|
23
23
|
.kbq-actionbar-block__button-stack {
|
|
24
|
-
gap: kbq-
|
|
24
|
+
gap: var(--kbq-code-block-size-actionbar-content-gap-horizontal);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.kbq-code-block__fade-gradient {
|
|
28
28
|
display: none;
|
|
29
29
|
|
|
30
|
-
width: kbq-
|
|
30
|
+
width: var(--kbq-code-block-size-actionbar-fade-gradient-width);
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
&.kbq-actionbar-block_floating {
|