@koobiq/components 18.28.0 → 18.30.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 (410) hide show
  1. package/accordion/accordion-trigger.component.scss +2 -0
  2. package/actions-panel/actions-panel-container.scss +4 -1
  3. package/actions-panel/actions-panel-tokens.scss +2 -1
  4. package/breadcrumbs/breadcrumbs.d.ts +1 -1
  5. package/checkbox/checkbox.scss +2 -0
  6. package/code-block/_code-block-theme.scss +4 -12
  7. package/code-block/code-block-tokens.scss +3 -2
  8. package/code-block/code-block.scss +41 -10
  9. package/core/common-behaviors/clipboard.d.ts +12 -0
  10. package/core/common-behaviors/index.d.ts +1 -0
  11. package/core/formatters/filesize/config.d.ts +66 -0
  12. package/core/formatters/filesize/formatter.d.ts +17 -0
  13. package/core/{utils/data-size → formatters/filesize}/index.d.ts +1 -1
  14. package/core/formatters/filesize/size.d.ts +52 -0
  15. package/core/formatters/index.d.ts +3 -1
  16. package/core/formatters/number/formatter.d.ts +13 -4
  17. package/core/forms/validators.d.ts +13 -0
  18. package/core/locales/formatters.d.ts +9 -1
  19. package/core/locales/locale-service.d.ts +9 -1
  20. package/core/locales/types.d.ts +14 -0
  21. package/core/pop-up/pop-up-trigger.d.ts +3 -4
  22. package/core/pop-up/pop-up.d.ts +2 -1
  23. package/core/select/common.d.ts +3 -3
  24. package/core/utils/public-api.d.ts +0 -1
  25. package/datepicker/calendar.scss +2 -0
  26. package/datepicker/datepicker-tokens.scss +1 -1
  27. package/dropdown/dropdown-item.component.d.ts +3 -1
  28. package/ellipsis-center/ellipsis-center.directive.d.ts +8 -2
  29. package/esm2022/accordion/accordion-content.mjs +4 -4
  30. package/esm2022/accordion/accordion-header.mjs +4 -4
  31. package/esm2022/accordion/accordion-item.mjs +4 -4
  32. package/esm2022/accordion/accordion-trigger.component.mjs +6 -6
  33. package/esm2022/accordion/accordion.component.mjs +4 -4
  34. package/esm2022/accordion/accordion.module.mjs +5 -5
  35. package/esm2022/actions-panel/actions-panel-container.mjs +6 -6
  36. package/esm2022/actions-panel/actions-panel.mjs +13 -13
  37. package/esm2022/actions-panel/module.mjs +5 -5
  38. package/esm2022/alert/alert.component.mjs +13 -13
  39. package/esm2022/alert/alert.module.mjs +5 -5
  40. package/esm2022/autocomplete/autocomplete-origin.directive.mjs +4 -4
  41. package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +4 -4
  42. package/esm2022/autocomplete/autocomplete.component.mjs +4 -4
  43. package/esm2022/autocomplete/autocomplete.module.mjs +5 -5
  44. package/esm2022/badge/badge.component.mjs +10 -10
  45. package/esm2022/badge/badge.module.mjs +5 -5
  46. package/esm2022/breadcrumbs/breadcrumbs.mjs +17 -17
  47. package/esm2022/breadcrumbs/breadcrumbs.module.mjs +5 -5
  48. package/esm2022/button/button.component.mjs +7 -7
  49. package/esm2022/button/button.dropdown-trigger.directive.mjs +4 -4
  50. package/esm2022/button/button.module.mjs +5 -5
  51. package/esm2022/button-toggle/button-toggle.component.mjs +7 -7
  52. package/esm2022/button-toggle/button-toggle.module.mjs +5 -5
  53. package/esm2022/checkbox/checkbox-module.mjs +5 -5
  54. package/esm2022/checkbox/checkbox-required-validator.mjs +4 -4
  55. package/esm2022/checkbox/checkbox.mjs +5 -5
  56. package/esm2022/code-block/code-block-highlight.mjs +4 -4
  57. package/esm2022/code-block/code-block.mjs +8 -5
  58. package/esm2022/code-block/code-block.module.mjs +5 -5
  59. package/esm2022/core/common-behaviors/clipboard.mjs +31 -0
  60. package/esm2022/core/common-behaviors/color.mjs +4 -4
  61. package/esm2022/core/common-behaviors/common-module.mjs +5 -5
  62. package/esm2022/core/common-behaviors/index.mjs +2 -1
  63. package/esm2022/core/error/error-state-matcher.mjs +10 -10
  64. package/esm2022/core/formatters/date/formatter.mjs +4 -4
  65. package/esm2022/core/formatters/date/formatter.pipe.mjs +79 -79
  66. package/esm2022/core/formatters/filesize/config.mjs +32 -0
  67. package/esm2022/core/formatters/filesize/formatter.mjs +43 -0
  68. package/esm2022/core/formatters/filesize/index.mjs +4 -0
  69. package/esm2022/core/formatters/filesize/size.mjs +65 -0
  70. package/esm2022/core/formatters/index.mjs +15 -9
  71. package/esm2022/core/formatters/number/formatter.mjs +38 -36
  72. package/esm2022/core/forms/forms-module.mjs +5 -5
  73. package/esm2022/core/forms/forms.directive.mjs +7 -7
  74. package/esm2022/core/forms/validators.mjs +22 -1
  75. package/esm2022/core/highlight/highlight.pipe.mjs +4 -4
  76. package/esm2022/core/highlight/index.mjs +5 -5
  77. package/esm2022/core/line/line.mjs +8 -8
  78. package/esm2022/core/locales/formatters.mjs +21 -13
  79. package/esm2022/core/locales/locale-service.mjs +4 -4
  80. package/esm2022/core/locales/locale-service.module.mjs +5 -5
  81. package/esm2022/core/locales/types.mjs +1 -1
  82. package/esm2022/core/option/action.mjs +4 -4
  83. package/esm2022/core/option/optgroup.mjs +4 -4
  84. package/esm2022/core/option/option-module.mjs +5 -5
  85. package/esm2022/core/option/option.mjs +4 -4
  86. package/esm2022/core/pop-up/pop-up-trigger.mjs +22 -13
  87. package/esm2022/core/pop-up/pop-up.mjs +9 -5
  88. package/esm2022/core/select/common.mjs +21 -19
  89. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +4 -4
  90. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +5 -5
  91. package/esm2022/core/services/measure-scrollbar.service.mjs +4 -4
  92. package/esm2022/core/services/theme.service.mjs +4 -4
  93. package/esm2022/core/utils/public-api.mjs +1 -2
  94. package/esm2022/core/version.mjs +2 -2
  95. package/esm2022/datepicker/calendar-body.component.mjs +4 -4
  96. package/esm2022/datepicker/calendar-header.component.mjs +4 -4
  97. package/esm2022/datepicker/calendar.component.mjs +5 -5
  98. package/esm2022/datepicker/datepicker-input.directive.mjs +4 -4
  99. package/esm2022/datepicker/datepicker-intl.mjs +4 -4
  100. package/esm2022/datepicker/datepicker-module.mjs +5 -5
  101. package/esm2022/datepicker/datepicker-toggle.component.mjs +7 -7
  102. package/esm2022/datepicker/datepicker.component.mjs +8 -8
  103. package/esm2022/datepicker/month-view.component.mjs +4 -4
  104. package/esm2022/divider/divider.component.mjs +4 -4
  105. package/esm2022/divider/divider.module.mjs +5 -5
  106. package/esm2022/dl/dl.component.mjs +10 -10
  107. package/esm2022/dl/dl.module.mjs +5 -5
  108. package/esm2022/dropdown/dropdown-content.directive.mjs +4 -4
  109. package/esm2022/dropdown/dropdown-item.component.mjs +9 -7
  110. package/esm2022/dropdown/dropdown-trigger.directive.mjs +4 -4
  111. package/esm2022/dropdown/dropdown.component.mjs +4 -4
  112. package/esm2022/dropdown/dropdown.module.mjs +5 -5
  113. package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +20 -10
  114. package/esm2022/empty-state/empty-state.component.mjs +16 -16
  115. package/esm2022/empty-state/empty-state.module.mjs +5 -5
  116. package/esm2022/file-upload/file-drop.mjs +4 -4
  117. package/esm2022/file-upload/file-upload.mjs +2 -1
  118. package/esm2022/file-upload/file-upload.module.mjs +5 -5
  119. package/esm2022/file-upload/multiple-file-upload.component.mjs +23 -9
  120. package/esm2022/file-upload/single-file-upload.component.mjs +18 -9
  121. package/esm2022/filter-bar/filter-bar-button.mjs +4 -4
  122. package/esm2022/filter-bar/filter-bar.mjs +4 -4
  123. package/esm2022/filter-bar/filter-bar.module.mjs +5 -5
  124. package/esm2022/filter-bar/filter-bar.types.mjs +32 -1
  125. package/esm2022/filter-bar/filter-refresher.mjs +4 -4
  126. package/esm2022/filter-bar/filter-reset.mjs +4 -4
  127. package/esm2022/filter-bar/filter-search.mjs +5 -5
  128. package/esm2022/filter-bar/filters.mjs +27 -20
  129. package/esm2022/filter-bar/pipe-add.mjs +5 -5
  130. package/esm2022/filter-bar/pipe.directive.mjs +4 -4
  131. package/esm2022/filter-bar/pipes/base-pipe.mjs +7 -7
  132. package/esm2022/filter-bar/pipes/pipe-button.mjs +5 -5
  133. package/esm2022/filter-bar/pipes/pipe-date.mjs +6 -6
  134. package/esm2022/filter-bar/pipes/pipe-datetime.mjs +6 -6
  135. package/esm2022/filter-bar/pipes/pipe-multi-select.mjs +29 -11
  136. package/esm2022/filter-bar/pipes/pipe-multi-tree-select.mjs +234 -0
  137. package/esm2022/filter-bar/pipes/pipe-readonly.mjs +6 -6
  138. package/esm2022/filter-bar/pipes/pipe-select.mjs +6 -6
  139. package/esm2022/filter-bar/pipes/pipe-state.mjs +4 -4
  140. package/esm2022/filter-bar/pipes/pipe-text.mjs +6 -6
  141. package/esm2022/filter-bar/pipes/pipe-title.mjs +4 -4
  142. package/esm2022/filter-bar/pipes/pipe-tree-select.mjs +136 -0
  143. package/esm2022/filter-bar/public-api.mjs +2 -1
  144. package/esm2022/form-field/cleaner.mjs +4 -4
  145. package/esm2022/form-field/form-field.mjs +16 -16
  146. package/esm2022/form-field/form-field.module.mjs +5 -5
  147. package/esm2022/form-field/hint.mjs +4 -4
  148. package/esm2022/form-field/password-hint.mjs +9 -7
  149. package/esm2022/form-field/password-toggle.mjs +4 -4
  150. package/esm2022/form-field/prefix.mjs +4 -4
  151. package/esm2022/form-field/stepper.mjs +23 -7
  152. package/esm2022/form-field/suffix.mjs +4 -4
  153. package/esm2022/form-field/validate.directive.mjs +4 -4
  154. package/esm2022/icon/icon-button.component.mjs +4 -4
  155. package/esm2022/icon/icon-item.component.mjs +4 -4
  156. package/esm2022/icon/icon.component.mjs +4 -4
  157. package/esm2022/icon/icon.module.mjs +5 -5
  158. package/esm2022/input/input-number-validators.mjs +7 -7
  159. package/esm2022/input/input-number.mjs +13 -12
  160. package/esm2022/input/input-password.mjs +4 -4
  161. package/esm2022/input/input.mjs +7 -7
  162. package/esm2022/input/input.module.mjs +5 -5
  163. package/esm2022/link/link.component.mjs +4 -4
  164. package/esm2022/link/link.module.mjs +5 -5
  165. package/esm2022/list/list-selection.component.mjs +10 -10
  166. package/esm2022/list/list.component.mjs +7 -7
  167. package/esm2022/list/list.module.mjs +5 -5
  168. package/esm2022/loader-overlay/loader-overlay.component.mjs +13 -13
  169. package/esm2022/loader-overlay/loader-overlay.module.mjs +5 -5
  170. package/esm2022/markdown/markdown.component.mjs +4 -4
  171. package/esm2022/markdown/markdown.module.mjs +5 -5
  172. package/esm2022/markdown/markdown.service.mjs +4 -4
  173. package/esm2022/modal/css-unit.pipe.mjs +4 -4
  174. package/esm2022/modal/modal-control.service.mjs +4 -4
  175. package/esm2022/modal/modal.component.mjs +4 -4
  176. package/esm2022/modal/modal.directive.mjs +13 -13
  177. package/esm2022/modal/modal.module.mjs +5 -5
  178. package/esm2022/modal/modal.service.mjs +4 -4
  179. package/esm2022/modal/modal.type.mjs +1 -1
  180. package/esm2022/navbar/navbar-item.component.mjs +28 -28
  181. package/esm2022/navbar/navbar.component.mjs +10 -10
  182. package/esm2022/navbar/navbar.module.mjs +5 -5
  183. package/esm2022/navbar/vertical-navbar.component.mjs +4 -4
  184. package/esm2022/overflow-items/module.mjs +5 -5
  185. package/esm2022/overflow-items/overflow-items.mjs +56 -83
  186. package/esm2022/popover/popover-confirm.component.mjs +7 -7
  187. package/esm2022/popover/popover.component.mjs +15 -9
  188. package/esm2022/popover/popover.module.mjs +5 -5
  189. package/esm2022/progress-bar/progress-bar.component.mjs +10 -10
  190. package/esm2022/progress-bar/progress-bar.module.mjs +5 -5
  191. package/esm2022/progress-spinner/progress-spinner.component.mjs +10 -10
  192. package/esm2022/progress-spinner/progress-spinner.module.mjs +5 -5
  193. package/esm2022/radio/radio.component.mjs +7 -7
  194. package/esm2022/radio/radio.module.mjs +5 -5
  195. package/esm2022/risk-level/risk-level.component.mjs +4 -4
  196. package/esm2022/risk-level/risk-level.module.mjs +5 -5
  197. package/esm2022/scrollbar/scrollbar.component.mjs +4 -4
  198. package/esm2022/scrollbar/scrollbar.directive.mjs +4 -4
  199. package/esm2022/scrollbar/scrollbar.module.mjs +5 -5
  200. package/esm2022/select/select-option.directive.mjs +4 -4
  201. package/esm2022/select/select.component.mjs +10 -11
  202. package/esm2022/select/select.module.mjs +5 -5
  203. package/esm2022/sidebar/sidebar.component.mjs +18 -12
  204. package/esm2022/sidebar/sidebar.module.mjs +5 -5
  205. package/esm2022/sidepanel/sidepanel-container.component.mjs +4 -4
  206. package/esm2022/sidepanel/sidepanel-directives.mjs +16 -16
  207. package/esm2022/sidepanel/sidepanel.module.mjs +5 -5
  208. package/esm2022/sidepanel/sidepanel.service.mjs +4 -4
  209. package/esm2022/splitter/splitter.component.mjs +13 -13
  210. package/esm2022/splitter/splitter.module.mjs +5 -5
  211. package/esm2022/table/table.component.mjs +7 -7
  212. package/esm2022/table/table.module.mjs +5 -5
  213. package/esm2022/tabs/paginated-tab-header.mjs +4 -4
  214. package/esm2022/tabs/tab-body.component.mjs +7 -7
  215. package/esm2022/tabs/tab-content.directive.mjs +4 -4
  216. package/esm2022/tabs/tab-group.component.mjs +16 -16
  217. package/esm2022/tabs/tab-header.component.mjs +4 -4
  218. package/esm2022/tabs/tab-label-wrapper.directive.mjs +4 -4
  219. package/esm2022/tabs/tab-label.directive.mjs +4 -4
  220. package/esm2022/tabs/tab-nav-bar.mjs +10 -10
  221. package/esm2022/tabs/tab.component.mjs +4 -4
  222. package/esm2022/tabs/tabs.module.mjs +5 -5
  223. package/esm2022/tags/tag-input.mjs +4 -4
  224. package/esm2022/tags/tag-list.component.mjs +5 -5
  225. package/esm2022/tags/tag.component.mjs +13 -13
  226. package/esm2022/tags/tag.module.mjs +5 -5
  227. package/esm2022/textarea/textarea.component.mjs +4 -4
  228. package/esm2022/textarea/textarea.module.mjs +5 -5
  229. package/esm2022/timepicker/timepicker.directive.mjs +4 -4
  230. package/esm2022/timepicker/timepicker.module.mjs +5 -5
  231. package/esm2022/timezone/cities-by-filter.pipe.mjs +4 -4
  232. package/esm2022/timezone/timezone-option.component.mjs +4 -4
  233. package/esm2022/timezone/timezone-option.directive.mjs +4 -4
  234. package/esm2022/timezone/timezone-select.component.mjs +9 -9
  235. package/esm2022/timezone/timezone.module.mjs +5 -5
  236. package/esm2022/timezone/utc-offset.pipe.mjs +4 -4
  237. package/esm2022/title/title.directive.mjs +4 -4
  238. package/esm2022/title/title.module.mjs +5 -5
  239. package/esm2022/toast/toast-container.component.mjs +4 -4
  240. package/esm2022/toast/toast.component.mjs +7 -7
  241. package/esm2022/toast/toast.module.mjs +5 -5
  242. package/esm2022/toast/toast.service.mjs +4 -4
  243. package/esm2022/toggle/toggle.component.mjs +4 -4
  244. package/esm2022/toggle/toggle.module.mjs +5 -5
  245. package/esm2022/tooltip/tooltip.component.mjs +23 -14
  246. package/esm2022/tooltip/tooltip.module.mjs +5 -5
  247. package/esm2022/top-bar/module.mjs +5 -5
  248. package/esm2022/top-bar/top-bar.mjs +12 -12
  249. package/esm2022/tree/control/flat-tree-control.filters.mjs +10 -2
  250. package/esm2022/tree/node.mjs +4 -4
  251. package/esm2022/tree/outlet.mjs +4 -4
  252. package/esm2022/tree/padding.directive.mjs +4 -4
  253. package/esm2022/tree/toggle.mjs +10 -10
  254. package/esm2022/tree/tree-base.mjs +7 -7
  255. package/esm2022/tree/tree-option.component.mjs +11 -7
  256. package/esm2022/tree/tree-selection.component.mjs +6 -4
  257. package/esm2022/tree/tree.mjs +4 -4
  258. package/esm2022/tree/tree.module.mjs +5 -5
  259. package/esm2022/tree-select/tree-select.component.mjs +5 -5
  260. package/esm2022/tree-select/tree-select.module.mjs +5 -5
  261. package/fesm2022/koobiq-components-accordion.mjs +21 -21
  262. package/fesm2022/koobiq-components-accordion.mjs.map +1 -1
  263. package/fesm2022/koobiq-components-actions-panel.mjs +21 -21
  264. package/fesm2022/koobiq-components-actions-panel.mjs.map +1 -1
  265. package/fesm2022/koobiq-components-alert.mjs +16 -16
  266. package/fesm2022/koobiq-components-alert.mjs.map +1 -1
  267. package/fesm2022/koobiq-components-autocomplete.mjs +13 -13
  268. package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
  269. package/fesm2022/koobiq-components-badge.mjs +13 -13
  270. package/fesm2022/koobiq-components-badge.mjs.map +1 -1
  271. package/fesm2022/koobiq-components-breadcrumbs.mjs +20 -20
  272. package/fesm2022/koobiq-components-breadcrumbs.mjs.map +1 -1
  273. package/fesm2022/koobiq-components-button-toggle.mjs +10 -10
  274. package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
  275. package/fesm2022/koobiq-components-button.mjs +13 -13
  276. package/fesm2022/koobiq-components-button.mjs.map +1 -1
  277. package/fesm2022/koobiq-components-checkbox.mjs +11 -11
  278. package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
  279. package/fesm2022/koobiq-components-code-block.mjs +14 -11
  280. package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
  281. package/fesm2022/koobiq-components-core.mjs +452 -333
  282. package/fesm2022/koobiq-components-core.mjs.map +1 -1
  283. package/fesm2022/koobiq-components-datepicker.mjs +36 -36
  284. package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
  285. package/fesm2022/koobiq-components-divider.mjs +7 -7
  286. package/fesm2022/koobiq-components-divider.mjs.map +1 -1
  287. package/fesm2022/koobiq-components-dl.mjs +13 -13
  288. package/fesm2022/koobiq-components-dl.mjs.map +1 -1
  289. package/fesm2022/koobiq-components-dropdown.mjs +21 -19
  290. package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
  291. package/fesm2022/koobiq-components-ellipsis-center.mjs +19 -9
  292. package/fesm2022/koobiq-components-ellipsis-center.mjs.map +1 -1
  293. package/fesm2022/koobiq-components-empty-state.mjs +19 -19
  294. package/fesm2022/koobiq-components-empty-state.mjs.map +1 -1
  295. package/fesm2022/koobiq-components-file-upload.mjs +43 -21
  296. package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
  297. package/fesm2022/koobiq-components-filter-bar.mjs +481 -108
  298. package/fesm2022/koobiq-components-filter-bar.mjs.map +1 -1
  299. package/fesm2022/koobiq-components-form-field.mjs +66 -49
  300. package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
  301. package/fesm2022/koobiq-components-icon.mjs +13 -13
  302. package/fesm2022/koobiq-components-icon.mjs.map +1 -1
  303. package/fesm2022/koobiq-components-input.mjs +32 -31
  304. package/fesm2022/koobiq-components-input.mjs.map +1 -1
  305. package/fesm2022/koobiq-components-link.mjs +7 -7
  306. package/fesm2022/koobiq-components-link.mjs.map +1 -1
  307. package/fesm2022/koobiq-components-list.mjs +19 -19
  308. package/fesm2022/koobiq-components-list.mjs.map +1 -1
  309. package/fesm2022/koobiq-components-loader-overlay.mjs +16 -16
  310. package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
  311. package/fesm2022/koobiq-components-markdown.mjs +10 -10
  312. package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
  313. package/fesm2022/koobiq-components-modal.mjs +28 -28
  314. package/fesm2022/koobiq-components-modal.mjs.map +1 -1
  315. package/fesm2022/koobiq-components-navbar.mjs +43 -43
  316. package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
  317. package/fesm2022/koobiq-components-overflow-items.mjs +59 -86
  318. package/fesm2022/koobiq-components-overflow-items.mjs.map +1 -1
  319. package/fesm2022/koobiq-components-popover.mjs +24 -18
  320. package/fesm2022/koobiq-components-popover.mjs.map +1 -1
  321. package/fesm2022/koobiq-components-progress-bar.mjs +13 -13
  322. package/fesm2022/koobiq-components-progress-bar.mjs.map +1 -1
  323. package/fesm2022/koobiq-components-progress-spinner.mjs +13 -13
  324. package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
  325. package/fesm2022/koobiq-components-radio.mjs +10 -10
  326. package/fesm2022/koobiq-components-radio.mjs.map +1 -1
  327. package/fesm2022/koobiq-components-risk-level.mjs +7 -7
  328. package/fesm2022/koobiq-components-risk-level.mjs.map +1 -1
  329. package/fesm2022/koobiq-components-scrollbar.mjs +10 -10
  330. package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -1
  331. package/fesm2022/koobiq-components-select.mjs +16 -17
  332. package/fesm2022/koobiq-components-select.mjs.map +1 -1
  333. package/fesm2022/koobiq-components-sidebar.mjs +21 -15
  334. package/fesm2022/koobiq-components-sidebar.mjs.map +1 -1
  335. package/fesm2022/koobiq-components-sidepanel.mjs +25 -25
  336. package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
  337. package/fesm2022/koobiq-components-splitter.mjs +16 -16
  338. package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
  339. package/fesm2022/koobiq-components-table.mjs +10 -10
  340. package/fesm2022/koobiq-components-table.mjs.map +1 -1
  341. package/fesm2022/koobiq-components-tabs.mjs +52 -52
  342. package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
  343. package/fesm2022/koobiq-components-tags.mjs +23 -23
  344. package/fesm2022/koobiq-components-tags.mjs.map +1 -1
  345. package/fesm2022/koobiq-components-textarea.mjs +7 -7
  346. package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
  347. package/fesm2022/koobiq-components-timepicker.mjs +7 -7
  348. package/fesm2022/koobiq-components-timepicker.mjs.map +1 -1
  349. package/fesm2022/koobiq-components-timezone.mjs +24 -24
  350. package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
  351. package/fesm2022/koobiq-components-title.mjs +7 -7
  352. package/fesm2022/koobiq-components-title.mjs.map +1 -1
  353. package/fesm2022/koobiq-components-toast.mjs +16 -16
  354. package/fesm2022/koobiq-components-toast.mjs.map +1 -1
  355. package/fesm2022/koobiq-components-toggle.mjs +7 -7
  356. package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
  357. package/fesm2022/koobiq-components-tooltip.mjs +26 -17
  358. package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
  359. package/fesm2022/koobiq-components-top-bar.mjs +15 -15
  360. package/fesm2022/koobiq-components-top-bar.mjs.map +1 -1
  361. package/fesm2022/koobiq-components-tree-select.mjs +8 -8
  362. package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
  363. package/fesm2022/koobiq-components-tree.mjs +54 -40
  364. package/fesm2022/koobiq-components-tree.mjs.map +1 -1
  365. package/file-upload/_file-upload-theme.scss +125 -32
  366. package/file-upload/file-upload-tokens.scss +42 -14
  367. package/file-upload/file-upload.d.ts +1 -0
  368. package/file-upload/multiple-file-upload.component.d.ts +12 -5
  369. package/file-upload/multiple-file-upload.component.scss +66 -69
  370. package/file-upload/single-file-upload.component.d.ts +7 -1
  371. package/file-upload/single-file-upload.component.scss +9 -0
  372. package/filter-bar/filter-bar.types.d.ts +28 -1
  373. package/filter-bar/filters.d.ts +3 -2
  374. package/filter-bar/filters.scss +4 -0
  375. package/filter-bar/pipes/base-pipe.scss +1 -0
  376. package/filter-bar/pipes/pipe-multi-select.d.ts +6 -1
  377. package/filter-bar/pipes/pipe-multi-tree-select.d.ts +57 -0
  378. package/filter-bar/pipes/pipe-multi-tree-select.scss +19 -0
  379. package/filter-bar/pipes/pipe-tree-select.d.ts +41 -0
  380. package/filter-bar/pipes/pipe-tree-select.scss +9 -0
  381. package/filter-bar/public-api.d.ts +1 -0
  382. package/form-field/_form-field-theme.scss +12 -12
  383. package/form-field/form-field.d.ts +3 -1
  384. package/form-field/form-field.scss +58 -61
  385. package/form-field/stepper.d.ts +15 -1
  386. package/input/_input-theme.scss +6 -0
  387. package/input/input-number.d.ts +1 -0
  388. package/modal/modal.type.d.ts +1 -1
  389. package/overflow-items/overflow-items.d.ts +17 -26
  390. package/package.json +5 -5
  391. package/popover/popover.component.d.ts +4 -2
  392. package/prebuilt-themes/dark-theme.css +1 -1
  393. package/prebuilt-themes/light-theme.css +1 -1
  394. package/prebuilt-themes/theme.css +1 -1
  395. package/schematics/ng-add/index.js +5 -5
  396. package/select/_select-theme.scss +1 -1
  397. package/select/select.scss +2 -0
  398. package/tags/_tag-theme.scss +5 -0
  399. package/tags/tag-tokens.scss +17 -0
  400. package/tooltip/tooltip.component.d.ts +8 -1
  401. package/top-bar/top-bar.scss +1 -0
  402. package/tree/control/flat-tree-control.filters.d.ts +1 -0
  403. package/tree/tree-option.component.d.ts +3 -1
  404. package/core/utils/data-size/config.d.ts +0 -38
  405. package/core/utils/data-size/data-size.pipe.d.ts +0 -14
  406. package/core/utils/data-size/size.d.ts +0 -15
  407. package/esm2022/core/utils/data-size/config.mjs +0 -10
  408. package/esm2022/core/utils/data-size/data-size.pipe.mjs +0 -45
  409. package/esm2022/core/utils/data-size/index.mjs +0 -4
  410. package/esm2022/core/utils/data-size/size.mjs +0 -43
