@koobiq/components 17.6.0 → 17.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (274) hide show
  1. package/alert/alert.module.d.ts +3 -4
  2. package/autocomplete/autocomplete.module.d.ts +1 -1
  3. package/badge/badge-tokens.scss +1 -1
  4. package/badge/badge.module.d.ts +3 -4
  5. package/button/button-tokens.scss +2 -3
  6. package/button/button.module.d.ts +4 -5
  7. package/code-block/code-block.module.d.ts +6 -7
  8. package/core/forms/_forms-theme.scss +7 -15
  9. package/core/forms/_forms.scss +3 -9
  10. package/core/forms/forms-tokens.scss +39 -0
  11. package/core/option/_optgroup-theme.scss +4 -10
  12. package/core/option/_option-action-theme.scss +7 -15
  13. package/core/option/_option-theme.scss +13 -24
  14. package/core/option/action.scss +4 -0
  15. package/core/option/optgroup-tokens.scss +26 -0
  16. package/core/option/optgroup.scss +4 -5
  17. package/core/option/option-action-tokens.scss +21 -0
  18. package/core/option/option-module.d.ts +2 -3
  19. package/core/option/option-tokens.scss +115 -0
  20. package/core/option/option.scss +5 -3
  21. package/core/styles/_koobiq-theme.scss +7 -37
  22. package/core/styles/theming/_scrollbar-theme.scss +10 -11
  23. package/core/styles/theming/scrollbar-tokens.scss +34 -0
  24. package/datepicker/datepicker-module.d.ts +8 -8
  25. package/dl/dl.module.d.ts +3 -4
  26. package/dropdown/dropdown-tokens.scss +0 -1
  27. package/dropdown/dropdown.module.d.ts +4 -4
  28. package/empty-state/empty-state.module.d.ts +3 -4
  29. package/esm2022/alert/alert.component.mjs +3 -4
  30. package/esm2022/alert/alert.module.mjs +3 -7
  31. package/esm2022/autocomplete/autocomplete.module.mjs +15 -5
  32. package/esm2022/badge/badge.component.mjs +2 -2
  33. package/esm2022/badge/badge.module.mjs +3 -7
  34. package/esm2022/button/button.component.mjs +2 -2
  35. package/esm2022/button/button.module.mjs +3 -7
  36. package/esm2022/code-block/actionbar.component.mjs +6 -7
  37. package/esm2022/code-block/code-block.component.mjs +8 -9
  38. package/esm2022/code-block/code-block.module.mjs +4 -8
  39. package/esm2022/core/option/action.mjs +14 -25
  40. package/esm2022/core/option/optgroup.mjs +3 -3
  41. package/esm2022/core/option/option-module.mjs +4 -5
  42. package/esm2022/core/option/option.mjs +5 -6
  43. package/esm2022/core/version.mjs +2 -2
  44. package/esm2022/datepicker/calendar-body.component.mjs +3 -3
  45. package/esm2022/datepicker/calendar-header.component.mjs +8 -8
  46. package/esm2022/datepicker/datepicker-module.mjs +10 -9
  47. package/esm2022/datepicker/datepicker-toggle.component.mjs +5 -6
  48. package/esm2022/datepicker/month-view.component.mjs +4 -5
  49. package/esm2022/dl/dl.module.mjs +3 -7
  50. package/esm2022/dropdown/dropdown-item.component.mjs +5 -6
  51. package/esm2022/dropdown/dropdown.module.mjs +8 -9
  52. package/esm2022/empty-state/empty-state.module.mjs +3 -7
  53. package/esm2022/file-upload/file-upload.module.mjs +12 -9
  54. package/esm2022/file-upload/multiple-file-upload.component.mjs +10 -10
  55. package/esm2022/file-upload/single-file-upload.component.mjs +10 -10
  56. package/esm2022/form-field/form-field.mjs +7 -8
  57. package/esm2022/form-field/form-field.module.mjs +9 -5
  58. package/esm2022/form-field/password-hint.mjs +3 -3
  59. package/esm2022/form-field/password-toggle.mjs +3 -3
  60. package/esm2022/icon/icon.module.mjs +3 -7
  61. package/esm2022/input/input.module.mjs +3 -7
  62. package/esm2022/link/link.module.mjs +3 -7
  63. package/esm2022/list/list-selection.component.mjs +4 -5
  64. package/esm2022/list/list.module.mjs +3 -7
  65. package/esm2022/loader-overlay/loader-overlay.component.mjs +4 -5
  66. package/esm2022/loader-overlay/loader-overlay.module.mjs +3 -7
  67. package/esm2022/markdown/markdown.module.mjs +4 -5
  68. package/esm2022/modal/modal.component.mjs +7 -7
  69. package/esm2022/modal/modal.module.mjs +12 -9
  70. package/esm2022/navbar/navbar-item.component.mjs +30 -31
  71. package/esm2022/navbar/navbar.module.mjs +3 -7
  72. package/esm2022/popover/popover-confirm.component.mjs +4 -4
  73. package/esm2022/popover/popover.component.mjs +8 -8
  74. package/esm2022/popover/popover.module.mjs +40 -7
  75. package/esm2022/progress-bar/progress-bar.component.mjs +3 -4
  76. package/esm2022/progress-bar/progress-bar.module.mjs +3 -7
  77. package/esm2022/progress-spinner/progress-spinner.component.mjs +3 -3
  78. package/esm2022/progress-spinner/progress-spinner.module.mjs +7 -8
  79. package/esm2022/radio/radio.component.mjs +3 -3
  80. package/esm2022/radio/radio.module.mjs +4 -5
  81. package/esm2022/risk-level/risk-level.component.mjs +3 -3
  82. package/esm2022/risk-level/risk-level.module.mjs +3 -7
  83. package/esm2022/scrollbar/scrollbar.component.mjs +3 -3
  84. package/esm2022/select/select.component.mjs +8 -8
  85. package/esm2022/select/select.module.mjs +11 -13
  86. package/esm2022/sidebar/sidebar.component.mjs +3 -4
  87. package/esm2022/sidepanel/sidepanel-container.component.mjs +5 -6
  88. package/esm2022/sidepanel/sidepanel-directives.mjs +30 -29
  89. package/esm2022/sidepanel/sidepanel.module.mjs +3 -7
  90. package/esm2022/splitter/splitter.component.mjs +3 -4
  91. package/esm2022/splitter/splitter.module.mjs +3 -7
  92. package/esm2022/table/table.module.mjs +3 -7
  93. package/esm2022/tabs/tab-group.component.mjs +9 -10
  94. package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +3 -3
  95. package/esm2022/tabs/tabs.module.mjs +3 -7
  96. package/esm2022/tags/tag-list.component.mjs +3 -4
  97. package/esm2022/tags/tag.module.mjs +4 -5
  98. package/esm2022/textarea/textarea.module.mjs +4 -5
  99. package/esm2022/timepicker/timepicker.module.mjs +3 -7
  100. package/esm2022/timezone/timezone-option.component.mjs +6 -6
  101. package/esm2022/timezone/timezone-select.component.mjs +7 -7
  102. package/esm2022/timezone/timezone.module.mjs +10 -9
  103. package/esm2022/toast/toast.component.mjs +6 -6
  104. package/esm2022/toast/toast.module.mjs +10 -9
  105. package/esm2022/toggle/toggle.component.mjs +2 -2
  106. package/esm2022/toggle/toggle.module.mjs +4 -5
  107. package/esm2022/tooltip/tooltip.component.mjs +3 -3
  108. package/esm2022/tooltip/tooltip.module.mjs +11 -5
  109. package/esm2022/tree/toggle.mjs +2 -2
  110. package/esm2022/tree/tree-option.component.mjs +5 -6
  111. package/esm2022/tree/tree-selection.component.mjs +2 -2
  112. package/esm2022/tree/tree.mjs +2 -2
  113. package/esm2022/tree/tree.module.mjs +3 -7
  114. package/esm2022/tree-select/tree-select.component.mjs +7 -7
  115. package/esm2022/tree-select/tree-select.module.mjs +11 -12
  116. package/fesm2022/koobiq-components-alert.mjs +4 -9
  117. package/fesm2022/koobiq-components-alert.mjs.map +1 -1
  118. package/fesm2022/koobiq-components-autocomplete.mjs +14 -4
  119. package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
  120. package/fesm2022/koobiq-components-badge.mjs +4 -8
  121. package/fesm2022/koobiq-components-badge.mjs.map +1 -1
  122. package/fesm2022/koobiq-components-button.mjs +4 -8
  123. package/fesm2022/koobiq-components-button.mjs.map +1 -1
  124. package/fesm2022/koobiq-components-code-block.mjs +15 -20
  125. package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
  126. package/fesm2022/koobiq-components-core.mjs +22 -33
  127. package/fesm2022/koobiq-components-core.mjs.map +1 -1
  128. package/fesm2022/koobiq-components-datepicker.mjs +21 -20
  129. package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
  130. package/fesm2022/koobiq-components-dl.mjs +2 -6
  131. package/fesm2022/koobiq-components-dl.mjs.map +1 -1
  132. package/fesm2022/koobiq-components-dropdown.mjs +16 -17
  133. package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
  134. package/fesm2022/koobiq-components-empty-state.mjs +2 -6
  135. package/fesm2022/koobiq-components-empty-state.mjs.map +1 -1
  136. package/fesm2022/koobiq-components-file-upload.mjs +22 -19
  137. package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
  138. package/fesm2022/koobiq-components-form-field.mjs +17 -13
  139. package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
  140. package/fesm2022/koobiq-components-icon.mjs +2 -6
  141. package/fesm2022/koobiq-components-icon.mjs.map +1 -1
  142. package/fesm2022/koobiq-components-input.mjs +2 -6
  143. package/fesm2022/koobiq-components-input.mjs.map +1 -1
  144. package/fesm2022/koobiq-components-link.mjs +2 -6
  145. package/fesm2022/koobiq-components-link.mjs.map +1 -1
  146. package/fesm2022/koobiq-components-list.mjs +5 -10
  147. package/fesm2022/koobiq-components-list.mjs.map +1 -1
  148. package/fesm2022/koobiq-components-loader-overlay.mjs +5 -10
  149. package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
  150. package/fesm2022/koobiq-components-markdown.mjs +3 -4
  151. package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
  152. package/fesm2022/koobiq-components-modal.mjs +18 -15
  153. package/fesm2022/koobiq-components-modal.mjs.map +1 -1
  154. package/fesm2022/koobiq-components-navbar.mjs +32 -36
  155. package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
  156. package/fesm2022/koobiq-components-popover.mjs +47 -14
  157. package/fesm2022/koobiq-components-popover.mjs.map +1 -1
  158. package/fesm2022/koobiq-components-progress-bar.mjs +4 -9
  159. package/fesm2022/koobiq-components-progress-bar.mjs.map +1 -1
  160. package/fesm2022/koobiq-components-progress-spinner.mjs +8 -9
  161. package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
  162. package/fesm2022/koobiq-components-radio.mjs +5 -6
  163. package/fesm2022/koobiq-components-radio.mjs.map +1 -1
  164. package/fesm2022/koobiq-components-risk-level.mjs +4 -8
  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 +17 -19
  169. package/fesm2022/koobiq-components-select.mjs.map +1 -1
  170. package/fesm2022/koobiq-components-sidebar.mjs +2 -3
  171. package/fesm2022/koobiq-components-sidebar.mjs.map +1 -1
  172. package/fesm2022/koobiq-components-sidepanel.mjs +35 -38
  173. package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
  174. package/fesm2022/koobiq-components-splitter.mjs +4 -9
  175. package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
  176. package/fesm2022/koobiq-components-table.mjs +2 -6
  177. package/fesm2022/koobiq-components-table.mjs.map +1 -1
  178. package/fesm2022/koobiq-components-tabs.mjs +8 -13
  179. package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
  180. package/fesm2022/koobiq-components-tags.mjs +5 -7
  181. package/fesm2022/koobiq-components-tags.mjs.map +1 -1
  182. package/fesm2022/koobiq-components-textarea.mjs +3 -4
  183. package/fesm2022/koobiq-components-textarea.mjs.map +1 -1
  184. package/fesm2022/koobiq-components-timepicker.mjs +2 -6
  185. package/fesm2022/koobiq-components-timepicker.mjs.map +1 -1
  186. package/fesm2022/koobiq-components-timezone.mjs +19 -18
  187. package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
  188. package/fesm2022/koobiq-components-toast.mjs +14 -13
  189. package/fesm2022/koobiq-components-toast.mjs.map +1 -1
  190. package/fesm2022/koobiq-components-toggle.mjs +5 -6
  191. package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
  192. package/fesm2022/koobiq-components-tooltip.mjs +12 -6
  193. package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
  194. package/fesm2022/koobiq-components-tree-select.mjs +16 -17
  195. package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
  196. package/fesm2022/koobiq-components-tree.mjs +16 -21
  197. package/fesm2022/koobiq-components-tree.mjs.map +1 -1
  198. package/file-upload/file-upload-tokens.scss +5 -5
  199. package/file-upload/file-upload.module.d.ts +12 -12
  200. package/file-upload/single-file-upload.component.d.ts +1 -1
  201. package/form-field/form-field-tokens.scss +13 -1
  202. package/form-field/form-field.module.d.ts +3 -3
  203. package/icon/icon-button-tokens.scss +0 -1
  204. package/icon/icon.module.d.ts +3 -4
  205. package/input/input.module.d.ts +5 -6
  206. package/link/link-tokens.scss +1 -1
  207. package/link/link.module.d.ts +2 -3
  208. package/list/list.module.d.ts +3 -4
  209. package/loader-overlay/loader-overlay.module.d.ts +4 -5
  210. package/markdown/markdown.module.d.ts +4 -5
  211. package/modal/modal.module.d.ts +7 -7
  212. package/navbar/navbar.module.d.ts +5 -6
  213. package/package.json +6 -6
  214. package/popover/popover.module.d.ts +7 -7
  215. package/prebuilt-themes/dark-theme.css +1 -1
  216. package/prebuilt-themes/light-theme.css +1 -1
  217. package/progress-bar/_progress-bar-theme.scss +6 -12
  218. package/progress-bar/progress-bar-tokens.scss +36 -0
  219. package/progress-bar/progress-bar.module.d.ts +2 -3
  220. package/progress-bar/progress-bar.scss +4 -4
  221. package/progress-spinner/_progress-spinner-theme.scss +5 -11
  222. package/progress-spinner/progress-spinner-tokens.scss +38 -0
  223. package/progress-spinner/progress-spinner.module.d.ts +3 -3
  224. package/progress-spinner/progress-spinner.scss +4 -4
  225. package/radio/_radio-theme.scss +21 -36
  226. package/radio/radio-tokens.scss +166 -0
  227. package/radio/radio.module.d.ts +3 -4
  228. package/radio/radio.scss +4 -5
  229. package/risk-level/_risk-level-theme.scss +20 -24
  230. package/risk-level/risk-level-tokens.scss +72 -0
  231. package/risk-level/risk-level.component.scss +5 -3
  232. package/risk-level/risk-level.module.d.ts +3 -4
  233. package/schematics/ng-add/index.js +4 -4
  234. package/scrollbar/_scrollbar-component-theme.scss +13 -31
  235. package/scrollbar/scrollbar-tokens.scss +34 -0
  236. package/scrollbar/scrollbar.component.scss +4 -3
  237. package/select/_select-theme.scss +11 -22
  238. package/select/select-tokens.scss +59 -0
  239. package/select/select.component.d.ts +1 -1
  240. package/select/select.module.d.ts +7 -7
  241. package/select/select.scss +5 -3
  242. package/sidepanel/_sidepanel-theme.scss +6 -12
  243. package/sidepanel/sidepanel-tokens.scss +48 -0
  244. package/sidepanel/sidepanel.module.d.ts +8 -9
  245. package/sidepanel/sidepanel.scss +4 -4
  246. package/splitter/_splitter-theme.scss +2 -6
  247. package/splitter/splitter-tokens.scss +7 -0
  248. package/splitter/splitter.module.d.ts +2 -3
  249. package/splitter/splitter.scss +4 -0
  250. package/table/table.module.d.ts +3 -4
  251. package/tabs/_tabs-common.scss +0 -6
  252. package/tabs/_tabs-theme.scss +30 -65
  253. package/tabs/tab-group.scss +0 -3
  254. package/tabs/tab-header.scss +0 -3
  255. package/tabs/tab-nav-bar/tab-nav-bar.scss +0 -2
  256. package/tabs/tabs-tokens.scss +136 -0
  257. package/tabs/tabs.module.d.ts +7 -8
  258. package/tags/_tag-theme.scss +17 -26
  259. package/tags/tag-input-tokens.scss +14 -0
  260. package/tags/tag-list.scss +0 -6
  261. package/tags/tag-tokens.scss +151 -0
  262. package/tags/tag.module.d.ts +2 -3
  263. package/tags/tag.scss +0 -3
  264. package/textarea/textarea.module.d.ts +4 -5
  265. package/timepicker/timepicker.module.d.ts +4 -5
  266. package/timezone/timezone.module.d.ts +9 -9
  267. package/toast/toast.module.d.ts +7 -7
  268. package/toggle/toggle-tokens.scss +4 -4
  269. package/toggle/toggle.module.d.ts +3 -4
  270. package/tooltip/tooltip.module.d.ts +3 -3
  271. package/tree/tree-tokens.scss +4 -4
  272. package/tree/tree.module.d.ts +3 -4
  273. package/tree-select/tree-select.component.d.ts +1 -1
  274. package/tree-select/tree-select.module.d.ts +7 -7
