@koobiq/components 18.1.0 → 18.2.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 (310) hide show
  1. package/accordion/README.md +0 -0
  2. package/accordion/_accordion-theme.scss +62 -0
  3. package/accordion/accordion-content.d.ts +6 -0
  4. package/accordion/accordion-header.d.ts +6 -0
  5. package/accordion/accordion-item.d.ts +6 -0
  6. package/accordion/accordion-tokens.scss +45 -0
  7. package/accordion/accordion-trigger.component.d.ts +11 -0
  8. package/accordion/accordion-trigger.component.scss +79 -0
  9. package/accordion/accordion.component.d.ts +20 -0
  10. package/accordion/accordion.component.scss +66 -0
  11. package/accordion/accordion.module.d.ts +12 -0
  12. package/accordion/index.d.ts +1 -0
  13. package/accordion/public-api.d.ts +6 -0
  14. package/alert/_alert-theme.scss +3 -3
  15. package/alert/alert-tokens.scss +3 -3
  16. package/alert/alert.component.scss +40 -39
  17. package/autocomplete/_autocomplete-theme.scss +2 -2
  18. package/autocomplete/autocomplete.scss +6 -6
  19. package/badge/_badge-theme.scss +5 -5
  20. package/badge/badge.component.scss +16 -16
  21. package/button/_button-base.scss +6 -6
  22. package/button/_button-theme.scss +11 -11
  23. package/button/button.dropdown-trigger.directive.d.ts +14 -0
  24. package/button/button.module.d.ts +2 -1
  25. package/button/button.scss +8 -8
  26. package/button/public-api.d.ts +1 -0
  27. package/button-toggle/_button-toggle-theme.scss +5 -5
  28. package/button-toggle/button-toggle.scss +11 -11
  29. package/checkbox/_checkbox-theme.scss +22 -22
  30. package/checkbox/checkbox-tokens.scss +2 -2
  31. package/checkbox/checkbox.scss +16 -16
  32. package/code-block/_code-block-theme.scss +15 -15
  33. package/code-block/actionbar.component.scss +4 -4
  34. package/code-block/code-block.scss +18 -19
  35. package/core/forms/_forms-theme.scss +2 -2
  36. package/core/forms/_forms.scss +12 -12
  37. package/core/option/_optgroup-theme.scss +2 -2
  38. package/core/option/_option-action-theme.scss +6 -6
  39. package/core/option/_option-theme.scss +5 -5
  40. package/core/option/action.scss +2 -2
  41. package/core/option/optgroup.scss +1 -1
  42. package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +8 -8
  43. package/core/selection/pseudo-checkbox/pseudo-checkbox-tokens.scss +2 -2
  44. package/core/selection/pseudo-checkbox/pseudo-checkbox.scss +8 -8
  45. package/core/styles/common/_groups.scss +4 -4
  46. package/core/styles/common/_list.scss +19 -19
  47. package/core/styles/common/_popup.scss +3 -3
  48. package/core/styles/common/_select.scss +13 -13
  49. package/core/styles/common/_tokens.scss +8 -19
  50. package/core/styles/theming/_scrollbar-theme.scss +11 -11
  51. package/core/styles/visual/_layout.scss +13 -13
  52. package/datepicker/_datepicker-theme.scss +15 -15
  53. package/datepicker/calendar-body.scss +2 -2
  54. package/datepicker/calendar-header.scss +3 -3
  55. package/datepicker/calendar.scss +6 -6
  56. package/datepicker/datepicker-content.scss +4 -4
  57. package/datepicker/datepicker-toggle.scss +2 -2
  58. package/divider/_divider-theme.scss +1 -1
  59. package/divider/divider.scss +6 -6
  60. package/dl/_dl-theme.scss +2 -2
  61. package/dl/dl.scss +4 -4
  62. package/dropdown/_dropdown-theme.scss +7 -7
  63. package/dropdown/dropdown-item.scss +2 -2
  64. package/dropdown/dropdown.scss +5 -5
  65. package/empty-state/_empty-state-theme.scss +4 -4
  66. package/empty-state/empty-state.scss +18 -20
  67. package/esm2022/accordion/accordion-content.mjs +19 -0
  68. package/esm2022/accordion/accordion-header.mjs +19 -0
  69. package/esm2022/accordion/accordion-item.mjs +25 -0
  70. package/esm2022/accordion/accordion-trigger.component.mjs +60 -0
  71. package/esm2022/accordion/accordion.component.mjs +40 -0
  72. package/esm2022/accordion/accordion.module.mjs +44 -0
  73. package/esm2022/accordion/index.mjs +2 -0
  74. package/esm2022/accordion/koobiq-components-accordion.mjs +5 -0
  75. package/esm2022/accordion/public-api.mjs +7 -0
  76. package/esm2022/alert/alert.component.mjs +2 -2
  77. package/esm2022/autocomplete/autocomplete.component.mjs +2 -2
  78. package/esm2022/badge/badge.component.mjs +2 -2
  79. package/esm2022/button/button.component.mjs +2 -2
  80. package/esm2022/button/button.dropdown-trigger.directive.mjs +28 -0
  81. package/esm2022/button/button.module.mjs +10 -5
  82. package/esm2022/button/public-api.mjs +2 -1
  83. package/esm2022/button-toggle/button-toggle.component.mjs +2 -2
  84. package/esm2022/checkbox/checkbox.mjs +2 -2
  85. package/esm2022/code-block/actionbar.component.mjs +2 -2
  86. package/esm2022/code-block/code-block.component.mjs +2 -2
  87. package/esm2022/core/option/action.mjs +2 -2
  88. package/esm2022/core/option/optgroup.mjs +2 -2
  89. package/esm2022/core/option/option.mjs +2 -2
  90. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +2 -2
  91. package/esm2022/core/version.mjs +2 -2
  92. package/esm2022/datepicker/calendar-body.component.mjs +2 -2
  93. package/esm2022/datepicker/calendar-header.component.mjs +2 -2
  94. package/esm2022/datepicker/calendar.component.mjs +2 -2
  95. package/esm2022/datepicker/datepicker-toggle.component.mjs +2 -2
  96. package/esm2022/datepicker/datepicker.component.mjs +3 -3
  97. package/esm2022/divider/divider.component.mjs +2 -2
  98. package/esm2022/dl/dl.component.mjs +2 -2
  99. package/esm2022/dropdown/dropdown-item.component.mjs +2 -2
  100. package/esm2022/dropdown/dropdown.component.mjs +3 -3
  101. package/esm2022/empty-state/empty-state.component.mjs +2 -2
  102. package/esm2022/file-upload/multiple-file-upload.component.mjs +2 -2
  103. package/esm2022/file-upload/single-file-upload.component.mjs +2 -2
  104. package/esm2022/form-field/cleaner.mjs +2 -2
  105. package/esm2022/form-field/form-field.mjs +2 -2
  106. package/esm2022/form-field/hint.mjs +2 -2
  107. package/esm2022/form-field/password-hint.mjs +2 -2
  108. package/esm2022/form-field/password-toggle.mjs +2 -2
  109. package/esm2022/form-field/stepper.mjs +2 -2
  110. package/esm2022/icon/icon-button.component.mjs +2 -2
  111. package/esm2022/icon/icon-item.component.mjs +2 -2
  112. package/esm2022/icon/icon.component.mjs +2 -2
  113. package/esm2022/list/list-selection.component.mjs +2 -2
  114. package/esm2022/list/list.component.mjs +2 -2
  115. package/esm2022/loader-overlay/loader-overlay.component.mjs +2 -2
  116. package/esm2022/markdown/markdown.component.mjs +2 -2
  117. package/esm2022/modal/modal.component.mjs +5 -7
  118. package/esm2022/navbar/navbar-item.component.mjs +2 -2
  119. package/esm2022/navbar/navbar.component.mjs +2 -2
  120. package/esm2022/navbar/vertical-navbar.component.mjs +2 -2
  121. package/esm2022/popover/popover-confirm.component.mjs +3 -3
  122. package/esm2022/popover/popover.component.mjs +3 -3
  123. package/esm2022/progress-bar/progress-bar.component.mjs +2 -2
  124. package/esm2022/progress-spinner/progress-spinner.component.mjs +2 -2
  125. package/esm2022/radio/radio.component.mjs +2 -2
  126. package/esm2022/risk-level/risk-level.component.mjs +2 -2
  127. package/esm2022/scrollbar/scrollbar.component.mjs +3 -3
  128. package/esm2022/select/select.component.mjs +3 -3
  129. package/esm2022/sidepanel/sidepanel-container.component.mjs +3 -3
  130. package/esm2022/splitter/splitter.component.mjs +3 -3
  131. package/esm2022/table/table.component.mjs +2 -2
  132. package/esm2022/tabs/tab-group.component.mjs +2 -2
  133. package/esm2022/tabs/tab-header.component.mjs +2 -2
  134. package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +2 -2
  135. package/esm2022/tags/tag-list.component.mjs +2 -2
  136. package/esm2022/tags/tag.component.mjs +2 -2
  137. package/esm2022/timezone/timezone-option.component.mjs +2 -2
  138. package/esm2022/timezone/timezone-select.component.mjs +2 -2
  139. package/esm2022/toast/toast-container.component.mjs +2 -2
  140. package/esm2022/toast/toast.component.mjs +3 -3
  141. package/esm2022/toggle/toggle.component.mjs +3 -3
  142. package/esm2022/tooltip/tooltip.component.mjs +3 -3
  143. package/esm2022/tree/toggle.mjs +2 -2
  144. package/esm2022/tree/tree-option.component.mjs +2 -2
  145. package/esm2022/tree/tree-selection.component.mjs +2 -2
  146. package/esm2022/tree/tree.mjs +2 -2
  147. package/esm2022/tree-select/tree-select.component.mjs +3 -3
  148. package/fesm2022/koobiq-components-accordion.mjs +189 -0
  149. package/fesm2022/koobiq-components-accordion.mjs.map +1 -0
  150. package/fesm2022/koobiq-components-alert.mjs +2 -2
  151. package/fesm2022/koobiq-components-alert.mjs.map +1 -1
  152. package/fesm2022/koobiq-components-autocomplete.mjs +2 -2
  153. package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
  154. package/fesm2022/koobiq-components-badge.mjs +2 -2
  155. package/fesm2022/koobiq-components-badge.mjs.map +1 -1
  156. package/fesm2022/koobiq-components-button-toggle.mjs +2 -2
  157. package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
  158. package/fesm2022/koobiq-components-button.mjs +38 -8
  159. package/fesm2022/koobiq-components-button.mjs.map +1 -1
  160. package/fesm2022/koobiq-components-checkbox.mjs +2 -2
  161. package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
  162. package/fesm2022/koobiq-components-code-block.mjs +4 -4
  163. package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
  164. package/fesm2022/koobiq-components-core.mjs +9 -9
  165. package/fesm2022/koobiq-components-core.mjs.map +1 -1
  166. package/fesm2022/koobiq-components-datepicker.mjs +10 -10
  167. package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
  168. package/fesm2022/koobiq-components-divider.mjs +2 -2
  169. package/fesm2022/koobiq-components-divider.mjs.map +1 -1
  170. package/fesm2022/koobiq-components-dl.mjs +2 -2
  171. package/fesm2022/koobiq-components-dl.mjs.map +1 -1
  172. package/fesm2022/koobiq-components-dropdown.mjs +4 -4
  173. package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
  174. package/fesm2022/koobiq-components-empty-state.mjs +2 -2
  175. package/fesm2022/koobiq-components-empty-state.mjs.map +1 -1
  176. package/fesm2022/koobiq-components-file-upload.mjs +4 -4
  177. package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
  178. package/fesm2022/koobiq-components-form-field.mjs +12 -12
  179. package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
  180. package/fesm2022/koobiq-components-icon.mjs +6 -6
  181. package/fesm2022/koobiq-components-icon.mjs.map +1 -1
  182. package/fesm2022/koobiq-components-list.mjs +4 -4
  183. package/fesm2022/koobiq-components-list.mjs.map +1 -1
  184. package/fesm2022/koobiq-components-loader-overlay.mjs +2 -2
  185. package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
  186. package/fesm2022/koobiq-components-markdown.mjs +2 -2
  187. package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
  188. package/fesm2022/koobiq-components-modal.mjs +4 -6
  189. package/fesm2022/koobiq-components-modal.mjs.map +1 -1
  190. package/fesm2022/koobiq-components-navbar.mjs +6 -6
  191. package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
  192. package/fesm2022/koobiq-components-popover.mjs +4 -4
  193. package/fesm2022/koobiq-components-popover.mjs.map +1 -1
  194. package/fesm2022/koobiq-components-progress-bar.mjs +2 -2
  195. package/fesm2022/koobiq-components-progress-bar.mjs.map +1 -1
  196. package/fesm2022/koobiq-components-progress-spinner.mjs +2 -2
  197. package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
  198. package/fesm2022/koobiq-components-radio.mjs +2 -2
  199. package/fesm2022/koobiq-components-radio.mjs.map +1 -1
  200. package/fesm2022/koobiq-components-risk-level.mjs +2 -2
  201. package/fesm2022/koobiq-components-risk-level.mjs.map +1 -1
  202. package/fesm2022/koobiq-components-scrollbar.mjs +2 -2
  203. package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -1
  204. package/fesm2022/koobiq-components-select.mjs +2 -2
  205. package/fesm2022/koobiq-components-select.mjs.map +1 -1
  206. package/fesm2022/koobiq-components-sidepanel.mjs +2 -2
  207. package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
  208. package/fesm2022/koobiq-components-splitter.mjs +2 -2
  209. package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
  210. package/fesm2022/koobiq-components-table.mjs +2 -2
  211. package/fesm2022/koobiq-components-table.mjs.map +1 -1
  212. package/fesm2022/koobiq-components-tabs.mjs +6 -6
  213. package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
  214. package/fesm2022/koobiq-components-tags.mjs +4 -4
  215. package/fesm2022/koobiq-components-tags.mjs.map +1 -1
  216. package/fesm2022/koobiq-components-timezone.mjs +4 -4
  217. package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
  218. package/fesm2022/koobiq-components-toast.mjs +4 -4
  219. package/fesm2022/koobiq-components-toast.mjs.map +1 -1
  220. package/fesm2022/koobiq-components-toggle.mjs +2 -2
  221. package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
  222. package/fesm2022/koobiq-components-tooltip.mjs +2 -2
  223. package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
  224. package/fesm2022/koobiq-components-tree-select.mjs +2 -2
  225. package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
  226. package/fesm2022/koobiq-components-tree.mjs +8 -8
  227. package/fesm2022/koobiq-components-tree.mjs.map +1 -1
  228. package/file-upload/_file-upload-theme.scss +27 -29
  229. package/file-upload/multiple-file-upload.component.scss +26 -26
  230. package/file-upload/single-file-upload.component.scss +8 -8
  231. package/form-field/_form-field-theme.scss +14 -14
  232. package/form-field/_hint-theme.scss +2 -2
  233. package/form-field/cleaner.scss +2 -2
  234. package/form-field/form-field.scss +10 -10
  235. package/form-field/hint.scss +4 -4
  236. package/form-field/password-toggle.scss +2 -2
  237. package/form-field/stepper.scss +3 -3
  238. package/icon/_icon-button-theme.scss +26 -26
  239. package/icon/_icon-item-theme.scss +2 -2
  240. package/icon/_icon-theme.scss +6 -6
  241. package/icon/icon-button.scss +2 -4
  242. package/icon/icon-item.scss +2 -4
  243. package/input/input.scss +2 -2
  244. package/link/_link-theme.scss +11 -11
  245. package/list/_list-theme.scss +6 -6
  246. package/list/list.scss +1 -1
  247. package/loader-overlay/_loader-overlay-theme.scss +6 -6
  248. package/loader-overlay/loader-overlay.scss +8 -8
  249. package/markdown/_markdown-theme.scss +27 -27
  250. package/markdown/markdown-tokens.scss +17 -17
  251. package/markdown/markdown.scss +29 -29
  252. package/modal/_modal-confirm.scss +1 -1
  253. package/modal/_modal-theme.scss +9 -12
  254. package/modal/modal.scss +12 -13
  255. package/navbar/_navbar-item_horizontal.scss +20 -20
  256. package/navbar/_navbar-item_vertical.scss +28 -28
  257. package/navbar/_navbar-theme.scss +8 -8
  258. package/navbar/navbar-brand.scss +23 -23
  259. package/navbar/navbar-divider.scss +3 -3
  260. package/navbar/navbar-item.scss +6 -6
  261. package/navbar/navbar.scss +1 -1
  262. package/navbar/vertical-navbar.scss +2 -2
  263. package/package.json +13 -6
  264. package/popover/_popover-theme.scss +7 -7
  265. package/popover/popover.scss +17 -18
  266. package/prebuilt-themes/dark-theme.css +1 -1
  267. package/prebuilt-themes/light-theme.css +1 -1
  268. package/prebuilt-themes/theme.css +1 -1
  269. package/progress-bar/_progress-bar-theme.scss +4 -4
  270. package/progress-bar/progress-bar.scss +5 -5
  271. package/progress-spinner/_progress-spinner-theme.scss +3 -3
  272. package/progress-spinner/progress-spinner.scss +7 -7
  273. package/radio/_radio-theme.scss +9 -9
  274. package/radio/radio.scss +14 -14
  275. package/risk-level/_risk-level-theme.scss +5 -5
  276. package/risk-level/risk-level.component.scss +3 -3
  277. package/schematics/ng-add/index.js +21 -4
  278. package/scrollbar/_scrollbar-component-theme.scss +12 -12
  279. package/scrollbar/scrollbar.component.scss +6 -6
  280. package/select/_select-theme.scss +9 -9
  281. package/select/select.scss +2 -2
  282. package/sidepanel/_sidepanel-theme.scss +4 -4
  283. package/sidepanel/sidepanel.scss +14 -16
  284. package/splitter/_splitter-theme.scss +1 -1
  285. package/table/_table-theme.scss +5 -5
  286. package/table/table.scss +12 -12
  287. package/tabs/_tabs-common.scss +3 -3
  288. package/tabs/_tabs-theme.scss +13 -13
  289. package/tabs/tab-group.scss +1 -1
  290. package/tabs/tab-header.scss +3 -2
  291. package/tabs/tab-nav-bar/tab-nav-bar.scss +1 -1
  292. package/tags/_tag-theme.scss +5 -5
  293. package/tags/tag-list.scss +5 -5
  294. package/tags/tag.scss +4 -4
  295. package/textarea/textarea.scss +2 -2
  296. package/timepicker/timepicker.scss +1 -1
  297. package/timezone/_timezone-option-theme.scss +3 -3
  298. package/timezone/timezone-option.component.scss +4 -4
  299. package/timezone/timezone-select.component.scss +1 -1
  300. package/toast/_toast-theme.scss +4 -4
  301. package/toast/toast-container.component.scss +3 -3
  302. package/toast/toast.component.scss +21 -21
  303. package/toggle/_toggle-theme.scss +8 -8
  304. package/toggle/toggle.scss +8 -8
  305. package/tooltip/_tooltip-theme.scss +5 -5
  306. package/tooltip/tooltip.scss +7 -7
  307. package/tree/_tree-theme.scss +6 -6
  308. package/tree/toggle.scss +2 -2
  309. package/tree/tree-option.scss +4 -4
  310. package/tree-select/_tree-select-theme.scss +7 -7
