@koobiq/components 17.7.1 → 17.8.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/checkbox/checkbox.d.ts +2 -3
- package/core/utils/utils.d.ts +7 -2
- package/esm2022/checkbox/checkbox.mjs +6 -12
- package/esm2022/core/utils/utils.mjs +8 -3
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/form-field/hint.mjs +9 -13
- package/esm2022/icon/icon-button.component.mjs +9 -8
- package/esm2022/link/link.component.mjs +24 -48
- package/esm2022/list/list-selection.component.mjs +16 -15
- package/esm2022/navbar/navbar-item.component.mjs +23 -13
- package/esm2022/navbar/vertical-navbar.component.mjs +3 -3
- package/esm2022/radio/radio.component.mjs +29 -26
- package/esm2022/tooltip/tooltip.component.mjs +3 -3
- package/fesm2022/koobiq-components-checkbox.mjs +5 -11
- package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +8 -3
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +8 -12
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +8 -7
- package/fesm2022/koobiq-components-icon.mjs.map +1 -1
- package/fesm2022/koobiq-components-link.mjs +23 -47
- package/fesm2022/koobiq-components-link.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +15 -14
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +24 -14
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-radio.mjs +28 -25
- package/fesm2022/koobiq-components-radio.mjs.map +1 -1
- package/fesm2022/koobiq-components-tooltip.mjs +2 -2
- package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
- package/form-field/hint.d.ts +3 -3
- package/icon/icon-button.component.d.ts +2 -0
- package/link/link.component.d.ts +14 -17
- package/list/list-selection.component.d.ts +6 -2
- package/navbar/navbar-item.component.d.ts +7 -4
- package/package.json +4 -4
- package/radio/radio.component.d.ts +13 -8
- package/schematics/ng-add/index.js +2 -2
- package/tooltip/tooltip.scss +26 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@koobiq/components",
|
|
3
|
-
"version": "17.
|
|
3
|
+
"version": "17.8.0",
|
|
4
4
|
"description": "koobiq",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"@angular/cdk": "^17.0.0",
|
|
25
25
|
"@angular/forms": "^17.0.0",
|
|
26
|
-
"@koobiq/cdk": "17.
|
|
27
|
-
"@koobiq/angular-moment-adapter": "17.
|
|
28
|
-
"@koobiq/angular-luxon-adapter": "17.
|
|
26
|
+
"@koobiq/cdk": "17.8.0",
|
|
27
|
+
"@koobiq/angular-moment-adapter": "17.8.0",
|
|
28
|
+
"@koobiq/angular-luxon-adapter": "17.8.0",
|
|
29
29
|
"@koobiq/date-formatter": "^3.1.2",
|
|
30
30
|
"@koobiq/icons": "^7.1.0",
|
|
31
31
|
"@koobiq/tokens-builder": "3.5.1",
|
|
@@ -47,9 +47,13 @@ export declare class KbqRadioGroup extends KbqRadioGroupMixinBase implements Aft
|
|
|
47
47
|
/** Whether the radio group is disabled */
|
|
48
48
|
get disabled(): boolean;
|
|
49
49
|
set disabled(value: boolean);
|
|
50
|
+
/** Whether the radio group is disabled. */
|
|
51
|
+
private _disabled;
|
|
50
52
|
/** Whether the radio group is required */
|
|
51
53
|
get required(): boolean;
|
|
52
54
|
set required(value: boolean);
|
|
55
|
+
/** Whether the radio group is required. */
|
|
56
|
+
private _required;
|
|
53
57
|
/**
|
|
54
58
|
* Event emitted when the group value changes.
|
|
55
59
|
* Change events are only emitted when the value changes due to user interaction with
|
|
@@ -73,10 +77,6 @@ export declare class KbqRadioGroup extends KbqRadioGroupMixinBase implements Aft
|
|
|
73
77
|
private isInitialized;
|
|
74
78
|
/** Whether the labels should appear after or before the radio-buttons. Defaults to 'after' */
|
|
75
79
|
private _labelPosition;
|
|
76
|
-
/** Whether the radio group is disabled. */
|
|
77
|
-
private _disabled;
|
|
78
|
-
/** Whether the radio group is required. */
|
|
79
|
-
private _required;
|
|
80
80
|
constructor(elementRef: ElementRef, changeDetector: ChangeDetectorRef);
|
|
81
81
|
/** The method to be called in order to update ngModel */
|
|
82
82
|
controlValueAccessorChangeFn: (value: any) => void;
|
|
@@ -125,6 +125,8 @@ export declare class KbqRadioGroup extends KbqRadioGroupMixinBase implements Aft
|
|
|
125
125
|
private updateSelectedRadioFromValue;
|
|
126
126
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqRadioGroup, never>;
|
|
127
127
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqRadioGroup, "kbq-radio-group", ["kbqRadioGroup"], { "big": { "alias": "big"; "required": false; }; "name": { "alias": "name"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "value": { "alias": "value"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, { "change": "change"; }, ["radios"], never, false, never>;
|
|
128
|
+
static ngAcceptInputType_disabled: unknown;
|
|
129
|
+
static ngAcceptInputType_required: unknown;
|
|
128
130
|
}
|
|
129
131
|
/** @docs-private */
|
|
130
132
|
declare abstract class KbqRadioButtonBase {
|
|
@@ -147,9 +149,13 @@ export declare class KbqRadioButton extends KbqRadioButtonMixinBase implements O
|
|
|
147
149
|
/** Whether the radio button is disabled. */
|
|
148
150
|
get disabled(): boolean;
|
|
149
151
|
set disabled(value: boolean);
|
|
152
|
+
/** Whether this radio is disabled. */
|
|
153
|
+
private _disabled;
|
|
150
154
|
/** Whether the radio button is required. */
|
|
151
155
|
get required(): boolean;
|
|
152
156
|
set required(value: boolean);
|
|
157
|
+
/** Whether this radio is required. */
|
|
158
|
+
private _required;
|
|
153
159
|
/** Whether the label should appear after or before the radio button. Defaults to 'after' */
|
|
154
160
|
get labelPosition(): 'before' | 'after';
|
|
155
161
|
set labelPosition(value: 'before' | 'after');
|
|
@@ -174,10 +180,6 @@ export declare class KbqRadioButton extends KbqRadioButtonMixinBase implements O
|
|
|
174
180
|
private readonly uniqueId;
|
|
175
181
|
/** Whether this radio is checked. */
|
|
176
182
|
private _checked;
|
|
177
|
-
/** Whether this radio is disabled. */
|
|
178
|
-
private _disabled;
|
|
179
|
-
/** Whether this radio is required. */
|
|
180
|
-
private _required;
|
|
181
183
|
/** Value assigned to this radio. */
|
|
182
184
|
private _value;
|
|
183
185
|
constructor(radioGroup: KbqRadioGroup, elementRef: ElementRef, changeDetector: ChangeDetectorRef, focusMonitor: FocusMonitor, radioDispatcher: UniqueSelectionDispatcher);
|
|
@@ -200,5 +202,8 @@ export declare class KbqRadioButton extends KbqRadioButtonMixinBase implements O
|
|
|
200
202
|
private emitChangeEvent;
|
|
201
203
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqRadioButton, [{ optional: true; }, null, null, null, null]>;
|
|
202
204
|
static ɵcmp: i0.ɵɵComponentDeclaration<KbqRadioButton, "kbq-radio-button", ["kbqRadioButton"], { "color": { "alias": "color"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "name": { "alias": "name"; "required": false; }; "isFocused": { "alias": "isFocused"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, { "change": "change"; }, never, ["*", "kbq-hint"], false, never>;
|
|
205
|
+
static ngAcceptInputType_checked: unknown;
|
|
206
|
+
static ngAcceptInputType_disabled: unknown;
|
|
207
|
+
static ngAcceptInputType_required: unknown;
|
|
203
208
|
}
|
|
204
209
|
export {};
|
|
@@ -52,8 +52,8 @@ function ngAdd(options) {
|
|
|
52
52
|
}
|
|
53
53
|
// Installing dependencies
|
|
54
54
|
addPackageToPackageJson(tree, '@angular/cdk', "^17.2.0");
|
|
55
|
-
addPackageToPackageJson(tree, '@koobiq/cdk', "^17.
|
|
56
|
-
addPackageToPackageJson(tree, '@koobiq/angular-luxon-adapter', "^17.
|
|
55
|
+
addPackageToPackageJson(tree, '@koobiq/cdk', "^17.8.0");
|
|
56
|
+
addPackageToPackageJson(tree, '@koobiq/angular-luxon-adapter', "^17.8.0");
|
|
57
57
|
addPackageToPackageJson(tree, '@koobiq/date-formatter', "^3.1.2");
|
|
58
58
|
addPackageToPackageJson(tree, '@koobiq/date-adapter', "^3.1.2");
|
|
59
59
|
addPackageToPackageJson(tree, '@koobiq/icons', "^7.1.1");
|
package/tooltip/tooltip.scss
CHANGED
|
@@ -10,6 +10,32 @@
|
|
|
10
10
|
$trigger-margin: 8px;
|
|
11
11
|
$trigger-margin_without-arrow: 4px;
|
|
12
12
|
|
|
13
|
+
.kbq-tooltip-panel_horizontal-navbar {
|
|
14
|
+
&:has(.kbq-tooltip_placement-top),
|
|
15
|
+
&:has(.kbq-tooltip_placement-top-left),
|
|
16
|
+
&:has(.kbq-tooltip_placement-top-right) {
|
|
17
|
+
margin-bottom: 9px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&:has(.kbq-tooltip_placement-right),
|
|
21
|
+
&:has(.kbq-tooltip_placement-right-top),
|
|
22
|
+
&:has(.kbq-tooltip_placement-right-bottom) {
|
|
23
|
+
margin-left: 9px;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&:has(.kbq-tooltip_placement-bottom),
|
|
27
|
+
&:has(.kbq-tooltip_placement-bottom-left),
|
|
28
|
+
&:has(.kbq-tooltip_placement-bottom-right) {
|
|
29
|
+
margin-top: 9px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&:has(.kbq-tooltip_placement-left),
|
|
33
|
+
&:has(.kbq-tooltip_placement-left-top),
|
|
34
|
+
&:has(.kbq-tooltip_placement-left-bottom) {
|
|
35
|
+
margin-right: 9px;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
13
39
|
.kbq-tooltip__inner {
|
|
14
40
|
border-radius: kbq-css-variable(tooltip-size-border-radius);
|
|
15
41
|
word-break: break-word;
|