@koobiq/components 16.0.0-beta.1 → 16.0.0-beta.11

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 (479) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +2 -2
  3. package/autocomplete/_autocomplete-theme.scss +3 -10
  4. package/autocomplete/autocomplete-origin.directive.d.ts +1 -1
  5. package/autocomplete/autocomplete-trigger.directive.d.ts +6 -16
  6. package/autocomplete/autocomplete.component.d.ts +1 -1
  7. package/autocomplete/autocomplete.scss +0 -8
  8. package/badge/README.md +0 -0
  9. package/{core/styles/theming/_badges-theme.scss → badge/_badge-theme.scss} +14 -13
  10. package/badge/badge.component.d.ts +44 -0
  11. package/badge/badge.component.scss +83 -0
  12. package/badge/badge.module.d.ts +10 -0
  13. package/badge/index.d.ts +1 -0
  14. package/badge/public-api.d.ts +2 -0
  15. package/button/_button-base.scss +1 -1
  16. package/button/_button-theme.scss +35 -27
  17. package/button/button.scss +5 -2
  18. package/button-toggle/_button-toggle-theme.scss +26 -45
  19. package/button-toggle/button-toggle.component.d.ts +2 -2
  20. package/button-toggle/button-toggle.scss +40 -87
  21. package/card/_card-theme.scss +1 -1
  22. package/checkbox/README.md +1 -1
  23. package/checkbox/_checkbox-theme.scss +10 -2
  24. package/checkbox/checkbox.d.ts +2 -2
  25. package/code-block/README.md +14 -14
  26. package/code-block/_code-block-theme.scss +49 -10
  27. package/code-block/actionbar.component.scss +34 -6
  28. package/code-block/code-block.component.d.ts +2 -2
  29. package/code-block/code-block.scss +101 -27
  30. package/core/animation/index.d.ts +1 -1
  31. package/core/animation/select-animations.d.ts +1 -1
  32. package/core/common-behaviors/color.d.ts +1 -1
  33. package/core/common-behaviors/common-module.d.ts +1 -1
  34. package/core/formatters/index.d.ts +1 -1
  35. package/core/formatters/number/formatter.d.ts +56 -1
  36. package/core/forms/_forms-theme.scss +4 -4
  37. package/core/forms/_forms.scss +1 -3
  38. package/core/forms/forms.directive.d.ts +2 -2
  39. package/core/locales/en-US.d.ts +19 -1
  40. package/core/locales/es-LA.d.ts +27 -0
  41. package/core/locales/fa-IR.d.ts +28 -0
  42. package/core/locales/locale-service.d.ts +148 -3
  43. package/core/locales/pt-BR.d.ts +27 -0
  44. package/core/locales/ru-RU.d.ts +20 -1
  45. package/core/locales/zh-CN.d.ts +26 -0
  46. package/core/option/_optgroup-theme.scss +1 -1
  47. package/core/option/_option-action-theme.scss +1 -1
  48. package/core/option/_option-theme.scss +37 -14
  49. package/core/option/action.d.ts +1 -1
  50. package/core/option/action.scss +4 -5
  51. package/core/option/optgroup.d.ts +1 -1
  52. package/core/option/option.d.ts +37 -8
  53. package/core/option/option.scss +5 -50
  54. package/core/overlay/overlay-position-map.d.ts +7 -1
  55. package/core/pop-up/constants.d.ts +2 -1
  56. package/core/public-api.d.ts +1 -0
  57. package/core/select/constants.d.ts +2 -2
  58. package/core/services/theme.service.d.ts +23 -0
  59. package/core/styles/_koobiq-theme.scss +12 -1
  60. package/core/styles/_tokens.kbq.import.scss +4 -4
  61. package/core/styles/_tokens.scss +4 -4
  62. package/core/styles/_variables.scss +1 -0
  63. package/core/styles/common/_animation.scss +10 -6
  64. package/core/styles/common/_list.scss +123 -0
  65. package/core/styles/common/_overlay.scss +1 -1
  66. package/core/styles/common/_select.scss +232 -0
  67. package/core/styles/theming/_components-theming.scss +716 -102
  68. package/core/styles/theming/_theming.scss +201 -30
  69. package/core/styles/typography/_typography.scss +176 -5
  70. package/datepicker/_datepicker-theme.scss +43 -57
  71. package/datepicker/calendar-body.component.d.ts +1 -1
  72. package/datepicker/calendar-body.scss +11 -26
  73. package/datepicker/calendar-header.component.d.ts +9 -3
  74. package/datepicker/calendar-header.scss +7 -31
  75. package/datepicker/calendar.component.d.ts +4 -5
  76. package/datepicker/calendar.scss +20 -25
  77. package/datepicker/datepicker-animations.d.ts +2 -2
  78. package/datepicker/datepicker-content.scss +17 -10
  79. package/datepicker/datepicker-input.directive.d.ts +4 -4
  80. package/datepicker/datepicker-input.scss +1 -1
  81. package/datepicker/datepicker-toggle.component.d.ts +3 -3
  82. package/datepicker/datepicker.component.d.ts +2 -2
  83. package/datepicker/month-view.component.d.ts +5 -6
  84. package/dl/_dl-theme.scss +2 -56
  85. package/dl/dl.component.d.ts +1 -2
  86. package/dl/dl.scss +10 -47
  87. package/dropdown/_dropdown-theme.scss +29 -37
  88. package/dropdown/dropdown-animations.d.ts +1 -1
  89. package/dropdown/dropdown-content.directive.d.ts +1 -1
  90. package/dropdown/dropdown-item.component.d.ts +1 -1
  91. package/dropdown/dropdown-item.scss +18 -40
  92. package/dropdown/dropdown-trigger.directive.d.ts +2 -2
  93. package/dropdown/dropdown.component.d.ts +1 -1
  94. package/dropdown/dropdown.scss +16 -39
  95. package/dropdown/dropdown.types.d.ts +1 -1
  96. package/esm2022/alert/alert.component.mjs +3 -3
  97. package/esm2022/autocomplete/autocomplete-origin.directive.mjs +4 -4
  98. package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +34 -31
  99. package/esm2022/autocomplete/autocomplete.component.mjs +4 -4
  100. package/esm2022/badge/badge.component.mjs +122 -0
  101. package/esm2022/badge/badge.module.mjs +40 -0
  102. package/esm2022/badge/index.mjs +2 -0
  103. package/esm2022/badge/koobiq-components-badge.mjs +5 -0
  104. package/esm2022/badge/public-api.mjs +3 -0
  105. package/esm2022/button/button.component.mjs +4 -3
  106. package/esm2022/button-toggle/button-toggle.component.mjs +15 -15
  107. package/esm2022/checkbox/checkbox.mjs +4 -4
  108. package/esm2022/code-block/actionbar.component.mjs +3 -3
  109. package/esm2022/code-block/code-block.component.mjs +11 -9
  110. package/esm2022/core/animation/index.mjs +2 -2
  111. package/esm2022/core/animation/select-animations.mjs +4 -4
  112. package/esm2022/core/common-behaviors/color.mjs +1 -1
  113. package/esm2022/core/common-behaviors/common-module.mjs +2 -2
  114. package/esm2022/core/formatters/index.mjs +10 -2
  115. package/esm2022/core/formatters/number/formatter.mjs +224 -3
  116. package/esm2022/core/forms/forms.directive.mjs +5 -5
  117. package/esm2022/core/locales/en-US.mjs +22 -4
  118. package/esm2022/core/locales/es-LA.mjs +31 -2
  119. package/esm2022/core/locales/fa-IR.mjs +30 -2
  120. package/esm2022/core/locales/locale-service.mjs +4 -4
  121. package/esm2022/core/locales/pt-BR.mjs +29 -2
  122. package/esm2022/core/locales/ru-RU.mjs +23 -2
  123. package/esm2022/core/locales/zh-CN.mjs +28 -2
  124. package/esm2022/core/option/action.mjs +8 -7
  125. package/esm2022/core/option/optgroup.mjs +3 -3
  126. package/esm2022/core/option/option.mjs +47 -10
  127. package/esm2022/core/overlay/overlay-position-map.mjs +8 -1
  128. package/esm2022/core/pop-up/constants.mjs +2 -1
  129. package/esm2022/core/pop-up/pop-up-trigger.mjs +12 -3
  130. package/esm2022/core/public-api.mjs +2 -1
  131. package/esm2022/core/select/constants.mjs +3 -3
  132. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +3 -3
  133. package/esm2022/core/services/theme.service.mjs +60 -0
  134. package/esm2022/core/version.mjs +2 -2
  135. package/esm2022/datepicker/calendar-body.component.mjs +7 -5
  136. package/esm2022/datepicker/calendar-header.component.mjs +9 -8
  137. package/esm2022/datepicker/calendar.component.mjs +8 -17
  138. package/esm2022/datepicker/datepicker-animations.mjs +3 -3
  139. package/esm2022/datepicker/datepicker-input.directive.mjs +29 -20
  140. package/esm2022/datepicker/datepicker-toggle.component.mjs +6 -6
  141. package/esm2022/datepicker/datepicker.component.mjs +12 -12
  142. package/esm2022/datepicker/month-view.component.mjs +9 -18
  143. package/esm2022/dl/dl.component.mjs +3 -7
  144. package/esm2022/dropdown/dropdown-animations.mjs +4 -4
  145. package/esm2022/dropdown/dropdown-content.directive.mjs +3 -3
  146. package/esm2022/dropdown/dropdown-errors.mjs +6 -6
  147. package/esm2022/dropdown/dropdown-item.component.mjs +7 -6
  148. package/esm2022/dropdown/dropdown-trigger.directive.mjs +10 -9
  149. package/esm2022/dropdown/dropdown.component.mjs +9 -9
  150. package/esm2022/dropdown/dropdown.types.mjs +1 -1
  151. package/esm2022/file-upload/file-drop.mjs +43 -6
  152. package/esm2022/file-upload/file-upload.mjs +1 -1
  153. package/esm2022/file-upload/multiple-file-upload.component.mjs +13 -9
  154. package/esm2022/file-upload/single-file-upload.component.mjs +16 -13
  155. package/esm2022/form-field/cleaner.mjs +3 -3
  156. package/esm2022/form-field/form-field.mjs +12 -15
  157. package/esm2022/form-field/hint.mjs +16 -6
  158. package/esm2022/form-field/password-hint.mjs +25 -16
  159. package/esm2022/form-field/password-toggle.mjs +29 -12
  160. package/esm2022/form-field/prefix.mjs +3 -3
  161. package/esm2022/form-field/suffix.mjs +3 -3
  162. package/esm2022/form-field/validate.directive.mjs +15 -9
  163. package/esm2022/icon/icon-button.component.mjs +68 -0
  164. package/esm2022/icon/icon-item.component.mjs +27 -0
  165. package/esm2022/icon/icon.component.mjs +5 -90
  166. package/esm2022/icon/icon.module.mjs +4 -2
  167. package/esm2022/icon/public-api.mjs +3 -1
  168. package/esm2022/input/input-errors.mjs +2 -2
  169. package/esm2022/input/input-number.mjs +260 -44
  170. package/esm2022/input/input-password.mjs +5 -5
  171. package/esm2022/input/input.mjs +7 -7
  172. package/esm2022/link/link.component.mjs +14 -13
  173. package/esm2022/list/list-selection.component.mjs +23 -10
  174. package/esm2022/list/list.component.mjs +2 -2
  175. package/esm2022/list/list.module.mjs +8 -4
  176. package/esm2022/loader-overlay/loader-overlay.component.mjs +20 -19
  177. package/esm2022/modal/modal-control.service.mjs +5 -5
  178. package/esm2022/modal/modal-ref.class.mjs +1 -1
  179. package/esm2022/modal/modal.component.mjs +129 -134
  180. package/esm2022/modal/modal.module.mjs +13 -7
  181. package/esm2022/modal/modal.service.mjs +23 -23
  182. package/esm2022/modal/modal.type.mjs +1 -3
  183. package/esm2022/navbar/navbar-item.component.mjs +19 -18
  184. package/esm2022/navbar/navbar.component.mjs +20 -11
  185. package/esm2022/navbar/vertical-navbar.animation.mjs +2 -2
  186. package/esm2022/navbar/vertical-navbar.component.mjs +11 -8
  187. package/esm2022/popover/popover-animations.mjs +2 -2
  188. package/esm2022/popover/popover-confirm.component.mjs +9 -11
  189. package/esm2022/popover/popover.component.mjs +24 -24
  190. package/esm2022/progress-spinner/progress-spinner.component.mjs +3 -3
  191. package/esm2022/radio/radio.component.mjs +11 -8
  192. package/esm2022/risk-level/index.mjs +2 -0
  193. package/esm2022/risk-level/koobiq-components-risk-level.mjs +5 -0
  194. package/esm2022/risk-level/public-api.mjs +3 -0
  195. package/esm2022/risk-level/risk-level.component.mjs +40 -0
  196. package/esm2022/risk-level/risk-level.module.mjs +28 -0
  197. package/esm2022/select/select-option.directive.mjs +15 -3
  198. package/esm2022/select/select.component.mjs +47 -29
  199. package/esm2022/sidebar/sidebar-animations.mjs +2 -2
  200. package/esm2022/sidebar/sidebar.component.mjs +9 -9
  201. package/esm2022/sidepanel/sidepanel-container.component.mjs +3 -3
  202. package/esm2022/sidepanel/sidepanel-directives.mjs +8 -10
  203. package/esm2022/sidepanel/sidepanel.module.mjs +10 -4
  204. package/esm2022/splitter/splitter.component.mjs +3 -3
  205. package/esm2022/table/table.component.mjs +3 -3
  206. package/esm2022/tabs/paginated-tab-header.mjs +11 -2
  207. package/esm2022/tabs/tab-body.component.mjs +7 -7
  208. package/esm2022/tabs/tab-content.directive.mjs +3 -3
  209. package/esm2022/tabs/tab-group.component.mjs +16 -21
  210. package/esm2022/tabs/tab-header.component.mjs +2 -2
  211. package/esm2022/tabs/tab-label-wrapper.directive.mjs +4 -3
  212. package/esm2022/tabs/tab-label.directive.mjs +3 -3
  213. package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +21 -10
  214. package/esm2022/tabs/tab.component.mjs +14 -5
  215. package/esm2022/tabs/tabs-animations.mjs +2 -2
  216. package/esm2022/tabs/tabs.module.mjs +2 -6
  217. package/esm2022/tags/tag-default-options.mjs +1 -1
  218. package/esm2022/tags/tag-input.mjs +17 -15
  219. package/esm2022/tags/tag-list.component.mjs +15 -10
  220. package/esm2022/tags/tag.component.mjs +16 -16
  221. package/esm2022/textarea/textarea.component.mjs +4 -4
  222. package/esm2022/timepicker/timepicker.directive.mjs +10 -10
  223. package/esm2022/timezone/timezone-option.component.mjs +4 -4
  224. package/esm2022/timezone/timezone-select.component.mjs +5 -5
  225. package/esm2022/title/title.directive.mjs +6 -6
  226. package/esm2022/toast/toast-animations.mjs +2 -1
  227. package/esm2022/toast/toast-container.component.mjs +22 -8
  228. package/esm2022/toast/toast.component.mjs +30 -13
  229. package/esm2022/toast/toast.module.mjs +23 -8
  230. package/esm2022/toast/toast.service.mjs +2 -1
  231. package/esm2022/toast/toast.type.mjs +6 -1
  232. package/esm2022/toggle/toggle.component.mjs +4 -4
  233. package/esm2022/tooltip/tooltip.animations.mjs +2 -2
  234. package/esm2022/tooltip/tooltip.component.mjs +31 -30
  235. package/esm2022/tree/control/base-tree-control.mjs +1 -1
  236. package/esm2022/tree/control/flat-tree-control.mjs +4 -4
  237. package/esm2022/tree/control/tree-control.mjs +1 -1
  238. package/esm2022/tree/node.mjs +5 -5
  239. package/esm2022/tree/outlet.mjs +3 -3
  240. package/esm2022/tree/padding.directive.mjs +9 -9
  241. package/esm2022/tree/toggle.mjs +11 -12
  242. package/esm2022/tree/tree-base.mjs +3 -3
  243. package/esm2022/tree/tree-option.component.mjs +12 -10
  244. package/esm2022/tree/tree-selection.component.mjs +8 -6
  245. package/esm2022/tree/tree.mjs +3 -3
  246. package/esm2022/tree/tree.module.mjs +13 -4
  247. package/esm2022/tree-select/tree-select.component.mjs +28 -23
  248. package/fesm2022/koobiq-components-alert.mjs +2 -2
  249. package/fesm2022/koobiq-components-alert.mjs.map +1 -1
  250. package/fesm2022/koobiq-components-autocomplete.mjs +40 -37
  251. package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
  252. package/fesm2022/koobiq-components-badge.mjs +166 -0
  253. package/fesm2022/koobiq-components-badge.mjs.map +1 -0
  254. package/fesm2022/koobiq-components-button-toggle.mjs +14 -14
  255. package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
  256. package/fesm2022/koobiq-components-button.mjs +3 -2
  257. package/fesm2022/koobiq-components-button.mjs.map +1 -1
  258. package/fesm2022/koobiq-components-checkbox.mjs +3 -3
  259. package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
  260. package/fesm2022/koobiq-components-code-block.mjs +10 -9
  261. package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
  262. package/fesm2022/koobiq-components-core.mjs +535 -46
  263. package/fesm2022/koobiq-components-core.mjs.map +1 -1
  264. package/fesm2022/koobiq-components-datepicker.mjs +73 -79
  265. package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
  266. package/fesm2022/koobiq-components-dl.mjs +2 -6
  267. package/fesm2022/koobiq-components-dl.mjs.map +1 -1
  268. package/fesm2022/koobiq-components-dropdown.mjs +33 -31
  269. package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
  270. package/fesm2022/koobiq-components-file-upload.mjs +65 -21
  271. package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
  272. package/fesm2022/koobiq-components-form-field.mjs +96 -59
  273. package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
  274. package/fesm2022/koobiq-components-icon.mjs +10 -8
  275. package/fesm2022/koobiq-components-icon.mjs.map +1 -1
  276. package/fesm2022/koobiq-components-input.mjs +269 -55
  277. package/fesm2022/koobiq-components-input.mjs.map +1 -1
  278. package/fesm2022/koobiq-components-link.mjs +13 -12
  279. package/fesm2022/koobiq-components-link.mjs.map +1 -1
  280. package/fesm2022/koobiq-components-list.mjs +31 -14
  281. package/fesm2022/koobiq-components-list.mjs.map +1 -1
  282. package/fesm2022/koobiq-components-loader-overlay.mjs +19 -18
  283. package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
  284. package/fesm2022/koobiq-components-modal.mjs +164 -167
  285. package/fesm2022/koobiq-components-modal.mjs.map +1 -1
  286. package/fesm2022/koobiq-components-navbar.mjs +46 -37
  287. package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
  288. package/fesm2022/koobiq-components-popover.mjs +32 -33
  289. package/fesm2022/koobiq-components-popover.mjs.map +1 -1
  290. package/fesm2022/koobiq-components-progress-spinner.mjs +2 -2
  291. package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
  292. package/fesm2022/koobiq-components-radio.mjs +10 -7
  293. package/fesm2022/koobiq-components-radio.mjs.map +1 -1
  294. package/fesm2022/koobiq-components-risk-level.mjs +72 -0
  295. package/fesm2022/koobiq-components-risk-level.mjs.map +1 -0
  296. package/fesm2022/koobiq-components-select.mjs +60 -30
  297. package/fesm2022/koobiq-components-select.mjs.map +1 -1
  298. package/fesm2022/koobiq-components-sidebar.mjs +8 -8
  299. package/fesm2022/koobiq-components-sidebar.mjs.map +1 -1
  300. package/fesm2022/koobiq-components-sidepanel.mjs +19 -14
  301. package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
  302. package/fesm2022/koobiq-components-splitter.mjs +2 -2
  303. package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
  304. package/fesm2022/koobiq-components-table.mjs +2 -2
  305. package/fesm2022/koobiq-components-table.mjs.map +1 -1
  306. package/fesm2022/koobiq-components-tabs.mjs +74 -53
  307. package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
  308. package/fesm2022/koobiq-components-tags.mjs +45 -38
  309. package/fesm2022/koobiq-components-tags.mjs.map +1 -1
  310. package/fesm2022/koobiq-components-textarea.mjs +3 -3
  311. package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
  312. package/fesm2022/koobiq-components-timepicker.mjs +9 -9
  313. package/fesm2022/koobiq-components-timepicker.mjs.map +1 -1
  314. package/fesm2022/koobiq-components-timezone.mjs +7 -7
  315. package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
  316. package/fesm2022/koobiq-components-title.mjs +5 -5
  317. package/fesm2022/koobiq-components-title.mjs.map +1 -1
  318. package/fesm2022/koobiq-components-toast.mjs +71 -22
  319. package/fesm2022/koobiq-components-toast.mjs.map +1 -1
  320. package/fesm2022/koobiq-components-toggle.mjs +3 -3
  321. package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
  322. package/fesm2022/koobiq-components-tooltip.mjs +31 -30
  323. package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
  324. package/fesm2022/koobiq-components-tree-select.mjs +27 -22
  325. package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
  326. package/fesm2022/koobiq-components-tree.mjs +67 -54
  327. package/fesm2022/koobiq-components-tree.mjs.map +1 -1
  328. package/file-upload/_file-upload-theme.scss +54 -40
  329. package/file-upload/file-drop.d.ts +3 -2
  330. package/file-upload/file-upload.d.ts +4 -1
  331. package/file-upload/file-upload.scss +2 -9
  332. package/file-upload/multiple-file-upload.component.d.ts +6 -5
  333. package/file-upload/multiple-file-upload.component.scss +170 -59
  334. package/file-upload/single-file-upload.component.d.ts +6 -5
  335. package/file-upload/single-file-upload.component.scss +42 -22
  336. package/form-field/_form-field-theme.scss +3 -6
  337. package/form-field/_hint-theme.scss +6 -2
  338. package/form-field/cleaner.d.ts +1 -1
  339. package/form-field/form-field.d.ts +3 -4
  340. package/form-field/form-field.scss +2 -2
  341. package/form-field/hint.d.ts +4 -1
  342. package/form-field/hint.scss +9 -1
  343. package/form-field/password-hint.d.ts +7 -3
  344. package/form-field/password-hint.scss +6 -0
  345. package/form-field/password-toggle.d.ts +13 -7
  346. package/form-field/prefix.d.ts +1 -1
  347. package/form-field/suffix.d.ts +1 -1
  348. package/form-field/validate.directive.d.ts +1 -1
  349. package/icon/_icon-button-theme.scss +129 -0
  350. package/icon/_icon-item-theme.scss +41 -0
  351. package/icon/_icon-theme.scss +1 -232
  352. package/icon/icon-button.component.d.ts +22 -0
  353. package/icon/icon-button.scss +33 -0
  354. package/icon/icon-item.component.d.ts +10 -0
  355. package/icon/icon-item.scss +18 -0
  356. package/icon/icon.component.d.ts +1 -25
  357. package/icon/icon.module.d.ts +6 -4
  358. package/icon/icon.scss +0 -41
  359. package/icon/public-api.d.ts +2 -0
  360. package/input/_input-theme.scss +2 -1
  361. package/input/input-number.d.ts +61 -10
  362. package/input/input-password.d.ts +1 -1
  363. package/input/input.d.ts +2 -2
  364. package/input/input.scss +3 -1
  365. package/link/_link-theme.scss +101 -92
  366. package/link/link.component.d.ts +4 -4
  367. package/list/_list-theme.scss +36 -17
  368. package/list/list-selection.component.d.ts +6 -2
  369. package/list/list.module.d.ts +1 -1
  370. package/list/list.scss +6 -19
  371. package/loader-overlay/_loader-overlay-theme.scss +43 -11
  372. package/loader-overlay/loader-overlay.component.d.ts +6 -5
  373. package/loader-overlay/loader-overlay.scss +56 -22
  374. package/markdown/_markdown-theme.scss +2 -2
  375. package/modal/README.md +5 -5
  376. package/modal/_modal-confirm.scss +5 -37
  377. package/modal/_modal-theme.scss +14 -52
  378. package/modal/modal-ref.class.d.ts +2 -2
  379. package/modal/modal.component.d.ts +53 -52
  380. package/modal/modal.module.d.ts +2 -1
  381. package/modal/modal.scss +50 -31
  382. package/modal/modal.type.d.ts +35 -36
  383. package/navbar/_navbar-theme.scss +2 -2
  384. package/navbar/navbar-item.component.d.ts +4 -3
  385. package/navbar/navbar.component.d.ts +5 -2
  386. package/navbar/vertical-navbar.component.d.ts +4 -2
  387. package/package.json +48 -38
  388. package/popover/README.md +14 -14
  389. package/popover/_popover-theme.scss +15 -78
  390. package/popover/popover-animations.d.ts +1 -1
  391. package/popover/popover-confirm.component.d.ts +1 -3
  392. package/popover/popover.component.d.ts +3 -3
  393. package/popover/popover.scss +60 -50
  394. package/prebuilt-themes/dark-theme.css +1 -1
  395. package/prebuilt-themes/light-theme.css +1 -1
  396. package/progress-spinner/progress-spinner.component.d.ts +2 -2
  397. package/progress-spinner/progress-spinner.scss +10 -5
  398. package/radio/_radio-theme.scss +17 -4
  399. package/radio/radio.component.d.ts +2 -2
  400. package/radio/radio.scss +13 -0
  401. package/risk-level/README.md +0 -0
  402. package/risk-level/_risk-level-theme.scss +88 -0
  403. package/risk-level/index.d.ts +1 -0
  404. package/risk-level/public-api.d.ts +2 -0
  405. package/risk-level/risk-level.component.d.ts +18 -0
  406. package/risk-level/risk-level.component.scss +26 -0
  407. package/risk-level/risk-level.module.d.ts +10 -0
  408. package/select/_select-theme.scss +12 -4
  409. package/select/select-option.directive.d.ts +2 -0
  410. package/select/select.component.d.ts +15 -12
  411. package/select/select.scss +6 -190
  412. package/sidebar/sidebar-animations.d.ts +1 -1
  413. package/sidebar/sidebar.component.d.ts +3 -3
  414. package/sidepanel/_sidepanel-theme.scss +11 -41
  415. package/sidepanel/sidepanel-directives.d.ts +0 -2
  416. package/sidepanel/sidepanel.scss +33 -35
  417. package/splitter/_splitter-theme.scss +1 -0
  418. package/splitter/splitter.component.d.ts +1 -1
  419. package/table/_table-theme.scss +1 -1
  420. package/table/table.component.d.ts +1 -1
  421. package/tabs/_tabs-common.scss +28 -147
  422. package/tabs/_tabs-theme.scss +81 -175
  423. package/tabs/paginated-tab-header.d.ts +1 -0
  424. package/tabs/tab-body.component.d.ts +1 -1
  425. package/tabs/tab-content.directive.d.ts +1 -1
  426. package/tabs/tab-group.component.d.ts +5 -8
  427. package/tabs/tab-group.scss +10 -10
  428. package/tabs/tab-header.scss +2 -24
  429. package/tabs/tab-label-wrapper.directive.d.ts +1 -1
  430. package/tabs/tab-label.directive.d.ts +1 -1
  431. package/tabs/tab-nav-bar/tab-nav-bar.d.ts +4 -2
  432. package/tabs/tab-nav-bar/tab-nav-bar.scss +9 -16
  433. package/tabs/tab.component.d.ts +1 -1
  434. package/tabs/tabs-animations.d.ts +1 -1
  435. package/tabs/tabs.module.d.ts +1 -1
  436. package/tags/_tag-theme.scss +1 -25
  437. package/tags/tag-default-options.d.ts +4 -0
  438. package/tags/tag-input.d.ts +2 -2
  439. package/tags/tag-list.component.d.ts +3 -2
  440. package/tags/tag-list.scss +26 -16
  441. package/tags/tag.component.d.ts +6 -6
  442. package/textarea/textarea.component.d.ts +1 -1
  443. package/timepicker/timepicker.directive.d.ts +2 -2
  444. package/timezone/timezone-option.component.d.ts +1 -1
  445. package/timezone/timezone-select.component.d.ts +1 -1
  446. package/title/title.directive.d.ts +1 -1
  447. package/toast/_toast-theme.scss +21 -33
  448. package/toast/toast-animations.d.ts +1 -0
  449. package/toast/toast-container.component.d.ts +7 -3
  450. package/toast/toast-container.component.scss +2 -1
  451. package/toast/toast.component.d.ts +6 -1
  452. package/toast/toast.component.scss +41 -34
  453. package/toast/toast.module.d.ts +1 -1
  454. package/toast/toast.service.d.ts +2 -0
  455. package/toast/toast.type.d.ts +8 -5
  456. package/toggle/_toggle-theme.scss +9 -1
  457. package/toggle/toggle.component.d.ts +1 -1
  458. package/toggle/toggle.scss +5 -2
  459. package/tooltip/tooltip.animations.d.ts +1 -1
  460. package/tooltip/tooltip.component.d.ts +5 -5
  461. package/tree/_tree-theme.scss +46 -34
  462. package/tree/control/base-tree-control.d.ts +1 -1
  463. package/tree/control/tree-control.d.ts +1 -1
  464. package/tree/node.d.ts +1 -1
  465. package/tree/outlet.d.ts +1 -1
  466. package/tree/padding.directive.d.ts +1 -1
  467. package/tree/toggle.d.ts +3 -3
  468. package/tree/tree-base.d.ts +1 -1
  469. package/tree/tree-option.component.d.ts +1 -2
  470. package/tree/tree-option.scss +40 -27
  471. package/tree/tree-selection.component.d.ts +1 -1
  472. package/tree/tree.d.ts +1 -1
  473. package/tree/tree.module.d.ts +2 -1
  474. package/tree-select/_tree-select-theme.scss +13 -3
  475. package/tree-select/tree-select.component.d.ts +6 -4
  476. package/tree-select/tree-select.scss +5 -194
  477. package/core/styles/theming/_badges.scss +0 -57
  478. package/core/styles/theming/prebuilt/light-theme.scss +0 -20
  479. package/list/_list-base.scss +0 -54
