@koobiq/components 18.25.0 → 18.26.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.
Files changed (61) hide show
  1. package/checkbox/checkbox-tokens.scss +0 -2
  2. package/checkbox/checkbox.scss +17 -11
  3. package/core/pop-up/pop-up-trigger.d.ts +2 -1
  4. package/core/styles/common/_select.scss +1 -2
  5. package/dropdown/_dropdown-theme.scss +6 -6
  6. package/dropdown/dropdown.scss +3 -3
  7. package/esm2022/checkbox/checkbox.mjs +2 -2
  8. package/esm2022/core/pop-up/pop-up-trigger.mjs +3 -2
  9. package/esm2022/core/version.mjs +2 -2
  10. package/esm2022/file-upload/multiple-file-upload.component.mjs +3 -4
  11. package/esm2022/file-upload/single-file-upload.component.mjs +6 -7
  12. package/esm2022/form-field/form-field.mjs +2 -2
  13. package/esm2022/list/list-selection.component.mjs +2 -2
  14. package/esm2022/list/list.component.mjs +2 -2
  15. package/esm2022/modal/modal.component.mjs +2 -2
  16. package/esm2022/popover/popover.component.mjs +20 -1
  17. package/esm2022/select/select.component.mjs +3 -3
  18. package/esm2022/sidepanel/sidepanel-container.component.mjs +2 -2
  19. package/esm2022/tags/tag-list.component.mjs +12 -6
  20. package/esm2022/timezone/timezone-select.component.mjs +2 -2
  21. package/esm2022/top-bar/top-bar.mjs +14 -6
  22. package/esm2022/tree-select/tree-select.component.mjs +3 -3
  23. package/fesm2022/koobiq-components-checkbox.mjs +2 -2
  24. package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
  25. package/fesm2022/koobiq-components-core.mjs +3 -2
  26. package/fesm2022/koobiq-components-core.mjs.map +1 -1
  27. package/fesm2022/koobiq-components-file-upload.mjs +7 -9
  28. package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
  29. package/fesm2022/koobiq-components-form-field.mjs +2 -2
  30. package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
  31. package/fesm2022/koobiq-components-list.mjs +4 -4
  32. package/fesm2022/koobiq-components-list.mjs.map +1 -1
  33. package/fesm2022/koobiq-components-modal.mjs +2 -2
  34. package/fesm2022/koobiq-components-modal.mjs.map +1 -1
  35. package/fesm2022/koobiq-components-popover.mjs +19 -0
  36. package/fesm2022/koobiq-components-popover.mjs.map +1 -1
  37. package/fesm2022/koobiq-components-select.mjs +2 -2
  38. package/fesm2022/koobiq-components-select.mjs.map +1 -1
  39. package/fesm2022/koobiq-components-sidepanel.mjs +2 -2
  40. package/fesm2022/koobiq-components-tags.mjs +11 -5
  41. package/fesm2022/koobiq-components-tags.mjs.map +1 -1
  42. package/fesm2022/koobiq-components-timezone.mjs +2 -2
  43. package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
  44. package/fesm2022/koobiq-components-top-bar.mjs +13 -5
  45. package/fesm2022/koobiq-components-top-bar.mjs.map +1 -1
  46. package/fesm2022/koobiq-components-tree-select.mjs +2 -2
  47. package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
  48. package/file-upload/_file-upload-theme.scss +8 -8
  49. package/file-upload/file-upload.scss +3 -3
  50. package/list/_list-theme.scss +9 -19
  51. package/list/list.scss +20 -6
  52. package/modal/modal-tokens.scss +1 -1
  53. package/modal/modal.scss +6 -3
  54. package/package.json +4 -4
  55. package/popover/popover.component.d.ts +5 -3
  56. package/schematics/ng-add/index.js +2 -2
  57. package/sidepanel/sidepanel-tokens.scss +4 -4
  58. package/textarea/textarea-tokens.scss +1 -1
  59. package/top-bar/top-bar-tokens.scss +4 -3
  60. package/top-bar/top-bar.d.ts +7 -0
  61. package/top-bar/top-bar.scss +27 -3
