@koobiq/components 16.0.0-beta.1 → 16.0.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +2 -2
- package/autocomplete/autocomplete-origin.directive.d.ts +1 -1
- package/autocomplete/autocomplete-trigger.directive.d.ts +1 -1
- package/autocomplete/autocomplete.component.d.ts +1 -1
- package/autocomplete/autocomplete.scss +0 -3
- package/badge/README.md +0 -0
- package/{core/styles/theming/_badges-theme.scss → badge/_badge-theme.scss} +1 -5
- package/badge/badge.component.d.ts +26 -0
- package/badge/badge.component.scss +55 -0
- package/badge/badge.module.d.ts +10 -0
- package/badge/index.d.ts +1 -0
- package/badge/public-api.d.ts +2 -0
- package/button/button.scss +5 -2
- package/checkbox/README.md +1 -1
- package/checkbox/checkbox.d.ts +1 -1
- package/core/common-behaviors/color.d.ts +1 -1
- package/core/common-behaviors/common-module.d.ts +1 -1
- package/core/forms/_forms-theme.scss +4 -4
- package/core/forms/_forms.scss +1 -3
- package/core/option/_option-theme.scss +39 -16
- package/core/option/action.scss +3 -4
- package/core/option/option.scss +6 -51
- package/core/styles/_koobiq-theme.scss +4 -1
- package/core/styles/_tokens.kbq.import.scss +4 -4
- package/core/styles/_tokens.scss +4 -4
- package/core/styles/common/_list.scss +123 -0
- package/core/styles/common/_select.scss +218 -0
- package/core/styles/theming/_components-theming.scss +414 -47
- package/datepicker/datepicker-animations.d.ts +1 -1
- package/dropdown/_dropdown-theme.scss +30 -37
- package/dropdown/dropdown-item.component.d.ts +1 -1
- package/dropdown/dropdown-item.scss +18 -40
- package/dropdown/dropdown.scss +16 -39
- package/esm2022/alert/alert.component.mjs +1 -1
- package/esm2022/autocomplete/autocomplete-origin.directive.mjs +4 -4
- package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +8 -8
- package/esm2022/autocomplete/autocomplete.component.mjs +4 -4
- package/esm2022/badge/badge.component.mjs +62 -0
- package/esm2022/badge/badge.module.mjs +36 -0
- package/esm2022/badge/index.mjs +2 -0
- package/esm2022/badge/koobiq-components-badge.mjs +5 -0
- package/esm2022/badge/public-api.mjs +3 -0
- package/esm2022/button/button.component.mjs +2 -2
- package/esm2022/checkbox/checkbox.mjs +2 -2
- package/esm2022/code-block/actionbar.component.mjs +3 -3
- package/esm2022/code-block/code-block.component.mjs +3 -3
- package/esm2022/core/common-behaviors/color.mjs +1 -1
- package/esm2022/core/common-behaviors/common-module.mjs +2 -2
- package/esm2022/core/option/action.mjs +5 -5
- package/esm2022/core/option/option.mjs +3 -3
- package/esm2022/core/overlay/overlay-position-map.mjs +2 -1
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +3 -3
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/datepicker/calendar-header.component.mjs +3 -3
- package/esm2022/datepicker/datepicker-animations.mjs +2 -2
- package/esm2022/dropdown/dropdown-item.component.mjs +3 -3
- package/esm2022/dropdown/dropdown.component.mjs +3 -3
- package/esm2022/file-upload/multiple-file-upload.component.mjs +2 -2
- package/esm2022/file-upload/single-file-upload.component.mjs +2 -2
- package/esm2022/form-field/form-field.mjs +6 -6
- package/esm2022/form-field/password-hint.mjs +2 -2
- package/esm2022/form-field/password-toggle.mjs +6 -6
- package/esm2022/form-field/prefix.mjs +3 -3
- package/esm2022/form-field/validate.directive.mjs +5 -5
- package/esm2022/icon/icon.component.mjs +3 -3
- package/esm2022/input/input-errors.mjs +2 -2
- package/esm2022/input/input-number.mjs +3 -3
- package/esm2022/input/input-password.mjs +5 -5
- package/esm2022/input/input.mjs +7 -7
- package/esm2022/link/link.component.mjs +2 -12
- package/esm2022/list/list-selection.component.mjs +20 -7
- package/esm2022/list/list.component.mjs +2 -2
- package/esm2022/list/list.module.mjs +8 -4
- package/esm2022/loader-overlay/loader-overlay.component.mjs +20 -19
- package/esm2022/modal/modal.component.mjs +6 -20
- package/esm2022/navbar/vertical-navbar.animation.mjs +2 -2
- package/esm2022/progress-spinner/progress-spinner.component.mjs +1 -1
- package/esm2022/risk-level/index.mjs +2 -0
- package/esm2022/risk-level/koobiq-components-risk-level.mjs +5 -0
- package/esm2022/risk-level/public-api.mjs +3 -0
- package/esm2022/risk-level/risk-level.component.mjs +40 -0
- package/esm2022/risk-level/risk-level.module.mjs +28 -0
- package/esm2022/select/select.component.mjs +5 -5
- package/esm2022/sidepanel/sidepanel-container.component.mjs +3 -3
- package/esm2022/sidepanel/sidepanel-directives.mjs +7 -9
- package/esm2022/tabs/tab-group.component.mjs +16 -21
- package/esm2022/tabs/tab-header.component.mjs +2 -2
- package/esm2022/tabs/tab-label-wrapper.directive.mjs +3 -3
- package/esm2022/tabs/tab-label.directive.mjs +3 -3
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +17 -7
- package/esm2022/tabs/tabs.module.mjs +2 -6
- package/esm2022/tags/tag-input.mjs +8 -8
- package/esm2022/tags/tag-list.component.mjs +4 -4
- package/esm2022/tags/tag.component.mjs +6 -6
- package/esm2022/textarea/textarea.component.mjs +4 -4
- package/esm2022/timezone/timezone-option.component.mjs +3 -3
- package/esm2022/timezone/timezone-select.component.mjs +2 -2
- package/esm2022/toast/toast-container.component.mjs +2 -2
- package/esm2022/toast/toast.component.mjs +25 -13
- package/esm2022/toast/toast.module.mjs +14 -5
- package/esm2022/toast/toast.type.mjs +6 -1
- package/esm2022/tooltip/tooltip.animations.mjs +2 -2
- package/esm2022/tooltip/tooltip.component.mjs +14 -14
- package/esm2022/tree/padding.directive.mjs +4 -4
- package/esm2022/tree/toggle.mjs +5 -4
- package/esm2022/tree/tree-option.component.mjs +4 -7
- package/esm2022/tree/tree.module.mjs +13 -4
- package/esm2022/tree-select/tree-select.component.mjs +16 -10
- package/fesm2022/koobiq-components-alert.mjs.map +1 -1
- package/fesm2022/koobiq-components-autocomplete.mjs +13 -13
- package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
- package/fesm2022/koobiq-components-badge.mjs +102 -0
- package/fesm2022/koobiq-components-badge.mjs.map +1 -0
- package/fesm2022/koobiq-components-button.mjs +2 -2
- package/fesm2022/koobiq-components-button.mjs.map +1 -1
- package/fesm2022/koobiq-components-checkbox.mjs +1 -1
- 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 +11 -10
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +3 -3
- package/fesm2022/koobiq-components-datepicker.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-file-upload.mjs +4 -4
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +17 -17
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +2 -2
- package/fesm2022/koobiq-components-icon.mjs.map +1 -1
- package/fesm2022/koobiq-components-input.mjs +13 -13
- package/fesm2022/koobiq-components-input.mjs.map +1 -1
- package/fesm2022/koobiq-components-link.mjs +1 -11
- package/fesm2022/koobiq-components-link.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +28 -11
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-loader-overlay.mjs +19 -18
- package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +5 -19
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +1 -1
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
- package/fesm2022/koobiq-components-risk-level.mjs +72 -0
- package/fesm2022/koobiq-components-risk-level.mjs.map +1 -0
- package/fesm2022/koobiq-components-select.mjs +4 -4
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidepanel.mjs +9 -10
- package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
- package/fesm2022/koobiq-components-tabs.mjs +38 -37
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +15 -15
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-textarea.mjs +3 -3
- package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
- package/fesm2022/koobiq-components-timezone.mjs +4 -4
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-toast.mjs +41 -15
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/fesm2022/koobiq-components-tooltip.mjs +14 -14
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +15 -9
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +27 -20
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/form-field/_form-field-theme.scss +2 -2
- package/form-field/form-field.d.ts +2 -2
- package/form-field/password-toggle.d.ts +2 -2
- package/form-field/prefix.d.ts +1 -1
- package/form-field/validate.directive.d.ts +1 -1
- package/input/input-number.d.ts +1 -1
- package/input/input-password.d.ts +1 -1
- package/input/input.d.ts +2 -2
- package/input/input.scss +3 -1
- package/link/_link-theme.scss +1 -3
- package/link/link.component.d.ts +1 -4
- package/list/_list-theme.scss +35 -15
- package/list/list-selection.component.d.ts +5 -1
- package/list/list.module.d.ts +1 -1
- package/list/list.scss +3 -12
- package/loader-overlay/_loader-overlay-theme.scss +43 -11
- package/loader-overlay/loader-overlay.component.d.ts +6 -5
- package/loader-overlay/loader-overlay.scss +53 -22
- package/modal/_modal-confirm.scss +20 -28
- package/modal/_modal-theme.scss +5 -35
- package/modal/modal.component.d.ts +3 -6
- package/modal/modal.scss +32 -36
- package/package.json +41 -29
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/progress-spinner/progress-spinner.component.d.ts +2 -2
- package/risk-level/README.md +0 -0
- package/risk-level/_risk-level-theme.scss +88 -0
- package/risk-level/index.d.ts +1 -0
- package/risk-level/public-api.d.ts +2 -0
- package/risk-level/risk-level.component.d.ts +18 -0
- package/risk-level/risk-level.component.scss +26 -0
- package/risk-level/risk-level.module.d.ts +10 -0
- package/select/_select-theme.scss +8 -0
- package/select/select.scss +5 -189
- package/sidepanel/_sidepanel-theme.scss +6 -41
- package/sidepanel/sidepanel-directives.d.ts +0 -2
- package/sidepanel/sidepanel.scss +33 -35
- package/tabs/_tabs-common.scss +27 -146
- package/tabs/_tabs-theme.scss +81 -175
- package/tabs/tab-group.component.d.ts +5 -8
- package/tabs/tab-group.scss +10 -10
- package/tabs/tab-header.scss +2 -24
- package/tabs/tab-label-wrapper.directive.d.ts +1 -1
- package/tabs/tab-label.directive.d.ts +1 -1
- package/tabs/tab-nav-bar/tab-nav-bar.d.ts +3 -1
- package/tabs/tab-nav-bar/tab-nav-bar.scss +9 -16
- package/tabs/tabs.module.d.ts +1 -1
- package/tags/_tag-theme.scss +0 -24
- package/tags/tag-input.d.ts +1 -1
- package/tags/tag-list.scss +20 -16
- package/tags/tag.component.d.ts +3 -3
- package/textarea/textarea.component.d.ts +1 -1
- package/toast/_toast-theme.scss +21 -33
- package/toast/toast-container.component.scss +2 -1
- package/toast/toast.component.d.ts +4 -1
- package/toast/toast.component.scss +41 -34
- package/toast/toast.module.d.ts +1 -1
- package/toast/toast.type.d.ts +8 -5
- package/tooltip/tooltip.animations.d.ts +1 -1
- package/tooltip/tooltip.component.d.ts +4 -4
- package/tree/_tree-theme.scss +46 -34
- package/tree/tree-option.component.d.ts +0 -1
- package/tree/tree-option.scss +34 -23
- package/tree/tree.module.d.ts +2 -1
- package/tree-select/_tree-select-theme.scss +9 -1
- package/tree-select/tree-select.component.d.ts +5 -3
- package/tree-select/tree-select.scss +5 -194
- package/core/styles/theming/_badges.scss +0 -57
- package/core/styles/theming/prebuilt/light-theme.scss +0 -20
- package/list/_list-base.scss +0 -54
|
@@ -103,10 +103,10 @@
|
|
|
103
103
|
$tokens: map.get($config, tokens);
|
|
104
104
|
|
|
105
105
|
.kbq-form-field {
|
|
106
|
-
@include kbq-typography-level-to-styles($config, map.get($tokens, form-field-font-
|
|
106
|
+
@include kbq-typography-level-to-styles($config, map.get($tokens, form-field-font-text));
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
.kbq-form-field__hint > .kbq-hint {
|
|
109
|
+
.kbq-form-field__hint > .kbq-hint .kbq-hint__text {
|
|
110
110
|
@include kbq-typography-level-to-styles($config, map.get($tokens, form-field-hint-font-text));
|
|
111
111
|
}
|
|
112
112
|
}
|
|
@@ -66,7 +66,7 @@ export declare class KbqFormField extends KbqFormFieldMixinBase implements After
|
|
|
66
66
|
/** Throws an error if the form field's control is missing. */
|
|
67
67
|
protected validateControlChild(): void;
|
|
68
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqFormField, never>;
|
|
69
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqFormField, "kbq-form-field", ["mcFormField"], { "color": { "alias": "color"; "required": false; }; }, {}, ["control", "stepper", "cleaner", "passwordToggle", "hint", "passwordHints", "suffix", "prefix"], ["[
|
|
69
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqFormField, "kbq-form-field", ["mcFormField"], { "color": { "alias": "color"; "required": false; }; }, {}, ["control", "stepper", "cleaner", "passwordToggle", "hint", "passwordHints", "suffix", "prefix"], ["[kbqPrefix]", "*", "[mcSuffix]", "kbq-cleaner", "kbq-password-toggle", "kbq-stepper", "kbq-hint, kbq-password-hint"], false, never>;
|
|
70
70
|
}
|
|
71
71
|
export declare class KbqFormFieldWithoutBorders {
|
|
72
72
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqFormFieldWithoutBorders, never>;
|
|
@@ -80,5 +80,5 @@ export declare class KbqTrim {
|
|
|
80
80
|
trim(value: any): any;
|
|
81
81
|
private registerOnChange;
|
|
82
82
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTrim, [{ attribute: "no-trim"; }, { optional: true; self: true; }]>;
|
|
83
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTrim, "[
|
|
83
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTrim, "[kbqInput], [kbqTextarea]", ["KbqTrim"], {}, {}, never, never, false, never>;
|
|
84
84
|
}
|
|
@@ -8,11 +8,11 @@ export declare class KbqPasswordToggle extends KbqTooltipTrigger {
|
|
|
8
8
|
private formField;
|
|
9
9
|
get content(): string | TemplateRef<any>;
|
|
10
10
|
set content(content: string | TemplateRef<any>);
|
|
11
|
-
|
|
11
|
+
kbqTooltipHidden: string | TemplateRef<any>;
|
|
12
12
|
get hidden(): boolean;
|
|
13
13
|
get icon(): string;
|
|
14
14
|
constructor(overlay: Overlay, elementRef: ElementRef, ngZone: NgZone, scrollDispatcher: ScrollDispatcher, hostView: ViewContainerRef, scrollStrategy: any, direction: Directionality, formField: KbqFormFieldRef);
|
|
15
15
|
toggle(event: KeyboardEvent): void;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqPasswordToggle, [null, null, null, null, null, null, { optional: true; }, null]>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqPasswordToggle, "kbq-password-toggle", ["mcPasswordToggle"], { "content": { "alias": "
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqPasswordToggle, "kbq-password-toggle", ["mcPasswordToggle"], { "content": { "alias": "kbqTooltipNotHidden"; "required": false; }; "kbqTooltipHidden": { "alias": "kbqTooltipHidden"; "required": false; }; }, {}, never, never, false, never>;
|
|
18
18
|
}
|
package/form-field/prefix.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class KbqPrefix {
|
|
3
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqPrefix, never>;
|
|
4
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqPrefix, "[
|
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqPrefix, "[kbqPrefix]", never, {}, {}, never, never, false, never>;
|
|
5
5
|
}
|
|
@@ -29,5 +29,5 @@ export declare class KbqValidateDirective implements AfterContentInit {
|
|
|
29
29
|
setMosaicValidationForModelControl(): void;
|
|
30
30
|
setMosaicValidationForFormControl(): void;
|
|
31
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqValidateDirective, [null, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; }, { optional: true; }, { optional: true; }, null]>;
|
|
32
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqValidateDirective, " input[
|
|
32
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqValidateDirective, " input[kbqInput], input[kbqInputPassword], input[mcTimepicker], input[mcDatepicker], textarea[kbqTextarea], kbq-select, kbq-tree-select, kbq-tag-list ", ["KbqValidate"], {}, {}, never, never, false, never>;
|
|
33
33
|
}
|
package/input/input-number.d.ts
CHANGED
|
@@ -29,5 +29,5 @@ export declare class KbqNumberInput {
|
|
|
29
29
|
stepDown(step: number): void;
|
|
30
30
|
private viewToModelUpdate;
|
|
31
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqNumberInput, [null, { optional: true; self: true; }, { attribute: "step"; }, { attribute: "big-step"; }, { attribute: "min"; }, { attribute: "max"; }]>;
|
|
32
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqNumberInput, "input[
|
|
32
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqNumberInput, "input[kbqInput][type=\"number\"]", ["mcNumericalInput"], { "bigStep": { "alias": "bigStep"; "required": false; }; "step": { "alias": "step"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; }, {}, never, never, false, never>;
|
|
33
33
|
}
|
|
@@ -88,5 +88,5 @@ export declare class KbqInputPassword extends KbqInputMixinBase implements KbqFo
|
|
|
88
88
|
/** Checks whether the input is invalid based on the native validation. */
|
|
89
89
|
protected isBadInput(): boolean;
|
|
90
90
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqInputPassword, [null, { optional: true; self: true; }, { optional: true; }, { optional: true; }, null, { optional: true; self: true; }]>;
|
|
91
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqInputPassword, "input[
|
|
91
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqInputPassword, "input[kbqInputPassword]", ["kbqInputPassword"], { "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "id": { "alias": "id"; "required": false; }; "required": { "alias": "required"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
|
|
92
92
|
}
|
package/input/input.d.ts
CHANGED
|
@@ -109,9 +109,9 @@ export declare class KbqInput extends KbqInputMixinBase implements KbqFormFieldC
|
|
|
109
109
|
/** Checks whether the input is invalid based on the native validation. */
|
|
110
110
|
protected isBadInput(): boolean;
|
|
111
111
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqInput, [null, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; }, { optional: true; }, null, { optional: true; self: true; }]>;
|
|
112
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqInput, "input[
|
|
112
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqInput, "input[kbqInput]", ["kbqInput"], { "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "id": { "alias": "id"; "required": false; }; "required": { "alias": "required"; "required": false; }; "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
|
|
113
113
|
}
|
|
114
114
|
export declare class KbqInputMono {
|
|
115
115
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqInputMono, never>;
|
|
116
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqInputMono, "input[
|
|
116
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqInputMono, "input[kbqInputMonospace]", ["KbqInputMonospace"], {}, {}, never, never, false, never>;
|
|
117
117
|
}
|
package/input/input.scss
CHANGED
|
@@ -14,6 +14,8 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
14
14
|
display: inline-block;
|
|
15
15
|
box-sizing: border-box;
|
|
16
16
|
|
|
17
|
+
text-overflow: ellipsis;
|
|
18
|
+
|
|
17
19
|
width: 100%;
|
|
18
20
|
min-height: calc(
|
|
19
21
|
var(--kbq-form-field-size-height, map.get($tokens, form-field-size-height)) -
|
|
@@ -25,7 +27,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
25
27
|
var(--kbq-input-size-padding-vertical, map.get($tokens, input-size-padding-vertical)) -
|
|
26
28
|
var(--kbq-form-field-size-border-width, map.get($tokens, form-field-size-border-width))
|
|
27
29
|
)
|
|
28
|
-
var(--kbq-input-size-padding-horizontal, map.get($tokens, input-size-padding-horizontal))
|
|
30
|
+
var(--kbq-input-size-padding-horizontal, map.get($tokens, input-size-padding-horizontal));
|
|
29
31
|
}
|
|
30
32
|
|
|
31
33
|
input.kbq-input[type="number"] {
|
package/link/_link-theme.scss
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
@mixin kbq-link($foreground, $link, $tokens) {
|
|
8
|
-
display: inline
|
|
8
|
+
display: inline;
|
|
9
9
|
|
|
10
10
|
color: map.get($link, text);
|
|
11
11
|
text-decoration: none;
|
|
@@ -69,8 +69,6 @@
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
&.kbq-link_pseudo {
|
|
72
|
-
display: inline;
|
|
73
|
-
|
|
74
72
|
&.kbq-text-only,
|
|
75
73
|
&.kbq-text-with-icon .kbq-link__text {
|
|
76
74
|
border-bottom: none !important;
|
package/link/link.component.d.ts
CHANGED
|
@@ -22,9 +22,6 @@ export declare class KbqLink extends KbqLinkMixinBase implements OnDestroy, HasT
|
|
|
22
22
|
get noUnderline(): any;
|
|
23
23
|
set noUnderline(value: any);
|
|
24
24
|
private _noUnderline;
|
|
25
|
-
get caption(): any;
|
|
26
|
-
set caption(value: any);
|
|
27
|
-
private _caption;
|
|
28
25
|
get big(): any;
|
|
29
26
|
set big(value: any);
|
|
30
27
|
private _big;
|
|
@@ -43,5 +40,5 @@ export declare class KbqLink extends KbqLinkMixinBase implements OnDestroy, HasT
|
|
|
43
40
|
getHostElement(): any;
|
|
44
41
|
private updatePrintUrl;
|
|
45
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqLink, never>;
|
|
46
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqLink, "[kbq-link]", ["mcLink"], { "tabIndex": { "alias": "tabIndex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "pseudo": { "alias": "pseudo"; "required": false; }; "noUnderline": { "alias": "noUnderline"; "required": false; }; "
|
|
43
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqLink, "[kbq-link]", ["mcLink"], { "tabIndex": { "alias": "tabIndex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "pseudo": { "alias": "pseudo"; "required": false; }; "noUnderline": { "alias": "noUnderline"; "required": false; }; "big": { "alias": "big"; "required": false; }; "useVisited": { "alias": "useVisited"; "required": false; }; "print": { "alias": "print"; "required": false; }; }, {}, ["icon"], never, false, never>;
|
|
47
44
|
}
|
package/list/_list-theme.scss
CHANGED
|
@@ -4,35 +4,51 @@
|
|
|
4
4
|
@use '../core/styles/typography/typography-utils' as *;
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
@mixin kbq-list-
|
|
8
|
-
|
|
9
|
-
$background: map.get($theme, background);
|
|
7
|
+
@mixin kbq-list-item($state) {
|
|
8
|
+
background: map.get($state, container-background);
|
|
10
9
|
|
|
11
|
-
.kbq-list-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
.kbq-list-text {
|
|
11
|
+
color: map.get($state, text);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.kbq-icon {
|
|
15
|
+
color: map.get($state, icon);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.kbq-option-action .kbq-icon {
|
|
19
|
+
color: map.get($state, icon-button);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.kbq-list-option-caption {
|
|
23
|
+
color: map.get($state, caption);
|
|
14
24
|
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@mixin kbq-list-theme($theme) {
|
|
28
|
+
$list-item: map.get(map.get($theme, components), list-item);
|
|
15
29
|
|
|
16
30
|
.kbq-list-option {
|
|
17
|
-
|
|
31
|
+
@include kbq-list-item(map.get($list-item, default));
|
|
18
32
|
|
|
19
|
-
&:hover {
|
|
20
|
-
|
|
33
|
+
&:hover:not(.kbq-disabled):not([disabled]) {
|
|
34
|
+
@include kbq-list-item(map.get($list-item, hover));
|
|
21
35
|
}
|
|
22
36
|
|
|
23
37
|
&.kbq-focused {
|
|
24
|
-
border-color: map.get(map.get($
|
|
38
|
+
border-color: map.get(map.get($list-item, focused), focus-outline);
|
|
25
39
|
}
|
|
26
40
|
|
|
27
41
|
&.kbq-selected {
|
|
28
|
-
|
|
42
|
+
@include kbq-list-item(map.get($list-item, selected));
|
|
43
|
+
|
|
44
|
+
&:hover:not(.kbq-disabled):not([disabled]) {
|
|
45
|
+
@include kbq-list-item(map.get($list-item, selected-hover));
|
|
46
|
+
}
|
|
29
47
|
}
|
|
30
48
|
|
|
31
49
|
&.kbq-disabled,
|
|
32
50
|
&[disabled] {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
color: map.get($foreground, text-disabled);
|
|
51
|
+
@include kbq-list-item(map.get($list-item, disabled));
|
|
36
52
|
}
|
|
37
53
|
}
|
|
38
54
|
}
|
|
@@ -42,6 +58,10 @@
|
|
|
42
58
|
|
|
43
59
|
.kbq-list-item,
|
|
44
60
|
.kbq-list-option {
|
|
45
|
-
@include kbq-typography-level-to-styles($config, map.get($tokens, list-font-
|
|
61
|
+
@include kbq-typography-level-to-styles($config, map.get($tokens, list-font-text));
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.kbq-list-option-caption {
|
|
65
|
+
@include kbq-typography-level-to-styles($config, map.get($tokens, list-font-caption));
|
|
46
66
|
}
|
|
47
67
|
}
|
|
@@ -116,6 +116,10 @@ export declare class KbqListSelection extends KbqListSelectionMixinBase implemen
|
|
|
116
116
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqListSelection, [null, null, { attribute: "multiple"; }, { optional: true; }]>;
|
|
117
117
|
static ɵcmp: i0.ɵɵComponentDeclaration<KbqListSelection, "kbq-list-selection", ["mcListSelection"], { "disabled": { "alias": "disabled"; "required": false; }; "autoSelect": { "alias": "autoSelect"; "required": false; }; "noUnselectLast": { "alias": "noUnselectLast"; "required": false; }; "horizontal": { "alias": "horizontal"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; }, { "onSelectAll": "onSelectAll"; "onCopy": "onCopy"; "selectionChange": "selectionChange"; }, ["options"], ["*"], false, never>;
|
|
118
118
|
}
|
|
119
|
+
export declare class KbqListOptionCaption {
|
|
120
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqListOptionCaption, never>;
|
|
121
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqListOptionCaption, "[kbq-list-option-caption]", never, {}, {}, never, never, false, never>;
|
|
122
|
+
}
|
|
119
123
|
/**
|
|
120
124
|
* Component for list-options of selection-list. Each list-option can automatically
|
|
121
125
|
* generate a checkbox and can put current item into the selectionModel of selection-list
|
|
@@ -168,5 +172,5 @@ export declare class KbqListOption implements OnDestroy, OnInit, IFocusableOptio
|
|
|
168
172
|
blur(): void;
|
|
169
173
|
getHostElement(): HTMLElement;
|
|
170
174
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqListOption, [null, null, null, null, { optional: true; }]>;
|
|
171
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqListOption, "kbq-list-option", ["
|
|
175
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqListOption, "kbq-list-option", ["kbqListOption"], { "checkboxPosition": { "alias": "checkboxPosition"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "showCheckbox": { "alias": "showCheckbox"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, {}, ["actionButton", "tooltipTrigger", "dropdownTrigger"], ["[kbq-icon]", "*", "[kbq-list-option-caption]", "kbq-option-action"], false, never>;
|
|
172
176
|
}
|
package/list/list.module.d.ts
CHANGED
|
@@ -6,6 +6,6 @@ import * as i4 from "@angular/cdk/a11y";
|
|
|
6
6
|
import * as i5 from "@koobiq/components/core";
|
|
7
7
|
export declare class KbqListModule {
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqListModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqListModule, [typeof i1.KbqList, typeof i2.KbqListSelection, typeof i1.KbqListItem, typeof i2.KbqListOption], [typeof i3.CommonModule, typeof i4.A11yModule, typeof i5.KbqPseudoCheckboxModule, typeof i5.KbqLineModule, typeof i5.KbqOptionModule], [typeof i1.KbqList, typeof i2.KbqListSelection, typeof i1.KbqListItem, typeof i2.KbqListOption, typeof i5.KbqOptionModule]>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqListModule, [typeof i1.KbqList, typeof i2.KbqListSelection, typeof i1.KbqListItem, typeof i2.KbqListOption, typeof i2.KbqListOptionCaption], [typeof i3.CommonModule, typeof i4.A11yModule, typeof i5.KbqPseudoCheckboxModule, typeof i5.KbqLineModule, typeof i5.KbqOptionModule], [typeof i1.KbqList, typeof i2.KbqListSelection, typeof i1.KbqListItem, typeof i2.KbqListOption, typeof i2.KbqListOptionCaption, typeof i5.KbqOptionModule]>;
|
|
10
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<KbqListModule>;
|
|
11
11
|
}
|
package/list/list.scss
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
@use 'sass:meta';
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
|
|
4
|
-
@use 'list-base';
|
|
5
4
|
@use '../core/styles/common/list';
|
|
6
5
|
|
|
7
6
|
@use '../core/styles/tokens';
|
|
@@ -20,18 +19,10 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
20
19
|
.kbq-list-option {
|
|
21
20
|
@include list.kbq-no-select;
|
|
22
21
|
|
|
23
|
-
@include list
|
|
22
|
+
@include list.kbq-list-item-base();
|
|
24
23
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
right: -2px;
|
|
28
|
-
bottom: -2px;
|
|
29
|
-
left: -2px;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
& .kbq-pseudo-checkbox,
|
|
33
|
-
& .kbq-icon {
|
|
34
|
-
margin-right: var(--kbq-list-size-icon-right-margin, map.get($tokens, list-size-icon-right-margin));
|
|
24
|
+
&:not(.kbq-disabled):not([disabled]) {
|
|
25
|
+
cursor: pointer;
|
|
35
26
|
}
|
|
36
27
|
|
|
37
28
|
& .kbq-option-action {
|
|
@@ -7,28 +7,60 @@
|
|
|
7
7
|
@mixin kbq-loader-overlay-theme($theme) {
|
|
8
8
|
$loader-overlay: map.get(map.get($theme, components), loader-overlay);
|
|
9
9
|
|
|
10
|
-
.kbq-loader-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
.kbq-loader-overlay_filled {
|
|
11
|
+
$filled: map.get($loader-overlay, filled);
|
|
12
|
+
|
|
13
|
+
&.kbq-loader-overlay {
|
|
14
|
+
background: map.get($filled, background);
|
|
15
|
+
}
|
|
13
16
|
|
|
14
|
-
|
|
15
|
-
|
|
17
|
+
& .kbq-loader-overlay-text {
|
|
18
|
+
color: map.get($filled, text);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
& .kbq-loader-overlay-caption {
|
|
22
|
+
color: map.get($filled, caption);
|
|
23
|
+
}
|
|
16
24
|
}
|
|
17
25
|
|
|
18
|
-
.kbq-loader-
|
|
19
|
-
|
|
26
|
+
.kbq-loader-overlay_transparent {
|
|
27
|
+
$transparent: map.get($loader-overlay, transparent);
|
|
28
|
+
|
|
29
|
+
&.kbq-loader-overlay {
|
|
30
|
+
background: map.get($transparent, background);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
& .kbq-loader-overlay-text {
|
|
34
|
+
color: map.get($transparent, text);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
& .kbq-loader-overlay-caption {
|
|
38
|
+
color: map.get($transparent, caption);
|
|
39
|
+
}
|
|
20
40
|
}
|
|
21
41
|
}
|
|
22
42
|
|
|
23
43
|
@mixin kbq-loader-overlay-typography($config) {
|
|
24
44
|
$tokens: map.get($config, tokens);
|
|
25
45
|
|
|
26
|
-
.kbq-loader-
|
|
27
|
-
|
|
46
|
+
.kbq-loader-overlay_big {
|
|
47
|
+
& .kbq-loader-overlay-text {
|
|
48
|
+
@include kbq-typography-level-to-styles($config, map.get($tokens, loader-overlay-font-big-text));
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
& .kbq-loader-overlay-caption {
|
|
52
|
+
@include kbq-typography-level-to-styles($config, map.get($tokens, loader-overlay-font-big-caption));
|
|
53
|
+
}
|
|
28
54
|
}
|
|
29
55
|
|
|
30
|
-
.kbq-loader-
|
|
31
|
-
|
|
56
|
+
.kbq-loader-overlay_compact {
|
|
57
|
+
& .kbq-loader-overlay-text {
|
|
58
|
+
@include kbq-typography-level-to-styles($config, map.get($tokens, loader-overlay-font-compact-text));
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
& .kbq-loader-overlay-caption {
|
|
62
|
+
@include kbq-typography-level-to-styles($config, map.get($tokens, loader-overlay-font-compact-caption));
|
|
63
|
+
}
|
|
32
64
|
}
|
|
33
65
|
}
|
|
34
66
|
|
|
@@ -15,20 +15,21 @@ export declare class KbqLoaderOverlayCaption {
|
|
|
15
15
|
export declare class KbqLoaderOverlay implements OnInit, OnDestroy {
|
|
16
16
|
private elementRef;
|
|
17
17
|
private renderer;
|
|
18
|
-
private fixedTop;
|
|
19
18
|
text: string;
|
|
20
19
|
caption: string;
|
|
20
|
+
compact: boolean;
|
|
21
|
+
transparent: boolean;
|
|
21
22
|
get isExternalIndicator(): boolean;
|
|
22
23
|
get isExternalText(): boolean;
|
|
23
24
|
get isExternalCaption(): boolean;
|
|
24
|
-
get isFixedTop(): boolean;
|
|
25
25
|
get isEmpty(): boolean;
|
|
26
|
+
get spinnerSize(): string;
|
|
26
27
|
externalIndicator: KbqLoaderOverlayIndicator | null;
|
|
27
28
|
externalText: KbqLoaderOverlayText | null;
|
|
28
29
|
externalCaption: KbqLoaderOverlayCaption | null;
|
|
29
|
-
constructor(elementRef: ElementRef, renderer: Renderer2
|
|
30
|
+
constructor(elementRef: ElementRef, renderer: Renderer2);
|
|
30
31
|
ngOnInit(): void;
|
|
31
32
|
ngOnDestroy(): void;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KbqLoaderOverlay,
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqLoaderOverlay, "kbq-loader-overlay", never, { "text": { "alias": "text"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; }, {}, ["externalIndicator", "externalText", "externalCaption"], ["[kbq-loader-overlay-indicator]", "[kbq-loader-overlay-text]", "[kbq-loader-overlay-caption]"], false, never>;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqLoaderOverlay, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqLoaderOverlay, "kbq-loader-overlay", never, { "text": { "alias": "text"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "transparent": { "alias": "transparent"; "required": false; }; }, {}, ["externalIndicator", "externalText", "externalCaption"], ["[kbq-loader-overlay-indicator]", "[kbq-loader-overlay-text]", "[kbq-loader-overlay-caption]"], false, never>;
|
|
34
35
|
}
|
|
@@ -10,6 +10,13 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
10
10
|
position: relative;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
.kbq-loader-overlay-text,
|
|
14
|
+
.kbq-loader-overlay-caption {
|
|
15
|
+
max-width: 90%;
|
|
16
|
+
|
|
17
|
+
text-align: center;
|
|
18
|
+
}
|
|
19
|
+
|
|
13
20
|
.kbq-loader-overlay {
|
|
14
21
|
position: absolute;
|
|
15
22
|
|
|
@@ -34,31 +41,55 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
34
41
|
max-width: 80%;
|
|
35
42
|
}
|
|
36
43
|
|
|
37
|
-
&.kbq-loader-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
44
|
+
&.kbq-loader-overlay_big {
|
|
45
|
+
padding-left: var(
|
|
46
|
+
--kbq-loader-overlay-size-big-overlay-padding-horizontal,
|
|
47
|
+
map.get($tokens, loader-overlay-size-big-overlay-padding-horizontal)
|
|
48
|
+
);
|
|
49
|
+
|
|
50
|
+
padding-right: var(
|
|
51
|
+
--kbq-loader-overlay-size-big-overlay-padding-horizontal,
|
|
52
|
+
map.get($tokens, loader-overlay-size-big-overlay-padding-horizontal)
|
|
53
|
+
);
|
|
54
|
+
|
|
55
|
+
& .kbq-progress-spinner {
|
|
56
|
+
margin-bottom: var(
|
|
57
|
+
--kbq-loader-overlay-size-big-loader-margin-bottom,
|
|
58
|
+
map.get($tokens, loader-overlay-size-big-loader-margin-bottom)
|
|
59
|
+
);
|
|
42
60
|
}
|
|
43
|
-
}
|
|
44
61
|
|
|
45
|
-
|
|
46
|
-
|
|
62
|
+
& .kbq-loader-overlay-text {
|
|
63
|
+
margin-bottom: var(
|
|
64
|
+
--kbq-loader-overlay-size-big-content-content-gap-vertical,
|
|
65
|
+
map.get($tokens, loader-overlay-size-big-content-content-gap-vertical)
|
|
66
|
+
);
|
|
67
|
+
}
|
|
47
68
|
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.kbq-loader-overlay-text {
|
|
51
|
-
margin-top: map.get($tokens, size-s);
|
|
52
69
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
70
|
+
&.kbq-loader-overlay_compact {
|
|
71
|
+
padding-left: var(
|
|
72
|
+
--kbq-loader-overlay-size-compact-overlay-padding-horizontal,
|
|
73
|
+
map.get($tokens, loader-overlay-size-compact-overlay-padding-horizontal)
|
|
74
|
+
);
|
|
75
|
+
|
|
76
|
+
padding-right: var(
|
|
77
|
+
--kbq-loader-overlay-size-compact-overlay-padding-horizontal,
|
|
78
|
+
map.get($tokens, loader-overlay-size-compact-overlay-padding-horizontal)
|
|
79
|
+
);
|
|
80
|
+
|
|
81
|
+
& .kbq-progress-spinner {
|
|
82
|
+
margin-bottom: var(
|
|
83
|
+
--kbq-loader-overlay-size-compact-loader-margin-bottom,
|
|
84
|
+
map.get($tokens, loader-overlay-size-compact-loader-margin-bottom)
|
|
85
|
+
);
|
|
86
|
+
}
|
|
62
87
|
|
|
63
|
-
|
|
88
|
+
& .kbq-loader-overlay-text {
|
|
89
|
+
margin-bottom: var(
|
|
90
|
+
--kbq-loader-overlay-size-compact-content-content-gap-vertical,
|
|
91
|
+
map.get($tokens, loader-overlay-size-compact-content-content-gap-vertical)
|
|
92
|
+
);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
64
95
|
}
|
|
@@ -8,7 +8,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
8
8
|
|
|
9
9
|
.kbq-confirm {
|
|
10
10
|
.kbq-modal-header {
|
|
11
|
-
|
|
11
|
+
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.kbq-modal-close {
|
|
@@ -16,38 +16,30 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.kbq-modal-body {
|
|
19
|
-
padding: var(
|
|
20
|
-
|
|
19
|
+
padding-right: var(
|
|
20
|
+
--kbq-modal-size-content-padding-horizontal, map.get($tokens, modal-size-content-padding-horizontal)
|
|
21
|
+
);
|
|
21
22
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
zoom: 1;
|
|
23
|
+
padding-left: var(
|
|
24
|
+
--kbq-modal-size-content-padding-horizontal, map.get($tokens, modal-size-content-padding-horizontal)
|
|
25
|
+
);
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
display: table;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&:after {
|
|
34
|
-
clear: both;
|
|
35
|
-
}
|
|
27
|
+
padding-bottom: var(
|
|
28
|
+
--kbq-modal-size-content-padding-bottom, map.get($tokens, modal-size-content-padding-bottom)
|
|
29
|
+
);
|
|
36
30
|
}
|
|
37
31
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
display: block;
|
|
41
|
-
overflow: auto;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
32
|
+
.kbq-confirm-footer {
|
|
33
|
+
display: flex;
|
|
44
34
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
35
|
+
padding:
|
|
36
|
+
var(--kbq-modal-size-footer-padding-top, map.get($tokens, modal-size-footer-padding-top))
|
|
37
|
+
var(--kbq-modal-size-footer-padding-horizontal, map.get($tokens, modal-size-footer-padding-horizontalt))
|
|
38
|
+
var(--kbq-modal-size-footer-padding-bottom, map.get($tokens, modal-size-footer-padding-bottom))
|
|
39
|
+
var(--kbq-modal-size-footer-padding-horizontal, map.get($tokens, modal-size-footer-padding-horizontal));
|
|
48
40
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
41
|
+
gap: var(
|
|
42
|
+
--kbq-modal-size-footer-content-gap-horizontal, map.get($tokens, modal-size-footer-content-gap-horizontal)
|
|
43
|
+
);
|
|
52
44
|
}
|
|
53
45
|
}
|
package/modal/_modal-theme.scss
CHANGED
|
@@ -11,9 +11,11 @@
|
|
|
11
11
|
$background: map.get($theme, background);
|
|
12
12
|
|
|
13
13
|
$modal: map.get(map.get($theme, components), modal);
|
|
14
|
-
$popup: map.get(map.get($theme, components), popup);
|
|
15
14
|
|
|
16
15
|
.kbq-modal {
|
|
16
|
+
background: map.get($modal, container-background);
|
|
17
|
+
box-shadow: map.get($modal, container-box-shadow);
|
|
18
|
+
|
|
17
19
|
.kbq-modal-content {
|
|
18
20
|
// У модалки должен быть фон background. Чтобы поповеры и дропдауны было видно поверх модалки
|
|
19
21
|
background-color: map.get($background, background);
|
|
@@ -26,9 +28,6 @@
|
|
|
26
28
|
}
|
|
27
29
|
|
|
28
30
|
.kbq-modal-header {
|
|
29
|
-
border-bottom-width: var(--kbq-modal-size-border-width, map.get($tokens, modal-size-border-width));
|
|
30
|
-
border-bottom-style: solid;
|
|
31
|
-
border-bottom-color: map.get($modal, header-border);
|
|
32
31
|
}
|
|
33
32
|
|
|
34
33
|
.kbq-modal-header.kbq-modal-body_top-overflow {
|
|
@@ -40,51 +39,22 @@
|
|
|
40
39
|
}
|
|
41
40
|
|
|
42
41
|
.kbq-modal-footer {
|
|
43
|
-
border-top-width: var(--kbq-modal-size-border-width, map.get($tokens, modal-size-border-width));
|
|
44
|
-
border-top-style: solid;
|
|
45
|
-
border-top-color: map.get($modal, footer-border);
|
|
46
|
-
|
|
47
|
-
background-color: map.get($popup, footer-background);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.kbq-modal-close {
|
|
51
|
-
border: var(--kbq-modal-size-border-width, map.get($tokens, modal-size-border-width)) solid transparent;
|
|
52
|
-
|
|
53
|
-
&:hover {
|
|
54
|
-
.kbq-button-overlay {
|
|
55
|
-
background: map.get($background, overlay-hover);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.kbq-icon {
|
|
59
|
-
color: inherit;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
42
|
}
|
|
63
43
|
}
|
|
64
44
|
|
|
65
45
|
.kbq-modal-mask {
|
|
66
46
|
background-color: map.get($modal, background-mask);
|
|
67
47
|
}
|
|
68
|
-
|
|
69
|
-
.kbq-confirm {
|
|
70
|
-
.kbq-confirm-btns {
|
|
71
|
-
border-top-width: var(--kbq-modal-size-border-width, map.get($tokens, modal-size-border-width));
|
|
72
|
-
border-top-style: solid;
|
|
73
|
-
border-top-color: map.get($modal, footer-border);
|
|
74
|
-
|
|
75
|
-
background-color: map.get($popup, footer-background);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
48
|
}
|
|
79
49
|
|
|
80
50
|
@mixin kbq-modal-typography($config) {
|
|
81
51
|
$tokens: map.get($config, tokens);
|
|
82
52
|
|
|
83
53
|
.kbq-modal-title {
|
|
84
|
-
@include kbq-typography-level-to-styles($config, map.get($tokens, modal-
|
|
54
|
+
@include kbq-typography-level-to-styles($config, map.get($tokens, modal-font-header));
|
|
85
55
|
}
|
|
86
56
|
|
|
87
57
|
.kbq-modal-body {
|
|
88
|
-
@include kbq-typography-level-to-styles($config, map.get($tokens, modal-
|
|
58
|
+
@include kbq-typography-level-to-styles($config, map.get($tokens, modal-font-content));
|
|
89
59
|
}
|
|
90
60
|
}
|