@@ -8,6 +8,8 @@
8
8
  outline: none;
9
9
 
10
10
  & .kbq-accordion-trigger__icon {
11
+ box-sizing: initial;
12
+
11
13
  padding: var(--kbq-size-xxs);
12
14
 
13
15
  transition: transform 300ms ease-out;
@@ -4,7 +4,6 @@
4
4
  box-shadow: var(--kbq-actions-panel-box-shadow);
5
5
  height: var(--kbq-actions-panel-height);
6
6
  padding: var(--kbq-actions-panel-padding);
7
- margin: var(--kbq-actions-panel-margin);
8
7
  border-radius: var(--kbq-actions-panel-border-radius);
9
8
  display: flex;
10
9
  flex-grow: 1;
@@ -26,6 +25,10 @@
26
25
  }
27
26
  }
28
27
 
28
+ .kbq-actions-panel-overlay {
29
+ margin: var(--kbq-actions-panel-margin);
30
+ }
31
+
29
32
  .kbq-actions-panel-overlay-container {
30
33
  // Required for positioning the overlay inside the custom container
31
34
  // See: KbqActionsPanelConfig.overlayContainer
@@ -1,4 +1,5 @@
1
- .kbq-actions-panel-container {
1
+ .kbq-actions-panel-container,
2
+ .kbq-actions-panel-overlay {
2
3
  --kbq-actions-panel-background-color: var(--kbq-background-contrast);
3
4
  --kbq-actions-panel-text-color: var(--kbq-foreground-on-contrast);
4
5
  --kbq-actions-panel-padding: var(--kbq-size-s);
@@ -119,7 +119,7 @@ export declare class KbqBreadcrumbs implements AfterContentInit {
119
119
  ngAfterContentInit(): void;
120
120
  private getItemWidth;
121
121
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqBreadcrumbs, never>;
122
- 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; }; "wrapMode": { "alias": "wrapMode"; "required": false; }; }, {}, ["separator", "items"], never, true, [{ directive: typeof i1.RdxRovingFocusGroupDirective; inputs: {}; outputs: {}; }]>;
122
+ 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; }; "wrapMode": { "alias": "wrapMode"; "required": false; }; }, {}, ["separator", "items"], ["*"], true, [{ directive: typeof i1.RdxRovingFocusGroupDirective; inputs: {}; outputs: {}; }]>;
123
123
  static ngAcceptInputType_firstItemNegativeMargin: unknown;
