@koobiq/components 18.35.0 → 18.37.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 (626) hide show
  1. package/accordion/accordion.component.d.ts +1 -1
  2. package/app-switcher/_app-switcher-theme.scss +34 -0
  3. package/app-switcher/app-switcher-animations.d.ts +5 -0
  4. package/app-switcher/app-switcher-dropdown-app.d.ts +11 -0
  5. package/app-switcher/app-switcher-dropdown-app.scss +85 -0
  6. package/app-switcher/app-switcher-dropdown-site.d.ts +9 -0
  7. package/app-switcher/app-switcher-dropdown-site.scss +53 -0
  8. package/app-switcher/app-switcher.d.ts +191 -0
  9. package/app-switcher/app-switcher.module.d.ts +10 -0
  10. package/app-switcher/app-switcher.scss +64 -0
  11. package/app-switcher/index.d.ts +1 -0
  12. package/app-switcher/kbq-app-switcher-list-item.d.ts +16 -0
  13. package/app-switcher/kbq-app-switcher-list-item.scss +180 -0
  14. package/app-switcher/public-api.d.ts +6 -0
  15. package/autocomplete/autocomplete.scss +2 -17
  16. package/badge/badge.component.d.ts +1 -1
  17. package/badge/badge.component.scss +2 -0
  18. package/breadcrumbs/breadcrumbs.d.ts +2 -1
  19. package/breadcrumbs/breadcrumbs.scss +8 -4
  20. package/button/button.component.d.ts +3 -2
  21. package/button-toggle/button-toggle.scss +0 -2
  22. package/content-panel/content-panel.d.ts +1 -1
  23. package/content-panel/index.d.ts +0 -1
  24. package/core/common-behaviors/clipboard.d.ts +1 -1
  25. package/core/common-behaviors/color.d.ts +5 -5
  26. package/core/common-behaviors/focus-monitor.d.ts +19 -0
  27. package/core/common-behaviors/hover.d.ts +15 -0
  28. package/core/common-behaviors/index.d.ts +4 -0
  29. package/core/common-behaviors/orientation.d.ts +4 -0
  30. package/core/common-behaviors/read-state.d.ts +12 -0
  31. package/core/locales/en-US.d.ts +62 -0
  32. package/core/locales/es-LA.d.ts +62 -0
  33. package/core/locales/formatters.d.ts +0 -72
  34. package/core/locales/index.d.ts +0 -2
  35. package/core/locales/locale-service.d.ts +292 -250
  36. package/core/locales/pt-BR.d.ts +62 -0
  37. package/core/locales/ru-RU.d.ts +62 -0
  38. package/core/locales/tk-TM.d.ts +62 -0
  39. package/core/locales/types.d.ts +22 -0
  40. package/core/navbar/rectangle-item.d.ts +1 -1
  41. package/core/option/action.d.ts +1 -1
  42. package/core/option/option.d.ts +3 -2
  43. package/core/pop-up/constants.d.ts +2 -1
  44. package/core/pop-up/pop-up-trigger.d.ts +3 -3
  45. package/core/pop-up/pop-up.d.ts +2 -1
  46. package/core/select/common.d.ts +6 -1
  47. package/core/select/constants.d.ts +5 -0
  48. package/core/styles/common/_select.scss +25 -0
  49. package/core/styles/typography/_typography.scss +23 -82
  50. package/core/utils/dom.d.ts +1 -6
  51. package/datepicker/datepicker-module.d.ts +2 -1
  52. package/divider/divider.scss +1 -0
  53. package/dropdown/dropdown-item.scss +8 -7
  54. package/dropdown/dropdown.component.d.ts +5 -1
  55. package/dropdown/dropdown.module.d.ts +1 -1
  56. package/dropdown/dropdown.scss +5 -14
  57. package/esm2022/accordion/accordion-content.mjs +3 -3
  58. package/esm2022/accordion/accordion-header.mjs +3 -3
  59. package/esm2022/accordion/accordion-item.mjs +3 -3
  60. package/esm2022/accordion/accordion-trigger.component.mjs +3 -3
  61. package/esm2022/accordion/accordion.component.mjs +5 -5
  62. package/esm2022/accordion/accordion.module.mjs +4 -4
  63. package/esm2022/actions-panel/actions-panel-container.mjs +3 -3
  64. package/esm2022/actions-panel/actions-panel.mjs +3 -3
  65. package/esm2022/actions-panel/module.mjs +4 -4
  66. package/esm2022/alert/alert.component.mjs +12 -12
  67. package/esm2022/alert/alert.module.mjs +4 -4
  68. package/esm2022/app-switcher/app-switcher-animations.mjs +18 -0
  69. package/esm2022/app-switcher/app-switcher-dropdown-app.mjs +75 -0
  70. package/esm2022/app-switcher/app-switcher-dropdown-site.mjs +60 -0
  71. package/esm2022/app-switcher/app-switcher.mjs +446 -0
  72. package/esm2022/app-switcher/app-switcher.module.mjs +45 -0
  73. package/esm2022/app-switcher/index.mjs +2 -0
  74. package/esm2022/app-switcher/kbq-app-switcher-list-item.mjs +84 -0
  75. package/esm2022/app-switcher/koobiq-components-app-switcher.mjs +5 -0
  76. package/esm2022/app-switcher/public-api.mjs +7 -0
  77. package/esm2022/autocomplete/autocomplete-origin.directive.mjs +3 -3
  78. package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +7 -7
  79. package/esm2022/autocomplete/autocomplete.component.mjs +3 -3
  80. package/esm2022/autocomplete/autocomplete.module.mjs +4 -4
  81. package/esm2022/badge/badge.component.mjs +11 -11
  82. package/esm2022/badge/badge.module.mjs +4 -4
  83. package/esm2022/breadcrumbs/breadcrumbs.mjs +58 -49
  84. package/esm2022/breadcrumbs/breadcrumbs.module.mjs +4 -4
  85. package/esm2022/button/button.component.mjs +12 -10
  86. package/esm2022/button/button.dropdown-trigger.directive.mjs +3 -3
  87. package/esm2022/button/button.module.mjs +4 -4
  88. package/esm2022/button-toggle/button-toggle.component.mjs +8 -8
  89. package/esm2022/button-toggle/button-toggle.module.mjs +4 -4
  90. package/esm2022/checkbox/checkbox-module.mjs +4 -4
  91. package/esm2022/checkbox/checkbox-required-validator.mjs +3 -3
  92. package/esm2022/checkbox/checkbox.mjs +3 -3
  93. package/esm2022/clamped-text/clamped-text.mjs +3 -3
  94. package/esm2022/clamped-text/module.mjs +4 -4
  95. package/esm2022/code-block/code-block-highlight.mjs +12 -7
  96. package/esm2022/code-block/code-block.mjs +4 -4
  97. package/esm2022/code-block/code-block.module.mjs +4 -4
  98. package/esm2022/content-panel/content-panel.mjs +26 -26
  99. package/esm2022/content-panel/index.mjs +1 -2
  100. package/esm2022/content-panel/module.mjs +4 -4
  101. package/esm2022/core/common-behaviors/clipboard.mjs +4 -4
  102. package/esm2022/core/common-behaviors/color.mjs +7 -7
  103. package/esm2022/core/common-behaviors/common-module.mjs +6 -5
  104. package/esm2022/core/common-behaviors/disabled.mjs +2 -1
  105. package/esm2022/core/common-behaviors/error-state.mjs +2 -1
  106. package/esm2022/core/common-behaviors/focus-monitor.mjs +37 -0
  107. package/esm2022/core/common-behaviors/hover.mjs +34 -0
  108. package/esm2022/core/common-behaviors/index.mjs +5 -1
  109. package/esm2022/core/common-behaviors/orientation.mjs +2 -0
  110. package/esm2022/core/common-behaviors/read-state.mjs +33 -0
  111. package/esm2022/core/common-behaviors/tabindex.mjs +2 -1
  112. package/esm2022/core/error/error-state-matcher.mjs +9 -9
  113. package/esm2022/core/form-field/field-sizing-content.mjs +8 -5
  114. package/esm2022/core/formatters/date/formatter.mjs +3 -3
  115. package/esm2022/core/formatters/date/formatter.pipe.mjs +78 -78
  116. package/esm2022/core/formatters/filesize/formatter.mjs +3 -3
  117. package/esm2022/core/formatters/index.mjs +4 -4
  118. package/esm2022/core/formatters/number/formatter.mjs +14 -14
  119. package/esm2022/core/forms/forms-module.mjs +4 -4
  120. package/esm2022/core/forms/forms.directive.mjs +6 -6
  121. package/esm2022/core/highlight/highlight.pipe.mjs +3 -3
  122. package/esm2022/core/highlight/index.mjs +4 -4
  123. package/esm2022/core/line/line.mjs +7 -7
  124. package/esm2022/core/locales/en-US.mjs +105 -1
  125. package/esm2022/core/locales/es-LA.mjs +114 -10
  126. package/esm2022/core/locales/formatters.mjs +1 -73
  127. package/esm2022/core/locales/index.mjs +1 -3
  128. package/esm2022/core/locales/locale-service.mjs +5 -11
  129. package/esm2022/core/locales/locale-service.module.mjs +4 -4
  130. package/esm2022/core/locales/pt-BR.mjs +123 -19
  131. package/esm2022/core/locales/ru-RU.mjs +119 -1
  132. package/esm2022/core/locales/tk-TM.mjs +128 -24
  133. package/esm2022/core/locales/types.mjs +1 -1
  134. package/esm2022/core/navbar/rectangle-item.mjs +7 -6
  135. package/esm2022/core/option/action-container.mjs +3 -3
  136. package/esm2022/core/option/action.mjs +4 -4
  137. package/esm2022/core/option/optgroup.mjs +3 -3
  138. package/esm2022/core/option/option-module.mjs +4 -4
  139. package/esm2022/core/option/option.mjs +13 -9
  140. package/esm2022/core/pop-up/constants.mjs +2 -1
  141. package/esm2022/core/pop-up/pop-up-trigger.mjs +7 -6
  142. package/esm2022/core/pop-up/pop-up.mjs +4 -4
  143. package/esm2022/core/select/common.mjs +35 -19
  144. package/esm2022/core/select/constants.mjs +6 -1
  145. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +3 -3
  146. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +4 -4
  147. package/esm2022/core/services/measure-scrollbar.service.mjs +3 -3
  148. package/esm2022/core/services/theme.service.mjs +3 -3
  149. package/esm2022/core/utils/dom.mjs +2 -8
  150. package/esm2022/core/version.mjs +2 -2
  151. package/esm2022/datepicker/calendar-body.component.mjs +3 -3
  152. package/esm2022/datepicker/calendar-header.component.mjs +7 -6
  153. package/esm2022/datepicker/calendar.component.mjs +3 -3
  154. package/esm2022/datepicker/datepicker-input.directive.mjs +6 -6
  155. package/esm2022/datepicker/datepicker-intl.mjs +3 -3
  156. package/esm2022/datepicker/datepicker-module.mjs +11 -8
  157. package/esm2022/datepicker/datepicker-toggle.component.mjs +9 -9
  158. package/esm2022/datepicker/datepicker.component.mjs +6 -6
  159. package/esm2022/datepicker/month-view.component.mjs +3 -3
  160. package/esm2022/divider/divider.component.mjs +4 -4
  161. package/esm2022/divider/divider.module.mjs +4 -4
  162. package/esm2022/dl/dl.component.mjs +9 -9
  163. package/esm2022/dl/dl.module.mjs +4 -4
  164. package/esm2022/dropdown/dropdown-content.directive.mjs +3 -3
  165. package/esm2022/dropdown/dropdown-item.component.mjs +5 -5
  166. package/esm2022/dropdown/dropdown-trigger.directive.mjs +5 -5
  167. package/esm2022/dropdown/dropdown.component.mjs +18 -8
  168. package/esm2022/dropdown/dropdown.module.mjs +14 -10
  169. package/esm2022/dynamic-translation/dynamic-translation.mjs +9 -9
  170. package/esm2022/dynamic-translation/module.mjs +4 -4
  171. package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +12 -9
  172. package/esm2022/empty-state/empty-state.component.mjs +15 -15
  173. package/esm2022/empty-state/empty-state.module.mjs +4 -4
  174. package/esm2022/file-upload/file-drop.mjs +7 -5
  175. package/esm2022/file-upload/file-upload.mjs +1 -1
  176. package/esm2022/file-upload/file-upload.module.mjs +4 -4
  177. package/esm2022/file-upload/multiple-file-upload.component.mjs +20 -13
  178. package/esm2022/file-upload/single-file-upload.component.mjs +19 -6
  179. package/esm2022/filter-bar/filter-bar-button.mjs +3 -3
  180. package/esm2022/filter-bar/filter-bar.mjs +8 -4
  181. package/esm2022/filter-bar/filter-bar.module.mjs +4 -4
  182. package/esm2022/filter-bar/filter-refresher.mjs +3 -3
  183. package/esm2022/filter-bar/filter-reset.mjs +3 -3
  184. package/esm2022/filter-bar/filter-search.mjs +6 -6
  185. package/esm2022/filter-bar/filters.mjs +12 -7
  186. package/esm2022/filter-bar/pipe-add.mjs +6 -5
  187. package/esm2022/filter-bar/pipe.directive.mjs +3 -3
  188. package/esm2022/filter-bar/pipes/base-pipe.mjs +17 -9
  189. package/esm2022/filter-bar/pipes/pipe-button.mjs +3 -3
  190. package/esm2022/filter-bar/pipes/pipe-date.mjs +6 -6
  191. package/esm2022/filter-bar/pipes/pipe-datetime.mjs +6 -6
  192. package/esm2022/filter-bar/pipes/pipe-multi-select.mjs +15 -9
  193. package/esm2022/filter-bar/pipes/pipe-multi-tree-select.mjs +12 -7
  194. package/esm2022/filter-bar/pipes/pipe-readonly.mjs +6 -6
  195. package/esm2022/filter-bar/pipes/pipe-select.mjs +6 -6
  196. package/esm2022/filter-bar/pipes/pipe-state.mjs +3 -3
  197. package/esm2022/filter-bar/pipes/pipe-text.mjs +6 -6
  198. package/esm2022/filter-bar/pipes/pipe-title.mjs +26 -21
  199. package/esm2022/filter-bar/pipes/pipe-tree-select.mjs +6 -6
  200. package/esm2022/form-field/cleaner.mjs +3 -3
  201. package/esm2022/form-field/error.mjs +3 -3
  202. package/esm2022/form-field/fieldset.mjs +11 -11
  203. package/esm2022/form-field/form-field.mjs +11 -11
  204. package/esm2022/form-field/form-field.module.mjs +4 -4
  205. package/esm2022/form-field/hint.mjs +3 -3
  206. package/esm2022/form-field/label.mjs +3 -3
  207. package/esm2022/form-field/password-hint.mjs +3 -3
  208. package/esm2022/form-field/password-toggle.mjs +7 -7
  209. package/esm2022/form-field/prefix.mjs +3 -3
  210. package/esm2022/form-field/reactive-password-hint.mjs +3 -3
  211. package/esm2022/form-field/stepper.mjs +44 -13
  212. package/esm2022/form-field/suffix.mjs +3 -3
  213. package/esm2022/form-field/validate.directive.mjs +3 -3
  214. package/esm2022/icon/icon-button.component.mjs +3 -3
  215. package/esm2022/icon/icon-item.component.mjs +3 -3
  216. package/esm2022/icon/icon.component.mjs +4 -4
  217. package/esm2022/icon/icon.module.mjs +4 -4
  218. package/esm2022/inline-edit/index.mjs +3 -0
  219. package/esm2022/inline-edit/inline-edit.mjs +382 -0
  220. package/esm2022/inline-edit/koobiq-components-inline-edit.mjs +5 -0
  221. package/esm2022/inline-edit/module.mjs +25 -0
  222. package/esm2022/input/input-number-validators.mjs +6 -6
  223. package/esm2022/input/input-number.mjs +10 -9
  224. package/esm2022/input/input-password.mjs +4 -4
  225. package/esm2022/input/input.mjs +7 -7
  226. package/esm2022/input/input.module.mjs +11 -8
  227. package/esm2022/link/link.component.mjs +6 -6
  228. package/esm2022/link/link.module.mjs +4 -4
  229. package/esm2022/list/list-selection.component.mjs +40 -24
  230. package/esm2022/list/list.component.mjs +6 -6
  231. package/esm2022/list/list.module.mjs +4 -4
  232. package/esm2022/loader-overlay/loader-overlay.component.mjs +13 -13
  233. package/esm2022/loader-overlay/loader-overlay.module.mjs +4 -4
  234. package/esm2022/markdown/markdown.component.mjs +10 -10
  235. package/esm2022/markdown/markdown.module.mjs +4 -4
  236. package/esm2022/markdown/markdown.service.mjs +3 -3
  237. package/esm2022/modal/css-unit.pipe.mjs +3 -3
  238. package/esm2022/modal/modal-control.service.mjs +3 -3
  239. package/esm2022/modal/modal-util.mjs +7 -3
  240. package/esm2022/modal/modal.component.mjs +5 -5
  241. package/esm2022/modal/modal.directive.mjs +12 -12
  242. package/esm2022/modal/modal.module.mjs +4 -4
  243. package/esm2022/modal/modal.service.mjs +5 -4
  244. package/esm2022/navbar/navbar-item.component.mjs +53 -44
  245. package/esm2022/navbar/navbar.component.mjs +17 -13
  246. package/esm2022/navbar/navbar.module.mjs +4 -4
  247. package/esm2022/navbar/vertical-navbar.component.mjs +6 -6
  248. package/esm2022/navbar-ic/navbar-ic-header.mjs +25 -9
  249. package/esm2022/navbar-ic/navbar-ic-item.mjs +35 -44
  250. package/esm2022/navbar-ic/navbar-ic.animation.mjs +10 -2
  251. package/esm2022/navbar-ic/navbar-ic.mjs +50 -21
  252. package/esm2022/navbar-ic/navbar-ic.module.mjs +4 -4
  253. package/esm2022/notification-center/index.mjs +2 -0
  254. package/esm2022/notification-center/koobiq-components-notification-center.mjs +5 -0
  255. package/esm2022/notification-center/notification-center-animations.mjs +18 -0
  256. package/esm2022/notification-center/notification-center.mjs +353 -0
  257. package/esm2022/notification-center/notification-center.module.mjs +38 -0
  258. package/esm2022/notification-center/notification-center.service.mjs +127 -0
  259. package/esm2022/notification-center/notification-item.mjs +70 -0
  260. package/esm2022/notification-center/public-api.mjs +5 -0
  261. package/esm2022/overflow-items/module.mjs +4 -4
  262. package/esm2022/overflow-items/overflow-items.mjs +95 -41
  263. package/esm2022/popover/popover-confirm.component.mjs +10 -10
  264. package/esm2022/popover/popover.component.mjs +31 -13
  265. package/esm2022/popover/popover.module.mjs +4 -4
  266. package/esm2022/progress-bar/progress-bar.component.mjs +9 -9
  267. package/esm2022/progress-bar/progress-bar.module.mjs +4 -4
  268. package/esm2022/progress-spinner/progress-spinner.component.mjs +9 -9
  269. package/esm2022/progress-spinner/progress-spinner.module.mjs +4 -4
  270. package/esm2022/radio/radio.component.mjs +6 -6
  271. package/esm2022/radio/radio.module.mjs +4 -4
  272. package/esm2022/resizer/index.mjs +3 -0
  273. package/esm2022/resizer/koobiq-components-resizer.mjs +5 -0
  274. package/esm2022/resizer/module.mjs +17 -0
  275. package/esm2022/resizer/resizer.mjs +135 -0
  276. package/esm2022/risk-level/risk-level.component.mjs +3 -3
  277. package/esm2022/risk-level/risk-level.module.mjs +4 -4
  278. package/esm2022/scrollbar/scrollbar.component.mjs +3 -3
  279. package/esm2022/scrollbar/scrollbar.directive.mjs +7 -6
  280. package/esm2022/scrollbar/scrollbar.module.mjs +4 -4
  281. package/esm2022/search-expandable/index.mjs +2 -0
  282. package/esm2022/search-expandable/koobiq-components-search-expandable.mjs +5 -0
  283. package/esm2022/search-expandable/public-api.mjs +3 -0
  284. package/esm2022/search-expandable/search-expandable.mjs +177 -0
  285. package/esm2022/search-expandable/search-expandable.module.mjs +18 -0
  286. package/esm2022/select/select-option.directive.mjs +3 -3
  287. package/esm2022/select/select.component.mjs +38 -23
  288. package/esm2022/select/select.module.mjs +12 -8
  289. package/esm2022/sidebar/sidebar.component.mjs +9 -9
  290. package/esm2022/sidebar/sidebar.module.mjs +4 -4
  291. package/esm2022/sidepanel/sidepanel-container.component.mjs +5 -5
  292. package/esm2022/sidepanel/sidepanel-directives.mjs +15 -15
  293. package/esm2022/sidepanel/sidepanel.module.mjs +4 -4
  294. package/esm2022/sidepanel/sidepanel.service.mjs +3 -3
  295. package/esm2022/split-button/index.mjs +2 -0
  296. package/esm2022/split-button/koobiq-components-split-button.mjs +5 -0
  297. package/esm2022/split-button/public-api.mjs +3 -0
  298. package/esm2022/split-button/split-button.mjs +133 -0
  299. package/esm2022/split-button/split-button.module.mjs +18 -0
  300. package/esm2022/splitter/splitter.component.mjs +13 -13
  301. package/esm2022/splitter/splitter.module.mjs +4 -4
  302. package/esm2022/table/table.component.mjs +6 -6
  303. package/esm2022/table/table.module.mjs +4 -4
  304. package/esm2022/tabs/paginated-tab-header.mjs +4 -4
  305. package/esm2022/tabs/tab-body.component.mjs +6 -6
  306. package/esm2022/tabs/tab-content.directive.mjs +3 -3
  307. package/esm2022/tabs/tab-group.component.mjs +15 -15
  308. package/esm2022/tabs/tab-header.component.mjs +4 -4
  309. package/esm2022/tabs/tab-label-wrapper.directive.mjs +4 -4
  310. package/esm2022/tabs/tab-label.directive.mjs +3 -3
  311. package/esm2022/tabs/tab-nav-bar.mjs +10 -10
  312. package/esm2022/tabs/tab.component.mjs +3 -3
  313. package/esm2022/tabs/tabs.module.mjs +4 -4
  314. package/esm2022/tags/tag-input.mjs +38 -36
  315. package/esm2022/tags/tag-list.component.mjs +281 -250
  316. package/esm2022/tags/tag.component.mjs +206 -140
  317. package/esm2022/tags/tag.module.mjs +4 -4
  318. package/esm2022/textarea/textarea.component.mjs +5 -5
  319. package/esm2022/textarea/textarea.module.mjs +7 -6
  320. package/esm2022/time-range/constants.mjs +42 -0
  321. package/esm2022/time-range/index.mjs +8 -0
  322. package/esm2022/time-range/koobiq-components-time-range.mjs +5 -0
  323. package/esm2022/time-range/module.mjs +36 -0
  324. package/esm2022/time-range/time-range-editor.mjs +224 -0
  325. package/esm2022/time-range/time-range-title-as-form-field.mjs +60 -0
  326. package/esm2022/time-range/time-range-title.mjs +112 -0
  327. package/esm2022/time-range/time-range.mjs +234 -0
  328. package/esm2022/time-range/time-range.service.mjs +126 -0
  329. package/esm2022/time-range/types.mjs +2 -0
  330. package/esm2022/timepicker/timepicker.directive.mjs +4 -4
  331. package/esm2022/timepicker/timepicker.module.mjs +9 -8
  332. package/esm2022/timezone/cities-by-filter.pipe.mjs +3 -3
  333. package/esm2022/timezone/timezone-option.component.mjs +5 -5
  334. package/esm2022/timezone/timezone-option.directive.mjs +3 -3
  335. package/esm2022/timezone/timezone-select.component.mjs +9 -9
  336. package/esm2022/timezone/timezone.module.mjs +10 -8
  337. package/esm2022/timezone/utc-offset.pipe.mjs +3 -3
  338. package/esm2022/title/title.directive.mjs +9 -5
  339. package/esm2022/title/title.module.mjs +4 -4
  340. package/esm2022/toast/toast-container.component.mjs +3 -3
  341. package/esm2022/toast/toast.component.mjs +20 -14
  342. package/esm2022/toast/toast.module.mjs +4 -4
  343. package/esm2022/toast/toast.service.mjs +5 -4
  344. package/esm2022/toast/toast.type.mjs +1 -1
  345. package/esm2022/toggle/toggle.component.mjs +6 -6
  346. package/esm2022/toggle/toggle.module.mjs +4 -4
  347. package/esm2022/tooltip/tooltip.component.mjs +19 -19
  348. package/esm2022/tooltip/tooltip.module.mjs +4 -4
  349. package/esm2022/top-bar/module.mjs +4 -4
  350. package/esm2022/top-bar/top-bar.mjs +11 -11
  351. package/esm2022/tree/node.mjs +3 -3
  352. package/esm2022/tree/outlet.mjs +3 -3
  353. package/esm2022/tree/padding.directive.mjs +3 -3
  354. package/esm2022/tree/toggle.mjs +16 -12
  355. package/esm2022/tree/tree-base.mjs +7 -7
  356. package/esm2022/tree/tree-option.component.mjs +11 -14
  357. package/esm2022/tree/tree-selection.component.mjs +26 -16
  358. package/esm2022/tree/tree.mjs +3 -3
  359. package/esm2022/tree/tree.module.mjs +4 -4
  360. package/esm2022/tree-select/tree-select.component.mjs +142 -84
  361. package/esm2022/tree-select/tree-select.module.mjs +11 -8
  362. package/esm2022/username/module.mjs +4 -4
  363. package/esm2022/username/username.mjs +15 -15
  364. package/esm2022/username/username.pipe.mjs +8 -8
  365. package/fesm2022/koobiq-components-accordion.mjs +20 -20
  366. package/fesm2022/koobiq-components-accordion.mjs.map +1 -1
  367. package/fesm2022/koobiq-components-actions-panel.mjs +10 -10
  368. package/fesm2022/koobiq-components-alert.mjs +16 -16
  369. package/fesm2022/koobiq-components-app-switcher.mjs +704 -0
  370. package/fesm2022/koobiq-components-app-switcher.mjs.map +1 -0
  371. package/fesm2022/koobiq-components-autocomplete.mjs +16 -16
  372. package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
  373. package/fesm2022/koobiq-components-badge.mjs +14 -14
  374. package/fesm2022/koobiq-components-badge.mjs.map +1 -1
  375. package/fesm2022/koobiq-components-breadcrumbs.mjs +61 -52
  376. package/fesm2022/koobiq-components-breadcrumbs.mjs.map +1 -1
  377. package/fesm2022/koobiq-components-button-toggle.mjs +12 -12
  378. package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
  379. package/fesm2022/koobiq-components-button.mjs +18 -16
  380. package/fesm2022/koobiq-components-button.mjs.map +1 -1
  381. package/fesm2022/koobiq-components-checkbox.mjs +10 -10
  382. package/fesm2022/koobiq-components-clamped-text.mjs +7 -7
  383. package/fesm2022/koobiq-components-code-block.mjs +18 -13
  384. package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
  385. package/fesm2022/koobiq-components-content-panel.mjs +31 -165
  386. package/fesm2022/koobiq-components-content-panel.mjs.map +1 -1
  387. package/fesm2022/koobiq-components-core.mjs +962 -581
  388. package/fesm2022/koobiq-components-core.mjs.map +1 -1
  389. package/fesm2022/koobiq-components-datepicker.mjs +47 -44
  390. package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
  391. package/fesm2022/koobiq-components-divider.mjs +8 -8
  392. package/fesm2022/koobiq-components-divider.mjs.map +1 -1
  393. package/fesm2022/koobiq-components-dl.mjs +13 -13
  394. package/fesm2022/koobiq-components-dropdown.mjs +41 -27
  395. package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
  396. package/fesm2022/koobiq-components-dynamic-translation.mjs +13 -13
  397. package/fesm2022/koobiq-components-ellipsis-center.mjs +11 -8
  398. package/fesm2022/koobiq-components-ellipsis-center.mjs.map +1 -1
  399. package/fesm2022/koobiq-components-empty-state.mjs +19 -19
  400. package/fesm2022/koobiq-components-file-upload.mjs +45 -25
  401. package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
  402. package/fesm2022/koobiq-components-filter-bar.mjs +147 -114
  403. package/fesm2022/koobiq-components-filter-bar.mjs.map +1 -1
  404. package/fesm2022/koobiq-components-form-field.mjs +100 -73
  405. package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
  406. package/fesm2022/koobiq-components-icon.mjs +13 -13
  407. package/fesm2022/koobiq-components-icon.mjs.map +1 -1
  408. package/fesm2022/koobiq-components-inline-edit.mjs +411 -0
  409. package/fesm2022/koobiq-components-inline-edit.mjs.map +1 -0
  410. package/fesm2022/koobiq-components-input.mjs +34 -31
  411. package/fesm2022/koobiq-components-input.mjs.map +1 -1
  412. package/fesm2022/koobiq-components-link.mjs +10 -10
  413. package/fesm2022/koobiq-components-link.mjs.map +1 -1
  414. package/fesm2022/koobiq-components-list.mjs +49 -33
  415. package/fesm2022/koobiq-components-list.mjs.map +1 -1
  416. package/fesm2022/koobiq-components-loader-overlay.mjs +16 -16
  417. package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
  418. package/fesm2022/koobiq-components-markdown.mjs +16 -16
  419. package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
  420. package/fesm2022/koobiq-components-modal.mjs +36 -31
  421. package/fesm2022/koobiq-components-modal.mjs.map +1 -1
  422. package/fesm2022/koobiq-components-navbar-ic.mjs +122 -81
  423. package/fesm2022/koobiq-components-navbar-ic.mjs.map +1 -1
  424. package/fesm2022/koobiq-components-navbar.mjs +77 -64
  425. package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
  426. package/fesm2022/koobiq-components-notification-center.mjs +586 -0
  427. package/fesm2022/koobiq-components-notification-center.mjs.map +1 -0
  428. package/fesm2022/koobiq-components-overflow-items.mjs +98 -44
  429. package/fesm2022/koobiq-components-overflow-items.mjs.map +1 -1
  430. package/fesm2022/koobiq-components-popover.mjs +43 -25
  431. package/fesm2022/koobiq-components-popover.mjs.map +1 -1
  432. package/fesm2022/koobiq-components-progress-bar.mjs +13 -13
  433. package/fesm2022/koobiq-components-progress-spinner.mjs +13 -13
  434. package/fesm2022/koobiq-components-radio.mjs +10 -10
  435. package/fesm2022/koobiq-components-resizer.mjs +156 -0
  436. package/fesm2022/koobiq-components-resizer.mjs.map +1 -0
  437. package/fesm2022/koobiq-components-risk-level.mjs +7 -7
  438. package/fesm2022/koobiq-components-scrollbar.mjs +13 -12
  439. package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -1
  440. package/fesm2022/koobiq-components-search-expandable.mjs +199 -0
  441. package/fesm2022/koobiq-components-search-expandable.mjs.map +1 -0
  442. package/fesm2022/koobiq-components-select.mjs +51 -33
  443. package/fesm2022/koobiq-components-select.mjs.map +1 -1
  444. package/fesm2022/koobiq-components-sidebar.mjs +13 -13
  445. package/fesm2022/koobiq-components-sidepanel.mjs +26 -26
  446. package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
  447. package/fesm2022/koobiq-components-split-button.mjs +155 -0
  448. package/fesm2022/koobiq-components-split-button.mjs.map +1 -0
  449. package/fesm2022/koobiq-components-splitter.mjs +16 -16
  450. package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
  451. package/fesm2022/koobiq-components-table.mjs +10 -10
  452. package/fesm2022/koobiq-components-tabs.mjs +52 -52
  453. package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
  454. package/fesm2022/koobiq-components-tags.mjs +522 -428
  455. package/fesm2022/koobiq-components-tags.mjs.map +1 -1
  456. package/fesm2022/koobiq-components-textarea.mjs +10 -10
  457. package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
  458. package/fesm2022/koobiq-components-time-range.mjs +809 -0
  459. package/fesm2022/koobiq-components-time-range.mjs.map +1 -0
  460. package/fesm2022/koobiq-components-timepicker.mjs +11 -11
  461. package/fesm2022/koobiq-components-timepicker.mjs.map +1 -1
  462. package/fesm2022/koobiq-components-timezone.mjs +31 -29
  463. package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
  464. package/fesm2022/koobiq-components-title.mjs +12 -8
  465. package/fesm2022/koobiq-components-title.mjs.map +1 -1
  466. package/fesm2022/koobiq-components-toast.mjs +28 -21
  467. package/fesm2022/koobiq-components-toast.mjs.map +1 -1
  468. package/fesm2022/koobiq-components-toggle.mjs +9 -9
  469. package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
  470. package/fesm2022/koobiq-components-tooltip.mjs +22 -22
  471. package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
  472. package/fesm2022/koobiq-components-top-bar.mjs +15 -15
  473. package/fesm2022/koobiq-components-top-bar.mjs.map +1 -1
  474. package/fesm2022/koobiq-components-tree-select.mjs +151 -91
  475. package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
  476. package/fesm2022/koobiq-components-tree.mjs +72 -61
  477. package/fesm2022/koobiq-components-tree.mjs.map +1 -1
  478. package/fesm2022/koobiq-components-username.mjs +27 -27
  479. package/file-upload/_file-upload-theme.scss +33 -35
  480. package/file-upload/file-upload-tokens.scss +1 -2
  481. package/file-upload/file-upload.d.ts +1 -1
  482. package/file-upload/file-upload.scss +4 -7
  483. package/file-upload/multiple-file-upload.component.d.ts +2 -1
  484. package/file-upload/multiple-file-upload.component.scss +12 -14
  485. package/file-upload/single-file-upload.component.d.ts +2 -0
  486. package/file-upload/single-file-upload.component.scss +5 -7
  487. package/filter-bar/filter-bar.d.ts +3 -1
  488. package/filter-bar/filter-search.scss +1 -3
  489. package/filter-bar/filters.d.ts +1 -0
  490. package/filter-bar/pipes/base-pipe.d.ts +6 -2
  491. package/filter-bar/pipes/base-pipe.scss +3 -3
  492. package/filter-bar/pipes/pipe-date.scss +4 -1
  493. package/filter-bar/pipes/pipe-title.d.ts +2 -0
  494. package/form-field/fieldset-tokens.scss +1 -0
  495. package/form-field/form-field-tokens.scss +1 -1
  496. package/form-field/form-field.d.ts +1 -1
  497. package/form-field/form-field.scss +7 -7
  498. package/form-field/password-toggle.d.ts +1 -1
  499. package/form-field/stepper.d.ts +28 -6
  500. package/icon/icon.component.d.ts +2 -2
  501. package/inline-edit/index.d.ts +2 -0
  502. package/inline-edit/inline-edit-tokens.scss +8 -0
  503. package/inline-edit/inline-edit.d.ts +140 -0
  504. package/inline-edit/inline-edit.scss +208 -0
  505. package/inline-edit/module.d.ts +7 -0
  506. package/input/input-number.d.ts +1 -1
  507. package/input/input-password.d.ts +2 -2
  508. package/input/input.d.ts +2 -2
  509. package/input/input.module.d.ts +2 -1
  510. package/link/link.component.d.ts +3 -3
  511. package/list/list-selection.component.d.ts +13 -2
  512. package/loader-overlay/loader-overlay.component.d.ts +1 -1
  513. package/markdown/_markdown-theme.scss +1 -2
  514. package/markdown/markdown-tokens.scss +1 -0
  515. package/markdown/markdown.scss +10 -4
  516. package/modal/modal-tokens.scss +2 -1
  517. package/modal/modal-util.d.ts +5 -2
  518. package/modal/modal.component.d.ts +1 -1
  519. package/modal/modal.scss +3 -4
  520. package/navbar/_navbar-item_vertical.scss +10 -0
  521. package/navbar/navbar-brand.scss +5 -2
  522. package/navbar/navbar-item.component.d.ts +3 -2
  523. package/navbar/navbar.component.d.ts +4 -4
  524. package/navbar/vertical-navbar.component.d.ts +2 -2
  525. package/navbar/vertical-navbar.scss +1 -0
  526. package/navbar-ic/navbar-ic-header.d.ts +4 -3
  527. package/navbar-ic/navbar-ic-header.scss +0 -4
  528. package/navbar-ic/navbar-ic-item.d.ts +3 -2
  529. package/navbar-ic/navbar-ic-item.scss +0 -4
  530. package/navbar-ic/navbar-ic.animation.d.ts +1 -0
  531. package/navbar-ic/navbar-ic.d.ts +11 -2
  532. package/notification-center/_notification-center-theme.scss +27 -0
  533. package/notification-center/index.d.ts +1 -0
  534. package/notification-center/notification-center-animations.d.ts +5 -0
  535. package/notification-center/notification-center.d.ts +153 -0
  536. package/notification-center/notification-center.module.d.ts +7 -0
  537. package/notification-center/notification-center.scss +126 -0
  538. package/notification-center/notification-center.service.d.ts +72 -0
  539. package/notification-center/notification-item.d.ts +27 -0
  540. package/notification-center/notification-item.scss +157 -0
  541. package/notification-center/public-api.d.ts +4 -0
  542. package/overflow-items/overflow-items.d.ts +23 -9
  543. package/package.json +46 -4
  544. package/popover/popover-tokens.scss +1 -0
  545. package/popover/popover.component.d.ts +9 -1
  546. package/popover/popover.scss +18 -11
  547. package/prebuilt-themes/dark-theme.css +1 -1
  548. package/prebuilt-themes/light-theme.css +1 -1
  549. package/prebuilt-themes/theme.css +1 -1
  550. package/resizer/index.d.ts +2 -0
  551. package/resizer/module.d.ts +7 -0
  552. package/{content-panel/resizable.d.ts → resizer/resizer.d.ts} +18 -13
  553. package/schematics/collection.json +5 -0
  554. package/schematics/migrations/icons-replacement/README.md +93 -0
  555. package/schematics/migrations/icons-replacement/data.js +92 -0
  556. package/schematics/migrations/icons-replacement/index.js +84 -0
  557. package/schematics/migrations/icons-replacement/schema.json +32 -0
  558. package/schematics/ng-add/index.js +6 -6
  559. package/scrollbar/scrollbar.component.scss +2 -3
  560. package/search-expandable/index.d.ts +1 -0
  561. package/search-expandable/public-api.d.ts +2 -0
  562. package/search-expandable/search-expandable.d.ts +70 -0
  563. package/search-expandable/search-expandable.module.d.ts +7 -0
  564. package/search-expandable/search-expandable.scss +21 -0
  565. package/select/select.component.d.ts +38 -3
  566. package/select/select.module.d.ts +2 -1
  567. package/select/select.scss +1 -17
  568. package/sidepanel/sidepanel-tokens.scss +2 -0
  569. package/sidepanel/sidepanel.scss +2 -0
  570. package/split-button/_split-button-theme.scss +114 -0
  571. package/split-button/index.d.ts +1 -0
  572. package/split-button/public-api.d.ts +2 -0
  573. package/split-button/split-button.d.ts +37 -0
  574. package/split-button/split-button.module.d.ts +7 -0
  575. package/split-button/split-button.scss +72 -0
  576. package/splitter/splitter.component.d.ts +5 -5
  577. package/tabs/paginated-tab-header.d.ts +1 -1
  578. package/tabs/tab-header.component.d.ts +2 -2
  579. package/tabs/tab-label-wrapper.directive.d.ts +2 -2
  580. package/tabs/tab-nav-bar.d.ts +3 -3
  581. package/tags/_tag-theme.scss +21 -15
  582. package/tags/tag-input.d.ts +18 -7
  583. package/tags/tag-list.component.d.ts +175 -64
  584. package/tags/tag-list.scss +24 -14
  585. package/tags/tag-tokens.scss +17 -1
  586. package/tags/tag.component.d.ts +91 -27
  587. package/tags/tag.scss +9 -0
  588. package/textarea/textarea-tokens.scss +6 -1
  589. package/textarea/textarea.component.d.ts +2 -2
  590. package/textarea/textarea.module.d.ts +2 -1
  591. package/textarea/textarea.scss +4 -0
  592. package/time-range/constants.d.ts +19 -0
  593. package/time-range/index.d.ts +7 -0
  594. package/time-range/module.d.ts +10 -0
  595. package/time-range/time-range-editor.d.ts +65 -0
  596. package/time-range/time-range-title-as-form-field.d.ts +41 -0
  597. package/time-range/time-range-title.d.ts +18 -0
  598. package/time-range/time-range.d.ts +78 -0
  599. package/time-range/time-range.scss +66 -0
  600. package/time-range/time-range.service.d.ts +25 -0
  601. package/time-range/types.d.ts +69 -0
  602. package/timepicker/timepicker.directive.d.ts +2 -2
  603. package/timepicker/timepicker.module.d.ts +2 -1
  604. package/timezone/timezone-option.component.scss +6 -0
  605. package/timezone/timezone.module.d.ts +1 -1
  606. package/toast/toast.component.d.ts +6 -4
  607. package/toast/toast.component.scss +11 -1
  608. package/toast/toast.service.d.ts +1 -0
  609. package/toast/toast.type.d.ts +1 -0
  610. package/toggle/_toggle-theme.scss +8 -5
  611. package/toggle/toggle-tokens.scss +0 -1
  612. package/toggle/toggle.scss +11 -15
  613. package/top-bar/top-bar-tokens.scss +1 -1
  614. package/top-bar/top-bar.scss +3 -0
  615. package/tree/toggle.d.ts +1 -1
  616. package/tree/tree-base.d.ts +2 -2
  617. package/tree/tree-option.component.d.ts +2 -1
  618. package/tree/tree-selection.component.d.ts +12 -3
  619. package/tree-select/tree-select.component.d.ts +49 -8
  620. package/tree-select/tree-select.module.d.ts +2 -1
  621. package/tree-select/tree-select.scss +4 -0
  622. package/core/locales/fa-IR.d.ts +0 -100
  623. package/core/locales/zh-CN.d.ts +0 -100
  624. package/esm2022/content-panel/resizable.mjs +0 -138
  625. package/esm2022/core/locales/fa-IR.mjs +0 -99
  626. package/esm2022/core/locales/zh-CN.mjs +0 -99
