@koobiq/components 18.1.0 → 18.2.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 (328) 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.d.ts +1 -1
  41. package/core/option/action.scss +2 -2
  42. package/core/option/optgroup.scss +1 -1
  43. package/core/pop-up/pop-up-trigger.d.ts +3 -3
  44. package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +8 -8
  45. package/core/selection/pseudo-checkbox/pseudo-checkbox-tokens.scss +2 -2
  46. package/core/selection/pseudo-checkbox/pseudo-checkbox.scss +8 -8
  47. package/core/styles/common/_groups.scss +4 -4
  48. package/core/styles/common/_list.scss +19 -19
  49. package/core/styles/common/_popup.scss +3 -3
  50. package/core/styles/common/_select.scss +13 -13
  51. package/core/styles/common/_tokens.scss +8 -19
  52. package/core/styles/theming/_scrollbar-theme.scss +11 -11
  53. package/core/styles/visual/_layout.scss +13 -13
  54. package/datepicker/_datepicker-theme.scss +15 -15
  55. package/datepicker/calendar-body.scss +2 -2
  56. package/datepicker/calendar-header.scss +3 -3
  57. package/datepicker/calendar.scss +6 -6
  58. package/datepicker/datepicker-content.scss +4 -4
  59. package/datepicker/datepicker-toggle.scss +2 -2
  60. package/divider/_divider-theme.scss +1 -1
  61. package/divider/divider.scss +6 -6
  62. package/dl/_dl-theme.scss +2 -2
  63. package/dl/dl.scss +4 -4
  64. package/dropdown/_dropdown-theme.scss +7 -7
  65. package/dropdown/dropdown-item.scss +2 -2
  66. package/dropdown/dropdown.scss +5 -5
  67. package/empty-state/_empty-state-theme.scss +4 -4
  68. package/empty-state/empty-state.scss +18 -20
  69. package/esm2022/accordion/accordion-content.mjs +19 -0
  70. package/esm2022/accordion/accordion-header.mjs +19 -0
  71. package/esm2022/accordion/accordion-item.mjs +25 -0
  72. package/esm2022/accordion/accordion-trigger.component.mjs +60 -0
  73. package/esm2022/accordion/accordion.component.mjs +40 -0
  74. package/esm2022/accordion/accordion.module.mjs +44 -0
  75. package/esm2022/accordion/index.mjs +2 -0
  76. package/esm2022/accordion/koobiq-components-accordion.mjs +5 -0
  77. package/esm2022/accordion/public-api.mjs +7 -0
  78. package/esm2022/alert/alert.component.mjs +2 -2
  79. package/esm2022/autocomplete/autocomplete.component.mjs +2 -2
  80. package/esm2022/badge/badge.component.mjs +2 -2
  81. package/esm2022/button/button.component.mjs +2 -2
  82. package/esm2022/button/button.dropdown-trigger.directive.mjs +28 -0
  83. package/esm2022/button/button.module.mjs +10 -5
  84. package/esm2022/button/public-api.mjs +2 -1
  85. package/esm2022/button-toggle/button-toggle.component.mjs +2 -2
  86. package/esm2022/checkbox/checkbox.mjs +2 -2
  87. package/esm2022/code-block/actionbar.component.mjs +2 -2
  88. package/esm2022/code-block/code-block.component.mjs +2 -2
  89. package/esm2022/core/option/action.mjs +7 -10
  90. package/esm2022/core/option/optgroup.mjs +2 -2
  91. package/esm2022/core/option/option.mjs +2 -2
  92. package/esm2022/core/pop-up/pop-up-trigger.mjs +12 -12
  93. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +2 -2
  94. package/esm2022/core/version.mjs +2 -2
  95. package/esm2022/datepicker/calendar-body.component.mjs +2 -2
  96. package/esm2022/datepicker/calendar-header.component.mjs +2 -2
  97. package/esm2022/datepicker/calendar.component.mjs +2 -2
  98. package/esm2022/datepicker/datepicker-toggle.component.mjs +2 -2
  99. package/esm2022/datepicker/datepicker.component.mjs +3 -3
  100. package/esm2022/divider/divider.component.mjs +2 -2
  101. package/esm2022/dl/dl.component.mjs +2 -2
  102. package/esm2022/dropdown/dropdown-item.component.mjs +2 -2
  103. package/esm2022/dropdown/dropdown.component.mjs +3 -3
  104. package/esm2022/empty-state/empty-state.component.mjs +2 -2
  105. package/esm2022/file-upload/multiple-file-upload.component.mjs +2 -2
  106. package/esm2022/file-upload/single-file-upload.component.mjs +2 -2
  107. package/esm2022/form-field/cleaner.mjs +2 -2
  108. package/esm2022/form-field/form-field.mjs +9 -10
  109. package/esm2022/form-field/hint.mjs +2 -2
  110. package/esm2022/form-field/password-hint.mjs +2 -2
  111. package/esm2022/form-field/password-toggle.mjs +2 -2
  112. package/esm2022/form-field/stepper.mjs +2 -2
  113. package/esm2022/icon/icon-button.component.mjs +2 -2
  114. package/esm2022/icon/icon-item.component.mjs +2 -2
  115. package/esm2022/icon/icon.component.mjs +2 -2
  116. package/esm2022/list/list-selection.component.mjs +10 -14
  117. package/esm2022/list/list.component.mjs +2 -2
  118. package/esm2022/loader-overlay/loader-overlay.component.mjs +2 -2
  119. package/esm2022/markdown/markdown.component.mjs +2 -2
  120. package/esm2022/modal/modal.component.mjs +5 -7
  121. package/esm2022/navbar/navbar-item.component.mjs +8 -11
  122. package/esm2022/navbar/navbar.component.mjs +14 -15
  123. package/esm2022/navbar/vertical-navbar.component.mjs +2 -2
  124. package/esm2022/popover/popover-confirm.component.mjs +5 -5
  125. package/esm2022/popover/popover.component.mjs +3 -3
  126. package/esm2022/progress-bar/progress-bar.component.mjs +2 -2
  127. package/esm2022/progress-spinner/progress-spinner.component.mjs +2 -2
  128. package/esm2022/radio/radio.component.mjs +2 -2
  129. package/esm2022/risk-level/risk-level.component.mjs +2 -2
  130. package/esm2022/scrollbar/scrollbar.component.mjs +3 -3
  131. package/esm2022/select/select.component.mjs +17 -16
  132. package/esm2022/sidepanel/sidepanel-container.component.mjs +3 -3
  133. package/esm2022/splitter/splitter.component.mjs +3 -3
  134. package/esm2022/table/table.component.mjs +2 -2
  135. package/esm2022/tabs/paginated-tab-header.mjs +10 -12
  136. package/esm2022/tabs/tab-group.component.mjs +2 -2
  137. package/esm2022/tabs/tab-header.component.mjs +2 -2
  138. package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +2 -2
  139. package/esm2022/tags/tag-list.component.mjs +11 -13
  140. package/esm2022/tags/tag.component.mjs +2 -2
  141. package/esm2022/timezone/timezone-option.component.mjs +2 -2
  142. package/esm2022/timezone/timezone-select.component.mjs +2 -2
  143. package/esm2022/toast/toast-container.component.mjs +2 -2
  144. package/esm2022/toast/toast.component.mjs +7 -8
  145. package/esm2022/toggle/toggle.component.mjs +3 -3
  146. package/esm2022/tooltip/tooltip.component.mjs +3 -3
  147. package/esm2022/tree/padding.directive.mjs +3 -9
  148. package/esm2022/tree/toggle.mjs +2 -2
  149. package/esm2022/tree/tree-base.mjs +5 -8
  150. package/esm2022/tree/tree-option.component.mjs +2 -2
  151. package/esm2022/tree/tree-selection.component.mjs +12 -15
  152. package/esm2022/tree/tree.mjs +2 -2
  153. package/esm2022/tree-select/tree-select.component.mjs +15 -15
  154. package/fesm2022/koobiq-components-accordion.mjs +189 -0
  155. package/fesm2022/koobiq-components-accordion.mjs.map +1 -0
  156. package/fesm2022/koobiq-components-alert.mjs +2 -2
  157. package/fesm2022/koobiq-components-alert.mjs.map +1 -1
  158. package/fesm2022/koobiq-components-autocomplete.mjs +2 -2
  159. package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
  160. package/fesm2022/koobiq-components-badge.mjs +2 -2
  161. package/fesm2022/koobiq-components-badge.mjs.map +1 -1
  162. package/fesm2022/koobiq-components-button-toggle.mjs +2 -2
  163. package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
  164. package/fesm2022/koobiq-components-button.mjs +38 -8
  165. package/fesm2022/koobiq-components-button.mjs.map +1 -1
  166. package/fesm2022/koobiq-components-checkbox.mjs +2 -2
  167. package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
  168. package/fesm2022/koobiq-components-code-block.mjs +4 -4
  169. package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
  170. package/fesm2022/koobiq-components-core.mjs +22 -23
  171. package/fesm2022/koobiq-components-core.mjs.map +1 -1
  172. package/fesm2022/koobiq-components-datepicker.mjs +10 -10
  173. package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
  174. package/fesm2022/koobiq-components-divider.mjs +2 -2
  175. package/fesm2022/koobiq-components-divider.mjs.map +1 -1
  176. package/fesm2022/koobiq-components-dl.mjs +2 -2
  177. package/fesm2022/koobiq-components-dl.mjs.map +1 -1
  178. package/fesm2022/koobiq-components-dropdown.mjs +4 -4
  179. package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
  180. package/fesm2022/koobiq-components-empty-state.mjs +2 -2
  181. package/fesm2022/koobiq-components-empty-state.mjs.map +1 -1
  182. package/fesm2022/koobiq-components-file-upload.mjs +4 -4
  183. package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
  184. package/fesm2022/koobiq-components-form-field.mjs +18 -19
  185. package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
  186. package/fesm2022/koobiq-components-icon.mjs +6 -6
  187. package/fesm2022/koobiq-components-icon.mjs.map +1 -1
  188. package/fesm2022/koobiq-components-list.mjs +11 -15
  189. package/fesm2022/koobiq-components-list.mjs.map +1 -1
  190. package/fesm2022/koobiq-components-loader-overlay.mjs +2 -2
  191. package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
  192. package/fesm2022/koobiq-components-markdown.mjs +2 -2
  193. package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
  194. package/fesm2022/koobiq-components-modal.mjs +4 -6
  195. package/fesm2022/koobiq-components-modal.mjs.map +1 -1
  196. package/fesm2022/koobiq-components-navbar.mjs +19 -24
  197. package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
  198. package/fesm2022/koobiq-components-popover.mjs +7 -7
  199. package/fesm2022/koobiq-components-popover.mjs.map +1 -1
  200. package/fesm2022/koobiq-components-progress-bar.mjs +2 -2
  201. package/fesm2022/koobiq-components-progress-bar.mjs.map +1 -1
  202. package/fesm2022/koobiq-components-progress-spinner.mjs +2 -2
  203. package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
  204. package/fesm2022/koobiq-components-radio.mjs +2 -2
  205. package/fesm2022/koobiq-components-radio.mjs.map +1 -1
  206. package/fesm2022/koobiq-components-risk-level.mjs +2 -2
  207. package/fesm2022/koobiq-components-risk-level.mjs.map +1 -1
  208. package/fesm2022/koobiq-components-scrollbar.mjs +2 -2
  209. package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -1
  210. package/fesm2022/koobiq-components-select.mjs +17 -16
  211. package/fesm2022/koobiq-components-select.mjs.map +1 -1
  212. package/fesm2022/koobiq-components-sidepanel.mjs +2 -2
  213. package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
  214. package/fesm2022/koobiq-components-splitter.mjs +2 -2
  215. package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
  216. package/fesm2022/koobiq-components-table.mjs +2 -2
  217. package/fesm2022/koobiq-components-table.mjs.map +1 -1
  218. package/fesm2022/koobiq-components-tabs.mjs +15 -17
  219. package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
  220. package/fesm2022/koobiq-components-tags.mjs +11 -13
  221. package/fesm2022/koobiq-components-tags.mjs.map +1 -1
  222. package/fesm2022/koobiq-components-timezone.mjs +4 -4
  223. package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
  224. package/fesm2022/koobiq-components-toast.mjs +8 -9
  225. package/fesm2022/koobiq-components-toast.mjs.map +1 -1
  226. package/fesm2022/koobiq-components-toggle.mjs +2 -2
  227. package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
  228. package/fesm2022/koobiq-components-tooltip.mjs +2 -2
  229. package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
  230. package/fesm2022/koobiq-components-tree-select.mjs +14 -14
  231. package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
  232. package/fesm2022/koobiq-components-tree.mjs +21 -32
  233. package/fesm2022/koobiq-components-tree.mjs.map +1 -1
  234. package/file-upload/_file-upload-theme.scss +27 -29
  235. package/file-upload/multiple-file-upload.component.scss +26 -26
  236. package/file-upload/single-file-upload.component.scss +8 -8
  237. package/form-field/_form-field-theme.scss +14 -14
  238. package/form-field/_hint-theme.scss +2 -2
  239. package/form-field/cleaner.scss +2 -2
  240. package/form-field/form-field.d.ts +1 -1
  241. package/form-field/form-field.scss +10 -10
  242. package/form-field/hint.scss +4 -4
  243. package/form-field/password-toggle.scss +2 -2
  244. package/form-field/stepper.scss +3 -3
  245. package/icon/_icon-button-theme.scss +26 -26
  246. package/icon/_icon-item-theme.scss +2 -2
  247. package/icon/_icon-theme.scss +6 -6
  248. package/icon/icon-button.scss +2 -4
  249. package/icon/icon-item.scss +2 -4
  250. package/input/input.scss +2 -2
  251. package/link/_link-theme.scss +11 -11
  252. package/list/_list-theme.scss +6 -6
  253. package/list/list-selection.component.d.ts +2 -4
  254. package/list/list.scss +1 -1
  255. package/loader-overlay/_loader-overlay-theme.scss +6 -6
  256. package/loader-overlay/loader-overlay.scss +8 -8
  257. package/markdown/_markdown-theme.scss +27 -27
  258. package/markdown/markdown-tokens.scss +17 -17
  259. package/markdown/markdown.scss +29 -29
  260. package/modal/_modal-confirm.scss +1 -1
  261. package/modal/_modal-theme.scss +9 -12
  262. package/modal/modal.scss +12 -13
  263. package/navbar/_navbar-item_horizontal.scss +20 -20
  264. package/navbar/_navbar-item_vertical.scss +28 -28
  265. package/navbar/_navbar-theme.scss +8 -8
  266. package/navbar/navbar-brand.scss +23 -23
  267. package/navbar/navbar-divider.scss +3 -3
  268. package/navbar/navbar-item.component.d.ts +2 -3
  269. package/navbar/navbar-item.scss +6 -6
  270. package/navbar/navbar.component.d.ts +7 -5
  271. package/navbar/navbar.scss +1 -1
  272. package/navbar/vertical-navbar.scss +2 -2
  273. package/package.json +14 -7
  274. package/popover/_popover-theme.scss +7 -7
  275. package/popover/popover.scss +17 -18
  276. package/prebuilt-themes/dark-theme.css +1 -1
  277. package/prebuilt-themes/light-theme.css +1 -1
  278. package/prebuilt-themes/theme.css +1 -1
  279. package/progress-bar/_progress-bar-theme.scss +4 -4
  280. package/progress-bar/progress-bar.scss +5 -5
  281. package/progress-spinner/_progress-spinner-theme.scss +3 -3
  282. package/progress-spinner/progress-spinner.scss +7 -7
  283. package/radio/_radio-theme.scss +9 -9
  284. package/radio/radio.scss +14 -14
  285. package/risk-level/_risk-level-theme.scss +5 -5
  286. package/risk-level/risk-level.component.scss +3 -3
  287. package/schematics/ng-add/index.js +23 -6
  288. package/scrollbar/_scrollbar-component-theme.scss +12 -12
  289. package/scrollbar/scrollbar.component.scss +6 -6
  290. package/select/_select-theme.scss +9 -9
  291. package/select/select.component.d.ts +1 -2
  292. package/select/select.scss +2 -2
  293. package/sidepanel/_sidepanel-theme.scss +4 -4
  294. package/sidepanel/sidepanel.scss +14 -16
  295. package/splitter/_splitter-theme.scss +1 -1
  296. package/table/_table-theme.scss +5 -5
  297. package/table/table.scss +12 -12
  298. package/tabs/_tabs-common.scss +3 -3
  299. package/tabs/_tabs-theme.scss +13 -13
  300. package/tabs/paginated-tab-header.d.ts +1 -3
  301. package/tabs/tab-group.scss +1 -1
  302. package/tabs/tab-header.scss +3 -2
  303. package/tabs/tab-nav-bar/tab-nav-bar.scss +1 -1
  304. package/tags/_tag-theme.scss +5 -5
  305. package/tags/tag-list.component.d.ts +1 -2
  306. package/tags/tag-list.scss +5 -5
  307. package/tags/tag.scss +4 -4
  308. package/textarea/textarea.scss +2 -2
  309. package/timepicker/timepicker.scss +1 -1
  310. package/timezone/_timezone-option-theme.scss +3 -3
  311. package/timezone/timezone-option.component.scss +4 -4
  312. package/timezone/timezone-select.component.scss +1 -1
  313. package/toast/_toast-theme.scss +4 -4
  314. package/toast/toast-container.component.scss +3 -3
  315. package/toast/toast.component.d.ts +0 -1
  316. package/toast/toast.component.scss +21 -21
  317. package/toggle/_toggle-theme.scss +8 -8
  318. package/toggle/toggle.scss +8 -8
  319. package/tooltip/_tooltip-theme.scss +5 -5
  320. package/tooltip/tooltip.scss +7 -7
  321. package/tree/_tree-theme.scss +6 -6
  322. package/tree/padding.directive.d.ts +2 -4
  323. package/tree/toggle.scss +2 -2
  324. package/tree/tree-base.d.ts +2 -3
  325. package/tree/tree-option.scss +4 -4
  326. package/tree/tree-selection.component.d.ts +2 -4
  327. package/tree-select/_tree-select-theme.scss +7 -7
  328. package/tree-select/tree-select.component.d.ts +1 -2
