@koobiq/components 18.8.0 → 18.9.1

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 (243) hide show
  1. package/accordion/accordion-tokens.scss +1 -13
  2. package/alert/alert-tokens.scss +1 -36
  3. package/autocomplete/autocomplete-tokens.scss +1 -8
  4. package/autocomplete/autocomplete-trigger.directive.d.ts +5 -3
  5. package/autocomplete/autocomplete.scss +21 -1
  6. package/badge/_badge-theme.scss +1 -1
  7. package/badge/badge-tokens.scss +1 -71
  8. package/button/button-tokens.scss +1 -140
  9. package/button-toggle/button-toggle-tokens.scss +1 -32
  10. package/checkbox/checkbox-tokens.scss +1 -50
  11. package/code-block/actionbar.component.d.ts +2 -2
  12. package/code-block/code-block-content.d.ts +28 -0
  13. package/code-block/code-block-tokens.scss +1 -139
  14. package/code-block/code-block.component.d.ts +6 -3
  15. package/code-block/code-block.module.d.ts +3 -3
  16. package/code-block/code-block.types.d.ts +10 -2
  17. package/core/common-behaviors/common-module.d.ts +2 -2
  18. package/core/forms/forms-tokens.scss +2 -9
  19. package/core/option/_option-theme.scss +10 -0
  20. package/core/option/option-tokens.scss +4 -0
  21. package/core/selection/pseudo-checkbox/pseudo-checkbox-tokens.scss +1 -50
  22. package/core/services/measure-scrollbar.service.d.ts +2 -2
  23. package/core/services/theme.service.d.ts +4 -3
  24. package/core/styles/_koobiq-theme.scss +3 -2
  25. package/core/styles/common/_list.scss +6 -8
  26. package/core/styles/common/_select.scss +3 -2
  27. package/core/styles/theming/scrollbar-tokens.scss +1 -16
  28. package/datepicker/datepicker-tokens.scss +1 -21
  29. package/datepicker/datepicker.component.d.ts +3 -3
  30. package/divider/divider-tokens.scss +1 -7
  31. package/dl/dl-tokens.scss +1 -8
  32. package/dl/dl.scss +1 -1
  33. package/dropdown/_dropdown-theme.scss +10 -0
  34. package/dropdown/dropdown-content.directive.d.ts +2 -2
  35. package/dropdown/dropdown-tokens.scss +5 -8
  36. package/dropdown/dropdown-trigger.directive.d.ts +1 -0
  37. package/dropdown/dropdown.scss +22 -3
  38. package/empty-state/empty-state-tokens.scss +1 -8
  39. package/esm2022/accordion/accordion-trigger.component.mjs +2 -2
  40. package/esm2022/accordion/accordion.component.mjs +2 -2
  41. package/esm2022/alert/alert.component.mjs +2 -2
  42. package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +13 -17
  43. package/esm2022/autocomplete/autocomplete.component.mjs +2 -2
  44. package/esm2022/badge/badge.component.mjs +2 -2
  45. package/esm2022/button/button.component.mjs +2 -2
  46. package/esm2022/button-toggle/button-toggle.component.mjs +2 -2
  47. package/esm2022/checkbox/checkbox.mjs +2 -2
  48. package/esm2022/code-block/actionbar.component.mjs +1 -1
  49. package/esm2022/code-block/code-block-content.mjs +393 -0
  50. package/esm2022/code-block/code-block.component.mjs +16 -10
  51. package/esm2022/code-block/code-block.module.mjs +7 -27
  52. package/esm2022/code-block/code-block.types.mjs +1 -1
  53. package/esm2022/core/common-behaviors/common-module.mjs +14 -12
  54. package/esm2022/core/option/option.mjs +3 -3
  55. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +2 -2
  56. package/esm2022/core/services/measure-scrollbar.service.mjs +7 -12
  57. package/esm2022/core/services/theme.service.mjs +10 -8
  58. package/esm2022/core/version.mjs +2 -2
  59. package/esm2022/datepicker/calendar-header.component.mjs +1 -1
  60. package/esm2022/datepicker/datepicker.component.mjs +8 -13
  61. package/esm2022/divider/divider.component.mjs +2 -2
  62. package/esm2022/dl/dl.component.mjs +2 -2
  63. package/esm2022/dropdown/dropdown-content.directive.mjs +6 -9
  64. package/esm2022/dropdown/dropdown-item.component.mjs +2 -2
  65. package/esm2022/dropdown/dropdown-trigger.directive.mjs +8 -5
  66. package/esm2022/dropdown/dropdown.component.mjs +3 -3
  67. package/esm2022/empty-state/empty-state.component.mjs +2 -2
  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/cleaner.mjs +3 -3
  71. package/esm2022/form-field/form-field.mjs +4 -4
  72. package/esm2022/form-field/hint.mjs +2 -2
  73. package/esm2022/form-field/password-hint.mjs +5 -5
  74. package/esm2022/form-field/password-toggle.mjs +3 -3
  75. package/esm2022/form-field/stepper.mjs +5 -1
  76. package/esm2022/icon/icon-button.component.mjs +4 -4
  77. package/esm2022/icon/icon-item.component.mjs +4 -4
  78. package/esm2022/icon/icon.component.mjs +5 -5
  79. package/esm2022/list/list-selection.component.mjs +2 -2
  80. package/esm2022/list/list.component.mjs +2 -2
  81. package/esm2022/loader-overlay/loader-overlay.component.mjs +2 -2
  82. package/esm2022/markdown/markdown.component.mjs +2 -2
  83. package/esm2022/modal/modal.component.mjs +10 -13
  84. package/esm2022/navbar/navbar-item.component.mjs +31 -32
  85. package/esm2022/navbar/navbar.component.mjs +2 -2
  86. package/esm2022/navbar/vertical-navbar.component.mjs +2 -2
  87. package/esm2022/popover/popover-confirm.component.mjs +3 -3
  88. package/esm2022/popover/popover.component.mjs +3 -3
  89. package/esm2022/progress-bar/progress-bar.component.mjs +2 -2
  90. package/esm2022/progress-spinner/progress-spinner.component.mjs +2 -2
  91. package/esm2022/radio/radio.component.mjs +2 -2
  92. package/esm2022/risk-level/risk-level.component.mjs +2 -2
  93. package/esm2022/scrollbar/scrollbar.component.mjs +3 -3
  94. package/esm2022/select/select.component.mjs +52 -18
  95. package/esm2022/sidebar/sidebar.component.mjs +8 -7
  96. package/esm2022/sidepanel/sidepanel-container.component.mjs +3 -3
  97. package/esm2022/tabs/tab-group.component.mjs +2 -2
  98. package/esm2022/tabs/tab-nav-bar.mjs +3 -3
  99. package/esm2022/tags/tag-input.mjs +2 -3
  100. package/esm2022/tags/tag-list.component.mjs +2 -2
  101. package/esm2022/textarea/textarea.component.mjs +8 -5
  102. package/esm2022/timezone/timezone-option.component.mjs +2 -2
  103. package/esm2022/timezone/timezone-select.component.mjs +3 -3
  104. package/esm2022/toast/toast.component.mjs +3 -3
  105. package/esm2022/toggle/toggle.component.mjs +3 -3
  106. package/esm2022/tooltip/tooltip.component.mjs +3 -3
  107. package/esm2022/tree/toggle.mjs +6 -5
  108. package/esm2022/tree/tree-option.component.mjs +2 -2
  109. package/esm2022/tree/tree-selection.component.mjs +2 -2
  110. package/esm2022/tree/tree.mjs +2 -2
  111. package/esm2022/tree-select/tree-select.component.mjs +46 -11
  112. package/fesm2022/koobiq-components-accordion.mjs +4 -4
  113. package/fesm2022/koobiq-components-accordion.mjs.map +1 -1
  114. package/fesm2022/koobiq-components-alert.mjs +2 -2
  115. package/fesm2022/koobiq-components-alert.mjs.map +1 -1
  116. package/fesm2022/koobiq-components-autocomplete.mjs +14 -18
  117. package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
  118. package/fesm2022/koobiq-components-badge.mjs +2 -2
  119. package/fesm2022/koobiq-components-badge.mjs.map +1 -1
  120. package/fesm2022/koobiq-components-button-toggle.mjs +2 -2
  121. package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
  122. package/fesm2022/koobiq-components-button.mjs +2 -2
  123. package/fesm2022/koobiq-components-button.mjs.map +1 -1
  124. package/fesm2022/koobiq-components-checkbox.mjs +2 -2
  125. package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
  126. package/fesm2022/koobiq-components-code-block.mjs +408 -34
  127. package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
  128. package/fesm2022/koobiq-components-core.mjs +30 -33
  129. package/fesm2022/koobiq-components-core.mjs.map +1 -1
  130. package/fesm2022/koobiq-components-datepicker.mjs +7 -12
  131. package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
  132. package/fesm2022/koobiq-components-divider.mjs +2 -2
  133. package/fesm2022/koobiq-components-divider.mjs.map +1 -1
  134. package/fesm2022/koobiq-components-dl.mjs +2 -2
  135. package/fesm2022/koobiq-components-dl.mjs.map +1 -1
  136. package/fesm2022/koobiq-components-dropdown.mjs +14 -14
  137. package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
  138. package/fesm2022/koobiq-components-empty-state.mjs +2 -2
  139. package/fesm2022/koobiq-components-empty-state.mjs.map +1 -1
  140. package/fesm2022/koobiq-components-file-upload.mjs +4 -4
  141. package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
  142. package/fesm2022/koobiq-components-form-field.mjs +17 -13
  143. package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
  144. package/fesm2022/koobiq-components-icon.mjs +10 -10
  145. package/fesm2022/koobiq-components-icon.mjs.map +1 -1
  146. package/fesm2022/koobiq-components-list.mjs +4 -4
  147. package/fesm2022/koobiq-components-list.mjs.map +1 -1
  148. package/fesm2022/koobiq-components-loader-overlay.mjs +2 -2
  149. package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
  150. package/fesm2022/koobiq-components-markdown.mjs +2 -2
  151. package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
  152. package/fesm2022/koobiq-components-modal.mjs +9 -12
  153. package/fesm2022/koobiq-components-modal.mjs.map +1 -1
  154. package/fesm2022/koobiq-components-navbar.mjs +34 -36
  155. package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
  156. package/fesm2022/koobiq-components-popover.mjs +4 -4
  157. package/fesm2022/koobiq-components-popover.mjs.map +1 -1
  158. package/fesm2022/koobiq-components-progress-bar.mjs +2 -2
  159. package/fesm2022/koobiq-components-progress-bar.mjs.map +1 -1
  160. package/fesm2022/koobiq-components-progress-spinner.mjs +2 -2
  161. package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
  162. package/fesm2022/koobiq-components-radio.mjs +2 -2
  163. package/fesm2022/koobiq-components-radio.mjs.map +1 -1
  164. package/fesm2022/koobiq-components-risk-level.mjs +2 -2
  165. package/fesm2022/koobiq-components-risk-level.mjs.map +1 -1
  166. package/fesm2022/koobiq-components-scrollbar.mjs +2 -2
  167. package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -1
  168. package/fesm2022/koobiq-components-select.mjs +52 -18
  169. package/fesm2022/koobiq-components-select.mjs.map +1 -1
  170. package/fesm2022/koobiq-components-sidebar.mjs +6 -6
  171. package/fesm2022/koobiq-components-sidebar.mjs.map +1 -1
  172. package/fesm2022/koobiq-components-sidepanel.mjs +2 -2
  173. package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
  174. package/fesm2022/koobiq-components-tabs.mjs +4 -4
  175. package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
  176. package/fesm2022/koobiq-components-tags.mjs +3 -4
  177. package/fesm2022/koobiq-components-tags.mjs.map +1 -1
  178. package/fesm2022/koobiq-components-textarea.mjs +7 -4
  179. package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
  180. package/fesm2022/koobiq-components-timezone.mjs +4 -4
  181. package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
  182. package/fesm2022/koobiq-components-toast.mjs +2 -2
  183. package/fesm2022/koobiq-components-toast.mjs.map +1 -1
  184. package/fesm2022/koobiq-components-toggle.mjs +2 -2
  185. package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
  186. package/fesm2022/koobiq-components-tooltip.mjs +2 -2
  187. package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
  188. package/fesm2022/koobiq-components-tree-select.mjs +46 -11
  189. package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
  190. package/fesm2022/koobiq-components-tree.mjs +11 -10
  191. package/fesm2022/koobiq-components-tree.mjs.map +1 -1
  192. package/file-upload/_file-upload-theme.scss +2 -2
  193. package/file-upload/file-upload-tokens.scss +1 -52
  194. package/form-field/_form-field-theme.scss +7 -0
  195. package/form-field/form-field-tokens.scss +3 -29
  196. package/form-field/form-field.scss +5 -6
  197. package/form-field/hint-tokens.scss +1 -22
  198. package/icon/_icon-item-theme.scss +3 -0
  199. package/icon/_icon-theme.scss +3 -1
  200. package/icon/icon-button-tokens.scss +1 -30
  201. package/icon/icon-item-tokens.scss +1 -26
  202. package/icon/icon-tokens.scss +2 -10
  203. package/link/_link-theme.scss +27 -5
  204. package/link/link-tokens.scss +1 -21
  205. package/list/_list-theme.scss +10 -0
  206. package/list/list-tokens.scss +17 -42
  207. package/loader-overlay/loader-overlay-tokens.scss +1 -12
  208. package/markdown/markdown-tokens.scss +1 -34
  209. package/modal/modal-tokens.scss +1 -12
  210. package/modal/modal.component.d.ts +2 -2
  211. package/navbar/navbar-item.component.d.ts +7 -7
  212. package/navbar/navbar-tokens.scss +1 -28
  213. package/package.json +6 -8
  214. package/popover/popover-tokens.scss +1 -12
  215. package/popover/popover.scss +4 -0
  216. package/prebuilt-themes/dark-theme.css +1 -1
  217. package/prebuilt-themes/light-theme.css +1 -1
  218. package/prebuilt-themes/theme.css +1 -1
  219. package/progress-bar/progress-bar-tokens.scss +1 -10
  220. package/progress-spinner/progress-spinner-tokens.scss +1 -9
  221. package/radio/radio-tokens.scss +11 -70
  222. package/risk-level/risk-level-tokens.scss +1 -32
  223. package/schematics/ng-add/index.js +3 -6
  224. package/scrollbar/scrollbar-tokens.scss +1 -16
  225. package/select/select-tokens.scss +1 -8
  226. package/select/select.component.d.ts +41 -4
  227. package/select/select.scss +20 -0
  228. package/sidebar/sidebar.component.d.ts +1 -0
  229. package/sidepanel/sidepanel-tokens.scss +1 -11
  230. package/tabs/tabs-tokens.scss +1 -92
  231. package/tags/tag-tokens.scss +1 -74
  232. package/textarea/textarea.component.d.ts +1 -0
  233. package/timezone/timezone-option-tokens.scss +5 -11
  234. package/toast/toast-tokens.scss +1 -22
  235. package/toggle/toggle-tokens.scss +1 -52
  236. package/tooltip/tooltip-tokens.scss +1 -21
  237. package/tree/_tree-theme.scss +2 -1
  238. package/tree/tree-option.scss +11 -0
  239. package/tree/tree-tokens.scss +1 -37
  240. package/tree-select/_tree-select-theme.scss +5 -1
  241. package/tree-select/tree-select-tokens.scss +2 -6
  242. package/tree-select/tree-select.component.d.ts +46 -5
  243. package/select/README.md +0 -0