124
124
  static ngAcceptInputType_disabled: unknown;
125
125
  }
@@ -32,6 +32,8 @@
32
32
  checkbox-size-normal-horizontal-content-padding]
33
33
  );
34
34
 
35
+ box-sizing: initial;
36
+
35
37
  // required for `.cdk-visually-hidden` input to be positioned correctly
36
38
  position: relative;
37
39
 
@@ -327,13 +327,8 @@
327
327
  @include kbq-code-block-style(filled);
328
328
  }
329
329
 
330
- .kbq-code-block__content {
331
- border-color: transparent;
332
- }
333
-
334
- .kbq-code-block__content.cdk-keyboard-focused {
335
- outline: none;
336
- border-color: var(--kbq-states-line-focus-theme);
330
+ .kbq-code-block__main.cdk-keyboard-focused {
331
+ outline-color: var(--kbq-states-line-focus-theme);
337
332
  }
338
333
  }
339
334
  }
@@ -342,12 +337,9 @@
342
337
  .kbq-code-block {
343
338
  @include kbq-typography-level-to-styles-css-variables(typography, mono-codeblock);
344
339
 
345
- .kbq-code-block__content {
340
+ .kbq-code-block__pre,
341
+ .kbq-code-block__code {
346
342
  font: inherit;
347
-
348
- .kbq-code-block__code {
349
- font: inherit;
350
- }
351
343
  }
352
344
  }
353
345
  }