@@ -3,7 +3,7 @@
3
3
  .kbq-markdown {
4
4
  --kbq-markdown-h1-size-max-width: var(--kbq-markdown-size-max-width);
5
5
  --kbq-markdown-h1-size-margin-top: 0;
6
- --kbq-markdown-h1-size-margin-bottom: var(--kbq-size-l);
6
+ --kbq-markdown-h1-size-margin-bottom: var(--kbq-size-m);
7
7
  --kbq-markdown-h1-font-default-font-size: var(--kbq-md-typography-md-h1-font-size);
8
8
  --kbq-markdown-h1-font-default-line-height: var(--kbq-md-typography-md-h1-line-height);
9
9
  --kbq-markdown-h1-font-default-letter-spacing: var(--kbq-md-typography-md-h1-letter-spacing);
@@ -12,7 +12,7 @@
12
12
  --kbq-markdown-h1-font-default-text-transform: var(--kbq-md-typography-md-h1-text-transform);
13
13
  --kbq-markdown-h1-font-default-font-feature-settings: var(--kbq-md-typography-md-h1-font-feature-settings);
14
14
  --kbq-markdown-h2-size-max-width: var(--kbq-markdown-size-max-width);
15
- --kbq-markdown-h2-size-margin-top: var(--kbq-size-xxl);
15
+ --kbq-markdown-h2-size-margin-top: var(--kbq-size-3xl);
16
16
  --kbq-markdown-h2-size-margin-bottom: var(--kbq-size-m);
17
17
  --kbq-markdown-h2-font-default-font-size: var(--kbq-md-typography-md-h2-font-size);
18
18
  --kbq-markdown-h2-font-default-line-height: var(--kbq-md-typography-md-h2-line-height);
@@ -22,7 +22,7 @@
22
22
  --kbq-markdown-h2-font-default-text-transform: var(--kbq-md-typography-md-h2-text-transform);
23
23
  --kbq-markdown-h2-font-default-font-feature-settings: var(--kbq-md-typography-md-h2-font-feature-settings);
24
24
  --kbq-markdown-h3-size-max-width: var(--kbq-markdown-size-max-width);
25
- --kbq-markdown-h3-size-margin-top: var(--kbq-size-xxl);
25
+ --kbq-markdown-h3-size-margin-top: 28px;
26
26
  --kbq-markdown-h3-size-margin-bottom: var(--kbq-size-m);
27
27
  --kbq-markdown-h3-font-default-font-size: var(--kbq-md-typography-md-h3-font-size);
28
28
  --kbq-markdown-h3-font-default-line-height: var(--kbq-md-typography-md-h3-line-height);
@@ -43,7 +43,7 @@
43
43
  --kbq-markdown-h4-font-default-font-feature-settings: var(--kbq-md-typography-md-h4-font-feature-settings);
44
44
  --kbq-markdown-h5-size-max-width: var(--kbq-markdown-size-max-width);
45
45
  --kbq-markdown-h5-size-margin-top: var(--kbq-size-xxl);
46
- --kbq-markdown-h5-size-margin-bottom: var(--kbq-size-s);
46
+ --kbq-markdown-h5-size-margin-bottom: var(--kbq-size-m);
47
47
  --kbq-markdown-h5-font-default-font-size: var(--kbq-md-typography-md-h5-font-size);
48
48
  --kbq-markdown-h5-font-default-line-height: var(--kbq-md-typography-md-h5-line-height);
49
49
  --kbq-markdown-h5-font-default-letter-spacing: var(--kbq-md-typography-md-h5-letter-spacing);
@@ -53,7 +53,7 @@
53
53
  --kbq-markdown-h5-font-default-font-feature-settings: var(--kbq-md-typography-md-h5-font-feature-settings);
54
54
  --kbq-markdown-h6-size-max-width: var(--kbq-markdown-size-max-width);
55
55
  --kbq-markdown-h6-size-margin-top: var(--kbq-size-xxl);
56
- --kbq-markdown-h6-size-margin-bottom: var(--kbq-size-s);
56
+ --kbq-markdown-h6-size-margin-bottom: var(--kbq-size-m);
57
57
  --kbq-markdown-h6-font-default-font-size: var(--kbq-md-typography-md-h6-font-size);
58
58
  --kbq-markdown-h6-font-default-line-height: var(--kbq-md-typography-md-h6-line-height);
59
59
  --kbq-markdown-h6-font-default-letter-spacing: var(--kbq-md-typography-md-h6-letter-spacing);
@@ -77,7 +77,7 @@
77
77
  --kbq-markdown-list-size-margin-top-after-paragraph: -var(--kbq-size-s);
78
78
  --kbq-markdown-list-size-ol-number-padding-right: var(--kbq-size-xxs);
79
79
  --kbq-markdown-list-size-ul-padding: 0 0 0 var(--kbq-size-xxl);
80
- --kbq-markdown-list-size-item-margin-bottom: var(--kbq-size-xxs);
80
+ --kbq-markdown-list-size-item-margin-bottom: var(--kbq-size-s);
81
81
  --kbq-markdown-list-font-default-font-size: var(--kbq-md-typography-md-body-font-size);
82
82
  --kbq-markdown-list-font-default-line-height: var(--kbq-md-typography-md-body-line-height);
83
83
  --kbq-markdown-list-font-default-letter-spacing: var(--kbq-md-typography-md-body-letter-spacing);
@@ -86,9 +86,9 @@
86
86
  --kbq-markdown-list-font-default-text-transform: var(--kbq-md-typography-md-body-text-transform);
87
87
  --kbq-markdown-list-font-default-font-feature-settings: var(--kbq-md-typography-md-body-font-feature-settings);
88
88
  --kbq-markdown-blockquote-size-max-width: var(--kbq-markdown-size-max-width);
89
- --kbq-markdown-blockquote-size-margin-top: var(--kbq-size-m);
90
- --kbq-markdown-blockquote-size-margin-bottom: var(--kbq-size-m);
91
- --kbq-markdown-blockquote-size-padding: var(--kbq-size-3xs) var(--kbq-size-m);
89
+ --kbq-markdown-blockquote-size-margin-top: var(--kbq-size-xl);
90
+ --kbq-markdown-blockquote-size-margin-bottom: var(--kbq-size-xxl);
91
+ --kbq-markdown-blockquote-size-padding: var(--kbq-size-m) var(--kbq-size-l);
92
92
  --kbq-markdown-blockquote-size-line-width: var(--kbq-size-xxs);
93
93
  --kbq-markdown-blockquote-size-border-radius: 0;
94
94
  --kbq-markdown-blockquote-size-border-width: 0;
@@ -102,10 +102,10 @@
102
102
  --kbq-md-typography-md-body-font-feature-settings
103
103
  );