@@ -122,9 +122,7 @@
122
122
  --kbq-code-block-font-hljs-variable-constant-font-weight: null;
123
123
  --kbq-code-block-font-hljs-variable-language-font-style: null;
124
124
  --kbq-code-block-font-hljs-variable-language-font-weight: null;
125
- }
126
-
127
- :where(.kbq-light, .theme-light, .kbq-theme-light) {
125
+ /* THEME TOKENS */
128
126
  --kbq-code-block-filled-container-background: var(--kbq-background-bg-secondary);
129
127
  --kbq-code-block-filled-container-border-color: transparent;
130
128
  --kbq-code-block-filled-header-background: var(--kbq-background-bg-secondary);
@@ -259,139 +257,3 @@
259
257
  --kbq-code-block-hljs-variable-language-background: null;
260
258
  --kbq-code-block-hljs-variable-language-color: null;
261
259
  }
262
-
263
- :where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
264
- --kbq-code-block-filled-container-background: var(--kbq-background-bg-secondary);
265
- --kbq-code-block-filled-container-border-color: var(--kbq-divider-color, var(--kbq-line-contrast-less));
266
- --kbq-code-block-filled-header-background: var(--kbq-background-bg-secondary);
267
- --kbq-code-block-filled-header-scroll-shadow: var(--kbq-shadow-overflow-normal-bottom);
268
- --kbq-code-block-filled-actionbar-fade-gradient: linear-gradient(
269
- 90deg,
270
- transparent,
271
- var(--kbq-background-bg-secondary)
272
- );
273
- --kbq-code-block-filled-actionbar-background: var(--kbq-background-bg-secondary);
274
- --kbq-code-block-filled-collapse-expanded-background: transparent;
275
- --kbq-code-block-filled-collapse-collapsed-background: linear-gradient(
276
- 180deg,
277
- hsla(229, 15%, 15%, 0%) 0%,
278
- hsla(229, 15%, 15%, 1%) 100%
279
- );
280
- --kbq-code-block-filled-collapse-button-expand-background: var(--kbq-background-bg-secondary);
281
- --kbq-code-block-outline-container-background: var(--kbq-background-card);
282
- --kbq-code-block-outline-container-border-color: transparent;
283
- --kbq-code-block-outline-header-background: var(--kbq-background-card);
284
- --kbq-code-block-outline-header-scroll-shadow: var(--kbq-shadow-overflow-normal-bottom);
285
- --kbq-code-block-outline-actionbar-fade-gradient: linear-gradient(90deg, transparent, var(--kbq-background-card));
286
- --kbq-code-block-outline-actionbar-background: var(--kbq-background-card);
287
- --kbq-code-block-outline-collapse-expanded-background: transparent;
288
- --kbq-code-block-outline-collapse-collapsed-background: linear-gradient(
289
- 180deg,
290
- hsla(229, 15%, 12%, 0%) 0%,
291
- hsla(229, 15%, 12%, 1%) 100%
292
- );
293
- --kbq-code-block-outline-collapse-button-expand-background: var(--kbq-background-card);
294
- --kbq-code-block-hljs-addition-background: var(--kbq-palette-green-95);
295
- --kbq-code-block-hljs-addition-color: var(--kbq-palette-green-25);
296
- --kbq-code-block-hljs-attr-background: null;
297
- --kbq-code-block-hljs-attr-color: null;
298
- --kbq-code-block-hljs-attribute-background: null;
299
- --kbq-code-block-hljs-attribute-color: null;
300
- --kbq-code-block-hljs-built-in-background: null;
301
- --kbq-code-block-hljs-built-in-color: null;
302
- --kbq-code-block-hljs-bullet-background: null;
303
- --kbq-code-block-hljs-bullet-color: null;
304
- --kbq-code-block-hljs-char-escape-background: null;
305
- --kbq-code-block-hljs-char-escape-color: null;
306
- --kbq-code-block-hljs-class-background: null;
307
- --kbq-code-block-hljs-class-color: null;
308
- --kbq-code-block-hljs-code-background: null;
309
- --kbq-code-block-hljs-code-color: null;
310
- --kbq-code-block-hljs-comment-background: null;
311
- --kbq-code-block-hljs-comment-color: var(--kbq-palette-grey-60);
312
- --kbq-code-block-hljs-deletion-background: var(--kbq-palette-red-95);
313
- --kbq-code-block-hljs-deletion-color: var(--kbq-palette-red-35);
314
- --kbq-code-block-hljs-doctag-background: null;
315
- --kbq-code-block-hljs-doctag-color: null;
316
- --kbq-code-block-hljs-emphasis-background: null;
317
- --kbq-code-block-hljs-emphasis-color: null;
318
- --kbq-code-block-hljs-formula-background: null;
319
- --kbq-code-block-hljs-formula-color: null;
320
- --kbq-code-block-hljs-function-background: null;
321
- --kbq-code-block-hljs-function-color: null;
322
- --kbq-code-block-hljs-keyword-background: null;
323
- --kbq-code-block-hljs-keyword-color: null;
324
- --kbq-code-block-hljs-line-numbers-color: var(--kbq-foreground-contrast-secondary);
325
- --kbq-code-block-hljs-link-background: null;
326
- --kbq-code-block-hljs-link-color: null;
327
- --kbq-code-block-hljs-literal-background: null;
328
- --kbq-code-block-hljs-literal-color: var(--kbq-palette-purple-60);
329
- --kbq-code-block-hljs-meta-background: null;
330
- --kbq-code-block-hljs-meta-color: var(--kbq-palette-blue-65);
331
- --kbq-code-block-hljs-meta-keyword-background: null;
332
- --kbq-code-block-hljs-meta-keyword-color: null;
333
- --kbq-code-block-hljs-meta-string-background: null;
334
- --kbq-code-block-hljs-meta-string-color: var(--kbq-palette-blue-65);
335
- --kbq-code-block-hljs-meta-prompt-background: null;
336
- --kbq-code-block-hljs-meta-prompt-color: null;
337
- --kbq-code-block-hljs-name-background: null;
338
- --kbq-code-block-hljs-name-color: var(--kbq-palette-blue-65);
339
- --kbq-code-block-hljs-number-background: null;
340
- --kbq-code-block-hljs-number-color: var(--kbq-palette-purple-60);
341
- --kbq-code-block-hljs-operator-background: null;
342
- --kbq-code-block-hljs-operator-color: null;
343
- --kbq-code-block-hljs-params-background: null;
344
- --kbq-code-block-hljs-params-color: null;
345
- --kbq-code-block-hljs-property-background: null;
346
- --kbq-code-block-hljs-property-color: null;
347
- --kbq-code-block-hljs-punctuation-background: null;
348
- --kbq-code-block-hljs-punctuation-color: null;
349
- --kbq-code-block-hljs-quote-background: null;
350
- --kbq-code-block-hljs-quote-color: null;
351
- --kbq-code-block-hljs-regexp-background: null;
352
- --kbq-code-block-hljs-regexp-color: var(--kbq-palette-green-40);
353
- --kbq-code-block-hljs-section-background: null;
354
- --kbq-code-block-hljs-section-color: null;
355
- --kbq-code-block-hljs-selector-attr-background: null;
356
- --kbq-code-block-hljs-selector-attr-color: null;
357
- --kbq-code-block-hljs-selector-class-background: null;
358
- --kbq-code-block-hljs-selector-class-color: null;
359
- --kbq-code-block-hljs-selector-id-background: null;
360
- --kbq-code-block-hljs-selector-id-color: null;
361
- --kbq-code-block-hljs-selector-pseudo-background: null;
362
- --kbq-code-block-hljs-selector-pseudo-color: null;
363
- --kbq-code-block-hljs-selector-tag-background: null;
364
- --kbq-code-block-hljs-selector-tag-color: var(--kbq-palette-blue-65);
365
- --kbq-code-block-hljs-string-background: null;
366
- --kbq-code-block-hljs-string-color: var(--kbq-palette-green-40);
367
- --kbq-code-block-hljs-strong-background: null;
368
- --kbq-code-block-hljs-strong-color: null;
369
- --kbq-code-block-hljs-subst-background: null;
370
- --kbq-code-block-hljs-subst-color: null;
371
- --kbq-code-block-hljs-symbol-background: null;
372
- --kbq-code-block-hljs-symbol-color: var(--kbq-palette-blue-65);
373
- --kbq-code-block-hljs-tag-background: null;
374
- --kbq-code-block-hljs-tag-color: null;
375
- --kbq-code-block-hljs-template-tag-background: null;
376
- --kbq-code-block-hljs-template-tag-color: null;
377
- --kbq-code-block-hljs-template-variable-background: null;
378
- --kbq-code-block-hljs-template-variable-color: null;
379
- --kbq-code-block-hljs-title-background: null;
380
- --kbq-code-block-hljs-title-color: var(--kbq-palette-blue-65);
381
- --kbq-code-block-hljs-title-class-background: null;
382
- --kbq-code-block-hljs-title-class-color: null;
383
- --kbq-code-block-hljs-title-class-inherited-background: null;
384
- --kbq-code-block-hljs-title-class-inherited-color: null;
385
- --kbq-code-block-hljs-title-function-background: null;
386
- --kbq-code-block-hljs-title-function-color: null;
387
- --kbq-code-block-hljs-title-function-invoke-background: null;
388
- --kbq-code-block-hljs-title-function-invoke-color: null;
389
- --kbq-code-block-hljs-type-background: null;
390
- --kbq-code-block-hljs-type-color: null;
391
- --kbq-code-block-hljs-variable-background: null;
392
- --kbq-code-block-hljs-variable-color: null;
393
- --kbq-code-block-hljs-variable-constant-background: null;
394
- --kbq-code-block-hljs-variable-constant-color: null;
395
- --kbq-code-block-hljs-variable-language-background: null;
396
- --kbq-code-block-hljs-variable-language-color: null;
397
- }
@@ -4,7 +4,7 @@ import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, Renderer2 } fr
4
4
  import { KbqLocaleService } from '@koobiq/components/core';
