@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
@@ -12,5 +12,5 @@ export declare class KbqOptgroup extends KbqOptgroupMixinBase implements CanDisa
12
12
  /** Unique id for the underlying label. */
13
13
  labelId: string;
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqOptgroup, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<KbqOptgroup, "kbq-optgroup", ["mcOptgroup"], { "disabled": { "alias": "disabled"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, {}, never, ["kbq-option, kbq-list-option, kbq-timezone-option, ng-container"], false, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<KbqOptgroup, "kbq-optgroup", ["kbqOptgroup"], { "disabled": { "alias": "disabled"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, {}, never, ["kbq-option, kbq-list-option, kbq-timezone-option, ng-container"], false, never>;
16
16
  }
@@ -4,10 +4,10 @@ import { KbqTitleTextRef } from '../title';
4
4
  import { KbqOptgroup } from './optgroup';
5
5
  import * as i0 from "@angular/core";
6
6
  /** Event object emitted by KbqOption when selected or deselected. */
7
- export declare class KbqOptionSelectionChange {
8
- source: KbqOption;
7
+ export declare class KbqOptionSelectionChange<T = KbqOption> {
8
+ source: T;
9
9
  isUserInput: boolean;
10
- constructor(source: KbqOption, isUserInput?: boolean);
10
+ constructor(source: T, isUserInput?: boolean);
11
11
  }
12
12
  /**
13
13
  * Describes a parent component that manages a list of options.
@@ -17,14 +17,45 @@ export declare class KbqOptionSelectionChange {
17
17
  export interface KbqOptionParentComponent {
18
18
  multiple?: boolean;
19
19
  }
20
+ /**
21
+ * Handler that will update scroll position of elements inside overlay
22
+ */
23
+ export interface KeyboardNavigationHandler {
24
+ /** Scrolls the active option into view. */
25
+ scrollActiveOptionIntoView(): void;
26
+ }
20
27
  /**
21
28
  * Injection token used to provide the parent component to options.
22
29
  */
23
30
  export declare const KBQ_OPTION_PARENT_COMPONENT: InjectionToken<KbqOptionParentComponent>;
31
+ export declare abstract class KbqOptionBase {
32
+ value: any;
33
+ abstract get viewValue(): string;
34
+ abstract get disabled(): boolean;
35
+ abstract set disabled(value: any);
36
+ abstract readonly onSelectionChange: EventEmitter<KbqOptionSelectionChange<any>>;
37
+ abstract select(): void;
38
+ abstract deselect(): void;
39
+ /** Emits the selection change event. */
40
+ protected emitSelectionChangeEvent(isUserInput?: boolean): void;
41
+ }
42
+ export declare class KbqVirtualOption extends KbqOptionBase {
43
+ value: any;
44
+ private _disabled;
45
+ get disabled(): any;
46
+ set disabled(value: any);
47
+ get selected(): boolean;
48
+ private _selected;
49
+ get viewValue(): string;
50
+ readonly onSelectionChange: EventEmitter<KbqOptionSelectionChange<KbqVirtualOption>>;
51
+ constructor(value: any, _disabled?: boolean);
52
+ select(): void;
53
+ deselect(): void;
54
+ }
24
55
  /**
25
56
  * Single option inside of a `<kbq-select>` element.
26
57
  */
27
- export declare class KbqOption implements AfterViewChecked, OnDestroy, KbqTitleTextRef {
58
+ export declare class KbqOption extends KbqOptionBase implements AfterViewChecked, OnDestroy, KbqTitleTextRef {
28
59
  private readonly element;
29
60
  private readonly changeDetectorRef;
30
61
  private readonly parent;
@@ -36,7 +67,7 @@ export declare class KbqOption implements AfterViewChecked, OnDestroy, KbqTitleT
36
67
  set showCheckbox(value: boolean | undefined);
37
68
  private _showCheckbox;
38
69
  /** Event emitted when the option is selected or deselected. */
39
- readonly onSelectionChange: EventEmitter<KbqOptionSelectionChange>;
70
+ readonly onSelectionChange: EventEmitter<KbqOptionSelectionChange<KbqOption>>;
40
71
  /** Emits when the state of the option changes and any parents have to be notified. */
41
72
  readonly stateChanges: Subject<void>;
42
73
  /**
@@ -92,10 +123,8 @@ export declare class KbqOption implements AfterViewChecked, OnDestroy, KbqTitleT
92
123
  selectViaInteraction(): void;
93
124
  getTabIndex(): string;
94
125
  getHostElement(): HTMLElement;
95
- /** Emits the selection change event. */
96
- private emitSelectionChangeEvent;
97
126
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqOption, [null, null, { optional: true; }, { optional: true; }]>;
98
- static ɵcmp: i0.ɵɵComponentDeclaration<KbqOption, "kbq-option", ["mcOption"], { "value": { "alias": "value"; "required": false; }; "showCheckbox": { "alias": "showCheckbox"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "onSelectionChange": "onSelectionChange"; }, never, ["*"], false, never>;
127
+ static ɵcmp: i0.ɵɵComponentDeclaration<KbqOption, "kbq-option", ["kbqOption"], { "value": { "alias": "value"; "required": false; }; "showCheckbox": { "alias": "showCheckbox"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "onSelectionChange": "onSelectionChange"; }, never, ["*"], false, never>;
99
128
  }
100
129
  /**
101
130
  * Counts the amount of option group labels that precede the specified option.
@@ -1,62 +1,17 @@
1
1
  @use 'sass:meta';
2
2
  @use 'sass:map';
3
3
 
4
- @use '../styles/tokens';
4
+ @use '../styles/common';
5
5
 
6
6
 
7
- $tokens: meta.module-variables(tokens) !default;
8
-
9
7
  .kbq-option {
10
- display: flex;
11
- flex-direction: row;
12
- align-items: center;
13
-
14
- box-sizing: border-box;
15
-
16
- position: relative;
17
-
18
- max-width: 100%;
19
-
20
- height: var(--kbq-option-size-height, map.get($tokens, option-size-height));
21
-
22
- border: var(--kbq-option-size-border-width, map.get($tokens, option-size-border-width)) solid transparent;
23
-
24
- cursor: pointer;
25
-
26
- outline: none;
27
-
28
- padding-left: var(--kbq-option-size-horizontal-padding, map.get($tokens, option-size-horizontal-padding));
29
- padding-right: var(--kbq-option-size-horizontal-padding, map.get($tokens, option-size-horizontal-padding));
8
+ @include common.kbq-list-item-base();
30
9
 
31
- -webkit-tap-highlight-color: transparent;
32
-
33
- &.kbq-disabled {
34
- cursor: default;
35
- }
36
-
37
- & .kbq-pseudo-checkbox {
38
- margin-right: 8px;
39
- }
40
-
41
- & .kbq-option-overlay {
42
- position: absolute;
43
-
44
- top: calc(-1 * var(--kbq-option-size-border-width, #{map.get($tokens, option-size-border-width)}));
45
- left: calc(-1 * var(--kbq-option-size-border-width, #{map.get($tokens, option-size-border-width)}));
46
- right: calc(-1 * var(--kbq-option-size-border-width, #{map.get($tokens, option-size-border-width)}));
47
- bottom: calc(-1 * var(--kbq-option-size-border-width, #{map.get($tokens, option-size-border-width)}));
48
-
49
- pointer-events: none;
50
- border-radius: inherit;
10
+ &:not(.kbq-disabled) {
11
+ cursor: pointer;
51
12
  }
52
13
  }
53
14
 
54
15
  .kbq-option-text {
55
- display: inline-block;
56
- flex-grow: 1;
57
-
58
- overflow: hidden;
59
-
60
- white-space: nowrap;
61
- text-overflow: ellipsis;
16
+ @include common.kbq-list-text();
62
17
  }
@@ -1,4 +1,5 @@
1
- import { ConnectionPositionPair } from '@angular/cdk/overlay';
1
+ import { ConnectionPositionPair, Overlay, ScrollStrategy } from '@angular/cdk/overlay';
2
+ import { InjectionToken } from '@angular/core';
2
3
  export declare const POSITION_MAP: {
3
4
  [key: string]: ConnectionPositionPair;
4
5
  };
@@ -32,3 +33,8 @@ export declare const POSITION_PRIORITY_STRATEGY: {
32
33
  export declare const POSITION_TO_CSS_MAP: {
33
34
  [key: string]: string;
34
35
  };
36
+ export declare const KBQ_CUSTOM_SCROLL_STRATEGY_PROVIDER: <T>(token: InjectionToken<T>, factory: (overlay: Overlay) => () => ScrollStrategy) => {
37
+ provide: InjectionToken<T>;
38
+ deps: (typeof Overlay)[];
39
+ useFactory: (overlay: Overlay) => () => ScrollStrategy;
40
+ };
@@ -20,7 +20,8 @@ export declare enum PopUpVisibility {
20
20
  export declare enum PopUpTriggers {
21
21
  Click = "click",
22
22
  Focus = "focus",
23
- Hover = "hover"
23
+ Hover = "hover",
24
+ Keydown = "keydown"
24
25
  }
25
26
  export declare enum PopUpSizes {
26
27
  Small = "small",
@@ -16,6 +16,7 @@ export * from './selection/index';
16
16
  export * from './locales/index';
17
17
  export * from './title/index';
18
18
  export * from './services/measure-scrollbar.service';
19
+ export * from './services/theme.service';
19
20
  export * from './utils/index';
20
21
  export * from './validation/index';
21
22
  export * from './version';
@@ -14,10 +14,10 @@ export declare const SELECT_PANEL_VIEWPORT_PADDING = 8;
14
14
  /** Injection token that determines the scroll handling while a select is open. */
15
15
  export declare const KBQ_SELECT_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;
16
16
  /** @docs-private */
17
- export declare function mcSelectScrollStrategyProviderFactory(overlay: Overlay): () => RepositionScrollStrategy;
17
+ export declare function kbqSelectScrollStrategyProviderFactory(overlay: Overlay): () => RepositionScrollStrategy;
18
18
  /** @docs-private */
19
19
  export declare const KBQ_SELECT_SCROLL_STRATEGY_PROVIDER: {
20
20
  provide: InjectionToken<() => ScrollStrategy>;
21
21
  deps: (typeof Overlay)[];
22
- useFactory: typeof mcSelectScrollStrategyProviderFactory;
22
+ useFactory: typeof kbqSelectScrollStrategyProviderFactory;
23
23
  };
@@ -0,0 +1,23 @@
1
+ import { Renderer2, RendererFactory2 } from '@angular/core';
2
+ import { BehaviorSubject, Subscription } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export interface KbqTheme {
5
+ name: string;
6
+ className: string;
7
+ selected: boolean;
8
+ }
9
+ export declare const KbqDefaultThemes: KbqTheme[];
10
+ export declare class ThemeService<T extends KbqTheme | null = KbqTheme> {
11
+ private rendererFactory;
12
+ current: BehaviorSubject<T>;
13
+ themes: T[];
14
+ protected renderer: Renderer2;
15
+ protected subscription: Subscription;
16
+ constructor(rendererFactory: RendererFactory2);
17
+ setThemes(items: T[]): void;
18
+ setTheme(value: T | number): void;
19
+ getTheme(): T;
20
+ protected update: ([prev, current]: T[]) => void;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<ThemeService<any>, never>;
22
+ static ɵprov: i0.ɵɵInjectableDeclaration<ThemeService<any>>;
23
+ }
@@ -3,22 +3,26 @@
3
3
  @use 'theming/theming' as *;
4
4
  @use 'typography/typography' as *;
5
5
 
6
- @use 'theming/badges-theme' as *;
7
6
  @use 'theming/scrollbars-theme' as *;
8
7
 
9
8
  @use '../selection/pseudo-checkbox/pseudo-checkbox-theme' as *;
10
9
  @use '../../alert/alert-theme' as *;
11
10
  @use '../../autocomplete/autocomplete-theme' as *;
11
+ @use '../../badge/badge-theme' as *;
12
12
  @use '../../button/button-theme' as *;
13
+ @use '../../button-toggle/button-toggle-theme' as *;
13
14
  @use '../../card/card-theme' as *;
14
15
  @use '../../checkbox/checkbox-theme' as *;
15
16
  @use '../../code-block/code-block-theme' as *;
16
17
  @use '../../datepicker/datepicker-theme' as *;
17
18
  @use '../../divider/divider-theme' as *;
18
19
  @use '../../dropdown/dropdown-theme' as *;
20
+ @use '../../file-upload/file-upload-theme' as *;
19
21
  @use '../../form-field/form-field-theme' as *;
20
22
  @use '../../form-field/hint-theme' as *;
21
23
  @use '../../icon/icon-theme' as *;
24
+ @use '../../icon/icon-item-theme' as *;
25
+ @use '../../icon/icon-button-theme' as *;
22
26
  @use '../../input/input-theme' as *;
23
27
  @use '../../link/link-theme' as *;
24
28
  @use '../../list/list-theme' as *;
@@ -30,6 +34,7 @@
30
34
  @use '../../progress-bar/progress-bar-theme' as *;
31
35
  @use '../../progress-spinner/progress-spinner-theme' as *;
32
36
  @use '../../radio/radio-theme' as *;
37
+ @use '../../risk-level/risk-level-theme' as *;
33
38
  @use '../../select/select-theme' as *;
34
39
  @use '../../sidepanel/sidepanel-theme' as *;
35
40
  @use '../../splitter/splitter-theme' as *;
@@ -58,6 +63,7 @@
58
63
  @include kbq-autocomplete-theme($theme);
59
64
  @include kbq-badge-theme($theme);
60
65
  @include kbq-button-theme($theme);
66
+ @include kbq-button-toggle-theme($theme);
61
67
  @include kbq-card-theme($theme);
62
68
  @include kbq-checkbox-theme($theme);
63
69
  @include kbq-code-block-theme($theme);
@@ -66,6 +72,7 @@
66
72
  @include kbq-divider-theme($theme);
67
73
  @include kbq-dropdown-theme($theme);
68
74
  @include kbq-form-field-theme($theme);
75
+ @include kbq-file-upload-theme($theme);
69
76
  @include kbq-hint-theme($theme);
70
77
  @include kbq-forms-theme($theme);
71
78
  @include kbq-highlight-theme($theme);
@@ -86,6 +93,7 @@
86
93
  @include kbq-progress-spinner-theme($theme);
87
94
  @include kbq-pseudo-checkbox-theme($theme);
88
95
  @include kbq-radio-theme($theme);
96
+ @include kbq-risk-level-theme($theme);
89
97
  @include kbq-scrollbar-theme($theme);
90
98
  @include kbq-select-theme($theme);
91
99
  @include kbq-sidepanel-theme($theme);
@@ -116,6 +124,7 @@
116
124
  @include kbq-alert-typography($config);
117
125
  @include kbq-badge-typography($config);
118
126
  @include kbq-button-typography($config);
127
+ @include kbq-button-toggle-typography($config);
119
128
  @include kbq-checkbox-typography($config);
120
129
  @include kbq-code-block-typography($config);
121
130
  @include kbq-datepicker-typography($config);
@@ -123,6 +132,7 @@
123
132
  @include kbq-dl-typography($config);
124
133
  @include kbq-form-field-typography($config);
125
134
  @include kbq-hint-typography($config);
135
+ @include kbq-file-upload-typography($config);
126
136
  @include kbq-forms-typography($config);
127
137
  @include kbq-input-typography($config);
128
138
  @include kbq-link-typography($config);
@@ -136,6 +146,7 @@
136
146
  @include kbq-progress-bar-typography($config);
137
147
  @include kbq-progress-spinner-typography($config);
138
148
  @include kbq-radio-typography($config);
149
+ @include kbq-risk-level-typography($config);
139
150
  @include kbq-select-typography($config);
140
151
  @include kbq-sidepanel-typography($config);
141
152
  @include kbq-tabs-typography($config);
@@ -1,4 +1,4 @@
1
- @import '../../../../node_modules/@koobiq/tokens-koobiq/web/variables';
2
- @import '../../../../node_modules/@koobiq/tokens-koobiq/web/palette';
3
- @import '../../../../node_modules/@koobiq/tokens-koobiq/web/typography';
4
- @import '../../../../node_modules/@koobiq/tokens-koobiq/web/md-typography';
1
+ @import '../../../../node_modules/@koobiq/design-tokens/web/variables';
2
+ @import '../../../../node_modules/@koobiq/design-tokens/web/palette';
3
+ @import '../../../../node_modules/@koobiq/design-tokens/web/typography';
4
+ @import '../../../../node_modules/@koobiq/design-tokens/web/md-typography';
@@ -1,6 +1,6 @@
1
1
  @use 'sass:color' as *;
2
2
 
3
- @forward '@koobiq/tokens-koobiq/web/variables';
4
- @forward '@koobiq/tokens-koobiq/web/palette';
5
- @forward '@koobiq/tokens-koobiq/web/typography';
6
- @forward '@koobiq/tokens-koobiq/web/md-typography';
3
+ @forward '@koobiq/design-tokens/web/variables';
4
+ @forward '@koobiq/design-tokens/web/palette';
5
+ @forward '@koobiq/design-tokens/web/typography';
6
+ @forward '@koobiq/design-tokens/web/md-typography';
@@ -7,3 +7,4 @@ $z-index-picker: 1050;
7
7
  $z-index-dropdown: 1050;
8
8
  $z-index-tooltip: 1060;
9
9
  $z-index-toast: 1070;
10
+ $z-index-loader-overlay: 1000;
@@ -21,15 +21,19 @@
21
21
  bottom: 0;
22
22
  left: 0;
23
23
 
24
- $lighter: transparent;
25
- $darker: rgba(0, 0, 0, 0.05);
24
+ $lighter: rgba(255, 255, 255, 0.04);
25
+ $darker: rgba(0, 0, 0, 0.04);
26
+
26
27
  background: linear-gradient(
27
28
  135deg,
28
- $darker 10px, $lighter 10px,
29
- $lighter 20px, $darker 20px,
30
- $darker 30px, $lighter 30px
29
+ $darker 10px,
30
+ $lighter 10px,
31
+ $lighter 20px,
32
+ $darker 20px,
33
+ $darker 30px,
34
+ $lighter 31px
31
35
  ) repeat;
32
- background-size: 29px 29px;
36
+ background-size: 32px 32px;
33
37
  animation: kbq-progress 1s linear infinite;
34
38
  }
35
39
  }
@@ -1,3 +1,9 @@
1
+ @use 'sass:meta';
2
+ @use 'sass:map';
3
+
4
+ @use '../tokens';
5
+
6
+
1
7
  // This mixin will ensure that lines that overflow the container will hide the overflow and
2
8
  // truncate neatly with an ellipsis.
3
9
  @mixin kbq-truncate-line() {
@@ -41,6 +47,123 @@
41
47
  user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
42
48
  }
43
49
 
50
+ @mixin kbq-list-text() {
51
+ $tokens: meta.module-variables(tokens) !default;
52
+
53
+ @include kbq-line-wrapper-base();
54
+ display: inline-block;
55
+
56
+ @include kbq-truncate-line();
57
+
58
+ padding-top: var(--kbq-list-size-text-padding-vertical, map.get($tokens, list-size-text-padding-vertical));
59
+ padding-bottom: var(--kbq-list-size-text-padding-vertical, map.get($tokens, list-size-text-padding-vertical));
60
+ }
61
+
62
+ // This mixin provides all list-item styles, changing font size and height based on whether the list is in dense mode.
63
+ @mixin kbq-list-item-base() {
64
+ $tokens: meta.module-variables(tokens) !default;
65
+
66
+ $outline-width: map.get($tokens, list-size-container-focus-outline-width);
67
+
68
+ $padding-vertical: map.get($tokens, list-size-container-padding-vertical);
69
+ $padding-left: map.get($tokens, list-size-container-padding-left);
70
+ $padding-right: map.get($tokens, list-size-container-padding-right);
71
+
72
+ position: relative;
73
+
74
+ display: flex;
75
+ flex-direction: row;
76
+ align-items: center;
77
+
78
+ box-sizing: border-box;
79
+
80
+ outline: none;
81
+ -webkit-tap-highlight-color: transparent;
82
+
83
+ min-height: 32px;
84
+
85
+ gap: var(
86
+ --kbq-list-size-container-content-gap-horizontal, map.get($tokens, list-size-container-content-gap-horizontal)
87
+ );
88
+
89
+ border-width: var(--kbq-list-size-container-focus-outline-width, $outline-width);
90
+ border-style: solid;
91
+ border-color: transparent;
92
+
93
+ padding:
94
+ calc(
95
+ var(--kbq-list-size-container-padding-vertical, $padding-vertical) -
96
+ var(--kbq-list-size-container-focus-outline-width, $outline-width)
97
+ )
98
+ calc(
99
+ var(--kbq-list-size-container-padding-right, $padding-right) -
100
+ var(--kbq-list-size-container-focus-outline-width, $outline-width)
101
+ )
102
+ calc(
103
+ var(--kbq-list-size-container-padding-vertical, $padding-vertical) -
104
+ var(--kbq-list-size-container-focus-outline-width, $outline-width)
105
+ )
106
+ calc(
107
+ var(--kbq-list-size-container-padding-left, $padding-left) -
108
+ var(--kbq-list-size-container-focus-outline-width, $outline-width)
109
+ );
110
+
111
+ .kbq-list-text {
112
+ @include kbq-list-text();
113
+ }
114
+
115
+ .kbq-list-option-caption {
116
+ padding-top: var(
117
+ --kbq-list-size-container-content-gap-vertical,
118
+ map.get($tokens, list-size-container-content-gap-vertical)
119
+ );
120
+ }
121
+ }
122
+
123
+ @mixin kbq-list-header-base() {
124
+ $tokens: meta.module-variables(tokens) !default;
125
+
126
+ display: flex;
127
+ flex-direction: row;
128
+ align-items: center;
129
+
130
+ box-sizing: border-box;
131
+
132
+ min-height: 32px;
133
+
134
+ padding:
135
+ var(--kbq-list-size-header-padding-top, map.get($tokens, list-size-header-padding-top))
136
+ var(--kbq-list-size-header-padding-horizontal, map.get($tokens, list-size-header-padding-horizontal))
137
+ var(--kbq-list-size-header-padding-bottom, map.get($tokens, list-size-header-padding-bottom))
138
+ var(--kbq-list-size-header-padding-horizontal, map.get($tokens, list-size-header-padding-horizontal));
139
+
140
+ .kbq-list-text {
141
+ @include kbq-list-text();
142
+ }
143
+ }
144
+
145
+ @mixin kbq-list-subheading-base() {
146
+ $tokens: meta.module-variables(tokens) !default;
147
+
148
+ display: flex;
149
+ flex-direction: row;
150
+ align-items: center;
151
+
152
+ box-sizing: border-box;
153
+
154
+ min-height: 32px;
155
+
156
+ padding:
157
+ var(--kbq-list-size-subheading-padding-top, map.get($tokens, list-size-subheading-padding-top))
158
+ var(--kbq-list-size-subheading-padding-horizontal, map.get($tokens, list-size-subheading-padding-horizontal))
159
+ var(--kbq-list-size-subheading-padding-bottom, map.get($tokens, list-size-subheading-padding-bottom))
160
+ var(--kbq-list-size-subheading-padding-horizontal, map.get($tokens, list-size-subheading-padding-horizontal));
161
+
162
+ .kbq-list-text {
163
+ @include kbq-list-text();
164
+ }
165
+ }
166
+
44
167
  .kbq-no-select {
45
168
  @include kbq-no-select;
46
169
  }
@@ -6,7 +6,7 @@ $overlay-z-index: 1000 !default;
6
6
  $overlay-backdrop-z-index: 1000 !default;
7
7
 
8
8
  // Background color for all of the backdrops
9
- $overlay-backdrop-color: rgba(0, 0, 0, 0.32) !default;
9
+ $overlay-backdrop-color: rgba(0, 0, 0, 0.50) !default;
10
10
 
11
11
  // Default backdrop animation is based on the Material Design swift-ease-out.
12
12
  $backdrop-animation-duration: 400ms !default;