@koobiq/components 17.6.1 → 17.7.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 (260) hide show
  1. package/alert/alert.module.d.ts +3 -4
  2. package/autocomplete/autocomplete.module.d.ts +1 -1
  3. package/badge/badge.module.d.ts +3 -4
  4. package/button/button.module.d.ts +4 -5
  5. package/code-block/code-block.module.d.ts +6 -7
  6. package/core/forms/_forms-theme.scss +7 -15
  7. package/core/forms/_forms.scss +3 -9
  8. package/core/forms/forms-tokens.scss +39 -0
  9. package/core/option/_optgroup-theme.scss +4 -10
  10. package/core/option/_option-action-theme.scss +7 -15
  11. package/core/option/_option-theme.scss +13 -24
  12. package/core/option/action.scss +4 -0
  13. package/core/option/optgroup-tokens.scss +26 -0
  14. package/core/option/optgroup.scss +4 -5
  15. package/core/option/option-action-tokens.scss +21 -0
  16. package/core/option/option-module.d.ts +2 -3
  17. package/core/option/option-tokens.scss +115 -0
  18. package/core/option/option.scss +5 -3
  19. package/core/styles/_koobiq-theme.scss +7 -37
  20. package/core/styles/theming/_scrollbar-theme.scss +10 -11
  21. package/core/styles/theming/scrollbar-tokens.scss +34 -0
  22. package/datepicker/datepicker-module.d.ts +8 -8
  23. package/dl/dl.module.d.ts +3 -4
  24. package/dropdown/dropdown.module.d.ts +4 -4
  25. package/empty-state/empty-state.module.d.ts +3 -4
  26. package/esm2022/alert/alert.component.mjs +3 -4
  27. package/esm2022/alert/alert.module.mjs +3 -7
  28. package/esm2022/autocomplete/autocomplete.module.mjs +15 -5
  29. package/esm2022/badge/badge.module.mjs +3 -7
  30. package/esm2022/button/button.module.mjs +3 -7
  31. package/esm2022/code-block/actionbar.component.mjs +6 -7
  32. package/esm2022/code-block/code-block.component.mjs +8 -9
  33. package/esm2022/code-block/code-block.module.mjs +4 -8
  34. package/esm2022/core/option/action.mjs +14 -25
  35. package/esm2022/core/option/optgroup.mjs +3 -3
  36. package/esm2022/core/option/option-module.mjs +4 -5
  37. package/esm2022/core/option/option.mjs +5 -6
  38. package/esm2022/core/version.mjs +2 -2
  39. package/esm2022/datepicker/calendar-body.component.mjs +3 -3
  40. package/esm2022/datepicker/calendar-header.component.mjs +8 -8
  41. package/esm2022/datepicker/datepicker-module.mjs +10 -9
  42. package/esm2022/datepicker/datepicker-toggle.component.mjs +5 -6
  43. package/esm2022/datepicker/month-view.component.mjs +4 -5
  44. package/esm2022/dl/dl.module.mjs +3 -7
  45. package/esm2022/dropdown/dropdown-item.component.mjs +5 -6
  46. package/esm2022/dropdown/dropdown.module.mjs +8 -9
  47. package/esm2022/empty-state/empty-state.module.mjs +3 -7
  48. package/esm2022/file-upload/file-upload.module.mjs +12 -9
  49. package/esm2022/file-upload/multiple-file-upload.component.mjs +10 -10
  50. package/esm2022/file-upload/single-file-upload.component.mjs +10 -10
  51. package/esm2022/form-field/form-field.mjs +7 -8
  52. package/esm2022/form-field/form-field.module.mjs +9 -5
  53. package/esm2022/form-field/password-hint.mjs +3 -3
  54. package/esm2022/form-field/password-toggle.mjs +3 -3
  55. package/esm2022/icon/icon.module.mjs +3 -7
  56. package/esm2022/input/input.module.mjs +3 -7
  57. package/esm2022/link/link.module.mjs +3 -7
  58. package/esm2022/list/list-selection.component.mjs +4 -5
  59. package/esm2022/list/list.module.mjs +3 -7
  60. package/esm2022/loader-overlay/loader-overlay.component.mjs +4 -5
  61. package/esm2022/loader-overlay/loader-overlay.module.mjs +3 -7
  62. package/esm2022/markdown/markdown.module.mjs +4 -5
  63. package/esm2022/modal/modal.component.mjs +7 -7
  64. package/esm2022/modal/modal.module.mjs +12 -9
  65. package/esm2022/navbar/navbar-item.component.mjs +30 -31
  66. package/esm2022/navbar/navbar.module.mjs +3 -7
  67. package/esm2022/popover/popover-confirm.component.mjs +4 -4
  68. package/esm2022/popover/popover.component.mjs +8 -8
  69. package/esm2022/popover/popover.module.mjs +40 -7
  70. package/esm2022/progress-bar/progress-bar.component.mjs +3 -4
  71. package/esm2022/progress-bar/progress-bar.module.mjs +3 -7
  72. package/esm2022/progress-spinner/progress-spinner.component.mjs +3 -3
  73. package/esm2022/progress-spinner/progress-spinner.module.mjs +7 -8
  74. package/esm2022/radio/radio.component.mjs +3 -3
  75. package/esm2022/radio/radio.module.mjs +4 -5
  76. package/esm2022/risk-level/risk-level.component.mjs +3 -3
  77. package/esm2022/risk-level/risk-level.module.mjs +3 -7
  78. package/esm2022/scrollbar/scrollbar.component.mjs +3 -3
  79. package/esm2022/select/select.component.mjs +8 -8
  80. package/esm2022/select/select.module.mjs +11 -13
  81. package/esm2022/sidebar/sidebar.component.mjs +3 -4
  82. package/esm2022/sidepanel/sidepanel-container.component.mjs +5 -6
  83. package/esm2022/sidepanel/sidepanel-directives.mjs +30 -29
  84. package/esm2022/sidepanel/sidepanel.module.mjs +3 -7
  85. package/esm2022/splitter/splitter.component.mjs +3 -4
  86. package/esm2022/splitter/splitter.module.mjs +3 -7
  87. package/esm2022/table/table.module.mjs +3 -7
  88. package/esm2022/tabs/tab-group.component.mjs +9 -10
  89. package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +3 -3
  90. package/esm2022/tabs/tabs.module.mjs +3 -7
  91. package/esm2022/tags/tag-list.component.mjs +3 -4
  92. package/esm2022/tags/tag.module.mjs +4 -5
  93. package/esm2022/textarea/textarea.module.mjs +4 -5
  94. package/esm2022/timepicker/timepicker.module.mjs +3 -7
  95. package/esm2022/timezone/timezone-option.component.mjs +6 -6
  96. package/esm2022/timezone/timezone-select.component.mjs +7 -7
  97. package/esm2022/timezone/timezone.module.mjs +10 -9
  98. package/esm2022/toast/toast.component.mjs +6 -6
  99. package/esm2022/toast/toast.module.mjs +10 -9
  100. package/esm2022/toggle/toggle.module.mjs +4 -5
  101. package/esm2022/tooltip/tooltip.component.mjs +3 -3
  102. package/esm2022/tooltip/tooltip.module.mjs +11 -5
  103. package/esm2022/tree/tree-option.component.mjs +5 -6
  104. package/esm2022/tree/tree.module.mjs +3 -7
  105. package/esm2022/tree-select/tree-select.component.mjs +7 -7
  106. package/esm2022/tree-select/tree-select.module.mjs +11 -12
  107. package/fesm2022/koobiq-components-alert.mjs +4 -9
  108. package/fesm2022/koobiq-components-alert.mjs.map +1 -1
  109. package/fesm2022/koobiq-components-autocomplete.mjs +14 -4
  110. package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
  111. package/fesm2022/koobiq-components-badge.mjs +2 -6
  112. package/fesm2022/koobiq-components-badge.mjs.map +1 -1
  113. package/fesm2022/koobiq-components-button.mjs +2 -6
  114. package/fesm2022/koobiq-components-button.mjs.map +1 -1
  115. package/fesm2022/koobiq-components-code-block.mjs +15 -20
  116. package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
  117. package/fesm2022/koobiq-components-core.mjs +22 -33
  118. package/fesm2022/koobiq-components-core.mjs.map +1 -1
  119. package/fesm2022/koobiq-components-datepicker.mjs +21 -20
  120. package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
  121. package/fesm2022/koobiq-components-dl.mjs +2 -6
  122. package/fesm2022/koobiq-components-dl.mjs.map +1 -1
  123. package/fesm2022/koobiq-components-dropdown.mjs +16 -17
  124. package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
  125. package/fesm2022/koobiq-components-empty-state.mjs +2 -6
  126. package/fesm2022/koobiq-components-empty-state.mjs.map +1 -1
  127. package/fesm2022/koobiq-components-file-upload.mjs +22 -19
  128. package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
  129. package/fesm2022/koobiq-components-form-field.mjs +17 -13
  130. package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
  131. package/fesm2022/koobiq-components-icon.mjs +2 -6
  132. package/fesm2022/koobiq-components-icon.mjs.map +1 -1
  133. package/fesm2022/koobiq-components-input.mjs +2 -6
  134. package/fesm2022/koobiq-components-input.mjs.map +1 -1
  135. package/fesm2022/koobiq-components-link.mjs +2 -6
  136. package/fesm2022/koobiq-components-link.mjs.map +1 -1
  137. package/fesm2022/koobiq-components-list.mjs +5 -10
  138. package/fesm2022/koobiq-components-list.mjs.map +1 -1
  139. package/fesm2022/koobiq-components-loader-overlay.mjs +5 -10
  140. package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
  141. package/fesm2022/koobiq-components-markdown.mjs +3 -4
  142. package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
  143. package/fesm2022/koobiq-components-modal.mjs +18 -15
  144. package/fesm2022/koobiq-components-modal.mjs.map +1 -1
  145. package/fesm2022/koobiq-components-navbar.mjs +32 -36
  146. package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
  147. package/fesm2022/koobiq-components-popover.mjs +47 -14
  148. package/fesm2022/koobiq-components-popover.mjs.map +1 -1
  149. package/fesm2022/koobiq-components-progress-bar.mjs +4 -9
  150. package/fesm2022/koobiq-components-progress-bar.mjs.map +1 -1
  151. package/fesm2022/koobiq-components-progress-spinner.mjs +8 -9
  152. package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
  153. package/fesm2022/koobiq-components-radio.mjs +5 -6
  154. package/fesm2022/koobiq-components-radio.mjs.map +1 -1
  155. package/fesm2022/koobiq-components-risk-level.mjs +4 -8
  156. package/fesm2022/koobiq-components-risk-level.mjs.map +1 -1
  157. package/fesm2022/koobiq-components-scrollbar.mjs +2 -2
  158. package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -1
  159. package/fesm2022/koobiq-components-select.mjs +17 -19
  160. package/fesm2022/koobiq-components-select.mjs.map +1 -1
  161. package/fesm2022/koobiq-components-sidebar.mjs +2 -3
  162. package/fesm2022/koobiq-components-sidebar.mjs.map +1 -1
  163. package/fesm2022/koobiq-components-sidepanel.mjs +35 -38
  164. package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
  165. package/fesm2022/koobiq-components-splitter.mjs +4 -9
  166. package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
  167. package/fesm2022/koobiq-components-table.mjs +2 -6
  168. package/fesm2022/koobiq-components-table.mjs.map +1 -1
  169. package/fesm2022/koobiq-components-tabs.mjs +8 -13
  170. package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
  171. package/fesm2022/koobiq-components-tags.mjs +5 -7
  172. package/fesm2022/koobiq-components-tags.mjs.map +1 -1
  173. package/fesm2022/koobiq-components-textarea.mjs +3 -4
  174. package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
  175. package/fesm2022/koobiq-components-timepicker.mjs +2 -6
  176. package/fesm2022/koobiq-components-timepicker.mjs.map +1 -1
  177. package/fesm2022/koobiq-components-timezone.mjs +19 -18
  178. package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
  179. package/fesm2022/koobiq-components-toast.mjs +14 -13
  180. package/fesm2022/koobiq-components-toast.mjs.map +1 -1
  181. package/fesm2022/koobiq-components-toggle.mjs +3 -4
  182. package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
  183. package/fesm2022/koobiq-components-tooltip.mjs +12 -6
  184. package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
  185. package/fesm2022/koobiq-components-tree-select.mjs +16 -17
  186. package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
  187. package/fesm2022/koobiq-components-tree.mjs +10 -15
  188. package/fesm2022/koobiq-components-tree.mjs.map +1 -1
  189. package/file-upload/file-upload.module.d.ts +12 -12
  190. package/file-upload/single-file-upload.component.d.ts +1 -1
  191. package/form-field/form-field-tokens.scss +12 -0
  192. package/form-field/form-field.module.d.ts +3 -3
  193. package/icon/icon.module.d.ts +3 -4
  194. package/input/input.module.d.ts +5 -6
  195. package/link/link.module.d.ts +2 -3
  196. package/list/list.module.d.ts +3 -4
  197. package/loader-overlay/loader-overlay.module.d.ts +4 -5
  198. package/markdown/markdown.module.d.ts +4 -5
  199. package/modal/modal.module.d.ts +7 -7
  200. package/navbar/navbar.module.d.ts +5 -6
  201. package/package.json +4 -4
  202. package/popover/popover.module.d.ts +7 -7
  203. package/prebuilt-themes/dark-theme.css +1 -1
  204. package/prebuilt-themes/light-theme.css +1 -1
  205. package/progress-bar/_progress-bar-theme.scss +6 -12
  206. package/progress-bar/progress-bar-tokens.scss +36 -0
  207. package/progress-bar/progress-bar.module.d.ts +2 -3
  208. package/progress-bar/progress-bar.scss +4 -4
  209. package/progress-spinner/_progress-spinner-theme.scss +5 -11
  210. package/progress-spinner/progress-spinner-tokens.scss +38 -0
  211. package/progress-spinner/progress-spinner.module.d.ts +3 -3
  212. package/progress-spinner/progress-spinner.scss +4 -4
  213. package/radio/_radio-theme.scss +21 -36
  214. package/radio/radio-tokens.scss +166 -0
  215. package/radio/radio.module.d.ts +3 -4
  216. package/radio/radio.scss +4 -5
  217. package/risk-level/_risk-level-theme.scss +20 -24
  218. package/risk-level/risk-level-tokens.scss +72 -0
  219. package/risk-level/risk-level.component.scss +5 -3
  220. package/risk-level/risk-level.module.d.ts +3 -4
  221. package/schematics/ng-add/index.js +2 -2
  222. package/scrollbar/_scrollbar-component-theme.scss +13 -31
  223. package/scrollbar/scrollbar-tokens.scss +34 -0
  224. package/scrollbar/scrollbar.component.scss +4 -3
  225. package/select/_select-theme.scss +11 -22
  226. package/select/select-tokens.scss +59 -0
  227. package/select/select.component.d.ts +1 -1
  228. package/select/select.module.d.ts +7 -7
  229. package/select/select.scss +5 -3
  230. package/sidepanel/_sidepanel-theme.scss +6 -12
  231. package/sidepanel/sidepanel-tokens.scss +48 -0
  232. package/sidepanel/sidepanel.module.d.ts +8 -9
  233. package/sidepanel/sidepanel.scss +4 -4
  234. package/splitter/_splitter-theme.scss +2 -6
  235. package/splitter/splitter-tokens.scss +7 -0
  236. package/splitter/splitter.module.d.ts +2 -3
  237. package/splitter/splitter.scss +4 -0
  238. package/table/table.module.d.ts +3 -4
  239. package/tabs/_tabs-common.scss +0 -6
  240. package/tabs/_tabs-theme.scss +30 -65
  241. package/tabs/tab-group.scss +0 -3
  242. package/tabs/tab-header.scss +0 -3
  243. package/tabs/tab-nav-bar/tab-nav-bar.scss +0 -2
  244. package/tabs/tabs-tokens.scss +136 -0
  245. package/tabs/tabs.module.d.ts +7 -8
  246. package/tags/_tag-theme.scss +17 -26
  247. package/tags/tag-input-tokens.scss +14 -0
  248. package/tags/tag-list.scss +0 -6
  249. package/tags/tag-tokens.scss +151 -0
  250. package/tags/tag.module.d.ts +2 -3
  251. package/tags/tag.scss +0 -3
  252. package/textarea/textarea.module.d.ts +4 -5
  253. package/timepicker/timepicker.module.d.ts +4 -5
  254. package/timezone/timezone.module.d.ts +9 -9
  255. package/toast/toast.module.d.ts +7 -7
  256. package/toggle/toggle.module.d.ts +3 -4
  257. package/tooltip/tooltip.module.d.ts +3 -3
  258. package/tree/tree.module.d.ts +3 -4
  259. package/tree-select/tree-select.component.d.ts +1 -1
  260. package/tree-select/tree-select.module.d.ts +7 -7
