@koobiq/components 18.4.1 → 18.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/_accordion-theme.scss +2 -6
- package/accordion/accordion-tokens.scss +0 -16
- package/accordion/accordion-trigger.component.scss +0 -5
- package/accordion/accordion.component.scss +0 -5
- package/alert/_alert-theme.scss +3 -7
- package/alert/alert-tokens.scss +0 -21
- package/alert/alert.component.scss +0 -3
- package/autocomplete/_autocomplete-theme.scss +0 -6
- package/autocomplete/autocomplete.scss +0 -3
- package/badge/_badge-theme.scss +4 -8
- package/badge/badge-tokens.scss +0 -32
- package/badge/badge.component.scss +0 -3
- package/button/_button-base.scss +0 -3
- package/button/_button-theme.scss +1 -5
- package/button/button-tokens.scss +1 -8
- package/button-toggle/_button-toggle-theme.scss +1 -6
- package/button-toggle/button-toggle-tokens.scss +1 -8
- package/button-toggle/button-toggle.scss +0 -3
- package/checkbox/_checkbox-theme.scss +4 -7
- package/checkbox/checkbox-tokens.scss +0 -28
- package/checkbox/checkbox.scss +0 -3
- package/code-block/_code-block-theme.scss +1 -6
- package/code-block/actionbar.component.scss +0 -4
- package/code-block/code-block-tokens.scss +2 -9
- package/code-block/code-block.scss +1 -3
- package/core/forms/_forms-theme.scss +1 -1
- package/core/forms/_forms.scss +2 -2
- package/core/forms/forms-tokens.scss +0 -15
- package/core/option/_optgroup-theme.scss +1 -1
- package/core/option/_option-theme.scss +2 -2
- package/core/option/action.scss +3 -3
- package/core/option/option-tokens.scss +0 -100
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +0 -2
- package/core/selection/pseudo-checkbox/pseudo-checkbox-tokens.scss +0 -28
- package/core/selection/pseudo-checkbox/pseudo-checkbox.scss +0 -3
- package/core/styles/_core.scss +0 -2
- package/core/styles/_koobiq-theme.scss +0 -2
- package/core/styles/common/_groups.scss +4 -12
- package/core/styles/common/_list.scss +0 -3
- package/core/styles/common/_popup.scss +4 -9
- package/core/styles/common/_select.scss +29 -39
- package/core/styles/common/_tokens.scss +1 -3
- package/core/styles/theming/_scrollbar-theme.scss +0 -3
- package/core/styles/visual/_layout.scss +0 -3
- package/datepicker/_datepicker-theme.scss +2 -7
- package/datepicker/calendar-body.scss +0 -8
- package/datepicker/calendar-header.scss +0 -5
- package/datepicker/calendar.scss +0 -5
- package/datepicker/datepicker-content.scss +0 -5
- package/datepicker/datepicker-input.scss +0 -3
- package/datepicker/datepicker-toggle.scss +0 -5
- package/datepicker/datepicker-tokens.scss +0 -7
- package/divider/_divider-theme.scss +0 -4
- package/divider/divider.scss +0 -5
- package/dl/_dl-theme.scss +2 -6
- package/dl/dl-tokens.scss +0 -16
- package/dl/dl.scss +0 -5
- package/dropdown/_dropdown-theme.scss +4 -8
- package/dropdown/dropdown-item.scss +0 -5
- package/dropdown/dropdown-tokens.scss +1 -88
- package/dropdown/dropdown.scss +0 -5
- package/empty-state/_empty-state-theme.scss +4 -7
- package/empty-state/empty-state-tokens.scss +0 -30
- package/empty-state/empty-state.scss +0 -4
- package/esm2022/accordion/accordion-trigger.component.mjs +2 -2
- package/esm2022/accordion/accordion.component.mjs +2 -2
- package/esm2022/alert/alert.component.mjs +2 -2
- package/esm2022/badge/badge.component.mjs +2 -2
- package/esm2022/button/button.component.mjs +2 -2
- package/esm2022/button-toggle/button-toggle.component.mjs +2 -2
- package/esm2022/checkbox/checkbox.mjs +2 -2
- package/esm2022/code-block/code-block.component.mjs +2 -2
- package/esm2022/core/option/action.mjs +3 -3
- package/esm2022/core/option/optgroup.mjs +3 -3
- package/esm2022/core/option/option.mjs +3 -3
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +2 -2
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/datepicker/calendar-body.component.mjs +3 -3
- package/esm2022/datepicker/calendar-header.component.mjs +3 -3
- package/esm2022/datepicker/datepicker.component.mjs +3 -3
- package/esm2022/dl/dl.component.mjs +2 -2
- package/esm2022/dropdown/dropdown-item.component.mjs +2 -2
- package/esm2022/dropdown/dropdown.component.mjs +3 -3
- package/esm2022/empty-state/empty-state.component.mjs +2 -2
- package/esm2022/file-upload/multiple-file-upload.component.mjs +2 -2
- package/esm2022/file-upload/single-file-upload.component.mjs +2 -2
- package/esm2022/form-field/form-field.mjs +2 -2
- package/esm2022/form-field/hint.mjs +2 -2
- package/esm2022/form-field/password-hint.mjs +2 -2
- package/esm2022/list/list-selection.component.mjs +2 -2
- package/esm2022/list/list.component.mjs +2 -2
- package/esm2022/loader-overlay/loader-overlay.component.mjs +2 -2
- package/esm2022/markdown/markdown.component.mjs +34 -20
- package/esm2022/markdown/markdown.module.mjs +8 -9
- package/esm2022/markdown/markdown.service.mjs +5 -3
- package/esm2022/markdown/markdown.values.mjs +5 -1
- package/esm2022/modal/modal.component.mjs +2 -2
- package/esm2022/navbar/navbar.component.mjs +2 -2
- package/esm2022/navbar/vertical-navbar.component.mjs +2 -2
- package/esm2022/popover/popover-confirm.component.mjs +3 -3
- package/esm2022/popover/popover.component.mjs +3 -3
- package/esm2022/progress-bar/progress-bar.component.mjs +2 -2
- package/esm2022/progress-spinner/progress-spinner.component.mjs +2 -2
- package/esm2022/radio/radio.component.mjs +2 -2
- package/esm2022/risk-level/risk-level.component.mjs +2 -2
- package/esm2022/select/select.component.mjs +4 -4
- package/esm2022/sidepanel/sidepanel-container.component.mjs +3 -3
- package/esm2022/table/table.component.mjs +2 -2
- package/esm2022/tabs/tab-group.component.mjs +2 -2
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +2 -2
- package/esm2022/tags/tag-list.component.mjs +2 -2
- package/esm2022/timezone/timezone-option.component.mjs +2 -2
- package/esm2022/timezone/timezone-select.component.mjs +2 -2
- package/esm2022/toast/toast.component.mjs +3 -3
- package/esm2022/toggle/toggle.component.mjs +3 -3
- package/esm2022/tooltip/tooltip.component.mjs +3 -3
- package/esm2022/tree/padding.directive.mjs +2 -2
- package/esm2022/tree/toggle.mjs +2 -2
- package/esm2022/tree/tree-option.component.mjs +2 -2
- package/esm2022/tree/tree-selection.component.mjs +2 -2
- package/esm2022/tree/tree.mjs +2 -2
- package/esm2022/tree-select/tree-select.component.mjs +4 -4
- package/fesm2022/koobiq-components-accordion.mjs +4 -4
- package/fesm2022/koobiq-components-accordion.mjs.map +1 -1
- package/fesm2022/koobiq-components-alert.mjs +2 -2
- package/fesm2022/koobiq-components-alert.mjs.map +1 -1
- package/fesm2022/koobiq-components-badge.mjs +2 -2
- package/fesm2022/koobiq-components-badge.mjs.map +1 -1
- package/fesm2022/koobiq-components-button-toggle.mjs +2 -2
- package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-button.mjs +2 -2
- package/fesm2022/koobiq-components-button.mjs.map +1 -1
- package/fesm2022/koobiq-components-checkbox.mjs +2 -2
- package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
- package/fesm2022/koobiq-components-code-block.mjs +2 -2
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +9 -9
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +6 -6
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-dl.mjs +2 -2
- package/fesm2022/koobiq-components-dl.mjs.map +1 -1
- package/fesm2022/koobiq-components-dropdown.mjs +4 -4
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-empty-state.mjs +2 -2
- package/fesm2022/koobiq-components-empty-state.mjs.map +1 -1
- package/fesm2022/koobiq-components-file-upload.mjs +4 -4
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +6 -6
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +4 -4
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-loader-overlay.mjs +2 -2
- package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
- package/fesm2022/koobiq-components-markdown.mjs +49 -30
- package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +2 -2
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +4 -4
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +4 -4
- package/fesm2022/koobiq-components-popover.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-bar.mjs +2 -2
- package/fesm2022/koobiq-components-progress-bar.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 +2 -2
- package/fesm2022/koobiq-components-radio.mjs.map +1 -1
- package/fesm2022/koobiq-components-risk-level.mjs +2 -2
- package/fesm2022/koobiq-components-risk-level.mjs.map +1 -1
- package/fesm2022/koobiq-components-select.mjs +4 -4
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidepanel.mjs +2 -2
- package/fesm2022/koobiq-components-sidepanel.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 +4 -4
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +2 -2
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-timezone.mjs +4 -4
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-toast.mjs +2 -2
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/fesm2022/koobiq-components-toggle.mjs +2 -2
- package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-tooltip.mjs +2 -2
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +4 -4
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +10 -10
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/file-upload/_file-upload-theme.scss +6 -10
- package/file-upload/file-upload-tokens.scss +0 -39
- package/file-upload/multiple-file-upload.component.scss +10 -13
- package/form-field/_form-field-theme.scss +2 -7
- package/form-field/_hint-theme.scss +2 -6
- package/form-field/cleaner.scss +0 -5
- package/form-field/form-field-tokens.scss +1 -17
- package/form-field/form-field.scss +0 -3
- package/form-field/hint-tokens.scss +0 -14
- package/form-field/password-toggle.scss +0 -5
- package/form-field/stepper.scss +0 -5
- package/icon/_icon-button-theme.scss +0 -5
- package/icon/_icon-item-theme.scss +0 -2
- package/icon/icon-button.scss +0 -3
- package/icon/icon-item.scss +0 -3
- package/icon/icon.scss +0 -3
- package/input/_input-theme.scss +1 -1
- package/input/input-tokens.scss +0 -7
- package/input/input.scss +2 -5
- package/link/_link-theme.scss +3 -3
- package/link/link-tokens.scss +0 -21
- package/list/_list-theme.scss +2 -2
- package/list/list-tokens.scss +0 -28
- package/list/list.scss +0 -3
- package/loader-overlay/_loader-overlay-theme.scss +4 -4
- package/loader-overlay/loader-overlay-tokens.scss +0 -34
- package/loader-overlay/loader-overlay.scss +1 -0
- package/markdown/_markdown-theme.scss +19 -19
- package/markdown/markdown-tokens.scss +3 -112
- package/markdown/markdown.component.d.ts +17 -10
- package/markdown/markdown.module.d.ts +1 -4
- package/markdown/markdown.service.d.ts +4 -1
- package/markdown/markdown.values.d.ts +4 -0
- package/modal/_modal-theme.scss +2 -4
- package/modal/modal-tokens.scss +0 -14
- package/modal/modal.scss +0 -3
- package/navbar/_navbar-item_horizontal.scss +0 -3
- package/navbar/_navbar-item_vertical.scss +0 -4
- package/navbar/navbar-brand.scss +0 -5
- package/navbar/navbar-tokens.scss +1 -1
- package/package.json +4 -5
- package/popover/_popover-theme.scss +2 -2
- package/popover/popover-tokens.scss +0 -15
- package/popover/popover.scss +1 -1
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/prebuilt-themes/theme.css +1 -1
- package/progress-bar/_progress-bar-theme.scss +2 -2
- package/progress-bar/progress-bar-tokens.scss +0 -14
- package/progress-spinner/_progress-spinner-theme.scss +2 -2
- package/progress-spinner/progress-spinner-tokens.scss +0 -14
- package/radio/_radio-theme.scss +4 -4
- package/radio/radio-tokens.scss +5 -30
- package/radio/radio.scss +2 -2
- package/risk-level/_risk-level-theme.scss +1 -5
- package/risk-level/risk-level-tokens.scss +0 -7
- package/schematics/ng-add/index.js +2 -4
- package/select/_select-theme.scss +4 -4
- package/select/select-tokens.scss +1 -18
- package/select/select.scss +2 -2
- package/sidepanel/_sidepanel-theme.scss +2 -2
- package/sidepanel/sidepanel-tokens.scss +0 -14
- package/table/_table-theme.scss +2 -5
- package/table/table-tokens.scss +0 -14
- package/table/table.scss +0 -3
- package/tabs/_tabs-theme.scss +1 -1
- package/tabs/tab-nav-bar/tab-nav-bar.scss +0 -3
- package/tabs/tabs-tokens.scss +0 -7
- package/tags/_tag-theme.scss +2 -2
- package/tags/tag-input-tokens.scss +0 -7
- package/tags/tag-tokens.scss +0 -14
- package/textarea/_textarea-theme.scss +1 -4
- package/textarea/textarea-tokens.scss +0 -7
- package/textarea/textarea.scss +0 -3
- package/timepicker/timepicker.scss +0 -3
- package/timezone/_timezone-option-theme.scss +4 -8
- package/timezone/timezone-option-tokens.scss +0 -45
- package/timezone/timezone-option.component.scss +0 -3
- package/timezone/timezone-select.component.scss +0 -3
- package/toast/_toast-theme.scss +2 -6
- package/toast/toast-container.component.scss +0 -3
- package/toast/toast-tokens.scss +0 -14
- package/toast/toast.component.scss +1 -4
- package/toggle/_toggle-theme.scss +6 -9
- package/toggle/toggle-tokens.scss +0 -28
- package/toggle/toggle.scss +1 -4
- package/tooltip/_tooltip-theme.scss +2 -2
- package/tooltip/tooltip-tokens.scss +0 -14
- package/tooltip/tooltip.scss +0 -3
- package/tree/_tree-theme.scss +3 -6
- package/tree/toggle.scss +0 -3
- package/tree/tree-option.scss +8 -5
- package/tree/tree-tokens.scss +0 -14
- package/tree-select/_tree-select-theme.scss +1 -5
- package/tree-select/tree-select-tokens.scss +0 -12
- package/tree-select/tree-select.scss +0 -4
- package/core/option/optgroup-tokens.scss +0 -10
- package/core/option/option-action-tokens.scss +0 -3
- package/markdown/README.md +0 -0
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
@use 'sass:meta';
|
|
2
|
-
@use 'sass:map';
|
|
3
|
-
|
|
4
1
|
@use '../core/styles/common/tokens' as *;
|
|
5
2
|
|
|
6
3
|
@use './toast-theme' as *;
|
|
@@ -31,7 +28,7 @@
|
|
|
31
28
|
margin-right: var(--kbq-toast-size-icon-margin-right);
|
|
32
29
|
|
|
33
30
|
$padding-top: var(--kbq-toast-size-content-padding-top);
|
|
34
|
-
$toast-font-title-line-height: var(--kbq-
|
|
31
|
+
$toast-font-title-line-height: var(--kbq-typography-text-normal-line-height);
|
|
35
32
|
$toast-size-icon-height: var(--kbq-toast-size-icon-height);
|
|
36
33
|
padding-top: calc($padding-top + (($toast-font-title-line-height - $toast-size-icon-height) / 2));
|
|
37
34
|
}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
@use 'sass:meta';
|
|
2
|
-
@use 'sass:map';
|
|
3
|
-
|
|
4
1
|
@use '../core/styles/common/tokens' as *;
|
|
5
2
|
|
|
6
3
|
@mixin kbq-toggle-state($type, $state-name) {
|
|
@@ -71,26 +68,26 @@
|
|
|
71
68
|
|
|
72
69
|
@mixin kbq-toggle-typography() {
|
|
73
70
|
.kbq-toggle:not(.kbq-toggle_big) {
|
|
74
|
-
@include kbq-typography-
|
|
71
|
+
@include kbq-typography-level-to-styles_css-variables(typography, text-normal);
|
|
75
72
|
|
|
76
73
|
& .kbq-hint {
|
|
77
|
-
@include kbq-typography-
|
|
74
|
+
@include kbq-typography-level-to-styles_css-variables(typography, text-compact);
|
|
78
75
|
}
|
|
79
76
|
|
|
80
77
|
& .kbq-toggle-bar-container {
|
|
81
|
-
@include kbq-css-font-variable(
|
|
78
|
+
@include kbq-css-font-variable(typography, text-compact, line-height, '');
|
|
82
79
|
}
|
|
83
80
|
}
|
|
84
81
|
|
|
85
82
|
.kbq-toggle.kbq-toggle_big {
|
|
86
|
-
@include kbq-typography-
|
|
83
|
+
@include kbq-typography-level-to-styles_css-variables(typography, text-big);
|
|
87
84
|
|
|
88
85
|
& .kbq-hint {
|
|
89
|
-
@include kbq-typography-
|
|
86
|
+
@include kbq-typography-level-to-styles_css-variables(typography, text-normal);
|
|
90
87
|
}
|
|
91
88
|
|
|
92
89
|
& .kbq-toggle-bar-container {
|
|
93
|
-
@include kbq-css-font-variable(
|
|
90
|
+
@include kbq-css-font-variable(typography, text-big, line-height, '');
|
|
94
91
|
}
|
|
95
92
|
}
|
|
96
93
|
}
|
|
@@ -7,34 +7,6 @@
|
|
|
7
7
|
--kbq-toggle-size-big-width: 28px;
|
|
8
8
|
--kbq-toggle-size-big-horizontal-content-padding: var(--kbq-size-s);
|
|
9
9
|
--kbq-toggle-size-big-vertical-content-padding: var(--kbq-size-s);
|
|
10
|
-
--kbq-toggle-font-normal-label-font-size: var(--kbq-typography-text-normal-font-size);
|
|
11
|
-
--kbq-toggle-font-normal-label-line-height: var(--kbq-typography-text-normal-line-height);
|
|
12
|
-
--kbq-toggle-font-normal-label-letter-spacing: var(--kbq-typography-text-normal-letter-spacing);
|
|
13
|
-
--kbq-toggle-font-normal-label-font-weight: var(--kbq-typography-text-normal-font-weight);
|
|
14
|
-
--kbq-toggle-font-normal-label-font-family: var(--kbq-typography-text-normal-font-family);
|
|
15
|
-
--kbq-toggle-font-normal-label-text-transform: var(--kbq-typography-text-normal-text-transform);
|
|
16
|
-
--kbq-toggle-font-normal-label-font-feature-settings: var(--kbq-typography-text-normal-font-feature-settings);
|
|
17
|
-
--kbq-toggle-font-normal-caption-font-size: var(--kbq-typography-text-compact-font-size);
|
|
18
|
-
--kbq-toggle-font-normal-caption-line-height: var(--kbq-typography-text-compact-line-height);
|
|
19
|
-
--kbq-toggle-font-normal-caption-letter-spacing: var(--kbq-typography-text-compact-letter-spacing);
|
|
20
|
-
--kbq-toggle-font-normal-caption-font-weight: var(--kbq-typography-text-compact-font-weight);
|
|
21
|
-
--kbq-toggle-font-normal-caption-font-family: var(--kbq-typography-text-compact-font-family);
|
|
22
|
-
--kbq-toggle-font-normal-caption-text-transform: var(--kbq-typography-text-compact-text-transform);
|
|
23
|
-
--kbq-toggle-font-normal-caption-font-feature-settings: var(--kbq-typography-text-compact-font-feature-settings);
|
|
24
|
-
--kbq-toggle-font-big-label-font-size: var(--kbq-typography-text-big-font-size);
|
|
25
|
-
--kbq-toggle-font-big-label-line-height: var(--kbq-typography-text-big-line-height);
|
|
26
|
-
--kbq-toggle-font-big-label-letter-spacing: var(--kbq-typography-text-big-letter-spacing);
|
|
27
|
-
--kbq-toggle-font-big-label-font-weight: var(--kbq-typography-text-big-font-weight);
|
|
28
|
-
--kbq-toggle-font-big-label-font-family: var(--kbq-typography-text-big-font-family);
|
|
29
|
-
--kbq-toggle-font-big-label-text-transform: var(--kbq-typography-text-big-text-transform);
|
|
30
|
-
--kbq-toggle-font-big-label-font-feature-settings: var(--kbq-typography-text-big-font-feature-settings);
|
|
31
|
-
--kbq-toggle-font-big-caption-font-size: var(--kbq-typography-text-normal-font-size);
|
|
32
|
-
--kbq-toggle-font-big-caption-line-height: var(--kbq-typography-text-normal-line-height);
|
|
33
|
-
--kbq-toggle-font-big-caption-letter-spacing: var(--kbq-typography-text-normal-letter-spacing);
|
|
34
|
-
--kbq-toggle-font-big-caption-font-weight: var(--kbq-typography-text-normal-font-weight);
|
|
35
|
-
--kbq-toggle-font-big-caption-font-family: var(--kbq-typography-text-normal-font-family);
|
|
36
|
-
--kbq-toggle-font-big-caption-text-transform: var(--kbq-typography-text-normal-text-transform);
|
|
37
|
-
--kbq-toggle-font-big-caption-font-feature-settings: var(--kbq-typography-text-normal-font-feature-settings);
|
|
38
10
|
}
|
|
39
11
|
|
|
40
12
|
:where(.kbq-light, .theme-light, .kbq-theme-light) {
|
package/toggle/toggle.scss
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
@use 'sass:meta';
|
|
2
|
-
@use 'sass:map';
|
|
3
|
-
|
|
4
1
|
@use '../core/styles/common/tokens' as *;
|
|
5
2
|
|
|
6
3
|
@use './toggle-theme' as *;
|
|
@@ -31,7 +28,7 @@
|
|
|
31
28
|
}
|
|
32
29
|
|
|
33
30
|
.kbq-toggle-bar-container:has(+ .kbq-toggle__content) {
|
|
34
|
-
padding-top: kbq-css-half-difference(
|
|
31
|
+
padding-top: kbq-css-half-difference(typography-text-normal-line-height, toggle-size-normal-height);
|
|
35
32
|
}
|
|
36
33
|
}
|
|
37
34
|
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
|
|
40
40
|
@mixin kbq-tooltip-typography() {
|
|
41
41
|
.kbq-tooltip {
|
|
42
|
-
@include kbq-typography-
|
|
42
|
+
@include kbq-typography-level-to-styles_css-variables(typography, text-compact);
|
|
43
43
|
|
|
44
44
|
.kbq-tooltip__header {
|
|
45
|
-
@include kbq-typography-
|
|
45
|
+
@include kbq-typography-level-to-styles_css-variables(typography, text-compact);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
}
|
|
@@ -4,20 +4,6 @@
|
|
|
4
4
|
--kbq-tooltip-size-padding-horizontal: var(--kbq-size-m);
|
|
5
5
|
--kbq-tooltip-size-padding-vertical: var(--kbq-size-s);
|
|
6
6
|
--kbq-tooltip-size-arrow-size: var(--kbq-size-m);
|
|
7
|
-
--kbq-tooltip-font-default-font-size: var(--kbq-typography-text-compact-font-size);
|
|
8
|
-
--kbq-tooltip-font-default-line-height: var(--kbq-typography-text-compact-line-height);
|
|
9
|
-
--kbq-tooltip-font-default-letter-spacing: var(--kbq-typography-text-compact-letter-spacing);
|
|
10
|
-
--kbq-tooltip-font-default-font-weight: var(--kbq-typography-text-compact-font-weight);
|
|
11
|
-
--kbq-tooltip-font-default-font-family: var(--kbq-typography-text-compact-font-family);
|
|
12
|
-
--kbq-tooltip-font-default-text-transform: var(--kbq-typography-text-compact-text-transform);
|
|
13
|
-
--kbq-tooltip-font-default-font-feature-settings: var(--kbq-typography-text-compact-font-feature-settings);
|
|
14
|
-
--kbq-tooltip-font-title-font-size: var(--kbq-typography-text-compact-font-size);
|
|
15
|
-
--kbq-tooltip-font-title-line-height: var(--kbq-typography-text-compact-line-height);
|
|
16
|
-
--kbq-tooltip-font-title-letter-spacing: var(--kbq-typography-text-compact-letter-spacing);
|
|
17
|
-
--kbq-tooltip-font-title-font-weight: var(--kbq-typography-text-compact-font-weight);
|
|
18
|
-
--kbq-tooltip-font-title-font-family: var(--kbq-typography-text-compact-font-family);
|
|
19
|
-
--kbq-tooltip-font-title-text-transform: var(--kbq-typography-text-compact-text-transform);
|
|
20
|
-
--kbq-tooltip-font-title-font-feature-settings: var(--kbq-typography-text-compact-font-feature-settings);
|
|
21
7
|
}
|
|
22
8
|
|
|
23
9
|
:where(.kbq-light, .theme-light, .kbq-theme-light) {
|
package/tooltip/tooltip.scss
CHANGED
package/tree/_tree-theme.scss
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
@use 'sass:meta';
|
|
2
|
-
@use 'sass:map';
|
|
3
|
-
|
|
4
1
|
@use '../core/styles/theming/theming' as *;
|
|
5
2
|
@use '../core/styles/typography/typography-utils' as *;
|
|
6
3
|
@use '../core/styles/common/tokens' as *;
|
|
@@ -54,7 +51,7 @@
|
|
|
54
51
|
@include kbq-tree-option(states-disabled);
|
|
55
52
|
|
|
56
53
|
& .kbq-icon {
|
|
57
|
-
|
|
54
|
+
color: var(--kbq-states-icon-disabled);
|
|
58
55
|
}
|
|
59
56
|
}
|
|
60
57
|
}
|
|
@@ -62,10 +59,10 @@
|
|
|
62
59
|
|
|
63
60
|
@mixin kbq-tree-typography() {
|
|
64
61
|
.kbq-tree-option {
|
|
65
|
-
@include kbq-typography-
|
|
62
|
+
@include kbq-typography-level-to-styles_css-variables(typography, text-normal);
|
|
66
63
|
}
|
|
67
64
|
|
|
68
65
|
.kbq-tree-option-caption {
|
|
69
|
-
@include kbq-typography-
|
|
66
|
+
@include kbq-typography-level-to-styles_css-variables(typography, text-compact);
|
|
70
67
|
}
|
|
71
68
|
}
|
package/tree/toggle.scss
CHANGED
package/tree/tree-option.scss
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
@use 'sass:meta';
|
|
2
|
-
@use 'sass:map';
|
|
3
|
-
|
|
4
1
|
@use '../core/styles/common';
|
|
5
2
|
@use '../core/styles/common/tokens' as *;
|
|
6
3
|
|
|
@@ -41,14 +38,20 @@
|
|
|
41
38
|
|
|
42
39
|
@include common.kbq-truncate-line();
|
|
43
40
|
|
|
44
|
-
padding-top: var(--kbq-list-size-text-padding-vertical);
|
|
45
|
-
padding-bottom: var(--kbq-list-size-text-padding-vertical);
|
|
41
|
+
padding-top: var(--kbq-list-size-text-padding-vertical, 0);
|
|
42
|
+
padding-bottom: var(--kbq-list-size-text-padding-vertical, 0);
|
|
46
43
|
}
|
|
47
44
|
|
|
48
45
|
&:focus {
|
|
49
46
|
outline: none;
|
|
50
47
|
}
|
|
51
48
|
|
|
49
|
+
&.kbq-disabled {
|
|
50
|
+
.kbq-icon {
|
|
51
|
+
cursor: default;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
52
55
|
&:not(.kbq-disabled) {
|
|
53
56
|
cursor: pointer;
|
|
54
57
|
}
|
package/tree/tree-tokens.scss
CHANGED
|
@@ -7,20 +7,6 @@
|
|
|
7
7
|
--kbq-tree-size-container-content-gap-vertical: 0px;
|
|
8
8
|
--kbq-tree-size-container-focus-outline-width: var(--kbq-size-3xs);
|
|
9
9
|
--kbq-tree-size-text-padding-vertical: var(--kbq-size-3xs);
|
|
10
|
-
--kbq-tree-font-text-font-size: var(--kbq-typography-text-normal-font-size);
|
|
11
|
-
--kbq-tree-font-text-line-height: var(--kbq-typography-text-normal-line-height);
|
|
12
|
-
--kbq-tree-font-text-letter-spacing: var(--kbq-typography-text-normal-letter-spacing);
|
|
13
|
-
--kbq-tree-font-text-font-weight: var(--kbq-typography-text-normal-font-weight);
|
|
14
|
-
--kbq-tree-font-text-font-family: var(--kbq-typography-text-normal-font-family);
|
|
15
|
-
--kbq-tree-font-text-text-transform: var(--kbq-typography-text-normal-text-transform);
|
|
16
|
-
--kbq-tree-font-text-font-feature-settings: var(--kbq-typography-text-normal-font-feature-settings);
|
|
17
|
-
--kbq-tree-font-caption-font-size: var(--kbq-typography-text-compact-font-size);
|
|
18
|
-
--kbq-tree-font-caption-line-height: var(--kbq-typography-text-compact-line-height);
|
|
19
|
-
--kbq-tree-font-caption-letter-spacing: var(--kbq-typography-text-compact-letter-spacing);
|
|
20
|
-
--kbq-tree-font-caption-font-weight: var(--kbq-typography-text-compact-font-weight);
|
|
21
|
-
--kbq-tree-font-caption-font-family: var(--kbq-typography-text-compact-font-family);
|
|
22
|
-
--kbq-tree-font-caption-text-transform: var(--kbq-typography-text-compact-text-transform);
|
|
23
|
-
--kbq-tree-font-caption-font-feature-settings: var(--kbq-typography-text-compact-font-feature-settings);
|
|
24
10
|
}
|
|
25
11
|
|
|
26
12
|
:where(.kbq-light, .theme-light, .kbq-theme-light) {
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
@use 'sass:meta';
|
|
2
|
-
@use 'sass:map';
|
|
3
|
-
|
|
4
|
-
@use '../core/styles/typography/typography-utils' as *;
|
|
5
1
|
@use '../core/styles/common/tokens' as *;
|
|
6
2
|
|
|
7
3
|
@mixin kbq-tree-select-theme() {
|
|
@@ -36,6 +32,6 @@
|
|
|
36
32
|
@mixin kbq-tree-select-typography() {
|
|
37
33
|
.kbq-tree-select,
|
|
38
34
|
.kbq-tree-select__panel {
|
|
39
|
-
@include kbq-typography-
|
|
35
|
+
@include kbq-typography-level-to-styles_css-variables(typography, text-normal);
|
|
40
36
|
}
|
|
41
37
|
}
|
|
@@ -1,15 +1,3 @@
|
|
|
1
|
-
.kbq-tree-select {
|
|
2
|
-
--kbq-select-panel-size-border-radius: var(--kbq-size-s);
|
|
3
|
-
--kbq-select-panel-size-max-height: 256px;
|
|
4
|
-
--kbq-select-panel-font-default-font-size: var(--kbq-typography-text-normal-font-size);
|
|
5
|
-
--kbq-select-panel-font-default-line-height: var(--kbq-typography-text-normal-line-height);
|
|
6
|
-
--kbq-select-panel-font-default-letter-spacing: var(--kbq-typography-text-normal-letter-spacing);
|
|
7
|
-
--kbq-select-panel-font-default-font-weight: var(--kbq-typography-text-normal-font-weight);
|
|
8
|
-
--kbq-select-panel-font-default-font-family: var(--kbq-typography-text-normal-font-family);
|
|
9
|
-
--kbq-select-panel-font-default-text-transform: var(--kbq-typography-text-normal-text-transform);
|
|
10
|
-
--kbq-select-panel-font-default-font-feature-settings: var(--kbq-typography-text-normal-font-feature-settings);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
1
|
:where(.kbq-light, .theme-light, .kbq-theme-light) {
|
|
14
2
|
--kbq-select-panel-dropdown-background: var(--kbq-background-card);
|
|
15
3
|
--kbq-select-panel-dropdown-shadow: var(--kbq-shadow-popup);
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
.kbq-optgroup {
|
|
2
|
-
--kbq-optgroup-size-padding-left: 17px;
|
|
3
|
-
--kbq-optgroup-font-default-font-size: var(--kbq-typography-subheading-font-size);
|
|
4
|
-
--kbq-optgroup-font-default-line-height: var(--kbq-typography-subheading-line-height);
|
|
5
|
-
--kbq-optgroup-font-default-letter-spacing: var(--kbq-typography-subheading-letter-spacing);
|
|
6
|
-
--kbq-optgroup-font-default-font-weight: var(--kbq-typography-subheading-font-weight);
|
|
7
|
-
--kbq-optgroup-font-default-font-family: var(--kbq-typography-subheading-font-family);
|
|
8
|
-
--kbq-optgroup-font-default-text-transform: var(--kbq-typography-subheading-text-transform);
|
|
9
|
-
--kbq-optgroup-font-default-font-feature-settings: var(--kbq-typography-subheading-font-feature-settings);
|
|
10
|
-
}
|
package/markdown/README.md
DELETED
|
File without changes
|