@koobiq/components 18.31.0 → 18.32.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/actions-panel/actions-panel-config.d.ts +2 -0
- package/actions-panel/actions-panel.d.ts +3 -57
- package/autocomplete/autocomplete-trigger.directive.d.ts +3 -4
- package/autocomplete/autocomplete.component.d.ts +1 -0
- package/autocomplete/autocomplete.module.d.ts +1 -1
- package/button-toggle/button-toggle.module.d.ts +3 -4
- package/code-block/code-block-highlight.d.ts +1 -2
- package/code-block/code-block.d.ts +57 -10
- package/core/common-behaviors/color.d.ts +3 -0
- package/core/common-behaviors/common-module.d.ts +16 -3
- package/core/form-field/form-field-ref.d.ts +5 -3
- package/core/option/option.d.ts +2 -2
- package/core/public-api.d.ts +1 -0
- package/core/styles/common/_select.scss +10 -24
- package/core/styles/theming/_theming.scss +0 -4
- package/core/tokens/index.d.ts +1 -0
- package/core/tokens/window.d.ts +5 -0
- package/core/validation/validation.d.ts +23 -2
- package/datepicker/datepicker-input.scss +1 -5
- package/dropdown/dropdown-trigger.directive.d.ts +1 -0
- package/ellipsis-center/ellipsis-center.directive.d.ts +7 -1
- package/esm2022/actions-panel/actions-panel-config.mjs +1 -1
- package/esm2022/actions-panel/actions-panel.mjs +16 -113
- package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +9 -13
- package/esm2022/autocomplete/autocomplete.component.mjs +10 -2
- package/esm2022/autocomplete/autocomplete.module.mjs +5 -11
- package/esm2022/breadcrumbs/breadcrumbs.mjs +1 -1
- package/esm2022/button-toggle/button-toggle.module.mjs +5 -6
- package/esm2022/code-block/code-block-highlight.mjs +8 -12
- package/esm2022/code-block/code-block.mjs +60 -18
- package/esm2022/core/common-behaviors/color.mjs +4 -1
- package/esm2022/core/common-behaviors/common-module.mjs +19 -26
- package/esm2022/core/form-field/form-field-ref.mjs +3 -4
- package/esm2022/core/option/option.mjs +7 -5
- package/esm2022/core/public-api.mjs +2 -1
- package/esm2022/core/tokens/index.mjs +2 -0
- package/esm2022/core/tokens/window.mjs +19 -0
- package/esm2022/core/utils/utils.mjs +2 -1
- package/esm2022/core/validation/validation.mjs +21 -2
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/datepicker/calendar-body.component.mjs +3 -3
- package/esm2022/datepicker/calendar-header.component.mjs +3 -3
- package/esm2022/dropdown/dropdown-trigger.directive.mjs +4 -3
- package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +8 -1
- package/esm2022/file-upload/multiple-file-upload.component.mjs +2 -2
- package/esm2022/filter-bar/filter-bar.mjs +17 -3
- package/esm2022/filter-bar/filter-search.mjs +2 -2
- package/esm2022/filter-bar/filters.mjs +3 -3
- package/esm2022/filter-bar/pipes/pipe-date.mjs +5 -11
- package/esm2022/filter-bar/pipes/pipe-datetime.mjs +5 -11
- package/esm2022/filter-bar/pipes/pipe-multi-select.mjs +2 -2
- package/esm2022/filter-bar/pipes/pipe-multi-tree-select.mjs +2 -2
- package/esm2022/filter-bar/pipes/pipe-select.mjs +2 -2
- package/esm2022/filter-bar/pipes/pipe-text.mjs +2 -2
- package/esm2022/filter-bar/pipes/pipe-tree-select.mjs +2 -2
- package/esm2022/form-field/cleaner.mjs +11 -6
- package/esm2022/form-field/error.mjs +20 -0
- package/esm2022/form-field/fieldset.mjs +84 -0
- package/esm2022/form-field/form-field-control.mjs +2 -2
- package/esm2022/form-field/form-field.mjs +247 -74
- package/esm2022/form-field/form-field.module.mjs +59 -47
- package/esm2022/form-field/hint.mjs +10 -18
- package/esm2022/form-field/label.mjs +19 -0
- package/esm2022/form-field/password-hint.mjs +6 -5
- package/esm2022/form-field/password-toggle.mjs +52 -27
- package/esm2022/form-field/prefix.mjs +9 -3
- package/esm2022/form-field/public-api.mjs +5 -2
- package/esm2022/form-field/reactive-password-hint.mjs +65 -0
- package/esm2022/form-field/stepper.mjs +34 -16
- package/esm2022/form-field/suffix.mjs +8 -3
- package/esm2022/form-field/validate.directive.mjs +16 -19
- package/esm2022/input/input-number.mjs +7 -2
- package/esm2022/input/input.module.mjs +1 -5
- package/esm2022/modal/modal-util.mjs +2 -1
- package/esm2022/navbar/navbar-item.component.mjs +10 -11
- package/esm2022/overflow-items/overflow-items.mjs +27 -10
- package/esm2022/radio/radio.module.mjs +4 -5
- package/esm2022/scrollbar/scrollbar.component.mjs +14 -11
- package/esm2022/scrollbar/scrollbar.directive.mjs +2 -1
- package/esm2022/select/select.component.mjs +11 -8
- package/esm2022/sidepanel/sidepanel.module.mjs +1 -5
- package/esm2022/splitter/splitter.component.mjs +5 -3
- package/esm2022/tabs/paginated-tab-header.mjs +6 -2
- package/esm2022/tabs/tabs.module.mjs +1 -5
- package/esm2022/tags/tag-list.component.mjs +2 -2
- package/esm2022/textarea/textarea.component.mjs +7 -6
- package/esm2022/textarea/textarea.module.mjs +4 -5
- package/esm2022/timezone/timezone-select.component.mjs +6 -4
- package/esm2022/toast/toast-animations.mjs +2 -2
- package/esm2022/toast/toast.component.mjs +3 -3
- package/esm2022/toggle/toggle.component.mjs +3 -3
- package/esm2022/toggle/toggle.module.mjs +4 -5
- package/esm2022/top-bar/top-bar.mjs +2 -2
- package/esm2022/tree/padding.directive.mjs +8 -6
- package/esm2022/tree-select/tree-select.component.mjs +18 -13
- package/fesm2022/koobiq-components-actions-panel.mjs +16 -112
- package/fesm2022/koobiq-components-actions-panel.mjs.map +1 -1
- package/fesm2022/koobiq-components-autocomplete.mjs +21 -24
- package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
- package/fesm2022/koobiq-components-breadcrumbs.mjs +1 -1
- package/fesm2022/koobiq-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/koobiq-components-button-toggle.mjs +5 -5
- package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-code-block.mjs +65 -28
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +68 -35
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +4 -4
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-dropdown.mjs +3 -2
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-ellipsis-center.mjs +7 -0
- package/fesm2022/koobiq-components-ellipsis-center.mjs.map +1 -1
- package/fesm2022/koobiq-components-file-upload.mjs +1 -1
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-filter-bar.mjs +30 -29
- package/fesm2022/koobiq-components-filter-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +610 -219
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-input.mjs +7 -5
- package/fesm2022/koobiq-components-input.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +1 -0
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +9 -10
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-overflow-items.mjs +26 -9
- package/fesm2022/koobiq-components-overflow-items.mjs.map +1 -1
- package/fesm2022/koobiq-components-radio.mjs +4 -4
- package/fesm2022/koobiq-components-radio.mjs.map +1 -1
- package/fesm2022/koobiq-components-scrollbar.mjs +14 -10
- package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-select.mjs +11 -8
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidepanel.mjs +1 -4
- package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
- package/fesm2022/koobiq-components-splitter.mjs +4 -2
- package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
- package/fesm2022/koobiq-components-tabs.mjs +5 -5
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +2 -2
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-textarea.mjs +9 -8
- package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
- package/fesm2022/koobiq-components-timezone.mjs +5 -3
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-toast.mjs +3 -3
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/fesm2022/koobiq-components-toggle.mjs +6 -6
- package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-top-bar.mjs +2 -2
- package/fesm2022/koobiq-components-top-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +18 -13
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +7 -5
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/file-upload/multiple-file-upload.component.d.ts +1 -1
- package/form-field/_fiedset-theme.scss +13 -0
- package/form-field/_form-field-theme.scss +29 -13
- package/form-field/_hint-theme.scss +21 -22
- package/form-field/cleaner.d.ts +5 -1
- package/form-field/cleaner.scss +1 -4
- package/form-field/error.d.ts +8 -0
- package/form-field/fieldset-tokens.scss +5 -0
- package/form-field/fieldset.d.ts +27 -0
- package/form-field/fieldset.scss +93 -0
- package/form-field/form-field-control.d.ts +1 -1
- package/form-field/form-field-tokens.scss +13 -3
- package/form-field/form-field.d.ts +210 -22
- package/form-field/form-field.module.d.ts +14 -12
- package/form-field/form-field.scss +58 -78
- package/form-field/hint.d.ts +5 -1
- package/form-field/hint.scss +3 -5
- package/form-field/label.d.ts +6 -0
- package/form-field/password-hint.d.ts +1 -1
- package/form-field/password-toggle.d.ts +25 -11
- package/form-field/password-toggle.scss +1 -2
- package/form-field/prefix.d.ts +2 -1
- package/form-field/public-api.d.ts +4 -1
- package/form-field/reactive-password-hint.d.ts +19 -0
- package/form-field/stepper.d.ts +20 -8
- package/form-field/stepper.scss +12 -11
- package/form-field/suffix.d.ts +2 -1
- package/form-field/validate.directive.d.ts +10 -12
- package/input/input-tokens.scss +2 -2
- package/input/input.module.d.ts +3 -4
- package/input/input.scss +1 -2
- package/navbar/navbar-item.component.d.ts +3 -1
- package/overflow-items/overflow-items.d.ts +12 -5
- package/package.json +4 -4
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/prebuilt-themes/theme.css +1 -1
- package/radio/radio.module.d.ts +1 -2
- package/schematics/ng-add/index.js +2 -2
- package/scrollbar/scrollbar.component.d.ts +1 -0
- package/select/select-tokens.scss +5 -4
- package/select/select.component.d.ts +4 -2
- package/sidepanel/sidepanel.module.d.ts +5 -6
- package/splitter/splitter.component.d.ts +1 -0
- package/tabs/paginated-tab-header.d.ts +1 -0
- package/tabs/tabs.module.d.ts +5 -6
- package/tags/tag-list.scss +8 -4
- package/textarea/textarea.component.d.ts +1 -0
- package/textarea/textarea.module.d.ts +2 -3
- package/timepicker/timepicker.scss +1 -1
- package/toast/toast.component.scss +2 -0
- package/toggle/_toggle-theme.scss +10 -2
- package/toggle/toggle-tokens.scss +7 -1
- package/toggle/toggle.module.d.ts +1 -2
- package/toggle/toggle.scss +6 -6
- package/top-bar/top-bar.scss +48 -32
- package/tree/padding.directive.d.ts +1 -1
- package/tree-select/tree-select.component.d.ts +2 -0
- package/esm2022/form-field/form-field-errors.mjs +0 -7
- package/form-field/form-field-errors.d.ts +0 -2
package/tabs/tabs.module.d.ts
CHANGED
|
@@ -9,13 +9,12 @@ import * as i7 from "./tab-content.directive";
|
|
|
9
9
|
import * as i8 from "@angular/cdk/portal";
|
|
10
10
|
import * as i9 from "@angular/cdk/a11y";
|
|
11
11
|
import * as i10 from "@angular/cdk/scrolling";
|
|
12
|
-
import * as i11 from "@koobiq/components/
|
|
13
|
-
import * as i12 from "@koobiq/components/
|
|
14
|
-
import * as i13 from "@
|
|
15
|
-
import * as i14 from "
|
|
16
|
-
import * as i15 from "./tab-nav-bar";
|
|
12
|
+
import * as i11 from "@koobiq/components/icon";
|
|
13
|
+
import * as i12 from "@koobiq/components/tooltip";
|
|
14
|
+
import * as i13 from "@angular/cdk/observers";
|
|
15
|
+
import * as i14 from "./tab-nav-bar";
|
|
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.KbqTabBody, typeof i5.KbqTabBodyPortal, typeof i6.KbqTabHeader, typeof i7.KbqTabContent, typeof i1.KbqAlignTabsCenterCssStyler, typeof i1.KbqAlignTabsEndCssStyler, typeof i1.KbqStretchTabsCssStyler, typeof i1.KbqVerticalTabsCssStyler], [typeof i8.PortalModule, typeof i9.A11yModule, typeof i10.CdkScrollableModule, typeof i11.
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqTabsModule, [typeof i1.KbqTabGroup, typeof i2.KbqTabLabel, typeof i3.KbqTab, typeof i4.KbqTabLabelWrapper, typeof i5.KbqTabBody, typeof i5.KbqTabBodyPortal, typeof i6.KbqTabHeader, typeof i7.KbqTabContent, typeof i1.KbqAlignTabsCenterCssStyler, typeof i1.KbqAlignTabsEndCssStyler, typeof i1.KbqStretchTabsCssStyler, typeof i1.KbqVerticalTabsCssStyler], [typeof i8.PortalModule, typeof i9.A11yModule, typeof i10.CdkScrollableModule, typeof i11.KbqIconModule, typeof i12.KbqToolTipModule, typeof i13.CdkObserveContent, typeof i14.KbqTabNavBar, typeof i14.KbqTabLink, typeof i14.KbqTabNavPanel], [typeof i1.KbqTabGroup, typeof i2.KbqTabLabel, typeof i3.KbqTab, typeof i4.KbqTabLabelWrapper, typeof i5.KbqTabBody, typeof i5.KbqTabBodyPortal, typeof i6.KbqTabHeader, typeof i7.KbqTabContent, typeof i1.KbqAlignTabsCenterCssStyler, typeof i1.KbqAlignTabsEndCssStyler, typeof i1.KbqStretchTabsCssStyler, typeof i1.KbqVerticalTabsCssStyler, typeof i14.KbqTabNavBar, typeof i14.KbqTabLink, typeof i14.KbqTabNavPanel]>;
|
|
20
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<KbqTabsModule>;
|
|
21
20
|
}
|
package/tags/tag-list.scss
CHANGED
|
@@ -57,9 +57,13 @@
|
|
|
57
57
|
|
|
58
58
|
.kbq-form-field-type-tag-list {
|
|
59
59
|
& .kbq-form-field__container {
|
|
60
|
-
padding: kbq-difference-series-css-variables(
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
60
|
+
padding-top: kbq-difference-series-css-variables(
|
|
61
|
+
[tag-input-size-padding-vertical,
|
|
62
|
+
form-field-size-border-width]
|
|
63
|
+
);
|
|
64
|
+
padding-bottom: kbq-difference-series-css-variables(
|
|
65
|
+
[tag-input-size-padding-vertical,
|
|
66
|
+
form-field-size-border-width]
|
|
67
|
+
);
|
|
64
68
|
}
|
|
65
69
|
}
|
|
@@ -23,6 +23,7 @@ export declare class KbqTextarea implements KbqFormFieldControl<any>, OnInit, On
|
|
|
23
23
|
set canGrow(value: boolean);
|
|
24
24
|
protected readonly isBrowser: boolean;
|
|
25
25
|
protected readonly renderer: Renderer2;
|
|
26
|
+
private readonly window;
|
|
26
27
|
private _canGrow;
|
|
27
28
|
/** Maximum number of lines to which the textarea will grow. Default unlimited */
|
|
28
29
|
maxRows: number;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./textarea.component";
|
|
3
3
|
import * as i2 from "@angular/cdk/a11y";
|
|
4
|
-
import * as i3 from "@
|
|
5
|
-
import * as i4 from "@angular/forms";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
6
5
|
export declare class KbqTextareaModule {
|
|
7
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTextareaModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqTextareaModule, [typeof i1.KbqTextarea], [typeof i2.A11yModule, typeof i3.
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqTextareaModule, [typeof i1.KbqTextarea], [typeof i2.A11yModule, typeof i3.FormsModule], [typeof i1.KbqTextarea]>;
|
|
9
8
|
static ɵinj: i0.ɵɵInjectorDeclaration<KbqTextareaModule>;
|
|
10
9
|
}
|
|
@@ -49,10 +49,18 @@
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
&.kbq-disabled
|
|
53
|
-
&.kbq-active.kbq-disabled {
|
|
52
|
+
&.kbq-disabled {
|
|
54
53
|
@include _kbq-toggle-state($type, states-disabled);
|
|
55
54
|
}
|
|
55
|
+
|
|
56
|
+
&.kbq-active.kbq-disabled,
|
|
57
|
+
&.kbq-indeterminate.kbq-disabled {
|
|
58
|
+
@include _kbq-toggle-state($type, states-active-disabled);
|
|
59
|
+
|
|
60
|
+
.kbq-toggle-bar {
|
|
61
|
+
opacity: var(--kbq-opacity-disabled);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
56
64
|
}
|
|
57
65
|
|
|
58
66
|
@mixin kbq-toggle-theme() {
|
|
@@ -30,13 +30,16 @@
|
|
|
30
30
|
--kbq-toggle-theme-states-disabled-border: var(--kbq-states-line-disabled);
|
|
31
31
|
--kbq-toggle-theme-states-disabled-background: var(--kbq-states-background-disabled);
|
|
32
32
|
--kbq-toggle-theme-states-disabled-circle-background: var(--kbq-states-icon-disabled);
|
|
33
|
+
--kbq-toggle-theme-states-active-disabled-border: var(--kbq-background-theme);
|
|
34
|
+
--kbq-toggle-theme-states-active-disabled-background: var(--kbq-background-theme);
|
|
35
|
+
--kbq-toggle-theme-states-active-disabled-circle-background: var(--kbq-icon-white);
|
|
33
36
|
--kbq-toggle-error-default-border: var(--kbq-line-error);
|
|
34
37
|
--kbq-toggle-error-default-background: var(--kbq-background-error-less);
|
|
35
38
|
--kbq-toggle-error-default-circle-background: var(--kbq-icon-error);
|
|
36
39
|
--kbq-toggle-error-states-hover-border: var(--kbq-line-error);
|
|
37
40
|
--kbq-toggle-error-states-hover-background: var(--kbq-states-background-error-fade-hover);
|
|
38
41
|
--kbq-toggle-error-states-hover-circle-background: var(--kbq-icon-error);
|
|
39
|
-
--kbq-toggle-error-states-checked-border: var(--kbq-
|
|
42
|
+
--kbq-toggle-error-states-checked-border: var(--kbq-background-error);
|
|
40
43
|
--kbq-toggle-error-states-checked-background: var(--kbq-background-error);
|
|
41
44
|
--kbq-toggle-error-states-checked-circle-background: var(--kbq-icon-white);
|
|
42
45
|
--kbq-toggle-error-states-checked-hover-border: var(--kbq-line-error);
|
|
@@ -53,4 +56,7 @@
|
|
|
53
56
|
--kbq-toggle-error-states-disabled-border: var(--kbq-states-line-disabled);
|
|
54
57
|
--kbq-toggle-error-states-disabled-background: var(--kbq-states-background-disabled);
|
|
55
58
|
--kbq-toggle-error-states-disabled-circle-background: var(--kbq-states-icon-disabled);
|
|
59
|
+
--kbq-toggle-error-states-active-disabled-border: var(--kbq-background-error);
|
|
60
|
+
--kbq-toggle-error-states-active-disabled-background: var(--kbq-background-error);
|
|
61
|
+
--kbq-toggle-error-states-active-disabled-circle-background: var(--kbq-icon-white);
|
|
56
62
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./toggle.component";
|
|
3
3
|
import * as i2 from "@angular/cdk/a11y";
|
|
4
|
-
import * as i3 from "@koobiq/components/core";
|
|
5
4
|
export declare class KbqToggleModule {
|
|
6
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqToggleModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqToggleModule, [typeof i1.KbqToggleComponent], [typeof i2.A11yModule
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqToggleModule, [typeof i1.KbqToggleComponent], [typeof i2.A11yModule], [typeof i1.KbqToggleComponent]>;
|
|
8
7
|
static ɵinj: i0.ɵɵInjectorDeclaration<KbqToggleModule>;
|
|
9
8
|
}
|
package/toggle/toggle.scss
CHANGED
|
@@ -84,15 +84,15 @@ $toggle-thumb-offset: 8px;
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
.kbq-toggle-bar {
|
|
87
|
+
&:not(.kbq-disabled) .kbq-toggle-bar:hover {
|
|
88
88
|
.kbq-toggle__thumb {
|
|
89
|
-
|
|
89
|
+
left: $toggle-thumb-offset + 2px;
|
|
90
90
|
}
|
|
91
|
+
}
|
|
91
92
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
}
|
|
93
|
+
.kbq-toggle-bar {
|
|
94
|
+
.kbq-toggle__thumb {
|
|
95
|
+
display: block;
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
}
|
package/top-bar/top-bar.scss
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
@use '../core/styles/common/tokens';
|
|
2
2
|
|
|
3
|
+
@mixin _overflow-items-margins {
|
|
4
|
+
padding: var(--kbq-size-border-width);
|
|
5
|
+
|
|
6
|
+
> .kbq-overflow-item {
|
|
7
|
+
&:not(:last-of-type) {
|
|
8
|
+
margin-right: var(--kbq-top-bar-container-end-gap);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
// apply margin if the last item needs to be alwaysVisible
|
|
12
|
+
&:last-of-type:is(.kbq-overflow-item_always-visible) + .kbq-overflow-items-result {
|
|
13
|
+
margin-left: var(--kbq-top-bar-container-end-gap);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.kbq-overflow-items-result:first-child {
|
|
18
|
+
margin-right: var(--kbq-top-bar-container-end-gap);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
3
22
|
.kbq-top-bar {
|
|
4
23
|
display: flex;
|
|
5
24
|
align-items: center;
|
|
@@ -12,49 +31,46 @@
|
|
|
12
31
|
padding: var(--kbq-top-bar-padding-vertical) var(--kbq-top-bar-padding-horizontal);
|
|
13
32
|
border-radius: var(--kbq-top-bar-border-radius);
|
|
14
33
|
|
|
34
|
+
&.kbq-top-bar_with-shadow {
|
|
35
|
+
box-shadow: var(--kbq-top-bar-shadow-bottom);
|
|
36
|
+
transition: box-shadow var(--kbq-top-bar-shadow-transition);
|
|
37
|
+
}
|
|
38
|
+
|
|
15
39
|
.kbq-top-bar-spacer {
|
|
16
40
|
height: 100%;
|
|
17
41
|
flex: 0 0 var(--kbq-top-bar-spacer-min-width);
|
|
18
42
|
}
|
|
19
43
|
|
|
20
|
-
.kbq-top-bar-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
min-width: 0;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.kbq-top-bar-container__end {
|
|
29
|
-
display: flex;
|
|
30
|
-
gap: var(--kbq-top-bar-container-end-gap);
|
|
31
|
-
justify-content: end;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.kbq-top-bar-container__with-overflow-items {
|
|
35
|
-
gap: unset;
|
|
36
|
-
justify-content: unset;
|
|
37
|
-
padding: 1px;
|
|
44
|
+
.kbq-top-bar-container {
|
|
45
|
+
&:has(> .kbq-overflow-items) {
|
|
46
|
+
gap: unset;
|
|
47
|
+
overflow: hidden;
|
|
48
|
+
}
|
|
38
49
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
50
|
+
.kbq-overflow-items {
|
|
51
|
+
@include _overflow-items-margins;
|
|
52
|
+
}
|
|
43
53
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
54
|
+
&.kbq-top-bar-container__start {
|
|
55
|
+
display: flex;
|
|
56
|
+
gap: var(--kbq-top-bar-container-start-gap);
|
|
57
|
+
flex: 1 0 var(--kbq-top-bar-container-start-basis);
|
|
58
|
+
justify-content: flex-start;
|
|
59
|
+
min-width: 0;
|
|
48
60
|
}
|
|
49
61
|
|
|
50
|
-
|
|
51
|
-
|
|
62
|
+
&.kbq-top-bar-container__end {
|
|
63
|
+
display: flex;
|
|
64
|
+
gap: var(--kbq-top-bar-container-end-gap);
|
|
65
|
+
justify-content: end;
|
|
52
66
|
}
|
|
53
|
-
}
|
|
54
67
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
68
|
+
&.kbq-top-bar-container__with-overflow-items {
|
|
69
|
+
gap: unset;
|
|
70
|
+
justify-content: unset;
|
|
71
|
+
|
|
72
|
+
@include _overflow-items-margins;
|
|
73
|
+
}
|
|
58
74
|
}
|
|
59
75
|
|
|
60
76
|
@include tokens.kbq-typography-level-to-styles-css-variables(typography, text-normal);
|
|
@@ -17,9 +17,9 @@ export declare class KbqTreeNodePadding<T> implements AfterViewInit {
|
|
|
17
17
|
set indent(indent: number | string);
|
|
18
18
|
private _indent;
|
|
19
19
|
get leftPadding(): number;
|
|
20
|
+
get leftPaddingForFirstLevel(): number;
|
|
20
21
|
/** CSS units used for the indentation value. */
|
|
21
22
|
indentUnits: string;
|
|
22
|
-
baseLeftPadding: number;
|
|
23
23
|
withIcon: boolean;
|
|
24
24
|
iconWidth: number;
|
|
25
25
|
constructor(treeNode: KbqTreeNode<T>, tree: KbqTreeBase<T>, renderer: Renderer2, element: ElementRef<HTMLElement>, option: KbqTreeOption, dir: Directionality);
|
|
@@ -201,6 +201,7 @@ export declare class KbqTreeSelect extends KbqAbstractSelect implements AfterCon
|
|
|
201
201
|
private readonly uid;
|
|
202
202
|
private tempValues;
|
|
203
203
|
private readonly destroyRef;
|
|
204
|
+
private readonly window;
|
|
204
205
|
constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, ngZone: NgZone, renderer: Renderer2, defaultErrorStateMatcher: ErrorStateMatcher, scrollStrategyFactory: any, dir: Directionality, parentForm: NgForm, parentFormGroup: FormGroupDirective, parentFormField: KbqFormField, ngControl: NgControl, localeService?: KbqLocaleService | undefined);
|
|
205
206
|
ngOnInit(): void;
|
|
206
207
|
ngAfterContentInit(): void;
|
|
@@ -303,6 +304,7 @@ export declare class KbqTreeSelect extends KbqAbstractSelect implements AfterCon
|
|
|
303
304
|
private subscribeOnSearchChanges;
|
|
304
305
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqTreeSelect, [null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; host: true; }, { optional: true; self: true; }, { optional: true; }]>;
|
|
305
306
|
static ɵcmp: i0.ɵɵComponentDeclaration<KbqTreeSelect, "kbq-tree-select", ["kbqTreeSelect"], { "hiddenItemsText": { "alias": "hiddenItemsText"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "backdropClass": { "alias": "backdropClass"; "required": false; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; "sortComparator": { "alias": "sortComparator"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "autoSelect": { "alias": "autoSelect"; "required": false; }; "id": { "alias": "id"; "required": false; }; "hasBackdrop": { "alias": "hasBackdrop"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "selectAllHandler": { "alias": "selectAllHandler"; "required": false; }; "panelWidth": { "alias": "panelWidth"; "required": false; }; "hiddenItemsTextFormatter": { "alias": "hiddenItemsTextFormatter"; "required": false; }; }, { "openedChange": "openedChange"; "openedStream": "opened"; "closedStream": "closed"; "selectionChange": "selectionChange"; "valueChange": "valueChange"; }, ["cleaner", "customTrigger", "customMatcher", "customTagTemplateRef", "tree", "search"], ["kbq-select-matcher, [kbq-select-matcher]", "kbq-select-trigger, [kbq-select-trigger]", "kbq-cleaner", "[kbqSelectSearch]", "[kbq-select-search-empty-result]", "kbq-tree-selection", "kbq-select-footer,[kbq-tree-select-footer]"], false, never>;
|
|
307
|
+
static ngAcceptInputType_multiple: unknown;
|
|
306
308
|
static ngAcceptInputType_tabIndex: unknown;
|
|
307
309
|
static ngAcceptInputType_disabled: unknown;
|
|
308
310
|
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export function getKbqFormFieldMissingControlError() {
|
|
2
|
-
return Error('kbq-form-field must contain a KbqFormFieldControl.');
|
|
3
|
-
}
|
|
4
|
-
export function getKbqFormFieldYouCanNotUseCleanerInNumberInputError() {
|
|
5
|
-
return Error(`You can't use kbq-cleaner with input that have type="number"`);
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC1lcnJvcnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9jb21wb25lbnRzL2Zvcm0tZmllbGQvZm9ybS1maWVsZC1lcnJvcnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxVQUFVLGtDQUFrQztJQUM5QyxPQUFPLEtBQUssQ0FBQyxvREFBb0QsQ0FBQyxDQUFDO0FBQ3ZFLENBQUM7QUFFRCxNQUFNLFVBQVUsb0RBQW9EO0lBQ2hFLE9BQU8sS0FBSyxDQUFDLDhEQUE4RCxDQUFDLENBQUM7QUFDakYsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBmdW5jdGlvbiBnZXRLYnFGb3JtRmllbGRNaXNzaW5nQ29udHJvbEVycm9yKCk6IEVycm9yIHtcbiAgICByZXR1cm4gRXJyb3IoJ2ticS1mb3JtLWZpZWxkIG11c3QgY29udGFpbiBhIEticUZvcm1GaWVsZENvbnRyb2wuJyk7XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBnZXRLYnFGb3JtRmllbGRZb3VDYW5Ob3RVc2VDbGVhbmVySW5OdW1iZXJJbnB1dEVycm9yKCk6IEVycm9yIHtcbiAgICByZXR1cm4gRXJyb3IoYFlvdSBjYW4ndCB1c2Uga2JxLWNsZWFuZXIgd2l0aCBpbnB1dCB0aGF0IGhhdmUgdHlwZT1cIm51bWJlclwiYCk7XG59XG4iXX0=
|