@koobiq/components 17.4.0 → 17.6.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 (255) hide show
  1. package/alert/_alert-theme.scss +16 -20
  2. package/alert/alert-tokens.scss +132 -0
  3. package/alert/alert.component.scss +5 -0
  4. package/autocomplete/_autocomplete-theme.scss +3 -5
  5. package/autocomplete/autocomplete-tokens.scss +16 -0
  6. package/autocomplete/autocomplete.scss +4 -0
  7. package/badge/_badge-theme.scss +22 -25
  8. package/badge/badge-tokens.scss +185 -0
  9. package/badge/badge.component.scss +5 -0
  10. package/button/_button-theme.scss +20 -29
  11. package/button/button-tokens.scss +278 -0
  12. package/button/button.scss +5 -0
  13. package/button-toggle/_button-toggle-theme.scss +16 -28
  14. package/button-toggle/button-toggle-tokens.scss +78 -0
  15. package/button-toggle/button-toggle.scss +7 -2
  16. package/checkbox/_checkbox-theme.scss +27 -58
  17. package/checkbox/checkbox-tokens.scss +140 -0
  18. package/checkbox/checkbox.scss +6 -4
  19. package/code-block/_code-block-theme.scss +124 -143
  20. package/code-block/code-block-tokens.scss +400 -0
  21. package/code-block/code-block.scss +4 -2
  22. package/core/highlight/_highlight-theme.scss +1 -1
  23. package/core/pop-up/pop-up-styles.d.ts +2 -2
  24. package/core/pop-up/pop-up-trigger.d.ts +8 -9
  25. package/core/pop-up/pop-up.d.ts +3 -3
  26. package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +12 -15
  27. package/core/selection/pseudo-checkbox/pseudo-checkbox-tokens.scss +140 -0
  28. package/core/selection/pseudo-checkbox/pseudo-checkbox.scss +3 -2
  29. package/core/services/theme.service.d.ts +16 -0
  30. package/core/styles/_koobiq-theme.scss +6 -100
  31. package/datepicker/_datepicker-theme.scss +17 -43
  32. package/datepicker/calendar.scss +0 -3
  33. package/datepicker/datepicker-content.scss +5 -6
  34. package/datepicker/datepicker-tokens.scss +59 -0
  35. package/divider/_divider-theme.scss +2 -4
  36. package/divider/divider-tokens.scss +14 -0
  37. package/divider/divider.scss +4 -0
  38. package/dl/_dl-theme.scss +4 -6
  39. package/dl/dl-tokens.scss +32 -0
  40. package/dl/dl.scss +5 -0
  41. package/dropdown/_dropdown-theme.scss +15 -24
  42. package/dropdown/dropdown-tokens.scss +111 -0
  43. package/dropdown/dropdown.scss +5 -0
  44. package/ellipsis-center/ellipsis-center.directive.d.ts +2 -6
  45. package/empty-state/_empty-state-theme.scss +6 -9
  46. package/empty-state/empty-state-tokens.scss +68 -0
  47. package/empty-state/empty-state.scss +5 -0
  48. package/esm2022/alert/alert.component.mjs +3 -3
  49. package/esm2022/autocomplete/autocomplete.component.mjs +3 -3
  50. package/esm2022/badge/badge.component.mjs +3 -3
  51. package/esm2022/button/button.component.mjs +3 -3
  52. package/esm2022/button-toggle/button-toggle.component.mjs +3 -3
  53. package/esm2022/checkbox/checkbox.mjs +3 -3
  54. package/esm2022/code-block/code-block.component.mjs +3 -3
  55. package/esm2022/core/common-behaviors/common-module.mjs +2 -2
  56. package/esm2022/core/pop-up/pop-up-styles.mjs +7 -9
  57. package/esm2022/core/pop-up/pop-up-trigger.mjs +13 -16
  58. package/esm2022/core/pop-up/pop-up.mjs +7 -6
  59. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +3 -3
  60. package/esm2022/core/services/theme.service.mjs +20 -3
  61. package/esm2022/core/version.mjs +2 -2
  62. package/esm2022/datepicker/datepicker.component.mjs +3 -3
  63. package/esm2022/divider/divider.component.mjs +3 -3
  64. package/esm2022/dl/dl.component.mjs +3 -3
  65. package/esm2022/dropdown/dropdown.component.mjs +3 -3
  66. package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +12 -23
  67. package/esm2022/empty-state/empty-state.component.mjs +3 -3
  68. package/esm2022/file-upload/multiple-file-upload.component.mjs +3 -3
  69. package/esm2022/file-upload/single-file-upload.component.mjs +3 -3
  70. package/esm2022/form-field/form-field.mjs +3 -3
  71. package/esm2022/form-field/hint.mjs +3 -3
  72. package/esm2022/form-field/password-hint.mjs +10 -7
  73. package/esm2022/form-field/password-toggle.mjs +10 -21
  74. package/esm2022/icon/icon-button.component.mjs +3 -3
  75. package/esm2022/icon/icon-item.component.mjs +3 -3
  76. package/esm2022/icon/icon.component.mjs +3 -3
  77. package/esm2022/list/list-selection.component.mjs +3 -3
  78. package/esm2022/list/list.component.mjs +3 -3
  79. package/esm2022/loader-overlay/loader-overlay.component.mjs +3 -3
  80. package/esm2022/markdown/markdown.component.mjs +3 -3
  81. package/esm2022/modal/modal-ref.class.mjs +1 -1
  82. package/esm2022/modal/modal.component.mjs +3 -3
  83. package/esm2022/modal/modal.service.mjs +16 -8
  84. package/esm2022/modal/modal.type.mjs +1 -1
  85. package/esm2022/navbar/navbar-item.component.mjs +17 -31
  86. package/esm2022/navbar/navbar.component.mjs +3 -3
  87. package/esm2022/popover/popover-confirm.component.mjs +13 -22
  88. package/esm2022/popover/popover.component.mjs +24 -31
  89. package/esm2022/select/select-option.directive.mjs +7 -18
  90. package/esm2022/table/table.component.mjs +3 -3
  91. package/esm2022/timezone/timezone-option.component.mjs +3 -3
  92. package/esm2022/timezone/timezone-option.directive.mjs +7 -18
  93. package/esm2022/timezone/timezone-select.component.mjs +3 -3
  94. package/esm2022/title/title.directive.mjs +7 -18
  95. package/esm2022/toast/toast.component.mjs +3 -3
  96. package/esm2022/toggle/toggle.component.mjs +3 -3
  97. package/esm2022/tooltip/tooltip.component.mjs +28 -47
  98. package/esm2022/tree/toggle.mjs +3 -3
  99. package/esm2022/tree/tree-option.component.mjs +3 -3
  100. package/esm2022/tree/tree-selection.component.mjs +3 -3
  101. package/esm2022/tree/tree.mjs +3 -3
  102. package/esm2022/tree-select/tree-select.component.mjs +3 -3
  103. package/fesm2022/koobiq-components-alert.mjs +2 -2
  104. package/fesm2022/koobiq-components-alert.mjs.map +1 -1
  105. package/fesm2022/koobiq-components-autocomplete.mjs +2 -2
  106. package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
  107. package/fesm2022/koobiq-components-badge.mjs +2 -2
  108. package/fesm2022/koobiq-components-badge.mjs.map +1 -1
  109. package/fesm2022/koobiq-components-button-toggle.mjs +2 -2
  110. package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
  111. package/fesm2022/koobiq-components-button.mjs +2 -2
  112. package/fesm2022/koobiq-components-button.mjs.map +1 -1
  113. package/fesm2022/koobiq-components-checkbox.mjs +2 -2
  114. package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
  115. package/fesm2022/koobiq-components-code-block.mjs +2 -2
  116. package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
  117. package/fesm2022/koobiq-components-core.mjs +49 -35
  118. package/fesm2022/koobiq-components-core.mjs.map +1 -1
  119. package/fesm2022/koobiq-components-datepicker.mjs +2 -2
  120. package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
  121. package/fesm2022/koobiq-components-divider.mjs +2 -2
  122. package/fesm2022/koobiq-components-divider.mjs.map +1 -1
  123. package/fesm2022/koobiq-components-dl.mjs +2 -2
  124. package/fesm2022/koobiq-components-dl.mjs.map +1 -1
  125. package/fesm2022/koobiq-components-dropdown.mjs +2 -2
  126. package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
  127. package/fesm2022/koobiq-components-ellipsis-center.mjs +11 -19
  128. package/fesm2022/koobiq-components-ellipsis-center.mjs.map +1 -1
  129. package/fesm2022/koobiq-components-empty-state.mjs +2 -2
  130. package/fesm2022/koobiq-components-empty-state.mjs.map +1 -1
  131. package/fesm2022/koobiq-components-file-upload.mjs +4 -4
  132. package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
  133. package/fesm2022/koobiq-components-form-field.mjs +33 -37
  134. package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
  135. package/fesm2022/koobiq-components-icon.mjs +6 -6
  136. package/fesm2022/koobiq-components-icon.mjs.map +1 -1
  137. package/fesm2022/koobiq-components-list.mjs +4 -4
  138. package/fesm2022/koobiq-components-list.mjs.map +1 -1
  139. package/fesm2022/koobiq-components-loader-overlay.mjs +2 -2
  140. package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
  141. package/fesm2022/koobiq-components-markdown.mjs +2 -2
  142. package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
  143. package/fesm2022/koobiq-components-modal.mjs +17 -9
  144. package/fesm2022/koobiq-components-modal.mjs.map +1 -1
  145. package/fesm2022/koobiq-components-navbar.mjs +17 -29
  146. package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
  147. package/fesm2022/koobiq-components-popover.mjs +33 -44
  148. package/fesm2022/koobiq-components-popover.mjs.map +1 -1
  149. package/fesm2022/koobiq-components-select.mjs +14 -20
  150. package/fesm2022/koobiq-components-select.mjs.map +1 -1
  151. package/fesm2022/koobiq-components-table.mjs +2 -2
  152. package/fesm2022/koobiq-components-table.mjs.map +1 -1
  153. package/fesm2022/koobiq-components-timezone.mjs +13 -20
  154. package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
  155. package/fesm2022/koobiq-components-title.mjs +6 -14
  156. package/fesm2022/koobiq-components-title.mjs.map +1 -1
  157. package/fesm2022/koobiq-components-toast.mjs +2 -2
  158. package/fesm2022/koobiq-components-toast.mjs.map +1 -1
  159. package/fesm2022/koobiq-components-toggle.mjs +2 -2
  160. package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
  161. package/fesm2022/koobiq-components-tooltip.mjs +27 -44
  162. package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
  163. package/fesm2022/koobiq-components-tree-select.mjs +2 -2
  164. package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
  165. package/fesm2022/koobiq-components-tree.mjs +8 -8
  166. package/fesm2022/koobiq-components-tree.mjs.map +1 -1
  167. package/file-upload/_file-upload-theme.scss +29 -112
  168. package/file-upload/file-upload-tokens.scss +159 -0
  169. package/file-upload/file-upload.scss +4 -2
  170. package/form-field/_form-field-theme.scss +21 -47
  171. package/form-field/_hint-theme.scss +13 -17
  172. package/form-field/form-field-tokens.scss +69 -0
  173. package/form-field/form-field.scss +4 -2
  174. package/form-field/hint-tokens.scss +60 -0
  175. package/form-field/hint.scss +5 -0
  176. package/form-field/password-toggle.d.ts +3 -6
  177. package/icon/_icon-button-theme.scss +27 -65
  178. package/icon/_icon-item-theme.scss +14 -17
  179. package/icon/_icon-theme.scss +7 -12
  180. package/icon/icon-button-tokens.scss +67 -0
  181. package/icon/icon-button.scss +4 -0
  182. package/icon/icon-item-tokens.scss +52 -0
  183. package/icon/icon-item.scss +4 -0
  184. package/icon/icon-tokens.scss +17 -0
  185. package/icon/icon.scss +4 -0
  186. package/input/_input-theme.scss +1 -5
  187. package/input/input-tokens.scss +12 -0
  188. package/input/input.scss +4 -5
  189. package/link/_link-theme.scss +18 -26
  190. package/link/link-tokens.scss +67 -0
  191. package/list/_list-theme.scss +14 -25
  192. package/list/list-tokens.scss +100 -0
  193. package/list/list.scss +5 -0
  194. package/loader-overlay/_loader-overlay-theme.scss +8 -23
  195. package/loader-overlay/loader-overlay-tokens.scss +58 -0
  196. package/loader-overlay/loader-overlay.scss +4 -5
  197. package/markdown/_markdown-theme.scss +29 -43
  198. package/markdown/markdown-tokens.scss +252 -0
  199. package/markdown/markdown.scss +6 -6
  200. package/modal/_modal-confirm.scss +0 -3
  201. package/modal/_modal-theme.scss +10 -12
  202. package/modal/modal-ref.class.d.ts +2 -2
  203. package/modal/modal-tokens.scss +53 -0
  204. package/modal/modal.component.d.ts +2 -2
  205. package/modal/modal.scss +5 -0
  206. package/modal/modal.service.d.ts +12 -7
  207. package/modal/modal.type.d.ts +3 -0
  208. package/navbar/_navbar-theme.scss +15 -25
  209. package/navbar/navbar-divider.scss +0 -3
  210. package/navbar/navbar-item.component.d.ts +5 -7
  211. package/navbar/navbar-item.scss +0 -3
  212. package/navbar/navbar-tokens.scss +83 -0
  213. package/navbar/navbar.scss +5 -3
  214. package/navbar/vertical-navbar.scss +0 -3
  215. package/package.json +7 -7
  216. package/popover/_popover-theme.scss +9 -16
  217. package/popover/popover-confirm.component.d.ts +3 -6
  218. package/popover/popover-tokens.scss +60 -0
  219. package/popover/popover.component.d.ts +4 -6
  220. package/popover/popover.scss +4 -5
  221. package/prebuilt-themes/dark-theme.css +1 -1
  222. package/prebuilt-themes/light-theme.css +1 -1
  223. package/schematics/ng-add/index.js +4 -4
  224. package/select/select-option.directive.d.ts +3 -6
  225. package/table/_table-theme.scss +7 -15
  226. package/table/table-tokens.scss +37 -0
  227. package/table/table.scss +4 -1
  228. package/textarea/_textarea-theme.scss +1 -1
  229. package/textarea/textarea-tokens.scss +14 -0
  230. package/textarea/textarea.scss +1 -0
  231. package/timezone/_timezone-option-theme.scss +5 -7
  232. package/timezone/timezone-option-tokens.scss +51 -0
  233. package/timezone/timezone-option.component.scss +5 -0
  234. package/timezone/timezone-option.directive.d.ts +3 -6
  235. package/timezone/timezone-select.component.scss +5 -0
  236. package/title/title.directive.d.ts +3 -6
  237. package/toast/_toast-theme.scss +11 -15
  238. package/toast/toast-tokens.scss +75 -0
  239. package/toast/toast.component.scss +4 -1
  240. package/toggle/_toggle-theme.scss +21 -41
  241. package/toggle/toggle-tokens.scss +142 -0
  242. package/toggle/toggle.scss +4 -1
  243. package/tooltip/_tooltip-theme.scss +13 -23
  244. package/tooltip/tooltip-tokens.scss +63 -0
  245. package/tooltip/tooltip.component.d.ts +8 -11
  246. package/tooltip/tooltip.scss +5 -0
  247. package/tree/_tree-theme.scss +14 -21
  248. package/tree/toggle.scss +5 -0
  249. package/tree/tree-option.scss +0 -5
  250. package/tree/tree-selection.scss +5 -0
  251. package/tree/tree-tokens.scss +94 -0
  252. package/tree/tree.scss +5 -0
  253. package/tree-select/_tree-select-theme.scss +9 -16
  254. package/tree-select/tree-select-tokens.scss +59 -0
  255. package/tree-select/tree-select.scss +5 -0