@@ -1,7 +1,7 @@
1
1
  import { ElementRef } from '@angular/core';
2
2
  import { AbstractConstructor, Constructor } from './constructor';
3
3
  export interface CanColor {
4
- color: KbqComponentColors | ThemePalette;
4
+ color: KbqComponentColors | ThemePalette | string;
5
5
  }
6
6
  /** @docs-private */
7
7
  export type CanColorCtor = Constructor<CanColor> & AbstractConstructor<CanColor>;
@@ -4,7 +4,7 @@ import * as i1 from "@angular/cdk/bidi";
4
4
  export declare const KBQ_SANITY_CHECKS: InjectionToken<boolean>;
5
5
  export declare function mcSanityChecksFactory(): boolean;
6
6
  /**
7
- * Module that captures anything that should be loaded and/or run for *all* Mosaic
7
+ * Module that captures anything that should be loaded and/or run for *all* Koobiq
8
8
  * components. This includes Bidi, etc.
9
9
  *
10
10
  * This module should be imported to each top-level component module (e.g., KbqTabsModule).
@@ -3,7 +3,7 @@ import * as i1 from "./number/formatter";
3
3
  import * as i2 from "./date/formatter.pipe";
4
4
  export declare class KbqFormattersModule {
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqFormattersModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<KbqFormattersModule, [typeof i1.KbqDecimalPipe, typeof i2.AbsoluteDateFormatterPipe, typeof i2.AbsoluteDateTimeFormatterPipe, typeof i2.AbsoluteDateShortFormatterPipe, typeof i2.AbsoluteShortDateTimeFormatterPipe, typeof i2.RelativeDateFormatterPipe, typeof i2.RelativeDateTimeFormatterPipe, typeof i2.RelativeShortDateFormatterPipe, typeof i2.RelativeShortDateTimeFormatterPipe, typeof i2.RangeDateFormatterPipe, typeof i2.RangeShortDateFormatterPipe, typeof i2.RangeDateTimeFormatterPipe, typeof i2.RangeShortDateTimeFormatterPipe, typeof i2.RangeMiddleDateTimeFormatterPipe], never, [typeof i1.KbqDecimalPipe, typeof i2.AbsoluteDateFormatterPipe, typeof i2.AbsoluteDateTimeFormatterPipe, typeof i2.AbsoluteDateShortFormatterPipe, typeof i2.AbsoluteShortDateTimeFormatterPipe, typeof i2.RelativeDateFormatterPipe, typeof i2.RelativeDateTimeFormatterPipe, typeof i2.RelativeShortDateFormatterPipe, typeof i2.RelativeShortDateTimeFormatterPipe, typeof i2.RangeDateFormatterPipe, typeof i2.RangeShortDateFormatterPipe, typeof i2.RangeDateTimeFormatterPipe, typeof i2.RangeShortDateTimeFormatterPipe, typeof i2.RangeMiddleDateTimeFormatterPipe]>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KbqFormattersModule, [typeof i1.KbqDecimalPipe, typeof i1.KbqRoundDecimalPipe, typeof i1.KbqTableNumberPipe, typeof i2.AbsoluteDateFormatterPipe, typeof i2.AbsoluteDateTimeFormatterPipe, typeof i2.AbsoluteDateShortFormatterPipe, typeof i2.AbsoluteShortDateTimeFormatterPipe, typeof i2.RelativeDateFormatterPipe, typeof i2.RelativeDateTimeFormatterPipe, typeof i2.RelativeShortDateFormatterPipe, typeof i2.RelativeShortDateTimeFormatterPipe, typeof i2.RangeDateFormatterPipe, typeof i2.RangeShortDateFormatterPipe, typeof i2.RangeDateTimeFormatterPipe, typeof i2.RangeShortDateTimeFormatterPipe, typeof i2.RangeMiddleDateTimeFormatterPipe], never, [typeof i1.KbqDecimalPipe, typeof i1.KbqRoundDecimalPipe, typeof i1.KbqTableNumberPipe, typeof i2.AbsoluteDateFormatterPipe, typeof i2.AbsoluteDateTimeFormatterPipe, typeof i2.AbsoluteDateShortFormatterPipe, typeof i2.AbsoluteShortDateTimeFormatterPipe, typeof i2.RelativeDateFormatterPipe, typeof i2.RelativeDateTimeFormatterPipe, typeof i2.RelativeShortDateFormatterPipe, typeof i2.RelativeShortDateTimeFormatterPipe, typeof i2.RangeDateFormatterPipe, typeof i2.RangeShortDateFormatterPipe, typeof i2.RangeDateTimeFormatterPipe, typeof i2.RangeShortDateTimeFormatterPipe, typeof i2.RangeMiddleDateTimeFormatterPipe]>;
7
7
  static ɵinj: i0.ɵɵInjectorDeclaration<KbqFormattersModule>;
8
8
  }
9
9
  export * from './number/formatter';
@@ -4,6 +4,17 @@ import * as i0 from "@angular/core";
4
4
  export declare const KBQ_NUMBER_FORMATTER_OPTIONS: InjectionToken<string>;
5
5
  export declare const KBQ_NUMBER_FORMATTER_DEFAULT_OPTIONS: ParsedDigitsInfo;
6
6
  export declare const NUMBER_FORMAT_REGEXP: RegExp;
7
+ interface RoundDecimalOptions {
8
+ separator: string;
9
+ groupSeparator: string;
10
+ thousands?: string;
11
+ tenThousand?: string;
12
+ million?: string;
13
+ oneHundredMillions?: string;
14
+ billion?: string;
15
+ trillion: string;
16
+ rtl?: boolean;
17
+ }
7
18
  declare class ParsedDigitsInfo {
8
19
  useGrouping: boolean;
9
20
  minimumIntegerDigits: number;
@@ -30,8 +41,52 @@ export declare class KbqDecimalPipe implements PipeTransform {
30
41
  * When not supplied, uses the value of `KBQ_LOCALE_ID`, which is `ru` by default.
31
42
  */
