@koobiq/components 18.31.0 → 18.32.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 (215) hide show
  1. package/actions-panel/actions-panel-config.d.ts +2 -0
  2. package/actions-panel/actions-panel.d.ts +3 -57
  3. package/autocomplete/autocomplete-trigger.directive.d.ts +3 -4
  4. package/autocomplete/autocomplete.component.d.ts +1 -0
  5. package/autocomplete/autocomplete.module.d.ts +1 -1
  6. package/button-toggle/button-toggle.module.d.ts +3 -4
  7. package/code-block/code-block-highlight.d.ts +1 -2
  8. package/code-block/code-block.d.ts +57 -10
  9. package/core/common-behaviors/color.d.ts +3 -0
  10. package/core/common-behaviors/common-module.d.ts +16 -3
  11. package/core/form-field/form-field-ref.d.ts +5 -3
  12. package/core/option/option.d.ts +2 -2
  13. package/core/public-api.d.ts +1 -0
  14. package/core/styles/common/_select.scss +10 -24
  15. package/core/styles/theming/_theming.scss +0 -4
  16. package/core/tokens/index.d.ts +1 -0
  17. package/core/tokens/window.d.ts +5 -0
  18. package/core/validation/validation.d.ts +23 -2
  19. package/datepicker/datepicker-input.scss +1 -5
  20. package/dropdown/dropdown-trigger.directive.d.ts +1 -0
  21. package/ellipsis-center/ellipsis-center.directive.d.ts +7 -1
  22. package/esm2022/actions-panel/actions-panel-config.mjs +1 -1
  23. package/esm2022/actions-panel/actions-panel.mjs +16 -113
  24. package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +9 -13
  25. package/esm2022/autocomplete/autocomplete.component.mjs +10 -2
  26. package/esm2022/autocomplete/autocomplete.module.mjs +5 -11
  27. package/esm2022/breadcrumbs/breadcrumbs.mjs +1 -1
  28. package/esm2022/button-toggle/button-toggle.module.mjs +5 -6
  29. package/esm2022/code-block/code-block-highlight.mjs +8 -12
  30. package/esm2022/code-block/code-block.mjs +60 -18
  31. package/esm2022/core/common-behaviors/color.mjs +4 -1
  32. package/esm2022/core/common-behaviors/common-module.mjs +19 -26
  33. package/esm2022/core/form-field/form-field-ref.mjs +3 -4
  34. package/esm2022/core/option/option.mjs +7 -5
  35. package/esm2022/core/public-api.mjs +2 -1
  36. package/esm2022/core/tokens/index.mjs +2 -0
  37. package/esm2022/core/tokens/window.mjs +19 -0
  38. package/esm2022/core/utils/utils.mjs +2 -1
  39. package/esm2022/core/validation/validation.mjs +21 -2
  40. package/esm2022/core/version.mjs +2 -2
  41. package/esm2022/datepicker/calendar-body.component.mjs +3 -3
  42. package/esm2022/datepicker/calendar-header.component.mjs +3 -3
  43. package/esm2022/dropdown/dropdown-trigger.directive.mjs +4 -3
  44. package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +8 -1
  45. package/esm2022/file-upload/multiple-file-upload.component.mjs +2 -2
  46. package/esm2022/filter-bar/filter-bar.mjs +17 -3
  47. package/esm2022/filter-bar/filter-search.mjs +2 -2
  48. package/esm2022/filter-bar/filters.mjs +3 -3
  49. package/esm2022/filter-bar/pipes/pipe-date.mjs +5 -11
  50. package/esm2022/filter-bar/pipes/pipe-datetime.mjs +5 -11
  51. package/esm2022/filter-bar/pipes/pipe-multi-select.mjs +2 -2
  52. package/esm2022/filter-bar/pipes/pipe-multi-tree-select.mjs +2 -2
  53. package/esm2022/filter-bar/pipes/pipe-select.mjs +2 -2
  54. package/esm2022/filter-bar/pipes/pipe-text.mjs +2 -2
  55. package/esm2022/filter-bar/pipes/pipe-tree-select.mjs +2 -2
  56. package/esm2022/form-field/cleaner.mjs +11 -6
  57. package/esm2022/form-field/error.mjs +20 -0
  58. package/esm2022/form-field/fieldset.mjs +84 -0
  59. package/esm2022/form-field/form-field-control.mjs +2 -2
  60. package/esm2022/form-field/form-field.mjs +247 -74
  61. package/esm2022/form-field/form-field.module.mjs +59 -47
  62. package/esm2022/form-field/hint.mjs +10 -18
  63. package/esm2022/form-field/label.mjs +19 -0
  64. package/esm2022/form-field/password-hint.mjs +6 -5
  65. package/esm2022/form-field/password-toggle.mjs +52 -27
  66. package/esm2022/form-field/prefix.mjs +9 -3
  67. package/esm2022/form-field/public-api.mjs +5 -2
  68. package/esm2022/form-field/reactive-password-hint.mjs +65 -0
  69. package/esm2022/form-field/stepper.mjs +34 -16
  70. package/esm2022/form-field/suffix.mjs +8 -3
  71. package/esm2022/form-field/validate.directive.mjs +16 -19
  72. package/esm2022/input/input-number.mjs +7 -2
  73. package/esm2022/input/input.module.mjs +1 -5
  74. package/esm2022/modal/modal-util.mjs +2 -1
  75. package/esm2022/navbar/navbar-item.component.mjs +10 -11
  76. package/esm2022/overflow-items/overflow-items.mjs +27 -10
  77. package/esm2022/radio/radio.module.mjs +4 -5
  78. package/esm2022/scrollbar/scrollbar.component.mjs +14 -11
  79. package/esm2022/scrollbar/scrollbar.directive.mjs +2 -1
  80. package/esm2022/select/select.component.mjs +11 -8
  81. package/esm2022/sidepanel/sidepanel.module.mjs +1 -5
  82. package/esm2022/splitter/splitter.component.mjs +5 -3
  83. package/esm2022/tabs/paginated-tab-header.mjs +6 -2
  84. package/esm2022/tabs/tabs.module.mjs +1 -5
  85. package/esm2022/tags/tag-list.component.mjs +2 -2
  86. package/esm2022/textarea/textarea.component.mjs +7 -6
  87. package/esm2022/textarea/textarea.module.mjs +4 -5
  88. package/esm2022/timezone/timezone-select.component.mjs +6 -4
  89. package/esm2022/toast/toast-animations.mjs +2 -2
  90. package/esm2022/toast/toast.component.mjs +3 -3
  91. package/esm2022/toggle/toggle.component.mjs +3 -3
  92. package/esm2022/toggle/toggle.module.mjs +4 -5
  93. package/esm2022/top-bar/top-bar.mjs +2 -2
  94. package/esm2022/tree/padding.directive.mjs +8 -6
  95. package/esm2022/tree-select/tree-select.component.mjs +18 -13
  96. package/fesm2022/koobiq-components-actions-panel.mjs +16 -112
  97. package/fesm2022/koobiq-components-actions-panel.mjs.map +1 -1
  98. package/fesm2022/koobiq-components-autocomplete.mjs +21 -24
  99. package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
  100. package/fesm2022/koobiq-components-breadcrumbs.mjs +1 -1
  101. package/fesm2022/koobiq-components-breadcrumbs.mjs.map +1 -1
  102. package/fesm2022/koobiq-components-button-toggle.mjs +5 -5
  103. package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
  104. package/fesm2022/koobiq-components-code-block.mjs +65 -28
  105. package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
  106. package/fesm2022/koobiq-components-core.mjs +68 -35
  107. package/fesm2022/koobiq-components-core.mjs.map +1 -1
  108. package/fesm2022/koobiq-components-datepicker.mjs +4 -4
  109. package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
  110. package/fesm2022/koobiq-components-dropdown.mjs +3 -2
  111. package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
  112. package/fesm2022/koobiq-components-ellipsis-center.mjs +7 -0
  113. package/fesm2022/koobiq-components-ellipsis-center.mjs.map +1 -1
  114. package/fesm2022/koobiq-components-file-upload.mjs +1 -1
  115. package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
  116. package/fesm2022/koobiq-components-filter-bar.mjs +30 -29
  117. package/fesm2022/koobiq-components-filter-bar.mjs.map +1 -1
  118. package/fesm2022/koobiq-components-form-field.mjs +610 -219
  119. package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
  120. package/fesm2022/koobiq-components-input.mjs +7 -5
  121. package/fesm2022/koobiq-components-input.mjs.map +1 -1
  122. package/fesm2022/koobiq-components-modal.mjs +1 -0
  123. package/fesm2022/koobiq-components-modal.mjs.map +1 -1
  124. package/fesm2022/koobiq-components-navbar.mjs +9 -10
  125. package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
  126. package/fesm2022/koobiq-components-overflow-items.mjs +26 -9
  127. package/fesm2022/koobiq-components-overflow-items.mjs.map +1 -1
  128. package/fesm2022/koobiq-components-radio.mjs +4 -4
  129. package/fesm2022/koobiq-components-radio.mjs.map +1 -1
  130. package/fesm2022/koobiq-components-scrollbar.mjs +14 -10
  131. package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -1
  132. package/fesm2022/koobiq-components-select.mjs +11 -8
  133. package/fesm2022/koobiq-components-select.mjs.map +1 -1
  134. package/fesm2022/koobiq-components-sidepanel.mjs +1 -4
  135. package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
  136. package/fesm2022/koobiq-components-splitter.mjs +4 -2
  137. package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
  138. package/fesm2022/koobiq-components-tabs.mjs +5 -5
  139. package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
  140. package/fesm2022/koobiq-components-tags.mjs +2 -2
  141. package/fesm2022/koobiq-components-tags.mjs.map +1 -1
  142. package/fesm2022/koobiq-components-textarea.mjs +9 -8
  143. package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
  144. package/fesm2022/koobiq-components-timezone.mjs +5 -3
  145. package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
  146. package/fesm2022/koobiq-components-toast.mjs +3 -3
  147. package/fesm2022/koobiq-components-toast.mjs.map +1 -1
  148. package/fesm2022/koobiq-components-toggle.mjs +6 -6
  149. package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
  150. package/fesm2022/koobiq-components-top-bar.mjs +2 -2
  151. package/fesm2022/koobiq-components-top-bar.mjs.map +1 -1
  152. package/fesm2022/koobiq-components-tree-select.mjs +18 -13
  153. package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
  154. package/fesm2022/koobiq-components-tree.mjs +7 -5
  155. package/fesm2022/koobiq-components-tree.mjs.map +1 -1
  156. package/file-upload/multiple-file-upload.component.d.ts +1 -1
  157. package/form-field/_fiedset-theme.scss +13 -0
  158. package/form-field/_form-field-theme.scss +29 -13
  159. package/form-field/_hint-theme.scss +21 -22
  160. package/form-field/cleaner.d.ts +5 -1
  161. package/form-field/cleaner.scss +1 -4
  162. package/form-field/error.d.ts +8 -0
  163. package/form-field/fieldset-tokens.scss +5 -0
  164. package/form-field/fieldset.d.ts +27 -0
  165. package/form-field/fieldset.scss +93 -0
  166. package/form-field/form-field-control.d.ts +1 -1
  167. package/form-field/form-field-tokens.scss +13 -3
  168. package/form-field/form-field.d.ts +210 -22
  169. package/form-field/form-field.module.d.ts +14 -12
  170. package/form-field/form-field.scss +58 -78
  171. package/form-field/hint.d.ts +5 -1
  172. package/form-field/hint.scss +3 -5
  173. package/form-field/label.d.ts +6 -0
  174. package/form-field/password-hint.d.ts +1 -1
  175. package/form-field/password-toggle.d.ts +25 -11
  176. package/form-field/password-toggle.scss +1 -2
  177. package/form-field/prefix.d.ts +2 -1
  178. package/form-field/public-api.d.ts +4 -1
  179. package/form-field/reactive-password-hint.d.ts +19 -0
  180. package/form-field/stepper.d.ts +20 -8
  181. package/form-field/stepper.scss +12 -11
  182. package/form-field/suffix.d.ts +2 -1
  183. package/form-field/validate.directive.d.ts +10 -12
  184. package/input/input-tokens.scss +2 -2
  185. package/input/input.module.d.ts +3 -4
  186. package/input/input.scss +1 -2
  187. package/navbar/navbar-item.component.d.ts +3 -1
  188. package/overflow-items/overflow-items.d.ts +12 -5
  189. package/package.json +4 -4
  190. package/prebuilt-themes/dark-theme.css +1 -1
  191. package/prebuilt-themes/light-theme.css +1 -1
  192. package/prebuilt-themes/theme.css +1 -1
  193. package/radio/radio.module.d.ts +1 -2
  194. package/schematics/ng-add/index.js +2 -2
  195. package/scrollbar/scrollbar.component.d.ts +1 -0
  196. package/select/select-tokens.scss +5 -4
  197. package/select/select.component.d.ts +4 -2
  198. package/sidepanel/sidepanel.module.d.ts +5 -6
  199. package/splitter/splitter.component.d.ts +1 -0
  200. package/tabs/paginated-tab-header.d.ts +1 -0
  201. package/tabs/tabs.module.d.ts +5 -6
  202. package/tags/tag-list.scss +8 -4
  203. package/textarea/textarea.component.d.ts +1 -0
  204. package/textarea/textarea.module.d.ts +2 -3
  205. package/timepicker/timepicker.scss +1 -1
  206. package/toast/toast.component.scss +2 -0
  207. package/toggle/_toggle-theme.scss +10 -2
  208. package/toggle/toggle-tokens.scss +7 -1
  209. package/toggle/toggle.module.d.ts +1 -2
  210. package/toggle/toggle.scss +6 -6
  211. package/top-bar/top-bar.scss +48 -32
  212. package/tree/padding.directive.d.ts +1 -1
  213. package/tree-select/tree-select.component.d.ts +2 -0
  214. package/esm2022/form-field/form-field-errors.mjs +0 -7
  215. package/form-field/form-field-errors.d.ts +0 -2