104
104
  --kbq-markdown-code-size-max-width: var(--kbq-markdown-size-max-width);
105
- --kbq-markdown-code-size-multiline-margin-top: var(--kbq-size-m);
105
+ --kbq-markdown-code-size-multiline-margin-top: var(--kbq-size-s);
106
106
  --kbq-markdown-code-size-multiline-margin-bottom: var(--kbq-size-xxl);
107
107
  --kbq-markdown-code-size-inline-padding: 0 var(--kbq-size-xxs);
108
- --kbq-markdown-code-size-multiline-padding: var(--kbq-size-m) var(--kbq-size-l);
108
+ --kbq-markdown-code-size-multiline-padding: 14px var(--kbq-size-xl);
109
109
  --kbq-markdown-code-size-border-radius: var(--kbq-size-border-radius);
110
110
  --kbq-markdown-code-size-border-width: var(--kbq-size-border-width);
111
111
  --kbq-markdown-code-font-default-font-size: var(--kbq-md-typography-md-body-mono-font-size);
@@ -126,8 +126,8 @@
126
126
  --kbq-markdown-link-font-default-text-transform: var(--kbq-md-typography-md-body-text-transform);
127
127
  --kbq-markdown-link-font-default-font-feature-settings: var(--kbq-md-typography-md-body-font-feature-settings);
