@koobiq/components 18.19.0 → 18.20.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/core/option/option-tokens.scss +5 -1
- package/core/option/option.scss +6 -4
- package/core/styles/common/_list.scss +2 -9
- package/core/styles/common/_select.scss +6 -0
- package/core/styles/common/_tokens.scss +1 -1
- package/dl/dl.component.d.ts +1 -0
- package/esm2022/button-toggle/button-toggle.component.mjs +2 -2
- package/esm2022/core/option/option.mjs +2 -2
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/dl/dl.component.mjs +6 -4
- package/esm2022/dropdown/dropdown-item.component.mjs +2 -2
- package/esm2022/filter-bar/filters.mjs +3 -3
- package/esm2022/filter-bar/pipes/pipe-date.mjs +3 -3
- package/esm2022/filter-bar/pipes/pipe-datetime.mjs +3 -3
- package/esm2022/filter-bar/pipes/pipe-multi-select.mjs +3 -3
- package/esm2022/filter-bar/pipes/pipe-select.mjs +3 -3
- package/esm2022/filter-bar/pipes/pipe-text.mjs +3 -3
- package/esm2022/list/list-selection.component.mjs +15 -12
- package/esm2022/list/list.component.mjs +2 -2
- package/esm2022/navbar/navbar.component.mjs +2 -2
- package/esm2022/navbar/vertical-navbar.component.mjs +18 -16
- package/esm2022/popover/popover-confirm.component.mjs +3 -3
- package/esm2022/popover/popover.component.mjs +3 -3
- package/esm2022/radio/radio.component.mjs +2 -2
- package/esm2022/select/select.component.mjs +3 -3
- package/esm2022/sidepanel/sidepanel-container.component.mjs +3 -3
- package/esm2022/tags/tag.component.mjs +2 -2
- package/esm2022/timezone/timezone-option.component.mjs +2 -2
- package/esm2022/timezone/timezone-select.component.mjs +2 -2
- package/esm2022/tree/tree-option.component.mjs +2 -2
- package/esm2022/tree/tree-selection.component.mjs +7 -2
- package/esm2022/tree-select/tree-select.component.mjs +3 -3
- package/fesm2022/koobiq-components-button-toggle.mjs +2 -2
- package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +3 -3
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-dl.mjs +5 -3
- package/fesm2022/koobiq-components-dl.mjs.map +1 -1
- package/fesm2022/koobiq-components-dropdown.mjs +2 -2
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-filter-bar.mjs +12 -12
- package/fesm2022/koobiq-components-filter-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +16 -13
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +19 -17
- package/fesm2022/koobiq-components-navbar.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-radio.mjs +2 -2
- package/fesm2022/koobiq-components-radio.mjs.map +1 -1
- package/fesm2022/koobiq-components-select.mjs +2 -2
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidepanel.mjs +2 -2
- package/fesm2022/koobiq-components-sidepanel.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-timezone.mjs +4 -4
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +2 -2
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +8 -3
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/list/list.scss +2 -3
- package/navbar/vertical-navbar.component.d.ts +4 -1
- package/package.json +6 -6
- package/radio/radio-tokens.scss +7 -3
- package/radio/radio.scss +19 -15
- package/schematics/ng-add/index.js +4 -4
- package/tags/tag.scss +3 -0
- package/timezone/timezone-option-tokens.scss +3 -2
- package/tree/tree-option.scss +2 -1
package/list/list.scss
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@use '../core/styles/common/list';
|
|
2
2
|
@use '../core/styles/common/tokens' as *;
|
|
3
|
-
|
|
3
|
+
@use '../core/styles/common/vendor-prefixes';
|
|
4
4
|
@use './list-theme' as *;
|
|
5
5
|
|
|
6
6
|
.kbq-list,
|
|
@@ -11,8 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
.kbq-list-item,
|
|
13
13
|
.kbq-list-option {
|
|
14
|
-
@include
|
|
15
|
-
|
|
14
|
+
@include vendor-prefixes.user-select(none);
|
|
16
15
|
@include list.kbq-list-item-base();
|
|
17
16
|
|
|
18
17
|
border-radius: var(--kbq-size-border-radius);
|
|
@@ -20,7 +20,10 @@ export declare class KbqVerticalNavbar extends KbqFocusableComponent implements
|
|
|
20
20
|
onKeyDown(event: KeyboardEvent): void;
|
|
21
21
|
private updateExpandedStateForItems;
|
|
22
22
|
private updateTooltipForItems;
|
|
23
|
-
private
|
|
23
|
+
private setItemsVerticalStateAndUpdateExpandedState;
|
|
24
|
+
private setItemVerticalStateAndUpdateExpandedState;
|
|
25
|
+
private setItemVerticalState;
|
|
26
|
+
private updateItemExpandedState;
|
|
24
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqVerticalNavbar, never>;
|
|
25
28
|
static ɵcmp: i0.ɵɵComponentDeclaration<KbqVerticalNavbar, "kbq-vertical-navbar", ["KbqVerticalNavbar"], { "openOver": { "alias": "openOver"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; }, {}, ["bento", "rectangleElements", "items"], ["[kbq-navbar-container], kbq-navbar-container", "[kbq-navbar-toggle], kbq-navbar-toggle"], false, never>;
|
|
26
29
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@koobiq/components",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.20.0",
|
|
4
4
|
"description": "koobiq",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -24,13 +24,13 @@
|
|
|
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.20.0",
|
|
28
|
+
"@koobiq/angular-moment-adapter": "18.20.0",
|
|
29
|
+
"@koobiq/angular-luxon-adapter": "18.20.0",
|
|
30
30
|
"@koobiq/date-formatter": "^3.2.3",
|
|
31
|
-
"@koobiq/icons": "^9.3.
|
|
31
|
+
"@koobiq/icons": "^9.3.1",
|
|
32
32
|
"@koobiq/tokens-builder": "3.11.0",
|
|
33
|
-
"@koobiq/design-tokens": "3.
|
|
33
|
+
"@koobiq/design-tokens": "3.12.1",
|
|
34
34
|
"@radix-ng/primitives": "^0.14.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
package/radio/radio-tokens.scss
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.kbq-radio-group {
|
|
2
2
|
--kbq-radio-size-big-vertical-gap: var(--kbq-size-m);
|
|
3
|
-
--kbq-radio-size-normal-vertical-gap: var(--kbq-size-
|
|
3
|
+
--kbq-radio-size-normal-vertical-gap: var(--kbq-size-s);
|
|
4
4
|
--kbq-radio-size-big-top: var(--kbq-size-3xs);
|
|
5
5
|
/* THEME TOKENS */
|
|
6
6
|
--kbq-radio-theme-default-outer-circle-border: var(--kbq-line-contrast-fade);
|
|
@@ -60,12 +60,16 @@
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
.kbq-radio-button {
|
|
63
|
-
--kbq-radio-size-normal-outer-
|
|
63
|
+
--kbq-radio-size-normal-outer-circle-border-width: var(--kbq-size-border-width);
|
|
64
|
+
--kbq-radio-size-normal-outer-size: calc(
|
|
65
|
+
var(--kbq-size-l) - var(--kbq-radio-size-normal-outer-circle-border-width) * 2
|
|
66
|
+
);
|
|
64
67
|
--kbq-radio-size-normal-inner-size: var(--kbq-size-xs);
|
|
65
68
|
--kbq-radio-size-normal-horizontal-content-padding: var(--kbq-size-s);
|
|
66
69
|
--kbq-radio-size-normal-vertical-content-padding: var(--kbq-size-3xs);
|
|
67
70
|
--kbq-radio-size-normal-top: 0;
|
|
68
|
-
--kbq-radio-size-big-outer-
|
|
71
|
+
--kbq-radio-size-big-outer-circle-border-width: var(--kbq-size-border-width);
|
|
72
|
+
--kbq-radio-size-big-outer-size: calc(var(--kbq-size-l) - var(--kbq-radio-size-big-outer-circle-border-width) * 2);
|
|
69
73
|
--kbq-radio-size-big-inner-size: var(--kbq-size-xs);
|
|
70
74
|
--kbq-radio-size-big-horizontal-content-padding: var(--kbq-size-s);
|
|
71
75
|
--kbq-radio-size-big-vertical-content-padding: var(--kbq-size-3xs);
|
package/radio/radio.scss
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
// Top-level host container.
|
|
19
19
|
.kbq-radio-button {
|
|
20
|
-
display: inline-
|
|
20
|
+
display: inline-flex;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
.kbq-radio-label {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
.kbq-radio-label-content {
|
|
36
|
-
display: inline-
|
|
36
|
+
display: inline-flex;
|
|
37
37
|
|
|
38
38
|
position: relative;
|
|
39
39
|
|
|
@@ -42,7 +42,8 @@
|
|
|
42
42
|
|
|
43
43
|
padding-left: kbq-sum-series-css-variables(
|
|
44
44
|
[radio-size-normal-outer-size,
|
|
45
|
-
radio-size-normal-horizontal-content-padding
|
|
45
|
+
radio-size-normal-horizontal-content-padding,
|
|
46
|
+
calc(var(--kbq-radio-size-normal-outer-circle-border-width) * 2)]
|
|
46
47
|
);
|
|
47
48
|
padding-right: 0;
|
|
48
49
|
|
|
@@ -61,13 +62,15 @@
|
|
|
61
62
|
}
|
|
62
63
|
|
|
63
64
|
.kbq-radio-button__outer-circle {
|
|
64
|
-
border:
|
|
65
|
-
width: 1px;
|
|
66
|
-
}
|
|
65
|
+
border-width: var(--kbq-radio-size-normal-outer-circle-border-width);
|
|
67
66
|
|
|
68
67
|
left: 0;
|
|
69
68
|
|
|
70
|
-
top: kbq-css-half-difference(
|
|
69
|
+
top: kbq-css-half-difference(
|
|
70
|
+
typography-text-normal-line-height,
|
|
71
|
+
radio-size-normal-outer-size,
|
|
72
|
+
radio-size-normal-outer-circle-border-width
|
|
73
|
+
);
|
|
71
74
|
|
|
72
75
|
width: var(--kbq-radio-size-normal-outer-size);
|
|
73
76
|
height: var(--kbq-radio-size-normal-outer-size);
|
|
@@ -96,21 +99,22 @@
|
|
|
96
99
|
}
|
|
97
100
|
}
|
|
98
101
|
|
|
99
|
-
.kbq-radio-input {
|
|
100
|
-
position: absolute;
|
|
101
|
-
outline: none;
|
|
102
|
-
opacity: 0;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
102
|
.kbq-radio-button.kbq-radio-button_big {
|
|
106
103
|
.kbq-radio-label-content {
|
|
107
104
|
padding-left: kbq-sum-series-css-variables(
|
|
108
105
|
[radio-size-big-outer-size,
|
|
109
|
-
radio-size-big-horizontal-content-padding
|
|
106
|
+
radio-size-big-horizontal-content-padding,
|
|
107
|
+
calc(var(--kbq-radio-size-big-outer-circle-border-width) * 2)]
|
|
110
108
|
);
|
|
111
109
|
|
|
112
110
|
.kbq-radio-button__outer-circle {
|
|
113
|
-
|
|
111
|
+
border-width: var(--kbq-radio-size-big-outer-circle-border-width);
|
|
112
|
+
|
|
113
|
+
top: kbq-css-half-difference(
|
|
114
|
+
typography-text-big-line-height,
|
|
115
|
+
radio-size-big-outer-size,
|
|
116
|
+
radio-size-big-outer-circle-border-width
|
|
117
|
+
);
|
|
114
118
|
|
|
115
119
|
width: var(--kbq-radio-size-big-outer-size);
|
|
116
120
|
height: var(--kbq-radio-size-big-outer-size);
|
|
@@ -27,13 +27,13 @@ function ngAdd(options) {
|
|
|
27
27
|
}
|
|
28
28
|
// Installing dependencies
|
|
29
29
|
utils_packageConfig.addPackageToPackageJson(tree, '@angular/cdk', "^18.2.6");
|
|
30
|
-
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/cdk', "^18.
|
|
31
|
-
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/angular-luxon-adapter', "^18.
|
|
30
|
+
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/cdk', "^18.20.0");
|
|
31
|
+
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/angular-luxon-adapter', "^18.20.0");
|
|
32
32
|
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/date-formatter', "^3.2.3");
|
|
33
33
|
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/date-adapter', "^3.2.3");
|
|
34
|
-
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/icons', "^9.3.
|
|
34
|
+
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/icons', "^9.3.1");
|
|
35
35
|
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/tokens-builder', "^3.11.0");
|
|
36
|
-
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/design-tokens', "^3.
|
|
36
|
+
utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/design-tokens', "^3.12.1");
|
|
37
37
|
utils_packageConfig.addPackageToPackageJson(tree, '@messageformat/core', "^3.0.1");
|
|
38
38
|
utils_packageConfig.addPackageToPackageJson(tree, '@radix-ng/primitives', "^0.20.2");
|
|
39
39
|
utils_packageConfig.addPackageToPackageJson(tree, 'luxon', "^3.4.4");
|
package/tags/tag.scss
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use '../list/list-tokens';
|
|
2
|
+
@use '../core/option/option-tokens';
|
|
2
3
|
|
|
3
4
|
.kbq-timezone-select__panel {
|
|
4
5
|
--kbq-select-size-single-padding-left: var(--kbq-size-m);
|
|
@@ -8,7 +9,7 @@
|
|
|
8
9
|
--kbq-select-size-multiple-padding-left: var(--kbq-size-xxs);
|
|
9
10
|
--kbq-select-size-multiple-padding-right: var(--kbq-size-xxs);
|
|
10
11
|
--kbq-select-size-multiple-content-gap: var(--kbq-size-xxs);
|
|
11
|
-
--kbq-timezone-option-size-padding:
|
|
12
|
+
--kbq-timezone-option-size-padding: var(--kbq-size-xxs) 10px;
|
|
12
13
|
--kbq-timezone-option-size-column-gap: 16px;
|
|
13
14
|
--kbq-timezone-option-size-height: auto;
|
|
14
15
|
--kbq-timezone-option-size-max-height: 5em;
|
|
@@ -20,5 +21,5 @@
|
|
|
20
21
|
--kbq-timezone-option-caption: var(--kbq-foreground-contrast-secondary);
|
|
21
22
|
--kbq-timezone-option-optgroup-label: var(--kbq-foreground-contrast-secondary);
|
|
22
23
|
/* LIST THEME TOKENS */
|
|
23
|
-
@
|
|
24
|
+
@extend %kbq-option-geometry-tokens;
|
|
24
25
|
}
|
package/tree/tree-option.scss
CHANGED