@@ -9,13 +9,12 @@ import * as i7 from "./tab-content.directive";
9
9
  import * as i8 from "@angular/cdk/portal";
10
10
  import * as i9 from "@angular/cdk/a11y";
11
11
  import * as i10 from "@angular/cdk/scrolling";
12
- import * as i11 from "@koobiq/components/core";
13
- import * as i12 from "@koobiq/components/icon";
14
- import * as i13 from "@koobiq/components/tooltip";
15
- import * as i14 from "@angular/cdk/observers";
16
- import * as i15 from "./tab-nav-bar";
12
+ import * as i11 from "@koobiq/components/icon";
13
+ import * as i12 from "@koobiq/components/tooltip";
14
+ import * as i13 from "@angular/cdk/observers";
15
+ import * as i14 from "./tab-nav-bar";
17
16
  export declare class KbqTabsModule {
18
17
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqTabsModule, never>;
19
- static ɵmod: i0.ɵɵNgModuleDeclaration<KbqTabsModule, [typeof i1.KbqTabGroup, typeof i2.KbqTabLabel, typeof i3.KbqTab, typeof i4.KbqTabLabelWrapper, typeof i5.KbqTabBody, typeof i5.KbqTabBodyPortal, typeof i6.KbqTabHeader, typeof i7.KbqTabContent, typeof i1.KbqAlignTabsCenterCssStyler, typeof i1.KbqAlignTabsEndCssStyler, typeof i1.KbqStretchTabsCssStyler, typeof i1.KbqVerticalTabsCssStyler], [typeof i8.PortalModule, typeof i9.A11yModule, typeof i10.CdkScrollableModule, typeof i11.KbqCommonModule, typeof i12.KbqIconModule, typeof i13.KbqToolTipModule, typeof i14.CdkObserveContent, typeof i15.KbqTabNavBar, typeof i15.KbqTabLink, typeof i15.KbqTabNavPanel], [typeof i1.KbqTabGroup, typeof i2.KbqTabLabel, typeof i3.KbqTab, typeof i4.KbqTabLabelWrapper, typeof i5.KbqTabBody, typeof i5.KbqTabBodyPortal, typeof i6.KbqTabHeader, typeof i7.KbqTabContent, typeof i1.KbqAlignTabsCenterCssStyler, typeof i1.KbqAlignTabsEndCssStyler, typeof i1.KbqStretchTabsCssStyler, typeof i1.KbqVerticalTabsCssStyler, typeof i15.KbqTabNavBar, typeof i15.KbqTabLink, typeof i15.KbqTabNavPanel]>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KbqTabsModule, [typeof i1.KbqTabGroup, typeof i2.KbqTabLabel, typeof i3.KbqTab, typeof i4.KbqTabLabelWrapper, typeof i5.KbqTabBody, typeof i5.KbqTabBodyPortal, typeof i6.KbqTabHeader, typeof i7.KbqTabContent, typeof i1.KbqAlignTabsCenterCssStyler, typeof i1.KbqAlignTabsEndCssStyler, typeof i1.KbqStretchTabsCssStyler, typeof i1.KbqVerticalTabsCssStyler], [typeof i8.PortalModule, typeof i9.A11yModule, typeof i10.CdkScrollableModule, typeof i11.KbqIconModule, typeof i12.KbqToolTipModule, typeof i13.CdkObserveContent, typeof i14.KbqTabNavBar, typeof i14.KbqTabLink, typeof i14.KbqTabNavPanel], [typeof i1.KbqTabGroup, typeof i2.KbqTabLabel, typeof i3.KbqTab, typeof i4.KbqTabLabelWrapper, typeof i5.KbqTabBody, typeof i5.KbqTabBodyPortal, typeof i6.KbqTabHeader, typeof i7.KbqTabContent, typeof i1.KbqAlignTabsCenterCssStyler, typeof i1.KbqAlignTabsEndCssStyler, typeof i1.KbqStretchTabsCssStyler, typeof i1.KbqVerticalTabsCssStyler, typeof i14.KbqTabNavBar, typeof i14.KbqTabLink, typeof i14.KbqTabNavPanel]>;
20
19
  static ɵinj: i0.ɵɵInjectorDeclaration<KbqTabsModule>;
21
20
  }