@@ -0,0 +1,72 @@
1
+ .kbq-risk-level {
2
+ --kbq-risk-level-size-padding-vertical: 2px;
3
+ --kbq-risk-level-size-padding-horizontal: 8px;
4
+ --kbq-risk-level-size-border-width: 1px;
5
+ --kbq-risk-level-size-border-radius: 4px;
6
+ --kbq-risk-level-font-text-font-size: 18px;
7
+ --kbq-risk-level-font-text-line-height: 26px;
8
+ --kbq-risk-level-font-text-letter-spacing: normal;
9
+ --kbq-risk-level-font-text-font-weight: 600;
10
+ --kbq-risk-level-font-text-font-family: 'TT-Positive', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI',
11
+ 'Helvetica Neue', Arial, sans-serif;
12
+ --kbq-risk-level-font-text-text-transform: null;
13
+ --kbq-risk-level-font-text-font-feature-settings: 'calt', 'kern', 'liga';
14
+ }
15
+
16
+ :where(.kbq-light, .theme-light, .kbq-theme-light) {
17
+ --kbq-risk-level-filled-fade-off-success-background: hsla(104, 64%, 45%, 100%);
18
+ --kbq-risk-level-filled-fade-off-success-text: hsla(0, 0%, 100%, 100%);
19
+ --kbq-risk-level-filled-fade-off-warning-background: hsla(38, 100%, 50%, 100%);
20
+ --kbq-risk-level-filled-fade-off-warning-text: hsla(0, 0%, 100%, 100%);
21
+ --kbq-risk-level-filled-fade-off-error-background: hsla(7, 97%, 60%, 100%);
22
+ --kbq-risk-level-filled-fade-off-error-text: hsla(0, 0%, 100%, 100%);
23
+ --kbq-risk-level-filled-fade-on-contrast-background: hsla(229, 15%, 92%, 100%);
24
+ --kbq-risk-level-filled-fade-on-contrast-text: hsla(229, 15%, 15%, 100%);
25
+ --kbq-risk-level-filled-fade-on-success-background: hsla(104, 64%, 80%, 100%);
26
+ --kbq-risk-level-filled-fade-on-success-text: hsla(104, 64%, 30%, 100%);
27
+ --kbq-risk-level-filled-fade-on-warning-background: hsla(38, 100%, 85%, 100%);
28
+ --kbq-risk-level-filled-fade-on-warning-text: hsla(38, 100%, 33%, 100%);
29
+ --kbq-risk-level-filled-fade-on-error-background: hsla(7, 97%, 90%, 100%);
30
+ --kbq-risk-level-filled-fade-on-error-text: hsla(7, 97%, 40%, 100%);
31
+ --kbq-risk-level-outline-fade-on-contrast-background: transparent;
32
+ --kbq-risk-level-outline-fade-on-contrast-text: hsla(229, 15%, 15%, 100%);
33
+ --kbq-risk-level-outline-fade-on-contrast-border: hsla(229, 15%, 80%, 100%);
34
+ --kbq-risk-level-outline-fade-on-success-background: transparent;
35
+ --kbq-risk-level-outline-fade-on-success-text: hsla(104, 64%, 30%, 100%);
36
+ --kbq-risk-level-outline-fade-on-success-border: hsla(104, 64%, 45%, 100%);
37
+ --kbq-risk-level-outline-fade-on-warning-background: transparent;
38
+ --kbq-risk-level-outline-fade-on-warning-text: hsla(38, 100%, 33%, 100%);
39
+ --kbq-risk-level-outline-fade-on-warning-border: hsla(38, 100%, 55%, 100%);
40
+ --kbq-risk-level-outline-fade-on-error-background: transparent;
41
+ --kbq-risk-level-outline-fade-on-error-text: hsla(7, 97%, 40%, 100%);
42
+ --kbq-risk-level-outline-fade-on-error-border: hsla(7, 97%, 65%, 100%);
43
+ }
44
+
45
+ :where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
46
+ --kbq-risk-level-filled-fade-off-success-background: hsla(104, 64%, 40%, 100%);
47
+ --kbq-risk-level-filled-fade-off-success-text: hsla(0, 0%, 100%, 100%);
48
+ --kbq-risk-level-filled-fade-off-warning-background: hsla(38, 100%, 39%, 100%);
49
+ --kbq-risk-level-filled-fade-off-warning-text: hsla(0, 0%, 100%, 100%);
50
+ --kbq-risk-level-filled-fade-off-error-background: hsla(7, 97%, 41%, 100%);
51
+ --kbq-risk-level-filled-fade-off-error-text: hsla(0, 0%, 100%, 100%);
52
+ --kbq-risk-level-filled-fade-on-contrast-background: hsla(229, 15%, 25%, 100%);
53
+ --kbq-risk-level-filled-fade-on-contrast-text: hsla(229, 15%, 80%, 100%);
54
+ --kbq-risk-level-filled-fade-on-success-background: hsla(104, 64%, 12%, 100%);
55
+ --kbq-risk-level-filled-fade-on-success-text: hsla(104, 64%, 45%, 100%);
56
+ --kbq-risk-level-filled-fade-on-warning-background: hsla(38, 100%, 14%, 100%);
57
+ --kbq-risk-level-filled-fade-on-warning-text: hsla(38, 100%, 60%, 100%);
58
+ --kbq-risk-level-filled-fade-on-error-background: hsla(7, 97%, 15%, 100%);
59
+ --kbq-risk-level-filled-fade-on-error-text: hsla(7, 97%, 60%, 100%);
60
+ --kbq-risk-level-outline-fade-on-contrast-background: transparent;
61
+ --kbq-risk-level-outline-fade-on-contrast-text: hsla(229, 15%, 80%, 100%);
62
+ --kbq-risk-level-outline-fade-on-contrast-border: hsla(229, 15%, 30%, 100%);
63
+ --kbq-risk-level-outline-fade-on-success-background: transparent;
64
+ --kbq-risk-level-outline-fade-on-success-text: hsla(104, 64%, 45%, 100%);
65
+ --kbq-risk-level-outline-fade-on-success-border: hsla(104, 64%, 20%, 100%);
66
+ --kbq-risk-level-outline-fade-on-warning-background: transparent;
67
+ --kbq-risk-level-outline-fade-on-warning-text: hsla(38, 100%, 60%, 100%);
68
+ --kbq-risk-level-outline-fade-on-warning-border: hsla(38, 100%, 20%, 100%);
69
+ --kbq-risk-level-outline-fade-on-error-background: transparent;
70
+ --kbq-risk-level-outline-fade-on-error-text: hsla(7, 97%, 60%, 100%);
71
+ --kbq-risk-level-outline-fade-on-error-border: hsla(7, 97%, 35%, 100%);
72
+ }
@@ -1,8 +1,7 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
1
  @use '../core/styles/common/tokens' as *;
