@koobiq/components 17.0.0-rc.8 → 17.0.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/README.md +1 -2
- package/alert/_alert-theme.scss +0 -1
- package/alert/alert.component.d.ts +3 -1
- package/alert/alert.component.scss +14 -14
- package/alert/public-api.d.ts +1 -1
- package/autocomplete/_autocomplete-theme.scss +0 -1
- package/autocomplete/autocomplete.scss +3 -6
- package/autocomplete/public-api.d.ts +2 -2
- package/badge/_badge-theme.scss +1 -2
- package/badge/badge.component.scss +0 -1
- package/badge/public-api.d.ts +1 -1
- package/button/_button-base.scss +0 -1
- package/button/_button-theme.scss +5 -3
- package/button/button.component.d.ts +2 -2
- package/button/button.scss +0 -1
- package/button/public-api.d.ts +1 -1
- package/button-toggle/_button-toggle-theme.scss +2 -3
- package/button-toggle/button-toggle.scss +2 -9
- package/button-toggle/public-api.d.ts +1 -1
- package/card/_card-theme.scss +0 -1
- package/card/card.component.d.ts +1 -1
- package/card/card.component.scss +1 -2
- package/card/public-api.d.ts +1 -1
- package/checkbox/_checkbox-theme.scss +10 -11
- package/checkbox/checkbox.scss +13 -19
- package/code-block/README.md +17 -14
- package/code-block/_code-block-theme.scss +23 -16
- package/code-block/actionbar.component.scss +4 -7
- package/code-block/code-block.component.d.ts +2 -2
- package/code-block/code-block.scss +8 -14
- 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/formatters/index.d.ts +1 -1
- package/core/forms/_forms-theme.scss +0 -1
- package/core/forms/_forms.scss +0 -1
- package/core/forms/index.d.ts +1 -1
- package/core/locales/index.d.ts +1 -1
- package/core/option/_optgroup-theme.scss +0 -1
- package/core/option/_option-action-theme.scss +0 -1
- package/core/option/_option-theme.scss +0 -1
- package/core/option/action.scss +4 -2
- 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 +3 -3
- package/core/public-api.d.ts +3 -3
- package/core/select/constants.d.ts +1 -1
- package/core/select/index.d.ts +3 -3
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +1 -2
- package/core/selection/pseudo-checkbox/pseudo-checkbox.scss +0 -1
- 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 +11 -10
- package/core/styles/common/_button.scss +0 -2
- package/core/styles/common/_clearfix.scss +1 -1
- package/core/styles/common/_groups.scss +0 -4
- package/core/styles/common/_list.scss +23 -61
- package/core/styles/common/_overlay.scss +4 -3
- package/core/styles/common/_popup.scss +0 -1
- package/core/styles/common/_rtl.scss +4 -4
- package/core/styles/common/_select.scss +37 -26
- package/core/styles/common/_tokens.scss +0 -2
- 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 +1120 -1208
- package/core/styles/theming/_scrollbar-theme.scss +8 -5
- package/core/styles/theming/_theming.scss +22 -20
- package/core/styles/typography/_typography-utils.scss +9 -3
- package/core/styles/typography/_typography.scss +114 -94
- package/core/styles/visual/_body.scss +0 -2
- package/core/styles/visual/_layout.scss +30 -22
- package/core/utils/data-size/index.d.ts +1 -1
- package/core/utils/public-api.d.ts +1 -1
- package/datepicker/_datepicker-theme.scss +21 -8
- package/datepicker/calendar-body.scss +0 -3
- package/datepicker/calendar-header.scss +0 -1
- package/datepicker/calendar.scss +1 -2
- package/datepicker/datepicker-content.scss +1 -3
- package/datepicker/datepicker-input.directive.d.ts +1 -0
- package/datepicker/datepicker-input.scss +0 -1
- package/datepicker/datepicker-toggle.scss +0 -1
- package/datepicker/datepicker.component.d.ts +2 -2
- package/datepicker/public-api.d.ts +4 -4
- package/divider/_divider-theme.scss +0 -1
- package/divider/divider.scss +0 -1
- package/dl/_dl-theme.scss +0 -2
- package/dl/dl.scss +0 -1
- package/dl/public-api.d.ts +1 -1
- package/dropdown/_dropdown-theme.scss +4 -2
- package/dropdown/dropdown-content.directive.d.ts +1 -1
- package/dropdown/dropdown-item.component.d.ts +1 -1
- package/dropdown/dropdown-item.scss +9 -7
- package/dropdown/dropdown.component.d.ts +1 -1
- package/dropdown/dropdown.scss +0 -1
- package/dropdown/public-api.d.ts +5 -5
- package/ellipsis-center/ellipsis-center.directive.d.ts +1 -1
- 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 +7 -3
- 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 +25 -42
- 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 +12 -9
- package/esm2022/button/button.module.mjs +1 -1
- package/esm2022/button/public-api.mjs +2 -2
- package/esm2022/button-toggle/button-toggle.component.mjs +26 -20
- 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 +4 -5
- 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 -8
- 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 +17 -19
- 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 +2 -2
- package/esm2022/core/common-behaviors/color.mjs +4 -2
- package/esm2022/core/common-behaviors/common-module.mjs +2 -5
- package/esm2022/core/common-behaviors/constructor.mjs +1 -1
- package/esm2022/core/common-behaviors/disabled.mjs +2 -2
- 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 -2
- 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 -24
- 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 +1 -3
- package/esm2022/core/locales/index.mjs +2 -2
- package/esm2022/core/locales/locale-service.mjs +8 -5
- 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 +22 -14
- package/esm2022/core/option/index.mjs +3 -3
- package/esm2022/core/option/optgroup.mjs +4 -5
- package/esm2022/core/option/option-module.mjs +1 -1
- package/esm2022/core/option/option.mjs +13 -10
- package/esm2022/core/overlay/overlay-position-map.mjs +1 -1
- package/esm2022/core/pop-up/pop-up-trigger.mjs +14 -24
- package/esm2022/core/pop-up/pop-up.mjs +1 -2
- package/esm2022/core/public-api.mjs +4 -4
- package/esm2022/core/select/common.mjs +2 -5
- package/esm2022/core/select/constants.mjs +1 -2
- package/esm2022/core/select/index.mjs +4 -4
- 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 -2
- 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 +1 -1
- package/esm2022/core/utils/data-size/data-size.pipe.mjs +2 -3
- package/esm2022/core/utils/data-size/index.mjs +2 -2
- package/esm2022/core/utils/data-size/size.mjs +3 -6
- 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 -5
- package/esm2022/datepicker/calendar-header.component.mjs +8 -8
- package/esm2022/datepicker/calendar.component.mjs +6 -6
- package/esm2022/datepicker/datepicker-animations.mjs +1 -1
- package/esm2022/datepicker/datepicker-errors.mjs +1 -1
- package/esm2022/datepicker/datepicker-input.directive.mjs +47 -49
- 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 -18
- package/esm2022/datepicker/month-view.component.mjs +14 -14
- 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 +7 -7
- package/esm2022/dl/dl.module.mjs +2 -2
- package/esm2022/dl/public-api.mjs +2 -2
- package/esm2022/dropdown/dropdown-animations.mjs +2 -2
- package/esm2022/dropdown/dropdown-content.directive.mjs +3 -3
- package/esm2022/dropdown/dropdown-item.component.mjs +5 -8
- package/esm2022/dropdown/dropdown-trigger.directive.mjs +24 -33
- package/esm2022/dropdown/dropdown.component.mjs +10 -19
- package/esm2022/dropdown/dropdown.module.mjs +1 -1
- package/esm2022/dropdown/dropdown.types.mjs +1 -2
- package/esm2022/dropdown/public-api.mjs +6 -6
- package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +6 -5
- 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 +3 -2
- package/esm2022/file-upload/file-upload.mjs +1 -1
- package/esm2022/file-upload/file-upload.module.mjs +2 -2
- package/esm2022/file-upload/index.mjs +1 -1
- package/esm2022/file-upload/multiple-file-upload.component.mjs +16 -14
- package/esm2022/file-upload/public-api.mjs +2 -2
- package/esm2022/file-upload/single-file-upload.component.mjs +14 -12
- package/esm2022/form-field/cleaner.mjs +13 -3
- package/esm2022/form-field/form-field-control.mjs +1 -2
- package/esm2022/form-field/form-field-errors.mjs +1 -1
- package/esm2022/form-field/form-field.mjs +8 -15
- package/esm2022/form-field/form-field.module.mjs +1 -1
- package/esm2022/form-field/hint.mjs +6 -6
- package/esm2022/form-field/password-hint.mjs +15 -15
- package/esm2022/form-field/password-toggle.mjs +4 -7
- 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 -7
- package/esm2022/icon/icon-button.component.mjs +4 -4
- package/esm2022/icon/icon-item.component.mjs +3 -3
- package/esm2022/icon/icon.component.mjs +5 -6
- 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 +29 -41
- package/esm2022/input/input-password.mjs +13 -8
- package/esm2022/input/input-value-accessor.mjs +1 -1
- package/esm2022/input/input.mjs +13 -10
- 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 +36 -41
- package/esm2022/list/list.component.mjs +5 -6
- package/esm2022/list/list.module.mjs +2 -2
- package/esm2022/list/public-api.mjs +3 -3
- package/esm2022/loader-overlay/loader-overlay.component.mjs +3 -3
- 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 +20 -6
- 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 +6 -2
- package/esm2022/modal/modal-ref.class.mjs +1 -2
- package/esm2022/modal/modal-util.mjs +1 -1
- package/esm2022/modal/modal.component.mjs +60 -33
- package/esm2022/modal/modal.directive.mjs +27 -11
- package/esm2022/modal/modal.module.mjs +2 -2
- package/esm2022/modal/modal.service.mjs +3 -6
- 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 +41 -33
- package/esm2022/navbar/navbar.component.mjs +19 -29
- package/esm2022/navbar/navbar.module.mjs +2 -2
- package/esm2022/navbar/public-api.mjs +3 -3
- package/esm2022/navbar/vertical-navbar.component.mjs +21 -23
- 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 -14
- 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 +3 -3
- package/esm2022/risk-level/risk-level.module.mjs +1 -1
- package/esm2022/scrollbar/public-api.mjs +2 -2
- package/esm2022/scrollbar/scrollbar.component.mjs +19 -21
- package/esm2022/scrollbar/scrollbar.directive.mjs +4 -5
- 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 +8 -5
- package/esm2022/select/select.component.mjs +45 -71
- package/esm2022/select/select.module.mjs +1 -1
- package/esm2022/sidebar/public-api.mjs +2 -2
- package/esm2022/sidebar/sidebar-animations.mjs +1 -1
- package/esm2022/sidebar/sidebar.component.mjs +5 -7
- package/esm2022/sidebar/sidebar.module.mjs +1 -1
- package/esm2022/sidepanel/public-api.mjs +4 -4
- package/esm2022/sidepanel/sidepanel-animations.mjs +7 -4
- package/esm2022/sidepanel/sidepanel-config.mjs +1 -1
- package/esm2022/sidepanel/sidepanel-container.component.mjs +4 -4
- package/esm2022/sidepanel/sidepanel-directives.mjs +33 -20
- package/esm2022/sidepanel/sidepanel-ref.mjs +10 -5
- package/esm2022/sidepanel/sidepanel.module.mjs +1 -1
- package/esm2022/sidepanel/sidepanel.service.mjs +11 -15
- package/esm2022/splitter/public-api.mjs +2 -2
- package/esm2022/splitter/splitter.component.mjs +13 -24
- package/esm2022/splitter/splitter.module.mjs +1 -1
- package/esm2022/table/public-api.mjs +2 -2
- package/esm2022/table/table.component.mjs +3 -3
- package/esm2022/table/table.module.mjs +1 -1
- package/esm2022/tabs/paginated-tab-header.mjs +9 -14
- package/esm2022/tabs/public-api.mjs +6 -6
- package/esm2022/tabs/tab-body.component.mjs +10 -11
- package/esm2022/tabs/tab-content.directive.mjs +1 -1
- package/esm2022/tabs/tab-group.component.mjs +11 -13
- 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 +46 -49
- package/esm2022/tabs/tab.component.mjs +7 -10
- 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 +12 -16
- package/esm2022/tags/tag-list.component.mjs +15 -27
- package/esm2022/tags/tag-text-control.mjs +1 -1
- package/esm2022/tags/tag.component.mjs +5 -8
- package/esm2022/tags/tag.module.mjs +9 -7
- package/esm2022/textarea/index.mjs +1 -1
- package/esm2022/textarea/textarea.component.mjs +4 -7
- package/esm2022/textarea/textarea.module.mjs +1 -1
- package/esm2022/timepicker/public-api.mjs +2 -2
- package/esm2022/timepicker/timepicker.constants.mjs +6 -2
- package/esm2022/timepicker/timepicker.directive.mjs +62 -31
- 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 +3 -3
- package/esm2022/timezone/timezone-select.component.mjs +5 -5
- package/esm2022/timezone/timezone.models.mjs +1 -2
- 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 +9 -5
- 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 +18 -30
- package/esm2022/toast/toast.type.mjs +1 -1
- package/esm2022/toggle/public-api.mjs +2 -2
- package/esm2022/toggle/toggle.component.mjs +17 -11
- 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 +7 -7
- package/esm2022/tooltip/tooltip.module.mjs +2 -2
- package/esm2022/tree/control/base-tree-control.mjs +1 -2
- 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 -2
- 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 -4
- package/esm2022/tree/node.mjs +1 -1
- package/esm2022/tree/outlet.mjs +1 -1
- package/esm2022/tree/padding.directive.mjs +4 -5
- package/esm2022/tree/public-api.mjs +11 -11
- package/esm2022/tree/toggle.mjs +8 -5
- package/esm2022/tree/tree-base.mjs +3 -7
- package/esm2022/tree/tree-errors.mjs +1 -1
- package/esm2022/tree/tree-option.component.mjs +9 -13
- package/esm2022/tree/tree-selection.component.mjs +20 -36
- package/esm2022/tree/tree.mjs +7 -3
- package/esm2022/tree/tree.module.mjs +2 -3
- package/esm2022/tree-select/public-api.mjs +2 -2
- package/esm2022/tree-select/tree-select.component.mjs +59 -72
- package/esm2022/tree-select/tree-select.module.mjs +1 -1
- package/fesm2022/koobiq-components-alert.mjs +10 -6
- package/fesm2022/koobiq-components-alert.mjs.map +1 -1
- package/fesm2022/koobiq-components-autocomplete.mjs +60 -72
- 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 +30 -24
- package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-button.mjs +14 -11
- package/fesm2022/koobiq-components-button.mjs.map +1 -1
- package/fesm2022/koobiq-components-card.mjs +4 -5
- package/fesm2022/koobiq-components-card.mjs.map +1 -1
- package/fesm2022/koobiq-components-checkbox.mjs +3 -5
- package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
- package/fesm2022/koobiq-components-code-block.mjs +34 -34
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +325 -336
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +105 -111
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-divider.mjs.map +1 -1
- package/fesm2022/koobiq-components-dl.mjs +9 -9
- package/fesm2022/koobiq-components-dl.mjs.map +1 -1
- package/fesm2022/koobiq-components-dropdown.mjs +125 -147
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-ellipsis-center.mjs +3 -2
- 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 +46 -41
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +75 -73
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +9 -10
- package/fesm2022/koobiq-components-icon.mjs.map +1 -1
- package/fesm2022/koobiq-components-input.mjs +56 -60
- 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 +43 -49
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-loader-overlay.mjs +6 -6
- package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
- package/fesm2022/koobiq-components-markdown.mjs +18 -4
- package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +96 -54
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +82 -86
- 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 -16
- package/fesm2022/koobiq-components-radio.mjs.map +1 -1
- package/fesm2022/koobiq-components-risk-level.mjs +4 -4
- package/fesm2022/koobiq-components-risk-level.mjs.map +1 -1
- package/fesm2022/koobiq-components-scrollbar.mjs +22 -24
- package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-select.mjs +55 -78
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidebar.mjs +5 -7
- package/fesm2022/koobiq-components-sidebar.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidepanel.mjs +110 -93
- package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
- package/fesm2022/koobiq-components-splitter.mjs +15 -26
- package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
- package/fesm2022/koobiq-components-table.mjs +5 -5
- package/fesm2022/koobiq-components-table.mjs.map +1 -1
- package/fesm2022/koobiq-components-tabs.mjs +85 -98
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +39 -56
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-textarea.mjs +2 -5
- package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
- package/fesm2022/koobiq-components-timepicker.mjs +69 -34
- package/fesm2022/koobiq-components-timepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-timezone.mjs +16 -21
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-title.mjs +11 -7
- package/fesm2022/koobiq-components-title.mjs.map +1 -1
- package/fesm2022/koobiq-components-toast.mjs +74 -87
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/fesm2022/koobiq-components-toggle.mjs +17 -11
- package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-tooltip.mjs +10 -10
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +67 -80
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +509 -541
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/file-upload/_file-upload-theme.scss +28 -18
- package/file-upload/file-upload.scss +0 -1
- package/file-upload/multiple-file-upload.component.d.ts +2 -2
- package/file-upload/multiple-file-upload.component.scss +17 -27
- package/file-upload/public-api.d.ts +1 -1
- package/file-upload/single-file-upload.component.d.ts +2 -2
- package/file-upload/single-file-upload.component.scss +1 -7
- package/form-field/_form-field-theme.scss +24 -12
- package/form-field/_hint-theme.scss +0 -2
- package/form-field/cleaner.scss +0 -1
- package/form-field/form-field.scss +12 -14
- package/form-field/hint.scss +0 -1
- package/form-field/password-toggle.scss +0 -1
- package/form-field/public-api.d.ts +3 -3
- package/form-field/stepper.scss +0 -1
- package/icon/_icon-button-theme.scss +18 -7
- package/icon/_icon-theme.scss +0 -1
- package/icon/icon-button.scss +2 -5
- package/icon/icon-item.scss +2 -5
- package/icon/icon.scss +0 -1
- package/icon/public-api.d.ts +2 -2
- package/input/_input-theme.scss +0 -1
- package/input/input.scss +9 -9
- package/input/public-api.d.ts +2 -2
- package/link/_link-theme.scss +12 -18
- package/link/link.component.d.ts +1 -1
- package/link/public-api.d.ts +1 -1
- package/list/_list-theme.scss +0 -1
- package/list/list-selection.component.d.ts +3 -3
- package/list/list.scss +1 -3
- package/list/public-api.d.ts +2 -2
- package/loader-overlay/_loader-overlay-theme.scss +6 -4
- package/loader-overlay/loader-overlay.scss +0 -1
- package/loader-overlay/public-api.d.ts +1 -1
- package/markdown/_markdown-theme.scss +11 -8
- package/markdown/markdown.scss +3 -3
- package/modal/README.md +4 -3
- package/modal/_modal-animation.scss +0 -1
- package/modal/_modal-confirm.scss +0 -1
- package/modal/_modal-theme.scss +8 -9
- package/modal/modal.directive.d.ts +3 -3
- package/modal/modal.scss +9 -15
- 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 +31 -24
- package/navbar/_navbar-item_vertical.scss +0 -3
- package/navbar/_navbar-theme.scss +3 -6
- package/navbar/navbar-brand.scss +0 -1
- package/navbar/navbar-divider.scss +0 -1
- package/navbar/navbar-item.component.d.ts +1 -1
- package/navbar/navbar-item.scss +9 -2
- package/navbar/navbar.scss +0 -1
- package/navbar/public-api.d.ts +2 -2
- package/navbar/vertical-navbar.scss +0 -1
- package/package.json +12 -6
- package/popover/README.md +17 -14
- package/popover/_popover-theme.scss +0 -1
- package/popover/popover.component.d.ts +1 -1
- package/popover/popover.scss +5 -13
- 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 +0 -1
- package/progress-bar/progress-bar.scss +0 -1
- package/progress-bar/public-api.d.ts +1 -1
- package/progress-spinner/_progress-spinner-theme.scss +0 -1
- package/progress-spinner/progress-spinner.scss +0 -1
- package/progress-spinner/public-api.d.ts +1 -1
- package/radio/_radio-theme.scss +13 -5
- package/radio/public-api.d.ts +1 -1
- package/radio/radio.scss +20 -6
- package/risk-level/_risk-level-theme.scss +0 -1
- package/risk-level/public-api.d.ts +1 -1
- package/risk-level/risk-level.component.scss +1 -4
- package/schematics/ng-add/index.js +4 -4
- package/scrollbar/_scrollbar-component-theme.scss +2 -3
- package/scrollbar/public-api.d.ts +1 -1
- package/scrollbar/scrollbar.component.scss +56 -44
- package/scrollbar/scrollbar.directive.d.ts +1 -1
- package/scrollbar/scrollbar.types.d.ts +1 -1
- package/select/_select-theme.scss +0 -1
- package/select/public-api.d.ts +2 -2
- package/select/select.component.d.ts +4 -1
- package/select/select.scss +0 -1
- package/sidebar/public-api.d.ts +1 -1
- package/sidepanel/_sidepanel-theme.scss +0 -1
- package/sidepanel/public-api.d.ts +3 -3
- package/sidepanel/sidepanel.scss +6 -12
- package/splitter/_splitter-theme.scss +0 -1
- package/splitter/public-api.d.ts +1 -1
- package/splitter/splitter.component.d.ts +2 -2
- package/splitter/splitter.scss +0 -1
- package/table/_table-theme.scss +7 -7
- package/table/public-api.d.ts +1 -1
- package/table/table.scss +2 -2
- package/tabs/_tabs-common.scss +10 -8
- package/tabs/_tabs-theme.scss +0 -1
- package/tabs/paginated-tab-header.d.ts +1 -1
- package/tabs/public-api.d.ts +5 -5
- package/tabs/tab-body.component.d.ts +3 -3
- package/tabs/tab-group.component.d.ts +1 -1
- package/tabs/tab-group.scss +0 -1
- package/tabs/tab-header.scss +0 -6
- package/tabs/tab-nav-bar/tab-nav-bar.d.ts +17 -17
- package/tabs/tab-nav-bar/tab-nav-bar.scss +0 -1
- package/tags/_tag-theme.scss +0 -2
- package/tags/public-api.d.ts +4 -4
- package/tags/tag-input.d.ts +1 -1
- package/tags/tag-list.scss +9 -7
- package/tags/tag.component.d.ts +2 -2
- package/tags/tag.scss +1 -4
- package/textarea/_textarea-theme.scss +0 -1
- package/textarea/textarea.component.d.ts +1 -1
- package/textarea/textarea.scss +1 -4
- package/timepicker/public-api.d.ts +1 -1
- package/timepicker/timepicker.constants.d.ts +2 -0
- package/timepicker/timepicker.directive.d.ts +10 -3
- package/timepicker/timepicker.scss +0 -1
- package/timezone/_timezone-option-theme.scss +0 -1
- package/timezone/timezone-option.component.scss +0 -1
- package/timezone/timezone-option.directive.d.ts +1 -1
- package/timezone/timezone-select.component.scss +0 -1
- package/timezone/timezone.utils.d.ts +1 -1
- package/title/public-api.d.ts +1 -1
- package/title/title.directive.d.ts +2 -2
- package/toast/_toast-theme.scss +0 -2
- package/toast/public-api.d.ts +3 -3
- package/toast/toast-container.component.scss +0 -1
- package/toast/toast.component.scss +4 -2
- package/toast/toast.service.d.ts +2 -2
- package/toast/toast.type.d.ts +1 -1
- package/toggle/_toggle-theme.scss +10 -9
- package/toggle/public-api.d.ts +1 -1
- package/toggle/toggle.component.d.ts +2 -2
- package/toggle/toggle.scss +0 -1
- package/tooltip/_tooltip-theme.scss +0 -1
- package/tooltip/public-api.d.ts +1 -1
- package/tooltip/tooltip.component.d.ts +2 -2
- package/tooltip/tooltip.scss +1 -5
- package/tree/_tree-theme.scss +2 -3
- package/tree/public-api.d.ts +10 -10
- package/tree/toggle.scss +0 -1
- package/tree/tree-base.d.ts +1 -1
- package/tree/tree-option.component.d.ts +1 -1
- package/tree/tree-option.scss +12 -8
- package/tree/tree-selection.component.d.ts +3 -2
- package/tree-select/_tree-select-theme.scss +0 -1
- package/tree-select/public-api.d.ts +1 -1
- package/tree-select/tree-select.component.d.ts +9 -4
- package/tree-select/tree-select.scss +0 -1
|
@@ -1,13 +1,18 @@
|
|
|
1
|
+
/* stylelint-disable selector-pseudo-class-no-unknown */
|
|
2
|
+
|
|
1
3
|
@use 'sass:meta';
|
|
2
4
|
@use 'sass:map';
|
|
3
5
|
|
|
4
6
|
@use '../functions/string' as *;
|
|
5
7
|
|
|
6
|
-
|
|
7
8
|
@mixin kbq-scrollbar($tokens) {
|
|
8
9
|
$border-width: calc(
|
|
9
|
-
(
|
|
10
|
-
|
|
10
|
+
(
|
|
11
|
+
var(--kbq-scrollbar-size-track-dimension, map.get($tokens, scrollbar-size-track-dimension)) - var(
|
|
12
|
+
--kbq-scrollbar-size-thumb-width,
|
|
13
|
+
map.get($tokens, scrollbar-size-thumb-width)
|
|
14
|
+
)
|
|
15
|
+
) / 2
|
|
11
16
|
);
|
|
12
17
|
|
|
13
18
|
//firefox
|
|
@@ -29,7 +34,6 @@
|
|
|
29
34
|
}
|
|
30
35
|
}
|
|
31
36
|
|
|
32
|
-
/* stylelint-disable no-descending-specificity */
|
|
33
37
|
&::-webkit-scrollbar-thumb,
|
|
34
38
|
::-webkit-scrollbar-thumb {
|
|
35
39
|
width: var(--kbq-scrollbar-size-thumb-width, map.get($tokens, scrollbar-size-thumb-width));
|
|
@@ -57,7 +61,6 @@
|
|
|
57
61
|
}
|
|
58
62
|
}
|
|
59
63
|
|
|
60
|
-
|
|
61
64
|
@mixin kbq-scrollbar-theme($theme) {
|
|
62
65
|
$scrollbar: map.get(map.get($theme, components), scrollbar);
|
|
63
66
|
|
|
@@ -8,11 +8,21 @@
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
@function kbq-palette($base-palette, $default) {
|
|
11
|
-
$result: map.merge(
|
|
11
|
+
$result: map.merge(
|
|
12
|
+
$base-palette,
|
|
13
|
+
(
|
|
14
|
+
default: $default
|
|
15
|
+
)
|
|
16
|
+
);
|
|
12
17
|
|
|
13
18
|
// For each hue in the palette, add a "-contrast" color to the map.
|
|
14
19
|
@each $hue, $color in $base-palette {
|
|
15
|
-
$result: map.merge(
|
|
20
|
+
$result: map.merge(
|
|
21
|
+
$result,
|
|
22
|
+
(
|
|
23
|
+
'#{$hue}-contrast': kbq-contrast($base-palette, $hue)
|
|
24
|
+
)
|
|
25
|
+
);
|
|
16
26
|
}
|
|
17
27
|
|
|
18
28
|
@return $result;
|
|
@@ -99,7 +109,6 @@
|
|
|
99
109
|
warning: map.get($tokens, '#{$scheme}-background-warning'),
|
|
100
110
|
warning-fade: map.get($tokens, '#{$scheme}-background-warning-fade'),
|
|
101
111
|
transparent: map.get($tokens, '#{$scheme}-background-transparent'),
|
|
102
|
-
|
|
103
112
|
// будет удалено, после удаления из компонентов ↓
|
|
104
113
|
background: map.get($tokens, '#{$scheme}-background-background'),
|
|
105
114
|
background-disabled: map.get($tokens, '#{$scheme}-background-background-disabled'),
|
|
@@ -140,7 +149,7 @@
|
|
|
140
149
|
warning-fade: map.get($tokens, '#{$scheme}-line-warning-fade'),
|
|
141
150
|
error: map.get($tokens, '#{$scheme}-line-error'),
|
|
142
151
|
error-fade: map.get($tokens, '#{$scheme}-line-error-fade'),
|
|
143
|
-
visited: map.get($tokens, '#{$scheme}-line-visited')
|
|
152
|
+
visited: map.get($tokens, '#{$scheme}-line-visited')
|
|
144
153
|
);
|
|
145
154
|
}
|
|
146
155
|
|
|
@@ -206,9 +215,7 @@
|
|
|
206
215
|
}
|
|
207
216
|
|
|
208
217
|
@function _theme_states-others($tokens, $scheme) {
|
|
209
|
-
@return (
|
|
210
|
-
brand: map.get($tokens, '#{$scheme}-states-others-brand')
|
|
211
|
-
);
|
|
218
|
+
@return (brand: map.get($tokens, '#{$scheme}-states-others-brand'));
|
|
212
219
|
}
|
|
213
220
|
|
|
214
221
|
@function _theme_states($tokens, $scheme) {
|
|
@@ -218,7 +225,6 @@
|
|
|
218
225
|
icon: _theme_states-icon($tokens, $scheme),
|
|
219
226
|
line: _theme_states-line($tokens, $scheme),
|
|
220
227
|
others: _theme_states-others($tokens, $scheme),
|
|
221
|
-
|
|
222
228
|
// будет удалено, после удаления из компонентов ↓
|
|
223
229
|
focused-color: map.get($tokens, '#{$scheme}-states-focused-color'),
|
|
224
230
|
focused-color-error: map.get($tokens, '#{$scheme}-states-focused-color-error'),
|
|
@@ -229,21 +235,23 @@
|
|
|
229
235
|
}
|
|
230
236
|
|
|
231
237
|
@function kbq-palette($base-palette, $default) {
|
|
232
|
-
@return map.merge(
|
|
238
|
+
@return map.merge(
|
|
239
|
+
$base-palette,
|
|
240
|
+
(
|
|
241
|
+
default: $default
|
|
242
|
+
)
|
|
243
|
+
);
|
|
233
244
|
}
|
|
234
245
|
|
|
235
246
|
@function _theme_palette($tokens, $scheme, $name) {
|
|
236
247
|
@return kbq-palette(
|
|
237
248
|
map.get($tokens, '#{$scheme}-#{$name}-palette'),
|
|
238
249
|
map.get($tokens, '#{$scheme}-#{$name}-default')
|
|
239
|
-
)
|
|
250
|
+
);
|
|
240
251
|
}
|
|
241
252
|
|
|
242
253
|
@function _theme_palette_neutral($tokens, $scheme) {
|
|
243
|
-
@return (
|
|
244
|
-
white: map.get($tokens, '#{$scheme}-neutral-white'),
|
|
245
|
-
black: map.get($tokens, '#{$scheme}-neutral-black'),
|
|
246
|
-
)
|
|
254
|
+
@return (white: map.get($tokens, '#{$scheme}-neutral-white'), black: map.get($tokens, '#{$scheme}-neutral-black'));
|
|
247
255
|
}
|
|
248
256
|
|
|
249
257
|
@function kbq-light-theme($tokens) {
|
|
@@ -257,7 +265,6 @@
|
|
|
257
265
|
icon: _theme_icon($tokens, $scheme),
|
|
258
266
|
line: _theme_line($tokens, $scheme),
|
|
259
267
|
states: _theme_states($tokens, $scheme),
|
|
260
|
-
|
|
261
268
|
theme: _theme_palette($tokens, $scheme, theme),
|
|
262
269
|
success: _theme_palette($tokens, $scheme, success),
|
|
263
270
|
warning: _theme_palette($tokens, $scheme, warning),
|
|
@@ -268,11 +275,9 @@
|
|
|
268
275
|
black: _theme_palette($tokens, $scheme, black),
|
|
269
276
|
brand: _theme_palette($tokens, $scheme, brand),
|
|
270
277
|
purple: _theme_palette($tokens, $scheme, purple),
|
|
271
|
-
|
|
272
278
|
// будет удалено, после удаления из компонентов ↓
|
|
273
279
|
info: _theme_palette($tokens, $scheme, info),
|
|
274
280
|
// будет удалено, после удаления из компонентов ↑
|
|
275
|
-
|
|
276
281
|
components: kbq-components-theme($tokens, $scheme),
|
|
277
282
|
tokens: $tokens
|
|
278
283
|
);
|
|
@@ -289,7 +294,6 @@
|
|
|
289
294
|
icon: _theme_icon($tokens, $scheme),
|
|
290
295
|
line: _theme_line($tokens, $scheme),
|
|
291
296
|
states: _theme_states($tokens, $scheme),
|
|
292
|
-
|
|
293
297
|
theme: _theme_palette($tokens, $scheme, theme),
|
|
294
298
|
success: _theme_palette($tokens, $scheme, success),
|
|
295
299
|
warning: _theme_palette($tokens, $scheme, warning),
|
|
@@ -300,11 +304,9 @@
|
|
|
300
304
|
black: _theme_palette($tokens, $scheme, black),
|
|
301
305
|
brand: _theme_palette($tokens, $scheme, brand),
|
|
302
306
|
purple: _theme_palette($tokens, $scheme, purple),
|
|
303
|
-
|
|
304
307
|
// будет удалено, после удаления из компонентов ↓
|
|
305
308
|
info: _theme_palette($tokens, $scheme, info),
|
|
306
309
|
// будет удалено, после удаления из компонентов ↑
|
|
307
|
-
|
|
308
310
|
components: kbq-components-theme($tokens, $scheme),
|
|
309
311
|
tokens: $tokens
|
|
310
312
|
);
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
@use 'sass:meta';
|
|
3
3
|
@use 'sass:string';
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
@function kbq-typography-level(
|
|
7
6
|
$font-size,
|
|
8
7
|
$line-height: $font-size,
|
|
9
8
|
$letter-spacing: normal,
|
|
10
9
|
$font-weight: normal,
|
|
10
|
+
$font-style: normal,
|
|
11
11
|
$font-family: null,
|
|
12
12
|
$text-transform: null,
|
|
13
13
|
$font-feature-settings: null
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
font-size: $font-size,
|
|
17
17
|
line-height: $line-height,
|
|
18
18
|
font-weight: $font-weight,
|
|
19
|
+
font-style: $font-style,
|
|
19
20
|
font-family: $font-family,
|
|
20
21
|
letter-spacing: $letter-spacing,
|
|
21
22
|
text-transform: $text-transform,
|
|
@@ -39,6 +40,10 @@
|
|
|
39
40
|
@return _kbq-get-type-value($config, $level, font-weight);
|
|
40
41
|
}
|
|
41
42
|
|
|
43
|
+
@function kbq-font-style($config, $level) {
|
|
44
|
+
@return _kbq-get-type-value($config, $level, font-style);
|
|
45
|
+
}
|
|
46
|
+
|
|
42
47
|
@function kbq-letter-spacing($config, $level) {
|
|
43
48
|
@return _kbq-get-type-value($config, $level, letter-spacing);
|
|
44
49
|
}
|
|
@@ -55,7 +60,7 @@
|
|
|
55
60
|
@function kbq-font-family($config, $level: null) {
|
|
56
61
|
$font-family: map.get($config, font-family);
|
|
57
62
|
|
|
58
|
-
@if $level
|
|
63
|
+
@if $level {
|
|
59
64
|
$font-family: _kbq-get-type-value($config, $level, font-family);
|
|
60
65
|
}
|
|
61
66
|
|
|
@@ -66,12 +71,13 @@
|
|
|
66
71
|
@mixin kbq-typography-level-to-styles($config, $level) {
|
|
67
72
|
$font-size: kbq-font-size($config, $level);
|
|
68
73
|
$font-weight: kbq-font-weight($config, $level);
|
|
74
|
+
$font-style: kbq-font-style($config, $level);
|
|
69
75
|
$line-height: kbq-line-height($config, $level);
|
|
70
76
|
$font-family: kbq-font-family($config, $level);
|
|
71
77
|
$text-transform: kbq-text-transform($config, $level);
|
|
72
78
|
$font-feature-settings: kbq-font-feature-settings($config, $level);
|
|
73
79
|
|
|
74
|
-
font: $font-weight #{$font-size}/#{$line-height} $font-family;
|
|
80
|
+
font: $font-weight $font-style #{$font-size}/#{$line-height} $font-family;
|
|
75
81
|
letter-spacing: kbq-letter-spacing($config, $level);
|
|
76
82
|
text-transform: kbq-text-transform($config, $level);
|
|
77
83
|
font-feature-settings: kbq-font-feature-settings($config, $level);
|
|
@@ -2,98 +2,104 @@
|
|
|
2
2
|
|
|
3
3
|
@use 'typography-utils' as *;
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
@function kbq-typography-config($tokens) {
|
|
7
6
|
$font-family: map.get($tokens, font-family-base);
|
|
8
7
|
$typography: map.get(map.get($tokens, koobiq), typography);
|
|
9
8
|
|
|
10
9
|
$config: (
|
|
11
10
|
//legacy will be deleted
|
|
12
|
-
display-1:
|
|
13
|
-
display-2:
|
|
14
|
-
display-3:
|
|
15
|
-
|
|
16
|
-
display-
|
|
17
|
-
display-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
body:
|
|
25
|
-
body-strong:
|
|
26
|
-
body-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
caption:
|
|
32
|
-
caption-
|
|
33
|
-
caption-caps: map.get($typography, caption-caps),
|
|
34
|
-
caption-mono: map.get($typography, caption-mono),
|
|
35
|
-
caption-mono-strong: map.get($typography, caption-mono-strong),
|
|
36
|
-
caption-tabular: map.get($typography, caption-tabular),
|
|
37
|
-
|
|
11
|
+
display-1: map.get($typography, display-1),
|
|
12
|
+
display-2: map.get($typography, display-2),
|
|
13
|
+
display-3: map.get($typography, display-3),
|
|
14
|
+
display-1-strong: map.get($typography, display-1-strong),
|
|
15
|
+
display-2-strong: map.get($typography, display-2-strong),
|
|
16
|
+
display-3-strong: map.get($typography, display-3-strong),
|
|
17
|
+
headline: map.get($typography, headline),
|
|
18
|
+
subheading: map.get($typography, subheading),
|
|
19
|
+
title: map.get($typography, title),
|
|
20
|
+
body: map.get($typography, body),
|
|
21
|
+
body-strong: map.get($typography, body-strong),
|
|
22
|
+
body-caps: map.get($typography, body-caps),
|
|
23
|
+
body-mono: map.get($typography, body-mono),
|
|
24
|
+
body-mono-strong: map.get($typography, body-mono-strong),
|
|
25
|
+
body-tabular: map.get($typography, body-tabular),
|
|
26
|
+
caption: map.get($typography, caption),
|
|
27
|
+
caption-strong: map.get($typography, caption-strong),
|
|
28
|
+
caption-caps: map.get($typography, caption-caps),
|
|
29
|
+
caption-mono: map.get($typography, caption-mono),
|
|
30
|
+
caption-mono-strong: map.get($typography, caption-mono-strong),
|
|
31
|
+
caption-tabular: map.get($typography, caption-tabular),
|
|
38
32
|
//small-text: map.get($typography, small-text),
|
|
39
|
-
extra-small-text:
|
|
40
|
-
extra-small-text-caps:
|
|
41
|
-
extra-small-text-mono:
|
|
42
|
-
extra-small-text-strong:map.get($typography, extra-small-text-strong),
|
|
43
|
-
|
|
33
|
+
extra-small-text: map.get($typography, extra-small-text),
|
|
34
|
+
extra-small-text-caps: map.get($typography, extra-small-text-caps),
|
|
35
|
+
extra-small-text-mono: map.get($typography, extra-small-text-mono),
|
|
36
|
+
extra-small-text-strong: map.get($typography, extra-small-text-strong),
|
|
44
37
|
//new
|
|
45
|
-
display-big:
|
|
46
|
-
display-normal:
|
|
47
|
-
display-compact:
|
|
48
|
-
|
|
49
|
-
display-
|
|
50
|
-
display-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
text-
|
|
54
|
-
text-
|
|
55
|
-
text-
|
|
56
|
-
text-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
caps-
|
|
60
|
-
caps-
|
|
61
|
-
caps-
|
|
62
|
-
caps-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
mono-
|
|
66
|
-
mono-
|
|
67
|
-
mono-
|
|
68
|
-
mono-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
tabular-
|
|
72
|
-
tabular-
|
|
73
|
-
tabular-
|
|
74
|
-
tabular-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
italic-
|
|
78
|
-
italic-
|
|
79
|
-
italic-
|
|
80
|
-
italic-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
mono-codeblock: map.get($typography, mono-codeblock),
|
|
84
|
-
|
|
85
|
-
navbar-title: map.get($typography, navbar-title)
|
|
38
|
+
display-big: map.get($typography, display-big),
|
|
39
|
+
display-normal: map.get($typography, display-normal),
|
|
40
|
+
display-compact: map.get($typography, display-compact),
|
|
41
|
+
display-big-strong: map.get($typography, display-big-strong),
|
|
42
|
+
display-normal-strong: map.get($typography, display-normal-strong),
|
|
43
|
+
display-compact-strong: map.get($typography, display-compact-strong),
|
|
44
|
+
text-big: map.get($typography, text-big),
|
|
45
|
+
text-big-strong: map.get($typography, text-big-strong),
|
|
46
|
+
text-normal: map.get($typography, text-normal),
|
|
47
|
+
text-normal-strong: map.get($typography, text-normal-strong),
|
|
48
|
+
text-compact: map.get($typography, text-compact),
|
|
49
|
+
text-compact-strong: map.get($typography, text-compact-strong),
|
|
50
|
+
caps-big: map.get($typography, caps-big),
|
|
51
|
+
caps-big-strong: map.get($typography, caps-big-strong),
|
|
52
|
+
caps-normal: map.get($typography, caps-normal),
|
|
53
|
+
caps-normal-strong: map.get($typography, caps-normal-strong),
|
|
54
|
+
caps-compact: map.get($typography, caps-compact),
|
|
55
|
+
caps-compact-strong: map.get($typography, caps-compact-strong),
|
|
56
|
+
mono-big: map.get($typography, mono-big),
|
|
57
|
+
mono-big-strong: map.get($typography, mono-big-strong),
|
|
58
|
+
mono-normal: map.get($typography, mono-normal),
|
|
59
|
+
mono-normal-strong: map.get($typography, mono-normal-strong),
|
|
60
|
+
mono-compact: map.get($typography, mono-compact),
|
|
61
|
+
mono-compact-strong: map.get($typography, mono-compact-strong),
|
|
62
|
+
tabular-big: map.get($typography, tabular-big),
|
|
63
|
+
tabular-big-strong: map.get($typography, tabular-big-strong),
|
|
64
|
+
tabular-normal: map.get($typography, tabular-normal),
|
|
65
|
+
tabular-normal-strong: map.get($typography, tabular-normal-strong),
|
|
66
|
+
tabular-compact: map.get($typography, tabular-compact),
|
|
67
|
+
tabular-compact-strong: map.get($typography, tabular-compact-strong),
|
|
68
|
+
italic-big: map.get($typography, italic-big),
|
|
69
|
+
italic-big-strong: map.get($typography, italic-big-strong),
|
|
70
|
+
italic-normal: map.get($typography, italic-normal),
|
|
71
|
+
italic-normal-strong: map.get($typography, italic-normal-strong),
|
|
72
|
+
italic-compact: map.get($typography, italic-compact),
|
|
73
|
+
italic-compact-strong: map.get($typography, italic-compact-strong),
|
|
74
|
+
mono-codeblock: map.get($typography, mono-codeblock),
|
|
75
|
+
navbar-title: map.get($typography, navbar-title)
|
|
86
76
|
);
|
|
87
77
|
|
|
88
78
|
@each $key, $level in $config {
|
|
89
|
-
@if map.get($level, font-family)
|
|
90
|
-
$new-level: map.merge(
|
|
91
|
-
|
|
79
|
+
@if not map.get($level, font-family) {
|
|
80
|
+
$new-level: map.merge(
|
|
81
|
+
$level,
|
|
82
|
+
(
|
|
83
|
+
font-family: $font-family
|
|
84
|
+
)
|
|
85
|
+
);
|
|
86
|
+
$config: map.merge(
|
|
87
|
+
$config,
|
|
88
|
+
(
|
|
89
|
+
$key: $new-level
|
|
90
|
+
)
|
|
91
|
+
);
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
// Add the base font family to the config.
|
|
96
|
-
@return map.merge(
|
|
96
|
+
@return map.merge(
|
|
97
|
+
$config,
|
|
98
|
+
(
|
|
99
|
+
font-family: $font-family,
|
|
100
|
+
tokens: $tokens
|
|
101
|
+
)
|
|
102
|
+
);
|
|
97
103
|
}
|
|
98
104
|
|
|
99
105
|
@function kbq-markdown-typography-config($tokens) {
|
|
@@ -101,32 +107,46 @@
|
|
|
101
107
|
$md-typography: map.get(map.get($tokens, md-typography), md-typography);
|
|
102
108
|
|
|
103
109
|
$config: (
|
|
104
|
-
md-h1:
|
|
105
|
-
md-h2:
|
|
106
|
-
md-h3:
|
|
107
|
-
md-h4:
|
|
108
|
-
md-h5:
|
|
109
|
-
md-h6:
|
|
110
|
-
|
|
111
|
-
md-body:
|
|
112
|
-
md-
|
|
113
|
-
md-
|
|
114
|
-
md-table-
|
|
115
|
-
md-table-header: map.get($md-typography, md-table-header),
|
|
110
|
+
md-h1: map.get($md-typography, md-h1),
|
|
111
|
+
md-h2: map.get($md-typography, md-h2),
|
|
112
|
+
md-h3: map.get($md-typography, md-h3),
|
|
113
|
+
md-h4: map.get($md-typography, md-h4),
|
|
114
|
+
md-h5: map.get($md-typography, md-h5),
|
|
115
|
+
md-h6: map.get($md-typography, md-h6),
|
|
116
|
+
md-body: map.get($md-typography, md-body),
|
|
117
|
+
md-body-mono: map.get($md-typography, md-body-mono),
|
|
118
|
+
md-caption: map.get($md-typography, md-caption),
|
|
119
|
+
md-table-cell: map.get($md-typography, md-table-cell),
|
|
120
|
+
md-table-header: map.get($md-typography, md-table-header)
|
|
116
121
|
);
|
|
117
122
|
|
|
118
123
|
@each $key, $level in $config {
|
|
119
|
-
@if map.get($level, font-family)
|
|
120
|
-
$new-level: map.merge(
|
|
121
|
-
|
|
124
|
+
@if not map.get($level, font-family) {
|
|
125
|
+
$new-level: map.merge(
|
|
126
|
+
$level,
|
|
127
|
+
(
|
|
128
|
+
font-family: $font-family
|
|
129
|
+
)
|
|
130
|
+
);
|
|
131
|
+
$config: map.merge(
|
|
132
|
+
$config,
|
|
133
|
+
(
|
|
134
|
+
$key: $new-level
|
|
135
|
+
)
|
|
136
|
+
);
|
|
122
137
|
}
|
|
123
138
|
}
|
|
124
139
|
|
|
125
140
|
// Add the base font family to the config.
|
|
126
|
-
@return map.merge(
|
|
141
|
+
@return map.merge(
|
|
142
|
+
$config,
|
|
143
|
+
(
|
|
144
|
+
font-family: $font-family,
|
|
145
|
+
tokens: $tokens
|
|
146
|
+
)
|
|
147
|
+
);
|
|
127
148
|
}
|
|
128
149
|
|
|
129
|
-
|
|
130
150
|
@mixin kbq-base-typography($config) {
|
|
131
151
|
//legacy will be deleted
|
|
132
152
|
.kbq-display-1 {
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
|
|
6
6
|
@use '../common/tokens' as *;
|
|
7
7
|
|
|
8
|
-
|
|
9
8
|
/*
|
|
10
9
|
* Responsive attributes
|
|
11
10
|
*
|
|
@@ -26,7 +25,7 @@
|
|
|
26
25
|
}
|
|
27
26
|
|
|
28
27
|
@mixin flex-order-for-name($sizes: null) {
|
|
29
|
-
@if $sizes
|
|
28
|
+
@if not $sizes {
|
|
30
29
|
$sizes: '';
|
|
31
30
|
|
|
32
31
|
.flex-order {
|
|
@@ -54,8 +53,8 @@
|
|
|
54
53
|
}
|
|
55
54
|
}
|
|
56
55
|
|
|
57
|
-
@mixin offset-for-name($sizes:null) {
|
|
58
|
-
@if $sizes
|
|
56
|
+
@mixin offset-for-name($sizes: null) {
|
|
57
|
+
@if not $sizes {
|
|
59
58
|
$sizes: '';
|
|
60
59
|
}
|
|
61
60
|
|
|
@@ -70,8 +69,7 @@
|
|
|
70
69
|
$suffix: '#{$i * 5}';
|
|
71
70
|
}
|
|
72
71
|
|
|
73
|
-
$offsets:
|
|
74
|
-
'.offset-#{$suffix}, ' +
|
|
72
|
+
$offsets: '.offset-#{$suffix}, ' +
|
|
75
73
|
'.flex-offset-#{$suffix}, ' +
|
|
76
74
|
'.layout-margin .flex-offset-#{$suffix}, ' +
|
|
77
75
|
'.layout-margin .offset-#{$suffix}';
|
|
@@ -97,8 +95,7 @@
|
|
|
97
95
|
$suffix: '#{$i}';
|
|
98
96
|
}
|
|
99
97
|
|
|
100
|
-
$offsets:
|
|
101
|
-
'.offset-#{$suffix}, ' +
|
|
98
|
+
$offsets: '.offset-#{$suffix}, ' +
|
|
102
99
|
'.flex-offset-#{$suffix}, ' +
|
|
103
100
|
'.layout-margin .flex-offset-#{$suffix}, ' +
|
|
104
101
|
'.layout-margin .offset-#{$suffix}';
|
|
@@ -120,8 +117,7 @@
|
|
|
120
117
|
$suffix: '#{$i}';
|
|
121
118
|
}
|
|
122
119
|
|
|
123
|
-
$offsets:
|
|
124
|
-
'.offset-#{$suffix}, ' +
|
|
120
|
+
$offsets: '.offset-#{$suffix}, ' +
|
|
125
121
|
'.flex-offset-#{$suffix}, ' +
|
|
126
122
|
'.layout-margin .flex-offset-#{$suffix}, ' +
|
|
127
123
|
'.layout-margin .offset-#{$suffix}';
|
|
@@ -134,7 +130,7 @@
|
|
|
134
130
|
}
|
|
135
131
|
|
|
136
132
|
@mixin layout-for-name($name: null) {
|
|
137
|
-
@if $name
|
|
133
|
+
@if not $name {
|
|
138
134
|
$name: '';
|
|
139
135
|
}
|
|
140
136
|
|
|
@@ -167,7 +163,7 @@
|
|
|
167
163
|
@mixin flex-properties-for-name($name: null) {
|
|
168
164
|
$flexName: 'flex';
|
|
169
165
|
|
|
170
|
-
@if $name
|
|
166
|
+
@if $name {
|
|
171
167
|
$flexName: 'flex-#{$name}';
|
|
172
168
|
$name: '-#{$name}';
|
|
173
169
|
} @else {
|
|
@@ -175,13 +171,27 @@
|
|
|
175
171
|
}
|
|
176
172
|
|
|
177
173
|
// === flex: 1 1 0%;
|
|
178
|
-
.#{$flexName}
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
.#{$flexName}-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
.#{$flexName}-
|
|
174
|
+
.#{$flexName} {
|
|
175
|
+
flex: 1;
|
|
176
|
+
}
|
|
177
|
+
.#{$flexName}-grow {
|
|
178
|
+
flex: 1 1 100%;
|
|
179
|
+
}
|
|
180
|
+
.#{$flexName}-initial {
|
|
181
|
+
flex: 0 1 auto;
|
|
182
|
+
}
|
|
183
|
+
.#{$flexName}-auto {
|
|
184
|
+
flex: 1 1 auto;
|
|
185
|
+
}
|
|
186
|
+
.#{$flexName}-none {
|
|
187
|
+
flex: 0 0 auto;
|
|
188
|
+
}
|
|
189
|
+
.#{$flexName}-no-shrink {
|
|
190
|
+
flex: 1 0 auto;
|
|
191
|
+
}
|
|
192
|
+
.#{$flexName}-no-grow {
|
|
193
|
+
flex: 0 1 auto;
|
|
194
|
+
}
|
|
185
195
|
|
|
186
196
|
// (1-20) * 5 = 0-100%
|
|
187
197
|
@for $i from 0 through 20 {
|
|
@@ -332,7 +342,6 @@
|
|
|
332
342
|
}
|
|
333
343
|
|
|
334
344
|
@mixin layout-align-for-name($suffix: null) {
|
|
335
|
-
|
|
336
345
|
// Alignment attributes for layout containers' children
|
|
337
346
|
// Arrange on the Main Axis
|
|
338
347
|
// center, start, end, space-between, space-around
|
|
@@ -340,7 +349,7 @@
|
|
|
340
349
|
// ------------------------------
|
|
341
350
|
|
|
342
351
|
$name: 'layout-align';
|
|
343
|
-
@if $suffix
|
|
352
|
+
@if $suffix {
|
|
344
353
|
$name: 'layout-align-#{$suffix}';
|
|
345
354
|
}
|
|
346
355
|
|
|
@@ -522,4 +531,3 @@
|
|
|
522
531
|
|
|
523
532
|
@include layout-indents();
|
|
524
533
|
}
|
|
525
|
-
|