@@ -0,0 +1,93 @@
1
+ ### Icons replacement schematics
2
+
3
+ This schematic provides migration for new icons naming attribute. It includes:
4
+
5
+ - Replacement of old names with new based on info in `data.ts`;
6
+
7
+ [Params](schema.ts)
8
+
9
+ #### Usage for Angular Cli:
10
+
11
+ ```shell
12
+ ng g @koobiq/components:icons-replacement --project <your project>
13
+ ```
14
+
15
+ - with custom icon replacement mapping:
16
+
17
+ ```shell
18
+ ng g @koobiq/components:icons-replacement --project <your project> --replacement-data-path <path-as-json>
19
+ ```
20
+
21
+ ```shell
22
+ ng g @koobiq/components:icons-replacement --project <your project>
23
+ ```
24
+
25
+ #### Usage for Nx:
26
+
27
+ ```shell
28
+ nx g @koobiq/components:icons-replacement --project <your project>
29
+ ```
30
+
31
+ - with custom icon replacement mapping:
32
+
33
+ ```shell
34
+ nx g @koobiq/components:icons-replacement --project <your project> --replacement-data-path <path-as-json>
35
+ ```
36
+
37
+ ### Run locally
38
+
39
+ Build package
40
+
41
+ ```shell
42
+ yarn run build:schematics
43
+ ```
44
+
45
+ Run command (for example, for `koobiq-docs` project)
46
+
47
+ ```shell
48
+ ng g ./dist/components/schematics/collection.json:icons-replacement --project koobiq-docs
49
+ ```
50
+
51
+ ### Result
52
+
53
+ #### Before
54
+
55
+ ```ts
56
+ import { Component } from '@angular/core';
57
+
58
+ @Component({
59
+ template: `
60
+ <i kbq-icon="kbq-bolt-circle_16">...</i>
61
+ `,
62
+ styles: `
63
+ .custom-icon {
64
+ <!-- cspell:ignore xmark -->
65
+ @extend .kbq-xmark-circle_16;
66
+ }
67
+ `
68
+ })
69
+ export class MyComp {
70
+ iconName = 'kbq-bolt-circle_16';
71
+ }
72
+ ```
73
+
74
+ #### After
75
+
76
+ ```ts
77
+ import { Component } from '@angular/core';
78
+
79
+ @Component({
80
+ template: `
81
+ <i kbq-icon="kbq-circle-bolt_16">...</i>
82
+ `,
83
+ styles: `
84
+ .custom-icon {
85
+ <!-- cspell:ignore xmark -->
86
+ @extend .kbq-circle-xmark_16;
87
+ }
88
+ `
89
+ })
90
+ export class MyComp {
91
+ iconName = 'kbq-circle-bolt_16';
92
+ }
93
+ ```
@@ -0,0 +1,92 @@
1
+ 'use strict';
2
+
3
+ const iconReplacementData = [
4
+ { from: 'anomaly-square_16', to: 'square-a_16' },
5
+ { from: 'anomaly-square_24', to: 'square-a_24' },
6
+ { from: 'arrow-circle-down_16', to: 'circle-arrow-down_16' },
7
+ { from: 'arrow-circle-down_24', to: 'circle-arrow-down_24' },
8
+ { from: 'arrow-circle-left_16', to: 'circle-arrow-left_16' },
9
+ { from: 'arrow-circle-left_24', to: 'circle-arrow-left_24' },
10
+ { from: 'arrow-circle-right_16', to: 'circle-arrow-right_16' },
11
+ { from: 'arrow-circle-right_24', to: 'circle-arrow-right_24' },
12
+ { from: 'arrow-circle-up_16', to: 'circle-arrow-up_16' },
13
+ { from: 'arrow-circle-up_24', to: 'circle-arrow-up_24' },
14
+ { from: 'arrow-right-circle-dot-o_16', to: 'circle-arrow-right-dot-o_16' },
15
+ { from: 'arrow-right-circle-dot-o_24', to: 'circle-arrow-right-dot-o_24' },
16
+ { from: 'bolt-circle_16', to: 'circle-bolt_16' },
17
+ { from: 'bolt-circle_24', to: 'circle-bolt_24' },
18
+ { from: 'bolt-rectangle-vertical_16', to: 'rectangle-vertical-bolt_16' },
19
+ { from: 'bolt-rectangle-vertical_24', to: 'rectangle-vertical-bolt_24' },
20
+ { from: 'bolt-rectangle-vertical-o_16', to: 'rectangle-vertical-bolt-o_16' },
21
+ { from: 'bolt-rectangle-vertical-o_24', to: 'rectangle-vertical-bolt-o_24' },
22
+ { from: 'check-circle_16', to: 'circle-check_16' },
23
+ { from: 'check-circle_24', to: 'circle-check_24' },
24
+ { from: 'chevron-circle-down_16', to: 'circle-chevron-down_16' },
25
+ { from: 'chevron-circle-down_24', to: 'circle-chevron-down_24' },
26
+ { from: 'chevron-circle-left_16', to: 'circle-chevron-left_16' },
27
+ { from: 'chevron-circle-left_24', to: 'circle-chevron-left_24' },
28
+ { from: 'chevron-circle-right_16', to: 'circle-chevron-right_16' },
29
+ { from: 'chevron-circle-right_24', to: 'circle-chevron-right_24' },
30
+ { from: 'chevron-circle-up_16', to: 'circle-chevron-up_16' },
31
+ { from: 'chevron-circle-up_24', to: 'circle-chevron-up_24' },
32
+ { from: 'compress_16', to: 'chevrons-compress_16' },
33
+ { from: 'compress_24', to: 'chevrons-compress_24' },
34
+ { from: 'ellipsis-horizontal-circle-o_16', to: 'circle-ellipsis-horizontal-o_16' },
35
+ { from: 'ellipsis-horizontal-circle-o_24', to: 'circle-ellipsis-horizontal-o_24' },
36
+ { from: 'exclamation-circle_16', to: 'circle-exclamation_16' },
37
+ { from: 'exclamation-circle_24', to: 'circle-exclamation_24' },
38
+ { from: 'exclamation-triangle_16', to: 'triangle-exclamation_16' },
39
+ { from: 'exclamation-triangle_24', to: 'triangle-exclamation_24' },
40
+ { from: 'info-circle_16', to: 'circle-info_16' },
41
+ { from: 'info-circle_24', to: 'circle-info_24' },
42
+ { from: 'ip4-rectangle_16', to: 'rectangle-ip4_16' },
43
+ { from: 'ip4-rectangle_24', to: 'rectangle-ip4_24' },
44
+ { from: 'ip6-rectangle_16', to: 'rectangle-ip6_16' },
45
+ { from: 'ip6-rectangle_24', to: 'rectangle-ip6_24' },
46
+ { from: 'location-arrow-circle-o_16', to: 'circle-location-arrow-o_16' },
47
+ { from: 'location-arrow-circle-o_24', to: 'circle-location-arrow-o_24' },
48
+ { from: 'minus-circle_16', to: 'circle-minus_16' },
49
+ { from: 'minus-circle_24', to: 'circle-minus_24' },
50
+ { from: 'minus-circle-o_16', to: 'circle-minus-o_16' },
51
+ { from: 'minus-circle-o_24', to: 'circle-minus-o_24' },
52
+ { from: 'minus-circle-s_16', to: 'circle-minus-s_16' },
53
+ { from: 'minus-circle-s_24', to: 'circle-minus-s_24' },
54
+ { from: 'minus-octagon_16', to: 'octagon-minus_16' },
55
+ { from: 'minus-octagon_24', to: 'octagon-minus_24' },
56
+ { from: 'minus-square_16', to: 'square-minus_16' },
57
+ { from: 'minus-square_24', to: 'square-minus_24' },
58
+ { from: 'pause-circle_16', to: 'circle-pause_16' },
59
+ { from: 'pause-circle_24', to: 'circle-pause_24' },
60
+ { from: 'play-circle_16', to: 'circle-play_16' },
61
+ { from: 'play-circle_24', to: 'circle-play_24' },
62
+ { from: 'plus-circle_16', to: 'circle-plus_16' },
63
+ { from: 'plus-circle_24', to: 'circle-plus_24' },
64
+ { from: 'plus-circle-s_16', to: 'circle-plus-s_16' },
65
+ { from: 'plus-circle-s_24', to: 'circle-plus-s_24' },
66
+ { from: 'plus-square_16', to: 'square-plus_16' },
67
+ { from: 'plus-square_24', to: 'square-plus_24' },
68
+ { from: 'question-circle_16', to: 'circle-question_16' },
69
+ { from: 'question-circle_24', to: 'circle-question_24' },
70
+ { from: 'stop-circle_16', to: 'circle-stop_16' },
71
+ { from: 'stop-circle_24', to: 'circle-stop_24' },
72
+ { from: 'telegram-circle_16', to: 'circle-telegram_16' },
73
+ { from: 'telegram-circle_24', to: 'circle-telegram_24' },
74
+ { from: 'user-arrow-triangle-up_16', to: 'user-badge-triangle-up_16' },
75
+ { from: 'user-arrow-triangle-up_24', to: 'user-badge-triangle-up_24' },
76
+ { from: 'windows-arrow-rotate-left_16', to: 'arrow-rotate-left-badge-windows_16' },
77
+ { from: 'wrap-text_16', to: 'text-wrap_16' },
78
+ { from: 'wrap-text_24', to: 'text-wrap_24' },
79
+ { from: 'wrap-text-slash_16', to: 'text-overflow_16' },
80
+ { from: 'wrap-text-slash_24', to: 'text-overflow_24' },
81
+ { from: 'xmark-circle_16', to: 'circle-xmark_16' },
82
+ { from: 'xmark-circle_24', to: 'circle-xmark_24' },
83
+ { from: 'xmark-circle-s_16', to: 'circle-xmark-s_16' },
84
+ { from: 'xmark-circle-s_24', to: 'circle-xmark-s_24' },
85
+ { from: 'table-badge-arrow-down-circle_32', to: 'table-badge-circle-arrow-down_32' },
86
+ { from: 'question-circle-o_32', to: 'circle-question-o_32' },
87
+ { from: 'gear-badge-arrowtriangle-up-square_16', to: 'gear-badge-square-arrowtriangle-up_16' },
88
+ { from: 'gear-badge-arrowtriangle-up-square_24', to: 'gear-badge-square-arrowtriangle-up_24' },
89
+ { from: 'exclamation-triangle_32', to: 'triangle-exclamation_32' }
90
+ ];
91
+
92
+ exports.iconReplacementData = iconReplacementData;
@@ -0,0 +1,84 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var path = require('path');
6
+ var utils_messages = require('../../utils/messages.js');
7
+ var utils_packageConfig = require('../../utils/package-config.js');
8
+ var migrations_iconsReplacement_data = require('./data.js');
9
+ require('@angular-devkit/schematics');
10
+ require('@schematics/angular/utility');
11
+
12
+ const replaceIcons = (contentToBeUpdated, replacementData) => {
13
+ let res = contentToBeUpdated;
14
+ for (const { from, to } of replacementData) {
15
+ res = res.replace(new RegExp(`kbq-${from}`, 'g'), `kbq-${to}`);
16
+ }
17
+ return res;
18
+ };
19
+ const logReplacement = ({ logger, replacementData, contentToBeUpdated, filePath }) => {
20
+ const foundIcons = replacementData.filter(({ from }) => contentToBeUpdated.indexOf(from) !== -1);
21
+ if (foundIcons.length) {
22
+ const parsedFilePath = path.relative(__dirname, `.${filePath}`).replace(/\\/g, '/');
23
+ utils_messages.logMessage(logger, [
24
+ `Please pay attention! Found deprecated icons in file: `,
25
+ parsedFilePath,
26
+ foundIcons.map(({ from, to }) => `\t${from} -> \t${to}`).join('\n')
27
+ ]);
28
+ }
29
+ };
30
+ const processIconReplacement = ({ fileContent, filePath, fix, logger, replacementData }) => {
31
+ if (fix) {
32
+ const updatedContent = replaceIcons(fileContent, replacementData);
33
+ return { fileContent: updatedContent, changed: updatedContent !== fileContent, errors: [] };
34
+ }
35
+ else {
36
+ logReplacement({
37
+ logger,
38
+ replacementData,
39
+ contentToBeUpdated: fileContent,
40
+ filePath
41
+ });
42
+ return { fileContent, changed: false, errors: [] };
43
+ }
44
+ };
45
+ const resolveReplacementData = (projectRootPath, tree, customReplacementDataPath) => {
46
+ if (customReplacementDataPath) {
47
+ const replacementData = tree.get(`${projectRootPath}/${customReplacementDataPath}`);
48
+ if (!replacementData)
49
+ return migrations_iconsReplacement_data.iconReplacementData;
50
+ return JSON.parse(replacementData.content.toString());
51
+ }
52
+ return migrations_iconsReplacement_data.iconReplacementData;
53
+ };
54
+ function migrate(options) {
55
+ return async (tree, context) => {
56
+ const { logger } = context;
57
+ const { project, allowed, fix, replacementDataPath } = options;
58
+ const projectDefinition = await utils_packageConfig.setupOptions(project, tree);
59
+ const replacementData = resolveReplacementData(projectDefinition.root, tree, replacementDataPath);
60
+ tree.getDir(projectDefinition.root).visit((filePath, entry) => {
61
+ if (allowed.length === 0 || allowed.some((ext) => filePath.endsWith(ext))) {
62
+ const initialContent = entry?.content.toString();
63
+ if (!initialContent)
64
+ return;
65
+ const { fileContent, changed } = processIconReplacement({
66
+ fileContent: initialContent,
67
+ filePath,
68
+ fix,
69
+ logger,
70
+ replacementData
71
+ });
72
+ if (changed) {
73
+ tree.overwrite(filePath, fileContent);
74
+ }
75
+ }
76
+ });
77
+ };
78
+ }
79
+
80
+ exports.default = migrate;
81
+ exports.logReplacement = logReplacement;
82
+ exports.processIconReplacement = processIconReplacement;
83
+ exports.replaceIcons = replaceIcons;
84
+ exports.resolveReplacementData = resolveReplacementData;
@@ -0,0 +1,32 @@
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "$id": "koobiq-components-icons-replacement",
4
+ "title": "koobiq-components icons-replacement schematic",
5
+ "type": "object",
6
+ "properties": {
7
+ "project": {
8
+ "type": "string",
9
+ "description": "Name of the project",
10
+ "$default": {
11
+ "$source": "projectName"
12
+ }
13
+ },
14
+ "fix": {
15
+ "type": "boolean",
16
+ "default": false,
17
+ "description": "Whether overwrite icons prefixes or simply inform in console"
18
+ },
19
+ "allowed": {
20
+ "type": "array",
21
+ "default": [".html", ".ts", ".scss"],
22
+ "items": {
23
+ "type": "string"
24
+ },
25
+ "description": "Allowed file extensions to check"
26
+ },
27
+ "replacementDataPath": {
28
+ "type": "string",
29
+ "description": "Custom replacement data path. Will be used as relative to `project.root`"
30
+ }
31
+ }
32
+ }
@@ -27,16 +27,16 @@ function ngAdd(options) {
27
27
  }