@@ -1,6 +1,7 @@
1
1
  .kbq-code-block {
2
- --kbq-code-block-size-container-border-width: 1px;
3
- --kbq-code-block-size-container-border-radius: var(--kbq-size-m);
2
+ --kbq-code-block-size-container-border-width: var(--kbq-size-border-width);
3
+ --kbq-code-block-size-container-border-width-focused: 2px;
4
+ --kbq-code-block-size-container-border-radius: var(--kbq-size-border-radius);
4
5
  --kbq-code-block-size-with-header-content-padding-top: var(--kbq-size-xxs);
5
6
  --kbq-code-block-size-with-header-content-padding-bottom: var(--kbq-size-l);
6
7
  --kbq-code-block-size-with-header-content-padding-horizontal: var(--kbq-size-xl);
@@ -4,11 +4,13 @@
4
4
  display: flex;
5
5
  flex-direction: column;
6
6
  position: relative;
7
- overflow: hidden;
7
+
8
8
  border-width: var(--kbq-code-block-size-container-border-width);
9
9
  border-style: solid;
10
10
  border-radius: var(--kbq-code-block-size-container-border-radius);
11
+
11
12
  box-sizing: border-box;
13
+
12
14
  hyphens: none;
13
15
  -ms-hyphens: none;
14
16
  -moz-hyphens: none;
@@ -44,21 +46,30 @@
44
46
  }