5
5
  import { KbqTabChangeEvent, KbqTabGroup } from '@koobiq/components/tabs';
6
6
  import { Subject } from 'rxjs';
7
- import { KbqCodeBlockConfiguration, KbqCodeFile } from './code-block.types';
7
+ import { KbqCodeBlockConfiguration, KbqCodeBlockFile } from './code-block.types';
8
8
  import * as i0 from "@angular/core";
9
9
  export declare const COPIED_MESSAGE_TOOLTIP_TIMEOUT = 100;
10
10
  export declare const DEFAULT_EXTENSION = "txt";
@@ -34,14 +34,15 @@ export declare class KbqCodeBlockComponent implements AfterViewInit, OnDestroy {
34
34
  private focusMonitor;
35
35
  protected configuration?: KbqCodeBlockConfiguration | undefined;
36
36
  protected localeService?: KbqLocaleService | undefined;
37
+ protected readonly document: Document;
37
38
  tabGroup: KbqTabGroup;
38
39
  lineNumbers: boolean;
39
40
  filled: boolean;
40
41
  maxHeight: number;
41
42
  softWrap: boolean;
42
43
  canLoad: boolean;
43
- get codeFiles(): KbqCodeFile[];
44
- set codeFiles(files: KbqCodeFile[]);
44
+ get codeFiles(): KbqCodeBlockFile[];
45
+ set codeFiles(files: KbqCodeBlockFile[]);
45
46
  private _codeFiles;
46
47
  get noHeader(): any;
47
48
  get singleFile(): boolean;
@@ -90,6 +91,8 @@ export declare class KbqCodeBlockComponent implements AfterViewInit, OnDestroy {
90
91
  private updateMultiline;
91
92
  private getFullFileName;
92
93
  private subscribeToHover;
94
+ /** Use defaultView of injected document if available or fallback to global window reference */
95
+ private getWindow;
93
96
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqCodeBlockComponent, [null, null, null, null, null, { optional: true; }, { optional: true; }]>;
94
97
  static ɵcmp: i0.ɵɵComponentDeclaration<KbqCodeBlockComponent, "kbq-code-block", ["kbqCodeBlock"], { "lineNumbers": { "alias": "lineNumbers"; "required": false; }; "filled": { "alias": "filled"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "softWrap": { "alias": "softWrap"; "required": false; }; "canLoad": { "alias": "canLoad"; "required": false; }; "codeFiles": { "alias": "codeFiles"; "required": false; }; }, {}, never, never, false, never>;
95
98
  }
@@ -4,10 +4,10 @@ import * as i2 from "./actionbar.component";
4
4
  import * as i3 from "@koobiq/components/button";
5
5
  import * as i4 from "@koobiq/components/tooltip";
6
6
  import * as i5 from "@koobiq/components/icon";
7
- import * as i6 from "ngx-highlightjs";
8
- import * as i7 from "@koobiq/components/tabs";
7
+ import * as i6 from "@koobiq/components/tabs";
8
+ import * as i7 from "./code-block-content";
9
9
  export declare class KbqCodeBlockModule {
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqCodeBlockModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<KbqCodeBlockModule, [typeof i1.KbqCodeBlockComponent, typeof i2.KbqActionBarComponent], [typeof i3.KbqButtonModule, typeof i4.KbqToolTipModule, typeof i5.KbqIconModule, typeof i6.HighlightModule, typeof i7.KbqTabsModule], [typeof i1.KbqCodeBlockComponent]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KbqCodeBlockModule, [typeof i1.KbqCodeBlockComponent, typeof i2.KbqActionBarComponent], [typeof i3.KbqButtonModule, typeof i4.KbqToolTipModule, typeof i5.KbqIconModule, typeof i6.KbqTabsModule, typeof i7.KbqCodeBlockContent], [typeof i1.KbqCodeBlockComponent]>;
12
12
  static ɵinj: i0.ɵɵInjectorDeclaration<KbqCodeBlockModule>;
13
13
  }
@@ -20,9 +20,17 @@ export interface KbqCodeBlockConfiguration {
20
20
  viewLessText: string;
21
21
  openExternalSystemTooltip: string;
22
22
  }
23
- export interface KbqCodeFile {
23
+ /** Code block file type. */
24
+ export type KbqCodeBlockFile = {
24
25
  filename: string;
25
26
  content: string;
27
+ /**
28
+ * File language
29
+ *
30
+ * @link https://highlightjs.readthedocs.io/en/stable/supported-languages.html
31
+ */
26
32
  language: string;
27
33
  link?: string;
28
- }
34
+ };
35
+ /** @deprecated Will be removed in next major release, use `KbqCodeBlockFile` instead. */
36
+ export type KbqCodeFile = KbqCodeBlockFile;
@@ -11,14 +11,14 @@ export declare function mcSanityChecksFactory(): boolean;
11
11
  */
12
12
  export declare class KbqCommonModule {
13
13
  private _sanityChecksEnabled;
14
+ protected readonly document: Document;
14
15
  private hasDoneGlobalChecks;
15
- private _document;
16
- private _window;
17
16
  constructor(_sanityChecksEnabled: boolean);
18
17
  private areChecksEnabled;
19
18
  private isTestEnv;
20
19
  private checkDoctypeIsDefined;
21
20
  private checkThemeIsPresent;
21
+ private getWindow;
22
22
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqCommonModule, [{ optional: true; }]>;
23
23
  static ɵmod: i0.ɵɵNgModuleDeclaration<KbqCommonModule, never, [typeof i1.BidiModule], [typeof i1.BidiModule]>;
24
24
  static ɵinj: i0.ɵɵInjectorDeclaration<KbqCommonModule>;
@@ -5,18 +5,11 @@
5
5
  --kbq-forms-size-horizontal-legend-margin-bottom: var(--kbq-size-l);
6
6
  --kbq-forms-size-vertical-row-margin-bottom: var(--kbq-size-l);
7
7
  --kbq-forms-size-vertical-label-padding-top: 0;
8
- --kbq-forms-size-vertical-label-padding-bottom: var(--kbq-size-s);
8
+ --kbq-forms-size-vertical-label-padding-bottom: var(--kbq-size-xs);
9
9
  --kbq-forms-size-vertical-control-padding-left: var(--kbq-size-xxl);
10
10
  --kbq-forms-size-vertical-legend-margin-top: var(--kbq-size-3xl);
11
11
  --kbq-forms-size-vertical-legend-margin-bottom: var(--kbq-size-m);
12
- }
13
-
14
- :where(.kbq-light, .theme-light, .kbq-theme-light) {
15
- --kbq-forms-label: var(--kbq-foreground-contrast);
16
- --kbq-forms-legend: var(--kbq-foreground-contrast);
17
- }
18
-
19
- :where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
12
+ /* THEME TOKENS */
20
13
  --kbq-forms-label: var(--kbq-foreground-contrast);
21
14
  --kbq-forms-legend: var(--kbq-foreground-contrast);
22
15
  }
@@ -40,6 +40,16 @@
40
40
  &.kbq-disabled {
41
41
  @include kbq-option(states-disabled);
42
42
  }
43
+
44
+ &:is(.kbq-selected, .kbq-focused, .kbq-active):has(+ :is(.kbq-selected, .kbq-focused, .kbq-active)) {
45
+ border-bottom-left-radius: 0;
46
+ border-bottom-right-radius: 0;
47
+ }
48
+
49
+ &:is(.kbq-selected, .kbq-focused, .kbq-active) + :is(.kbq-selected, .kbq-focused, .kbq-active) {
50
+ border-top-left-radius: 0;
51
+ border-top-right-radius: 0;
52
+ }
43
53
  }
