@koobiq/components 17.0.0-rc.1 → 17.0.0-rc.11
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/README.md +1 -2
- package/alert/_alert-theme.scss +48 -24
- package/alert/alert.component.d.ts +23 -3
- package/alert/alert.component.scss +91 -59
- package/alert/public-api.d.ts +1 -1
- package/autocomplete/_autocomplete-theme.scss +3 -3
- package/autocomplete/autocomplete.scss +8 -18
- package/autocomplete/public-api.d.ts +2 -2
- package/badge/_badge-theme.scss +30 -45
- package/badge/badge.component.scss +18 -39
- package/badge/public-api.d.ts +1 -1
- package/button/_button-base.scss +7 -14
- package/button/_button-theme.scss +30 -86
- package/button/button.component.d.ts +4 -3
- package/button/button.scss +7 -17
- package/button/public-api.d.ts +1 -1
- package/button-toggle/_button-toggle-theme.scss +19 -20
- package/button-toggle/button-toggle.scss +17 -44
- package/button-toggle/public-api.d.ts +1 -1
- package/card/_card-theme.scss +18 -17
- package/card/card.component.d.ts +1 -1
- package/card/card.component.scss +3 -6
- package/card/public-api.d.ts +1 -1
- package/checkbox/_checkbox-theme.scss +50 -50
- package/checkbox/checkbox.scss +31 -35
- package/code-block/README.md +18 -14
- package/code-block/_code-block-theme.scss +53 -23
- package/code-block/actionbar.component.scss +11 -25
- package/code-block/code-block.component.d.ts +12 -4
- package/code-block/code-block.scss +62 -77
- package/code-block/public-api.d.ts +1 -1
- package/core/animation/index.d.ts +1 -1
- package/core/common-behaviors/index.d.ts +3 -3
- package/core/datetime/index.d.ts +1 -1
- package/core/form-field/form-field-ref.d.ts +2 -0
- package/core/formatters/index.d.ts +1 -1
- package/core/forms/_forms-theme.scss +4 -8
- package/core/forms/_forms.scss +13 -43
- package/core/forms/index.d.ts +1 -1
- package/core/locales/formatters.d.ts +96 -0
- package/core/locales/index.d.ts +1 -1
- package/core/locales/locale-service.d.ts +97 -0
- package/core/option/_optgroup-theme.scss +4 -6
- package/core/option/_option-action-theme.scss +8 -11
- package/core/option/_option-theme.scss +15 -20
- package/core/option/index.d.ts +2 -2
- package/core/option/optgroup.scss +2 -3
- package/core/option/option.scss +0 -1
- package/core/pop-up/_pop-up.scss +0 -1
- package/core/pop-up/pop-up-trigger.d.ts +4 -2
- package/core/public-api.d.ts +3 -3
- package/core/select/common.d.ts +35 -0
- package/core/select/constants.d.ts +1 -1
- package/core/select/index.d.ts +3 -2
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +15 -19
- package/core/selection/pseudo-checkbox/pseudo-checkbox.scss +9 -9
- package/core/services/theme.service.d.ts +3 -2
- package/core/styles/_core.scss +0 -1
- package/core/styles/_koobiq-theme.scss +5 -3
- package/core/styles/common/_animation.scss +9 -8
- package/core/styles/common/_button.scss +0 -2
- package/core/styles/common/_clearfix.scss +1 -1
- package/core/styles/common/_groups.scss +3 -9
- package/core/styles/common/_list.scss +24 -66
- package/core/styles/common/_overlay.scss +4 -3
- package/core/styles/common/_popup.scss +5 -5
- package/core/styles/common/_rtl.scss +4 -4
- package/core/styles/common/_select.scss +48 -42
- package/core/styles/common/_tokens.scss +47 -0
- package/core/styles/functions/_number.scss +14 -19
- package/core/styles/functions/_string.scss +18 -19
- package/core/styles/functions/_timing.scss +24 -24
- package/core/styles/theming/_components-theming.scss +1322 -1326
- package/core/styles/theming/_scrollbar-theme.scss +8 -5
- package/core/styles/theming/_theming.scss +26 -29
- package/core/styles/typography/_typography-utils.scss +1 -2
- package/core/styles/typography/_typography.scss +138 -85
- package/core/styles/visual/_body.scss +0 -2
- package/core/styles/visual/_layout.scss +44 -38
- package/core/utils/data-size/config.d.ts +20 -2
- package/core/utils/data-size/data-size.pipe.d.ts +10 -9
- package/core/utils/data-size/index.d.ts +1 -1
- package/core/utils/data-size/size.d.ts +3 -4
- package/core/utils/public-api.d.ts +1 -1
- package/datepicker/_datepicker-theme.scss +38 -40
- package/datepicker/calendar-body.scss +3 -11
- package/datepicker/calendar-header.scss +4 -10
- package/datepicker/calendar.scss +5 -17
- package/datepicker/datepicker-content.scss +5 -15
- package/datepicker/datepicker-input.directive.d.ts +1 -0
- package/datepicker/datepicker-input.scss +0 -5
- package/datepicker/datepicker-toggle.scss +3 -3
- package/datepicker/public-api.d.ts +4 -4
- package/divider/_divider-theme.scss +2 -1
- package/divider/divider.scss +9 -26
- package/dl/_dl-theme.scss +5 -8
- package/dl/dl.scss +5 -20
- package/dl/public-api.d.ts +1 -1
- package/dropdown/_dropdown-theme.scss +30 -22
- package/dropdown/dropdown-content.directive.d.ts +1 -1
- package/dropdown/dropdown-item.component.d.ts +1 -1
- package/dropdown/dropdown-item.scss +12 -16
- package/dropdown/dropdown-trigger.directive.d.ts +2 -2
- package/dropdown/dropdown.component.d.ts +1 -1
- package/dropdown/dropdown.scss +6 -15
- package/dropdown/public-api.d.ts +5 -5
- package/ellipsis-center/ellipsis-center.directive.d.ts +4 -3
- package/empty-state/README.md +0 -0
- package/empty-state/_empty-state-theme.scss +56 -0
- package/empty-state/empty-state.component.d.ts +31 -0
- package/empty-state/empty-state.module.d.ts +10 -0
- package/empty-state/empty-state.scss +81 -0
- package/empty-state/index.d.ts +1 -0
- package/empty-state/public-api.d.ts +2 -0
- package/esm2022/alert/alert.component.mjs +52 -5
- package/esm2022/alert/alert.module.mjs +1 -1
- package/esm2022/alert/public-api.mjs +2 -2
- package/esm2022/autocomplete/autocomplete-origin.directive.mjs +1 -1
- package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +23 -31
- package/esm2022/autocomplete/autocomplete.component.mjs +14 -9
- package/esm2022/autocomplete/autocomplete.module.mjs +3 -3
- package/esm2022/autocomplete/public-api.mjs +3 -3
- package/esm2022/badge/badge.component.mjs +8 -6
- package/esm2022/badge/badge.module.mjs +1 -1
- package/esm2022/badge/public-api.mjs +2 -2
- package/esm2022/button/button.component.mjs +20 -10
- package/esm2022/button/button.module.mjs +1 -1
- package/esm2022/button/public-api.mjs +2 -2
- package/esm2022/button-toggle/button-toggle.component.mjs +24 -16
- package/esm2022/button-toggle/button-toggle.module.mjs +1 -1
- package/esm2022/button-toggle/public-api.mjs +2 -2
- package/esm2022/card/card.component.mjs +2 -2
- package/esm2022/card/card.module.mjs +1 -1
- package/esm2022/card/public-api.mjs +2 -2
- package/esm2022/checkbox/checkbox-config.mjs +1 -1
- package/esm2022/checkbox/checkbox-module.mjs +1 -1
- package/esm2022/checkbox/checkbox-required-validator.mjs +1 -1
- package/esm2022/checkbox/checkbox.mjs +6 -6
- package/esm2022/checkbox/public-api.mjs +1 -1
- package/esm2022/code-block/actionbar.component.mjs +4 -6
- package/esm2022/code-block/code-block.component.mjs +64 -17
- package/esm2022/code-block/code-block.module.mjs +9 -5
- package/esm2022/code-block/public-api.mjs +2 -2
- package/esm2022/core/animation/fade-animations.mjs +1 -1
- package/esm2022/core/animation/index.mjs +2 -2
- package/esm2022/core/animation/select-animations.mjs +5 -5
- package/esm2022/core/common-behaviors/color.mjs +4 -2
- package/esm2022/core/common-behaviors/common-module.mjs +2 -2
- package/esm2022/core/common-behaviors/constructor.mjs +1 -1
- package/esm2022/core/common-behaviors/disabled.mjs +1 -1
- package/esm2022/core/common-behaviors/error-state.mjs +1 -1
- package/esm2022/core/common-behaviors/index.mjs +4 -4
- package/esm2022/core/common-behaviors/tabindex.mjs +1 -1
- package/esm2022/core/datetime/date-adapter.mjs +1 -1
- package/esm2022/core/datetime/date-formats.mjs +1 -1
- package/esm2022/core/datetime/index.mjs +2 -2
- package/esm2022/core/error/error-options.mjs +1 -1
- package/esm2022/core/form-field/form-field-ref.mjs +1 -1
- package/esm2022/core/formatters/date/formatter.mjs +1 -1
- package/esm2022/core/formatters/date/formatter.pipe.mjs +1 -1
- package/esm2022/core/formatters/index.mjs +2 -2
- package/esm2022/core/formatters/number/formatter.mjs +19 -20
- package/esm2022/core/forms/forms-module.mjs +1 -1
- package/esm2022/core/forms/forms.directive.mjs +1 -1
- package/esm2022/core/forms/index.mjs +2 -2
- package/esm2022/core/highlight/highlight.pipe.mjs +1 -1
- package/esm2022/core/highlight/index.mjs +1 -1
- package/esm2022/core/label/label-options.mjs +1 -1
- package/esm2022/core/line/line.mjs +2 -2
- package/esm2022/core/locales/en-US.mjs +1 -1
- package/esm2022/core/locales/es-LA.mjs +1 -1
- package/esm2022/core/locales/fa-IR.mjs +1 -1
- package/esm2022/core/locales/formatters.mjs +97 -1
- package/esm2022/core/locales/index.mjs +2 -2
- package/esm2022/core/locales/locale-service.mjs +10 -4
- package/esm2022/core/locales/locale-service.module.mjs +1 -1
- package/esm2022/core/locales/pt-BR.mjs +1 -1
- package/esm2022/core/locales/ru-RU.mjs +3 -3
- package/esm2022/core/locales/zh-CN.mjs +1 -1
- package/esm2022/core/option/action.mjs +20 -12
- package/esm2022/core/option/index.mjs +3 -3
- package/esm2022/core/option/optgroup.mjs +4 -4
- package/esm2022/core/option/option-module.mjs +1 -1
- package/esm2022/core/option/option.mjs +13 -7
- package/esm2022/core/overlay/overlay-position-map.mjs +1 -1
- package/esm2022/core/pop-up/pop-up-trigger.mjs +29 -30
- package/esm2022/core/pop-up/pop-up.mjs +1 -1
- package/esm2022/core/public-api.mjs +4 -4
- package/esm2022/core/select/common.mjs +120 -0
- package/esm2022/core/select/constants.mjs +1 -1
- package/esm2022/core/select/index.mjs +4 -3
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +3 -3
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +1 -1
- package/esm2022/core/services/measure-scrollbar.service.mjs +1 -1
- package/esm2022/core/services/theme.service.mjs +5 -4
- package/esm2022/core/title/title-text-ref.mjs +1 -1
- package/esm2022/core/utils/data-size/config.mjs +5 -17
- package/esm2022/core/utils/data-size/data-size.pipe.mjs +35 -22
- package/esm2022/core/utils/data-size/index.mjs +2 -2
- package/esm2022/core/utils/data-size/size.mjs +7 -14
- package/esm2022/core/utils/public-api.mjs +2 -2
- package/esm2022/core/utils/utils.mjs +4 -2
- package/esm2022/core/validation/validation.mjs +4 -2
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/datepicker/calendar-body.component.mjs +3 -3
- package/esm2022/datepicker/calendar-header.component.mjs +8 -7
- package/esm2022/datepicker/calendar.component.mjs +6 -6
- package/esm2022/datepicker/datepicker-animations.mjs +2 -2
- package/esm2022/datepicker/datepicker-errors.mjs +1 -1
- package/esm2022/datepicker/datepicker-input.directive.mjs +42 -34
- package/esm2022/datepicker/datepicker-intl.mjs +1 -1
- package/esm2022/datepicker/datepicker-module.mjs +2 -2
- package/esm2022/datepicker/datepicker-toggle.component.mjs +11 -10
- package/esm2022/datepicker/datepicker.component.mjs +15 -15
- package/esm2022/datepicker/month-view.component.mjs +14 -13
- package/esm2022/datepicker/public-api.mjs +5 -5
- package/esm2022/divider/divider.component.mjs +1 -1
- package/esm2022/divider/divider.module.mjs +1 -1
- package/esm2022/dl/dl.component.mjs +1 -1
- package/esm2022/dl/dl.module.mjs +2 -2
- package/esm2022/dl/public-api.mjs +2 -2
- package/esm2022/dropdown/dropdown-animations.mjs +5 -5
- 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 +25 -31
- package/esm2022/dropdown/dropdown.component.mjs +10 -18
- package/esm2022/dropdown/dropdown.module.mjs +1 -1
- package/esm2022/dropdown/dropdown.types.mjs +1 -1
- package/esm2022/dropdown/public-api.mjs +6 -6
- package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +9 -7
- package/esm2022/empty-state/empty-state.component.mjs +104 -0
- package/esm2022/empty-state/empty-state.module.mjs +50 -0
- package/esm2022/empty-state/index.mjs +2 -0
- package/esm2022/empty-state/koobiq-components-empty-state.mjs +5 -0
- package/esm2022/empty-state/public-api.mjs +3 -0
- package/esm2022/file-upload/file-drop.mjs +2 -2
- package/esm2022/file-upload/file-upload.mjs +1 -1
- package/esm2022/file-upload/file-upload.module.mjs +12 -6
- package/esm2022/file-upload/index.mjs +1 -1
- package/esm2022/file-upload/multiple-file-upload.component.mjs +96 -29
- package/esm2022/file-upload/public-api.mjs +2 -2
- package/esm2022/file-upload/single-file-upload.component.mjs +100 -25
- package/esm2022/form-field/cleaner.mjs +13 -3
- package/esm2022/form-field/form-field-control.mjs +1 -1
- package/esm2022/form-field/form-field-errors.mjs +1 -1
- package/esm2022/form-field/form-field.mjs +8 -13
- package/esm2022/form-field/form-field.module.mjs +1 -1
- package/esm2022/form-field/hint.mjs +4 -4
- package/esm2022/form-field/password-hint.mjs +15 -15
- package/esm2022/form-field/password-toggle.mjs +14 -15
- package/esm2022/form-field/prefix.mjs +1 -1
- package/esm2022/form-field/public-api.mjs +4 -4
- package/esm2022/form-field/stepper.mjs +33 -29
- package/esm2022/form-field/suffix.mjs +1 -1
- package/esm2022/form-field/validate.directive.mjs +6 -5
- package/esm2022/icon/icon-button.component.mjs +2 -2
- package/esm2022/icon/icon-item.component.mjs +16 -6
- package/esm2022/icon/icon.component.mjs +3 -4
- package/esm2022/icon/icon.module.mjs +1 -1
- package/esm2022/icon/public-api.mjs +3 -3
- package/esm2022/input/input-number-validators.mjs +1 -1
- package/esm2022/input/input-number.mjs +35 -36
- package/esm2022/input/input-password.mjs +13 -7
- package/esm2022/input/input-value-accessor.mjs +1 -1
- package/esm2022/input/input.mjs +13 -7
- package/esm2022/input/input.module.mjs +1 -1
- package/esm2022/input/public-api.mjs +3 -3
- package/esm2022/link/link.component.mjs +2 -2
- package/esm2022/link/link.module.mjs +1 -1
- package/esm2022/link/public-api.mjs +2 -2
- package/esm2022/list/list-selection.component.mjs +34 -36
- package/esm2022/list/list.component.mjs +3 -3
- package/esm2022/list/list.module.mjs +2 -2
- package/esm2022/list/public-api.mjs +3 -3
- package/esm2022/loader-overlay/loader-overlay.component.mjs +4 -4
- package/esm2022/loader-overlay/loader-overlay.module.mjs +1 -1
- package/esm2022/loader-overlay/public-api.mjs +2 -2
- package/esm2022/markdown/markdown.component.mjs +22 -8
- package/esm2022/markdown/markdown.module.mjs +1 -1
- package/esm2022/markdown/markdown.service.mjs +1 -1
- package/esm2022/modal/css-unit.pipe.mjs +1 -1
- package/esm2022/modal/modal-control.service.mjs +3 -2
- package/esm2022/modal/modal-ref.class.mjs +1 -1
- package/esm2022/modal/modal-util.mjs +1 -1
- package/esm2022/modal/modal.component.mjs +54 -32
- package/esm2022/modal/modal.directive.mjs +27 -11
- package/esm2022/modal/modal.module.mjs +2 -2
- package/esm2022/modal/modal.service.mjs +3 -2
- package/esm2022/modal/modal.type.mjs +1 -1
- package/esm2022/modal/public-api.mjs +3 -3
- package/esm2022/navbar/index.mjs +1 -1
- package/esm2022/navbar/navbar-item.component.mjs +47 -38
- package/esm2022/navbar/navbar.component.mjs +19 -28
- package/esm2022/navbar/navbar.module.mjs +2 -2
- package/esm2022/navbar/public-api.mjs +3 -3
- package/esm2022/navbar/vertical-navbar.component.mjs +17 -18
- package/esm2022/popover/popover-animations.mjs +1 -1
- package/esm2022/popover/popover-confirm.component.mjs +3 -3
- package/esm2022/popover/popover.component.mjs +5 -5
- package/esm2022/popover/popover.module.mjs +1 -1
- package/esm2022/popover/public-api.mjs +3 -3
- package/esm2022/progress-bar/progress-bar.component.mjs +4 -4
- package/esm2022/progress-bar/progress-bar.module.mjs +2 -2
- package/esm2022/progress-bar/public-api.mjs +2 -2
- package/esm2022/progress-spinner/progress-spinner.component.mjs +4 -4
- package/esm2022/progress-spinner/progress-spinner.module.mjs +1 -1
- package/esm2022/progress-spinner/public-api.mjs +2 -2
- package/esm2022/radio/public-api.mjs +2 -2
- package/esm2022/radio/radio.component.mjs +9 -10
- package/esm2022/radio/radio.module.mjs +1 -1
- package/esm2022/risk-level/public-api.mjs +2 -2
- package/esm2022/risk-level/risk-level.component.mjs +1 -1
- package/esm2022/risk-level/risk-level.module.mjs +1 -1
- package/esm2022/scrollbar/public-api.mjs +2 -2
- package/esm2022/scrollbar/scrollbar.component.mjs +15 -13
- package/esm2022/scrollbar/scrollbar.directive.mjs +3 -3
- package/esm2022/scrollbar/scrollbar.module.mjs +2 -2
- package/esm2022/scrollbar/scrollbar.types.mjs +3 -2
- package/esm2022/select/public-api.mjs +3 -3
- package/esm2022/select/select-option.directive.mjs +14 -9
- package/esm2022/select/select.component.mjs +92 -172
- package/esm2022/select/select.module.mjs +28 -28
- package/esm2022/sidebar/public-api.mjs +2 -2
- package/esm2022/sidebar/sidebar-animations.mjs +1 -1
- package/esm2022/sidebar/sidebar.component.mjs +3 -3
- package/esm2022/sidebar/sidebar.module.mjs +1 -1
- package/esm2022/sidepanel/public-api.mjs +4 -4
- package/esm2022/sidepanel/sidepanel-animations.mjs +7 -3
- package/esm2022/sidepanel/sidepanel-config.mjs +1 -1
- package/esm2022/sidepanel/sidepanel-container.component.mjs +4 -4
- package/esm2022/sidepanel/sidepanel-directives.mjs +30 -16
- package/esm2022/sidepanel/sidepanel-ref.mjs +10 -4
- package/esm2022/sidepanel/sidepanel.module.mjs +1 -1
- package/esm2022/sidepanel/sidepanel.service.mjs +11 -14
- package/esm2022/splitter/public-api.mjs +2 -2
- package/esm2022/splitter/splitter.component.mjs +45 -35
- package/esm2022/splitter/splitter.module.mjs +1 -1
- package/esm2022/table/public-api.mjs +2 -2
- package/esm2022/table/table.component.mjs +29 -6
- package/esm2022/table/table.module.mjs +14 -6
- package/esm2022/tabs/paginated-tab-header.mjs +8 -11
- package/esm2022/tabs/public-api.mjs +6 -6
- package/esm2022/tabs/tab-body.component.mjs +9 -9
- package/esm2022/tabs/tab-content.directive.mjs +1 -1
- package/esm2022/tabs/tab-group.component.mjs +61 -21
- package/esm2022/tabs/tab-header.component.mjs +4 -4
- package/esm2022/tabs/tab-label-wrapper.directive.mjs +1 -1
- package/esm2022/tabs/tab-label.directive.mjs +1 -1
- package/esm2022/tabs/tab-nav-bar/index.mjs +1 -1
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +4 -4
- package/esm2022/tabs/tab.component.mjs +4 -6
- package/esm2022/tabs/tabs-animations.mjs +1 -1
- package/esm2022/tabs/tabs.module.mjs +2 -2
- package/esm2022/tags/public-api.mjs +5 -5
- package/esm2022/tags/tag-default-options.mjs +1 -1
- package/esm2022/tags/tag-input.mjs +26 -14
- package/esm2022/tags/tag-list.component.mjs +14 -20
- package/esm2022/tags/tag-text-control.mjs +1 -1
- package/esm2022/tags/tag.component.mjs +6 -8
- package/esm2022/tags/tag.module.mjs +9 -5
- package/esm2022/textarea/index.mjs +1 -1
- package/esm2022/textarea/textarea.component.mjs +15 -15
- package/esm2022/textarea/textarea.module.mjs +1 -1
- package/esm2022/timepicker/public-api.mjs +2 -2
- package/esm2022/timepicker/timepicker.constants.mjs +6 -1
- package/esm2022/timepicker/timepicker.directive.mjs +72 -28
- package/esm2022/timepicker/timepicker.module.mjs +1 -1
- package/esm2022/timezone/cities-by-filter.pipe.mjs +1 -1
- package/esm2022/timezone/timezone-option.component.mjs +12 -11
- package/esm2022/timezone/timezone-option.directive.mjs +9 -7
- package/esm2022/timezone/timezone-select.component.mjs +7 -7
- package/esm2022/timezone/timezone.module.mjs +1 -1
- package/esm2022/timezone/timezone.utils.mjs +5 -9
- package/esm2022/timezone/utc-offset.pipe.mjs +1 -1
- package/esm2022/title/public-api.mjs +2 -2
- package/esm2022/title/title.directive.mjs +11 -8
- package/esm2022/title/title.module.mjs +1 -1
- package/esm2022/toast/public-api.mjs +4 -4
- package/esm2022/toast/toast-animations.mjs +2 -2
- package/esm2022/toast/toast-container.component.mjs +5 -6
- package/esm2022/toast/toast.component.mjs +6 -6
- package/esm2022/toast/toast.module.mjs +1 -1
- package/esm2022/toast/toast.service.mjs +26 -37
- package/esm2022/toast/toast.type.mjs +3 -1
- package/esm2022/toggle/public-api.mjs +2 -2
- package/esm2022/toggle/toggle.component.mjs +17 -9
- package/esm2022/toggle/toggle.module.mjs +1 -1
- package/esm2022/tooltip/public-api.mjs +2 -2
- package/esm2022/tooltip/tooltip.animations.mjs +1 -1
- package/esm2022/tooltip/tooltip.component.mjs +32 -16
- package/esm2022/tooltip/tooltip.module.mjs +2 -2
- package/esm2022/tree/control/base-tree-control.mjs +1 -1
- package/esm2022/tree/control/flat-tree-control.filters.mjs +4 -7
- package/esm2022/tree/control/flat-tree-control.mjs +4 -7
- 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 +3 -8
- package/esm2022/tree/data-source/nested-data-source.mjs +2 -3
- package/esm2022/tree/node.mjs +1 -1
- package/esm2022/tree/outlet.mjs +1 -1
- package/esm2022/tree/padding.directive.mjs +5 -6
- package/esm2022/tree/public-api.mjs +11 -11
- package/esm2022/tree/toggle.mjs +8 -5
- package/esm2022/tree/tree-base.mjs +4 -4
- package/esm2022/tree/tree-errors.mjs +1 -1
- package/esm2022/tree/tree-option.component.mjs +9 -13
- package/esm2022/tree/tree-selection.component.mjs +19 -33
- package/esm2022/tree/tree.mjs +7 -3
- package/esm2022/tree/tree.module.mjs +4 -4
- package/esm2022/tree-select/public-api.mjs +2 -2
- package/esm2022/tree-select/tree-select.component.mjs +73 -98
- package/esm2022/tree-select/tree-select.module.mjs +31 -11
- package/fesm2022/koobiq-components-alert.mjs +55 -8
- package/fesm2022/koobiq-components-alert.mjs.map +1 -1
- package/fesm2022/koobiq-components-autocomplete.mjs +58 -61
- package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
- package/fesm2022/koobiq-components-badge.mjs +10 -8
- package/fesm2022/koobiq-components-badge.mjs.map +1 -1
- package/fesm2022/koobiq-components-button-toggle.mjs +28 -20
- package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-button.mjs +22 -12
- package/fesm2022/koobiq-components-button.mjs.map +1 -1
- package/fesm2022/koobiq-components-card.mjs +2 -2
- package/fesm2022/koobiq-components-card.mjs.map +1 -1
- package/fesm2022/koobiq-components-checkbox.mjs +3 -3
- package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
- package/fesm2022/koobiq-components-code-block.mjs +75 -27
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +623 -397
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +101 -90
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-divider.mjs.map +1 -1
- package/fesm2022/koobiq-components-dl.mjs +3 -3
- package/fesm2022/koobiq-components-dl.mjs.map +1 -1
- package/fesm2022/koobiq-components-dropdown.mjs +127 -141
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-ellipsis-center.mjs +5 -4
- package/fesm2022/koobiq-components-ellipsis-center.mjs.map +1 -1
- package/fesm2022/koobiq-components-empty-state.mjs +157 -0
- package/fesm2022/koobiq-components-empty-state.mjs.map +1 -0
- package/fesm2022/koobiq-components-file-upload.mjs +207 -62
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +88 -81
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +17 -8
- package/fesm2022/koobiq-components-icon.mjs.map +1 -1
- package/fesm2022/koobiq-components-input.mjs +62 -51
- package/fesm2022/koobiq-components-input.mjs.map +1 -1
- package/fesm2022/koobiq-components-link.mjs +1 -1
- package/fesm2022/koobiq-components-link.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +39 -41
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-loader-overlay.mjs +7 -7
- package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
- package/fesm2022/koobiq-components-markdown.mjs +20 -6
- package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +88 -49
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +84 -85
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +12 -12
- package/fesm2022/koobiq-components-popover.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-bar.mjs +5 -5
- package/fesm2022/koobiq-components-progress-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-spinner.mjs +5 -5
- package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
- package/fesm2022/koobiq-components-radio.mjs +11 -12
- package/fesm2022/koobiq-components-radio.mjs.map +1 -1
- package/fesm2022/koobiq-components-risk-level.mjs +2 -2
- package/fesm2022/koobiq-components-risk-level.mjs.map +1 -1
- package/fesm2022/koobiq-components-scrollbar.mjs +17 -14
- package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-select.mjs +136 -212
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidebar.mjs +3 -3
- package/fesm2022/koobiq-components-sidebar.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidepanel.mjs +108 -87
- package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
- package/fesm2022/koobiq-components-splitter.mjs +46 -36
- package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
- package/fesm2022/koobiq-components-table.mjs +42 -11
- package/fesm2022/koobiq-components-table.mjs.map +1 -1
- package/fesm2022/koobiq-components-tabs.mjs +87 -52
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +53 -46
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-textarea.mjs +13 -13
- package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
- package/fesm2022/koobiq-components-timepicker.mjs +79 -30
- package/fesm2022/koobiq-components-timepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-timezone.mjs +23 -25
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-title.mjs +13 -10
- package/fesm2022/koobiq-components-title.mjs.map +1 -1
- package/fesm2022/koobiq-components-toast.mjs +86 -95
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/fesm2022/koobiq-components-toggle.mjs +17 -9
- package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-tooltip.mjs +33 -18
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +110 -114
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +509 -533
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/file-upload/_file-upload-theme.scss +124 -73
- package/file-upload/file-upload.module.d.ts +11 -10
- package/file-upload/file-upload.scss +0 -6
- package/file-upload/multiple-file-upload.component.d.ts +37 -7
- package/file-upload/multiple-file-upload.component.scss +50 -120
- package/file-upload/public-api.d.ts +1 -1
- package/file-upload/single-file-upload.component.d.ts +37 -7
- package/file-upload/single-file-upload.component.scss +12 -33
- package/form-field/_form-field-theme.scss +46 -36
- package/form-field/_hint-theme.scss +15 -20
- package/form-field/cleaner.scss +3 -9
- package/form-field/form-field.scss +23 -26
- package/form-field/hint.scss +5 -8
- package/form-field/password-toggle.d.ts +3 -2
- package/form-field/password-toggle.scss +3 -10
- package/form-field/public-api.d.ts +3 -3
- package/form-field/stepper.scss +4 -11
- package/icon/_icon-button-theme.scss +47 -36
- package/icon/_icon-item-theme.scss +47 -26
- package/icon/_icon-theme.scss +12 -14
- package/icon/icon-button.scss +5 -20
- package/icon/icon-item.component.d.ts +3 -1
- package/icon/icon-item.scss +10 -8
- package/icon/icon.scss +0 -6
- package/icon/public-api.d.ts +2 -2
- package/input/_input-theme.scss +6 -4
- package/input/input.scss +11 -10
- package/input/public-api.d.ts +2 -2
- package/link/_link-theme.scss +32 -49
- package/link/link.component.d.ts +1 -1
- package/link/public-api.d.ts +1 -1
- package/list/_list-theme.scss +21 -19
- package/list/list-selection.component.d.ts +2 -2
- package/list/list.scss +2 -6
- package/list/public-api.d.ts +2 -2
- package/loader-overlay/_loader-overlay-theme.scss +17 -18
- package/loader-overlay/loader-overlay.scss +9 -33
- package/loader-overlay/public-api.d.ts +1 -1
- package/markdown/_markdown-theme.scss +47 -47
- package/markdown/markdown.scss +41 -91
- package/modal/README.md +4 -3
- package/modal/_modal-animation.scss +0 -1
- package/modal/_modal-confirm.scss +2 -7
- package/modal/_modal-theme.scss +11 -13
- package/modal/modal.component.d.ts +1 -1
- package/modal/modal.directive.d.ts +3 -3
- package/modal/modal.scss +15 -31
- package/modal/modal.type.d.ts +2 -2
- package/modal/public-api.d.ts +2 -2
- package/navbar/README.md +21 -20
- package/navbar/_navbar-item_horizontal.scss +40 -33
- package/navbar/_navbar-item_vertical.scss +31 -33
- package/navbar/_navbar-theme.scss +20 -24
- package/navbar/navbar-brand.scss +24 -27
- package/navbar/navbar-divider.scss +4 -8
- package/navbar/navbar-item.component.d.ts +4 -4
- package/navbar/navbar-item.scss +20 -15
- package/navbar/navbar.scss +2 -6
- package/navbar/public-api.d.ts +2 -2
- package/navbar/vertical-navbar.scss +4 -6
- package/package.json +17 -10
- package/popover/README.md +18 -14
- package/popover/_popover-theme.scss +9 -17
- package/popover/popover.component.d.ts +1 -1
- package/popover/popover.scss +15 -29
- package/popover/public-api.d.ts +2 -2
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/progress-bar/_progress-bar-theme.scss +7 -11
- package/progress-bar/progress-bar.scss +6 -19
- package/progress-bar/public-api.d.ts +1 -1
- package/progress-spinner/_progress-spinner-theme.scss +6 -8
- package/progress-spinner/progress-spinner.scss +8 -18
- package/progress-spinner/public-api.d.ts +1 -1
- package/radio/_radio-theme.scss +37 -37
- package/radio/public-api.d.ts +1 -1
- package/radio/radio.scss +35 -40
- package/risk-level/_risk-level-theme.scss +25 -31
- package/risk-level/public-api.d.ts +1 -1
- package/risk-level/risk-level.component.scss +4 -10
- package/schematics/collection.json +11 -0
- package/schematics/ng-add/index.js +70 -0
- package/schematics/ng-add/schema.json +15 -0
- package/scrollbar/_scrollbar-component-theme.scss +15 -19
- package/scrollbar/public-api.d.ts +1 -1
- package/scrollbar/scrollbar.component.scss +68 -63
- package/scrollbar/scrollbar.directive.d.ts +1 -1
- package/scrollbar/scrollbar.types.d.ts +1 -1
- package/select/_select-theme.scss +14 -16
- package/select/public-api.d.ts +2 -2
- package/select/select-option.directive.d.ts +3 -2
- package/select/select.component.d.ts +12 -33
- package/select/select.module.d.ts +1 -1
- package/select/select.scss +3 -11
- package/sidebar/public-api.d.ts +1 -1
- package/sidepanel/_sidepanel-theme.scss +8 -10
- package/sidepanel/public-api.d.ts +3 -3
- package/sidepanel/sidepanel.scss +20 -37
- package/splitter/_splitter-theme.scss +5 -6
- package/splitter/public-api.d.ts +1 -1
- package/splitter/splitter.component.d.ts +10 -5
- package/splitter/splitter.scss +0 -1
- package/table/_table-theme.scss +16 -15
- package/table/public-api.d.ts +1 -1
- package/table/table.component.d.ts +8 -1
- package/table/table.module.d.ts +1 -1
- package/table/table.scss +41 -42
- package/tabs/_tabs-common.scss +13 -15
- package/tabs/_tabs-theme.scss +76 -44
- package/tabs/paginated-tab-header.d.ts +1 -1
- package/tabs/public-api.d.ts +5 -5
- package/tabs/tab-body.component.d.ts +4 -4
- package/tabs/tab-group.component.d.ts +10 -4
- package/tabs/tab-group.scss +2 -8
- package/tabs/tab-header.scss +0 -10
- package/tabs/tab-nav-bar/tab-nav-bar.scss +2 -9
- package/tags/_tag-theme.scss +22 -27
- package/tags/public-api.d.ts +4 -4
- package/tags/tag-default-options.d.ts +1 -0
- package/tags/tag-input.d.ts +8 -2
- package/tags/tag-list.scss +15 -12
- package/tags/tag.component.d.ts +1 -1
- package/tags/tag.scss +5 -11
- package/textarea/_textarea-theme.scss +2 -5
- package/textarea/textarea.component.d.ts +1 -1
- package/textarea/textarea.scss +5 -10
- package/timepicker/public-api.d.ts +1 -1
- package/timepicker/timepicker.constants.d.ts +2 -0
- package/timepicker/timepicker.directive.d.ts +11 -4
- package/timepicker/timepicker.scss +2 -8
- package/timezone/_timezone-option-theme.scss +8 -10
- package/timezone/timezone-option.component.scss +5 -8
- package/timezone/timezone-option.directive.d.ts +4 -3
- package/timezone/timezone-select.component.d.ts +2 -1
- package/timezone/timezone-select.component.scss +2 -4
- package/timezone/timezone.utils.d.ts +1 -1
- package/title/public-api.d.ts +1 -1
- package/title/title.directive.d.ts +0 -1
- package/toast/_toast-theme.scss +20 -16
- package/toast/public-api.d.ts +3 -3
- package/toast/toast-container.component.scss +5 -6
- package/toast/toast.component.scss +28 -29
- package/toast/toast.service.d.ts +9 -5
- package/toast/toast.type.d.ts +3 -1
- package/toggle/_toggle-theme.scss +49 -42
- package/toggle/public-api.d.ts +1 -1
- package/toggle/toggle.scss +9 -22
- package/tooltip/_tooltip-theme.scss +12 -16
- package/tooltip/public-api.d.ts +1 -1
- package/tooltip/tooltip.component.d.ts +14 -10
- package/tooltip/tooltip.scss +7 -13
- package/tree/_tree-theme.scss +20 -23
- package/tree/public-api.d.ts +10 -10
- package/tree/toggle.scss +3 -6
- package/tree/tree-base.d.ts +2 -2
- package/tree/tree-option.component.d.ts +1 -1
- package/tree/tree-option.scss +17 -14
- package/tree/tree-selection.component.d.ts +2 -1
- package/tree-select/_tree-select-theme.scss +12 -15
- package/tree-select/public-api.d.ts +1 -1
- package/tree-select/tree-select.component.d.ts +13 -20
- package/tree-select/tree-select.module.d.ts +1 -2
- package/tree-select/tree-select.scss +1 -6
- package/core/styles/_variables.scss +0 -1
package/README.md
CHANGED
package/alert/_alert-theme.scss
CHANGED
|
@@ -2,60 +2,84 @@
|
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
|
|
4
4
|
@use '../core/styles/typography/typography-utils' as *;
|
|
5
|
+
@use '../core/styles/common/tokens' as *;
|
|
5
6
|
|
|
7
|
+
@mixin kbq-alert-style($component, $type, $style-name) {
|
|
8
|
+
$style: map.get($component, $type, $style-name);
|
|
6
9
|
|
|
7
|
-
|
|
8
|
-
background-color: map.get($alert, background);
|
|
9
|
-
border-color: map.get($alert, border);
|
|
10
|
+
background: kbq-css-variable(alert-#{$type}-#{$style-name}-background, map.get($style, background));
|
|
10
11
|
|
|
11
|
-
.kbq-
|
|
12
|
-
color: map.get($
|
|
12
|
+
.kbq-alert__title {
|
|
13
|
+
color: kbq-css-variable(alert-#{$type}-#{$style-name}-title, map.get($style, title));
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.kbq-alert__text {
|
|
17
|
+
color: kbq-css-variable(alert-#{$type}-#{$style-name}-text, map.get($style, text));
|
|
13
18
|
}
|
|
14
19
|
}
|
|
15
20
|
|
|
16
21
|
@mixin kbq-alert-theme($theme) {
|
|
17
22
|
$alert: map.get(map.get($theme, components), alert);
|
|
18
23
|
|
|
19
|
-
$alert-contrast: map.get($alert, contrast);
|
|
20
|
-
$alert-error: map.get($alert, error);
|
|
21
|
-
|
|
22
24
|
.kbq-alert__close:focus {
|
|
23
25
|
outline: none;
|
|
24
26
|
}
|
|
25
27
|
|
|
26
|
-
.kbq-alert {
|
|
27
|
-
|
|
28
|
+
.kbq-alert.kbq-alert_default {
|
|
29
|
+
&.kbq-alert_contrast {
|
|
30
|
+
@include kbq-alert-style($alert, default, contrast);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&.kbq-alert_error {
|
|
34
|
+
@include kbq-alert-style($alert, default, error);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&.kbq-alert_warning {
|
|
38
|
+
@include kbq-alert-style($alert, default, warning);
|
|
39
|
+
}
|
|
28
40
|
|
|
29
|
-
|
|
30
|
-
|
|
41
|
+
&.kbq-alert_success {
|
|
42
|
+
@include kbq-alert-style($alert, default, success);
|
|
31
43
|
}
|
|
32
44
|
|
|
33
|
-
|
|
34
|
-
|
|
45
|
+
&.kbq-alert_theme {
|
|
46
|
+
@include kbq-alert-style($alert, default, theme);
|
|
35
47
|
}
|
|
36
48
|
}
|
|
37
49
|
|
|
38
|
-
.kbq-alert.kbq-
|
|
39
|
-
|
|
50
|
+
.kbq-alert.kbq-alert_colored {
|
|
51
|
+
&.kbq-alert_contrast {
|
|
52
|
+
@include kbq-alert-style($alert, colored, contrast);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&.kbq-alert_error {
|
|
56
|
+
@include kbq-alert-style($alert, colored, error);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&.kbq-alert_warning {
|
|
60
|
+
@include kbq-alert-style($alert, colored, warning);
|
|
61
|
+
}
|
|
40
62
|
|
|
41
|
-
|
|
42
|
-
|
|
63
|
+
&.kbq-alert_success {
|
|
64
|
+
@include kbq-alert-style($alert, colored, success);
|
|
43
65
|
}
|
|
44
66
|
|
|
45
|
-
|
|
46
|
-
|
|
67
|
+
&.kbq-alert_theme {
|
|
68
|
+
@include kbq-alert-style($alert, colored, theme);
|
|
47
69
|
}
|
|
48
70
|
}
|
|
49
71
|
}
|
|
50
72
|
|
|
51
73
|
@mixin kbq-alert-typography($config) {
|
|
52
|
-
$tokens: map.get($config, tokens);
|
|
53
|
-
|
|
54
74
|
.kbq-alert {
|
|
55
|
-
@include kbq-typography-
|
|
75
|
+
@include kbq-typography-css-variables(alert, text);
|
|
56
76
|
|
|
57
77
|
.kbq-alert__title {
|
|
58
|
-
@include kbq-typography-
|
|
78
|
+
@include kbq-typography-css-variables(alert, title);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&.kbq-alert_compact .kbq-alert__title {
|
|
82
|
+
@include kbq-typography-css-variables(alert, title-compact);
|
|
59
83
|
}
|
|
60
84
|
}
|
|
61
85
|
}
|
|
@@ -1,5 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AfterContentInit } from '@angular/core';
|
|
2
|
+
import { KbqIcon, KbqIconItem } from '@koobiq/components/icon';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
export declare enum KbqAlertStyles {
|
|
5
|
+
Default = "default",
|
|
6
|
+
Colored = "colored"
|
|
7
|
+
}
|
|
8
|
+
export declare enum KbqAlertColors {
|
|
9
|
+
Contrast = "contrast",
|
|
10
|
+
Error = "error",
|
|
11
|
+
Warning = "warning",
|
|
12
|
+
Success = "success",
|
|
13
|
+
Theme = "theme"
|
|
14
|
+
}
|
|
3
15
|
export declare class KbqAlertTitle {
|
|
4
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqAlertTitle, never>;
|
|
5
17
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqAlertTitle, "[kbq-alert-title]", never, {}, {}, never, never, false, never>;
|
|
@@ -12,11 +24,19 @@ export declare class KbqAlertControl {
|
|
|
12
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqAlertControl, never>;
|
|
13
25
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqAlertControl, "[kbq-alert-control]", never, {}, {}, never, never, false, never>;
|
|
14
26
|
}
|
|
15
|
-
export declare class KbqAlert {
|
|
27
|
+
export declare class KbqAlert implements AfterContentInit {
|
|
16
28
|
iconItem: KbqIconItem;
|
|
29
|
+
icon: KbqIcon;
|
|
17
30
|
title: KbqAlertTitle;
|
|
18
31
|
control: KbqAlertControl;
|
|
19
32
|
closeButton: KbqAlertCloseButton;
|
|
33
|
+
compact: boolean;
|
|
34
|
+
alertStyle: KbqAlertStyles | string;
|
|
35
|
+
get alertColor(): string;
|
|
36
|
+
set alertColor(value: string | KbqAlertColors);
|
|
37
|
+
private _alertColor;
|
|
38
|
+
get isColored(): boolean;
|
|
39
|
+
ngAfterContentInit(): void;
|
|
20
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqAlert, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqAlert, "kbq-alert", never, {}, {}, ["iconItem", "title", "control", "closeButton"], ["[kbq-icon-item]", "[kbq-alert-title]", "*", "[kbq-alert-control]", "[kbq-alert-close-button]"], false, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqAlert, "kbq-alert", never, { "compact": { "alias": "compact"; "required": false; }; "alertStyle": { "alias": "alertStyle"; "required": false; }; "alertColor": { "alias": "alertColor"; "required": false; }; }, {}, ["iconItem", "icon", "title", "control", "closeButton"], ["[kbq-icon-item],[kbq-icon]", "[kbq-alert-title]", "*", "[kbq-alert-control]", "[kbq-alert-close-button]"], false, never>;
|
|
22
42
|
}
|
|
@@ -1,61 +1,15 @@
|
|
|
1
1
|
@use 'sass:meta';
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
|
|
4
|
-
@use '../core/styles/tokens'
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
$tokens: meta.module-variables(tokens) !default;
|
|
4
|
+
@use '../core/styles/common/tokens' as *;
|
|
8
5
|
|
|
9
6
|
.kbq-alert {
|
|
10
7
|
display: flex;
|
|
11
8
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
min-width: var(--kbq-alert-size-container-min-width, map.get($tokens, alert-size-container-min-width));
|
|
15
|
-
min-height: calc(
|
|
16
|
-
var(--kbq-alert-size-container-min-height, map.get($tokens, alert-size-container-min-height)) -
|
|
17
|
-
(var(--kbq-alert-size-container-padding-vertical, map.get($tokens, alert-size-container-padding-vertical)) * 2)
|
|
18
|
-
);
|
|
19
|
-
|
|
20
|
-
padding:
|
|
21
|
-
var(--kbq-alert-size-container-padding-vertical, map.get($tokens, alert-size-container-padding-vertical))
|
|
22
|
-
var(--kbq-alert-size-container-padding-horizontal, map.get($tokens, alert-size-container-padding-horizontal));
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.kbq-alert__icon {
|
|
26
|
-
margin-right: var(
|
|
27
|
-
--kbq-alert-size-container-content-gap-horizontal,
|
|
28
|
-
map.get($tokens, alert-size-container-content-gap-horizontal)
|
|
29
|
-
);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.kbq-alert__title {
|
|
33
|
-
margin-bottom: var(
|
|
34
|
-
--kbq-alert-size-container-content-gap-vertical,
|
|
35
|
-
map.get($tokens, alert-size-container-content-gap-vertical)
|
|
36
|
-
);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.kbq-alert__controls {
|
|
40
|
-
margin-top: var(
|
|
41
|
-
--kbq-alert-size-container-content-gap-vertical,
|
|
42
|
-
map.get($tokens, alert-size-container-content-gap-vertical)
|
|
43
|
-
);
|
|
44
|
-
|
|
45
|
-
padding-top: var(
|
|
46
|
-
--kbq-alert-size-button-stack-content-padding-top,
|
|
47
|
-
map.get($tokens, alert-size-button-stack-padding-top)
|
|
48
|
-
);
|
|
49
|
-
|
|
50
|
-
& .kbq-button {
|
|
51
|
-
margin-right: var(
|
|
52
|
-
--kbq-alert-size-button-stack-content-content-gap-horizontal,
|
|
53
|
-
map.get($tokens, alert-size-button-stack-content-gap-horizontal)
|
|
54
|
-
);
|
|
55
|
-
}
|
|
9
|
+
box-sizing: border-box;
|
|
56
10
|
|
|
57
|
-
& .kbq-
|
|
58
|
-
margin-
|
|
11
|
+
& .kbq-alert__content_title {
|
|
12
|
+
margin-bottom: kbq-css-variable(size-xxs);
|
|
59
13
|
}
|
|
60
14
|
}
|
|
61
15
|
|
|
@@ -67,15 +21,93 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
67
21
|
justify-content: center;
|
|
68
22
|
}
|
|
69
23
|
|
|
70
|
-
.kbq-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
24
|
+
.kbq-alert.kbq-alert_normal {
|
|
25
|
+
border-radius: kbq-css-variable(alert-size-normal-container-border-radius);
|
|
26
|
+
|
|
27
|
+
padding: kbq-css-variable(alert-size-normal-container-padding-top)
|
|
28
|
+
kbq-css-variable(alert-size-normal-container-padding-right)
|
|
29
|
+
kbq-css-variable(alert-size-normal-container-padding-bottom)
|
|
30
|
+
kbq-css-variable(alert-size-normal-container-padding-left);
|
|
31
|
+
|
|
32
|
+
& .kbq-alert__icon {
|
|
33
|
+
margin: kbq-css-variable(alert-size-normal-no-title-icon-margin-top)
|
|
34
|
+
kbq-css-variable(alert-size-normal-icon-margin-right) kbq-css-variable(alert-size-normal-icon-margin-bottom)
|
|
35
|
+
kbq-css-variable(alert-size-normal-icon-margin-left);
|
|
36
|
+
|
|
37
|
+
&.kbq-alert__icon_title {
|
|
38
|
+
margin-top: kbq-css-variable(alert-size-normal-icon-margin-top);
|
|
39
|
+
|
|
40
|
+
padding-top: kbq-css-variable(alert-size-normal-no-title-icon-padding-top);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
display: inline-flex;
|
|
44
|
+
align-items: flex-start;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
& .kbq-alert__content {
|
|
48
|
+
padding: kbq-css-variable(alert-size-normal-content-padding-top)
|
|
49
|
+
kbq-css-variable(alert-size-normal-content-padding-right)
|
|
50
|
+
kbq-css-variable(alert-size-normal-content-padding-bottom)
|
|
51
|
+
kbq-css-variable(alert-size-normal-content-padding-left);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
& .kbq-alert__title {
|
|
55
|
+
margin-bottom: kbq-css-variable(alert-size-normal-title-margin-bottom);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
& .kbq-alert__button-stack {
|
|
59
|
+
padding-top: kbq-css-variable(alert-size-normal-button-stack-padding-top);
|
|
60
|
+
padding-bottom: kbq-css-variable(alert-size-normal-button-stack-padding-bottom);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
& .kbq-alert__close-button {
|
|
64
|
+
margin-top: kbq-css-variable(alert-size-normal-close-button-margin-top);
|
|
65
|
+
margin-left: kbq-css-variable(alert-size-normal-close-button-margin-left);
|
|
66
|
+
}
|
|
75
67
|
}
|
|
76
68
|
|
|
77
|
-
.kbq-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
69
|
+
.kbq-alert.kbq-alert_compact {
|
|
70
|
+
border-radius: kbq-css-variable(alert-size-compact-container-border-radius);
|
|
71
|
+
|
|
72
|
+
padding: kbq-css-variable(alert-size-compact-container-padding-top)
|
|
73
|
+
kbq-css-variable(alert-size-compact-container-padding-right)
|
|
74
|
+
kbq-css-variable(alert-size-compact-container-padding-bottom)
|
|
75
|
+
kbq-css-variable(alert-size-compact-container-padding-left);
|
|
76
|
+
|
|
77
|
+
& .kbq-alert__icon {
|
|
78
|
+
margin-top: kbq-css-variable(alert-size-compact-no-title-icon-margin-top);
|
|
79
|
+
margin-right: kbq-css-variable(alert-size-compact-icon-margin-right);
|
|
80
|
+
|
|
81
|
+
padding-top: kbq-css-variable(alert-size-compact-no-title-icon-padding-top);
|
|
82
|
+
|
|
83
|
+
&.kbq-alert__icon_title {
|
|
84
|
+
margin-top: kbq-css-variable(alert-size-compact-icon-margin-top);
|
|
85
|
+
|
|
86
|
+
padding-top: kbq-css-variable(alert-size-compact-icon-padding-top);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
display: inline-flex;
|
|
90
|
+
align-items: flex-start;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
& .kbq-alert__content {
|
|
94
|
+
padding: kbq-css-variable(alert-size-compact-content-padding-top)
|
|
95
|
+
kbq-css-variable(alert-size-compact-content-padding-right)
|
|
96
|
+
kbq-css-variable(alert-size-compact-content-padding-bottom)
|
|
97
|
+
kbq-css-variable(alert-size-compact-content-padding-left);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
& .kbq-alert__title {
|
|
101
|
+
margin-bottom: kbq-css-variable(alert-size-compact-title-margin-bottom);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
& .kbq-alert__button-stack {
|
|
105
|
+
padding-top: kbq-css-variable(alert-size-compact-button-stack-padding-top);
|
|
106
|
+
padding-bottom: kbq-css-variable(alert-size-compact-button-stack-padding-bottom);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
& .kbq-alert__close-button {
|
|
110
|
+
margin-top: kbq-css-variable(alert-size-compact-close-button-margin-top);
|
|
111
|
+
margin-left: kbq-css-variable(alert-size-compact-close-button-margin-left);
|
|
112
|
+
}
|
|
81
113
|
}
|
package/alert/public-api.d.ts
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
@use '../core/styles/common/popup';
|
|
4
4
|
@use '../core/styles/theming/theming';
|
|
5
|
-
|
|
5
|
+
@use '../core/styles/common/tokens' as *;
|
|
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
|
-
box-shadow: map.get($select-panel, shadow);
|
|
12
|
-
background: map.get($select-panel, background);
|
|
11
|
+
box-shadow: kbq-css-variable(select-panel-shadow, map.get($select-panel, shadow));
|
|
12
|
+
background: kbq-css-variable(select-panel-background, map.get($select-panel, background));
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
@use 'sass:meta';
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
|
|
4
|
-
@use '../core/styles/tokens'
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
$tokens: meta.module-variables(tokens) !default;
|
|
8
|
-
|
|
4
|
+
@use '../core/styles/common/tokens' as *;
|
|
9
5
|
|
|
10
6
|
.kbq-autocomplete-panel {
|
|
11
7
|
visibility: hidden;
|
|
@@ -13,7 +9,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
13
9
|
position: relative;
|
|
14
10
|
|
|
15
11
|
overflow: hidden auto;
|
|
16
|
-
-webkit-overflow-scrolling: touch;
|
|
12
|
+
-webkit-overflow-scrolling: touch; // for momentum scroll on mobile
|
|
17
13
|
|
|
18
14
|
margin-top: -1px;
|
|
19
15
|
|
|
@@ -21,16 +17,12 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
21
17
|
width: 100%;
|
|
22
18
|
max-width: none;
|
|
23
19
|
|
|
24
|
-
max-height:
|
|
20
|
+
max-height: kbq-css-variable(autocomplete-size-panel-max-height);
|
|
25
21
|
|
|
26
|
-
border-bottom-left-radius:
|
|
27
|
-
|
|
28
|
-
);
|
|
29
|
-
border-bottom-right-radius: var(
|
|
30
|
-
--kbq-autocomplete-size-panel-border-radius, map.get($tokens, autocomplete-size-panel-border-radius)
|
|
31
|
-
);
|
|
22
|
+
border-bottom-left-radius: kbq-css-variable(autocomplete-size-panel-border-radius);
|
|
23
|
+
border-bottom-right-radius: kbq-css-variable(autocomplete-size-panel-border-radius);
|
|
32
24
|
|
|
33
|
-
padding:
|
|
25
|
+
padding: kbq-css-variable(autocomplete-size-panel-padding);
|
|
34
26
|
|
|
35
27
|
&.kbq-autocomplete_visible {
|
|
36
28
|
visibility: visible;
|
|
@@ -41,10 +33,8 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
41
33
|
}
|
|
42
34
|
|
|
43
35
|
.kbq-autocomplete-panel-above & {
|
|
44
|
-
border-radius:
|
|
45
|
-
|
|
46
|
-
var(--kbq-autocomplete-size-panel-border-radius, map.get($tokens, autocomplete-size-panel-border-radius))
|
|
47
|
-
0 0;
|
|
36
|
+
border-radius: kbq-css-variable(autocomplete-size-panel-border-radius)
|
|
37
|
+
kbq-css-variable(autocomplete-size-panel-border-radius) 0 0;
|
|
48
38
|
}
|
|
49
39
|
|
|
50
40
|
// We need to offset horizontal dividers by their height, because
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
+
export * from './autocomplete-origin.directive';
|
|
2
|
+
export * from './autocomplete-trigger.directive';
|
|
1
3
|
export * from './autocomplete.component';
|
|
2
4
|
export * from './autocomplete.module';
|
|
3
|
-
export * from './autocomplete-trigger.directive';
|
|
4
|
-
export * from './autocomplete-origin.directive';
|
package/badge/_badge-theme.scss
CHANGED
|
@@ -2,122 +2,107 @@
|
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
|
|
4
4
|
@use '../core/styles/typography/typography-utils' as *;
|
|
5
|
+
@use '../core/styles/common/tokens' as *;
|
|
5
6
|
|
|
7
|
+
@mixin kbq-badge-style($component, $type, $sub-type, $style-name) {
|
|
8
|
+
$style: map.get($component, $type, $sub-type, $style-name);
|
|
6
9
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
background: map.get($badge, background);
|
|
10
|
+
color: kbq-css-variable(badge-#{$type}-#{$sub-type}-#{$style-name}-color, map.get($style, color));
|
|
11
|
+
background: kbq-css-variable(badge-#{$type}-#{$sub-type}-#{$style-name}-background, map.get($style, background));
|
|
10
12
|
|
|
11
13
|
& .kbq-badge-caption {
|
|
12
|
-
color: map.get($
|
|
14
|
+
color: kbq-css-variable(badge-#{$type}-#{$sub-type}-#{$style-name}-caption, map.get($style, caption));
|
|
13
15
|
}
|
|
14
16
|
|
|
15
17
|
& .kbq-icon {
|
|
16
|
-
color: map.get($
|
|
18
|
+
color: kbq-css-variable(badge-#{$type}-#{$sub-type}-#{$style-name}-icon, map.get($style, icon)) !important;
|
|
17
19
|
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
@mixin kbq-badge-filled-color($badge) {
|
|
21
|
-
@include kbq-badge-style($badge);
|
|
22
|
-
|
|
23
|
-
border: transparent;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
@mixin kbq-badge-outline-color($badge) {
|
|
27
|
-
@include kbq-badge-style($badge);
|
|
28
20
|
|
|
29
|
-
|
|
21
|
+
@if $type == filled {
|
|
22
|
+
border: transparent;
|
|
23
|
+
} @else {
|
|
24
|
+
border-color: kbq-css-variable(badge-#{$type}-#{$sub-type}-#{$style-name}-border, map.get($style, border));
|
|
25
|
+
}
|
|
30
26
|
}
|
|
31
27
|
|
|
32
28
|
@mixin kbq-badge-theme($theme) {
|
|
33
29
|
$badge: map.get(map.get($theme, components), badge);
|
|
34
30
|
|
|
35
|
-
$filled: map.get($badge, filled);
|
|
36
|
-
$outline: map.get($badge, outline);
|
|
37
|
-
|
|
38
31
|
.kbq-badge-filled {
|
|
39
|
-
$fade-on: map.get($filled, fade-on);
|
|
40
|
-
|
|
41
32
|
&.kbq-badge_fade-contrast {
|
|
42
|
-
@include kbq-badge-
|
|
33
|
+
@include kbq-badge-style($badge, filled, fade-on, contrast);
|
|
43
34
|
}
|
|
44
35
|
|
|
45
36
|
&.kbq-badge_fade-theme {
|
|
46
|
-
@include kbq-badge-
|
|
37
|
+
@include kbq-badge-style($badge, filled, fade-on, theme);
|
|
47
38
|
}
|
|
48
39
|
|
|
49
40
|
&.kbq-badge_fade-success {
|
|
50
|
-
@include kbq-badge-
|
|
41
|
+
@include kbq-badge-style($badge, filled, fade-on, success);
|
|
51
42
|
}
|
|
52
43
|
|
|
53
44
|
&.kbq-badge_fade-warning {
|
|
54
|
-
@include kbq-badge-
|
|
45
|
+
@include kbq-badge-style($badge, filled, fade-on, warning);
|
|
55
46
|
}
|
|
56
47
|
|
|
57
48
|
&.kbq-badge_fade-error {
|
|
58
|
-
@include kbq-badge-
|
|
49
|
+
@include kbq-badge-style($badge, filled, fade-on, error);
|
|
59
50
|
}
|
|
60
51
|
|
|
61
|
-
$fade-off: map.get($filled, fade-off);
|
|
62
|
-
|
|
63
52
|
&.kbq-badge_theme {
|
|
64
|
-
@include kbq-badge-
|
|
53
|
+
@include kbq-badge-style($badge, filled, fade-off, theme);
|
|
65
54
|
}
|
|
66
55
|
|
|
67
56
|
&.kbq-badge_success {
|
|
68
|
-
@include kbq-badge-
|
|
57
|
+
@include kbq-badge-style($badge, filled, fade-off, success);
|
|
69
58
|
}
|
|
70
59
|
|
|
71
60
|
&.kbq-badge_warning {
|
|
72
|
-
@include kbq-badge-
|
|
61
|
+
@include kbq-badge-style($badge, filled, fade-off, warning);
|
|
73
62
|
}
|
|
74
63
|
|
|
75
64
|
&.kbq-badge_error {
|
|
76
|
-
@include kbq-badge-
|
|
65
|
+
@include kbq-badge-style($badge, filled, fade-off, error);
|
|
77
66
|
}
|
|
78
67
|
}
|
|
79
68
|
|
|
80
69
|
.kbq-badge-outline {
|
|
81
|
-
$fade-on: map.get($outline, fade-on);
|
|
82
|
-
|
|
83
70
|
&.kbq-badge_fade-contrast {
|
|
84
|
-
@include kbq-badge-
|
|
71
|
+
@include kbq-badge-style($badge, outline, fade-on, contrast);
|
|
85
72
|
}
|
|
86
73
|
|
|
87
74
|
&.kbq-badge_fade-theme {
|
|
88
|
-
@include kbq-badge-
|
|
75
|
+
@include kbq-badge-style($badge, outline, fade-on, theme);
|
|
89
76
|
}
|
|
90
77
|
|
|
91
78
|
&.kbq-badge_fade-success {
|
|
92
|
-
@include kbq-badge-
|
|
79
|
+
@include kbq-badge-style($badge, outline, fade-on, success);
|
|
93
80
|
}
|
|
94
81
|
|
|
95
82
|
&.kbq-badge_fade-warning {
|
|
96
|
-
@include kbq-badge-
|
|
83
|
+
@include kbq-badge-style($badge, outline, fade-on, warning);
|
|
97
84
|
}
|
|
98
85
|
|
|
99
86
|
&.kbq-badge_fade-error {
|
|
100
|
-
@include kbq-badge-
|
|
87
|
+
@include kbq-badge-style($badge, outline, fade-on, error);
|
|
101
88
|
}
|
|
102
89
|
}
|
|
103
90
|
}
|
|
104
91
|
|
|
105
92
|
@mixin kbq-badge-typography($config) {
|
|
106
|
-
$tokens: map.get($config, tokens);
|
|
107
|
-
|
|
108
93
|
.kbq-badge {
|
|
109
|
-
@include kbq-typography-
|
|
94
|
+
@include kbq-typography-css-variables(badge, normal-default);
|
|
110
95
|
|
|
111
96
|
& .kbq-badge-caption {
|
|
112
|
-
@include kbq-typography-
|
|
97
|
+
@include kbq-typography-css-variables(badge, normal-caption);
|
|
113
98
|
}
|
|
114
99
|
}
|
|
115
100
|
|
|
116
101
|
.kbq-badge_compact {
|
|
117
|
-
@include kbq-typography-
|
|
102
|
+
@include kbq-typography-css-variables(badge, compact-default);
|
|
118
103
|
|
|
119
104
|
& .kbq-badge-caption {
|
|
120
|
-
@include kbq-typography-
|
|
105
|
+
@include kbq-typography-css-variables(badge, compact-caption);
|
|
121
106
|
}
|
|
122
107
|
}
|
|
123
108
|
}
|
|
@@ -1,18 +1,14 @@
|
|
|
1
1
|
@use 'sass:meta';
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
|
|
4
|
-
@use '../core/styles/tokens'
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
$tokens: meta.module-variables(tokens) !default;
|
|
8
|
-
|
|
4
|
+
@use '../core/styles/common/tokens' as *;
|
|
9
5
|
|
|
10
6
|
.kbq-badge {
|
|
11
7
|
display: inline-flex;
|
|
12
8
|
flex-direction: row;
|
|
13
9
|
justify-content: flex-start;
|
|
14
10
|
align-items: center;
|
|
15
|
-
|
|
11
|
+
height: var(--kbq-badge-size-normal-height, map.get($tokens, badge-size-normal-height));
|
|
16
12
|
text-align: center;
|
|
17
13
|
white-space: nowrap;
|
|
18
14
|
|
|
@@ -20,64 +16,47 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
20
16
|
|
|
21
17
|
box-sizing: border-box;
|
|
22
18
|
|
|
23
|
-
padding:
|
|
24
|
-
|
|
25
|
-
var(--kbq-badge-size-normal-horizontal-padding, map.get($tokens, badge-size-normal-horizontal-padding));
|
|
19
|
+
padding-right: kbq-css-variable(badge-size-normal-horizontal-padding);
|
|
20
|
+
padding-left: kbq-css-variable(badge-size-normal-horizontal-padding);
|
|
26
21
|
|
|
27
22
|
border: {
|
|
28
|
-
width:
|
|
29
|
-
radius:
|
|
23
|
+
width: kbq-css-variable(badge-size-normal-border-width);
|
|
24
|
+
radius: kbq-css-variable(badge-size-normal-border-radius);
|
|
30
25
|
}
|
|
31
26
|
|
|
32
27
|
& .kbq-badge-caption {
|
|
33
|
-
padding-left:
|
|
34
|
-
var(--kbq-badge-size-normal-content-padding, map.get($tokens, badge-size-normal-content-padding));
|
|
28
|
+
padding-left: kbq-css-variable(badge-size-normal-content-padding);
|
|
35
29
|
}
|
|
36
30
|
|
|
37
31
|
& .kbq-icon_left {
|
|
38
|
-
margin-right:
|
|
39
|
-
--kbq-badge-size-normal-icon-left-margin-right,
|
|
40
|
-
map.get($tokens, badge-size-normal-icon-left-margin-right)
|
|
41
|
-
);
|
|
32
|
+
margin-right: kbq-css-variable(badge-size-normal-icon-left-margin-right);
|
|
42
33
|
}
|
|
43
34
|
|
|
44
35
|
& .kbq-icon_right {
|
|
45
|
-
margin-left:
|
|
46
|
-
--kbq-badge-size-normal-icon-right-margin-left,
|
|
47
|
-
map.get($tokens, badge-size-normal-icon-right-margin-left)
|
|
48
|
-
);
|
|
36
|
+
margin-left: kbq-css-variable(badge-size-normal-icon-right-margin-left);
|
|
49
37
|
}
|
|
50
38
|
|
|
51
39
|
&.kbq-badge_compact {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
map.get($tokens, badge-size-compact-horizontal-padding)
|
|
57
|
-
);
|
|
40
|
+
height: var(--kbq-badge-size-compact-height, map.get($tokens, badge-size-compact-height));
|
|
41
|
+
|
|
42
|
+
padding-right: kbq-css-variable(badge-size-compact-horizontal-padding);
|
|
43
|
+
padding-left: kbq-css-variable(badge-size-compact-horizontal-padding);
|
|
58
44
|
|
|
59
45
|
border: {
|
|
60
|
-
width:
|
|
61
|
-
radius:
|
|
46
|
+
width: kbq-css-variable(badge-size-compact-border-width);
|
|
47
|
+
radius: kbq-css-variable(badge-size-compact-border-radius);
|
|
62
48
|
}
|
|
63
49
|
|
|
64
50
|
& .kbq-badge-caption {
|
|
65
|
-
padding-left:
|
|
66
|
-
var(--kbq-badge-size-compact-content-padding, map.get($tokens, badge-size-compact-content-padding));
|
|
51
|
+
padding-left: kbq-css-variable(badge-size-compact-content-padding);
|
|
67
52
|
}
|
|
68
53
|
|
|
69
54
|
& .kbq-icon_left {
|
|
70
|
-
margin-right:
|
|
71
|
-
--kbq-badge-size-compact-icon-left-margin-right,
|
|
72
|
-
map.get($tokens, badge-size-compact-icon-left-margin-right)
|
|
73
|
-
);
|
|
55
|
+
margin-right: kbq-css-variable(badge-size-compact-icon-left-margin-right);
|
|
74
56
|
}
|
|
75
57
|
|
|
76
58
|
& .kbq-icon_right {
|
|
77
|
-
margin-left:
|
|
78
|
-
--kbq-badge-size-compact-icon-right-margin-left,
|
|
79
|
-
map.get($tokens, badge-size-compact-icon-right-margin-left)
|
|
80
|
-
);
|
|
59
|
+
margin-left: kbq-css-variable(badge-size-compact-icon-right-margin-left);
|
|
81
60
|
}
|
|
82
61
|
}
|
|
83
62
|
}
|