28
28
  // Installing dependencies
29
29
  utils_packageConfig.addPackageToPackageJson(tree, '@angular/cdk', "^18.2.14");
30
- utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/cdk', "^18.35.0");
31
- utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/angular-luxon-adapter', "^18.35.0");
32
- utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/date-formatter', "^3.2.3");
33
- utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/date-adapter', "^3.2.3");
34
- utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/icons', "^10.7.0");
30
+ utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/cdk', "^18.37.0");
31
+ utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/angular-luxon-adapter', "^18.37.0");
32
+ utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/date-formatter', "^3.4.0");
33
+ utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/date-adapter', "^3.4.0");
34
+ utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/icons', "^10.10.0");
35
35
  utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/tokens-builder', "^3.14.0");
36
36
  utils_packageConfig.addPackageToPackageJson(tree, '@koobiq/design-tokens', "^3.14.0");
37
37
  utils_packageConfig.addPackageToPackageJson(tree, '@messageformat/core', "^3.4.0");
38
38
  utils_packageConfig.addPackageToPackageJson(tree, '@radix-ng/primitives', "^0.23.0");
39
- utils_packageConfig.addPackageToPackageJson(tree, 'luxon', "^3.7.1");
39
+ utils_packageConfig.addPackageToPackageJson(tree, 'luxon', "^3.7.2");
40
40
  };
