@ptsecurity/mosaic 15.4.1 → 15.6.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 (333) hide show
  1. package/_theming.scss +16 -12
  2. package/_visual.scss +4 -4
  3. package/button/_button-theme.scss +2 -5
  4. package/button-toggle/_button-toggle-theme.scss +2 -5
  5. package/checkbox/_checkbox-theme.scss +2 -5
  6. package/code-block/_code-block-theme.scss +2 -6
  7. package/core/forms/_forms-theme.scss +2 -4
  8. package/core/option/_optgroup-theme.scss +2 -4
  9. package/core/option/_option-theme.scss +2 -5
  10. package/core/styles/theming/_alerts.scss +45 -43
  11. package/core/styles/theming/_badges.scss +29 -25
  12. package/core/styles/theming/_components-theming.scss +1 -1
  13. package/core/styles/theming/_scrollbars.scss +30 -31
  14. package/core/styles/theming/_theming.scss +6 -2
  15. package/core/styles/typography/_typography.scss +3 -3
  16. package/datepicker/_datepicker-theme.scss +2 -5
  17. package/dl/_dl-theme.scss +2 -5
  18. package/dropdown/_dropdown-theme.scss +2 -5
  19. package/esm2020/autocomplete/autocomplete-origin.directive.mjs +3 -3
  20. package/esm2020/autocomplete/autocomplete-trigger.directive.mjs +3 -3
  21. package/esm2020/autocomplete/autocomplete.component.mjs +3 -3
  22. package/esm2020/autocomplete/autocomplete.module.mjs +4 -4
  23. package/esm2020/button/button.component.mjs +6 -6
  24. package/esm2020/button/button.module.mjs +4 -4
  25. package/esm2020/button-toggle/button-toggle.component.mjs +6 -6
  26. package/esm2020/button-toggle/button-toggle.module.mjs +4 -4
  27. package/esm2020/card/card.component.mjs +3 -3
  28. package/esm2020/card/card.module.mjs +4 -4
  29. package/esm2020/checkbox/checkbox-module.mjs +4 -4
  30. package/esm2020/checkbox/checkbox-required-validator.mjs +3 -3
  31. package/esm2020/checkbox/checkbox.mjs +3 -3
  32. package/esm2020/code-block/actionbar.component.mjs +3 -3
  33. package/esm2020/code-block/code-block.component.mjs +3 -3
  34. package/esm2020/code-block/code-block.module.mjs +4 -4
  35. package/esm2020/core/common-behaviors/common-module.mjs +4 -4
  36. package/esm2020/core/error/error-options.mjs +6 -6
  37. package/esm2020/core/formatters/date/formatter.mjs +3 -3
  38. package/esm2020/core/formatters/date/formatter.pipe.mjs +39 -39
  39. package/esm2020/core/formatters/index.mjs +4 -4
  40. package/esm2020/core/formatters/number/formatter.mjs +4 -4
  41. package/esm2020/core/forms/forms-module.mjs +4 -4
  42. package/esm2020/core/forms/forms.directive.mjs +6 -6
  43. package/esm2020/core/highlight/highlight.pipe.mjs +3 -3
  44. package/esm2020/core/highlight/index.mjs +4 -4
  45. package/esm2020/core/line/line.mjs +7 -7
  46. package/esm2020/core/locales/locale-service.mjs +3 -3
  47. package/esm2020/core/locales/locale-service.module.mjs +4 -4
  48. package/esm2020/core/option/action.mjs +3 -3
  49. package/esm2020/core/option/optgroup.mjs +4 -4
  50. package/esm2020/core/option/option-module.mjs +4 -4
  51. package/esm2020/core/option/option.mjs +5 -5
  52. package/esm2020/core/overlay/overlay-position-map.mjs +2 -1
  53. package/esm2020/core/pop-up/pop-up-trigger.mjs +3 -3
  54. package/esm2020/core/pop-up/pop-up.mjs +3 -3
  55. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +3 -3
  56. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +4 -4
  57. package/esm2020/core/services/measure-scrollbar.service.mjs +3 -3
  58. package/esm2020/core/utils/data-size/data-size.pipe.mjs +7 -7
  59. package/esm2020/core/version.mjs +2 -2
  60. package/esm2020/datepicker/calendar-body.component.mjs +3 -3
  61. package/esm2020/datepicker/calendar-header.component.mjs +3 -3
  62. package/esm2020/datepicker/calendar.component.mjs +3 -3
  63. package/esm2020/datepicker/datepicker-input.directive.mjs +3 -3
  64. package/esm2020/datepicker/datepicker-intl.mjs +3 -3
  65. package/esm2020/datepicker/datepicker-module.mjs +4 -4
  66. package/esm2020/datepicker/datepicker-toggle.component.mjs +6 -6
  67. package/esm2020/datepicker/datepicker.component.mjs +6 -6
  68. package/esm2020/datepicker/month-view.component.mjs +3 -3
  69. package/esm2020/divider/divider.component.mjs +3 -3
  70. package/esm2020/divider/divider.module.mjs +4 -4
  71. package/esm2020/dl/dl.component.mjs +9 -9
  72. package/esm2020/dl/dl.module.mjs +4 -4
  73. package/esm2020/dropdown/dropdown-content.directive.mjs +3 -3
  74. package/esm2020/dropdown/dropdown-item.component.mjs +3 -3
  75. package/esm2020/dropdown/dropdown-trigger.directive.mjs +3 -3
  76. package/esm2020/dropdown/dropdown.component.mjs +3 -3
  77. package/esm2020/dropdown/dropdown.module.mjs +4 -4
  78. package/esm2020/ellipsis-center/ellipsis-center.directive.mjs +7 -7
  79. package/esm2020/file-upload/file-drop.mjs +3 -3
  80. package/esm2020/file-upload/file-upload.module.mjs +4 -4
  81. package/esm2020/file-upload/multiple-file-upload.component.mjs +3 -3
  82. package/esm2020/file-upload/single-file-upload.component.mjs +3 -3
  83. package/esm2020/form-field/cleaner.mjs +3 -3
  84. package/esm2020/form-field/form-field.mjs +13 -16
  85. package/esm2020/form-field/form-field.module.mjs +4 -4
  86. package/esm2020/form-field/hint.mjs +3 -3
  87. package/esm2020/form-field/password-hint.mjs +14 -6
  88. package/esm2020/form-field/prefix.mjs +3 -3
  89. package/esm2020/form-field/stepper.mjs +3 -3
  90. package/esm2020/form-field/suffix.mjs +3 -3
  91. package/esm2020/form-field/validate.directive.mjs +3 -3
  92. package/esm2020/icon/icon.component.mjs +6 -6
  93. package/esm2020/icon/icon.module.mjs +4 -4
  94. package/esm2020/input/input-number-validators.mjs +6 -6
  95. package/esm2020/input/input-number.mjs +3 -3
  96. package/esm2020/input/input-password.mjs +11 -7
  97. package/esm2020/input/input.mjs +6 -6
  98. package/esm2020/input/input.module.mjs +4 -4
  99. package/esm2020/link/link.component.mjs +3 -3
  100. package/esm2020/link/link.module.mjs +4 -4
  101. package/esm2020/list/list-selection.component.mjs +8 -8
  102. package/esm2020/list/list.component.mjs +7 -7
  103. package/esm2020/list/list.module.mjs +4 -4
  104. package/esm2020/loader-overlay/loader-overlay.component.mjs +12 -12
  105. package/esm2020/loader-overlay/loader-overlay.module.mjs +4 -4
  106. package/esm2020/markdown/markdown.component.mjs +3 -3
  107. package/esm2020/markdown/markdown.module.mjs +4 -4
  108. package/esm2020/markdown/markdown.service.mjs +3 -3
  109. package/esm2020/modal/css-unit.pipe.mjs +3 -3
  110. package/esm2020/modal/modal-control.service.mjs +3 -3
  111. package/esm2020/modal/modal.component.mjs +5 -5
  112. package/esm2020/modal/modal.directive.mjs +12 -12
  113. package/esm2020/modal/modal.module.mjs +10 -8
  114. package/esm2020/modal/modal.service.mjs +3 -3
  115. package/esm2020/navbar/navbar-item.component.mjs +43 -42
  116. package/esm2020/navbar/navbar.component.mjs +9 -9
  117. package/esm2020/navbar/navbar.module.mjs +4 -4
  118. package/esm2020/navbar/vertical-navbar.component.mjs +3 -3
  119. package/esm2020/popover/popover-confirm.component.mjs +6 -6
  120. package/esm2020/popover/popover.component.mjs +6 -6
  121. package/esm2020/popover/popover.module.mjs +4 -4
  122. package/esm2020/progress-bar/progress-bar.component.mjs +3 -3
  123. package/esm2020/progress-bar/progress-bar.module.mjs +4 -4
  124. package/esm2020/progress-spinner/progress-spinner.component.mjs +3 -3
  125. package/esm2020/progress-spinner/progress-spinner.module.mjs +4 -4
  126. package/esm2020/radio/radio.component.mjs +9 -8
  127. package/esm2020/radio/radio.module.mjs +4 -4
  128. package/esm2020/select/select-option.directive.mjs +3 -3
  129. package/esm2020/select/select.component.mjs +21 -21
  130. package/esm2020/select/select.module.mjs +4 -4
  131. package/esm2020/sidebar/sidebar.component.mjs +9 -9
  132. package/esm2020/sidebar/sidebar.module.mjs +4 -4
  133. package/esm2020/sidepanel/sidepanel-container.component.mjs +3 -3
  134. package/esm2020/sidepanel/sidepanel-directives.mjs +15 -15
  135. package/esm2020/sidepanel/sidepanel.module.mjs +13 -7
  136. package/esm2020/sidepanel/sidepanel.service.mjs +3 -3
  137. package/esm2020/splitter/splitter.component.mjs +12 -12
  138. package/esm2020/splitter/splitter.module.mjs +4 -4
  139. package/esm2020/table/table.component.mjs +3 -3
  140. package/esm2020/table/table.module.mjs +4 -4
  141. package/esm2020/tabs/paginated-tab-header.mjs +14 -5
  142. package/esm2020/tabs/tab-body.component.mjs +6 -6
  143. package/esm2020/tabs/tab-content.directive.mjs +3 -3
  144. package/esm2020/tabs/tab-group.component.mjs +18 -18
  145. package/esm2020/tabs/tab-header.component.mjs +3 -3
  146. package/esm2020/tabs/tab-label-wrapper.directive.mjs +3 -3
  147. package/esm2020/tabs/tab-label.directive.mjs +3 -3
  148. package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +6 -6
  149. package/esm2020/tabs/tab.component.mjs +3 -3
  150. package/esm2020/tabs/tabs.module.mjs +4 -4
  151. package/esm2020/tags/tag-default-options.mjs +1 -1
  152. package/esm2020/tags/tag-input.mjs +13 -11
  153. package/esm2020/tags/tag-list.component.mjs +12 -8
  154. package/esm2020/tags/tag.component.mjs +16 -16
  155. package/esm2020/tags/tag.module.mjs +4 -4
  156. package/esm2020/textarea/textarea.component.mjs +3 -3
  157. package/esm2020/textarea/textarea.module.mjs +4 -4
  158. package/esm2020/timepicker/timepicker.directive.mjs +3 -3
  159. package/esm2020/timepicker/timepicker.module.mjs +4 -4
  160. package/esm2020/timezone/cities-by-filter.pipe.mjs +3 -3
  161. package/esm2020/timezone/timezone-option.component.mjs +5 -5
  162. package/esm2020/timezone/timezone-option.directive.mjs +3 -3
  163. package/esm2020/timezone/timezone-select.component.mjs +8 -8
  164. package/esm2020/timezone/timezone.module.mjs +4 -4
  165. package/esm2020/timezone/utc-offset.pipe.mjs +3 -3
  166. package/esm2020/title/title.directive.mjs +3 -3
  167. package/esm2020/title/title.module.mjs +4 -4
  168. package/esm2020/toast/toast-container.component.mjs +3 -3
  169. package/esm2020/toast/toast.component.mjs +3 -3
  170. package/esm2020/toast/toast.module.mjs +4 -4
  171. package/esm2020/toast/toast.service.mjs +3 -3
  172. package/esm2020/toggle/toggle.component.mjs +3 -3
  173. package/esm2020/toggle/toggle.module.mjs +4 -4
  174. package/esm2020/tooltip/tooltip.component.mjs +12 -12
  175. package/esm2020/tooltip/tooltip.module.mjs +4 -4
  176. package/esm2020/tree/node.mjs +3 -3
  177. package/esm2020/tree/outlet.mjs +3 -3
  178. package/esm2020/tree/padding.directive.mjs +3 -3
  179. package/esm2020/tree/toggle.mjs +9 -9
  180. package/esm2020/tree/tree-base.mjs +6 -6
  181. package/esm2020/tree/tree-option.component.mjs +5 -4
  182. package/esm2020/tree/tree-selection.component.mjs +3 -3
  183. package/esm2020/tree/tree.mjs +3 -3
  184. package/esm2020/tree/tree.module.mjs +4 -4
  185. package/esm2020/tree-select/tree-select.component.mjs +11 -11
  186. package/esm2020/tree-select/tree-select.module.mjs +4 -4
  187. package/fesm2015/ptsecurity-mosaic-autocomplete.mjs +13 -13
  188. package/fesm2015/ptsecurity-mosaic-button-toggle.mjs +10 -10
  189. package/fesm2015/ptsecurity-mosaic-button.mjs +10 -10
  190. package/fesm2015/ptsecurity-mosaic-card.mjs +7 -7
  191. package/fesm2015/ptsecurity-mosaic-checkbox.mjs +10 -10
  192. package/fesm2015/ptsecurity-mosaic-code-block.mjs +10 -10
  193. package/fesm2015/ptsecurity-mosaic-core.mjs +132 -131
  194. package/fesm2015/ptsecurity-mosaic-core.mjs.map +1 -1
  195. package/fesm2015/ptsecurity-mosaic-datepicker.mjs +34 -34
  196. package/fesm2015/ptsecurity-mosaic-divider.mjs +7 -7
  197. package/fesm2015/ptsecurity-mosaic-dl.mjs +13 -13
  198. package/fesm2015/ptsecurity-mosaic-dropdown.mjs +16 -16
  199. package/fesm2015/ptsecurity-mosaic-ellipsis-center.mjs +7 -7
  200. package/fesm2015/ptsecurity-mosaic-file-upload.mjs +13 -13
  201. package/fesm2015/ptsecurity-mosaic-form-field.mjs +46 -42
  202. package/fesm2015/ptsecurity-mosaic-form-field.mjs.map +1 -1
  203. package/fesm2015/ptsecurity-mosaic-icon.mjs +10 -10
  204. package/fesm2015/ptsecurity-mosaic-input.mjs +29 -25
  205. package/fesm2015/ptsecurity-mosaic-input.mjs.map +1 -1
  206. package/fesm2015/ptsecurity-mosaic-link.mjs +7 -7
  207. package/fesm2015/ptsecurity-mosaic-list.mjs +19 -19
  208. package/fesm2015/ptsecurity-mosaic-loader-overlay.mjs +16 -16
  209. package/fesm2015/ptsecurity-mosaic-markdown.mjs +10 -10
  210. package/fesm2015/ptsecurity-mosaic-modal.mjs +34 -32
  211. package/fesm2015/ptsecurity-mosaic-modal.mjs.map +1 -1
  212. package/fesm2015/ptsecurity-mosaic-navbar.mjs +58 -57
  213. package/fesm2015/ptsecurity-mosaic-navbar.mjs.map +1 -1
  214. package/fesm2015/ptsecurity-mosaic-popover.mjs +16 -16
  215. package/fesm2015/ptsecurity-mosaic-progress-bar.mjs +7 -7
  216. package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs +7 -7
  217. package/fesm2015/ptsecurity-mosaic-radio.mjs +12 -11
  218. package/fesm2015/ptsecurity-mosaic-radio.mjs.map +1 -1
  219. package/fesm2015/ptsecurity-mosaic-select.mjs +27 -27
  220. package/fesm2015/ptsecurity-mosaic-select.mjs.map +1 -1
  221. package/fesm2015/ptsecurity-mosaic-sidebar.mjs +13 -13
  222. package/fesm2015/ptsecurity-mosaic-sidepanel.mjs +33 -27
  223. package/fesm2015/ptsecurity-mosaic-sidepanel.mjs.map +1 -1
  224. package/fesm2015/ptsecurity-mosaic-splitter.mjs +16 -16
  225. package/fesm2015/ptsecurity-mosaic-table.mjs +7 -7
  226. package/fesm2015/ptsecurity-mosaic-tabs.mjs +62 -53
  227. package/fesm2015/ptsecurity-mosaic-tabs.mjs.map +1 -1
  228. package/fesm2015/ptsecurity-mosaic-tags.mjs +42 -36
  229. package/fesm2015/ptsecurity-mosaic-tags.mjs.map +1 -1
  230. package/fesm2015/ptsecurity-mosaic-textarea.mjs +7 -7
  231. package/fesm2015/ptsecurity-mosaic-timepicker.mjs +7 -7
  232. package/fesm2015/ptsecurity-mosaic-timezone.mjs +26 -26
  233. package/fesm2015/ptsecurity-mosaic-timezone.mjs.map +1 -1
  234. package/fesm2015/ptsecurity-mosaic-title.mjs +7 -7
  235. package/fesm2015/ptsecurity-mosaic-toast.mjs +13 -13
  236. package/fesm2015/ptsecurity-mosaic-toggle.mjs +7 -7
  237. package/fesm2015/ptsecurity-mosaic-tooltip.mjs +16 -16
  238. package/fesm2015/ptsecurity-mosaic-tree-select.mjs +15 -15
  239. package/fesm2015/ptsecurity-mosaic-tree.mjs +38 -37
  240. package/fesm2015/ptsecurity-mosaic-tree.mjs.map +1 -1
  241. package/fesm2020/ptsecurity-mosaic-autocomplete.mjs +13 -13
  242. package/fesm2020/ptsecurity-mosaic-button-toggle.mjs +10 -10
  243. package/fesm2020/ptsecurity-mosaic-button.mjs +10 -10
  244. package/fesm2020/ptsecurity-mosaic-card.mjs +7 -7
  245. package/fesm2020/ptsecurity-mosaic-checkbox.mjs +10 -10
  246. package/fesm2020/ptsecurity-mosaic-code-block.mjs +10 -10
  247. package/fesm2020/ptsecurity-mosaic-core.mjs +132 -131
  248. package/fesm2020/ptsecurity-mosaic-core.mjs.map +1 -1
  249. package/fesm2020/ptsecurity-mosaic-datepicker.mjs +35 -34
  250. package/fesm2020/ptsecurity-mosaic-datepicker.mjs.map +1 -1
  251. package/fesm2020/ptsecurity-mosaic-divider.mjs +7 -7
  252. package/fesm2020/ptsecurity-mosaic-dl.mjs +13 -13
  253. package/fesm2020/ptsecurity-mosaic-dropdown.mjs +16 -16
  254. package/fesm2020/ptsecurity-mosaic-ellipsis-center.mjs +7 -7
  255. package/fesm2020/ptsecurity-mosaic-file-upload.mjs +13 -13
  256. package/fesm2020/ptsecurity-mosaic-form-field.mjs +46 -41
  257. package/fesm2020/ptsecurity-mosaic-form-field.mjs.map +1 -1
  258. package/fesm2020/ptsecurity-mosaic-icon.mjs +10 -10
  259. package/fesm2020/ptsecurity-mosaic-input.mjs +29 -25
  260. package/fesm2020/ptsecurity-mosaic-input.mjs.map +1 -1
  261. package/fesm2020/ptsecurity-mosaic-link.mjs +7 -7
  262. package/fesm2020/ptsecurity-mosaic-list.mjs +19 -19
  263. package/fesm2020/ptsecurity-mosaic-loader-overlay.mjs +16 -16
  264. package/fesm2020/ptsecurity-mosaic-markdown.mjs +10 -10
  265. package/fesm2020/ptsecurity-mosaic-modal.mjs +34 -32
  266. package/fesm2020/ptsecurity-mosaic-modal.mjs.map +1 -1
  267. package/fesm2020/ptsecurity-mosaic-navbar.mjs +58 -57
  268. package/fesm2020/ptsecurity-mosaic-navbar.mjs.map +1 -1
  269. package/fesm2020/ptsecurity-mosaic-popover.mjs +16 -16
  270. package/fesm2020/ptsecurity-mosaic-progress-bar.mjs +7 -7
  271. package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs +7 -7
  272. package/fesm2020/ptsecurity-mosaic-radio.mjs +12 -11
  273. package/fesm2020/ptsecurity-mosaic-radio.mjs.map +1 -1
  274. package/fesm2020/ptsecurity-mosaic-select.mjs +27 -27
  275. package/fesm2020/ptsecurity-mosaic-select.mjs.map +1 -1
  276. package/fesm2020/ptsecurity-mosaic-sidebar.mjs +13 -13
  277. package/fesm2020/ptsecurity-mosaic-sidepanel.mjs +33 -27
  278. package/fesm2020/ptsecurity-mosaic-sidepanel.mjs.map +1 -1
  279. package/fesm2020/ptsecurity-mosaic-splitter.mjs +16 -16
  280. package/fesm2020/ptsecurity-mosaic-table.mjs +7 -7
  281. package/fesm2020/ptsecurity-mosaic-tabs.mjs +62 -53
  282. package/fesm2020/ptsecurity-mosaic-tabs.mjs.map +1 -1
  283. package/fesm2020/ptsecurity-mosaic-tags.mjs +42 -36
  284. package/fesm2020/ptsecurity-mosaic-tags.mjs.map +1 -1
  285. package/fesm2020/ptsecurity-mosaic-textarea.mjs +7 -7
  286. package/fesm2020/ptsecurity-mosaic-timepicker.mjs +7 -7
  287. package/fesm2020/ptsecurity-mosaic-timezone.mjs +26 -26
  288. package/fesm2020/ptsecurity-mosaic-timezone.mjs.map +1 -1
  289. package/fesm2020/ptsecurity-mosaic-title.mjs +7 -7
  290. package/fesm2020/ptsecurity-mosaic-toast.mjs +13 -13
  291. package/fesm2020/ptsecurity-mosaic-toggle.mjs +7 -7
  292. package/fesm2020/ptsecurity-mosaic-tooltip.mjs +16 -16
  293. package/fesm2020/ptsecurity-mosaic-tree-select.mjs +15 -15
  294. package/fesm2020/ptsecurity-mosaic-tree.mjs +38 -37
  295. package/fesm2020/ptsecurity-mosaic-tree.mjs.map +1 -1
  296. package/file-upload/_file-upload-theme.scss +2 -4
  297. package/form-field/_form-field-theme.scss +3 -5
  298. package/form-field/form-field.d.ts +0 -1
  299. package/form-field/form-field.scss +5 -3
  300. package/form-field/password-hint.d.ts +6 -3
  301. package/input/_input-theme.scss +7 -6
  302. package/input/input-password.d.ts +1 -0
  303. package/link/_link-theme.scss +7 -8
  304. package/list/_list-theme.scss +2 -5
  305. package/loader-overlay/_loader-overlay-theme.scss +2 -5
  306. package/markdown/_markdown-theme.scss +3 -6
  307. package/modal/_modal-theme.scss +3 -5
  308. package/navbar/_navbar-theme.scss +2 -6
  309. package/navbar/navbar-item.component.d.ts +3 -2
  310. package/package.json +14 -14
  311. package/popover/_popover-theme.scss +2 -6
  312. package/prebuilt-themes/dark-theme.css +1 -1
  313. package/prebuilt-themes/default-theme.css +1 -1
  314. package/prebuilt-visual/default-visual.css +1 -1
  315. package/radio/_radio-theme.scss +2 -6
  316. package/select/_select-theme.scss +2 -5
  317. package/select/select.scss +2 -0
  318. package/sidepanel/_sidepanel-theme.scss +2 -5
  319. package/table/_table-theme.scss +2 -5
  320. package/tabs/_tabs-theme.scss +2 -5
  321. package/tabs/paginated-tab-header.d.ts +1 -0
  322. package/tags/_tag-theme.scss +2 -5
  323. package/tags/tag-default-options.d.ts +4 -0
  324. package/tags/tag-list.component.d.ts +1 -0
  325. package/tags/tag-list.scss +6 -2
  326. package/tags/tag.component.d.ts +1 -1
  327. package/textarea/_textarea-theme.scss +2 -5
  328. package/timezone/_timezone-option-theme.scss +2 -5
  329. package/toast/_toast-theme.scss +2 -5
  330. package/toggle/_toggle-theme.scss +2 -5
  331. package/tooltip/_tooltip-theme.scss +2 -5
  332. package/tree/_tree-theme.scss +2 -4
  333. package/tree-select/_tree-select-theme.scss +2 -5