@@ -0,0 +1,400 @@
1
+ .kbq-code-block {
2
+ --kbq-code-block-size-container-border-width: 1px;
3
+ --kbq-code-block-size-container-border-radius: 12px;
4
+ --kbq-code-block-size-with-header-content-padding-top: 4px;
5
+ --kbq-code-block-size-with-header-content-padding-bottom: 16px;
6
+ --kbq-code-block-size-with-header-content-padding-horizontal: 20px;
7
+ --kbq-code-block-size-with-header-content-content-gap-horizontal: 12px;
8
+ --kbq-code-block-size-no-header-content-padding-vertical: 14px;
9
+ --kbq-code-block-size-no-header-content-padding-horizontal: 20px;
10
+ --kbq-code-block-size-no-header-content-content-gap-horizontal: 12px;
11
+ --kbq-code-block-size-header-padding-vertical: 8px;
12
+ --kbq-code-block-size-header-padding-left: 12px;
13
+ --kbq-code-block-size-header-padding-right: 8px;
14
+ --kbq-code-block-size-header-content-gap-horizontal: 16px;
15
+ --kbq-code-block-size-actionbar-content-gap-horizontal: 2px;
16
+ --kbq-code-block-size-actionbar-padding-vertical: 8px;
17
+ --kbq-code-block-size-actionbar-padding-horizontal: 12px;
18
+ --kbq-code-block-size-actionbar-fade-gradient-width: 32px;
19
+ --kbq-code-block-size-collapse-expanded-padding-top: 0;
20
+ --kbq-code-block-size-collapse-expanded-padding-bottom: 16px;
21
+ --kbq-code-block-size-collapse-collapsed-padding-top: 32px;
22
+ --kbq-code-block-size-collapse-collapsed-padding-bottom: 16px;
23
+ --kbq-code-block-font-default-font-size: 14px;
24
+ --kbq-code-block-font-default-line-height: 20px;
25
+ --kbq-code-block-font-default-letter-spacing: normal;
26
+ --kbq-code-block-font-default-font-weight: normal;
27
+ --kbq-code-block-font-default-font-family: 'JetBrains Mono', 'Roboto Mono', 'Consolas', 'Menlo', 'Monaco', monospace;
28
+ --kbq-code-block-font-default-text-transform: null;
29
+ --kbq-code-block-font-default-font-feature-settings: initial;
30
+ --kbq-code-block-font-hljs-addition-font-style: null;
31
+ --kbq-code-block-font-hljs-addition-font-weight: null;
32
+ --kbq-code-block-font-hljs-attr-font-style: null;
33
+ --kbq-code-block-font-hljs-attr-font-weight: null;
34
+ --kbq-code-block-font-hljs-attribute-font-style: null;
35
+ --kbq-code-block-font-hljs-attribute-font-weight: null;
36
+ --kbq-code-block-font-hljs-built-in-font-style: null;
37
+ --kbq-code-block-font-hljs-built-in-font-weight: null;
38
+ --kbq-code-block-font-hljs-bullet-font-style: null;
39
+ --kbq-code-block-font-hljs-bullet-font-weight: null;
40
+ --kbq-code-block-font-hljs-char-escape-font-style: null;
41
+ --kbq-code-block-font-hljs-char-escape-font-weight: null;
42
+ --kbq-code-block-font-hljs-class-font-style: null;
43
+ --kbq-code-block-font-hljs-class-font-weight: null;
44
+ --kbq-code-block-font-hljs-code-font-style: null;
45
+ --kbq-code-block-font-hljs-code-font-weight: null;
46
+ --kbq-code-block-font-hljs-comment-font-style: null;
47
+ --kbq-code-block-font-hljs-comment-font-weight: null;
48
+ --kbq-code-block-font-hljs-deletion-font-style: null;
49
+ --kbq-code-block-font-hljs-deletion-font-weight: null;
50
+ --kbq-code-block-font-hljs-doctag-font-style: null;
51
+ --kbq-code-block-font-hljs-doctag-font-weight: null;
52
+ --kbq-code-block-font-hljs-emphasis-font-style: null;
53
+ --kbq-code-block-font-hljs-emphasis-font-weight: null;
54
+ --kbq-code-block-font-hljs-formula-font-style: null;
55
+ --kbq-code-block-font-hljs-formula-font-weight: null;
56
+ --kbq-code-block-font-hljs-function-font-style: null;
57
+ --kbq-code-block-font-hljs-function-font-weight: null;
58
+ --kbq-code-block-font-hljs-keyword-font-style: null;
59
+ --kbq-code-block-font-hljs-keyword-font-weight: null;
60
+ --kbq-code-block-font-hljs-link-font-style: null;
61
+ --kbq-code-block-font-hljs-link-font-weight: null;
62
+ --kbq-code-block-font-hljs-literal-font-style: null;
63
+ --kbq-code-block-font-hljs-literal-font-weight: null;
64
+ --kbq-code-block-font-hljs-meta-font-style: null;
65
+ --kbq-code-block-font-hljs-meta-font-weight: null;
66
+ --kbq-code-block-font-hljs-meta-keyword-font-style: null;
67
+ --kbq-code-block-font-hljs-meta-keyword-font-weight: null;
68
+ --kbq-code-block-font-hljs-meta-string-font-style: null;
69
+ --kbq-code-block-font-hljs-meta-string-font-weight: null;
70
+ --kbq-code-block-font-hljs-meta-prompt-font-style: null;
71
+ --kbq-code-block-font-hljs-meta-prompt-font-weight: null;
72
+ --kbq-code-block-font-hljs-name-font-style: null;
73
+ --kbq-code-block-font-hljs-name-font-weight: null;
74
+ --kbq-code-block-font-hljs-number-font-style: null;
75
+ --kbq-code-block-font-hljs-number-font-weight: null;
76
+ --kbq-code-block-font-hljs-operator-font-style: null;
77
+ --kbq-code-block-font-hljs-operator-font-weight: null;
78
+ --kbq-code-block-font-hljs-params-font-style: null;
79
+ --kbq-code-block-font-hljs-params-font-weight: null;
80
+ --kbq-code-block-font-hljs-property-font-style: null;
81
+ --kbq-code-block-font-hljs-property-font-weight: null;
82
+ --kbq-code-block-font-hljs-punctuation-font-style: null;
83
+ --kbq-code-block-font-hljs-punctuation-font-weight: null;
84
+ --kbq-code-block-font-hljs-quote-font-style: null;
85
+ --kbq-code-block-font-hljs-quote-font-weight: null;
86
+ --kbq-code-block-font-hljs-regexp-font-style: null;
87
+ --kbq-code-block-font-hljs-regexp-font-weight: null;
88
+ --kbq-code-block-font-hljs-section-font-style: null;
89
+ --kbq-code-block-font-hljs-section-font-weight: null;
90
+ --kbq-code-block-font-hljs-selector-attr-font-style: null;
91
+ --kbq-code-block-font-hljs-selector-attr-font-weight: null;
92
+ --kbq-code-block-font-hljs-selector-class-font-style: null;
93
+ --kbq-code-block-font-hljs-selector-class-font-weight: null;
94
+ --kbq-code-block-font-hljs-selector-id-font-style: null;
95
+ --kbq-code-block-font-hljs-selector-id-font-weight: null;
96
+ --kbq-code-block-font-hljs-selector-pseudo-font-style: null;
97
+ --kbq-code-block-font-hljs-selector-pseudo-font-weight: null;
98
+ --kbq-code-block-font-hljs-selector-tag-font-style: null;
99
+ --kbq-code-block-font-hljs-selector-tag-font-weight: null;
100
+ --kbq-code-block-font-hljs-string-font-style: null;
101
+ --kbq-code-block-font-hljs-string-font-weight: null;
102
+ --kbq-code-block-font-hljs-strong-font-style: null;
103
+ --kbq-code-block-font-hljs-strong-font-weight: null;
104
+ --kbq-code-block-font-hljs-subst-font-style: null;
105
+ --kbq-code-block-font-hljs-subst-font-weight: null;
106
+ --kbq-code-block-font-hljs-symbol-font-style: null;
107
+ --kbq-code-block-font-hljs-symbol-font-weight: null;
108
+ --kbq-code-block-font-hljs-tag-font-style: null;
109
+ --kbq-code-block-font-hljs-tag-font-weight: null;
110
+ --kbq-code-block-font-hljs-template-tag-font-style: null;
111
+ --kbq-code-block-font-hljs-template-tag-font-weight: null;
112
+ --kbq-code-block-font-hljs-template-variable-font-style: null;
113
+ --kbq-code-block-font-hljs-template-variable-font-weight: null;
114
+ --kbq-code-block-font-hljs-title-font-style: null;
115
+ --kbq-code-block-font-hljs-title-font-weight: null;
116
+ --kbq-code-block-font-hljs-title-class-font-style: normal;
117
+ --kbq-code-block-font-hljs-title-class-font-weight: 500;
118
+ --kbq-code-block-font-hljs-title-class-inherited-font-style: null;
119
+ --kbq-code-block-font-hljs-title-class-inherited-font-weight: null;
120
+ --kbq-code-block-font-hljs-title-function-font-style: null;
121
+ --kbq-code-block-font-hljs-title-function-font-weight: null;
122
+ --kbq-code-block-font-hljs-title-function-invoke-font-style: null;
123
+ --kbq-code-block-font-hljs-title-function-invoke-font-weight: null;
124
+ --kbq-code-block-font-hljs-type-font-style: null;
125
+ --kbq-code-block-font-hljs-type-font-weight: null;
126
+ --kbq-code-block-font-hljs-variable-font-style: null;
127
+ --kbq-code-block-font-hljs-variable-font-weight: null;
128
+ --kbq-code-block-font-hljs-variable-constant-font-style: null;
129
+ --kbq-code-block-font-hljs-variable-constant-font-weight: null;
130
+ --kbq-code-block-font-hljs-variable-language-font-style: null;
131
+ --kbq-code-block-font-hljs-variable-language-font-weight: null;
132
+ }
133
+
134
+ :where(.kbq-light, .theme-light, .kbq-theme-light) {
135
+ --kbq-states-focused-color: hsla(216, 100%, 50%, 100%);
136
+ --kbq-states-focused-color-error: hsla(7, 97%, 50%, 100%);
137
+ --kbq-code-block-filled-container-background: hsla(229, 15%, 95%, 100%);
138
+ --kbq-code-block-filled-container-border-color: transparent;
139
+ --kbq-code-block-filled-header-background: hsla(229, 15%, 95%, 100%);
140
+ --kbq-code-block-filled-header-shadow: 0px 1px 0px 0px hsla(229, 15%, 6%, 12%);
141
+ --kbq-code-block-filled-actionbar-fade-gradient: linear-gradient(90deg, transparent, hsla(229, 15%, 95%, 100%));
142
+ --kbq-code-block-filled-actionbar-background: hsla(229, 15%, 95%, 100%);
143
+ --kbq-code-block-filled-collapse-expanded-background: transparent;
144
+ --kbq-code-block-filled-collapse-collapsed-background: linear-gradient(
145
+ 180deg,
146
+ hsla(225, 15%, 95%, 0%) 0%,
147
+ hsla(225, 15%, 95%, 100%) 100%
148
+ );
149
+ --kbq-code-block-filled-collapse-button-expand-background: hsla(229, 15%, 95%, 100%);
150
+ --kbq-code-block-outline-container-background: hsla(229, 15%, 100%, 100%);
151
+ --kbq-code-block-outline-container-border-color: hsla(229, 15%, 6%, 12%);
152
+ --kbq-code-block-outline-header-background: hsla(229, 15%, 100%, 100%);
153
+ --kbq-code-block-outline-header-shadow: 0px 1px 0px 0px hsla(229, 15%, 6%, 12%);
154
+ --kbq-code-block-outline-actionbar-fade-gradient: linear-gradient(90deg, transparent, hsla(229, 15%, 100%, 100%));
155
+ --kbq-code-block-outline-actionbar-background: hsla(229, 15%, 100%, 100%);
156
+ --kbq-code-block-outline-collapse-expanded-background: transparent;
157
+ --kbq-code-block-outline-collapse-collapsed-background: linear-gradient(
158
+ 180deg,
159
+ hsla(0, 0%, 100%, 0%) 0%,
160
+ hsla(0, 0%, 100%, 100%) 100%
161
+ );
162
+ --kbq-code-block-outline-collapse-button-expand-background: hsla(229, 15%, 100%, 100%);
163
+ --kbq-code-block-hljs-addition-background: hsla(104, 64%, 95%, 100%);
164
+ --kbq-code-block-hljs-addition-color: hsla(104, 64%, 25%, 100%);
165
+ --kbq-code-block-hljs-attr-background: null;
166
+ --kbq-code-block-hljs-attr-color: null;
167
+ --kbq-code-block-hljs-attribute-background: null;
168
+ --kbq-code-block-hljs-attribute-color: null;
169
+ --kbq-code-block-hljs-built-in-background: null;
170
+ --kbq-code-block-hljs-built-in-color: null;
171
+ --kbq-code-block-hljs-bullet-background: null;
172
+ --kbq-code-block-hljs-bullet-color: null;
173
+ --kbq-code-block-hljs-char-escape-background: null;
174
+ --kbq-code-block-hljs-char-escape-color: null;
175
+ --kbq-code-block-hljs-class-background: null;
176
+ --kbq-code-block-hljs-class-color: null;
177
+ --kbq-code-block-hljs-code-background: null;
178
+ --kbq-code-block-hljs-code-color: null;
179
+ --kbq-code-block-hljs-comment-background: null;
180
+ --kbq-code-block-hljs-comment-color: hsla(229, 15%, 60%, 100%);
181
+ --kbq-code-block-hljs-deletion-background: hsla(7, 97%, 95%, 100%);
182
+ --kbq-code-block-hljs-deletion-color: hsla(7, 97%, 35%, 100%);
183
+ --kbq-code-block-hljs-doctag-background: null;
184
+ --kbq-code-block-hljs-doctag-color: null;
185
+ --kbq-code-block-hljs-emphasis-background: null;
186
+ --kbq-code-block-hljs-emphasis-color: null;
187
+ --kbq-code-block-hljs-formula-background: null;
188
+ --kbq-code-block-hljs-formula-color: null;
189
+ --kbq-code-block-hljs-function-background: null;
190
+ --kbq-code-block-hljs-function-color: null;
191
+ --kbq-code-block-hljs-keyword-background: null;
192
+ --kbq-code-block-hljs-keyword-color: null;
193
+ --kbq-code-block-hljs-line-numbers-color: hsla(229, 15%, 50%, 100%);
194
+ --kbq-code-block-hljs-link-background: null;
195
+ --kbq-code-block-hljs-link-color: null;
196
+ --kbq-code-block-hljs-literal-background: null;
197
+ --kbq-code-block-hljs-literal-color: hsla(277, 72%, 30%, 100%);
198
+ --kbq-code-block-hljs-meta-background: null;
199
+ --kbq-code-block-hljs-meta-color: hsla(216, 100%, 35%, 100%);
200
+ --kbq-code-block-hljs-meta-keyword-background: null;
201
+ --kbq-code-block-hljs-meta-keyword-color: null;
202
+ --kbq-code-block-hljs-meta-string-background: null;
203
+ --kbq-code-block-hljs-meta-string-color: hsla(216, 100%, 35%, 100%);
204
+ --kbq-code-block-hljs-meta-prompt-background: null;
205
+ --kbq-code-block-hljs-meta-prompt-color: null;
206
+ --kbq-code-block-hljs-name-background: null;
207
+ --kbq-code-block-hljs-name-color: hsla(216, 100%, 35%, 100%);
208
+ --kbq-code-block-hljs-number-background: null;
209
+ --kbq-code-block-hljs-number-color: hsla(277, 72%, 30%, 100%);
210
+ --kbq-code-block-hljs-operator-background: null;
211
+ --kbq-code-block-hljs-operator-color: null;
212
+ --kbq-code-block-hljs-params-background: null;
213
+ --kbq-code-block-hljs-params-color: null;
214
+ --kbq-code-block-hljs-property-background: null;
215
+ --kbq-code-block-hljs-property-color: null;
216
+ --kbq-code-block-hljs-punctuation-background: null;
217
+ --kbq-code-block-hljs-punctuation-color: null;
218
+ --kbq-code-block-hljs-quote-background: null;
219
+ --kbq-code-block-hljs-quote-color: null;
220
+ --kbq-code-block-hljs-regexp-background: null;
221
+ --kbq-code-block-hljs-regexp-color: hsla(104, 64%, 25%, 100%);
222
+ --kbq-code-block-hljs-section-background: null;
223
+ --kbq-code-block-hljs-section-color: null;
224
+ --kbq-code-block-hljs-selector-attr-background: null;
225
+ --kbq-code-block-hljs-selector-attr-color: null;
226
+ --kbq-code-block-hljs-selector-class-background: null;
227
+ --kbq-code-block-hljs-selector-class-color: null;
228
+ --kbq-code-block-hljs-selector-id-background: null;
229
+ --kbq-code-block-hljs-selector-id-color: null;
230
+ --kbq-code-block-hljs-selector-pseudo-background: null;
231
+ --kbq-code-block-hljs-selector-pseudo-color: null;
232
+ --kbq-code-block-hljs-selector-tag-background: null;
233
+ --kbq-code-block-hljs-selector-tag-color: hsla(216, 100%, 35%, 100%);
234
+ --kbq-code-block-hljs-string-background: null;
235
+ --kbq-code-block-hljs-string-color: hsla(104, 64%, 25%, 100%);
236
+ --kbq-code-block-hljs-strong-background: null;
237
+ --kbq-code-block-hljs-strong-color: null;
238
+ --kbq-code-block-hljs-subst-background: null;
239
+ --kbq-code-block-hljs-subst-color: null;
240
+ --kbq-code-block-hljs-symbol-background: null;
241
+ --kbq-code-block-hljs-symbol-color: hsla(216, 100%, 35%, 100%);
242
+ --kbq-code-block-hljs-tag-background: null;
243
+ --kbq-code-block-hljs-tag-color: null;
244
+ --kbq-code-block-hljs-template-tag-background: null;
245
+ --kbq-code-block-hljs-template-tag-color: null;
246
+ --kbq-code-block-hljs-template-variable-background: null;
247
+ --kbq-code-block-hljs-template-variable-color: null;
248
+ --kbq-code-block-hljs-title-background: null;
249
+ --kbq-code-block-hljs-title-color: hsla(216, 100%, 35%, 100%);
250
+ --kbq-code-block-hljs-title-class-background: null;
251
+ --kbq-code-block-hljs-title-class-color: null;
252
+ --kbq-code-block-hljs-title-class-inherited-background: null;
253
+ --kbq-code-block-hljs-title-class-inherited-color: null;
254
+ --kbq-code-block-hljs-title-function-background: null;
255
+ --kbq-code-block-hljs-title-function-color: null;
256
+ --kbq-code-block-hljs-title-function-invoke-background: null;
257
+ --kbq-code-block-hljs-title-function-invoke-color: null;
258
+ --kbq-code-block-hljs-type-background: null;
259
+ --kbq-code-block-hljs-type-color: null;
260
+ --kbq-code-block-hljs-variable-background: null;
261
+ --kbq-code-block-hljs-variable-color: null;
262
+ --kbq-code-block-hljs-variable-constant-background: null;
263
+ --kbq-code-block-hljs-variable-constant-color: null;
264
+ --kbq-code-block-hljs-variable-language-background: null;
265
+ --kbq-code-block-hljs-variable-language-color: null;
266
+ }
267
+
268
+ :where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
269
+ --kbq-states-focused-color: hsla(216, 100%, 50%, 100%);
270
+ --kbq-states-focused-color-error: hsla(7, 97%, 50%, 100%);
271
+ --kbq-code-block-filled-container-background: hsla(229, 15%, 16%, 100%);
272
+ --kbq-code-block-filled-container-border-color: hsla(229, 15%, 22%, 100%);
273
+ --kbq-code-block-filled-header-background: hsla(229, 15%, 16%, 100%);
274
+ --kbq-code-block-filled-header-shadow: 0px 1px 0px 0px hsla(229, 100%, 85%, 15%);
275
+ --kbq-code-block-filled-actionbar-fade-gradient: linear-gradient(90deg, transparent, hsla(229, 15%, 16%, 100%));
276
+ --kbq-code-block-filled-actionbar-background: hsla(229, 15%, 16%, 100%);
277
+ --kbq-code-block-filled-collapse-expanded-background: transparent;
278
+ --kbq-code-block-filled-collapse-collapsed-background: linear-gradient(
279
+ 180deg,
280
+ hsla(229, 15%, 15%, 0%) 0%,
281
+ hsla(229, 15%, 15%, 1%) 100%
282
+ );
283
+ --kbq-code-block-filled-collapse-button-expand-background: hsla(229, 15%, 16%, 100%);
284
+ --kbq-code-block-outline-container-background: hsla(229, 15%, 15%, 100%);
285
+ --kbq-code-block-outline-container-border-color: transparent;
286
+ --kbq-code-block-outline-header-background: hsla(229, 15%, 15%, 100%);
287
+ --kbq-code-block-outline-header-shadow: 0px 1px 0px 0px hsla(229, 100%, 85%, 15%);
288
+ --kbq-code-block-outline-actionbar-fade-gradient: linear-gradient(90deg, transparent, hsla(229, 15%, 15%, 100%));
289
+ --kbq-code-block-outline-actionbar-background: hsla(229, 15%, 15%, 100%);
290
+ --kbq-code-block-outline-collapse-expanded-background: transparent;
291
+ --kbq-code-block-outline-collapse-collapsed-background: linear-gradient(
292
+ 180deg,
293
+ hsla(229, 15%, 12%, 0%) 0%,
294
+ hsla(229, 15%, 12%, 1%) 100%
295
+ );
296
+ --kbq-code-block-outline-collapse-button-expand-background: hsla(229, 15%, 15%, 100%);
297
+ --kbq-code-block-hljs-addition-background: hsla(104, 64%, 95%, 100%);
298
+ --kbq-code-block-hljs-addition-color: hsla(104, 64%, 25%, 100%);
299
+ --kbq-code-block-hljs-attr-background: null;
300
+ --kbq-code-block-hljs-attr-color: null;
301
+ --kbq-code-block-hljs-attribute-background: null;
302
+ --kbq-code-block-hljs-attribute-color: null;
303
+ --kbq-code-block-hljs-built-in-background: null;
304
+ --kbq-code-block-hljs-built-in-color: null;
305
+ --kbq-code-block-hljs-bullet-background: null;
306
+ --kbq-code-block-hljs-bullet-color: null;
307
+ --kbq-code-block-hljs-char-escape-background: null;
308
+ --kbq-code-block-hljs-char-escape-color: null;
309
+ --kbq-code-block-hljs-class-background: null;
310
+ --kbq-code-block-hljs-class-color: null;
311
+ --kbq-code-block-hljs-code-background: null;
312
+ --kbq-code-block-hljs-code-color: null;
313
+ --kbq-code-block-hljs-comment-background: null;
314
+ --kbq-code-block-hljs-comment-color: hsla(229, 15%, 60%, 100%);
315
+ --kbq-code-block-hljs-deletion-background: hsla(7, 97%, 95%, 100%);
316
+ --kbq-code-block-hljs-deletion-color: hsla(7, 97%, 35%, 100%);
317
+ --kbq-code-block-hljs-doctag-background: null;
318
+ --kbq-code-block-hljs-doctag-color: null;
319
+ --kbq-code-block-hljs-emphasis-background: null;
320
+ --kbq-code-block-hljs-emphasis-color: null;
321
+ --kbq-code-block-hljs-formula-background: null;
322
+ --kbq-code-block-hljs-formula-color: null;
323
+ --kbq-code-block-hljs-function-background: null;
324
+ --kbq-code-block-hljs-function-color: null;
325
+ --kbq-code-block-hljs-keyword-background: null;
326
+ --kbq-code-block-hljs-keyword-color: null;
327
+ --kbq-code-block-hljs-line-numbers-color: hsla(229, 15%, 60%, 100%);
328
+ --kbq-code-block-hljs-link-background: null;
329
+ --kbq-code-block-hljs-link-color: null;
330
+ --kbq-code-block-hljs-literal-background: null;
331
+ --kbq-code-block-hljs-literal-color: hsla(277, 72%, 60%, 100%);
332
+ --kbq-code-block-hljs-meta-background: null;
333
+ --kbq-code-block-hljs-meta-color: hsla(216, 100%, 65%, 100%);
334
+ --kbq-code-block-hljs-meta-keyword-background: null;
335
+ --kbq-code-block-hljs-meta-keyword-color: null;
336
+ --kbq-code-block-hljs-meta-string-background: null;
337
+ --kbq-code-block-hljs-meta-string-color: hsla(216, 100%, 65%, 100%);
338
+ --kbq-code-block-hljs-meta-prompt-background: null;
339
+ --kbq-code-block-hljs-meta-prompt-color: null;
340
+ --kbq-code-block-hljs-name-background: null;
341
+ --kbq-code-block-hljs-name-color: hsla(216, 100%, 65%, 100%);
342
+ --kbq-code-block-hljs-number-background: null;
343
+ --kbq-code-block-hljs-number-color: hsla(277, 72%, 60%, 100%);
344
+ --kbq-code-block-hljs-operator-background: null;
345
+ --kbq-code-block-hljs-operator-color: null;
346
+ --kbq-code-block-hljs-params-background: null;
347
+ --kbq-code-block-hljs-params-color: null;
348
+ --kbq-code-block-hljs-property-background: null;
349
+ --kbq-code-block-hljs-property-color: null;
350
+ --kbq-code-block-hljs-punctuation-background: null;
351
+ --kbq-code-block-hljs-punctuation-color: null;
352
+ --kbq-code-block-hljs-quote-background: null;
353
+ --kbq-code-block-hljs-quote-color: null;
354
+ --kbq-code-block-hljs-regexp-background: null;
355
+ --kbq-code-block-hljs-regexp-color: hsla(104, 64%, 40%, 100%);
356
+ --kbq-code-block-hljs-section-background: null;
357
+ --kbq-code-block-hljs-section-color: null;
358
+ --kbq-code-block-hljs-selector-attr-background: null;
359
+ --kbq-code-block-hljs-selector-attr-color: null;
360
+ --kbq-code-block-hljs-selector-class-background: null;
361
+ --kbq-code-block-hljs-selector-class-color: null;
362
+ --kbq-code-block-hljs-selector-id-background: null;
363
+ --kbq-code-block-hljs-selector-id-color: null;
364
+ --kbq-code-block-hljs-selector-pseudo-background: null;
365
+ --kbq-code-block-hljs-selector-pseudo-color: null;
366
+ --kbq-code-block-hljs-selector-tag-background: null;
367
+ --kbq-code-block-hljs-selector-tag-color: hsla(216, 100%, 65%, 100%);
368
+ --kbq-code-block-hljs-string-background: null;
369
+ --kbq-code-block-hljs-string-color: hsla(104, 64%, 40%, 100%);
370
+ --kbq-code-block-hljs-strong-background: null;
371
+ --kbq-code-block-hljs-strong-color: null;
372
+ --kbq-code-block-hljs-subst-background: null;
373
+ --kbq-code-block-hljs-subst-color: null;
374
+ --kbq-code-block-hljs-symbol-background: null;
375
+ --kbq-code-block-hljs-symbol-color: hsla(216, 100%, 65%, 100%);
376
+ --kbq-code-block-hljs-tag-background: null;
377
+ --kbq-code-block-hljs-tag-color: null;
378
+ --kbq-code-block-hljs-template-tag-background: null;
379
+ --kbq-code-block-hljs-template-tag-color: null;
380
+ --kbq-code-block-hljs-template-variable-background: null;
381
+ --kbq-code-block-hljs-template-variable-color: null;
382
+ --kbq-code-block-hljs-title-background: null;
383
+ --kbq-code-block-hljs-title-color: hsla(216, 100%, 65%, 100%);
384
+ --kbq-code-block-hljs-title-class-background: null;
385
+ --kbq-code-block-hljs-title-class-color: null;
386
+ --kbq-code-block-hljs-title-class-inherited-background: null;
387
+ --kbq-code-block-hljs-title-class-inherited-color: null;
388
+ --kbq-code-block-hljs-title-function-background: null;
389
+ --kbq-code-block-hljs-title-function-color: null;
390
+ --kbq-code-block-hljs-title-function-invoke-background: null;
391
+ --kbq-code-block-hljs-title-function-invoke-color: null;
392
+ --kbq-code-block-hljs-type-background: null;
393
+ --kbq-code-block-hljs-type-color: null;
394
+ --kbq-code-block-hljs-variable-background: null;
395
+ --kbq-code-block-hljs-variable-color: null;
396
+ --kbq-code-block-hljs-variable-constant-background: null;
397
+ --kbq-code-block-hljs-variable-constant-color: null;
398
+ --kbq-code-block-hljs-variable-language-background: null;
399
+ --kbq-code-block-hljs-variable-language-color: null;
400
+ }
@@ -1,9 +1,8 @@
1
1
  @use 'sass:meta';
