@koobiq/components 18.4.0 → 18.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (310) hide show
  1. package/accordion/_accordion-theme.scss +2 -6
  2. package/accordion/accordion-tokens.scss +0 -18
  3. package/accordion/accordion-trigger.component.scss +0 -5
  4. package/accordion/accordion.component.scss +0 -5
  5. package/alert/_alert-theme.scss +3 -7
  6. package/alert/alert-tokens.scss +0 -23
  7. package/alert/alert.component.scss +0 -3
  8. package/autocomplete/_autocomplete-theme.scss +0 -6
  9. package/autocomplete/autocomplete-tokens.scss +0 -2
  10. package/autocomplete/autocomplete.scss +0 -3
  11. package/badge/_badge-theme.scss +4 -8
  12. package/badge/badge-tokens.scss +0 -34
  13. package/badge/badge.component.scss +0 -3
  14. package/button/_button-base.scss +0 -3
  15. package/button/_button-theme.scss +1 -5
  16. package/button/button-tokens.scss +8 -10
  17. package/button/button.scss +0 -2
  18. package/button-toggle/_button-toggle-theme.scss +1 -6
  19. package/button-toggle/button-toggle-tokens.scss +1 -10
  20. package/button-toggle/button-toggle.scss +0 -3
  21. package/checkbox/_checkbox-theme.scss +4 -7
  22. package/checkbox/checkbox-tokens.scss +0 -30
  23. package/checkbox/checkbox.scss +0 -3
  24. package/code-block/_code-block-theme.scss +1 -6
  25. package/code-block/actionbar.component.scss +0 -4
  26. package/code-block/code-block-tokens.scss +2 -11
  27. package/code-block/code-block.scss +1 -3
  28. package/core/formatters/date/formatter.pipe.d.ts +82 -65
  29. package/core/formatters/index.d.ts +1 -1
  30. package/core/forms/_forms-theme.scss +1 -1
  31. package/core/forms/_forms.scss +2 -2
  32. package/core/forms/forms-tokens.scss +0 -17
  33. package/core/option/_optgroup-theme.scss +1 -1
  34. package/core/option/_option-theme.scss +2 -2
  35. package/core/option/action.scss +3 -3
  36. package/core/option/option-tokens.scss +0 -102
  37. package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +0 -2
  38. package/core/selection/pseudo-checkbox/pseudo-checkbox-tokens.scss +0 -30
  39. package/core/selection/pseudo-checkbox/pseudo-checkbox.scss +0 -3
  40. package/core/styles/_core.scss +0 -2
  41. package/core/styles/_koobiq-theme.scss +0 -2
  42. package/core/styles/common/_groups.scss +4 -12
  43. package/core/styles/common/_list.scss +0 -3
  44. package/core/styles/common/_popup.scss +4 -9
  45. package/core/styles/common/_select.scss +29 -39
  46. package/core/styles/common/_tokens.scss +0 -2
  47. package/core/styles/theming/_scrollbar-theme.scss +0 -3
  48. package/core/styles/theming/_theming.scss +1 -1
  49. package/core/styles/theming/scrollbar-tokens.scss +0 -2
  50. package/core/styles/visual/_layout.scss +0 -3
  51. package/datepicker/_datepicker-theme.scss +2 -7
  52. package/datepicker/calendar-body.scss +0 -8
  53. package/datepicker/calendar-header.scss +0 -5
  54. package/datepicker/calendar.scss +0 -5
  55. package/datepicker/datepicker-content.scss +0 -5
  56. package/datepicker/datepicker-input.scss +0 -3
  57. package/datepicker/datepicker-toggle.scss +0 -5
  58. package/datepicker/datepicker-tokens.scss +0 -9
  59. package/divider/_divider-theme.scss +0 -4
  60. package/divider/divider-tokens.scss +0 -2
  61. package/divider/divider.scss +0 -5
  62. package/dl/_dl-theme.scss +2 -6
  63. package/dl/dl-tokens.scss +0 -18
  64. package/dl/dl.scss +0 -5
  65. package/dropdown/_dropdown-theme.scss +4 -8
  66. package/dropdown/dropdown-item.scss +0 -5
  67. package/dropdown/dropdown-tokens.scss +1 -90
  68. package/dropdown/dropdown.scss +0 -5
  69. package/empty-state/_empty-state-theme.scss +4 -7
  70. package/empty-state/empty-state-tokens.scss +0 -32
  71. package/empty-state/empty-state.scss +0 -4
  72. package/esm2022/accordion/accordion-trigger.component.mjs +2 -2
  73. package/esm2022/accordion/accordion.component.mjs +2 -2
  74. package/esm2022/alert/alert.component.mjs +2 -2
  75. package/esm2022/badge/badge.component.mjs +2 -2
  76. package/esm2022/button/button.component.mjs +2 -2
  77. package/esm2022/button-toggle/button-toggle.component.mjs +2 -2
  78. package/esm2022/checkbox/checkbox.mjs +2 -2
  79. package/esm2022/code-block/code-block.component.mjs +2 -2
  80. package/esm2022/core/formatters/date/formatter.pipe.mjs +280 -120
  81. package/esm2022/core/formatters/index.mjs +65 -12
  82. package/esm2022/core/option/action.mjs +3 -3
  83. package/esm2022/core/option/optgroup.mjs +3 -3
  84. package/esm2022/core/option/option.mjs +3 -3
  85. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +2 -2
  86. package/esm2022/core/version.mjs +2 -2
  87. package/esm2022/datepicker/calendar-body.component.mjs +3 -3
  88. package/esm2022/datepicker/calendar-header.component.mjs +3 -3
  89. package/esm2022/datepicker/datepicker.component.mjs +3 -3
  90. package/esm2022/dl/dl.component.mjs +2 -2
  91. package/esm2022/dropdown/dropdown-item.component.mjs +2 -2
  92. package/esm2022/dropdown/dropdown.component.mjs +3 -3
  93. package/esm2022/empty-state/empty-state.component.mjs +2 -2
  94. package/esm2022/file-upload/multiple-file-upload.component.mjs +2 -2
  95. package/esm2022/file-upload/single-file-upload.component.mjs +2 -2
  96. package/esm2022/form-field/form-field.mjs +2 -2
  97. package/esm2022/form-field/hint.mjs +2 -2
  98. package/esm2022/form-field/password-hint.mjs +2 -2
  99. package/esm2022/form-field/validate.directive.mjs +21 -1
  100. package/esm2022/list/list-selection.component.mjs +2 -2
  101. package/esm2022/list/list.component.mjs +2 -2
  102. package/esm2022/loader-overlay/loader-overlay.component.mjs +2 -2
  103. package/esm2022/markdown/markdown.component.mjs +34 -20
  104. package/esm2022/markdown/markdown.module.mjs +8 -9
  105. package/esm2022/markdown/markdown.service.mjs +5 -3
  106. package/esm2022/markdown/markdown.values.mjs +5 -1
  107. package/esm2022/modal/modal.component.mjs +2 -2
  108. package/esm2022/navbar/navbar.component.mjs +2 -2
  109. package/esm2022/navbar/vertical-navbar.component.mjs +2 -2
  110. package/esm2022/popover/popover-confirm.component.mjs +3 -3
  111. package/esm2022/popover/popover.component.mjs +3 -3
  112. package/esm2022/progress-bar/progress-bar.component.mjs +2 -2
  113. package/esm2022/progress-spinner/progress-spinner.component.mjs +2 -2
  114. package/esm2022/radio/radio.component.mjs +2 -2
  115. package/esm2022/risk-level/risk-level.component.mjs +2 -2
  116. package/esm2022/select/select.component.mjs +4 -4
  117. package/esm2022/sidepanel/sidepanel-container.component.mjs +3 -3
  118. package/esm2022/splitter/splitter.component.mjs +2 -2
  119. package/esm2022/table/table.component.mjs +2 -2
  120. package/esm2022/tabs/tab-group.component.mjs +2 -2
  121. package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +2 -2
  122. package/esm2022/tags/tag-list.component.mjs +2 -2
  123. package/esm2022/timezone/timezone-option.component.mjs +2 -2
  124. package/esm2022/timezone/timezone-select.component.mjs +2 -2
  125. package/esm2022/toast/toast.component.mjs +3 -3
  126. package/esm2022/toggle/toggle.component.mjs +3 -3
  127. package/esm2022/tooltip/tooltip.component.mjs +3 -3
  128. package/esm2022/tree/padding.directive.mjs +2 -2
  129. package/esm2022/tree/toggle.mjs +2 -2
  130. package/esm2022/tree/tree-option.component.mjs +2 -2
  131. package/esm2022/tree/tree-selection.component.mjs +2 -2
  132. package/esm2022/tree/tree.mjs +2 -2
  133. package/esm2022/tree-select/tree-select.component.mjs +4 -4
  134. package/fesm2022/koobiq-components-accordion.mjs +4 -4
  135. package/fesm2022/koobiq-components-accordion.mjs.map +1 -1
  136. package/fesm2022/koobiq-components-alert.mjs +2 -2
  137. package/fesm2022/koobiq-components-alert.mjs.map +1 -1
  138. package/fesm2022/koobiq-components-badge.mjs +2 -2
  139. package/fesm2022/koobiq-components-badge.mjs.map +1 -1
  140. package/fesm2022/koobiq-components-button-toggle.mjs +2 -2
  141. package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
  142. package/fesm2022/koobiq-components-button.mjs +2 -2
  143. package/fesm2022/koobiq-components-button.mjs.map +1 -1
  144. package/fesm2022/koobiq-components-checkbox.mjs +2 -2
  145. package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
  146. package/fesm2022/koobiq-components-code-block.mjs +2 -2
  147. package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
  148. package/fesm2022/koobiq-components-core.mjs +351 -136
  149. package/fesm2022/koobiq-components-core.mjs.map +1 -1
  150. package/fesm2022/koobiq-components-datepicker.mjs +6 -6
  151. package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
  152. package/fesm2022/koobiq-components-dl.mjs +2 -2
  153. package/fesm2022/koobiq-components-dl.mjs.map +1 -1
  154. package/fesm2022/koobiq-components-dropdown.mjs +4 -4
  155. package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
  156. package/fesm2022/koobiq-components-empty-state.mjs +2 -2
  157. package/fesm2022/koobiq-components-empty-state.mjs.map +1 -1
  158. package/fesm2022/koobiq-components-file-upload.mjs +4 -4
  159. package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
  160. package/fesm2022/koobiq-components-form-field.mjs +26 -6
  161. package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
  162. package/fesm2022/koobiq-components-list.mjs +4 -4
  163. package/fesm2022/koobiq-components-list.mjs.map +1 -1
  164. package/fesm2022/koobiq-components-loader-overlay.mjs +2 -2
  165. package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
  166. package/fesm2022/koobiq-components-markdown.mjs +49 -30
  167. package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
  168. package/fesm2022/koobiq-components-modal.mjs +2 -2
  169. package/fesm2022/koobiq-components-modal.mjs.map +1 -1
  170. package/fesm2022/koobiq-components-navbar.mjs +4 -4
  171. package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
  172. package/fesm2022/koobiq-components-popover.mjs +4 -4
  173. package/fesm2022/koobiq-components-popover.mjs.map +1 -1
  174. package/fesm2022/koobiq-components-progress-bar.mjs +2 -2
  175. package/fesm2022/koobiq-components-progress-bar.mjs.map +1 -1
  176. package/fesm2022/koobiq-components-progress-spinner.mjs +2 -2
  177. package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
  178. package/fesm2022/koobiq-components-radio.mjs +2 -2
  179. package/fesm2022/koobiq-components-radio.mjs.map +1 -1
  180. package/fesm2022/koobiq-components-risk-level.mjs +2 -2
  181. package/fesm2022/koobiq-components-risk-level.mjs.map +1 -1
  182. package/fesm2022/koobiq-components-select.mjs +4 -4
  183. package/fesm2022/koobiq-components-select.mjs.map +1 -1
  184. package/fesm2022/koobiq-components-sidepanel.mjs +2 -2
  185. package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
  186. package/fesm2022/koobiq-components-splitter.mjs +1 -1
  187. package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
  188. package/fesm2022/koobiq-components-table.mjs +2 -2
  189. package/fesm2022/koobiq-components-table.mjs.map +1 -1
  190. package/fesm2022/koobiq-components-tabs.mjs +4 -4
  191. package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
  192. package/fesm2022/koobiq-components-tags.mjs +2 -2
  193. package/fesm2022/koobiq-components-tags.mjs.map +1 -1
  194. package/fesm2022/koobiq-components-timezone.mjs +4 -4
  195. package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
  196. package/fesm2022/koobiq-components-toast.mjs +2 -2
  197. package/fesm2022/koobiq-components-toast.mjs.map +1 -1
  198. package/fesm2022/koobiq-components-toggle.mjs +2 -2
  199. package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
  200. package/fesm2022/koobiq-components-tooltip.mjs +2 -2
  201. package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
  202. package/fesm2022/koobiq-components-tree-select.mjs +4 -4
  203. package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
  204. package/fesm2022/koobiq-components-tree.mjs +10 -10
  205. package/fesm2022/koobiq-components-tree.mjs.map +1 -1
  206. package/file-upload/_file-upload-theme.scss +6 -10
  207. package/file-upload/file-upload-tokens.scss +0 -41
  208. package/file-upload/multiple-file-upload.component.scss +10 -13
  209. package/form-field/_form-field-theme.scss +2 -7
  210. package/form-field/_hint-theme.scss +2 -6
  211. package/form-field/cleaner.scss +0 -5
  212. package/form-field/form-field-tokens.scss +1 -19
  213. package/form-field/form-field.scss +0 -3
  214. package/form-field/hint-tokens.scss +0 -16
  215. package/form-field/password-toggle.scss +0 -5
  216. package/form-field/stepper.scss +0 -5
  217. package/form-field/validate.directive.d.ts +20 -0
  218. package/icon/_icon-button-theme.scss +0 -5
  219. package/icon/_icon-item-theme.scss +0 -2
  220. package/icon/icon-button-tokens.scss +0 -2
  221. package/icon/icon-button.scss +0 -3
  222. package/icon/icon-item-tokens.scss +0 -2
  223. package/icon/icon-item.scss +0 -3
  224. package/icon/icon-tokens.scss +0 -2
  225. package/icon/icon.scss +0 -3
  226. package/input/_input-theme.scss +1 -1
  227. package/input/input-tokens.scss +0 -9
  228. package/input/input.scss +2 -5
  229. package/link/_link-theme.scss +3 -3
  230. package/link/link-tokens.scss +0 -23
  231. package/list/_list-theme.scss +2 -2
  232. package/list/list-tokens.scss +0 -30
  233. package/list/list.scss +0 -3
  234. package/loader-overlay/_loader-overlay-theme.scss +4 -4
  235. package/loader-overlay/loader-overlay-tokens.scss +0 -36
  236. package/loader-overlay/loader-overlay.scss +1 -0
  237. package/markdown/_markdown-theme.scss +19 -19
  238. package/markdown/markdown-tokens.scss +3 -114
  239. package/markdown/markdown.component.d.ts +17 -10
  240. package/markdown/markdown.module.d.ts +1 -4
  241. package/markdown/markdown.service.d.ts +4 -1
  242. package/markdown/markdown.values.d.ts +4 -0
  243. package/modal/_modal-theme.scss +2 -4
  244. package/modal/modal-tokens.scss +0 -16
  245. package/modal/modal.scss +0 -3
  246. package/navbar/_navbar-item_horizontal.scss +0 -3
  247. package/navbar/_navbar-item_vertical.scss +0 -4
  248. package/navbar/navbar-brand.scss +0 -5
  249. package/navbar/navbar-tokens.scss +1 -3
  250. package/package.json +4 -5
  251. package/popover/_popover-theme.scss +2 -2
  252. package/popover/popover-tokens.scss +0 -17
  253. package/popover/popover.scss +1 -1
  254. package/prebuilt-themes/dark-theme.css +1 -1
  255. package/prebuilt-themes/light-theme.css +1 -1
  256. package/prebuilt-themes/theme.css +1 -1
  257. package/progress-bar/_progress-bar-theme.scss +2 -2
  258. package/progress-bar/progress-bar-tokens.scss +0 -16
  259. package/progress-spinner/_progress-spinner-theme.scss +2 -2
  260. package/progress-spinner/progress-spinner-tokens.scss +0 -16
  261. package/radio/_radio-theme.scss +4 -4
  262. package/radio/radio-tokens.scss +4 -31
  263. package/radio/radio.scss +2 -2
  264. package/risk-level/_risk-level-theme.scss +1 -5
  265. package/risk-level/risk-level-tokens.scss +0 -9
  266. package/schematics/ng-add/index.js +2 -4
  267. package/scrollbar/scrollbar-tokens.scss +0 -2
  268. package/select/_select-theme.scss +4 -4
  269. package/select/select-tokens.scss +1 -20
  270. package/select/select.scss +2 -2
  271. package/sidepanel/_sidepanel-theme.scss +2 -2
  272. package/sidepanel/sidepanel-tokens.scss +0 -16
  273. package/table/_table-theme.scss +2 -5
  274. package/table/table-tokens.scss +0 -16
  275. package/table/table.scss +0 -3
  276. package/tabs/_tabs-theme.scss +1 -1
  277. package/tabs/tab-nav-bar/tab-nav-bar.scss +0 -3
  278. package/tabs/tabs-tokens.scss +0 -9
  279. package/tags/_tag-theme.scss +2 -2
  280. package/tags/tag-input-tokens.scss +0 -9
  281. package/tags/tag-tokens.scss +0 -16
  282. package/textarea/_textarea-theme.scss +1 -4
  283. package/textarea/textarea-tokens.scss +0 -9
  284. package/textarea/textarea.scss +0 -3
  285. package/timepicker/timepicker.scss +0 -3
  286. package/timezone/_timezone-option-theme.scss +4 -8
  287. package/timezone/timezone-option-tokens.scss +0 -47
  288. package/timezone/timezone-option.component.scss +0 -3
  289. package/timezone/timezone-select.component.scss +0 -3
  290. package/toast/_toast-theme.scss +2 -6
  291. package/toast/toast-container.component.scss +0 -3
  292. package/toast/toast-tokens.scss +4 -17
  293. package/toast/toast.component.scss +1 -4
  294. package/toggle/_toggle-theme.scss +6 -9
  295. package/toggle/toggle-tokens.scss +0 -30
  296. package/toggle/toggle.scss +1 -4
  297. package/tooltip/_tooltip-theme.scss +2 -2
  298. package/tooltip/tooltip-tokens.scss +0 -16
  299. package/tooltip/tooltip.scss +0 -3
  300. package/tree/_tree-theme.scss +3 -6
  301. package/tree/toggle.scss +0 -3
  302. package/tree/tree-option.scss +8 -5
  303. package/tree/tree-tokens.scss +0 -16
  304. package/tree-select/_tree-select-theme.scss +1 -5
  305. package/tree-select/tree-select-tokens.scss +0 -14
  306. package/tree-select/tree-select.scss +0 -4
  307. package/core/option/optgroup-tokens.scss +0 -12
  308. package/core/option/option-action-tokens.scss +0 -5
  309. package/markdown/README.md +0 -0
  310. package/splitter/splitter-tokens.scss +0 -1