@@ -57,9 +57,13 @@
57
57
 
58
58
  .kbq-form-field-type-tag-list {
59
59
  & .kbq-form-field__container {
60
- padding: kbq-difference-series-css-variables([tag-input-size-padding-vertical, form-field-size-border-width])
61
- var(--kbq-tag-input-size-padding-right)
62
- kbq-difference-series-css-variables([tag-input-size-padding-vertical, form-field-size-border-width])
63
- var(--kbq-tag-input-size-padding-left);
60
+ padding-top: kbq-difference-series-css-variables(
61
+ [tag-input-size-padding-vertical,
62
+ form-field-size-border-width]
63
+ );
64
+ padding-bottom: kbq-difference-series-css-variables(
65
+ [tag-input-size-padding-vertical,
66
+ form-field-size-border-width]
67
+ );
64
68
  }
65
69
  }
@@ -23,6 +23,7 @@ export declare class KbqTextarea implements KbqFormFieldControl<any>, OnInit, On
23
23
  set canGrow(value: boolean);
24
24
  protected readonly isBrowser: boolean;
25
25
  protected readonly renderer: Renderer2;
26
+ private readonly window;
26
27
  private _canGrow;
27
28
  /** Maximum number of lines to which the textarea will grow. Default unlimited */
28
29
  maxRows: number;
