@koobiq/components 17.8.5 → 18.1.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 (348) hide show
  1. package/alert/alert-tokens.scss +114 -121
  2. package/autocomplete/autocomplete-tokens.scss +8 -7
  3. package/badge/badge-tokens.scss +164 -169
  4. package/button/button-tokens.scss +237 -228
  5. package/button/button.scss +5 -9
  6. package/button-toggle/button-toggle-tokens.scss +68 -71
  7. package/checkbox/checkbox-tokens.scss +118 -125
  8. package/code-block/code-block-tokens.scss +92 -91
  9. package/core/common-behaviors/index.d.ts +1 -1
  10. package/core/forms/forms-tokens.scss +28 -33
  11. package/core/option/optgroup-tokens.scss +8 -26
  12. package/core/option/option-action-tokens.scss +3 -19
  13. package/core/option/option-tokens.scss +89 -105
  14. package/core/pop-up/pop-up-trigger.d.ts +5 -1
  15. package/core/selection/pseudo-checkbox/pseudo-checkbox-tokens.scss +118 -125
  16. package/core/styles/_koobiq-theme.scss +3 -7
  17. package/core/styles/theming/_theming.scss +4 -6
  18. package/core/styles/theming/scrollbar-tokens.scss +16 -14
  19. package/core/styles/typography/_typography.scss +1 -0
  20. package/datepicker/datepicker-tokens.scss +41 -47
  21. package/divider/divider-tokens.scss +6 -4
  22. package/dl/dl-tokens.scss +24 -25
  23. package/dropdown/dropdown-tokens.scss +87 -99
  24. package/empty-state/empty-state-tokens.scss +46 -59
  25. package/esm2022/alert/alert.component.mjs +13 -13
  26. package/esm2022/alert/alert.module.mjs +4 -4
  27. package/esm2022/autocomplete/autocomplete-origin.directive.mjs +3 -3
  28. package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +3 -3
  29. package/esm2022/autocomplete/autocomplete.component.mjs +5 -5
  30. package/esm2022/autocomplete/autocomplete.module.mjs +4 -4
  31. package/esm2022/badge/badge.component.mjs +10 -10
  32. package/esm2022/badge/badge.module.mjs +4 -4
  33. package/esm2022/button/button.component.mjs +8 -8
  34. package/esm2022/button/button.module.mjs +4 -4
  35. package/esm2022/button-toggle/button-toggle.component.mjs +8 -8
  36. package/esm2022/button-toggle/button-toggle.module.mjs +4 -4
  37. package/esm2022/checkbox/checkbox-module.mjs +4 -4
  38. package/esm2022/checkbox/checkbox-required-validator.mjs +3 -3
  39. package/esm2022/checkbox/checkbox.mjs +5 -5
  40. package/esm2022/code-block/actionbar.component.mjs +5 -5
  41. package/esm2022/code-block/code-block.component.mjs +5 -5
  42. package/esm2022/code-block/code-block.module.mjs +4 -4
  43. package/esm2022/core/common-behaviors/common-module.mjs +4 -4
  44. package/esm2022/core/common-behaviors/index.mjs +2 -2
  45. package/esm2022/core/error/error-options.mjs +6 -6
  46. package/esm2022/core/formatters/date/formatter.mjs +3 -3
  47. package/esm2022/core/formatters/date/formatter.pipe.mjs +39 -39
  48. package/esm2022/core/formatters/index.mjs +4 -4
  49. package/esm2022/core/formatters/number/formatter.mjs +12 -12
  50. package/esm2022/core/forms/forms-module.mjs +4 -4
  51. package/esm2022/core/forms/forms.directive.mjs +6 -6
  52. package/esm2022/core/highlight/highlight.pipe.mjs +3 -3
  53. package/esm2022/core/highlight/index.mjs +4 -4
  54. package/esm2022/core/line/line.mjs +7 -7
  55. package/esm2022/core/locales/locale-service.mjs +3 -3
  56. package/esm2022/core/locales/locale-service.module.mjs +4 -4
  57. package/esm2022/core/option/action.mjs +8 -8
  58. package/esm2022/core/option/optgroup.mjs +4 -4
  59. package/esm2022/core/option/option-module.mjs +4 -4
  60. package/esm2022/core/option/option.mjs +5 -5
  61. package/esm2022/core/pop-up/pop-up-trigger.mjs +17 -8
  62. package/esm2022/core/pop-up/pop-up.mjs +3 -3
  63. package/esm2022/core/select/common.mjs +15 -15
  64. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +5 -5
  65. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +4 -4
  66. package/esm2022/core/services/measure-scrollbar.service.mjs +3 -3
  67. package/esm2022/core/services/theme.service.mjs +3 -3
  68. package/esm2022/core/utils/data-size/data-size.pipe.mjs +3 -3
  69. package/esm2022/core/version.mjs +2 -2
  70. package/esm2022/datepicker/calendar-body.component.mjs +3 -3
  71. package/esm2022/datepicker/calendar-header.component.mjs +5 -5
  72. package/esm2022/datepicker/calendar.component.mjs +3 -3
  73. package/esm2022/datepicker/datepicker-input.directive.mjs +3 -3
  74. package/esm2022/datepicker/datepicker-intl.mjs +3 -3
  75. package/esm2022/datepicker/datepicker-module.mjs +4 -4
  76. package/esm2022/datepicker/datepicker-toggle.component.mjs +8 -8
  77. package/esm2022/datepicker/datepicker.component.mjs +8 -8
  78. package/esm2022/datepicker/month-view.component.mjs +3 -3
  79. package/esm2022/divider/divider.component.mjs +4 -4
  80. package/esm2022/divider/divider.module.mjs +4 -4
  81. package/esm2022/dl/dl.component.mjs +10 -10
  82. package/esm2022/dl/dl.module.mjs +4 -4
  83. package/esm2022/dropdown/dropdown-content.directive.mjs +3 -3
  84. package/esm2022/dropdown/dropdown-item.component.mjs +6 -6
  85. package/esm2022/dropdown/dropdown-trigger.directive.mjs +3 -3
  86. package/esm2022/dropdown/dropdown.component.mjs +6 -6
  87. package/esm2022/dropdown/dropdown.module.mjs +4 -4
  88. package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +7 -7
  89. package/esm2022/empty-state/empty-state.component.mjs +16 -16
  90. package/esm2022/empty-state/empty-state.module.mjs +4 -4
  91. package/esm2022/file-upload/file-drop.mjs +3 -3
  92. package/esm2022/file-upload/file-upload.module.mjs +4 -4
  93. package/esm2022/file-upload/multiple-file-upload.component.mjs +5 -5
  94. package/esm2022/file-upload/single-file-upload.component.mjs +5 -5
  95. package/esm2022/form-field/cleaner.mjs +6 -6
  96. package/esm2022/form-field/form-field.mjs +11 -11
  97. package/esm2022/form-field/form-field.module.mjs +4 -4
  98. package/esm2022/form-field/hint.mjs +5 -5
  99. package/esm2022/form-field/password-hint.mjs +7 -7
  100. package/esm2022/form-field/password-toggle.mjs +5 -5
  101. package/esm2022/form-field/prefix.mjs +3 -3
  102. package/esm2022/form-field/stepper.mjs +8 -8
  103. package/esm2022/form-field/suffix.mjs +3 -3
  104. package/esm2022/form-field/validate.directive.mjs +3 -3
  105. package/esm2022/icon/icon-button.component.mjs +7 -7
  106. package/esm2022/icon/icon-item.component.mjs +7 -7
  107. package/esm2022/icon/icon.component.mjs +7 -7
  108. package/esm2022/icon/icon.module.mjs +13 -24
  109. package/esm2022/input/input-number-validators.mjs +6 -6
  110. package/esm2022/input/input-number.mjs +3 -3
  111. package/esm2022/input/input-password.mjs +3 -3
  112. package/esm2022/input/input.mjs +6 -6
  113. package/esm2022/input/input.module.mjs +4 -4
  114. package/esm2022/link/link.component.mjs +3 -3
  115. package/esm2022/link/link.module.mjs +4 -4
  116. package/esm2022/list/list-selection.component.mjs +11 -11
  117. package/esm2022/list/list.component.mjs +7 -7
  118. package/esm2022/list/list.module.mjs +4 -4
  119. package/esm2022/loader-overlay/loader-overlay.component.mjs +13 -13
  120. package/esm2022/loader-overlay/loader-overlay.module.mjs +4 -4
  121. package/esm2022/markdown/markdown.component.mjs +5 -5
  122. package/esm2022/markdown/markdown.module.mjs +4 -4
  123. package/esm2022/markdown/markdown.service.mjs +3 -3
  124. package/esm2022/modal/css-unit.pipe.mjs +3 -3
  125. package/esm2022/modal/modal-control.service.mjs +3 -3
  126. package/esm2022/modal/modal.component.mjs +5 -5
  127. package/esm2022/modal/modal.directive.mjs +53 -17
  128. package/esm2022/modal/modal.module.mjs +4 -4
  129. package/esm2022/modal/modal.service.mjs +3 -3
  130. package/esm2022/navbar/navbar-item.component.mjs +33 -33
  131. package/esm2022/navbar/navbar.component.mjs +11 -11
  132. package/esm2022/navbar/navbar.module.mjs +4 -4
  133. package/esm2022/navbar/vertical-navbar.component.mjs +5 -5
  134. package/esm2022/popover/popover-confirm.component.mjs +8 -8
  135. package/esm2022/popover/popover.component.mjs +8 -8
  136. package/esm2022/popover/popover.module.mjs +4 -4
  137. package/esm2022/progress-bar/progress-bar.component.mjs +10 -10
  138. package/esm2022/progress-bar/progress-bar.module.mjs +4 -4
  139. package/esm2022/progress-spinner/progress-spinner.component.mjs +10 -10
  140. package/esm2022/progress-spinner/progress-spinner.module.mjs +4 -4
  141. package/esm2022/radio/radio.component.mjs +7 -7
  142. package/esm2022/radio/radio.module.mjs +4 -4
  143. package/esm2022/risk-level/risk-level.component.mjs +4 -4
  144. package/esm2022/risk-level/risk-level.module.mjs +4 -4
  145. package/esm2022/scrollbar/scrollbar.component.mjs +6 -6
  146. package/esm2022/scrollbar/scrollbar.directive.mjs +3 -3
  147. package/esm2022/scrollbar/scrollbar.module.mjs +4 -4
  148. package/esm2022/select/select-option.directive.mjs +3 -3
  149. package/esm2022/select/select.component.mjs +6 -6
  150. package/esm2022/select/select.module.mjs +4 -4
  151. package/esm2022/sidebar/sidebar.component.mjs +9 -9
  152. package/esm2022/sidebar/sidebar.module.mjs +4 -4
  153. package/esm2022/sidepanel/sidepanel-container.component.mjs +5 -5
  154. package/esm2022/sidepanel/sidepanel-directives.mjs +18 -18
  155. package/esm2022/sidepanel/sidepanel.module.mjs +4 -4
  156. package/esm2022/sidepanel/sidepanel.service.mjs +3 -3
  157. package/esm2022/splitter/splitter.component.mjs +14 -14
  158. package/esm2022/splitter/splitter.module.mjs +4 -4
  159. package/esm2022/table/table.component.mjs +7 -7
  160. package/esm2022/table/table.module.mjs +4 -4
  161. package/esm2022/tabs/paginated-tab-header.mjs +3 -3
  162. package/esm2022/tabs/tab-body.component.mjs +6 -6
  163. package/esm2022/tabs/tab-content.directive.mjs +3 -3
  164. package/esm2022/tabs/tab-group.component.mjs +33 -18
  165. package/esm2022/tabs/tab-header.component.mjs +16 -5
  166. package/esm2022/tabs/tab-label-wrapper.directive.mjs +8 -4
  167. package/esm2022/tabs/tab-label.directive.mjs +3 -3
  168. package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +7 -7
  169. package/esm2022/tabs/tab.component.mjs +3 -3
  170. package/esm2022/tabs/tabs.module.mjs +15 -8
  171. package/esm2022/tags/tag-input.mjs +3 -3
  172. package/esm2022/tags/tag-list.component.mjs +4 -4
  173. package/esm2022/tags/tag.component.mjs +12 -12
  174. package/esm2022/tags/tag.module.mjs +4 -4
  175. package/esm2022/textarea/textarea.component.mjs +3 -3
  176. package/esm2022/textarea/textarea.module.mjs +4 -4
  177. package/esm2022/timepicker/timepicker.directive.mjs +3 -3
  178. package/esm2022/timepicker/timepicker.module.mjs +4 -4
  179. package/esm2022/timezone/cities-by-filter.pipe.mjs +3 -3
  180. package/esm2022/timezone/timezone-option.component.mjs +5 -5
  181. package/esm2022/timezone/timezone-option.directive.mjs +3 -3
  182. package/esm2022/timezone/timezone-select.component.mjs +9 -9
  183. package/esm2022/timezone/timezone.module.mjs +4 -4
  184. package/esm2022/timezone/utc-offset.pipe.mjs +3 -3
  185. package/esm2022/title/title.directive.mjs +3 -3
  186. package/esm2022/title/title.module.mjs +4 -4
  187. package/esm2022/toast/toast-container.component.mjs +3 -3
  188. package/esm2022/toast/toast.component.mjs +8 -8
  189. package/esm2022/toast/toast.module.mjs +4 -4
  190. package/esm2022/toast/toast.service.mjs +3 -3
  191. package/esm2022/toggle/toggle.component.mjs +6 -6
  192. package/esm2022/toggle/toggle.module.mjs +4 -4
  193. package/esm2022/tooltip/tooltip.component.mjs +52 -15
  194. package/esm2022/tooltip/tooltip.module.mjs +15 -28
  195. package/esm2022/tree/node.mjs +3 -3
  196. package/esm2022/tree/outlet.mjs +3 -3
  197. package/esm2022/tree/padding.directive.mjs +3 -3
  198. package/esm2022/tree/toggle.mjs +14 -14
  199. package/esm2022/tree/tree-base.mjs +6 -6
  200. package/esm2022/tree/tree-option.component.mjs +5 -5
  201. package/esm2022/tree/tree-selection.component.mjs +5 -5
  202. package/esm2022/tree/tree.mjs +5 -5
  203. package/esm2022/tree/tree.module.mjs +4 -4
  204. package/esm2022/tree-select/tree-select.component.mjs +6 -6
  205. package/esm2022/tree-select/tree-select.module.mjs +4 -4
  206. package/fesm2022/koobiq-components-alert.mjs +17 -17
  207. package/fesm2022/koobiq-components-alert.mjs.map +1 -1
  208. package/fesm2022/koobiq-components-autocomplete.mjs +15 -15
  209. package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
  210. package/fesm2022/koobiq-components-badge.mjs +14 -14
  211. package/fesm2022/koobiq-components-badge.mjs.map +1 -1
  212. package/fesm2022/koobiq-components-button-toggle.mjs +12 -12
  213. package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
  214. package/fesm2022/koobiq-components-button.mjs +12 -12
  215. package/fesm2022/koobiq-components-button.mjs.map +1 -1
  216. package/fesm2022/koobiq-components-checkbox.mjs +11 -11
  217. package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
  218. package/fesm2022/koobiq-components-code-block.mjs +12 -12
  219. package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
  220. package/fesm2022/koobiq-components-core.mjs +171 -162
  221. package/fesm2022/koobiq-components-core.mjs.map +1 -1
  222. package/fesm2022/koobiq-components-datepicker.mjs +37 -37
  223. package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
  224. package/fesm2022/koobiq-components-divider.mjs +8 -8
  225. package/fesm2022/koobiq-components-divider.mjs.map +1 -1
  226. package/fesm2022/koobiq-components-dl.mjs +14 -14
  227. package/fesm2022/koobiq-components-dl.mjs.map +1 -1
  228. package/fesm2022/koobiq-components-dropdown.mjs +20 -20
  229. package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
  230. package/fesm2022/koobiq-components-ellipsis-center.mjs +7 -7
  231. package/fesm2022/koobiq-components-empty-state.mjs +20 -20
  232. package/fesm2022/koobiq-components-empty-state.mjs.map +1 -1
  233. package/fesm2022/koobiq-components-file-upload.mjs +15 -15
  234. package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
  235. package/fesm2022/koobiq-components-form-field.mjs +51 -51
  236. package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
  237. package/fesm2022/koobiq-components-icon.mjs +30 -41
  238. package/fesm2022/koobiq-components-icon.mjs.map +1 -1
  239. package/fesm2022/koobiq-components-input.mjs +22 -22
  240. package/fesm2022/koobiq-components-link.mjs +7 -7
  241. package/fesm2022/koobiq-components-list.mjs +22 -22
  242. package/fesm2022/koobiq-components-list.mjs.map +1 -1
  243. package/fesm2022/koobiq-components-loader-overlay.mjs +17 -17
  244. package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
  245. package/fesm2022/koobiq-components-markdown.mjs +12 -12
  246. package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
  247. package/fesm2022/koobiq-components-modal.mjs +64 -32
  248. package/fesm2022/koobiq-components-modal.mjs.map +1 -1
  249. package/fesm2022/koobiq-components-navbar.mjs +52 -52
  250. package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
  251. package/fesm2022/koobiq-components-popover.mjs +18 -18
  252. package/fesm2022/koobiq-components-popover.mjs.map +1 -1
  253. package/fesm2022/koobiq-components-progress-bar.mjs +14 -14
  254. package/fesm2022/koobiq-components-progress-bar.mjs.map +1 -1
  255. package/fesm2022/koobiq-components-progress-spinner.mjs +14 -14
  256. package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
  257. package/fesm2022/koobiq-components-radio.mjs +11 -11
  258. package/fesm2022/koobiq-components-radio.mjs.map +1 -1
  259. package/fesm2022/koobiq-components-risk-level.mjs +8 -8
  260. package/fesm2022/koobiq-components-risk-level.mjs.map +1 -1
  261. package/fesm2022/koobiq-components-scrollbar.mjs +12 -12
  262. package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -1
  263. package/fesm2022/koobiq-components-select.mjs +12 -12
  264. package/fesm2022/koobiq-components-select.mjs.map +1 -1
  265. package/fesm2022/koobiq-components-sidebar.mjs +13 -13
  266. package/fesm2022/koobiq-components-sidepanel.mjs +28 -28
  267. package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
  268. package/fesm2022/koobiq-components-splitter.mjs +17 -17
  269. package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
  270. package/fesm2022/koobiq-components-table.mjs +11 -11
  271. package/fesm2022/koobiq-components-table.mjs.map +1 -1
  272. package/fesm2022/koobiq-components-tabs.mjs +93 -56
  273. package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
  274. package/fesm2022/koobiq-components-tags.mjs +23 -23
  275. package/fesm2022/koobiq-components-tags.mjs.map +1 -1
  276. package/fesm2022/koobiq-components-textarea.mjs +7 -7
  277. package/fesm2022/koobiq-components-timepicker.mjs +7 -7
  278. package/fesm2022/koobiq-components-timezone.mjs +26 -26
  279. package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
  280. package/fesm2022/koobiq-components-title.mjs +7 -7
  281. package/fesm2022/koobiq-components-toast.mjs +17 -17
  282. package/fesm2022/koobiq-components-toast.mjs.map +1 -1
  283. package/fesm2022/koobiq-components-toggle.mjs +9 -9
  284. package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
  285. package/fesm2022/koobiq-components-tooltip.mjs +67 -42
  286. package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
  287. package/fesm2022/koobiq-components-tree-select.mjs +9 -9
  288. package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
  289. package/fesm2022/koobiq-components-tree.mjs +47 -47
  290. package/fesm2022/koobiq-components-tree.mjs.map +1 -1
  291. package/file-upload/file-upload-tokens.scss +142 -145
  292. package/file-upload/multiple-file-upload.component.scss +2 -8
  293. package/form-field/form-field-tokens.scss +70 -75
  294. package/form-field/hint-tokens.scss +49 -54
  295. package/icon/icon-button-tokens.scss +54 -56
  296. package/icon/icon-button.component.d.ts +1 -1
  297. package/icon/icon-item-tokens.scss +46 -44
  298. package/icon/icon-item.component.d.ts +1 -1
  299. package/icon/icon-tokens.scss +14 -12
  300. package/icon/icon.component.d.ts +1 -1
  301. package/icon/icon.module.d.ts +1 -3
  302. package/input/input-tokens.scss +10 -13
  303. package/link/link-tokens.scss +53 -60
  304. package/list/list-tokens.scss +80 -89
  305. package/loader-overlay/loader-overlay-tokens.scss +50 -51
  306. package/markdown/markdown-tokens.scss +203 -234
  307. package/modal/modal-tokens.scss +38 -44
  308. package/modal/modal.directive.d.ts +3 -0
  309. package/navbar/navbar-tokens.scss +49 -74
  310. package/package.json +12 -9
  311. package/popover/popover-tokens.scss +38 -48
  312. package/prebuilt-themes/dark-theme.css +1 -1
  313. package/prebuilt-themes/light-theme.css +1 -1
  314. package/prebuilt-themes/theme.css +1 -0
  315. package/progress-bar/progress-bar-tokens.scss +26 -31
  316. package/progress-spinner/progress-spinner-tokens.scss +26 -31
  317. package/radio/radio-tokens.scss +115 -128
  318. package/risk-level/risk-level-tokens.scss +56 -59
  319. package/schematics/collection.json +5 -0
  320. package/schematics/new-icons-pack/data.js +2303 -0
  321. package/schematics/new-icons-pack/index.js +120 -0
  322. package/schematics/new-icons-pack/schema.json +25 -0
  323. package/schematics/ng-add/index.js +14 -40
  324. package/schematics/utils/package-config.js +65 -0
  325. package/scrollbar/scrollbar-tokens.scss +16 -14
  326. package/scrollbar/scrollbar.directive.d.ts +1 -24
  327. package/select/select-tokens.scss +30 -50
  328. package/sidepanel/sidepanel-tokens.scss +34 -40
  329. package/splitter/splitter-tokens.scss +1 -7
  330. package/table/table-tokens.scss +16 -37
  331. package/tabs/_tabs-common.scss +29 -0
  332. package/tabs/_tabs-theme.scss +12 -0
  333. package/tabs/tab-group.component.d.ts +7 -2
  334. package/tabs/tab-header.component.d.ts +4 -1
  335. package/tabs/tab-header.scss +28 -0
  336. package/tabs/tabs-tokens.scss +167 -110
  337. package/tabs/tabs.module.d.ts +2 -1
  338. package/tags/tag-input-tokens.scss +12 -15
  339. package/tags/tag-tokens.scss +139 -144
  340. package/textarea/textarea-tokens.scss +10 -13
  341. package/timezone/timezone-option-tokens.scss +60 -39
  342. package/toast/toast-tokens.scss +59 -66
  343. package/toggle/toggle-tokens.scss +120 -129
  344. package/tooltip/tooltip-tokens.scss +48 -55
  345. package/tooltip/tooltip.component.d.ts +11 -4
  346. package/tooltip/tooltip.module.d.ts +1 -3
  347. package/tree/tree-tokens.scss +78 -83
  348. package/tree-select/tree-select-tokens.scss +13 -53