@@ -11,111 +11,111 @@
11
11
 
12
12
  // FIXME: move to unified mixin
13
13
  &.kbq-theme {
14
- color: kbq-css-variable(icon-button-theme-default);
14
+ color: var(--kbq-icon-button-theme-default);
15
15
 
16
16
  &:active,
17
17
  &.kbq-active {
18
- color: kbq-css-variable(icon-button-theme-states-active);
18
+ color: var(--kbq-icon-button-theme-states-active);
19
19
  }
20
20
 
21
21
  &:not(.kbq-disabled):hover {
22
- color: kbq-css-variable(icon-button-theme-states-hover);
22
+ color: var(--kbq-icon-button-theme-states-hover);
23
23
  }
24
24
 
25
25
  &.kbq-disabled {
26
- color: kbq-css-variable(icon-button-theme-states-disabled);
26
+ color: var(--kbq-icon-button-theme-states-disabled);
27
27
  }
28
28
  }
29
29
 
30
30
  &.kbq-contrast {
31
- color: kbq-css-variable(icon-button-contrast-default);
31
+ color: var(--kbq-icon-button-contrast-default);
32
32
 
33
33
  &:active,
34
34
  &.kbq-active {
35
- color: kbq-css-variable(icon-button-contrast-states-active);
35
+ color: var(--kbq-icon-button-contrast-states-active);
36
36
  }
37
37
 
38
38
  &:not(.kbq-disabled):hover {
39
- color: kbq-css-variable(icon-button-contrast-states-hover);
39
+ color: var(--kbq-icon-button-contrast-states-hover);
40
40
  }
41
41
 
42
42
  &.kbq-disabled {
43
- color: kbq-css-variable(icon-button-contrast-states-disabled);
43
+ color: var(--kbq-icon-button-contrast-states-disabled);
44
44
  }
45
45
  }
