@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
File without changes
@@ -0,0 +1,62 @@
1
+ @use 'sass:meta';
2
+ @use 'sass:map';
3
+
4
+ @use '../core/styles/typography/typography-utils' as *;
5
+ @use '../core/styles/common/tokens' as *;
6
+
7
+ @mixin kbq-accordion-theme() {
8
+ .kbq-accordion.cdk-keyboard-focused {
9
+ & .kbq-accordion-item:focus-within {
10
+ border-color: var(--kbq-accordion-item-states-focus-border-color);
11
+ }
12
+ }
13
+
14
+ .kbq-accordion-item {
15
+ background: var(--kbq-accordion-item-default-background);
16
+ color: var(--kbq-accordion-item-default-text-color);
17
+
18
+ & .kbq-accordion-trigger__icon {
19
+ color: var(--kbq-accordion-item-default-icon-color);
20
+ }
21
+ }
22
+
23
+ .kbq-accordion-trigger {
24
+ width: 100%;
25
+ background: transparent;
26
+ border: none;
27
+ outline: none;
28
+
29
+ color: var(--kbq-accordion-item-default-text-color);
30
+
31
+ &:hover:not([data-disabled='true']) {
32
+ cursor: pointer;
33
+
34
+ & .kbq-accordion-trigger__icon {
35
+ color: var(--kbq-accordion-item-states-hover-icon-color);
36
+ }
37
+ }
38
+
39
+ &[data-disabled='true'] {
40
+ color: var(--kbq-accordion-item-states-disabled-text-color);
41
+
42
+ & .kbq-accordion-trigger__icon {
43
+ color: var(--kbq-accordion-item-states-disabled-icon-color) !important;
44
+ }
45
+ }
46
+ }
47
+ }
48
+
49
+ @mixin kbq-accordion-typography() {
50
+ .kbq-accordion-header,
51
+ .kbq-accordion-trigger {
52
+ @include kbq-typography-css-variables(accordion, item-header-text);
53
+ }
54
+
55
+ .kbq-accordion-trigger__caption {
56
+ @include kbq-typography-level-to-styles_css-variables(typography, text-compact);
57
+ }
58
+
59
+ .kbq-accordion-content {
60
+ @include kbq-typography-css-variables(accordion, item-content-text);
61
+ }
62
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@radix-ng/primitives/accordion";
3
+ export declare class KbqAccordionContent {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<KbqAccordionContent, never>;
5
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KbqAccordionContent, "kbq-accordion-content, [kbq-accordion-content]", never, {}, {}, never, never, false, [{ directive: typeof i1.RdxAccordionContentDirective; inputs: {}; outputs: {}; }]>;
6
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@radix-ng/primitives/accordion";
3
+ export declare class KbqAccordionHeader {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<KbqAccordionHeader, never>;
5
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KbqAccordionHeader, "kbq-accordion-header, [kbq-accordion-header]", never, {}, {}, never, never, false, [{ directive: typeof i1.RdxAccordionHeaderDirective; inputs: {}; outputs: {}; }]>;
6
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@radix-ng/primitives/accordion";
3
+ export declare class KbqAccordionItem {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<KbqAccordionItem, never>;
5
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KbqAccordionItem, "kbq-accordion-item, [kbq-accordion-item]", never, {}, {}, never, never, false, [{ directive: typeof i1.RdxAccordionItemDirective; inputs: { "expanded": "expanded"; "disabled": "disabled"; "value": "value"; }; outputs: { "closed": "closed"; "opened": "opened"; "expandedChange": "expandedChange"; }; }]>;
6
+ }
@@ -0,0 +1,45 @@
1
+ /* stylelint-disable no-unknown-custom-properties */
2
+
3
+ .kbq-accordion {
4
+ --kbq-accordion-size-item-header-height: 36px;
5
+ --kbq-accordion-size-item-header-variant-fill-padding: var(--kbq-size-xs) var(--kbq-size-s);
6
+ --kbq-accordion-size-item-header-variant-hug-padding: var(--kbq-size-xs) var(--kbq-size-s) var(--kbq-size-xs)
7
+ var(--kbq-size-m);
8
+ --kbq-accordion-size-item-content-padding: 0px var(--kbq-size-m) var(--kbq-size-s) var(--kbq-size-m);
9
+ --kbq-accordion-font-item-header-text-font-size: var(--kbq-typography-text-big-font-size);
10
+ --kbq-accordion-font-item-header-text-line-height: var(--kbq-typography-text-big-line-height);
11
+ --kbq-accordion-font-item-header-text-letter-spacing: var(--kbq-typography-text-big-letter-spacing);
12
+ --kbq-accordion-font-item-header-text-font-weight: var(--kbq-typography-text-big-font-weight);
13
+ --kbq-accordion-font-item-header-text-font-family: var(--kbq-typography-text-big-font-family);
14
+ --kbq-accordion-font-item-header-text-text-transform: var(--kbq-typography-text-big-text-transform);
15
+ --kbq-accordion-font-item-header-text-font-feature-settings: var(--kbq-typography-text-big-font-feature-settings);
16
+ --kbq-accordion-font-item-content-text-font-size: var(--kbq-typography-text-normal-font-size);
17
+ --kbq-accordion-font-item-content-text-line-height: var(--kbq-typography-text-normal-line-height);
18
+ --kbq-accordion-font-item-content-text-letter-spacing: var(--kbq-typography-text-normal-letter-spacing);
19
+ --kbq-accordion-font-item-content-text-font-weight: var(--kbq-typography-text-normal-font-weight);
20
+ --kbq-accordion-font-item-content-text-font-family: var(--kbq-typography-text-normal-font-family);
21
+ --kbq-accordion-font-item-content-text-text-transform: var(--kbq-typography-text-normal-text-transform);
22
+ --kbq-accordion-font-item-content-text-font-feature-settings: var(
23
+ --kbq-typography-text-normal-font-feature-settings
24
+ );
25
+ }
26
+
27
+ :where(.kbq-light, .theme-light, .kbq-theme-light) {
28
+ --kbq-accordion-item-default-background: transparent;
29
+ --kbq-accordion-item-default-text-color: var(--kbq-foreground-contrast);
30
+ --kbq-accordion-item-default-icon-color: var(--kbq-icon-contrast-fade);
31
+ --kbq-accordion-item-states-hover-icon-color: var(--kbq-icon-contrast);
32
+ --kbq-accordion-item-states-focus-border-color: var(--kbq-line-theme);
33
+ --kbq-accordion-item-states-disabled-text-color: var(--kbq-foreground-contrast-secondary);
34
+ --kbq-accordion-item-states-disabled-icon-color: var(--kbq-states-icon-disabled);
35
+ }
36
+
37
+ :where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
38
+ --kbq-accordion-item-default-background: transparent;
39
+ --kbq-accordion-item-default-text-color: var(--kbq-foreground-contrast);
40
+ --kbq-accordion-item-default-icon-color: var(--kbq-icon-contrast-fade);
41
+ --kbq-accordion-item-states-hover-icon-color: var(--kbq-icon-contrast);
42
+ --kbq-accordion-item-states-focus-border-color: var(--kbq-line-theme);
43
+ --kbq-accordion-item-states-disabled-text-color: var(--kbq-foreground-contrast-secondary);
44
+ --kbq-accordion-item-states-disabled-icon-color: var(--kbq-states-icon-disabled);
45
+ }
@@ -0,0 +1,11 @@
1
+ import { KbqAccordion } from './accordion.component';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@radix-ng/primitives/accordion";
4
+ export declare class KbqAccordionTrigger {
5
+ protected accordion: KbqAccordion;
6
+ get isFill(): boolean;
7
+ get isHug(): boolean;
8
+ get isHugSpaceBetween(): boolean;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<KbqAccordionTrigger, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<KbqAccordionTrigger, "kbq-accordion-trigger, [kbq-accordion-trigger]", never, {}, {}, never, ["*"], false, [{ directive: typeof i1.RdxAccordionTriggerDirective; inputs: {}; outputs: {}; }]>;
11
+ }
@@ -0,0 +1,79 @@
1
+ @use 'sass:meta';
2
+ @use 'sass:map';
3
+
4
+ @use '../core/styles/common/tokens' as *;
5
+
6
+ .kbq-accordion-trigger {
7
+ display: flex;
8
+ flex-direction: row;
9
+ align-items: center;
10
+
11
+ background: transparent;
12
+ border: none;
13
+ outline: none;
14
+
15
+ & .kbq-accordion-trigger__icon {
16
+ padding: var(--kbq-size-xxs);
17
+
18
+ transition: transform 300ms ease-out;
19
+ }
20
+
21
+ & .kbq-accordion-trigger__badge,
22
+ & .kbq-accordion-trigger__caption {
23
+ margin-top: var(--kbq-size-xxs);
24
+ margin-right: var(--kbq-size-s);
25
+ }
26
+
27
+ & .kbq-accordion-trigger__action {
28
+ padding: var(--kbq-size-xxs) var(--kbq-size-xxs) var(--kbq-size-3xs);
29
+ margin-bottom: calc(-1 * #{var(--kbq-size-3xs)});
30
+ }
31
+
32
+ &:hover:not([data-disabled='true']) {
33
+ cursor: pointer;
34
+
35
+ & .kbq-accordion-trigger__icon {
36
+ color: var(--kbq-accordion-item-states-hover-icon-color);
37
+ }
38
+ }
39
+
40
+ &.kbq-accordion-trigger_fill {
41
+ padding: var(--kbq-accordion-size-item-header-variant-fill-padding);
42
+
43
+ &[data-state='open'] > .kbq-accordion-trigger__icon {
44
+ transform: rotate(90deg);
45
+ }
46
+ }
47
+
48
+ &.kbq-accordion-trigger_hug {
49
+ flex-direction: row-reverse;
50
+ justify-content: flex-end;
51
+
52
+ padding: var(--kbq-accordion-size-item-header-variant-hug-padding);
53
+
54
+ &[data-state='open'] > .kbq-accordion-trigger__icon {
55
+ transform: rotate(90deg);
56
+ }
57
+ }
58
+
59
+ &.kbq-accordion-trigger_hug-space-between {
60
+ flex-direction: row-reverse;
61
+ justify-content: space-between;
62
+
63
+ padding: var(--kbq-accordion-size-item-header-variant-hug-padding);
64
+
65
+ &[data-state='open'] > .kbq-accordion-trigger__icon {
66
+ transform: rotate(-180deg);
67
+ }
68
+ }
69
+
70
+ &[data-disabled='true'] {
71
+ & .kbq-accordion-trigger__icon {
72
+ color: var(--kbq-accordion-item-states-disabled-icon-color) !important;
73
+ }
74
+ }
75
+ }
76
+
77
+ button.kbq-accordion-trigger {
78
+ flex: 1;
79
+ }
@@ -0,0 +1,20 @@
1
+ import { FocusMonitor } from '@angular/cdk/a11y';
2
+ import { ElementRef, OnDestroy } from '@angular/core';
3
+ import { RdxAccordionType } from '@radix-ng/primitives/accordion';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "@radix-ng/primitives/accordion";
6
+ export type KbqAccordionType = RdxAccordionType;
7
+ export declare enum KbqAccordionVariant {
8
+ fill = "fill",
9
+ hug = "hug",
10
+ hugSpaceBetween = "hugSpaceBetween"
11
+ }
12
+ export declare class KbqAccordion implements OnDestroy {
13
+ private focusMonitor;
14
+ private elementRef;
15
+ variant: KbqAccordionVariant | string;
16
+ constructor(focusMonitor: FocusMonitor, elementRef: ElementRef<HTMLElement>);
17
+ ngOnDestroy(): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<KbqAccordion, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<KbqAccordion, "kbq-accordion, [kbq-accordion]", never, { "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], false, [{ directive: typeof i1.RdxAccordionRootDirective; inputs: { "type": "type"; "collapsible": "collapsible"; "disabled": "disabled"; "defaultValue": "defaultValue"; "value": "value"; }; outputs: { "onValueChange": "onValueChange"; }; }]>;
20
+ }
@@ -0,0 +1,66 @@
1
+ @use 'sass:meta';
2
+ @use 'sass:map';
3
+
4
+ @use '../core/styles/common/tokens' as *;
5
+
6
+ @use './accordion-theme' as *;
7
+
8
+ @keyframes slideDown {
9
+ from {
10
+ height: 0;
11
+ padding-bottom: 0;
12
+ }
13
+
14
+ to {
15
+ height: var(--radix-accordion-content-height);
16
+ padding-bottom: 0;
17
+ }
18
+ }
19
+
20
+ @keyframes slideUp {
21
+ from {
22
+ height: var(--radix-accordion-content-height);
23
+ padding-bottom: 0;
24
+ }
25
+
26
+ to {
27
+ height: 0;
28
+ padding-bottom: 0;
29
+ }
30
+ }
31
+
32
+ .kbq-accordion {
33
+ display: block;
34
+ }
35
+
36
+ .kbq-accordion-item {
37
+ box-sizing: border-box;
38
+ display: block;
39
+
40
+ border-width: 2px;
41
+ border-style: solid;
42
+ border-color: transparent;
43
+ }
44
+
45
+ .kbq-accordion-header {
46
+ display: flex;
47
+
48
+ height: var(--kbq-accordion-size-item-header-height);
49
+ }
50
+
51
+ .kbq-accordion-content {
52
+ display: block;
53
+ overflow: hidden;
54
+ padding: var(--kbq-accordion-size-item-content-padding);
55
+
56
+ &[data-state='open'] {
57
+ animation: slideDown 300ms ease-out;
58
+ }
59
+
60
+ &[data-state='closed'] {
61
+ animation: slideUp 300ms ease-out;
62
+ }
63
+ }
64
+
65
+ @include kbq-accordion-theme();
66
+ @include kbq-accordion-typography();
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./accordion.component";
3
+ import * as i2 from "./accordion-content";
4
+ import * as i3 from "./accordion-header";
5
+ import * as i4 from "./accordion-item";
6
+ import * as i5 from "./accordion-trigger.component";
7
+ import * as i6 from "@koobiq/components/icon";
8
+ export declare class KbqAccordionModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<KbqAccordionModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KbqAccordionModule, [typeof i1.KbqAccordion, typeof i2.KbqAccordionContent, typeof i3.KbqAccordionHeader, typeof i4.KbqAccordionItem, typeof i5.KbqAccordionTrigger], [typeof i6.KbqIcon], [typeof i1.KbqAccordion, typeof i2.KbqAccordionContent, typeof i3.KbqAccordionHeader, typeof i4.KbqAccordionItem, typeof i5.KbqAccordionTrigger]>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<KbqAccordionModule>;
12
+ }
@@ -0,0 +1 @@
1
+ export * from './public-api';
@@ -0,0 +1,6 @@
1
+ export * from './accordion-content';
2
+ export * from './accordion-header';
3
+ export * from './accordion-item';
4
+ export * from './accordion-trigger.component';
5
+ export * from './accordion.component';
6
+ export * from './accordion.module';
@@ -5,14 +5,14 @@
5
5
  @use '../core/styles/common/tokens' as *;
6
6
 
7
7
  @mixin kbq-alert-style($type, $style-name) {
8
- background: kbq-css-variable(alert-#{$type}-#{$style-name}-container-background);
8
+ background: var(--kbq-alert-#{$type}-#{$style-name}-container-background);
9
9
 
10
10
  .kbq-alert__title {
11
- color: kbq-css-variable(alert-#{$type}-#{$style-name}-container-title);
11
+ color: var(--kbq-alert-#{$type}-#{$style-name}-container-title);
12
12
  }
13
13
 
14
14
  .kbq-alert__text {
15
- color: kbq-css-variable(alert-#{$type}-#{$style-name}-container-text);
15
+ color: var(--kbq-alert-#{$type}-#{$style-name}-container-text);
16
16
  }
17
17
  }
18
18
 
@@ -16,8 +16,8 @@
16
16
  --kbq-alert-size-normal-icon-margin-left: var(--kbq-size-m);
17
17
  --kbq-alert-size-normal-icon-padding-top: var(--kbq-size-xxs);
18
18
  --kbq-alert-size-normal-title-margin-bottom: var(--kbq-size-xxs);
19
- --kbq-alert-size-normal-close-button-margin-top: 14px;
20
- --kbq-alert-size-normal-close-button-margin-left: 6px;
19
+ --kbq-alert-size-normal-close-button-margin-top: 10px;
20
+ --kbq-alert-size-normal-close-button-margin-left: var(--kbq-size-3xs);
21
21
  --kbq-alert-size-normal-button-stack-padding-top: var(--kbq-size-s);
22
22
  --kbq-alert-size-normal-button-stack-padding-bottom: var(--kbq-size-3xs);
23
23
  --kbq-alert-size-normal-no-title-icon-margin-top: var(--kbq-size-l);
@@ -35,7 +35,7 @@
35
35
  --kbq-alert-size-compact-icon-margin-right: var(--kbq-size-s);
36
36
  --kbq-alert-size-compact-icon-padding-top: var(--kbq-size-xxs);
37
37
  --kbq-alert-size-compact-title-margin-bottom: var(--kbq-size-3xs);
38
- --kbq-alert-size-compact-close-button-margin-top: var(--kbq-size-s);
38
+ --kbq-alert-size-compact-close-button-margin-top: 10px;
39
39
  --kbq-alert-size-compact-close-button-margin-left: var(--kbq-size-3xs);
40
40
  --kbq-alert-size-compact-button-stack-padding-top: var(--kbq-size-s);
41
41
  --kbq-alert-size-compact-button-stack-padding-bottom: var(--kbq-size-3xs);
@@ -11,7 +11,7 @@
11
11
  box-sizing: border-box;
12
12
 
13
13
  & .kbq-alert__content_title {
14
- margin-bottom: kbq-css-variable(size-xxs);
14
+ margin-bottom: var(--kbq-size-xxs);
15
15
  }
16
16
  }
17
17
 
@@ -24,22 +24,19 @@
24
24
  }
25
25
 
26
26
  .kbq-alert.kbq-alert_normal {
27
- border-radius: kbq-css-variable(alert-size-normal-container-border-radius);
27
+ border-radius: var(--kbq-alert-size-normal-container-border-radius);
28
28
 
29
- padding: kbq-css-variable(alert-size-normal-container-padding-top)
30
- kbq-css-variable(alert-size-normal-container-padding-right)
31
- kbq-css-variable(alert-size-normal-container-padding-bottom)
32
- kbq-css-variable(alert-size-normal-container-padding-left);
29
+ padding: var(--kbq-alert-size-normal-container-padding-top) var(--kbq-alert-size-normal-container-padding-right)
30
+ var(--kbq-alert-size-normal-container-padding-bottom) var(--kbq-alert-size-normal-container-padding-left);
33
31
 
34
32
  & .kbq-alert__icon {
35
- margin: kbq-css-variable(alert-size-normal-no-title-icon-margin-top)
36
- kbq-css-variable(alert-size-normal-icon-margin-right) kbq-css-variable(alert-size-normal-icon-margin-bottom)
37
- kbq-css-variable(alert-size-normal-icon-margin-left);
33
+ margin: var(--kbq-alert-size-normal-no-title-icon-margin-top) var(--kbq-alert-size-normal-icon-margin-right)
34
+ var(--kbq-alert-size-normal-icon-margin-bottom) var(--kbq-alert-size-normal-icon-margin-left);
38
35
 
39
36
  &.kbq-alert__icon_title {
40
- margin-top: kbq-css-variable(alert-size-normal-icon-margin-top);
37
+ margin-top: var(--kbq-alert-size-normal-icon-margin-top);
41
38
 
42
- padding-top: kbq-css-variable(alert-size-normal-no-title-icon-padding-top);
39
+ padding-top: var(--kbq-alert-size-normal-no-title-icon-padding-top);
43
40
  }
44
41
 
45
42
  display: inline-flex;
@@ -47,19 +44,17 @@
47
44
  }
48
45
 
49
46
  & .kbq-alert__content {
50
- padding: kbq-css-variable(alert-size-normal-content-padding-top)
51
- kbq-css-variable(alert-size-normal-content-padding-right)
52
- kbq-css-variable(alert-size-normal-content-padding-bottom)
53
- kbq-css-variable(alert-size-normal-content-padding-left);
47
+ padding: var(--kbq-alert-size-normal-content-padding-top) var(--kbq-alert-size-normal-content-padding-right)
48
+ var(--kbq-alert-size-normal-content-padding-bottom) var(--kbq-alert-size-normal-content-padding-left);
54
49
  }
55
50
 
56
51
  & .kbq-alert__title {
57
- margin-bottom: kbq-css-variable(alert-size-normal-title-margin-bottom);
52
+ margin-bottom: var(--kbq-alert-size-normal-title-margin-bottom);
58
53
  }
59
54
 
60
55
  & .kbq-alert__button-stack {
61
- padding-top: kbq-css-variable(alert-size-normal-button-stack-padding-top);
62
- padding-bottom: kbq-css-variable(alert-size-normal-button-stack-padding-bottom);
56
+ padding-top: var(--kbq-alert-size-normal-button-stack-padding-top);
57
+ padding-bottom: var(--kbq-alert-size-normal-button-stack-padding-bottom);
63
58
  }
64
59
 
65
60
  & .kbq-alert__button-stack_has-button {
@@ -67,29 +62,32 @@
67
62
  }
68
63
 
69
64
  & .kbq-alert__close-button {
70
- margin-top: kbq-css-variable(alert-size-normal-close-button-margin-top);
71
- margin-left: kbq-css-variable(alert-size-normal-close-button-margin-left);
65
+ margin-top: var(--kbq-alert-size-normal-close-button-margin-top);
66
+ margin-left: var(--kbq-alert-size-normal-close-button-margin-left);
67
+
68
+ .kbq-icon-button {
69
+ --kbq-icon-button-size-normal-horizontal-padding: 4px;
70
+ --kbq-icon-button-size-normal-vertical-padding: 4px;
71
+ }
72
72
  }
73
73
  }
74
74
 
75
75
  .kbq-alert.kbq-alert_compact {
76
- border-radius: kbq-css-variable(alert-size-compact-container-border-radius);
76
+ border-radius: var(--kbq-alert-size-compact-container-border-radius);
77
77
 
78
- padding: kbq-css-variable(alert-size-compact-container-padding-top)
79
- kbq-css-variable(alert-size-compact-container-padding-right)
80
- kbq-css-variable(alert-size-compact-container-padding-bottom)
81
- kbq-css-variable(alert-size-compact-container-padding-left);
78
+ padding: var(--kbq-alert-size-compact-container-padding-top) var(--kbq-alert-size-compact-container-padding-right)
79
+ var(--kbq-alert-size-compact-container-padding-bottom) var(--kbq-alert-size-compact-container-padding-left);
82
80
 
83
81
  & .kbq-alert__icon {
84
- margin-top: kbq-css-variable(alert-size-compact-no-title-icon-margin-top);
85
- margin-right: kbq-css-variable(alert-size-compact-icon-margin-right);
82
+ margin-top: var(--kbq-alert-size-compact-no-title-icon-margin-top);
83
+ margin-right: var(--kbq-alert-size-compact-icon-margin-right);
86
84
 
87
- padding-top: kbq-css-variable(alert-size-compact-no-title-icon-padding-top);
85
+ padding-top: var(--kbq-alert-size-compact-no-title-icon-padding-top);
88
86
 
89
87
  &.kbq-alert__icon_title {
90
- margin-top: kbq-css-variable(alert-size-compact-icon-margin-top);
88
+ margin-top: var(--kbq-alert-size-compact-icon-margin-top);
91
89
 
92
- padding-top: kbq-css-variable(alert-size-compact-icon-padding-top);
90
+ padding-top: var(--kbq-alert-size-compact-icon-padding-top);
93
91
  }
94
92
 
95
93
  display: inline-flex;
@@ -97,19 +95,17 @@
97
95
  }
98
96
 
99
97
  & .kbq-alert__content {
100
- padding: kbq-css-variable(alert-size-compact-content-padding-top)
101
- kbq-css-variable(alert-size-compact-content-padding-right)
102
- kbq-css-variable(alert-size-compact-content-padding-bottom)
103
- kbq-css-variable(alert-size-compact-content-padding-left);
98
+ padding: var(--kbq-alert-size-compact-content-padding-top) var(--kbq-alert-size-compact-content-padding-right)
99
+ var(--kbq-alert-size-compact-content-padding-bottom) var(--kbq-alert-size-compact-content-padding-left);
104
100
  }
105
101
 
106
102
  & .kbq-alert__title {
107
- margin-bottom: kbq-css-variable(alert-size-compact-title-margin-bottom);
103
+ margin-bottom: var(--kbq-alert-size-compact-title-margin-bottom);
108
104
  }
109
105
 
110
106
  & .kbq-alert__button-stack {
111
- padding-top: kbq-css-variable(alert-size-compact-button-stack-padding-top);
112
- padding-bottom: kbq-css-variable(alert-size-compact-button-stack-padding-bottom);
107
+ padding-top: var(--kbq-alert-size-compact-button-stack-padding-top);
108
+ padding-bottom: var(--kbq-alert-size-compact-button-stack-padding-bottom);
113
109
  }
114
110
 
115
111
  & .kbq-alert__button-stack_has-button {
@@ -117,8 +113,13 @@
117
113
  }
118
114
 
119
115
  & .kbq-alert__close-button {
120
- margin-top: kbq-css-variable(alert-size-compact-close-button-margin-top);
121
- margin-left: kbq-css-variable(alert-size-compact-close-button-margin-left);
116
+ margin-top: var(--kbq-alert-size-compact-close-button-margin-top);
117
+ margin-left: var(--kbq-alert-size-compact-close-button-margin-left);
118
+
119
+ .kbq-icon-button {
120
+ --kbq-icon-button-size-normal-horizontal-padding: 4px;
121
+ --kbq-icon-button-size-normal-vertical-padding: 4px;
122
+ }
122
123
  }
123
124
  }
124
125
 
@@ -6,7 +6,7 @@
6
6
 
7
7
  @mixin kbq-autocomplete-theme {
8
8
  .kbq-autocomplete-panel {
9
- box-shadow: kbq-css-variable(select-panel-dropdown-shadow);
10
- background: kbq-css-variable(select-panel-dropdown-background);
9
+ box-shadow: var(--kbq-select-panel-dropdown-shadow);
10
+ background: var(--kbq-select-panel-dropdown-background);
11
11
  }
12
12
  }
@@ -19,12 +19,12 @@
19
19
  width: 100%;
20
20
  max-width: none;
21
21
 
22
- max-height: kbq-css-variable(autocomplete-size-panel-max-height);
22
+ max-height: var(--kbq-autocomplete-size-panel-max-height);
23
23
 
24
- border-bottom-left-radius: kbq-css-variable(autocomplete-size-panel-border-radius);
25
- border-bottom-right-radius: kbq-css-variable(autocomplete-size-panel-border-radius);
24
+ border-bottom-left-radius: var(--kbq-autocomplete-size-panel-border-radius);
25
+ border-bottom-right-radius: var(--kbq-autocomplete-size-panel-border-radius);
26
26
 
27
- padding: kbq-css-variable(autocomplete-size-panel-padding);
27
+ padding: var(--kbq-autocomplete-size-panel-padding);
28
28
 
29
29
  &.kbq-autocomplete_visible {
30
30
  visibility: visible;
@@ -35,8 +35,8 @@
35
35
  }
36
36
 
37
37
  .kbq-autocomplete-panel-above & {
38
- border-radius: kbq-css-variable(autocomplete-size-panel-border-radius)
39
- kbq-css-variable(autocomplete-size-panel-border-radius) 0 0;
38
+ border-radius: var(--kbq-autocomplete-size-panel-border-radius) var(--kbq-autocomplete-size-panel-border-radius)
39
+ 0 0;
40
40
  }
41
41
 
42
42
  // We need to offset horizontal dividers by their height, because
@@ -7,21 +7,21 @@
7
7
  @mixin kbq-badge-style($type, $sub-type, $style-name) {
8
8
  $base-path: badge-#{$type}-#{$sub-type}-#{$style-name};
9
9
 
10
- color: kbq-css-variable(#{$base-path}-color);
11
- background: kbq-css-variable(#{$base-path}-background);
10
+ color: var(--kbq-#{$base-path}-color);
11
+ background: var(--kbq-#{$base-path}-background);
12
12
 
13
13
  & .kbq-badge-caption {
14
- color: kbq-css-variable(#{$base-path}-caption);
14
+ color: var(--kbq-#{$base-path}-caption);
15
15
  }
16
16
 
17
17
  & .kbq-icon {
18
- color: kbq-css-variable(#{$base-path}-icon) !important;
18
+ color: var(--kbq-#{$base-path}-icon) !important;
19
19
  }
20
20
 
21
21
  @if $type == filled {
22
22
  border: transparent;
23
23
  } @else {
24
- border-color: kbq-css-variable(#{$base-path}-border);
24
+ border-color: var(--kbq-#{$base-path}-border);
25
25
  }
26
26
  }
27
27