@@ -1,123 +1,107 @@
1
+ /* stylelint-disable no-unknown-custom-properties */
2
+
1
3
  .kbq-option {
2
- --kbq-size-3xs: 2px;
3
- --kbq-size-xxs: 4px;
4
- --kbq-size-xs: 6px;
5
- --kbq-size-s: 8px;
6
- --kbq-size-m: 12px;
7
- --kbq-list-size-container-padding-left: 12px;
8
- --kbq-list-size-container-padding-right: 12px;
9
- --kbq-list-size-container-padding-vertical: 6px;
10
- --kbq-list-size-container-content-gap-horizontal: 8px;
11
- --kbq-list-size-container-content-gap-vertical: 2px;
12
- --kbq-list-size-container-focus-outline-width: 2px;
4
+ --kbq-list-size-container-padding-left: var(--kbq-size-m);
5
+ --kbq-list-size-container-padding-right: var(--kbq-size-m);
6
+ --kbq-list-size-container-padding-vertical: var(--kbq-size-xs);
7
+ --kbq-list-size-container-content-gap-horizontal: var(--kbq-size-s);
8
+ --kbq-list-size-container-content-gap-vertical: var(--kbq-size-3xs);
9
+ --kbq-list-size-container-focus-outline-width: var(--kbq-size-3xs);
13
10
  --kbq-list-size-text-padding-vertical: 0;
14
- --kbq-list-size-header-padding-top: 8px;
15
- --kbq-list-size-header-padding-bottom: 4px;
16
- --kbq-list-size-header-padding-horizontal: 12px;
17
- --kbq-list-size-subheading-padding-top: 12px;
18
- --kbq-list-size-subheading-padding-bottom: 4px;
19
- --kbq-list-size-subheading-padding-horizontal: 12px;
20
- --kbq-list-font-text-font-size: 14px;
21
- --kbq-list-font-text-line-height: 20px;
22
- --kbq-list-font-text-letter-spacing: -0.006em;
23
- --kbq-list-font-text-font-weight: normal;
24
- --kbq-list-font-text-text-transform: null;
25
- --kbq-list-font-text-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
26
- --kbq-list-font-caption-font-size: 12px;
27
- --kbq-list-font-caption-line-height: 16px;
28
- --kbq-list-font-caption-letter-spacing: normal;
29
- --kbq-list-font-caption-font-weight: normal;
30
- --kbq-list-font-caption-text-transform: null;
31
- --kbq-list-font-caption-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
32
- --kbq-list-font-header-font-size: 16px;
33
- --kbq-list-font-header-line-height: 24px;
34
- --kbq-list-font-header-letter-spacing: -0.011em;
35
- --kbq-list-font-header-font-weight: 600;
36
- --kbq-list-font-header-text-transform: null;
37
- --kbq-list-font-header-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
38
- --kbq-list-font-subheading-font-size: 12px;
39
- --kbq-list-font-subheading-line-height: 16px;
40
- --kbq-list-font-subheading-letter-spacing: 1px;
41
- --kbq-list-font-subheading-font-weight: 500;
42
- --kbq-list-font-subheading-text-transform: uppercase;
43
- --kbq-list-font-subheading-font-feature-settings: 'calt', 'case', 'kern', 'liga', 'ss01', 'ss04';
44
- --kbq-option-size-horizontal-padding: 12px;
45
- --kbq-option-size-height: 32px;
46
- --kbq-option-size-border-width: 2px;
47
- --kbq-option-font-default-font-size: 16px;
48
- --kbq-option-font-default-line-height: 24px;
49
- --kbq-option-font-default-letter-spacing: -0.011em;
50
- --kbq-option-font-default-font-weight: normal;
51
- --kbq-option-font-default-text-transform: null;
52
- --kbq-option-font-default-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
11
+ --kbq-list-size-header-padding-top: var(--kbq-size-s);
12
+ --kbq-list-size-header-padding-bottom: var(--kbq-size-xxs);
13
+ --kbq-list-size-header-padding-horizontal: var(--kbq-size-m);
14
+ --kbq-list-size-subheading-padding-top: var(--kbq-size-m);
15
+ --kbq-list-size-subheading-padding-bottom: var(--kbq-size-xxs);
16
+ --kbq-list-size-subheading-padding-horizontal: var(--kbq-size-m);
17
+ --kbq-list-font-text-font-size: var(--kbq-typography-text-normal-font-size);
18
+ --kbq-list-font-text-line-height: var(--kbq-typography-text-normal-line-height);
19
+ --kbq-list-font-text-letter-spacing: var(--kbq-typography-text-normal-letter-spacing);
20
+ --kbq-list-font-text-font-weight: var(--kbq-typography-text-normal-font-weight);
53
21
  --kbq-list-font-text-font-family: var(--kbq-typography-text-normal-font-family);
22
+ --kbq-list-font-text-text-transform: var(--kbq-typography-text-normal-text-transform);
23
+ --kbq-list-font-text-font-feature-settings: var(--kbq-typography-text-normal-font-feature-settings);
24
+ --kbq-list-font-caption-font-size: var(--kbq-typography-text-compact-font-size);
25
+ --kbq-list-font-caption-line-height: var(--kbq-typography-text-compact-line-height);
26
+ --kbq-list-font-caption-letter-spacing: var(--kbq-typography-text-compact-letter-spacing);
27
+ --kbq-list-font-caption-font-weight: var(--kbq-typography-text-compact-font-weight);
54
28
  --kbq-list-font-caption-font-family: var(--kbq-typography-text-compact-font-family);
29
+ --kbq-list-font-caption-text-transform: var(--kbq-typography-text-compact-text-transform);
30
+ --kbq-list-font-caption-font-feature-settings: var(--kbq-typography-text-compact-font-feature-settings);
31
+ --kbq-list-font-header-font-size: var(--kbq-typography-text-big-strong-font-size);
32
+ --kbq-list-font-header-line-height: var(--kbq-typography-text-big-strong-line-height);
33
+ --kbq-list-font-header-letter-spacing: var(--kbq-typography-text-big-strong-letter-spacing);
34
+ --kbq-list-font-header-font-weight: var(--kbq-typography-text-big-strong-font-weight);
55
35
  --kbq-list-font-header-font-family: var(--kbq-typography-text-big-strong-font-family);
36
+ --kbq-list-font-header-text-transform: var(--kbq-typography-text-big-strong-text-transform);
37
+ --kbq-list-font-header-font-feature-settings: var(--kbq-typography-text-big-strong-font-feature-settings);
38
+ --kbq-list-font-subheading-font-size: var(--kbq-typography-caps-compact-strong-font-size);
39
+ --kbq-list-font-subheading-line-height: var(--kbq-typography-caps-compact-strong-line-height);
40
+ --kbq-list-font-subheading-letter-spacing: var(--kbq-typography-caps-compact-strong-letter-spacing);
41
+ --kbq-list-font-subheading-font-weight: var(--kbq-typography-caps-compact-strong-font-weight);
56
42
  --kbq-list-font-subheading-font-family: var(--kbq-typography-caps-compact-strong-font-family);
43
+ --kbq-list-font-subheading-text-transform: var(--kbq-typography-caps-compact-strong-text-transform);
44
+ --kbq-list-font-subheading-font-feature-settings: var(--kbq-typography-caps-compact-strong-font-feature-settings);
45
+ --kbq-option-size-horizontal-padding: var(--kbq-size-m);
46
+ --kbq-option-size-height: var(--kbq-size-3xl);
47
+ --kbq-option-size-border-width: 2px;
48
+ --kbq-option-font-default-font-size: var(--kbq-typography-text-big-font-size);
49
+ --kbq-option-font-default-line-height: var(--kbq-typography-text-big-line-height);
50
+ --kbq-option-font-default-letter-spacing: var(--kbq-typography-text-big-letter-spacing);
51
+ --kbq-option-font-default-font-weight: var(--kbq-typography-text-big-font-weight);
57
52
  --kbq-option-font-default-font-family: var(--kbq-typography-text-big-font-family);
58
- }
59
-
60
- :root {
61
- --kbq-typography-text-normal-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue',
62
- Arial, sans-serif;
63
- --kbq-typography-text-compact-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue',
64
- Arial, sans-serif;
65
- --kbq-typography-text-big-strong-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue',
66
- Arial, sans-serif;
67
- --kbq-typography-caps-compact-strong-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI',
68
- 'Helvetica Neue', Arial, sans-serif;
69
- --kbq-typography-text-big-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial,
70
- sans-serif;
53
+ --kbq-option-font-default-text-transform: var(--kbq-typography-text-big-text-transform);
54
+ --kbq-option-font-default-font-feature-settings: var(--kbq-typography-text-big-font-feature-settings);
71
55
  }