@@ -1,10 +1,9 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./textarea.component";
3
3
  import * as i2 from "@angular/cdk/a11y";
4
- import * as i3 from "@koobiq/components/core";
5
- import * as i4 from "@angular/forms";
4
+ import * as i3 from "@angular/forms";
6
5
  export declare class KbqTextareaModule {
7
6
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqTextareaModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<KbqTextareaModule, [typeof i1.KbqTextarea], [typeof i2.A11yModule, typeof i3.KbqCommonModule, typeof i4.FormsModule], [typeof i1.KbqTextarea]>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KbqTextareaModule, [typeof i1.KbqTextarea], [typeof i2.A11yModule, typeof i3.FormsModule], [typeof i1.KbqTextarea]>;
9
8
  static ɵinj: i0.ɵɵInjectorDeclaration<KbqTextareaModule>;
10
9
  }
@@ -6,5 +6,5 @@
6
6
  }
7
7
 
8
8
  .kbq-form-field-type-timepicker {
9
- width: auto;
9
+ width: 136px;
10
10
  }
@@ -70,6 +70,8 @@
70
70
  .kbq-toast__content {
71
71
  display: flex;
72
72
  flex-direction: column;
73
+
74
+ white-space: pre-wrap;
73
75
  }
74
76
 
75
77
  .kbq-toast__actions {
@@ -49,10 +49,18 @@
49
49
  }