41
41
  }
42
42
 
@@ -1,7 +1,4 @@
1
- // @TODO should remove "selector-class-pattern" rule ignore (#DS-3753)
2
- /* stylelint-disable selector-class-pattern */
3
1
  @use '../core/styles/common/tokens' as *;
4
-
5
2
  @use './scrollbar-component-theme' as *;
6
3
 
7
4
  .kbq-scrollbar-component {
@@ -143,11 +140,13 @@
143
140
  transform: scale(calc(1 / 0.1));
144
141
  }
145
142
 
143
+ /* stylelint-disable-next-line selector-class-pattern */
146
144
  .os-size-observer-listener.ltr {
147
145
  margin-right: -266px;
148
146
  margin-left: 0;
149
147
  }
150
148
 
149
+ /* stylelint-disable-next-line selector-class-pattern */
151
150
  .os-size-observer-listener.rtl {
152
151
  margin-left: -266px;
153
152
  margin-right: 0;
@@ -0,0 +1 @@
1
+ export * from './public-api';
@@ -0,0 +1,2 @@
1
+ export * from './search-expandable';
2
+ export * from './search-expandable.module';
@@ -0,0 +1,70 @@
1
+ import { FocusMonitor } from '@angular/cdk/a11y';
2
+ import { AfterViewInit, ChangeDetectorRef, DestroyRef, EventEmitter, InjectionToken } from '@angular/core';
3
+ import { ControlValueAccessor } from '@angular/forms';
4
+ import { BehaviorSubject } from 'rxjs';
5
+ import * as i0 from "@angular/core";
6
+ /** default configuration of search-expandable */
7
+ export declare const KBQ_SEARCH_EXPANDABLE_DEFAULT_CONFIGURATION: {
8
+ tooltip: string;
9
+ placeholder: string;
10
+ };
11
+ /** Injection Token for providing configuration of search-expandable */
12
+ export declare const KBQ_SEARCH_EXPANDABLE_CONFIGURATION: InjectionToken<unknown>;
13
+ export declare const defaultValue = "";
14
+ export declare const defaultEmitValueTimeout = 200;
15
+ export declare class KbqSearchExpandable implements ControlValueAccessor, AfterViewInit {
16
+ /** @docs-private */
17
+ protected readonly focusMonitor: FocusMonitor;
18
+ /** @docs-private */
19
+ protected readonly localeService: import("@koobiq/components/core").KbqLocaleService | null;
20
+ /** @docs-private */
21
+ protected readonly destroyRef: DestroyRef;
22
+ /** @docs-private */
23
+ protected readonly changeDetectorRef: ChangeDetectorRef;
24
+ /** @docs-private */
25
+ protected readonly nativeElement: HTMLElement;
26
+ readonly externalConfiguration: unknown;
27
+ private input;
28
+ private button;
29
+ private tooltip;
30
+ configuration: any;
31
+ /** Current value in input. */
32
+ value: BehaviorSubject<string>;
33
+ protected lastFocusOrigin: 'touch' | 'mouse' | 'keyboard' | 'program' | null;
34
+ /** state of component. */
35
+ isOpened: boolean;
36
+ /** Emit event by enter or not. Default is false */
37
+ isEmitValueByEnterEnabled: boolean;
38
+ /** Timeout in milliseconds for emit event. The default value is taken from defaultEmitValueTimeout */
39
+ emitValueTimeout: number;
40
+ /** Placeholder for input when expanded */
41
+ get placeholder(): string;
42
+ set placeholder(value: string);
43
+ private _placeholder;
44
+ /** Event emitted when the search has been toggled. */
45
+ readonly isOpenedChange: EventEmitter<boolean>;
46
+ /** localized data
47
+ * @docs-private */
48
+ get localeData(): any;
49
+ private lastEmittedValue;
50
+ constructor();
51
+ ngAfterViewInit(): void;
52
+ /** @docs-private */
53
+ onChange: (value: string) => void;
54
+ /** @docs-private */
55
+ onTouch: () => void;
56
+ /** Implemented as part of ControlValueAccessor. */
57
+ registerOnChange(fn: (value: string) => void): void;
58
+ /** Implemented as part of ControlValueAccessor. */
59
+ registerOnTouched(fn: () => void): void;
60
+ /** Implemented as part of ControlValueAccessor. */
61
+ writeValue(value: string): void;
62
+ toggle(): void;
63
+ private updateLocaleParams;
64
+ private initDefaultParams;
65
+ private emitValue;
66
+ static ɵfac: i0.ɵɵFactoryDeclaration<KbqSearchExpandable, never>;
67
+ static ɵcmp: i0.ɵɵComponentDeclaration<KbqSearchExpandable, "kbq-search-expandable", never, { "isOpened": { "alias": "isOpened"; "required": false; }; "isEmitValueByEnterEnabled": { "alias": "isEmitValueByEnterEnabled"; "required": false; }; "emitValueTimeout": { "alias": "emitValueTimeout"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, { "isOpenedChange": "isOpenedChange"; }, never, never, true, never>;
68
+ static ngAcceptInputType_isOpened: unknown;
69
+ static ngAcceptInputType_emitValueTimeout: unknown;
70
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./search-expandable";
3
+ export declare class KbqSearchExpandableModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<KbqSearchExpandableModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KbqSearchExpandableModule, never, [typeof i1.KbqSearchExpandable], [typeof i1.KbqSearchExpandable]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<KbqSearchExpandableModule>;
7
+ }
@@ -0,0 +1,21 @@
1
+ .kbq-search-expandable {
2
+ display: flex;
3
+ flex-flow: row nowrap;
4
+ align-items: center;
5
+ justify-content: flex-start;
6
+
7
+ min-width: 0;
8
+ min-height: 0;
9
+ }
10
+
11
+ .kbq-search-expandable__search {
12
+ & .kbq-icon-button.kbq-suffix {
13
+ display: flex;
14
+ align-items: center;
15
+ justify-content: center;
16
+
17
+ border-radius: var(--kbq-size-xxs);
18
+
19
+ height: var(--kbq-size-xxl);
20
+ }
21
+ }
@@ -29,6 +29,14 @@ export type KbqSelectOptions = Partial<{
29
29
  * Minimum width of the panel. If minWidth is larger than window width or property set to null, it will be ignored.
30
30
  */
31
31
  panelMinWidth: Exclude<KbqSelectPanelWidth, 'auto'>;
32
+ /**
33
+ * Whether to enable hiding search by default if options is less than minimum.
34
+ *
35
+ * - `'auto'` uses `KBQ_SELECT_SEARCH_MIN_OPTIONS_THRESHOLD` as min value.
36
+ * - number - will enables search hiding and uses value as min.
37
+ * @see KBQ_SELECT_SEARCH_MIN_OPTIONS_THRESHOLD
38
+ */
39
+ searchMinOptionsThreshold: 'auto' | number;
32
40
  }>;
33
41
  /** Injection token that can be used to provide the default options for the `kbq-select`. */
34
42
  export declare const KBQ_SELECT_OPTIONS: InjectionToken<Partial<{
@@ -41,6 +49,14 @@ export declare const KBQ_SELECT_OPTIONS: InjectionToken<Partial<{
41
49
  * Minimum width of the panel. If minWidth is larger than window width or property set to null, it will be ignored.
42
50
  */
43
51
  panelMinWidth: Exclude<KbqSelectPanelWidth, "auto">;
52
+ /**
53
+ * Whether to enable hiding search by default if options is less than minimum.
54
+ *
55
+ * - `'auto'` uses `KBQ_SELECT_SEARCH_MIN_OPTIONS_THRESHOLD` as min value.
56
+ * - number - will enables search hiding and uses value as min.
57
+ * @see KBQ_SELECT_SEARCH_MIN_OPTIONS_THRESHOLD
58
+ */
59
+ searchMinOptionsThreshold: "auto" | number;
44
60
  }>>;
45
61
  /** Utility provider for `KBQ_SELECT_OPTIONS`. */
46
62
  export declare const kbqSelectOptionsProvider: (options: KbqSelectOptions) => Provider;
@@ -49,7 +65,7 @@ export declare class KbqSelect extends KbqAbstractSelect implements AfterContent
49
65
  private readonly _ngZone;
50
66
  private readonly _renderer;
51
67
  defaultErrorStateMatcher: ErrorStateMatcher;
52
- elementRef: ElementRef;
68
+ elementRef: ElementRef<HTMLElement>;
53
69
  private overlayContainer;
54
70
  private readonly _dir;
55
71
  parentForm: NgForm;
@@ -71,6 +87,14 @@ export declare class KbqSelect extends KbqAbstractSelect implements AfterContent
71
87
  * Minimum width of the panel. If minWidth is larger than window width or property set to null, it will be ignored.
72
88
  */
73
89
  panelMinWidth: Exclude<KbqSelectPanelWidth, "auto">;
90
+ /**
91
+ * Whether to enable hiding search by default if options is less than minimum.
92
+ *
93
+ * - `'auto'` uses `KBQ_SELECT_SEARCH_MIN_OPTIONS_THRESHOLD` as min value.
94
+ * - number - will enables search hiding and uses value as min.
95
+ * @see KBQ_SELECT_SEARCH_MIN_OPTIONS_THRESHOLD
96
+ */
97
+ searchMinOptionsThreshold: "auto" | number;
74
98
  }> | null;
75
99
  private readonly window;
76
100
  /** Whether the component is in an error state. */
@@ -149,6 +173,15 @@ export declare class KbqSelect extends KbqAbstractSelect implements AfterContent
149
173
  * Whether to use a multiline matcher or not. Default is false
150
174
  */
151
175
  multiline: boolean;
176
+ /**
177
+ * Controls when the search functionality is displayed based on the number of available options.
178
+ *
179
+ * Automatically enables search hiding if value provided, even if `defaultOptions.minOptionsThreshold` is provided.
180
+ * @default undefined
181
+ */
182
+ set searchMinOptionsThreshold(value: 'auto' | number | undefined);
183
+ get searchMinOptionsThreshold(): number | undefined;
184
+ private _searchMinOptionsThreshold;
152
185
  /** Combined stream of all of the child options' change events. */
153
186
  readonly optionSelectionChanges: Observable<KbqOptionSelectionChange>;
154
187
  /** Event emitted when the select panel has been toggled. */
@@ -242,7 +275,7 @@ export declare class KbqSelect extends KbqAbstractSelect implements AfterContent
242
275
  protected overlayMinWidth: string | number;
243
276
  /** Origin for the overlay panel. */
244
277
  protected overlayOrigin?: CdkOverlayOrigin | ElementRef;
245
- constructor(_changeDetectorRef: ChangeDetectorRef, _ngZone: NgZone, _renderer: Renderer2, defaultErrorStateMatcher: ErrorStateMatcher, elementRef: ElementRef, overlayContainer: OverlayContainer, _dir: Directionality, parentForm: NgForm, parentFormGroup: FormGroupDirective, parentFormField: KbqFormField, ngControl: NgControl, scrollStrategyFactory: any, localeService?: KbqLocaleService | undefined);
278
+ constructor(_changeDetectorRef: ChangeDetectorRef, _ngZone: NgZone, _renderer: Renderer2, defaultErrorStateMatcher: ErrorStateMatcher, elementRef: ElementRef<HTMLElement>, overlayContainer: OverlayContainer, _dir: Directionality, parentForm: NgForm, parentFormGroup: FormGroupDirective, parentFormField: KbqFormField, ngControl: NgControl, scrollStrategyFactory: any, localeService?: KbqLocaleService | undefined);
246
279
  ngOnInit(): void;
247
280
  ngDoCheck(): void;
248
281
  ngAfterContentInit(): void;
@@ -318,6 +351,8 @@ export declare class KbqSelect extends KbqAbstractSelect implements AfterContent
318
351
  calculateHiddenItems(): void;
319
352
  getItemHeight(): number;
320
353
  handleClick($event: MouseEvent): void;
354
+ /** @docs-private */
355
+ protected shouldShowSearch(): boolean;
321
356
  private updateLocaleParams;
322
357
  private isVisible;
323
358
  private currentOverlayPosition;
@@ -369,7 +404,7 @@ export declare class KbqSelect extends KbqAbstractSelect implements AfterContent
369
404
  private getTotalVisibleItems;
370
405
  private buildTriggerClone;
371
406
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqSelect, [null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; host: true; }, { optional: true; self: true; }, null, { optional: true; }]>;
372
- static ɵcmp: i0.ɵɵComponentDeclaration<KbqSelect, "kbq-select", ["kbqSelect"], { "hiddenItemsText": { "alias": "hiddenItemsText"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "backdropClass": { "alias": "backdropClass"; "required": false; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; "sortComparator": { "alias": "sortComparator"; "required": false; }; "multiline": { "alias": "multiline"; "required": false; }; "hasBackdrop": { "alias": "hasBackdrop"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "selectAllHandler": { "alias": "selectAllHandler"; "required": false; }; "panelWidth": { "alias": "panelWidth"; "required": false; }; "panelMinWidth": { "alias": "panelMinWidth"; "required": false; }; "value": { "alias": "value"; "required": false; }; "id": { "alias": "id"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hiddenItemsTextFormatter": { "alias": "hiddenItemsTextFormatter"; "required": false; }; }, { "openedChange": "openedChange"; "openedStream": "opened"; "closedStream": "closed"; "selectionChange": "selectionChange"; "valueChange": "valueChange"; }, ["footer", "cdkVirtualForOf", "customTrigger", "customMatcher", "customTagTemplateRef", "cleaner", "search", "options", "optionGroups"], ["kbq-select-matcher, [kbq-select-matcher]", "kbq-select-trigger, [kbq-select-trigger]", "kbq-cleaner", "[kbqSelectSearch]", "[kbq-select-search-empty-result]", "*", "kbq-select-footer,[kbq-select-footer]"], false, never>;
407
+ static ɵcmp: i0.ɵɵComponentDeclaration<KbqSelect, "kbq-select", ["kbqSelect"], { "hiddenItemsText": { "alias": "hiddenItemsText"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "backdropClass": { "alias": "backdropClass"; "required": false; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; "sortComparator": { "alias": "sortComparator"; "required": false; }; "multiline": { "alias": "multiline"; "required": false; }; "searchMinOptionsThreshold": { "alias": "searchMinOptionsThreshold"; "required": false; }; "hasBackdrop": { "alias": "hasBackdrop"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "selectAllHandler": { "alias": "selectAllHandler"; "required": false; }; "panelWidth": { "alias": "panelWidth"; "required": false; }; "panelMinWidth": { "alias": "panelMinWidth"; "required": false; }; "value": { "alias": "value"; "required": false; }; "id": { "alias": "id"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hiddenItemsTextFormatter": { "alias": "hiddenItemsTextFormatter"; "required": false; }; }, { "openedChange": "openedChange"; "openedStream": "opened"; "closedStream": "closed"; "selectionChange": "selectionChange"; "valueChange": "valueChange"; }, ["footer", "cdkVirtualForOf", "customTrigger", "customMatcher", "customTagTemplateRef", "cleaner", "search", "options", "optionGroups"], ["kbq-select-matcher, [kbq-select-matcher]", "kbq-select-trigger, [kbq-select-trigger]", "kbq-cleaner", "[kbqSelectSearch]", "[kbq-select-search-empty-result]", "*", "kbq-select-footer,[kbq-select-footer]"], false, never>;
373
408
  static ngAcceptInputType_multiline: unknown;
374
409
  static ngAcceptInputType_multiple: unknown;
375
410
  static ngAcceptInputType_panelMinWidth: unknown;
@@ -8,8 +8,9 @@ import * as i6 from "@koobiq/components/tags";
8
8
  import * as i7 from "@koobiq/components/tooltip";
9
9
  import * as i8 from "@angular/common";
10
10
  import * as i9 from "@angular/cdk/a11y";
11
+ import * as i10 from "@koobiq/components/form-field";
11
12
  export declare class KbqSelectModule {
12
13
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqSelectModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<KbqSelectModule, [typeof i1.KbqSelect, typeof i2.KbqOptionTooltip], [typeof i3.OverlayModule, typeof i4.KbqOptionModule, typeof i5.KbqIconModule, typeof i6.KbqTagsModule, typeof i7.KbqToolTipModule, typeof i4.KbqSelectSearch, typeof i4.KbqSelectFooter, typeof i4.KbqSelectMatcher, typeof i4.KbqSelectTrigger, typeof i4.KbqSelectSearchEmptyResult, typeof i8.NgClass, typeof i8.NgTemplateOutlet, typeof i9.A11yModule], [typeof i1.KbqSelect, typeof i2.KbqOptionTooltip, typeof i4.KbqOptionModule, typeof i4.KbqSelectSearch, typeof i4.KbqSelectFooter, typeof i4.KbqSelectMatcher, typeof i4.KbqSelectTrigger, typeof i4.KbqSelectSearchEmptyResult]>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KbqSelectModule, [typeof i1.KbqSelect, typeof i2.KbqOptionTooltip], [typeof i3.OverlayModule, typeof i4.KbqOptionModule, typeof i5.KbqIconModule, typeof i6.KbqTagsModule, typeof i7.KbqToolTipModule, typeof i4.KbqSelectSearch, typeof i4.KbqSelectFooter, typeof i4.KbqSelectMatcher, typeof i4.KbqSelectTrigger, typeof i4.KbqSelectSearchEmptyResult, typeof i8.NgClass, typeof i8.NgTemplateOutlet, typeof i9.A11yModule], [typeof i1.KbqSelect, typeof i2.KbqOptionTooltip, typeof i4.KbqOptionModule, typeof i4.KbqSelectSearch, typeof i4.KbqSelectFooter, typeof i4.KbqSelectMatcher, typeof i4.KbqSelectTrigger, typeof i4.KbqSelectSearchEmptyResult, typeof i10.KbqFormFieldModule]>;
14
15
  static ɵinj: i0.ɵɵInjectorDeclaration<KbqSelectModule>;
15
16
  }
@@ -22,23 +22,7 @@
22
22
  box-sizing: initial;
23
23
 
24
24
  .kbq-option {
25
- position: relative;
26
-
27
- &:before,
28
- &:after {
29
- position: absolute;
30
- content: '';
31
- width: var(--kbq-size-xxs);
32
- height: calc(100% + var(--kbq-size-3xs) * 2); // outline size * 2
33
- }
34
-
35
- &:before {
36
- right: calc(100% + var(--kbq-size-3xs)); // outline size
37
- }
38
-
39
- &:after {
40
- left: calc(100% + var(--kbq-size-3xs)); // outline size
41
- }
25
+ @include item-active-area(var(--kbq-size-3xs));
42
26
  }
43
27
 
44
28
  &:not(:has(> .kbq-select__no-options-message)) .cdk-virtual-scroll-viewport {
@@ -8,6 +8,8 @@
8
8
  --kbq-sidepanel-size-close-button-margin-left: var(--kbq-size-s);
9
9
  --kbq-sidepanel-size-content-padding-horizontal: var(--kbq-size-xxl);
10
10
  --kbq-sidepanel-size-content-padding-bottom: var(--kbq-size-xxl);
11
+ // Added top padding to prevent the outline of the first focused field from being clipped
12
+ --kbq-sidepanel-size-content-padding-top: 1px;
11
13
  --kbq-sidepanel-size-footer-padding-top: var(--kbq-size-s);
12
14
  --kbq-sidepanel-size-footer-padding-bottom: var(--kbq-size-3xl);
13
15
  --kbq-sidepanel-size-footer-padding-horizontal: var(--kbq-size-xxl);
@@ -149,6 +149,8 @@
149
149
  flex-direction: column;
150
150
  min-height: 0;
151
151
 
152
+ padding-top: var(--kbq-sidepanel-size-content-padding-top);
153
+
152
154
  padding-right: var(--kbq-sidepanel-size-content-padding-horizontal);
153
155
 
154
156
  padding-left: var(--kbq-sidepanel-size-content-padding-horizontal);