package/_theming.scss CHANGED
@@ -1311,7 +1311,7 @@ $list-light-color-scheme-footer-background: white;
1311
1311
  $list-light-color-scheme-footer-divider: #d7dee4;
1312
1312
  $list-dark-color-scheme-footer-background: #19252f;
1313
1313
  $list-dark-color-scheme-footer-divider: mix(#515e69, transparent, 50%);
1314
- $list-size-horizontal-padding: 12px;
1314
+ $list-size-horizontal-padding: 10px;
1315
1315
  $list-size-icon-right-margin: 8px;
1316
1316
  $list-size-item-height: 32px;
1317
1317
  $list-size-footer-min-height: 48px;
@@ -1514,9 +1514,9 @@ $navbar-item-size-height-vertical: 56px;
1514
1514
  $navbar-brand-size-padding: 12px;
1515
1515
  $navbar-brand-size-margin-right: 24px;
1516
1516
  $navbar-brand-font-title: title;
1517
- $optgroup-size-padding-left: 17px;
1517
+ $optgroup-size-padding-left: 12px;
1518
1518
  $optgroup-font-default: subheading;
1519
- $option-size-horizontal-padding: 12px;
1519
+ $option-size-horizontal-padding: 10px;
1520
1520
  $option-size-height: 32px;
1521
1521
  $option-size-border-width: 2px;
1522
1522
  $option-font-default: body;
@@ -1761,7 +1761,7 @@ $timezone-option-light-color-scheme-text: #19252f;
1761
1761
  $timezone-option-light-color-scheme-caption: #6d7a86;
1762
1762
  $timezone-option-dark-color-scheme-text: #d7dee4;
1763
1763
  $timezone-option-dark-color-scheme-caption: #8c99a5;
1764
- $timezone-option-size-padding: 6px 8px 6px 14px;
1764
+ $timezone-option-size-padding: 6px 10px;
1765
1765
  $timezone-option-size-column-gap: 16px;
1766
1766
  $timezone-option-size-height: auto;
1767
1767
  $timezone-option-size-max-height: 4em;
@@ -3963,7 +3963,7 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
3963
3963
 
3964
3964
  $form-field-password-hint: (
3965
3965
  text-color: $form-field-password-hint-light-color-scheme-text-color,
3966
- icon-color: $form-field-password-hint-light-color-scheme-text-color,
3966
+ icon-color: $form-field-password-hint-light-color-scheme-icon-color,
3967
3967
 
3968
3968
  state-invalid-text-color: $form-field-password-hint-light-color-scheme-states-invalid-text-color,
3969
3969
  state-invalid-icon-color: $form-field-password-hint-light-color-scheme-states-invalid-icon-color,
@@ -5556,7 +5556,7 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
5556
5556
 
5557
5557
  $form-field-password-hint: (
5558
5558
  text-color: map-get($tokens, 'form-field-password-hint-#{$scheme}-text-color'),
5559
- icon-color: map-get($tokens, 'form-field-password-hint-#{$scheme}-text-color'),
5559
+ icon-color: map-get($tokens, 'form-field-password-hint-#{$scheme}-icon-color'),
5560
5560
 
5561
5561
  state-invalid-text-color: map-get($tokens, 'form-field-password-hint-#{$scheme}-states-invalid-text-color'),
5562
5562
  state-invalid-icon-color: map-get($tokens, 'form-field-password-hint-#{$scheme}-states-invalid-icon-color'),
@@ -8029,7 +8029,7 @@ $mc-datepicker-today-fade-amount: 0.2;
8029
8029
  @include mc-typography-level-to-styles($config, $form-field-font-default);
8030
8030
  }
8031
8031
 
8032
- .mc-form-field__hint {
8032
+ .mc-form-field__hint, .mc-password-hint {
8033
8033
  @include mc-typography-level-to-styles($config, $form-field-hint-font-default);
8034
8034
  }
8035
8035
 
@@ -8238,9 +8238,13 @@ $mc-datepicker-today-fade-amount: 0.2;
8238
8238
  }
8239
8239
 
8240
8240
  .mc-input.mc-input_monospace,
8241
- .mc-input.mc-input-password[type="password"] {
8241
+ .mc-input.mc-input-password {
8242
8242
  @include mc-typography-level-to-styles($config, $input-font-monospace);
8243
8243
  }
8244
+
8245
+ .mc-input.mc-input-password::placeholder {
8246
+ @include mc-typography-level-to-styles($config, $input-font-default);
8247
+ }
8244
8248
  }
8245
8249
 
8246
8250
 
@@ -9177,25 +9181,25 @@ button {
9177
9181
  .mc-sidepanel-container_shadowed {
9178
9182
  &.mc-sidepanel-container_right {
9179
9183
  .mc-sidepanel-content {
9180
- box-shadow: 0 0 0 1px map-get($sidepanel, border), -6px 0 12px 0 rgba(0, 0, 0, 0.24);
9184
+ box-shadow: -6px 0 12px 0 rgba(0, 0, 0, 0.24);
9181
9185
  }
9182
9186
  }
9183
9187
 
9184
9188
  &.mc-sidepanel-container_left {
9185
9189
  .mc-sidepanel-content {
9186
- box-shadow: 0 0 0 1px map-get($sidepanel, border), 6px 0 12px 0 rgba(0, 0, 0, 0.24);
9190
+ box-shadow: 6px 0 12px 0 rgba(0, 0, 0, 0.24);
9187
9191
  }
9188
9192
  }
9189
9193
 
9190
9194
  &.mc-sidepanel-container_bottom {
9191
9195
  .mc-sidepanel-content {
9192
- box-shadow: 0 0 0 1px map-get($sidepanel, border), 0 -6px 12px 0 rgba(0, 0, 0, 0.24);
9196
+ box-shadow: 0 -6px 12px 0 rgba(0, 0, 0, 0.24);
9193
9197
  }
9194
9198
  }
9195
9199
 
9196
9200
  &.mc-sidepanel-container_top {
9197
9201
  .mc-sidepanel-content {
9198
- box-shadow: 0 0 0 1px map-get($sidepanel, border), 0 6px 12px 0 rgba(0, 0, 0, 0.24);
9202
+ box-shadow: 0 6px 12px 0 rgba(0, 0, 0, 0.24);
9199
9203
  }
9200
9204
  }
9201
9205
  }
package/_visual.scss CHANGED
@@ -1265,7 +1265,7 @@ $list-light-color-scheme-footer-background: white;
1265
1265
  $list-light-color-scheme-footer-divider: #d7dee4;
1266
1266
  $list-dark-color-scheme-footer-background: #19252f;
1267
1267
  $list-dark-color-scheme-footer-divider: mix(#515e69, transparent, 50%);
1268
- $list-size-horizontal-padding: 12px;
1268
+ $list-size-horizontal-padding: 10px;
1269
1269
  $list-size-icon-right-margin: 8px;
1270
1270
  $list-size-item-height: 32px;
1271
1271
  $list-size-footer-min-height: 48px;
@@ -1468,9 +1468,9 @@ $navbar-item-size-height-vertical: 56px;
1468
1468
  $navbar-brand-size-padding: 12px;
1469
1469
  $navbar-brand-size-margin-right: 24px;
1470
1470
  $navbar-brand-font-title: title;
1471
- $optgroup-size-padding-left: 17px;
1471
+ $optgroup-size-padding-left: 12px;
1472
1472
  $optgroup-font-default: subheading;
1473
- $option-size-horizontal-padding: 12px;
1473
+ $option-size-horizontal-padding: 10px;
1474
1474
  $option-size-height: 32px;
1475
1475
  $option-size-border-width: 2px;
1476
1476
  $option-font-default: body;
@@ -1715,7 +1715,7 @@ $timezone-option-light-color-scheme-text: #19252f;
1715
1715
  $timezone-option-light-color-scheme-caption: #6d7a86;
1716
1716
  $timezone-option-dark-color-scheme-text: #d7dee4;
1717
1717
  $timezone-option-dark-color-scheme-caption: #8c99a5;
1718
- $timezone-option-size-padding: 6px 8px 6px 14px;
1718
+ $timezone-option-size-padding: 6px 10px;
1719
1719
  $timezone-option-size-column-gap: 16px;
1720
1720
  $timezone-option-size-height: auto;
1721
1721
  $timezone-option-size-max-height: 4em;
@@ -3,11 +3,6 @@
3
3
 
4
4
  @use '../core/styles/typography/typography-utils' as *;
5
5
 
6
- @use '../core/styles/tokens';
7
-
8
-
9
- $tokens: meta.module-variables(tokens) !default;
10
-
11
6
  @mixin mc-button-color($params) {
12
7
  color: map.get($params, color);
13
8
  border-color: map.get($params, border);
@@ -132,6 +127,8 @@ $tokens: meta.module-variables(tokens) !default;
132
127
  }
133
128
 
134
129
  @mixin mc-button-typography($config) {
130
+ $tokens: map.get($config, tokens);
131
+
135
132
  .mc-button,
136
133
  .mc-icon-button {
137
134
  @include mc-typography-level-to-styles($config, map.get($tokens, button-font-default));
@@ -3,11 +3,6 @@
3
3
 
4
4
  @use '../core/styles/typography/typography-utils' as *;
5
5
 
6
- @use '../core/styles/tokens';
7
-
8
-
9
- $tokens: meta.module-variables(tokens) !default;
10
-
11
6
  @mixin mc-button-toggle-color($state) {
12
7
  & .mc-button-overlay {
13
8
  background: map.get($state, background);
@@ -80,6 +75,8 @@ $tokens: meta.module-variables(tokens) !default;
80
75
  }
81
76
 
82
77
  @mixin mc-button-toggle-typography($config) {
78
+ $tokens: map.get($config, tokens);
79
+
83
80
  .mc-button-toggle {
84
81
  @include mc-typography-level-to-styles($config, map.get($tokens, button-toggle-font-default));
85
82
 
@@ -3,11 +3,6 @@
3
3
 
4
4
  @use '../core/styles/typography/typography-utils' as *;
5
5
 
6
- @use '../core/styles/tokens';
7
-
8
-
9
- $tokens: meta.module-variables(tokens) !default;
10
-
11
6
  /* stylelint-disable no-descending-specificity */
12
7
  @mixin mc-checkbox-color($states) {
13
8
  & .mc-checkbox-frame {
@@ -99,6 +94,8 @@ $tokens: meta.module-variables(tokens) !default;
99
94
  }
100
95
 
101
96
  @mixin mc-checkbox-typography($config) {
97
+ $tokens: map.get($config, tokens);
98
+
102
99
  .mc-checkbox {
103
100
  @include mc-typography-level-to-styles($config, map.get($tokens, checkbox-font-default));
104
101
  }
@@ -4,12 +4,6 @@
4
4
 
5
5
  @use '../core/styles/typography/typography-utils' as *;
6
6
 
7
- @use '../core/styles/tokens';
8
-
9
-
10
- $tokens: meta.module-variables(tokens) !default;
11
-
12
-
13
7
  @mixin mc-code-block-theme($theme) {
14
8
  $code-block: map.get(map.get($theme, components), code-block);
15
9
 
@@ -319,6 +313,8 @@ $tokens: meta.module-variables(tokens) !default;
319
313
  }
320
314
 
321
315
  @mixin mc-code-block-typography($config) {
316
+ $tokens: map.get($config, tokens);
317
+
322
318
  .mc-code-block {
323
319
  @include mc-typography-level-to-styles($config, map.get($tokens, code-block-font-default));
324
320
 
@@ -2,10 +2,6 @@
2
2
  @use 'sass:map';
3
3
 
4
4
  @use '../styles/typography' as *;
5
- @use '../styles/tokens';
6
-
7
-
8
- $tokens: meta.module-variables(tokens) !default;
9
5
 
10
6
  @mixin mc-forms-theme($theme) {
11
7
  $foreground: map.get($theme, foreground);
@@ -22,6 +18,8 @@ $tokens: meta.module-variables(tokens) !default;
22
18
  }
23
19
 
24
20
  @mixin mc-forms-typography($config) {
21
+ $tokens: map.get($config, tokens);
22
+
25
23
  .mc-form__label {
26
24
  @include mc-typography-level-to-styles($config, map.get($tokens, forms-font-default-label));
27
25
  }
@@ -2,10 +2,6 @@
2
2
  @use 'sass:map';
3
3
 
4
4
  @use '../styles/typography' as *;
5
- @use '../styles/tokens';
6
-
7
-
8
- $tokens: meta.module-variables(tokens) !default;
9
5
 
10
6
  @mixin mc-optgroup-theme($theme) {
11
7
  $foreground: map.get($theme, foreground);
@@ -20,6 +16,8 @@ $tokens: meta.module-variables(tokens) !default;
20
16
  }
21
17
 
22
18
  @mixin mc-optgroup-typography($config) {
19
+ $tokens: map.get($config, tokens);
20
+
23
21
  .mc-optgroup-label {
24
22
  @include mc-typography-level-to-styles($config, map.get($tokens, optgroup-font-default));
25
23
  }
@@ -3,11 +3,6 @@
3
3
 
4
4
  @use '../styles/typography' as *;
5
5
 
6
- @use '../styles/tokens';
7
-
8
-
9
- $tokens: meta.module-variables(tokens) !default;
10
-
11
6
  @mixin mc-option-theme($theme) {
12
7
  $foreground: map.get($theme, foreground);
13
8
  $background: map.get($theme, background);
@@ -40,6 +35,8 @@ $tokens: meta.module-variables(tokens) !default;
40
35
  }
41
36
 
42
37
  @mixin mc-option-typography($config) {
38
+ $tokens: map.get($config, tokens);
39
+
43
40
  .mc-option {
44
41
  @include mc-typography-level-to-styles($config, map.get($tokens, option-font-default));
45
42
  }
@@ -2,10 +2,6 @@
2
2
  @use 'sass:map';
3
3
 
4
4
  @use '../typography/typography-utils' as *;
5
- @use '../tokens';
6
-
7
-
8
- $tokens: meta.module-variables(tokens) !default;
9
5
 
10
6
  .mc-alert {
11
7
  display: flex;
@@ -14,48 +10,9 @@ $tokens: meta.module-variables(tokens) !default;
14
10
  vertical-align: top;
15
11
  text-align: left;
16
12
 
17
- border: var(--mc-alert-size-border-width, map.get($tokens, alert-size-border-width)) solid transparent;
18
- border-radius: var(--mc-alert-size-border-radius, map.get($tokens, alert-size-border-radius));
19
-
20
13
  .mc-link {
21
14
  padding-left: 0;
22
15
  }
23
-
24
- .mc-alert__icon {
25
- margin-right: var(--mc-alert-size-icon-margin, map.get($tokens, alert-size-icon-margin));
26
- }
27
-
28
- padding: {
29
- right: calc(
30
- var(--mc-alert-size-horizontal-padding, #{map.get($tokens, alert-size-horizontal-padding)}) -
31
- var(--mc-alert-size-border-width, #{map.get($tokens, alert-size-border-width)})
32
- );
33
- left: calc(
34
- var(--mc-alert-size-horizontal-padding, #{map.get($tokens, alert-size-horizontal-padding)}) -
35
- var(--mc-alert-size-border-width, #{map.get($tokens, alert-size-border-width)})
36
- );
37
- };
38
-
39
- &:not(.mc-alert_small) {
40
- padding: {
41
- top: var(--mc-alert-size-vertical-padding, map.get($tokens, alert-size-vertical-padding));
42
- bottom: var(--mc-alert-size-vertical-padding, map.get($tokens, alert-size-vertical-padding));
43
- };
44
- }
45
-
46
- &.mc-alert_small {
47
- padding: {
48
- top: var(--mc-alert-size-small-vertical-padding, map.get($tokens, alert-size-small-vertical-padding));
49
- bottom: var(--mc-alert-size-small-vertical-padding, map.get($tokens, alert-size-small-vertical-padding));
50
- };
51
- }
52
-
53
- &.mc-alert_dismissible {
54
- padding-right: calc(
55
- var(--mc-alert-size-right-padding-dismissible, #{map.get($tokens, alert-size-close-button-width)}) +
56
- var(--mc-alert-size-horizontal-padding, #{map.get($tokens, alert-size-horizontal-padding)})
57
- );
58
- }
59
16
  }
60
17
 
61
18
  .mc-alert_dismissible {
@@ -116,6 +73,8 @@ $tokens: meta.module-variables(tokens) !default;
116
73
 
117
74
  .mc-alert {
118
75
  color: map.get($foreground, text);
76
+
77
+ @include mc-alert-geometry(map.get($theme, tokens));
119
78
  }
120
79
 
121
80
  .mc-alert_error {
@@ -139,7 +98,50 @@ $tokens: meta.module-variables(tokens) !default;
139
98
  }
140
99
  }
141
100
 
101
+ @mixin mc-alert-geometry($tokens) {
102
+ border: var(--mc-alert-size-border-width, map.get($tokens, alert-size-border-width)) solid transparent;
103
+ border-radius: var(--mc-alert-size-border-radius, map.get($tokens, alert-size-border-radius));
104
+
105
+ .mc-alert__icon {
106
+ margin-right: var(--mc-alert-size-icon-margin, map.get($tokens, alert-size-icon-margin));
107
+ }
108
+
109
+ padding: {
110
+ right: calc(
111
+ var(--mc-alert-size-horizontal-padding, #{map.get($tokens, alert-size-horizontal-padding)}) -
112
+ var(--mc-alert-size-border-width, #{map.get($tokens, alert-size-border-width)})
113
+ );
114
+ left: calc(
115
+ var(--mc-alert-size-horizontal-padding, #{map.get($tokens, alert-size-horizontal-padding)}) -
116
+ var(--mc-alert-size-border-width, #{map.get($tokens, alert-size-border-width)})
117
+ );
118
+ };
119
+
120
+ &:not(.mc-alert_small) {
121
+ padding: {
122
+ top: var(--mc-alert-size-vertical-padding, map.get($tokens, alert-size-vertical-padding));
123
+ bottom: var(--mc-alert-size-vertical-padding, map.get($tokens, alert-size-vertical-padding));
124
+ };
125
+ }
126
+
127
+ &.mc-alert_small {
128
+ padding: {
129
+ top: var(--mc-alert-size-small-vertical-padding, map.get($tokens, alert-size-small-vertical-padding));
130
+ bottom: var(--mc-alert-size-small-vertical-padding, map.get($tokens, alert-size-small-vertical-padding));
131
+ };
132
+ }
133
+
134
+ &.mc-alert_dismissible {
135
+ padding-right: calc(
136
+ var(--mc-alert-size-right-padding-dismissible, #{map.get($tokens, alert-size-close-button-width)}) +
137
+ var(--mc-alert-size-horizontal-padding, #{map.get($tokens, alert-size-horizontal-padding)})
138
+ );
139
+ }
140
+ }
141
+
142
142
  @mixin mc-alert-typography($config) {
143
+ $tokens: map-get($config, tokens);
144
+
143
145
  .mc-alert:not(.mc-alert_small) {
144
146
  @include mc-typography-level-to-styles($config, map.get($tokens, alert-font-default-body));
145
147
 
@@ -2,10 +2,6 @@
2
2
  @use 'sass:map';
3
3
 
4
4
  @use '../typography/typography-utils' as *;
5
- @use '../tokens';
6
-
7
-
8
- $tokens: meta.module-variables(tokens) !default;
9
5
 
10
6
  .mc-badge {
11
7
  display: inline-flex;
@@ -19,27 +15,6 @@ $tokens: meta.module-variables(tokens) !default;
19
15
  border-style: solid;
20
16
 
21
17
  box-sizing: border-box;
22
-
23
- &.mc-badge_default {
24
- height: var(--mc-badge-size-default-height, map.get($tokens, badge-size-default-height));
25
- min-width: var(--mc-badge-size-default-min-width, map.get($tokens, badge-size-default-min-width));
26
- padding: var(--mc-badge-size-default-padding, map.get($tokens, badge-size-default-padding));
27
- border: {
28
- width: var(--mc-badge-size-default-border-width, map.get($tokens, badge-size-default-border-width));
29
- radius: var(--mc-badge-size-default-border-radius, map.get($tokens, badge-size-default-border-radius));
30
- }
31
- }
32
-
33
- &.mc-badge_mini {
34
- height: var(--mc-badge-size-mini-height, map.get($tokens, badge-size-mini-height));
35
- min-width: var(--mc-badge-size-mini-min-width, map.get($tokens, badge-size-mini-min-width));
36
- padding: var(--mc-badge-size-mini-padding, map.get($tokens, badge-size-mini-padding));
37
- border: {
38
- width: var(--mc-badge-size-mini-border-width, map.get($tokens, badge-size-mini-border-width));
39
- radius: var(--mc-badge-size-mini-border-radius, map.get($tokens, badge-size-mini-border-radius));
40
- }
41
-
42
- }
43
18
  }
44
19
 
45
20
 
@@ -56,8 +31,11 @@ $tokens: meta.module-variables(tokens) !default;
56
31
  .mc-badge {
57
32
  color: map.get($foreground, text);
58
33
  border-color: map.get($foreground, border);
34
+
59
35
  }
60
36
 
37
+ @include mc-badges-geometry(map.get($theme, tokens));
38
+
61
39
  .mc-badge_solid {
62
40
  &.mc-badge_primary {
63
41
  @include mc-badge-color(map.get($badge, primary_solid));
@@ -115,7 +93,33 @@ $tokens: meta.module-variables(tokens) !default;
115
93
  }
116
94
  }
117
95
 
96
+ @mixin mc-badges-geometry($tokens) {
97
+ .mc-badge {
98
+ &.mc-badge_default {
99
+ height: var(--mc-badge-size-default-height, map.get($tokens, badge-size-default-height));
100
+ min-width: var(--mc-badge-size-default-min-width, map.get($tokens, badge-size-default-min-width));
101
+ padding: var(--mc-badge-size-default-padding, map.get($tokens, badge-size-default-padding));
102
+ border: {
103
+ width: var(--mc-badge-size-default-border-width, map.get($tokens, badge-size-default-border-width));
104
+ radius: var(--mc-badge-size-default-border-radius, map.get($tokens, badge-size-default-border-radius));
105
+ }
106
+ }
107
+
108
+ &.mc-badge_mini {
109
+ height: var(--mc-badge-size-mini-height, map.get($tokens, badge-size-mini-height));
110
+ min-width: var(--mc-badge-size-mini-min-width, map.get($tokens, badge-size-mini-min-width));
111
+ padding: var(--mc-badge-size-mini-padding, map.get($tokens, badge-size-mini-padding));
112
+ border: {
113
+ width: var(--mc-badge-size-mini-border-width, map.get($tokens, badge-size-mini-border-width));
114
+ radius: var(--mc-badge-size-mini-border-radius, map.get($tokens, badge-size-mini-border-radius));
115
+ }
116
+ }
117
+ }
118
+ }
119
+
118
120
  @mixin mc-badge-typography($config) {
121
+ $tokens: map-get($config, tokens);
122
+
119
123
  .mc-badge_default {
120
124
  @include mc-typography-level-to-styles($config, map.get($tokens, badge-font-default-default));
121
125
 
@@ -449,7 +449,7 @@
449
449
 
450
450
  $form-field-password-hint: (
451
451
  text-color: map-get($tokens, 'form-field-password-hint-#{$scheme}-text-color'),
452
- icon-color: map-get($tokens, 'form-field-password-hint-#{$scheme}-text-color'),
452
+ icon-color: map-get($tokens, 'form-field-password-hint-#{$scheme}-icon-color'),
453
453
 
454
454
  state-invalid-text-color: map-get($tokens, 'form-field-password-hint-#{$scheme}-states-invalid-text-color'),
455
455
  state-invalid-icon-color: map-get($tokens, 'form-field-password-hint-#{$scheme}-states-invalid-icon-color'),
@@ -2,41 +2,10 @@
2
2
  @use 'sass:map';
3
3
 
4
4
  @use '../functions/string' as *;
5
- @use '../tokens';
6
-
7
-
8
- $tokens: meta.module-variables(tokens) !default;
9
5
 
10
6
  .mc-scrollbar {
11
7
  //firefox
12
8
  scrollbar-width: auto;
13
-
14
- // webkit
15
- &::-webkit-scrollbar,
16
- ::-webkit-scrollbar {
17
- width: var(--mc-scrollbar-size-track-width, map.get($tokens, scrollbar-size-track-width));
18
- }
19
-
20
- &::-webkit-scrollbar-thumb,
21
- ::-webkit-scrollbar-thumb {
22
- width: var(--mc-scrollbar-size-thumb-width, map.get($tokens, scrollbar-size-thumb-width));
23
- border-width: var(
24
- --mc-scrollbar-size-thumb-inset-border-width,
25
- map.get($tokens, scrollbar-size-thumb-border-width)
26
- );
27
- border-radius: var(
28
- --mc-scrollbar-size-thumb-inset-border-radius,
29
- map.get($tokens, scrollbar-size-thumb-border-radius)
30
- );
31
- }
32
-
33
- &::-webkit-scrollbar-button,
34
- ::-webkit-scrollbar-button {
35
- display: none;
36
-
37
- width: var(--mc-scrollbar-size-arrow-icon-width, map.get($tokens, scrollbar-size-arrow-icon-width));
38
- height: var(--mc-scrollbar-size-arrow-icon-height, map.get($tokens, scrollbar-size-arrow-icon-height));
39
- }
40
9
  }
41
10
 
42
11
  @mixin mc-scrollbar-theme($theme) {
@@ -115,6 +84,36 @@ $tokens: meta.module-variables(tokens) !default;
115
84
  }
116
85
  }
117
86
  /* stylelint-enable */
87
+ @include mc-scrollbar-geometry(map.get($theme, tokens));
88
+ }
89
+ }
90
+
91
+ @mixin mc-scrollbar-geometry($tokens) {
92
+ // webkit
93
+ &::-webkit-scrollbar,
94
+ ::-webkit-scrollbar {
95
+ width: var(--mc-scrollbar-size-track-width, map.get($tokens, scrollbar-size-track-width));
96
+ }
97
+
98
+ &::-webkit-scrollbar-thumb,
99
+ ::-webkit-scrollbar-thumb {
100
+ width: var(--mc-scrollbar-size-thumb-width, map.get($tokens, scrollbar-size-thumb-width));
101
+ border-width: var(
102
+ --mc-scrollbar-size-thumb-inset-border-width,
103
+ map.get($tokens, scrollbar-size-thumb-border-width)
104
+ );
105
+ border-radius: var(
106
+ --mc-scrollbar-size-thumb-inset-border-radius,
107
+ map.get($tokens, scrollbar-size-thumb-border-radius)
108
+ );
109
+ }
110
+
111
+ &::-webkit-scrollbar-button,
112
+ ::-webkit-scrollbar-button {
113
+ display: none;
114
+
115
+ width: var(--mc-scrollbar-size-arrow-icon-width, map.get($tokens, scrollbar-size-arrow-icon-width));
116
+ height: var(--mc-scrollbar-size-arrow-icon-height, map.get($tokens, scrollbar-size-arrow-icon-height));
118
117
  }
119
118
  }
120
119
 
@@ -127,7 +127,9 @@
127
127
 
128
128
  states: _theme_states($tokens, $scheme),
129
129
 
130
- components: mc-components-theme($tokens, $scheme)
130
+ components: mc-components-theme($tokens, $scheme),
131
+
132
+ tokens: $tokens
131
133
  );
132
134
  }
133
135
 
@@ -150,6 +152,8 @@
150
152
 
151
153
  states: _theme_states($tokens, $scheme),
152
154
 
153
- components: mc-components-theme($tokens, $scheme)
155
+ components: mc-components-theme($tokens, $scheme),
156
+
157
+ tokens: $tokens
154
158
  );
155
159
  }
@@ -44,7 +44,7 @@
44
44
  }
45
45
 
46
46
  // Add the base font family to the config.
47
- @return map.merge($config, (font-family: $font-family));
47
+ @return map.merge($config, (font-family: $font-family, tokens: $tokens));
48
48
  }
49
49
 
50
50
  @function mc-markdown-typography-config($tokens) {
@@ -74,7 +74,7 @@
74
74
  }
75
75
 
76
76
  // Add the base font family to the config.
77
- @return map.merge($config, (font-family: $font-family));
77
+ @return map.merge($config, (font-family: $font-family, tokens: $tokens));
78
78
  }
79
79
 
80
80
 
@@ -146,7 +146,7 @@
146
146
  .mc-caption_mono {
147
147
  @include mc-typography-level-to-styles($config, caption-mono);
148
148
  }
149
-
149
+
150
150
  .mc-caption_mono_strong {
151
151
  @include mc-typography-level-to-styles($config, caption-mono-strong);
152
152
  }
@@ -5,11 +5,6 @@
5
5
  @use '../core/styles/theming/theming';
6
6
  @use '../core/styles/typography/typography-utils' as *;
7
7
 
8
- @use '../core/styles/tokens';
9
-
10
-
11
- $tokens: meta.module-variables(tokens) !default;
12
-
13
8
  $mc-datepicker-selected-fade-amount: 0.6;
14
9
  $mc-datepicker-today-fade-amount: 0.2;
15
10
 
@@ -91,6 +86,8 @@ $mc-datepicker-today-fade-amount: 0.2;
91
86
  }
92
87
 
93
88
  @mixin mc-datepicker-typography($config) {
89
+ $tokens: map.get($config, tokens);
90
+
94
91
  .mc-calendar {
95
92
  @include mc-typography-level-to-styles($config, map.get($tokens, datepicker-calendar-font-default));
96
93
  }
package/dl/_dl-theme.scss CHANGED
@@ -3,11 +3,6 @@
3
3
 
4
4
  @use '../core/styles/typography/typography-utils' as *;
5
5
 
6
- @use '../core/styles/tokens';
7
-
8
-
9
- $tokens: meta.module-variables(tokens) !default;
10
-
11
6
  @mixin mc-dl-theme($theme) {
12
7
  $dl: map.get(map.get($theme, components), dl);
13
8
 
@@ -21,6 +16,8 @@ $tokens: meta.module-variables(tokens) !default;
21
16
  }
22
17
 
23
18
  @mixin mc-dl-typography($config) {
19
+ $tokens: map.get($config, tokens);
20
+
24
21
  .mc-dl {
25
22
  & .mc-dt {
26
23
  @include mc-typography-level-to-styles(
@@ -5,11 +5,6 @@
5
5
  @use '../core/styles/theming/theming' as *;
6
6
  @use '../core/styles/typography/typography-utils' as *;
7
7
 
8
- @use '../core/styles/tokens';
9
-
10
-
11
- $tokens: meta.module-variables(tokens) !default;
12
-
13
8
  @mixin mc-dropdown-theme($theme) {
14
9
  $foreground: map.get($theme, foreground);
15
10
  $background: map.get($theme, background);
@@ -68,6 +63,8 @@ $tokens: meta.module-variables(tokens) !default;
68
63
  }
69
64
 
70
65
  @mixin mc-dropdown-typography($config) {
66
+ $tokens: map.get($config, tokens);
67
+
71
68
  .mc-dropdown-item,
72
69
  .mc-dropdown__content {
73
70
  @include mc-typography-level-to-styles($config, map.get($tokens, dropdown-item-font-default));