@@ -1,10 +1,9 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./alert.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 KbqAlertModule {
7
6
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqAlertModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<KbqAlertModule, [typeof i1.KbqAlert, typeof i1.KbqAlertTitle, typeof i1.KbqAlertCloseButton, typeof i1.KbqAlertControl], [typeof i2.CommonModule, typeof i3.A11yModule, typeof i4.PlatformModule], [typeof i1.KbqAlert, typeof i1.KbqAlertTitle, typeof i1.KbqAlertCloseButton, typeof i1.KbqAlertControl]>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KbqAlertModule, [typeof i1.KbqAlert, typeof i1.KbqAlertTitle, typeof i1.KbqAlertCloseButton, typeof i1.KbqAlertControl], [typeof i2.A11yModule, typeof i3.PlatformModule], [typeof i1.KbqAlert, typeof i1.KbqAlertTitle, typeof i1.KbqAlertCloseButton, typeof i1.KbqAlertControl]>;
9
8
  static ɵinj: i0.ɵɵInjectorDeclaration<KbqAlertModule>;
10
9
  }
@@ -7,6 +7,6 @@ import * as i5 from "@angular/cdk/overlay";
7
7
  import * as i6 from "@angular/common";
8
8
  export declare class KbqAutocompleteModule {
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqAutocompleteModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<KbqAutocompleteModule, [typeof i1.KbqAutocomplete, typeof i2.KbqAutocompleteTrigger, typeof i3.KbqAutocompleteOrigin], [typeof i4.KbqOptionModule, typeof i5.OverlayModule, typeof i4.KbqCommonModule, typeof i6.CommonModule], [typeof i1.KbqAutocomplete, typeof i4.KbqOptionModule, typeof i2.KbqAutocompleteTrigger, typeof i3.KbqAutocompleteOrigin, typeof i4.KbqCommonModule]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KbqAutocompleteModule, [typeof i1.KbqAutocomplete, typeof i2.KbqAutocompleteTrigger, typeof i3.KbqAutocompleteOrigin], [typeof i4.KbqOptionModule, typeof i5.OverlayModule, typeof i4.KbqCommonModule, typeof i6.NgClass], [typeof i1.KbqAutocomplete, typeof i4.KbqOptionModule, typeof i2.KbqAutocompleteTrigger, typeof i3.KbqAutocompleteOrigin, typeof i4.KbqCommonModule]>;
11
11
  static ɵinj: i0.ɵɵInjectorDeclaration<KbqAutocompleteModule>;
12
12
  }