72
56
 
73
57
  :where(.kbq-light, .theme-light, .kbq-theme-light) {
74
58
  --kbq-list-default-container-background: transparent;
75
- --kbq-list-default-text-color: hsla(229, 15%, 15%, 100%);
76
- --kbq-list-default-icon-color: hsla(229, 15%, 15%, 100%);
77
- --kbq-list-default-icon-button-color: hsla(229, 15%, 60%, 100%);
78
- --kbq-list-default-caption-color: hsla(229, 15%, 50%, 100%);
79
- --kbq-list-states-hover-container-background: hsla(229, 15%, 50%, 8%);
80
- --kbq-list-states-hover-text-color: hsla(229, 15%, 15%, 100%);
81
- --kbq-list-states-hover-icon-color: hsla(229, 15%, 15%, 100%);
82
- --kbq-list-states-hover-icon-button-color: hsla(229, 15%, 60%, 100%);
83
- --kbq-list-states-selected-container-background: hsla(216, 100%, 94%, 100%);
84
- --kbq-list-states-selected-text-color: hsla(229, 15%, 15%, 100%);
85
- --kbq-list-states-selected-icon-color: hsla(229, 15%, 15%, 100%);
86
- --kbq-list-states-selected-icon-button-color: hsla(229, 15%, 60%, 100%);
87
- --kbq-list-states-selected-hover-container-background: hsla(216, 100%, 90%, 100%);
88
- --kbq-list-states-selected-hover-text-color: hsla(229, 15%, 15%, 100%);
89
- --kbq-list-states-selected-hover-icon-color: hsla(229, 15%, 15%, 100%);
90
- --kbq-list-states-selected-hover-icon-button-color: hsla(229, 15%, 60%, 100%);
91
- --kbq-list-states-focused-focus-outline-color: hsla(216, 100%, 60%, 100%);
59
+ --kbq-list-default-text-color: var(--kbq-foreground-contrast);
60
+ --kbq-list-default-icon-color: var(--kbq-icon-contrast);
61
+ --kbq-list-default-icon-button-color: var(--kbq-icon-contrast-fade);
62
+ --kbq-list-default-caption-color: var(--kbq-foreground-contrast-secondary);
63
+ --kbq-list-states-hover-container-background: var(--kbq-states-background-transparent-hover);
64
+ --kbq-list-states-hover-text-color: var(--kbq-foreground-contrast);
65
+ --kbq-list-states-hover-icon-color: var(--kbq-icon-contrast);
66
+ --kbq-list-states-hover-icon-button-color: var(--kbq-icon-contrast-fade);
67
+ --kbq-list-states-selected-container-background: var(--kbq-background-theme-less);
68
+ --kbq-list-states-selected-text-color: var(--kbq-foreground-contrast);
69
+ --kbq-list-states-selected-icon-color: var(--kbq-icon-contrast);
70
+ --kbq-list-states-selected-icon-button-color: var(--kbq-icon-contrast-fade);
71
+ --kbq-list-states-selected-hover-container-background: var(--kbq-states-background-theme-less-hover);
72
+ --kbq-list-states-selected-hover-text-color: var(--kbq-foreground-contrast);
73
+ --kbq-list-states-selected-hover-icon-color: var(--kbq-icon-contrast);
74
+ --kbq-list-states-selected-hover-icon-button-color: var(--kbq-icon-contrast-fade);
75
+ --kbq-list-states-focused-focus-outline-color: var(--kbq-states-line-focus-theme);
92
76
  --kbq-list-states-disabled-container-background: transparent;
93
- --kbq-list-states-disabled-text-color: hsla(229, 15%, 15%, 32%);
94
- --kbq-list-states-disabled-icon-color: hsla(229, 15%, 15%, 32%);
95
- --kbq-list-states-disabled-icon-button-color: hsla(229, 15%, 15%, 32%);
96
- --kbq-list-states-disabled-caption-color: hsla(229, 15%, 15%, 32%);
77
+ --kbq-list-states-disabled-text-color: var(--kbq-states-foreground-disabled);
78
+ --kbq-list-states-disabled-icon-color: var(--kbq-states-icon-disabled);
79
+ --kbq-list-states-disabled-icon-button-color: var(--kbq-states-icon-disabled);
80
+ --kbq-list-states-disabled-caption-color: var(--kbq-states-foreground-disabled);
97
81
  }