44
54
  }
45
55
 
@@ -1,5 +1,9 @@
1
+ @use '../../list/list-tokens';
2
+
1
3
  .kbq-option {
2
4
  --kbq-option-size-horizontal-padding: var(--kbq-size-m);
3
5
  --kbq-option-size-height: var(--kbq-size-3xl);
4
6
  --kbq-option-size-border-width: 2px;
7
+ /* LIST THEME TOKENS */
8
+ @include list-tokens.list-theme-tokens;
5
9
  }
@@ -11,9 +11,7 @@
11
11
  --kbq-checkbox-size-big-horizontal-content-padding: var(--kbq-size-s);
12
12
  --kbq-checkbox-size-big-vertical-content-padding: var(--kbq-size-3xs);
13
13
  --kbq-checkbox-size-big-top: var(--kbq-size-xxs);
14
- }
15
-
16
- :where(.kbq-light, .theme-light, .kbq-theme-light) {
14
+ /* THEME TOKENS */
17
15
  --kbq-checkbox-theme-default-border: var(--kbq-line-contrast-fade);
18
16
  --kbq-checkbox-theme-default-color: var(--kbq-icon-white);
19
17
  --kbq-checkbox-theme-default-text: var(--kbq-foreground-contrast);
@@ -59,50 +57,3 @@
59
57
  --kbq-checkbox-error-states-disabled-background: var(--kbq-states-background-disabled);
60
58
  --kbq-checkbox-error-states-disabled-caption: var(--kbq-states-icon-disabled);
61
59
  }