128
128
  --kbq-markdown-image-size-max-width: var(--kbq-markdown-size-max-width);
129
- --kbq-markdown-image-size-margin-top: var(--kbq-size-m);
130
- --kbq-markdown-image-size-margin-bottom: var(--kbq-size-m);
129
+ --kbq-markdown-image-size-margin-top: var(--kbq-size-s);
130
+ --kbq-markdown-image-size-margin-bottom: var(--kbq-size-s);
131
131
  --kbq-markdown-image-size-caption-margin-top: -var(--kbq-size-s);
132
132
  --kbq-markdown-image-size-caption-margin-bottom: var(--kbq-size-xxl);
133
133
  --kbq-markdown-image-font-caption-font-size: var(--kbq-md-typography-md-caption-font-size);
@@ -138,10 +138,10 @@
138
138
  --kbq-markdown-image-font-caption-text-transform: var(--kbq-md-typography-md-caption-text-transform);
139
139
  --kbq-markdown-image-font-caption-font-feature-settings: var(--kbq-md-typography-md-caption-font-feature-settings);
140
140
  --kbq-markdown-hr-size-width: 1px;
141
- --kbq-markdown-hr-size-margin-vertical: var(--kbq-size-xxl);
141
+ --kbq-markdown-hr-size-margin-vertical: var(--kbq-size-l);
142
142
  --kbq-markdown-table-size-border-width: var(--kbq-size-border-width);
