@koobiq/components 18.31.0 → 18.33.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 (305) hide show
  1. package/accordion/accordion-trigger.component.scss +2 -0
  2. package/actions-panel/actions-panel-config.d.ts +2 -0
  3. package/actions-panel/actions-panel.d.ts +3 -57
  4. package/autocomplete/autocomplete-trigger.directive.d.ts +3 -4
  5. package/autocomplete/autocomplete.component.d.ts +1 -0
  6. package/autocomplete/autocomplete.module.d.ts +1 -1
  7. package/button-toggle/button-toggle.module.d.ts +3 -4
  8. package/code-block/code-block-highlight.d.ts +1 -2
  9. package/code-block/code-block.d.ts +57 -10
  10. package/core/common-behaviors/color.d.ts +3 -0
  11. package/core/common-behaviors/common-module.d.ts +16 -3
  12. package/core/form-field/form-field-ref.d.ts +5 -3
  13. package/core/option/action-container.d.ts +5 -0
  14. package/core/option/action-container.scss +45 -0
  15. package/core/option/action.d.ts +1 -4
  16. package/core/option/action.scss +13 -12
  17. package/core/option/index.d.ts +1 -0
  18. package/core/option/option.d.ts +6 -5
  19. package/core/public-api.d.ts +1 -0
  20. package/core/styles/common/_select.scss +60 -37
  21. package/core/styles/common/_tokens.scss +2 -0
  22. package/core/styles/theming/_theming.scss +0 -4
  23. package/core/tokens/index.d.ts +1 -0
  24. package/core/tokens/window.d.ts +5 -0
  25. package/core/validation/validation.d.ts +23 -2
  26. package/datepicker/datepicker-input.scss +1 -5
  27. package/dropdown/dropdown-trigger.directive.d.ts +1 -0
  28. package/ellipsis-center/ellipsis-center.directive.d.ts +7 -1
  29. package/esm2022/accordion/accordion-trigger.component.mjs +2 -2
  30. package/esm2022/accordion/accordion.component.mjs +2 -2
  31. package/esm2022/actions-panel/actions-panel-config.mjs +1 -1
  32. package/esm2022/actions-panel/actions-panel.mjs +16 -113
  33. package/esm2022/alert/alert.component.mjs +2 -2
  34. package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +9 -13
  35. package/esm2022/autocomplete/autocomplete.component.mjs +10 -2
  36. package/esm2022/autocomplete/autocomplete.module.mjs +5 -11
  37. package/esm2022/badge/badge.component.mjs +2 -2
  38. package/esm2022/breadcrumbs/breadcrumbs.mjs +3 -6
  39. package/esm2022/button/button.component.mjs +4 -3
  40. package/esm2022/button-toggle/button-toggle.component.mjs +2 -2
  41. package/esm2022/button-toggle/button-toggle.module.mjs +5 -6
  42. package/esm2022/checkbox/checkbox.mjs +2 -2
  43. package/esm2022/code-block/code-block-highlight.mjs +8 -12
  44. package/esm2022/code-block/code-block.mjs +60 -18
  45. package/esm2022/core/common-behaviors/color.mjs +4 -1
  46. package/esm2022/core/common-behaviors/common-module.mjs +19 -26
  47. package/esm2022/core/form-field/form-field-ref.mjs +3 -4
  48. package/esm2022/core/option/action-container.mjs +23 -0
  49. package/esm2022/core/option/action.mjs +16 -30
  50. package/esm2022/core/option/index.mjs +2 -1
  51. package/esm2022/core/option/optgroup.mjs +2 -2
  52. package/esm2022/core/option/option.mjs +10 -8
  53. package/esm2022/core/public-api.mjs +2 -1
  54. package/esm2022/core/tokens/index.mjs +2 -0
  55. package/esm2022/core/tokens/window.mjs +19 -0
  56. package/esm2022/core/utils/utils.mjs +2 -1
  57. package/esm2022/core/validation/validation.mjs +21 -2
  58. package/esm2022/core/version.mjs +2 -2
  59. package/esm2022/datepicker/calendar-body.component.mjs +3 -3
  60. package/esm2022/datepicker/calendar-header.component.mjs +3 -3
  61. package/esm2022/datepicker/datepicker-input.directive.mjs +5 -1
  62. package/esm2022/datepicker/datepicker.component.mjs +3 -3
  63. package/esm2022/dl/dl.component.mjs +2 -2
  64. package/esm2022/dropdown/dropdown-trigger.directive.mjs +4 -3
  65. package/esm2022/dropdown/dropdown.component.mjs +3 -3
  66. package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +8 -1
  67. package/esm2022/empty-state/empty-state.component.mjs +2 -2
  68. package/esm2022/file-upload/multiple-file-upload.component.mjs +4 -4
  69. package/esm2022/file-upload/single-file-upload.component.mjs +2 -2
  70. package/esm2022/filter-bar/filter-bar.mjs +21 -5
  71. package/esm2022/filter-bar/filter-bar.types.mjs +1 -1
  72. package/esm2022/filter-bar/filter-reset.mjs +2 -1
  73. package/esm2022/filter-bar/filter-search.mjs +2 -2
  74. package/esm2022/filter-bar/filters.mjs +4 -3
  75. package/esm2022/filter-bar/pipe-add.mjs +2 -2
  76. package/esm2022/filter-bar/pipes/base-pipe.mjs +7 -2
  77. package/esm2022/filter-bar/pipes/pipe-date.mjs +6 -12
  78. package/esm2022/filter-bar/pipes/pipe-datetime.mjs +6 -12
  79. package/esm2022/filter-bar/pipes/pipe-multi-select.mjs +2 -2
  80. package/esm2022/filter-bar/pipes/pipe-multi-tree-select.mjs +2 -2
  81. package/esm2022/filter-bar/pipes/pipe-select.mjs +2 -2
  82. package/esm2022/filter-bar/pipes/pipe-text.mjs +2 -2
  83. package/esm2022/filter-bar/pipes/pipe-tree-select.mjs +2 -2
  84. package/esm2022/form-field/cleaner.mjs +11 -6
  85. package/esm2022/form-field/error.mjs +20 -0
  86. package/esm2022/form-field/fieldset.mjs +84 -0
  87. package/esm2022/form-field/form-field-control.mjs +2 -2
  88. package/esm2022/form-field/form-field.mjs +247 -74
  89. package/esm2022/form-field/form-field.module.mjs +59 -47
  90. package/esm2022/form-field/hint.mjs +10 -18
  91. package/esm2022/form-field/label.mjs +19 -0
  92. package/esm2022/form-field/password-hint.mjs +7 -6
  93. package/esm2022/form-field/password-toggle.mjs +52 -27
  94. package/esm2022/form-field/prefix.mjs +9 -3
  95. package/esm2022/form-field/public-api.mjs +5 -2
  96. package/esm2022/form-field/reactive-password-hint.mjs +65 -0
  97. package/esm2022/form-field/stepper.mjs +34 -16
  98. package/esm2022/form-field/suffix.mjs +8 -3
  99. package/esm2022/form-field/validate.directive.mjs +16 -19
  100. package/esm2022/input/input-number.mjs +7 -2
  101. package/esm2022/input/input-password.mjs +2 -2
  102. package/esm2022/input/input.module.mjs +1 -5
  103. package/esm2022/list/list-selection.component.mjs +5 -5
  104. package/esm2022/list/list.component.mjs +2 -2
  105. package/esm2022/list/list.module.mjs +12 -5
  106. package/esm2022/loader-overlay/loader-overlay.component.mjs +2 -2
  107. package/esm2022/modal/modal-util.mjs +2 -1
  108. package/esm2022/modal/modal.component.mjs +2 -2
  109. package/esm2022/navbar/navbar-item.component.mjs +12 -13
  110. package/esm2022/navbar/navbar.component.mjs +2 -2
  111. package/esm2022/navbar/vertical-navbar.component.mjs +2 -2
  112. package/esm2022/overflow-items/overflow-items.mjs +27 -10
  113. package/esm2022/popover/popover-confirm.component.mjs +3 -3
  114. package/esm2022/popover/popover.component.mjs +3 -3
  115. package/esm2022/progress-bar/progress-bar.component.mjs +2 -2
  116. package/esm2022/progress-spinner/progress-spinner.component.mjs +2 -2
  117. package/esm2022/radio/radio.component.mjs +2 -2
  118. package/esm2022/radio/radio.module.mjs +4 -5
  119. package/esm2022/risk-level/risk-level.component.mjs +2 -2
  120. package/esm2022/scrollbar/scrollbar.component.mjs +14 -11
  121. package/esm2022/scrollbar/scrollbar.directive.mjs +2 -1
  122. package/esm2022/select/select.component.mjs +42 -22
  123. package/esm2022/sidepanel/sidepanel-container.component.mjs +3 -3
  124. package/esm2022/sidepanel/sidepanel.module.mjs +1 -5
  125. package/esm2022/splitter/splitter.component.mjs +5 -3
  126. package/esm2022/table/table.component.mjs +2 -2
  127. package/esm2022/tabs/paginated-tab-header.mjs +6 -2
  128. package/esm2022/tabs/tabs.module.mjs +1 -5
  129. package/esm2022/tags/tag-list.component.mjs +2 -2
  130. package/esm2022/textarea/textarea.component.mjs +7 -6
  131. package/esm2022/textarea/textarea.module.mjs +4 -5
  132. package/esm2022/timezone/timezone-option.component.mjs +2 -2
  133. package/esm2022/timezone/timezone-select.component.mjs +6 -4
  134. package/esm2022/toast/toast-animations.mjs +2 -2
  135. package/esm2022/toast/toast.component.mjs +3 -3
  136. package/esm2022/toggle/toggle.component.mjs +3 -3
  137. package/esm2022/toggle/toggle.module.mjs +4 -5
  138. package/esm2022/tooltip/tooltip.component.mjs +3 -3
  139. package/esm2022/top-bar/top-bar.mjs +2 -2
  140. package/esm2022/tree/padding.directive.mjs +8 -6
  141. package/esm2022/tree/toggle.mjs +2 -2
  142. package/esm2022/tree/tree-option.component.mjs +3 -3
  143. package/esm2022/tree/tree-selection.component.mjs +2 -2
  144. package/esm2022/tree/tree.mjs +2 -2
  145. package/esm2022/tree/tree.module.mjs +8 -5
  146. package/esm2022/tree-select/tree-select.component.mjs +50 -31
  147. package/fesm2022/koobiq-components-accordion.mjs +4 -4
  148. package/fesm2022/koobiq-components-accordion.mjs.map +1 -1
  149. package/fesm2022/koobiq-components-actions-panel.mjs +16 -112
  150. package/fesm2022/koobiq-components-actions-panel.mjs.map +1 -1
  151. package/fesm2022/koobiq-components-alert.mjs +2 -2
  152. package/fesm2022/koobiq-components-alert.mjs.map +1 -1
  153. package/fesm2022/koobiq-components-autocomplete.mjs +21 -24
  154. package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
  155. package/fesm2022/koobiq-components-badge.mjs +2 -2
  156. package/fesm2022/koobiq-components-badge.mjs.map +1 -1
  157. package/fesm2022/koobiq-components-breadcrumbs.mjs +2 -5
  158. package/fesm2022/koobiq-components-breadcrumbs.mjs.map +1 -1
  159. package/fesm2022/koobiq-components-button-toggle.mjs +7 -7
  160. package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
  161. package/fesm2022/koobiq-components-button.mjs +3 -2
  162. package/fesm2022/koobiq-components-button.mjs.map +1 -1
  163. package/fesm2022/koobiq-components-checkbox.mjs +2 -2
  164. package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
  165. package/fesm2022/koobiq-components-code-block.mjs +65 -28
  166. package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
  167. package/fesm2022/koobiq-components-core.mjs +109 -69
  168. package/fesm2022/koobiq-components-core.mjs.map +1 -1
  169. package/fesm2022/koobiq-components-datepicker.mjs +10 -6
  170. package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
  171. package/fesm2022/koobiq-components-dl.mjs +2 -2
  172. package/fesm2022/koobiq-components-dl.mjs.map +1 -1
  173. package/fesm2022/koobiq-components-dropdown.mjs +5 -4
  174. package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
  175. package/fesm2022/koobiq-components-ellipsis-center.mjs +7 -0
  176. package/fesm2022/koobiq-components-ellipsis-center.mjs.map +1 -1
  177. package/fesm2022/koobiq-components-empty-state.mjs +2 -2
  178. package/fesm2022/koobiq-components-empty-state.mjs.map +1 -1
  179. package/fesm2022/koobiq-components-file-upload.mjs +5 -5
  180. package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
  181. package/fesm2022/koobiq-components-filter-bar.mjs +45 -35
  182. package/fesm2022/koobiq-components-filter-bar.mjs.map +1 -1
  183. package/fesm2022/koobiq-components-form-field.mjs +611 -220
  184. package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
  185. package/fesm2022/koobiq-components-input.mjs +8 -6
  186. package/fesm2022/koobiq-components-input.mjs.map +1 -1
  187. package/fesm2022/koobiq-components-list.mjs +17 -10
  188. package/fesm2022/koobiq-components-list.mjs.map +1 -1
  189. package/fesm2022/koobiq-components-loader-overlay.mjs +2 -2
  190. package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
  191. package/fesm2022/koobiq-components-modal.mjs +3 -2
  192. package/fesm2022/koobiq-components-modal.mjs.map +1 -1
  193. package/fesm2022/koobiq-components-navbar.mjs +15 -16
  194. package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
  195. package/fesm2022/koobiq-components-overflow-items.mjs +26 -9
  196. package/fesm2022/koobiq-components-overflow-items.mjs.map +1 -1
  197. package/fesm2022/koobiq-components-popover.mjs +4 -4
  198. package/fesm2022/koobiq-components-popover.mjs.map +1 -1
  199. package/fesm2022/koobiq-components-progress-bar.mjs +2 -2
  200. package/fesm2022/koobiq-components-progress-bar.mjs.map +1 -1
  201. package/fesm2022/koobiq-components-progress-spinner.mjs +2 -2
  202. package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
  203. package/fesm2022/koobiq-components-radio.mjs +6 -6
  204. package/fesm2022/koobiq-components-radio.mjs.map +1 -1
  205. package/fesm2022/koobiq-components-risk-level.mjs +2 -2
  206. package/fesm2022/koobiq-components-risk-level.mjs.map +1 -1
  207. package/fesm2022/koobiq-components-scrollbar.mjs +14 -10
  208. package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -1
  209. package/fesm2022/koobiq-components-select.mjs +42 -22
  210. package/fesm2022/koobiq-components-select.mjs.map +1 -1
  211. package/fesm2022/koobiq-components-sidepanel.mjs +3 -6
  212. package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
  213. package/fesm2022/koobiq-components-splitter.mjs +4 -2
  214. package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
  215. package/fesm2022/koobiq-components-table.mjs +2 -2
  216. package/fesm2022/koobiq-components-table.mjs.map +1 -1
  217. package/fesm2022/koobiq-components-tabs.mjs +5 -5
  218. package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
  219. package/fesm2022/koobiq-components-tags.mjs +2 -2
  220. package/fesm2022/koobiq-components-tags.mjs.map +1 -1
  221. package/fesm2022/koobiq-components-textarea.mjs +9 -8
  222. package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
  223. package/fesm2022/koobiq-components-timezone.mjs +7 -5
  224. package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
  225. package/fesm2022/koobiq-components-toast.mjs +3 -3
  226. package/fesm2022/koobiq-components-toast.mjs.map +1 -1
  227. package/fesm2022/koobiq-components-toggle.mjs +6 -6
  228. package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
  229. package/fesm2022/koobiq-components-tooltip.mjs +2 -2
  230. package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
  231. package/fesm2022/koobiq-components-top-bar.mjs +2 -2
  232. package/fesm2022/koobiq-components-top-bar.mjs.map +1 -1
  233. package/fesm2022/koobiq-components-tree-select.mjs +50 -31
  234. package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
  235. package/fesm2022/koobiq-components-tree.mjs +22 -17
  236. package/fesm2022/koobiq-components-tree.mjs.map +1 -1
  237. package/file-upload/_file-upload-theme.scss +9 -0
  238. package/file-upload/multiple-file-upload.component.d.ts +1 -1
  239. package/filter-bar/filter-bar.d.ts +2 -0
  240. package/filter-bar/filter-bar.types.d.ts +2 -2
  241. package/form-field/_fiedset-theme.scss +13 -0
  242. package/form-field/_form-field-theme.scss +29 -13
  243. package/form-field/_hint-theme.scss +21 -22
  244. package/form-field/cleaner.d.ts +5 -1
  245. package/form-field/cleaner.scss +1 -4
  246. package/form-field/error.d.ts +8 -0
  247. package/form-field/fieldset-tokens.scss +5 -0
  248. package/form-field/fieldset.d.ts +27 -0
  249. package/form-field/fieldset.scss +93 -0
  250. package/form-field/form-field-control.d.ts +1 -1
  251. package/form-field/form-field-tokens.scss +13 -3
  252. package/form-field/form-field.d.ts +210 -22
  253. package/form-field/form-field.module.d.ts +14 -12
  254. package/form-field/form-field.scss +58 -78
  255. package/form-field/hint.d.ts +5 -1
  256. package/form-field/hint.scss +3 -5
  257. package/form-field/label.d.ts +6 -0
  258. package/form-field/password-hint.d.ts +1 -1
  259. package/form-field/password-toggle.d.ts +25 -11
  260. package/form-field/password-toggle.scss +1 -2
  261. package/form-field/prefix.d.ts +2 -1
  262. package/form-field/public-api.d.ts +4 -1
  263. package/form-field/reactive-password-hint.d.ts +19 -0
  264. package/form-field/stepper.d.ts +20 -8
  265. package/form-field/stepper.scss +12 -11
  266. package/form-field/suffix.d.ts +2 -1
  267. package/form-field/validate.directive.d.ts +10 -12
  268. package/input/input-tokens.scss +2 -2
  269. package/input/input.module.d.ts +3 -4
  270. package/input/input.scss +1 -2
  271. package/list/_list-theme.scss +4 -1
  272. package/list/list.module.d.ts +2 -1
  273. package/list/list.scss +6 -12
  274. package/navbar/navbar-item.component.d.ts +3 -1
  275. package/overflow-items/overflow-items.d.ts +12 -5
  276. package/package.json +4 -4
  277. package/prebuilt-themes/dark-theme.css +1 -1
  278. package/prebuilt-themes/light-theme.css +1 -1
  279. package/prebuilt-themes/theme.css +1 -1
  280. package/radio/radio.module.d.ts +1 -2
  281. package/schematics/ng-add/index.js +3 -3
  282. package/scrollbar/scrollbar.component.d.ts +1 -0
  283. package/select/select-tokens.scss +5 -4
  284. package/select/select.component.d.ts +12 -3
  285. package/sidepanel/sidepanel.module.d.ts +5 -6
  286. package/splitter/splitter.component.d.ts +1 -0
  287. package/tabs/paginated-tab-header.d.ts +1 -0
  288. package/tabs/tabs.module.d.ts +5 -6
  289. package/tags/tag-list.scss +8 -4
  290. package/textarea/textarea.component.d.ts +1 -0
  291. package/textarea/textarea.module.d.ts +2 -3
  292. package/timepicker/timepicker.scss +1 -1
  293. package/toast/toast.component.scss +2 -0
  294. package/toggle/_toggle-theme.scss +10 -2
  295. package/toggle/toggle-tokens.scss +7 -1
  296. package/toggle/toggle.module.d.ts +1 -2
  297. package/toggle/toggle.scss +6 -6
  298. package/top-bar/top-bar.scss +48 -32
  299. package/tree/_tree-theme.scss +13 -2
  300. package/tree/padding.directive.d.ts +1 -1
  301. package/tree/tree-option.scss +12 -17
  302. package/tree/tree.module.d.ts +1 -1
  303. package/tree-select/tree-select.component.d.ts +10 -1
  304. package/esm2022/form-field/form-field-errors.mjs +0 -7
  305. package/form-field/form-field-errors.d.ts +0 -2
