@koobiq/components 18.1.0 → 18.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/README.md +0 -0
- package/accordion/_accordion-theme.scss +62 -0
- package/accordion/accordion-content.d.ts +6 -0
- package/accordion/accordion-header.d.ts +6 -0
- package/accordion/accordion-item.d.ts +6 -0
- package/accordion/accordion-tokens.scss +45 -0
- package/accordion/accordion-trigger.component.d.ts +11 -0
- package/accordion/accordion-trigger.component.scss +79 -0
- package/accordion/accordion.component.d.ts +20 -0
- package/accordion/accordion.component.scss +66 -0
- package/accordion/accordion.module.d.ts +12 -0
- package/accordion/index.d.ts +1 -0
- package/accordion/public-api.d.ts +6 -0
- package/alert/_alert-theme.scss +3 -3
- package/alert/alert-tokens.scss +3 -3
- package/alert/alert.component.scss +40 -39
- package/autocomplete/_autocomplete-theme.scss +2 -2
- package/autocomplete/autocomplete.scss +6 -6
- package/badge/_badge-theme.scss +5 -5
- package/badge/badge.component.scss +16 -16
- package/button/_button-base.scss +6 -6
- package/button/_button-theme.scss +11 -11
- package/button/button.dropdown-trigger.directive.d.ts +14 -0
- package/button/button.module.d.ts +2 -1
- package/button/button.scss +8 -8
- package/button/public-api.d.ts +1 -0
- package/button-toggle/_button-toggle-theme.scss +5 -5
- package/button-toggle/button-toggle.scss +11 -11
- package/checkbox/_checkbox-theme.scss +22 -22
- package/checkbox/checkbox-tokens.scss +2 -2
- package/checkbox/checkbox.scss +16 -16
- package/code-block/_code-block-theme.scss +15 -15
- package/code-block/actionbar.component.scss +4 -4
- package/code-block/code-block.scss +18 -19
- package/core/forms/_forms-theme.scss +2 -2
- package/core/forms/_forms.scss +12 -12
- package/core/option/_optgroup-theme.scss +2 -2
- package/core/option/_option-action-theme.scss +6 -6
- package/core/option/_option-theme.scss +5 -5
- package/core/option/action.scss +2 -2
- package/core/option/optgroup.scss +1 -1
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +8 -8
- package/core/selection/pseudo-checkbox/pseudo-checkbox-tokens.scss +2 -2
- package/core/selection/pseudo-checkbox/pseudo-checkbox.scss +8 -8
- package/core/styles/common/_groups.scss +4 -4
- package/core/styles/common/_list.scss +19 -19
- package/core/styles/common/_popup.scss +3 -3
- package/core/styles/common/_select.scss +13 -13
- package/core/styles/common/_tokens.scss +8 -19
- package/core/styles/theming/_scrollbar-theme.scss +11 -11
- package/core/styles/visual/_layout.scss +13 -13
- package/datepicker/_datepicker-theme.scss +15 -15
- package/datepicker/calendar-body.scss +2 -2
- package/datepicker/calendar-header.scss +3 -3
- package/datepicker/calendar.scss +6 -6
- package/datepicker/datepicker-content.scss +4 -4
- package/datepicker/datepicker-toggle.scss +2 -2
- package/divider/_divider-theme.scss +1 -1
- package/divider/divider.scss +6 -6
- package/dl/_dl-theme.scss +2 -2
- package/dl/dl.scss +4 -4
- package/dropdown/_dropdown-theme.scss +7 -7
- package/dropdown/dropdown-item.scss +2 -2
- package/dropdown/dropdown.scss +5 -5
- package/empty-state/_empty-state-theme.scss +4 -4
- package/empty-state/empty-state.scss +18 -20
- package/esm2022/accordion/accordion-content.mjs +19 -0
- package/esm2022/accordion/accordion-header.mjs +19 -0
- package/esm2022/accordion/accordion-item.mjs +25 -0
- package/esm2022/accordion/accordion-trigger.component.mjs +60 -0
- package/esm2022/accordion/accordion.component.mjs +40 -0
- package/esm2022/accordion/accordion.module.mjs +44 -0
- package/esm2022/accordion/index.mjs +2 -0
- package/esm2022/accordion/koobiq-components-accordion.mjs +5 -0
- package/esm2022/accordion/public-api.mjs +7 -0
- package/esm2022/alert/alert.component.mjs +2 -2
- package/esm2022/autocomplete/autocomplete.component.mjs +2 -2
- package/esm2022/badge/badge.component.mjs +2 -2
- package/esm2022/button/button.component.mjs +2 -2
- package/esm2022/button/button.dropdown-trigger.directive.mjs +28 -0
- package/esm2022/button/button.module.mjs +10 -5
- package/esm2022/button/public-api.mjs +2 -1
- package/esm2022/button-toggle/button-toggle.component.mjs +2 -2
- package/esm2022/checkbox/checkbox.mjs +2 -2
- package/esm2022/code-block/actionbar.component.mjs +2 -2
- package/esm2022/code-block/code-block.component.mjs +2 -2
- package/esm2022/core/option/action.mjs +2 -2
- package/esm2022/core/option/optgroup.mjs +2 -2
- package/esm2022/core/option/option.mjs +2 -2
- 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 +2 -2
- package/esm2022/datepicker/calendar-header.component.mjs +2 -2
- package/esm2022/datepicker/calendar.component.mjs +2 -2
- package/esm2022/datepicker/datepicker-toggle.component.mjs +2 -2
- package/esm2022/datepicker/datepicker.component.mjs +3 -3
- package/esm2022/divider/divider.component.mjs +2 -2
- 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/cleaner.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/form-field/password-toggle.mjs +2 -2
- package/esm2022/form-field/stepper.mjs +2 -2
- package/esm2022/icon/icon-button.component.mjs +2 -2
- package/esm2022/icon/icon-item.component.mjs +2 -2
- package/esm2022/icon/icon.component.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 +2 -2
- package/esm2022/modal/modal.component.mjs +5 -7
- package/esm2022/navbar/navbar-item.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/scrollbar/scrollbar.component.mjs +3 -3
- package/esm2022/select/select.component.mjs +3 -3
- package/esm2022/sidepanel/sidepanel-container.component.mjs +3 -3
- package/esm2022/splitter/splitter.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-header.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/tags/tag.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-container.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/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 +3 -3
- package/fesm2022/koobiq-components-accordion.mjs +189 -0
- package/fesm2022/koobiq-components-accordion.mjs.map +1 -0
- package/fesm2022/koobiq-components-alert.mjs +2 -2
- package/fesm2022/koobiq-components-alert.mjs.map +1 -1
- package/fesm2022/koobiq-components-autocomplete.mjs +2 -2
- package/fesm2022/koobiq-components-autocomplete.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 +38 -8
- 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 +4 -4
- 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 +10 -10
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-divider.mjs +2 -2
- package/fesm2022/koobiq-components-divider.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 +12 -12
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +6 -6
- package/fesm2022/koobiq-components-icon.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 +2 -2
- package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +4 -6
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +6 -6
- 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-scrollbar.mjs +2 -2
- package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-select.mjs +2 -2
- 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-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 +6 -6
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +4 -4
- 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 +4 -4
- 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 +2 -2
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +8 -8
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/file-upload/_file-upload-theme.scss +27 -29
- package/file-upload/multiple-file-upload.component.scss +26 -26
- package/file-upload/single-file-upload.component.scss +8 -8
- package/form-field/_form-field-theme.scss +14 -14
- package/form-field/_hint-theme.scss +2 -2
- package/form-field/cleaner.scss +2 -2
- package/form-field/form-field.scss +10 -10
- package/form-field/hint.scss +4 -4
- package/form-field/password-toggle.scss +2 -2
- package/form-field/stepper.scss +3 -3
- package/icon/_icon-button-theme.scss +26 -26
- package/icon/_icon-item-theme.scss +2 -2
- package/icon/_icon-theme.scss +6 -6
- package/icon/icon-button.scss +2 -4
- package/icon/icon-item.scss +2 -4
- package/input/input.scss +2 -2
- package/link/_link-theme.scss +11 -11
- package/list/_list-theme.scss +6 -6
- package/list/list.scss +1 -1
- package/loader-overlay/_loader-overlay-theme.scss +6 -6
- package/loader-overlay/loader-overlay.scss +8 -8
- package/markdown/_markdown-theme.scss +27 -27
- package/markdown/markdown-tokens.scss +17 -17
- package/markdown/markdown.scss +29 -29
- package/modal/_modal-confirm.scss +1 -1
- package/modal/_modal-theme.scss +9 -12
- package/modal/modal.scss +12 -13
- package/navbar/_navbar-item_horizontal.scss +20 -20
- package/navbar/_navbar-item_vertical.scss +28 -28
- package/navbar/_navbar-theme.scss +8 -8
- package/navbar/navbar-brand.scss +23 -23
- package/navbar/navbar-divider.scss +3 -3
- package/navbar/navbar-item.scss +6 -6
- package/navbar/navbar.scss +1 -1
- package/navbar/vertical-navbar.scss +2 -2
- package/package.json +13 -6
- package/popover/_popover-theme.scss +7 -7
- package/popover/popover.scss +17 -18
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/prebuilt-themes/theme.css +1 -1
- package/progress-bar/_progress-bar-theme.scss +4 -4
- package/progress-bar/progress-bar.scss +5 -5
- package/progress-spinner/_progress-spinner-theme.scss +3 -3
- package/progress-spinner/progress-spinner.scss +7 -7
- package/radio/_radio-theme.scss +9 -9
- package/radio/radio.scss +14 -14
- package/risk-level/_risk-level-theme.scss +5 -5
- package/risk-level/risk-level.component.scss +3 -3
- package/schematics/ng-add/index.js +21 -4
- package/scrollbar/_scrollbar-component-theme.scss +12 -12
- package/scrollbar/scrollbar.component.scss +6 -6
- package/select/_select-theme.scss +9 -9
- package/select/select.scss +2 -2
- package/sidepanel/_sidepanel-theme.scss +4 -4
- package/sidepanel/sidepanel.scss +14 -16
- package/splitter/_splitter-theme.scss +1 -1
- package/table/_table-theme.scss +5 -5
- package/table/table.scss +12 -12
- package/tabs/_tabs-common.scss +3 -3
- package/tabs/_tabs-theme.scss +13 -13
- package/tabs/tab-group.scss +1 -1
- package/tabs/tab-header.scss +3 -2
- package/tabs/tab-nav-bar/tab-nav-bar.scss +1 -1
- package/tags/_tag-theme.scss +5 -5
- package/tags/tag-list.scss +5 -5
- package/tags/tag.scss +4 -4
- package/textarea/textarea.scss +2 -2
- package/timepicker/timepicker.scss +1 -1
- package/timezone/_timezone-option-theme.scss +3 -3
- package/timezone/timezone-option.component.scss +4 -4
- package/timezone/timezone-select.component.scss +1 -1
- package/toast/_toast-theme.scss +4 -4
- package/toast/toast-container.component.scss +3 -3
- package/toast/toast.component.scss +21 -21
- package/toggle/_toggle-theme.scss +8 -8
- package/toggle/toggle.scss +8 -8
- package/tooltip/_tooltip-theme.scss +5 -5
- package/tooltip/tooltip.scss +7 -7
- package/tree/_tree-theme.scss +6 -6
- package/tree/toggle.scss +2 -2
- package/tree/tree-option.scss +4 -4
- package/tree-select/_tree-select-theme.scss +7 -7
|
@@ -11,111 +11,111 @@
|
|
|
11
11
|
|
|
12
12
|
// FIXME: move to unified mixin
|
|
13
13
|
&.kbq-theme {
|
|
14
|
-
color: kbq-
|
|
14
|
+
color: var(--kbq-icon-button-theme-default);
|
|
15
15
|
|
|
16
16
|
&:active,
|
|
17
17
|
&.kbq-active {
|
|
18
|
-
color: kbq-
|
|
18
|
+
color: var(--kbq-icon-button-theme-states-active);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
&:not(.kbq-disabled):hover {
|
|
22
|
-
color: kbq-
|
|
22
|
+
color: var(--kbq-icon-button-theme-states-hover);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
&.kbq-disabled {
|
|
26
|
-
color: kbq-
|
|
26
|
+
color: var(--kbq-icon-button-theme-states-disabled);
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
&.kbq-contrast {
|
|
31
|
-
color: kbq-
|
|
31
|
+
color: var(--kbq-icon-button-contrast-default);
|
|
32
32
|
|
|
33
33
|
&:active,
|
|
34
34
|
&.kbq-active {
|
|
35
|
-
color: kbq-
|
|
35
|
+
color: var(--kbq-icon-button-contrast-states-active);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
&:not(.kbq-disabled):hover {
|
|
39
|
-
color: kbq-
|
|
39
|
+
color: var(--kbq-icon-button-contrast-states-hover);
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
&.kbq-disabled {
|
|
43
|
-
color: kbq-
|
|
43
|
+
color: var(--kbq-icon-button-contrast-states-disabled);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
&.kbq-contrast-fade {
|
|
48
|
-
color: kbq-
|
|
48
|
+
color: var(--kbq-icon-button-fade-contrast-default);
|
|
49
49
|
|
|
50
50
|
&:active,
|
|
51
51
|
&.kbq-active {
|
|
52
|
-
color: kbq-
|
|
52
|
+
color: var(--kbq-icon-button-fade-contrast-states-active);
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
&:not(.kbq-disabled):hover {
|
|
56
|
-
color: kbq-
|
|
56
|
+
color: var(--kbq-icon-button-fade-contrast-states-hover);
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
&.kbq-disabled {
|
|
60
|
-
color: kbq-
|
|
60
|
+
color: var(--kbq-icon-button-fade-contrast-states-disabled);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
&.kbq-error {
|
|
65
|
-
color: kbq-
|
|
65
|
+
color: var(--kbq-icon-button-error-default);
|
|
66
66
|
|
|
67
67
|
&:active,
|
|
68
68
|
&.kbq-active {
|
|
69
|
-
color: kbq-
|
|
69
|
+
color: var(--kbq-icon-button-error-states-active);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
&:not(.kbq-disabled):hover {
|
|
73
|
-
color: kbq-
|
|
73
|
+
color: var(--kbq-icon-button-error-states-hover);
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
&.kbq-disabled {
|
|
77
|
-
color: kbq-
|
|
77
|
+
color: var(--kbq-icon-button-error-states-disabled);
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
&.kbq-success {
|
|
82
|
-
color: kbq-
|
|
82
|
+
color: var(--kbq-icon-button-success-default);
|
|
83
83
|
|
|
84
84
|
&:active,
|
|
85
85
|
&.kbq-active {
|
|
86
|
-
color: kbq-
|
|
86
|
+
color: var(--kbq-icon-button-success-states-active);
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
&:not(.kbq-disabled):hover {
|
|
90
|
-
color: kbq-
|
|
90
|
+
color: var(--kbq-icon-button-success-states-hover);
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
&.kbq-disabled {
|
|
94
|
-
color: kbq-
|
|
94
|
+
color: var(--kbq-icon-button-success-states-disabled);
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
&.kbq-warning {
|
|
99
|
-
color: kbq-
|
|
99
|
+
color: var(--kbq-icon-button-warning-default);
|
|
100
100
|
|
|
101
101
|
&:active,
|
|
102
102
|
&.kbq-active {
|
|
103
|
-
color: kbq-
|
|
103
|
+
color: var(--kbq-icon-button-warning-states-active);
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
&:not(.kbq-disabled):hover {
|
|
107
|
-
color: kbq-
|
|
107
|
+
color: var(--kbq-icon-button-warning-states-hover);
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
&.kbq-disabled {
|
|
111
|
-
color: kbq-
|
|
111
|
+
color: var(--kbq-icon-button-warning-states-disabled);
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
&.cdk-keyboard-focused {
|
|
116
116
|
box-shadow:
|
|
117
|
-
inset 0 0 0.1px 1px kbq-
|
|
118
|
-
0 0 0.1px 1px kbq-
|
|
117
|
+
inset 0 0 0.1px 1px var(--kbq-states-focused-color),
|
|
118
|
+
0 0 0.1px 1px var(--kbq-states-focused-color);
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
}
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
@mixin kbq-icon-item-style($type, $style-name) {
|
|
7
7
|
$base: icon-item-filled-#{$type}-#{$style-name};
|
|
8
8
|
|
|
9
|
-
color: kbq
|
|
10
|
-
background: kbq
|
|
9
|
+
color: var(--kbq-#{$base}-color);
|
|
10
|
+
background: var(--kbq-#{$base}-background);
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
@mixin kbq-icon-item-theme() {
|
package/icon/_icon-theme.scss
CHANGED
|
@@ -3,27 +3,27 @@
|
|
|
3
3
|
@mixin kbq-icon-theme() {
|
|
4
4
|
.kbq-icon:not(.kbq-icon-button, .kbq-icon-item) {
|
|
5
5
|
&.kbq-theme {
|
|
6
|
-
color: kbq-
|
|
6
|
+
color: var(--kbq-icon-theme-color);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
&.kbq-contrast {
|
|
10
|
-
color: kbq-
|
|
10
|
+
color: var(--kbq-icon-contrast-color);
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
&.kbq-contrast-fade {
|
|
14
|
-
color: kbq-
|
|
14
|
+
color: var(--kbq-icon-fade-contrast-color);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
&.kbq-error {
|
|
18
|
-
color: kbq-
|
|
18
|
+
color: var(--kbq-icon-error-color);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
&.kbq-warning {
|
|
22
|
-
color: kbq-
|
|
22
|
+
color: var(--kbq-icon-warning-color);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
&.kbq-success {
|
|
26
|
-
color: kbq-
|
|
26
|
+
color: var(--kbq-icon-success-color);
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
}
|
package/icon/icon-button.scss
CHANGED
|
@@ -10,12 +10,10 @@
|
|
|
10
10
|
cursor: pointer;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
padding: kbq-
|
|
14
|
-
kbq-css-variable(icon-button-size-normal-horizontal-padding);
|
|
13
|
+
padding: var(--kbq-icon-button-size-normal-vertical-padding) var(--kbq-icon-button-size-normal-horizontal-padding);
|
|
15
14
|
|
|
16
15
|
&.kbq-icon-button_small {
|
|
17
|
-
padding: kbq-
|
|
18
|
-
kbq-css-variable(icon-button-size-small-horizontal-padding);
|
|
16
|
+
padding: var(--kbq-icon-button-size-small-vertical-padding) var(--kbq-icon-button-size-small-horizontal-padding);
|
|
19
17
|
}
|
|
20
18
|
}
|
|
21
19
|
|
package/icon/icon-item.scss
CHANGED
|
@@ -11,13 +11,11 @@
|
|
|
11
11
|
border-radius: 50%;
|
|
12
12
|
|
|
13
13
|
&.kbq-icon-item_normal {
|
|
14
|
-
padding: kbq-
|
|
15
|
-
kbq-css-variable(icon-item-size-normal-horizontal-padding);
|
|
14
|
+
padding: var(--kbq-icon-item-size-normal-vertical-padding) var(--kbq-icon-item-size-normal-horizontal-padding);
|
|
16
15
|
}
|
|
17
16
|
|
|
18
17
|
&.kbq-icon-item_big {
|
|
19
|
-
padding: kbq-
|
|
20
|
-
kbq-css-variable(icon-item-size-big-horizontal-padding);
|
|
18
|
+
padding: var(--kbq-icon-item-size-big-vertical-padding) var(--kbq-icon-item-size-big-horizontal-padding);
|
|
21
19
|
}
|
|
22
20
|
}
|
|
23
21
|
|
package/input/input.scss
CHANGED
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
width: 100%;
|
|
15
15
|
min-height: kbq-difference-series-css-variables(
|
|
16
16
|
[form-field-size-height,
|
|
17
|
-
calc(kbq-
|
|
17
|
+
calc(var(--kbq-form-field-size-border-width) * 2)]
|
|
18
18
|
);
|
|
19
19
|
|
|
20
20
|
padding: kbq-difference-series-css-variables([input-size-padding-vertical, form-field-size-border-width])
|
|
21
|
-
kbq-
|
|
21
|
+
var(--kbq-input-size-padding-horizontal);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
input.kbq-input[type='number'] {
|
package/link/_link-theme.scss
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
text-decoration: none;
|
|
9
9
|
cursor: pointer;
|
|
10
10
|
|
|
11
|
-
outline-offset: kbq-
|
|
11
|
+
outline-offset: var(--kbq-link-size-state-focused-outline-offset);
|
|
12
12
|
|
|
13
13
|
&:focus {
|
|
14
14
|
outline: none;
|
|
@@ -23,22 +23,22 @@
|
|
|
23
23
|
|
|
24
24
|
&.kbq-text-with-icon .kbq-link__text {
|
|
25
25
|
&:not(:first-child) {
|
|
26
|
-
margin-left: kbq-
|
|
26
|
+
margin-left: var(--kbq-link-size-normal-content-padding);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
&:not(:last-child) {
|
|
30
|
-
margin-right: kbq-
|
|
30
|
+
margin-right: var(--kbq-link-size-normal-content-padding);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
&.kbq-link_compact {
|
|
35
35
|
&.kbq-text-with-icon .kbq-link__text {
|
|
36
36
|
&:not(:first-child) {
|
|
37
|
-
margin-left: kbq-
|
|
37
|
+
margin-left: var(--kbq-link-size-compact-content-padding);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
&:not(:last-child) {
|
|
41
|
-
margin-right: kbq-
|
|
41
|
+
margin-right: var(--kbq-link-size-compact-content-padding);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
}
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
&.kbq-link_big {
|
|
47
47
|
&.kbq-text-with-icon .kbq-link__text {
|
|
48
48
|
&:not(:first-child) {
|
|
49
|
-
margin-left: kbq-
|
|
49
|
+
margin-left: var(--kbq-link-size-big-content-padding);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
&:not(:last-child) {
|
|
53
|
-
margin-right: kbq-
|
|
53
|
+
margin-right: var(--kbq-link-size-big-content-padding);
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -72,16 +72,16 @@
|
|
|
72
72
|
$base-path: link-#{$state-name};
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
color: kbq
|
|
75
|
+
color: var(--kbq-#{$base-path}-text);
|
|
76
76
|
|
|
77
77
|
&.kbq-text-only,
|
|
78
78
|
&.kbq-text-with-icon .kbq-link__text,
|
|
79
79
|
&.kbq-text-with-dot .kbq-link__text {
|
|
80
|
-
border-bottom-color: kbq
|
|
80
|
+
border-bottom-color: var(--kbq-#{$base-path}-border-bottom);
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
& .kbq-icon {
|
|
84
|
-
color: kbq
|
|
84
|
+
color: var(--kbq-#{$base-path}-text) !important;
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
&.cdk-keyboard-focused {
|
|
121
|
-
outline: kbq-
|
|
121
|
+
outline: var(--kbq-link-state-focused-outline) solid;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
&.kbq-disabled {
|
package/list/_list-theme.scss
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
@use '../core/styles/common/tokens' as *;
|
|
2
2
|
|
|
3
3
|
@mixin kbq-list-item($state-name) {
|
|
4
|
-
background: kbq-
|
|
4
|
+
background: var(--kbq-list-#{$state-name}-container-background);
|
|
5
5
|
|
|
6
6
|
.kbq-list-text {
|
|
7
|
-
color: kbq-
|
|
7
|
+
color: var(--kbq-list-#{$state-name}-text-color);
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.kbq-icon {
|
|
11
|
-
color: kbq-
|
|
11
|
+
color: var(--kbq-list-#{$state-name}-icon-color);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.kbq-option-action .kbq-icon {
|
|
15
|
-
color: kbq-
|
|
15
|
+
color: var(--kbq-list-#{$state-name}-icon-button-color);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.kbq-list-option-caption {
|
|
19
|
-
color: kbq-
|
|
19
|
+
color: var(--kbq-list-#{$state-name}-caption-color);
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
&.kbq-focused {
|
|
32
|
-
border-color: kbq-
|
|
32
|
+
border-color: var(--kbq-list-states-focused-focus-outline-color);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
&.kbq-selected {
|
package/list/list.scss
CHANGED
|
@@ -4,29 +4,29 @@
|
|
|
4
4
|
// FIXME: move to unified mixin if necessary
|
|
5
5
|
.kbq-loader-overlay_filled {
|
|
6
6
|
&.kbq-loader-overlay {
|
|
7
|
-
background: kbq-
|
|
7
|
+
background: var(--kbq-loader-overlay-filled-overlay-background);
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
& .kbq-loader-overlay-text {
|
|
11
|
-
color: kbq-
|
|
11
|
+
color: var(--kbq-loader-overlay-filled-text-color);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
& .kbq-loader-overlay-caption {
|
|
15
|
-
color: kbq-
|
|
15
|
+
color: var(--kbq-loader-overlay-filled-caption-color);
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
.kbq-loader-overlay_transparent {
|
|
20
20
|
&.kbq-loader-overlay {
|
|
21
|
-
background: kbq-
|
|
21
|
+
background: var(--kbq-loader-overlay-transparent-overlay-background);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
& .kbq-loader-overlay-text {
|
|
25
|
-
color: kbq-
|
|
25
|
+
color: var(--kbq-loader-overlay-transparent-text-color);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
& .kbq-loader-overlay-caption {
|
|
29
|
-
color: kbq-
|
|
29
|
+
color: var(--kbq-loader-overlay-transparent-caption-color);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -41,30 +41,30 @@
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
&.kbq-loader-overlay_big {
|
|
44
|
-
padding-left: kbq-
|
|
44
|
+
padding-left: var(--kbq-loader-overlay-size-big-overlay-padding-horizontal);
|
|
45
45
|
|
|
46
|
-
padding-right: kbq-
|
|
46
|
+
padding-right: var(--kbq-loader-overlay-size-big-overlay-padding-horizontal);
|
|
47
47
|
|
|
48
48
|
& .kbq-progress-spinner {
|
|
49
|
-
margin-bottom: kbq-
|
|
49
|
+
margin-bottom: var(--kbq-loader-overlay-size-big-loader-margin-bottom);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
& .kbq-loader-overlay-text {
|
|
53
|
-
margin-bottom: kbq-
|
|
53
|
+
margin-bottom: var(--kbq-loader-overlay-size-big-content-content-gap-vertical);
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
&.kbq-loader-overlay_compact {
|
|
58
|
-
padding-left: kbq-
|
|
58
|
+
padding-left: var(--kbq-loader-overlay-size-compact-overlay-padding-horizontal);
|
|
59
59
|
|
|
60
|
-
padding-right: kbq-
|
|
60
|
+
padding-right: var(--kbq-loader-overlay-size-compact-overlay-padding-horizontal);
|
|
61
61
|
|
|
62
62
|
& .kbq-progress-spinner {
|
|
63
|
-
margin-bottom: kbq-
|
|
63
|
+
margin-bottom: var(--kbq-loader-overlay-size-compact-loader-margin-bottom);
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
& .kbq-loader-overlay-text {
|
|
67
|
-
margin-bottom: kbq-
|
|
67
|
+
margin-bottom: var(--kbq-loader-overlay-size-compact-content-content-gap-vertical);
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
}
|
|
@@ -4,81 +4,81 @@
|
|
|
4
4
|
|
|
5
5
|
@mixin kbq-markdown-theme() {
|
|
6
6
|
.kbq-markdown {
|
|
7
|
-
color: kbq-
|
|
8
|
-
background: kbq-
|
|
7
|
+
color: var(--kbq-foreground-contrast);
|
|
8
|
+
background: var(--kbq-background-bg);
|
|
9
9
|
|
|
10
10
|
// h1, h2, h3, h4, h5, h6
|
|
11
11
|
@for $i from 1 through 6 {
|
|
12
12
|
.kbq-markdown__h#{$i} {
|
|
13
|
-
color: kbq-
|
|
13
|
+
color: var(--kbq-markdown-h#{$i}-color);
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
.kbq-markdown__p {
|
|
18
|
-
color: kbq-
|
|
18
|
+
color: var(--kbq-markdown-p-color);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.kbq-markdown__ul,
|
|
22
22
|
.kbq-markdown__ol {
|
|
23
|
-
color: kbq-
|
|
23
|
+
color: var(--kbq-markdown-list-color);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
.kbq-markdown__blockquote {
|
|
27
|
-
color: kbq-
|
|
28
|
-
background: kbq-
|
|
29
|
-
border-color: kbq-
|
|
30
|
-
border-left-color: kbq-
|
|
27
|
+
color: var(--kbq-markdown-blockquote-text);
|
|
28
|
+
background: var(--kbq-markdown-blockquote-background);
|
|
29
|
+
border-color: var(--kbq-markdown-blockquote-border);
|
|
30
|
+
border-left-color: var(--kbq-markdown-blockquote-line);
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
.kbq-markdown__pre,
|
|
34
34
|
.kbq-markdown__p > .kbq-markdown__code {
|
|
35
|
-
color: kbq-
|
|
36
|
-
background-color: kbq-
|
|
37
|
-
border-color: kbq-
|
|
35
|
+
color: var(--kbq-markdown-code-text);
|
|
36
|
+
background-color: var(--kbq-markdown-code-background);
|
|
37
|
+
border-color: var(--kbq-markdown-code-border);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.kbq-markdown__a {
|
|
41
|
-
color: kbq-
|
|
42
|
-
border-bottom-color: kbq-
|
|
41
|
+
color: var(--kbq-markdown-link-text);
|
|
42
|
+
border-bottom-color: var(--kbq-markdown-link-border-bottom);
|
|
43
43
|
|
|
44
44
|
&:visited {
|
|
45
|
-
color: kbq-
|
|
46
|
-
border-bottom-color: kbq-
|
|
45
|
+
color: var(--kbq-markdown-link-state-visited-text);
|
|
46
|
+
border-bottom-color: var(--kbq-markdown-link-state-visited-border-bottom);
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
&:hover {
|
|
50
|
-
color: kbq-
|
|
50
|
+
color: var(--kbq-markdown-link-state-hover-text);
|
|
51
51
|
transition: color 0ms;
|
|
52
|
-
border-bottom-color: kbq-
|
|
52
|
+
border-bottom-color: var(--kbq-markdown-link-state-hover-border-bottom);
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
&:active {
|
|
56
|
-
color: kbq-
|
|
56
|
+
color: var(--kbq-markdown-link-state-active);
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
&:focus {
|
|
60
|
-
outline: kbq-
|
|
61
|
-
kbq-
|
|
60
|
+
outline: var(--kbq-markdown-link-state-focused-outline) solid
|
|
61
|
+
var(--kbq-markdown-link-size-state-focused-outline-width);
|
|
62
62
|
|
|
63
|
-
outline-offset: kbq-
|
|
63
|
+
outline-offset: var(--kbq-markdown-link-size-state-focused-outline-offset);
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
.kbq-markdown__img + em {
|
|
68
|
-
color: kbq-
|
|
68
|
+
color: var(--kbq-markdown-image-caption-text);
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
.kbq-markdown__hr {
|
|
72
|
-
border-bottom-color: kbq-
|
|
72
|
+
border-bottom-color: var(--kbq-markdown-hr-color);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
.kbq-markdown__table > .kbq-markdown__thead {
|
|
76
|
-
color: kbq-
|
|
77
|
-
border-bottom-color: kbq-
|
|
76
|
+
color: var(--kbq-markdown-table-header);
|
|
77
|
+
border-bottom-color: var(--kbq-markdown-table-border);
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
.kbq-markdown__table > .kbq-markdown__tbody {
|
|
81
|
-
color: kbq-
|
|
81
|
+
color: var(--kbq-markdown-table-body);
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
}
|