143
143
  --kbq-markdown-table-size-padding: var(--kbq-size-s);
144
- --kbq-markdown-table-size-margin-bottom: var(--kbq-size-m);
144
+ --kbq-markdown-table-size-margin-bottom: var(--kbq-size-l);
145
145
  --kbq-markdown-table-font-header-font-size: var(--kbq-md-typography-md-table-header-font-size);
146
146
  --kbq-markdown-table-font-header-line-height: var(--kbq-md-typography-md-table-header-line-height);
147
147
  --kbq-markdown-table-font-header-letter-spacing: var(--kbq-md-typography-md-table-header-letter-spacing);
@@ -179,7 +179,7 @@
179
179
  --kbq-markdown-list-color: var(--kbq-foreground-contrast);
180
180
  --kbq-markdown-blockquote-text: var(--kbq-foreground-contrast);
181
181
  --kbq-markdown-blockquote-line: var(--kbq-foreground-border);
182
- --kbq-markdown-blockquote-background: transparent;
182
+ --kbq-markdown-blockquote-background: var(--kbq-background-contrast-fade);
183
183
  --kbq-markdown-blockquote-border: transparent;
184
184
  --kbq-markdown-code-text: var(--kbq-foreground-contrast);
185
185
  --kbq-markdown-code-background: var(--kbq-background-background-less-contrast);
@@ -210,7 +210,7 @@
210
210
  --kbq-markdown-list-color: var(--kbq-foreground-contrast);
211
211
  --kbq-markdown-blockquote-text: var(--kbq-foreground-contrast);
212
212
  --kbq-markdown-blockquote-line: var(--kbq-foreground-border);
213
- --kbq-markdown-blockquote-background: transparent;
213
+ --kbq-markdown-blockquote-background: var(--kbq-background-contrast-fade);
214
214
  --kbq-markdown-blockquote-border: transparent;
215
215
  --kbq-markdown-code-text: var(--kbq-foreground-contrast);
216
216
  --kbq-markdown-code-background: var(--kbq-background-background-less-contrast);
@@ -14,8 +14,8 @@
14
14
  // h1, h2, h3, h4, h5, h6