@@ -0,0 +1,19 @@
1
+ import { KbqHint } from './hint';
2
+ import * as i0 from "@angular/core";
3
+ /** Password hint to be shown below the password form field control. */
4
+ export declare class KbqReactivePasswordHint extends KbqHint {
5
+ private readonly formField;
6
+ private readonly destroyRef;
7
+ /** Whether the form field control has an error. */
8
+ readonly hasError: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
9
+ /**
10
+ * The form field hint icon.
11
+ *
12
+ * @docs-private
13
+ */
14
+ protected readonly icon: import("@angular/core").Signal<"kbq-check-s_16" | "kbq-xmark-s_16">;
15
+ constructor();
16
+ private makeColor;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<KbqReactivePasswordHint, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<KbqReactivePasswordHint, "kbq-reactive-password-hint", ["kbqReactivePasswordHint"], { "hasError": { "alias": "hasError"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
19
+ }
@@ -1,25 +1,37 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import { KbqFormFieldControl } from './form-field-control';
3
3
  import * as i0 from "@angular/core";
4
- /**
5
- * Used as temporary solution to resolve circular dependency.
6
- * Moving `KbqStepper` to standalone will resolve the issue
7
- */
8
4
  type KbqNumberInput = KbqFormFieldControl<unknown> & {
9
- stepUp: (val: number) => void;
10
- stepDown: (val: number) => void;
5
+ stepUp: (step: number) => void;
6
+ stepDown: (step: number) => void;
11
7
  step: number;
12
8
  };
9
+ /** Component which allow to increment or decrement number value. */
13
10
  export declare class KbqStepper {
14
11
  private readonly formField;
12
+ /** Emitted when the stepper is incremented. */
15
13
  readonly stepUp: EventEmitter<void>;
14
+ /** Emitted when the stepper is decremented. */
16
15
  readonly stepDown: EventEmitter<void>;
17
- /** Form field number control. */
16
+ /**
17
+ * Form field number control.
18
+ *
19
+ * @docs-private
20
+ */
18
21
  protected get control(): KbqNumberInput;
22
+ /**
23
+ * @docs-private
24
+ */
19
25
  connectTo(numberInput: KbqNumberInput): void;
26
+ /**
27
+ * @docs-private
28
+ */
20
29
  onStepUp($event: MouseEvent): void;
30
+ /**
31
+ * @docs-private
32
+ */
21
33
  onStepDown($event: MouseEvent): void;
22
34
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqStepper, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<KbqStepper, "kbq-stepper", never, {}, { "stepUp": "stepUp"; "stepDown": "stepDown"; }, never, never, false, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<KbqStepper, "kbq-stepper", ["kbqStepper"], {}, { "stepUp": "stepUp"; "stepDown": "stepDown"; }, never, never, true, never>;
24
36
  }
25
37
  export {};
@@ -1,25 +1,26 @@
1
1
  .kbq-stepper {
2
+ // margin used by design to reduce gap between step arrows
3
+ $step-margin: -2px;
4
+
2
5
  display: flex;
3
6
  flex-direction: column;
4
7
  justify-content: center;
5
8
  align-items: center;
6
9
 
7
- width: var(--kbq-form-field-size-icon-button-size);
8
- margin-right: var(--kbq-form-field-size-icon-button-margin-right);
10
+ width: var(--kbq-form-field-size-addon-width);
9
11
  height: 100%;
10
12
 
11
- .kbq-stepper-step-up,
12
- .kbq-stepper-step-down {
13
- cursor: pointer;
14
- width: var(--kbq-form-field-size-icon-button-size);
15
- text-align: center;
13
+ .kbq-stepper-step-up {
14
+ margin-bottom: $step-margin;
16
15
  }
17
16
 
18
- .kbq-stepper-step-up {
19
- transform: scaleY(-1);
17
+ .kbq-stepper-step-down {
18
+ margin-top: $step-margin;
20
19
  }
21
20
 
22
- .kbq-icon-button.kbq-icon-button_small {
23
- padding: 0;
21
+ .kbq-stepper-step-up,
22
+ .kbq-stepper-step-down {
23
+ width: 100%;
24
+ text-align: center;
24
25
  }
25
26
  }
@@ -1,5 +1,6 @@
1
1
  import * as i0 from "@angular/core";
2
+ /** Element to be placed at the end of the form field. */
2
3
  export declare class KbqSuffix {
3
4
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqSuffix, never>;
4
- static ɵdir: i0.ɵɵDirectiveDeclaration<KbqSuffix, "[kbqSuffix]", never, {}, {}, never, never, false, never>;
5
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KbqSuffix, "[kbqSuffix]", never, {}, {}, never, never, true, never>;
5
6
  }
@@ -1,4 +1,4 @@
1
- import { AfterContentInit, ChangeDetectorRef } from '@angular/core';
1
+ import { AfterContentInit, ChangeDetectorRef, ElementRef } from '@angular/core';
2
2
  import { AbstractControl, FormGroupDirective, NgControl, NgForm, Validator, ValidatorFn } from '@angular/forms';
3
3
  import { KbqValidationOptions } from '@koobiq/components/core';
4
4
  import { KbqFormField } from './form-field';
@@ -7,22 +7,19 @@ import * as i0 from "@angular/core";
7
7
  /**
8
8
  * @deprecated Will be removed in next major release (#DS-2838)
9
9
  *
10
- * Legacy mosaic validation
10
+ * Legacy validation directive.
11
11
  *
12
12
  * ### How to disable?
13
13
  *
14
14
  * ```typescript
15
- * import { KBQ_VALIDATION, KbqValidationOptions } from '@koobiq/components/core';
15
+ * import { kbqDisableLegacyValidationDirectiveProvider } from '@koobiq/components/core';
16
16
  *
17
17
  * @NgModule({
18
- * providers: [
19
- * {
20
- * provide: KBQ_VALIDATION,
21
- * useValue: { useValidation: false } satisfies KbqValidationOptions
22
- * }
23
- * ]
18
+ * providers: [kbqDisableLegacyValidationDirectiveProvider()]
24
19
  * })
25
20
  * ```
21
+ *
22
+ * @docs-private
26
23
  */
27
24
  export declare class KbqValidateDirective implements AfterContentInit {
28
25
  private formFieldControl;
@@ -33,13 +30,14 @@ export declare class KbqValidateDirective implements AfterContentInit {
33
30
  private mcValidation;
34
31
  private cdr;
35
32
  private readonly parentFormField;
33
+ private readonly elementRef;
36
34
  get isNgModel(): boolean;
37
35
  get isFormControlName(): boolean;
38
36
  get isFormControl(): boolean;
39
37
  get validationControl(): any;
40
38
  get parent(): NgForm;
41
39
  get hasNotSubmittedParent(): boolean;
42
- constructor(formFieldControl: KbqFormFieldControl<any>, rawValidators: Validator[], ngControl: NgControl, parentForm: NgForm, parentFormGroup: FormGroupDirective, mcValidation: KbqValidationOptions, cdr: ChangeDetectorRef, parentFormField: KbqFormField | null);
40
+ constructor(formFieldControl: KbqFormFieldControl<any>, rawValidators: Validator[], ngControl: NgControl, parentForm: NgForm, parentFormGroup: FormGroupDirective, mcValidation: KbqValidationOptions, cdr: ChangeDetectorRef, parentFormField: KbqFormField | null, elementRef: ElementRef);
43
41
  ngAfterContentInit(): void;
44
42
  setValidState(control: AbstractControl, validator: ValidatorFn): void;
45
43
  /** This function do next:
@@ -50,6 +48,6 @@ export declare class KbqValidateDirective implements AfterContentInit {
50
48
  setMosaicValidation(): void;
51
49
  setMosaicValidationForModelControl(): void;
52
50
  setMosaicValidationForFormControl(): void;
53
- static ɵfac: i0.ɵɵFactoryDeclaration<KbqValidateDirective, [null, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; }, { optional: true; }, { optional: true; }, null, { optional: true; host: true; }]>;
54
- static ɵdir: i0.ɵɵDirectiveDeclaration<KbqValidateDirective, " input[kbqInput], input[kbqNumberInput], input[kbqInputPassword], input[kbqTimepicker], input[kbqDatepicker], textarea[kbqTextarea], kbq-select, kbq-tree-select, kbq-tag-list ", ["KbqValidate"], {}, {}, never, never, false, never>;
51
+ static ɵfac: i0.ɵɵFactoryDeclaration<KbqValidateDirective, [null, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; }, { optional: true; }, { optional: true; }, null, { optional: true; host: true; }, null]>;
52
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KbqValidateDirective, " input[kbqInput], input[kbqNumberInput], input[kbqInputPassword], input[kbqTimepicker], input[kbqDatepicker], textarea[kbqTextarea], kbq-select, kbq-tree-select, kbq-tag-list ", ["KbqValidate"], {}, {}, never, never, true, never>;
55
53
  }
@@ -1,4 +1,4 @@
1
1
  .kbq-input {
2
- --kbq-input-size-padding-horizontal: var(--kbq-size-m);
3
- --kbq-input-size-padding-vertical: var(--kbq-size-xs);
2
+ --kbq-input-size-padding-horizontal: 0;
3
+ --kbq-input-size-padding-vertical: var(--kbq-form-field-size-container-vertical-padding);
4
4
  }
@@ -4,11 +4,10 @@ import * as i2 from "./input-number";
4
4
  import * as i3 from "./input-password";
5
5
  import * as i4 from "./input-number-validators";
6
6
  import * as i5 from "@angular/cdk/a11y";
7
- import * as i6 from "@koobiq/components/core";
8
- import * as i7 from "@angular/forms";
9
- import * as i8 from "@koobiq/components/icon";
7
+ import * as i6 from "@angular/forms";
8
+ import * as i7 from "@koobiq/components/icon";
10
9
  export declare class KbqInputModule {
11
10
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqInputModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<KbqInputModule, [typeof i1.KbqInput, typeof i2.KbqNumberInput, typeof i3.KbqInputPassword, typeof i1.KbqInputMono, typeof i4.MinValidator, typeof i4.MaxValidator], [typeof i5.A11yModule, typeof i6.KbqCommonModule, typeof i7.FormsModule, typeof i8.KbqIconModule], [typeof i1.KbqInput, typeof i2.KbqNumberInput, typeof i3.KbqInputPassword, typeof i1.KbqInputMono, typeof i4.MinValidator, typeof i4.MaxValidator]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KbqInputModule, [typeof i1.KbqInput, typeof i2.KbqNumberInput, typeof i3.KbqInputPassword, typeof i1.KbqInputMono, typeof i4.MinValidator, typeof i4.MaxValidator], [typeof i5.A11yModule, typeof i6.FormsModule, typeof i7.KbqIconModule], [typeof i1.KbqInput, typeof i2.KbqNumberInput, typeof i3.KbqInputPassword, typeof i1.KbqInputMono, typeof i4.MinValidator, typeof i4.MaxValidator]>;
13
12
  static ɵinj: i0.ɵɵInjectorDeclaration<KbqInputModule>;
14
13
  }
package/input/input.scss CHANGED
@@ -14,8 +14,7 @@
14
14
  width: 100%;
15
15
  min-height: kbq-difference-series-css-variables([size-3xl, calc(var(--kbq-size-border-width) * 2)]);
16
16
 
17
- padding: kbq-difference-series-css-variables([input-size-padding-vertical, size-border-width])
18
- var(--kbq-input-size-padding-horizontal);
17
+ padding: var(--kbq-input-size-padding-vertical) var(--kbq-input-size-padding-horizontal);
19
18
  }
20
19
 
21
20
  input.kbq-input[type='number'] {
@@ -1,6 +1,8 @@
1
1
  @use '../core/styles/common/tokens';
2
2
 
3
3
  @mixin _kbq-list-item($state-name) {
4
+ --kbq-option-background: var(--kbq-list-#{$state-name}-container-background);
5
+
4
6
  background: var(--kbq-list-#{$state-name}-container-background);
5
7
 
6
8
  .kbq-list-text {
@@ -24,7 +26,8 @@
24
26
  .kbq-list-option {
25
27
  @include _kbq-list-item(default);
26
28
 
27
- &:hover:not(.kbq-disabled) {
29
+ &:hover:not(.kbq-disabled),
30
+ &.kbq-action-button-focused:not(.kbq-disabled) {
28
31
  @include _kbq-list-item(states-hover);
29
32
  }
30
33
 
@@ -3,8 +3,9 @@ import * as i1 from "./list.component";
3
3
  import * as i2 from "./list-selection.component";
4
4
  import * as i3 from "@angular/cdk/a11y";
5
5
  import * as i4 from "@koobiq/components/core";
6
+ import * as i5 from "@koobiq/components/icon";
6
7
  export declare class KbqListModule {
7
8
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqListModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<KbqListModule, [typeof i1.KbqList, typeof i2.KbqListSelection, typeof i1.KbqListItem, typeof i2.KbqListOption, typeof i2.KbqListOptionCaption], [typeof i3.A11yModule, typeof i4.KbqPseudoCheckboxModule, typeof i4.KbqLineModule, typeof i4.KbqOptionModule], [typeof i1.KbqList, typeof i2.KbqListSelection, typeof i1.KbqListItem, typeof i2.KbqListOption, typeof i2.KbqListOptionCaption, typeof i4.KbqOptionModule]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KbqListModule, [typeof i1.KbqList, typeof i2.KbqListSelection, typeof i1.KbqListItem, typeof i2.KbqListOption, typeof i2.KbqListOptionCaption], [typeof i3.A11yModule, typeof i4.KbqPseudoCheckboxModule, typeof i4.KbqLineModule, typeof i4.KbqOptionModule, typeof i4.KbqActionContainer, typeof i5.KbqIconModule], [typeof i1.KbqList, typeof i2.KbqListSelection, typeof i1.KbqListItem, typeof i2.KbqListOption, typeof i2.KbqListOptionCaption, typeof i4.KbqOptionModule]>;
9
10
  static ɵinj: i0.ɵɵInjectorDeclaration<KbqListModule>;
10
11
  }
package/list/list.scss CHANGED
@@ -32,19 +32,13 @@
32
32
 
33
33
  &:not(.kbq-disabled) {
34
34
  cursor: pointer;
35
- }
36
-
37
- & .kbq-option-action {
38
- display: none;
39
- height: var(--kbq-size-xl);
40
- align-items: center;
41
- }
42
35
 
43
- &:not(.kbq-disabled):hover,
44
- &:not(.kbq-disabled).kbq-focused,
45
- &:not(.kbq-disabled).kbq-action-button-focused {
46
- & .kbq-option-action {
47
- display: flex;
36
+ &:hover,
37
+ &.kbq-focused,
38
+ &.kbq-action-button-focused {
39
+ & .kbq-action-container {
40
+ display: flex;
41
+ }
48
42
  }
49
43
  }
50
44
  }
@@ -24,6 +24,7 @@ export declare class KbqNavbarBento {
24
24
  export declare class KbqNavbarTitle implements AfterViewInit {
25
25
  protected readonly isBrowser: boolean;
26
26
  protected readonly nativeElement: any;
27
+ private readonly window;
27
28
  readonly hovered: Subject<boolean>;
28
29
  outerElementWidth: number;
29
30
  isTextOverflown: boolean;
@@ -88,6 +89,7 @@ export declare class KbqNavbarFocusableItem implements AfterContentInit, AfterVi
88
89
  export declare class KbqNavbarRectangleElement {
89
90
  protected readonly isBrowser: boolean;
90
91
  protected readonly nativeElement: any;
92
+ private readonly window;
91
93
  readonly state: Subject<void>;
92
94
  get horizontal(): boolean;
93
95
  set horizontal(value: boolean);
@@ -141,6 +143,7 @@ export declare class KbqNavbarToggle extends KbqTooltipTrigger implements OnDest
141
143
  navbar: KbqVerticalNavbar;
142
144
  private changeDetectorRef;
143
145
  protected readonly document: Document;
146
+ private readonly window;
144
147
  customIcon: KbqIcon;
145
148
  get content(): string | TemplateRef<any>;
146
149
  set content(content: string | TemplateRef<any>);
@@ -150,7 +153,6 @@ export declare class KbqNavbarToggle extends KbqTooltipTrigger implements OnDest
150
153
  onKeydown($event: KeyboardEvent): void;
151
154
  ngOnDestroy(): void;
152
155
  toggle: () => void;
153
- private getWindow;
154
156
  private windowToggleHandler;
155
157
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqNavbarToggle, never>;
156
158
  static ɵcmp: i0.ɵɵComponentDeclaration<KbqNavbarToggle, "kbq-navbar-toggle", never, { "content": { "alias": "kbqCollapsedTooltip"; "required": false; }; }, {}, ["customIcon"], ["[kbq-icon]", "kbq-navbar-title"], false, never>;
@@ -65,6 +65,10 @@ export declare class KbqOverflowItem extends ElementVisibilityManager {
65
65
  * Directive for managing the visibility of items that overflow the container.
66
66
  */
67
67
  export declare class KbqOverflowItems {
68
+ private readonly elementRef;
69
+ private readonly resizeObserver;
70
+ private readonly renderer;
71
+ private readonly document;
68
72
  /**
69
73
  * `KbqOverflowItem` directive references.
70
74
  */
@@ -85,6 +89,12 @@ export declare class KbqOverflowItems {
85
89
  * @default 0
86
90
  */
87
91
  readonly debounceTime: import("@angular/core").InputSignalWithTransform<number, unknown>;
92
+ /**
93
+ * List of additional elements to observe for resize changes.
94
+ *
95
+ * @default document.body
96
+ */
97
+ readonly additionalResizeObserverTargets: import("@angular/core").InputSignal<Element | Element[]>;
88
98
  /**
89
99
  * Emits when the set of hidden items changes.
90
100
  */
@@ -93,11 +103,8 @@ export declare class KbqOverflowItems {
93
103
  * Set of hidden item IDs.
94
104
  */
95
105
  readonly hiddenItemIDs: import("@angular/core").Signal<ReadonlySet<unknown>>;
96
- private readonly elementRef;
97
- private readonly resizeObserver;
98
- private readonly renderer;
99
- private readonly document;
100
106
  constructor();
107
+ private setupObservers;
101
108
  /**
102
109
  * Sort items by their `order` attribute.
103
110
  * If an item does not have an `order` defined, its index is used as a fallback.
@@ -121,5 +128,5 @@ export declare class KbqOverflowItems {
121
128
  */
122
129
  private readonly hasScrollbar;
123
130
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqOverflowItems, never>;
124
- static ɵdir: i0.ɵɵDirectiveDeclaration<KbqOverflowItems, "[kbqOverflowItems]", ["kbqOverflowItems"], { "reverseOverflowOrder": { "alias": "reverseOverflowOrder"; "required": false; "isSignal": true; }; "debounceTime": { "alias": "debounceTime"; "required": false; "isSignal": true; }; }, { "changes": "changes"; }, ["items", "result"], never, true, never>;
131
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KbqOverflowItems, "[kbqOverflowItems]", ["kbqOverflowItems"], { "reverseOverflowOrder": { "alias": "reverseOverflowOrder"; "required": false; "isSignal": true; }; "debounceTime": { "alias": "debounceTime"; "required": false; "isSignal": true; }; "additionalResizeObserverTargets": { "alias": "additionalResizeObserverTargets"; "required": false; "isSignal": true; }; }, { "changes": "changes"; }, ["items", "result"], never, true, never>;
125
132
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@koobiq/components",
3
- "version": "18.31.0",
3
+ "version": "18.33.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.31.0",
28
- "@koobiq/angular-moment-adapter": "18.31.0",
29
- "@koobiq/angular-luxon-adapter": "18.31.0",
27
+ "@koobiq/cdk": "18.33.0",
28
+ "@koobiq/angular-moment-adapter": "18.33.0",
29
+ "@koobiq/angular-luxon-adapter": "18.33.0",
30
30
  "@koobiq/date-formatter": "^3.2.3",
31
31
  "@koobiq/icons": "^10.4.0",
32
32
  "@koobiq/tokens-builder": "3.11.0",