@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
@@ -3,19 +3,35 @@
3
3
  @use '../core/styles/common/tokens';
4
4
 
5
5
  @mixin kbq-file-upload-theme() {
6
- .kbq-file-upload {
7
- .kbq-focused,
8
- .kbq-link.kbq-focused {
9
- border: 2px solid var(--kbq-file-upload-single-states-focused-focus-outline-color);
10
- }
11
- }
12
-
13
6
  .kbq-single-file-upload {
14
7
  .kbq-file-upload {
15
8
  // FIXME: move to mixin kbq-file-upload-state
16
9
  background-color: var(--kbq-file-upload-single-default-container-background);
17
10
  border-color: var(--kbq-file-upload-single-default-container-border) !important;
18
11
 
12
+ .kbq-focused,
13
+ .kbq-link.kbq-focused {
14
+ border: 2px solid var(--kbq-file-upload-single-states-focused-focus-outline-color);
15
+ }
16
+
17
+ &:not(.kbq-disabled, .kbq-error) {
18
+ .kbq-file-upload__action {
19
+ color: var(--kbq-file-upload-single-default-icon-button-color);
20
+ }
21
+
22
+ .kbq-dropzone__icon {
23
+ color: var(--kbq-file-upload-single-default-upload-icon-color);
24
+ }
25
+
26
+ .file-item__text-wrapper .kbq-icon.kbq-empty {
27
+ color: var(--kbq-file-upload-single-default-left-icon-color);
28
+ }
29
+
30
+ .kbq-file-item__size {
31
+ color: var(--kbq-file-upload-single-default-file-size-text-color);
32
+ }
33
+ }
34
+
19
35
  &.dragover {
20
36
  background-color: var(--kbq-file-upload-single-states-on-drag-container-background);
21
37
  border-color: var(--kbq-file-upload-single-states-on-drag-container-border) !important;
@@ -27,20 +43,51 @@
27
43
  border-color: var(--kbq-file-upload-single-states-error-container-border) !important;
28
44
  }
29
45
 
30
- :not(.kbq-link),
31
- .kbq-icon.kbq-empty {
46
+ .kbq-dropzone__icon {
47
+ color: var(--kbq-file-upload-single-states-error-upload-icon-color);
48
+ }
49
+
50
+ .file-item__text-wrapper .kbq-icon.kbq-empty {
51
+ color: var(--kbq-file-upload-single-states-error-left-icon-color);
52
+ }
53
+
54
+ .file-item__text,
55
+ .dropzone__text:not(.kbq-link) {
32
56
  color: var(--kbq-file-upload-single-states-error-text-block-color);
33
57
  }
58
+
59
+ .kbq-file-item__size {
60
+ color: var(--kbq-file-upload-single-states-error-file-size-text-color);
61
+ }
62
+
63
+ .kbq-file-upload__action {
64
+ color: var(--kbq-file-upload-single-states-error-icon-button-color);
65
+ }
34
66
  }
35
67
 
36
68
  &.kbq-disabled {
37
69
  background-color: var(--kbq-file-upload-single-states-disabled-container-background);
38
70
  border-color: var(--kbq-file-upload-single-states-disabled-container-border) !important;
39
71
 
40
- &,
41
- .kbq-icon.kbq-empty,
42
- .kbq-link {
43
- color: var(--kbq-file-upload-single-states-disabled-container-border);
72
+ .kbq-dropzone__icon {
73
+ color: var(--kbq-file-upload-single-states-disabled-upload-icon-color);
74
+ }
75
+
76
+ .file-item__text-wrapper .kbq-icon.kbq-empty {
77
+ color: var(--kbq-file-upload-single-states-disabled-left-icon-color);
78
+ }
79
+
80
+ .dropzone__text,
81
+ .file-item__text {
82
+ color: var(--kbq-file-upload-single-states-disabled-text-block-color);
83
+ }
84
+
85
+ .kbq-file-item__size {
86
+ color: var(--kbq-file-upload-single-states-disabled-file-size-text-color);
87
+ }
88
+
89
+ .kbq-file-upload__action {
90
+ color: var(--kbq-file-upload-single-states-disabled-icon-button-color);
44
91
  }
45
92
  }
46
93
  }
@@ -51,26 +98,40 @@
51
98
  background-color: var(--kbq-file-upload-multiple-default-container-background);
52
99
  border-color: var(--kbq-file-upload-multiple-default-container-border) !important;
53
100
 
101
+ .kbq-focused,
102
+ .kbq-link.kbq-focused {
103
+ border: 2px solid var(--kbq-file-upload-multiple-states-focused-focus-outline-color);
104
+ }
105
+
54
106
  .btn-upload {
55
107
  border-top-color: var(--kbq-file-upload-multiple-default-container-border);
56
108
  }
57
109
 
58
110
  .kbq-file-multiple-uploaded__header {
111
+ color: var(--kbq-foreground-contrast-secondary);
59
112
  border-bottom-color: var(--kbq-file-upload-multiple-default-grid-divider-color);
60
113
  }
61
114
 
115
+ &:not(.kbq-disabled, .kbq-error) {
116
+ .kbq-dropzone__icon {
117
+ color: var(--kbq-file-upload-multiple-default-upload-icon-color);
118
+ }
119
+ }
120
+
62
121
  &.dragover {
63
122
  background-color: var(--kbq-file-upload-multiple-states-on-drag-container-background);
64
123
  border-color: var(--kbq-file-upload-multiple-states-on-drag-container-border) !important;
65
124
 
125
+ .btn-upload {
126
+ border-top-color: var(--kbq-file-upload-multiple-states-on-drag-container-border);
127
+ }
128
+
66
129
  .kbq-file-multiple-uploaded__header {
67
- border-bottom-color: var(--kbq-file-upload-multiple-states-on-drag-container-background) !important;
130
+ border-bottom-color: var(--kbq-file-upload-multiple-states-on-drag-grid-divider-color) !important;
68
131
  }
69
132
 
70
- &.selected {
71
- .dropzone {
72
- border-top-color: var(--kbq-file-upload-multiple-states-on-drag-container-border);
73
- }
133
+ .kbq-dropzone__icon {
134
+ color: var(--kbq-file-upload-multiple-states-on-drag-upload-icon-color);
74
135
  }
75
136
  }
76
137
 
@@ -78,15 +139,31 @@
78
139
  background-color: var(--kbq-file-upload-multiple-states-disabled-container-background);
79
140
  border-color: var(--kbq-file-upload-multiple-states-disabled-container-border) !important;
80
141
 
81
- &,
82
- .kbq-icon.kbq-empty,
83
- .kbq-link {
84
- color: var(--kbq-file-upload-multiple-states-disabled-container-border);
142
+ .kbq-dropzone__icon {
143
+ color: var(--kbq-file-upload-multiple-states-disabled-upload-icon-color);
144
+ }
145
+
146
+ .dropzone__text,
147
+ .kbq-file-multiple-uploaded__header {
148
+ color: var(--kbq-file-upload-multiple-states-disabled-text-block-color);
149
+ }
150
+
151
+ .kbq-file-multiple-uploaded__header {
152
+ border-bottom-color: var(--kbq-file-upload-multiple-states-disabled-grid-divider-color) !important;
85
153
  }
86
154
 
87
- &.selected {
88
- .dropzone {
89
- border-top-color: var(--kbq-file-upload-multiple-states-disabled-container-border);
155
+ .multiple__uploaded-item {
156
+ .kbq-file-upload__file .kbq-icon.kbq-empty {
157
+ color: var(--kbq-file-upload-multiple-states-disabled-left-icon-color);
158
+ }
159
+
160
+ .file-item__text,
161
+ .kbq-file-upload__size {
162
+ color: var(--kbq-file-upload-multiple-states-disabled-text-block-color);
163
+ }
164
+
165
+ .kbq-file-upload__action .kbq-icon.kbq-empty {
166
+ color: var(--kbq-file-upload-multiple-states-disabled-icon-button-color);
90
167
  }
91
168
  }
92
169
  }
@@ -96,9 +173,13 @@
96
173
  background-color: var(--kbq-background-error-less);
97
174
  border-color: var(--kbq-line-error) !important;
98
175
 
99
- :not(.kbq-link),
100
- .kbq-icon.kbq-empty {
101
- color: var(--kbq-foreground-error);
176
+ .kbq-dropzone__icon {
177
+ color: var(--kbq-file-upload-multiple-states-error-upload-icon-color);
178
+ }
179
+
180
+ .dropzone__text:not(.kbq-link),
181
+ .kbq-file-multiple-uploaded__header {
182
+ color: var(--kbq-file-upload-multiple-states-error-text-block-color);
102
183
  }
103
184
  }
104
185
 
@@ -106,20 +187,32 @@
106
187
  &:has(.kbq-file-upload__row.error) {
107
188
  background-color: var(--kbq-background-error-less);
108
189
 
109
- :not(.kbq-link),
110
- .kbq-icon.kbq-empty {
190
+ .file-item__text,
191
+ .kbq-file-upload__size {
111
192
  color: var(--kbq-foreground-error);
112
193
  }
194
+
195
+ .kbq-file-upload__file .kbq-icon.kbq-empty {
196
+ color: var(--kbq-file-upload-multiple-states-error-left-icon-color);
197
+ }
198
+
199
+ .kbq-file-upload__action .kbq-icon.kbq-empty {
200
+ color: var(--kbq-file-upload-multiple-states-error-icon-button-color);
201
+ }
113
202
  }
114
203
  }
115
204
  }
116
205
 
117
206
  .multiple__uploaded-item {
118
- & .kbq-file-upload__file .kbq-icon.kbq-empty {
207
+ .kbq-file-upload__file .kbq-icon.kbq-empty {
119
208
  color: var(--kbq-file-upload-multiple-default-left-icon-color);
120
209
  }
121
210
 
122
- & .kbq-file-upload__action .kbq-icon.kbq-empty {
211
+ .kbq-file-upload__size {
212
+ color: var(--kbq-file-upload-multiple-default-file-size-text-color);
213
+ }
214
+
215
+ .kbq-file-upload__action .kbq-icon.kbq-empty {
123
216
  color: var(--kbq-file-upload-multiple-default-icon-button-color);
124
217
  }
125
218
  }
@@ -1,4 +1,8 @@
1
- .kbq-file-upload {
1
+ :where(.kbq-file-upload) {
2
+ --kbq-form-field-hint-text: var(--kbq-foreground-contrast-secondary);
3
+ }
4
+
5
+ :where(.kbq-single-file-upload) {
2
6
  --kbq-file-upload-size-single-container-border-radius: var(--kbq-size-s);
3
7
  --kbq-file-upload-size-single-container-border-width: 1px;
4
8
  --kbq-file-upload-size-single-container-content-gap-horizontal: var(--kbq-size-s);
@@ -6,18 +10,7 @@
6
10
  --kbq-file-upload-size-single-container-padding-horizontal: var(--kbq-size-m);
7
11
  --kbq-file-upload-size-single-text-block-padding-vertical: var(--kbq-size-3xs);
8
12
  --kbq-file-upload-size-single-text-block-content-gap-horizontal: var(--kbq-size-xxs);
9
- --kbq-file-upload-size-multiple-big-container-min-height: 160px;
10
- --kbq-file-upload-size-multiple-big-container-min-width: 320px;
11
- --kbq-file-upload-size-multiple-big-container-border-radius: var(--kbq-size-s);
12
- --kbq-file-upload-size-multiple-big-container-border-width: 1px;
13
- --kbq-file-upload-size-multiple-big-container-content-gap-horizontal: var(--kbq-size-m);
14
- --kbq-file-upload-size-multiple-big-container-padding-vertical: var(--kbq-size-xxl);
15
- --kbq-file-upload-size-multiple-big-container-padding-horizontal: var(--kbq-size-xxl);
16
- --kbq-file-upload-size-multiple-big-text-block-content-gap-vertical: 0px;
17
- --kbq-file-upload-size-multiple-big-text-block-content-gap-horizontal: var(--kbq-size-xxs);
18
- --kbq-file-upload-size-multiple-big-grid-cell-padding-horizontal: var(--kbq-size-s);
19
- --kbq-file-upload-size-multiple-big-grid-cell-padding-vertical: var(--kbq-size-s);
20
- --kbq-file-upload-size-multiple-big-grid-cell-content-gap-horizontal: var(--kbq-size-xxs);
13
+ --kbq-file-upload-single-min-height: var(--kbq-size-5xl);
21
14
  /* THEME TOKENS */
22
15
  --kbq-file-upload-single-default-container-border: var(--kbq-line-contrast-fade);
23
16
  --kbq-file-upload-single-default-container-background: var(--kbq-background-bg);
@@ -25,6 +18,7 @@
25
18
  --kbq-file-upload-single-default-left-icon-color: var(--kbq-icon-contrast-fade);
26
19
  --kbq-file-upload-single-default-text-block-color: var(--kbq-foreground-contrast);
27
20
  --kbq-file-upload-single-default-icon-button-color: var(--kbq-icon-contrast);
21
+ --kbq-file-upload-single-default-file-size-text-color: var(--kbq-foreground-contrast-secondary);
28
22
  --kbq-file-upload-single-states-on-drag-container-border: var(--kbq-line-theme-fade);
29
23
  --kbq-file-upload-single-states-on-drag-container-background: var(--kbq-background-theme-fade);
30
24
  --kbq-file-upload-single-states-on-drag-upload-icon-color: var(--kbq-icon-contrast-fade);
@@ -32,14 +26,37 @@
32
26
  --kbq-file-upload-single-states-on-drag-text-block-color: var(--kbq-foreground-contrast);
33
27
  --kbq-file-upload-single-states-error-container-border: var(--kbq-line-error);
34
28
  --kbq-file-upload-single-states-error-container-background: var(--kbq-background-error-less);
29
+ --kbq-file-upload-single-states-error-upload-icon-color: var(--kbq-icon-error);
35
30
  --kbq-file-upload-single-states-error-left-icon-color: var(--kbq-icon-error);
36
31
  --kbq-file-upload-single-states-error-text-block-color: var(--kbq-foreground-error);
32
+ --kbq-file-upload-single-states-error-icon-button-color: var(--kbq-icon-error);
33
+ --kbq-file-upload-single-states-error-file-size-text-color: var(--kbq-foreground-error);
37
34
  --kbq-file-upload-single-states-disabled-container-border: var(--kbq-states-line-disabled);
38
35
  --kbq-file-upload-single-states-disabled-container-background: var(--kbq-states-background-disabled);
39
36
  --kbq-file-upload-single-states-disabled-upload-icon-color: var(--kbq-states-icon-disabled);
40
37
  --kbq-file-upload-single-states-disabled-left-icon-color: var(--kbq-states-icon-disabled);
38
+ --kbq-file-upload-single-states-disabled-icon-button-color: var(--kbq-states-icon-disabled);
41
39
  --kbq-file-upload-single-states-disabled-text-block-color: var(--kbq-states-foreground-disabled);
40
+ --kbq-file-upload-single-states-disabled-file-size-text-color: var(--kbq-states-foreground-disabled);
42
41
  --kbq-file-upload-single-states-focused-focus-outline-color: var(--kbq-states-line-focus-theme);
42
+ }
43
+
44
+ :where(.kbq-multiple-file-upload) {
45
+ --kbq-file-upload-size-multiple-big-container-min-height: 192px;
46
+ --kbq-file-upload-size-multiple-big-container-min-width: 320px;
47
+ --kbq-file-upload-size-multiple-big-container-border-radius: var(--kbq-size-s);
48
+ --kbq-file-upload-size-multiple-big-container-border-width: 1px;
49
+ --kbq-file-upload-size-multiple-big-container-content-gap-horizontal: var(--kbq-size-m);
50
+ --kbq-file-upload-size-multiple-big-container-padding-vertical: var(--kbq-size-xxl);
51
+ --kbq-file-upload-size-multiple-big-container-padding-horizontal: var(--kbq-size-xxl);
52
+ --kbq-file-upload-size-multiple-big-dropzone-content-gap-horizontal: var(--kbq-size-s);
53
+ --kbq-file-upload-size-multiple-big-text-block-content-gap-vertical: 0px;
54
+ --kbq-file-upload-size-multiple-big-text-block-content-gap-horizontal: var(--kbq-size-xxs);
55
+ --kbq-file-upload-size-multiple-big-grid-cell-padding-horizontal: var(--kbq-size-s);
56
+ --kbq-file-upload-size-multiple-big-grid-cell-padding-vertical: var(--kbq-size-s);
57
+ --kbq-file-upload-size-multiple-big-grid-cell-content-gap-horizontal: var(--kbq-size-xxs);
58
+ --kbq-file-upload-size-multiple-big-grid-cell-file-size-width: var(--kbq-size-7xl);
59
+ /* THEME TOKENS */
43
60
  --kbq-file-upload-multiple-default-container-border: var(--kbq-line-contrast-fade);
44
61
  --kbq-file-upload-multiple-default-container-background: var(--kbq-background-bg);
45
62
  --kbq-file-upload-multiple-default-upload-icon-color: var(--kbq-icon-contrast-fade);
@@ -47,6 +64,7 @@
47
64
  --kbq-file-upload-multiple-default-text-block-color: var(--kbq-foreground-contrast);
48
65
  --kbq-file-upload-multiple-default-icon-button-color: var(--kbq-icon-contrast);
49
66
  --kbq-file-upload-multiple-default-grid-divider-color: var(--kbq-line-contrast-less);
67
+ --kbq-file-upload-multiple-default-file-size-text-color: var(--kbq-foreground-contrast-secondary);
50
68
  --kbq-file-upload-multiple-states-on-drag-container-border: var(--kbq-line-theme-fade);
51
69
  --kbq-file-upload-multiple-states-on-drag-container-background: var(--kbq-background-theme-fade);
52
70
  --kbq-file-upload-multiple-states-on-drag-upload-icon-color: var(--kbq-icon-contrast-fade);
@@ -55,6 +73,7 @@
55
73
  --kbq-file-upload-multiple-states-on-drag-text-block-color: var(--kbq-foreground-contrast);
56
74
  --kbq-file-upload-multiple-states-on-drag-grid-divider-color: var(--kbq-line-contrast-less);
57
75
  --kbq-file-upload-multiple-states-error-grid-cell-background: var(--kbq-background-error-less);
76
+ --kbq-file-upload-multiple-states-error-upload-icon-color: var(--kbq-icon-error);
58
77
  --kbq-file-upload-multiple-states-error-left-icon-color: var(--kbq-icon-error);
59
78
  --kbq-file-upload-multiple-states-error-text-block-color: var(--kbq-foreground-error);
60
79
  --kbq-file-upload-multiple-states-error-icon-button-color: var(--kbq-icon-error);
@@ -62,7 +81,16 @@
62
81
  --kbq-file-upload-multiple-states-disabled-container-background: var(--kbq-states-background-disabled);
63
82
  --kbq-file-upload-multiple-states-disabled-upload-icon-color: var(--kbq-states-icon-disabled);
64
83
  --kbq-file-upload-multiple-states-disabled-left-icon-color: var(--kbq-states-icon-disabled);
84
+ --kbq-file-upload-multiple-states-disabled-icon-button-color: var(--kbq-states-icon-disabled);
65
85
  --kbq-file-upload-multiple-states-disabled-text-block-color: var(--kbq-states-foreground-disabled);
66
86
  --kbq-file-upload-multiple-states-disabled-grid-divider-color: var(--kbq-states-line-disabled);
67
- --kbq-form-field-hint-text: var(--kbq-foreground-contrast-secondary);
87
+ --kbq-file-upload-multiple-states-focused-focus-outline-color: var(--kbq-states-line-focus-theme);
88
+ }
89
+
90
+ /* stylelint-disable-next-line selector-class-pattern */
91
+ :where(.kbq-file-upload.compact) {
92
+ --kbq-file-upload-multiple-compact-container-content-gap-horizontal: var(--kbq-size-s);
93
+ --kbq-file-upload-multiple-compact-text-block-padding-vertical: var(--kbq-size-3xs);
94
+ --kbq-file-upload-multiple-compact-container-padding-vertical: 11px;
95
+ --kbq-file-upload-multiple-compact-container-padding-horizontal: 11px;
68
96
  }
@@ -27,6 +27,7 @@ export interface KbqInputFileLabel {
27
27
  */
28
28
  export type KbqFileValidatorFn = (file: File) => string | null;
29
29
  export declare const KBQ_FILE_UPLOAD_CONFIGURATION: InjectionToken<KbqInputFileLabel>;
30
+ /** @deprecated use `FileValidators.isCorrectExtension` instead. Will be removed in next major release. */
30
31
  export declare const isCorrectExtension: (file: File, accept?: string[]) => boolean;
31
32
  /** @docs-private */
32
33
  export declare abstract class KbqFileUploadBase implements CanUpdateErrorState {
@@ -42,21 +42,23 @@ export declare class KbqMultipleFileUploadComponent extends KbqFileUploadBase im
42
42
  set files(currentFileList: KbqFileItem[]);
43
43
  /** Emits an event containing updated file list.
44
44
  * public output will be renamed to filesChange in next major release (#DS-3700) */
45
- filesChange: EventEmitter<KbqFileItem[]>;
45
+ readonly filesChange: EventEmitter<KbqFileItem[]>;
46
46
  /**
47
47
  * Emits an event containing a chunk of files added to the file list.
48
48
  * Useful when handling added files, skipping filtering file list.
49
49
  */
50
- filesAdded: EventEmitter<KbqFileItem[]>;
50
+ readonly filesAdded: EventEmitter<KbqFileItem[]>;
51
51
  /**
52
52
  * Emits an event containing a tuple of file and file's index when removed from the file list.
53
53
  * Useful when handle removed files, skipping filtering file list.
54
54
  */
55
- fileRemoved: EventEmitter<[KbqFileItem, number]>;
55
+ readonly fileRemoved: EventEmitter<[KbqFileItem, number]>;
56
56
  /** File Icon Template */
57
- customFileIcon: TemplateRef<HTMLElement>;
57
+ protected readonly customFileIcon: TemplateRef<HTMLElement>;
58
58
  /** @docs-private */
59
- input: ElementRef<HTMLInputElement>;
59
+ readonly input: ElementRef<HTMLInputElement>;
60
+ private readonly listSelection;
61
+ private readonly fileSizeHeaderCell;
60
62
  /** @docs-private */
61
63
  protected readonly hint: QueryList<TemplateRef<any>>;
62
64
  /** @docs-private */
@@ -95,6 +97,11 @@ export declare class KbqMultipleFileUploadComponent extends KbqFileUploadBase im
95
97
  * @docs-private
96
98
  */
97
99
  get invalid(): boolean;
100
+ /**
101
+ * Set maxWidth for filesize cell to enable proper ellipsis center,
102
+ * @docs-private
103
+ */
104
+ protected get fileSizeCellMaxWidth(): number;
98
105
  /** @docs-private */
99
106
  readonly configuration: KbqInputFileMultipleLabel | null;
100
107
  constructor();
@@ -18,58 +18,35 @@
18
18
 
19
19
  min-width: var(--kbq-file-upload-size-multiple-big-container-min-width);
20
20
 
21
- & .dropzone {
21
+ .dropzone {
22
22
  gap: var(--kbq-file-upload-size-multiple-big-container-content-gap-horizontal);
23
23
  }
24
24
 
25
- & .dropzone__text {
26
- & .multiple__header {
27
- display: block;
28
- }
29
-
30
- & .multiple__caption {
31
- display: block;
25
+ .dropzone__text {
26
+ .multiple__caption {
32
27
  padding-top: var(--kbq-file-upload-size-multiple-big-text-block-content-gap-vertical);
33
- // гап не применяется тк не флекс. в целом гап не нужен, тк по логике дизайна ссылка от текста отделяется пробелом
34
- gap: var(--kbq-file-upload-size-multiple-big-text-block-content-gap-horizontal);
35
28
  }
36
29
  }
37
30
  }
38
31
 
39
32
  &.compact:not(.selected) {
40
- padding: var(--kbq-file-upload-size-single-container-padding-vertical)
41
- var(--kbq-file-upload-size-single-container-padding-horizontal);
42
-
43
- & .dropzone {
44
- gap: var(--kbq-file-upload-size-single-container-content-gap-horizontal);
33
+ padding: var(--kbq-file-upload-multiple-compact-container-padding-vertical)
34
+ var(--kbq-file-upload-multiple-compact-container-padding-horizontal);
45
35
 
46
- & .dropzone__text.multiple__caption {
47
- padding-top: var(--kbq-file-upload-size-single-text-block-padding-vertical);
36
+ .dropzone {
37
+ gap: var(--kbq-file-upload-multiple-compact-container-content-gap-horizontal);
48
38
 
49
- padding-bottom: var(--kbq-file-upload-size-single-text-block-padding-vertical);
39
+ .dropzone__text.multiple__caption {
40
+ padding-top: var(--kbq-file-upload-multiple-compact-text-block-padding-vertical);
50
41
 
51
- gap: var(--kbq-file-upload-size-single-text-block-content-gap-horizontal);
42
+ padding-bottom: var(--kbq-file-upload-multiple-compact-text-block-padding-vertical);
52
43
  }
53
44
  }
54
45
  }
55
46
 
56
- & .kbq-list-option.multiple__uploaded-item {
57
- padding: 0;
58
-
59
- & .kbq-list-text {
60
- padding: calc(
61
- var(--kbq-file-upload-size-multiple-big-grid-cell-padding-vertical) - var(
62
- --kbq-list-size-container-focus-outline-width,
63
- var(--kbq-size-3xs)
64
- )
65
- )
66
- calc(
67
- var(--kbq-file-upload-size-multiple-big-grid-cell-padding-horizontal) - var(
68
- --kbq-list-size-container-focus-outline-width,
69
- var(--kbq-size-3xs)
70
- )
71
- );
72
- }
47
+ .kbq-list-option.multiple__uploaded-item {
48
+ border-radius: 0;
49
+ padding: 0 calc(var(--kbq-size-3xs) - var(--kbq-file-upload-size-multiple-big-container-border-width));
73
50
 
74
51
  .kbq-icon {
75
52
  margin-right: 0;
@@ -86,67 +63,87 @@
86
63
  align-items: center;
87
64
 
88
65
  .kbq-file-upload__file {
89
- width: 65%;
90
- max-width: 65%;
91
-
92
- gap: var(--kbq-file-upload-size-multiple-big-grid-cell-content-gap-horizontal);
66
+ flex-grow: 1;
93
67
  }
94
68
 
95
69
  .kbq-file-upload__size {
96
- width: var(--kbq-size-7xl);
97
- min-width: var(--kbq-size-7xl);
98
- text-align: left;
70
+ width: var(--kbq-file-upload-size-multiple-big-grid-cell-file-size-width);
71
+ min-width: var(--kbq-file-upload-size-multiple-big-grid-cell-file-size-width);
72
+ max-width: var(--kbq-file-upload-size-multiple-big-grid-cell-file-size-width);
99
73
  flex-grow: 1;
74
+ flex-shrink: 1;
75
+ text-align: left;
100
76
  }
101
77
  }
102
78
 
103
79
  .kbq-file-upload__row {
80
+ .kbq-file-upload__grid-cell {
81
+ padding: 0 var(--kbq-file-upload-size-multiple-big-grid-cell-padding-horizontal);
82
+ }
83
+
104
84
  .kbq-file-upload__file {
105
85
  display: flex;
106
86
  align-items: center;
87
+ gap: var(--kbq-file-upload-size-multiple-big-grid-cell-content-gap-horizontal);
107
88
 
108
89
  .file-item__text {
109
- margin-left: 0;
110
90
  width: 90%;
111
91
  }
112
92
  }
93
+
94
+ .kbq-file-upload__action {
95
+ $list-option-border-width: var(--kbq-size-3xs);
96
+ display: flex;
97
+ justify-content: center;
98
+ align-items: center;
99
+ padding-top: calc(
100
+ var(--kbq-file-upload-size-multiple-big-grid-cell-padding-vertical) - $list-option-border-width
101
+ );
102
+ padding-bottom: calc(
103
+ var(--kbq-file-upload-size-multiple-big-grid-cell-padding-horizontal) - $list-option-border-width
104
+ );
105
+ min-height: var(--kbq-size-xxl);
106
+ min-width: var(--kbq-size-xxl);
107
+ }
113
108
  }
114
109
 
115
110
  .kbq-file-multiple-uploaded__header {
116
- border-bottom-width: 1px;
111
+ margin: -1px;
112
+ border-bottom-width: var(--kbq-file-upload-size-multiple-big-container-border-width);
117
113
  border-bottom-style: solid;
118
114
 
119
- .kbq-file-multiple-uploaded__header-inner {
120
- padding: kbq-sum-series-css-variables([file-upload-size-multiple-big-grid-cell-padding-vertical, 2px])
121
- kbq-sum-series-css-variables([file-upload-size-multiple-big-grid-cell-padding-horizontal 2px]);
115
+ padding: 0 var(--kbq-size-xxs);
116
+
117
+ .kbq-file-upload__grid-cell {
118
+ $header-cell-vertical-padding: 10px;
119
+ padding: $header-cell-vertical-padding var(--kbq-file-upload-size-multiple-big-grid-cell-padding-horizontal)
120
+ calc($header-cell-vertical-padding - var(--kbq-file-upload-size-multiple-big-container-border-width))
121
+ var(--kbq-file-upload-size-multiple-big-grid-cell-padding-horizontal);
122
+ }
123
+
124
+ .kbq-file-upload__action {
125
+ min-height: var(--kbq-size-xxl);
126
+ min-width: var(--kbq-size-xxl);
127
+ padding: var(--kbq-file-upload-size-multiple-big-grid-cell-padding-horizontal)
128
+ var(--kbq-file-upload-size-multiple-big-grid-cell-padding-horizontal)
129
+ calc(
130
+ var(--kbq-file-upload-size-multiple-big-grid-cell-padding-vertical) - var(
131
+ --kbq-file-upload-size-multiple-big-container-border-width
132
+ )
133
+ );
122
134
  }
123
135
  }
124
136
 
125
137
  .btn-upload {
126
- padding: kbq-difference-series-css-variables(
127
- [ file-upload-size-single-container-padding-vertical,
128
- file-upload-size-single-container-border-width]
129
- )
130
- kbq-difference-series-css-variables(
131
- [ file-upload-size-single-container-padding-horizontal,
132
- file-upload-size-single-container-border-width]
133
- );
134
- border-top-left-radius: var(--kbq-file-upload-size-single-container-border-radius);
138
+ margin: -1px;
139
+ padding: calc(var(--kbq-size-m) - var(--kbq-file-upload-size-multiple-big-container-border-width))
140
+ var(--kbq-size-m) var(--kbq-size-m) var(--kbq-size-m);
135
141
 
136
- border-top-right-radius: var(--kbq-file-upload-size-single-container-border-radius);
137
- border-top-width: var(--kbq-file-upload-size-single-container-border-width);
142
+ border-top-width: var(--kbq-file-upload-size-multiple-big-container-border-width);
138
143
  border-top-style: dashed;
139
144
 
140
- & .dropzone {
141
- gap: var(--kbq-file-upload-size-single-container-content-gap-horizontal);
142
-
143
- & .dropzone__text.multiple__caption {
144
- padding-top: var(--kbq-file-upload-size-single-text-block-padding-vertical);
145
-
146
- padding-bottom: var(--kbq-file-upload-size-single-text-block-padding-vertical);
147
-
148
- gap: var(--kbq-file-upload-size-single-text-block-content-gap-horizontal);
149
- }
145
+ .dropzone {
146
+ gap: var(--kbq-file-upload-size-multiple-big-dropzone-content-gap-horizontal);
150
147
  }
151
148
  }
152
149
 
@@ -27,6 +27,11 @@ export declare class KbqSingleFileUploadComponent extends KbqFileUploadBase impl
27
27
  private _file;
28
28
  get file(): KbqFileItem | null;
29
29
  set file(currentFile: KbqFileItem | null);
30
+ /**
31
+ * Controls whether to display the file size information.
32
+ * @default true
33
+ */
34
+ showFileSize: boolean;
30
35
  /** Emits an event containing updated file.
31
36
  * public output will be renamed to fileChange in next major release (#DS-3700) */
32
37
  fileChange: EventEmitter<KbqFileItem | null>;
@@ -88,5 +93,6 @@ export declare class KbqSingleFileUploadComponent extends KbqFileUploadBase impl
88
93
  private initDefaultParams;
89
94
  private getCaptionText;
90
95
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqSingleFileUploadComponent, never>;
91
- static ɵcmp: i0.ɵɵComponentDeclaration<KbqSingleFileUploadComponent, "kbq-single-file-upload,kbq-file-upload:not([multiple])", never, { "progressMode": { "alias": "progressMode"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "customValidation": { "alias": "customValidation"; "required": false; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; "file": { "alias": "file"; "required": false; }; }, { "fileChange": "fileQueueChange"; }, ["hint"], ["[kbq-icon]", "kbq-hint"], false, never>;
96
+ static ɵcmp: i0.ɵɵComponentDeclaration<KbqSingleFileUploadComponent, "kbq-single-file-upload,kbq-file-upload:not([multiple])", never, { "progressMode": { "alias": "progressMode"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "customValidation": { "alias": "customValidation"; "required": false; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; "file": { "alias": "file"; "required": false; }; "showFileSize": { "alias": "showFileSize"; "required": false; }; }, { "fileChange": "fileQueueChange"; }, ["hint"], ["[kbq-icon]", "kbq-hint"], false, never>;
97
+ static ngAcceptInputType_showFileSize: unknown;
92
98
  }
@@ -11,6 +11,7 @@
11
11
  [ file-upload-size-single-container-padding-horizontal,
12
12
  file-upload-size-single-container-border-width]
13
13
  );
14
+ min-height: var(--kbq-file-upload-single-min-height);
14
15
 
15
16
  border-radius: var(--kbq-file-upload-size-single-container-border-radius);
16
17
  border-width: var(--kbq-file-upload-size-single-container-border-width);
@@ -43,5 +44,13 @@
43
44
  flex-grow: 1;
44
45
  }
45
46
  }
47
+
48
+ .kbq-file-item__size {
49
+ padding: 0 var(--kbq-size-s);
50
+ }
51
+
52
+ .kbq-file-upload__action {
53
+ padding: var(--kbq-size-xxs);
54
+ }
46
55
  }
47
56
  }