5
2
 
3
+ @use './risk-level-theme' as *;
4
+
6
5
  .kbq-risk-level {
7
6
  box-sizing: border-box;
8
7
 
@@ -18,3 +17,6 @@
18
17
  radius: kbq-css-variable(risk-level-size-border-radius);
19
18
  }
20
19
  }
20
+
21
+ @include kbq-risk-level-theme();
22
+ @include kbq-risk-level-typography();
@@ -1,10 +1,9 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./risk-level.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/cdk/a11y";
5
- import * as i4 from "@angular/cdk/platform";
3
+ import * as i2 from "@angular/cdk/a11y";
4
+ import * as i3 from "@angular/cdk/platform";
6
5
  export declare class KbqRiskLevelModule {
7
6
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqRiskLevelModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<KbqRiskLevelModule, [typeof i1.KbqRiskLevel], [typeof i2.CommonModule, typeof i3.A11yModule, typeof i4.PlatformModule], [typeof i1.KbqRiskLevel]>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KbqRiskLevelModule, [typeof i1.KbqRiskLevel], [typeof i2.A11yModule, typeof i3.PlatformModule], [typeof i1.KbqRiskLevel]>;
9
8
  static ɵinj: i0.ɵɵInjectorDeclaration<KbqRiskLevelModule>;
10
9
  }