32
43
  transform(value: any, digitsInfo?: string, locale?: string): string | null;
44
+ isSpecialFormatForRULocale(locale: string, value: number, grouping?: boolean): boolean;
33
45
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqDecimalPipe, [{ optional: true; }, { optional: true; }, { optional: true; }]>;
34
- static ɵpipe: i0.ɵɵPipeDeclaration<KbqDecimalPipe, "mcNumber", false>;
46
+ static ɵpipe: i0.ɵɵPipeDeclaration<KbqDecimalPipe, "kbqNumber", false>;
35
47
  static ɵprov: i0.ɵɵInjectableDeclaration<KbqDecimalPipe>;
36
48
  }
49
+ export declare class KbqTableNumberPipe implements PipeTransform {
50
+ private id;
51
+ private localeService;
52
+ private readonly options;
53
+ constructor(id: string, localeService: KbqLocaleService, options: ParsedDigitsInfo);
54
+ /**
55
+ * @param value The number to be formatted.
56
+ * @param digitsInfo Decimal representation options, specified by a string
57
+ * in the following format:<br>
58
+ * <code>{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}</code>.
59
+ * - `minIntegerDigits`: The minimum number of integer digits before the decimal point.
60
+ * Default is `1`.
61
+ * - `minFractionDigits`: The minimum number of digits after the decimal point.
62
+ * Default is `0`.
63
+ * - `maxFractionDigits`: The maximum number of digits after the decimal point.
64
+ * Default is `3`.
65
+ * @param locale A locale code for the locale format rules to use.
66
+ * When not supplied, uses the value of `KBQ_LOCALE_ID`, which is `ru` by default.
67
+ */
68
+ transform(value: any, digitsInfo?: string, locale?: string): string | null;
69
+ static ɵfac: i0.ɵɵFactoryDeclaration<KbqTableNumberPipe, [{ optional: true; }, { optional: true; }, { optional: true; }]>;
70
+ static ɵpipe: i0.ɵɵPipeDeclaration<KbqTableNumberPipe, "kbqTableNumber", false>;
71
+ static ɵprov: i0.ɵɵInjectableDeclaration<KbqTableNumberPipe>;
72
+ }
73
+ export declare function isWithin(startRange: number, endRange: number, valueToCheck: number): boolean;
74
+ export declare class KbqRoundDecimalPipe implements PipeTransform {
75
+ private id;
76
+ private localeService;
77
+ roundingOptions: RoundDecimalOptions;
78
+ constructor(id: string, localeService: KbqLocaleService);
79
+ transform(value: any, locale?: string): any;
80
+ private calculateDecimal;
81
+ /**
82
+ * 2 * 1000 is a number in the interval of [1500...2500)
83
+ *
84
+ * 2,0 * 1000 is a number in the interval of [1950...2050)
85
+ */
86
+ private calculatePartsForThousands;
87
+ private calculateUnit;
88
+ static ɵfac: i0.ɵɵFactoryDeclaration<KbqRoundDecimalPipe, [{ optional: true; }, { optional: true; }]>;
89
+ static ɵpipe: i0.ɵɵPipeDeclaration<KbqRoundDecimalPipe, "kbqRoundNumber", false>;
90
+ static ɵprov: i0.ɵɵInjectableDeclaration<KbqRoundDecimalPipe>;
91
+ }
37
92
  export {};
