@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
@@ -3,10 +3,6 @@
3
3
 
4
4
  @use '../core/styles/typography/typography-utils' as *;
5
5
 
6
- @use '../core/styles/tokens';
7
-
8
- $tokens: meta.module-variables(tokens) !default;
9
-
10
6
  @mixin mc-file-upload-text-color($states) {
11
7
  &, .mc-icon, .mc-link {
12
8
  color: map.get($states, border);
@@ -127,6 +123,8 @@ $tokens: meta.module-variables(tokens) !default;
127
123
 
128
124
 
129
125
  @mixin mc-file-upload-typography($config) {
126
+ $tokens: map.get($config, tokens);
127
+
130
128
  .mc-single-file-upload {
131
129
  @include mc-typography-level-to-styles($config, map.get($tokens, file-upload-font-single));
132
130
  }
@@ -4,10 +4,6 @@
4
4
  @use '../core/styles/theming/theming' as *;
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
7
 
12
8
  @mixin mc-form-field-theme($theme) {
13
9
  $foreground: map.get($theme, foreground);
@@ -130,11 +126,13 @@ $tokens: meta.module-variables(tokens) !default;
130
126
  }
131
127
 
132
128
  @mixin mc-form-field-typography($config) {
129
+ $tokens: map.get($config, tokens);
130
+
133
131
  .mc-form-field {
134
132
  @include mc-typography-level-to-styles($config, map.get($tokens, form-field-font-default));
135
133
  }
136
134
 
137
- .mc-form-field__hint {
135
+ .mc-form-field__hint, .mc-password-hint {
138
136
  @include mc-typography-level-to-styles($config, map.get($tokens, form-field-hint-font-default));
139
137
  }
140
138
 
@@ -40,7 +40,6 @@ export declare class McFormField extends McFormFieldMixinBase implements AfterCo
40
40
  canCleanerClearByEsc: boolean;
41
41
  private $unsubscribe;
42
42
  get hasHint(): boolean;
43
- get hasPasswordStrengthError(): boolean;
44
43
  get hasSuffix(): boolean;
45
44
  get hasPrefix(): boolean;
46
45
  get hasCleaner(): boolean;
@@ -36,7 +36,7 @@ $tokens: meta.module-variables(tokens) !default;
36
36
  .mc-hint {
37
37
  display: block;
38
38
  }
39
-
39
+ /* test */
40
40
  .mc-password-hint {
41
41
  display: block;
42
42
 
@@ -50,12 +50,14 @@ $tokens: meta.module-variables(tokens) !default;
50
50
 
51
51
  left: 0;
52
52
  }
53
- }
54
53
 
55
- .mc-form-field__hint > .mc-password-hint {
56
54
  margin-top: var(
57
55
  --mc-form-field-password-hint-size-margin-top, map.get($tokens, form-field-password-hint-size-margin-top)
58
56
  );
57
+
58
+ &:first-child {
59
+ margin-top: map.get($tokens, size-m);
60
+ }
59
61
  }
60
62
 
61
63
  .mc-form-field__hint > .mc-hint {
@@ -1,4 +1,5 @@
1
- import { AfterContentInit, ChangeDetectorRef } from '@angular/core';
1
+ import { AfterContentInit, ChangeDetectorRef, QueryList } from '@angular/core';
2
+ import { McFormField } from './form-field';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare enum PasswordRules {
4
5
  Length = 0,
@@ -14,6 +15,7 @@ export declare const regExpPasswordValidator: {
14
15
  3: RegExp;
15
16
  4: RegExp;
16
17
  };
18
+ export declare const hasPasswordStrengthError: (passwordHints: QueryList<McPasswordHint>) => boolean;
17
19
  export declare class McPasswordHint implements AfterContentInit {
18
20
  private changeDetectorRef;
19
21
  private formField;
@@ -22,6 +24,7 @@ export declare class McPasswordHint implements AfterContentInit {
22
24
  min: number;
23
25
  max: number;
24
26
  regex: RegExp | null;
27
+ viewFormField?: McFormField;
25
28
  hasError: boolean;
26
29
  checked: boolean;
27
30
  private checkRule;
@@ -34,6 +37,6 @@ export declare class McPasswordHint implements AfterContentInit {
34
37
  private checkRegexRule;
35
38
  private checkSpecialSymbolsRegexRule;
36
39
  private isValueChanged;
37
- static ɵfac: i0.ɵɵFactoryDeclaration<McPasswordHint, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<McPasswordHint, "mc-password-hint", never, { "id": "id"; "rule": "rule"; "min": "min"; "max": "max"; "regex": "regex"; }, {}, never, ["*"], false, never>;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<McPasswordHint, [null, { optional: true; }]>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<McPasswordHint, "mc-password-hint", never, { "id": "id"; "rule": "rule"; "min": "min"; "max": "max"; "regex": "regex"; "viewFormField": "viewFormField"; }, {}, never, ["*"], false, never>;
39
42
  }
@@ -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-input-theme($theme) {
12
7
  $foreground: map.get($theme, foreground);
13
8
 
@@ -48,12 +43,18 @@ $tokens: meta.module-variables(tokens) !default;
48
43
  }
49
44
 
50
45
  @mixin mc-input-typography($config) {
46
+ $tokens: map.get($config, tokens);
47
+
51
48
  .mc-input {
52
49
  @include mc-typography-level-to-styles($config, map.get($tokens, input-font-default));
53
50
  }
54
51
 
55
52
  .mc-input.mc-input_monospace,
56
- .mc-input.mc-input-password[type="password"] {
53
+ .mc-input.mc-input-password {
57
54
  @include mc-typography-level-to-styles($config, map.get($tokens, input-font-monospace));
58
55
  }
56
+
57
+ .mc-input.mc-input-password::placeholder {
58
+ @include mc-typography-level-to-styles($config, map.get($tokens, input-font-default));
59
+ }
59
60
  }
@@ -22,6 +22,7 @@ export declare class McPasswordToggle extends McTooltipTrigger implements OnDest
22
22
  set tabIndex(value: number);
23
23
  private _tabIndex;
24
24
  get hidden(): boolean;
25
+ get visibility(): string;
25
26
  constructor(overlay: Overlay, elementRef: ElementRef, ngZone: NgZone, scrollDispatcher: ScrollDispatcher, hostView: ViewContainerRef, scrollStrategy: any, direction: Directionality, focusMonitor: FocusMonitor, formField: McFormField);
26
27
  ngOnDestroy(): void;
27
28
  toggle(): void;
@@ -3,12 +3,7 @@
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
- @mixin mc-link($foreground, $link) {
6
+ @mixin mc-link($foreground, $link, $tokens) {
12
7
  display: inline-block;
13
8
 
14
9
  color: map.get($link, text);
@@ -133,12 +128,14 @@ $tokens: meta.module-variables(tokens) !default;
133
128
 
134
129
  $link: map.get(map.get($theme, components), link);
135
130
 
131
+ $tokens: map.get($theme, tokens);
132
+
136
133
  .mc-link:not(.mc-link_use-visited) {
137
134
  &:visited {
138
135
  color: map.get($link, text);
139
136
  }
140
137
 
141
- @include mc-link($foreground, $link);
138
+ @include mc-link($foreground, $link, $tokens);
142
139
  }
143
140
 
144
141
  .mc-link.mc-link_use-visited {
@@ -155,7 +152,7 @@ $tokens: meta.module-variables(tokens) !default;
155
152
  }
156
153
  }
157
154
 
158
- @include mc-link($foreground, $link);
155
+ @include mc-link($foreground, $link, $tokens);
159
156
  }
160
157
 
161
158
  @media print {
@@ -178,6 +175,8 @@ $tokens: meta.module-variables(tokens) !default;
178
175
  }
179
176
 
180
177
  @mixin mc-link-typography($config) {
178
+ $tokens: map.get($config, tokens);
179
+
181
180
  .mc-link {
182
181
  @include mc-typography-level-to-styles($config, map.get($tokens, link-font-default));
183
182
  }
@@ -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-list-theme($theme) {
12
7
  $foreground: map.get($theme, foreground);
13
8
  $background: map.get($theme, background);
@@ -42,6 +37,8 @@ $tokens: meta.module-variables(tokens) !default;
42
37
  }
43
38
 
44
39
  @mixin mc-list-typography($config) {
40
+ $tokens: map.get($config, tokens);
41
+
45
42
  .mc-list-item,
46
43
  .mc-list-option {
47
44
  @include mc-typography-level-to-styles($config, map.get($tokens, list-font-item));
@@ -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-loader-overlay-theme($theme) {
12
7
  $loader-overlay: map.get(map.get($theme, components), loader-overlay);
13
8
 
@@ -25,6 +20,8 @@ $tokens: meta.module-variables(tokens) !default;
25
20
  }
26
21
 
27
22
  @mixin mc-loader-overlay-typography($config) {
23
+ $tokens: map.get($config, tokens);
24
+
28
25
  .mc-loader-overlay-text {
29
26
  @include mc-typography-level-to-styles($config, map.get($tokens, loader-overlay-font-text));
30
27
  }
@@ -1,19 +1,14 @@
1
- @use 'sass:meta';
2
1
  @use 'sass:map';
3
2
 
4
3
  @use '../core/styles/theming/theming' as *;
5
4
  @use '../core/styles/typography/typography-utils' as *;
6
5
 
7
- @use '../core/styles/tokens';
8
-
9
-
10
- $tokens: meta.module-variables(tokens) !default;
11
-
12
6
  @mixin mc-markdown-theme($theme) {
13
7
  $foreground: map.get($theme, foreground);
14
8
  $background: map.get($theme, background);
15
9
 
16
10
  $markdown: map.get(map.get($theme, components), markdown);
11
+ $tokens: map.get($theme, tokens);
17
12
 
18
13
  .mc-markdown {
19
14
  color: map.get($foreground, text);
@@ -98,6 +93,8 @@ $tokens: meta.module-variables(tokens) !default;
98
93
  }
99
94
 
100
95
  @mixin mc-markdown-typography($config) {
96
+ $tokens: map.get($config, tokens);
97
+
101
98
  .mc-markdown {
102
99
  // h1, h2, h3, h4, h5, h6
103
100
  @for $i from 1 through 6 {
@@ -3,17 +3,13 @@
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-modal-theme($theme) {
12
7
  $foreground: map.get($theme, foreground);
13
8
  $background: map.get($theme, background);
14
9
 
15
10
  $modal: map.get(map.get($theme, components), modal);
16
11
  $popup: map.get(map.get($theme, components), popup);
12
+ $tokens: map.get($theme, tokens);
17
13
 
18
14
  .mc-modal {
19
15
  .mc-modal-content {
@@ -80,6 +76,8 @@ $tokens: meta.module-variables(tokens) !default;
80
76
  }
81
77
 
82
78
  @mixin mc-modal-typography($config) {
79
+ $tokens: map.get($config, tokens);
80
+
83
81
  .mc-modal-title {
84
82
  @include mc-typography-level-to-styles($config, map.get($tokens, modal-header-font-default));
85
83
  }
@@ -1,13 +1,7 @@
1
- @use 'sass:meta';
2
1
  @use 'sass:map';
3
2
 
4
3
  @use '../core/styles/typography/typography-utils' as *;
5
4
 
6
- @use '../core/styles/tokens';
7
-
8
-
9
- $tokens: meta.module-variables(tokens) !default;
10
-
11
5
  @mixin mc-navbar-theme($theme) {
12
6
  $background: map.get($theme, background);
13
7
  $primary: map.get($theme, primary);
@@ -103,6 +97,8 @@ button {
103
97
  }
104
98
 
105
99
  @mixin mc-navbar-typography($config) {
100
+ $tokens: map.get($config, tokens);
101
+
106
102
  .mc-navbar-title {
107
103
  @include mc-typography-level-to-styles($config, map.get($tokens, navbar-font-title));
108
104
  }
@@ -124,9 +124,9 @@ export declare class McNavbarItem extends McTooltipTrigger {
124
124
  collapsedText: string;
125
125
  get trigger(): string;
126
126
  set trigger(value: string);
127
- get collapsed(): boolean;
128
127
  set collapsed(value: boolean);
129
128
  private _collapsed;
129
+ isCollapsed: boolean;
130
130
  get croppedText(): string;
131
131
  get collapsable(): boolean;
132
132
  set collapsable(value: boolean);
@@ -144,8 +144,9 @@ export declare class McNavbarItem extends McTooltipTrigger {
144
144
  updateTooltip(): void;
145
145
  getTitleWidth(): number;
146
146
  onKeyDown($event: KeyboardEvent): void;
147
+ private updateCollapsedState;
147
148
  static ɵfac: i0.ɵɵFactoryDeclaration<McNavbarItem, [null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
148
- static ɵcmp: i0.ɵɵComponentDeclaration<McNavbarItem, "mc-navbar-item, [mc-navbar-item]", ["mcNavbarItem"], { "collapsedText": "collapsedText"; "trigger": "mcTrigger"; "collapsed": "collapsed"; "collapsable": "collapsable"; }, {}, ["title", "subTitle", "icon"], ["[mc-icon]", "mc-navbar-title, [mc-navbar-title]", "mc-navbar-subtitle, [mc-navbar-subtitle]", "*"], false, never>;
149
+ static ɵcmp: i0.ɵɵComponentDeclaration<McNavbarItem, "mc-navbar-item, [mc-navbar-item]", ["mcNavbarItem"], { "collapsedText": "collapsedText"; "trigger": "mcTrigger"; "collapsable": "collapsable"; }, {}, ["title", "subTitle", "icon"], ["[mc-icon]", "mc-navbar-title, [mc-navbar-title]", "mc-navbar-subtitle, [mc-navbar-subtitle]", "*"], false, never>;
149
150
  }
150
151
  export declare class McNavbarToggle extends McTooltipTrigger implements OnDestroy {
151
152
  navbar: McVerticalNavbar;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ptsecurity/mosaic",
3
- "version": "15.4.1",
3
+ "version": "15.6.0",
4
4
  "description": "Mosaic",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,19 +17,19 @@
17
17
  },
18
18
  "homepage": "https://gitlab.ptsecurity.com/frontend/design-system/mosaic/-/blob/master/README.md",
19
19
  "peerDependencies": {
20
- "@angular/animations": "^15.2.0",
21
- "@angular/cdk": "^15.2.0",
22
- "@angular/core": "^15.2.0",
23
- "@angular/common": "^15.2.0",
24
- "@angular/forms": "^15.2.0",
25
- "@ptsecurity/cdk": "^15.4.1",
26
- "@ptsecurity/mosaic-moment-adapter": "^1.1.0",
27
- "@ptsecurity/mosaic-luxon-adapter": "^1.1.0",
28
- "@mosaic-design/date-formatter": "^1.1.0",
29
- "@ptsecurity/mosaic-icons": "^6.6.2",
30
- "@mosaic-design/tokens-builder": "^1.3.0",
31
- "@mosaic-design/tokens-fe-2022": "^1.7.0",
32
- "@mosaic-design/tokens-legacy-2017": "^1.7.0"
20
+ "@angular/animations": "15.2.9",
21
+ "@angular/cdk": "15.2.9",
22
+ "@angular/core": "15.2.9",
23
+ "@angular/common": "15.2.9",
24
+ "@angular/forms": "15.2.9",
25
+ "@ptsecurity/cdk": "^15.6.0",
26
+ "@ptsecurity/mosaic-moment-adapter": "1.1.0",
27
+ "@ptsecurity/mosaic-luxon-adapter": "1.1.0",
28
+ "@mosaic-design/date-formatter": "1.1.0",
29
+ "@ptsecurity/mosaic-icons": "7.0.8",
30
+ "@mosaic-design/tokens-builder": "1.3.0",
31
+ "@mosaic-design/tokens-fe-2022": "1.7.0",
32
+ "@mosaic-design/tokens-legacy-2017": "1.7.0"
33
33
  },
34
34
  "dependencies": {
35
35
  "tslib": "^2.4.0"
@@ -1,13 +1,7 @@
1
- @use 'sass:meta';
2
1
  @use 'sass:map';
3
2
 
4
3
  @use '../core/styles/typography/typography-utils' as *;
5
4
 
6
- @use '../core/styles/tokens';
7
-
8
-
9
- $tokens: meta.module-variables(tokens) !default;
10
-
11
5
  @mixin mc-popover-theme($theme) {
12
6
  $foreground: map.get($theme, foreground);
13
7
 
@@ -99,6 +93,8 @@ $tokens: meta.module-variables(tokens) !default;
99
93
  }
100
94
 
101
95
  @mixin mc-popover-typography($config) {
96
+ $tokens: map.get($config, tokens);
97
+
102
98
  .mc-popover__header {
103
99
  @include mc-typography-level-to-styles($config, map.get($tokens, popover-header-font-default));
104
100
  }