@@ -52,8 +52,8 @@ function ngAdd(options) {
52
52
  }
53
53
  // Installing dependencies
54
54
  addPackageToPackageJson(tree, '@angular/cdk', "^17.2.0");
55
- addPackageToPackageJson(tree, '@koobiq/cdk', "^17.6.1");
56
- addPackageToPackageJson(tree, '@koobiq/angular-luxon-adapter', "^17.6.1");
55
+ addPackageToPackageJson(tree, '@koobiq/cdk', "^17.7.1");
56
+ addPackageToPackageJson(tree, '@koobiq/angular-luxon-adapter', "^17.7.1");
57
57
  addPackageToPackageJson(tree, '@koobiq/date-formatter', "^3.1.2");
58
58
  addPackageToPackageJson(tree, '@koobiq/date-adapter', "^3.1.2");
59
59
  addPackageToPackageJson(tree, '@koobiq/icons', "^7.1.1");
@@ -1,37 +1,25 @@
1
- @use 'sass:map';
2
1
  @use '../core/styles/common/tokens' as *;
3
2
 
4
- @mixin kbq-scrollbar-component-theme($theme) {
5
- $scrollbar: map.get(map.get($theme, components), scrollbar);
6
-
3
+ @mixin kbq-scrollbar-component-theme() {
7
4
  .kbq-scrollbar-component {
8
5
  .os-scrollbar {
9
6
  .os-scrollbar-handle {
10
7
  &::before {
11
- border-color: kbq-css-variable(scrollbar-thumb-default-background, map.get($scrollbar, default));
12
- background-color: kbq-css-variable(
13
- scrollbar-thumb-default-background,
14
- map.get($scrollbar, default)
15
- );
8
+ border-color: kbq-css-variable(scrollbar-thumb-default-background);
9
+ background-color: kbq-css-variable(scrollbar-thumb-default-background);
16
10
  }
17
11
 
18
12
  &:hover {
19
13
  &::before {
20
- border-color: kbq-css-variable(scrollbar-thumb-hover-background, map.get($scrollbar, hover));
21
- background-color: kbq-css-variable(
22
- scrollbar-thumb-hover-background,
23
- map.get($scrollbar, hover)
24
- );
14
+ border-color: kbq-css-variable(scrollbar-thumb-hover-background);
15
+ background-color: kbq-css-variable(scrollbar-thumb-hover-background);
25
16
  }
26
17
  }
27
18
 
28
19
  &:active {
29
20
  &::before {
30
- border-color: kbq-css-variable(scrollbar-thumb-active-background, map.get($scrollbar, active));
31
- background-color: kbq-css-variable(
32
- scrollbar-thumb-active-background,
33
- map.get($scrollbar, active)
34
- );
21
+ border-color: kbq-css-variable(scrollbar-thumb-active-background);
22
+ background-color: kbq-css-variable(scrollbar-thumb-active-background);
35
23
  }
36
24
  }
37
25
  }
@@ -39,23 +27,17 @@
39
27
  .os-scrollbar-track,
40
28
  .os-scrollbar-handle {
41
29
  border-style: solid;
42
- border-color: kbq-css-variable(
43
- scrollbar-track-default-border,
44
- map.get($scrollbar, track, default)
45
- ) !important;
46
- background-color: kbq-css-variable(
47
- scrollbar-track-default-background,
48
- map.get($scrollbar, track, default)
49
- );
30
+ border-color: kbq-css-variable(scrollbar-track-default-border) !important;
31
+ background-color: kbq-css-variable(scrollbar-track-default-background);
50
32
 
51
33
  &:hover {
52
- border-color: kbq-css-variable(scrollbar-track-hover-border, map.get($scrollbar, track, hover));
53
- background: kbq-css-variable(scrollbar-track-hover-background, map.get($scrollbar, track, hover));
34
+ border-color: kbq-css-variable(scrollbar-track-hover-border);
35
+ background: kbq-css-variable(scrollbar-track-hover-background);
54
36
  }
55
37
 
56
38
  &:active {
57
- border-color: kbq-css-variable(scrollbar-track-active-border, map.get($scrollbar, track, active));
58
- background: kbq-css-variable(scrollbar-track-active-background, map.get($scrollbar, track, active));
39
+ border-color: kbq-css-variable(scrollbar-track-active-border);
40
+ background: kbq-css-variable(scrollbar-track-active-background);
59
41
  }
60
42
  }
61
43
  }
@@ -0,0 +1,34 @@
1
+ .kbq-scrollbar-component {
2
+ --kbq-scrollbar-size-track-dimension: 16px;
3
+ --kbq-scrollbar-size-track-padding-vertical: 2px;
4
+ --kbq-scrollbar-size-track-padding-horizontal: 2px;
5
+ --kbq-scrollbar-size-thumb-width: 8px;
6
+ --kbq-scrollbar-size-thumb-min-size: 20px;
7
+ --kbq-scrollbar-size-thumb-border-radius: 8px;
8
+ }
9
+
10
+ :where(.kbq-light, .theme-light, .kbq-theme-light) {
11
+ --kbq-scrollbar-thumb-default-background: hsla(229, 15%, 60%, 100%);
12
+ --kbq-scrollbar-thumb-hover-background: hsla(229, 15%, 50%, 100%);
13
+ --kbq-scrollbar-thumb-active-background: hsla(229, 15%, 40%, 100%);
14
+ --kbq-scrollbar-thumb-disabled-background: hsla(229, 15%, 15%, 32%);
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) {
24
+ --kbq-scrollbar-thumb-default-background: hsla(229, 15%, 45%, 100%);
25
+ --kbq-scrollbar-thumb-hover-background: hsla(229, 15%, 50%, 100%);
26
+ --kbq-scrollbar-thumb-active-background: hsla(229, 15%, 40%, 100%);
27
+ --kbq-scrollbar-thumb-disabled-background: hsla(229, 15%, 30%, 100%);
28
+ --kbq-scrollbar-track-default-border: transparent;
29
+ --kbq-scrollbar-track-default-background: transparent;
30
+ --kbq-scrollbar-track-hover-border: transparent;
31
+ --kbq-scrollbar-track-hover-background: transparent;
32
+ --kbq-scrollbar-track-active-border: transparent;
33
+ --kbq-scrollbar-track-active-background: transparent;
34
+ }
@@ -1,8 +1,7 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
1
  @use '../core/styles/common/tokens' as *;
5
2
 
3
+ @use './scrollbar-component-theme' as *;
4
+
6
5
  .kbq-scrollbar-component {
7
6
  $scrollbar-size-thumb-width: kbq-css-variable(scrollbar-size-thumb-width);
8
7
  $padding-vertical: kbq-css-variable(scrollbar-size-track-padding-vertical);
@@ -79,6 +78,8 @@
79
78
  }
80
79
  }
81
80
 
81
+ @include kbq-scrollbar-component-theme();
82
+
82
83
  // core
83
84
  .os-size-observer,
84
85
  .os-size-observer-listener {
@@ -1,56 +1,45 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
1
  @use '../core/styles/common/popup' as *;
5
2
  @use '../core/styles/theming/theming' as *;
6
- @use '../core/styles/typography/typography-utils' as *;
7
3
  @use '../core/styles/common/tokens' as *;
8
4
 
9
- @mixin kbq-select-theme($theme) {
10
- $foreground: map.get($theme, foreground);
11
-
12
- $error: map.get($theme, error);
13
-
14
- $select-panel: map.get($theme, components, select-panel);
15
- $divider: map.get($theme, components, divider);
16
-
5
+ @mixin kbq-select-theme() {
17
6
  .kbq-select {
18
- color: kbq-css-variable(foreground-contrast, map.get($foreground, contrast));
7
+ color: kbq-css-variable(foreground-contrast);
19
8
 
20
9
  &.ng-invalid {
21
- color: kbq-css-variable(error-default, kbq-color($error));
10
+ color: kbq-css-variable(error-default);
22
11
  }
23
12
 
24
13
  &.kbq-disabled {
25
- color: kbq-css-variable(foreground-text-disabled, map.get($foreground, text-disabled));
14
+ color: kbq-css-variable(foreground-text-disabled);
26
15
  }
27
16
  }
28
17
 
29
18
  .kbq-select__placeholder {
30
19
  text-overflow: ellipsis;
31
20
 
32
- color: kbq-css-variable(foreground-text-disabled, map.get($foreground, text-disabled));
21
+ color: kbq-css-variable(foreground-text-disabled);
33
22
  }
34
23
 
35
24
  .kbq-select__panel {
36
- box-shadow: kbq-css-variable(select-panel-dropdown-shadow, map.get($select-panel, shadow));
37
- background: kbq-css-variable(select-panel-dropdown-background, map.get($select-panel, background));
25
+ box-shadow: kbq-css-variable(select-panel-dropdown-shadow);
26
+ background: kbq-css-variable(select-panel-dropdown-background);
38
27
 
39
28
  & .kbq-select__footer {
40
- border-color: kbq-css-variable(divider-color, map.get($divider, color));
29
+ border-color: kbq-css-variable(divider-color);
41
30
  }
42
31
  }
43
32
 
44
33
  .kbq-select__search-container {
45
- border-bottom-color: kbq-css-variable(divider-color, map.get($divider, color));
34
+ border-bottom-color: kbq-css-variable(divider-color);
46
35
  }
47
36
 
48
37
  .kbq-select__no-options-message {
49
- color: kbq-css-variable(foreground-text-less-contrast, map.get($foreground, text-less-contrast));
38
+ color: kbq-css-variable(foreground-text-less-contrast);
50
39
  }
51
40
  }
52
41
 
53
- @mixin kbq-select-typography($config) {
42
+ @mixin kbq-select-typography() {
54
43
  .kbq-select {
55
44
  @include kbq-typography-css-variables(select, default);
56
45
  }
@@ -0,0 +1,59 @@
1
+ .kbq-select,
2
+ .kbq-select__panel {
3
+ --kbq-size-xxs: 4px;
4
+ --kbq-size-m: 12px;
5
+ --kbq-option-size-horizontal-padding: 12px;
6
+ --kbq-option-size-height: 32px;
7
+ --kbq-option-size-border-width: 2px;
8
+ --kbq-select-size-single-padding-left: 12px;
9
+ --kbq-select-size-single-padding-right: 4px;
10
+ --kbq-select-size-single-padding-vertical: 6px;
11
+ --kbq-select-size-single-content-gap: 4px;
12
+ --kbq-select-size-multiple-padding-left: 4px;
13
+ --kbq-select-size-multiple-padding-right: 4px;
14
+ --kbq-select-size-multiple-padding-vertical: 4px;
15
+ --kbq-select-size-multiple-content-gap: 4px;
16
+ --kbq-select-font-default-font-size: 14px;
17
+ --kbq-select-font-default-line-height: 20px;
18
+ --kbq-select-font-default-letter-spacing: -0.006em;
19
+ --kbq-select-font-default-font-weight: normal;
20
+ --kbq-select-font-default-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial,
21
+ sans-serif;
22
+ --kbq-select-font-default-text-transform: null;
23
+ --kbq-select-font-default-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
24
+ --kbq-select-panel-size-border-radius: 8px;
25
+ --kbq-select-panel-size-max-height: 256px;
26
+ --kbq-select-panel-font-default-font-size: 14px;
27
+ --kbq-select-panel-font-default-line-height: 20px;
28
+ --kbq-select-panel-font-default-letter-spacing: -0.006em;
29
+ --kbq-select-panel-font-default-font-weight: normal;
30
+ --kbq-select-panel-font-default-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue',
31
+ Arial, sans-serif;
32
+ --kbq-select-panel-font-default-text-transform: null;
33
+ --kbq-select-panel-font-default-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
34
+ }
35
+
36
+ :where(.kbq-light, .theme-light, .kbq-theme-light) {
37
+ --kbq-error-default: hsla(7, 97%, 50%, 100%);
38
+ --kbq-foreground-contrast: hsla(229, 15%, 15%, 100%);
39
+ --kbq-foreground-contrast-secondary: hsla(229, 15%, 50%, 100%);
40
+ --kbq-foreground-contrast-tertiary: hsla(229, 15%, 60%, 100%);
41
+ --kbq-foreground-text-less-contrast: hsla(229, 15%, 50%, 100%);
42
+ --kbq-foreground-text-disabled: hsla(229, 15%, 70%, 100%);
43
+ --kbq-divider-color: hsla(229, 15%, 6%, 12%);
44
+ --kbq-select-panel-dropdown-background: hsla(229, 15%, 100%, 100%);
45
+ --kbq-select-panel-dropdown-shadow: 0 0 0 1px hsla(229, 15%, 6%, 3%), 0 2px 8px hsla(229, 15%, 6%, 6%),
46
+ 0 3px 8px hsla(229, 15%, 6%, 12%);
47
+ }
48
+
49
+ :where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
50
+ --kbq-error-default: hsla(7, 97%, 50%, 100%);
51
+ --kbq-foreground-contrast: hsla(229, 15%, 80%, 100%);
52
+ --kbq-foreground-contrast-secondary: hsla(229, 15%, 60%, 100%);
53
+ --kbq-foreground-contrast-tertiary: hsla(229, 15%, 45%, 100%);
54
+ --kbq-foreground-text-less-contrast: hsla(229, 15%, 50%, 100%);
55
+ --kbq-foreground-text-disabled: hsla(229, 15%, 70%, 100%);
56
+ --kbq-divider-color: hsla(229, 15%, 22%, 100%);
57
+ --kbq-select-panel-dropdown-background: hsla(229, 15%, 15%, 100%);
58
+ --kbq-select-panel-dropdown-shadow: 0 0 0 1px hsla(229, 100%, 85%, 15%);
59
+ }
@@ -308,6 +308,6 @@ export declare class KbqSelect extends KbqSelectMixinBase implements AfterConten
308
308
  private getTotalVisibleItems;
309
309
  private buildTriggerClone;
310
310
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqSelect, [null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; self: true; }, null, { optional: true; }]>;
311
- static ɵcmp: i0.ɵɵComponentDeclaration<KbqSelect, "kbq-select", ["kbqSelect"], { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "hiddenItemsText": { "alias": "hiddenItemsText"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "backdropClass": { "alias": "backdropClass"; "required": false; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; "sortComparator": { "alias": "sortComparator"; "required": false; }; "hasBackdrop": { "alias": "hasBackdrop"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "value": { "alias": "value"; "required": false; }; "id": { "alias": "id"; "required": false; }; "hiddenItemsTextFormatter": { "alias": "hiddenItemsTextFormatter"; "required": false; }; }, { "openedChange": "openedChange"; "openedStream": "opened"; "closedStream": "closed"; "selectionChange": "selectionChange"; "valueChange": "valueChange"; }, ["footer", "cdkVirtualForOf", "customTrigger", "customMatcher", "customTagTemplateRef", "cleaner", "search", "options", "optionGroups"], ["kbq-select-trigger, [kbq-select-trigger]", "kbq-cleaner", "kbq-select-matcher, [kbq-select-matcher]", "[kbqSelectSearch]", "[kbq-select-search-empty-result]", "*", "kbq-select-footer,[kbq-select-footer]"], false, never>;
311
+ static ɵcmp: i0.ɵɵComponentDeclaration<KbqSelect, "kbq-select", ["kbqSelect"], { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "hiddenItemsText": { "alias": "hiddenItemsText"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "backdropClass": { "alias": "backdropClass"; "required": false; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; "sortComparator": { "alias": "sortComparator"; "required": false; }; "hasBackdrop": { "alias": "hasBackdrop"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "value": { "alias": "value"; "required": false; }; "id": { "alias": "id"; "required": false; }; "hiddenItemsTextFormatter": { "alias": "hiddenItemsTextFormatter"; "required": false; }; }, { "openedChange": "openedChange"; "openedStream": "opened"; "closedStream": "closed"; "selectionChange": "selectionChange"; "valueChange": "valueChange"; }, ["footer", "cdkVirtualForOf", "customTrigger", "customMatcher", "customTagTemplateRef", "cleaner", "search", "options", "optionGroups"], ["kbq-select-matcher, [kbq-select-matcher]", "kbq-select-trigger, [kbq-select-trigger]", "kbq-cleaner", "[kbqSelectSearch]", "[kbq-select-search-empty-result]", "*", "kbq-select-footer,[kbq-select-footer]"], false, never>;
312
312
  }
313
313
  export {};
@@ -1,15 +1,15 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./select.component";
3
3
  import * as i2 from "./select-option.directive";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "@angular/cdk/overlay";
6
- import * as i5 from "@koobiq/components/core";
7
- import * as i6 from "@koobiq/components/icon";
8
- import * as i7 from "@koobiq/components/tags";
9
- import * as i8 from "@koobiq/components/tooltip";
4
+ import * as i3 from "@angular/cdk/overlay";
5
+ import * as i4 from "@koobiq/components/core";
6
+ import * as i5 from "@koobiq/components/icon";
7
+ import * as i6 from "@koobiq/components/tags";
8
+ import * as i7 from "@koobiq/components/tooltip";
9
+ import * as i8 from "@angular/common";
10
10
  import * as i9 from "@koobiq/components/form-field";
11
11
  export declare class KbqSelectModule {
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqSelectModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<KbqSelectModule, [typeof i1.KbqSelect, typeof i2.KbqOptionTooltip], [typeof i3.CommonModule, typeof i4.OverlayModule, typeof i5.KbqOptionModule, typeof i6.KbqIconModule, typeof i7.KbqTagsModule, typeof i8.KbqToolTipModule, typeof i5.KbqSelectSearch, typeof i5.KbqSelectFooter, typeof i5.KbqSelectMatcher, typeof i5.KbqSelectTrigger, typeof i5.KbqSelectSearchEmptyResult], [typeof i9.KbqFormFieldModule, typeof i1.KbqSelect, typeof i2.KbqOptionTooltip, typeof i5.KbqOptionModule, typeof i3.CommonModule, typeof i5.KbqSelectSearch, typeof i5.KbqSelectFooter, typeof i5.KbqSelectMatcher, typeof i5.KbqSelectTrigger, typeof i5.KbqSelectSearchEmptyResult]>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KbqSelectModule, [typeof i1.KbqSelect, typeof i2.KbqOptionTooltip], [typeof i3.OverlayModule, typeof i4.KbqOptionModule, typeof i5.KbqIconModule, typeof i6.KbqTagsModule, typeof i7.KbqToolTipModule, typeof i4.KbqSelectSearch, typeof i4.KbqSelectFooter, typeof i4.KbqSelectMatcher, typeof i4.KbqSelectTrigger, typeof i4.KbqSelectSearchEmptyResult, typeof i8.NgClass, typeof i8.NgTemplateOutlet], [typeof i9.KbqFormFieldModule, typeof i1.KbqSelect, typeof i2.KbqOptionTooltip, typeof i4.KbqOptionModule, typeof i4.KbqSelectSearch, typeof i4.KbqSelectFooter, typeof i4.KbqSelectMatcher, typeof i4.KbqSelectTrigger, typeof i4.KbqSelectSearchEmptyResult]>;
14
14
  static ɵinj: i0.ɵɵInjectorDeclaration<KbqSelectModule>;
15
15
  }
@@ -1,10 +1,9 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
1
  @use '../core/styles/common/select' as *;
5
2
 
6
3
  @use '../core/styles/common/tokens' as *;
7
4
 
5
+ @use './select-theme' as *;
6
+
8
7
  .kbq-select {
9
8
  @extend %kbq-select-base;
10
9
  }
@@ -35,3 +34,6 @@
35
34
  cursor: pointer;
36
35
  }
37
36
  }
37
+
38
+ @include kbq-select-theme();
39
+ @include kbq-select-typography();
@@ -1,29 +1,23 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
- @use '../core/styles/typography/typography-utils' as *;
5
1
  @use '../core/styles/common/tokens' as *;
6
2
 
7
- @mixin kbq-sidepanel-theme($theme) {
8
- $sidepanel: map.get($theme, components, sidepanel);
9
-
3
+ @mixin kbq-sidepanel-theme() {
10
4
  .kbq-sidepanel-title {
11
- color: kbq-css-variable(sidepanel-header-text-color, map.get($sidepanel, header-text));
5
+ color: kbq-css-variable(sidepanel-header-text-color);
12
6
  }
13
7
 
14
8
  .kbq-sidepanel-content {
15
- background-color: kbq-css-variable(sidepanel-container-background, map.get($sidepanel, background));
16
- color: kbq-css-variable(sidepanel-content-text-color, map.get($sidepanel, content-text));
9
+ background-color: kbq-css-variable(sidepanel-container-background);
10
+ color: kbq-css-variable(sidepanel-content-text-color);
17
11
  }
18
12
 
19
13
  .kbq-sidepanel-container_shadowed {
20
14
  .kbq-sidepanel-content {
21
- box-shadow: kbq-css-variable(sidepanel-container-box-shadow, map.get($sidepanel, box-shadow));
15
+ box-shadow: kbq-css-variable(sidepanel-container-box-shadow);
22
16
  }
23
17
  }
24
18
  }
25
19
 
26
- @mixin kbq-sidepanel-typography($config) {
20
+ @mixin kbq-sidepanel-typography() {
27
21
  .kbq-sidepanel-title {
28
22
  @include kbq-typography-css-variables(sidepanel, header);
29
23
  }
@@ -0,0 +1,48 @@
1
+ .kbq-sidepanel-container {
2
+ --kbq-sidepanel-size-small-width: 400px;
3
+ --kbq-sidepanel-size-medium-width: 640px;
4
+ --kbq-sidepanel-size-large-width: 960px;
5
+ --kbq-sidepanel-size-header-padding-vertical: 16px;
6
+ --kbq-sidepanel-size-header-padding-left: 32px;
7
+ --kbq-sidepanel-size-header-padding-right: 12px;
8
+ --kbq-sidepanel-size-close-button-margin-left: 8px;
9
+ --kbq-sidepanel-size-content-padding-horizontal: 32px;
10
+ --kbq-sidepanel-size-content-padding-bottom: 24px;
11
+ --kbq-sidepanel-size-footer-padding-top: 8px;
12
+ --kbq-sidepanel-size-footer-padding-bottom: 32px;
13
+ --kbq-sidepanel-size-footer-padding-horizontal: 32px;
14
+ --kbq-sidepanel-size-footer-content-gap-horizontal: 16px;
15
+ --kbq-sidepanel-font-header-font-size: 20px;
16
+ --kbq-sidepanel-font-header-line-height: 28px;
17
+ --kbq-sidepanel-font-header-letter-spacing: normal;
18
+ --kbq-sidepanel-font-header-font-weight: 700;
19
+ --kbq-sidepanel-font-header-font-family: 'TT-Positive', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI',
20
+ 'Helvetica Neue', Arial, sans-serif;
21
+ --kbq-sidepanel-font-header-text-transform: null;
22
+ --kbq-sidepanel-font-header-font-feature-settings: 'calt', 'kern', 'liga';
23
+ --kbq-sidepanel-font-content-font-size: 14px;
24
+ --kbq-sidepanel-font-content-line-height: 20px;
25
+ --kbq-sidepanel-font-content-letter-spacing: -0.006em;
26
+ --kbq-sidepanel-font-content-font-weight: normal;
27
+ --kbq-sidepanel-font-content-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue',
28
+ Arial, sans-serif;
29
+ --kbq-sidepanel-font-content-text-transform: null;
30
+ --kbq-sidepanel-font-content-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
31
+ }
32
+
33
+ :where(.kbq-light, .theme-light, .kbq-theme-light) {
34
+ --kbq-sidepanel-overlay-background: hsla(229, 15%, 20%, 32%);
35
+ --kbq-sidepanel-container-background: hsla(229, 15%, 100%, 100%);
36
+ --kbq-sidepanel-container-box-shadow: 0 0 0 1px hsla(229, 15%, 6%, 3%), 0 3px 16px hsla(229, 15%, 6%, 6%),
37
+ 0 4px 32px hsla(229, 15%, 6%, 12%);
38
+ --kbq-sidepanel-header-text-color: hsla(229, 15%, 15%, 100%);
39
+ --kbq-sidepanel-content-text-color: hsla(229, 15%, 15%, 100%);
40
+ }
41
+
42
+ :where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
43
+ --kbq-sidepanel-overlay-background: hsla(229, 15%, 6%, 64%);
44
+ --kbq-sidepanel-container-background: hsla(229, 15%, 15%, 100%);
45
+ --kbq-sidepanel-container-box-shadow: 0 0 0 1px hsla(229, 100%, 85%, 15%);
46
+ --kbq-sidepanel-header-text-color: hsla(229, 15%, 80%, 100%);
47
+ --kbq-sidepanel-content-text-color: hsla(229, 15%, 80%, 100%);
48
+ }
@@ -1,16 +1,15 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./sidepanel-container.component";
3
3
  import * as i2 from "./sidepanel-directives";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "@angular/cdk/overlay";
6
- import * as i5 from "@angular/cdk/portal";
7
- import * as i6 from "@koobiq/components/core";
8
- import * as i7 from "@koobiq/components/button";
9
- import * as i8 from "@koobiq/components/icon";
10
- import * as i9 from "@koobiq/components/title";
11
- import * as i10 from "@angular/cdk/a11y";
4
+ import * as i3 from "@angular/cdk/overlay";
5
+ import * as i4 from "@angular/cdk/portal";
6
+ import * as i5 from "@koobiq/components/core";
7
+ import * as i6 from "@koobiq/components/button";
8
+ import * as i7 from "@koobiq/components/icon";
9
+ import * as i8 from "@koobiq/components/title";
10
+ import * as i9 from "@angular/cdk/a11y";
12
11
  export declare class KbqSidepanelModule {
13
12
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqSidepanelModule, never>;
14
- static ɵmod: i0.ɵɵNgModuleDeclaration<KbqSidepanelModule, [typeof i1.KbqSidepanelContainerComponent, typeof i2.KbqSidepanelClose, typeof i2.KbqSidepanelHeader, typeof i2.KbqSidepanelBody, typeof i2.KbqSidepanelFooter, typeof i2.KbqSidepanelActions], [typeof i3.CommonModule, typeof i4.OverlayModule, typeof i5.PortalModule, typeof i6.KbqCommonModule, typeof i7.KbqButtonModule, typeof i8.KbqIconModule, typeof i9.KbqTitleModule, typeof i10.A11yModule], [typeof i1.KbqSidepanelContainerComponent, typeof i2.KbqSidepanelClose, typeof i2.KbqSidepanelHeader, typeof i2.KbqSidepanelBody, typeof i2.KbqSidepanelFooter, typeof i2.KbqSidepanelActions]>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KbqSidepanelModule, [typeof i1.KbqSidepanelContainerComponent, typeof i2.KbqSidepanelClose, typeof i2.KbqSidepanelHeader, typeof i2.KbqSidepanelBody, typeof i2.KbqSidepanelFooter, typeof i2.KbqSidepanelActions], [typeof i3.OverlayModule, typeof i4.PortalModule, typeof i5.KbqCommonModule, typeof i6.KbqButtonModule, typeof i7.KbqIconModule, typeof i8.KbqTitleModule, typeof i9.A11yModule], [typeof i1.KbqSidepanelContainerComponent, typeof i2.KbqSidepanelClose, typeof i2.KbqSidepanelHeader, typeof i2.KbqSidepanelBody, typeof i2.KbqSidepanelFooter, typeof i2.KbqSidepanelActions]>;
15
14
  static ɵinj: i0.ɵɵInjectorDeclaration<KbqSidepanelModule>;
16
15
  }
@@ -1,11 +1,8 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
1
  @use '../core/styles/common';
5
2
 
6
3
  @use '../core/styles/common/tokens' as *;
7
4
 
8
- $tokens: meta.module-variables(tokens) !default;
5
+ @use './sidepanel-theme' as *;
9
6
 
10
7
  .kbq-sidepanel-container_top,
11
8
  .kbq-sidepanel-container_bottom {
@@ -182,3 +179,6 @@ $tokens: meta.module-variables(tokens) !default;
182
179
  gap: kbq-css-variable(sidepanel-size-footer-content-gap-horizontal);
183
180
  }
184
181
  }
182
+
183
+ @include kbq-sidepanel-theme();
184
+ @include kbq-sidepanel-typography();
@@ -1,10 +1,6 @@
1
- @use 'sass:map';
2
-
3
1
  @use '../core/styles/common/tokens' as *;
4
2
 
5
- @mixin kbq-splitter-theme($theme) {
6
- $background: map.get($theme, states, background);
7
-
3
+ @mixin kbq-splitter-theme() {
8
4
  .kbq-gutter {
9
5
  cursor: col-resize;
10
6
 
@@ -18,7 +14,7 @@
18
14
  }
19
15
 
20
16
  &[disabled] {
21
- background-color: kbq-css-variable(background-background-disabled, map.get($background, disabled));
17
+ background-color: kbq-css-variable(background-background-disabled);
22
18
 
23
19
  cursor: default;
24
20
  }
@@ -0,0 +1,7 @@
1
+ :where(.kbq-light, .theme-light, .kbq-theme-light) {
2
+ --kbq-background-background-disabled: hsla(229, 15%, 95%, 100%);
3
+ }
4
+
5
+ :where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
6
+ --kbq-background-background-disabled: hsla(229, 15%, 95%, 100%);
7
+ }
@@ -1,9 +1,8 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./splitter.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@koobiq/components/icon";
3
+ import * as i2 from "@koobiq/components/icon";
5
4
  export declare class KbqSplitterModule {
6
5
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqSplitterModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<KbqSplitterModule, [typeof i1.KbqGutterDirective, typeof i1.KbqGutterGhostDirective, typeof i1.KbqSplitterAreaDirective, typeof i1.KbqSplitterComponent], [typeof i2.CommonModule, typeof i3.KbqIconModule], [typeof i1.KbqGutterDirective, typeof i1.KbqSplitterAreaDirective, typeof i1.KbqSplitterComponent]>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KbqSplitterModule, [typeof i1.KbqGutterDirective, typeof i1.KbqGutterGhostDirective, typeof i1.KbqSplitterAreaDirective, typeof i1.KbqSplitterComponent], [typeof i2.KbqIconModule], [typeof i1.KbqGutterDirective, typeof i1.KbqSplitterAreaDirective, typeof i1.KbqSplitterComponent]>;
8
7
  static ɵinj: i0.ɵɵInjectorDeclaration<KbqSplitterModule>;
9
8
  }
@@ -1,3 +1,5 @@
1
+ @use './splitter-theme' as *;
2
+
1
3
  .kbq-splitter {
2
4
  display: flex;
3
5
  position: relative;
@@ -45,3 +47,5 @@
45
47
  display: block;
46
48
  }
47
49
  }
50
+
51
+ @include kbq-splitter-theme();