98
82
 
99
83
  :where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
100
84
  --kbq-list-default-container-background: transparent;
101
- --kbq-list-default-text-color: hsla(229, 15%, 80%, 100%);
102
- --kbq-list-default-icon-color: hsla(229, 15%, 80%, 100%);
103
- --kbq-list-default-icon-button-color: hsla(229, 15%, 45%, 100%);
104
- --kbq-list-default-caption-color: hsla(229, 15%, 60%, 100%);
105
- --kbq-list-states-hover-container-background: hsla(229, 15%, 50%, 16%);
106
- --kbq-list-states-hover-text-color: hsla(229, 15%, 80%, 100%);
107
- --kbq-list-states-hover-icon-color: hsla(229, 15%, 80%, 100%);
108
- --kbq-list-states-hover-icon-button-color: hsla(229, 15%, 45%, 100%);
109
- --kbq-list-states-selected-container-background: hsla(216, 100%, 18%, 100%);
110
- --kbq-list-states-selected-text-color: hsla(229, 15%, 80%, 100%);
111
- --kbq-list-states-selected-icon-color: hsla(229, 15%, 80%, 100%);
112
- --kbq-list-states-selected-icon-button-color: hsla(229, 15%, 45%, 100%);
113
- --kbq-list-states-selected-hover-container-background: hsla(216, 100%, 15%, 100%);
114
- --kbq-list-states-selected-hover-text-color: hsla(229, 15%, 80%, 100%);
115
- --kbq-list-states-selected-hover-icon-color: hsla(229, 15%, 80%, 100%);
116
- --kbq-list-states-selected-hover-icon-button-color: hsla(229, 15%, 45%, 100%);
117
- --kbq-list-states-focused-focus-outline-color: hsla(216, 100%, 60%, 100%);
85
+ --kbq-list-default-text-color: var(--kbq-foreground-contrast);
86
+ --kbq-list-default-icon-color: var(--kbq-icon-contrast);
87
+ --kbq-list-default-icon-button-color: var(--kbq-icon-contrast-fade);
88
+ --kbq-list-default-caption-color: var(--kbq-foreground-contrast-secondary);
89
+ --kbq-list-states-hover-container-background: var(--kbq-states-background-transparent-hover);
90
+ --kbq-list-states-hover-text-color: var(--kbq-foreground-contrast);
91
+ --kbq-list-states-hover-icon-color: var(--kbq-icon-contrast);
92
+ --kbq-list-states-hover-icon-button-color: var(--kbq-icon-contrast-fade);
93
+ --kbq-list-states-selected-container-background: var(--kbq-background-theme-less);
94
+ --kbq-list-states-selected-text-color: var(--kbq-foreground-contrast);
95
+ --kbq-list-states-selected-icon-color: var(--kbq-icon-contrast);
96
+ --kbq-list-states-selected-icon-button-color: var(--kbq-icon-contrast-fade);
97
+ --kbq-list-states-selected-hover-container-background: var(--kbq-states-background-theme-less-hover);
98
+ --kbq-list-states-selected-hover-text-color: var(--kbq-foreground-contrast);
99
+ --kbq-list-states-selected-hover-icon-color: var(--kbq-icon-contrast);
100
+ --kbq-list-states-selected-hover-icon-button-color: var(--kbq-icon-contrast-fade);
101
+ --kbq-list-states-focused-focus-outline-color: var(--kbq-states-line-focus-theme);
118
102
  --kbq-list-states-disabled-container-background: transparent;
