@koobiq/components 17.6.1 → 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.module.d.ts +3 -4
- 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.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.module.mjs +3 -7
- 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.module.mjs +4 -5
- package/esm2022/tooltip/tooltip.component.mjs +3 -3
- package/esm2022/tooltip/tooltip.module.mjs +11 -5
- package/esm2022/tree/tree-option.component.mjs +5 -6
- 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 +2 -6
- package/fesm2022/koobiq-components-badge.mjs.map +1 -1
- package/fesm2022/koobiq-components-button.mjs +2 -6
- 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 +3 -4
- 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 +10 -15
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- 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 +12 -0
- package/form-field/form-field.module.d.ts +3 -3
- package/icon/icon.module.d.ts +3 -4
- package/input/input.module.d.ts +5 -6
- 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 +4 -4
- 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 +2 -2
- 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.module.d.ts +3 -4
- package/tooltip/tooltip.module.d.ts +3 -3
- 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/alert/alert.module.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./alert.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 KbqAlertModule {
|
|
7
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqAlertModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqAlertModule, [typeof i1.KbqAlert, typeof i1.KbqAlertTitle, typeof i1.KbqAlertCloseButton, typeof i1.KbqAlertControl], [typeof i2.
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqAlertModule, [typeof i1.KbqAlert, typeof i1.KbqAlertTitle, typeof i1.KbqAlertCloseButton, typeof i1.KbqAlertControl], [typeof i2.A11yModule, typeof i3.PlatformModule], [typeof i1.KbqAlert, typeof i1.KbqAlertTitle, typeof i1.KbqAlertCloseButton, typeof i1.KbqAlertControl]>;
|
|
9
8
|
static ɵinj: i0.ɵɵInjectorDeclaration<KbqAlertModule>;
|
|
10
9
|
}
|
|
@@ -7,6 +7,6 @@ import * as i5 from "@angular/cdk/overlay";
|
|
|
7
7
|
import * as i6 from "@angular/common";
|
|
8
8
|
export declare class KbqAutocompleteModule {
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqAutocompleteModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqAutocompleteModule, [typeof i1.KbqAutocomplete, typeof i2.KbqAutocompleteTrigger, typeof i3.KbqAutocompleteOrigin], [typeof i4.KbqOptionModule, typeof i5.OverlayModule, typeof i4.KbqCommonModule, typeof i6.
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqAutocompleteModule, [typeof i1.KbqAutocomplete, typeof i2.KbqAutocompleteTrigger, typeof i3.KbqAutocompleteOrigin], [typeof i4.KbqOptionModule, typeof i5.OverlayModule, typeof i4.KbqCommonModule, typeof i6.NgClass], [typeof i1.KbqAutocomplete, typeof i4.KbqOptionModule, typeof i2.KbqAutocompleteTrigger, typeof i3.KbqAutocompleteOrigin, typeof i4.KbqCommonModule]>;
|
|
11
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<KbqAutocompleteModule>;
|
|
12
12
|
}
|
package/badge/badge.module.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./badge.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 KbqBadgeModule {
|
|
7
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqBadgeModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqBadgeModule, [typeof i1.KbqBadge, typeof i1.KbqBadgeCaption, typeof i1.KbqBadgeCssStyler], [typeof i2.
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqBadgeModule, [typeof i1.KbqBadge, typeof i1.KbqBadgeCaption, typeof i1.KbqBadgeCssStyler], [typeof i2.A11yModule, typeof i3.PlatformModule], [typeof i1.KbqBadge, typeof i1.KbqBadgeCaption, typeof i1.KbqBadgeCssStyler]>;
|
|
9
8
|
static ɵinj: i0.ɵɵInjectorDeclaration<KbqBadgeModule>;
|
|
10
9
|
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./button.component";
|
|
3
|
-
import * as i2 from "@angular/
|
|
4
|
-
import * as i3 from "@angular/cdk/
|
|
5
|
-
import * as i4 from "@angular/cdk/
|
|
6
|
-
import * as i5 from "@angular/cdk/observers";
|
|
3
|
+
import * as i2 from "@angular/cdk/a11y";
|
|
4
|
+
import * as i3 from "@angular/cdk/platform";
|
|
5
|
+
import * as i4 from "@angular/cdk/observers";
|
|
7
6
|
export declare class KbqButtonModule {
|
|
8
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqButtonModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqButtonModule, [typeof i1.KbqButton, typeof i1.KbqButtonCssStyler], [typeof i2.
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqButtonModule, [typeof i1.KbqButton, typeof i1.KbqButtonCssStyler], [typeof i2.A11yModule, typeof i3.PlatformModule, typeof i4.ObserversModule], [typeof i1.KbqButton, typeof i1.KbqButtonCssStyler]>;
|
|
10
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<KbqButtonModule>;
|
|
11
10
|
}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./code-block.component";
|
|
3
3
|
import * as i2 from "./actionbar.component";
|
|
4
|
-
import * as i3 from "@
|
|
5
|
-
import * as i4 from "@koobiq/components/
|
|
6
|
-
import * as i5 from "@koobiq/components/
|
|
7
|
-
import * as i6 from "
|
|
8
|
-
import * as i7 from "
|
|
9
|
-
import * as i8 from "@koobiq/components/tabs";
|
|
4
|
+
import * as i3 from "@koobiq/components/button";
|
|
5
|
+
import * as i4 from "@koobiq/components/tooltip";
|
|
6
|
+
import * as i5 from "@koobiq/components/icon";
|
|
7
|
+
import * as i6 from "ngx-highlightjs";
|
|
8
|
+
import * as i7 from "@koobiq/components/tabs";
|
|
10
9
|
export declare class KbqCodeBlockModule {
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqCodeBlockModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqCodeBlockModule, [typeof i1.KbqCodeBlockComponent, typeof i2.KbqActionBarComponent], [typeof i3.
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqCodeBlockModule, [typeof i1.KbqCodeBlockComponent, typeof i2.KbqActionBarComponent], [typeof i3.KbqButtonModule, typeof i4.KbqToolTipModule, typeof i5.KbqIconModule, typeof i6.HighlightModule, typeof i7.KbqTabsModule], [typeof i1.KbqCodeBlockComponent]>;
|
|
13
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<KbqCodeBlockModule>;
|
|
14
13
|
}
|
|
@@ -1,30 +1,22 @@
|
|
|
1
|
-
@use 'sass:meta';
|
|
2
|
-
@use 'sass:map';
|
|
3
|
-
|
|
4
|
-
@use '../styles/typography/typography-utils' as *;
|
|
5
|
-
@use './forms' as *;
|
|
6
1
|
@use '../styles/common/tokens' as *;
|
|
7
2
|
|
|
8
|
-
@
|
|
9
|
-
|
|
3
|
+
@use './forms' as *;
|
|
4
|
+
@use './forms-tokens';
|
|
10
5
|
|
|
11
|
-
|
|
6
|
+
@mixin kbq-forms-theme() {
|
|
7
|
+
@include kbq-form-geometry();
|
|
12
8
|
|
|
13
9
|
.kbq-form__label {
|
|
14
|
-
color: kbq-css-variable(forms-label
|
|
10
|
+
color: kbq-css-variable(forms-label);
|
|
15
11
|
}
|
|
16
12
|
|
|
17
13
|
.kbq-form__legend {
|
|
18
|
-
color: kbq-css-variable(forms-legend
|
|
14
|
+
color: kbq-css-variable(forms-legend);
|
|
19
15
|
}
|
|
20
16
|
}
|
|
21
17
|
|
|
22
|
-
@mixin kbq-forms-typography(
|
|
18
|
+
@mixin kbq-forms-typography() {
|
|
23
19
|
.kbq-form__label {
|
|
24
20
|
@include kbq-typography-css-variables(forms, label);
|
|
25
21
|
}
|
|
26
|
-
|
|
27
|
-
//.kbq-form__legend {
|
|
28
|
-
// @include kbq-typography-level-to-styles($config, map.get($tokens, forms-font-default-legend));
|
|
29
|
-
//}
|
|
30
22
|
}
|
package/core/forms/_forms.scss
CHANGED
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
@use 'sass:meta';
|
|
2
|
-
@use 'sass:map';
|
|
3
|
-
|
|
4
|
-
@use '../styles/common/vendor-prefixes';
|
|
5
|
-
@use '../styles/typography/typography' as *;
|
|
6
|
-
@use '../styles/typography/typography-utils' as *;
|
|
7
1
|
@use '../styles/common/tokens' as *;
|
|
8
2
|
|
|
9
|
-
@mixin kbq-form-geometry(
|
|
3
|
+
@mixin kbq-form-geometry() {
|
|
10
4
|
.kbq-form {
|
|
11
5
|
display: flex;
|
|
12
6
|
flex-direction: column;
|
|
@@ -18,8 +12,8 @@
|
|
|
18
12
|
}
|
|
19
13
|
|
|
20
14
|
.kbq-form-horizontal {
|
|
21
|
-
$line-height: kbq-css-variable(forms-font-label-line-height
|
|
22
|
-
$form-field-size-height: kbq-css-variable(form-field-size-height
|
|
15
|
+
$line-height: kbq-css-variable(forms-font-label-line-height);
|
|
16
|
+
$form-field-size-height: kbq-css-variable(form-field-size-height);
|
|
23
17
|
|
|
24
18
|
& .kbq-form-row_margin {
|
|
25
19
|
margin-bottom: kbq-css-variable(forms-size-horizontal-row-margin-bottom);
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
.kbq-form {
|
|
2
|
+
--kbq-form-field-size-height: 32px;
|
|
3
|
+
--kbq-forms-size-horizontal-row-margin-bottom: 20px;
|
|
4
|
+
--kbq-forms-size-horizontal-control-padding-left: 16px;
|
|
5
|
+
--kbq-forms-size-horizontal-legend-margin-top: 32px;
|
|
6
|
+
--kbq-forms-size-horizontal-legend-margin-bottom: 16px;
|
|
7
|
+
--kbq-forms-size-vertical-row-margin-bottom: 16px;
|
|
8
|
+
--kbq-forms-size-vertical-label-padding-top: 0;
|
|
9
|
+
--kbq-forms-size-vertical-label-padding-bottom: 8px;
|
|
10
|
+
--kbq-forms-size-vertical-control-padding-left: 24px;
|
|
11
|
+
--kbq-forms-size-vertical-legend-margin-top: 32px;
|
|
12
|
+
--kbq-forms-size-vertical-legend-margin-bottom: 12px;
|
|
13
|
+
--kbq-forms-font-label-font-size: 14px;
|
|
14
|
+
--kbq-forms-font-label-line-height: 20px;
|
|
15
|
+
--kbq-forms-font-label-letter-spacing: -0.006em;
|
|
16
|
+
--kbq-forms-font-label-font-weight: normal;
|
|
17
|
+
--kbq-forms-font-label-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial,
|
|
18
|
+
sans-serif;
|
|
19
|
+
--kbq-forms-font-label-text-transform: null;
|
|
20
|
+
--kbq-forms-font-label-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
|
|
21
|
+
--kbq-forms-font-legend-font-size: 18px;
|
|
22
|
+
--kbq-forms-font-legend-line-height: 26px;
|
|
23
|
+
--kbq-forms-font-legend-letter-spacing: normal;
|
|
24
|
+
--kbq-forms-font-legend-font-weight: 600;
|
|
25
|
+
--kbq-forms-font-legend-font-family: 'TT-Positive', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI',
|
|
26
|
+
'Helvetica Neue', Arial, sans-serif;
|
|
27
|
+
--kbq-forms-font-legend-text-transform: null;
|
|
28
|
+
--kbq-forms-font-legend-font-feature-settings: 'calt', 'kern', 'liga';
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
:where(.kbq-light, .theme-light, .kbq-theme-light) {
|
|
32
|
+
--kbq-forms-label: hsla(229, 15%, 15%, 100%);
|
|
33
|
+
--kbq-forms-legend: hsla(229, 15%, 15%, 100%);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
:where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
|
|
37
|
+
--kbq-forms-label: hsla(229, 15%, 80%, 100%);
|
|
38
|
+
--kbq-forms-legend: hsla(229, 15%, 80%, 100%);
|
|
39
|
+
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
|
-
@use 'sass:meta';
|
|
2
|
-
@use 'sass:map';
|
|
3
|
-
|
|
4
|
-
@use '../styles/typography/typography-utils' as *;
|
|
5
1
|
@use '../styles/common/tokens' as *;
|
|
6
2
|
|
|
7
|
-
@mixin kbq-optgroup-theme(
|
|
8
|
-
$foreground: map.get($theme, foreground);
|
|
9
|
-
|
|
3
|
+
@mixin kbq-optgroup-theme() {
|
|
10
4
|
.kbq-optgroup-label {
|
|
11
|
-
color: kbq-css-variable(foreground-contrast
|
|
5
|
+
color: kbq-css-variable(foreground-contrast);
|
|
12
6
|
}
|
|
13
7
|
|
|
14
8
|
.kbq-disabled .kbq-optgroup-label {
|
|
15
|
-
color: kbq-css-variable(foreground-text-disabled
|
|
9
|
+
color: kbq-css-variable(foreground-text-disabled);
|
|
16
10
|
}
|
|
17
11
|
}
|
|
18
12
|
|
|
19
|
-
@mixin kbq-optgroup-typography(
|
|
13
|
+
@mixin kbq-optgroup-typography() {
|
|
20
14
|
.kbq-optgroup-label {
|
|
21
15
|
@include kbq-typography-css-variables(optgroup, default);
|
|
22
16
|
}
|
|
@@ -1,38 +1,30 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
|
|
3
|
-
@use '../styles/theming/theming' as *;
|
|
4
|
-
@use '../styles/typography/typography-utils' as *;
|
|
5
1
|
@use '../styles/common/tokens' as *;
|
|
6
2
|
|
|
7
|
-
@mixin kbq-option-action-theme(
|
|
8
|
-
$background: map.get($theme, background);
|
|
9
|
-
|
|
10
|
-
$states: map.get($theme, states);
|
|
11
|
-
|
|
3
|
+
@mixin kbq-option-action-theme() {
|
|
12
4
|
.kbq-option-action {
|
|
13
5
|
&.cdk-keyboard-focused {
|
|
14
|
-
border-color: kbq-css-variable(states-focused-color
|
|
6
|
+
border-color: kbq-css-variable(states-focused-color);
|
|
15
7
|
}
|
|
16
8
|
|
|
17
9
|
&:active,
|
|
18
10
|
&.kbq-pressed {
|
|
19
11
|
& .kbq-icon {
|
|
20
|
-
color: kbq-css-variable(states-icon-contrast-fade-active
|
|
12
|
+
color: kbq-css-variable(states-icon-contrast-fade-active);
|
|
21
13
|
}
|
|
22
14
|
|
|
23
|
-
background-color: kbq-css-variable(background-transparent
|
|
15
|
+
background-color: kbq-css-variable(background-transparent);
|
|
24
16
|
}
|
|
25
17
|
|
|
26
18
|
&:hover .kbq-icon {
|
|
27
|
-
color: kbq-css-variable(states-icon-contrast-fade-hover
|
|
19
|
+
color: kbq-css-variable(states-icon-contrast-fade-hover);
|
|
28
20
|
}
|
|
29
21
|
|
|
30
22
|
&.kbq-disabled {
|
|
31
23
|
& .kbq-icon {
|
|
32
|
-
color: kbq-css-variable(states-icon-disabled
|
|
24
|
+
color: kbq-css-variable(states-icon-disabled);
|
|
33
25
|
}
|
|
34
26
|
|
|
35
|
-
background-color: kbq-css-variable(background-transparent
|
|
27
|
+
background-color: kbq-css-variable(background-transparent);
|
|
36
28
|
}
|
|
37
29
|
}
|
|
38
30
|
}
|
|
@@ -1,60 +1,49 @@
|
|
|
1
|
-
@use 'sass:meta';
|
|
2
|
-
@use 'sass:map';
|
|
3
|
-
|
|
4
|
-
@use '../styles/typography/typography-utils' as *;
|
|
5
1
|
@use '../styles/common/tokens' as *;
|
|
6
2
|
|
|
7
|
-
@mixin kbq-option($
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
background: kbq-css-variable(list-#{$style-name}-container-background, map.get($state, container-background));
|
|
3
|
+
@mixin kbq-option($style-name) {
|
|
4
|
+
background: kbq-css-variable(list-#{$style-name}-container-background);
|
|
11
5
|
|
|
12
6
|
.kbq-option-text {
|
|
13
|
-
color: kbq-css-variable(list-#{$style-name}-text-color
|
|
7
|
+
color: kbq-css-variable(list-#{$style-name}-text-color);
|
|
14
8
|
}
|
|
15
9
|
|
|
16
10
|
.kbq-option-action .kbq-icon {
|
|
17
|
-
color: kbq-css-variable(list-#{$style-name}-icon-button-color
|
|
11
|
+
color: kbq-css-variable(list-#{$style-name}-icon-button-color);
|
|
18
12
|
}
|
|
19
13
|
|
|
20
14
|
.kbq-option-caption {
|
|
21
|
-
color: kbq-css-variable(list-#{$style-name}-caption-color
|
|
15
|
+
color: kbq-css-variable(list-#{$style-name}-caption-color);
|
|
22
16
|
}
|
|
23
17
|
}
|
|
24
18
|
|
|
25
|
-
@mixin kbq-option-theme(
|
|
26
|
-
$list-item: map.get(map.get($theme, components), list-item);
|
|
27
|
-
|
|
19
|
+
@mixin kbq-option-theme() {
|
|
28
20
|
.kbq-option {
|
|
29
|
-
@include kbq-option(
|
|
21
|
+
@include kbq-option(default);
|
|
30
22
|
|
|
31
23
|
&:hover:not(.kbq-disabled) {
|
|
32
|
-
@include kbq-option(
|
|
24
|
+
@include kbq-option(states-hover);
|
|
33
25
|
}
|
|
34
26
|
|
|
35
27
|
&.kbq-focused,
|
|
36
28
|
&.kbq-active {
|
|
37
|
-
border-color: kbq-css-variable(
|
|
38
|
-
list-states-focused-focus-outline-color,
|
|
39
|
-
map.get($list-item, states-focused, focus-outline)
|
|
40
|
-
);
|
|
29
|
+
border-color: kbq-css-variable(list-states-focused-focus-outline-color);
|
|
41
30
|
}
|
|
42
31
|
|
|
43
32
|
&.kbq-selected {
|
|
44
|
-
@include kbq-option(
|
|
33
|
+
@include kbq-option(states-selected);
|
|
45
34
|
|
|
46
35
|
&:hover:not(.kbq-disabled) {
|
|
47
|
-
@include kbq-option(
|
|
36
|
+
@include kbq-option(states-selected-hover);
|
|
48
37
|
}
|
|
49
38
|
}
|
|
50
39
|
|
|
51
40
|
&.kbq-disabled {
|
|
52
|
-
@include kbq-option(
|
|
41
|
+
@include kbq-option(states-disabled);
|
|
53
42
|
}
|
|
54
43
|
}
|
|
55
44
|
}
|
|
56
45
|
|
|
57
|
-
@mixin kbq-option-typography(
|
|
46
|
+
@mixin kbq-option-typography() {
|
|
58
47
|
.kbq-option {
|
|
59
48
|
@include kbq-typography-css-variables(list, text);
|
|
60
49
|
}
|
package/core/option/action.scss
CHANGED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
.kbq-optgroup {
|
|
2
|
+
--kbq-size-m: 12px;
|
|
3
|
+
--kbq-optgroup-size-padding-left: 17px;
|
|
4
|
+
--kbq-optgroup-font-default-font-size: 18px;
|
|
5
|
+
--kbq-optgroup-font-default-line-height: 26px;
|
|
6
|
+
--kbq-optgroup-font-default-letter-spacing: normal;
|
|
7
|
+
--kbq-optgroup-font-default-font-weight: 600;
|
|
8
|
+
--kbq-optgroup-font-default-font-family: 'TT-Positive', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI',
|
|
9
|
+
'Helvetica Neue', Arial, sans-serif;
|
|
10
|
+
--kbq-optgroup-font-default-text-transform: null;
|
|
11
|
+
--kbq-optgroup-font-default-font-feature-settings: 'calt', 'kern', 'liga';
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:where(.kbq-light, .theme-light, .kbq-theme-light) {
|
|
15
|
+
--kbq-foreground-contrast: hsla(229, 15%, 15%, 100%);
|
|
16
|
+
--kbq-foreground-contrast-secondary: hsla(229, 15%, 50%, 100%);
|
|
17
|
+
--kbq-foreground-contrast-tertiary: hsla(229, 15%, 60%, 100%);
|
|
18
|
+
--kbq-foreground-text-disabled: hsla(229, 15%, 70%, 100%);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
:where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
|
|
22
|
+
--kbq-foreground-contrast: hsla(229, 15%, 80%, 100%);
|
|
23
|
+
--kbq-foreground-contrast-secondary: hsla(229, 15%, 60%, 100%);
|
|
24
|
+
--kbq-foreground-contrast-tertiary: hsla(229, 15%, 45%, 100%);
|
|
25
|
+
--kbq-foreground-text-disabled: hsla(229, 15%, 70%, 100%);
|
|
26
|
+
}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
@use 'sass:meta';
|
|
2
|
-
@use 'sass:map';
|
|
3
|
-
|
|
4
1
|
@use '../styles/common/vendor-prefixes';
|
|
5
|
-
@use '../styles/tokens';
|
|
6
2
|
@use '../styles/common/tokens' as *;
|
|
7
3
|
|
|
8
|
-
|
|
4
|
+
@use './optgroup-theme' as *;
|
|
9
5
|
|
|
10
6
|
.kbq-optgroup-label {
|
|
11
7
|
padding-left: kbq-css-variable(size-m);
|
|
@@ -13,3 +9,6 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
13
9
|
@include vendor-prefixes.user-select(none);
|
|
14
10
|
cursor: default;
|
|
15
11
|
}
|
|
12
|
+
|
|
13
|
+
@include kbq-optgroup-theme();
|
|
14
|
+
@include kbq-optgroup-typography();
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.kbq-option-action {
|
|
2
|
+
--kbq-list-font-text-line-height: 20px;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
:where(.kbq-light, .theme-light, .kbq-theme-light) {
|
|
6
|
+
--kbq-background-transparent: transparent;
|
|
7
|
+
--kbq-states-icon-disabled: hsla(229, 15%, 15%, 32%);
|
|
8
|
+
--kbq-states-icon-contrast-fade-hover: hsla(229, 15%, 50%, 100%);
|
|
9
|
+
--kbq-states-icon-contrast-fade-active: hsla(229, 15%, 40%, 100%);
|
|
10
|
+
--kbq-states-focused-color: hsla(216, 100%, 50%, 100%);
|
|
11
|
+
--kbq-states-focused-color-error: hsla(7, 97%, 50%, 100%);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
|
|
15
|
+
--kbq-background-transparent: transparent;
|
|
16
|
+
--kbq-states-icon-contrast-fade-hover: hsla(229, 15%, 50%, 100%);
|
|
17
|
+
--kbq-states-icon-contrast-fade-active: hsla(229, 15%, 40%, 100%);
|
|
18
|
+
--kbq-states-icon-disabled: hsla(229, 15%, 30%, 100%);
|
|
19
|
+
--kbq-states-focused-color: hsla(216, 100%, 50%, 100%);
|
|
20
|
+
--kbq-states-focused-color-error: hsla(7, 97%, 50%, 100%);
|
|
21
|
+
}
|
|
@@ -2,10 +2,9 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./option";
|
|
3
3
|
import * as i2 from "./optgroup";
|
|
4
4
|
import * as i3 from "./action";
|
|
5
|
-
import * as i4 from "
|
|
6
|
-
import * as i5 from "../selection/pseudo-checkbox/pseudo-checkbox.module";
|
|
5
|
+
import * as i4 from "../selection/pseudo-checkbox/pseudo-checkbox.module";
|
|
7
6
|
export declare class KbqOptionModule {
|
|
8
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqOptionModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqOptionModule, [typeof i1.KbqOption, typeof i2.KbqOptgroup, typeof i3.KbqOptionActionComponent], [typeof i4.
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqOptionModule, [typeof i1.KbqOption, typeof i2.KbqOptgroup, typeof i3.KbqOptionActionComponent], [typeof i4.KbqPseudoCheckboxModule], [typeof i1.KbqOption, typeof i2.KbqOptgroup, typeof i3.KbqOptionActionComponent]>;
|
|
10
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<KbqOptionModule>;
|
|
11
10
|
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
.kbq-option {
|
|
2
|
+
--kbq-size-3xs: 2px;
|
|
3
|
+
--kbq-size-xxs: 4px;
|
|
4
|
+
--kbq-size-xs: 6px;
|
|
5
|
+
--kbq-size-s: 8px;
|
|
6
|
+
--kbq-size-m: 12px;
|
|
7
|
+
--kbq-list-size-container-padding-left: 12px;
|
|
8
|
+
--kbq-list-size-container-padding-right: 12px;
|
|
9
|
+
--kbq-list-size-container-padding-vertical: 6px;
|
|
10
|
+
--kbq-list-size-container-content-gap-horizontal: 8px;
|
|
11
|
+
--kbq-list-size-container-content-gap-vertical: 2px;
|
|
12
|
+
--kbq-list-size-container-focus-outline-width: 2px;
|
|
13
|
+
--kbq-list-size-text-padding-vertical: 0;
|
|
14
|
+
--kbq-list-size-header-padding-top: 8px;
|
|
15
|
+
--kbq-list-size-header-padding-bottom: 4px;
|
|
16
|
+
--kbq-list-size-header-padding-horizontal: 12px;
|
|
17
|
+
--kbq-list-size-subheading-padding-top: 12px;
|
|
18
|
+
--kbq-list-size-subheading-padding-bottom: 4px;
|
|
19
|
+
--kbq-list-size-subheading-padding-horizontal: 12px;
|
|
20
|
+
--kbq-list-font-text-font-size: 14px;
|
|
21
|
+
--kbq-list-font-text-line-height: 20px;
|
|
22
|
+
--kbq-list-font-text-letter-spacing: -0.006em;
|
|
23
|
+
--kbq-list-font-text-font-weight: normal;
|
|
24
|
+
--kbq-list-font-text-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial,
|
|
25
|
+
sans-serif;
|
|
26
|
+
--kbq-list-font-text-text-transform: null;
|
|
27
|
+
--kbq-list-font-text-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
|
|
28
|
+
--kbq-list-font-caption-font-size: 12px;
|
|
29
|
+
--kbq-list-font-caption-line-height: 16px;
|
|
30
|
+
--kbq-list-font-caption-letter-spacing: normal;
|
|
31
|
+
--kbq-list-font-caption-font-weight: normal;
|
|
32
|
+
--kbq-list-font-caption-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial,
|
|
33
|
+
sans-serif;
|
|
34
|
+
--kbq-list-font-caption-text-transform: null;
|
|
35
|
+
--kbq-list-font-caption-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
|
|
36
|
+
--kbq-list-font-header-font-size: 16px;
|
|
37
|
+
--kbq-list-font-header-line-height: 24px;
|
|
38
|
+
--kbq-list-font-header-letter-spacing: -0.011em;
|
|
39
|
+
--kbq-list-font-header-font-weight: 600;
|
|
40
|
+
--kbq-list-font-header-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial,
|
|
41
|
+
sans-serif;
|
|
42
|
+
--kbq-list-font-header-text-transform: null;
|
|
43
|
+
--kbq-list-font-header-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
|
|
44
|
+
--kbq-list-font-subheading-font-size: 12px;
|
|
45
|
+
--kbq-list-font-subheading-line-height: 16px;
|
|
46
|
+
--kbq-list-font-subheading-letter-spacing: 1px;
|
|
47
|
+
--kbq-list-font-subheading-font-weight: 500;
|
|
48
|
+
--kbq-list-font-subheading-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue',
|
|
49
|
+
Arial, sans-serif;
|
|
50
|
+
--kbq-list-font-subheading-text-transform: uppercase;
|
|
51
|
+
--kbq-list-font-subheading-font-feature-settings: 'calt', 'case', 'kern', 'liga', 'ss01', 'ss04';
|
|
52
|
+
--kbq-option-size-horizontal-padding: 12px;
|
|
53
|
+
--kbq-option-size-height: 32px;
|
|
54
|
+
--kbq-option-size-border-width: 2px;
|
|
55
|
+
--kbq-option-font-default-font-size: 16px;
|
|
56
|
+
--kbq-option-font-default-line-height: 24px;
|
|
57
|
+
--kbq-option-font-default-letter-spacing: -0.011em;
|
|
58
|
+
--kbq-option-font-default-font-weight: normal;
|
|
59
|
+
--kbq-option-font-default-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial,
|
|
60
|
+
sans-serif;
|
|
61
|
+
--kbq-option-font-default-text-transform: null;
|
|
62
|
+
--kbq-option-font-default-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
:where(.kbq-light, .theme-light, .kbq-theme-light) {
|
|
66
|
+
--kbq-list-default-container-background: transparent;
|
|
67
|
+
--kbq-list-default-text-color: hsla(229, 15%, 15%, 100%);
|
|
68
|
+
--kbq-list-default-icon-color: hsla(229, 15%, 15%, 100%);
|
|
69
|
+
--kbq-list-default-icon-button-color: hsla(229, 15%, 60%, 100%);
|
|
70
|
+
--kbq-list-default-caption-color: hsla(229, 15%, 50%, 100%);
|
|
71
|
+
--kbq-list-states-hover-container-background: hsla(229, 15%, 50%, 8%);
|
|
72
|
+
--kbq-list-states-hover-text-color: hsla(229, 15%, 15%, 100%);
|
|
73
|
+
--kbq-list-states-hover-icon-color: hsla(229, 15%, 15%, 100%);
|
|
74
|
+
--kbq-list-states-hover-icon-button-color: hsla(229, 15%, 60%, 100%);
|
|
75
|
+
--kbq-list-states-selected-container-background: hsla(216, 100%, 94%, 100%);
|
|
76
|
+
--kbq-list-states-selected-text-color: hsla(229, 15%, 15%, 100%);
|
|
77
|
+
--kbq-list-states-selected-icon-color: hsla(229, 15%, 15%, 100%);
|
|
78
|
+
--kbq-list-states-selected-icon-button-color: hsla(229, 15%, 60%, 100%);
|
|
79
|
+
--kbq-list-states-selected-hover-container-background: hsla(216, 100%, 90%, 100%);
|
|
80
|
+
--kbq-list-states-selected-hover-text-color: hsla(229, 15%, 15%, 100%);
|
|
81
|
+
--kbq-list-states-selected-hover-icon-color: hsla(229, 15%, 15%, 100%);
|
|
82
|
+
--kbq-list-states-selected-hover-icon-button-color: hsla(229, 15%, 60%, 100%);
|
|
83
|
+
--kbq-list-states-focused-focus-outline-color: hsla(216, 100%, 60%, 100%);
|
|
84
|
+
--kbq-list-states-disabled-container-background: transparent;
|
|
85
|
+
--kbq-list-states-disabled-text-color: hsla(229, 15%, 15%, 32%);
|
|
86
|
+
--kbq-list-states-disabled-icon-color: hsla(229, 15%, 15%, 32%);
|
|
87
|
+
--kbq-list-states-disabled-icon-button-color: hsla(229, 15%, 15%, 32%);
|
|
88
|
+
--kbq-list-states-disabled-caption-color: hsla(229, 15%, 15%, 32%);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
:where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
|
|
92
|
+
--kbq-list-default-container-background: transparent;
|
|
93
|
+
--kbq-list-default-text-color: hsla(229, 15%, 80%, 100%);
|
|
94
|
+
--kbq-list-default-icon-color: hsla(229, 15%, 80%, 100%);
|
|
95
|
+
--kbq-list-default-icon-button-color: hsla(229, 15%, 45%, 100%);
|
|
96
|
+
--kbq-list-default-caption-color: hsla(229, 15%, 60%, 100%);
|
|
97
|
+
--kbq-list-states-hover-container-background: hsla(229, 15%, 50%, 16%);
|
|
98
|
+
--kbq-list-states-hover-text-color: hsla(229, 15%, 80%, 100%);
|
|
99
|
+
--kbq-list-states-hover-icon-color: hsla(229, 15%, 80%, 100%);
|
|
100
|
+
--kbq-list-states-hover-icon-button-color: hsla(229, 15%, 45%, 100%);
|
|
101
|
+
--kbq-list-states-selected-container-background: hsla(216, 100%, 18%, 100%);
|
|
102
|
+
--kbq-list-states-selected-text-color: hsla(229, 15%, 80%, 100%);
|
|
103
|
+
--kbq-list-states-selected-icon-color: hsla(229, 15%, 80%, 100%);
|
|
104
|
+
--kbq-list-states-selected-icon-button-color: hsla(229, 15%, 45%, 100%);
|
|
105
|
+
--kbq-list-states-selected-hover-container-background: hsla(216, 100%, 15%, 100%);
|
|
106
|
+
--kbq-list-states-selected-hover-text-color: hsla(229, 15%, 80%, 100%);
|
|
107
|
+
--kbq-list-states-selected-hover-icon-color: hsla(229, 15%, 80%, 100%);
|
|
108
|
+
--kbq-list-states-selected-hover-icon-button-color: hsla(229, 15%, 45%, 100%);
|
|
109
|
+
--kbq-list-states-focused-focus-outline-color: hsla(216, 100%, 60%, 100%);
|
|
110
|
+
--kbq-list-states-disabled-container-background: transparent;
|
|
111
|
+
--kbq-list-states-disabled-text-color: hsla(229, 15%, 40%, 100%);
|
|
112
|
+
--kbq-list-states-disabled-icon-color: hsla(229, 15%, 30%, 100%);
|
|
113
|
+
--kbq-list-states-disabled-icon-button-color: hsla(229, 15%, 30%, 100%);
|
|
114
|
+
--kbq-list-states-disabled-caption-color: hsla(229, 15%, 40%, 100%);
|
|
115
|
+
}
|
package/core/option/option.scss
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
@use 'sass:meta';
|
|
2
|
-
@use 'sass:map';
|
|
3
|
-
|
|
4
1
|
@use '../styles/common';
|
|
5
2
|
|
|
3
|
+
@use './option-theme' as *;
|
|
4
|
+
|
|
6
5
|
.kbq-option {
|
|
7
6
|
@include common.kbq-list-item-base();
|
|
8
7
|
|
|
@@ -14,3 +13,6 @@
|
|
|
14
13
|
.kbq-option-text {
|
|
15
14
|
@include common.kbq-list-text();
|
|
16
15
|
}
|
|
16
|
+
|
|
17
|
+
@include kbq-option-theme();
|
|
18
|
+
@include kbq-option-typography();
|
|
@@ -7,45 +7,23 @@
|
|
|
7
7
|
|
|
8
8
|
@use '../../link/link-theme' as *;
|
|
9
9
|
@use '../../markdown/markdown-theme' as *;
|
|
10
|
-
@use '../../progress-bar/progress-bar-theme' as *;
|
|
11
|
-
@use '../../progress-spinner/progress-spinner-theme' as *;
|
|
12
|
-
@use '../../radio/radio-theme' as *;
|
|
13
|
-
@use '../../risk-level/risk-level-theme' as *;
|
|
14
|
-
@use '../../select/select-theme' as *;
|
|
15
|
-
@use '../../sidepanel/sidepanel-theme' as *;
|
|
16
|
-
@use '../../scrollbar/scrollbar-component-theme' as *;
|
|
17
|
-
@use '../../splitter/splitter-theme' as *;
|
|
18
10
|
@use '../../tabs/tabs-theme' as *;
|
|
19
11
|
@use '../../tags/tag-theme' as *;
|
|
20
12
|
@use '../../textarea/textarea-theme' as *;
|
|
21
13
|
@use '../forms/forms-theme' as *;
|
|
22
|
-
@use '../option/option-theme' as *;
|
|
23
|
-
@use '../option/optgroup-theme' as *;
|
|
24
|
-
@use '../option/option-action-theme' as *;
|
|
25
14
|
@use '../highlight/highlight-theme' as *;
|
|
26
15
|
|
|
27
16
|
@mixin koobiq-theme($theme) {
|
|
28
17
|
@include kbq-core-theme($theme);
|
|
29
18
|
|
|
30
|
-
@include kbq-forms-theme(
|
|
19
|
+
@include kbq-forms-theme();
|
|
31
20
|
@include kbq-highlight-theme();
|
|
32
21
|
// link is a directive, so styles for it should be applied globally
|
|
33
22
|
@include kbq-link-theme();
|
|
34
23
|
@include kbq-markdown-theme();
|
|
35
|
-
@include kbq-
|
|
36
|
-
@include kbq-
|
|
37
|
-
@include kbq-
|
|
38
|
-
@include kbq-progress-bar-theme($theme);
|
|
39
|
-
@include kbq-progress-spinner-theme($theme);
|
|
40
|
-
@include kbq-radio-theme($theme);
|
|
41
|
-
@include kbq-risk-level-theme($theme);
|
|
42
|
-
@include kbq-scrollbar-theme($theme);
|
|
43
|
-
@include kbq-scrollbar-component-theme($theme);
|
|
44
|
-
@include kbq-select-theme($theme);
|
|
45
|
-
@include kbq-sidepanel-theme($theme);
|
|
46
|
-
@include kbq-splitter-theme($theme);
|
|
47
|
-
@include kbq-tabs-theme($theme);
|
|
48
|
-
@include kbq-tag-theme($theme);
|
|
24
|
+
@include kbq-scrollbar-theme();
|
|
25
|
+
@include kbq-tabs-theme();
|
|
26
|
+
@include kbq-tag-theme();
|
|
49
27
|
}
|
|
50
28
|
|
|
51
29
|
@mixin koobiq-typography($tokens, $config: null, $md-config: null) {
|
|
@@ -57,16 +35,8 @@
|
|
|
57
35
|
@include kbq-markdown-base-typography();
|
|
58
36
|
@include kbq-markdown-typography();
|
|
59
37
|
|
|
60
|
-
@include kbq-forms-typography(
|
|
61
|
-
@include kbq-
|
|
62
|
-
@include kbq-
|
|
63
|
-
@include kbq-progress-bar-typography($config);
|
|
64
|
-
@include kbq-progress-spinner-typography($config);
|
|
65
|
-
@include kbq-radio-typography($config);
|
|
66
|
-
@include kbq-risk-level-typography($config);
|
|
67
|
-
@include kbq-select-typography($config);
|
|
68
|
-
@include kbq-sidepanel-typography($config);
|
|
69
|
-
@include kbq-tabs-typography($config);
|
|
70
|
-
@include kbq-tag-typography($config);
|
|
38
|
+
@include kbq-forms-typography();
|
|
39
|
+
@include kbq-tabs-typography();
|
|
40
|
+
@include kbq-tag-typography();
|
|
71
41
|
@include kbq-textarea-typography();
|
|
72
42
|
}
|