@koobiq/components 18.0.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 (447) 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 +2 -2
  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/pop-up/pop-up-trigger.d.ts +5 -1
  43. package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +8 -8
  44. package/core/selection/pseudo-checkbox/pseudo-checkbox-tokens.scss +2 -2
  45. package/core/selection/pseudo-checkbox/pseudo-checkbox.scss +8 -8
  46. package/core/styles/common/_groups.scss +4 -4
  47. package/core/styles/common/_list.scss +19 -19
  48. package/core/styles/common/_popup.scss +3 -3
  49. package/core/styles/common/_select.scss +13 -13
  50. package/core/styles/common/_tokens.scss +8 -19
  51. package/core/styles/theming/_scrollbar-theme.scss +11 -11
  52. package/core/styles/typography/_typography.scss +15 -0
  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 +13 -13
  79. package/esm2022/alert/alert.module.mjs +4 -4
  80. package/esm2022/autocomplete/autocomplete-origin.directive.mjs +3 -3
  81. package/esm2022/autocomplete/autocomplete-trigger.directive.mjs +3 -3
  82. package/esm2022/autocomplete/autocomplete.component.mjs +5 -5
  83. package/esm2022/autocomplete/autocomplete.module.mjs +4 -4
  84. package/esm2022/badge/badge.component.mjs +10 -10
  85. package/esm2022/badge/badge.module.mjs +4 -4
  86. package/esm2022/button/button.component.mjs +8 -8
  87. package/esm2022/button/button.dropdown-trigger.directive.mjs +28 -0
  88. package/esm2022/button/button.module.mjs +14 -9
  89. package/esm2022/button/public-api.mjs +2 -1
  90. package/esm2022/button-toggle/button-toggle.component.mjs +8 -8
  91. package/esm2022/button-toggle/button-toggle.module.mjs +4 -4
  92. package/esm2022/checkbox/checkbox-module.mjs +4 -4
  93. package/esm2022/checkbox/checkbox-required-validator.mjs +3 -3
  94. package/esm2022/checkbox/checkbox.mjs +4 -4
  95. package/esm2022/code-block/actionbar.component.mjs +4 -4
  96. package/esm2022/code-block/code-block.component.mjs +4 -4
  97. package/esm2022/code-block/code-block.module.mjs +4 -4
  98. package/esm2022/core/common-behaviors/common-module.mjs +4 -4
  99. package/esm2022/core/error/error-options.mjs +6 -6
  100. package/esm2022/core/formatters/date/formatter.mjs +3 -3
  101. package/esm2022/core/formatters/date/formatter.pipe.mjs +39 -39
  102. package/esm2022/core/formatters/index.mjs +4 -4
  103. package/esm2022/core/formatters/number/formatter.mjs +12 -12
  104. package/esm2022/core/forms/forms-module.mjs +4 -4
  105. package/esm2022/core/forms/forms.directive.mjs +6 -6
  106. package/esm2022/core/highlight/highlight.pipe.mjs +3 -3
  107. package/esm2022/core/highlight/index.mjs +4 -4
  108. package/esm2022/core/line/line.mjs +7 -7
  109. package/esm2022/core/locales/locale-service.mjs +3 -3
  110. package/esm2022/core/locales/locale-service.module.mjs +4 -4
  111. package/esm2022/core/option/action.mjs +5 -5
  112. package/esm2022/core/option/optgroup.mjs +4 -4
  113. package/esm2022/core/option/option-module.mjs +4 -4
  114. package/esm2022/core/option/option.mjs +5 -5
  115. package/esm2022/core/pop-up/pop-up-trigger.mjs +17 -8
  116. package/esm2022/core/pop-up/pop-up.mjs +3 -3
  117. package/esm2022/core/select/common.mjs +15 -15
  118. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +4 -4
  119. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +4 -4
  120. package/esm2022/core/services/measure-scrollbar.service.mjs +3 -3
  121. package/esm2022/core/services/theme.service.mjs +3 -3
  122. package/esm2022/core/utils/data-size/data-size.pipe.mjs +3 -3
  123. package/esm2022/core/version.mjs +2 -2
  124. package/esm2022/datepicker/calendar-body.component.mjs +4 -4
  125. package/esm2022/datepicker/calendar-header.component.mjs +4 -4
  126. package/esm2022/datepicker/calendar.component.mjs +4 -4
  127. package/esm2022/datepicker/datepicker-input.directive.mjs +3 -3
  128. package/esm2022/datepicker/datepicker-intl.mjs +3 -3
  129. package/esm2022/datepicker/datepicker-module.mjs +4 -4
  130. package/esm2022/datepicker/datepicker-toggle.component.mjs +7 -7
  131. package/esm2022/datepicker/datepicker.component.mjs +8 -8
  132. package/esm2022/datepicker/month-view.component.mjs +3 -3
  133. package/esm2022/divider/divider.component.mjs +4 -4
  134. package/esm2022/divider/divider.module.mjs +4 -4
  135. package/esm2022/dl/dl.component.mjs +10 -10
  136. package/esm2022/dl/dl.module.mjs +4 -4
  137. package/esm2022/dropdown/dropdown-content.directive.mjs +3 -3
  138. package/esm2022/dropdown/dropdown-item.component.mjs +5 -5
  139. package/esm2022/dropdown/dropdown-trigger.directive.mjs +3 -3
  140. package/esm2022/dropdown/dropdown.component.mjs +6 -6
  141. package/esm2022/dropdown/dropdown.module.mjs +4 -4
  142. package/esm2022/ellipsis-center/ellipsis-center.directive.mjs +7 -7
  143. package/esm2022/empty-state/empty-state.component.mjs +16 -16
  144. package/esm2022/empty-state/empty-state.module.mjs +4 -4
  145. package/esm2022/file-upload/file-drop.mjs +3 -3
  146. package/esm2022/file-upload/file-upload.module.mjs +4 -4
  147. package/esm2022/file-upload/multiple-file-upload.component.mjs +4 -4
  148. package/esm2022/file-upload/single-file-upload.component.mjs +4 -4
  149. package/esm2022/form-field/cleaner.mjs +5 -5
  150. package/esm2022/form-field/form-field.mjs +11 -11
  151. package/esm2022/form-field/form-field.module.mjs +4 -4
  152. package/esm2022/form-field/hint.mjs +5 -5
  153. package/esm2022/form-field/password-hint.mjs +6 -6
  154. package/esm2022/form-field/password-toggle.mjs +4 -4
  155. package/esm2022/form-field/prefix.mjs +3 -3
  156. package/esm2022/form-field/stepper.mjs +5 -5
  157. package/esm2022/form-field/suffix.mjs +3 -3
  158. package/esm2022/form-field/validate.directive.mjs +3 -3
  159. package/esm2022/icon/icon-button.component.mjs +6 -6
  160. package/esm2022/icon/icon-item.component.mjs +6 -6
  161. package/esm2022/icon/icon.component.mjs +6 -6
  162. package/esm2022/icon/icon.module.mjs +13 -24
  163. package/esm2022/input/input-number-validators.mjs +6 -6
  164. package/esm2022/input/input-number.mjs +5 -5
  165. package/esm2022/input/input-password.mjs +3 -3
  166. package/esm2022/input/input.mjs +8 -8
  167. package/esm2022/input/input.module.mjs +4 -4
  168. package/esm2022/link/link.component.mjs +3 -3
  169. package/esm2022/link/link.module.mjs +4 -4
  170. package/esm2022/list/list-selection.component.mjs +11 -11
  171. package/esm2022/list/list.component.mjs +7 -7
  172. package/esm2022/list/list.module.mjs +4 -4
  173. package/esm2022/loader-overlay/loader-overlay.component.mjs +13 -13
  174. package/esm2022/loader-overlay/loader-overlay.module.mjs +4 -4
  175. package/esm2022/markdown/markdown.component.mjs +5 -5
  176. package/esm2022/markdown/markdown.module.mjs +4 -4
  177. package/esm2022/markdown/markdown.service.mjs +3 -3
  178. package/esm2022/modal/css-unit.pipe.mjs +3 -3
  179. package/esm2022/modal/modal-control.service.mjs +3 -3
  180. package/esm2022/modal/modal.component.mjs +7 -9
  181. package/esm2022/modal/modal.directive.mjs +53 -17
  182. package/esm2022/modal/modal.module.mjs +4 -4
  183. package/esm2022/modal/modal.service.mjs +3 -3
  184. package/esm2022/navbar/navbar-item.component.mjs +29 -29
  185. package/esm2022/navbar/navbar.component.mjs +11 -11
  186. package/esm2022/navbar/navbar.module.mjs +4 -4
  187. package/esm2022/navbar/vertical-navbar.component.mjs +5 -5
  188. package/esm2022/popover/popover-confirm.component.mjs +8 -8
  189. package/esm2022/popover/popover.component.mjs +8 -8
  190. package/esm2022/popover/popover.module.mjs +4 -4
  191. package/esm2022/progress-bar/progress-bar.component.mjs +10 -10
  192. package/esm2022/progress-bar/progress-bar.module.mjs +4 -4
  193. package/esm2022/progress-spinner/progress-spinner.component.mjs +10 -10
  194. package/esm2022/progress-spinner/progress-spinner.module.mjs +4 -4
  195. package/esm2022/radio/radio.component.mjs +7 -7
  196. package/esm2022/radio/radio.module.mjs +4 -4
  197. package/esm2022/risk-level/risk-level.component.mjs +4 -4
  198. package/esm2022/risk-level/risk-level.module.mjs +4 -4
  199. package/esm2022/scrollbar/scrollbar.component.mjs +6 -6
  200. package/esm2022/scrollbar/scrollbar.directive.mjs +3 -3
  201. package/esm2022/scrollbar/scrollbar.module.mjs +4 -4
  202. package/esm2022/select/select-option.directive.mjs +3 -3
  203. package/esm2022/select/select.component.mjs +6 -6
  204. package/esm2022/select/select.module.mjs +4 -4
  205. package/esm2022/sidebar/sidebar.component.mjs +9 -9
  206. package/esm2022/sidebar/sidebar.module.mjs +4 -4
  207. package/esm2022/sidepanel/sidepanel-container.component.mjs +5 -5
  208. package/esm2022/sidepanel/sidepanel-directives.mjs +15 -15
  209. package/esm2022/sidepanel/sidepanel.module.mjs +4 -4
  210. package/esm2022/sidepanel/sidepanel.service.mjs +3 -3
  211. package/esm2022/splitter/splitter.component.mjs +14 -14
  212. package/esm2022/splitter/splitter.module.mjs +4 -4
  213. package/esm2022/table/table.component.mjs +7 -7
  214. package/esm2022/table/table.module.mjs +4 -4
  215. package/esm2022/tabs/paginated-tab-header.mjs +3 -3
  216. package/esm2022/tabs/tab-body.component.mjs +6 -6
  217. package/esm2022/tabs/tab-content.directive.mjs +3 -3
  218. package/esm2022/tabs/tab-group.component.mjs +33 -18
  219. package/esm2022/tabs/tab-header.component.mjs +16 -5
  220. package/esm2022/tabs/tab-label-wrapper.directive.mjs +8 -4
  221. package/esm2022/tabs/tab-label.directive.mjs +3 -3
  222. package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +7 -7
  223. package/esm2022/tabs/tab.component.mjs +3 -3
  224. package/esm2022/tabs/tabs.module.mjs +15 -8
  225. package/esm2022/tags/tag-input.mjs +3 -3
  226. package/esm2022/tags/tag-list.component.mjs +4 -4
  227. package/esm2022/tags/tag.component.mjs +13 -13
  228. package/esm2022/tags/tag.module.mjs +4 -4
  229. package/esm2022/textarea/textarea.component.mjs +3 -3
  230. package/esm2022/textarea/textarea.module.mjs +4 -4
  231. package/esm2022/timepicker/timepicker.directive.mjs +3 -3
  232. package/esm2022/timepicker/timepicker.module.mjs +4 -4
  233. package/esm2022/timezone/cities-by-filter.pipe.mjs +3 -3
  234. package/esm2022/timezone/timezone-option.component.mjs +5 -5
  235. package/esm2022/timezone/timezone-option.directive.mjs +3 -3
  236. package/esm2022/timezone/timezone-select.component.mjs +8 -8
  237. package/esm2022/timezone/timezone.module.mjs +4 -4
  238. package/esm2022/timezone/utc-offset.pipe.mjs +3 -3
  239. package/esm2022/title/title.directive.mjs +3 -3
  240. package/esm2022/title/title.module.mjs +4 -4
  241. package/esm2022/toast/toast-container.component.mjs +4 -4
  242. package/esm2022/toast/toast.component.mjs +8 -8
  243. package/esm2022/toast/toast.module.mjs +4 -4
  244. package/esm2022/toast/toast.service.mjs +3 -3
  245. package/esm2022/toggle/toggle.component.mjs +6 -6
  246. package/esm2022/toggle/toggle.module.mjs +4 -4
  247. package/esm2022/tooltip/tooltip.component.mjs +52 -15
  248. package/esm2022/tooltip/tooltip.module.mjs +15 -28
  249. package/esm2022/tree/node.mjs +3 -3
  250. package/esm2022/tree/outlet.mjs +3 -3
  251. package/esm2022/tree/padding.directive.mjs +3 -3
  252. package/esm2022/tree/toggle.mjs +11 -11
  253. package/esm2022/tree/tree-base.mjs +6 -6
  254. package/esm2022/tree/tree-option.component.mjs +8 -7
  255. package/esm2022/tree/tree-selection.component.mjs +5 -5
  256. package/esm2022/tree/tree.mjs +5 -5
  257. package/esm2022/tree/tree.module.mjs +4 -4
  258. package/esm2022/tree-select/tree-select.component.mjs +15 -8
  259. package/esm2022/tree-select/tree-select.module.mjs +4 -4
  260. package/fesm2022/koobiq-components-accordion.mjs +189 -0
  261. package/fesm2022/koobiq-components-accordion.mjs.map +1 -0
  262. package/fesm2022/koobiq-components-alert.mjs +17 -17
  263. package/fesm2022/koobiq-components-alert.mjs.map +1 -1
  264. package/fesm2022/koobiq-components-autocomplete.mjs +15 -15
  265. package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
  266. package/fesm2022/koobiq-components-badge.mjs +14 -14
  267. package/fesm2022/koobiq-components-badge.mjs.map +1 -1
  268. package/fesm2022/koobiq-components-button-toggle.mjs +12 -12
  269. package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
  270. package/fesm2022/koobiq-components-button.mjs +48 -18
  271. package/fesm2022/koobiq-components-button.mjs.map +1 -1
  272. package/fesm2022/koobiq-components-checkbox.mjs +11 -11
  273. package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
  274. package/fesm2022/koobiq-components-code-block.mjs +12 -12
  275. package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
  276. package/fesm2022/koobiq-components-core.mjs +169 -160
  277. package/fesm2022/koobiq-components-core.mjs.map +1 -1
  278. package/fesm2022/koobiq-components-datepicker.mjs +39 -39
  279. package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
  280. package/fesm2022/koobiq-components-divider.mjs +8 -8
  281. package/fesm2022/koobiq-components-divider.mjs.map +1 -1
  282. package/fesm2022/koobiq-components-dl.mjs +14 -14
  283. package/fesm2022/koobiq-components-dl.mjs.map +1 -1
  284. package/fesm2022/koobiq-components-dropdown.mjs +20 -20
  285. package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
  286. package/fesm2022/koobiq-components-ellipsis-center.mjs +7 -7
  287. package/fesm2022/koobiq-components-empty-state.mjs +20 -20
  288. package/fesm2022/koobiq-components-empty-state.mjs.map +1 -1
  289. package/fesm2022/koobiq-components-file-upload.mjs +15 -15
  290. package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
  291. package/fesm2022/koobiq-components-form-field.mjs +48 -48
  292. package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
  293. package/fesm2022/koobiq-components-icon.mjs +27 -38
  294. package/fesm2022/koobiq-components-icon.mjs.map +1 -1
  295. package/fesm2022/koobiq-components-input.mjs +24 -24
  296. package/fesm2022/koobiq-components-input.mjs.map +1 -1
  297. package/fesm2022/koobiq-components-link.mjs +7 -7
  298. package/fesm2022/koobiq-components-list.mjs +22 -22
  299. package/fesm2022/koobiq-components-list.mjs.map +1 -1
  300. package/fesm2022/koobiq-components-loader-overlay.mjs +17 -17
  301. package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
  302. package/fesm2022/koobiq-components-markdown.mjs +12 -12
  303. package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
  304. package/fesm2022/koobiq-components-modal.mjs +66 -36
  305. package/fesm2022/koobiq-components-modal.mjs.map +1 -1
  306. package/fesm2022/koobiq-components-navbar.mjs +49 -49
  307. package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
  308. package/fesm2022/koobiq-components-popover.mjs +18 -18
  309. package/fesm2022/koobiq-components-popover.mjs.map +1 -1
  310. package/fesm2022/koobiq-components-progress-bar.mjs +14 -14
  311. package/fesm2022/koobiq-components-progress-bar.mjs.map +1 -1
  312. package/fesm2022/koobiq-components-progress-spinner.mjs +14 -14
  313. package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
  314. package/fesm2022/koobiq-components-radio.mjs +11 -11
  315. package/fesm2022/koobiq-components-radio.mjs.map +1 -1
  316. package/fesm2022/koobiq-components-risk-level.mjs +8 -8
  317. package/fesm2022/koobiq-components-risk-level.mjs.map +1 -1
  318. package/fesm2022/koobiq-components-scrollbar.mjs +12 -12
  319. package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -1
  320. package/fesm2022/koobiq-components-select.mjs +12 -12
  321. package/fesm2022/koobiq-components-select.mjs.map +1 -1
  322. package/fesm2022/koobiq-components-sidebar.mjs +13 -13
  323. package/fesm2022/koobiq-components-sidepanel.mjs +26 -26
  324. package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
  325. package/fesm2022/koobiq-components-splitter.mjs +17 -17
  326. package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
  327. package/fesm2022/koobiq-components-table.mjs +11 -11
  328. package/fesm2022/koobiq-components-table.mjs.map +1 -1
  329. package/fesm2022/koobiq-components-tabs.mjs +93 -56
  330. package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
  331. package/fesm2022/koobiq-components-tags.mjs +24 -24
  332. package/fesm2022/koobiq-components-tags.mjs.map +1 -1
  333. package/fesm2022/koobiq-components-textarea.mjs +7 -7
  334. package/fesm2022/koobiq-components-timepicker.mjs +7 -7
  335. package/fesm2022/koobiq-components-timezone.mjs +26 -26
  336. package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
  337. package/fesm2022/koobiq-components-title.mjs +7 -7
  338. package/fesm2022/koobiq-components-toast.mjs +18 -18
  339. package/fesm2022/koobiq-components-toast.mjs.map +1 -1
  340. package/fesm2022/koobiq-components-toggle.mjs +9 -9
  341. package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
  342. package/fesm2022/koobiq-components-tooltip.mjs +67 -42
  343. package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
  344. package/fesm2022/koobiq-components-tree-select.mjs +18 -11
  345. package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
  346. package/fesm2022/koobiq-components-tree.mjs +47 -46
  347. package/fesm2022/koobiq-components-tree.mjs.map +1 -1
  348. package/file-upload/_file-upload-theme.scss +27 -29
  349. package/file-upload/file-upload-tokens.scss +1 -1
  350. package/file-upload/multiple-file-upload.component.scss +26 -26
  351. package/file-upload/single-file-upload.component.scss +8 -8
  352. package/form-field/_form-field-theme.scss +14 -14
  353. package/form-field/_hint-theme.scss +2 -2
  354. package/form-field/cleaner.scss +2 -2
  355. package/form-field/form-field.scss +10 -10
  356. package/form-field/hint.scss +4 -4
  357. package/form-field/password-toggle.scss +2 -2
  358. package/form-field/stepper.scss +3 -3
  359. package/icon/_icon-button-theme.scss +26 -26
  360. package/icon/_icon-item-theme.scss +2 -2
  361. package/icon/_icon-theme.scss +6 -6
  362. package/icon/icon-button.component.d.ts +1 -1
  363. package/icon/icon-button.scss +2 -4
  364. package/icon/icon-item.component.d.ts +1 -1
  365. package/icon/icon-item.scss +2 -4
  366. package/icon/icon.component.d.ts +1 -1
  367. package/icon/icon.module.d.ts +1 -3
  368. package/input/input-number.d.ts +1 -1
  369. package/input/input.d.ts +1 -1
  370. package/input/input.scss +2 -2
  371. package/link/_link-theme.scss +11 -11
  372. package/link/link-tokens.scss +2 -2
  373. package/list/_list-theme.scss +6 -6
  374. package/list/list.scss +1 -1
  375. package/loader-overlay/_loader-overlay-theme.scss +6 -6
  376. package/loader-overlay/loader-overlay.scss +8 -8
  377. package/markdown/_markdown-theme.scss +27 -27
  378. package/markdown/markdown-tokens.scss +19 -19
  379. package/markdown/markdown.scss +29 -29
  380. package/modal/_modal-confirm.scss +1 -1
  381. package/modal/_modal-theme.scss +9 -12
  382. package/modal/modal.directive.d.ts +3 -0
  383. package/modal/modal.scss +12 -13
  384. package/navbar/_navbar-item_horizontal.scss +20 -20
  385. package/navbar/_navbar-item_vertical.scss +28 -28
  386. package/navbar/_navbar-theme.scss +8 -8
  387. package/navbar/navbar-brand.scss +23 -23
  388. package/navbar/navbar-divider.scss +3 -3
  389. package/navbar/navbar-item.scss +6 -6
  390. package/navbar/navbar.scss +1 -1
  391. package/navbar/vertical-navbar.scss +2 -2
  392. package/package.json +13 -6
  393. package/popover/_popover-theme.scss +7 -7
  394. package/popover/popover.scss +17 -18
  395. package/prebuilt-themes/dark-theme.css +1 -1
  396. package/prebuilt-themes/light-theme.css +1 -1
  397. package/prebuilt-themes/theme.css +1 -1
  398. package/progress-bar/_progress-bar-theme.scss +4 -4
  399. package/progress-bar/progress-bar.scss +5 -5
  400. package/progress-spinner/_progress-spinner-theme.scss +3 -3
  401. package/progress-spinner/progress-spinner.scss +7 -7
  402. package/radio/_radio-theme.scss +9 -9
  403. package/radio/radio.scss +14 -14
  404. package/risk-level/_risk-level-theme.scss +5 -5
  405. package/risk-level/risk-level.component.scss +3 -3
  406. package/schematics/ng-add/index.js +22 -5
  407. package/scrollbar/_scrollbar-component-theme.scss +12 -12
  408. package/scrollbar/scrollbar.component.scss +6 -6
  409. package/select/_select-theme.scss +9 -9
  410. package/select/select.scss +2 -2
  411. package/sidepanel/_sidepanel-theme.scss +4 -4
  412. package/sidepanel/sidepanel.scss +14 -16
  413. package/splitter/_splitter-theme.scss +1 -1
  414. package/table/_table-theme.scss +5 -5
  415. package/table/table.scss +12 -12
  416. package/tabs/_tabs-common.scss +32 -3
  417. package/tabs/_tabs-theme.scss +24 -12
  418. package/tabs/tab-group.component.d.ts +7 -2
  419. package/tabs/tab-group.scss +1 -1
  420. package/tabs/tab-header.component.d.ts +4 -1
  421. package/tabs/tab-header.scss +29 -0
  422. package/tabs/tab-nav-bar/tab-nav-bar.scss +1 -1
  423. package/tabs/tabs.module.d.ts +2 -1
  424. package/tags/_tag-theme.scss +5 -5
  425. package/tags/tag-list.scss +5 -5
  426. package/tags/tag.scss +4 -4
  427. package/textarea/textarea.scss +2 -2
  428. package/timepicker/timepicker.scss +1 -1
  429. package/timezone/_timezone-option-theme.scss +3 -3
  430. package/timezone/timezone-option-tokens.scss +24 -0
  431. package/timezone/timezone-option.component.scss +4 -4
  432. package/timezone/timezone-select.component.scss +1 -1
  433. package/toast/_toast-theme.scss +4 -4
  434. package/toast/toast-container.component.scss +3 -3
  435. package/toast/toast.component.scss +21 -21
  436. package/toggle/_toggle-theme.scss +8 -8
  437. package/toggle/toggle.scss +8 -8
  438. package/tooltip/_tooltip-theme.scss +5 -5
  439. package/tooltip/tooltip.component.d.ts +11 -4
  440. package/tooltip/tooltip.module.d.ts +1 -3
  441. package/tooltip/tooltip.scss +7 -7
  442. package/tree/_tree-theme.scss +6 -6
  443. package/tree/toggle.scss +2 -2
  444. package/tree/tree-option.component.d.ts +1 -0
  445. package/tree/tree-option.scss +4 -4
  446. package/tree-select/_tree-select-theme.scss +7 -7
  447. package/tree-select/tree-select.component.d.ts +2 -0
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,7 +16,7 @@
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: var(--kbq-size-s);
19
+ --kbq-alert-size-normal-close-button-margin-top: 10px;
20
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);
@@ -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