119
- --kbq-list-states-disabled-text-color: hsla(229, 15%, 40%, 100%);
120
- --kbq-list-states-disabled-icon-color: hsla(229, 15%, 30%, 100%);
121
- --kbq-list-states-disabled-icon-button-color: hsla(229, 15%, 30%, 100%);
122
- --kbq-list-states-disabled-caption-color: hsla(229, 15%, 40%, 100%);
103
+ --kbq-list-states-disabled-text-color: var(--kbq-states-foreground-disabled);
104
+ --kbq-list-states-disabled-icon-color: var(--kbq-states-icon-disabled);
105
+ --kbq-list-states-disabled-icon-button-color: var(--kbq-states-icon-disabled);
106
+ --kbq-list-states-disabled-caption-color: var(--kbq-states-foreground-disabled);
123
107
  }
@@ -1,5 +1,5 @@
1
1
  import { Directionality } from '@angular/cdk/bidi';
2
- import { ConnectedOverlayPositionChange, ConnectionPositionPair, Overlay, OverlayConfig, OverlayRef, ScrollDispatcher, ScrollStrategy } from '@angular/cdk/overlay';
2
+ import { ConnectedOverlayPositionChange, ConnectionPositionPair, FlexibleConnectedPositionStrategy, Overlay, OverlayConfig, OverlayRef, ScrollDispatcher, ScrollStrategy } from '@angular/cdk/overlay';
3
3
  import { ComponentPortal } from '@angular/cdk/portal';
4
4
  import { ElementRef, EventEmitter, NgZone, OnDestroy, OnInit, TemplateRef, Type, ViewContainerRef } from '@angular/core';
5
5
  import { Observable, Subject, Subscription } from 'rxjs';
@@ -40,6 +40,8 @@ export declare abstract class KbqPopUpTrigger<T> implements OnInit, OnDestroy {
40
40
  };
41
41
  protected readonly destroyed: Subject<void>;
42
42
  protected triggerName: string;
43
+ protected mouseEvent?: MouseEvent;
44
+ protected strategy: FlexibleConnectedPositionStrategy;
43
45
  abstract updateClassMap(newPlacement?: string): void;
44
46
  abstract updateData(): void;
45
47
  abstract closingActions(): Observable<any>;
