@koobiq/components 18.20.0 → 18.21.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/breadcrumbs/breadcrumbs-tokens.scss +1 -0
- package/breadcrumbs/breadcrumbs.d.ts +13 -2
- package/breadcrumbs/breadcrumbs.scss +72 -18
- package/button/button-tokens.scss +1 -1
- package/button/button.scss +2 -15
- package/checkbox/checkbox-tokens.scss +2 -0
- package/checkbox/checkbox.scss +4 -4
- package/core/formatters/date/formatter.d.ts +3 -2
- package/core/locales/locale-service.d.ts +5 -1
- package/core/styles/theming/scrollbar-tokens.scss +10 -4
- package/dropdown/dropdown.scss +20 -5
- package/esm2022/breadcrumbs/breadcrumbs.mjs +18 -7
- package/esm2022/button/button.component.mjs +2 -2
- package/esm2022/checkbox/checkbox.mjs +2 -2
- package/esm2022/core/formatters/date/formatter.mjs +13 -4
- package/esm2022/core/locales/en-US.mjs +29 -29
- package/esm2022/core/locales/es-LA.mjs +29 -29
- package/esm2022/core/locales/fa-IR.mjs +29 -29
- package/esm2022/core/locales/locale-service.mjs +38 -3
- package/esm2022/core/locales/pt-BR.mjs +29 -29
- package/esm2022/core/locales/tk-TM.mjs +29 -29
- package/esm2022/core/locales/zh-CN.mjs +29 -29
- package/esm2022/core/pop-up/pop-up-trigger.mjs +2 -2
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/dropdown/dropdown.component.mjs +3 -3
- package/esm2022/filter-bar/filter-bar.mjs +3 -3
- package/esm2022/filter-bar/pipes/pipe-date.mjs +37 -22
- package/esm2022/filter-bar/pipes/pipe-datetime.mjs +38 -23
- package/esm2022/filter-bar/pipes/pipe-text.mjs +4 -4
- package/esm2022/form-field/form-field.mjs +2 -2
- package/esm2022/form-field/validate.directive.mjs +19 -9
- package/esm2022/input/input-number.mjs +2 -2
- package/esm2022/navbar/navbar-item.component.mjs +6 -9
- package/esm2022/overflow-items/overflow-items.mjs +24 -3
- package/esm2022/progress-spinner/progress-spinner.component.mjs +2 -2
- package/esm2022/scrollbar/scrollbar.component.mjs +3 -3
- package/esm2022/select/select.component.mjs +3 -3
- package/esm2022/sidepanel/sidepanel-container.component.mjs +3 -3
- package/esm2022/sidepanel/sidepanel-directives.mjs +16 -5
- package/esm2022/textarea/textarea.component.mjs +35 -9
- package/esm2022/timezone/timezone-select.component.mjs +2 -2
- package/esm2022/top-bar/top-bar.mjs +2 -2
- package/esm2022/tree-select/tree-select.component.mjs +3 -3
- package/fesm2022/koobiq-components-breadcrumbs.mjs +18 -7
- package/fesm2022/koobiq-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/koobiq-components-button.mjs +2 -2
- package/fesm2022/koobiq-components-button.mjs.map +1 -1
- package/fesm2022/koobiq-components-checkbox.mjs +2 -2
- package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
- package/fesm2022/koobiq-components-core.mjs +1012 -970
- package/fesm2022/koobiq-components-core.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 +78 -48
- package/fesm2022/koobiq-components-filter-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +17 -8
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-input.mjs +1 -1
- package/fesm2022/koobiq-components-input.mjs.map +1 -1
- package/fesm2022/koobiq-components-navbar.mjs +5 -8
- package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
- package/fesm2022/koobiq-components-overflow-items.mjs +24 -3
- package/fesm2022/koobiq-components-overflow-items.mjs.map +1 -1
- package/fesm2022/koobiq-components-progress-spinner.mjs +2 -2
- package/fesm2022/koobiq-components-progress-spinner.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 +2 -2
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-sidepanel.mjs +17 -6
- package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
- package/fesm2022/koobiq-components-textarea.mjs +34 -8
- package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
- package/fesm2022/koobiq-components-timezone.mjs +2 -2
- package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
- package/fesm2022/koobiq-components-top-bar.mjs +2 -2
- package/fesm2022/koobiq-components-top-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-tree-select.mjs +2 -2
- package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
- package/filter-bar/filter-bar.scss +1 -0
- package/filter-bar/pipes/pipe-date.d.ts +3 -1
- package/filter-bar/pipes/pipe-date.scss +7 -0
- package/filter-bar/pipes/pipe-datetime.d.ts +3 -1
- package/form-field/_form-field-theme.scss +7 -3
- package/form-field/validate.directive.d.ts +4 -2
- package/link/_link-theme.scss +6 -16
- package/navbar/navbar-item.component.d.ts +1 -2
- package/overflow-items/overflow-items.d.ts +17 -1
- package/package.json +5 -5
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/light-theme.css +1 -1
- package/prebuilt-themes/theme.css +1 -1
- package/progress-spinner/progress-spinner.scss +10 -4
- package/schematics/ng-add/index.js +3 -3
- package/scrollbar/scrollbar-tokens.scss +10 -4
- package/select/_select-theme.scss +4 -1
- package/sidepanel/sidepanel-directives.d.ts +6 -1
- package/sidepanel/sidepanel.scss +9 -3
- package/textarea/textarea.component.d.ts +16 -3
- package/textarea/textarea.scss +4 -0
- package/top-bar/top-bar-tokens.scss +2 -2
- package/top-bar/top-bar.scss +1 -1
- package/tree-select/_tree-select-theme.scss +4 -1
|
@@ -5,5 +5,6 @@
|
|
|
5
5
|
--kbq-breadcrumb-expand-icon-color: var(--kbq-icon-contrast-fade);
|
|
6
6
|
--kbq-breadcrumb-item-border-radius: var(--kbq-size-xs);
|
|
7
7
|
--kbq-breadcrumb-item-icon-color: var(--kbq-icon-contrast-fade);
|
|
8
|
+
--kbq-breadcrumb-item-negative-margin: calc(-1 * var(--kbq-size-xs));
|
|
8
9
|
--kbq-breadcrumbs-gap: 0;
|
|
9
10
|
}
|
|
@@ -12,11 +12,15 @@ export type KbqBreadcrumbsConfiguration = {
|
|
|
12
12
|
*/
|
|
13
13
|
max: number | null;
|
|
14
14
|
size: KbqDefaultSizes;
|
|
15
|
+
/**
|
|
16
|
+
* Determines if a negative margin should be applied to the first breadcrumb item.
|
|
17
|
+
*/
|
|
18
|
+
firstItemNegativeMargin: boolean;
|
|
15
19
|
};
|
|
16
20
|
/** Breadcrumbs options global configuration provider. */
|
|
17
21
|
export declare const KBQ_BREADCRUMBS_CONFIGURATION: InjectionToken<KbqBreadcrumbsConfiguration>;
|
|
18
22
|
/** Utility provider for `KBQ_BREADCRUMBS_CONFIGURATION`. */
|
|
19
|
-
export declare const
|
|
23
|
+
export declare const kbqBreadcrumbsConfigurationProvider: (configuration: Partial<KbqBreadcrumbsConfiguration>) => Provider;
|
|
20
24
|
export declare class KbqBreadcrumbsSeparator {
|
|
21
25
|
readonly templateRef: TemplateRef<any>;
|
|
22
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqBreadcrumbsSeparator, never>;
|
|
@@ -77,6 +81,12 @@ export declare class KbqBreadcrumbItem {
|
|
|
77
81
|
}
|
|
78
82
|
export declare class KbqBreadcrumbs implements AfterContentInit {
|
|
79
83
|
protected readonly configuration: KbqBreadcrumbsConfiguration;
|
|
84
|
+
/**
|
|
85
|
+
* Determines if a negative margin should be applied to the first breadcrumb item.
|
|
86
|
+
*
|
|
87
|
+
* @see KbqBreadcrumbsConfiguration
|
|
88
|
+
*/
|
|
89
|
+
firstItemNegativeMargin: boolean;
|
|
80
90
|
/**
|
|
81
91
|
* Size of the breadcrumbs. Affects font size.
|
|
82
92
|
* Default value is taken from the global configuration.
|
|
@@ -112,6 +122,7 @@ export declare class KbqBreadcrumbs implements AfterContentInit {
|
|
|
112
122
|
protected get visibleBreadcrumbItems(): KbqBreadcrumbItem[];
|
|
113
123
|
ngAfterContentInit(): void;
|
|
114
124
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqBreadcrumbs, never>;
|
|
115
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KbqBreadcrumbs, "kbq-breadcrumbs,[kbq-breadcrumbs]", never, { "size": { "alias": "size"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, ["separator", "items"], never, true, [{ directive: typeof i1.RdxRovingFocusGroupDirective; inputs: {}; outputs: {}; }]>;
|
|
125
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KbqBreadcrumbs, "kbq-breadcrumbs,[kbq-breadcrumbs]", never, { "firstItemNegativeMargin": { "alias": "firstItemNegativeMargin"; "required": false; }; "size": { "alias": "size"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, ["separator", "items"], never, true, [{ directive: typeof i1.RdxRovingFocusGroupDirective; inputs: {}; outputs: {}; }]>;
|
|
126
|
+
static ngAcceptInputType_firstItemNegativeMargin: unknown;
|
|
116
127
|
static ngAcceptInputType_disabled: unknown;
|
|
117
128
|
}
|
|
@@ -1,17 +1,75 @@
|
|
|
1
1
|
@use '../core/styles/common/tokens';
|
|
2
2
|
@use '../core/styles/common/vendor-prefixes';
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
@mixin _kbq-breadcrumbs-geometry {
|
|
5
5
|
display: flex;
|
|
6
6
|
align-items: center;
|
|
7
7
|
gap: var(--kbq-breadcrumbs-gap);
|
|
8
8
|
|
|
9
|
+
.kbq-breadcrumb-item__container {
|
|
10
|
+
display: inline-flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&.kbq-breadcrumbs_first-item-negative-margin {
|
|
15
|
+
.kbq-breadcrumb-item__container {
|
|
16
|
+
&:first-of-type {
|
|
17
|
+
margin-left: var(--kbq-breadcrumb-item-negative-margin);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&.kbq-breadcrumbs_compact {
|
|
23
|
+
.kbq-breadcrumb-item {
|
|
24
|
+
&.kbq-button,
|
|
25
|
+
&.kbq-button-icon {
|
|
26
|
+
--kbq-breadcrumb-item-height: var(--kbq-size-xxl);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.kbq-breadcrumb__expand {
|
|
31
|
+
&.kbq-button-icon {
|
|
32
|
+
--kbq-breadcrumb-item-expand-horizontal-padding: var(--kbq-size-xxs);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&.kbq-breadcrumbs_normal {
|
|
38
|
+
.kbq-breadcrumb-item {
|
|
39
|
+
&.kbq-button,
|
|
40
|
+
&.kbq-button-icon {
|
|
41
|
+
--kbq-button-size-horizontal-padding: var(--kbq-breadcrumb-item-horizontal-padding);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&.kbq-breadcrumbs_big {
|
|
47
|
+
.kbq-button,
|
|
48
|
+
.kbq-button-icon {
|
|
49
|
+
--kbq-button-size-height: var(--kbq-breadcrumb-item-height);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
9
53
|
.kbq-breadcrumb-item {
|
|
10
54
|
&.kbq-button,
|
|
11
55
|
&.kbq-button-icon {
|
|
12
56
|
--kbq-button-size-height: var(--kbq-breadcrumb-item-height);
|
|
13
57
|
--kbq-button-size-horizontal-padding: var(--kbq-breadcrumb-item-horizontal-padding);
|
|
14
58
|
--kbq-button-size-border-radius: var(--kbq-breadcrumb-item-border-radius);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.kbq-breadcrumb__expand {
|
|
63
|
+
&.kbq-button-icon {
|
|
64
|
+
--kbq-button-icon-size-horizontal-padding: var(--kbq-breadcrumb-item-expand-horizontal-padding);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@mixin _kbq-breadcrumbs-theme {
|
|
70
|
+
.kbq-breadcrumb-item {
|
|
71
|
+
&.kbq-button,
|
|
72
|
+
&.kbq-button-icon {
|
|
15
73
|
--kbq-button-transparent-contrast-fade-on-foreground: var(--kbq-foreground-contrast-secondary);
|
|
16
74
|
--kbq-button-transparent-contrast-fade-on-right-icon: var(--kbq-breadcrumb-item-icon-color);
|
|
17
75
|
--kbq-button-transparent-contrast-fade-on-left-icon: var(--kbq-breadcrumb-item-icon-color);
|
|
@@ -65,7 +123,6 @@
|
|
|
65
123
|
|
|
66
124
|
.kbq-breadcrumb__expand {
|
|
67
125
|
&.kbq-button-icon {
|
|
68
|
-
--kbq-button-icon-size-horizontal-padding: var(--kbq-breadcrumb-item-expand-horizontal-padding);
|
|
69
126
|
--kbq-button-transparent-contrast-fade-on-left-icon: var(--kbq-breadcrumb-expand-icon-color);
|
|
70
127
|
|
|
71
128
|
.kbq-icon {
|
|
@@ -101,35 +158,22 @@
|
|
|
101
158
|
|
|
102
159
|
color: var(--kbq-foreground-contrast);
|
|
103
160
|
}
|
|
161
|
+
}
|
|
104
162
|
|
|
105
|
-
|
|
106
|
-
.kbq-breadcrumb__separator {
|
|
107
|
-
@include vendor-prefixes.user-select(none);
|
|
108
|
-
@include tokens.kbq-typography-level-to-styles-css-variables(typography, text-big);
|
|
109
|
-
}
|
|
110
|
-
|
|
163
|
+
@mixin _kbq-breadcrumbs-typography {
|
|
111
164
|
&.kbq-breadcrumbs_compact {
|
|
112
165
|
.kbq-breadcrumb-item {
|
|
113
166
|
&.kbq-button,
|
|
114
167
|
&.kbq-button-icon {
|
|
115
|
-
--kbq-breadcrumb-item-height: var(--kbq-size-xxl);
|
|
116
168
|
@include tokens.kbq-typography-level-to-styles-css-variables(typography, text-normal);
|
|
117
169
|
}
|
|
118
170
|
}
|
|
119
|
-
|
|
120
|
-
.kbq-breadcrumb__expand {
|
|
121
|
-
&.kbq-button-icon {
|
|
122
|
-
--kbq-breadcrumb-item-expand-horizontal-padding: var(--kbq-size-xxs);
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
171
|
}
|
|
126
172
|
|
|
127
173
|
&.kbq-breadcrumbs_normal {
|
|
128
174
|
.kbq-breadcrumb-item {
|
|
129
175
|
&.kbq-button,
|
|
130
176
|
&.kbq-button-icon {
|
|
131
|
-
--kbq-button-size-horizontal-padding: var(--kbq-breadcrumb-item-horizontal-padding);
|
|
132
|
-
|
|
133
177
|
@include tokens.kbq-typography-level-to-styles-css-variables(typography, text-big);
|
|
134
178
|
}
|
|
135
179
|
}
|
|
@@ -138,10 +182,20 @@
|
|
|
138
182
|
&.kbq-breadcrumbs_big {
|
|
139
183
|
.kbq-button,
|
|
140
184
|
.kbq-button-icon {
|
|
141
|
-
--kbq-button-size-height: var(--kbq-breadcrumb-item-height);
|
|
142
185
|
@include tokens.kbq-typography-level-to-styles-css-variables(typography, subheading);
|
|
143
186
|
}
|
|
144
187
|
}
|
|
188
|
+
|
|
189
|
+
.kbq-breadcrumb__separator {
|
|
190
|
+
@include vendor-prefixes.user-select(none);
|
|
191
|
+
@include tokens.kbq-typography-level-to-styles-css-variables(typography, text-big);
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.kbq-breadcrumbs {
|
|
196
|
+
@include _kbq-breadcrumbs-geometry();
|
|
197
|
+
@include _kbq-breadcrumbs-theme();
|
|
198
|
+
@include _kbq-breadcrumbs-typography();
|
|
145
199
|
}
|
|
146
200
|
|
|
147
201
|
.kbq-breadcrumb-item__link-behavior {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
--kbq-button-size-border-width: var(--kbq-size-border-width);
|
|
5
5
|
--kbq-button-size-border-radius: var(--kbq-size-border-radius);
|
|
6
6
|
--kbq-button-size-horizontal-padding: var(--kbq-size-m);
|
|
7
|
-
--kbq-button-size-content-padding: var(--kbq-size-
|
|
7
|
+
--kbq-button-size-content-padding: var(--kbq-size-xs);
|
|
8
8
|
--kbq-button-icon-size-horizontal-padding: var(--kbq-size-s);
|
|
9
9
|
--kbq-button-icon-size-vertical-padding: var(--kbq-size-s);
|
|
10
10
|
--kbq-button-icon-size-content-padding: var(--kbq-size-xxs);
|
package/button/button.scss
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
@use '
|
|
1
|
+
@use '../core/styles/common/animation';
|
|
2
2
|
|
|
3
|
+
@use 'button-base' as *;
|
|
3
4
|
@use '../core/styles/common/tokens' as *;
|
|
4
5
|
|
|
5
6
|
@use './button-theme' as *;
|
|
@@ -10,20 +11,6 @@
|
|
|
10
11
|
// base padding - border-width
|
|
11
12
|
padding-left: kbq-difference-series-css-variables([button-size-horizontal-padding, button-size-border-width]);
|
|
12
13
|
padding-right: kbq-difference-series-css-variables([button-size-horizontal-padding, button-size-border-width]);
|
|
13
|
-
|
|
14
|
-
&.kbq-button-icon_left {
|
|
15
|
-
padding-left: kbq-difference-series-css-variables(
|
|
16
|
-
[button-icon-size-horizontal-padding,
|
|
17
|
-
button-size-border-width]
|
|
18
|
-
);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&.kbq-button-icon_right {
|
|
22
|
-
padding-right: kbq-difference-series-css-variables(
|
|
23
|
-
[button-icon-size-horizontal-padding,
|
|
24
|
-
button-size-border-width]
|
|
25
|
-
);
|
|
26
|
-
}
|
|
27
14
|
}
|
|
28
15
|
|
|
29
16
|
.kbq-light-button {
|
|
@@ -5,12 +5,14 @@
|
|
|
5
5
|
--kbq-checkbox-size-normal-horizontal-content-padding: var(--kbq-size-s);
|
|
6
6
|
--kbq-checkbox-size-normal-vertical-content-padding: var(--kbq-size-3xs);
|
|
7
7
|
--kbq-checkbox-size-normal-top: var(--kbq-size-3xs);
|
|
8
|
+
--kbq-checkbox-size-normal-margin-bottom: var(--kbq-size-s);
|
|
8
9
|
--kbq-checkbox-size-big-width: var(--kbq-size-l);
|
|
9
10
|
--kbq-checkbox-size-big-border-width: var(--kbq-size-border-width);
|
|
10
11
|
--kbq-checkbox-size-big-border-radius: var(--kbq-size-xxs);
|
|
11
12
|
--kbq-checkbox-size-big-horizontal-content-padding: var(--kbq-size-s);
|
|
12
13
|
--kbq-checkbox-size-big-vertical-content-padding: var(--kbq-size-3xs);
|
|
13
14
|
--kbq-checkbox-size-big-top: var(--kbq-size-xxs);
|
|
15
|
+
--kbq-checkbox-size-big-margin-bottom: var(--kbq-size-m);
|
|
14
16
|
/* THEME TOKENS */
|
|
15
17
|
--kbq-checkbox-theme-default-border: var(--kbq-line-contrast-fade);
|
|
16
18
|
--kbq-checkbox-theme-default-color: var(--kbq-icon-white);
|
package/checkbox/checkbox.scss
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
@use '../core/styles/common/visually-hidden';
|
|
2
|
-
@use '../core/styles/common/layout';
|
|
3
|
-
|
|
4
1
|
@use '../core/styles/common/tokens' as *;
|
|
5
|
-
|
|
6
2
|
@use './checkbox-theme' as *;
|
|
7
3
|
|
|
8
4
|
.kbq-checkbox-checkmark,
|
|
@@ -68,6 +64,8 @@
|
|
|
68
64
|
cursor: pointer;
|
|
69
65
|
-webkit-tap-highlight-color: transparent;
|
|
70
66
|
|
|
67
|
+
margin-bottom: var(--kbq-checkbox-size-normal-margin-bottom);
|
|
68
|
+
|
|
71
69
|
&.kbq-checked {
|
|
72
70
|
.kbq-checkbox-checkmark {
|
|
73
71
|
display: block;
|
|
@@ -102,6 +100,8 @@
|
|
|
102
100
|
}
|
|
103
101
|
|
|
104
102
|
.kbq-checkbox.kbq-checkbox_big {
|
|
103
|
+
margin-bottom: var(--kbq-checkbox-size-big-margin-bottom);
|
|
104
|
+
|
|
105
105
|
& .kbq-checkbox__layout {
|
|
106
106
|
padding-left: kbq-sum-series-css-variables(
|
|
107
107
|
[ checkbox-size-normal-width,
|
|
@@ -3,7 +3,8 @@ import { DateFormatter as BaseDateFormatter } from '@koobiq/date-formatter';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class DateFormatter<D> extends BaseDateFormatter<D> {
|
|
5
5
|
readonly adapter: DateAdapter<D>;
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
protected localeService?: any;
|
|
7
|
+
constructor(adapter: DateAdapter<D>, locale: string, localeService?: any);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateFormatter<any>, [null, null, { optional: true; }]>;
|
|
8
9
|
static ɵprov: i0.ɵɵInjectableDeclaration<DateFormatter<any>>;
|
|
9
10
|
}
|
|
@@ -906,6 +906,10 @@ export declare class KbqLocaleService {
|
|
|
906
906
|
static ɵfac: i0.ɵɵFactoryDeclaration<KbqLocaleService, [{ optional: true; }, { optional: true; }]>;
|
|
907
907
|
static ɵprov: i0.ɵɵInjectableDeclaration<KbqLocaleService>;
|
|
908
908
|
}
|
|
909
|
+
export declare function numberByParts(value: string, fractionSeparator: string, groupSeparator: string): {
|
|
910
|
+
integer: string;
|
|
911
|
+
fraction: string;
|
|
912
|
+
};
|
|
909
913
|
/**
|
|
910
914
|
* Function that returns a string representation of a number without localized separators
|
|
911
915
|
*/
|
|
@@ -916,4 +920,4 @@ export declare function normalizeNumber(value: string | null | undefined, custom
|
|
|
916
920
|
/**
|
|
917
921
|
* Function that parse string and return a number. The string can be in any locale.
|
|
918
922
|
*/
|
|
919
|
-
export declare function checkAndNormalizeLocalizedNumber(num: string | null | undefined): number | null;
|
|
923
|
+
export declare function checkAndNormalizeLocalizedNumber(num: string | null | undefined, locale?: string): number | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.kbq-scrollbar {
|
|
1
|
+
:where(.kbq-scrollbar) {
|
|
2
2
|
--kbq-scrollbar-size-track-dimension: var(--kbq-size-l);
|
|
3
3
|
--kbq-scrollbar-size-track-padding-vertical: var(--kbq-size-3xs);
|
|
4
4
|
--kbq-scrollbar-size-track-padding-horizontal: var(--kbq-size-3xs);
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
--kbq-scrollbar-size-thumb-min-size: var(--kbq-size-xl);
|
|
7
7
|
--kbq-scrollbar-size-thumb-border-radius: var(--kbq-size-s);
|
|
8
8
|
/* THEME TOKENS */
|
|
9
|
-
--kbq-scrollbar-thumb-default-background: var(--kbq-
|
|
10
|
-
--kbq-scrollbar-thumb-hover-background: var(--kbq-
|
|
11
|
-
--kbq-scrollbar-thumb-active-background: var(--kbq-
|
|
9
|
+
--kbq-scrollbar-thumb-default-background: var(--kbq-palette-grey-50-a32);
|
|
10
|
+
--kbq-scrollbar-thumb-hover-background: var(--kbq-palette-grey-50-a48);
|
|
11
|
+
--kbq-scrollbar-thumb-active-background: var(--kbq-palette-grey-20-a55);
|
|
12
12
|
--kbq-scrollbar-thumb-disabled-background: var(--kbq-states-icon-disabled);
|
|
13
13
|
--kbq-scrollbar-track-default-border: transparent;
|
|
14
14
|
--kbq-scrollbar-track-default-background: transparent;
|
|
@@ -17,3 +17,9 @@
|
|
|
17
17
|
--kbq-scrollbar-track-active-border: transparent;
|
|
18
18
|
--kbq-scrollbar-track-active-background: transparent;
|
|
19
19
|
}
|
|
20
|
+
|
|
21
|
+
:where(.kbq-dark .kbq-scrollbar) {
|
|
22
|
+
--kbq-scrollbar-thumb-default-background: var(--kbq-palette-grey-50-a48);
|
|
23
|
+
--kbq-scrollbar-thumb-hover-background: var(--kbq-palette-grey-50-a60);
|
|
24
|
+
--kbq-scrollbar-thumb-active-background: var(--kbq-palette-grey-50-a80);
|
|
25
|
+
}
|
package/dropdown/dropdown.scss
CHANGED
|
@@ -1,12 +1,27 @@
|
|
|
1
1
|
@use './dropdown-theme' as *;
|
|
2
2
|
|
|
3
|
-
.kbq-dropdown-trigger
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
.kbq-dropdown-trigger {
|
|
4
|
+
&.kbq-button {
|
|
5
|
+
padding-left: calc(10px - var(--kbq-size-border-width));
|
|
6
|
+
padding-right: calc(10px - var(--kbq-size-border-width));
|
|
7
|
+
|
|
8
|
+
& .kbq-icon_left {
|
|
9
|
+
margin-right: var(--kbq-size-xs);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
& .kbq-icon_right {
|
|
13
|
+
margin-left: var(--kbq-size-3xs);
|
|
14
|
+
}
|
|
6
15
|
}
|
|
7
16
|
|
|
8
|
-
|
|
9
|
-
|
|
17
|
+
&.kbq-button-icon.kbq-button-icon_right.kbq-button-icon_left {
|
|
18
|
+
& .kbq-icon_left {
|
|
19
|
+
margin-right: 0;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
& .kbq-icon_right {
|
|
23
|
+
margin-left: 0;
|
|
24
|
+
}
|
|
10
25
|
}
|
|
11
26
|
}
|
|
12
27
|
|