15
15
  @for $i from 1 through 6 {
16
16
  .kbq-markdown__h#{$i} {
17
- margin-top: kbq-css-variable(markdown-h#{$i}-size-margin-top);
18
- margin-bottom: kbq-css-variable(markdown-h#{$i}-size-margin-bottom);
17
+ margin-top: var(--kbq-markdown-h#{$i}-size-margin-top);
18
+ margin-bottom: var(--kbq-markdown-h#{$i}-size-margin-bottom);
19
19
 
20
20
  @for $i from 1 through 6 {
21
21
  & + .kbq-markdown__h#{$i} {
@@ -37,24 +37,24 @@
37
37
  }
38
38
 
39
39
  .kbq-markdown__p {
40
- margin-top: kbq-css-variable(markdown-p-size-margin-top);
41
- margin-bottom: kbq-css-variable(markdown-p-size-margin-bottom);
40
+ margin-top: var(--kbq-markdown-p-size-margin-top);
41
+ margin-bottom: var(--kbq-markdown-p-size-margin-bottom);
42
42
  }
43
43
 
44
44
  .kbq-markdown__ul,
45
45
  .kbq-markdown__ol {
46
- margin-top: kbq-css-variable(markdown-list-size-margin-top);
47
- margin-bottom: kbq-css-variable(markdown-list-size-margin-bottom);
46
+ margin-top: var(--kbq-markdown-list-size-margin-top);
47
+ margin-bottom: var(--kbq-markdown-list-size-margin-bottom);
48
48
 
49
49
  > li {
50
- margin-bottom: kbq-css-variable(markdown-list-size-item-margin-bottom);
50
+ margin-bottom: var(--kbq-markdown-list-size-item-margin-bottom);
51
51
  }
52
52
  }
53
53
 
54
54
  .kbq-markdown__ul {
55
55
  position: relative;
56
56
  list-style: none;
57
- padding: kbq-css-variable(markdown-list-size-ul-padding);
57
+ padding: var(--kbq-markdown-list-size-ul-padding);
58
58
  }
59
59
 
60
60
  .kbq-markdown__ul > li:before {
@@ -75,7 +75,7 @@
75
75
  &:before {
76
76
  content: counter(li) '.';
77
77
  counter-increment: li;
78
- padding-right: kbq-css-variable(markdown-list-size-ol-number-padding-right);
78
+ padding-right: var(--kbq-markdown-list-size-ol-number-padding-right);
79
79
  }
80
80
 
81
81
  > * {
@@ -86,20 +86,20 @@
86
86
 
87
87
  .kbq-markdown__p + .kbq-markdown__ul,
88
88
  .kbq-markdown__p + .kbq-markdown__ol {
89
- margin-top: kbq-css-variable(markdown-list-size-margin-top-after-paragraph);
89
+ margin-top: var(--kbq-markdown-list-size-margin-top-after-paragraph);
90
90
  }
91
91
 
92
92
  .kbq-markdown__blockquote {
93
- margin-top: kbq-css-variable(markdown-blockquote-size-margin-top);
93
+ margin-top: var(--kbq-markdown-blockquote-size-margin-top);
94
94
  margin-left: 0;
95
- margin-bottom: kbq-css-variable(markdown-blockquote-size-margin-bottom);
95
+ margin-bottom: var(--kbq-markdown-blockquote-size-margin-bottom);
96
96
  margin-right: 0;
97
97
 
98
- border-left-width: kbq-css-variable(markdown-blockquote-size-line-width);
98
+ border-left-width: var(--kbq-markdown-blockquote-size-line-width);
99
99
 
100
100
  border-left-style: solid;
101
101
 
102
- padding: kbq-css-variable(markdown-blockquote-size-padding);
102
+ padding: var(--kbq-markdown-blockquote-size-padding);
103
103
  }
104
104
 
105
105
  .kbq-markdown__blockquote > .kbq-markdown__p {
@@ -111,32 +111,32 @@
111
111
  position: relative;
112
112
  overflow-x: auto;
113
113
 
114
- margin-top: kbq-css-variable(markdown-code-size-multiline-margin-top);
115
- margin-bottom: kbq-css-variable(markdown-code-size-multiline-margin-bottom);
114
+ margin-top: var(--kbq-markdown-code-size-multiline-margin-top);
115
+ margin-bottom: var(--kbq-markdown-code-size-multiline-margin-bottom);
116
116
 
117
- padding: kbq-css-variable(markdown-code-size-multiline-padding);
117
+ padding: var(--kbq-markdown-code-size-multiline-padding);
118
118
  }
119
119
 
120
120
  .kbq-markdown__pre,
121
121
  .kbq-markdown__p > .kbq-markdown__code {
122
- border-radius: kbq-css-variable(markdown-code-size-border-radius);
123
- border-width: kbq-css-variable(markdown-code-size-border-width);
122
+ border-radius: var(--kbq-markdown-code-size-border-radius);
123
+ border-width: var(--kbq-markdown-code-size-border-width);
124
124
  border-style: solid;
125
125
  }
126
126
 
127
127
  .kbq-markdown__p > .kbq-markdown__code {
128
- padding: kbq-css-variable(markdown-code-size-inline-padding);
128
+ padding: var(--kbq-markdown-code-size-inline-padding);
129
129
  }
130
130
 
131
131
  .kbq-markdown__img {
132
132
  max-width: 100%;
133
- margin-top: kbq-css-variable(markdown-image-size-margin-top);
134
- margin-bottom: kbq-css-variable(markdown-image-size-margin-bottom);
133
+ margin-top: var(--kbq-markdown-image-size-margin-top);
134
+ margin-bottom: var(--kbq-markdown-image-size-margin-bottom);
135
135
 
136
136
  + em {
137
137
  display: block;
138
- margin-top: kbq-css-variable(markdown-image-size-caption-margin-top);
139
- margin-bottom: kbq-css-variable(markdown-image-size-caption-margin-bottom);
138
+ margin-top: var(--kbq-markdown-image-size-caption-margin-top);
139
+ margin-bottom: var(--kbq-markdown-image-size-caption-margin-bottom);
140
140
  }
141
141
  }
142
142
 
@@ -145,8 +145,8 @@
145
145
  border-left: none;
146
146
  border-right: none;
147
147
  border-bottom-style: solid;
148
- border-bottom-width: kbq-css-variable(markdown-hr-size-width);
149
- margin: kbq-css-variable(markdown-hr-size-margin-vertical) 0;
148
+ border-bottom-width: var(--kbq-markdown-hr-size-width);
149
+ margin: var(--kbq-markdown-hr-size-margin-vertical) 0;
150
150
  }
151
151
 
152
152
  .kbq-markdown__table {
@@ -154,7 +154,7 @@
154
154
  overflow-x: auto;
155
155
  display: table;
156
156
  border-collapse: collapse;
157
- margin-bottom: kbq-css-variable(markdown-table-size-margin-bottom);
157
+ margin-bottom: var(--kbq-markdown-table-size-margin-bottom);
158
158
 
159
159
  td {
160
160
  vertical-align: top;
@@ -162,14 +162,14 @@
162
162
 
163
163
  th,
164
164
  td {
165
- padding: kbq-css-variable(markdown-table-size-padding);
165
+ padding: var(--kbq-markdown-table-size-padding);
166
166
  font-weight: 400;
167
167
  }
168
168
  }
169
169
 
170
170
  .kbq-markdown__table > .kbq-markdown__thead {
171
171
  border-bottom-style: solid;
172
- border-bottom-width: kbq-css-variable(markdown-table-size-border-width);
172
+ border-bottom-width: var(--kbq-markdown-table-size-border-width);
173
173
 
174
174
  text-align: left;
175
175
 
@@ -8,6 +8,6 @@
8
8
  .kbq-confirm-footer {
9
9
  display: flex;
10
10
 
11
- gap: kbq-css-variable(modal-size-footer-content-gap-horizontal);
11
+ gap: var(--kbq-modal-size-footer-content-gap-horizontal);
12
12
  }
13
13
  }
@@ -1,40 +1,37 @@
1
- @use 'sass:meta';
2
1
  @use 'sass:map';
3
2
 
4
- @use '../core/styles/typography/typography-utils' as *;
5
3
  @use '../core/styles/common/tokens' as *;
6
4
 
7
5
  @mixin kbq-modal-theme() {
8
6
  .kbq-modal {
9
- background: kbq-css-variable(modal-container-background);
10
- box-shadow: kbq-css-variable(modal-container-box-shadow);
7
+ background: var(--kbq-modal-container-background);
8
+ box-shadow: var(--kbq-modal-container-box-shadow);
11
9
 
12
10
  .kbq-modal-header {
13
11
  & .kbq-modal-title {
14
- color: kbq-css-variable(modal-header-text-color);
12
+ color: var(--kbq-modal-header-text-color);
15
13
  }
16
14
 
17
15
  & .kbq-modal-close {
18
- color: kbq-css-variable(modal-close-button-color);
16
+ color: var(--kbq-modal-close-button-color);
19
17
  }
20
18
  }
21
19
 
22
20
  .kbq-modal-content {
23
- color: kbq-css-variable(modal-content-text-color);
21
+ color: var(--kbq-modal-content-text-color);
24
22
  }
25
23
 
26
- // FIXME: default token doesn't exist
27
24
  .kbq-modal-header.kbq-modal-body_top-overflow {
28
- box-shadow: kbq-css-variable(modal-body-top-shadow);
25
+ box-shadow: var(--kbq-shadow-overflow-normal-bottom);
29
26
  }
30
- // FIXME: default token doesn't exist
27
+
31
28
  .kbq-modal-footer.kbq-modal-body_bottom-overflow {
32
- box-shadow: kbq-css-variable(modal-body-bottom-shadow);
29
+ box-shadow: var(--kbq-shadow-overflow-normal-top);
33
30
  }
34
31
  }
35
32
 
36
33
  .kbq-modal-mask {
37
- background-color: kbq-css-variable(modal-overlay-background);
34
+ background-color: var(--kbq-modal-overlay-background);
38
35
  }
39
36
  }
40
37
 
package/modal/modal.scss CHANGED
@@ -14,7 +14,7 @@
14
14
 
15
15
  top: 48px;
16
16
 
17
- border-radius: kbq-css-variable(modal-size-border-radius);
17
+ border-radius: var(--kbq-modal-size-border-radius);
18
18
 
19
19
  width: auto;
20
20
 
@@ -31,15 +31,15 @@
31
31
  }
32
32
 
33
33
  &.kbq-modal_small {
34
- width: kbq-css-variable(modal-size-small-width);
34
+ width: var(--kbq-modal-size-small-width);
35
35
  }
36
36
 
37
37
  &.kbq-modal_medium {
38
- width: kbq-css-variable(modal-size-medium-width);
38
+ width: var(--kbq-modal-size-medium-width);
39
39
  }
40
40
 
41
41
  &.kbq-modal_large {
42
- width: kbq-css-variable(modal-size-large-width);
42
+ width: var(--kbq-modal-size-large-width);
43
43
  }
44
44
 
45
45
  // todo реализуем когда будем делать 2.0, пока нет возможности отслеживать наличие/отсутствие футера
@@ -75,7 +75,7 @@
75
75
  .kbq-modal-content {
76
76
  position: relative;
77
77
 
78
- border-radius: kbq-css-variable(modal-size-border-radius);
78
+ border-radius: var(--kbq-modal-size-border-radius);
79
79
 
80
80
  background-clip: padding-box;
81
81
  }
@@ -85,11 +85,11 @@
85
85
  align-items: center;
86
86
  justify-content: space-between;
87
87
 
88
- padding: kbq-css-variable(modal-size-header-padding-vertical) kbq-css-variable(modal-size-header-padding-right)
89
- kbq-css-variable(modal-size-header-padding-vertical) kbq-css-variable(modal-size-header-padding-left);
88
+ padding: var(--kbq-modal-size-header-padding-vertical) var(--kbq-modal-size-header-padding-right)
89
+ var(--kbq-modal-size-header-padding-vertical) var(--kbq-modal-size-header-padding-left);
90
90
 
91
91
  & + .kbq-modal-body {
92
- padding-top: kbq-css-variable(modal-size-content-padding-top);
92
+ padding-top: var(--kbq-modal-size-content-padding-top);
93
93
  }
94
94
  }
95
95
 
@@ -106,9 +106,8 @@
106
106
 
107
107
  max-height: calc(100vh - 260px);
108
108
 
109
- padding: kbq-css-variable(modal-size-content-padding-top-without-header)
110
- kbq-css-variable(modal-size-content-padding-horizontal) kbq-css-variable(modal-size-content-padding-bottom)
111
- kbq-css-variable(modal-size-content-padding-horizontal);
109
+ padding: var(--kbq-modal-size-content-padding-top-without-header) var(--kbq-modal-size-content-padding-horizontal)
110
+ var(--kbq-modal-size-content-padding-bottom) var(--kbq-modal-size-content-padding-horizontal);
112
111
 
113
112
  word-wrap: break-word;
114
113
 
@@ -122,9 +121,9 @@
122
121
  display: flex;
123
122
  align-items: center;
124
123
 
125
- padding: kbq-css-variable(modal-size-footer-padding-vertical) kbq-css-variable(modal-size-footer-padding-horizontal);
124
+ padding: var(--kbq-modal-size-footer-padding-vertical) var(--kbq-modal-size-footer-padding-horizontal);
126
125
 
127
- gap: kbq-css-variable(modal-size-footer-content-gap-horizontal);
126
+ gap: var(--kbq-modal-size-footer-content-gap-horizontal);
128
127
  }
129
128
 
130
129
  .kbq-modal-mask {
@@ -15,18 +15,18 @@
15
15
  outline: none;
16
16
  -webkit-tap-highlight-color: transparent;
17
17
 
18
- min-height: kbq-css-variable(size-3xl);
19
- min-width: kbq-css-variable(size-3xl);
18
+ min-height: var(--kbq-size-3xl);
19
+ min-width: var(--kbq-size-3xl);
20
20
 
21
- margin: kbq-css-variable(size-s);
21
+ margin: var(--kbq-size-s);
22
22
 
23
23
  justify-content: center;
24
24
 
25
25
  &:before {
26
- top: calc(-1 * #{kbq-css-variable(size-s)});
27
- left: calc(-1 * #{kbq-css-variable(size-s)});
28
- right: calc(-1 * #{kbq-css-variable(size-s)});
29
- bottom: calc(-1 * #{kbq-css-variable(size-s)});
26
+ top: calc(-1 * #{var(--kbq-size-s)});
27
+ left: calc(-1 * #{var(--kbq-size-s)});
28
+ right: calc(-1 * #{var(--kbq-size-s)});
29
+ bottom: calc(-1 * #{var(--kbq-size-s)});
30
30
  }
31
31
 
32
32
  &:after {
@@ -37,19 +37,19 @@
37
37
  }
38
38
 
39
39
  & .kbq-navbar-item__title {
40
- padding-left: kbq-css-variable(size-xxs);
41
- padding-right: kbq-css-variable(size-xxs);
40
+ padding-left: var(--kbq-size-xxs);
41
+ padding-right: var(--kbq-size-xxs);
42
42
  }
43
43
 
44
44
  & .kbq-navbar-item__arrow-icon {
45
- padding-left: kbq-css-variable(size-xxs);
45
+ padding-left: var(--kbq-size-xxs);
46
46
  }
47
47
 
48
48
  &.kbq-navbar-item_with-title:not(.kbq-navbar-item_collapsed) {
49
49
  margin-left: 0;
50
50
  margin-right: 0;
51
- padding-right: kbq-css-variable(size-m);
52
- padding-left: kbq-css-variable(size-m);
51
+ padding-right: var(--kbq-size-m);
52
+ padding-left: var(--kbq-size-m);
53
53
 
54
54
  &:before {
55
55
  left: 0;
@@ -59,24 +59,24 @@
59
59
  & > .kbq-icon {
60
60
  align-self: center;
61
61
 
62
- padding-right: kbq-css-variable(size-xxs);
62
+ padding-right: var(--kbq-size-xxs);
63
63
  }
64
64
  }
65
65
 
66
66
  &.kbq-navbar-bento {
67
67
  justify-content: center;
68
68
 
69
- margin-right: kbq-css-variable(size-xxs);
69
+ margin-right: var(--kbq-size-xxs);
70
70
 
71
71
  &:before {
72
- right: calc(-1 * #{kbq-css-variable(size-xxs)});
72
+ right: calc(-1 * #{var(--kbq-size-xxs)});
73
73
  }
74
74
  }
75
75
 
76
76
  &.kbq-navbar-item_collapsed {
77
77
  justify-content: center;
78
78
 
79
- padding: kbq-css-variable(size-s);
79
+ padding: var(--kbq-size-s);
80
80
 
81
81
  & .kbq-navbar-item__container {
82
82
  display: none;
@@ -93,12 +93,12 @@
93
93
  }
94
94
 
95
95
  &.kbq-navbar-item_has-nested {
96
- margin-left: kbq-css-variable(size-m);
97
- margin-right: kbq-css-variable(size-m);
96
+ margin-left: var(--kbq-size-m);
97
+ margin-right: var(--kbq-size-m);
98
98
 
99
99
  &:before {
100
- left: calc(-1 * #{kbq-css-variable(size-m)});
101
- right: calc(-1 * #{kbq-css-variable(size-m)});
100
+ left: calc(-1 * #{var(--kbq-size-m)});
101
+ right: calc(-1 * #{var(--kbq-size-m)});
102
102
  }
103
103
  }
104
104
  }
@@ -6,24 +6,24 @@
6
6
 
7
7
  .kbq-navbar-item.kbq-vertical {
8
8
  & .kbq-navbar-item__container {
9
- gap: kbq-css-variable(size-m);
9
+ gap: var(--kbq-size-m);
10
10
  }
11
11
 
12
12
  &.kbq-expanded {
13
- height: kbq-css-variable(size-5xl);
13
+ height: var(--kbq-size-5xl);
14
14
 
15
15
  align-items: center;
16
16
 
17
- padding-right: kbq-css-variable(size-xl);
18
- padding-left: kbq-css-variable(size-xl);
17
+ padding-right: var(--kbq-size-xl);
18
+ padding-left: var(--kbq-size-xl);
19
19
 
20
- gap: kbq-css-variable(size-m);
20
+ gap: var(--kbq-size-m);
21
21
 
22
22
  &:after {
23
- top: kbq-css-variable(size-xxs);
24
- right: kbq-css-variable(size-s);
25
- bottom: kbq-css-variable(size-xxs);
26
- left: kbq-css-variable(size-s);
23
+ top: var(--kbq-size-xxs);
24
+ right: var(--kbq-size-s);
25
+ bottom: var(--kbq-size-xxs);
26
+ left: var(--kbq-size-s);
27
27
  }
28
28
 
29
29
  &.kbq-navbar-bento {
@@ -34,44 +34,44 @@
34
34
  justify-content: center;
35
35
  align-items: center;
36
36
 
37
- top: kbq-css-variable(size-xxs);
38
- right: kbq-css-variable(size-xxs);
37
+ top: var(--kbq-size-xxs);
38
+ right: var(--kbq-size-xxs);
39
39
 
40
40
  z-index: 1;
41
41
 
42
- padding: kbq-css-variable(size-s);
42
+ padding: var(--kbq-size-s);
43
43
 
44
- height: kbq-css-variable(size-5xl);
45
- width: kbq-css-variable(size-5xl);
44
+ height: var(--kbq-size-5xl);
45
+ width: var(--kbq-size-5xl);
46
46
 
47
47
  &:after {
48
- top: kbq-css-variable(size-s);
49
- right: kbq-css-variable(size-s);
50
- bottom: kbq-css-variable(size-s);
51
- left: kbq-css-variable(size-s);
48
+ top: var(--kbq-size-s);
49
+ right: var(--kbq-size-s);
50
+ bottom: var(--kbq-size-s);
51
+ left: var(--kbq-size-s);
52
52
  }
53
53
  }
54
54
 
55
55
  &.kbq-navbar-item_has-nested {
56
56
  align-items: center;
57
57
 
58
- padding: 0 kbq-css-variable(size-m);
58
+ padding: 0 var(--kbq-size-m);
59
59
  }
60
60
  }
61
61
 
62
62
  &.kbq-collapsed {
63
- height: kbq-css-variable(size-5xl);
64
- width: kbq-css-variable(size-5xl);
63
+ height: var(--kbq-size-5xl);
64
+ width: var(--kbq-size-5xl);
65
65
 
66
- padding: kbq-css-variable(size-l);
66
+ padding: var(--kbq-size-l);
67
67
 
68
68
  justify-content: center;
69
69
 
70
70
  &:after {
71
- top: kbq-css-variable(size-s);
72
- right: kbq-css-variable(size-s);
73
- bottom: kbq-css-variable(size-s);
74
- left: kbq-css-variable(size-s);
71
+ top: var(--kbq-size-s);
72
+ right: var(--kbq-size-s);
73
+ bottom: var(--kbq-size-s);
74
+ left: var(--kbq-size-s);
75
75
  }
76
76
 
77
77
  & .kbq-badge {
@@ -79,8 +79,8 @@
79
79
 
80
80
  z-index: 1;
81
81
 
82
- top: kbq-css-variable(size-xs);
83
- right: kbq-css-variable(size-xs);
82
+ top: var(--kbq-size-xs);
83
+ right: var(--kbq-size-xs);
84
84
  }
85
85
 
86
86
  & .kbq-navbar-item__container {
@@ -4,31 +4,31 @@
4
4
  &:not(.kbq-navbar-item_has-nested) {
5
5
  &:after {
6
6
  display: block;
7
- background: kbq-css-variable(navbar-item-#{$state-name}-content-background);
7
+ background: var(--kbq-navbar-item-#{$state-name}-content-background);
8
8
  }
9
9
  }
10
10
 
11
11
  .kbq-navbar-title {
12
- color: kbq-css-variable(navbar-item-#{$state-name}-content-text);
12
+ color: var(--kbq-navbar-item-#{$state-name}-content-text);
13
13
  }
14
14
 
15
15
  & > .kbq-icon {
16
- color: kbq-css-variable(navbar-item-#{$state-name}-content-icon-left) !important;
16
+ color: var(--kbq-navbar-item-#{$state-name}-content-icon-left) !important;
17
17
  }
18
18
 
19
19
  .kbq-navbar-item__arrow-icon {
20
- color: kbq-css-variable(navbar-item-#{$state-name}-content-icon-right) !important;
20
+ color: var(--kbq-navbar-item-#{$state-name}-content-icon-right) !important;
21
21
  }
22
22
  }
23
23
 
24
24
  @mixin kbq-navbar-theme() {
25
25
  .kbq-navbar,
26
26
  .kbq-vertical-navbar .kbq-vertical-navbar__container {
27
- background-color: kbq-css-variable(navbar-background);
27
+ background-color: var(--kbq-navbar-background);
28
28
  }
29
29
 
30
30
  .kbq-vertical-navbar .kbq-vertical-navbar__container {
31
- border-right: 1px solid kbq-css-variable(navbar-border);
31
+ border-right: 1px solid var(--kbq-navbar-border);
32
32
  }
33
33
 
34
34
  .kbq-navbar-item,
@@ -47,7 +47,7 @@
47
47
 
48
48
  &:after {
49
49
  display: block;
50
- box-shadow: inset 0 0 0 2px kbq-css-variable(states-line-focus-theme);
50
+ box-shadow: inset 0 0 0 2px var(--kbq-states-line-focus-theme);
51
51
  }
52
52
  }
53
53
 
@@ -81,7 +81,7 @@
81
81
  }
82
82
 
83
83
  .kbq-navbar-divider {
84
- background: kbq-css-variable(line-contrast-less);
84
+ background: var(--kbq-line-contrast-less);
85
85
  }
86
86
  }
87
87