@koobiq/components 16.0.0-beta.1 → 16.0.0-beta.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/LICENSE +1 -1
- package/README.md +2 -2
- package/autocomplete/_autocomplete-theme.scss +3 -10
- package/autocomplete/autocomplete-origin.directive.d.ts +1 -1
- package/autocomplete/autocomplete-trigger.directive.d.ts +6 -16
- package/autocomplete/autocomplete.component.d.ts +1 -1
- package/autocomplete/autocomplete.scss +0 -8
- package/badge/README.md +0 -0
- package/{core/styles/theming/_badges-theme.scss → badge/_badge-theme.scss} +14 -13
- package/badge/badge.component.d.ts +44 -0
- package/badge/badge.component.scss +83 -0
- package/badge/badge.module.d.ts +10 -0
- package/badge/index.d.ts +1 -0
- package/badge/public-api.d.ts +2 -0
- package/button/_button-base.scss +1 -1
- package/button/_button-theme.scss +35 -27
- package/button/button.scss +5 -2
- package/button-toggle/_button-toggle-theme.scss +26 -45
- package/button-toggle/button-toggle.component.d.ts +2 -2
- package/button-toggle/button-toggle.scss +40 -87
- package/card/_card-theme.scss +1 -1
- package/checkbox/README.md +1 -1
- package/checkbox/_checkbox-theme.scss +10 -2
- package/checkbox/checkbox.d.ts +2 -2
- package/code-block/README.md +14 -14
- package/code-block/_code-block-theme.scss +49 -10
- package/code-block/actionbar.component.scss +34 -6
- package/code-block/code-block.component.d.ts +2 -2
- package/code-block/code-block.scss +101 -27
- package/core/animation/index.d.ts +1 -1
- package/core/animation/select-animations.d.ts +1 -1
- package/core/common-behaviors/color.d.ts +1 -1
- package/core/common-behaviors/common-module.d.ts +1 -1
- package/core/formatters/index.d.ts +1 -1
- package/core/formatters/number/formatter.d.ts +56 -1
- package/core/forms/_forms-theme.scss +4 -4
- package/core/forms/_forms.scss +1 -3
- package/core/forms/forms.directive.d.ts +2 -2
- package/core/locales/en-US.d.ts +19 -1
- package/core/locales/es-LA.d.ts +27 -0
- package/core/locales/fa-IR.d.ts +28 -0
- package/core/locales/locale-service.d.ts +148 -3
- package/core/locales/pt-BR.d.ts +27 -0
- package/core/locales/ru-RU.d.ts +20 -1
- package/core/locales/zh-CN.d.ts +26 -0
- package/core/option/_optgroup-theme.scss +1 -1
- package/core/option/_option-action-theme.scss +1 -1
- package/core/option/_option-theme.scss +37 -14
- package/core/option/action.d.ts +1 -1
- package/core/option/action.scss +4 -5
- package/core/option/optgroup.d.ts +1 -1
- package/core/option/option.d.ts +37 -8
- package/core/option/option.scss +5 -50
- package/core/overlay/overlay-position-map.d.ts +7 -1
- package/core/pop-up/constants.d.ts +2 -1
- package/core/public-api.d.ts +1 -0
- package/core/select/constants.d.ts +2 -2
- package/core/services/theme.service.d.ts +23 -0
- package/core/styles/_koobiq-theme.scss +12 -1
- package/core/styles/_tokens.kbq.import.scss +4 -4
- package/core/styles/_tokens.scss +4 -4
- package/core/styles/_variables.scss +1 -0
- package/core/styles/common/_animation.scss +10 -6
- package/core/styles/common/_list.scss +123 -0
- package/core/styles/common/_overlay.scss +1 -1
- package/core/styles/common/_select.scss +232 -0
- package/core/styles/theming/_components-theming.scss +716 -102
- package/core/styles/theming/_theming.scss +201 -30
- package/core/styles/typography/_typography.scss +176 -5
- package/datepicker/_datepicker-theme.scss +43 -57
- package/datepicker/calendar-body.component.d.ts +1 -1
- package/datepicker/calendar-body.scss +11 -26
- package/datepicker/calendar-header.component.d.ts +9 -3
- package/datepicker/calendar-header.scss +7 -31
- package/datepicker/calendar.component.d.ts +4 -5
- package/datepicker/calendar.scss +20 -25
- package/datepicker/datepicker-animations.d.ts +2 -2
- package/datepicker/datepicker-content.scss +17 -10
- package/datepicker/datepicker-input.directive.d.ts +4 -4
- package/datepicker/datepicker-input.scss +1 -1
- package/datepicker/datepicker-toggle.component.d.ts +3 -3
- package/datepicker/datepicker.component.d.ts +2 -2
- package/datepicker/month-view.component.d.ts +5 -6
- package/dl/_dl-theme.scss +2 -56
- package/dl/dl.component.d.ts +1 -2
- package/dl/dl.scss +10 -47
- package/dropdown/_dropdown-theme.scss +29 -37
- package/dropdown/dropdown-animations.d.ts +1 -1
- package/dropdown/dropdown-content.directive.d.ts +1 -1
- package/dropdown/dropdown-item.component.d.ts +1 -1
- package/dropdown/dropdown-item.scss +18 -40
- package/dropdown/dropdown-trigger.directive.d.ts +2 -2
- package/dropdown/dropdown.component.d.ts +1 -1
- package/dropdown/dropdown.scss +16 -39
- package/dropdown/dropdown.types.d.ts +1 -1
- package/esm2022/alert/alert.component.mjs +3 -3
- package/esm2022/autocomplete/autocomplete-origin.directive.mjs +4 -4
- package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +34 -31
- package/esm2022/autocomplete/autocomplete.component.mjs +4 -4
- package/esm2022/badge/badge.component.mjs +122 -0
- package/esm2022/badge/badge.module.mjs +40 -0
- package/esm2022/badge/index.mjs +2 -0
- package/esm2022/badge/koobiq-components-badge.mjs +5 -0
- package/esm2022/badge/public-api.mjs +3 -0
- package/esm2022/button/button.component.mjs +4 -3
- package/esm2022/button-toggle/button-toggle.component.mjs +15 -15
- package/esm2022/checkbox/checkbox.mjs +4 -4
- package/esm2022/code-block/actionbar.component.mjs +3 -3
- package/esm2022/code-block/code-block.component.mjs +11 -9
- package/esm2022/core/animation/index.mjs +2 -2
- package/esm2022/core/animation/select-animations.mjs +4 -4
- package/esm2022/core/common-behaviors/color.mjs +1 -1
- package/esm2022/core/common-behaviors/common-module.mjs +2 -2
- package/esm2022/core/formatters/index.mjs +10 -2
- package/esm2022/core/formatters/number/formatter.mjs +224 -3
- package/esm2022/core/forms/forms.directive.mjs +5 -5
- package/esm2022/core/locales/en-US.mjs +22 -4
- package/esm2022/core/locales/es-LA.mjs +31 -2
- package/esm2022/core/locales/fa-IR.mjs +30 -2
- package/esm2022/core/locales/locale-service.mjs +4 -4
- package/esm2022/core/locales/pt-BR.mjs +29 -2
- package/esm2022/core/locales/ru-RU.mjs +23 -2
- package/esm2022/core/locales/zh-CN.mjs +28 -2
- package/esm2022/core/option/action.mjs +8 -7
- package/esm2022/core/option/optgroup.mjs +3 -3
- package/esm2022/core/option/option.mjs +47 -10
- package/esm2022/core/overlay/overlay-position-map.mjs +8 -1
- package/esm2022/core/pop-up/constants.mjs +2 -1
- package/esm2022/core/pop-up/pop-up-trigger.mjs +12 -3
- package/esm2022/core/public-api.mjs +2 -1
- package/esm2022/core/select/constants.mjs +3 -3
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +3 -3
- package/esm2022/core/services/theme.service.mjs +60 -0
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/datepicker/calendar-body.component.mjs +7 -5
- package/esm2022/datepicker/calendar-header.component.mjs +9 -8
- package/esm2022/datepicker/calendar.component.mjs +8 -17
- package/esm2022/datepicker/datepicker-animations.mjs +3 -3
- package/esm2022/datepicker/datepicker-input.directive.mjs +29 -20
- package/esm2022/datepicker/datepicker-toggle.component.mjs +6 -6
- package/esm2022/datepicker/datepicker.component.mjs +12 -12
- package/esm2022/datepicker/month-view.component.mjs +9 -18
- package/esm2022/dl/dl.component.mjs +3 -7
- package/esm2022/dropdown/dropdown-animations.mjs +4 -4
- package/esm2022/dropdown/dropdown-content.directive.mjs +3 -3
- package/esm2022/dropdown/dropdown-errors.mjs +6 -6
- package/esm2022/dropdown/dropdown-item.component.mjs +7 -6
- package/esm2022/dropdown/dropdown-trigger.directive.mjs +10 -9
- package/esm2022/dropdown/dropdown.component.mjs +9 -9
- package/esm2022/dropdown/dropdown.types.mjs +1 -1
- package/esm2022/file-upload/file-drop.mjs +43 -6
- package/esm2022/file-upload/file-upload.mjs +1 -1
- package/esm2022/file-upload/multiple-file-upload.component.mjs +13 -9
- package/esm2022/file-upload/single-file-upload.component.mjs +16 -13
- package/esm2022/form-field/cleaner.mjs +3 -3
- package/esm2022/form-field/form-field.mjs +12 -15
- package/esm2022/form-field/hint.mjs +16 -6
- package/esm2022/form-field/password-hint.mjs +25 -16
- package/esm2022/form-field/password-toggle.mjs +29 -12
- package/esm2022/form-field/prefix.mjs +3 -3
- package/esm2022/form-field/suffix.mjs +3 -3
- package/esm2022/form-field/validate.directive.mjs +15 -9
- package/esm2022/icon/icon-button.component.mjs +68 -0
- package/esm2022/icon/icon-item.component.mjs +27 -0
- package/esm2022/icon/icon.component.mjs +5 -90
- package/esm2022/icon/icon.module.mjs +4 -2
- package/esm2022/icon/public-api.mjs +3 -1
- package/esm2022/input/input-errors.mjs +2 -2
- package/esm2022/input/input-number.mjs +260 -44
- package/esm2022/input/input-password.mjs +5 -5
- package/esm2022/input/input.mjs +7 -7
- package/esm2022/link/link.component.mjs +14 -13
- package/esm2022/list/list-selection.component.mjs +23 -10
- package/esm2022/list/list.component.mjs +2 -2
- package/esm2022/list/list.module.mjs +8 -4
- package/esm2022/loader-overlay/loader-overlay.component.mjs +20 -19
- package/esm2022/modal/modal-control.service.mjs +5 -5
- package/esm2022/modal/modal-ref.class.mjs +1 -1
- package/esm2022/modal/modal.component.mjs +129 -134
- package/esm2022/modal/modal.module.mjs +13 -7
- package/esm2022/modal/modal.service.mjs +23 -23
- package/esm2022/modal/modal.type.mjs +1 -3
- package/esm2022/navbar/navbar-item.component.mjs +19 -18
- package/esm2022/navbar/navbar.component.mjs +20 -11
- package/esm2022/navbar/vertical-navbar.animation.mjs +2 -2
- package/esm2022/navbar/vertical-navbar.component.mjs +11 -8
- package/esm2022/popover/popover-animations.mjs +2 -2
- package/esm2022/popover/popover-confirm.component.mjs +9 -11
- package/esm2022/popover/popover.component.mjs +24 -24
- package/esm2022/progress-spinner/progress-spinner.component.mjs +3 -3
- package/esm2022/radio/radio.component.mjs +11 -8
- package/esm2022/risk-level/index.mjs +2 -0
- package/esm2022/risk-level/koobiq-components-risk-level.mjs +5 -0
- package/esm2022/risk-level/public-api.mjs +3 -0
- package/esm2022/risk-level/risk-level.component.mjs +40 -0
- package/esm2022/risk-level/risk-level.module.mjs +28 -0
- package/esm2022/select/select-option.directive.mjs +15 -3
- package/esm2022/select/select.component.mjs +47 -29
- package/esm2022/sidebar/sidebar-animations.mjs +2 -2
- package/esm2022/sidebar/sidebar.component.mjs +9 -9
- package/esm2022/sidepanel/sidepanel-container.component.mjs +3 -3
- package/esm2022/sidepanel/sidepanel-directives.mjs +8 -10
- package/esm2022/sidepanel/sidepanel.module.mjs +10 -4
- package/esm2022/splitter/splitter.component.mjs +3 -3
- package/esm2022/table/table.component.mjs +3 -3
- package/esm2022/tabs/paginated-tab-header.mjs +11 -2
- package/esm2022/tabs/tab-body.component.mjs +7 -7
- package/esm2022/tabs/tab-content.directive.mjs +3 -3
- package/esm2022/tabs/tab-group.component.mjs +16 -21
- package/esm2022/tabs/tab-header.component.mjs +2 -2
- package/esm2022/tabs/tab-label-wrapper.directive.mjs +4 -3
- package/esm2022/tabs/tab-label.directive.mjs +3 -3
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +21 -10
- package/esm2022/tabs/tab.component.mjs +14 -5
- package/esm2022/tabs/tabs-animations.mjs +2 -2
- package/esm2022/tabs/tabs.module.mjs +2 -6
- package/esm2022/tags/tag-default-options.mjs +1 -1
- package/esm2022/tags/tag-input.mjs +17 -15
- package/esm2022/tags/tag-list.component.mjs +15 -10
- package/esm2022/tags/tag.component.mjs +16 -16
- package/esm2022/textarea/textarea.component.mjs +4 -4
- package/esm2022/timepicker/timepicker.directive.mjs +10 -10
- package/esm2022/timezone/timezone-option.component.mjs +4 -4
- package/esm2022/timezone/timezone-select.component.mjs +5 -5
- package/esm2022/title/title.directive.mjs +6 -6
- package/esm2022/toast/toast-animations.mjs +2 -1
- package/esm2022/toast/toast-container.component.mjs +22 -8
- package/esm2022/toast/toast.component.mjs +30 -13
- package/esm2022/toast/toast.module.mjs +23 -8
- package/esm2022/toast/toast.service.mjs +2 -1
- package/esm2022/toast/toast.type.mjs +6 -1
- package/esm2022/toggle/toggle.component.mjs +4 -4
- package/esm2022/tooltip/tooltip.animations.mjs +2 -2
- package/esm2022/tooltip/tooltip.component.mjs +31 -30
- package/esm2022/tree/control/base-tree-control.mjs +1 -1
- package/esm2022/tree/control/flat-tree-control.mjs +4 -4
- package/esm2022/tree/control/tree-control.mjs +1 -1
- package/esm2022/tree/node.mjs +5 -5
- package/esm2022/tree/outlet.mjs +3 -3
- package/esm2022/tree/padding.directive.mjs +9 -9
- package/esm2022/tree/toggle.mjs +11 -12
- package/esm2022/tree/tree-base.mjs +3 -3
- package/esm2022/tree/tree-option.component.mjs +12 -10
- package/esm2022/tree/tree-selection.component.mjs +8 -6
- package/esm2022/tree/tree.mjs +3 -3
- package/esm2022/tree/tree.module.mjs +13 -4
- package/esm2022/tree-select/tree-select.component.mjs +28 -23
- package/fesm2022/koobiq-components-alert.mjs +2 -2
- package/fesm2022/koobiq-components-alert.mjs.map +1 -1
- package/fesm2022/koobiq-components-autocomplete.mjs +40 -37
- package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
- package/fesm2022/koobiq-components-badge.mjs +166 -0
- package/fesm2022/koobiq-components-badge.mjs.map +1 -0
- package/fesm2022/koobiq-components-button-toggle.mjs +14 -14
- package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-button.mjs +3 -2
- package/fesm2022/koobiq-components-button.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 +10 -9
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +535 -46
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +73 -79
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-dl.mjs +2 -6
- package/fesm2022/koobiq-components-dl.mjs.map +1 -1
- package/fesm2022/koobiq-components-dropdown.mjs +33 -31
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-file-upload.mjs +65 -21
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +96 -59
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +10 -8
- package/fesm2022/koobiq-components-icon.mjs.map +1 -1
- package/fesm2022/koobiq-components-input.mjs +269 -55
- package/fesm2022/koobiq-components-input.mjs.map +1 -1
- package/fesm2022/koobiq-components-link.mjs +13 -12
- package/fesm2022/koobiq-components-link.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +31 -14
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-loader-overlay.mjs +19 -18
- package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +164 -167
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +46 -37
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +32 -33
- package/fesm2022/koobiq-components-popover.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-spinner.mjs +2 -2
- package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
- package/fesm2022/koobiq-components-radio.mjs +10 -7
- package/fesm2022/koobiq-components-radio.mjs.map +1 -1
- package/fesm2022/koobiq-components-risk-level.mjs +72 -0
- package/fesm2022/koobiq-components-risk-level.mjs.map +1 -0
- package/fesm2022/koobiq-components-select.mjs +60 -30
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidebar.mjs +8 -8
- package/fesm2022/koobiq-components-sidebar.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidepanel.mjs +19 -14
- package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
- package/fesm2022/koobiq-components-splitter.mjs +2 -2
- package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
- package/fesm2022/koobiq-components-table.mjs +2 -2
- package/fesm2022/koobiq-components-table.mjs.map +1 -1
- package/fesm2022/koobiq-components-tabs.mjs +74 -53
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +45 -38
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-textarea.mjs +3 -3
- package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
- package/fesm2022/koobiq-components-timepicker.mjs +9 -9
- package/fesm2022/koobiq-components-timepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-timezone.mjs +7 -7
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-title.mjs +5 -5
- package/fesm2022/koobiq-components-title.mjs.map +1 -1
- package/fesm2022/koobiq-components-toast.mjs +71 -22
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/fesm2022/koobiq-components-toggle.mjs +3 -3
- package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-tooltip.mjs +31 -30
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +27 -22
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +67 -54
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/file-upload/_file-upload-theme.scss +54 -40
- package/file-upload/file-drop.d.ts +3 -2
- package/file-upload/file-upload.d.ts +4 -1
- package/file-upload/file-upload.scss +2 -9
- package/file-upload/multiple-file-upload.component.d.ts +6 -5
- package/file-upload/multiple-file-upload.component.scss +170 -59
- package/file-upload/single-file-upload.component.d.ts +6 -5
- package/file-upload/single-file-upload.component.scss +42 -22
- package/form-field/_form-field-theme.scss +3 -6
- package/form-field/_hint-theme.scss +6 -2
- package/form-field/cleaner.d.ts +1 -1
- package/form-field/form-field.d.ts +3 -4
- package/form-field/form-field.scss +2 -2
- package/form-field/hint.d.ts +4 -1
- package/form-field/hint.scss +9 -1
- package/form-field/password-hint.d.ts +7 -3
- package/form-field/password-hint.scss +6 -0
- package/form-field/password-toggle.d.ts +13 -7
- package/form-field/prefix.d.ts +1 -1
- package/form-field/suffix.d.ts +1 -1
- package/form-field/validate.directive.d.ts +1 -1
- package/icon/_icon-button-theme.scss +129 -0
- package/icon/_icon-item-theme.scss +41 -0
- package/icon/_icon-theme.scss +1 -232
- package/icon/icon-button.component.d.ts +22 -0
- package/icon/icon-button.scss +33 -0
- package/icon/icon-item.component.d.ts +10 -0
- package/icon/icon-item.scss +18 -0
- package/icon/icon.component.d.ts +1 -25
- package/icon/icon.module.d.ts +6 -4
- package/icon/icon.scss +0 -41
- package/icon/public-api.d.ts +2 -0
- package/input/_input-theme.scss +2 -1
- package/input/input-number.d.ts +61 -10
- package/input/input-password.d.ts +1 -1
- package/input/input.d.ts +2 -2
- package/input/input.scss +3 -1
- package/link/_link-theme.scss +101 -92
- package/link/link.component.d.ts +4 -4
- package/list/_list-theme.scss +36 -17
- package/list/list-selection.component.d.ts +6 -2
- package/list/list.module.d.ts +1 -1
- package/list/list.scss +6 -19
- package/loader-overlay/_loader-overlay-theme.scss +43 -11
- package/loader-overlay/loader-overlay.component.d.ts +6 -5
- package/loader-overlay/loader-overlay.scss +56 -22
- package/markdown/_markdown-theme.scss +2 -2
- package/modal/README.md +5 -5
- package/modal/_modal-confirm.scss +5 -37
- package/modal/_modal-theme.scss +14 -52
- package/modal/modal-ref.class.d.ts +2 -2
- package/modal/modal.component.d.ts +53 -52
- package/modal/modal.module.d.ts +2 -1
- package/modal/modal.scss +50 -31
- package/modal/modal.type.d.ts +35 -36
- package/navbar/_navbar-theme.scss +2 -2
- package/navbar/navbar-item.component.d.ts +4 -3
- package/navbar/navbar.component.d.ts +5 -2
- package/navbar/vertical-navbar.component.d.ts +4 -2
- package/package.json +48 -38
- package/popover/README.md +14 -14
- package/popover/_popover-theme.scss +15 -78
- package/popover/popover-animations.d.ts +1 -1
- package/popover/popover-confirm.component.d.ts +1 -3
- package/popover/popover.component.d.ts +3 -3
- package/popover/popover.scss +60 -50
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/progress-spinner/progress-spinner.component.d.ts +2 -2
- package/progress-spinner/progress-spinner.scss +10 -5
- package/radio/_radio-theme.scss +17 -4
- package/radio/radio.component.d.ts +2 -2
- package/radio/radio.scss +13 -0
- package/risk-level/README.md +0 -0
- package/risk-level/_risk-level-theme.scss +88 -0
- package/risk-level/index.d.ts +1 -0
- package/risk-level/public-api.d.ts +2 -0
- package/risk-level/risk-level.component.d.ts +18 -0
- package/risk-level/risk-level.component.scss +26 -0
- package/risk-level/risk-level.module.d.ts +10 -0
- package/select/_select-theme.scss +12 -4
- package/select/select-option.directive.d.ts +2 -0
- package/select/select.component.d.ts +15 -12
- package/select/select.scss +6 -190
- package/sidebar/sidebar-animations.d.ts +1 -1
- package/sidebar/sidebar.component.d.ts +3 -3
- package/sidepanel/_sidepanel-theme.scss +11 -41
- package/sidepanel/sidepanel-directives.d.ts +0 -2
- package/sidepanel/sidepanel.scss +33 -35
- package/splitter/_splitter-theme.scss +1 -0
- package/splitter/splitter.component.d.ts +1 -1
- package/table/_table-theme.scss +1 -1
- package/table/table.component.d.ts +1 -1
- package/tabs/_tabs-common.scss +28 -147
- package/tabs/_tabs-theme.scss +81 -175
- package/tabs/paginated-tab-header.d.ts +1 -0
- package/tabs/tab-body.component.d.ts +1 -1
- package/tabs/tab-content.directive.d.ts +1 -1
- package/tabs/tab-group.component.d.ts +5 -8
- package/tabs/tab-group.scss +10 -10
- package/tabs/tab-header.scss +2 -24
- package/tabs/tab-label-wrapper.directive.d.ts +1 -1
- package/tabs/tab-label.directive.d.ts +1 -1
- package/tabs/tab-nav-bar/tab-nav-bar.d.ts +4 -2
- package/tabs/tab-nav-bar/tab-nav-bar.scss +9 -16
- package/tabs/tab.component.d.ts +1 -1
- package/tabs/tabs-animations.d.ts +1 -1
- package/tabs/tabs.module.d.ts +1 -1
- package/tags/_tag-theme.scss +1 -25
- package/tags/tag-default-options.d.ts +4 -0
- package/tags/tag-input.d.ts +2 -2
- package/tags/tag-list.component.d.ts +3 -2
- package/tags/tag-list.scss +26 -16
- package/tags/tag.component.d.ts +6 -6
- package/textarea/textarea.component.d.ts +1 -1
- package/timepicker/timepicker.directive.d.ts +2 -2
- package/timezone/timezone-option.component.d.ts +1 -1
- package/timezone/timezone-select.component.d.ts +1 -1
- package/title/title.directive.d.ts +1 -1
- package/toast/_toast-theme.scss +21 -33
- package/toast/toast-animations.d.ts +1 -0
- package/toast/toast-container.component.d.ts +7 -3
- package/toast/toast-container.component.scss +2 -1
- package/toast/toast.component.d.ts +6 -1
- package/toast/toast.component.scss +41 -34
- package/toast/toast.module.d.ts +1 -1
- package/toast/toast.service.d.ts +2 -0
- package/toast/toast.type.d.ts +8 -5
- package/toggle/_toggle-theme.scss +9 -1
- package/toggle/toggle.component.d.ts +1 -1
- package/toggle/toggle.scss +5 -2
- package/tooltip/tooltip.animations.d.ts +1 -1
- package/tooltip/tooltip.component.d.ts +5 -5
- package/tree/_tree-theme.scss +46 -34
- package/tree/control/base-tree-control.d.ts +1 -1
- package/tree/control/tree-control.d.ts +1 -1
- package/tree/node.d.ts +1 -1
- package/tree/outlet.d.ts +1 -1
- package/tree/padding.directive.d.ts +1 -1
- package/tree/toggle.d.ts +3 -3
- package/tree/tree-base.d.ts +1 -1
- package/tree/tree-option.component.d.ts +1 -2
- package/tree/tree-option.scss +40 -27
- package/tree/tree-selection.component.d.ts +1 -1
- package/tree/tree.d.ts +1 -1
- package/tree/tree.module.d.ts +2 -1
- package/tree-select/_tree-select-theme.scss +13 -3
- package/tree-select/tree-select.component.d.ts +6 -4
- package/tree-select/tree-select.scss +5 -194
- package/core/styles/theming/_badges.scss +0 -57
- package/core/styles/theming/prebuilt/light-theme.scss +0 -20
- package/list/_list-base.scss +0 -54
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
$background: map.get($theme, background);
|
|
38
38
|
$foreground: map.get($theme, foreground);
|
|
39
39
|
|
|
40
|
-
background-color: kbq-color($background,
|
|
41
|
-
color: kbq-color($foreground,
|
|
40
|
+
background-color: kbq-color($background, bg);
|
|
41
|
+
color: kbq-color($foreground, contrast);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.kbq-theme-loaded-marker {
|
|
@@ -46,52 +46,205 @@
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
@function _theme_states($tokens, $scheme) {
|
|
50
|
-
@return (
|
|
51
|
-
focused-color: map.get($tokens, '#{$scheme}-states-focused-color'),
|
|
52
|
-
selected-color: map.get($tokens, '#{$scheme}-states-selected-color'),
|
|
53
|
-
pressed-shadow: map.get($tokens, '#{$scheme}-states-pressed-shadow'),
|
|
54
|
-
disabled-opacity: map.get($tokens, '#{$scheme}-states-disabled-opacity')
|
|
55
|
-
);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
49
|
@function _theme_foreground($tokens, $scheme) {
|
|
59
50
|
@return (
|
|
51
|
+
white: map.get($tokens, '#{$scheme}-foreground-white'),
|
|
52
|
+
white-secondary: map.get($tokens, '#{$scheme}-foreground-white-secondary'),
|
|
53
|
+
theme: map.get($tokens, '#{$scheme}-foreground-theme'),
|
|
54
|
+
theme-secondary: map.get($tokens, '#{$scheme}-foreground-theme-secondary'),
|
|
55
|
+
on-contrast: map.get($tokens, '#{$scheme}-foreground-on-contrast'),
|
|
56
|
+
contrast: map.get($tokens, '#{$scheme}-foreground-contrast'),
|
|
57
|
+
contrast-secondary: map.get($tokens, '#{$scheme}-foreground-contrast-secondary'),
|
|
58
|
+
contrast-tertiary: map.get($tokens, '#{$scheme}-foreground-contrast-tertiary'),
|
|
59
|
+
success: map.get($tokens, '#{$scheme}-foreground-success'),
|
|
60
|
+
// будет удалено, после удаления из компонентов ↓
|
|
61
|
+
success-less: map.get($tokens, '#{$scheme}-foreground-success-less'),
|
|
62
|
+
success-secondary: map.get($tokens, '#{$scheme}-foreground-success-secondary'),
|
|
63
|
+
warning: map.get($tokens, '#{$scheme}-foreground-warning'),
|
|
64
|
+
warning-secondary: map.get($tokens, '#{$scheme}-foreground-warning-secondary'),
|
|
65
|
+
error: map.get($tokens, '#{$scheme}-foreground-error'),
|
|
66
|
+
error-secondary: map.get($tokens, '#{$scheme}-foreground-error-secondary'),
|
|
67
|
+
error-tertiary: map.get($tokens, '#{$scheme}-foreground-error-tertiary'),
|
|
68
|
+
visited: map.get($tokens, '#{$scheme}-foreground-visited'),
|
|
69
|
+
// будет удалено, после удаления из компонентов ↓
|
|
70
|
+
error-less: map.get($tokens, '#{$scheme}-foreground-error-less'),
|
|
71
|
+
// будет удалено, после удаления из компонентов ↓
|
|
60
72
|
text: map.get($tokens, '#{$scheme}-foreground-text'),
|
|
61
73
|
text-less-contrast: map.get($tokens, '#{$scheme}-foreground-text-less-contrast'),
|
|
62
74
|
text-disabled: map.get($tokens, '#{$scheme}-foreground-text-disabled'),
|
|
63
75
|
text-error: map.get($tokens, '#{$scheme}-foreground-text-error'),
|
|
64
76
|
text-success: map.get($tokens, '#{$scheme}-foreground-text-success'),
|
|
65
|
-
|
|
66
77
|
divider: map.get($tokens, '#{$scheme}-foreground-divider'),
|
|
67
78
|
border: map.get($tokens, '#{$scheme}-foreground-border'),
|
|
68
|
-
icon: map.get($tokens, '#{$scheme}-foreground-icon')
|
|
69
|
-
|
|
70
|
-
contrast: map.get($tokens, '#{$scheme}-foreground-contrast'),
|
|
79
|
+
icon: map.get($tokens, '#{$scheme}-foreground-icon')
|
|
71
80
|
);
|
|
72
81
|
}
|
|
73
82
|
|
|
74
83
|
@function _theme_background($tokens, $scheme) {
|
|
75
84
|
@return (
|
|
76
|
-
background: map.get($tokens, '#{$scheme}-background-background'),
|
|
77
85
|
bg: map.get($tokens, '#{$scheme}-background-bg'),
|
|
86
|
+
bg-secondary: map.get($tokens, '#{$scheme}-background-bg-secondary'),
|
|
87
|
+
card: map.get($tokens, '#{$scheme}-background-card'),
|
|
88
|
+
contrast: map.get($tokens, '#{$scheme}-background-contrast'),
|
|
89
|
+
contrast-fade: map.get($tokens, '#{$scheme}-background-contrast-fade'),
|
|
90
|
+
night: map.get($tokens, '#{$scheme}-background-night'),
|
|
91
|
+
error: map.get($tokens, '#{$scheme}-background-error'),
|
|
92
|
+
error-fade: map.get($tokens, '#{$scheme}-background-error-fade'),
|
|
93
|
+
error-less: map.get($tokens, '#{$scheme}-background-error-less'),
|
|
94
|
+
success: map.get($tokens, '#{$scheme}-background-success'),
|
|
95
|
+
success-fade: map.get($tokens, '#{$scheme}-background-success-fade'),
|
|
96
|
+
// surfacce — удалить после удаления из компонентов
|
|
97
|
+
surface: map.get($tokens, '#{$scheme}-background-surface'),
|
|
98
|
+
theme: map.get($tokens, '#{$scheme}-background-theme'),
|
|
99
|
+
theme-fade: map.get($tokens, '#{$scheme}-background-theme-fade'),
|
|
100
|
+
warning: map.get($tokens, '#{$scheme}-background-warning'),
|
|
101
|
+
warning-fade: map.get($tokens, '#{$scheme}-background-warning-fade'),
|
|
102
|
+
transparent: map.get($tokens, '#{$scheme}-background-transparent'),
|
|
103
|
+
|
|
104
|
+
// будет удалено, после удаления из компонентов ↓
|
|
105
|
+
background: map.get($tokens, '#{$scheme}-background-background'),
|
|
78
106
|
background-disabled: map.get($tokens, '#{$scheme}-background-background-disabled'),
|
|
79
107
|
background-less-contrast: map.get($tokens, '#{$scheme}-background-background-less-contrast'),
|
|
80
108
|
background-under: map.get($tokens, '#{$scheme}-background-background-under'),
|
|
81
|
-
|
|
109
|
+
overlay: map.get($tokens, '#{$scheme}-background-overlay'),
|
|
110
|
+
overlay-inverse: map.get($tokens, '#{$scheme}-background-overlay-inverse'),
|
|
82
111
|
overlay-hover: map.get($tokens, '#{$scheme}-background-overlay-hover'),
|
|
83
112
|
overlay-active: map.get($tokens, '#{$scheme}-background-overlay-active'),
|
|
84
113
|
overlay-disabled: map.get($tokens, '#{$scheme}-background-overlay-disabled')
|
|
85
114
|
);
|
|
86
115
|
}
|
|
87
116
|
|
|
117
|
+
@function _theme_icon($tokens, $scheme) {
|
|
118
|
+
@return (
|
|
119
|
+
on-contrast: map.get($tokens, '#{$scheme}-icon-on-contrast'),
|
|
120
|
+
white: map.get($tokens, '#{$scheme}-icon-white'),
|
|
121
|
+
theme: map.get($tokens, '#{$scheme}-icon-theme'),
|
|
122
|
+
contrast: map.get($tokens, '#{$scheme}-icon-contrast'),
|
|
123
|
+
contrast-fade: map.get($tokens, '#{$scheme}-icon-contrast-fade'),
|
|
124
|
+
success: map.get($tokens, '#{$scheme}-icon-success'),
|
|
125
|
+
warning: map.get($tokens, '#{$scheme}-icon-warning'),
|
|
126
|
+
error: map.get($tokens, '#{$scheme}-icon-error'),
|
|
127
|
+
visited: map.get($tokens, '#{$scheme}-icon-visited')
|
|
128
|
+
);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
@function _theme_line($tokens, $scheme) {
|
|
132
|
+
@return (
|
|
133
|
+
theme: map.get($tokens, '#{$scheme}-line-theme'),
|
|
134
|
+
theme-fade: map.get($tokens, '#{$scheme}-line-theme-fade'),
|
|
135
|
+
contrast: map.get($tokens, '#{$scheme}-line-contrast'),
|
|
136
|
+
contrast-fade: map.get($tokens, '#{$scheme}-line-contrast-fade'),
|
|
137
|
+
success: map.get($tokens, '#{$scheme}-line-success'),
|
|
138
|
+
success-fade: map.get($tokens, '#{$scheme}-line-success-fade'),
|
|
139
|
+
warning: map.get($tokens, '#{$scheme}-line-warning'),
|
|
140
|
+
warning-fade: map.get($tokens, '#{$scheme}-line-warning-fade'),
|
|
141
|
+
error: map.get($tokens, '#{$scheme}-line-error'),
|
|
142
|
+
error-fade: map.get($tokens, '#{$scheme}-line-error-fade'),
|
|
143
|
+
visited: map.get($tokens, '#{$scheme}-line-visited'),
|
|
144
|
+
);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
@function _theme_states-background($tokens, $scheme) {
|
|
148
|
+
@return (
|
|
149
|
+
disabled: map.get($tokens, '#{$scheme}-states-background-disabled'),
|
|
150
|
+
transparent-hover: map.get($tokens, '#{$scheme}-states-background-transparent-hover'),
|
|
151
|
+
transparent-active: map.get($tokens, '#{$scheme}-states-background-transparent-active'),
|
|
152
|
+
contrast-hover: map.get($tokens, '#{$scheme}-states-background-contrast-hover'),
|
|
153
|
+
contrast-active: map.get($tokens, '#{$scheme}-states-background-contrast-active'),
|
|
154
|
+
contrast-fade-hover: map.get($tokens, '#{$scheme}-states-background-contrast-fade-hover'),
|
|
155
|
+
contrast-fade-active: map.get($tokens, '#{$scheme}-states-background-contrast-fade-active'),
|
|
156
|
+
theme-hover: map.get($tokens, '#{$scheme}-states-background-theme-hover'),
|
|
157
|
+
theme-active: map.get($tokens, '#{$scheme}-states-background-theme-active'),
|
|
158
|
+
theme-fade-hover: map.get($tokens, '#{$scheme}-states-background-theme-fade-hover'),
|
|
159
|
+
theme-fade-active: map.get($tokens, '#{$scheme}-states-background-theme-fade-active'),
|
|
160
|
+
error-hover: map.get($tokens, '#{$scheme}-states-background-error-hover'),
|
|
161
|
+
error-active: map.get($tokens, '#{$scheme}-states-background-error-active'),
|
|
162
|
+
error-fade-hover: map.get($tokens, '#{$scheme}-states-background-error-fade-hover'),
|
|
163
|
+
error-fade-active: map.get($tokens, '#{$scheme}-states-background-error-fade-active'),
|
|
164
|
+
// будет удалено, после удаления из компонентов ↓
|
|
165
|
+
error-less: map.get($tokens, '#{$scheme}-states-background-error-less'),
|
|
166
|
+
ghost-hover: map.get($tokens, '#{$scheme}-states-background-ghost-hover'),
|
|
167
|
+
ghost-active: map.get($tokens, '#{$scheme}-states-background-ghost-active')
|
|
168
|
+
);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
@function _theme_states-foreground($tokens, $scheme) {
|
|
172
|
+
@return (
|
|
173
|
+
disabled: map.get($tokens, '#{$scheme}-states-foreground-disabled'),
|
|
174
|
+
theme-hover: map.get($tokens, '#{$scheme}-states-foreground-theme-hover'),
|
|
175
|
+
theme-active: map.get($tokens, '#{$scheme}-states-foreground-theme-active'),
|
|
176
|
+
visited-hover: map.get($tokens, '#{$scheme}-states-foreground-visited-hover'),
|
|
177
|
+
visited-active: map.get($tokens, '#{$scheme}-states-foreground-visited-active')
|
|
178
|
+
);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
@function _theme_states-icon($tokens, $scheme) {
|
|
182
|
+
@return (
|
|
183
|
+
theme-hover: map.get($tokens, '#{$scheme}-states-icon-theme-hover'),
|
|
184
|
+
theme-active: map.get($tokens, '#{$scheme}-states-icon-theme-active'),
|
|
185
|
+
contrast-hover: map.get($tokens, '#{$scheme}-states-icon-contrast-hover'),
|
|
186
|
+
contrast-active: map.get($tokens, '#{$scheme}-states-icon-contrast-active'),
|
|
187
|
+
contrast-fade-hover: map.get($tokens, '#{$scheme}-states-icon-contrast-fade-hover'),
|
|
188
|
+
contrast-fade-active: map.get($tokens, '#{$scheme}-states-icon-contrast-fade-active'),
|
|
189
|
+
error-hover: map.get($tokens, '#{$scheme}-states-icon-error-hover'),
|
|
190
|
+
error-active: map.get($tokens, '#{$scheme}-states-icon-error-active'),
|
|
191
|
+
success-hover: map.get($tokens, '#{$scheme}-states-icon-success-hover'),
|
|
192
|
+
success-active: map.get($tokens, '#{$scheme}-states-icon-success-active'),
|
|
193
|
+
disabled: map.get($tokens, '#{$scheme}-states-icon-disabled'),
|
|
194
|
+
warning-hover: map.get($tokens, '#{$scheme}-states-icon-warning-hover'),
|
|
195
|
+
warning-active: map.get($tokens, '#{$scheme}-states-icon-warning-active'),
|
|
196
|
+
visited-hover: map.get($tokens, '#{$scheme}-states-icon-visited-hover'),
|
|
197
|
+
visited-active: map.get($tokens, '#{$scheme}-states-icon-visited-active')
|
|
198
|
+
);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
@function _theme_states-line($tokens, $scheme) {
|
|
202
|
+
@return (
|
|
203
|
+
focus: map.get($tokens, '#{$scheme}-states-line-focus'),
|
|
204
|
+
focus-theme: map.get($tokens, '#{$scheme}-states-line-focus-theme'),
|
|
205
|
+
focus-error: map.get($tokens, '#{$scheme}-states-line-focus-error'),
|
|
206
|
+
disabled: map.get($tokens, '#{$scheme}-states-line-disabled')
|
|
207
|
+
);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
@function _theme_states-others($tokens, $scheme) {
|
|
211
|
+
@return (
|
|
212
|
+
brand: map.get($tokens, '#{$scheme}-states-others-brand')
|
|
213
|
+
);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
@function _theme_states($tokens, $scheme) {
|
|
217
|
+
@return (
|
|
218
|
+
background: _theme_states-background($tokens, $scheme),
|
|
219
|
+
foreground: _theme_states-foreground($tokens, $scheme),
|
|
220
|
+
icon: _theme_states-icon($tokens, $scheme),
|
|
221
|
+
line: _theme_states-line($tokens, $scheme),
|
|
222
|
+
others: _theme_states-others($tokens, $scheme),
|
|
223
|
+
|
|
224
|
+
// будет удалено, после удаления из компонентов ↓
|
|
225
|
+
focused-color: map.get($tokens, '#{$scheme}-states-focused-color'),
|
|
226
|
+
focused-color-error: map.get($tokens, '#{$scheme}-states-focused-color-error'),
|
|
227
|
+
selected-color: map.get($tokens, '#{$scheme}-states-selected-color'),
|
|
228
|
+
pressed-shadow: map.get($tokens, '#{$scheme}-states-pressed-shadow'),
|
|
229
|
+
disabled-opacity: map.get($tokens, '#{$scheme}-states-disabled-opacity')
|
|
230
|
+
);
|
|
231
|
+
}
|
|
232
|
+
|
|
88
233
|
@function kbq-palette($base-palette, $default) {
|
|
89
234
|
@return map.merge($base-palette, (default: $default));
|
|
90
235
|
}
|
|
91
236
|
|
|
92
237
|
@function _theme_palette($tokens, $scheme, $name) {
|
|
93
238
|
@return kbq-palette(
|
|
94
|
-
map.get($tokens, '#{$scheme}-#{$name}-palette'),
|
|
239
|
+
map.get($tokens, '#{$scheme}-#{$name}-palette'),
|
|
240
|
+
map.get($tokens, '#{$scheme}-#{$name}-default')
|
|
241
|
+
)
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
@function _theme_palette_neutral($tokens, $scheme) {
|
|
245
|
+
@return (
|
|
246
|
+
white: map.get($tokens, '#{$scheme}-neutral-white'),
|
|
247
|
+
black: map.get($tokens, '#{$scheme}-neutral-black'),
|
|
95
248
|
)
|
|
96
249
|
}
|
|
97
250
|
|
|
@@ -103,16 +256,25 @@
|
|
|
103
256
|
|
|
104
257
|
background: _theme_background($tokens, $scheme),
|
|
105
258
|
foreground: _theme_foreground($tokens, $scheme),
|
|
259
|
+
icon: _theme_icon($tokens, $scheme),
|
|
260
|
+
line: _theme_line($tokens, $scheme),
|
|
261
|
+
states: _theme_states($tokens, $scheme),
|
|
106
262
|
|
|
107
263
|
theme: _theme_palette($tokens, $scheme, theme),
|
|
108
|
-
secondary: _theme_palette($tokens, $scheme, secondary),
|
|
109
|
-
error: _theme_palette($tokens, $scheme, error),
|
|
110
|
-
|
|
111
|
-
warning: _theme_palette($tokens, $scheme, warning),
|
|
112
264
|
success: _theme_palette($tokens, $scheme, success),
|
|
265
|
+
warning: _theme_palette($tokens, $scheme, warning),
|
|
266
|
+
error: _theme_palette($tokens, $scheme, error),
|
|
267
|
+
contrast: _theme_palette($tokens, $scheme, contrast),
|
|
268
|
+
neutral: _theme_palette_neutral($tokens, $scheme),
|
|
269
|
+
white: _theme_palette($tokens, $scheme, white),
|
|
270
|
+
black: _theme_palette($tokens, $scheme, black),
|
|
271
|
+
brand: _theme_palette($tokens, $scheme, brand),
|
|
272
|
+
purple: _theme_palette($tokens, $scheme, purple),
|
|
273
|
+
|
|
274
|
+
// будет удалено, после удаления из компонентов ↓
|
|
275
|
+
secondary: _theme_palette($tokens, $scheme, secondary),
|
|
113
276
|
info: _theme_palette($tokens, $scheme, info),
|
|
114
|
-
|
|
115
|
-
states: _theme_states($tokens, $scheme),
|
|
277
|
+
// будет удалено, после удаления из компонентов ↑
|
|
116
278
|
|
|
117
279
|
components: kbq-components-theme($tokens, $scheme),
|
|
118
280
|
tokens: $tokens
|
|
@@ -127,16 +289,25 @@
|
|
|
127
289
|
|
|
128
290
|
background: _theme_background($tokens, $scheme),
|
|
129
291
|
foreground: _theme_foreground($tokens, $scheme),
|
|
292
|
+
icon: _theme_icon($tokens, $scheme),
|
|
293
|
+
line: _theme_line($tokens, $scheme),
|
|
294
|
+
states: _theme_states($tokens, $scheme),
|
|
130
295
|
|
|
131
296
|
theme: _theme_palette($tokens, $scheme, theme),
|
|
132
|
-
secondary: _theme_palette($tokens, $scheme, secondary),
|
|
133
|
-
error: _theme_palette($tokens, $scheme, error),
|
|
134
|
-
|
|
135
|
-
warning: _theme_palette($tokens, $scheme, warning),
|
|
136
297
|
success: _theme_palette($tokens, $scheme, success),
|
|
298
|
+
warning: _theme_palette($tokens, $scheme, warning),
|
|
299
|
+
error: _theme_palette($tokens, $scheme, error),
|
|
300
|
+
contrast: _theme_palette($tokens, $scheme, contrast),
|
|
301
|
+
neutral: _theme_palette_neutral($tokens, $scheme),
|
|
302
|
+
white: _theme_palette($tokens, $scheme, white),
|
|
303
|
+
black: _theme_palette($tokens, $scheme, black),
|
|
304
|
+
brand: _theme_palette($tokens, $scheme, brand),
|
|
305
|
+
purple: _theme_palette($tokens, $scheme, purple),
|
|
306
|
+
|
|
307
|
+
// будет удалено, после удаления из компонентов ↓
|
|
308
|
+
secondary: _theme_palette($tokens, $scheme, secondary),
|
|
137
309
|
info: _theme_palette($tokens, $scheme, info),
|
|
138
|
-
|
|
139
|
-
states: _theme_states($tokens, $scheme),
|
|
310
|
+
// будет удалено, после удаления из компонентов ↑
|
|
140
311
|
|
|
141
312
|
components: kbq-components-theme($tokens, $scheme),
|
|
142
313
|
tokens: $tokens
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
$typography: map.get(map.get($tokens, koobiq), typography);
|
|
9
9
|
|
|
10
10
|
$config: (
|
|
11
|
+
//legacy will be deleted
|
|
11
12
|
display-1: map.get($typography, display-1),
|
|
12
13
|
display-2: map.get($typography, display-2),
|
|
13
14
|
display-3: map.get($typography, display-3),
|
|
@@ -30,11 +31,47 @@
|
|
|
30
31
|
caption-mono-strong: map.get($typography, caption-mono-strong),
|
|
31
32
|
caption-tabular: map.get($typography, caption-tabular),
|
|
32
33
|
|
|
33
|
-
small-text: map.get($typography, small-text),
|
|
34
|
+
//small-text: map.get($typography, small-text),
|
|
34
35
|
extra-small-text: map.get($typography, extra-small-text),
|
|
35
36
|
extra-small-text-caps: map.get($typography, extra-small-text-caps),
|
|
36
37
|
extra-small-text-mono: map.get($typography, extra-small-text-mono),
|
|
37
|
-
extra-small-text-strong: map.get($typography, extra-small-text-strong)
|
|
38
|
+
extra-small-text-strong: map.get($typography, extra-small-text-strong),
|
|
39
|
+
|
|
40
|
+
//new
|
|
41
|
+
display-big: map.get($typography, display-big),
|
|
42
|
+
display-normal: map.get($typography, display-normal),
|
|
43
|
+
display-compact: map.get($typography, display-compact),
|
|
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)
|
|
38
75
|
);
|
|
39
76
|
|
|
40
77
|
@each $key, $level in $config {
|
|
@@ -80,6 +117,7 @@
|
|
|
80
117
|
|
|
81
118
|
|
|
82
119
|
@mixin kbq-base-typography($config) {
|
|
120
|
+
//legacy will be deleted
|
|
83
121
|
.kbq-display-1 {
|
|
84
122
|
@include kbq-typography-level-to-styles($config, display-1);
|
|
85
123
|
}
|
|
@@ -152,13 +190,146 @@
|
|
|
152
190
|
@include kbq-typography-level-to-styles($config, caption-mono-strong);
|
|
153
191
|
}
|
|
154
192
|
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
}
|
|
193
|
+
//.kbq-small-text {
|
|
194
|
+
// @include kbq-typography-level-to-styles($config, small-text);
|
|
195
|
+
//}
|
|
158
196
|
|
|
159
197
|
.kbq-extra-small-text {
|
|
160
198
|
@include kbq-typography-level-to-styles($config, extra-small-text);
|
|
161
199
|
}
|
|
200
|
+
|
|
201
|
+
// new
|
|
202
|
+
.kbq-display-big {
|
|
203
|
+
@include kbq-typography-level-to-styles($config, display-big);
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.kbq-display-normal {
|
|
207
|
+
@include kbq-typography-level-to-styles($config, display-normal);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.kbq-display-compact {
|
|
211
|
+
@include kbq-typography-level-to-styles($config, display-compact);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.kbq-text-big {
|
|
215
|
+
@include kbq-typography-level-to-styles($config, text-big);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.kbq-text-big-strong {
|
|
219
|
+
@include kbq-typography-level-to-styles($config, text-big-strong);
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.kbq-text-normal {
|
|
223
|
+
@include kbq-typography-level-to-styles($config, text-normal);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.kbq-text-normal-strong {
|
|
227
|
+
@include kbq-typography-level-to-styles($config, text-normal-strong);
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.kbq-text-compact {
|
|
231
|
+
@include kbq-typography-level-to-styles($config, text-compact);
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.kbq-text-compact-strong {
|
|
235
|
+
@include kbq-typography-level-to-styles($config, text-compact-strong);
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.kbq-caps-big {
|
|
239
|
+
@include kbq-typography-level-to-styles($config, caps-big);
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.kbq-caps-big-strong {
|
|
243
|
+
@include kbq-typography-level-to-styles($config, caps-big-strong);
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.kbq-caps-normal {
|
|
247
|
+
@include kbq-typography-level-to-styles($config, caps-normal);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.kbq-caps-normal-strong {
|
|
251
|
+
@include kbq-typography-level-to-styles($config, caps-normal-strong);
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.kbq-caps-compact {
|
|
255
|
+
@include kbq-typography-level-to-styles($config, caps-compact);
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.kbq-caps-compact-strong {
|
|
259
|
+
@include kbq-typography-level-to-styles($config, caps-compact-strong);
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.kbq-mono-big {
|
|
263
|
+
@include kbq-typography-level-to-styles($config, mono-big);
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.kbq-mono-big-strong {
|
|
267
|
+
@include kbq-typography-level-to-styles($config, mono-big-strong);
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.kbq-mono-normal {
|
|
271
|
+
@include kbq-typography-level-to-styles($config, mono-normal);
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.kbq-mono-normal-strong {
|
|
275
|
+
@include kbq-typography-level-to-styles($config, mono-normal-strong);
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.kbq-mono-compact {
|
|
279
|
+
@include kbq-typography-level-to-styles($config, mono-compact);
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.kbq-mono-compact-strong {
|
|
283
|
+
@include kbq-typography-level-to-styles($config, mono-compact-strong);
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.kbq-tabular-big {
|
|
287
|
+
@include kbq-typography-level-to-styles($config, tabular-big);
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.kbq-tabular-big-strong {
|
|
291
|
+
@include kbq-typography-level-to-styles($config, tabular-big-strong);
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.kbq-tabular-normal {
|
|
295
|
+
@include kbq-typography-level-to-styles($config, tabular-normal);
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.kbq-tabular-normal-strong {
|
|
299
|
+
@include kbq-typography-level-to-styles($config, tabular-normal-strong);
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.kbq-tabular-compact {
|
|
303
|
+
@include kbq-typography-level-to-styles($config, tabular-compact);
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.kbq-tabular-compact-strong {
|
|
307
|
+
@include kbq-typography-level-to-styles($config, tabular-compact-strong);
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.kbq-italic-big {
|
|
311
|
+
@include kbq-typography-level-to-styles($config, italic-big);
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.kbq-italic-big-strong {
|
|
315
|
+
@include kbq-typography-level-to-styles($config, italic-big-strong);
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.kbq-italic-normal {
|
|
319
|
+
@include kbq-typography-level-to-styles($config, italic-normal);
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.kbq-italic-normal-strong {
|
|
323
|
+
@include kbq-typography-level-to-styles($config, italic-normal-strong);
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.kbq-italic-compact {
|
|
327
|
+
@include kbq-typography-level-to-styles($config, italic-compact);
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.kbq-italic-compact-strong {
|
|
331
|
+
@include kbq-typography-level-to-styles($config, italic-compact-strong);
|
|
332
|
+
}
|
|
162
333
|
}
|
|
163
334
|
|
|
164
335
|
@mixin kbq-markdown-base-typography($config) {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
@use 'sass:meta';
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
|
|
4
|
-
@use '../core/styles/common/popup';
|
|
5
4
|
@use '../core/styles/theming/theming';
|
|
6
5
|
@use '../core/styles/typography/typography-utils' as *;
|
|
7
6
|
|
|
@@ -10,77 +9,68 @@ $kbq-datepicker-selected-fade-amount: 0.6;
|
|
|
10
9
|
$kbq-datepicker-today-fade-amount: 0.2;
|
|
11
10
|
|
|
12
11
|
@mixin kbq-datepicker-theme($theme) {
|
|
13
|
-
$foreground: map.get($theme, foreground);
|
|
14
|
-
$background: map.get($theme, background);
|
|
15
|
-
|
|
16
|
-
$primary: map.get($theme, theme);
|
|
17
|
-
$secondary: map.get($theme, secondary);
|
|
18
|
-
|
|
19
12
|
$datepicker: map.get(map.get($theme, components), datepicker);
|
|
20
13
|
|
|
21
|
-
.
|
|
22
|
-
|
|
23
|
-
|
|
14
|
+
$container: map.get($datepicker, container);
|
|
15
|
+
$header: map.get($datepicker, header);
|
|
16
|
+
$cell: map.get($datepicker, cell);
|
|
24
17
|
|
|
25
|
-
.kbq-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
opacity: 1;
|
|
18
|
+
.kbq-datepicker__content {
|
|
19
|
+
background: map.get($container, background);
|
|
20
|
+
box-shadow: map.get($container, box-shadow);
|
|
21
|
+
}
|
|
30
22
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
23
|
+
.kbq-calendar__table-header {
|
|
24
|
+
color: map.get($header, text);
|
|
34
25
|
}
|
|
35
26
|
|
|
36
27
|
.kbq-calendar__table-header-divider::after {
|
|
37
|
-
background: map.get($
|
|
28
|
+
background: map.get($header, divider);
|
|
38
29
|
}
|
|
39
30
|
|
|
40
31
|
.kbq-calendar__body-cell-content {
|
|
41
|
-
|
|
42
|
-
border-color: transparent;
|
|
43
|
-
}
|
|
32
|
+
$default: map.get($cell, default);
|
|
44
33
|
|
|
45
|
-
|
|
46
|
-
color: map.get($
|
|
47
|
-
}
|
|
34
|
+
background: map.get($default, background);
|
|
35
|
+
color: map.get($default, text);
|
|
48
36
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
37
|
+
&.kbq-calendar__body-today {
|
|
38
|
+
$today: map.get($cell, today);
|
|
39
|
+
|
|
40
|
+
background: map.get($today, background);
|
|
41
|
+
color: map.get($today, text);
|
|
54
42
|
}
|
|
55
|
-
}
|
|
56
43
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
44
|
+
&:hover:not(.kbq-disabled) {
|
|
45
|
+
$hover: map.get($cell, hover);
|
|
46
|
+
|
|
47
|
+
background: map.get($hover, background);
|
|
60
48
|
}
|
|
61
|
-
}
|
|
62
49
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
50
|
+
&:active:not(.kbq-disabled) {
|
|
51
|
+
$active: map.get($cell, active);
|
|
66
52
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
53
|
+
background: map.get($active, background);
|
|
54
|
+
}
|
|
70
55
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
color: map.get($datepicker, state-selected-color);
|
|
74
|
-
}
|
|
56
|
+
&.kbq-selected:not(.kbq-disabled) {
|
|
57
|
+
$selected: map.get($cell, selected);
|
|
75
58
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
}
|
|
59
|
+
background: map.get($selected, background);
|
|
60
|
+
color: map.get($selected, text);
|
|
79
61
|
|
|
80
|
-
|
|
81
|
-
|
|
62
|
+
&:hover {
|
|
63
|
+
$selected-hover: map.get($cell, selected-hover);
|
|
82
64
|
|
|
83
|
-
|
|
65
|
+
background: map.get($selected-hover, background);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&.kbq-disabled {
|
|
70
|
+
$disabled: map.get($cell, disabled);
|
|
71
|
+
|
|
72
|
+
background: map.get($disabled, background);
|
|
73
|
+
}
|
|
84
74
|
}
|
|
85
75
|
}
|
|
86
76
|
|
|
@@ -88,14 +78,10 @@ $kbq-datepicker-today-fade-amount: 0.2;
|
|
|
88
78
|
$tokens: map.get($config, tokens);
|
|
89
79
|
|
|
90
80
|
.kbq-calendar {
|
|
91
|
-
@include kbq-typography-level-to-styles($config, map.get($tokens, datepicker-
|
|
81
|
+
@include kbq-typography-level-to-styles($config, map.get($tokens, datepicker-font-text));
|
|
92
82
|
}
|
|
93
83
|
|
|
94
84
|
.kbq-calendar__table-header th {
|
|
95
|
-
@include kbq-typography-level-to-styles($config, map.get($tokens, datepicker-
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.kbq-calendar__body-today {
|
|
99
|
-
@include kbq-typography-level-to-styles($config, map.get($tokens, datepicker-body-font-today));
|
|
85
|
+
@include kbq-typography-level-to-styles($config, map.get($tokens, datepicker-font-text));
|
|
100
86
|
}
|
|
101
87
|
}
|
|
@@ -51,5 +51,5 @@ export declare class KbqCalendarBody implements OnChanges {
|
|
|
51
51
|
ngOnChanges(changes: SimpleChanges): void;
|
|
52
52
|
isActiveCell(rowIndex: number, colIndex: number): boolean;
|
|
53
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqCalendarBody, never>;
|
|
54
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqCalendarBody, "[kbq-calendar-body]", ["
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqCalendarBody, "[kbq-calendar-body]", ["kbqCalendarBody"], { "rows": { "alias": "rows"; "required": false; }; "todayValue": { "alias": "todayValue"; "required": false; }; "selectedValue": { "alias": "selectedValue"; "required": false; }; "labelMinRequiredCells": { "alias": "labelMinRequiredCells"; "required": false; }; "numCols": { "alias": "numCols"; "required": false; }; "activeCell": { "alias": "activeCell"; "required": false; }; "cellAspectRatio": { "alias": "cellAspectRatio"; "required": false; }; }, { "selectedValueChange": "selectedValueChange"; }, never, never, false, never>;
|
|
55
55
|
}
|