@koobiq/components 19.4.1 → 19.5.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/LICENSE +1 -1
- package/accordion/accordion-content.d.ts +1 -1
- package/accordion/accordion-content.directive.d.ts +18 -7
- package/accordion/accordion-header.directive.d.ts +2 -2
- package/accordion/accordion-item.d.ts +74 -3
- package/accordion/accordion-trigger.component.d.ts +15 -2
- package/accordion/accordion-trigger.directive.d.ts +9 -5
- package/accordion/accordion.component.d.ts +67 -6
- package/accordion/accordion.component.scss +9 -27
- package/accordion/public-api.d.ts +0 -2
- package/checkbox/checkbox.scss +5 -5
- package/clamped-text/clamped-list.d.ts +41 -0
- package/clamped-text/clamped-text.d.ts +10 -6
- package/clamped-text/constants.d.ts +21 -1
- package/clamped-text/index.d.ts +1 -0
- package/clamped-text/module.d.ts +2 -1
- package/code-block/code-block.d.ts +10 -3
- package/code-block/code-block.module.d.ts +1 -1
- package/code-block/code-block.scss +1 -0
- package/code-block/types.d.ts +9 -0
- package/core/common-behaviors/flex.d.ts +4 -0
- package/core/common-behaviors/index.d.ts +1 -0
- package/core/form-field/form-field-ref.d.ts +3 -1
- package/core/locales/en-US.d.ts +2 -0
- package/core/locales/es-LA.d.ts +2 -0
- package/core/locales/locale-service.d.ts +10 -0
- package/core/locales/pt-BR.d.ts +2 -0
- package/core/locales/ru-RU.d.ts +2 -0
- package/core/locales/tk-TM.d.ts +2 -0
- package/core/locales/types.d.ts +2 -0
- package/core/option/_option-theme.scss +4 -17
- package/core/option/option.d.ts +5 -1
- package/core/pop-up/pop-up-trigger.d.ts +10 -1
- package/core/selection/pseudo-checkbox/pseudo-checkbox.scss +2 -2
- package/core/styles/common/_overlay.scss +1 -1
- package/dropdown/dropdown.component.d.ts +2 -1
- package/fesm2022/koobiq-components-accordion.mjs +278 -236
- package/fesm2022/koobiq-components-accordion.mjs.map +1 -1
- package/fesm2022/koobiq-components-actions-panel.mjs +10 -10
- package/fesm2022/koobiq-components-alert.mjs +16 -16
- package/fesm2022/koobiq-components-app-switcher.mjs +19 -19
- package/fesm2022/koobiq-components-app-switcher.mjs.map +1 -1
- package/fesm2022/koobiq-components-autocomplete.mjs +13 -13
- package/fesm2022/koobiq-components-badge.mjs +13 -13
- package/fesm2022/koobiq-components-breadcrumbs.mjs +25 -25
- package/fesm2022/koobiq-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/koobiq-components-button-toggle.mjs +10 -10
- package/fesm2022/koobiq-components-button.mjs +13 -13
- package/fesm2022/koobiq-components-checkbox.mjs +11 -11
- package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
- package/fesm2022/koobiq-components-clamped-text.mjs +134 -47
- package/fesm2022/koobiq-components-clamped-text.mjs.map +1 -1
- package/fesm2022/koobiq-components-code-block.mjs +35 -16
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-content-panel.mjs +28 -28
- package/fesm2022/koobiq-components-core.mjs +267 -233
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +40 -40
- package/fesm2022/koobiq-components-divider.mjs +7 -7
- package/fesm2022/koobiq-components-dl.mjs +13 -13
- package/fesm2022/koobiq-components-dropdown.mjs +29 -21
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-dynamic-translation.mjs +13 -13
- package/fesm2022/koobiq-components-ellipsis-center.mjs +7 -7
- package/fesm2022/koobiq-components-empty-state.mjs +19 -19
- package/fesm2022/koobiq-components-file-upload.mjs +39 -39
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-filter-bar.mjs +88 -88
- package/fesm2022/koobiq-components-filter-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +68 -63
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +14 -14
- package/fesm2022/koobiq-components-icon.mjs.map +1 -1
- package/fesm2022/koobiq-components-inline-edit.mjs +26 -16
- package/fesm2022/koobiq-components-inline-edit.mjs.map +1 -1
- package/fesm2022/koobiq-components-input.mjs +28 -26
- package/fesm2022/koobiq-components-input.mjs.map +1 -1
- package/fesm2022/koobiq-components-link.mjs +13 -7
- package/fesm2022/koobiq-components-link.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +19 -19
- package/fesm2022/koobiq-components-loader-overlay.mjs +16 -16
- package/fesm2022/koobiq-components-markdown.mjs +10 -10
- package/fesm2022/koobiq-components-modal.mjs +90 -63
- package/fesm2022/koobiq-components-modal.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar-ic.mjs +34 -34
- package/fesm2022/koobiq-components-navbar.mjs +51 -44
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-notification-center.mjs +16 -16
- package/fesm2022/koobiq-components-overflow-items.mjs +29 -17
- package/fesm2022/koobiq-components-overflow-items.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +16 -16
- package/fesm2022/koobiq-components-progress-bar.mjs +13 -13
- package/fesm2022/koobiq-components-progress-spinner.mjs +13 -13
- package/fesm2022/koobiq-components-radio.mjs +10 -10
- package/fesm2022/koobiq-components-resizer.mjs +10 -10
- package/fesm2022/koobiq-components-risk-level.mjs +7 -7
- package/fesm2022/koobiq-components-scrollbar.mjs +10 -10
- package/fesm2022/koobiq-components-search-expandable.mjs +8 -8
- package/fesm2022/koobiq-components-search-expandable.mjs.map +1 -1
- package/fesm2022/koobiq-components-select.mjs +13 -12
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidebar.mjs +13 -13
- package/fesm2022/koobiq-components-sidepanel.mjs +49 -40
- package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
- package/fesm2022/koobiq-components-skeleton.mjs +26 -10
- package/fesm2022/koobiq-components-skeleton.mjs.map +1 -1
- package/fesm2022/koobiq-components-split-button.mjs +7 -7
- package/fesm2022/koobiq-components-splitter.mjs +16 -16
- package/fesm2022/koobiq-components-table.mjs +10 -10
- package/fesm2022/koobiq-components-tabs.mjs +54 -54
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +42 -45
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-textarea.mjs +10 -9
- package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
- package/fesm2022/koobiq-components-time-range.mjs +24 -24
- package/fesm2022/koobiq-components-time-range.mjs.map +1 -1
- package/fesm2022/koobiq-components-timepicker.mjs +10 -10
- package/fesm2022/koobiq-components-timezone.mjs +24 -24
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-title.mjs +7 -7
- package/fesm2022/koobiq-components-toast.mjs +16 -16
- package/fesm2022/koobiq-components-toggle.mjs +7 -7
- package/fesm2022/koobiq-components-tooltip.mjs +28 -18
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/fesm2022/koobiq-components-top-bar.mjs +13 -13
- package/fesm2022/koobiq-components-tree-select.mjs +10 -9
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +63 -50
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/fesm2022/koobiq-components-username.mjs +27 -27
- package/filter-bar/pipes/pipe-date.scss +3 -15
- package/form-field/form-field.d.ts +7 -1
- package/form-field/form-field.scss +4 -0
- package/icon/icon-button.scss +4 -0
- package/inline-edit/inline-edit.d.ts +1 -0
- package/input/input-password.d.ts +1 -0
- package/input/input.d.ts +1 -0
- package/link/_link-theme.scss +15 -7
- package/link/link-tokens.scss +2 -0
- package/link/link.component.d.ts +4 -1
- package/markdown/markdown.component.d.ts +1 -1
- package/modal/modal-ref.class.d.ts +1 -0
- package/modal/modal.component.d.ts +14 -8
- package/modal/modal.scss +1 -0
- package/modal/modal.type.d.ts +5 -0
- package/navbar/navbar-item.component.d.ts +3 -1
- package/overflow-items/overflow-items.d.ts +8 -2
- 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/schematics/ng-add/index.js +4 -5
- package/select/select.component.d.ts +1 -0
- package/sidepanel/_sidepanel-theme.scss +1 -7
- package/sidepanel/sidepanel-config.d.ts +4 -1
- package/sidepanel/sidepanel.service.d.ts +0 -1
- package/skeleton/skeleton.d.ts +5 -0
- package/skeleton/skeleton.scss +3 -2
- package/tabs/_tabs-common.scss +2 -1
- package/tags/tag-input.d.ts +4 -3
- package/tags/tag-list.component.d.ts +1 -0
- package/textarea/textarea.component.d.ts +1 -0
- package/tooltip/tooltip.component.d.ts +2 -0
- package/tree/_tree-theme.scss +0 -19
- package/tree/tree-option.component.d.ts +9 -3
- package/tree/tree-option.scss +2 -5
- package/tree/tree-selection.component.d.ts +2 -0
- package/tree-select/tree-select.component.d.ts +1 -0
- package/accordion/accordion-item.directive.d.ts +0 -72
- package/accordion/accordion-root.directive.d.ts +0 -64
|
@@ -85,11 +85,11 @@ class KbqUsernamePipe {
|
|
|
85
85
|
});
|
|
86
86
|
return result.trim();
|
|
87
87
|
}
|
|
88
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
89
|
-
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.
|
|
90
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
88
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: KbqUsernamePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
89
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.19", ngImport: i0, type: KbqUsernamePipe, isStandalone: true, name: "kbqUsername" }); }
|
|
90
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: KbqUsernamePipe, providedIn: 'root' }); }
|
|
91
91
|
}
|
|
92
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
92
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: KbqUsernamePipe, decorators: [{
|
|
93
93
|
type: Injectable,
|
|
94
94
|
args: [{ providedIn: 'root' }]
|
|
95
95
|
}, {
|
|
@@ -129,11 +129,11 @@ class KbqUsernameCustomPipe {
|
|
|
129
129
|
});
|
|
130
130
|
return result.trim();
|
|
131
131
|
}
|
|
132
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
133
|
-
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.
|
|
134
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
132
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: KbqUsernameCustomPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
133
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.19", ngImport: i0, type: KbqUsernameCustomPipe, isStandalone: true, name: "kbqUsernameCustom" }); }
|
|
134
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: KbqUsernameCustomPipe, providedIn: 'root' }); }
|
|
135
135
|
}
|
|
136
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
136
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: KbqUsernameCustomPipe, decorators: [{
|
|
137
137
|
type: Injectable,
|
|
138
138
|
args: [{ providedIn: 'root' }]
|
|
139
139
|
}, {
|
|
@@ -147,10 +147,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
147
147
|
const baseClass = 'kbq-username';
|
|
148
148
|
/** Styles the primary part of the username (e.g. full name). */
|
|
149
149
|
class KbqUsernamePrimary {
|
|
150
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
151
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.
|
|
150
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: KbqUsernamePrimary, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
151
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.19", type: KbqUsernamePrimary, isStandalone: true, selector: "[kbqUsernamePrimary]", host: { classAttribute: "kbq-username__primary" }, exportAs: ["kbqUsernamePrimary"], ngImport: i0 }); }
|
|
152
152
|
}
|
|
153
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
153
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: KbqUsernamePrimary, decorators: [{
|
|
154
154
|
type: Directive,
|
|
155
155
|
args: [{
|
|
156
156
|
selector: '[kbqUsernamePrimary]',
|
|
@@ -162,10 +162,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
162
162
|
}] });
|
|
163
163
|
/** Styles the secondary part. */
|
|
164
164
|
class KbqUsernameSecondary {
|
|
165
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
166
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.
|
|
165
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: KbqUsernameSecondary, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
166
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.19", type: KbqUsernameSecondary, isStandalone: true, selector: "[kbqUsernameSecondary]", host: { classAttribute: "kbq-username__secondary" }, exportAs: ["kbqUsernameSecondary"], ngImport: i0 }); }
|
|
167
167
|
}
|
|
168
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
168
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: KbqUsernameSecondary, decorators: [{
|
|
169
169
|
type: Directive,
|
|
170
170
|
args: [{
|
|
171
171
|
selector: '[kbqUsernameSecondary]',
|
|
@@ -177,10 +177,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
177
177
|
}] });
|
|
178
178
|
/** Styles a secondary hint. */
|
|
179
179
|
class KbqUsernameSecondaryHint {
|
|
180
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
181
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.
|
|
180
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: KbqUsernameSecondaryHint, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
181
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.19", type: KbqUsernameSecondaryHint, isStandalone: true, selector: "[kbqUsernameSecondaryHint]", host: { classAttribute: "kbq-username__secondary-hint" }, exportAs: ["kbqUsernameSecondaryHint"], ngImport: i0 }); }
|
|
182
182
|
}
|
|
183
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
183
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: KbqUsernameSecondaryHint, decorators: [{
|
|
184
184
|
type: Directive,
|
|
185
185
|
args: [{
|
|
186
186
|
selector: '[kbqUsernameSecondaryHint]',
|
|
@@ -192,10 +192,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
192
192
|
}] });
|
|
193
193
|
/** Custom content for `KbqUsername`, overrides default view. */
|
|
194
194
|
class KbqUsernameCustomView {
|
|
195
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
196
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.
|
|
195
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: KbqUsernameCustomView, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
196
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.19", type: KbqUsernameCustomView, isStandalone: true, selector: "kbq-username-custom-view, [kbq-username-custom-view]", host: { classAttribute: "kbq-username__custom-view" }, exportAs: ["kbqUsernameCustomView"], ngImport: i0 }); }
|
|
197
197
|
}
|
|
198
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
198
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: KbqUsernameCustomView, decorators: [{
|
|
199
199
|
type: Directive,
|
|
200
200
|
args: [{
|
|
201
201
|
selector: 'kbq-username-custom-view, [kbq-username-custom-view]',
|
|
@@ -246,10 +246,10 @@ class KbqUsername {
|
|
|
246
246
|
return [this.type(), this.mode()].map((modificator) => `${baseClass}_${modificator}`).join(' ');
|
|
247
247
|
});
|
|
248
248
|
}
|
|
249
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
250
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
249
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: KbqUsername, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
250
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.19", type: KbqUsername, isStandalone: true, selector: "kbq-username", inputs: { userInfo: { classPropertyName: "userInfo", publicName: "userInfo", isSignal: true, isRequired: false, transformFunction: null }, isCompact: { classPropertyName: "isCompact", publicName: "isCompact", isSignal: true, isRequired: false, transformFunction: null }, fullNameFormat: { classPropertyName: "fullNameFormat", publicName: "fullNameFormat", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "class()" }, classAttribute: "kbq-username" }, queries: [{ propertyName: "customView", first: true, predicate: KbqUsernameCustomView, descendants: true, isSignal: true }], exportAs: ["kbqUsername"], ngImport: i0, template: "@let profile = userInfo();\n<ng-content select=\"kbq-username-custom-view,[kbq-username-custom-view]\" />\n\n@if (!customView() && profile) {\n @let fullName = profile | kbqUsername: fullNameFormat();\n\n @if (!isCompact()) {\n @if (hasFullName()) {\n <span kbq-title kbqUsernamePrimary>{{ fullName }}</span>\n }\n\n @if (profile.login) {\n <span kbq-title kbqUsernameSecondary>\n {{ profile.login }}\n\n @if (profile.site) {\n <span kbqUsernameSecondaryHint>({{ profile.site }})</span>\n }\n </span>\n }\n } @else {\n <span kbq-title kbqUsernamePrimary>\n @if (hasFullName()) {\n <span>{{ fullName }}</span>\n }\n @if (!hasFullName() && profile.login) {\n {{ profile.login }}\n }\n\n @if (profile.site) {\n <span kbqUsernameSecondaryHint> ({{ profile.site }})</span>\n }\n </span>\n }\n}\n", styles: ["@keyframes kbq-progress{0%{background-position:0 0}to{background-position:64px 0}}.kbq-progress{position:relative}.kbq-progress:after{content:\"\";position:absolute;border-radius:inherit;inset:0;background:linear-gradient(135deg,#0000000a 12px,#ffffff1a 12px 22px,#0000000a 22px 34px,#ffffff1a 34px) repeat;background-size:32px 32px;animation:kbq-progress 1s linear infinite}.kbq-group{display:flex;flex-direction:row}.kbq-group .kbq-group_justified>.kbq-group-item{width:100%}.kbq-group .kbq-group-item+.kbq-group-item{margin-left:calc(-1 * var(--kbq-size-border-width))}.kbq-group>.kbq-group-item:first-child:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.kbq-group>.kbq-group-item:first-child:not(:last-child)>.kbq-form-field__container{border-bottom-right-radius:0;border-top-right-radius:0}.kbq-group>.kbq-group-item:last-child:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.kbq-group>.kbq-group-item:last-child:not(:first-child)>.kbq-form-field__container{border-bottom-left-radius:0;border-top-left-radius:0}.kbq-group>.kbq-group-item:not(:first-child):not(:last-child){border-radius:0}.kbq-group>.kbq-group-item:not(:first-child):not(:last-child)>.kbq-form-field__container{border-radius:0}.kbq-vertical-group{display:flex;flex-direction:column}.kbq-vertical-group>.kbq-group-item:first-child:not(:last-child){border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--kbq-size-border-radius)}.kbq-vertical-group>.kbq-group-item:first-child:not(:last-child)>.kbq-form-field__container{border-bottom-right-radius:0;border-bottom-left-radius:0}.kbq-vertical-group>.kbq-group-item:last-child:not(:first-child){border-top-right-radius:0;border-top-left-radius:0;border-bottom-left-radius:var(--kbq-size-border-radius)}.kbq-vertical-group>.kbq-group-item:last-child:not(:first-child)>.kbq-form-field__container{border-top-right-radius:0;border-top-left-radius:0}.kbq-vertical-group>.kbq-group-item:not(:first-child):not(:last-child){border-radius:0}.kbq-vertical-group>.kbq-group-item:not(:first-child):not(:last-child)>.kbq-form-field__container{border-radius:0}.kbq-vertical-group .kbq-group-item+.kbq-group-item{margin-top:calc(-1 * var(--kbq-size-border-width))}.kbq-truncate-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kbq-no-select{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.kbq-username{color:var(--kbq-username-primary-color)}.kbq-username .kbq-username__secondary,.kbq-username .kbq-username__secondary-hint{color:var(--kbq-username-secondary-color)}.kbq-username.kbq-username_default .kbq-username__secondary-hint,.kbq-username.kbq-username_default .kbq-username__primary+.kbq-username__secondary{--kbq-username-secondary-color: var(--kbq-foreground-contrast-secondary)}.kbq-username.kbq-username_error{--kbq-username-primary-color: var(--kbq-foreground-error);--kbq-username-secondary-color: var(--kbq-foreground-error)}.kbq-username.kbq-username_accented{--kbq-username-primary-color: var(--kbq-foreground-contrast);--kbq-username-secondary-color: var(--kbq-foreground-contrast)}.kbq-username.kbq-username_inherit{--kbq-username-primary-color: inherit;--kbq-username-secondary-color: inherit}.kbq-username{font-size:var(--kbq-typography-text-normal-font-size);font-style:var(--kbq-typography-text-normal-font-style);font-weight:var(--kbq-typography-text-normal-font-weight);line-height:var(--kbq-typography-text-normal-line-height);font-family:var(--kbq-typography-text-normal-font-family);text-transform:var(--kbq-typography-text-normal-text-transform);font-feature-settings:var(--kbq-typography-text-normal-font-feature-settings);letter-spacing:var(--kbq-typography-text-normal-letter-spacing)}.kbq-username.kbq-username_accented .kbq-username__primary{font-size:var(--kbq-typography-text-normal-strong-font-size);font-style:var(--kbq-typography-text-normal-strong-font-style);font-weight:var(--kbq-typography-text-normal-strong-font-weight);line-height:var(--kbq-typography-text-normal-strong-line-height);font-family:var(--kbq-typography-text-normal-strong-font-family);text-transform:var(--kbq-typography-text-normal-strong-text-transform);font-feature-settings:var(--kbq-typography-text-normal-strong-font-feature-settings);letter-spacing:var(--kbq-typography-text-normal-strong-letter-spacing)}.kbq-username.kbq-username_stacked:not(:has(>.kbq-username__custom-view)),.kbq-username.kbq-username_stacked>.kbq-username__custom-view{display:flex;flex-flow:column nowrap;justify-content:flex-start;align-items:normal;gap:var(--kbq-username-vertical-gap)}.kbq-username.kbq-username_inline:not(.kbq-username_inherit):not(:has(>.kbq-username__custom-view)),.kbq-username.kbq-username_inline:not(.kbq-username_inherit)>.kbq-username__custom-view{display:flex;flex-flow:row nowrap;justify-content:flex-start;align-items:baseline}.kbq-username.kbq-username_inline:not(.kbq-username_inherit):not(:has(>.kbq-username__custom-view)) .kbq-username__primary+.kbq-username__secondary,.kbq-username.kbq-username_inline:not(.kbq-username_inherit)>.kbq-username__custom-view .kbq-username__primary+.kbq-username__secondary{margin-left:var(--kbq-username-horizontal-gap)}[dir=rtl] .kbq-username.kbq-username_inline:not(.kbq-username_inherit):not(:has(>.kbq-username__custom-view)) .kbq-username__primary+.kbq-username__secondary,[dir=rtl] .kbq-username.kbq-username_inline:not(.kbq-username_inherit)>.kbq-username__custom-view .kbq-username__primary+.kbq-username__secondary{margin-left:0;margin-right:var(--kbq-username-horizontal-gap)}.kbq-username.kbq-username_text:not(:has(>.kbq-username__custom-view)),.kbq-username.kbq-username_text>.kbq-username__custom-view{display:inline}.kbq-username.kbq-username_stacked:not(:has(>.kbq-username__custom-view)) .kbq-username__primary,.kbq-username.kbq-username_stacked:not(:has(>.kbq-username__custom-view)) .kbq-username__secondary,.kbq-username.kbq-username_stacked>.kbq-username__custom-view .kbq-username__primary,.kbq-username.kbq-username_stacked>.kbq-username__custom-view .kbq-username__secondary,.kbq-username.kbq-username_inline:not(:has(>.kbq-username__custom-view)) .kbq-username__primary,.kbq-username.kbq-username_inline:not(:has(>.kbq-username__custom-view)) .kbq-username__secondary,.kbq-username.kbq-username_inline>.kbq-username__custom-view .kbq-username__primary,.kbq-username.kbq-username_inline>.kbq-username__custom-view .kbq-username__secondary{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kbq-username.kbq-username_inherit:not(:has(>.kbq-username__custom-view)),.kbq-username.kbq-username_inherit>.kbq-username__custom-view{font:inherit;display:inherit}\n", ":where(.kbq-username){--kbq-username-primary-color: var(--kbq-foreground-contrast);--kbq-username-secondary-color: inherit;--kbq-username-vertical-gap: var(--kbq-size-xxs);--kbq-username-horizontal-gap: var(--kbq-size-xxs)}\n"], dependencies: [{ kind: "ngmodule", type: KbqTitleModule }, { kind: "directive", type: i1.KbqTitleDirective, selector: "[kbq-title]", exportAs: ["kbqTitle"] }, { kind: "pipe", type: KbqUsernamePipe, name: "kbqUsername" }, { kind: "directive", type: KbqUsernamePrimary, selector: "[kbqUsernamePrimary]", exportAs: ["kbqUsernamePrimary"] }, { kind: "directive", type: KbqUsernameSecondary, selector: "[kbqUsernameSecondary]", exportAs: ["kbqUsernameSecondary"] }, { kind: "directive", type: KbqUsernameSecondaryHint, selector: "[kbqUsernameSecondaryHint]", exportAs: ["kbqUsernameSecondaryHint"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
251
251
|
}
|
|
252
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
252
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: KbqUsername, decorators: [{
|
|
253
253
|
type: Component,
|
|
254
254
|
args: [{ selector: 'kbq-username', exportAs: 'kbqUsername', imports: [
|
|
255
255
|
KbqTitleModule,
|
|
@@ -272,8 +272,8 @@ const COMPONENTS = [
|
|
|
272
272
|
KbqUsernamePipe
|
|
273
273
|
];
|
|
274
274
|
class KbqUsernameModule {
|
|
275
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
276
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.
|
|
275
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: KbqUsernameModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
276
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.19", ngImport: i0, type: KbqUsernameModule, imports: [KbqUsername,
|
|
277
277
|
KbqUsernameCustomView,
|
|
278
278
|
KbqUsernamePrimary,
|
|
279
279
|
KbqUsernameSecondary,
|
|
@@ -284,9 +284,9 @@ class KbqUsernameModule {
|
|
|
284
284
|
KbqUsernameSecondary,
|
|
285
285
|
KbqUsernameCustomPipe,
|
|
286
286
|
KbqUsernamePipe] }); }
|
|
287
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.
|
|
287
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: KbqUsernameModule, imports: [KbqUsername] }); }
|
|
288
288
|
}
|
|
289
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
289
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: KbqUsernameModule, decorators: [{
|
|
290
290
|
type: NgModule,
|
|
291
291
|
args: [{
|
|
292
292
|
imports: COMPONENTS,
|
|
@@ -37,9 +37,7 @@
|
|
|
37
37
|
width: 320px;
|
|
38
38
|
|
|
39
39
|
& .kbq-date-period__header {
|
|
40
|
-
padding
|
|
41
|
-
padding-left: var(--kbq-size-xxs);
|
|
42
|
-
padding-right: var(--kbq-size-xxs);
|
|
40
|
+
padding: var(--kbq-size-xs) var(--kbq-size-xxs) var(--kbq-size-s);
|
|
43
41
|
|
|
44
42
|
& .kbq-button {
|
|
45
43
|
width: 100%;
|
|
@@ -54,22 +52,12 @@
|
|
|
54
52
|
& .kbq-date-period__content {
|
|
55
53
|
display: grid;
|
|
56
54
|
grid-auto-columns: minmax(min-content, 1fr);
|
|
57
|
-
grid-template-columns: min-content;
|
|
55
|
+
grid-template-columns: min-content minmax(min-content, 1fr);
|
|
58
56
|
|
|
59
57
|
padding: 0;
|
|
60
58
|
|
|
61
59
|
gap: var(--kbq-size-s);
|
|
62
60
|
|
|
63
|
-
& .kbq-date-period__content-header {
|
|
64
|
-
grid-column: 2 span;
|
|
65
|
-
|
|
66
|
-
padding-top: var(--kbq-size-s);
|
|
67
|
-
padding-left: var(--kbq-size-l);
|
|
68
|
-
padding-right: var(--kbq-size-l);
|
|
69
|
-
|
|
70
|
-
color: var(--kbq-foreground-contrast-secondary);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
61
|
& .kbq-form__label {
|
|
74
62
|
padding-left: var(--kbq-size-l);
|
|
75
63
|
}
|
|
@@ -80,7 +68,7 @@
|
|
|
80
68
|
|
|
81
69
|
& .kbq-date-period__date,
|
|
82
70
|
& .kbq-date-period__time {
|
|
83
|
-
|
|
71
|
+
width: auto;
|
|
84
72
|
}
|
|
85
73
|
|
|
86
74
|
& .kbq-form__row_with-time {
|
|
@@ -22,6 +22,8 @@ export declare function getKbqFormFieldYouCanNotUseCleanerInNumberInputError():
|
|
|
22
22
|
export type KbqFormFieldDefaultOptions = Partial<{
|
|
23
23
|
/** Disables form field borders and shadows. */
|
|
24
24
|
noBorders: boolean;
|
|
25
|
+
/** Use when KbqFormField is in an overlay container. */
|
|
26
|
+
inOverlay: boolean;
|
|
25
27
|
}>;
|
|
26
28
|
/**
|
|
27
29
|
* Injection token that can be used to configure the default options for all kbq-form-field's.
|
|
@@ -29,6 +31,8 @@ export type KbqFormFieldDefaultOptions = Partial<{
|
|
|
29
31
|
export declare const KBQ_FORM_FIELD_DEFAULT_OPTIONS: InjectionToken<Partial<{
|
|
30
32
|
/** Disables form field borders and shadows. */
|
|
31
33
|
noBorders: boolean;
|
|
34
|
+
/** Use when KbqFormField is in an overlay container. */
|
|
35
|
+
inOverlay: boolean;
|
|
32
36
|
}>>;
|
|
33
37
|
/** Utility provider for `KBQ_FORM_FIELD_DEFAULT_OPTIONS`. */
|
|
34
38
|
export declare const kbqFormFieldDefaultOptionsProvider: (options: KbqFormFieldDefaultOptions) => Provider;
|
|
@@ -44,6 +48,8 @@ export declare class KbqFormField extends KbqColorDirective implements AfterCont
|
|
|
44
48
|
readonly elementRef: ElementRef<HTMLElement>;
|
|
45
49
|
/** Disables form field borders and shadows. */
|
|
46
50
|
readonly noBorders: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
51
|
+
/** Use when KbqFormField is in an overlay container. */
|
|
52
|
+
readonly inOverlay: import("@angular/core").ModelSignal<boolean | undefined>;
|
|
47
53
|
/**
|
|
48
54
|
* The form field control.
|
|
49
55
|
*
|
|
@@ -248,7 +254,7 @@ export declare class KbqFormField extends KbqColorDirective implements AfterCont
|
|
|
248
254
|
/** Initializes the KbqHint, KbqPasswordHint, KbqReactivePasswordHint and KbqError containers. */
|
|
249
255
|
private initializeHint;
|
|
250
256
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqFormField, never>;
|
|
251
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqFormField, "kbq-form-field", ["kbqFormField"], { "noBorders": { "alias": "noBorders"; "required": false; "isSignal": true; }; }, {}, ["control", "stepper", "cleaner", "passwordToggle", "label", "hint", "passwordHints", "suffix", "prefix", "reactivePasswordHint", "error"], ["kbq-label", "[kbqPrefix]", "*", "kbq-cleaner", "kbq-password-toggle, kbq-stepper, [kbqSuffix]", "kbq-error", "kbq-hint, kbq-password-hint, kbq-reactive-password-hint"], true, never>;
|
|
257
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqFormField, "kbq-form-field", ["kbqFormField"], { "noBorders": { "alias": "noBorders"; "required": false; "isSignal": true; }; "inOverlay": { "alias": "inOverlay"; "required": false; "isSignal": true; }; }, { "inOverlay": "inOverlayChange"; }, ["control", "stepper", "cleaner", "passwordToggle", "label", "hint", "passwordHints", "suffix", "prefix", "reactivePasswordHint", "error"], ["kbq-label", "[kbqPrefix]", "*", "kbq-cleaner", "kbq-password-toggle, kbq-stepper, [kbqSuffix]", "kbq-error", "kbq-hint, kbq-password-hint, kbq-reactive-password-hint"], true, never>;
|
|
252
258
|
}
|
|
253
259
|
/**
|
|
254
260
|
* @docs-private
|
package/icon/icon-button.scss
CHANGED
|
@@ -10,6 +10,7 @@ export declare class KbqInputPassword implements KbqFormFieldControl<any>, OnCha
|
|
|
10
10
|
parentForm: NgForm;
|
|
11
11
|
parentFormGroup: FormGroupDirective;
|
|
12
12
|
defaultErrorStateMatcher: ErrorStateMatcher;
|
|
13
|
+
private readonly useLegacyValidation;
|
|
13
14
|
/** Whether the component is in an error state. */
|
|
14
15
|
errorState: boolean;
|
|
15
16
|
/** An object used to control when error messages are shown. */
|
package/input/input.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export declare class KbqInput implements KbqFormFieldControl<any>, OnChanges, On
|
|
|
12
12
|
parentForm: NgForm;
|
|
13
13
|
parentFormGroup: FormGroupDirective;
|
|
14
14
|
defaultErrorStateMatcher: ErrorStateMatcher;
|
|
15
|
+
private readonly useLegacyValidation;
|
|
15
16
|
/** Whether the component is in an error state. */
|
|
16
17
|
errorState: boolean;
|
|
17
18
|
/** An object used to control when error messages are shown. */
|
package/link/_link-theme.scss
CHANGED
|
@@ -16,9 +16,17 @@
|
|
|
16
16
|
|
|
17
17
|
&.kbq-text-only,
|
|
18
18
|
& .kbq-link__text {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
text-decoration-line: underline;
|
|
20
|
+
text-decoration-style: solid;
|
|
21
|
+
text-decoration-thickness: var(--kbq-link-underline-width);
|
|
22
|
+
text-decoration-color: transparent;
|
|
23
|
+
text-underline-offset: calc(var(--kbq-link-size-multiline-hit-area-gap) + var(--kbq-link-underline-width));
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.kbq-link_multiline {
|
|
27
|
+
padding-top: var(--kbq-link-size-multiline-hit-area-gap);
|
|
28
|
+
padding-bottom: var(--kbq-link-size-multiline-hit-area-gap);
|
|
29
|
+
box-decoration-break: clone;
|
|
22
30
|
}
|
|
23
31
|
|
|
24
32
|
&.kbq-text-with-icon .kbq-icon {
|
|
@@ -104,7 +112,7 @@
|
|
|
104
112
|
&:not(.kbq-link_pseudo, .kbq-link_no-underline) {
|
|
105
113
|
&.kbq-text-only:not(.kbq-text-with-dot),
|
|
106
114
|
& .kbq-link__text {
|
|
107
|
-
|
|
115
|
+
text-decoration-color: var(--kbq-#{$base-path}-border-bottom);
|
|
108
116
|
}
|
|
109
117
|
}
|
|
110
118
|
|
|
@@ -130,7 +138,7 @@
|
|
|
130
138
|
&.kbq-link_pseudo {
|
|
131
139
|
&.kbq-text-only:not(.kbq-text-with-dot),
|
|
132
140
|
& .kbq-link__text {
|
|
133
|
-
|
|
141
|
+
text-decoration-color: var(--kbq-link-state-hover-border-bottom);
|
|
134
142
|
}
|
|
135
143
|
}
|
|
136
144
|
}
|
|
@@ -142,7 +150,7 @@
|
|
|
142
150
|
&.kbq-link_pseudo {
|
|
143
151
|
&.kbq-text-only:not(.kbq-text-with-dot),
|
|
144
152
|
& .kbq-link__text {
|
|
145
|
-
|
|
153
|
+
text-decoration-color: var(--kbq-link-state-active-border-bottom);
|
|
146
154
|
}
|
|
147
155
|
}
|
|
148
156
|
}
|
|
@@ -178,7 +186,7 @@
|
|
|
178
186
|
&.kbq-text-only,
|
|
179
187
|
&.kbq-text-with-icon .kbq-link__text,
|
|
180
188
|
&.kbq-text-with-dot .kbq-link__text {
|
|
181
|
-
|
|
189
|
+
text-decoration: none;
|
|
182
190
|
}
|
|
183
191
|
|
|
184
192
|
&::after {
|
package/link/link-tokens.scss
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
.kbq-link {
|
|
2
2
|
--kbq-link-size-state-focused-outline-offset: 0px;
|
|
3
3
|
--kbq-link-size-state-focused-outline-width: 2px;
|
|
4
|
+
--kbq-link-size-multiline-hit-area-gap: calc((1lh - 1em) / 2);
|
|
4
5
|
--kbq-link-size-compact-content-padding: var(--kbq-size-xxs);
|
|
5
6
|
--kbq-link-size-normal-content-padding: var(--kbq-size-xxs);
|
|
6
7
|
--kbq-link-size-big-content-padding: var(--kbq-size-xxs);
|
|
8
|
+
--kbq-link-underline-width: 1px;
|
|
7
9
|
/* THEME TOKENS */
|
|
8
10
|
--kbq-link-text: var(--kbq-foreground-theme);
|
|
9
11
|
--kbq-link-border-bottom: var(--kbq-line-theme-less);
|
package/link/link.component.d.ts
CHANGED
|
@@ -22,6 +22,8 @@ export declare class KbqLink implements AfterContentInit, AfterViewInit, OnDestr
|
|
|
22
22
|
noUnderline: boolean;
|
|
23
23
|
big: boolean;
|
|
24
24
|
compact: boolean;
|
|
25
|
+
/** Whether the link has an increased hit area for multiline usage. */
|
|
26
|
+
multiline: boolean;
|
|
25
27
|
useVisited: boolean;
|
|
26
28
|
get hasIcon(): boolean;
|
|
27
29
|
set print(value: any);
|
|
@@ -38,12 +40,13 @@ export declare class KbqLink implements AfterContentInit, AfterViewInit, OnDestr
|
|
|
38
40
|
private updateClassModifierForIcons;
|
|
39
41
|
private updatePrintUrl;
|
|
40
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqLink, never>;
|
|
41
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqLink, "[kbq-link]", ["kbqLink"], { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "pseudo": { "alias": "pseudo"; "required": false; }; "noUnderline": { "alias": "noUnderline"; "required": false; }; "big": { "alias": "big"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "useVisited": { "alias": "useVisited"; "required": false; }; "print": { "alias": "print"; "required": false; }; }, {}, ["icon", "icons"], never, true, never>;
|
|
43
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqLink, "[kbq-link]", ["kbqLink"], { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "pseudo": { "alias": "pseudo"; "required": false; }; "noUnderline": { "alias": "noUnderline"; "required": false; }; "big": { "alias": "big"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "multiline": { "alias": "multiline"; "required": false; }; "useVisited": { "alias": "useVisited"; "required": false; }; "print": { "alias": "print"; "required": false; }; }, {}, ["icon", "icons"], never, true, never>;
|
|
42
44
|
static ngAcceptInputType_disabled: unknown;
|
|
43
45
|
static ngAcceptInputType_tabIndex: unknown;
|
|
44
46
|
static ngAcceptInputType_pseudo: unknown;
|
|
45
47
|
static ngAcceptInputType_noUnderline: unknown;
|
|
46
48
|
static ngAcceptInputType_big: unknown;
|
|
47
49
|
static ngAcceptInputType_compact: unknown;
|
|
50
|
+
static ngAcceptInputType_multiline: unknown;
|
|
48
51
|
static ngAcceptInputType_useVisited: unknown;
|
|
49
52
|
}
|
|
@@ -4,7 +4,7 @@ import { MarkedOptions } from 'marked';
|
|
|
4
4
|
import { KbqMarkdownService } from './markdown.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
/** List of options for `marked` library. */
|
|
7
|
-
export declare const KBQ_MARKDOWN_MARKED_OPTIONS: InjectionToken<MarkedOptions
|
|
7
|
+
export declare const KBQ_MARKDOWN_MARKED_OPTIONS: InjectionToken<MarkedOptions<string, string>>;
|
|
8
8
|
/** Utility provider for `KBQ_MARKDOWN_MARKED_OPTIONS`. */
|
|
9
9
|
export declare const kbqMarkdownMarkedOptionsProvider: (options: MarkedOptions) => Provider;
|
|
10
10
|
/** Component which allows to convert `Markdown` into `HTML` */
|
|
@@ -6,6 +6,7 @@ import { KbqModalComponent } from './modal.component';
|
|
|
6
6
|
*/
|
|
7
7
|
export declare abstract class KbqModalRef<C = any, R = unknown> {
|
|
8
8
|
abstract afterOpen: Observable<void>;
|
|
9
|
+
abstract beforeClose: Observable<R | undefined>;
|
|
9
10
|
abstract afterClose: Observable<R | undefined>;
|
|
10
11
|
abstract open(): void;
|
|
11
12
|
abstract close(result?: R): void;
|
|
@@ -7,11 +7,7 @@ import { KbqModalControlService } from './modal-control.service';
|
|
|
7
7
|
import { KbqModalRef } from './modal-ref.class';
|
|
8
8
|
import { IModalButtonOptions, ModalOptions, ModalSize, ModalType, OnClickCallback } from './modal.type';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
|
-
|
|
11
|
-
* Duration when perform animations (ms)
|
|
12
|
-
* @docs-private
|
|
13
|
-
*/
|
|
14
|
-
export declare const MODAL_ANIMATE_DURATION = 200;
|
|
10
|
+
type AnimationState = 'enter' | 'leave' | null;
|
|
15
11
|
export declare class KbqModalComponent<T = any, R = any> extends KbqModalRef<T, R> implements OnInit, OnChanges, AfterViewInit, OnDestroy, ModalOptions {
|
|
16
12
|
private overlay;
|
|
17
13
|
private renderer;
|
|
@@ -52,6 +48,8 @@ export declare class KbqModalComponent<T = any, R = any> extends KbqModalRef<T,
|
|
|
52
48
|
kbqBodyStyle: object;
|
|
53
49
|
readonly kbqAfterOpen: EventEmitter<void>;
|
|
54
50
|
readonly kbqAfterClose: EventEmitter<R | undefined>;
|
|
51
|
+
/** Emitted before the modal begins its closing animation. */
|
|
52
|
+
readonly kbqBeforeClose: EventEmitter<R | undefined>;
|
|
55
53
|
kbqOkText: string;
|
|
56
54
|
kbqOkType: KbqComponentColors;
|
|
57
55
|
kbqRestoreFocus: boolean;
|
|
@@ -70,10 +68,12 @@ export declare class KbqModalComponent<T = any, R = any> extends KbqModalRef<T,
|
|
|
70
68
|
modalBody: ElementRef;
|
|
71
69
|
isTopOverflow: boolean;
|
|
72
70
|
isBottomOverflow: boolean;
|
|
73
|
-
maskAnimationClassMap: object;
|
|
74
|
-
modalAnimationClassMap: object;
|
|
71
|
+
maskAnimationClassMap: object | null;
|
|
72
|
+
modalAnimationClassMap: object | null;
|
|
75
73
|
transformOrigin: string;
|
|
76
74
|
get afterOpen(): Observable<void>;
|
|
75
|
+
/** Observable alias for `kbqBeforeClose` */
|
|
76
|
+
get beforeClose(): Observable<R | undefined>;
|
|
77
77
|
get afterClose(): Observable<R | undefined>;
|
|
78
78
|
get okText(): string;
|
|
79
79
|
get cancelText(): string;
|
|
@@ -113,6 +113,11 @@ export declare class KbqModalComponent<T = any, R = any> extends KbqModalRef<T,
|
|
|
113
113
|
isModalButtons(value: {}): boolean;
|
|
114
114
|
getButtonCallableProp(options: IModalButtonOptions<T>, prop: string): {};
|
|
115
115
|
onButtonClick(button: IModalButtonOptions<T>): void;
|
|
116
|
+
/**
|
|
117
|
+
* Sets mask animation classes for the given state, or clears them if state is null.
|
|
118
|
+
* @docs-private
|
|
119
|
+
*/
|
|
120
|
+
animateMaskTo(state: AnimationState): void;
|
|
116
121
|
private handleVisibleStateChange;
|
|
117
122
|
private changeVisibleFromInside;
|
|
118
123
|
private changeAnimationState;
|
|
@@ -131,5 +136,6 @@ export declare class KbqModalComponent<T = any, R = any> extends KbqModalRef<T,
|
|
|
131
136
|
*/
|
|
132
137
|
private changeBodyOverflow;
|
|
133
138
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqModalComponent<any, any>, never>;
|
|
134
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqModalComponent<any, any>, "kbq-modal", never, { "kbqModalType": { "alias": "kbqModalType"; "required": false; }; "kbqComponent": { "alias": "kbqComponent"; "required": false; }; "kbqContent": { "alias": "kbqContent"; "required": false; }; "kbqComponentParams": { "alias": "kbqComponentParams"; "required": false; }; "kbqFooter": { "alias": "kbqFooter"; "required": false; }; "kbqVisible": { "alias": "kbqVisible"; "required": false; }; "kbqWidth": { "alias": "kbqWidth"; "required": false; }; "kbqSize": { "alias": "kbqSize"; "required": false; }; "kbqWrapClassName": { "alias": "kbqWrapClassName"; "required": false; }; "kbqClassName": { "alias": "kbqClassName"; "required": false; }; "kbqStyle": { "alias": "kbqStyle"; "required": false; }; "kbqTitle": { "alias": "kbqTitle"; "required": false; }; "kbqCloseByESC": { "alias": "kbqCloseByESC"; "required": false; }; "kbqClosable": { "alias": "kbqClosable"; "required": false; }; "kbqMask": { "alias": "kbqMask"; "required": false; }; "kbqMaskClosable": { "alias": "kbqMaskClosable"; "required": false; }; "kbqMaskStyle": { "alias": "kbqMaskStyle"; "required": false; }; "kbqBodyStyle": { "alias": "kbqBodyStyle"; "required": false; }; "kbqOkText": { "alias": "kbqOkText"; "required": false; }; "kbqOkType": { "alias": "kbqOkType"; "required": false; }; "kbqRestoreFocus": { "alias": "kbqRestoreFocus"; "required": false; }; "kbqOkLoading": { "alias": "kbqOkLoading"; "required": false; }; "kbqOnOk": { "alias": "kbqOnOk"; "required": false; }; "kbqCancelText": { "alias": "kbqCancelText"; "required": false; }; "kbqCancelLoading": { "alias": "kbqCancelLoading"; "required": false; }; "kbqOnCancel": { "alias": "kbqOnCancel"; "required": false; }; "kbqGetContainer": { "alias": "kbqGetContainer"; "required": false; }; }, { "kbqVisibleChange": "kbqVisibleChange"; "kbqAfterOpen": "kbqAfterOpen"; "kbqAfterClose": "kbqAfterClose"; "kbqOnOk": "kbqOnOk"; "kbqOnCancel": "kbqOnCancel"; }, never, ["*"], true, never>;
|
|
139
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqModalComponent<any, any>, "kbq-modal", never, { "kbqModalType": { "alias": "kbqModalType"; "required": false; }; "kbqComponent": { "alias": "kbqComponent"; "required": false; }; "kbqContent": { "alias": "kbqContent"; "required": false; }; "kbqComponentParams": { "alias": "kbqComponentParams"; "required": false; }; "kbqFooter": { "alias": "kbqFooter"; "required": false; }; "kbqVisible": { "alias": "kbqVisible"; "required": false; }; "kbqWidth": { "alias": "kbqWidth"; "required": false; }; "kbqSize": { "alias": "kbqSize"; "required": false; }; "kbqWrapClassName": { "alias": "kbqWrapClassName"; "required": false; }; "kbqClassName": { "alias": "kbqClassName"; "required": false; }; "kbqStyle": { "alias": "kbqStyle"; "required": false; }; "kbqTitle": { "alias": "kbqTitle"; "required": false; }; "kbqCloseByESC": { "alias": "kbqCloseByESC"; "required": false; }; "kbqClosable": { "alias": "kbqClosable"; "required": false; }; "kbqMask": { "alias": "kbqMask"; "required": false; }; "kbqMaskClosable": { "alias": "kbqMaskClosable"; "required": false; }; "kbqMaskStyle": { "alias": "kbqMaskStyle"; "required": false; }; "kbqBodyStyle": { "alias": "kbqBodyStyle"; "required": false; }; "kbqOkText": { "alias": "kbqOkText"; "required": false; }; "kbqOkType": { "alias": "kbqOkType"; "required": false; }; "kbqRestoreFocus": { "alias": "kbqRestoreFocus"; "required": false; }; "kbqOkLoading": { "alias": "kbqOkLoading"; "required": false; }; "kbqOnOk": { "alias": "kbqOnOk"; "required": false; }; "kbqCancelText": { "alias": "kbqCancelText"; "required": false; }; "kbqCancelLoading": { "alias": "kbqCancelLoading"; "required": false; }; "kbqOnCancel": { "alias": "kbqOnCancel"; "required": false; }; "kbqGetContainer": { "alias": "kbqGetContainer"; "required": false; }; }, { "kbqVisibleChange": "kbqVisibleChange"; "kbqAfterOpen": "kbqAfterOpen"; "kbqAfterClose": "kbqAfterClose"; "kbqBeforeClose": "kbqBeforeClose"; "kbqOnOk": "kbqOnOk"; "kbqOnCancel": "kbqOnCancel"; }, never, ["*"], true, never>;
|
|
135
140
|
}
|
|
141
|
+
export {};
|
package/modal/modal.scss
CHANGED
package/modal/modal.type.d.ts
CHANGED
|
@@ -8,6 +8,11 @@ export declare enum ModalSize {
|
|
|
8
8
|
Medium = "medium",
|
|
9
9
|
Large = "large"
|
|
10
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* Duration when perform animations (ms)
|
|
13
|
+
* @docs-private
|
|
14
|
+
*/
|
|
15
|
+
export declare const MODAL_ANIMATE_DURATION = 300;
|
|
11
16
|
export interface ModalOptions<C = any, R = any> {
|
|
12
17
|
kbqModalType?: ModalType;
|
|
13
18
|
kbqVisible?: boolean;
|
|
@@ -101,7 +101,9 @@ export declare class KbqNavbarItem extends KbqTooltipTrigger implements AfterCon
|
|
|
101
101
|
private bento;
|
|
102
102
|
title: KbqNavbarTitle;
|
|
103
103
|
icon: KbqIcon;
|
|
104
|
-
collapsedText: string;
|
|
104
|
+
get collapsedText(): string;
|
|
105
|
+
set collapsedText(value: string);
|
|
106
|
+
private _collapsedText;
|
|
105
107
|
get trigger(): string;
|
|
106
108
|
set trigger(value: string);
|
|
107
109
|
set collapsed(value: boolean);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { KbqOrientation } from '@koobiq/components/core';
|
|
1
|
+
import { KbqFlexWrap, KbqOrientation } from '@koobiq/components/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
/**
|
|
4
4
|
* Manages the visibility of the element.
|
|
@@ -119,6 +119,12 @@ export declare class KbqOverflowItems {
|
|
|
119
119
|
* @default 'horizontal'
|
|
120
120
|
*/
|
|
121
121
|
readonly orientation: import("@angular/core").InputSignal<KbqOrientation>;
|
|
122
|
+
/**
|
|
123
|
+
* Defines the wrap of the overflow items.
|
|
124
|
+
*
|
|
125
|
+
* @default 'nowrap'
|
|
126
|
+
*/
|
|
127
|
+
readonly wrap: import("@angular/core").InputSignal<KbqFlexWrap>;
|
|
122
128
|
private readonly orientationConfig;
|
|
123
129
|
constructor();
|
|
124
130
|
private setupObservers;
|
|
@@ -142,5 +148,5 @@ export declare class KbqOverflowItems {
|
|
|
142
148
|
*/
|
|
143
149
|
private findLast;
|
|
144
150
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqOverflowItems, never>;
|
|
145
|
-
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; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; }, { "changes": "changes"; }, ["items", "result"], never, true, never>;
|
|
151
|
+
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; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "wrap": { "alias": "wrap"; "required": false; "isSignal": true; }; }, { "changes": "changes"; }, ["items", "result"], never, true, never>;
|
|
146
152
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@koobiq/components",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.5.0",
|
|
4
4
|
"description": "koobiq",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"@angular/cdk": "^19.0.0",
|
|
26
26
|
"@angular/core": "^19.0.0",
|
|
27
27
|
"@angular/forms": "^19.0.0",
|
|
28
|
-
"@koobiq/cdk": "19.
|
|
29
|
-
"@koobiq/angular-moment-adapter": "19.
|
|
30
|
-
"@koobiq/angular-luxon-adapter": "19.
|
|
28
|
+
"@koobiq/cdk": "19.5.0",
|
|
29
|
+
"@koobiq/angular-moment-adapter": "19.5.0",
|
|
30
|
+
"@koobiq/angular-luxon-adapter": "19.5.0",
|
|
31
31
|
"@koobiq/date-formatter": "^3.2.3",
|
|
32
32
|
"@koobiq/icons": "^11.1.3",
|
|
33
33
|
"@koobiq/tokens-builder": "3.11.0",
|