@@ -1,4 +1,4 @@
1
- @use '../core/styles/common/tokens' as *;
1
+ @use '../core/styles/common/tokens';
2
2
 
3
3
  @mixin kbq-file-upload-theme() {
4
4
  .kbq-file-upload {
@@ -135,39 +135,39 @@
135
135
  .kbq-single-file-upload {
136
136
  & .file-item__text-wrapper,
137
137
  & .dropzone__text {
138
- @include kbq-typography-level-to-styles-css-variables(typography, text-normal);
138
+ @include tokens.kbq-typography-level-to-styles-css-variables(typography, text-normal);
139
139
  }
140
140
  }
141
141
 
142
142
  .kbq-multiple-file-upload {
143
143
  .multiple__header {
144
- @include kbq-typography-level-to-styles-css-variables(typography, subheading);
144
+ @include tokens.kbq-typography-level-to-styles-css-variables(typography, subheading);
145
145
  }
146
146
 
147
147
  .multiple__caption {
148
148
  &,
149
149
  .kbq-link {
150
- @include kbq-typography-level-to-styles-css-variables(typography, text-normal);
150
+ @include tokens.kbq-typography-level-to-styles-css-variables(typography, text-normal);
151
151
  }
152
152
  }
153
153
 
154
154
  .kbq-file-multiple-uploaded__header {
155
- @include kbq-typography-level-to-styles-css-variables(typography, text-normal);
155
+ @include tokens.kbq-typography-level-to-styles-css-variables(typography, text-normal);
156
156
  }
157
157
 
158
158
  .multiple__uploaded-item {
159
- @include kbq-typography-level-to-styles-css-variables(typography, text-normal);
159
+ @include tokens.kbq-typography-level-to-styles-css-variables(typography, text-normal);
160
160
  }
161
161
 
162
162
  .kbq-file-upload {
163
163
  .kbq-list-item,
164
164
  .kbq-list-option {
165
- @include kbq-typography-level-to-styles-css-variables(typography, text-normal);
165
+ @include tokens.kbq-typography-level-to-styles-css-variables(typography, text-normal);
166
166
  }
167
167
  }
168
168
  }
169
169
 
170
170
  .kbq-file-upload__hint .kbq-hint .kbq-hint__text {
171
- @include kbq-typography-level-to-styles-css-variables(typography, text-compact);
171
+ @include tokens.kbq-typography-level-to-styles-css-variables(typography, text-compact);
172
172
  }
173
173
  }
@@ -1,4 +1,4 @@
1
- @use './file-upload-theme' as *;
1
+ @use './file-upload-theme' as theme;
2
2
 
3
3
  .kbq-file-upload {
4
4
  box-sizing: border-box;
@@ -37,5 +37,5 @@
37
37
  }
38
38
  }
39
39
 
40
- @include kbq-file-upload-theme();
41
- @include kbq-file-upload-typography();
40
+ @include theme.kbq-file-upload-theme();
41
+ @include theme.kbq-file-upload-typography();
@@ -1,6 +1,6 @@
1
- @use '../core/styles/common/tokens' as *;
1
+ @use '../core/styles/common/tokens';
2
2
 