@@ -56,6 +58,7 @@ export declare abstract class KbqPopUpTrigger<T> implements OnInit, OnDestroy {
56
58
  detach: () => void;
57
59
  /** Create the overlay config and position strategy */
58
60
  createOverlay(): OverlayRef;
61
+ resetOrigin(): void;
59
62
  onPositionChange: ($event: ConnectedOverlayPositionChange) => void;
60
63
  initListeners(): void;
61
64
  /** Updates the position of the current popover. */
@@ -64,6 +67,7 @@ export declare abstract class KbqPopUpTrigger<T> implements OnInit, OnDestroy {
64
67
  protected getPrioritizedPositions(): ConnectionPositionPair[];
65
68
  protected clearListeners(): void;
66
69
  private createListener;
70
+ private saveMouseEvent;
67
71
  private addEventListener;
68
72
  private removeEventListener;
69
73
  private subscribeOnClosingActions;
@@ -1,145 +1,138 @@
1
+ /* stylelint-disable no-unknown-custom-properties */
2
+
1
3
  .kbq-pseudo-checkbox {
2
- --kbq-checkbox-size-normal-width: 16px;
3
- --kbq-checkbox-size-normal-border-width: 1px;
4
- --kbq-checkbox-size-normal-border-radius: 4px;
5
- --kbq-checkbox-size-normal-horizontal-content-padding: 8px;
6
- --kbq-checkbox-size-normal-vertical-content-padding: 2px;
7
- --kbq-checkbox-size-normal-top: 2px;
8
- --kbq-checkbox-size-big-width: 16px;
9
- --kbq-checkbox-size-big-border-width: 1px;
10
- --kbq-checkbox-size-big-border-radius: 4px;
11
- --kbq-checkbox-size-big-horizontal-content-padding: 8px;
12
- --kbq-checkbox-size-big-vertical-content-padding: 2px;
13
- --kbq-checkbox-size-big-top: 4px;
14
- --kbq-checkbox-font-normal-label-font-size: 14px;
15
- --kbq-checkbox-font-normal-label-line-height: 20px;
16
- --kbq-checkbox-font-normal-label-letter-spacing: -0.006em;
17
- --kbq-checkbox-font-normal-label-font-weight: normal;
18
- --kbq-checkbox-font-normal-label-text-transform: null;
19
- --kbq-checkbox-font-normal-label-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
20
- --kbq-checkbox-font-normal-caption-font-size: 12px;
21
- --kbq-checkbox-font-normal-caption-line-height: 16px;
22
- --kbq-checkbox-font-normal-caption-letter-spacing: normal;
23
- --kbq-checkbox-font-normal-caption-font-weight: normal;
24
- --kbq-checkbox-font-normal-caption-text-transform: null;
25
- --kbq-checkbox-font-normal-caption-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
26
- --kbq-checkbox-font-big-label-font-size: 16px;
27
- --kbq-checkbox-font-big-label-line-height: 24px;
28
- --kbq-checkbox-font-big-label-letter-spacing: -0.011em;
29
- --kbq-checkbox-font-big-label-font-weight: normal;
30
- --kbq-checkbox-font-big-label-text-transform: null;
31
- --kbq-checkbox-font-big-label-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
32
- --kbq-checkbox-font-big-caption-font-size: 14px;
33
- --kbq-checkbox-font-big-caption-line-height: 20px;
34
- --kbq-checkbox-font-big-caption-letter-spacing: -0.006em;
35
- --kbq-checkbox-font-big-caption-font-weight: normal;
36
- --kbq-checkbox-font-big-caption-text-transform: null;
37
- --kbq-checkbox-font-big-caption-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
4
+ --kbq-checkbox-size-normal-width: var(--kbq-size-l);
5
+ --kbq-checkbox-size-normal-border-width: var(--kbq-size-border-width);
6
+ --kbq-checkbox-size-normal-border-radius: var(--kbq-size-xxs);
7
+ --kbq-checkbox-size-normal-horizontal-content-padding: var(--kbq-size-s);
8
+ --kbq-checkbox-size-normal-vertical-content-padding: var(--kbq-size-3xs);
9
+ --kbq-checkbox-size-normal-top: var(--kbq-size-3xs);
10
+ --kbq-checkbox-size-big-width: var(--kbq-size-l);
11
+ --kbq-checkbox-size-big-border-width: var(--kbq-size-border-width);
12
+ --kbq-checkbox-size-big-border-radius: var(--kbq-size-xxs);
13
+ --kbq-checkbox-size-big-horizontal-content-padding: var(--kbq-size-s);
14
+ --kbq-checkbox-size-big-vertical-content-padding: var(--kbq-size-3xs);
15
+ --kbq-checkbox-size-big-top: var(--kbq-size-xxs);
16
+ --kbq-checkbox-font-normal-label-font-size: var(--kbq-typography-text-normal-font-size);
17
+ --kbq-checkbox-font-normal-label-line-height: var(--kbq-typography-text-normal-line-height);
18
+ --kbq-checkbox-font-normal-label-letter-spacing: var(--kbq-typography-text-normal-letter-spacing);
19
+ --kbq-checkbox-font-normal-label-font-weight: var(--kbq-typography-text-normal-font-weight);
38
20
  --kbq-checkbox-font-normal-label-font-family: var(--kbq-typography-text-normal-font-family);
21
+ --kbq-checkbox-font-normal-label-text-transform: var(--kbq-typography-text-normal-text-transform);
22
+ --kbq-checkbox-font-normal-label-font-feature-settings: var(--kbq-typography-text-normal-font-feature-settings);
23
+ --kbq-checkbox-font-normal-caption-font-size: var(--kbq-typography-text-compact-font-size);
24
+ --kbq-checkbox-font-normal-caption-line-height: var(--kbq-typography-text-compact-line-height);
25
+ --kbq-checkbox-font-normal-caption-letter-spacing: var(--kbq-typography-text-compact-letter-spacing);
26
+ --kbq-checkbox-font-normal-caption-font-weight: var(--kbq-typography-text-compact-font-weight);
39
27
  --kbq-checkbox-font-normal-caption-font-family: var(--kbq-typography-text-compact-font-family);
28
+ --kbq-checkbox-font-normal-caption-text-transform: var(--kbq-typography-text-compact-text-transform);
29
+ --kbq-checkbox-font-normal-caption-font-feature-settings: var(--kbq-typography-text-compact-font-feature-settings);
30
+ --kbq-checkbox-font-big-label-font-size: var(--kbq-typography-text-big-font-size);
31
+ --kbq-checkbox-font-big-label-line-height: var(--kbq-typography-text-big-line-height);
32
+ --kbq-checkbox-font-big-label-letter-spacing: var(--kbq-typography-text-big-letter-spacing);
33
+ --kbq-checkbox-font-big-label-font-weight: var(--kbq-typography-text-big-font-weight);
40
34
  --kbq-checkbox-font-big-label-font-family: var(--kbq-typography-text-big-font-family);
35
+ --kbq-checkbox-font-big-label-text-transform: var(--kbq-typography-text-big-text-transform);
36
+ --kbq-checkbox-font-big-label-font-feature-settings: var(--kbq-typography-text-big-font-feature-settings);
37
+ --kbq-checkbox-font-big-caption-font-size: var(--kbq-typography-text-normal-font-size);
38
+ --kbq-checkbox-font-big-caption-line-height: var(--kbq-typography-text-normal-line-height);
39
+ --kbq-checkbox-font-big-caption-letter-spacing: var(--kbq-typography-text-normal-letter-spacing);
40
+ --kbq-checkbox-font-big-caption-font-weight: var(--kbq-typography-text-normal-font-weight);
41
41
  --kbq-checkbox-font-big-caption-font-family: var(--kbq-typography-text-normal-font-family);
42
- }
43
-
44
- :root {
45
- --kbq-typography-text-normal-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue',
46
- Arial, sans-serif;
47
- --kbq-typography-text-compact-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue',
48
- Arial, sans-serif;
49
- --kbq-typography-text-big-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial,
50
- sans-serif;
42
+ --kbq-checkbox-font-big-caption-text-transform: var(--kbq-typography-text-normal-text-transform);
43
+ --kbq-checkbox-font-big-caption-font-feature-settings: var(--kbq-typography-text-normal-font-feature-settings);
51
44
  }
52
45
 
53
46
  :where(.kbq-light, .theme-light, .kbq-theme-light) {
54
- --kbq-checkbox-theme-default-border: hsla(229, 15%, 80%, 100%);
55
- --kbq-checkbox-theme-default-color: hsla(0, 0%, 100%, 100%);
56
- --kbq-checkbox-theme-default-text: hsla(229, 15%, 15%, 100%);
57
- --kbq-checkbox-theme-default-background: hsla(0, 0%, 100%, 100%);
58
- --kbq-checkbox-theme-default-caption: hsla(229, 15%, 50%, 100%);
59
- --kbq-checkbox-theme-states-hover-border: hsla(229, 15%, 80%, 100%);
60
- --kbq-checkbox-theme-states-hover-background: hsla(229, 15%, 50%, 8%);
47
+ --kbq-checkbox-theme-default-border: var(--kbq-line-contrast-fade);
48
+ --kbq-checkbox-theme-default-color: var(--kbq-neutral-white);
49
+ --kbq-checkbox-theme-default-text: var(--kbq-foreground-contrast);
50
+ --kbq-checkbox-theme-default-background: var(--kbq-background-bg);
51
+ --kbq-checkbox-theme-default-caption: var(--kbq-foreground-contrast-secondary);
52
+ --kbq-checkbox-theme-states-hover-border: var(--kbq-line-contrast-fade);
53
+ --kbq-checkbox-theme-states-hover-background: var(--kbq-states-background-transparent-hover);
61
54
  --kbq-checkbox-theme-states-checked-border: transparent;
62
- --kbq-checkbox-theme-states-checked-background: hsla(216, 100%, 50%, 100%);
55
+ --kbq-checkbox-theme-states-checked-background: var(--kbq-background-theme);
63
56
  --kbq-checkbox-theme-states-checked-hover-border: transparent;
64
- --kbq-checkbox-theme-states-checked-hover-background: hsla(216, 100%, 45%, 100%);
65
- --kbq-checkbox-theme-states-focused-border: hsla(216, 100%, 60%, 100%);
66
- --kbq-checkbox-theme-states-focused-background: hsla(0, 0%, 100%, 100%);
67
- --kbq-checkbox-theme-states-focused-outline: 1px solid hsla(216, 100%, 60%, 100%);
68
- --kbq-checkbox-theme-states-checked-focused-border: hsla(216, 100%, 60%, 100%);
69
- --kbq-checkbox-theme-states-checked-focused-background: hsla(216, 100%, 50%, 100%);
70
- --kbq-checkbox-theme-states-checked-focused-outline: 1px solid hsla(216, 100%, 60%, 100%);
71
- --kbq-checkbox-theme-states-disabled-border: hsla(229, 15%, 80%, 100%);
72
- --kbq-checkbox-theme-states-disabled-color: hsla(229, 15%, 15%, 32%);
73
- --kbq-checkbox-theme-states-disabled-text: hsla(229, 15%, 15%, 32%);
74
- --kbq-checkbox-theme-states-disabled-background: hsla(229, 15%, 50%, 16%);
75
- --kbq-checkbox-theme-states-disabled-caption: hsla(229, 15%, 15%, 32%);
76
- --kbq-checkbox-error-default-border: hsla(7, 97%, 45%, 100%);
77
- --kbq-checkbox-error-default-color: hsla(0, 0%, 100%, 100%);
78
- --kbq-checkbox-error-default-text: hsla(229, 15%, 15%, 100%);
79
- --kbq-checkbox-error-default-background: hsla(7, 97%, 99%, 100%);
80
- --kbq-checkbox-error-default-caption: hsla(229, 15%, 50%, 100%);
81
- --kbq-checkbox-error-states-hover-border: hsla(7, 97%, 45%, 100%);
82
- --kbq-checkbox-error-states-hover-background: hsla(7, 97%, 92%, 100%);
57
+ --kbq-checkbox-theme-states-checked-hover-background: var(--kbq-states-background-theme-hover);
58
+ --kbq-checkbox-theme-states-focused-border: var(--kbq-states-line-focus-theme);
59
+ --kbq-checkbox-theme-states-focused-background: var(--kbq-background-bg);
60
+ --kbq-checkbox-theme-states-focused-outline: 1px solid var(--kbq-states-line-focus-theme);
61
+ --kbq-checkbox-theme-states-checked-focused-border: var(--kbq-states-line-focus-theme);
62
+ --kbq-checkbox-theme-states-checked-focused-background: var(--kbq-background-theme);
63
+ --kbq-checkbox-theme-states-checked-focused-outline: 1px solid var(--kbq-states-line-focus-theme);
64
+ --kbq-checkbox-theme-states-disabled-border: var(--kbq-line-contrast-fade);
65
+ --kbq-checkbox-theme-states-disabled-color: var(--kbq-states-icon-disabled);
66
+ --kbq-checkbox-theme-states-disabled-text: var(--kbq-states-foreground-disabled);
67
+ --kbq-checkbox-theme-states-disabled-background: var(--kbq-states-background-disabled);
68
+ --kbq-checkbox-theme-states-disabled-caption: var(--kbq-states-icon-disabled);
69
+ --kbq-checkbox-error-default-border: var(--kbq-line-error);
70
+ --kbq-checkbox-error-default-color: var(--kbq-neutral-white);
71
+ --kbq-checkbox-error-default-text: var(--kbq-foreground-contrast);
72
+ --kbq-checkbox-error-default-background: var(--kbq-states-background-error-less);
73
+ --kbq-checkbox-error-default-caption: var(--kbq-foreground-contrast-secondary);
74
+ --kbq-checkbox-error-states-hover-border: var(--kbq-line-error);
75
+ --kbq-checkbox-error-states-hover-background: var(--kbq-states-background-error-fade-hover);
83
76
  --kbq-checkbox-error-states-checked-border: transparent;
84
- --kbq-checkbox-error-states-checked-background: hsla(7, 97%, 60%, 100%);
77
+ --kbq-checkbox-error-states-checked-background: var(--kbq-background-error);
85
78
  --kbq-checkbox-error-states-checked-hover-border: transparent;
86
- --kbq-checkbox-error-states-checked-hover-background: hsla(7, 97%, 56%, 100%);
87
- --kbq-checkbox-error-states-focused-border: hsla(7, 97%, 45%, 100%);
88
- --kbq-checkbox-error-states-focused-background: hsla(7, 97%, 99%, 100%);
89
- --kbq-checkbox-error-states-focused-outline: 1px solid hsla(7, 97%, 45%, 100%);
90
- --kbq-checkbox-error-states-checked-focused-border: hsla(7, 97%, 45%, 100%);
91
- --kbq-checkbox-error-states-checked-focused-background: hsla(7, 97%, 60%, 100%);
92
- --kbq-checkbox-error-states-checked-focused-outline: 1px solid hsla(7, 97%, 45%, 100%);
93
- --kbq-checkbox-error-states-disabled-border: hsla(229, 15%, 80%, 100%);
94
- --kbq-checkbox-error-states-disabled-color: hsla(229, 15%, 15%, 32%);
95
- --kbq-checkbox-error-states-disabled-text: hsla(229, 15%, 15%, 32%);
96
- --kbq-checkbox-error-states-disabled-background: hsla(229, 15%, 50%, 16%);
97
- --kbq-checkbox-error-states-disabled-caption: hsla(229, 15%, 15%, 32%);
79
+ --kbq-checkbox-error-states-checked-hover-background: var(--kbq-states-background-error-hover);
80
+ --kbq-checkbox-error-states-focused-border: var(--kbq-line-error);
81
+ --kbq-checkbox-error-states-focused-background: var(--kbq-states-background-error-less);
82
+ --kbq-checkbox-error-states-focused-outline: 1px solid var(--kbq-states-line-focus-error);
83
+ --kbq-checkbox-error-states-checked-focused-border: var(--kbq-states-line-focus-error);
84
+ --kbq-checkbox-error-states-checked-focused-background: var(--kbq-background-error);
85
+ --kbq-checkbox-error-states-checked-focused-outline: 1px solid var(--kbq-states-line-focus-error);
86
+ --kbq-checkbox-error-states-disabled-border: var(--kbq-line-contrast-fade);
87
+ --kbq-checkbox-error-states-disabled-color: var(--kbq-states-icon-disabled);
88
+ --kbq-checkbox-error-states-disabled-text: var(--kbq-states-foreground-disabled);
89
+ --kbq-checkbox-error-states-disabled-background: var(--kbq-states-background-disabled);
90
+ --kbq-checkbox-error-states-disabled-caption: var(--kbq-states-icon-disabled);
98
91
  }
99
92
 
100
93
  :where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
101
- --kbq-checkbox-theme-default-border: hsla(229, 15%, 30%, 100%);
102
- --kbq-checkbox-theme-default-color: hsla(0, 0%, 100%, 100%);
103
- --kbq-checkbox-theme-default-text: hsla(229, 15%, 80%, 100%);
104
- --kbq-checkbox-theme-default-background: hsla(229, 15%, 12%, 100%);
105
- --kbq-checkbox-theme-default-caption: hsla(229, 15%, 60%, 100%);
106
- --kbq-checkbox-theme-states-hover-border: hsla(229, 15%, 30%, 100%);
107
- --kbq-checkbox-theme-states-hover-background: hsla(229, 15%, 50%, 16%);
94
+ --kbq-checkbox-theme-default-border: var(--kbq-line-contrast-fade);
95
+ --kbq-checkbox-theme-default-color: var(--kbq-neutral-white);
96
+ --kbq-checkbox-theme-default-text: var(--kbq-foreground-contrast);
97
+ --kbq-checkbox-theme-default-background: var(--kbq-background-bg);
98
+ --kbq-checkbox-theme-default-caption: var(--kbq-foreground-contrast-secondary);
99
+ --kbq-checkbox-theme-states-hover-border: var(--kbq-line-contrast-fade);
100
+ --kbq-checkbox-theme-states-hover-background: var(--kbq-states-background-transparent-hover);
108
101
  --kbq-checkbox-theme-states-checked-border: transparent;
109
- --kbq-checkbox-theme-states-checked-background: hsla(216, 100%, 50%, 100%);
102
+ --kbq-checkbox-theme-states-checked-background: var(--kbq-background-theme);
110
103
  --kbq-checkbox-theme-states-checked-hover-border: transparent;
111
- --kbq-checkbox-theme-states-checked-hover-background: hsla(216, 100%, 45%, 100%);
112
- --kbq-checkbox-theme-states-focused-border: hsla(216, 100%, 60%, 100%);
113
- --kbq-checkbox-theme-states-focused-background: hsla(229, 15%, 12%, 100%);
114
- --kbq-checkbox-theme-states-focused-outline: 1px solid hsla(216, 100%, 60%, 100%);
115
- --kbq-checkbox-theme-states-checked-focused-border: hsla(216, 100%, 60%, 100%);
116
- --kbq-checkbox-theme-states-checked-focused-background: hsla(216, 100%, 50%, 100%);
117
- --kbq-checkbox-theme-states-checked-focused-outline: 1px solid hsla(216, 100%, 60%, 100%);
118
- --kbq-checkbox-theme-states-disabled-border: hsla(229, 15%, 30%, 100%);
119
- --kbq-checkbox-theme-states-disabled-color: hsla(229, 15%, 30%, 100%);
120
- --kbq-checkbox-theme-states-disabled-text: hsla(229, 15%, 40%, 100%);
121
- --kbq-checkbox-theme-states-disabled-background: hsla(229, 15%, 50%, 16%);
122
- --kbq-checkbox-theme-states-disabled-caption: hsla(229, 15%, 30%, 100%);
123
- --kbq-checkbox-error-default-border: hsla(7, 97%, 35%, 100%);
124
- --kbq-checkbox-error-default-color: hsla(0, 0%, 100%, 100%);
125
- --kbq-checkbox-error-default-text: hsla(229, 15%, 80%, 100%);
126
- --kbq-checkbox-error-default-background: hsla(7, 97%, 6%, 100%);
127
- --kbq-checkbox-error-default-caption: hsla(229, 15%, 60%, 100%);
128
- --kbq-checkbox-error-states-hover-border: hsla(7, 97%, 35%, 100%);
129
- --kbq-checkbox-error-states-hover-background: hsla(7, 97%, 13%, 100%);
104
+ --kbq-checkbox-theme-states-checked-hover-background: var(--kbq-states-background-theme-hover);
105
+ --kbq-checkbox-theme-states-focused-border: var(--kbq-states-line-focus-theme);
106
+ --kbq-checkbox-theme-states-focused-background: var(--kbq-background-bg);
107
+ --kbq-checkbox-theme-states-focused-outline: 1px solid var(--kbq-states-line-focus-theme);
108
+ --kbq-checkbox-theme-states-checked-focused-border: var(--kbq-states-line-focus-theme);
109
+ --kbq-checkbox-theme-states-checked-focused-background: var(--kbq-background-theme);
110
+ --kbq-checkbox-theme-states-checked-focused-outline: 1px solid var(--kbq-states-line-focus-theme);
111
+ --kbq-checkbox-theme-states-disabled-border: var(--kbq-line-contrast-fade);
112
+ --kbq-checkbox-theme-states-disabled-color: var(--kbq-states-icon-disabled);
113
+ --kbq-checkbox-theme-states-disabled-text: var(--kbq-states-foreground-disabled);
114
+ --kbq-checkbox-theme-states-disabled-background: var(--kbq-states-background-disabled);
115
+ --kbq-checkbox-theme-states-disabled-caption: var(--kbq-states-icon-disabled);
116
+ --kbq-checkbox-error-default-border: var(--kbq-line-error);
117
+ --kbq-checkbox-error-default-color: var(--kbq-neutral-white);
118
+ --kbq-checkbox-error-default-text: var(--kbq-foreground-contrast);
119
+ --kbq-checkbox-error-default-background: var(--kbq-states-background-error-less);
120
+ --kbq-checkbox-error-default-caption: var(--kbq-foreground-contrast-secondary);
121
+ --kbq-checkbox-error-states-hover-border: var(--kbq-line-error);
122
+ --kbq-checkbox-error-states-hover-background: var(--kbq-states-background-error-fade-hover);
130
123
  --kbq-checkbox-error-states-checked-border: transparent;
131
- --kbq-checkbox-error-states-checked-background: hsla(7, 97%, 41%, 100%);
124
+ --kbq-checkbox-error-states-checked-background: var(--kbq-background-error);
132
125
  --kbq-checkbox-error-states-checked-hover-border: transparent;
133
- --kbq-checkbox-error-states-checked-hover-background: hsla(7, 97%, 42%, 100%);
134
- --kbq-checkbox-error-states-focused-border: hsla(7, 97%, 35%, 100%);
135
- --kbq-checkbox-error-states-focused-background: hsla(7, 97%, 6%, 100%);
136
- --kbq-checkbox-error-states-focused-outline: 1px solid hsla(7, 97%, 45%, 100%);
137
- --kbq-checkbox-error-states-checked-focused-border: hsla(7, 97%, 45%, 100%);
138
- --kbq-checkbox-error-states-checked-focused-background: hsla(7, 97%, 41%, 100%);
139
- --kbq-checkbox-error-states-checked-focused-outline: 1px solid hsla(7, 97%, 45%, 100%);
140
- --kbq-checkbox-error-states-disabled-border: hsla(229, 15%, 30%, 100%);
141
- --kbq-checkbox-error-states-disabled-color: hsla(229, 15%, 30%, 100%);
142
- --kbq-checkbox-error-states-disabled-text: hsla(229, 15%, 40%, 100%);
143
- --kbq-checkbox-error-states-disabled-background: hsla(229, 15%, 50%, 16%);
144
- --kbq-checkbox-error-states-disabled-caption: hsla(229, 15%, 30%, 100%);
126
+ --kbq-checkbox-error-states-checked-hover-background: var(--kbq-states-background-error-hover);
127
+ --kbq-checkbox-error-states-focused-border: var(--kbq-line-error);
128
+ --kbq-checkbox-error-states-focused-background: var(--kbq-states-background-error-less);
129
+ --kbq-checkbox-error-states-focused-outline: 1px solid var(--kbq-states-line-focus-error);
130
+ --kbq-checkbox-error-states-checked-focused-border: var(--kbq-states-line-focus-error);
131
+ --kbq-checkbox-error-states-checked-focused-background: var(--kbq-background-error);
132
+ --kbq-checkbox-error-states-checked-focused-outline: 1px solid var(--kbq-states-line-focus-error);
133
+ --kbq-checkbox-error-states-disabled-border: var(--kbq-line-contrast-fade);
134
+ --kbq-checkbox-error-states-disabled-color: var(--kbq-states-icon-disabled);
135
+ --kbq-checkbox-error-states-disabled-text: var(--kbq-states-foreground-disabled);
136
+ --kbq-checkbox-error-states-disabled-background: var(--kbq-states-background-disabled);
137
+ --kbq-checkbox-error-states-disabled-caption: var(--kbq-states-icon-disabled);
145
138
  }
@@ -13,8 +13,8 @@
13
13
  @use '../forms/forms-theme' as *;
14
14
  @use '../highlight/highlight-theme' as *;
15
15
 
16
- @mixin koobiq-theme($theme) {
17
- @include kbq-core-theme($theme);
16
+ @mixin koobiq-theme($theme: null) {
17
+ @include kbq-core-theme();
18
18
 
19
19
  @include kbq-forms-theme();
20
20
  @include kbq-highlight-theme();
@@ -26,11 +26,7 @@
26
26
  @include kbq-tag-theme();
27
27
  }
28
28
 
29
- @mixin koobiq-typography($tokens, $config: null, $md-config: null) {
30
- @if not $config {
31
- $config: kbq-typography-config($tokens);
32
- }
33
-
29
+ @mixin koobiq-typography($tokens: null, $config: null, $md-config: null) {
34
30
  @include kbq-base-typography();
35
31
  @include kbq-markdown-base-typography();
36
32
  @include kbq-markdown-typography();
@@ -42,13 +42,11 @@
42
42
  }
43
43
 
44
44
  // Mixin that renders all of the core styles that depend on the theme.
45
- @mixin kbq-core-theme($theme) {
45
+ /* stylelint-disable no-unknown-custom-properties */
46
+ @mixin kbq-core-theme($theme: null) {
46
47
  .kbq-app-background {
47
- $background: map.get($theme, background);
48
- $foreground: map.get($theme, foreground);
49
-
50
- background-color: kbq-color($background, bg);
51
- color: kbq-color($foreground, contrast);
48
+ background: var(--kbq-background-bg);
49
+ color: var(--kbq-foreground-contrast);
52
50
  }
53
51
 
54
52
  .kbq-theme-loaded-marker {
@@ -1,17 +1,19 @@
1
+ /* stylelint-disable no-unknown-custom-properties */
2
+
1
3
  .kbq-scrollbar {
2
- --kbq-scrollbar-size-track-dimension: 16px;
3
- --kbq-scrollbar-size-track-padding-vertical: 2px;
4
- --kbq-scrollbar-size-track-padding-horizontal: 2px;
5
- --kbq-scrollbar-size-thumb-width: 8px;
6
- --kbq-scrollbar-size-thumb-min-size: 20px;
7
- --kbq-scrollbar-size-thumb-border-radius: 8px;
4
+ --kbq-scrollbar-size-track-dimension: var(--kbq-size-l);
5
+ --kbq-scrollbar-size-track-padding-vertical: var(--kbq-size-3xs);
6
+ --kbq-scrollbar-size-track-padding-horizontal: var(--kbq-size-3xs);
7
+ --kbq-scrollbar-size-thumb-width: var(--kbq-size-s);
8
+ --kbq-scrollbar-size-thumb-min-size: var(--kbq-size-xl);
9
+ --kbq-scrollbar-size-thumb-border-radius: var(--kbq-size-s);
8
10
  }
9
11
 
10
12
  :where(.kbq-light, .theme-light, .kbq-theme-light) {
11
- --kbq-scrollbar-thumb-default-background: hsla(229, 15%, 60%, 100%);
12
- --kbq-scrollbar-thumb-hover-background: hsla(229, 15%, 50%, 100%);
13
- --kbq-scrollbar-thumb-active-background: hsla(229, 15%, 40%, 100%);
14
- --kbq-scrollbar-thumb-disabled-background: hsla(229, 15%, 15%, 32%);
13
+ --kbq-scrollbar-thumb-default-background: var(--kbq-icon-contrast-fade);
14
+ --kbq-scrollbar-thumb-hover-background: var(--kbq-states-icon-contrast-fade-hover);
15
+ --kbq-scrollbar-thumb-active-background: var(--kbq-states-icon-contrast-fade-active);
16
+ --kbq-scrollbar-thumb-disabled-background: var(--kbq-states-icon-disabled);
15
17
  --kbq-scrollbar-track-default-border: transparent;
16
18
  --kbq-scrollbar-track-default-background: transparent;
17
19
  --kbq-scrollbar-track-hover-border: transparent;
@@ -21,10 +23,10 @@
21
23
  }
22
24
 
23
25
  :where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
24
- --kbq-scrollbar-thumb-default-background: hsla(229, 15%, 45%, 100%);
25
- --kbq-scrollbar-thumb-hover-background: hsla(229, 15%, 50%, 100%);
26
- --kbq-scrollbar-thumb-active-background: hsla(229, 15%, 40%, 100%);
27
- --kbq-scrollbar-thumb-disabled-background: hsla(229, 15%, 30%, 100%);
26
+ --kbq-scrollbar-thumb-default-background: var(--kbq-icon-contrast-fade);
27
+ --kbq-scrollbar-thumb-hover-background: var(--kbq-states-icon-contrast-fade-hover);
28
+ --kbq-scrollbar-thumb-active-background: var(--kbq-states-icon-contrast-fade-active);
29
+ --kbq-scrollbar-thumb-disabled-background: var(--kbq-states-icon-disabled);
28
30
  --kbq-scrollbar-track-default-border: transparent;
29
31
  --kbq-scrollbar-track-default-background: transparent;
30
32
  --kbq-scrollbar-track-hover-border: transparent;
@@ -4,6 +4,7 @@
4
4
 
5
5
  @use '../common/tokens' as *;
6
6
 
7
+ // TODO: REMOVE
7
8
  @function kbq-typography-config($tokens) {
8
9
  $font-family: map.get($tokens, font-family-base);
9
10
  $typography: map.get(map.get($tokens, koobiq), typography);