46
46
 
47
47
  &.kbq-contrast-fade {
48
- color: kbq-css-variable(icon-button-fade-contrast-default);
48
+ color: var(--kbq-icon-button-fade-contrast-default);
49
49
 
50
50
  &:active,
51
51
  &.kbq-active {
52
- color: kbq-css-variable(icon-button-fade-contrast-states-active);
52
+ color: var(--kbq-icon-button-fade-contrast-states-active);
53
53
  }
54
54
 
55
55
  &:not(.kbq-disabled):hover {
56
- color: kbq-css-variable(icon-button-fade-contrast-states-hover);
56
+ color: var(--kbq-icon-button-fade-contrast-states-hover);
57
57
  }
58
58
 
59
59
  &.kbq-disabled {
60
- color: kbq-css-variable(icon-button-fade-contrast-states-disabled);
60
+ color: var(--kbq-icon-button-fade-contrast-states-disabled);
61
61
  }
62
62
  }
63
63
 
64
64
  &.kbq-error {
65
- color: kbq-css-variable(icon-button-error-default);
65
+ color: var(--kbq-icon-button-error-default);
66
66
 
67
67
  &:active,
68
68
  &.kbq-active {
69
- color: kbq-css-variable(icon-button-error-states-active);
69
+ color: var(--kbq-icon-button-error-states-active);
70
70
  }
71
71
 
72
72
  &:not(.kbq-disabled):hover {
73
- color: kbq-css-variable(icon-button-error-states-hover);
73
+ color: var(--kbq-icon-button-error-states-hover);
74
74
  }
75
75
 
76
76
  &.kbq-disabled {
77
- color: kbq-css-variable(icon-button-error-states-disabled);
77
+ color: var(--kbq-icon-button-error-states-disabled);
78
78
  }
79
79
  }
