@koobiq/components 17.6.0 → 17.7.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/alert/alert.module.d.ts +3 -4
- package/autocomplete/autocomplete.module.d.ts +1 -1
- package/badge/badge-tokens.scss +1 -1
- package/badge/badge.module.d.ts +3 -4
- package/button/button-tokens.scss +2 -3
- package/button/button.module.d.ts +4 -5
- package/code-block/code-block.module.d.ts +6 -7
- package/core/forms/_forms-theme.scss +7 -15
- package/core/forms/_forms.scss +3 -9
- package/core/forms/forms-tokens.scss +39 -0
- package/core/option/_optgroup-theme.scss +4 -10
- package/core/option/_option-action-theme.scss +7 -15
- package/core/option/_option-theme.scss +13 -24
- package/core/option/action.scss +4 -0
- package/core/option/optgroup-tokens.scss +26 -0
- package/core/option/optgroup.scss +4 -5
- package/core/option/option-action-tokens.scss +21 -0
- package/core/option/option-module.d.ts +2 -3
- package/core/option/option-tokens.scss +115 -0
- package/core/option/option.scss +5 -3
- package/core/styles/_koobiq-theme.scss +7 -37
- package/core/styles/theming/_scrollbar-theme.scss +10 -11
- package/core/styles/theming/scrollbar-tokens.scss +34 -0
- package/datepicker/datepicker-module.d.ts +8 -8
- package/dl/dl.module.d.ts +3 -4
- package/dropdown/dropdown-tokens.scss +0 -1
- package/dropdown/dropdown.module.d.ts +4 -4
- package/empty-state/empty-state.module.d.ts +3 -4
- package/esm2022/alert/alert.component.mjs +3 -4
- package/esm2022/alert/alert.module.mjs +3 -7
- package/esm2022/autocomplete/autocomplete.module.mjs +15 -5
- package/esm2022/badge/badge.component.mjs +2 -2
- package/esm2022/badge/badge.module.mjs +3 -7
- package/esm2022/button/button.component.mjs +2 -2
- package/esm2022/button/button.module.mjs +3 -7
- package/esm2022/code-block/actionbar.component.mjs +6 -7
- package/esm2022/code-block/code-block.component.mjs +8 -9
- package/esm2022/code-block/code-block.module.mjs +4 -8
- package/esm2022/core/option/action.mjs +14 -25
- package/esm2022/core/option/optgroup.mjs +3 -3
- package/esm2022/core/option/option-module.mjs +4 -5
- package/esm2022/core/option/option.mjs +5 -6
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/datepicker/calendar-body.component.mjs +3 -3
- package/esm2022/datepicker/calendar-header.component.mjs +8 -8
- package/esm2022/datepicker/datepicker-module.mjs +10 -9
- package/esm2022/datepicker/datepicker-toggle.component.mjs +5 -6
- package/esm2022/datepicker/month-view.component.mjs +4 -5
- package/esm2022/dl/dl.module.mjs +3 -7
- package/esm2022/dropdown/dropdown-item.component.mjs +5 -6
- package/esm2022/dropdown/dropdown.module.mjs +8 -9
- package/esm2022/empty-state/empty-state.module.mjs +3 -7
- package/esm2022/file-upload/file-upload.module.mjs +12 -9
- package/esm2022/file-upload/multiple-file-upload.component.mjs +10 -10
- package/esm2022/file-upload/single-file-upload.component.mjs +10 -10
- package/esm2022/form-field/form-field.mjs +7 -8
- package/esm2022/form-field/form-field.module.mjs +9 -5
- package/esm2022/form-field/password-hint.mjs +3 -3
- package/esm2022/form-field/password-toggle.mjs +3 -3
- package/esm2022/icon/icon.module.mjs +3 -7
- package/esm2022/input/input.module.mjs +3 -7
- package/esm2022/link/link.module.mjs +3 -7
- package/esm2022/list/list-selection.component.mjs +4 -5
- package/esm2022/list/list.module.mjs +3 -7
- package/esm2022/loader-overlay/loader-overlay.component.mjs +4 -5
- package/esm2022/loader-overlay/loader-overlay.module.mjs +3 -7
- package/esm2022/markdown/markdown.module.mjs +4 -5
- package/esm2022/modal/modal.component.mjs +7 -7
- package/esm2022/modal/modal.module.mjs +12 -9
- package/esm2022/navbar/navbar-item.component.mjs +30 -31
- package/esm2022/navbar/navbar.module.mjs +3 -7
- package/esm2022/popover/popover-confirm.component.mjs +4 -4
- package/esm2022/popover/popover.component.mjs +8 -8
- package/esm2022/popover/popover.module.mjs +40 -7
- package/esm2022/progress-bar/progress-bar.component.mjs +3 -4
- package/esm2022/progress-bar/progress-bar.module.mjs +3 -7
- package/esm2022/progress-spinner/progress-spinner.component.mjs +3 -3
- package/esm2022/progress-spinner/progress-spinner.module.mjs +7 -8
- package/esm2022/radio/radio.component.mjs +3 -3
- package/esm2022/radio/radio.module.mjs +4 -5
- package/esm2022/risk-level/risk-level.component.mjs +3 -3
- package/esm2022/risk-level/risk-level.module.mjs +3 -7
- package/esm2022/scrollbar/scrollbar.component.mjs +3 -3
- package/esm2022/select/select.component.mjs +8 -8
- package/esm2022/select/select.module.mjs +11 -13
- package/esm2022/sidebar/sidebar.component.mjs +3 -4
- package/esm2022/sidepanel/sidepanel-container.component.mjs +5 -6
- package/esm2022/sidepanel/sidepanel-directives.mjs +30 -29
- package/esm2022/sidepanel/sidepanel.module.mjs +3 -7
- package/esm2022/splitter/splitter.component.mjs +3 -4
- package/esm2022/splitter/splitter.module.mjs +3 -7
- package/esm2022/table/table.module.mjs +3 -7
- package/esm2022/tabs/tab-group.component.mjs +9 -10
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +3 -3
- package/esm2022/tabs/tabs.module.mjs +3 -7
- package/esm2022/tags/tag-list.component.mjs +3 -4
- package/esm2022/tags/tag.module.mjs +4 -5
- package/esm2022/textarea/textarea.module.mjs +4 -5
- package/esm2022/timepicker/timepicker.module.mjs +3 -7
- package/esm2022/timezone/timezone-option.component.mjs +6 -6
- package/esm2022/timezone/timezone-select.component.mjs +7 -7
- package/esm2022/timezone/timezone.module.mjs +10 -9
- package/esm2022/toast/toast.component.mjs +6 -6
- package/esm2022/toast/toast.module.mjs +10 -9
- package/esm2022/toggle/toggle.component.mjs +2 -2
- package/esm2022/toggle/toggle.module.mjs +4 -5
- package/esm2022/tooltip/tooltip.component.mjs +3 -3
- package/esm2022/tooltip/tooltip.module.mjs +11 -5
- package/esm2022/tree/toggle.mjs +2 -2
- package/esm2022/tree/tree-option.component.mjs +5 -6
- package/esm2022/tree/tree-selection.component.mjs +2 -2
- package/esm2022/tree/tree.mjs +2 -2
- package/esm2022/tree/tree.module.mjs +3 -7
- package/esm2022/tree-select/tree-select.component.mjs +7 -7
- package/esm2022/tree-select/tree-select.module.mjs +11 -12
- package/fesm2022/koobiq-components-alert.mjs +4 -9
- package/fesm2022/koobiq-components-alert.mjs.map +1 -1
- package/fesm2022/koobiq-components-autocomplete.mjs +14 -4
- package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
- package/fesm2022/koobiq-components-badge.mjs +4 -8
- package/fesm2022/koobiq-components-badge.mjs.map +1 -1
- package/fesm2022/koobiq-components-button.mjs +4 -8
- package/fesm2022/koobiq-components-button.mjs.map +1 -1
- package/fesm2022/koobiq-components-code-block.mjs +15 -20
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +22 -33
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +21 -20
- 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 +16 -17
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-empty-state.mjs +2 -6
- package/fesm2022/koobiq-components-empty-state.mjs.map +1 -1
- package/fesm2022/koobiq-components-file-upload.mjs +22 -19
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +17 -13
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +2 -6
- package/fesm2022/koobiq-components-icon.mjs.map +1 -1
- package/fesm2022/koobiq-components-input.mjs +2 -6
- package/fesm2022/koobiq-components-input.mjs.map +1 -1
- package/fesm2022/koobiq-components-link.mjs +2 -6
- package/fesm2022/koobiq-components-link.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +5 -10
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-loader-overlay.mjs +5 -10
- package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
- package/fesm2022/koobiq-components-markdown.mjs +3 -4
- package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +18 -15
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +32 -36
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +47 -14
- package/fesm2022/koobiq-components-popover.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-bar.mjs +4 -9
- package/fesm2022/koobiq-components-progress-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-spinner.mjs +8 -9
- package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
- package/fesm2022/koobiq-components-radio.mjs +5 -6
- package/fesm2022/koobiq-components-radio.mjs.map +1 -1
- package/fesm2022/koobiq-components-risk-level.mjs +4 -8
- 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 +17 -19
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidebar.mjs +2 -3
- package/fesm2022/koobiq-components-sidebar.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidepanel.mjs +35 -38
- package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
- package/fesm2022/koobiq-components-splitter.mjs +4 -9
- package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
- package/fesm2022/koobiq-components-table.mjs +2 -6
- package/fesm2022/koobiq-components-table.mjs.map +1 -1
- package/fesm2022/koobiq-components-tabs.mjs +8 -13
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +5 -7
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-textarea.mjs +3 -4
- package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
- package/fesm2022/koobiq-components-timepicker.mjs +2 -6
- package/fesm2022/koobiq-components-timepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-timezone.mjs +19 -18
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-toast.mjs +14 -13
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/fesm2022/koobiq-components-toggle.mjs +5 -6
- package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-tooltip.mjs +12 -6
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +16 -17
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +16 -21
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/file-upload/file-upload-tokens.scss +5 -5
- package/file-upload/file-upload.module.d.ts +12 -12
- package/file-upload/single-file-upload.component.d.ts +1 -1
- package/form-field/form-field-tokens.scss +13 -1
- package/form-field/form-field.module.d.ts +3 -3
- package/icon/icon-button-tokens.scss +0 -1
- package/icon/icon.module.d.ts +3 -4
- package/input/input.module.d.ts +5 -6
- package/link/link-tokens.scss +1 -1
- package/link/link.module.d.ts +2 -3
- package/list/list.module.d.ts +3 -4
- package/loader-overlay/loader-overlay.module.d.ts +4 -5
- package/markdown/markdown.module.d.ts +4 -5
- package/modal/modal.module.d.ts +7 -7
- package/navbar/navbar.module.d.ts +5 -6
- package/package.json +6 -6
- package/popover/popover.module.d.ts +7 -7
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/progress-bar/_progress-bar-theme.scss +6 -12
- package/progress-bar/progress-bar-tokens.scss +36 -0
- package/progress-bar/progress-bar.module.d.ts +2 -3
- package/progress-bar/progress-bar.scss +4 -4
- package/progress-spinner/_progress-spinner-theme.scss +5 -11
- package/progress-spinner/progress-spinner-tokens.scss +38 -0
- package/progress-spinner/progress-spinner.module.d.ts +3 -3
- package/progress-spinner/progress-spinner.scss +4 -4
- package/radio/_radio-theme.scss +21 -36
- package/radio/radio-tokens.scss +166 -0
- package/radio/radio.module.d.ts +3 -4
- package/radio/radio.scss +4 -5
- package/risk-level/_risk-level-theme.scss +20 -24
- package/risk-level/risk-level-tokens.scss +72 -0
- package/risk-level/risk-level.component.scss +5 -3
- package/risk-level/risk-level.module.d.ts +3 -4
- package/schematics/ng-add/index.js +4 -4
- package/scrollbar/_scrollbar-component-theme.scss +13 -31
- package/scrollbar/scrollbar-tokens.scss +34 -0
- package/scrollbar/scrollbar.component.scss +4 -3
- package/select/_select-theme.scss +11 -22
- package/select/select-tokens.scss +59 -0
- package/select/select.component.d.ts +1 -1
- package/select/select.module.d.ts +7 -7
- package/select/select.scss +5 -3
- package/sidepanel/_sidepanel-theme.scss +6 -12
- package/sidepanel/sidepanel-tokens.scss +48 -0
- package/sidepanel/sidepanel.module.d.ts +8 -9
- package/sidepanel/sidepanel.scss +4 -4
- package/splitter/_splitter-theme.scss +2 -6
- package/splitter/splitter-tokens.scss +7 -0
- package/splitter/splitter.module.d.ts +2 -3
- package/splitter/splitter.scss +4 -0
- package/table/table.module.d.ts +3 -4
- package/tabs/_tabs-common.scss +0 -6
- package/tabs/_tabs-theme.scss +30 -65
- package/tabs/tab-group.scss +0 -3
- package/tabs/tab-header.scss +0 -3
- package/tabs/tab-nav-bar/tab-nav-bar.scss +0 -2
- package/tabs/tabs-tokens.scss +136 -0
- package/tabs/tabs.module.d.ts +7 -8
- package/tags/_tag-theme.scss +17 -26
- package/tags/tag-input-tokens.scss +14 -0
- package/tags/tag-list.scss +0 -6
- package/tags/tag-tokens.scss +151 -0
- package/tags/tag.module.d.ts +2 -3
- package/tags/tag.scss +0 -3
- package/textarea/textarea.module.d.ts +4 -5
- package/timepicker/timepicker.module.d.ts +4 -5
- package/timezone/timezone.module.d.ts +9 -9
- package/toast/toast.module.d.ts +7 -7
- package/toggle/toggle-tokens.scss +4 -4
- package/toggle/toggle.module.d.ts +3 -4
- package/tooltip/tooltip.module.d.ts +3 -3
- package/tree/tree-tokens.scss +4 -4
- package/tree/tree.module.d.ts +3 -4
- package/tree-select/tree-select.component.d.ts +1 -1
- package/tree-select/tree-select.module.d.ts +7 -7
package/table/table.module.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./table.component";
|
|
3
|
-
import * as i2 from "@angular/
|
|
4
|
-
import * as i3 from "@angular/cdk/
|
|
5
|
-
import * as i4 from "@angular/cdk/platform";
|
|
3
|
+
import * as i2 from "@angular/cdk/a11y";
|
|
4
|
+
import * as i3 from "@angular/cdk/platform";
|
|
6
5
|
export declare class KbqTableModule {
|
|
7
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTableModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqTableModule, [typeof i1.KbqTable, typeof i1.KbqTableCellContent], [typeof i2.
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqTableModule, [typeof i1.KbqTable, typeof i1.KbqTableCellContent], [typeof i2.A11yModule, typeof i3.PlatformModule], [typeof i1.KbqTable, typeof i1.KbqTableCellContent]>;
|
|
9
8
|
static ɵinj: i0.ɵɵInjectorDeclaration<KbqTableModule>;
|
|
10
9
|
}
|
package/tabs/_tabs-common.scss
CHANGED
package/tabs/_tabs-theme.scss
CHANGED
|
@@ -1,84 +1,67 @@
|
|
|
1
|
-
@use 'sass:meta';
|
|
2
|
-
@use 'sass:map';
|
|
3
|
-
|
|
4
1
|
@use '../core/styles/typography/typography-utils' as *;
|
|
5
2
|
@use '../core/styles/common/tokens' as *;
|
|
6
3
|
|
|
7
|
-
@mixin kbq-tab-item-state($
|
|
8
|
-
$style: map.get($component, $type, $sub-type, $style-name);
|
|
9
|
-
|
|
4
|
+
@mixin kbq-tab-item-state($type, $sub-type, $style-name) {
|
|
10
5
|
$base: tabs-tab-item-#{$type}-#{$sub-type}-#{$style-name};
|
|
11
6
|
|
|
12
|
-
background: kbq-css-variable(#{$base}-background
|
|
13
|
-
color: kbq-css-variable(#{$base}-text-color
|
|
7
|
+
background: kbq-css-variable(#{$base}-background);
|
|
8
|
+
color: kbq-css-variable(#{$base}-text-color);
|
|
14
9
|
|
|
15
10
|
& .kbq-icon {
|
|
16
|
-
color: kbq-css-variable(#{$base}-icon-color
|
|
11
|
+
color: kbq-css-variable(#{$base}-icon-color);
|
|
17
12
|
}
|
|
18
13
|
}
|
|
19
14
|
|
|
20
|
-
@mixin kbq-tab-item-style($
|
|
21
|
-
@include kbq-tab-item-state($
|
|
15
|
+
@mixin kbq-tab-item-style($type, $sub-type) {
|
|
16
|
+
@include kbq-tab-item-state($type, $sub-type, default);
|
|
22
17
|
|
|
23
18
|
&:hover:not(.kbq-disabled) {
|
|
24
|
-
@include kbq-tab-item-state($
|
|
19
|
+
@include kbq-tab-item-state($type, $sub-type, states-hover);
|
|
25
20
|
}
|
|
26
21
|
|
|
27
22
|
&.kbq-selected {
|
|
28
|
-
@include kbq-tab-item-state($
|
|
23
|
+
@include kbq-tab-item-state($type, $sub-type, states-selected);
|
|
29
24
|
|
|
30
25
|
&:hover {
|
|
31
|
-
@include kbq-tab-item-state($
|
|
26
|
+
@include kbq-tab-item-state($type, $sub-type, states-selected-hover);
|
|
32
27
|
}
|
|
33
28
|
}
|
|
34
29
|
|
|
35
30
|
&.cdk-keyboard-focused {
|
|
36
|
-
border-color: kbq-css-variable(
|
|
37
|
-
tabs-tab-item-#{$type}-#{$sub-type}-states-focused-focus-outline-color,
|
|
38
|
-
map.get($component, $type, $sub-type, states-focused, border-color)
|
|
39
|
-
);
|
|
31
|
+
border-color: kbq-css-variable(tabs-tab-item-#{$type}-#{$sub-type}-states-focused-focus-outline-color);
|
|
40
32
|
}
|
|
41
33
|
|
|
42
34
|
&.kbq-disabled {
|
|
43
|
-
@include kbq-tab-item-state($
|
|
35
|
+
@include kbq-tab-item-state($type, $sub-type, states-disabled);
|
|
44
36
|
|
|
45
37
|
&.kbq-selected {
|
|
46
|
-
@include kbq-tab-item-state($
|
|
38
|
+
@include kbq-tab-item-state($type, $sub-type, states-selected-disabled);
|
|
47
39
|
}
|
|
48
40
|
}
|
|
49
41
|
}
|
|
50
42
|
|
|
51
43
|
//noinspection ALL
|
|
52
|
-
@mixin kbq-tabs-theme(
|
|
53
|
-
$tab-item: map.get(map.get($theme, components), tab-item);
|
|
54
|
-
$tab-stack: map.get(map.get($theme, components), tab-stack);
|
|
55
|
-
|
|
44
|
+
@mixin kbq-tabs-theme() {
|
|
56
45
|
.kbq-tab-group {
|
|
57
46
|
&.kbq-tab-group_filled {
|
|
58
47
|
&.kbq-tab-group_on-background {
|
|
59
48
|
.kbq-tab-header {
|
|
60
|
-
background: kbq-css-variable(
|
|
61
|
-
tabs-tab-stack-filled-on-background-background,
|
|
62
|
-
map.get($tab-stack, filled, on-background, background)
|
|
63
|
-
);
|
|
49
|
+
background: kbq-css-variable(tabs-tab-stack-filled-on-background-background);
|
|
64
50
|
}
|
|
65
51
|
|
|
66
52
|
& .kbq-tab-label {
|
|
67
|
-
@include kbq-tab-item-style(
|
|
53
|
+
@include kbq-tab-item-style(filled, on-background);
|
|
68
54
|
}
|
|
69
55
|
}
|
|
70
56
|
|
|
71
57
|
&.kbq-tab-group_on-surface {
|
|
72
58
|
.kbq-tab-header {
|
|
73
|
-
background: kbq-css-variable(
|
|
74
|
-
tabs-tab-stack-filled-on-surface-background,
|
|
75
|
-
map.get($tab-stack, filled, on-surface, background)
|
|
76
|
-
);
|
|
59
|
+
background: kbq-css-variable(tabs-tab-stack-filled-on-surface-background);
|
|
77
60
|
}
|
|
78
61
|
|
|
79
62
|
// FIXME: need check, tab-group has different subtype
|
|
80
63
|
& .kbq-tab-label {
|
|
81
|
-
@include kbq-tab-item-style(
|
|
64
|
+
@include kbq-tab-item-style(filled, on-background);
|
|
82
65
|
}
|
|
83
66
|
}
|
|
84
67
|
}
|
|
@@ -86,27 +69,21 @@
|
|
|
86
69
|
&.kbq-tab-group_transparent {
|
|
87
70
|
&.kbq-tab-group_on-background {
|
|
88
71
|
.kbq-tab-header {
|
|
89
|
-
background: kbq-css-variable(
|
|
90
|
-
tabs-tab-stack-transparent-on-background-background,
|
|
91
|
-
map.get($tab-stack, transparent, on-background, background)
|
|
92
|
-
);
|
|
72
|
+
background: kbq-css-variable(tabs-tab-stack-transparent-on-background-background);
|
|
93
73
|
}
|
|
94
74
|
|
|
95
75
|
& .kbq-tab-label {
|
|
96
|
-
@include kbq-tab-item-style(
|
|
76
|
+
@include kbq-tab-item-style(transparent, on-background);
|
|
97
77
|
}
|
|
98
78
|
}
|
|
99
79
|
|
|
100
80
|
&.kbq-tab-group_on-surface {
|
|
101
81
|
.kbq-tab-header {
|
|
102
|
-
background: kbq-css-variable(
|
|
103
|
-
tabs-tab-stack-transparent-on-surface-background,
|
|
104
|
-
map.get($tab-stack, transparent, on-surface, background)
|
|
105
|
-
);
|
|
82
|
+
background: kbq-css-variable(tabs-tab-stack-transparent-on-surface-background);
|
|
106
83
|
}
|
|
107
84
|
|
|
108
85
|
& .kbq-tab-label {
|
|
109
|
-
@include kbq-tab-item-style(
|
|
86
|
+
@include kbq-tab-item-style(transparent, on-background);
|
|
110
87
|
}
|
|
111
88
|
}
|
|
112
89
|
}
|
|
@@ -116,27 +93,21 @@
|
|
|
116
93
|
&.kbq-tab-nav-bar_filled {
|
|
117
94
|
&.kbq-tab-nav-bar_on-background {
|
|
118
95
|
.kbq-tab-header {
|
|
119
|
-
background: kbq-css-variable(
|
|
120
|
-
tabs-tab-stack-filled-on-background-background,
|
|
121
|
-
map.get($tab-stack, filled, on-background, background)
|
|
122
|
-
);
|
|
96
|
+
background: kbq-css-variable(tabs-tab-stack-filled-on-background-background);
|
|
123
97
|
}
|
|
124
98
|
|
|
125
99
|
& .kbq-tab-link {
|
|
126
|
-
@include kbq-tab-item-style(
|
|
100
|
+
@include kbq-tab-item-style(filled, on-background);
|
|
127
101
|
}
|
|
128
102
|
}
|
|
129
103
|
|
|
130
104
|
&.kbq-tab-nav-bar_on-surface {
|
|
131
105
|
.kbq-tab-header {
|
|
132
|
-
background: kbq-css-variable(
|
|
133
|
-
tabs-tab-stack-filled-on-surface-background,
|
|
134
|
-
map.get($tab-stack, filled, on-surface, background)
|
|
135
|
-
);
|
|
106
|
+
background: kbq-css-variable(tabs-tab-stack-filled-on-surface-background);
|
|
136
107
|
}
|
|
137
108
|
|
|
138
109
|
& .kbq-tab-link {
|
|
139
|
-
@include kbq-tab-item-style(
|
|
110
|
+
@include kbq-tab-item-style(filled, on-background);
|
|
140
111
|
}
|
|
141
112
|
}
|
|
142
113
|
}
|
|
@@ -144,34 +115,28 @@
|
|
|
144
115
|
&.kbq-tab-nav-bar_transparent {
|
|
145
116
|
&.kbq-tab-nav-bar_on-background {
|
|
146
117
|
.kbq-tab-header {
|
|
147
|
-
background: kbq-css-variable(
|
|
148
|
-
tabs-tab-stack-transparent-on-background-background,
|
|
149
|
-
map.get($tab-stack, transparent, on-background, background)
|
|
150
|
-
);
|
|
118
|
+
background: kbq-css-variable(tabs-tab-stack-transparent-on-background-background);
|
|
151
119
|
}
|
|
152
120
|
|
|
153
121
|
& .kbq-tab-link {
|
|
154
|
-
@include kbq-tab-item-style(
|
|
122
|
+
@include kbq-tab-item-style(transparent, on-background);
|
|
155
123
|
}
|
|
156
124
|
}
|
|
157
125
|
|
|
158
126
|
&.kbq-tab-nav-bar_on-surface {
|
|
159
127
|
.kbq-tab-header {
|
|
160
|
-
background: kbq-css-variable(
|
|
161
|
-
tabs-tab-stack-transparent-on-surface-background,
|
|
162
|
-
map.get($tab-stack, transparent, on-surface, background)
|
|
163
|
-
);
|
|
128
|
+
background: kbq-css-variable(tabs-tab-stack-transparent-on-surface-background);
|
|
164
129
|
}
|
|
165
130
|
|
|
166
131
|
& .kbq-tab-link {
|
|
167
|
-
@include kbq-tab-item-style(
|
|
132
|
+
@include kbq-tab-item-style(transparent, on-background);
|
|
168
133
|
}
|
|
169
134
|
}
|
|
170
135
|
}
|
|
171
136
|
}
|
|
172
137
|
}
|
|
173
138
|
|
|
174
|
-
@mixin kbq-tabs-typography(
|
|
139
|
+
@mixin kbq-tabs-typography() {
|
|
175
140
|
.kbq-tab-label,
|
|
176
141
|
.kbq-tab-link {
|
|
177
142
|
@include kbq-typography-css-variables(tabs, text);
|
package/tabs/tab-group.scss
CHANGED
package/tabs/tab-header.scss
CHANGED
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
.kbq-tab-group,
|
|
2
|
+
.kbq-tab-nav-bar {
|
|
3
|
+
--kbq-tabs-size-tab-item-padding-horizontal: 12px;
|
|
4
|
+
--kbq-tabs-size-tab-item-padding-vertical: 6px;
|
|
5
|
+
--kbq-tabs-size-tab-item-content-gap-horizontal: 4px;
|
|
6
|
+
--kbq-tabs-size-tab-item-border-radius: 8px;
|
|
7
|
+
--kbq-tabs-size-tab-item-focus-outline-width: 2px;
|
|
8
|
+
--kbq-tabs-size-tab-stack-horizontal-border-radius: 8px;
|
|
9
|
+
--kbq-tabs-size-tab-stack-vertical-content-gap-vertical: 8px;
|
|
10
|
+
--kbq-tabs-font-text-font-size: 14px;
|
|
11
|
+
--kbq-tabs-font-text-line-height: 20px;
|
|
12
|
+
--kbq-tabs-font-text-letter-spacing: -0.006em;
|
|
13
|
+
--kbq-tabs-font-text-font-weight: 500;
|
|
14
|
+
--kbq-tabs-font-text-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial,
|
|
15
|
+
sans-serif;
|
|
16
|
+
--kbq-tabs-font-text-text-transform: null;
|
|
17
|
+
--kbq-tabs-font-text-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
:where(.kbq-light, .theme-light, .kbq-theme-light) {
|
|
21
|
+
--kbq-tabs-tab-item-filled-on-background-default-background: transparent;
|
|
22
|
+
--kbq-tabs-tab-item-filled-on-background-default-text-color: hsla(229, 15%, 15%, 100%);
|
|
23
|
+
--kbq-tabs-tab-item-filled-on-background-default-icon-color: hsla(229, 15%, 15%, 100%);
|
|
24
|
+
--kbq-tabs-tab-item-filled-on-background-states-hover-background: hsla(229, 15%, 50%, 8%);
|
|
25
|
+
--kbq-tabs-tab-item-filled-on-background-states-focused-focus-outline-color: hsla(216, 100%, 60%, 100%);
|
|
26
|
+
--kbq-tabs-tab-item-filled-on-background-states-selected-background: hsla(229, 15%, 50%, 16%);
|
|
27
|
+
--kbq-tabs-tab-item-filled-on-background-states-selected-hover-background: hsla(229, 15%, 50%, 16%);
|
|
28
|
+
--kbq-tabs-tab-item-filled-on-background-states-selected-disabled-background: hsla(229, 15%, 50%, 16%);
|
|
29
|
+
--kbq-tabs-tab-item-filled-on-background-states-selected-disabled-text-color: hsla(229, 15%, 15%, 32%);
|
|
30
|
+
--kbq-tabs-tab-item-filled-on-background-states-selected-disabled-icon-color: hsla(229, 15%, 15%, 32%);
|
|
31
|
+
--kbq-tabs-tab-item-filled-on-background-states-disabled-background: transparent;
|
|
32
|
+
--kbq-tabs-tab-item-filled-on-background-states-disabled-text-color: hsla(229, 15%, 15%, 32%);
|
|
33
|
+
--kbq-tabs-tab-item-filled-on-background-states-disabled-icon-color: hsla(229, 15%, 15%, 32%);
|
|
34
|
+
--kbq-tabs-tab-item-filled-on-surface-default-background: transparent;
|
|
35
|
+
--kbq-tabs-tab-item-filled-on-surface-default-text-color: hsla(229, 15%, 15%, 100%);
|
|
36
|
+
--kbq-tabs-tab-item-filled-on-surface-default-icon-color: hsla(229, 15%, 15%, 100%);
|
|
37
|
+
--kbq-tabs-tab-item-filled-on-surface-states-hover-background: hsla(229, 15%, 50%, 8%);
|
|
38
|
+
--kbq-tabs-tab-item-filled-on-surface-states-focused-focus-outline-color: hsla(216, 100%, 60%, 100%);
|
|
39
|
+
--kbq-tabs-tab-item-filled-on-surface-states-selected-background: hsla(229, 15%, 50%, 16%);
|
|
40
|
+
--kbq-tabs-tab-item-filled-on-surface-states-selected-hover-background: hsla(229, 15%, 50%, 16%);
|
|
41
|
+
--kbq-tabs-tab-item-filled-on-surface-states-selected-disabled-background: hsla(229, 15%, 50%, 16%);
|
|
42
|
+
--kbq-tabs-tab-item-filled-on-surface-states-selected-disabled-text-color: hsla(229, 15%, 15%, 32%);
|
|
43
|
+
--kbq-tabs-tab-item-filled-on-surface-states-selected-disabled-icon-color: hsla(229, 15%, 15%, 32%);
|
|
44
|
+
--kbq-tabs-tab-item-filled-on-surface-states-disabled-background: transparent;
|
|
45
|
+
--kbq-tabs-tab-item-filled-on-surface-states-disabled-text-color: hsla(229, 15%, 15%, 32%);
|
|
46
|
+
--kbq-tabs-tab-item-filled-on-surface-states-disabled-icon-color: hsla(229, 15%, 15%, 32%);
|
|
47
|
+
--kbq-tabs-tab-item-transparent-on-background-default-background: transparent;
|
|
48
|
+
--kbq-tabs-tab-item-transparent-on-background-default-text-color: hsla(229, 15%, 15%, 100%);
|
|
49
|
+
--kbq-tabs-tab-item-transparent-on-background-default-icon-color: hsla(229, 15%, 15%, 100%);
|
|
50
|
+
--kbq-tabs-tab-item-transparent-on-background-states-hover-background: hsla(229, 15%, 50%, 8%);
|
|
51
|
+
--kbq-tabs-tab-item-transparent-on-background-states-focused-focus-outline-color: hsla(216, 100%, 60%, 100%);
|
|
52
|
+
--kbq-tabs-tab-item-transparent-on-background-states-selected-background: hsla(229, 15%, 50%, 16%);
|
|
53
|
+
--kbq-tabs-tab-item-transparent-on-background-states-selected-hover-background: hsla(229, 15%, 50%, 16%);
|
|
54
|
+
--kbq-tabs-tab-item-transparent-on-background-states-selected-disabled-background: hsla(229, 15%, 50%, 16%);
|
|
55
|
+
--kbq-tabs-tab-item-transparent-on-background-states-selected-disabled-text-color: hsla(229, 15%, 15%, 32%);
|
|
56
|
+
--kbq-tabs-tab-item-transparent-on-background-states-selected-disabled-icon-color: hsla(229, 15%, 15%, 32%);
|
|
57
|
+
--kbq-tabs-tab-item-transparent-on-background-states-disabled-background: transparent;
|
|
58
|
+
--kbq-tabs-tab-item-transparent-on-background-states-disabled-text-color: hsla(229, 15%, 15%, 32%);
|
|
59
|
+
--kbq-tabs-tab-item-transparent-on-background-states-disabled-icon-color: hsla(229, 15%, 15%, 32%);
|
|
60
|
+
--kbq-tabs-tab-item-transparent-on-surface-default-background: transparent;
|
|
61
|
+
--kbq-tabs-tab-item-transparent-on-surface-default-text-color: hsla(229, 15%, 15%, 100%);
|
|
62
|
+
--kbq-tabs-tab-item-transparent-on-surface-default-icon-color: hsla(229, 15%, 15%, 100%);
|
|
63
|
+
--kbq-tabs-tab-item-transparent-on-surface-states-hover-background: hsla(229, 15%, 50%, 8%);
|
|
64
|
+
--kbq-tabs-tab-item-transparent-on-surface-states-focused-focus-outline-color: hsla(216, 100%, 60%, 100%);
|
|
65
|
+
--kbq-tabs-tab-item-transparent-on-surface-states-selected-background: hsla(229, 15%, 50%, 16%);
|
|
66
|
+
--kbq-tabs-tab-item-transparent-on-surface-states-selected-hover-background: hsla(229, 15%, 50%, 16%);
|
|
67
|
+
--kbq-tabs-tab-item-transparent-on-surface-states-selected-disabled-background: hsla(229, 15%, 50%, 16%);
|
|
68
|
+
--kbq-tabs-tab-item-transparent-on-surface-states-selected-disabled-text-color: hsla(229, 15%, 15%, 32%);
|
|
69
|
+
--kbq-tabs-tab-item-transparent-on-surface-states-selected-disabled-icon-color: hsla(229, 15%, 15%, 32%);
|
|
70
|
+
--kbq-tabs-tab-item-transparent-on-surface-states-disabled-background: transparent;
|
|
71
|
+
--kbq-tabs-tab-item-transparent-on-surface-states-disabled-text-color: hsla(229, 15%, 15%, 32%);
|
|
72
|
+
--kbq-tabs-tab-item-transparent-on-surface-states-disabled-icon-color: hsla(229, 15%, 15%, 32%);
|
|
73
|
+
--kbq-tabs-tab-stack-filled-on-background-background: hsla(0, 0%, 100%, 100%);
|
|
74
|
+
--kbq-tabs-tab-stack-filled-on-surface-background: hsla(229, 15%, 92%, 100%);
|
|
75
|
+
--kbq-tabs-tab-stack-transparent-on-background-background: transparent;
|
|
76
|
+
--kbq-tabs-tab-stack-transparent-on-surface-background: transparent;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
:where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
|
|
80
|
+
--kbq-tabs-tab-item-filled-on-background-default-background: transparent;
|
|
81
|
+
--kbq-tabs-tab-item-filled-on-background-default-text-color: hsla(229, 15%, 80%, 100%);
|
|
82
|
+
--kbq-tabs-tab-item-filled-on-background-default-icon-color: hsla(229, 15%, 80%, 100%);
|
|
83
|
+
--kbq-tabs-tab-item-filled-on-background-states-hover-background: hsla(229, 15%, 50%, 16%);
|
|
84
|
+
--kbq-tabs-tab-item-filled-on-background-states-focused-focus-outline-color: hsla(216, 100%, 60%, 100%);
|
|
85
|
+
--kbq-tabs-tab-item-filled-on-background-states-selected-background: hsla(229, 100%, 85%, 15%);
|
|
86
|
+
--kbq-tabs-tab-item-filled-on-background-states-selected-hover-background: hsla(229, 100%, 85%, 15%);
|
|
87
|
+
--kbq-tabs-tab-item-filled-on-background-states-selected-disabled-background: hsla(229, 100%, 85%, 15%);
|
|
88
|
+
--kbq-tabs-tab-item-filled-on-background-states-selected-disabled-text-color: hsla(229, 15%, 40%, 100%);
|
|
89
|
+
--kbq-tabs-tab-item-filled-on-background-states-selected-disabled-icon-color: hsla(229, 15%, 30%, 100%);
|
|
90
|
+
--kbq-tabs-tab-item-filled-on-background-states-disabled-background: transparent;
|
|
91
|
+
--kbq-tabs-tab-item-filled-on-background-states-disabled-text-color: hsla(229, 15%, 40%, 100%);
|
|
92
|
+
--kbq-tabs-tab-item-filled-on-background-states-disabled-icon-color: hsla(229, 15%, 30%, 100%);
|
|
93
|
+
--kbq-tabs-tab-item-filled-on-surface-default-background: transparent;
|
|
94
|
+
--kbq-tabs-tab-item-filled-on-surface-default-text-color: hsla(229, 15%, 80%, 100%);
|
|
95
|
+
--kbq-tabs-tab-item-filled-on-surface-default-icon-color: hsla(229, 15%, 80%, 100%);
|
|
96
|
+
--kbq-tabs-tab-item-filled-on-surface-states-hover-background: hsla(229, 15%, 50%, 16%);
|
|
97
|
+
--kbq-tabs-tab-item-filled-on-surface-states-focused-focus-outline-color: hsla(216, 100%, 60%, 100%);
|
|
98
|
+
--kbq-tabs-tab-item-filled-on-surface-states-selected-background: hsla(229, 100%, 85%, 15%);
|
|
99
|
+
--kbq-tabs-tab-item-filled-on-surface-states-selected-hover-background: hsla(229, 100%, 85%, 15%);
|
|
100
|
+
--kbq-tabs-tab-item-filled-on-surface-states-selected-disabled-background: hsla(229, 100%, 85%, 15%);
|
|
101
|
+
--kbq-tabs-tab-item-filled-on-surface-states-selected-disabled-text-color: hsla(229, 15%, 40%, 100%);
|
|
102
|
+
--kbq-tabs-tab-item-filled-on-surface-states-selected-disabled-icon-color: hsla(229, 15%, 30%, 100%);
|
|
103
|
+
--kbq-tabs-tab-item-filled-on-surface-states-disabled-background: transparent;
|
|
104
|
+
--kbq-tabs-tab-item-filled-on-surface-states-disabled-text-color: hsla(229, 15%, 40%, 100%);
|
|
105
|
+
--kbq-tabs-tab-item-filled-on-surface-states-disabled-icon-color: hsla(229, 15%, 30%, 100%);
|
|
106
|
+
--kbq-tabs-tab-item-transparent-on-background-default-background: transparent;
|
|
107
|
+
--kbq-tabs-tab-item-transparent-on-background-default-text-color: hsla(229, 15%, 80%, 100%);
|
|
108
|
+
--kbq-tabs-tab-item-transparent-on-background-default-icon-color: hsla(229, 15%, 80%, 100%);
|
|
109
|
+
--kbq-tabs-tab-item-transparent-on-background-states-hover-background: hsla(229, 15%, 50%, 16%);
|
|
110
|
+
--kbq-tabs-tab-item-transparent-on-background-states-focused-focus-outline-color: hsla(216, 100%, 60%, 100%);
|
|
111
|
+
--kbq-tabs-tab-item-transparent-on-background-states-selected-background: hsla(229, 100%, 85%, 15%);
|
|
112
|
+
--kbq-tabs-tab-item-transparent-on-background-states-selected-hover-background: hsla(229, 100%, 85%, 15%);
|
|
113
|
+
--kbq-tabs-tab-item-transparent-on-background-states-selected-disabled-background: hsla(229, 100%, 85%, 15%);
|
|
114
|
+
--kbq-tabs-tab-item-transparent-on-background-states-selected-disabled-text-color: hsla(229, 15%, 40%, 100%);
|
|
115
|
+
--kbq-tabs-tab-item-transparent-on-background-states-selected-disabled-icon-color: hsla(229, 15%, 30%, 100%);
|
|
116
|
+
--kbq-tabs-tab-item-transparent-on-background-states-disabled-background: transparent;
|
|
117
|
+
--kbq-tabs-tab-item-transparent-on-background-states-disabled-text-color: hsla(229, 15%, 40%, 100%);
|
|
118
|
+
--kbq-tabs-tab-item-transparent-on-background-states-disabled-icon-color: hsla(229, 15%, 30%, 100%);
|
|
119
|
+
--kbq-tabs-tab-item-transparent-on-surface-default-background: transparent;
|
|
120
|
+
--kbq-tabs-tab-item-transparent-on-surface-default-text-color: hsla(229, 15%, 80%, 100%);
|
|
121
|
+
--kbq-tabs-tab-item-transparent-on-surface-default-icon-color: hsla(229, 15%, 80%, 100%);
|
|
122
|
+
--kbq-tabs-tab-item-transparent-on-surface-states-hover-background: hsla(229, 15%, 50%, 16%);
|
|
123
|
+
--kbq-tabs-tab-item-transparent-on-surface-states-focused-focus-outline-color: hsla(216, 100%, 60%, 100%);
|
|
124
|
+
--kbq-tabs-tab-item-transparent-on-surface-states-selected-background: hsla(229, 100%, 85%, 15%);
|
|
125
|
+
--kbq-tabs-tab-item-transparent-on-surface-states-selected-hover-background: hsla(229, 100%, 85%, 15%);
|
|
126
|
+
--kbq-tabs-tab-item-transparent-on-surface-states-selected-disabled-background: hsla(229, 100%, 85%, 15%);
|
|
127
|
+
--kbq-tabs-tab-item-transparent-on-surface-states-selected-disabled-text-color: hsla(229, 15%, 40%, 100%);
|
|
128
|
+
--kbq-tabs-tab-item-transparent-on-surface-states-selected-disabled-icon-color: hsla(229, 15%, 30%, 100%);
|
|
129
|
+
--kbq-tabs-tab-item-transparent-on-surface-states-disabled-background: transparent;
|
|
130
|
+
--kbq-tabs-tab-item-transparent-on-surface-states-disabled-text-color: hsla(229, 15%, 40%, 100%);
|
|
131
|
+
--kbq-tabs-tab-item-transparent-on-surface-states-disabled-icon-color: hsla(229, 15%, 30%, 100%);
|
|
132
|
+
--kbq-tabs-tab-stack-filled-on-background-background: hsla(229, 15%, 12%, 100%);
|
|
133
|
+
--kbq-tabs-tab-stack-filled-on-surface-background: hsla(229, 15%, 25%, 100%);
|
|
134
|
+
--kbq-tabs-tab-stack-transparent-on-background-background: transparent;
|
|
135
|
+
--kbq-tabs-tab-stack-transparent-on-surface-background: transparent;
|
|
136
|
+
}
|
package/tabs/tabs.module.d.ts
CHANGED
|
@@ -7,15 +7,14 @@ import * as i5 from "./tab-nav-bar/tab-nav-bar";
|
|
|
7
7
|
import * as i6 from "./tab-body.component";
|
|
8
8
|
import * as i7 from "./tab-header.component";
|
|
9
9
|
import * as i8 from "./tab-content.directive";
|
|
10
|
-
import * as i9 from "@angular/
|
|
11
|
-
import * as i10 from "@angular/cdk/
|
|
12
|
-
import * as i11 from "@angular/cdk/
|
|
13
|
-
import * as i12 from "@
|
|
14
|
-
import * as i13 from "@koobiq/components/
|
|
15
|
-
import * as i14 from "@koobiq/components/
|
|
16
|
-
import * as i15 from "@koobiq/components/tooltip";
|
|
10
|
+
import * as i9 from "@angular/cdk/portal";
|
|
11
|
+
import * as i10 from "@angular/cdk/a11y";
|
|
12
|
+
import * as i11 from "@angular/cdk/scrolling";
|
|
13
|
+
import * as i12 from "@koobiq/components/core";
|
|
14
|
+
import * as i13 from "@koobiq/components/icon";
|
|
15
|
+
import * as i14 from "@koobiq/components/tooltip";
|
|
17
16
|
export declare class KbqTabsModule {
|
|
18
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTabsModule, never>;
|
|
19
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqTabsModule, [typeof i1.KbqTabGroup, typeof i2.KbqTabLabel, typeof i3.KbqTab, typeof i4.KbqTabLabelWrapper, typeof i5.KbqTabNav, typeof i5.KbqTabLink, typeof i6.KbqTabBody, typeof i6.KbqTabBodyPortal, typeof i7.KbqTabHeader, typeof i8.KbqTabContent, typeof i1.KbqAlignTabsCenterCssStyler, typeof i1.KbqAlignTabsEndCssStyler, typeof i1.KbqStretchTabsCssStyler, typeof i1.KbqVerticalTabsCssStyler], [typeof i9.
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqTabsModule, [typeof i1.KbqTabGroup, typeof i2.KbqTabLabel, typeof i3.KbqTab, typeof i4.KbqTabLabelWrapper, typeof i5.KbqTabNav, typeof i5.KbqTabLink, typeof i6.KbqTabBody, typeof i6.KbqTabBodyPortal, typeof i7.KbqTabHeader, typeof i8.KbqTabContent, typeof i1.KbqAlignTabsCenterCssStyler, typeof i1.KbqAlignTabsEndCssStyler, typeof i1.KbqStretchTabsCssStyler, typeof i1.KbqVerticalTabsCssStyler], [typeof i9.PortalModule, typeof i10.A11yModule, typeof i11.CdkScrollableModule, typeof i12.KbqCommonModule, typeof i13.KbqIconModule, typeof i14.KbqToolTipModule], [typeof i12.KbqCommonModule, typeof i1.KbqTabGroup, typeof i2.KbqTabLabel, typeof i3.KbqTab, typeof i5.KbqTabNav, typeof i5.KbqTabLink, typeof i8.KbqTabContent, typeof i1.KbqAlignTabsCenterCssStyler, typeof i1.KbqAlignTabsEndCssStyler, typeof i1.KbqStretchTabsCssStyler, typeof i1.KbqVerticalTabsCssStyler]>;
|
|
20
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<KbqTabsModule>;
|
|
21
20
|
}
|
package/tags/_tag-theme.scss
CHANGED
|
@@ -1,68 +1,59 @@
|
|
|
1
|
-
@use 'sass:meta';
|
|
2
|
-
@use 'sass:map';
|
|
3
|
-
|
|
4
|
-
@use '../core/styles/theming/theming' as *;
|
|
5
|
-
@use '../core/styles/typography/typography-utils' as *;
|
|
6
1
|
@use '../core/styles/common/tokens' as *;
|
|
7
2
|
|
|
8
|
-
@
|
|
9
|
-
$style: map.get($component, $type, $style-name);
|
|
3
|
+
@use './tag-tokens';
|
|
10
4
|
|
|
5
|
+
@mixin kbq-tag-state($type, $style-name) {
|
|
11
6
|
$base: tag-#{$type}-#{$style-name};
|
|
12
7
|
|
|
13
|
-
background: kbq-css-variable(#{$base}-background
|
|
8
|
+
background: kbq-css-variable(#{$base}-background);
|
|
14
9
|
|
|
15
10
|
& .kbq-icon {
|
|
16
|
-
color: kbq-css-variable(#{$base}-icon
|
|
11
|
+
color: kbq-css-variable(#{$base}-icon);
|
|
17
12
|
}
|
|
18
13
|
|
|
19
14
|
& .kbq-tag__text {
|
|
20
|
-
color: kbq-css-variable(#{$base}-text
|
|
15
|
+
color: kbq-css-variable(#{$base}-text);
|
|
21
16
|
}
|
|
22
17
|
}
|
|
23
18
|
|
|
24
|
-
@mixin kbq-tag-color($
|
|
25
|
-
@include kbq-tag-state($
|
|
19
|
+
@mixin kbq-tag-color($type) {
|
|
20
|
+
@include kbq-tag-state($type, default);
|
|
26
21
|
|
|
27
22
|
&:hover,
|
|
28
23
|
&.kbq-hovered {
|
|
29
|
-
@include kbq-tag-state($
|
|
24
|
+
@include kbq-tag-state($type, states-hover);
|
|
30
25
|
}
|
|
31
26
|
|
|
32
27
|
&.kbq-focused {
|
|
33
|
-
@include kbq-tag-state($
|
|
28
|
+
@include kbq-tag-state($type, states-focus);
|
|
34
29
|
|
|
35
30
|
box-shadow:
|
|
36
|
-
inset 0 0 0.1px 1px
|
|
37
|
-
|
|
38
|
-
0 0 0.1px 1px
|
|
39
|
-
kbq-css-variable(tag-#{$type}-states-focus-outline, map.get($component, $type, focus, outline));
|
|
31
|
+
inset 0 0 0.1px 1px kbq-css-variable(tag-#{$type}-states-focus-outline),
|
|
32
|
+
0 0 0.1px 1px kbq-css-variable(tag-#{$type}-states-focus-outline);
|
|
40
33
|
}
|
|
41
34
|
|
|
42
35
|
&.kbq-disabled {
|
|
43
|
-
@include kbq-tag-state($
|
|
36
|
+
@include kbq-tag-state($type, states-disabled);
|
|
44
37
|
}
|
|
45
38
|
}
|
|
46
39
|
|
|
47
|
-
@mixin kbq-tag-theme(
|
|
48
|
-
$tag: map.get($theme, components, tag);
|
|
49
|
-
|
|
40
|
+
@mixin kbq-tag-theme() {
|
|
50
41
|
.kbq-tag {
|
|
51
42
|
&.kbq-theme {
|
|
52
|
-
@include kbq-tag-color(
|
|
43
|
+
@include kbq-tag-color(theme-fade-on);
|
|
53
44
|
}
|
|
54
45
|
|
|
55
46
|
&.kbq-contrast-fade {
|
|
56
|
-
@include kbq-tag-color(
|
|
47
|
+
@include kbq-tag-color(contrast-fade-on);
|
|
57
48
|
}
|
|
58
49
|
|
|
59
50
|
&.kbq-error {
|
|
60
|
-
@include kbq-tag-color(
|
|
51
|
+
@include kbq-tag-color(error-fade-on);
|
|
61
52
|
}
|
|
62
53
|
}
|
|
63
54
|
}
|
|
64
55
|
|
|
65
|
-
@mixin kbq-tag-typography(
|
|
56
|
+
@mixin kbq-tag-typography() {
|
|
66
57
|
.kbq-tag {
|
|
67
58
|
@include kbq-typography-css-variables(tag, default);
|
|
68
59
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
.kbq-form-field-type-tag-list {
|
|
2
|
+
--kbq-tag-input-size-padding-left: 4px;
|
|
3
|
+
--kbq-tag-input-size-padding-right: 12px;
|
|
4
|
+
--kbq-tag-input-size-padding-vertical: 4px;
|
|
5
|
+
--kbq-tag-input-size-content-gap: 8px;
|
|
6
|
+
--kbq-tag-input-font-default-font-size: 14px;
|
|
7
|
+
--kbq-tag-input-font-default-line-height: 20px;
|
|
8
|
+
--kbq-tag-input-font-default-letter-spacing: -0.006em;
|
|
9
|
+
--kbq-tag-input-font-default-font-weight: normal;
|
|
10
|
+
--kbq-tag-input-font-default-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue',
|
|
11
|
+
Arial, sans-serif;
|
|
12
|
+
--kbq-tag-input-font-default-text-transform: null;
|
|
13
|
+
--kbq-tag-input-font-default-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
|
|
14
|
+
}
|
package/tags/tag-list.scss
CHANGED