@koobiq/components 17.0.0-rc.7 → 17.0.0-rc.9
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/alert/alert.component.scss +12 -9
- package/badge/badge.component.scss +7 -7
- package/button-toggle/button-toggle.scss +5 -2
- package/card/_card-theme.scss +1 -1
- package/checkbox/checkbox.scss +10 -3
- package/code-block/_code-block-theme.scss +1 -1
- package/core/form-field/form-field-ref.d.ts +2 -0
- package/core/locales/locale-service.d.ts +1 -0
- package/core/select/common.d.ts +35 -0
- package/core/select/index.d.ts +1 -0
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +1 -0
- package/dropdown/dropdown-item.scss +2 -0
- package/dropdown/dropdown-trigger.directive.d.ts +2 -2
- package/esm2022/alert/alert.component.mjs +2 -2
- package/esm2022/badge/badge.component.mjs +2 -2
- package/esm2022/button/button.component.mjs +2 -2
- package/esm2022/button-toggle/button-toggle.component.mjs +2 -2
- package/esm2022/checkbox/checkbox.mjs +2 -2
- package/esm2022/code-block/code-block.component.mjs +1 -1
- package/esm2022/core/form-field/form-field-ref.mjs +1 -1
- package/esm2022/core/locales/locale-service.mjs +5 -2
- package/esm2022/core/option/option.mjs +2 -2
- package/esm2022/core/select/common.mjs +120 -0
- package/esm2022/core/select/index.mjs +2 -1
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/datepicker/calendar-header.component.mjs +1 -1
- package/esm2022/dropdown/dropdown-item.component.mjs +2 -2
- package/esm2022/dropdown/dropdown-trigger.directive.mjs +4 -4
- package/esm2022/file-upload/multiple-file-upload.component.mjs +2 -2
- package/esm2022/file-upload/single-file-upload.component.mjs +2 -2
- package/esm2022/form-field/form-field.mjs +2 -2
- package/esm2022/form-field/hint.mjs +2 -2
- package/esm2022/form-field/password-hint.mjs +2 -2
- package/esm2022/list/list-selection.component.mjs +2 -2
- package/esm2022/list/list.component.mjs +2 -2
- package/esm2022/navbar/navbar.component.mjs +2 -2
- package/esm2022/navbar/vertical-navbar.component.mjs +2 -2
- 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/scrollbar/scrollbar.component.mjs +2 -2
- package/esm2022/select/select.component.mjs +18 -114
- package/esm2022/select/select.module.mjs +28 -28
- package/esm2022/table/table.component.mjs +2 -2
- package/esm2022/tabs/tab-group.component.mjs +54 -12
- package/esm2022/tabs/tab-header.component.mjs +2 -2
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +2 -2
- package/esm2022/tags/tag-default-options.mjs +1 -1
- package/esm2022/tags/tag-input.mjs +17 -3
- package/esm2022/tags/tag-list.component.mjs +2 -2
- package/esm2022/tags/tag.component.mjs +2 -2
- package/esm2022/timezone/timezone-option.component.mjs +2 -2
- package/esm2022/timezone/timezone-select.component.mjs +5 -5
- package/esm2022/toast/toast.component.mjs +3 -3
- package/esm2022/toast/toast.service.mjs +17 -12
- package/esm2022/tooltip/tooltip.component.mjs +2 -2
- package/esm2022/tree/tree-option.component.mjs +2 -2
- package/esm2022/tree-select/tree-select.component.mjs +9 -37
- package/esm2022/tree-select/tree-select.module.mjs +31 -11
- package/fesm2022/koobiq-components-alert.mjs +2 -2
- package/fesm2022/koobiq-components-alert.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-button-toggle.mjs +2 -2
- package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
- package/fesm2022/koobiq-components-button.mjs +2 -2
- package/fesm2022/koobiq-components-checkbox.mjs +2 -2
- package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
- package/fesm2022/koobiq-components-code-block.mjs +1 -1
- package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +124 -7
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-dropdown.mjs +5 -5
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-file-upload.mjs +4 -4
- package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +6 -6
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +4 -4
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +4 -4
- 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-scrollbar.mjs +2 -2
- package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-select.mjs +46 -142
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-table.mjs +2 -2
- package/fesm2022/koobiq-components-tabs.mjs +56 -14
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +20 -7
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/fesm2022/koobiq-components-timezone.mjs +6 -6
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-toast.mjs +19 -13
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/fesm2022/koobiq-components-tooltip.mjs +2 -2
- package/fesm2022/koobiq-components-tree-select.mjs +37 -44
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree.mjs +2 -2
- package/fesm2022/koobiq-components-tree.mjs.map +1 -1
- package/file-upload/multiple-file-upload.component.scss +9 -7
- package/form-field/_form-field-theme.scss +2 -2
- package/form-field/hint.scss +2 -0
- package/icon/_icon-button-theme.scss +2 -2
- package/list/list.scss +3 -1
- package/navbar/_navbar-item_horizontal.scss +5 -2
- package/navbar/_navbar-item_vertical.scss +5 -5
- package/navbar/navbar-brand.scss +1 -1
- package/navbar/navbar-item.scss +6 -0
- package/package.json +6 -6
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/radio/radio.scss +3 -1
- package/schematics/ng-add/index.js +4 -4
- package/scrollbar/scrollbar.component.scss +6 -0
- package/select/select.component.d.ts +2 -32
- package/select/select.module.d.ts +1 -1
- package/tabs/tab-group.component.d.ts +9 -3
- package/tags/_tag-theme.scss +2 -2
- package/tags/tag-default-options.d.ts +1 -0
- package/tags/tag-input.d.ts +7 -1
- package/timezone/timezone-select.component.d.ts +2 -1
- package/toast/toast.component.scss +1 -1
- package/toast/toast.service.d.ts +8 -4
- package/toggle/_toggle-theme.scss +2 -2
- package/tree-select/_tree-select-theme.scss +1 -1
- package/tree-select/tree-select.component.d.ts +4 -17
- package/tree-select/tree-select.module.d.ts +1 -2
- package/tree-select/tree-select.scss +1 -1
|
@@ -2,15 +2,12 @@
|
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
|
|
4
4
|
@use '../core/styles/tokens';
|
|
5
|
-
|
|
6
|
-
@use '../core/styles/common';
|
|
7
5
|
@use '../core/styles/common/tokens' as *;
|
|
8
6
|
|
|
9
7
|
|
|
10
8
|
$tokens: meta.module-variables(tokens) !default;
|
|
11
9
|
|
|
12
10
|
//todo нужно рефакторить со стилями тут сложно
|
|
13
|
-
|
|
14
11
|
/* stylelint-disable no-descending-specificity */
|
|
15
12
|
|
|
16
13
|
.kbq-multiple-file-upload .kbq-file-upload {
|
|
@@ -34,9 +31,14 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
34
31
|
}
|
|
35
32
|
|
|
36
33
|
& .dropzone__text {
|
|
34
|
+
& .multiple__header {
|
|
35
|
+
display: block;
|
|
36
|
+
}
|
|
37
|
+
|
|
37
38
|
& .multiple__caption {
|
|
39
|
+
display: block;
|
|
38
40
|
padding-top: kbq-css-variable(file-upload-size-multiple-big-text-block-content-gap-vertical);
|
|
39
|
-
|
|
41
|
+
// гап не применяется тк не флекс. в целом гап не нужен, тк по логике дизайна ссылка от текста отделяется пробелом
|
|
40
42
|
gap: kbq-css-variable(file-upload-size-multiple-big-text-block-content-gap-horizontal);
|
|
41
43
|
}
|
|
42
44
|
}
|
|
@@ -101,8 +103,8 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
101
103
|
}
|
|
102
104
|
|
|
103
105
|
.kbq-file-upload__size {
|
|
104
|
-
width:
|
|
105
|
-
min-width:
|
|
106
|
+
width: map.get($tokens, size-7xl);
|
|
107
|
+
min-width: map.get($tokens, size-7xl);
|
|
106
108
|
text-align: left;
|
|
107
109
|
flex-grow: 1;
|
|
108
110
|
}
|
|
@@ -134,7 +136,7 @@ $tokens: meta.module-variables(tokens) !default;
|
|
|
134
136
|
.kbq-file-multiple-uploaded__header-inner {
|
|
135
137
|
$padding-vertical: map.get($tokens, file-upload-size-multiple-big-grid-cell-padding-vertical);
|
|
136
138
|
$padding-horizontal: map.get($tokens, file-upload-size-multiple-big-grid-cell-padding-horizontal);
|
|
137
|
-
$compensation:
|
|
139
|
+
$compensation: 2px;
|
|
138
140
|
|
|
139
141
|
padding:
|
|
140
142
|
calc(
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
@include kbq-form-field-state($form-field, states-focused);
|
|
59
59
|
|
|
60
60
|
& .kbq-form-field__container {
|
|
61
|
-
box-shadow: 0 0 0 1px kbq-css-variable(
|
|
61
|
+
box-shadow: 0 0 0.1px 1px kbq-css-variable(
|
|
62
62
|
form-field-states-focused-focu-outline, map.get($form-field, states-focused, focus-outline));
|
|
63
63
|
}
|
|
64
64
|
}
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
@include kbq-form-field-state($form-field, states-error);
|
|
69
69
|
|
|
70
70
|
&.cdk-focused .kbq-form-field__container {
|
|
71
|
-
box-shadow: 0 0 0 1px kbq-css-variable(
|
|
71
|
+
box-shadow: 0 0 0.1px 1px kbq-css-variable(
|
|
72
72
|
form-field-states-error-focu-outline, map.get($form-field, states-error, focus-outline));
|
|
73
73
|
}
|
|
74
74
|
}
|
package/form-field/hint.scss
CHANGED
|
@@ -8,11 +8,13 @@
|
|
|
8
8
|
display: flex;
|
|
9
9
|
|
|
10
10
|
& .kbq-icon {
|
|
11
|
+
margin-top: kbq-css-variable(hint-size-normal-margin-top);
|
|
11
12
|
margin-right: kbq-css-variable(hint-size-normal-content-padding);
|
|
12
13
|
}
|
|
13
14
|
|
|
14
15
|
&.kbq-hint_compact {
|
|
15
16
|
& .kbq-icon {
|
|
17
|
+
margin-top: kbq-css-variable(hint-size-compact-margin-top);
|
|
16
18
|
margin-right: kbq-css-variable(hint-size-compact-content-padding);
|
|
17
19
|
}
|
|
18
20
|
}
|
|
@@ -122,8 +122,8 @@
|
|
|
122
122
|
|
|
123
123
|
&.cdk-keyboard-focused {
|
|
124
124
|
box-shadow:
|
|
125
|
-
inset 0 0 0 1px map.get($theme, states, focused-color),
|
|
126
|
-
0 0 0 1px map.get($theme, states, focused-color);
|
|
125
|
+
inset 0 0 0.1px 1px map.get($theme, states, focused-color),
|
|
126
|
+
0 0 0.1px 1px map.get($theme, states, focused-color);
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
}
|
package/list/list.scss
CHANGED
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
.kbq-list,
|
|
8
8
|
.kbq-list-selection {
|
|
9
9
|
display: block;
|
|
10
|
-
|
|
11
10
|
outline: none;
|
|
12
11
|
}
|
|
13
12
|
|
|
@@ -23,11 +22,14 @@
|
|
|
23
22
|
|
|
24
23
|
& .kbq-option-action {
|
|
25
24
|
display: none;
|
|
25
|
+
height: 20px;
|
|
26
|
+
align-items: center;
|
|
26
27
|
}
|
|
27
28
|
|
|
28
29
|
&:not(.kbq-disabled):hover,
|
|
29
30
|
&:not(.kbq-disabled).kbq-focused,
|
|
30
31
|
&:not(.kbq-disabled).kbq-action-button-focused {
|
|
32
|
+
|
|
31
33
|
& .kbq-option-action {
|
|
32
34
|
display: flex;
|
|
33
35
|
}
|
|
@@ -40,8 +40,9 @@
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
&.kbq-navbar-item_with-title:not(.kbq-navbar-item_collapsed) {
|
|
43
|
-
padding: kbq-css-variable(size-
|
|
44
|
-
|
|
43
|
+
padding-right: kbq-css-variable(size-m);
|
|
44
|
+
padding-left: kbq-css-variable(size-m);
|
|
45
|
+
// (total height 48 - grey hover 32) / 2
|
|
45
46
|
&:after {
|
|
46
47
|
top: kbq-css-variable(size-s);
|
|
47
48
|
right: 0;
|
|
@@ -50,6 +51,8 @@
|
|
|
50
51
|
}
|
|
51
52
|
|
|
52
53
|
& > .kbq-icon {
|
|
54
|
+
align-self: center;
|
|
55
|
+
|
|
53
56
|
padding-right: kbq-css-variable(size-xxs);
|
|
54
57
|
}
|
|
55
58
|
}
|
|
@@ -5,20 +5,20 @@
|
|
|
5
5
|
@use '../core/styles/common/tokens' as *;
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
$tokens: meta.module-variables(tokens) !default;
|
|
9
|
-
|
|
10
|
-
|
|
11
8
|
.kbq-navbar-item.kbq-vertical {
|
|
12
9
|
align-items: flex-start;
|
|
13
10
|
|
|
14
11
|
& .kbq-navbar-item__container {
|
|
15
|
-
gap: kbq-css-variable(size-m)
|
|
12
|
+
gap: kbq-css-variable(size-m);
|
|
16
13
|
}
|
|
17
14
|
|
|
18
15
|
&.kbq-expanded {
|
|
19
16
|
height: kbq-css-variable(size-5xl);
|
|
20
17
|
|
|
21
|
-
|
|
18
|
+
align-items: center;
|
|
19
|
+
|
|
20
|
+
padding-right: kbq-css-variable(size-xl);
|
|
21
|
+
padding-left: kbq-css-variable(size-xl);
|
|
22
22
|
|
|
23
23
|
gap: kbq-css-variable(size-m);
|
|
24
24
|
|
package/navbar/navbar-brand.scss
CHANGED
package/navbar/navbar-item.scss
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@koobiq/components",
|
|
3
|
-
"version": "17.0.0-rc.
|
|
3
|
+
"version": "17.0.0-rc.9",
|
|
4
4
|
"description": "koobiq",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"@angular/cdk": "^17.0.0",
|
|
21
21
|
"@angular/forms": "^17.0.0",
|
|
22
|
-
"@koobiq/cdk": "17.0.0-rc.
|
|
23
|
-
"@koobiq/angular-moment-adapter": "17.0.0-rc.
|
|
24
|
-
"@koobiq/angular-luxon-adapter": "17.0.0-rc.
|
|
22
|
+
"@koobiq/cdk": "17.0.0-rc.9",
|
|
23
|
+
"@koobiq/angular-moment-adapter": "17.0.0-rc.9",
|
|
24
|
+
"@koobiq/angular-luxon-adapter": "17.0.0-rc.9",
|
|
25
25
|
"@koobiq/date-formatter": "^3.1.2",
|
|
26
26
|
"@koobiq/icons": "^7.1.0",
|
|
27
|
-
"@koobiq/tokens-builder": "3.0.0-rc.
|
|
28
|
-
"@koobiq/design-tokens": "3.0.0-rc.
|
|
27
|
+
"@koobiq/tokens-builder": "3.0.0-rc.11",
|
|
28
|
+
"@koobiq/design-tokens": "3.0.0-rc.11",
|
|
29
29
|
"marked": "^9.0.0",
|
|
30
30
|
"overlayscrollbars": "^2.2.0",
|
|
31
31
|
"ngx-highlightjs": "^10.0.0"
|