3
- @mixin kbq-list-item($state-name) {
3
+ @mixin _kbq-list-item($state-name) {
4
4
  background: var(--kbq-list-#{$state-name}-container-background);
5
5
 
6
6
  .kbq-list-text {
@@ -22,32 +22,22 @@
22
22
 
23
23
  @mixin kbq-list-theme() {
24
24
  .kbq-list-option {
25
- @include kbq-list-item(default);
25
+ @include _kbq-list-item(default);
26
26
 
27
27
  &:hover:not(.kbq-disabled) {
28
- @include kbq-list-item(states-hover);
28
+ @include _kbq-list-item(states-hover);
29
29
  }
30
30
 
31
31
  &.kbq-selected {
32
- @include kbq-list-item(states-selected);
32
+ @include _kbq-list-item(states-selected);
33
33
 
34
34
  &:hover:not(.kbq-disabled) {
35
- @include kbq-list-item(states-selected-hover);
35
+ @include _kbq-list-item(states-selected-hover);
36
36
  }
37
37
  }
38
38
 
39
39
  &.kbq-disabled {
40
- @include kbq-list-item(states-disabled);
41
- }
42
-
43
- &:is(.kbq-selected, .kbq-focused):has(+ :is(.kbq-selected, .kbq-focused)) {
44
- border-bottom-left-radius: 0;
45
- border-bottom-right-radius: 0;
46
- }
47
-
48
- &:is(.kbq-selected, .kbq-focused) + :is(.kbq-selected, .kbq-focused) {
49
- border-top-left-radius: 0;
50
- border-top-right-radius: 0;
40
+ @include _kbq-list-item(states-disabled);
51
41
  }
52
42
  }
53
43
 
@@ -61,11 +51,11 @@
61
51
  @mixin kbq-list-typography() {
62
52
  .kbq-list-item,
63
53
  .kbq-list-option {
64
- @include kbq-typography-level-to-styles-css-variables(typography, text-normal);
54
+ @include tokens.kbq-typography-level-to-styles-css-variables(typography, text-normal);
65
55
 
66
56
  .kbq-list-text {
67
57
  .kbq-list-option-caption {
68
- @include kbq-typography-level-to-styles-css-variables(typography, text-compact);
58
+ @include tokens.kbq-typography-level-to-styles-css-variables(typography, text-compact);
69
59
  }
70
60
  }
71
61
  }
package/list/list.scss CHANGED
@@ -1,7 +1,22 @@
1
1
  @use '../core/styles/common/list';
2
- @use '../core/styles/common/tokens' as *;
3
2
  @use '../core/styles/common/vendor-prefixes';
4
- @use './list-theme' as *;
3
+ @use './list-theme' as theme;
4
+
5
+ @mixin _kbq-list-item-border-radius() {
6
+ $selectors: '.kbq-selected';
7
+
8
+ border-radius: var(--kbq-size-border-radius);
9
+
10
+ &:is(#{$selectors}):has(+ :is(#{$selectors})) {
11
+ border-bottom-left-radius: unset;
12
+ border-bottom-right-radius: unset;
13
+ }
14
+
15
+ &:is(#{$selectors}) + :is(#{$selectors}) {
16
+ border-top-left-radius: unset;
17
+ border-top-right-radius: unset;
18
+ }
19
+ }
5
20
 
6
21
  .kbq-list,
7
22
  .kbq-list-selection {
@@ -13,8 +28,7 @@
13
28
  .kbq-list-option {
14
29
  @include vendor-prefixes.user-select(none);
15
30
  @include list.kbq-list-item-base();
16
-
17
- border-radius: var(--kbq-size-border-radius);
31
+ @include _kbq-list-item-border-radius();
18
32
 
19
33
  &:not(.kbq-disabled) {
20
34
  cursor: pointer;
@@ -35,5 +49,5 @@
35
49
  }
36
50
  }
37
51
 
38
- @include kbq-list-theme();
39
- @include kbq-list-typography();
52
+ @include theme.kbq-list-theme();
53
+ @include theme.kbq-list-typography();
@@ -5,7 +5,7 @@
5
5
  --kbq-modal-size-border-radius: var(--kbq-size-s);
6
6
  --kbq-modal-size-header-padding-vertical: var(--kbq-size-l);
7
7
  --kbq-modal-size-header-padding-left: var(--kbq-size-xxl);
8
- --kbq-modal-size-header-padding-right: var(--kbq-size-5xl);
8
+ --kbq-modal-size-header-padding-right: var(--kbq-size-6xl);
9
9
  --kbq-modal-size-close-button-margin-left: var(--kbq-size-s);
10
10
  --kbq-modal-size-content-padding-horizontal: var(--kbq-size-xxl);
11
11
  --kbq-modal-size-content-padding-top: 0;
package/modal/modal.scss CHANGED
@@ -9,7 +9,7 @@
9
9
 
10
10
  position: relative;
11
11
 
12
- top: 48px;
12
+ top: var(--kbq-size-5xl);
13
13
 
14
14
  border-radius: var(--kbq-modal-size-border-radius);
15
15
 
@@ -50,8 +50,8 @@
50
50
  & .kbq-modal-close {
51
51
  position: absolute;
52
52
 
53
- top: 16px;
54
- right: 8px;
53
+ top: var(--kbq-size-l);
54
+ right: var(--kbq-size-l);
55
55
  }
56
56
  }
57
57
 
@@ -95,6 +95,9 @@
95
95
  -webkit-box-orient: vertical;
96
96
  -webkit-line-clamp: 2;
97
97
  overflow: hidden;
98
+
99
+ padding-top: var(--kbq-size-3xs);
100
+ padding-bottom: var(--kbq-size-3xs);
98
101
  }
99
102
 
100
103
  .kbq-modal-body {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@koobiq/components",
3
- "version": "18.25.0",
3
+ "version": "18.26.0",
4
4
  "description": "koobiq",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,9 +24,9 @@
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.25.0",
28
- "@koobiq/angular-moment-adapter": "18.25.0",
29
- "@koobiq/angular-luxon-adapter": "18.25.0",
27
+ "@koobiq/cdk": "18.26.0",
28
+ "@koobiq/angular-moment-adapter": "18.26.0",
29
+ "@koobiq/angular-luxon-adapter": "18.26.0",
30
30
  "@koobiq/date-formatter": "^3.2.3",
31
31
  "@koobiq/icons": "^9.4.0",
32
32
  "@koobiq/tokens-builder": "3.11.0",
@@ -1,6 +1,6 @@
1
1
  import { CdkTrapFocus } from '@angular/cdk/a11y';
2
2
  import { CdkScrollable, Overlay, OverlayConfig, ScrollStrategy } from '@angular/cdk/overlay';
3
- import { AfterContentInit, AfterViewInit, ElementRef, EventEmitter, InjectionToken, TemplateRef, Type } from '@angular/core';
3
+ import { AfterContentInit, AfterViewInit, ElementRef, EventEmitter, InjectionToken, OnInit, TemplateRef, Type } from '@angular/core';
4
4
  import { KbqComponentColors, KbqPopUp, KbqPopUpTrigger, PopUpPlacements, PopUpSizes } from '@koobiq/components/core';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class KbqPopoverComponent extends KbqPopUp implements AfterViewInit {
@@ -38,7 +38,7 @@ export declare const KBQ_POPOVER_SCROLL_STRATEGY_FACTORY_PROVIDER: {
38
38
  };
39
39
  /** Creates an error to be thrown if the user supplied an invalid popover position. */
40
40
  export declare function getKbqPopoverInvalidPositionError(position: string): Error;
41
- export declare class KbqPopoverTrigger extends KbqPopUpTrigger<KbqPopoverComponent> implements AfterContentInit {
41
+ export declare class KbqPopoverTrigger extends KbqPopUpTrigger<KbqPopoverComponent> implements AfterContentInit, OnInit {
42
42
  protected scrollStrategy: () => ScrollStrategy;
43
43
  get popoverVisible(): boolean;
44
44
  set popoverVisible(value: boolean);
@@ -86,6 +86,7 @@ export declare class KbqPopoverTrigger extends KbqPopUpTrigger<KbqPopoverCompone
86
86
  visibleChange: EventEmitter<boolean>;
87
87
  protected originSelector: string;
88
88
  protected get overlayConfig(): OverlayConfig;
89
+ ngOnInit(): void;
89
90
  ngAfterContentInit(): void;
90
91
  updateData(): void;
91
92
  /** Updates the position of the current popover. */
@@ -94,7 +95,8 @@ export declare class KbqPopoverTrigger extends KbqPopUpTrigger<KbqPopoverCompone
94
95
  updateClassMap(newPlacement?: string): void;
95
96
  closingActionsForClick(): import("rxjs").Observable<MouseEvent>[];
96
97
  defaultClosingActions(): import("rxjs").Observable<MouseEvent>[];
97
- closingActions(): import("rxjs").Observable<void | MouseEvent | CdkScrollable>;
98
+ closingActions(): import("rxjs").Observable<void | CdkScrollable | MouseEvent>;
99
+ private hideIfNotInViewPort;
98
100
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqPopoverTrigger, never>;
99
101
  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; }; "hasCloseButton": { "alias": "hasCloseButton"; "required": false; }; "closeOnScroll": { "alias": "closeOnScroll"; "required": false; }; "backdropClass": { "alias": "backdropClass"; "required": false; }; "arrow": { "alias": "kbqPopoverArrow"; "required": false; }; "offset": { "alias": "kbqPopoverOffset"; "required": false; }; }, { "placementChange": "kbqPopoverPlacementChange"; "visibleChange": "kbqPopoverVisibleChange"; }, never, never, false, never>;
100
102
  static ngAcceptInputType_arrow: unknown;
@@ -27,8 +27,8 @@ 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.25.0");
31
- utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/angular-luxon-adapter', "^18.25.0");
30
+ utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/cdk', "^18.26.0");
31
+ utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/angular-luxon-adapter', "^18.26.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
34
  utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/icons', "^9.4.0");
@@ -3,14 +3,14 @@
3
3
  --kbq-sidepanel-size-medium-width: 640px;
4
4
  --kbq-sidepanel-size-large-width: 960px;
5
5
  --kbq-sidepanel-size-header-padding-vertical: var(--kbq-size-l);
6
- --kbq-sidepanel-size-header-padding-left: var(--kbq-size-3xl);
7
- --kbq-sidepanel-size-header-padding-right: var(--kbq-size-m);
6
+ --kbq-sidepanel-size-header-padding-left: var(--kbq-size-xxl);
7
+ --kbq-sidepanel-size-header-padding-right: var(--kbq-size-l);
8
8
  --kbq-sidepanel-size-close-button-margin-left: var(--kbq-size-s);
9
- --kbq-sidepanel-size-content-padding-horizontal: var(--kbq-size-3xl);
9
+ --kbq-sidepanel-size-content-padding-horizontal: var(--kbq-size-xxl);
10
10
  --kbq-sidepanel-size-content-padding-bottom: var(--kbq-size-xxl);
11
11
  --kbq-sidepanel-size-footer-padding-top: var(--kbq-size-s);
12
12
  --kbq-sidepanel-size-footer-padding-bottom: var(--kbq-size-3xl);
13
- --kbq-sidepanel-size-footer-padding-horizontal: var(--kbq-size-3xl);
13
+ --kbq-sidepanel-size-footer-padding-horizontal: var(--kbq-size-xxl);
14
14
  --kbq-sidepanel-size-footer-content-gap-horizontal: var(--kbq-size-l);
15
15
  /* THEME TOKENS */
16
16
  --kbq-sidepanel-overlay-background: var(--kbq-background-overlay);
@@ -1,6 +1,6 @@
1
1
  .kbq-textarea {
2
2
  --kbq-textarea-size-min-height: 64px;
3
3
  --kbq-textarea-size-max-height: 96px;
4
- --kbq-textarea-size-padding-vertical: var(--kbq-size-xs);
4
+ --kbq-textarea-size-padding-vertical: 5px;
5
5
  --kbq-textarea-size-padding-horizontal: var(--kbq-size-m);
6
6
  }
@@ -1,12 +1,13 @@
1
- .kbq-top-bar {
1
+ :where(.kbq-top-bar) {
2
2
  --kbq-top-bar-position: sticky;
3
3
  --kbq-top-bar-background: var(--kbq-background-bg);
4
4
  --kbq-top-bar-spacer-min-width: 80px;
5
5
  --kbq-top-bar-padding-vertical: var(--kbq-size-xl);
6
6
  --kbq-top-bar-padding-horizontal: var(--kbq-size-xxl);
7
7
  --kbq-top-bar-border-radius: 0;
8
- --kbq-top-bar-left-gap: 0;
9
- --kbq-top-bar-right-gap: var(--kbq-size-s);
8
+ --kbq-top-bar-container-start-gap: 0;
9
+ --kbq-top-bar-container-start-basis: 0;
10
+ --kbq-top-bar-container-end-gap: var(--kbq-size-s);
10
11
  --kbq-top-bar-shadow-bottom: var(--kbq-shadow-overflow-normal-bottom);
11
12
  --kbq-top-bar-shadow-transition: ease-out 300ms;
12
13
  }
@@ -1,3 +1,4 @@
1
+ import { KbqOverflowItems } from '@koobiq/components/overflow-items';
1
2
  import * as i0 from "@angular/core";
2
3
  export declare class KbqTopBarSpacer {
3
4
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqTopBarSpacer, never>;
@@ -11,6 +12,12 @@ export declare class KbqTopBarContainer {
11
12
  * Conditionally applies a CSS class based on the value
12
13
  */
13
14
  placement: import("@angular/core").InputSignal<"start" | "end">;
15
+ /**
16
+ * Track if container has `KbqOverflowItems` directive assigned.
17
+ * Used to replace `gap` with `margin` so `KbqOverflowItems` will calculate correct width on resize.
18
+ * @docs-private
19
+ */
20
+ protected readonly overflowItems: KbqOverflowItems | null;
14
21
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqTopBarContainer, never>;
15
22
  static ɵdir: i0.ɵɵDirectiveDeclaration<KbqTopBarContainer, "[kbqTopBarContainer]", never, { "placement": { "alias": "placement"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
16
23
  }
@@ -14,17 +14,41 @@
14
14
 
15
15
  .kbq-top-bar-spacer {
16
16
  height: 100%;
17
- flex: 1 0 var(--kbq-top-bar-spacer-min-width);
17
+ flex: 0 0 var(--kbq-top-bar-spacer-min-width);
18
18
  }
19
19
 
20
20
  .kbq-top-bar-container__start {
21
21
  display: flex;
22
- gap: var(--kbq-top-bar-left-gap);
22
+ gap: var(--kbq-top-bar-container-start-gap);
23
+ flex: 1 0 var(--kbq-top-bar-container-start-basis);
24
+ justify-content: flex-start;
25
+ min-width: 0;
23
26
  }
24
27
 
25
28
  .kbq-top-bar-container__end {
26
29
  display: flex;
27
- gap: var(--kbq-top-bar-right-gap);
30
+ gap: var(--kbq-top-bar-container-end-gap);
31
+ justify-content: end;
32
+ }
33
+
34
+ .kbq-top-bar-container__with-overflow-items {
35
+ gap: unset;
36
+ padding: 1px;
37
+
38
+ > .kbq-overflow-item {
39
+ &:not(:last-of-type) {
40
+ margin-right: var(--kbq-top-bar-container-end-gap);
41
+ }
42
+
43
+ // apply margin if the last item needs to be alwaysVisible
44
+ &:last-of-type:is([aria-hidden='false']) + .kbq-overflow-items-result {
45
+ margin-left: var(--kbq-top-bar-container-end-gap);
46
+ }
47
+ }
48
+
49
+ .kbq-overflow-items-result:first-child {
50
+ margin-right: var(--kbq-top-bar-container-end-gap);
51
+ }
28
52
  }
29
53
 
30
54
  &.kbq-top-bar_with-shadow {