2
2
  @use 'sass:map';
3
- @use '../core/styles/tokens';
4
3
  @use '../core/styles/common/tokens' as *;
5
4
 
6
- $tokens: meta.module-variables(tokens) !default;
5
+ @use './code-block-theme' as *;
7
6
 
8
7
  $border-radius: kbq-css-variable(code-block-size-container-border-radius);
9
8
  $border-width: kbq-css-variable(code-block-size-container-border-width);
@@ -199,3 +198,6 @@ $border-width: kbq-css-variable(code-block-size-container-border-width);
199
198
  border-radius: kbq-css-variable(button-size-border-radius);
200
199
  }
201
200
  }
201
+
202
+ @include kbq-code-block-theme();
203
+ @include kbq-code-block-typography();
@@ -1,4 +1,4 @@
1
- @mixin kbq-highlight-theme($theme) {
1
+ @mixin kbq-highlight-theme() {
2
2
  .kbq-highlight {
3
3
  color: inherit;
4
4
 
@@ -1,2 +1,2 @@
1
- import { ElementRef } from '@angular/core';
2
- export declare const applyPopupMargins: (element: ElementRef, name: string, value: string) => void;
1
+ import { Renderer2 } from '@angular/core';
2
+ export declare const applyPopupMargins: (renderer: Renderer2, element: HTMLElement, name: string, value: string) => void;
@@ -1,18 +1,18 @@
1
1
  import { Directionality } from '@angular/cdk/bidi';
2
- import { ConnectedOverlayPositionChange, ConnectionPositionPair, Overlay, OverlayConfig, OverlayRef, ScrollDispatcher } from '@angular/cdk/overlay';
2
+ import { ConnectedOverlayPositionChange, ConnectionPositionPair, 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';
6
6
  import { PopUpPlacements } from './constants';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare abstract class KbqPopUpTrigger<T> implements OnInit, OnDestroy {
9
- protected overlay: Overlay;
10
- protected elementRef: ElementRef;
11
- protected ngZone: NgZone;
12
- protected scrollDispatcher: ScrollDispatcher;
13
- protected hostView: ViewContainerRef;
14
- protected scrollStrategy: any;
15
- protected direction?: Directionality | undefined;
9
+ protected readonly overlay: Overlay;
10
+ protected readonly elementRef: ElementRef;
11
+ protected readonly ngZone: NgZone;
12
+ protected readonly scrollDispatcher: ScrollDispatcher;
13
+ protected readonly hostView: ViewContainerRef;
14
+ protected readonly direction: Directionality | null;
15
+ protected abstract scrollStrategy: () => ScrollStrategy;
16
16
  isOpen: boolean;
17
17
  enterDelay: number;
18
18
  leaveDelay: number;
@@ -40,7 +40,6 @@ 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 constructor(overlay: Overlay, elementRef: ElementRef, ngZone: NgZone, scrollDispatcher: ScrollDispatcher, hostView: ViewContainerRef, scrollStrategy: any, direction?: Directionality | undefined);
44
43
  abstract updateClassMap(newPlacement?: string): void;
45
44
  abstract updateData(): void;
46
45
  abstract closingActions(): Observable<any>;
@@ -1,10 +1,11 @@
1
1
  import { AnimationEvent } from '@angular/animations';
2
- import { ChangeDetectorRef, EventEmitter, OnDestroy, TemplateRef } from '@angular/core';
2
+ import { ChangeDetectorRef, EventEmitter, OnDestroy, Renderer2, TemplateRef } from '@angular/core';
3
3
  import { Observable, Subject } from 'rxjs';
4
4
  import { PopUpVisibility } from './constants';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare abstract class KbqPopUp implements OnDestroy {
7
- private changeDetectorRef;
7
+ protected readonly renderer: Renderer2;
8
+ protected readonly changeDetectorRef: ChangeDetectorRef;
8
9
  header: string | TemplateRef<any>;
9
10
  content: string | TemplateRef<any>;
10
11
  context: {
@@ -22,7 +23,6 @@ export declare abstract class KbqPopUp implements OnDestroy {
22
23
  protected closeOnInteraction: boolean;
23
24
  private showTimeoutId;
24
25
  private hideTimeoutId;
25
- protected constructor(changeDetectorRef: ChangeDetectorRef);
26
26
  ngOnDestroy(): void;
27
27
  isTemplateRef(value: any): boolean;
28
28
  show(delay: number): void;
@@ -2,43 +2,40 @@
2
2
 
3
3
  @use '../../styles/common/tokens' as *;
4
4
 
5
- @mixin kbq-pseudo-checkbox-color($component, $style-name) {
6
- $style: map.get($component, $style-name);
5
+ @mixin kbq-pseudo-checkbox-color($style-name) {
7
6
  $base: checkbox-#{$style-name};
8
7
 
9
- border-color: kbq-css-variable(#{$base}-default-border, map.get($style, default, border));
10
- background: kbq-css-variable(#{$base}-default-background, map.get($style, default, background));
8
+ border-color: kbq-css-variable(#{$base}-default-border);
9
+ background: kbq-css-variable(#{$base}-default-background);
11
10
 
12
11
  & .kbq-checkbox-checkmark,
13
12
  & .kbq-checkbox-mixedmark {
14
- color: kbq-css-variable(#{$base}-default-color, map.get($style, default, color));
13
+ color: kbq-css-variable(#{$base}-default-color);
15
14
  }
16
15
 
17
16
  &.kbq-checked,
18
17
  &.kbq-indeterminate {
19
- border-color: kbq-css-variable(#{$base}-states-checked-border, map.get($style, checked, border));
20
- background: kbq-css-variable(#{$base}-states-checked-background, map.get($style, checked, background));
18
+ border-color: kbq-css-variable(#{$base}-states-checked-border);
19
+ background: kbq-css-variable(#{$base}-states-checked-background);
21
20
  }
22
21
 
23
22
  &.kbq-disabled {
24
23
  & .kbq-checkbox-checkmark,
25
24
  & .kbq-checkbox-mixedmark {
26
- color: kbq-css-variable(#{$base}-states-disabled-color, map.get($style, disabled, color));
25
+ color: kbq-css-variable(#{$base}-states-disabled-color);
27
26
  }
28
27
 
29
- border-color: kbq-css-variable(#{$base}-states-disabled-border, map.get($style, disabled, border));
30
- background: kbq-css-variable(#{$base}-states-disabled-background, map.get($style, disabled, background));
28
+ border-color: kbq-css-variable(#{$base}-states-disabled-border);
29
+ background: kbq-css-variable(#{$base}-states-disabled-background);
31
30
  }
32
31
  }
33
32
 
34
- @mixin kbq-pseudo-checkbox-theme($theme) {
35
- $checkbox: map.get($theme, components, checkbox);
36
-
33
+ @mixin kbq-pseudo-checkbox-theme() {
37
34
  .kbq-pseudo-checkbox {
38
- @include kbq-pseudo-checkbox-color($checkbox, theme);
35
+ @include kbq-pseudo-checkbox-color(theme);
39
36
 
40
37
  &.kbq-error {
41
- @include kbq-pseudo-checkbox-color($checkbox, error);
38
+ @include kbq-pseudo-checkbox-color(error);
42
39
  }
43
40
  }
44
41
  }