@koobiq/components 17.2.0 → 17.3.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/alert/_alert-theme.scss +3 -3
- package/autocomplete/_autocomplete-theme.scss +2 -2
- package/badge/_badge-theme.scss +6 -5
- package/button/_button-theme.scss +4 -4
- package/button-toggle/_button-toggle-theme.scss +4 -1
- package/checkbox/_checkbox-theme.scss +35 -17
- package/code-block/_code-block-theme.scss +109 -105
- package/core/forms/_forms.scss +2 -2
- package/core/option/_option-action-theme.scss +1 -1
- package/core/option/_option-theme.scss +7 -4
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +5 -5
- package/core/styles/_koobiq-theme.scss +2 -2
- package/core/styles/theming/_components-theming.scss +17 -19
- package/core/styles/theming/_scrollbar-theme.scss +6 -5
- package/core/styles/typography/_typography.scss +70 -68
- package/datepicker/_datepicker-theme.scss +14 -11
- package/datepicker/datepicker-content.scss +8 -3
- package/datepicker/datepicker-toggle.scss +1 -0
- package/dl/_dl-theme.scss +2 -2
- package/dropdown/_dropdown-theme.scss +4 -4
- package/empty-state/_empty-state-theme.scss +2 -2
- package/esm2022/core/common-behaviors/common-module.mjs +2 -2
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/datepicker/datepicker.component.mjs +3 -3
- package/esm2022/form-field/form-field.mjs +2 -2
- package/esm2022/form-field/stepper.mjs +2 -2
- package/esm2022/icon/icon-button.component.mjs +2 -2
- package/esm2022/list/list-selection.component.mjs +2 -2
- package/esm2022/list/list.component.mjs +2 -2
- package/esm2022/popover/popover.component.mjs +15 -2
- package/esm2022/select/select.component.mjs +2 -2
- package/esm2022/tabs/tab-body.component.mjs +3 -3
- package/esm2022/tabs/tab.component.mjs +3 -4
- package/esm2022/toast/toast.component.mjs +3 -3
- package/fesm2022/koobiq-components-core.mjs +2 -2
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +2 -2
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +4 -4
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +2 -2
- package/fesm2022/koobiq-components-list.mjs +4 -4
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +14 -1
- package/fesm2022/koobiq-components-popover.mjs.map +1 -1
- package/fesm2022/koobiq-components-select.mjs +1 -1
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tabs.mjs +4 -5
- package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
- package/fesm2022/koobiq-components-toast.mjs +2 -2
- package/fesm2022/koobiq-components-toast.mjs.map +1 -1
- package/file-upload/_file-upload-theme.scss +31 -27
- package/form-field/_form-field-theme.scss +6 -6
- package/form-field/form-field.scss +2 -2
- package/form-field/stepper.scss +1 -1
- package/icon/_icon-button-theme.scss +45 -26
- package/icon/_icon-item-theme.scss +1 -1
- package/icon/icon-button.scss +4 -4
- package/input/_input-theme.scss +1 -1
- package/link/_link-theme.scss +12 -6
- package/list/_list-theme.scss +8 -5
- package/list/list.scss +1 -0
- package/loader-overlay/_loader-overlay-theme.scss +10 -6
- package/markdown/_markdown-theme.scss +1 -1
- package/modal/_modal-theme.scss +6 -5
- package/navbar/_navbar-theme.scss +8 -8
- package/package.json +10 -10
- package/popover/_popover-theme.scss +4 -4
- package/popover/popover.component.d.ts +6 -5
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/progress-bar/_progress-bar-theme.scss +2 -2
- package/progress-spinner/_progress-spinner-theme.scss +3 -3
- package/radio/_radio-theme.scss +15 -19
- package/schematics/ng-add/index.js +2 -2
- package/scrollbar/_scrollbar-component-theme.scss +27 -12
- package/select/_select-theme.scss +2 -2
- package/sidepanel/_sidepanel-theme.scss +4 -4
- package/splitter/_splitter-theme.scss +1 -2
- package/tabs/_tabs-theme.scss +4 -3
- package/tags/_tag-theme.scss +7 -5
- package/timepicker/timepicker.scss +1 -0
- package/timezone/_timezone-option-theme.scss +3 -3
- package/toast/_toast-theme.scss +1 -1
- package/toast/toast.component.scss +1 -1
- package/toggle/_toggle-theme.scss +1 -1
- package/tooltip/_tooltip-theme.scss +1 -0
- package/tree/_tree-theme.scss +5 -5
- package/tree/toggle.scss +1 -1
- package/tree-select/_tree-select-theme.scss +2 -2
- package/toggle/README.md +0 -0
|
@@ -11,130 +11,149 @@
|
|
|
11
11
|
outline: none;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
+
// FIXME: move to unified mixin
|
|
14
15
|
&.kbq-theme {
|
|
15
|
-
color: kbq-css-variable(icon-button-
|
|
16
|
+
color: kbq-css-variable(icon-button-theme-default, map.get($icon-button, theme, default));
|
|
16
17
|
|
|
17
18
|
&:active,
|
|
18
19
|
&.kbq-active {
|
|
19
|
-
color: kbq-css-variable(icon-button-
|
|
20
|
+
color: kbq-css-variable(icon-button-theme-states-active, map.get($icon-button, theme, state-active));
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
&:not(.kbq-disabled):hover {
|
|
23
|
-
color: kbq-css-variable(icon-button-
|
|
24
|
+
color: kbq-css-variable(icon-button-theme-states-hover, map.get($icon-button, theme, state-hover));
|
|
24
25
|
}
|
|
25
26
|
|
|
26
27
|
&.kbq-disabled {
|
|
27
|
-
color: kbq-css-variable(
|
|
28
|
+
color: kbq-css-variable(
|
|
29
|
+
icon-button-theme-states-disabled,
|
|
30
|
+
map.get($icon-button, theme, state-disabled)
|
|
31
|
+
);
|
|
28
32
|
}
|
|
29
33
|
}
|
|
30
34
|
|
|
31
35
|
&.kbq-contrast {
|
|
32
|
-
color: kbq-css-variable(icon-button-
|
|
36
|
+
color: kbq-css-variable(icon-button-contrast-default, map.get($icon-button, contrast, default));
|
|
33
37
|
|
|
34
38
|
&:active,
|
|
35
39
|
&.kbq-active {
|
|
36
40
|
color: kbq-css-variable(
|
|
37
|
-
icon-button-
|
|
41
|
+
icon-button-contrast-states-active,
|
|
38
42
|
map.get($icon-button, contrast, state-active)
|
|
39
43
|
);
|
|
40
44
|
}
|
|
41
45
|
|
|
42
46
|
&:not(.kbq-disabled):hover {
|
|
43
|
-
color: kbq-css-variable(
|
|
47
|
+
color: kbq-css-variable(
|
|
48
|
+
icon-button-contrast-states-hover,
|
|
49
|
+
map.get($icon-button, contrast, state-hover)
|
|
50
|
+
);
|
|
44
51
|
}
|
|
45
52
|
|
|
46
53
|
&.kbq-disabled {
|
|
47
54
|
color: kbq-css-variable(
|
|
48
|
-
icon-button-
|
|
55
|
+
icon-button-contrast-states-disabled,
|
|
49
56
|
map.get($icon-button, contrast, state-disabled)
|
|
50
57
|
);
|
|
51
58
|
}
|
|
52
59
|
}
|
|
53
60
|
|
|
54
61
|
&.kbq-contrast-fade {
|
|
55
|
-
color: kbq-css-variable(icon-button-
|
|
62
|
+
color: kbq-css-variable(icon-button-fade-contrast-default, map.get($icon-button, fade-contrast, default));
|
|
56
63
|
|
|
57
64
|
&:active,
|
|
58
65
|
&.kbq-active {
|
|
59
66
|
color: kbq-css-variable(
|
|
60
|
-
icon-button-
|
|
67
|
+
icon-button-fade-contrast-states-active,
|
|
61
68
|
map.get($icon-button, fade-contrast, state-active)
|
|
62
69
|
);
|
|
63
70
|
}
|
|
64
71
|
|
|
65
72
|
&:not(.kbq-disabled):hover {
|
|
66
73
|
color: kbq-css-variable(
|
|
67
|
-
icon-button-
|
|
74
|
+
icon-button-fade-contrast-states-hover,
|
|
68
75
|
map.get($icon-button, fade-contrast, state-hover)
|
|
69
76
|
);
|
|
70
77
|
}
|
|
71
78
|
|
|
72
79
|
&.kbq-disabled {
|
|
73
80
|
color: kbq-css-variable(
|
|
74
|
-
icon-button-
|
|
81
|
+
icon-button-fade-contrast-states-disabled,
|
|
75
82
|
map.get($icon-button, fade-contrast, state-disabled)
|
|
76
83
|
);
|
|
77
84
|
}
|
|
78
85
|
}
|
|
79
86
|
|
|
80
87
|
&.kbq-error {
|
|
81
|
-
color: kbq-css-variable(icon-button-
|
|
88
|
+
color: kbq-css-variable(icon-button-error-default, map.get($icon-button, error, default));
|
|
82
89
|
|
|
83
90
|
&:active,
|
|
84
91
|
&.kbq-active {
|
|
85
|
-
color: kbq-css-variable(icon-button-
|
|
92
|
+
color: kbq-css-variable(icon-button-error-states-active, map.get($icon-button, error, state-active));
|
|
86
93
|
}
|
|
87
94
|
|
|
88
95
|
&:not(.kbq-disabled):hover {
|
|
89
|
-
color: kbq-css-variable(icon-button-
|
|
96
|
+
color: kbq-css-variable(icon-button-error-states-hover, map.get($icon-button, error, state-hover));
|
|
90
97
|
}
|
|
91
98
|
|
|
92
99
|
&.kbq-disabled {
|
|
93
|
-
color: kbq-css-variable(
|
|
100
|
+
color: kbq-css-variable(
|
|
101
|
+
icon-button-error-states-disabled,
|
|
102
|
+
map.get($icon-button, error, state-disabled)
|
|
103
|
+
);
|
|
94
104
|
}
|
|
95
105
|
}
|
|
96
106
|
|
|
97
107
|
&.kbq-success {
|
|
98
|
-
color: kbq-css-variable(icon-button-
|
|
108
|
+
color: kbq-css-variable(icon-button-success-default, map.get($icon-button, success, default));
|
|
99
109
|
|
|
100
110
|
&:active,
|
|
101
111
|
&.kbq-active {
|
|
102
|
-
color: kbq-css-variable(
|
|
112
|
+
color: kbq-css-variable(
|
|
113
|
+
icon-button-success-states-active,
|
|
114
|
+
map.get($icon-button, success, state-active)
|
|
115
|
+
);
|
|
103
116
|
}
|
|
104
117
|
|
|
105
118
|
&:not(.kbq-disabled):hover {
|
|
106
|
-
color: kbq-css-variable(icon-button-
|
|
119
|
+
color: kbq-css-variable(icon-button-success-states-hover, map.get($icon-button, success, state-hover));
|
|
107
120
|
}
|
|
108
121
|
|
|
109
122
|
&.kbq-disabled {
|
|
110
123
|
color: kbq-css-variable(
|
|
111
|
-
icon-button-
|
|
124
|
+
icon-button-success-states-disabled,
|
|
112
125
|
map.get($icon-button, success, state-disabled)
|
|
113
126
|
);
|
|
114
127
|
}
|
|
115
128
|
}
|
|
116
129
|
|
|
117
130
|
&.kbq-warning {
|
|
118
|
-
color: kbq-css-variable(icon-button-default, map.get($icon-button, default));
|
|
131
|
+
color: kbq-css-variable(icon-button-warning-default, map.get($icon-button, warning, default));
|
|
119
132
|
|
|
120
133
|
&:active,
|
|
121
134
|
&.kbq-active {
|
|
122
|
-
color: kbq-css-variable(
|
|
135
|
+
color: kbq-css-variable(
|
|
136
|
+
icon-button-warning-states-active,
|
|
137
|
+
map.get($icon-button, warning, state-active)
|
|
138
|
+
);
|
|
123
139
|
}
|
|
124
140
|
|
|
125
141
|
&:not(.kbq-disabled):hover {
|
|
126
|
-
color: kbq-css-variable(icon-button-
|
|
142
|
+
color: kbq-css-variable(icon-button-warning-states-hover, map.get($icon-button, warning, state-hover));
|
|
127
143
|
}
|
|
128
144
|
|
|
129
145
|
&.kbq-disabled {
|
|
130
|
-
color: kbq-css-variable(
|
|
146
|
+
color: kbq-css-variable(
|
|
147
|
+
icon-button-warning-states-disabled,
|
|
148
|
+
map.get($icon-button, warning, state-disabled)
|
|
149
|
+
);
|
|
131
150
|
}
|
|
132
151
|
}
|
|
133
152
|
|
|
134
153
|
&.cdk-keyboard-focused {
|
|
135
154
|
box-shadow:
|
|
136
|
-
inset 0 0 0.1px 1px map.get($theme, states, focused-color),
|
|
137
|
-
0 0 0.1px 1px map.get($theme, states, focused-color);
|
|
155
|
+
inset 0 0 0.1px 1px kbq-css-variable(states-focused-color, map.get($theme, states, focused-color)),
|
|
156
|
+
0 0 0.1px 1px kbq-css-variable(states-focused-color, map.get($theme, states, focused-color));
|
|
138
157
|
}
|
|
139
158
|
}
|
|
140
159
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
@mixin kbq-icon-item-style($component, $type, $style-name) {
|
|
7
7
|
$style: map.get($component, $type, $style-name);
|
|
8
|
-
$base: icon-item-filled-#{$type}-#{$
|
|
8
|
+
$base: icon-item-filled-#{$type}-#{$style-name};
|
|
9
9
|
|
|
10
10
|
color: kbq-css-variable(#{$base}-color, map.get($component, $type, $style-name, color));
|
|
11
11
|
background: kbq-css-variable(#{$base}-background, map.get($component, $type, $style-name, background));
|
package/icon/icon-button.scss
CHANGED
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
cursor: pointer;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
padding: kbq-css-variable(icon-button-size-
|
|
12
|
-
kbq-css-variable(icon-button-size-
|
|
11
|
+
padding: kbq-css-variable(icon-button-size-normal-vertical-padding)
|
|
12
|
+
kbq-css-variable(icon-button-size-normal-horizontal-padding);
|
|
13
13
|
|
|
14
14
|
&.kbq-icon-button_small {
|
|
15
|
-
padding: kbq-css-variable(icon-button-size-
|
|
16
|
-
kbq-css-variable(icon-button-size-
|
|
15
|
+
padding: kbq-css-variable(icon-button-size-small-vertical-padding)
|
|
16
|
+
kbq-css-variable(icon-button-size-small-horizontal-padding);
|
|
17
17
|
}
|
|
18
18
|
}
|
package/input/_input-theme.scss
CHANGED
package/link/_link-theme.scss
CHANGED
|
@@ -67,19 +67,25 @@
|
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
@mixin kbq-link-state($component, $state-name) {
|
|
71
|
-
$state:
|
|
70
|
+
@mixin kbq-link-state($component, $state-name: null) {
|
|
71
|
+
$state: $component;
|
|
72
|
+
$base-path: link;
|
|
72
73
|
|
|
73
|
-
|
|
74
|
+
@if $state-name {
|
|
75
|
+
$state: map.get($component, $state-name);
|
|
76
|
+
$base-path: link-#{$state-name};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
color: kbq-css-variable(#{$base-path}-text, map.get($state, text));
|
|
74
80
|
|
|
75
81
|
&.kbq-text-only,
|
|
76
82
|
&.kbq-text-with-icon .kbq-link__text,
|
|
77
83
|
&.kbq-text-with-dot .kbq-link__text {
|
|
78
|
-
border-bottom-color: kbq-css-variable(
|
|
84
|
+
border-bottom-color: kbq-css-variable(#{$base-path}-border-bottom, map.get($state, border-bottom));
|
|
79
85
|
}
|
|
80
86
|
|
|
81
87
|
& .kbq-icon {
|
|
82
|
-
color: kbq-css-variable(
|
|
88
|
+
color: kbq-css-variable(#{$base-path}-text, map.get($state, text)) !important;
|
|
83
89
|
}
|
|
84
90
|
}
|
|
85
91
|
|
|
@@ -91,7 +97,7 @@
|
|
|
91
97
|
.kbq-link {
|
|
92
98
|
@include kbq-link-geometry($tokens);
|
|
93
99
|
|
|
94
|
-
@include kbq-link-state($link
|
|
100
|
+
@include kbq-link-state($link);
|
|
95
101
|
|
|
96
102
|
transition: color ease-out 300ms;
|
|
97
103
|
|
package/list/_list-theme.scss
CHANGED
|
@@ -10,19 +10,19 @@
|
|
|
10
10
|
background: kbq-css-variable(list-#{$state-name}-container-background, map.get($state, container-background));
|
|
11
11
|
|
|
12
12
|
.kbq-list-text {
|
|
13
|
-
color: kbq-css-variable(list-#{$state-name}-text, map.get($state, text));
|
|
13
|
+
color: kbq-css-variable(list-#{$state-name}-text-color, map.get($state, text));
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
.kbq-icon {
|
|
17
|
-
color: kbq-css-variable(list-#{$state-name}-icon, map.get($state, icon));
|
|
17
|
+
color: kbq-css-variable(list-#{$state-name}-icon-color, map.get($state, icon));
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.kbq-option-action .kbq-icon {
|
|
21
|
-
color: kbq-css-variable(list-#{$state-name}-icon-button, map.get($state, icon-button));
|
|
21
|
+
color: kbq-css-variable(list-#{$state-name}-icon-button-color, map.get($state, icon-button));
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.kbq-list-option-caption {
|
|
25
|
-
color: kbq-css-variable(list-#{$state-name}-caption, map.get($state, caption));
|
|
25
|
+
color: kbq-css-variable(list-#{$state-name}-caption-color, map.get($state, caption));
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
|
|
@@ -37,7 +37,10 @@
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
&.kbq-focused {
|
|
40
|
-
border-color:
|
|
40
|
+
border-color: kbq-css-variable(
|
|
41
|
+
list-states-focused-focus-outline-color,
|
|
42
|
+
map.get($list-item, states-focused, focus-outline)
|
|
43
|
+
);
|
|
41
44
|
}
|
|
42
45
|
|
|
43
46
|
&.kbq-selected {
|
package/list/list.scss
CHANGED
|
@@ -7,37 +7,41 @@
|
|
|
7
7
|
@mixin kbq-loader-overlay-theme($theme) {
|
|
8
8
|
$loader-overlay: map.get(map.get($theme, components), loader-overlay);
|
|
9
9
|
|
|
10
|
+
// FIXME: move to unified mixin if necessary
|
|
10
11
|
.kbq-loader-overlay_filled {
|
|
11
12
|
&.kbq-loader-overlay {
|
|
12
13
|
background: kbq-css-variable(
|
|
13
|
-
loader-overlay-filled-background,
|
|
14
|
+
loader-overlay-filled-overlay-background,
|
|
14
15
|
map.get($loader-overlay, filled, background)
|
|
15
16
|
);
|
|
16
17
|
}
|
|
17
18
|
|
|
18
19
|
& .kbq-loader-overlay-text {
|
|
19
|
-
color: kbq-css-variable(loader-overlay-filled-text, map.get($loader-overlay, filled, text));
|
|
20
|
+
color: kbq-css-variable(loader-overlay-filled-text-color, map.get($loader-overlay, filled, text));
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
& .kbq-loader-overlay-caption {
|
|
23
|
-
color: kbq-css-variable(loader-overlay-filled-caption, map.get($loader-overlay, filled, caption));
|
|
24
|
+
color: kbq-css-variable(loader-overlay-filled-caption-color, map.get($loader-overlay, filled, caption));
|
|
24
25
|
}
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
.kbq-loader-overlay_transparent {
|
|
28
29
|
&.kbq-loader-overlay {
|
|
29
30
|
background: kbq-css-variable(
|
|
30
|
-
loader-overlay-transparent-background,
|
|
31
|
+
loader-overlay-transparent-overlay-background,
|
|
31
32
|
map.get($loader-overlay, transparent, background)
|
|
32
33
|
);
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
& .kbq-loader-overlay-text {
|
|
36
|
-
color: kbq-css-variable(loader-overlay-transparent-text, map.get($loader-overlay, transparent, text));
|
|
37
|
+
color: kbq-css-variable(loader-overlay-transparent-text-color, map.get($loader-overlay, transparent, text));
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
& .kbq-loader-overlay-caption {
|
|
40
|
-
color: kbq-css-variable(
|
|
41
|
+
color: kbq-css-variable(
|
|
42
|
+
loader-overlay-transparent-caption-color,
|
|
43
|
+
map.get($loader-overlay, transparent, caption)
|
|
44
|
+
);
|
|
41
45
|
}
|
|
42
46
|
}
|
|
43
47
|
}
|
package/modal/_modal-theme.scss
CHANGED
|
@@ -13,29 +13,30 @@
|
|
|
13
13
|
|
|
14
14
|
.kbq-modal-header {
|
|
15
15
|
& .kbq-modal-title {
|
|
16
|
-
color: kbq-css-variable(modal-header, map.get($modal, header));
|
|
16
|
+
color: kbq-css-variable(modal-header-text-color, map.get($modal, header));
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
& .kbq-modal-close {
|
|
20
|
-
color: kbq-css-variable(modal-close-button, map.get($modal, close-button));
|
|
20
|
+
color: kbq-css-variable(modal-close-button-color, map.get($modal, close-button));
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.kbq-modal-content {
|
|
25
|
-
color: kbq-css-variable(modal-content, map.get($modal, content));
|
|
25
|
+
color: kbq-css-variable(modal-content-text-color, map.get($modal, content));
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
+
// FIXME: default token doesn't exist
|
|
28
29
|
.kbq-modal-header.kbq-modal-body_top-overflow {
|
|
29
30
|
box-shadow: kbq-css-variable(modal-body-top-shadow, map.get($modal, body-top-shadow));
|
|
30
31
|
}
|
|
31
|
-
|
|
32
|
+
// FIXME: default token doesn't exist
|
|
32
33
|
.kbq-modal-footer.kbq-modal-body_bottom-overflow {
|
|
33
34
|
box-shadow: kbq-css-variable(modal-body-bottom-shadow, map.get($modal, body-bottom-shadow));
|
|
34
35
|
}
|
|
35
36
|
}
|
|
36
37
|
|
|
37
38
|
.kbq-modal-mask {
|
|
38
|
-
background-color: kbq-css-variable(modal-overlay, map.get($modal, overlay));
|
|
39
|
+
background-color: kbq-css-variable(modal-overlay-background, map.get($modal, overlay));
|
|
39
40
|
}
|
|
40
41
|
}
|
|
41
42
|
|
|
@@ -10,20 +10,20 @@
|
|
|
10
10
|
&:not(.kbq-navbar-item_has-nested) {
|
|
11
11
|
&:after {
|
|
12
12
|
display: block;
|
|
13
|
-
background: kbq-css-variable(navbar-item-#{$state-name}-background, map.get($state, background));
|
|
13
|
+
background: kbq-css-variable(navbar-item-#{$state-name}-content-background, map.get($state, background));
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
.kbq-navbar-title {
|
|
18
|
-
color: kbq-css-variable(navbar-item-#{$state-name}-text, map.get($state, text));
|
|
18
|
+
color: kbq-css-variable(navbar-item-#{$state-name}-content-text, map.get($state, text));
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
& > .kbq-icon {
|
|
22
|
-
color: kbq-css-variable(navbar-item-#{$state-name}-icon-left, map.get($state, icon-left)) !important;
|
|
22
|
+
color: kbq-css-variable(navbar-item-#{$state-name}-content-icon-left, map.get($state, icon-left)) !important;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.kbq-navbar-item__arrow-icon {
|
|
26
|
-
color: kbq-css-variable(navbar-item-#{$state-name}-icon-right, map.get($state, icon-right)) !important;
|
|
26
|
+
color: kbq-css-variable(navbar-item-#{$state-name}-content-icon-right, map.get($state, icon-right)) !important;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
@include kbq-navbar-item($item, default);
|
|
49
49
|
|
|
50
50
|
&:hover:not(.kbq-disabled, .kbq-vertical.kbq-navbar-brand) {
|
|
51
|
-
@include kbq-navbar-item($item, hover);
|
|
51
|
+
@include kbq-navbar-item($item, states-hover);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
&.cdk-focused.cdk-keyboard-focused {
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
|
|
64
64
|
&:active:not(.kbq-disabled, .kbq-vertical.kbq-navbar-brand),
|
|
65
65
|
&.kbq-active:not(.kbq-disabled, .kbq-vertical.kbq-navbar-brand) {
|
|
66
|
-
@include kbq-navbar-item($item, selected);
|
|
66
|
+
@include kbq-navbar-item($item, states-selected);
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
&.kbq-navbar-focusable-item {
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
&.kbq-disabled {
|
|
74
|
-
@include kbq-navbar-item($item, disabled);
|
|
74
|
+
@include kbq-navbar-item($item, states-disabled);
|
|
75
75
|
|
|
76
76
|
pointer-events: none;
|
|
77
77
|
cursor: default;
|
|
@@ -106,7 +106,7 @@ button {
|
|
|
106
106
|
|
|
107
107
|
@mixin kbq-navbar-typography($config) {
|
|
108
108
|
.kbq-navbar-title {
|
|
109
|
-
@include kbq-typography-level-to-
|
|
109
|
+
@include kbq-typography-level-to-styles_css-variables(typography, text-normal-strong);
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
.kbq-navbar-brand {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@koobiq/components",
|
|
3
|
-
"version": "17.
|
|
3
|
+
"version": "17.3.0",
|
|
4
4
|
"description": "koobiq",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"@angular/cdk": "^17.0.0",
|
|
21
21
|
"@angular/forms": "^17.0.0",
|
|
22
|
-
"@koobiq/cdk": "17.
|
|
23
|
-
"@koobiq/angular-moment-adapter": "17.
|
|
24
|
-
"@koobiq/angular-luxon-adapter": "17.
|
|
22
|
+
"@koobiq/cdk": "17.3.0",
|
|
23
|
+
"@koobiq/angular-moment-adapter": "17.3.0",
|
|
24
|
+
"@koobiq/angular-luxon-adapter": "17.3.0",
|
|
25
25
|
"@koobiq/date-formatter": "^3.1.2",
|
|
26
26
|
"@koobiq/icons": "^7.1.0",
|
|
27
27
|
"@koobiq/tokens-builder": "3.3.1",
|
|
@@ -76,12 +76,6 @@
|
|
|
76
76
|
"esm": "./esm2022/badge/koobiq-components-badge.mjs",
|
|
77
77
|
"default": "./fesm2022/koobiq-components-badge.mjs"
|
|
78
78
|
},
|
|
79
|
-
"./checkbox": {
|
|
80
|
-
"types": "./checkbox/index.d.ts",
|
|
81
|
-
"esm2022": "./esm2022/checkbox/koobiq-components-checkbox.mjs",
|
|
82
|
-
"esm": "./esm2022/checkbox/koobiq-components-checkbox.mjs",
|
|
83
|
-
"default": "./fesm2022/koobiq-components-checkbox.mjs"
|
|
84
|
-
},
|
|
85
79
|
"./button": {
|
|
86
80
|
"types": "./button/index.d.ts",
|
|
87
81
|
"esm2022": "./esm2022/button/koobiq-components-button.mjs",
|
|
@@ -94,6 +88,12 @@
|
|
|
94
88
|
"esm": "./esm2022/button-toggle/koobiq-components-button-toggle.mjs",
|
|
95
89
|
"default": "./fesm2022/koobiq-components-button-toggle.mjs"
|
|
96
90
|
},
|
|
91
|
+
"./checkbox": {
|
|
92
|
+
"types": "./checkbox/index.d.ts",
|
|
93
|
+
"esm2022": "./esm2022/checkbox/koobiq-components-checkbox.mjs",
|
|
94
|
+
"esm": "./esm2022/checkbox/koobiq-components-checkbox.mjs",
|
|
95
|
+
"default": "./fesm2022/koobiq-components-checkbox.mjs"
|
|
96
|
+
},
|
|
97
97
|
"./code-block": {
|
|
98
98
|
"types": "./code-block/index.d.ts",
|
|
99
99
|
"esm2022": "./esm2022/code-block/koobiq-components-code-block.mjs",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
$popover: map.get(map.get($theme, components), popover);
|
|
9
9
|
|
|
10
10
|
.kbq-popover {
|
|
11
|
-
box-shadow: kbq-css-variable(popover-
|
|
11
|
+
box-shadow: kbq-css-variable(popover-container-box-shadow, map.get($popover, container, box-shadow));
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.kbq-popover__container {
|
|
@@ -16,16 +16,16 @@
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.kbq-popover__arrow {
|
|
19
|
-
box-shadow: kbq-css-variable(popover-
|
|
19
|
+
box-shadow: kbq-css-variable(popover-container-box-shadow, map.get($popover, container, box-shadow));
|
|
20
20
|
background: kbq-css-variable(popover-container-background, map.get($popover, container, background));
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
.kbq-popover__header {
|
|
24
|
-
color: kbq-css-variable(popover-header-text, map.get($popover, header, text));
|
|
24
|
+
color: kbq-css-variable(popover-header-text-color, map.get($popover, header, text));
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.kbq-popover__content {
|
|
28
|
-
color: kbq-css-variable(popover-content-text, map.get($popover, content, text));
|
|
28
|
+
color: kbq-css-variable(popover-content-text-color, map.get($popover, content, text));
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Directionality } from '@angular/cdk/bidi';
|
|
2
|
-
import { Overlay, OverlayConfig, ScrollDispatcher, ScrollStrategy } from '@angular/cdk/overlay';
|
|
3
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, InjectionToken, NgZone, TemplateRef, Type, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { CdkScrollable, Overlay, OverlayConfig, ScrollDispatcher, ScrollStrategy } from '@angular/cdk/overlay';
|
|
3
|
+
import { AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, InjectionToken, NgZone, TemplateRef, Type, ViewContainerRef } from '@angular/core';
|
|
4
4
|
import { KbqPopUp, KbqPopUpTrigger, PopUpPlacements, PopUpSizes } from '@koobiq/components/core';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class KbqPopoverComponent extends KbqPopUp {
|
|
@@ -25,7 +25,7 @@ export declare const KBQ_POPOVER_SCROLL_STRATEGY_FACTORY_PROVIDER: {
|
|
|
25
25
|
};
|
|
26
26
|
/** Creates an error to be thrown if the user supplied an invalid popover position. */
|
|
27
27
|
export declare function getKbqPopoverInvalidPositionError(position: string): Error;
|
|
28
|
-
export declare class KbqPopoverTrigger extends KbqPopUpTrigger<KbqPopoverComponent> {
|
|
28
|
+
export declare class KbqPopoverTrigger extends KbqPopUpTrigger<KbqPopoverComponent> implements AfterContentInit {
|
|
29
29
|
get popoverVisible(): boolean;
|
|
30
30
|
set popoverVisible(value: boolean);
|
|
31
31
|
get popoverPlacement(): PopUpPlacements;
|
|
@@ -58,7 +58,7 @@ export declare class KbqPopoverTrigger extends KbqPopUpTrigger<KbqPopoverCompone
|
|
|
58
58
|
* The default value is `false`.
|
|
59
59
|
* Use CloseScrollStrategy as alternative
|
|
60
60
|
*/
|
|
61
|
-
get closeOnScroll(): boolean;
|
|
61
|
+
get closeOnScroll(): boolean | null;
|
|
62
62
|
set closeOnScroll(value: boolean);
|
|
63
63
|
private _closeOnScroll;
|
|
64
64
|
get hasClickTrigger(): boolean;
|
|
@@ -68,13 +68,14 @@ export declare class KbqPopoverTrigger extends KbqPopUpTrigger<KbqPopoverCompone
|
|
|
68
68
|
protected originSelector: string;
|
|
69
69
|
protected get overlayConfig(): OverlayConfig;
|
|
70
70
|
constructor(overlay: Overlay, elementRef: ElementRef, ngZone: NgZone, scrollDispatcher: ScrollDispatcher, hostView: ViewContainerRef, scrollStrategy: any, direction: Directionality);
|
|
71
|
+
ngAfterContentInit(): void;
|
|
71
72
|
updateData(): void;
|
|
72
73
|
/** Updates the position of the current popover. */
|
|
73
74
|
updatePosition(reapplyPosition?: boolean): void;
|
|
74
75
|
getOverlayHandleComponentType(): Type<KbqPopoverComponent>;
|
|
75
76
|
updateClassMap(newPlacement?: string): void;
|
|
76
77
|
closingActionsForClick(): import("rxjs").Observable<MouseEvent>[];
|
|
77
|
-
closingActions(): import("rxjs").Observable<void | MouseEvent |
|
|
78
|
+
closingActions(): import("rxjs").Observable<void | MouseEvent | CdkScrollable>;
|
|
78
79
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqPopoverTrigger, [null, null, null, null, null, null, { optional: true; }]>;
|
|
79
80
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KbqPopoverTrigger, "[kbqPopover]", ["kbqPopover"], { "popoverVisible": { "alias": "kbqPopoverVisible"; "required": false; }; "popoverPlacement": { "alias": "kbqPopoverPlacement"; "required": false; }; "popoverPlacementPriority": { "alias": "kbqPopoverPlacementPriority"; "required": false; }; "hasBackdrop": { "alias": "hasBackdrop"; "required": false; }; "header": { "alias": "kbqPopoverHeader"; "required": false; }; "content": { "alias": "kbqPopoverContent"; "required": false; }; "footer": { "alias": "kbqPopoverFooter"; "required": false; }; "disabled": { "alias": "kbqPopoverDisabled"; "required": false; }; "trigger": { "alias": "kbqTrigger"; "required": false; }; "size": { "alias": "kbqPopoverSize"; "required": false; }; "customClass": { "alias": "kbqPopoverClass"; "required": false; }; "closeOnScroll": { "alias": "closeOnScroll"; "required": false; }; "backdropClass": { "alias": "backdropClass"; "required": false; }; }, { "placementChange": "kbqPopoverPlacementChange"; "visibleChange": "kbqPopoverVisibleChange"; }, never, never, false, never>;
|
|
80
81
|
}
|