50
50
  }
51
51
 
52
- &.kbq-disabled,
53
- &.kbq-active.kbq-disabled {
52
+ &.kbq-disabled {
54
53
  @include _kbq-toggle-state($type, states-disabled);
55
54
  }
55
+
56
+ &.kbq-active.kbq-disabled,
57
+ &.kbq-indeterminate.kbq-disabled {
58
+ @include _kbq-toggle-state($type, states-active-disabled);
59
+
60
+ .kbq-toggle-bar {
61
+ opacity: var(--kbq-opacity-disabled);
62
+ }
63
+ }
56
64
  }
57
65
 
58
66
  @mixin kbq-toggle-theme() {
@@ -30,13 +30,16 @@
30
30
  --kbq-toggle-theme-states-disabled-border: var(--kbq-states-line-disabled);
31
31
  --kbq-toggle-theme-states-disabled-background: var(--kbq-states-background-disabled);
32
32
  --kbq-toggle-theme-states-disabled-circle-background: var(--kbq-states-icon-disabled);
33
+ --kbq-toggle-theme-states-active-disabled-border: var(--kbq-background-theme);
34
+ --kbq-toggle-theme-states-active-disabled-background: var(--kbq-background-theme);
35
+ --kbq-toggle-theme-states-active-disabled-circle-background: var(--kbq-icon-white);
33
36
  --kbq-toggle-error-default-border: var(--kbq-line-error);
34
37
  --kbq-toggle-error-default-background: var(--kbq-background-error-less);
35
38
  --kbq-toggle-error-default-circle-background: var(--kbq-icon-error);
36
39
  --kbq-toggle-error-states-hover-border: var(--kbq-line-error);
37
40
  --kbq-toggle-error-states-hover-background: var(--kbq-states-background-error-fade-hover);
38
41
  --kbq-toggle-error-states-hover-circle-background: var(--kbq-icon-error);
39
- --kbq-toggle-error-states-checked-border: var(--kbq-line-error);
42
+ --kbq-toggle-error-states-checked-border: var(--kbq-background-error);
40
43
  --kbq-toggle-error-states-checked-background: var(--kbq-background-error);
41
44
  --kbq-toggle-error-states-checked-circle-background: var(--kbq-icon-white);
42
45
  --kbq-toggle-error-states-checked-hover-border: var(--kbq-line-error);
@@ -53,4 +56,7 @@
53
56
  --kbq-toggle-error-states-disabled-border: var(--kbq-states-line-disabled);
54
57
  --kbq-toggle-error-states-disabled-background: var(--kbq-states-background-disabled);
55
58
  --kbq-toggle-error-states-disabled-circle-background: var(--kbq-states-icon-disabled);
59
+ --kbq-toggle-error-states-active-disabled-border: var(--kbq-background-error);
60
+ --kbq-toggle-error-states-active-disabled-background: var(--kbq-background-error);
61
+ --kbq-toggle-error-states-active-disabled-circle-background: var(--kbq-icon-white);
56
62
  }
