@koobiq/components 18.31.0 → 18.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/accordion-trigger.component.scss +2 -0
- 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/action-container.d.ts +5 -0
- package/core/option/action-container.scss +45 -0
- package/core/option/action.d.ts +1 -4
- package/core/option/action.scss +13 -12
- package/core/option/index.d.ts +1 -0
- package/core/option/option.d.ts +6 -5
- package/core/public-api.d.ts +1 -0
- package/core/styles/common/_select.scss +60 -37
- package/core/styles/common/_tokens.scss +2 -0
- 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/accordion/accordion-trigger.component.mjs +2 -2
- package/esm2022/accordion/accordion.component.mjs +2 -2
- package/esm2022/actions-panel/actions-panel-config.mjs +1 -1
- package/esm2022/actions-panel/actions-panel.mjs +16 -113
- package/esm2022/alert/alert.component.mjs +2 -2
- 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/badge/badge.component.mjs +2 -2
- package/esm2022/breadcrumbs/breadcrumbs.mjs +3 -6
- package/esm2022/button/button.component.mjs +4 -3
- package/esm2022/button-toggle/button-toggle.component.mjs +2 -2
- package/esm2022/button-toggle/button-toggle.module.mjs +5 -6
- package/esm2022/checkbox/checkbox.mjs +2 -2
- 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/action-container.mjs +23 -0
- package/esm2022/core/option/action.mjs +16 -30
- package/esm2022/core/option/index.mjs +2 -1
- package/esm2022/core/option/optgroup.mjs +2 -2
- package/esm2022/core/option/option.mjs +10 -8
- 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/datepicker/datepicker-input.directive.mjs +5 -1
- package/esm2022/datepicker/datepicker.component.mjs +3 -3
- package/esm2022/dl/dl.component.mjs +2 -2
- package/esm2022/dropdown/dropdown-trigger.directive.mjs +4 -3
- package/esm2022/dropdown/dropdown.component.mjs +3 -3
- package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +8 -1
- package/esm2022/empty-state/empty-state.component.mjs +2 -2
- package/esm2022/file-upload/multiple-file-upload.component.mjs +4 -4
- package/esm2022/file-upload/single-file-upload.component.mjs +2 -2
- package/esm2022/filter-bar/filter-bar.mjs +21 -5
- package/esm2022/filter-bar/filter-bar.types.mjs +1 -1
- package/esm2022/filter-bar/filter-reset.mjs +2 -1
- package/esm2022/filter-bar/filter-search.mjs +2 -2
- package/esm2022/filter-bar/filters.mjs +4 -3
- package/esm2022/filter-bar/pipe-add.mjs +2 -2
- package/esm2022/filter-bar/pipes/base-pipe.mjs +7 -2
- package/esm2022/filter-bar/pipes/pipe-date.mjs +6 -12
- package/esm2022/filter-bar/pipes/pipe-datetime.mjs +6 -12
- 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 +7 -6
- 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-password.mjs +2 -2
- package/esm2022/input/input.module.mjs +1 -5
- package/esm2022/list/list-selection.component.mjs +5 -5
- package/esm2022/list/list.component.mjs +2 -2
- package/esm2022/list/list.module.mjs +12 -5
- package/esm2022/loader-overlay/loader-overlay.component.mjs +2 -2
- package/esm2022/modal/modal-util.mjs +2 -1
- package/esm2022/modal/modal.component.mjs +2 -2
- package/esm2022/navbar/navbar-item.component.mjs +12 -13
- package/esm2022/navbar/navbar.component.mjs +2 -2
- package/esm2022/navbar/vertical-navbar.component.mjs +2 -2
- package/esm2022/overflow-items/overflow-items.mjs +27 -10
- package/esm2022/popover/popover-confirm.component.mjs +3 -3
- package/esm2022/popover/popover.component.mjs +3 -3
- package/esm2022/progress-bar/progress-bar.component.mjs +2 -2
- package/esm2022/progress-spinner/progress-spinner.component.mjs +2 -2
- package/esm2022/radio/radio.component.mjs +2 -2
- package/esm2022/radio/radio.module.mjs +4 -5
- package/esm2022/risk-level/risk-level.component.mjs +2 -2
- package/esm2022/scrollbar/scrollbar.component.mjs +14 -11
- package/esm2022/scrollbar/scrollbar.directive.mjs +2 -1
- package/esm2022/select/select.component.mjs +42 -22
- package/esm2022/sidepanel/sidepanel-container.component.mjs +3 -3
- package/esm2022/sidepanel/sidepanel.module.mjs +1 -5
- package/esm2022/splitter/splitter.component.mjs +5 -3
- package/esm2022/table/table.component.mjs +2 -2
- 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-option.component.mjs +2 -2
- 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/tooltip/tooltip.component.mjs +3 -3
- package/esm2022/top-bar/top-bar.mjs +2 -2
- package/esm2022/tree/padding.directive.mjs +8 -6
- package/esm2022/tree/toggle.mjs +2 -2
- package/esm2022/tree/tree-option.component.mjs +3 -3
- package/esm2022/tree/tree-selection.component.mjs +2 -2
- package/esm2022/tree/tree.mjs +2 -2
- package/esm2022/tree/tree.module.mjs +8 -5
- package/esm2022/tree-select/tree-select.component.mjs +50 -31
- package/fesm2022/koobiq-components-accordion.mjs +4 -4
- package/fesm2022/koobiq-components-accordion.mjs.map +1 -1
- package/fesm2022/koobiq-components-actions-panel.mjs +16 -112
- package/fesm2022/koobiq-components-actions-panel.mjs.map +1 -1
- package/fesm2022/koobiq-components-alert.mjs +2 -2
- package/fesm2022/koobiq-components-alert.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-badge.mjs +2 -2
- package/fesm2022/koobiq-components-badge.mjs.map +1 -1
- package/fesm2022/koobiq-components-breadcrumbs.mjs +2 -5
- package/fesm2022/koobiq-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/koobiq-components-button-toggle.mjs +7 -7
- package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-button.mjs +3 -2
- package/fesm2022/koobiq-components-button.mjs.map +1 -1
- package/fesm2022/koobiq-components-checkbox.mjs +2 -2
- package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
- package/fesm2022/koobiq-components-code-block.mjs +65 -28
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +109 -69
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +10 -6
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-dl.mjs +2 -2
- package/fesm2022/koobiq-components-dl.mjs.map +1 -1
- package/fesm2022/koobiq-components-dropdown.mjs +5 -4
- 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-empty-state.mjs +2 -2
- package/fesm2022/koobiq-components-empty-state.mjs.map +1 -1
- package/fesm2022/koobiq-components-file-upload.mjs +5 -5
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-filter-bar.mjs +45 -35
- package/fesm2022/koobiq-components-filter-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +611 -220
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-input.mjs +8 -6
- package/fesm2022/koobiq-components-input.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +17 -10
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-loader-overlay.mjs +2 -2
- package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
- package/fesm2022/koobiq-components-modal.mjs +3 -2
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +15 -16
- 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-popover.mjs +4 -4
- package/fesm2022/koobiq-components-popover.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-bar.mjs +2 -2
- package/fesm2022/koobiq-components-progress-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-spinner.mjs +2 -2
- package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
- package/fesm2022/koobiq-components-radio.mjs +6 -6
- package/fesm2022/koobiq-components-radio.mjs.map +1 -1
- package/fesm2022/koobiq-components-risk-level.mjs +2 -2
- package/fesm2022/koobiq-components-risk-level.mjs.map +1 -1
- package/fesm2022/koobiq-components-scrollbar.mjs +14 -10
- package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-select.mjs +42 -22
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidepanel.mjs +3 -6
- 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-table.mjs +2 -2
- package/fesm2022/koobiq-components-table.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 +7 -5
- 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-tooltip.mjs +2 -2
- package/fesm2022/koobiq-components-tooltip.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 +50 -31
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +22 -17
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/file-upload/_file-upload-theme.scss +9 -0
- package/file-upload/multiple-file-upload.component.d.ts +1 -1
- package/filter-bar/filter-bar.d.ts +2 -0
- package/filter-bar/filter-bar.types.d.ts +2 -2
- 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/list/_list-theme.scss +4 -1
- package/list/list.module.d.ts +2 -1
- package/list/list.scss +6 -12
- 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 +3 -3
- package/scrollbar/scrollbar.component.d.ts +1 -0
- package/select/select-tokens.scss +5 -4
- package/select/select.component.d.ts +12 -3
- 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/_tree-theme.scss +13 -2
- package/tree/padding.directive.d.ts +1 -1
- package/tree/tree-option.scss +12 -17
- package/tree/tree.module.d.ts +1 -1
- package/tree-select/tree-select.component.d.ts +10 -1
- package/esm2022/form-field/form-field-errors.mjs +0 -7
- package/form-field/form-field-errors.d.ts +0 -2
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { KbqHint } from './hint';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/** Password hint to be shown below the password form field control. */
|
|
4
|
+
export declare class KbqReactivePasswordHint extends KbqHint {
|
|
5
|
+
private readonly formField;
|
|
6
|
+
private readonly destroyRef;
|
|
7
|
+
/** Whether the form field control has an error. */
|
|
8
|
+
readonly hasError: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
9
|
+
/**
|
|
10
|
+
* The form field hint icon.
|
|
11
|
+
*
|
|
12
|
+
* @docs-private
|
|
13
|
+
*/
|
|
14
|
+
protected readonly icon: import("@angular/core").Signal<"kbq-check-s_16" | "kbq-xmark-s_16">;
|
|
15
|
+
constructor();
|
|
16
|
+
private makeColor;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqReactivePasswordHint, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqReactivePasswordHint, "kbq-reactive-password-hint", ["kbqReactivePasswordHint"], { "hasError": { "alias": "hasError"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
19
|
+
}
|
package/form-field/stepper.d.ts
CHANGED
|
@@ -1,25 +1,37 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { KbqFormFieldControl } from './form-field-control';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Used as temporary solution to resolve circular dependency.
|
|
6
|
-
* Moving `KbqStepper` to standalone will resolve the issue
|
|
7
|
-
*/
|
|
8
4
|
type KbqNumberInput = KbqFormFieldControl<unknown> & {
|
|
9
|
-
stepUp: (
|
|
10
|
-
stepDown: (
|
|
5
|
+
stepUp: (step: number) => void;
|
|
6
|
+
stepDown: (step: number) => void;
|
|
11
7
|
step: number;
|
|
12
8
|
};
|
|
9
|
+
/** Component which allow to increment or decrement number value. */
|
|
13
10
|
export declare class KbqStepper {
|
|
14
11
|
private readonly formField;
|
|
12
|
+
/** Emitted when the stepper is incremented. */
|
|
15
13
|
readonly stepUp: EventEmitter<void>;
|
|
14
|
+
/** Emitted when the stepper is decremented. */
|
|
16
15
|
readonly stepDown: EventEmitter<void>;
|
|
17
|
-
/**
|
|
16
|
+
/**
|
|
17
|
+
* Form field number control.
|
|
18
|
+
*
|
|
19
|
+
* @docs-private
|
|
20
|
+
*/
|
|
18
21
|
protected get control(): KbqNumberInput;
|
|
22
|
+
/**
|
|
23
|
+
* @docs-private
|
|
24
|
+
*/
|
|
19
25
|
connectTo(numberInput: KbqNumberInput): void;
|
|
26
|
+
/**
|
|
27
|
+
* @docs-private
|
|
28
|
+
*/
|
|
20
29
|
onStepUp($event: MouseEvent): void;
|
|
30
|
+
/**
|
|
31
|
+
* @docs-private
|
|
32
|
+
*/
|
|
21
33
|
onStepDown($event: MouseEvent): void;
|
|
22
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqStepper, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqStepper, "kbq-stepper",
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqStepper, "kbq-stepper", ["kbqStepper"], {}, { "stepUp": "stepUp"; "stepDown": "stepDown"; }, never, never, true, never>;
|
|
24
36
|
}
|
|
25
37
|
export {};
|
package/form-field/stepper.scss
CHANGED
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
.kbq-stepper {
|
|
2
|
+
// margin used by design to reduce gap between step arrows
|
|
3
|
+
$step-margin: -2px;
|
|
4
|
+
|
|
2
5
|
display: flex;
|
|
3
6
|
flex-direction: column;
|
|
4
7
|
justify-content: center;
|
|
5
8
|
align-items: center;
|
|
6
9
|
|
|
7
|
-
width: var(--kbq-form-field-size-
|
|
8
|
-
margin-right: var(--kbq-form-field-size-icon-button-margin-right);
|
|
10
|
+
width: var(--kbq-form-field-size-addon-width);
|
|
9
11
|
height: 100%;
|
|
10
12
|
|
|
11
|
-
.kbq-stepper-step-up
|
|
12
|
-
|
|
13
|
-
cursor: pointer;
|
|
14
|
-
width: var(--kbq-form-field-size-icon-button-size);
|
|
15
|
-
text-align: center;
|
|
13
|
+
.kbq-stepper-step-up {
|
|
14
|
+
margin-bottom: $step-margin;
|
|
16
15
|
}
|
|
17
16
|
|
|
18
|
-
.kbq-stepper-step-
|
|
19
|
-
|
|
17
|
+
.kbq-stepper-step-down {
|
|
18
|
+
margin-top: $step-margin;
|
|
20
19
|
}
|
|
21
20
|
|
|
22
|
-
.kbq-
|
|
23
|
-
|
|
21
|
+
.kbq-stepper-step-up,
|
|
22
|
+
.kbq-stepper-step-down {
|
|
23
|
+
width: 100%;
|
|
24
|
+
text-align: center;
|
|
24
25
|
}
|
|
25
26
|
}
|
package/form-field/suffix.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
+
/** Element to be placed at the end of the form field. */
|
|
2
3
|
export declare class KbqSuffix {
|
|
3
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqSuffix, never>;
|
|
4
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqSuffix, "[kbqSuffix]", never, {}, {}, never, never,
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqSuffix, "[kbqSuffix]", never, {}, {}, never, never, true, never>;
|
|
5
6
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterContentInit, ChangeDetectorRef } from '@angular/core';
|
|
1
|
+
import { AfterContentInit, ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
2
|
import { AbstractControl, FormGroupDirective, NgControl, NgForm, Validator, ValidatorFn } from '@angular/forms';
|
|
3
3
|
import { KbqValidationOptions } from '@koobiq/components/core';
|
|
4
4
|
import { KbqFormField } from './form-field';
|
|
@@ -7,22 +7,19 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
/**
|
|
8
8
|
* @deprecated Will be removed in next major release (#DS-2838)
|
|
9
9
|
*
|
|
10
|
-
* Legacy
|
|
10
|
+
* Legacy validation directive.
|
|
11
11
|
*
|
|
12
12
|
* ### How to disable?
|
|
13
13
|
*
|
|
14
14
|
* ```typescript
|
|
15
|
-
* import {
|
|
15
|
+
* import { kbqDisableLegacyValidationDirectiveProvider } from '@koobiq/components/core';
|
|
16
16
|
*
|
|
17
17
|
* @NgModule({
|
|
18
|
-
* providers: [
|
|
19
|
-
* {
|
|
20
|
-
* provide: KBQ_VALIDATION,
|
|
21
|
-
* useValue: { useValidation: false } satisfies KbqValidationOptions
|
|
22
|
-
* }
|
|
23
|
-
* ]
|
|
18
|
+
* providers: [kbqDisableLegacyValidationDirectiveProvider()]
|
|
24
19
|
* })
|
|
25
20
|
* ```
|
|
21
|
+
*
|
|
22
|
+
* @docs-private
|
|
26
23
|
*/
|
|
27
24
|
export declare class KbqValidateDirective implements AfterContentInit {
|
|
28
25
|
private formFieldControl;
|
|
@@ -33,13 +30,14 @@ export declare class KbqValidateDirective implements AfterContentInit {
|
|
|
33
30
|
private mcValidation;
|
|
34
31
|
private cdr;
|
|
35
32
|
private readonly parentFormField;
|
|
33
|
+
private readonly elementRef;
|
|
36
34
|
get isNgModel(): boolean;
|
|
37
35
|
get isFormControlName(): boolean;
|
|
38
36
|
get isFormControl(): boolean;
|
|
39
37
|
get validationControl(): any;
|
|
40
38
|
get parent(): NgForm;
|
|
41
39
|
get hasNotSubmittedParent(): boolean;
|
|
42
|
-
constructor(formFieldControl: KbqFormFieldControl<any>, rawValidators: Validator[], ngControl: NgControl, parentForm: NgForm, parentFormGroup: FormGroupDirective, mcValidation: KbqValidationOptions, cdr: ChangeDetectorRef, parentFormField: KbqFormField | null);
|
|
40
|
+
constructor(formFieldControl: KbqFormFieldControl<any>, rawValidators: Validator[], ngControl: NgControl, parentForm: NgForm, parentFormGroup: FormGroupDirective, mcValidation: KbqValidationOptions, cdr: ChangeDetectorRef, parentFormField: KbqFormField | null, elementRef: ElementRef);
|
|
43
41
|
ngAfterContentInit(): void;
|
|
44
42
|
setValidState(control: AbstractControl, validator: ValidatorFn): void;
|
|
45
43
|
/** This function do next:
|
|
@@ -50,6 +48,6 @@ export declare class KbqValidateDirective implements AfterContentInit {
|
|
|
50
48
|
setMosaicValidation(): void;
|
|
51
49
|
setMosaicValidationForModelControl(): void;
|
|
52
50
|
setMosaicValidationForFormControl(): void;
|
|
53
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KbqValidateDirective, [null, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; }, { optional: true; }, { optional: true; }, null, { optional: true; host: true; }]>;
|
|
54
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqValidateDirective, " input[kbqInput], input[kbqNumberInput], input[kbqInputPassword], input[kbqTimepicker], input[kbqDatepicker], textarea[kbqTextarea], kbq-select, kbq-tree-select, kbq-tag-list ", ["KbqValidate"], {}, {}, never, never,
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbqValidateDirective, [null, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; }, { optional: true; }, { optional: true; }, null, { optional: true; host: true; }, null]>;
|
|
52
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqValidateDirective, " input[kbqInput], input[kbqNumberInput], input[kbqInputPassword], input[kbqTimepicker], input[kbqDatepicker], textarea[kbqTextarea], kbq-select, kbq-tree-select, kbq-tag-list ", ["KbqValidate"], {}, {}, never, never, true, never>;
|
|
55
53
|
}
|
package/input/input-tokens.scss
CHANGED
package/input/input.module.d.ts
CHANGED
|
@@ -4,11 +4,10 @@ import * as i2 from "./input-number";
|
|
|
4
4
|
import * as i3 from "./input-password";
|
|
5
5
|
import * as i4 from "./input-number-validators";
|
|
6
6
|
import * as i5 from "@angular/cdk/a11y";
|
|
7
|
-
import * as i6 from "@
|
|
8
|
-
import * as i7 from "@
|
|
9
|
-
import * as i8 from "@koobiq/components/icon";
|
|
7
|
+
import * as i6 from "@angular/forms";
|
|
8
|
+
import * as i7 from "@koobiq/components/icon";
|
|
10
9
|
export declare class KbqInputModule {
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqInputModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqInputModule, [typeof i1.KbqInput, typeof i2.KbqNumberInput, typeof i3.KbqInputPassword, typeof i1.KbqInputMono, typeof i4.MinValidator, typeof i4.MaxValidator], [typeof i5.A11yModule, typeof i6.
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqInputModule, [typeof i1.KbqInput, typeof i2.KbqNumberInput, typeof i3.KbqInputPassword, typeof i1.KbqInputMono, typeof i4.MinValidator, typeof i4.MaxValidator], [typeof i5.A11yModule, typeof i6.FormsModule, typeof i7.KbqIconModule], [typeof i1.KbqInput, typeof i2.KbqNumberInput, typeof i3.KbqInputPassword, typeof i1.KbqInputMono, typeof i4.MinValidator, typeof i4.MaxValidator]>;
|
|
13
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<KbqInputModule>;
|
|
14
13
|
}
|
package/input/input.scss
CHANGED
|
@@ -14,8 +14,7 @@
|
|
|
14
14
|
width: 100%;
|
|
15
15
|
min-height: kbq-difference-series-css-variables([size-3xl, calc(var(--kbq-size-border-width) * 2)]);
|
|
16
16
|
|
|
17
|
-
padding: kbq-
|
|
18
|
-
var(--kbq-input-size-padding-horizontal);
|
|
17
|
+
padding: var(--kbq-input-size-padding-vertical) var(--kbq-input-size-padding-horizontal);
|
|
19
18
|
}
|
|
20
19
|
|
|
21
20
|
input.kbq-input[type='number'] {
|
package/list/_list-theme.scss
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
@use '../core/styles/common/tokens';
|
|
2
2
|
|
|
3
3
|
@mixin _kbq-list-item($state-name) {
|
|
4
|
+
--kbq-option-background: var(--kbq-list-#{$state-name}-container-background);
|
|
5
|
+
|
|
4
6
|
background: var(--kbq-list-#{$state-name}-container-background);
|
|
5
7
|
|
|
6
8
|
.kbq-list-text {
|
|
@@ -24,7 +26,8 @@
|
|
|
24
26
|
.kbq-list-option {
|
|
25
27
|
@include _kbq-list-item(default);
|
|
26
28
|
|
|
27
|
-
&:hover:not(.kbq-disabled)
|
|
29
|
+
&:hover:not(.kbq-disabled),
|
|
30
|
+
&.kbq-action-button-focused:not(.kbq-disabled) {
|
|
28
31
|
@include _kbq-list-item(states-hover);
|
|
29
32
|
}
|
|
30
33
|
|
package/list/list.module.d.ts
CHANGED
|
@@ -3,8 +3,9 @@ import * as i1 from "./list.component";
|
|
|
3
3
|
import * as i2 from "./list-selection.component";
|
|
4
4
|
import * as i3 from "@angular/cdk/a11y";
|
|
5
5
|
import * as i4 from "@koobiq/components/core";
|
|
6
|
+
import * as i5 from "@koobiq/components/icon";
|
|
6
7
|
export declare class KbqListModule {
|
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqListModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqListModule, [typeof i1.KbqList, typeof i2.KbqListSelection, typeof i1.KbqListItem, typeof i2.KbqListOption, typeof i2.KbqListOptionCaption], [typeof i3.A11yModule, typeof i4.KbqPseudoCheckboxModule, typeof i4.KbqLineModule, typeof i4.KbqOptionModule], [typeof i1.KbqList, typeof i2.KbqListSelection, typeof i1.KbqListItem, typeof i2.KbqListOption, typeof i2.KbqListOptionCaption, typeof i4.KbqOptionModule]>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KbqListModule, [typeof i1.KbqList, typeof i2.KbqListSelection, typeof i1.KbqListItem, typeof i2.KbqListOption, typeof i2.KbqListOptionCaption], [typeof i3.A11yModule, typeof i4.KbqPseudoCheckboxModule, typeof i4.KbqLineModule, typeof i4.KbqOptionModule, typeof i4.KbqActionContainer, typeof i5.KbqIconModule], [typeof i1.KbqList, typeof i2.KbqListSelection, typeof i1.KbqListItem, typeof i2.KbqListOption, typeof i2.KbqListOptionCaption, typeof i4.KbqOptionModule]>;
|
|
9
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<KbqListModule>;
|
|
10
11
|
}
|
package/list/list.scss
CHANGED
|
@@ -32,19 +32,13 @@
|
|
|
32
32
|
|
|
33
33
|
&:not(.kbq-disabled) {
|
|
34
34
|
cursor: pointer;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
& .kbq-option-action {
|
|
38
|
-
display: none;
|
|
39
|
-
height: var(--kbq-size-xl);
|
|
40
|
-
align-items: center;
|
|
41
|
-
}
|
|
42
35
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
36
|
+
&:hover,
|
|
37
|
+
&.kbq-focused,
|
|
38
|
+
&.kbq-action-button-focused {
|
|
39
|
+
& .kbq-action-container {
|
|
40
|
+
display: flex;
|
|
41
|
+
}
|
|
48
42
|
}
|
|
49
43
|
}
|
|
50
44
|
}
|
|
@@ -24,6 +24,7 @@ export declare class KbqNavbarBento {
|
|
|
24
24
|
export declare class KbqNavbarTitle implements AfterViewInit {
|
|
25
25
|
protected readonly isBrowser: boolean;
|
|
26
26
|
protected readonly nativeElement: any;
|
|
27
|
+
private readonly window;
|
|
27
28
|
readonly hovered: Subject<boolean>;
|
|
28
29
|
outerElementWidth: number;
|
|
29
30
|
isTextOverflown: boolean;
|
|
@@ -88,6 +89,7 @@ export declare class KbqNavbarFocusableItem implements AfterContentInit, AfterVi
|
|
|
88
89
|
export declare class KbqNavbarRectangleElement {
|
|
89
90
|
protected readonly isBrowser: boolean;
|
|
90
91
|
protected readonly nativeElement: any;
|
|
92
|
+
private readonly window;
|
|
91
93
|
readonly state: Subject<void>;
|
|
92
94
|
get horizontal(): boolean;
|
|
93
95
|
set horizontal(value: boolean);
|
|
@@ -141,6 +143,7 @@ export declare class KbqNavbarToggle extends KbqTooltipTrigger implements OnDest
|
|
|
141
143
|
navbar: KbqVerticalNavbar;
|
|
142
144
|
private changeDetectorRef;
|
|
143
145
|
protected readonly document: Document;
|
|
146
|
+
private readonly window;
|
|
144
147
|
customIcon: KbqIcon;
|
|
145
148
|
get content(): string | TemplateRef<any>;
|
|
146
149
|
set content(content: string | TemplateRef<any>);
|
|
@@ -150,7 +153,6 @@ export declare class KbqNavbarToggle extends KbqTooltipTrigger implements OnDest
|
|
|
150
153
|
onKeydown($event: KeyboardEvent): void;
|
|
151
154
|
ngOnDestroy(): void;
|
|
152
155
|
toggle: () => void;
|
|
153
|
-
private getWindow;
|
|
154
156
|
private windowToggleHandler;
|
|
155
157
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqNavbarToggle, never>;
|
|
156
158
|
static ɵcmp: i0.ɵɵComponentDeclaration<KbqNavbarToggle, "kbq-navbar-toggle", never, { "content": { "alias": "kbqCollapsedTooltip"; "required": false; }; }, {}, ["customIcon"], ["[kbq-icon]", "kbq-navbar-title"], false, never>;
|
|
@@ -65,6 +65,10 @@ export declare class KbqOverflowItem extends ElementVisibilityManager {
|
|
|
65
65
|
* Directive for managing the visibility of items that overflow the container.
|
|
66
66
|
*/
|
|
67
67
|
export declare class KbqOverflowItems {
|
|
68
|
+
private readonly elementRef;
|
|
69
|
+
private readonly resizeObserver;
|
|
70
|
+
private readonly renderer;
|
|
71
|
+
private readonly document;
|
|
68
72
|
/**
|
|
69
73
|
* `KbqOverflowItem` directive references.
|
|
70
74
|
*/
|
|
@@ -85,6 +89,12 @@ export declare class KbqOverflowItems {
|
|
|
85
89
|
* @default 0
|
|
86
90
|
*/
|
|
87
91
|
readonly debounceTime: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
92
|
+
/**
|
|
93
|
+
* List of additional elements to observe for resize changes.
|
|
94
|
+
*
|
|
95
|
+
* @default document.body
|
|
96
|
+
*/
|
|
97
|
+
readonly additionalResizeObserverTargets: import("@angular/core").InputSignal<Element | Element[]>;
|
|
88
98
|
/**
|
|
89
99
|
* Emits when the set of hidden items changes.
|
|
90
100
|
*/
|
|
@@ -93,11 +103,8 @@ export declare class KbqOverflowItems {
|
|
|
93
103
|
* Set of hidden item IDs.
|
|
94
104
|
*/
|
|
95
105
|
readonly hiddenItemIDs: import("@angular/core").Signal<ReadonlySet<unknown>>;
|
|
96
|
-
private readonly elementRef;
|
|
97
|
-
private readonly resizeObserver;
|
|
98
|
-
private readonly renderer;
|
|
99
|
-
private readonly document;
|
|
100
106
|
constructor();
|
|
107
|
+
private setupObservers;
|
|
101
108
|
/**
|
|
102
109
|
* Sort items by their `order` attribute.
|
|
103
110
|
* If an item does not have an `order` defined, its index is used as a fallback.
|
|
@@ -121,5 +128,5 @@ export declare class KbqOverflowItems {
|
|
|
121
128
|
*/
|
|
122
129
|
private readonly hasScrollbar;
|
|
123
130
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqOverflowItems, never>;
|
|
124
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqOverflowItems, "[kbqOverflowItems]", ["kbqOverflowItems"], { "reverseOverflowOrder": { "alias": "reverseOverflowOrder"; "required": false; "isSignal": true; }; "debounceTime": { "alias": "debounceTime"; "required": false; "isSignal": true; }; }, { "changes": "changes"; }, ["items", "result"], never, true, never>;
|
|
131
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqOverflowItems, "[kbqOverflowItems]", ["kbqOverflowItems"], { "reverseOverflowOrder": { "alias": "reverseOverflowOrder"; "required": false; "isSignal": true; }; "debounceTime": { "alias": "debounceTime"; "required": false; "isSignal": true; }; "additionalResizeObserverTargets": { "alias": "additionalResizeObserverTargets"; "required": false; "isSignal": true; }; }, { "changes": "changes"; }, ["items", "result"], never, true, never>;
|
|
125
132
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@koobiq/components",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.33.0",
|
|
4
4
|
"description": "koobiq",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"@angular/cdk": "^18.0.0",
|
|
25
25
|
"@angular/core": "^18.0.0",
|
|
26
26
|
"@angular/forms": "^18.0.0",
|
|
27
|
-
"@koobiq/cdk": "18.
|
|
28
|
-
"@koobiq/angular-moment-adapter": "18.
|
|
29
|
-
"@koobiq/angular-luxon-adapter": "18.
|
|
27
|
+
"@koobiq/cdk": "18.33.0",
|
|
28
|
+
"@koobiq/angular-moment-adapter": "18.33.0",
|
|
29
|
+
"@koobiq/angular-luxon-adapter": "18.33.0",
|
|
30
30
|
"@koobiq/date-formatter": "^3.2.3",
|
|
31
31
|
"@koobiq/icons": "^10.4.0",
|
|
32
32
|
"@koobiq/tokens-builder": "3.11.0",
|