@@ -100,7 +100,7 @@
100
100
  --kbq-badge-outline-fade-on-theme-icon: hsla(216, 100%, 50%, 100%);
101
101
  --kbq-badge-outline-fade-on-contrast-background: transparent;
102
102
  --kbq-badge-outline-fade-on-contrast-color: hsla(229, 15%, 15%, 100%);
103
- --kbq-badge-outline-fade-on-contrast-border: hsla(229, 15%, 70%, 100%);
103
+ --kbq-badge-outline-fade-on-contrast-border: hsla(229, 15%, 80%, 100%);
104
104
  --kbq-badge-outline-fade-on-contrast-caption: hsla(229, 15%, 15%, 100%);
105
105
  --kbq-badge-outline-fade-on-contrast-icon: hsla(229, 15%, 60%, 100%);
106
106
  --kbq-badge-outline-fade-on-success-background: transparent;
@@ -1,10 +1,9 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./badge.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 KbqBadgeModule {
7
6
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqBadgeModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<KbqBadgeModule, [typeof i1.KbqBadge, typeof i1.KbqBadgeCaption, typeof i1.KbqBadgeCssStyler], [typeof i2.CommonModule, typeof i3.A11yModule, typeof i4.PlatformModule], [typeof i1.KbqBadge, typeof i1.KbqBadgeCaption, typeof i1.KbqBadgeCssStyler]>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KbqBadgeModule, [typeof i1.KbqBadge, typeof i1.KbqBadgeCaption, typeof i1.KbqBadgeCssStyler], [typeof i2.A11yModule, typeof i3.PlatformModule], [typeof i1.KbqBadge, typeof i1.KbqBadgeCaption, typeof i1.KbqBadgeCssStyler]>;
9
8
  static ɵinj: i0.ɵɵInjectorDeclaration<KbqBadgeModule>;
10
9
  }