@@ -1,9 +1,8 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./toggle.component";
3
3
  import * as i2 from "@angular/cdk/a11y";
4
- import * as i3 from "@koobiq/components/core";
5
4
  export declare class KbqToggleModule {
6
5
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqToggleModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<KbqToggleModule, [typeof i1.KbqToggleComponent], [typeof i2.A11yModule, typeof i3.KbqCommonModule], [typeof i1.KbqToggleComponent]>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KbqToggleModule, [typeof i1.KbqToggleComponent], [typeof i2.A11yModule], [typeof i1.KbqToggleComponent]>;
8
7
  static ɵinj: i0.ɵɵInjectorDeclaration<KbqToggleModule>;
9
8
  }
@@ -84,15 +84,15 @@ $toggle-thumb-offset: 8px;
84
84
  }
85
85
  }
86
86
 
87
- .kbq-toggle-bar {
87
+ &:not(.kbq-disabled) .kbq-toggle-bar:hover {
88
88
  .kbq-toggle__thumb {
89
- display: block;
89
+ left: $toggle-thumb-offset + 2px;
90
90
  }
91
+ }
91
92
 
92
- &:hover {
93
- .kbq-toggle__thumb {
94
- left: $toggle-thumb-offset + 2px;
95
- }
93
+ .kbq-toggle-bar {
94
+ .kbq-toggle__thumb {
95
+ display: block;
96
96
  }
97
97
  }
98
98
  }
@@ -1,5 +1,24 @@
1
1
  @use '../core/styles/common/tokens';
2
2
 
3
+ @mixin _overflow-items-margins {
4
+ padding: var(--kbq-size-border-width);
5
+
6
+ > .kbq-overflow-item {
7
+ &:not(:last-of-type) {
8
+ margin-right: var(--kbq-top-bar-container-end-gap);
9
+ }
10
+
11
+ // apply margin if the last item needs to be alwaysVisible
12
+ &:last-of-type:is(.kbq-overflow-item_always-visible) + .kbq-overflow-items-result {
13
+ margin-left: var(--kbq-top-bar-container-end-gap);
14
+ }
15
+ }
16
+
17
+ .kbq-overflow-items-result:first-child {
18
+ margin-right: var(--kbq-top-bar-container-end-gap);
19
+ }
20
+ }
21
+
3
22
  .kbq-top-bar {
4
23
  display: flex;
5
24
  align-items: center;
@@ -12,49 +31,46 @@
12
31
  padding: var(--kbq-top-bar-padding-vertical) var(--kbq-top-bar-padding-horizontal);
13
32
  border-radius: var(--kbq-top-bar-border-radius);
14
33
 
34
+ &.kbq-top-bar_with-shadow {
35
+ box-shadow: var(--kbq-top-bar-shadow-bottom);
36
+ transition: box-shadow var(--kbq-top-bar-shadow-transition);
37
+ }
38
+
15
39
  .kbq-top-bar-spacer {
16
40
  height: 100%;
17
41
  flex: 0 0 var(--kbq-top-bar-spacer-min-width);
18
42
  }
19
43
 
20
- .kbq-top-bar-container__start {
21
- display: flex;
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;
26
- }
27
-
28
- .kbq-top-bar-container__end {
29
- display: flex;
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
- justify-content: unset;
37
- padding: 1px;
44
+ .kbq-top-bar-container {
45
+ &:has(> .kbq-overflow-items) {
46
+ gap: unset;
47
+ overflow: hidden;
48
+ }
38
49
 
39
- > .kbq-overflow-item {
40
- &:not(:last-of-type) {
41
- margin-right: var(--kbq-top-bar-container-end-gap);
42
- }
50
+ .kbq-overflow-items {
51
+ @include _overflow-items-margins;
52
+ }
43
53
 
44
- // apply margin if the last item needs to be alwaysVisible
45
- &:last-of-type:is([aria-hidden='false']) + .kbq-overflow-items-result {
46
- margin-left: var(--kbq-top-bar-container-end-gap);
47
- }
54
+ &.kbq-top-bar-container__start {
55
+ display: flex;
56
+ gap: var(--kbq-top-bar-container-start-gap);
57
+ flex: 1 0 var(--kbq-top-bar-container-start-basis);
58
+ justify-content: flex-start;
59
+ min-width: 0;
48
60
  }
49
61
 
50
- .kbq-overflow-items-result:first-child {
51
- margin-right: var(--kbq-top-bar-container-end-gap);
62
+ &.kbq-top-bar-container__end {
63
+ display: flex;
64
+ gap: var(--kbq-top-bar-container-end-gap);
65
+ justify-content: end;
52
66
  }
53
- }
54
67
 
55
- &.kbq-top-bar_with-shadow {
56
- box-shadow: var(--kbq-top-bar-shadow-bottom);
57
- transition: box-shadow var(--kbq-top-bar-shadow-transition);
68
+ &.kbq-top-bar-container__with-overflow-items {
69
+ gap: unset;
70
+ justify-content: unset;
71
+
72
+ @include _overflow-items-margins;
73
+ }
58
74
  }
59
75
 
60
76
  @include tokens.kbq-typography-level-to-styles-css-variables(typography, text-normal);
@@ -17,9 +17,9 @@ export declare class KbqTreeNodePadding<T> implements AfterViewInit {
17
17
  set indent(indent: number | string);
18
18
  private _indent;
19
19
  get leftPadding(): number;
20
+ get leftPaddingForFirstLevel(): number;
20
21
  /** CSS units used for the indentation value. */
21
22
  indentUnits: string;
22
- baseLeftPadding: number;
23
23
  withIcon: boolean;
24
24
  iconWidth: number;
25
25
  constructor(treeNode: KbqTreeNode<T>, tree: KbqTreeBase<T>, renderer: Renderer2, element: ElementRef<HTMLElement>, option: KbqTreeOption, dir: Directionality);
@@ -201,6 +201,7 @@ export declare class KbqTreeSelect extends KbqAbstractSelect implements AfterCon
201
201
  private readonly uid;
202
202
  private tempValues;
203
203
  private readonly destroyRef;
204
+ private readonly window;
204
205
  constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, ngZone: NgZone, renderer: Renderer2, defaultErrorStateMatcher: ErrorStateMatcher, scrollStrategyFactory: any, dir: Directionality, parentForm: NgForm, parentFormGroup: FormGroupDirective, parentFormField: KbqFormField, ngControl: NgControl, localeService?: KbqLocaleService | undefined);
205
206
  ngOnInit(): void;
206
207
  ngAfterContentInit(): void;
@@ -303,6 +304,7 @@ export declare class KbqTreeSelect extends KbqAbstractSelect implements AfterCon
303
304
  private subscribeOnSearchChanges;
304
305
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqTreeSelect, [null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; host: true; }, { optional: true; self: true; }, { optional: true; }]>;
305
306
  static ɵcmp: i0.ɵɵComponentDeclaration<KbqTreeSelect, "kbq-tree-select", ["kbqTreeSelect"], { "hiddenItemsText": { "alias": "hiddenItemsText"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "backdropClass": { "alias": "backdropClass"; "required": false; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; "sortComparator": { "alias": "sortComparator"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "autoSelect": { "alias": "autoSelect"; "required": false; }; "id": { "alias": "id"; "required": false; }; "hasBackdrop": { "alias": "hasBackdrop"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "selectAllHandler": { "alias": "selectAllHandler"; "required": false; }; "panelWidth": { "alias": "panelWidth"; "required": false; }; "hiddenItemsTextFormatter": { "alias": "hiddenItemsTextFormatter"; "required": false; }; }, { "openedChange": "openedChange"; "openedStream": "opened"; "closedStream": "closed"; "selectionChange": "selectionChange"; "valueChange": "valueChange"; }, ["cleaner", "customTrigger", "customMatcher", "customTagTemplateRef", "tree", "search"], ["kbq-select-matcher, [kbq-select-matcher]", "kbq-select-trigger, [kbq-select-trigger]", "kbq-cleaner", "[kbqSelectSearch]", "[kbq-select-search-empty-result]", "kbq-tree-selection", "kbq-select-footer,[kbq-tree-select-footer]"], false, never>;
307
+ static ngAcceptInputType_multiple: unknown;
306
308
  static ngAcceptInputType_tabIndex: unknown;
307
309
  static ngAcceptInputType_disabled: unknown;
308
310
  }
@@ -1,7 +0,0 @@
1
- export function getKbqFormFieldMissingControlError() {
2
- return Error('kbq-form-field must contain a KbqFormFieldControl.');
3
- }
4
- export function getKbqFormFieldYouCanNotUseCleanerInNumberInputError() {
5
- return Error(`You can't use kbq-cleaner with input that have type="number"`);
6
- }
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC1lcnJvcnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9jb21wb25lbnRzL2Zvcm0tZmllbGQvZm9ybS1maWVsZC1lcnJvcnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxVQUFVLGtDQUFrQztJQUM5QyxPQUFPLEtBQUssQ0FBQyxvREFBb0QsQ0FBQyxDQUFDO0FBQ3ZFLENBQUM7QUFFRCxNQUFNLFVBQVUsb0RBQW9EO0lBQ2hFLE9BQU8sS0FBSyxDQUFDLDhEQUE4RCxDQUFDLENBQUM7QUFDakYsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBmdW5jdGlvbiBnZXRLYnFGb3JtRmllbGRNaXNzaW5nQ29udHJvbEVycm9yKCk6IEVycm9yIHtcbiAgICByZXR1cm4gRXJyb3IoJ2ticS1mb3JtLWZpZWxkIG11c3QgY29udGFpbiBhIEticUZvcm1GaWVsZENvbnRyb2wuJyk7XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBnZXRLYnFGb3JtRmllbGRZb3VDYW5Ob3RVc2VDbGVhbmVySW5OdW1iZXJJbnB1dEVycm9yKCk6IEVycm9yIHtcbiAgICByZXR1cm4gRXJyb3IoYFlvdSBjYW4ndCB1c2Uga2JxLWNsZWFuZXIgd2l0aCBpbnB1dCB0aGF0IGhhdmUgdHlwZT1cIm51bWJlclwiYCk7XG59XG4iXX0=
@@ -1,2 +0,0 @@
1
- export declare function getKbqFormFieldMissingControlError(): Error;
2
- export declare function getKbqFormFieldYouCanNotUseCleanerInNumberInputError(): Error;