80
80
 
81
81
  &.kbq-success {
82
- color: kbq-css-variable(icon-button-success-default);
82
+ color: var(--kbq-icon-button-success-default);
83
83
 
84
84
  &:active,
85
85
  &.kbq-active {
86
- color: kbq-css-variable(icon-button-success-states-active);
86
+ color: var(--kbq-icon-button-success-states-active);
87
87
  }
88
88
 
89
89
  &:not(.kbq-disabled):hover {
90
- color: kbq-css-variable(icon-button-success-states-hover);
90
+ color: var(--kbq-icon-button-success-states-hover);
91
91
  }
92
92
 
93
93
  &.kbq-disabled {
94
- color: kbq-css-variable(icon-button-success-states-disabled);
94
+ color: var(--kbq-icon-button-success-states-disabled);
95
95
  }
96
96
  }
97
97
 
98
98
  &.kbq-warning {
99
- color: kbq-css-variable(icon-button-warning-default);
99
+ color: var(--kbq-icon-button-warning-default);
100
100
 
101
101
  &:active,
102
102
  &.kbq-active {
103
- color: kbq-css-variable(icon-button-warning-states-active);
103
+ color: var(--kbq-icon-button-warning-states-active);
104
104
  }
105
105
 
106
106
  &:not(.kbq-disabled):hover {
107
- color: kbq-css-variable(icon-button-warning-states-hover);
107
+ color: var(--kbq-icon-button-warning-states-hover);
108
108
  }
109
109
 
110
110
  &.kbq-disabled {
111
- color: kbq-css-variable(icon-button-warning-states-disabled);
111
+ color: var(--kbq-icon-button-warning-states-disabled);
112
112
  }
113
113
  }