@@ -15,7 +15,6 @@
15
15
  }
16
16
 
17
17
  :where(.kbq-light, .theme-light, .kbq-theme-light) {
18
- // TODO: remove after all settled, should be assigned via css-tokens.css (#DS-2846)
19
18
  --kbq-states-focused-color: hsla(216, 100%, 50%, 100%);
20
19
  --kbq-states-focused-color-error: hsla(7, 97%, 50%, 100%);
21
20
  --kbq-button-filled-contrast-fade-off-background: hsla(229, 15%, 25%, 100%);
@@ -65,7 +64,7 @@
65
64
  --kbq-button-outline-theme-fade-on-states-active-hover-left-icon: hsla(216, 100%, 50%, 100%);
66
65
  --kbq-button-outline-theme-fade-on-states-active-hover-right-icon: hsla(216, 100%, 50%, 100%);
67
66
  --kbq-button-outline-theme-fade-on-states-disabled-background: transparent;
68
- --kbq-button-outline-theme-fade-on-states-disabled-border: hsla(229, 15%, 15%, 32%);
67
+ --kbq-button-outline-theme-fade-on-states-disabled-border: hsla(229, 15%, 50%, 32%);
69
68
  --kbq-button-outline-theme-fade-on-states-disabled-foreground: hsla(229, 15%, 15%, 32%);
70
69
  --kbq-button-outline-theme-fade-on-states-disabled-left-icon: hsla(229, 15%, 15%, 32%);
71
70
  --kbq-button-outline-theme-fade-on-states-disabled-right-icon: hsla(229, 15%, 15%, 32%);
@@ -90,7 +89,7 @@
90
89
  --kbq-button-outline-contrast-fade-on-states-active-hover-left-icon: hsla(229, 15%, 15%, 100%);
91
90
  --kbq-button-outline-contrast-fade-on-states-active-hover-right-icon: hsla(229, 15%, 15%, 100%);
92
91
  --kbq-button-outline-contrast-fade-on-states-disabled-background: transparent;
93
- --kbq-button-outline-contrast-fade-on-states-disabled-border: hsla(229, 15%, 15%, 32%);
92
+ --kbq-button-outline-contrast-fade-on-states-disabled-border: hsla(229, 15%, 50%, 32%);
94
93
  --kbq-button-outline-contrast-fade-on-states-disabled-foreground: hsla(229, 15%, 15%, 32%);
95
94
  --kbq-button-outline-contrast-fade-on-states-disabled-left-icon: hsla(229, 15%, 15%, 32%);
96
95
  --kbq-button-outline-contrast-fade-on-states-disabled-right-icon: hsla(229, 15%, 15%, 32%);
@@ -1,11 +1,10 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./button.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/cdk/a11y";
5
- import * as i4 from "@angular/cdk/platform";
6
- import * as i5 from "@angular/cdk/observers";
3
+ import * as i2 from "@angular/cdk/a11y";
4
+ import * as i3 from "@angular/cdk/platform";
5
+ import * as i4 from "@angular/cdk/observers";
7
6
  export declare class KbqButtonModule {
8
7
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqButtonModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<KbqButtonModule, [typeof i1.KbqButton, typeof i1.KbqButtonCssStyler], [typeof i2.CommonModule, typeof i3.A11yModule, typeof i4.PlatformModule, typeof i5.ObserversModule], [typeof i1.KbqButton, typeof i1.KbqButtonCssStyler]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KbqButtonModule, [typeof i1.KbqButton, typeof i1.KbqButtonCssStyler], [typeof i2.A11yModule, typeof i3.PlatformModule, typeof i4.ObserversModule], [typeof i1.KbqButton, typeof i1.KbqButtonCssStyler]>;
10
9
  static ɵinj: i0.ɵɵInjectorDeclaration<KbqButtonModule>;
11
10
  }
@@ -1,14 +1,13 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./code-block.component";
3
3
  import * as i2 from "./actionbar.component";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "@koobiq/components/button";
6
- import * as i5 from "@koobiq/components/tooltip";
7
- import * as i6 from "@koobiq/components/icon";
8
- import * as i7 from "ngx-highlightjs";
9
- import * as i8 from "@koobiq/components/tabs";
4
+ import * as i3 from "@koobiq/components/button";
5
+ import * as i4 from "@koobiq/components/tooltip";
6
+ import * as i5 from "@koobiq/components/icon";
7
+ import * as i6 from "ngx-highlightjs";
8
+ import * as i7 from "@koobiq/components/tabs";
10
9
  export declare class KbqCodeBlockModule {
11
10
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqCodeBlockModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<KbqCodeBlockModule, [typeof i1.KbqCodeBlockComponent, typeof i2.KbqActionBarComponent], [typeof i3.CommonModule, typeof i4.KbqButtonModule, typeof i5.KbqToolTipModule, typeof i6.KbqIconModule, typeof i7.HighlightModule, typeof i8.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.HighlightModule, typeof i7.KbqTabsModule], [typeof i1.KbqCodeBlockComponent]>;
13
12
  static ɵinj: i0.ɵɵInjectorDeclaration<KbqCodeBlockModule>;
14
13
  }
@@ -1,30 +1,22 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
- @use '../styles/typography/typography-utils' as *;
5
- @use './forms' as *;
6
1
  @use '../styles/common/tokens' as *;
7
2
 
8
- @mixin kbq-forms-theme($theme) {
9
- @include kbq-form-geometry(map.get($theme, tokens));
3
+ @use './forms' as *;
4
+ @use './forms-tokens';
10
5
 
11
- $forms: map.get(map.get($theme, components), forms);
6
+ @mixin kbq-forms-theme() {
7
+ @include kbq-form-geometry();
12
8
 
13
9
  .kbq-form__label {
14
- color: kbq-css-variable(forms-label, map.get($forms, label));
10
+ color: kbq-css-variable(forms-label);
15
11
  }
16
12
 
17
13
  .kbq-form__legend {
18
- color: kbq-css-variable(forms-legend, map.get($forms, legend));
14
+ color: kbq-css-variable(forms-legend);
19
15
  }
20
16
  }
21
17
 
22
- @mixin kbq-forms-typography($config) {
18
+ @mixin kbq-forms-typography() {
23
19
  .kbq-form__label {
24
20
  @include kbq-typography-css-variables(forms, label);
25
21
  }
26
-
27
- //.kbq-form__legend {
28
- // @include kbq-typography-level-to-styles($config, map.get($tokens, forms-font-default-legend));
29
- //}
30
22
  }
@@ -1,12 +1,6 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
- @use '../styles/common/vendor-prefixes';
5
- @use '../styles/typography/typography' as *;
6
- @use '../styles/typography/typography-utils' as *;
7
1
  @use '../styles/common/tokens' as *;
8
2
 
9
- @mixin kbq-form-geometry($tokens) {
3
+ @mixin kbq-form-geometry() {
10
4
  .kbq-form {
11
5
  display: flex;
12
6
  flex-direction: column;
@@ -18,8 +12,8 @@
18
12
  }
19
13
 
20
14
  .kbq-form-horizontal {
21
- $line-height: kbq-css-variable(forms-font-label-line-height, map.get($tokens, forms-font-label-line-height));
22
- $form-field-size-height: kbq-css-variable(form-field-size-height, map.get($tokens, form-field-size-height));
15
+ $line-height: kbq-css-variable(forms-font-label-line-height);
16
+ $form-field-size-height: kbq-css-variable(form-field-size-height);
23
17
 
24
18
  & .kbq-form-row_margin {
25
19
  margin-bottom: kbq-css-variable(forms-size-horizontal-row-margin-bottom);
@@ -0,0 +1,39 @@
1
+ .kbq-form {
2
+ --kbq-form-field-size-height: 32px;
3
+ --kbq-forms-size-horizontal-row-margin-bottom: 20px;
4
+ --kbq-forms-size-horizontal-control-padding-left: 16px;
5
+ --kbq-forms-size-horizontal-legend-margin-top: 32px;
6
+ --kbq-forms-size-horizontal-legend-margin-bottom: 16px;
7
+ --kbq-forms-size-vertical-row-margin-bottom: 16px;
8
+ --kbq-forms-size-vertical-label-padding-top: 0;
9
+ --kbq-forms-size-vertical-label-padding-bottom: 8px;
10
+ --kbq-forms-size-vertical-control-padding-left: 24px;
11
+ --kbq-forms-size-vertical-legend-margin-top: 32px;
12
+ --kbq-forms-size-vertical-legend-margin-bottom: 12px;
13
+ --kbq-forms-font-label-font-size: 14px;
14
+ --kbq-forms-font-label-line-height: 20px;
15
+ --kbq-forms-font-label-letter-spacing: -0.006em;
16
+ --kbq-forms-font-label-font-weight: normal;
17
+ --kbq-forms-font-label-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial,
18
+ sans-serif;
19
+ --kbq-forms-font-label-text-transform: null;
20
+ --kbq-forms-font-label-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
21
+ --kbq-forms-font-legend-font-size: 18px;
22
+ --kbq-forms-font-legend-line-height: 26px;
23
+ --kbq-forms-font-legend-letter-spacing: normal;
24
+ --kbq-forms-font-legend-font-weight: 600;
25
+ --kbq-forms-font-legend-font-family: 'TT-Positive', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI',
26
+ 'Helvetica Neue', Arial, sans-serif;
27
+ --kbq-forms-font-legend-text-transform: null;
28
+ --kbq-forms-font-legend-font-feature-settings: 'calt', 'kern', 'liga';
29
+ }
30
+
31
+ :where(.kbq-light, .theme-light, .kbq-theme-light) {
32
+ --kbq-forms-label: hsla(229, 15%, 15%, 100%);
33
+ --kbq-forms-legend: hsla(229, 15%, 15%, 100%);
34
+ }
35
+
36
+ :where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
37
+ --kbq-forms-label: hsla(229, 15%, 80%, 100%);
38
+ --kbq-forms-legend: hsla(229, 15%, 80%, 100%);
39
+ }
@@ -1,22 +1,16 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
- @use '../styles/typography/typography-utils' as *;
5
1
  @use '../styles/common/tokens' as *;
6
2
 
7
- @mixin kbq-optgroup-theme($theme) {
8
- $foreground: map.get($theme, foreground);
9
-
3
+ @mixin kbq-optgroup-theme() {
10
4
  .kbq-optgroup-label {
11
- color: kbq-css-variable(foreground-contrast, map.get($foreground, contrast));
5
+ color: kbq-css-variable(foreground-contrast);
12
6
  }
13
7
 
14
8
  .kbq-disabled .kbq-optgroup-label {
15
- color: kbq-css-variable(foreground-text-disabled, map.get($foreground, text-disabled));
9
+ color: kbq-css-variable(foreground-text-disabled);
16
10
  }
17
11
  }
18
12
 
19
- @mixin kbq-optgroup-typography($config) {
13
+ @mixin kbq-optgroup-typography() {
20
14
  .kbq-optgroup-label {
21
15
  @include kbq-typography-css-variables(optgroup, default);
22
16
  }
@@ -1,38 +1,30 @@
1
- @use 'sass:map';
2
-
3
- @use '../styles/theming/theming' as *;
4
- @use '../styles/typography/typography-utils' as *;
5
1
  @use '../styles/common/tokens' as *;
6
2
 
7
- @mixin kbq-option-action-theme($theme) {
8
- $background: map.get($theme, background);
9
-
10
- $states: map.get($theme, states);
11
-
3
+ @mixin kbq-option-action-theme() {
12
4
  .kbq-option-action {
13
5
  &.cdk-keyboard-focused {
14
- border-color: kbq-css-variable(states-focused-color, map.get($theme, states, focused-color));
6
+ border-color: kbq-css-variable(states-focused-color);
15
7
  }
16
8
 
17
9
  &:active,
18
10
  &.kbq-pressed {
19
11
  & .kbq-icon {
20
- color: kbq-css-variable(states-icon-contrast-fade-active, map.get($states, icon, contrast-fade-active));
12
+ color: kbq-css-variable(states-icon-contrast-fade-active);
21
13
  }
22
14
 
23
- background-color: kbq-css-variable(background-transparent, map.get($background, transparent));
15
+ background-color: kbq-css-variable(background-transparent);
24
16
  }
25
17
 
26
18
  &:hover .kbq-icon {
27
- color: kbq-css-variable(states-icon-contrast-fade-hover, map.get($states, icon, contrast-fade-hover));
19
+ color: kbq-css-variable(states-icon-contrast-fade-hover);
28
20
  }
29
21
 
30
22
  &.kbq-disabled {
31
23
  & .kbq-icon {
32
- color: kbq-css-variable(states-icon-disabled, map.get($states, icon, disabled));
24
+ color: kbq-css-variable(states-icon-disabled);
33
25
  }
34
26
 
35
- background-color: kbq-css-variable(background-transparent, map.get($background, transparent));
27
+ background-color: kbq-css-variable(background-transparent);
36
28
  }
37
29
  }
38
30
  }
@@ -1,60 +1,49 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
- @use '../styles/typography/typography-utils' as *;
5
1
  @use '../styles/common/tokens' as *;
6
2
 
7
- @mixin kbq-option($component, $style-name) {
8
- $state: map.get($component, $style-name);
9
-
10
- background: kbq-css-variable(list-#{$style-name}-container-background, map.get($state, container-background));
3
+ @mixin kbq-option($style-name) {
4
+ background: kbq-css-variable(list-#{$style-name}-container-background);
11
5
 
12
6
  .kbq-option-text {
13
- color: kbq-css-variable(list-#{$style-name}-text-color, map.get($state, text));
7
+ color: kbq-css-variable(list-#{$style-name}-text-color);
14
8
  }
15
9
 
16
10
  .kbq-option-action .kbq-icon {
17
- color: kbq-css-variable(list-#{$style-name}-icon-button-color, map.get($state, icon-button));
11
+ color: kbq-css-variable(list-#{$style-name}-icon-button-color);
18
12
  }
19
13
 
20
14
  .kbq-option-caption {
21
- color: kbq-css-variable(list-#{$style-name}-caption-color, map.get($state, caption));
15
+ color: kbq-css-variable(list-#{$style-name}-caption-color);
22
16
  }
23
17
  }
24
18
 
25
- @mixin kbq-option-theme($theme) {
26
- $list-item: map.get(map.get($theme, components), list-item);
27
-
19
+ @mixin kbq-option-theme() {
28
20
  .kbq-option {
29
- @include kbq-option($list-item, default);
21
+ @include kbq-option(default);
30
22
 
31
23
  &:hover:not(.kbq-disabled) {
32
- @include kbq-option($list-item, states-hover);
24
+ @include kbq-option(states-hover);
33
25
  }
34
26
 
35
27
  &.kbq-focused,
36
28
  &.kbq-active {
37
- border-color: kbq-css-variable(
38
- list-states-focused-focus-outline-color,
39
- map.get($list-item, states-focused, focus-outline)
40
- );
29
+ border-color: kbq-css-variable(list-states-focused-focus-outline-color);
41
30
  }
42
31
 
43
32
  &.kbq-selected {
44
- @include kbq-option($list-item, states-selected);
33
+ @include kbq-option(states-selected);
45
34
 
46
35
  &:hover:not(.kbq-disabled) {
47
- @include kbq-option($list-item, states-selected-hover);
36
+ @include kbq-option(states-selected-hover);
48
37
  }
49
38
  }
50
39
 
51
40
  &.kbq-disabled {
52
- @include kbq-option($list-item, states-disabled);
41
+ @include kbq-option(states-disabled);
53
42
  }
54
43
  }
55
44
  }
56
45
 
57
- @mixin kbq-option-typography($config) {
46
+ @mixin kbq-option-typography() {
58
47
  .kbq-option {
59
48
  @include kbq-typography-css-variables(list, text);
60
49
  }
@@ -1,5 +1,7 @@
1
1
  @use '../styles/common/tokens' as *;
2
2
 
3
+ @use './option-action-theme' as *;
4
+
3
5
  .kbq-option-action {
4
6
  box-sizing: border-box;
5
7
 
@@ -27,3 +29,5 @@
27
29
  cursor: default;
28
30
  }
29
31
  }
32
+
33
+ @include kbq-option-action-theme();
@@ -0,0 +1,26 @@
1
+ .kbq-optgroup {
2
+ --kbq-size-m: 12px;
3
+ --kbq-optgroup-size-padding-left: 17px;
4
+ --kbq-optgroup-font-default-font-size: 18px;
5
+ --kbq-optgroup-font-default-line-height: 26px;
6
+ --kbq-optgroup-font-default-letter-spacing: normal;
7
+ --kbq-optgroup-font-default-font-weight: 600;
8
+ --kbq-optgroup-font-default-font-family: 'TT-Positive', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI',
9
+ 'Helvetica Neue', Arial, sans-serif;
10
+ --kbq-optgroup-font-default-text-transform: null;
11
+ --kbq-optgroup-font-default-font-feature-settings: 'calt', 'kern', 'liga';
12
+ }
13
+
14
+ :where(.kbq-light, .theme-light, .kbq-theme-light) {
15
+ --kbq-foreground-contrast: hsla(229, 15%, 15%, 100%);
16
+ --kbq-foreground-contrast-secondary: hsla(229, 15%, 50%, 100%);
17
+ --kbq-foreground-contrast-tertiary: hsla(229, 15%, 60%, 100%);
18
+ --kbq-foreground-text-disabled: hsla(229, 15%, 70%, 100%);
19
+ }
20
+
21
+ :where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
22
+ --kbq-foreground-contrast: hsla(229, 15%, 80%, 100%);
23
+ --kbq-foreground-contrast-secondary: hsla(229, 15%, 60%, 100%);
24
+ --kbq-foreground-contrast-tertiary: hsla(229, 15%, 45%, 100%);
25
+ --kbq-foreground-text-disabled: hsla(229, 15%, 70%, 100%);
26
+ }
@@ -1,11 +1,7 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
1
  @use '../styles/common/vendor-prefixes';
5
- @use '../styles/tokens';
6
2
  @use '../styles/common/tokens' as *;
7
3
 
8
- $tokens: meta.module-variables(tokens) !default;
4
+ @use './optgroup-theme' as *;
9
5
 
10
6
  .kbq-optgroup-label {
11
7
  padding-left: kbq-css-variable(size-m);
@@ -13,3 +9,6 @@ $tokens: meta.module-variables(tokens) !default;
13
9
  @include vendor-prefixes.user-select(none);
14
10
  cursor: default;
15
11
  }
12
+
13
+ @include kbq-optgroup-theme();
14
+ @include kbq-optgroup-typography();
@@ -0,0 +1,21 @@
1
+ .kbq-option-action {
2
+ --kbq-list-font-text-line-height: 20px;
3
+ }
4
+
5
+ :where(.kbq-light, .theme-light, .kbq-theme-light) {
6
+ --kbq-background-transparent: transparent;
7
+ --kbq-states-icon-disabled: hsla(229, 15%, 15%, 32%);
8
+ --kbq-states-icon-contrast-fade-hover: hsla(229, 15%, 50%, 100%);
9
+ --kbq-states-icon-contrast-fade-active: hsla(229, 15%, 40%, 100%);
10
+ --kbq-states-focused-color: hsla(216, 100%, 50%, 100%);
11
+ --kbq-states-focused-color-error: hsla(7, 97%, 50%, 100%);
12
+ }
13
+
14
+ :where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
15
+ --kbq-background-transparent: transparent;
16
+ --kbq-states-icon-contrast-fade-hover: hsla(229, 15%, 50%, 100%);
17
+ --kbq-states-icon-contrast-fade-active: hsla(229, 15%, 40%, 100%);
18
+ --kbq-states-icon-disabled: hsla(229, 15%, 30%, 100%);
19
+ --kbq-states-focused-color: hsla(216, 100%, 50%, 100%);
20
+ --kbq-states-focused-color-error: hsla(7, 97%, 50%, 100%);
21
+ }
@@ -2,10 +2,9 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./option";
3
3
  import * as i2 from "./optgroup";
4
4
  import * as i3 from "./action";
5
- import * as i4 from "@angular/common";
6
- import * as i5 from "../selection/pseudo-checkbox/pseudo-checkbox.module";
5
+ import * as i4 from "../selection/pseudo-checkbox/pseudo-checkbox.module";
7
6
  export declare class KbqOptionModule {
8
7
  static ɵfac: i0.ɵɵFactoryDeclaration<KbqOptionModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<KbqOptionModule, [typeof i1.KbqOption, typeof i2.KbqOptgroup, typeof i3.KbqOptionActionComponent], [typeof i4.CommonModule, typeof i5.KbqPseudoCheckboxModule], [typeof i1.KbqOption, typeof i2.KbqOptgroup, typeof i3.KbqOptionActionComponent]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KbqOptionModule, [typeof i1.KbqOption, typeof i2.KbqOptgroup, typeof i3.KbqOptionActionComponent], [typeof i4.KbqPseudoCheckboxModule], [typeof i1.KbqOption, typeof i2.KbqOptgroup, typeof i3.KbqOptionActionComponent]>;
10
9
  static ɵinj: i0.ɵɵInjectorDeclaration<KbqOptionModule>;
11
10
  }
@@ -0,0 +1,115 @@
1
+ .kbq-option {
2
+ --kbq-size-3xs: 2px;
3
+ --kbq-size-xxs: 4px;
4
+ --kbq-size-xs: 6px;
5
+ --kbq-size-s: 8px;
6
+ --kbq-size-m: 12px;
7
+ --kbq-list-size-container-padding-left: 12px;
8
+ --kbq-list-size-container-padding-right: 12px;
9
+ --kbq-list-size-container-padding-vertical: 6px;
10
+ --kbq-list-size-container-content-gap-horizontal: 8px;
11
+ --kbq-list-size-container-content-gap-vertical: 2px;
12
+ --kbq-list-size-container-focus-outline-width: 2px;
13
+ --kbq-list-size-text-padding-vertical: 0;
14
+ --kbq-list-size-header-padding-top: 8px;
15
+ --kbq-list-size-header-padding-bottom: 4px;
16
+ --kbq-list-size-header-padding-horizontal: 12px;
17
+ --kbq-list-size-subheading-padding-top: 12px;
18
+ --kbq-list-size-subheading-padding-bottom: 4px;
19
+ --kbq-list-size-subheading-padding-horizontal: 12px;
20
+ --kbq-list-font-text-font-size: 14px;
21
+ --kbq-list-font-text-line-height: 20px;
22
+ --kbq-list-font-text-letter-spacing: -0.006em;
23
+ --kbq-list-font-text-font-weight: normal;
24
+ --kbq-list-font-text-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial,
25
+ sans-serif;
26
+ --kbq-list-font-text-text-transform: null;
27
+ --kbq-list-font-text-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
28
+ --kbq-list-font-caption-font-size: 12px;
29
+ --kbq-list-font-caption-line-height: 16px;
30
+ --kbq-list-font-caption-letter-spacing: normal;
31
+ --kbq-list-font-caption-font-weight: normal;
32
+ --kbq-list-font-caption-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial,
33
+ sans-serif;
34
+ --kbq-list-font-caption-text-transform: null;
35
+ --kbq-list-font-caption-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
36
+ --kbq-list-font-header-font-size: 16px;
37
+ --kbq-list-font-header-line-height: 24px;
38
+ --kbq-list-font-header-letter-spacing: -0.011em;
39
+ --kbq-list-font-header-font-weight: 600;
40
+ --kbq-list-font-header-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial,
41
+ sans-serif;
42
+ --kbq-list-font-header-text-transform: null;
43
+ --kbq-list-font-header-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
44
+ --kbq-list-font-subheading-font-size: 12px;
45
+ --kbq-list-font-subheading-line-height: 16px;
46
+ --kbq-list-font-subheading-letter-spacing: 1px;
47
+ --kbq-list-font-subheading-font-weight: 500;
48
+ --kbq-list-font-subheading-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue',
49
+ Arial, sans-serif;
50
+ --kbq-list-font-subheading-text-transform: uppercase;
51
+ --kbq-list-font-subheading-font-feature-settings: 'calt', 'case', 'kern', 'liga', 'ss01', 'ss04';
52
+ --kbq-option-size-horizontal-padding: 12px;
53
+ --kbq-option-size-height: 32px;
54
+ --kbq-option-size-border-width: 2px;
55
+ --kbq-option-font-default-font-size: 16px;
56
+ --kbq-option-font-default-line-height: 24px;
57
+ --kbq-option-font-default-letter-spacing: -0.011em;
58
+ --kbq-option-font-default-font-weight: normal;
59
+ --kbq-option-font-default-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial,
60
+ sans-serif;
61
+ --kbq-option-font-default-text-transform: null;
62
+ --kbq-option-font-default-font-feature-settings: 'calt', 'kern', 'liga', 'ss01', 'ss04';
63
+ }
64
+
65
+ :where(.kbq-light, .theme-light, .kbq-theme-light) {
66
+ --kbq-list-default-container-background: transparent;
67
+ --kbq-list-default-text-color: hsla(229, 15%, 15%, 100%);
68
+ --kbq-list-default-icon-color: hsla(229, 15%, 15%, 100%);
69
+ --kbq-list-default-icon-button-color: hsla(229, 15%, 60%, 100%);
70
+ --kbq-list-default-caption-color: hsla(229, 15%, 50%, 100%);
71
+ --kbq-list-states-hover-container-background: hsla(229, 15%, 50%, 8%);
72
+ --kbq-list-states-hover-text-color: hsla(229, 15%, 15%, 100%);
73
+ --kbq-list-states-hover-icon-color: hsla(229, 15%, 15%, 100%);
74
+ --kbq-list-states-hover-icon-button-color: hsla(229, 15%, 60%, 100%);
75
+ --kbq-list-states-selected-container-background: hsla(216, 100%, 94%, 100%);
76
+ --kbq-list-states-selected-text-color: hsla(229, 15%, 15%, 100%);
77
+ --kbq-list-states-selected-icon-color: hsla(229, 15%, 15%, 100%);
78
+ --kbq-list-states-selected-icon-button-color: hsla(229, 15%, 60%, 100%);
79
+ --kbq-list-states-selected-hover-container-background: hsla(216, 100%, 90%, 100%);
80
+ --kbq-list-states-selected-hover-text-color: hsla(229, 15%, 15%, 100%);
81
+ --kbq-list-states-selected-hover-icon-color: hsla(229, 15%, 15%, 100%);
82
+ --kbq-list-states-selected-hover-icon-button-color: hsla(229, 15%, 60%, 100%);
83
+ --kbq-list-states-focused-focus-outline-color: hsla(216, 100%, 60%, 100%);
84
+ --kbq-list-states-disabled-container-background: transparent;
85
+ --kbq-list-states-disabled-text-color: hsla(229, 15%, 15%, 32%);
86
+ --kbq-list-states-disabled-icon-color: hsla(229, 15%, 15%, 32%);
87
+ --kbq-list-states-disabled-icon-button-color: hsla(229, 15%, 15%, 32%);
88
+ --kbq-list-states-disabled-caption-color: hsla(229, 15%, 15%, 32%);
89
+ }
90
+
91
+ :where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
92
+ --kbq-list-default-container-background: transparent;
93
+ --kbq-list-default-text-color: hsla(229, 15%, 80%, 100%);
94
+ --kbq-list-default-icon-color: hsla(229, 15%, 80%, 100%);
95
+ --kbq-list-default-icon-button-color: hsla(229, 15%, 45%, 100%);
96
+ --kbq-list-default-caption-color: hsla(229, 15%, 60%, 100%);
97
+ --kbq-list-states-hover-container-background: hsla(229, 15%, 50%, 16%);
98
+ --kbq-list-states-hover-text-color: hsla(229, 15%, 80%, 100%);
99
+ --kbq-list-states-hover-icon-color: hsla(229, 15%, 80%, 100%);
100
+ --kbq-list-states-hover-icon-button-color: hsla(229, 15%, 45%, 100%);
101
+ --kbq-list-states-selected-container-background: hsla(216, 100%, 18%, 100%);
102
+ --kbq-list-states-selected-text-color: hsla(229, 15%, 80%, 100%);
103
+ --kbq-list-states-selected-icon-color: hsla(229, 15%, 80%, 100%);
104
+ --kbq-list-states-selected-icon-button-color: hsla(229, 15%, 45%, 100%);
105
+ --kbq-list-states-selected-hover-container-background: hsla(216, 100%, 15%, 100%);
106
+ --kbq-list-states-selected-hover-text-color: hsla(229, 15%, 80%, 100%);
107
+ --kbq-list-states-selected-hover-icon-color: hsla(229, 15%, 80%, 100%);
108
+ --kbq-list-states-selected-hover-icon-button-color: hsla(229, 15%, 45%, 100%);
109
+ --kbq-list-states-focused-focus-outline-color: hsla(216, 100%, 60%, 100%);
110
+ --kbq-list-states-disabled-container-background: transparent;
111
+ --kbq-list-states-disabled-text-color: hsla(229, 15%, 40%, 100%);
112
+ --kbq-list-states-disabled-icon-color: hsla(229, 15%, 30%, 100%);
113
+ --kbq-list-states-disabled-icon-button-color: hsla(229, 15%, 30%, 100%);
114
+ --kbq-list-states-disabled-caption-color: hsla(229, 15%, 40%, 100%);
115
+ }
@@ -1,8 +1,7 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
1
  @use '../styles/common';
5
2
 
3
+ @use './option-theme' as *;
4
+
6
5
  .kbq-option {
7
6
  @include common.kbq-list-item-base();
8
7
 
@@ -14,3 +13,6 @@
14
13
  .kbq-option-text {
15
14
  @include common.kbq-list-text();
16
15
  }
16
+
17
+ @include kbq-option-theme();
18
+ @include kbq-option-typography();