62
-
63
- :where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
64
- --kbq-checkbox-theme-default-border: var(--kbq-line-contrast-fade);
65
- --kbq-checkbox-theme-default-color: var(--kbq-icon-white);
66
- --kbq-checkbox-theme-default-text: var(--kbq-foreground-contrast);
67
- --kbq-checkbox-theme-default-background: var(--kbq-background-bg);
68
- --kbq-checkbox-theme-default-caption: var(--kbq-foreground-contrast-secondary);
69
- --kbq-checkbox-theme-states-hover-border: var(--kbq-line-contrast-fade);
70
- --kbq-checkbox-theme-states-hover-background: var(--kbq-states-background-transparent-hover);
71
- --kbq-checkbox-theme-states-checked-border: transparent;
72
- --kbq-checkbox-theme-states-checked-background: var(--kbq-background-theme);
73
- --kbq-checkbox-theme-states-checked-hover-border: transparent;
74
- --kbq-checkbox-theme-states-checked-hover-background: var(--kbq-states-background-theme-hover);
75
- --kbq-checkbox-theme-states-focused-border: var(--kbq-states-line-focus-theme);
76
- --kbq-checkbox-theme-states-focused-background: var(--kbq-background-bg);
77
- --kbq-checkbox-theme-states-focused-outline: 1px solid var(--kbq-states-line-focus-theme);
78
- --kbq-checkbox-theme-states-checked-focused-border: var(--kbq-states-line-focus-theme);
79
- --kbq-checkbox-theme-states-checked-focused-background: var(--kbq-background-theme);
80
- --kbq-checkbox-theme-states-checked-focused-outline: 1px solid var(--kbq-states-line-focus-theme);
81
- --kbq-checkbox-theme-states-disabled-border: var(--kbq-line-contrast-fade);
82
- --kbq-checkbox-theme-states-disabled-color: var(--kbq-states-icon-disabled);
83
- --kbq-checkbox-theme-states-disabled-text: var(--kbq-states-foreground-disabled);
84
- --kbq-checkbox-theme-states-disabled-background: var(--kbq-states-background-disabled);
85
- --kbq-checkbox-theme-states-disabled-caption: var(--kbq-states-icon-disabled);
86
- --kbq-checkbox-error-default-border: var(--kbq-line-error);
87
- --kbq-checkbox-error-default-color: var(--kbq-icon-white);
88
- --kbq-checkbox-error-default-text: var(--kbq-foreground-contrast);
89
- --kbq-checkbox-error-default-background: var(--kbq-states-background-error-less);
90
- --kbq-checkbox-error-default-caption: var(--kbq-foreground-contrast-secondary);
91
- --kbq-checkbox-error-states-hover-border: var(--kbq-line-error);
92
- --kbq-checkbox-error-states-hover-background: var(--kbq-states-background-error-fade-hover);
93
- --kbq-checkbox-error-states-checked-border: transparent;
94
- --kbq-checkbox-error-states-checked-background: var(--kbq-background-error);
95
- --kbq-checkbox-error-states-checked-hover-border: transparent;
96
- --kbq-checkbox-error-states-checked-hover-background: var(--kbq-states-background-error-hover);
97
- --kbq-checkbox-error-states-focused-border: var(--kbq-line-error);
98
- --kbq-checkbox-error-states-focused-background: var(--kbq-states-background-error-less);
99
- --kbq-checkbox-error-states-focused-outline: 1px solid var(--kbq-states-line-focus-error);
100
- --kbq-checkbox-error-states-checked-focused-border: var(--kbq-states-line-focus-error);
101
- --kbq-checkbox-error-states-checked-focused-background: var(--kbq-background-error);
102
- --kbq-checkbox-error-states-checked-focused-outline: 1px solid var(--kbq-states-line-focus-error);
103
- --kbq-checkbox-error-states-disabled-border: var(--kbq-line-contrast-fade);
104
- --kbq-checkbox-error-states-disabled-color: var(--kbq-states-icon-disabled);
105
- --kbq-checkbox-error-states-disabled-text: var(--kbq-states-foreground-disabled);
106
- --kbq-checkbox-error-states-disabled-background: var(--kbq-states-background-disabled);
107
- --kbq-checkbox-error-states-disabled-caption: var(--kbq-states-icon-disabled);
108
- }
@@ -1,10 +1,10 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class KbqMeasureScrollbarService {
3
- private document;
3
+ protected readonly document: Document;
4
4
  get scrollBarWidth(): number;
5
5
  private _scrollBarWidth;
6
6
  private scrollbarMeasure;
7
- constructor(document: any);
7
+ constructor();
8
8
  initScrollBarWidth(): void;
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqMeasureScrollbarService, never>;
10
10
  static ɵprov: i0.ɵɵInjectableDeclaration<KbqMeasureScrollbarService>;
@@ -24,12 +24,13 @@ export declare enum KbqThemeSelector {
24
24
  }
25
25
  export declare const KbqDefaultThemes: KbqTheme[];
26
26
  export declare class ThemeService<T extends KbqTheme | null = KbqTheme> implements OnDestroy {
27
- private rendererFactory;
27
+ protected readonly document: Document;
28
+ protected readonly rendererFactory: RendererFactory2;
29
+ protected renderer: Renderer2;
28
30
  current: BehaviorSubject<T>;
29
31
  themes: T[];
30
- protected renderer: Renderer2;
31
32
  protected subscription: Subscription;
32
- constructor(rendererFactory: RendererFactory2);
33
+ constructor();
33
34
  ngOnDestroy(): void;
34
35
  setThemes(items: T[]): void;
35
36
  setTheme(value: T | number): void;
@@ -3,7 +3,7 @@
3
3
 
4
4
  @use 'theming/scrollbar-theme' as *;
5
5
 
6
- @use '../../link/link-theme' as *;
6
+ @use '../../link/link-theme';
7
7
  @use '../../markdown/markdown-theme' as *;
8
8
  @use '../../tabs/tabs-theme' as *;
9
9
  @use '../../tags/tag-theme' as *;
@@ -17,7 +17,7 @@
17
17
  @include kbq-forms-theme();
18
18
  @include kbq-highlight-theme();
19
19
  // link is a directive, so styles for it should be applied globally
20
- @include kbq-link-theme();
20
+ @include link-theme.kbq-link-theme();
21
21
  @include kbq-markdown-theme();
22
22
  @include kbq-scrollbar-theme();
23
23
  @include kbq-tabs-theme();
@@ -29,6 +29,7 @@
29
29
  @include kbq-markdown-base-typography();
30
30
  @include kbq-markdown-typography();
31
31
 
32
+ @include link-theme.kbq-link-typography();
32
33
  @include kbq-forms-typography();
33
34
  @include kbq-tabs-typography();
34
35
  @include kbq-tag-typography();
@@ -64,11 +64,9 @@
64
64
  gap: var(--kbq-size-s);
65
65
 
66
66
  border: var(--kbq-size-3xs) solid transparent;
67
+ border-radius: var(--kbq-size-border-radius);
67
68
 
68
- padding-top: var(--kbq-size-xxs);
69
- padding-left: var(--kbq-size-m);
70
- padding-right: var(--kbq-size-m);
71
- padding-bottom: var(--kbq-size-xxs);
69
+ padding: var(--kbq-size-xxs) kbq-difference-series-css-variables([size-m, size-3xs]);
72
70
 
73
71
  .kbq-list-text {
74
72
  @include kbq-list-text();
@@ -90,8 +88,8 @@
90
88
  border-right: var(--kbq-size-3xs) solid transparent;
91
89
 
92
90
  padding-top: var(--kbq-size-xs);
93
- padding-left: var(--kbq-size-m);
94
- padding-right: var(--kbq-size-m);
91
+ padding-left: kbq-difference-series-css-variables([size-m, size-3xs]);
92
+ padding-right: kbq-difference-series-css-variables([size-m, size-3xs]);
95
93
  padding-bottom: var(--kbq-size-3xs);
96
94
 
97
95
  .kbq-list-text {
@@ -110,8 +108,8 @@
110
108
  border-right: var(--kbq-size-3xs) solid transparent;
111
109
 
112
110
  padding-top: var(--kbq-size-m);
113
- padding-left: var(--kbq-size-m);
114
- padding-right: var(--kbq-size-m);
111
+ padding-left: kbq-difference-series-css-variables([size-m, size-3xs]);
112
+ padding-right: kbq-difference-series-css-variables([size-m, size-3xs]);
115
113
  padding-bottom: var(--kbq-size-xxs);
116
114
 
117
115
  .kbq-list-text {
@@ -165,6 +165,7 @@
165
165
  }
166
166
 
167
167
  .kbq-select__search-container {
168
+ padding: var(--kbq-size-xxs);
168
169
  border-bottom: {
169
170
  width: 1px;
170
171
  style: solid;
@@ -174,7 +175,7 @@
174
175
 
175
176
  %kbq-select-content {
176
177
  max-height: var(--kbq-select-panel-size-max-height, 256px);
177
- padding: 4px 0;
178
+ padding: var(--kbq-size-xxs);
178
179
  overflow: hidden auto;
179
180
  }
180
181
 
@@ -188,5 +189,5 @@
188
189
  border-top-width: 1px;
189
190
  border-top-style: solid;
190
191
 
191
- padding: var(--kbq-size-xxs) var(--kbq-size-m);
192
+ padding: var(--kbq-size-xxs) var(--kbq-size-l);
192
193
  }
@@ -5,22 +5,7 @@
5
5
  --kbq-scrollbar-size-thumb-width: var(--kbq-size-s);
6
6
  --kbq-scrollbar-size-thumb-min-size: var(--kbq-size-xl);
7
7
  --kbq-scrollbar-size-thumb-border-radius: var(--kbq-size-s);
8
- }
9
-
10
- :where(.kbq-light, .theme-light, .kbq-theme-light) {
11
- --kbq-scrollbar-thumb-default-background: var(--kbq-icon-contrast-fade);
12
- --kbq-scrollbar-thumb-hover-background: var(--kbq-states-icon-contrast-fade-hover);
13
- --kbq-scrollbar-thumb-active-background: var(--kbq-states-icon-contrast-fade-active);
14
- --kbq-scrollbar-thumb-disabled-background: var(--kbq-states-icon-disabled);
15
- --kbq-scrollbar-track-default-border: transparent;
16
- --kbq-scrollbar-track-default-background: transparent;
17
- --kbq-scrollbar-track-hover-border: transparent;
18
- --kbq-scrollbar-track-hover-background: transparent;
19
- --kbq-scrollbar-track-active-border: transparent;
20
- --kbq-scrollbar-track-active-background: transparent;
21
- }
22
-
23
- :where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
8
+ /* THEME TOKENS */
24
9
  --kbq-scrollbar-thumb-default-background: var(--kbq-icon-contrast-fade);
25
10
  --kbq-scrollbar-thumb-hover-background: var(--kbq-states-icon-contrast-fade-hover);
26
11
  --kbq-scrollbar-thumb-active-background: var(--kbq-states-icon-contrast-fade-active);
@@ -9,9 +9,7 @@
9
9
  --kbq-datepicker-size-grid-cell-padding-horizontal: var(--kbq-size-s);
10
10
  --kbq-datepicker-size-grid-cell-padding-vertical: var(--kbq-size-s);
11
11
  --kbq-datepicker-size-grid-cell-border-radius: var(--kbq-size-s);
12
- }
13
-
14
- :where(.kbq-light, .theme-light, .kbq-theme-light) {
12
+ /* THEME TOKENS */
15
13
  --kbq-datepicker-container-background: var(--kbq-background-card);
16
14
  --kbq-datepicker-container-shadow: var(--kbq-shadow-popup);
17
15
  --kbq-datepicker-header-text: var(--kbq-foreground-contrast-tertiary);
@@ -28,21 +26,3 @@
28
26
  --kbq-datepicker-grid-cell-states-disabled-background: transparent;
29
27
  --kbq-datepicker-grid-cell-states-disabled-text: var(--kbq-states-foreground-disabled);
30
28
  }
31
-
32
- :where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
33
- --kbq-datepicker-container-background: var(--kbq-background-card);
34
- --kbq-datepicker-container-shadow: var(--kbq-shadow-popup);
35
- --kbq-datepicker-header-text: var(--kbq-foreground-contrast-tertiary);
36
- --kbq-datepicker-header-divider: var(--kbq-line-contrast-less);
37
- --kbq-datepicker-grid-cell-default-background: transparent;
38
- --kbq-datepicker-grid-cell-default-text: var(--kbq-foreground-contrast);
39
- --kbq-datepicker-grid-cell-today-background: transparent;
40
- --kbq-datepicker-grid-cell-today-text: var(--kbq-foreground-theme);
41
- --kbq-datepicker-grid-cell-states-hover-background: var(--kbq-states-background-transparent-hover);
42
- --kbq-datepicker-grid-cell-states-active-background: var(--kbq-states-background-transparent-active);
43
- --kbq-datepicker-grid-cell-states-selected-background: var(--kbq-background-contrast);
44
- --kbq-datepicker-grid-cell-states-selected-text: var(--kbq-foreground-on-contrast);
45
- --kbq-datepicker-grid-cell-states-selected-hover-background: var(--kbq-states-background-contrast-active);
46
- --kbq-datepicker-grid-cell-states-disabled-background: transparent;
47
- --kbq-datepicker-grid-cell-states-disabled-text: var(--kbq-states-foreground-disabled);
48
- }
@@ -49,7 +49,7 @@ export declare class KbqDatepicker<D> implements OnDestroy {
49
49
  private viewContainerRef;
50
50
  private readonly dateAdapter;
51
51
  private dir;
52
- private document;
52
+ protected readonly document: Document;
53
53
  get hasBackdrop(): boolean;
54
54
  set hasBackdrop(value: boolean);
55
55
  private _hasBackdrop;
@@ -115,7 +115,7 @@ export declare class KbqDatepicker<D> implements OnDestroy {
115
115
  /** Subscription to value changes in the associated input element. */
116
116
  private inputSubscription;
117
117
  private closeSubscription;
118
- constructor(overlay: Overlay, ngZone: NgZone, viewContainerRef: ViewContainerRef, scrollStrategy: any, dateAdapter: DateAdapter<D>, dir: Directionality, document: any);
118
+ constructor(overlay: Overlay, ngZone: NgZone, viewContainerRef: ViewContainerRef, scrollStrategy: any, dateAdapter: DateAdapter<D>, dir: Directionality);
119
119
  ngOnDestroy(): void;
120
120
  /** Selects the given date */
121
121
  select(date: D): void;
@@ -143,6 +143,6 @@ export declare class KbqDatepicker<D> implements OnDestroy {
143
143
  private closingActions;
144
144
  /** Create the popup PositionStrategy. */
145
145
  private createPopupPositionStrategy;
146
- static ɵfac: i0.ɵɵFactoryDeclaration<KbqDatepicker<any>, [null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
146
+ static ɵfac: i0.ɵɵFactoryDeclaration<KbqDatepicker<any>, [null, null, null, null, { optional: true; }, { optional: true; }]>;
147
147
  static ɵcmp: i0.ɵɵComponentDeclaration<KbqDatepicker<any>, "kbq-datepicker", ["kbqDatepicker"], { "hasBackdrop": { "alias": "hasBackdrop"; "required": false; }; "startAt": { "alias": "startAt"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "dateClass": { "alias": "dateClass"; "required": false; }; "backdropClass": { "alias": "backdropClass"; "required": false; }; }, { "yearSelected": "yearSelected"; "monthSelected": "monthSelected"; "openedStream": "opened"; "closedStream": "closed"; }, never, never, false, never>;
148
148
  }
@@ -3,12 +3,6 @@
3
3
  --kbq-divider-size-horizontal-margin-vertical: var(--kbq-size-xxs);
4
4
  --kbq-divider-size-vertical-width: 1px;
5
5
  --kbq-divider-size-vertical-margin-horizontal: var(--kbq-size-xxs);
6
- }
7
-
8
- :where(.kbq-light, .theme-light, .kbq-theme-light) {
9
- --kbq-divider-color: var(--kbq-line-contrast-less);
10
- }
11
-
12
- :where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
6
+ /* THEME TOKENS */
13
7
  --kbq-divider-color: var(--kbq-line-contrast-less);
14
8
  }
package/dl/dl-tokens.scss CHANGED
@@ -3,14 +3,7 @@
3
3
  --kbq-description-list-size-horizontal-gap-vertical: var(--kbq-size-l);
4
4
  --kbq-description-list-size-vertical-content-gap-vertical: var(--kbq-size-3xs);
5
5
  --kbq-description-list-size-vertical-gap-vertical: var(--kbq-size-m);
6
- }
7
-
8
- :where(.kbq-light, .theme-light, .kbq-theme-light) {
9
- --kbq-description-list-term-color: var(--kbq-foreground-contrast-secondary);
10
- --kbq-description-list-description-color: var(--kbq-foreground-contrast);
11
- }
12
-
13
- :where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
6
+ /* THEME TOKENS */
14
7
  --kbq-description-list-term-color: var(--kbq-foreground-contrast-secondary);
15
8
  --kbq-description-list-description-color: var(--kbq-foreground-contrast);
16
9
  }
package/dl/dl.scss CHANGED
@@ -37,7 +37,7 @@
37
37
  grid-column: 1;
38
38
  }
39
39
 
40
- .kbq-dd {
40
+ .kbq-dd:not(:last-child) {
41
41
  margin-bottom: var(--kbq-description-list-size-vertical-gap-vertical);
42
42
  }
43
43
  }
@@ -43,6 +43,16 @@
43
43
  &.kbq-disabled {
44
44
  @include kbq-dropdown-item-state(states-disabled);
45
45
  }
46
+
47
+ &:is(.kbq-selected, .cdk-keyboard-focused):has(+ :is(.kbq-selected, .cdk-keyboard-focused)) {
48
+ border-bottom-left-radius: 0;
49
+ border-bottom-right-radius: 0;
50
+ }
51
+
52
+ &:is(.kbq-selected, .cdk-keyboard-focused) + :is(.kbq-selected, .cdk-keyboard-focused) {
53
+ border-top-left-radius: 0;
54
+ border-top-right-radius: 0;
55
+ }
46
56
  }
47
57
 
48
58
  .kbq-dropdown__group-header {
@@ -10,12 +10,12 @@ export declare class KbqDropdownContent implements OnDestroy {
10
10
  private appRef;
11
11
  private injector;
12
12
  private viewContainerRef;
13
- private document;
13
+ protected readonly document: Document;
14
14
  /** Emits when the dropdown content has been attached. */
15
15
  attached: Subject<void>;
16
16
  private portal;
17
17
  private outlet;
18
- constructor(template: TemplateRef<any>, componentFactoryResolver: ComponentFactoryResolver, appRef: ApplicationRef, injector: Injector, viewContainerRef: ViewContainerRef, document: any);
18
+ constructor(template: TemplateRef<any>, componentFactoryResolver: ComponentFactoryResolver, appRef: ApplicationRef, injector: Injector, viewContainerRef: ViewContainerRef);
19
19
  /**
20
20
  * Attaches the content with a particular context.
21
21
  * @docs-private