114
114
 
115
115
  &.cdk-keyboard-focused {
116
116
  box-shadow:
117
- inset 0 0 0.1px 1px kbq-css-variable(states-focused-color),
118
- 0 0 0.1px 1px kbq-css-variable(states-focused-color);
117
+ inset 0 0 0.1px 1px var(--kbq-states-focused-color),
118
+ 0 0 0.1px 1px var(--kbq-states-focused-color);
119
119
  }
120
120
  }
121
121
  }
@@ -6,8 +6,8 @@
6
6
  @mixin kbq-icon-item-style($type, $style-name) {
7
7
  $base: icon-item-filled-#{$type}-#{$style-name};
8
8
 
9
- color: kbq-css-variable(#{$base}-color);
10
- background: kbq-css-variable(#{$base}-background);
9
+ color: var(--kbq-#{$base}-color);
10
+ background: var(--kbq-#{$base}-background);
11
11
  }
12
12
 
13
13
  @mixin kbq-icon-item-theme() {
@@ -3,27 +3,27 @@
3
3
  @mixin kbq-icon-theme() {
4
4
  .kbq-icon:not(.kbq-icon-button, .kbq-icon-item) {
5
5
  &.kbq-theme {
6
- color: kbq-css-variable(icon-theme-color);
6
+ color: var(--kbq-icon-theme-color);
7
7
  }
8
8
 
9
9
  &.kbq-contrast {
10
- color: kbq-css-variable(icon-contrast-color);
10
+ color: var(--kbq-icon-contrast-color);
11
11
  }
12
12
 
13
13
  &.kbq-contrast-fade {
14
- color: kbq-css-variable(icon-fade-contrast-color);
14
+ color: var(--kbq-icon-fade-contrast-color);
15
15
  }
16
16
 
17
17
  &.kbq-error {
18
- color: kbq-css-variable(icon-error-color);
18
+ color: var(--kbq-icon-error-color);
19
19
  }
20
20
 
21
21
  &.kbq-warning {
22
- color: kbq-css-variable(icon-warning-color);
22
+ color: var(--kbq-icon-warning-color);
23
23
  }
24
24
 
25
25
  &.kbq-success {
26
- color: kbq-css-variable(icon-success-color);
26
+ color: var(--kbq-icon-success-color);
27
27
  }
28
28
  }
29
29
  }
@@ -10,12 +10,10 @@
10
10
  cursor: pointer;
11
11
  }
12
12
 
13
- padding: kbq-css-variable(icon-button-size-normal-vertical-padding)
14
- kbq-css-variable(icon-button-size-normal-horizontal-padding);
13
+ padding: var(--kbq-icon-button-size-normal-vertical-padding) var(--kbq-icon-button-size-normal-horizontal-padding);
15
14
 
16
15
  &.kbq-icon-button_small {
17
- padding: kbq-css-variable(icon-button-size-small-vertical-padding)
18
- kbq-css-variable(icon-button-size-small-horizontal-padding);
16
+ padding: var(--kbq-icon-button-size-small-vertical-padding) var(--kbq-icon-button-size-small-horizontal-padding);
19
17
  }
20
18
  }
21
19
 
@@ -11,13 +11,11 @@
11
11
  border-radius: 50%;
12
12
 
13
13
  &.kbq-icon-item_normal {
14
- padding: kbq-css-variable(icon-item-size-normal-vertical-padding)
15
- kbq-css-variable(icon-item-size-normal-horizontal-padding);
14
+ padding: var(--kbq-icon-item-size-normal-vertical-padding) var(--kbq-icon-item-size-normal-horizontal-padding);
16
15
  }
17
16
 
18
17
  &.kbq-icon-item_big {
19
- padding: kbq-css-variable(icon-item-size-big-vertical-padding)
20
- kbq-css-variable(icon-item-size-big-horizontal-padding);
18
+ padding: var(--kbq-icon-item-size-big-vertical-padding) var(--kbq-icon-item-size-big-horizontal-padding);
21
19
  }
22
20
  }
23
21
 
package/input/input.scss CHANGED
@@ -14,11 +14,11 @@
14
14
  width: 100%;
15
15
  min-height: kbq-difference-series-css-variables(
16
16
  [form-field-size-height,
17
- calc(kbq-css-variable(form-field-size-border-width) * 2)]
17
+ calc(var(--kbq-form-field-size-border-width) * 2)]
18
18
  );
19
19
 
20
20
  padding: kbq-difference-series-css-variables([input-size-padding-vertical, form-field-size-border-width])
21
- kbq-css-variable(input-size-padding-horizontal);
21
+ var(--kbq-input-size-padding-horizontal);
22
22
  }