@@ -25,10 +25,10 @@
25
25
  $tokens: map.get($config, tokens);
26
26
 
27
27
  .kbq-form__label {
28
- @include kbq-typography-level-to-styles($config, map.get($tokens, forms-font-default-label));
28
+ @include kbq-typography-level-to-styles($config, map.get($tokens, forms-font-label));
29
29
  }
30
30
 
31
- .kbq-form__legend {
32
- @include kbq-typography-level-to-styles($config, map.get($tokens, forms-font-default-legend));
33
- }
31
+ //.kbq-form__legend {
32
+ // @include kbq-typography-level-to-styles($config, map.get($tokens, forms-font-default-legend));
33
+ //}
34
34
  }
@@ -20,10 +20,8 @@
20
20
  .kbq-form-horizontal {
21
21
  $config: kbq-typography-config($tokens);
22
22
 
23
- $line-height: kbq-line-height($config, body);
24
-
23
+ $line-height: kbq-line-height($config, map.get($tokens, forms-font-label));
25
24
  $form-field-size-height: map.get($tokens, form-field-size-height);
26
-
27
25
  $label-padding-top: calc(($form-field-size-height - $line-height) / 2);
28
26
 
29
27
  & .kbq-form-row_margin {
@@ -11,12 +11,12 @@ export declare class KbqFormElement implements AfterContentInit {
11
11
  constructor(element: ElementRef<HTMLElement>);
12
12
  ngAfterContentInit(): void;
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqFormElement, never>;
14
- static ɵdir: i0.ɵɵDirectiveDeclaration<KbqFormElement, ".kbq-form__row, .kbq-form__fieldset, .kbq-form__legend", ["mcFormElement"], {}, {}, ["elements"], never, false, never>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KbqFormElement, ".kbq-form__row, .kbq-form__fieldset, .kbq-form__legend", ["kbqFormElement"], {}, {}, ["elements"], never, false, never>;
15
15
  }
16
16
  export declare class KbqForm implements AfterContentInit {
17
17
  elements: QueryList<KbqFormElement>;
18
18
  ngAfterContentInit(): void;
19
19
  handleElements(elements: QueryList<KbqFormElement>): void;
20
20
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqForm, never>;
21
- static ɵdir: i0.ɵɵDirectiveDeclaration<KbqForm, ".kbq-form-vertical, .kbq-form-horizontal", ["mcForm"], {}, {}, ["elements"], never, false, never>;
21
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KbqForm, ".kbq-form-vertical, .kbq-form-horizontal", ["kbqForm"], {}, {}, ["elements"], never, false, never>;
22
22
  }
@@ -1,5 +1,5 @@
1
1
  export declare const enUSLocaleData: {
2
- en: {
2
+ 'en-US': {
3
3
  select: {
4
4
  hiddenItemsText: string;
5
5
  };
@@ -7,5 +7,23 @@ export declare const enUSLocaleData: {
7
7
  placeholder: string;
8
8
  dateInput: string;
9
9
  };
10
+ formatters: {
11
+ number: {
12
+ rounding: {
13
+ separator: string;
14
+ groupSeparator: string;
15
+ thousand: string;
16
+ million: string;
17
+ billion: string;
18
+ trillion: string;
19
+ };
20
+ };
21
+ };
22
+ input: {
23
+ number: {
24
+ groupSeparator: string[];
25
+ fractionSeparator: string;
26
+ };
27
+ };
10
28
  };
11
29
  };
@@ -3,5 +3,32 @@ export declare const esLALocaleData: {
3
3
  select: {
4
4
  hiddenItemsText: string;
5
5
  };
6
+ datepicker: {
7
+ placeholder: string;
8
+ };
9
+ timepicker: {
10
+ placeholder: {
11
+ full: string;
12
+ short: string;
13
+ };
14
+ };
15
+ formatters: {
16
+ number: {
17
+ rounding: {
18
+ separator: string;
19
+ groupSeparator: string;
20
+ thousand: string;
21
+ million: string;
22
+ billion: string;
23
+ trillion: string;
24
+ };
25
+ };
26
+ };
27
+ input: {
28
+ number: {
29
+ groupSeparator: string[];
30
+ fractionSeparator: string;
31
+ };
32
+ };
6
33
  };
7
34
  };
@@ -3,5 +3,33 @@ export declare const faIRLocaleData: {
3
3
  select: {
4
4
  hiddenItemsText: string;
5
5
  };
6
+ datepicker: {
7
+ placeholder: string;
8
+ };
9
+ timepicker: {
10
+ placeholder: {
11
+ full: string;
12
+ short: string;
13
+ };
14
+ };
15
+ formatters: {
16
+ number: {
17
+ rounding: {
18
+ separator: string;
19
+ groupSeparator: string;
20
+ thousand: string;
21
+ million: string;
22
+ billion: string;
23
+ trillion: string;
24
+ rtl: boolean;
25
+ };
26
+ };
27
+ };
28
+ input: {
29
+ number: {
30
+ groupSeparator: string[];
31
+ fractionSeparator: string;
32
+ };
33
+ };
6
34
  };
7
35
  };
@@ -2,29 +2,137 @@ import { InjectionToken } from '@angular/core';
2
2
  import { BehaviorSubject } from 'rxjs';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare const KBQ_LOCALE_ID: InjectionToken<string>;
5
- export declare const KBQ_DEFAULT_LOCALE_ID = "ru";
5
+ export declare const KBQ_DEFAULT_LOCALE_ID = "ru-RU";
6
6
  export declare function KBQ_DEFAULT_LOCALE_DATA_FACTORY(): {
7
7
  'zh-CN': {
8
8
  select: {
9
9
  hiddenItemsText: string;
10
10
  };
11
+ datepicker: {
12
+ placeholder: string;
13
+ };
14
+ timepicker: {
15
+ placeholder: {
16
+ full: string;
17
+ short: string;
18
+ };
19
+ };
20
+ formatters: {
21
+ number: {
22
+ rounding: {
23
+ separator: string;
24
+ groupSeparator: string;
25
+ tenThousand: string;
26
+ oneHundredMillions: string;
27
+ trillion: string;
28
+ };
29
+ };
30
+ };
31
+ input: {
32
+ number: {
33
+ groupSeparator: string[];
34
+ fractionSeparator: string;
35
+ };
36
+ };
11
37
  };
12
38
  'pt-BR': {
13
39
  select: {
14
40
  hiddenItemsText: string;
15
41
  };
42
+ datepicker: {
43
+ placeholder: string;
44
+ };
45
+ timepicker: {
46
+ placeholder: {
47
+ full: string;
48
+ short: string;
49
+ };
50
+ };
51
+ formatters: {
52
+ number: {
53
+ rounding: {
54
+ separator: string;
55
+ groupSeparator: string;
56
+ thousand: string;
57
+ million: string;
58
+ billion: string;
59
+ trillion: string;
60
+ };
61
+ };
62
+ };
63
+ input: {
64
+ number: {
65
+ groupSeparator: string[];
66
+ fractionSeparator: string;
67
+ };
68
+ };
16
69
  };
17
70
  'fa-IR': {
18
71
  select: {
19
72
  hiddenItemsText: string;
20
73
  };
74
+ datepicker: {
75
+ placeholder: string;
76
+ };
77
+ timepicker: {
78
+ placeholder: {
79
+ full: string;
80
+ short: string;
81
+ };
82
+ };
83
+ formatters: {
84
+ number: {
85
+ rounding: {
86
+ separator: string;
87
+ groupSeparator: string;
88
+ thousand: string;
89
+ million: string;
90
+ billion: string;
91
+ trillion: string;
92
+ rtl: boolean;
93
+ };
94
+ };
95
+ };
96
+ input: {
97
+ number: {
98
+ groupSeparator: string[];
99
+ fractionSeparator: string;
100
+ };
101
+ };
21
102
  };
22
103
  'es-LA': {
23
104
  select: {
24
105
  hiddenItemsText: string;
25
106
  };
107
+ datepicker: {
108
+ placeholder: string;
109
+ };
110
+ timepicker: {
111
+ placeholder: {
112
+ full: string;
113
+ short: string;
114
+ };
115
+ };
116
+ formatters: {
117
+ number: {
118
+ rounding: {
119
+ separator: string;
120
+ groupSeparator: string;
121
+ thousand: string;
122
+ million: string;
123
+ billion: string;
124
+ trillion: string;
125
+ };
126
+ };
127
+ };
128
+ input: {
129
+ number: {
130
+ groupSeparator: string[];
131
+ fractionSeparator: string;
132
+ };
133
+ };
26
134
  };
27
- en: {
135
+ 'en-US': {
28
136
  select: {
29
137
  hiddenItemsText: string;
30
138
  };
@@ -32,8 +140,26 @@ export declare function KBQ_DEFAULT_LOCALE_DATA_FACTORY(): {
32
140
  placeholder: string;
33
141
  dateInput: string;
34
142
  };
143
+ formatters: {
144
+ number: {
145
+ rounding: {
146
+ separator: string;
147
+ groupSeparator: string;
148
+ thousand: string;
149
+ million: string;
150
+ billion: string;
151
+ trillion: string;
152
+ };
153
+ };
154
+ };
155
+ input: {
156
+ number: {
157
+ groupSeparator: string[];
158
+ fractionSeparator: string;
159
+ };
160
+ };
35
161
  };
36
- ru: {
162
+ 'ru-RU': {
37
163
  select: {
38
164
  hiddenItemsText: string;
39
165
  };
@@ -41,6 +167,25 @@ export declare function KBQ_DEFAULT_LOCALE_DATA_FACTORY(): {
41
167
  placeholder: string;
42
168
  dateInput: string;
43
169
  };
170
+ formatters: {
171
+ number: {
172
+ rounding: {
173
+ separator: string;
174
+ groupSeparator: string;
175
+ thousand: string;
176
+ million: string;
177
+ billion: string;
178
+ trillion: string;
179
+ };
180
+ };
181
+ };
182
+ input: {
183
+ number: {
184
+ groupSeparator: string[];
185
+ fractionSeparator: string;
186
+ startFormattingFrom: number;
187
+ };
188
+ };
44
189
  };
45
190
  items: {
46
191
  id: string;
@@ -3,5 +3,32 @@ export declare const ptBRLocaleData: {
3
3
  select: {
4
4
  hiddenItemsText: string;
5
5
  };
6
+ datepicker: {
7
+ placeholder: string;
8
+ };
9
+ timepicker: {
10
+ placeholder: {
11
+ full: string;
12
+ short: string;
13
+ };
14
+ };
15
+ formatters: {
16
+ number: {
17
+ rounding: {
18
+ separator: string;
19
+ groupSeparator: string;
20
+ thousand: string;
21
+ million: string;
22
+ billion: string;
23
+ trillion: string;
24
+ };
25
+ };
26
+ };
27
+ input: {
28
+ number: {
29
+ groupSeparator: string[];
30
+ fractionSeparator: string;
31
+ };
32
+ };
6
33
  };
7
34
  };
@@ -1,5 +1,5 @@
1
1
  export declare const ruRULocaleData: {
2
- ru: {
2
+ 'ru-RU': {
3
3
  select: {
4
4
  hiddenItemsText: string;
5
5
  };
@@ -7,5 +7,24 @@ export declare const ruRULocaleData: {
7
7
  placeholder: string;
8
8
  dateInput: string;
9
9
  };
10
+ formatters: {
11
+ number: {
12
+ rounding: {
13
+ separator: string;
14
+ groupSeparator: string;
15
+ thousand: string;
16
+ million: string;
17
+ billion: string;
18
+ trillion: string;
19
+ };
20
+ };
21
+ };
22
+ input: {
23
+ number: {
24
+ groupSeparator: string[];
25
+ fractionSeparator: string;
26
+ startFormattingFrom: number;
27
+ };
28
+ };
10
29
  };
11
30
  };
@@ -3,5 +3,31 @@ export declare const znCNLocaleData: {
3
3
  select: {
4
4
  hiddenItemsText: string;
5
5
  };
6
+ datepicker: {
7
+ placeholder: string;
8
+ };
9
+ timepicker: {
10
+ placeholder: {
11
+ full: string;
12
+ short: string;
13
+ };
14
+ };
15
+ formatters: {
16
+ number: {
17
+ rounding: {
18
+ separator: string;
19
+ groupSeparator: string;
20
+ tenThousand: string;
21
+ oneHundredMillions: string;
22
+ trillion: string;
23
+ };
24
+ };
25
+ };
26
+ input: {
27
+ number: {
28
+ groupSeparator: string[];
29
+ fractionSeparator: string;
30
+ };
31
+ };
6
32
  };
7
33
  };
@@ -8,7 +8,7 @@
8
8
  $foreground: map.get($theme, foreground);
9
9
 
10
10
  .kbq-optgroup-label {
11
- color: map.get($foreground, text);
11
+ color: map.get($foreground, contrast);
12
12
  }
13
13
 
14
14
  .kbq-disabled .kbq-optgroup-label {
@@ -30,7 +30,7 @@
30
30
  color: kbq-color($secondary, if($is-dark, 70, 30));
31
31
  }
32
32
 
33
- &[disabled] {
33
+ &.kbq-disabled {
34
34
  & .kbq-icon {
35
35
  color: kbq-color($secondary, if($is-dark, 30, 70));
36
36
  }
@@ -4,33 +4,52 @@
4
4
  @use '../styles/typography/typography-utils' as *;
5
5
 
6
6
 
7
- @mixin kbq-option-theme($theme) {
8
- $foreground: map.get($theme, foreground);
9
- $background: map.get($theme, background);
7
+ @mixin kbq-option($state) {
8
+ background: map.get($state, container-background);
9
+
10
+ .kbq-option-text {
11
+ color: map.get($state, text);
12
+ }
13
+
14
+ // todo выглядит как баг
15
+ //.kbq-icon {
16
+ // color: map.get($state, icon);
17
+ //}
18
+
19
+ .kbq-option-action .kbq-icon {
20
+ color: map.get($state, icon-button);
21
+ }
22
+
23
+ .kbq-option-caption {
24
+ color: map.get($state, caption);
25
+ }
26
+ }
10
27
 
11
- $primary: map.get($theme, theme);
28
+ @mixin kbq-option-theme($theme) {
29
+ $list-item: map.get(map.get($theme, components), list-item);
12
30
 
13
31
  .kbq-option {
14
- color: map.get($foreground, text);
32
+ @include kbq-option(map.get($list-item, default));
15
33
 
16
34
  &:hover:not(.kbq-disabled) {
17
- .kbq-option-overlay {
18
- background: map.get($background, overlay-hover);
19
- }
35
+ @include kbq-option(map.get($list-item, hover));
20
36
  }
21
37
 
38
+ &.kbq-focused,
22
39
  &.kbq-active {
23
- border-color: map.get(map.get($theme, states), focused-color);
40
+ border-color: map.get(map.get($list-item, focused), focus-outline);
24
41
  }
25
42
 
26
43
  &.kbq-selected {
27
- background: map.get(map.get($theme, states), selected-color);
44
+ @include kbq-option(map.get($list-item, selected));
45
+
46
+ &:hover:not(.kbq-disabled) {
47
+ @include kbq-option(map.get($list-item, selected-hover));
48
+ }
28
49
  }
29
50
 
30
51
  &.kbq-disabled {
31
- background: transparent;
32
-
33
- color: map.get($foreground, text-disabled);
52
+ @include kbq-option(map.get($list-item, disabled));
34
53
  }
35
54
  }
36
55
  }
@@ -39,6 +58,10 @@
39
58
  $tokens: map.get($config, tokens);
40
59
 
41
60
  .kbq-option {
42
- @include kbq-typography-level-to-styles($config, map.get($tokens, option-font-default));
61
+ @include kbq-typography-level-to-styles($config, map.get($tokens, list-font-text));
62
+ }
63
+
64
+ .kbq-list-option-caption {
65
+ @include kbq-typography-level-to-styles($config, map.get($tokens, list-font-caption));
43
66
  }
44
67
  }
@@ -40,5 +40,5 @@ export declare class KbqOptionActionComponent extends KbqOptionActionMixinBase i
40
40
  onKeyDown($event: any): void;
41
41
  private preventShowingTooltip;
42
42
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqOptionActionComponent, never>;
43
- static ɵcmp: i0.ɵɵComponentDeclaration<KbqOptionActionComponent, "kbq-option-action", ["mcOptionAction"], { "disabled": { "alias": "disabled"; "required": false; }; }, {}, ["customIcon"], ["[kbq-icon]"], false, never>;
43
+ static ɵcmp: i0.ɵɵComponentDeclaration<KbqOptionActionComponent, "kbq-option-action", ["kbqOptionAction"], { "disabled": { "alias": "disabled"; "required": false; }; }, {}, ["customIcon"], ["[kbq-icon]"], false, never>;
44
44
  }
@@ -1,5 +1,5 @@
1
1
  .kbq-option-action {
2
- box-sizing: unset;
2
+ box-sizing: border-box;
3
3
 
4
4
  position: relative;
5
5
 
@@ -10,9 +10,8 @@
10
10
 
11
11
  margin-right: -2px;
12
12
 
13
- //width 28px for total width 32px (left border + right border);
14
- width: 28px;
15
- height: 100%;
13
+ width: 24px;
14
+ height: 24px;
16
15
 
17
16
  cursor: pointer;
18
17
 
@@ -22,7 +21,7 @@
22
21
 
23
22
  background: transparent;
24
23
 
25
- &[disabled] {
24
+ &.kbq-disabled {
26
25
  cursor: default;
27
26
  }
28
27
  }