45
47
 
46
48
  &:has(.kbq-code-block__view-all) {
47
- .kbq-code-block__content {
49
+ .kbq-code-block__main {
48
50
  .kbq-code-block__code {
49
51
  padding-bottom: var(--kbq-size-3xl) !important;
50
52
  }
51
53
  }
52
54
  }
53
55
 
54
- .kbq-code-block__content {
56
+ .kbq-code-block__main {
55
57
  flex-grow: 1;
56
- margin: 0;
57
58
  flex-direction: column;
58
- border-width: var(--kbq-code-block-size-container-border-width);
59
- border-style: solid;
59
+
60
60
  border-radius: var(--kbq-code-block-size-container-border-radius);
61
61
 
62
+ &.cdk-keyboard-focused {
63
+ outline-style: solid;
64
+ outline-width: var(--kbq-code-block-size-container-border-width-focused);
65
+ outline-offset: -1px;
66
+ }
67
+
68
+ .kbq-code-block__pre {
69
+ margin: 0;
70
+ flex-grow: 1;
71
+ }
72
+
62
73
  .kbq-code-block__code {
63
74
  tab-size: var(--kbq-code-block-tab-size);
64
75
  padding: var(--kbq-code-block-size-with-header-content-padding-top)
@@ -107,12 +118,18 @@
107
118
  }
108
119
 
109
120
  &.kbq-code-block_view-all {
110
- .kbq-code-block__content {
121
+ .kbq-code-block__main {
111
122
  max-height: unset;
112
123
  overflow: auto;
113
124
  }
114
125
  }
115
126
 
127
+ &:not(.kbq-code-block_view-all) {
128
+ .kbq-code-block__main {
129
+ overflow: hidden;
130
+ }
131
+ }
132
+
116
133
  &.kbq-code-block_hide-tabs {
117
134
  .kbq-code-block__header {
118
135
  padding: 0;
@@ -126,7 +143,7 @@
126
143
  padding: var(--kbq-size-s) var(--kbq-size-m);
127
144
  }
128
145
 
129
- .kbq-code-block__content {
146
+ .kbq-code-block__main {
130
147
  position: relative;
131
148
 
132
149
  .kbq-code-block__code {
@@ -140,12 +157,24 @@
140
157
  }
141
158
  }
142
159
 
160
+ &:not(.kbq-code-block_hide-tabs) {
161
+ .kbq-code-block__header {
162
+ border-radius: var(--kbq-code-block-size-container-border-radius)
163
+ var(--kbq-code-block-size-container-border-radius) 0 0;
164
+ }
165
+
166
+ .kbq-code-block__main {
167
+ border-radius: 0 0 var(--kbq-code-block-size-container-border-radius)
168
+ var(--kbq-code-block-size-container-border-radius);
169
+ }
170
+ }
171
+
143
172
  &.kbq-code-block_show-actionbar .kbq-code-block__actionbar {
144
173
  display: flex;
145
174
  }
146
175
 
147
176
  &:not(:has(.kbq-code-block__view-all)) {
148
- .kbq-code-block__content {
177
+ .kbq-code-block__main {
149
178
  overflow: auto;
150
179
  }
151
180
  }
@@ -154,8 +183,10 @@
154
183
  display: flex;
155
184
  justify-content: center;
156
185
  width: 100%;
186
+
157
187
  position: absolute;
158
- bottom: 0;
188
+ bottom: calc(var(--kbq-code-block-size-container-border-width) * -1);
189
+
159
190
  border-radius: var(--kbq-code-block-size-container-border-radius);
160
191
 
161
192
  .kbq-code-block__view-all__wrapper {
@@ -0,0 +1,12 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class KbqNormalizeWhitespace {
4
+ /** @docs-private */
5
+ protected elementRef: ElementRef<HTMLElement>;
6
+ /**
7
+ * Replace thin-space with space on copy event
8
+ */
9
+ onCopy($event: ClipboardEvent): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<KbqNormalizeWhitespace, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KbqNormalizeWhitespace, "[kbqNormalizeWhitespace]", never, {}, {}, never, never, true, never>;
12
+ }
@@ -1,5 +1,6 @@
1
1
  import { InjectionToken } from '@angular/core';
2
2
  export * from './checkbox';
3
+ export * from './clipboard';
3
4
  export { CanColor, CanColorCtor, KbqColorDirective, KbqComponentColors, mixinColor, ThemePalette } from './color';
4
5
  export { KBQ_SANITY_CHECKS, KbqCommonModule } from './common-module';
5
6
  export { CanDisable, CanDisableCtor, mixinDisabled } from './disabled';
@@ -0,0 +1,66 @@
1
+ import { InjectionToken, Provider } from '@angular/core';
2
+ /**
3
+ * @deprecated Will be removed in next major release. Use `KbqMeasurementSystem` instead.
4
+ * @docs-private
5
+ */
6
+ export declare enum MeasurementSystem {
7
+ SI = "SI",
8
+ IEC = "IEC"
9
+ }
10
+ /**
11
+ * Available unit systems for file size formatting.
12
+ * - SI (Metric): 1 KB = 1000 bytes
13
+ * - IEC (Binary): 1 KiB = 1024 bytes
14
+ */
15
+ export declare enum KbqMeasurementSystem {
16
+ SI = "SI",
17
+ IEC = "IEC"
18
+ }
19
+ /** Unit systems as union type */
20
+ export type KbqMeasurementSystemType = keyof typeof KbqMeasurementSystem;
21
+ export interface KbqUnitSystem {
22
+ abbreviations: string[];
23
+ base: number;
24
+ power: number;
25
+ }
26
+ /**
27
+ * @deprecated Will be removed in next major release. Use `KbqSizeUnitsConfig` instead.
28
+ * @docs-private
29
+ */
30
+ export interface SizeUnitsConfig {
31
+ defaultUnitSystem: string;
32
+ defaultPrecision: number;
33
+ unitSystems: {
34
+ [MeasurementSystem.SI]: KbqUnitSystem;
35
+ [MeasurementSystem.IEC]: KbqUnitSystem;
36
+ };
37
+ }
38
+ /**
39
+ * Configuration for file size formatting options.
40
+ * Defines the default unit system, precision, and available unit systems.
41
+ */
42
+ export interface KbqSizeUnitsConfig {
43
+ /**
44
+ * Default unit system to use (e.g., 'SI' or 'IEC').
45
+ * @see KbqMeasurementSystem
46
+ */
47
+ defaultUnitSystem: KbqMeasurementSystemType;
48
+ /**
49
+ * Default number of decimal places to display in formatted output.
50
+ * @example
51
+ * `2` → "1.23 KB"
52
+ */
53
+ defaultPrecision: number;
54
+ /** @see KbqMeasurementSystem */
55
+ unitSystems: {
56
+ [KbqMeasurementSystem.SI]: KbqUnitSystem;
57
+ [KbqMeasurementSystem.IEC]: KbqUnitSystem;
58
+ };
59
+ }
60
+ export declare const KBQ_SIZE_UNITS_DEFAULT_CONFIG: KbqSizeUnitsConfig;
61
+ /**
62
+ * Configuration for converting sizes in different unit systems.
63
+ */
64
+ export declare const KBQ_SIZE_UNITS_CONFIG: InjectionToken<KbqSizeUnitsConfig>;
65
+ /** Utility provider for `KBQ_SIZE_UNITS_CONFIG`. */
66
+ export declare const kbqFilesizeFormatterConfigurationProvider: (configuration: Partial<KbqSizeUnitsConfig>) => Provider;
@@ -0,0 +1,17 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { KbqMeasurementSystemType, KbqSizeUnitsConfig } from './config';
3
+ import * as i0 from "@angular/core";
4
+ export declare class KbqDataSizePipe implements PipeTransform {
5
+ /** Injects the external configuration for size units, if available. */
6
+ readonly externalConfig: KbqSizeUnitsConfig | null;
7
+ private readonly localeService;
8
+ private readonly numberPipe;
9
+ private readonly nonBreakingSpace;
10
+ private config;
11
+ constructor();
12
+ /** Transforms bytes into localized size string */
13
+ transform(source: number, precision?: number, unitSystemName?: KbqMeasurementSystemType, locale?: string): string;
14
+ private updateLocaleParams;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<KbqDataSizePipe, never>;
16
+ static ɵpipe: i0.ɵɵPipeDeclaration<KbqDataSizePipe, "kbqDataSize", true>;
17
+ }
@@ -1,3 +1,3 @@
1
1
  export * from './config';
2
- export * from './data-size.pipe';
2
+ export * from './formatter';
3
3
  export * from './size';
@@ -0,0 +1,52 @@
1
+ import { KbqUnitSystem } from './config';
2
+ export declare const KBQ_INVALID_VALUE_ERROR = "Argument \"value\" must be a finite number!";
3
+ /**
4
+ * @deprecated Will be removed in next major release. Use `getFormattedSizeParts` instead.
5
+ * @docs-private
6
+ */
7
+ export declare const formatDataSize: (value: number, precision: number, system: KbqUnitSystem) => {
8
+ value: string;
9
+ unit: string;
10
+ };
11
+ /**
12
+ * Converts a byte value into locale-independent file size parts: numeric value and unit abbreviation.
13
+ *
14
+ * @param value - size in bytes.
15
+ * @param system - unit system defining abbreviations and base scaling (SI/IEC).
16
+ * @returns Object with the formatted size info.
17
+ *
18
+ * @example
19
+ * getFormattedSizeParts(1500, 'SI'); // { value: "1.50", unit: "KB" }
20
+ */
21
+ export declare function getFormattedSizeParts(value: number, system: KbqUnitSystem): {
22
+ value: string;
23
+ unit: string;
24
+ };
25
+ /**
26
+ * Converts a byte value into locale-independent file size parts: numeric value and unit abbreviation.
27
+ *
28
+ * @param value - size in bytes.
29
+ * @param _precision param is deprecated, use `Intl.NumberFormat` rounding options instead.
30
+ * @param system - unit system defining abbreviations and base scaling (SI/IEC).
31
+ * @returns Object with the formatted size info.
32
+ * @deprecated `_precision` - this param will be remove in next major version.
33
+ * @TODO remove deprecated (#DS-3849).
34
+ *
35
+ * @example
36
+ * getFormattedSizeParts(1500, 2, 'SI'); // { value: "1.50", unit: "KB" }
37
+ */
38
+ export declare function getFormattedSizeParts(value: number, _precision: number, system: KbqUnitSystem): {
39
+ value: string;
40
+ unit: string;
41
+ };
42
+ /**
43
+ * Converts bytes to Kb, Mb, Gb
44
+ *
45
+ * @param value the number of bytes
46
+ * @param system the measurement system
47
+ * @param threshold the lower counting threshold
48
+ */
49
+ export declare const getHumanizedBytes: (value: number, system: KbqUnitSystem, threshold?: number) => {
50
+ result: number;
51
+ unit: string;
52
+ };
@@ -1,11 +1,13 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./number/formatter";
3
3
  import * as i2 from "./date/formatter.pipe";
4
+ import * as i3 from "./filesize/formatter";
4
5
  export declare class KbqFormattersModule {
5
6
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqFormattersModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<KbqFormattersModule, [typeof i1.KbqDecimalPipe, typeof i1.KbqRoundDecimalPipe, typeof i1.KbqTableNumberPipe], [typeof i2.AbsoluteDateFormatterPipe, typeof i2.AbsoluteDateTimeFormatterPipe, typeof i2.AbsoluteDateShortFormatterPipe, typeof i2.AbsoluteShortDateTimeFormatterPipe, typeof i2.RelativeDateFormatterPipe, typeof i2.RelativeDateTimeFormatterPipe, typeof i2.RelativeShortDateFormatterPipe, typeof i2.RelativeShortDateTimeFormatterPipe, typeof i2.RangeDateFormatterPipe, typeof i2.RangeShortDateFormatterPipe, typeof i2.RangeDateTimeFormatterPipe, typeof i2.RangeShortDateTimeFormatterPipe, typeof i2.RangeMiddleDateTimeFormatterPipe, typeof i2.AbsoluteDateFormatterImpurePipe, typeof i2.AbsoluteDateTimeFormatterImpurePipe, typeof i2.AbsoluteDateShortFormatterImpurePipe, typeof i2.AbsoluteShortDateTimeFormatterImpurePipe, typeof i2.RelativeDateFormatterImpurePipe, typeof i2.RelativeDateTimeFormatterImpurePipe, typeof i2.RelativeShortDateFormatterImpurePipe, typeof i2.RelativeShortDateTimeFormatterImpurePipe, typeof i2.RangeDateFormatterImpurePipe, typeof i2.RangeShortDateFormatterImpurePipe, typeof i2.RangeDateTimeFormatterImpurePipe, typeof i2.RangeShortDateTimeFormatterImpurePipe, typeof i2.RangeMiddleDateTimeFormatterImpurePipe], [typeof i1.KbqDecimalPipe, typeof i1.KbqRoundDecimalPipe, typeof i1.KbqTableNumberPipe, typeof i2.AbsoluteDateFormatterPipe, typeof i2.AbsoluteDateTimeFormatterPipe, typeof i2.AbsoluteDateShortFormatterPipe, typeof i2.AbsoluteShortDateTimeFormatterPipe, typeof i2.RelativeDateFormatterPipe, typeof i2.RelativeDateTimeFormatterPipe, typeof i2.RelativeShortDateFormatterPipe, typeof i2.RelativeShortDateTimeFormatterPipe, typeof i2.RangeDateFormatterPipe, typeof i2.RangeShortDateFormatterPipe, typeof i2.RangeDateTimeFormatterPipe, typeof i2.RangeShortDateTimeFormatterPipe, typeof i2.RangeMiddleDateTimeFormatterPipe, typeof i2.AbsoluteDateFormatterImpurePipe, typeof i2.AbsoluteDateTimeFormatterImpurePipe, typeof i2.AbsoluteDateShortFormatterImpurePipe, typeof i2.AbsoluteShortDateTimeFormatterImpurePipe, typeof i2.RelativeDateFormatterImpurePipe, typeof i2.RelativeDateTimeFormatterImpurePipe, typeof i2.RelativeShortDateFormatterImpurePipe, typeof i2.RelativeShortDateTimeFormatterImpurePipe, typeof i2.RangeDateFormatterImpurePipe, typeof i2.RangeShortDateFormatterImpurePipe, typeof i2.RangeDateTimeFormatterImpurePipe, typeof i2.RangeShortDateTimeFormatterImpurePipe, typeof i2.RangeMiddleDateTimeFormatterImpurePipe]>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KbqFormattersModule, [typeof i1.KbqDecimalPipe, typeof i1.KbqRoundDecimalPipe, typeof i1.KbqTableNumberPipe], [typeof i2.AbsoluteDateFormatterPipe, typeof i2.AbsoluteDateTimeFormatterPipe, typeof i2.AbsoluteDateShortFormatterPipe, typeof i2.AbsoluteShortDateTimeFormatterPipe, typeof i2.RelativeDateFormatterPipe, typeof i2.RelativeDateTimeFormatterPipe, typeof i2.RelativeShortDateFormatterPipe, typeof i2.RelativeShortDateTimeFormatterPipe, typeof i2.RangeDateFormatterPipe, typeof i2.RangeShortDateFormatterPipe, typeof i2.RangeDateTimeFormatterPipe, typeof i2.RangeShortDateTimeFormatterPipe, typeof i2.RangeMiddleDateTimeFormatterPipe, typeof i2.AbsoluteDateFormatterImpurePipe, typeof i2.AbsoluteDateTimeFormatterImpurePipe, typeof i2.AbsoluteDateShortFormatterImpurePipe, typeof i2.AbsoluteShortDateTimeFormatterImpurePipe, typeof i2.RelativeDateFormatterImpurePipe, typeof i2.RelativeDateTimeFormatterImpurePipe, typeof i2.RelativeShortDateFormatterImpurePipe, typeof i2.RelativeShortDateTimeFormatterImpurePipe, typeof i2.RangeDateFormatterImpurePipe, typeof i2.RangeShortDateFormatterImpurePipe, typeof i2.RangeDateTimeFormatterImpurePipe, typeof i2.RangeShortDateTimeFormatterImpurePipe, typeof i2.RangeMiddleDateTimeFormatterImpurePipe, typeof i3.KbqDataSizePipe], [typeof i1.KbqDecimalPipe, typeof i1.KbqRoundDecimalPipe, typeof i1.KbqTableNumberPipe, typeof i2.AbsoluteDateFormatterPipe, typeof i2.AbsoluteDateTimeFormatterPipe, typeof i2.AbsoluteDateShortFormatterPipe, typeof i2.AbsoluteShortDateTimeFormatterPipe, typeof i2.RelativeDateFormatterPipe, typeof i2.RelativeDateTimeFormatterPipe, typeof i2.RelativeShortDateFormatterPipe, typeof i2.RelativeShortDateTimeFormatterPipe, typeof i2.RangeDateFormatterPipe, typeof i2.RangeShortDateFormatterPipe, typeof i2.RangeDateTimeFormatterPipe, typeof i2.RangeShortDateTimeFormatterPipe, typeof i2.RangeMiddleDateTimeFormatterPipe, typeof i2.AbsoluteDateFormatterImpurePipe, typeof i2.AbsoluteDateTimeFormatterImpurePipe, typeof i2.AbsoluteDateShortFormatterImpurePipe, typeof i2.AbsoluteShortDateTimeFormatterImpurePipe, typeof i2.RelativeDateFormatterImpurePipe, typeof i2.RelativeDateTimeFormatterImpurePipe, typeof i2.RelativeShortDateFormatterImpurePipe, typeof i2.RelativeShortDateTimeFormatterImpurePipe, typeof i2.RangeDateFormatterImpurePipe, typeof i2.RangeShortDateFormatterImpurePipe, typeof i2.RangeDateTimeFormatterImpurePipe, typeof i2.RangeShortDateTimeFormatterImpurePipe, typeof i2.RangeMiddleDateTimeFormatterImpurePipe, typeof i3.KbqDataSizePipe]>;
7
8
  static ɵinj: i0.ɵɵInjectorDeclaration<KbqFormattersModule>;
8
9
  }
9
10
  export * from './date/formatter';
10
11
  export * from './date/formatter.pipe';
12
+ export * from './filesize/index';
11
13
  export * from './number/formatter';
@@ -1,8 +1,17 @@
1
1
  import { InjectionToken, PipeTransform } from '@angular/core';
2
- import { KbqLocaleService } from '../../locales';
2
+ import { KbqLocaleService, KbqNumberFormatOptions } from '../../locales';
3
3
  import * as i0 from "@angular/core";
4
- export declare const KBQ_NUMBER_FORMATTER_OPTIONS: InjectionToken<string>;
4
+ export declare const KBQ_NUMBER_FORMATTER_OPTIONS: InjectionToken<ParsedDigitsInfo>;
5
5
  export declare const KBQ_NUMBER_FORMATTER_DEFAULT_OPTIONS: ParsedDigitsInfo;
6
+ /** Formats a number value according to locale and formatting options */
7
+ export declare function formatNumberWithLocale(value: unknown, formatter: Intl.NumberFormat, options?: KbqNumberFormatOptions): string;
8
+ /**
9
+ * Special contract between `KbqDecimalPipe` and `KbqTableNumberPipe`,
10
+ * so they can be interchangeable in the cases of usage
11
+ */
12
+ export interface KbqNumericPipe {
13
+ transform(value: unknown, digitsInfo?: string, locale?: string): string | null;
14
+ }
6
15
  export declare const NUMBER_FORMAT_REGEXP: RegExp;
7
16
  interface RoundDecimalOptions {
8
17
  separator: string;
@@ -21,7 +30,7 @@ declare class ParsedDigitsInfo {
21
30
  minimumFractionDigits: number;
22
31
  maximumFractionDigits: number;
23
32
  }
24
- export declare class KbqDecimalPipe implements PipeTransform {
33
+ export declare class KbqDecimalPipe implements KbqNumericPipe, PipeTransform {
25
34
  private id;
26
35
  private localeService;
27
36
  private readonly options;
@@ -46,7 +55,7 @@ export declare class KbqDecimalPipe implements PipeTransform {
46
55
  static ɵpipe: i0.ɵɵPipeDeclaration<KbqDecimalPipe, "kbqNumber", false>;
47
56
  static ɵprov: i0.ɵɵInjectableDeclaration<KbqDecimalPipe>;
48
57
  }
49
- export declare class KbqTableNumberPipe implements PipeTransform {
58
+ export declare class KbqTableNumberPipe implements KbqNumericPipe, PipeTransform {
50
59
  private id;
51
60
  private localeService;
52
61
  private readonly options;
@@ -104,4 +104,17 @@ export declare class FileValidators {
104
104
  * ```
105
105
  */
106
106
  static maxFileSize(maxSize: number): ValidatorFn;
107
+ /**
108
+ * Validator that checks whether file's name or MIME type
109
+ * matches one of the accepted extensions or MIME types.
110
+ *
111
+ * @param accept - Array of allowed file extensions or MIME types.
112
+ * @returns ValidatorFn that returns validation error if file type is not accepted, or null otherwise.
113
+ */
114
+ static isCorrectExtension(accept: (`.${string}` | `${string}/${string}`)[]): ValidatorFn;
107
115
  }
116
+ /**
117
+ * Type helper describing accepted file types, referring to:
118
+ * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/file#unique_file_type_specifiers
119
+ */
120
+ export type KbqFileTypeSpecifier = Parameters<typeof FileValidators.isCorrectExtension>[0];
@@ -18,7 +18,7 @@ export declare const enUSFormattersData: {
18
18
  };
19
19
  };
20
20
  sizeUnits: {
21
- defaultUnitSystem: string;
21
+ defaultUnitSystem: "SI";
22
22
  defaultPrecision: number;
23
23
  unitSystems: {
24
24
  SI: {
@@ -45,12 +45,16 @@ export declare const esLAFormattersData: {
45
45
  billion: string;
46
46
  trillion: string;
47
47
  };
48
+ decimal: {
49
+ viewGroupSeparator: string;
50
+ };
48
51
  };
49
52
  };
50
53
  input: {
51
54
  number: {
52
55
  groupSeparator: string[];
53
56
  fractionSeparator: string;
57
+ viewGroupSeparator: string;
54
58
  };
55
59
  };
56
60
  sizeUnits: {
@@ -154,6 +158,9 @@ export declare const ruRUFormattersData: {
154
158
  billion: string;
155
159
  trillion: string;
156
160
  };
161
+ decimal: {
162
+ viewGroupSeparator: string;
163
+ };
157
164
  };
158
165
  };
159
166
  input: {
@@ -161,6 +168,7 @@ export declare const ruRUFormattersData: {
161
168
  groupSeparator: string[];
162
169
  fractionSeparator: string;
163
170
  startFormattingFrom: number;
171
+ viewGroupSeparator: string;
164
172
  };
165
173
  };
166
174
  sizeUnits: {
@@ -28,7 +28,7 @@ export declare function KBQ_DEFAULT_LOCALE_DATA_FACTORY(): {
28
28
  };
29
29
  };
30
30
  sizeUnits: {
31
- defaultUnitSystem: string;
31
+ defaultUnitSystem: "SI";
32
32
  defaultPrecision: number;
33
33
  unitSystems: {
34
34
  SI: {
@@ -267,12 +267,16 @@ export declare function KBQ_DEFAULT_LOCALE_DATA_FACTORY(): {
267
267
  billion: string;
268
268
  trillion: string;
269
269
  };
270
+ decimal: {
271
+ viewGroupSeparator: string;
272
+ };
270
273
  };
271
274
  };
272
275
  input: {
273
276
  number: {
274
277
  groupSeparator: string[];
275
278
  fractionSeparator: string;
279
+ viewGroupSeparator: string;
276
280
  };
277
281
  };
278
282
  sizeUnits: {
@@ -515,6 +519,9 @@ export declare function KBQ_DEFAULT_LOCALE_DATA_FACTORY(): {
515
519
  billion: string;
516
520
  trillion: string;
517
521
  };
522
+ decimal: {
523
+ viewGroupSeparator: string;
524
+ };
518
525
  };
519
526
  };
520
527
  input: {
@@ -522,6 +529,7 @@ export declare function KBQ_DEFAULT_LOCALE_DATA_FACTORY(): {
522
529
  groupSeparator: string[];
523
530
  fractionSeparator: string;
524
531
  startFormattingFrom: number;
532
+ viewGroupSeparator: string;
525
533
  };
526
534
  };
527
535
  sizeUnits: {
@@ -15,3 +15,17 @@ export type KbqCodeBlockLocaleConfiguration = {
15
15
  export type KbqActionsPanelLocaleConfiguration = {
16
16
  closeTooltip: string;
17
17
  };
18
+ /** Options for overriding locale-based number formatting */
19
+ export type KbqNumberFormatOptions = {
20
+ /** Overrides the default group separator in the formatted output */
21
+ viewGroupSeparator?: string;
22
+ };
23
+ /** Locale configuration for `KbqNumberInput`. */
24
+ export type KbqNumberInputLocaleConfig = {
25
+ /** Characters recognized as group (thousands) separators. */
26
+ groupSeparator: string[];
27
+ /** Character used for the decimal separator */
28
+ fractionSeparator: string;
29
+ /** Number of digits before applying group separators */
30
+ startFormattingFrom?: number;
31
+ } & KbqNumberFormatOptions;
@@ -6,8 +6,6 @@ import { BehaviorSubject, Observable, Subscription } from 'rxjs';
6
6
  import { AsyncScheduler } from 'rxjs/internal/scheduler/AsyncScheduler';
7
7
  import { PopUpPlacements } from './constants';
8
8
  import * as i0 from "@angular/core";
9
- /** parameter is used in interval to hide the popup */
10
- export declare const hidingIntervalForHover = 500;
11
9
  export declare abstract class KbqPopUpTrigger<T> implements OnInit, OnDestroy {
12
10
  /** Stream that emits when the popupTrigger is hovered. */
13
11
  readonly hovered: BehaviorSubject<boolean>;
@@ -50,8 +48,8 @@ export declare abstract class KbqPopUpTrigger<T> implements OnInit, OnDestroy {
50
48
  };
51
49
  protected mouseEvent?: MouseEvent;
52
50
  protected strategy: FlexibleConnectedPositionStrategy;
53
- /** @docs-private */
54
- protected hidingIntervalSubscription: Subscription;
51
+ /** Hide pop-up with timeout. Need if you want to show pop-up after leaving trigger */
52
+ protected hideWithTimeout: boolean;
55
53
  abstract updateClassMap(newPlacement?: string): void;
56
54
  abstract updateData(): void;
57
55
  abstract closingActions(): Observable<any>;
@@ -71,6 +69,7 @@ export declare abstract class KbqPopUpTrigger<T> implements OnInit, OnDestroy {
71
69
  resetOrigin(): void;
72
70
  onPositionChange: ($event: ConnectedOverlayPositionChange) => void;
73
71
  initListeners(): void;
72
+ getMouseLeaveListener(): (delay?: number) => void;
74
73
  /** Updates the position of the current popover. */
75
74
  updatePosition(reapplyPosition?: boolean): void;
76
75
  focus(): void;
@@ -1,5 +1,5 @@
1
1
  import { AnimationEvent } from '@angular/animations';
2
- import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, Renderer2, TemplateRef } from '@angular/core';
2
+ import { ChangeDetectorRef, DestroyRef, ElementRef, EventEmitter, OnDestroy, Renderer2, TemplateRef } from '@angular/core';
3
3
  import { BehaviorSubject, Observable, Subject } from 'rxjs';
4
4
  import { PopUpVisibility } from './constants';
5
5
  import { KbqPopUpTrigger } from './pop-up-trigger';
@@ -8,6 +8,7 @@ export declare abstract class KbqPopUp implements OnDestroy {
8
8
  protected readonly renderer: Renderer2;
9
9
  protected readonly elementRef: ElementRef<any>;
10
10
  protected readonly changeDetectorRef: ChangeDetectorRef;
11
+ readonly destroyRef: DestroyRef;
11
12
  /** Stream that emits when the popup item is hovered. */
12
13
  readonly hovered: BehaviorSubject<boolean>;
13
14
  trigger: KbqPopUpTrigger<unknown>;
@@ -1,6 +1,5 @@
1
1
  import { CdkConnectedOverlay } from '@angular/cdk/overlay';
2
- import { AfterContentInit, OnDestroy } from '@angular/core';
3
- import { Subscription } from 'rxjs';
2
+ import { AfterContentInit, EventEmitter, OnDestroy } from '@angular/core';
4
3
  import { KbqFormFieldRef } from '../form-field';
5
4
  import * as i0 from "@angular/core";
6
5
  export declare class KbqSelectTrigger {
@@ -17,9 +16,10 @@ export declare class KbqSelectFooter {
17
16
  }
18
17
  export declare class KbqSelectSearch implements AfterContentInit, OnDestroy {
19
18
  protected formField: KbqFormFieldRef;
20
- searchChangesSubscription: Subscription;
19
+ readonly changes: EventEmitter<string>;
21
20
  isSearchChanged: boolean;
22
21
  get ngControl(): any;
22
+ private searchChangesSubscription;
23
23
  constructor(formField: KbqFormFieldRef);
24
24
  setPlaceholder(value: string): void;
25
25
  hasPlaceholder(): boolean;
@@ -1,2 +1 @@
1
- export * from './data-size';
2
1
  export * from './utils';
@@ -1,5 +1,7 @@
1
1
  .kbq-calendar {
2
2
  display: block;
3
+
4
+ box-sizing: initial;
3
5
  }
4
6
 
5
7
  .kbq-calendar__content {
@@ -21,7 +21,7 @@
21
21
  --kbq-datepicker-grid-cell-states-hover-background: var(--kbq-states-background-transparent-hover);
22
22
  --kbq-datepicker-grid-cell-states-active-background: var(--kbq-states-background-transparent-active);
23
23
  --kbq-datepicker-grid-cell-states-selected-background: var(--kbq-background-contrast);
24
- --kbq-datepicker-grid-cell-states-selected-text: var(--kbq-foreground-white);
24
+ --kbq-datepicker-grid-cell-states-selected-text: var(--kbq-foreground-on-contrast);
25
25
  --kbq-datepicker-grid-cell-states-selected-hover-background: var(--kbq-states-background-contrast-active);
26
26
  --kbq-datepicker-grid-cell-states-disabled-background: transparent;
27
27
  --kbq-datepicker-grid-cell-states-disabled-text: var(--kbq-states-foreground-disabled);