@@ -1,12 +1,6 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
1
  @use '../common/vendor-prefixes';
5
- @use '../tokens';
6
2
  @use './tokens' as *;
7
3
 
8
- $tokens: meta.module-variables(tokens) !default;
9
-
10
4
  %kbq-select-base {
11
5
  box-sizing: border-box;
12
6
 
@@ -40,37 +34,31 @@ $tokens: meta.module-variables(tokens) !default;
40
34
 
41
35
  cursor: pointer;
42
36
 
43
- height: kbq-difference-series-css-variables(
44
- [form-field-size-height,
45
- calc(var(--kbq-form-field-size-border-width) * 2)]
46
- );
37
+ height: calc(var(--kbq-form-field-size-height, var(--kbq-size-3xl)) - calc(var(--kbq-size-border-width) * 2));
47
38
  }
48
39
 
49
40
  .kbq-select__trigger.kbq-select__trigger_single,
50
41
  .kbq-select__trigger.kbq-select__trigger_multiple.kbq-select__trigger_empty {
51
42
  & .kbq-select__matcher {
52
- padding: kbq-difference-series-css-variables(
53
- [select-size-single-padding-vertical,
54
- form-field-size-border-width]
43
+ padding: calc(
44
+ var(--kbq-select-size-single-padding-vertical, var(--kbq-size-xs)) - var(--kbq-size-border-width)
55
45
  )
56
- kbq-difference-series-css-variables([select-size-single-padding-right, form-field-size-border-width])
57
- kbq-difference-series-css-variables([select-size-single-padding-vertical, form-field-size-border-width])
58
- kbq-difference-series-css-variables([select-size-single-padding-left, form-field-size-border-width]);
46
+ calc(var(--kbq-select-size-single-padding-right, var(--kbq-size-xxs)) - var(--kbq-size-border-width))
47
+ calc(var(--kbq-select-size-single-padding-vertical, var(--kbq-size-xs)) - var(--kbq-size-border-width))
48
+ calc(var(--kbq-select-size-single-padding-left, var(--kbq-size-m)) - var(--kbq-size-border-width));
59
49
  }
60
50
  }
61
51
 
62
52
  .kbq-select__trigger.kbq-select__trigger_multiple:not(.kbq-select__trigger_empty) {
63
53
  & .kbq-select__matcher {
64
- padding: kbq-difference-series-css-variables(
65
- [select-size-multiple-padding-vertical,
66
- form-field-size-border-width]
54
+ padding: calc(
55
+ var(--kbq-select-size-multiple-padding-vertical, var(--kbq-size-xxs)) - var(--kbq-size-border-width)
67
56
  )
68
- kbq-difference-series-css-variables([select-size-multiple-padding-right, form-field-size-border-width])
69
- kbq-difference-series-css-variables(
70
- [select-size-multiple-padding-vertical,
71
- form-field-size-border-width]
57
+ calc(var(--kbq-select-size-multiple-padding-right, var(--kbq-size-xxs)) - var(--kbq-size-border-width))
58
+ calc(
59
+ var(--kbq-select-size-multiple-padding-vertical, var(--kbq-size-xxs)) - var(--kbq-size-border-width)
72
60
  )
73
- kbq-difference-series-css-variables([select-size-multiple-padding-left, form-field-size-border-width]);
61
+ calc(var(--kbq-select-size-multiple-padding-left, var(--kbq-size-xxs)) - var(--kbq-size-border-width));
74
62
 
75
63
  .kbq-select__match-container {
76
64
  display: flex;
@@ -81,19 +69,21 @@ $tokens: meta.module-variables(tokens) !default;
81
69
  flex-wrap: wrap;
82
70
  overflow: hidden;
83
71
 
84
- height: kbq-difference-series-css-variables(
85
- [form-field-size-height,
86
- calc(var(--kbq-select-size-multiple-padding-vertical) * 2)]
72
+ height: calc(
73
+ var(--kbq-form-field-size-height, var(--kbq-size-3xl)) - calc(
74
+ var(--kbq-select-size-multiple-padding-vertical, var(--kbq-size-xxs)) * 2
75
+ )
87
76
  );
88
77
 
89
- max-height: kbq-difference-series-css-variables(
90
- [form-field-size-height,
91
- calc(var(--kbq-select-size-multiple-padding-vertical) * 2)]
78
+ max-height: calc(
79
+ var(--kbq-form-field-size-height, var(--kbq-size-3xl)) - calc(
80
+ var(--kbq-select-size-multiple-padding-vertical, var(--kbq-size-xxs)) * 2
81
+ )
92
82
  );
93
83
 
94
- gap: var(--kbq-select-size-multiple-content-gap);
84
+ gap: var(--kbq-select-size-multiple-content-gap, var(--kbq-size-xxs));
95
85
 
96
- margin-right: var(--kbq-select-size-multiple-content-gap);
86
+ margin-right: var(--kbq-select-size-multiple-content-gap, var(--kbq-size-xxs));
97
87
  }
98
88
  }
99
89
  }
@@ -108,7 +98,7 @@ $tokens: meta.module-variables(tokens) !default;
108
98
  flex: 0 0 70px;
109
99
  align-self: center;
110
100
  padding-left: 4px;
111
- padding-right: var(--kbq-select-size-multiple-content-gap);
101
+ padding-right: var(--kbq-select-size-multiple-content-gap, var(--kbq-size-xxs));
112
102
 
113
103
  text-align: right;
114
104
  }
@@ -146,7 +136,7 @@ $tokens: meta.module-variables(tokens) !default;
146
136
 
147
137
  overflow: hidden;
148
138
 
149
- border-radius: var(--kbq-select-panel-size-border-radius);
139
+ border-radius: var(--kbq-select-panel-size-border-radius, var(--kbq-size-border-radius));
150
140
 
151
141
  // Override optgroup and option to scale based on font-size of the trigger.
152
142
  .kbq-optgroup-label,
@@ -163,15 +153,15 @@ $tokens: meta.module-variables(tokens) !default;
163
153
  position: relative;
164
154
 
165
155
  max-width: 100%;
166
- height: var(--kbq-option-size-height);
156
+ height: var(--kbq-option-size-height, var(--kbq-size-3xl));
167
157
 
168
158
  cursor: default;
169
159
  outline: none;
170
160
 
171
- padding-left: var(--kbq-option-size-horizontal-padding);
172
- padding-right: var(--kbq-option-size-horizontal-padding);
161
+ padding-left: var(--kbq-option-size-horizontal-padding, var(--kbq-size-m));
162
+ padding-right: var(--kbq-option-size-horizontal-padding, var(--kbq-size-m));
173
163
 
174
- border: var(--kbq-option-size-border-width) solid transparent;
164
+ border: var(--kbq-option-size-border-width, var(--kbq-size-3xs)) solid transparent;
175
165
  }
176
166
 
177
167
  .kbq-select__search-container {
@@ -183,7 +173,7 @@ $tokens: meta.module-variables(tokens) !default;
183
173
  }
184
174
 
185
175
  %kbq-select-content {
186
- max-height: var(--kbq-select-panel-size-max-height);
176
+ max-height: var(--kbq-select-panel-size-max-height, 256px);
187
177
  padding: 4px 0;
188
178
  overflow: hidden auto;
189
179
  }
@@ -1,7 +1,5 @@
1
1
  @use 'sass:map';
2
2
  @use 'sass:meta';
3
- @use 'sass:string';
4
- @use 'sass:list';
5
3
 
6
4
  @use '../tokens';
7
5
 
@@ -1,8 +1,5 @@
1
1
  /* stylelint-disable selector-pseudo-class-no-unknown */
2
2
 
3
- @use 'sass:meta';
4
- @use 'sass:map';
5
-
6
3
  @use '../common/tokens' as *;
7
4
  @use '../functions/string' as *;
8
5
 
@@ -42,7 +42,7 @@
42
42
  }
43
43
 
44
44
  // Mixin that renders all of the core styles that depend on the theme.
45
- /* stylelint-disable no-unknown-custom-properties */
45
+
46
46
  @mixin kbq-core-theme($theme: null) {
47
47
  .kbq-app-background {
48
48
  background: var(--kbq-background-bg);
@@ -1,5 +1,3 @@
1
- /* stylelint-disable no-unknown-custom-properties */
2
-
3
1
  .kbq-scrollbar {
4
2
  --kbq-scrollbar-size-track-dimension: var(--kbq-size-l);
5
3
  --kbq-scrollbar-size-track-padding-vertical: var(--kbq-size-3xs);
@@ -1,6 +1,3 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
1
  @use '../../styles/common/rtl';
5
2
 
6
3
  @use '../common/tokens' as *;
@@ -1,8 +1,3 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
- @use '../core/styles/theming/theming';
5
- @use '../core/styles/typography/typography-utils' as *;
6
1
  @use '../core/styles/common/tokens' as *;
7
2
 
8
3
  @mixin kbq-datepicker-theme() {
@@ -54,10 +49,10 @@
54
49
 
55
50
  @mixin kbq-datepicker-typography() {
56
51
  .kbq-calendar {
57
- @include kbq-typography-css-variables(datepicker, text);
52
+ @include kbq-typography-level-to-styles_css-variables(typography, text-normal);
58
53
  }
59
54
 
60
55
  .kbq-calendar__table-header th {
61
- @include kbq-typography-css-variables(datepicker, text);
56
+ @include kbq-typography-level-to-styles_css-variables(typography, text-normal);
62
57
  }
63
58
  }
@@ -1,11 +1,3 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
- @use '../core/styles/tokens';
5
- @use '../core/styles/common/tokens' as *;
6
-
7
- $tokens: meta.module-variables(tokens) !default;
8
-
9
1
  .kbq-calendar__body-cell {
10
2
  position: relative;
11
3
  height: 0;
@@ -1,11 +1,6 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
1
  @use '../core/styles/tokens';
5
2
  @use '../core/styles/common/tokens' as *;
6
3
 
7
- $tokens: meta.module-variables(tokens) !default;
8
-
9
4
  .kbq-calendar-header {
10
5
  display: flex;
11
6
  flex-direction: row;
@@ -1,8 +1,3 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
- @use '../core/styles/common/tokens' as *;
5
-
6
1
  .kbq-calendar {
7
2
  display: block;
8
3
  }
@@ -1,8 +1,3 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
- @use '../core/styles/common/tokens' as *;
5
-
6
1
  @use './datepicker-theme' as *;
7
2
 
8
3
  $kbq-datepicker-non-touch-calendar-cell-size: 40px;
@@ -1,6 +1,3 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
1
  .kbq-form-field-type-datepicker {
5
2
  width: auto;
6
3
  }
@@ -1,11 +1,6 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
1
  @use '../core/styles/tokens';
5
2
  @use '../core/styles/common/tokens' as *;
6
3
 
7
- $tokens: meta.module-variables(tokens) !default;
8
-
9
4
  .kbq-datepicker-toggle:focus {
10
5
  outline: 0;
11
6
  }
@@ -1,5 +1,3 @@
1
- /* stylelint-disable no-unknown-custom-properties */
2
-
3
1
  .kbq-datepicker__content {
4
2
  --kbq-datepicker-size-container-padding-vertical: var(--kbq-size-m);
5
3
  --kbq-datepicker-size-container-border-radius: var(--kbq-size-s);
@@ -11,13 +9,6 @@
11
9
  --kbq-datepicker-size-grid-cell-padding-horizontal: var(--kbq-size-s);
12
10
  --kbq-datepicker-size-grid-cell-padding-vertical: var(--kbq-size-s);
13
11
  --kbq-datepicker-size-grid-cell-border-radius: var(--kbq-size-s);
14
- --kbq-datepicker-font-text-font-size: var(--kbq-typography-text-normal-font-size);
15
- --kbq-datepicker-font-text-line-height: var(--kbq-typography-text-normal-line-height);
16
- --kbq-datepicker-font-text-letter-spacing: var(--kbq-typography-text-normal-letter-spacing);
17
- --kbq-datepicker-font-text-font-weight: var(--kbq-typography-text-normal-font-weight);
18
- --kbq-datepicker-font-text-font-family: var(--kbq-typography-text-normal-font-family);
19
- --kbq-datepicker-font-text-text-transform: var(--kbq-typography-text-normal-text-transform);
20
- --kbq-datepicker-font-text-font-feature-settings: var(--kbq-typography-text-normal-font-feature-settings);
21
12
  }
22
13
 
23
14
  :where(.kbq-light, .theme-light, .kbq-theme-light) {
@@ -1,7 +1,3 @@
1
- @use 'sass:map';
2
-
3
- @use '../core/styles/common/tokens' as *;
4
-
5
1
  @mixin kbq-divider-theme() {
6
2
  .kbq-divider {
7
3
  background: var(--kbq-divider-color);
@@ -1,5 +1,3 @@
1
- /* stylelint-disable no-unknown-custom-properties */
2
-
3
1
  .kbq-divider {
4
2
  --kbq-divider-size-horizontal-width: 1px;
5
3
  --kbq-divider-size-horizontal-margin-vertical: var(--kbq-size-xxs);
@@ -1,8 +1,3 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
- @use '../core/styles/common/tokens' as *;
5
-
6
1
  @use './divider-theme' as *;
7
2
 
8
3
  .kbq-divider {
package/dl/_dl-theme.scss CHANGED
@@ -1,7 +1,3 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
- @use '../core/styles/typography/typography-utils' as *;
5
1
  @use '../core/styles/common/tokens' as *;
6
2
 
7
3
  @mixin kbq-dl-theme() {
@@ -17,11 +13,11 @@
17
13
  @mixin kbq-dl-typography() {
18
14
  .kbq-dl {
19
15
  & .kbq-dt {
20
- @include kbq-typography-css-variables(description-list, term);
16
+ @include kbq-typography-level-to-styles_css-variables(typography, text-normal);
21
17
  }
22
18
 
23
19
  & .kbq-dd {
24
- @include kbq-typography-css-variables(description-list, description);
20
+ @include kbq-typography-level-to-styles_css-variables(typography, text-normal);
25
21
  }
26
22
  }
27
23
  }
package/dl/dl-tokens.scss CHANGED
@@ -1,26 +1,8 @@
1
- /* stylelint-disable no-unknown-custom-properties */
2
-
3
1
  .kbq-dl {
4
2
  --kbq-description-list-size-horizontal-content-gap-horizontal: var(--kbq-size-l);
5
3
  --kbq-description-list-size-horizontal-gap-vertical: var(--kbq-size-l);
6
4
  --kbq-description-list-size-vertical-content-gap-vertical: var(--kbq-size-3xs);
7
5
  --kbq-description-list-size-vertical-gap-vertical: var(--kbq-size-m);
8
- --kbq-description-list-font-term-font-size: var(--kbq-typography-text-normal-font-size);
9
- --kbq-description-list-font-term-line-height: var(--kbq-typography-text-normal-line-height);
10
- --kbq-description-list-font-term-letter-spacing: var(--kbq-typography-text-normal-letter-spacing);
11
- --kbq-description-list-font-term-font-weight: var(--kbq-typography-text-normal-font-weight);
12
- --kbq-description-list-font-term-font-family: var(--kbq-typography-text-normal-font-family);
13
- --kbq-description-list-font-term-text-transform: var(--kbq-typography-text-normal-text-transform);
14
- --kbq-description-list-font-term-font-feature-settings: var(--kbq-typography-text-normal-font-feature-settings);
15
- --kbq-description-list-font-description-font-size: var(--kbq-typography-text-normal-font-size);
16
- --kbq-description-list-font-description-line-height: var(--kbq-typography-text-normal-line-height);
17
- --kbq-description-list-font-description-letter-spacing: var(--kbq-typography-text-normal-letter-spacing);
18
- --kbq-description-list-font-description-font-weight: var(--kbq-typography-text-normal-font-weight);
19
- --kbq-description-list-font-description-font-family: var(--kbq-typography-text-normal-font-family);
20
- --kbq-description-list-font-description-text-transform: var(--kbq-typography-text-normal-text-transform);
21
- --kbq-description-list-font-description-font-feature-settings: var(
22
- --kbq-typography-text-normal-font-feature-settings
23
- );
24
6
  }
25
7
 
26
8
  :where(.kbq-light, .theme-light, .kbq-theme-light) {
package/dl/dl.scss CHANGED
@@ -1,8 +1,3 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
- @use '../core/styles/common/tokens' as *;
5
-
6
1
  @use './dl-theme' as *;
7
2
 
8
3
  .kbq-dl {
@@ -1,8 +1,4 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
1
  @use '../core/styles/theming/theming' as *;
5
- @use '../core/styles/typography/typography-utils' as *;
6
2
  @use '../core/styles/common/tokens' as *;
7
3
 
8
4
  @mixin kbq-dropdown-item-state($style-name) {
@@ -59,18 +55,18 @@
59
55
  @mixin kbq-dropdown-typography() {
60
56
  .kbq-dropdown-item,
61
57
  .kbq-dropdown__content {
62
- @include kbq-typography-css-variables(list, text);
58
+ @include kbq-typography-level-to-styles_css-variables(typography, text-normal);
63
59
 
64
60
  .kbq-dropdown-item__caption {
65
- @include kbq-typography-css-variables(list, caption);
61
+ @include kbq-typography-level-to-styles_css-variables(typography, text-compact);
66
62
  }
67
63
  }
68
64
 
69
65
  .kbq-dropdown__group-header {
70
- @include kbq-typography-css-variables(list, header);
66
+ @include kbq-typography-level-to-styles_css-variables(typography, big-strong);
71
67
 
72
68
  &.kbq-dropdown__group-header_small {
73
- @include kbq-typography-css-variables(list, subheading);
69
+ @include kbq-typography-level-to-styles_css-variables(typography, caps-compact-strong);
74
70
  }
75
71
  }
76
72
  }
@@ -1,10 +1,5 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
1
  @use '../core/styles/common';
5
2
 
6
- @use '../core/styles/common/tokens' as *;
7
-
8
3
  .kbq-dropdown-item {
9
4
  width: 100%;
10
5
 
@@ -1,105 +1,16 @@
1
- /* stylelint-disable no-unknown-custom-properties */
2
-
3
1
  .kbq-dropdown__panel {
4
2
  --kbq-dropdown-size-container-width-min: var(--kbq-size-7xl);
5
3
  --kbq-dropdown-size-container-width-max: 640px;
6
4
  --kbq-dropdown-size-container-padding-vertical: var(--kbq-size-xxs);
7
5
  --kbq-dropdown-size-container-border-radius: var(--kbq-size-s);
8
- --kbq-list-size-container-padding-left: var(--kbq-size-m);
9
- --kbq-list-size-container-padding-right: var(--kbq-size-m);
10
- --kbq-list-size-container-padding-vertical: var(--kbq-size-xs);
11
- --kbq-list-size-container-content-gap-horizontal: var(--kbq-size-s);
12
- --kbq-list-size-container-content-gap-vertical: var(--kbq-size-3xs);
13
- --kbq-list-size-container-focus-outline-width: var(--kbq-size-3xs);
14
- --kbq-list-size-text-padding-vertical: 0;
15
- --kbq-list-size-header-padding-top: var(--kbq-size-s);
16
- --kbq-list-size-header-padding-bottom: var(--kbq-size-xxs);
17
- --kbq-list-size-header-padding-horizontal: var(--kbq-size-m);
18
- --kbq-list-size-subheading-padding-top: var(--kbq-size-m);
19
- --kbq-list-size-subheading-padding-bottom: var(--kbq-size-xxs);
20
- --kbq-list-size-subheading-padding-horizontal: var(--kbq-size-m);
21
- --kbq-list-font-text-font-size: var(--kbq-typography-text-normal-font-size);
22
- --kbq-list-font-text-line-height: var(--kbq-typography-text-normal-line-height);
23
- --kbq-list-font-text-letter-spacing: var(--kbq-typography-text-normal-letter-spacing);
24
- --kbq-list-font-text-font-weight: var(--kbq-typography-text-normal-font-weight);
25
- --kbq-list-font-text-font-family: var(--kbq-typography-text-normal-font-family);
26
- --kbq-list-font-text-text-transform: var(--kbq-typography-text-normal-text-transform);
27
- --kbq-list-font-text-font-feature-settings: var(--kbq-typography-text-normal-font-feature-settings);
28
- --kbq-list-font-caption-font-size: var(--kbq-typography-text-compact-font-size);
29
- --kbq-list-font-caption-line-height: var(--kbq-typography-text-compact-line-height);
30
- --kbq-list-font-caption-letter-spacing: var(--kbq-typography-text-compact-letter-spacing);
31
- --kbq-list-font-caption-font-weight: var(--kbq-typography-text-compact-font-weight);
32
- --kbq-list-font-caption-font-family: var(--kbq-typography-text-compact-font-family);
33
- --kbq-list-font-caption-text-transform: var(--kbq-typography-text-compact-text-transform);
34
- --kbq-list-font-caption-font-feature-settings: var(--kbq-typography-text-compact-font-feature-settings);
35
- --kbq-list-font-header-font-size: var(--kbq-typography-text-big-strong-font-size);
36
- --kbq-list-font-header-line-height: var(--kbq-typography-text-big-strong-line-height);
37
- --kbq-list-font-header-letter-spacing: var(--kbq-typography-text-big-strong-letter-spacing);
38
- --kbq-list-font-header-font-weight: var(--kbq-typography-text-big-strong-font-weight);
39
- --kbq-list-font-header-font-family: var(--kbq-typography-text-big-strong-font-family);
40
- --kbq-list-font-header-text-transform: var(--kbq-typography-text-big-strong-text-transform);
41
- --kbq-list-font-header-font-feature-settings: var(--kbq-typography-text-big-strong-font-feature-settings);
42
- --kbq-list-font-subheading-font-size: var(--kbq-typography-caps-compact-strong-font-size);
43
- --kbq-list-font-subheading-line-height: var(--kbq-typography-caps-compact-strong-line-height);
44
- --kbq-list-font-subheading-letter-spacing: var(--kbq-typography-caps-compact-strong-letter-spacing);
45
- --kbq-list-font-subheading-font-weight: var(--kbq-typography-caps-compact-strong-font-weight);
46
- --kbq-list-font-subheading-font-family: var(--kbq-typography-caps-compact-strong-font-family);
47
- --kbq-list-font-subheading-text-transform: var(--kbq-typography-caps-compact-strong-text-transform);
48
- --kbq-list-font-subheading-font-feature-settings: var(--kbq-typography-caps-compact-strong-font-feature-settings);
49
6
  }
50
7
 
51
8
  :where(.kbq-light, .theme-light, .kbq-theme-light) {
52
9
  --kbq-dropdown-container-background: var(--kbq-background-card);
53
10
  --kbq-dropdown-container-shadow: var(--kbq-shadow-popup);
54
- --kbq-list-default-container-background: transparent;
55
- --kbq-list-default-text-color: var(--kbq-foreground-contrast);
56
- --kbq-list-default-icon-color: var(--kbq-icon-contrast);
57
- --kbq-list-default-icon-button-color: var(--kbq-icon-contrast-fade);
58
- --kbq-list-default-caption-color: var(--kbq-foreground-contrast-secondary);
59
- --kbq-list-states-hover-container-background: var(--kbq-states-background-transparent-hover);
60
- --kbq-list-states-hover-text-color: var(--kbq-foreground-contrast);
61
- --kbq-list-states-hover-icon-color: var(--kbq-icon-contrast);
62
- --kbq-list-states-hover-icon-button-color: var(--kbq-icon-contrast-fade);
63
- --kbq-list-states-selected-container-background: var(--kbq-background-theme-less);
64
- --kbq-list-states-selected-text-color: var(--kbq-foreground-contrast);
65
- --kbq-list-states-selected-icon-color: var(--kbq-icon-contrast);
66
- --kbq-list-states-selected-icon-button-color: var(--kbq-icon-contrast-fade);
67
- --kbq-list-states-selected-hover-container-background: var(--kbq-states-background-theme-less-hover);
68
- --kbq-list-states-selected-hover-text-color: var(--kbq-foreground-contrast);
69
- --kbq-list-states-selected-hover-icon-color: var(--kbq-icon-contrast);
70
- --kbq-list-states-selected-hover-icon-button-color: var(--kbq-icon-contrast-fade);
71
- --kbq-list-states-focused-focus-outline-color: var(--kbq-states-line-focus-theme);
72
- --kbq-list-states-disabled-container-background: transparent;
73
- --kbq-list-states-disabled-text-color: var(--kbq-states-foreground-disabled);
74
- --kbq-list-states-disabled-icon-color: var(--kbq-states-icon-disabled);
75
- --kbq-list-states-disabled-icon-button-color: var(--kbq-states-icon-disabled);
76
- --kbq-list-states-disabled-caption-color: var(--kbq-states-foreground-disabled);
77
11
  }
78
12
 
79
13
  :where(.kbq-dark, .theme-dark, .kbq-theme-dark) {
80
14
  --kbq-dropdown-container-background: var(--kbq-background-card);
81
- --kbq-dropdown-container-box-shadow: var(--kbq-shadow-popup);
82
- --kbq-list-default-container-background: transparent;
83
- --kbq-list-default-text-color: var(--kbq-foreground-contrast);
84
- --kbq-list-default-icon-color: var(--kbq-icon-contrast);
85
- --kbq-list-default-icon-button-color: var(--kbq-icon-contrast-fade);
86
- --kbq-list-default-caption-color: var(--kbq-foreground-contrast-secondary);
87
- --kbq-list-states-hover-container-background: var(--kbq-states-background-transparent-hover);
88
- --kbq-list-states-hover-text-color: var(--kbq-foreground-contrast);
89
- --kbq-list-states-hover-icon-color: var(--kbq-icon-contrast);
90
- --kbq-list-states-hover-icon-button-color: var(--kbq-icon-contrast-fade);
91
- --kbq-list-states-selected-container-background: var(--kbq-background-theme-less);
92
- --kbq-list-states-selected-text-color: var(--kbq-foreground-contrast);
93
- --kbq-list-states-selected-icon-color: var(--kbq-icon-contrast);
94
- --kbq-list-states-selected-icon-button-color: var(--kbq-icon-contrast-fade);
95
- --kbq-list-states-selected-hover-container-background: var(--kbq-states-background-theme-less-hover);
96
- --kbq-list-states-selected-hover-text-color: var(--kbq-foreground-contrast);
97
- --kbq-list-states-selected-hover-icon-color: var(--kbq-icon-contrast);
98
- --kbq-list-states-selected-hover-icon-button-color: var(--kbq-icon-contrast-fade);
99
- --kbq-list-states-focused-focus-outline-color: var(--kbq-states-line-focus-theme);
100
- --kbq-list-states-disabled-container-background: transparent;
101
- --kbq-list-states-disabled-text-color: var(--kbq-states-foreground-disabled);
102
- --kbq-list-states-disabled-icon-color: var(--kbq-states-icon-disabled);
103
- --kbq-list-states-disabled-icon-button-color: var(--kbq-states-icon-disabled);
104
- --kbq-list-states-disabled-caption-color: var(--kbq-states-foreground-disabled);
15
+ --kbq-dropdown-container-shadow: var(--kbq-shadow-popup);
105
16
  }
@@ -1,8 +1,3 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
- @use '../core/styles/common/tokens' as *;
5
-
6
1
  @use './dropdown-theme' as *;
7
2
 
8
3
  .kbq-dropdown-trigger.kbq-button-icon_right.kbq-button-icon_left {
@@ -1,6 +1,3 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
1
  @use '../core/styles/common/tokens' as *;
5
2
 
6
3
  @mixin kbq-empty-state-theme() {
@@ -33,21 +30,21 @@
33
30
 
34
31
  .kbq-empty-state_normal {
35
32
  .kbq-empty-state-title {
36
- @include kbq-typography-css-variables(empty-state, normal-title);
33
+ @include kbq-typography-level-to-styles_css-variables(typography, text-big-strong);
37
34
  }
38
35
 
39
36
  .kbq-empty-state-text {
40
- @include kbq-typography-css-variables(empty-state, normal-text);
37
+ @include kbq-typography-level-to-styles_css-variables(typography, text-normal);
41
38
  }
42
39
  }
43
40
 
44
41
  .kbq-empty-state_big {
45
42
  .kbq-empty-state-title {
46
- @include kbq-typography-css-variables(empty-state, big-title);
43
+ @include kbq-typography-level-to-styles_css-variables(typography, headline);
47
44
  }
48
45
 
49
46
  .kbq-empty-state-text {
50
- @include kbq-typography-css-variables(empty-state, big-text);
47
+ @include kbq-typography-level-to-styles_css-variables(typography, text-normal);
51
48
  }
52
49
  }
53
50
  }
@@ -1,5 +1,3 @@
1
- /* stylelint-disable no-unknown-custom-properties */
2
-
3
1
  .kbq-empty-state {
4
2
  --kbq-empty-state-size-big-max-width: 480px;
5
3
  --kbq-empty-state-size-big-padding-horizontal: var(--kbq-size-6xl);
@@ -17,36 +15,6 @@
17
15
  --kbq-empty-state-size-normal-image-margin-bottom: var(--kbq-size-xl);
18
16
  --kbq-empty-state-size-normal-image-addon-height: var(--kbq-size-xxl);
19
17
  --kbq-empty-state-size-normal-title-margin-bottom: var(--kbq-size-xxs);
20
- --kbq-empty-state-font-big-title-font-size: var(--kbq-typography-headline-font-size);
21
- --kbq-empty-state-font-big-title-line-height: var(--kbq-typography-headline-line-height);
22
- --kbq-empty-state-font-big-title-letter-spacing: var(--kbq-typography-headline-letter-spacing);
23
- --kbq-empty-state-font-big-title-font-weight: var(--kbq-typography-headline-font-weight);
24
- --kbq-empty-state-font-big-title-font-family: var(--kbq-typography-headline-font-family);
25
- --kbq-empty-state-font-big-title-text-transform: var(--kbq-typography-headline-text-transform);
26
- --kbq-empty-state-font-big-title-font-feature-settings: var(--kbq-typography-headline-font-feature-settings);
27
- --kbq-empty-state-font-big-text-font-size: var(--kbq-typography-text-normal-font-size);
28
- --kbq-empty-state-font-big-text-line-height: var(--kbq-typography-text-normal-line-height);
29
- --kbq-empty-state-font-big-text-letter-spacing: var(--kbq-typography-text-normal-letter-spacing);
30
- --kbq-empty-state-font-big-text-font-weight: var(--kbq-typography-text-normal-font-weight);
31
- --kbq-empty-state-font-big-text-font-family: var(--kbq-typography-text-normal-font-family);
32
- --kbq-empty-state-font-big-text-text-transform: var(--kbq-typography-text-normal-text-transform);
33
- --kbq-empty-state-font-big-text-font-feature-settings: var(--kbq-typography-text-normal-font-feature-settings);
34
- --kbq-empty-state-font-normal-title-font-size: var(--kbq-typography-text-big-strong-font-size);
35
- --kbq-empty-state-font-normal-title-line-height: var(--kbq-typography-text-big-strong-line-height);
36
- --kbq-empty-state-font-normal-title-letter-spacing: var(--kbq-typography-text-big-strong-letter-spacing);
37
- --kbq-empty-state-font-normal-title-font-weight: var(--kbq-typography-text-big-strong-font-weight);
38
- --kbq-empty-state-font-normal-title-font-family: var(--kbq-typography-text-big-strong-font-family);
39
- --kbq-empty-state-font-normal-title-text-transform: var(--kbq-typography-text-big-strong-text-transform);
40
- --kbq-empty-state-font-normal-title-font-feature-settings: var(
41
- --kbq-typography-text-big-strong-font-feature-settings
42
- );
43
- --kbq-empty-state-font-normal-text-font-size: var(--kbq-typography-text-normal-font-size);
44
- --kbq-empty-state-font-normal-text-line-height: var(--kbq-typography-text-normal-line-height);
45
- --kbq-empty-state-font-normal-text-letter-spacing: var(--kbq-typography-text-normal-letter-spacing);
46
- --kbq-empty-state-font-normal-text-font-weight: var(--kbq-typography-text-normal-font-weight);
47
- --kbq-empty-state-font-normal-text-font-family: var(--kbq-typography-text-normal-font-family);
48
- --kbq-empty-state-font-normal-text-text-transform: var(--kbq-typography-text-normal-text-transform);
49
- --kbq-empty-state-font-normal-text-font-feature-settings: var(--kbq-typography-text-normal-font-feature-settings);
50
18
  }
51
19
 
52
20
  :where(.kbq-light, .theme-light, .kbq-theme-light) {
@@ -1,7 +1,3 @@
1
- @use 'sass:meta';
2
- @use 'sass:map';
3
-
4
- @use '../core/styles/tokens';
5
1
  @use '../core/styles/common/tokens' as *;
6
2
 
7
3
  @use './empty-state-theme' as *;