23
23
 
24
24
  input.kbq-input[type='number'] {
@@ -8,7 +8,7 @@
8
8
  text-decoration: none;
9
9
  cursor: pointer;
10
10
 
11
- outline-offset: kbq-css-variable(link-size-state-focused-outline-offset);
11
+ outline-offset: var(--kbq-link-size-state-focused-outline-offset);
12
12
 
13
13
  &:focus {
14
14
  outline: none;
@@ -23,22 +23,22 @@
23
23
 
24
24
  &.kbq-text-with-icon .kbq-link__text {
25
25
  &:not(:first-child) {
26
- margin-left: kbq-css-variable(link-size-normal-content-padding);
26
+ margin-left: var(--kbq-link-size-normal-content-padding);
27
27
  }
28
28
 
29
29
  &:not(:last-child) {
30
- margin-right: kbq-css-variable(link-size-normal-content-padding);
30
+ margin-right: var(--kbq-link-size-normal-content-padding);
31
31
  }
32
32
  }
33
33
 
34
34
  &.kbq-link_compact {
35
35
  &.kbq-text-with-icon .kbq-link__text {
36
36
  &:not(:first-child) {
37
- margin-left: kbq-css-variable(link-size-compact-content-padding);
37
+ margin-left: var(--kbq-link-size-compact-content-padding);
38
38
  }
39
39
 
40
40
  &:not(:last-child) {
41
- margin-right: kbq-css-variable(link-size-compact-content-padding);
41
+ margin-right: var(--kbq-link-size-compact-content-padding);
42
42
  }
43
43
  }
44
44
  }
@@ -46,11 +46,11 @@
46
46
  &.kbq-link_big {
47
47
  &.kbq-text-with-icon .kbq-link__text {
48
48
  &:not(:first-child) {
49
- margin-left: kbq-css-variable(link-size-big-content-padding);
49
+ margin-left: var(--kbq-link-size-big-content-padding);
50
50
  }
51
51
 
52
52
  &:not(:last-child) {
53
- margin-right: kbq-css-variable(link-size-big-content-padding);
53
+ margin-right: var(--kbq-link-size-big-content-padding);
54
54
  }
55
55
  }
56
56
  }
@@ -72,16 +72,16 @@
72
72
  $base-path: link-#{$state-name};
73
73
  }
74
74
 
75
- color: kbq-css-variable(#{$base-path}-text);
75
+ color: var(--kbq-#{$base-path}-text);
76
76
 
77
77
  &.kbq-text-only,
78
78
  &.kbq-text-with-icon .kbq-link__text,
79
79
  &.kbq-text-with-dot .kbq-link__text {
80
- border-bottom-color: kbq-css-variable(#{$base-path}-border-bottom);
80
+ border-bottom-color: var(--kbq-#{$base-path}-border-bottom);
81
81
  }
82
82
 
83
83
  & .kbq-icon {
84
- color: kbq-css-variable(#{$base-path}-text) !important;
84
+ color: var(--kbq-#{$base-path}-text) !important;
85
85
  }
86
86
  }
87
87
 
@@ -118,7 +118,7 @@
118
118
  }
119
119
 
120
120
  &.cdk-keyboard-focused {
121
- outline: kbq-css-variable(link-state-focused-outline) solid;
121
+ outline: var(--kbq-link-state-focused-outline) solid;
122
122
  }
123
123
 
124
124
  &.kbq-disabled {
@@ -1,22 +1,22 @@
1
1
  @use '../core/styles/common/tokens' as *;
2
2
 
3
3
  @mixin kbq-list-item($state-name) {
4
- background: kbq-css-variable(list-#{$state-name}-container-background);
4
+ background: var(--kbq-list-#{$state-name}-container-background);
5
5
 
6
6
  .kbq-list-text {
7
- color: kbq-css-variable(list-#{$state-name}-text-color);
7
+ color: var(--kbq-list-#{$state-name}-text-color);
8
8
  }
9
9
 
10
10
  .kbq-icon {
11
- color: kbq-css-variable(list-#{$state-name}-icon-color);
11
+ color: var(--kbq-list-#{$state-name}-icon-color);
12
12
  }
13
13
 
14
14
  .kbq-option-action .kbq-icon {
15
- color: kbq-css-variable(list-#{$state-name}-icon-button-color);
15
+ color: var(--kbq-list-#{$state-name}-icon-button-color);
16
16
  }
17
17
 
18
18
  .kbq-list-option-caption {
19
- color: kbq-css-variable(list-#{$state-name}-caption-color);
19
+ color: var(--kbq-list-#{$state-name}-caption-color);
20
20
  }
21
21
  }
22
22
 
@@ -29,7 +29,7 @@
29
29
  }
30
30
 
31
31
  &.kbq-focused {
32
- border-color: kbq-css-variable(list-states-focused-focus-outline-color);
32
+ border-color: var(--kbq-list-states-focused-focus-outline-color);
33
33
  }
34
34
 
35
35
  &.kbq-selected {
package/list/list.scss CHANGED
@@ -24,7 +24,7 @@
24
24
 
25
25
  & .kbq-option-action {
26
26
  display: none;
27
- height: kbq-css-variable(size-xl);
27
+ height: var(--kbq-size-xl);
28
28
  align-items: center;
29
29
  }
30
30
 
@@ -4,29 +4,29 @@
4
4
  // FIXME: move to unified mixin if necessary
5
5
  .kbq-loader-overlay_filled {
6
6
  &.kbq-loader-overlay {
7
- background: kbq-css-variable(loader-overlay-filled-overlay-background);
7
+ background: var(--kbq-loader-overlay-filled-overlay-background);
8
8
  }
9
9
 
10
10
  & .kbq-loader-overlay-text {
11
- color: kbq-css-variable(loader-overlay-filled-text-color);
11
+ color: var(--kbq-loader-overlay-filled-text-color);
12
12
  }
13
13
 
14
14
  & .kbq-loader-overlay-caption {
15
- color: kbq-css-variable(loader-overlay-filled-caption-color);
15
+ color: var(--kbq-loader-overlay-filled-caption-color);
16
16
  }
17
17
  }
18
18
 
19
19
  .kbq-loader-overlay_transparent {
20
20
  &.kbq-loader-overlay {
21
- background: kbq-css-variable(loader-overlay-transparent-overlay-background);
21
+ background: var(--kbq-loader-overlay-transparent-overlay-background);
22
22
  }
23
23
 
24
24
  & .kbq-loader-overlay-text {
25
- color: kbq-css-variable(loader-overlay-transparent-text-color);
25
+ color: var(--kbq-loader-overlay-transparent-text-color);
26
26
  }
27
27
 
28
28
  & .kbq-loader-overlay-caption {
29
- color: kbq-css-variable(loader-overlay-transparent-caption-color);
29
+ color: var(--kbq-loader-overlay-transparent-caption-color);
30
30
  }
31
31
  }
32
32
  }
@@ -41,30 +41,30 @@
41
41
  }
42
42
 
43
43
  &.kbq-loader-overlay_big {
44
- padding-left: kbq-css-variable(loader-overlay-size-big-overlay-padding-horizontal);
44
+ padding-left: var(--kbq-loader-overlay-size-big-overlay-padding-horizontal);
45
45
 
46
- padding-right: kbq-css-variable(loader-overlay-size-big-overlay-padding-horizontal);
46
+ padding-right: var(--kbq-loader-overlay-size-big-overlay-padding-horizontal);
47
47
 
48
48
  & .kbq-progress-spinner {
49
- margin-bottom: kbq-css-variable(loader-overlay-size-big-loader-margin-bottom);
49
+ margin-bottom: var(--kbq-loader-overlay-size-big-loader-margin-bottom);
50
50
  }
51
51
 
52
52
  & .kbq-loader-overlay-text {
53
- margin-bottom: kbq-css-variable(loader-overlay-size-big-content-content-gap-vertical);
53
+ margin-bottom: var(--kbq-loader-overlay-size-big-content-content-gap-vertical);
54
54
  }
55
55
  }
56
56
 
57
57
  &.kbq-loader-overlay_compact {
58
- padding-left: kbq-css-variable(loader-overlay-size-compact-overlay-padding-horizontal);
58
+ padding-left: var(--kbq-loader-overlay-size-compact-overlay-padding-horizontal);
59
59
 
60
- padding-right: kbq-css-variable(loader-overlay-size-compact-overlay-padding-horizontal);
60
+ padding-right: var(--kbq-loader-overlay-size-compact-overlay-padding-horizontal);
61
61
 
62
62
  & .kbq-progress-spinner {
63
- margin-bottom: kbq-css-variable(loader-overlay-size-compact-loader-margin-bottom);
63
+ margin-bottom: var(--kbq-loader-overlay-size-compact-loader-margin-bottom);
64
64
  }
65
65
 
66
66
  & .kbq-loader-overlay-text {
67
- margin-bottom: kbq-css-variable(loader-overlay-size-compact-content-content-gap-vertical);
67
+ margin-bottom: var(--kbq-loader-overlay-size-compact-content-content-gap-vertical);
68
68
  }
69
69
  }
70
70
  }
@@ -4,81 +4,81 @@
4
4
 
5
5
  @mixin kbq-markdown-theme() {
6
6
  .kbq-markdown {
7
- color: kbq-css-variable(foreground-contrast);
8
- background: kbq-css-variable(background-bg);
7
+ color: var(--kbq-foreground-contrast);
8
+ background: var(--kbq-background-bg);
9
9
 
10
10
  // h1, h2, h3, h4, h5, h6
11
11
  @for $i from 1 through 6 {
12
12
  .kbq-markdown__h#{$i} {
13
- color: kbq-css-variable(markdown-h#{$i}-color);
13
+ color: var(--kbq-markdown-h#{$i}-color);
14
14
  }
15
15
  }
16
16
 
17
17
  .kbq-markdown__p {
18
- color: kbq-css-variable(markdown-p-color);
18
+ color: var(--kbq-markdown-p-color);
19
19
  }
20
20
 
21
21
  .kbq-markdown__ul,
22
22
  .kbq-markdown__ol {
23
- color: kbq-css-variable(markdown-list-color);
23
+ color: var(--kbq-markdown-list-color);
24
24
  }
25
25
 
26
26
  .kbq-markdown__blockquote {
27
- color: kbq-css-variable(markdown-blockquote-text);
28
- background: kbq-css-variable(markdown-blockquote-background);
29
- border-color: kbq-css-variable(markdown-blockquote-border);
30
- border-left-color: kbq-css-variable(markdown-blockquote-line);
27
+ color: var(--kbq-markdown-blockquote-text);
28
+ background: var(--kbq-markdown-blockquote-background);
29
+ border-color: var(--kbq-markdown-blockquote-border);
30
+ border-left-color: var(--kbq-markdown-blockquote-line);
31
31
  }
32
32
 
33
33
  .kbq-markdown__pre,
34
34
  .kbq-markdown__p > .kbq-markdown__code {
35
- color: kbq-css-variable(markdown-code-text);
36
- background-color: kbq-css-variable(markdown-code-background);
37
- border-color: kbq-css-variable(markdown-code-border);
35
+ color: var(--kbq-markdown-code-text);
36
+ background-color: var(--kbq-markdown-code-background);
37
+ border-color: var(--kbq-markdown-code-border);
38
38
  }
39
39
 
40
40
  .kbq-markdown__a {
41
- color: kbq-css-variable(markdown-link-text);
42
- border-bottom-color: kbq-css-variable(markdown-link-border-bottom);
41
+ color: var(--kbq-markdown-link-text);
42
+ border-bottom-color: var(--kbq-markdown-link-border-bottom);
43
43
 
44
44
  &:visited {
45
- color: kbq-css-variable(markdown-link-state-visited-text);
46
- border-bottom-color: kbq-css-variable(markdown-link-state-visited-border-bottom);
45
+ color: var(--kbq-markdown-link-state-visited-text);
46
+ border-bottom-color: var(--kbq-markdown-link-state-visited-border-bottom);
47
47
  }
48
48
 
49
49
  &:hover {
50
- color: kbq-css-variable(markdown-link-state-hover-text);
50
+ color: var(--kbq-markdown-link-state-hover-text);
51
51
  transition: color 0ms;
52
- border-bottom-color: kbq-css-variable(markdown-link-state-hover-border-bottom);
52
+ border-bottom-color: var(--kbq-markdown-link-state-hover-border-bottom);
53
53
  }
54
54
 
55
55
  &:active {
56
- color: kbq-css-variable(markdown-link-state-active);
56
+ color: var(--kbq-markdown-link-state-active);
57
57
  }
58
58
 
59
59
  &:focus {
60
- outline: kbq-css-variable(markdown-link-state-focused-outline) solid
61
- kbq-css-variable(markdown-link-size-state-focused-outline-width);
60
+ outline: var(--kbq-markdown-link-state-focused-outline) solid
61
+ var(--kbq-markdown-link-size-state-focused-outline-width);
62
62
 
63
- outline-offset: kbq-css-variable(markdown-link-size-state-focused-outline-offset);
63
+ outline-offset: var(--kbq-markdown-link-size-state-focused-outline-offset);
64
64
  }
65
65
  }
66
66
 
67
67
  .kbq-markdown__img + em {
68
- color: kbq-css-variable(markdown-image-caption-text);
68
+ color: var(--kbq-markdown-image-caption-text);
69
69
  }
70
70
 
71
71
  .kbq-markdown__hr {
72
- border-bottom-color: kbq-css-variable(markdown-hr-color);
72
+ border-bottom-color: var(--kbq-markdown-hr-color);
73
73
  }
74
74
 
75
75
  .kbq-markdown__table > .kbq-markdown__thead {
76
- color: kbq-css-variable(markdown-table-header);
77
- border-bottom-color: kbq-css-variable(markdown-table-border);
76
+ color: var(--kbq-markdown-table-header);
77
+ border-bottom-color: var(--kbq-markdown-table-border);
78
78
  }
79
79
 
80
80
  .kbq-markdown__table > .kbq-markdown__tbody {
81
- color: kbq-css-variable(markdown-table-body);
81
+ color: var(--kbq-markdown-table-body);
82
82
  }
83
83
  }
84
84
  }