@ptsecurity/mosaic 13.0.0 → 13.1.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 (328) hide show
  1. package/_theming.scss +916 -884
  2. package/_visual.scss +839 -686
  3. package/core/formatters/date/formatter.d.ts +37 -13
  4. package/core/public-api.d.ts +1 -0
  5. package/core/version.d.ts +2 -0
  6. package/design-tokens/{tokens → legacy-2017/tokens}/components/alert.json5 +0 -0
  7. package/design-tokens/{tokens → legacy-2017/tokens}/components/autocomplete.json5 +0 -0
  8. package/design-tokens/{tokens → legacy-2017/tokens}/components/badge.json5 +0 -0
  9. package/design-tokens/{tokens → legacy-2017/tokens}/components/button-toggle.json5 +0 -0
  10. package/design-tokens/{tokens → legacy-2017/tokens}/components/button.json5 +0 -0
  11. package/design-tokens/{tokens → legacy-2017/tokens}/components/card.json5 +0 -0
  12. package/design-tokens/{tokens → legacy-2017/tokens}/components/checkbox.json5 +2 -2
  13. package/design-tokens/{tokens → legacy-2017/tokens}/components/datepicker.json5 +0 -0
  14. package/design-tokens/{tokens → legacy-2017/tokens}/components/divider.json5 +0 -0
  15. package/design-tokens/{tokens → legacy-2017/tokens}/components/dropdown.json5 +0 -0
  16. package/design-tokens/{tokens → legacy-2017/tokens}/components/form-field.json5 +0 -0
  17. package/design-tokens/{tokens → legacy-2017/tokens}/components/forms.json5 +0 -0
  18. package/design-tokens/{tokens → legacy-2017/tokens}/components/input.json5 +0 -0
  19. package/design-tokens/{tokens → legacy-2017/tokens}/components/link.json5 +0 -0
  20. package/design-tokens/{tokens → legacy-2017/tokens}/components/list.json5 +0 -0
  21. package/design-tokens/{tokens → legacy-2017/tokens}/components/modal.json5 +12 -0
  22. package/design-tokens/{tokens → legacy-2017/tokens}/components/navbar.json5 +2 -0
  23. package/design-tokens/{tokens → legacy-2017/tokens}/components/optgroup.json5 +0 -0
  24. package/design-tokens/{tokens → legacy-2017/tokens}/components/option.json5 +0 -0
  25. package/design-tokens/{tokens → legacy-2017/tokens}/components/popover.json5 +0 -0
  26. package/design-tokens/{tokens → legacy-2017/tokens}/components/popup.json5 +0 -0
  27. package/design-tokens/{tokens → legacy-2017/tokens}/components/progress-bar.json5 +0 -0
  28. package/design-tokens/{tokens → legacy-2017/tokens}/components/progress-spinner.json5 +0 -0
  29. package/design-tokens/{tokens → legacy-2017/tokens}/components/radio.json5 +0 -1
  30. package/design-tokens/{tokens → legacy-2017/tokens}/components/select.json5 +0 -0
  31. package/design-tokens/{tokens → legacy-2017/tokens}/components/sidepanel.json5 +0 -0
  32. package/design-tokens/{tokens → legacy-2017/tokens}/components/table.json5 +0 -0
  33. package/design-tokens/{tokens → legacy-2017/tokens}/components/tabs.json5 +0 -0
  34. package/design-tokens/{tokens → legacy-2017/tokens}/components/tags.json5 +6 -0
  35. package/design-tokens/{tokens → legacy-2017/tokens}/components/textarea.json5 +0 -0
  36. package/design-tokens/{tokens → legacy-2017/tokens}/components/timepicker.json5 +0 -0
  37. package/design-tokens/{tokens → legacy-2017/tokens}/components/toggle.json5 +24 -0
  38. package/design-tokens/{tokens → legacy-2017/tokens}/components/tooltip.json5 +0 -0
  39. package/design-tokens/{tokens → legacy-2017/tokens}/components/tree.json5 +0 -0
  40. package/design-tokens/{tokens → legacy-2017/tokens}/properties/aliases.json5 +0 -0
  41. package/design-tokens/{tokens → legacy-2017/tokens}/properties/colors.json5 +0 -0
  42. package/design-tokens/{tokens → legacy-2017/tokens}/properties/font.json5 +0 -0
  43. package/design-tokens/{tokens → legacy-2017/tokens}/properties/globals.json5 +0 -0
  44. package/design-tokens/{tokens → legacy-2017/tokens}/properties/padding.json5 +0 -0
  45. package/design-tokens/{tokens → legacy-2017/tokens}/properties/palette.json5 +0 -0
  46. package/design-tokens/{tokens → legacy-2017/tokens}/properties/typography.json5 +0 -0
  47. package/design-tokens/{tokens.d.ts → legacy-2017/tokens.d.ts} +22 -2
  48. package/design-tokens/pt-2022/tokens/components/alert.json5 +83 -0
  49. package/design-tokens/pt-2022/tokens/components/autocomplete.json5 +11 -0
  50. package/design-tokens/pt-2022/tokens/components/badge.json5 +184 -0
  51. package/design-tokens/pt-2022/tokens/components/button-toggle.json5 +10 -0
  52. package/design-tokens/pt-2022/tokens/components/button.json5 +143 -0
  53. package/design-tokens/pt-2022/tokens/components/card.json5 +51 -0
  54. package/design-tokens/pt-2022/tokens/components/checkbox.json5 +39 -0
  55. package/design-tokens/pt-2022/tokens/components/datepicker.json5 +64 -0
  56. package/design-tokens/pt-2022/tokens/components/divider.json5 +8 -0
  57. package/design-tokens/pt-2022/tokens/components/dropdown.json5 +47 -0
  58. package/design-tokens/pt-2022/tokens/components/form-field.json5 +52 -0
  59. package/design-tokens/pt-2022/tokens/components/forms.json5 +52 -0
  60. package/design-tokens/pt-2022/tokens/components/input.json5 +13 -0
  61. package/design-tokens/pt-2022/tokens/components/link.json5 +56 -0
  62. package/design-tokens/pt-2022/tokens/components/list.json5 +15 -0
  63. package/design-tokens/pt-2022/tokens/components/modal.json5 +79 -0
  64. package/design-tokens/pt-2022/tokens/components/navbar.json5 +69 -0
  65. package/design-tokens/pt-2022/tokens/components/optgroup.json5 +10 -0
  66. package/design-tokens/pt-2022/tokens/components/option.json5 +12 -0
  67. package/design-tokens/pt-2022/tokens/components/popover.json5 +68 -0
  68. package/design-tokens/pt-2022/tokens/components/popup.json5 +18 -0
  69. package/design-tokens/pt-2022/tokens/components/progress-bar.json5 +13 -0
  70. package/design-tokens/pt-2022/tokens/components/progress-spinner.json5 +7 -0
  71. package/design-tokens/pt-2022/tokens/components/radio.json5 +44 -0
  72. package/design-tokens/pt-2022/tokens/components/select.json5 +25 -0
  73. package/design-tokens/pt-2022/tokens/components/sidepanel.json5 +30 -0
  74. package/design-tokens/pt-2022/tokens/components/table.json5 +15 -0
  75. package/design-tokens/pt-2022/tokens/components/tabs.json5 +25 -0
  76. package/design-tokens/pt-2022/tokens/components/tags.json5 +132 -0
  77. package/design-tokens/pt-2022/tokens/components/textarea.json5 +12 -0
  78. package/design-tokens/pt-2022/tokens/components/timepicker.json5 +7 -0
  79. package/design-tokens/pt-2022/tokens/components/toggle.json5 +79 -0
  80. package/design-tokens/pt-2022/tokens/components/tooltip.json5 +83 -0
  81. package/design-tokens/pt-2022/tokens/components/tree.json5 +12 -0
  82. package/design-tokens/pt-2022/tokens/properties/aliases.json5 +3 -0
  83. package/design-tokens/pt-2022/tokens/properties/colors.json5 +112 -0
  84. package/design-tokens/pt-2022/tokens/properties/font.json5 +15 -0
  85. package/design-tokens/pt-2022/tokens/properties/globals.json5 +30 -0
  86. package/design-tokens/pt-2022/tokens/properties/padding.json5 +3 -0
  87. package/design-tokens/pt-2022/tokens/properties/palette.json5 +226 -0
  88. package/design-tokens/pt-2022/tokens/properties/typography.json5 +140 -0
  89. package/design-tokens/pt-2022/tokens.d.ts +8696 -0
  90. package/design-tokens/public-api.d.ts +3 -1
  91. package/esm2020/autocomplete/autocomplete-origin.directive.mjs +3 -3
  92. package/esm2020/autocomplete/autocomplete-trigger.directive.mjs +3 -3
  93. package/esm2020/autocomplete/autocomplete.component.mjs +3 -3
  94. package/esm2020/autocomplete/autocomplete.module.mjs +4 -4
  95. package/esm2020/button/button.component.mjs +6 -6
  96. package/esm2020/button/button.module.mjs +4 -4
  97. package/esm2020/button-toggle/button-toggle.component.mjs +6 -6
  98. package/esm2020/button-toggle/button-toggle.module.mjs +4 -4
  99. package/esm2020/card/card.component.mjs +3 -3
  100. package/esm2020/card/card.module.mjs +4 -4
  101. package/esm2020/checkbox/checkbox-module.mjs +4 -4
  102. package/esm2020/checkbox/checkbox-required-validator.mjs +3 -3
  103. package/esm2020/checkbox/checkbox.mjs +3 -3
  104. package/esm2020/core/common-behaviors/common-module.mjs +4 -4
  105. package/esm2020/core/error/error-options.mjs +6 -6
  106. package/esm2020/core/formatters/date/formatter.mjs +76 -31
  107. package/esm2020/core/formatters/date/templates/en-US.mjs +38 -37
  108. package/esm2020/core/formatters/date/templates/ru-RU.mjs +38 -37
  109. package/esm2020/core/formatters/index.mjs +4 -4
  110. package/esm2020/core/formatters/number/formatter.mjs +4 -4
  111. package/esm2020/core/forms/forms-module.mjs +4 -4
  112. package/esm2020/core/forms/forms.directive.mjs +6 -6
  113. package/esm2020/core/highlight/highlight.pipe.mjs +3 -3
  114. package/esm2020/core/highlight/index.mjs +4 -4
  115. package/esm2020/core/line/line.mjs +7 -7
  116. package/esm2020/core/option/action.mjs +3 -3
  117. package/esm2020/core/option/optgroup.mjs +3 -3
  118. package/esm2020/core/option/option-module.mjs +4 -4
  119. package/esm2020/core/option/option.mjs +3 -3
  120. package/esm2020/core/pop-up/pop-up-trigger.mjs +4 -6
  121. package/esm2020/core/pop-up/pop-up.mjs +3 -3
  122. package/esm2020/core/public-api.mjs +2 -1
  123. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +3 -3
  124. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +4 -4
  125. package/esm2020/core/services/measure-scrollbar.service.mjs +3 -3
  126. package/esm2020/core/version.mjs +3 -0
  127. package/esm2020/datepicker/calendar-body.component.mjs +3 -3
  128. package/esm2020/datepicker/calendar.component.mjs +6 -6
  129. package/esm2020/datepicker/datepicker-input.directive.mjs +3 -3
  130. package/esm2020/datepicker/datepicker-intl.mjs +3 -3
  131. package/esm2020/datepicker/datepicker-module.mjs +4 -4
  132. package/esm2020/datepicker/datepicker-toggle.component.mjs +6 -6
  133. package/esm2020/datepicker/datepicker.component.mjs +6 -6
  134. package/esm2020/datepicker/month-view.component.mjs +3 -3
  135. package/esm2020/datepicker/multi-year-view.component.mjs +3 -3
  136. package/esm2020/datepicker/year-view.component.mjs +3 -3
  137. package/esm2020/design-tokens/legacy-2017/tokens.mjs +953 -0
  138. package/esm2020/design-tokens/pt-2022/tokens.mjs +1013 -0
  139. package/esm2020/design-tokens/public-api.mjs +4 -2
  140. package/esm2020/divider/divider.component.mjs +3 -3
  141. package/esm2020/divider/divider.module.mjs +4 -4
  142. package/esm2020/dropdown/dropdown-content.directive.mjs +3 -3
  143. package/esm2020/dropdown/dropdown-item.component.mjs +3 -3
  144. package/esm2020/dropdown/dropdown-trigger.directive.mjs +3 -3
  145. package/esm2020/dropdown/dropdown.component.mjs +3 -3
  146. package/esm2020/dropdown/dropdown.module.mjs +4 -4
  147. package/esm2020/form-field/cleaner.mjs +5 -5
  148. package/esm2020/form-field/form-field.mjs +6 -6
  149. package/esm2020/form-field/form-field.module.mjs +4 -4
  150. package/esm2020/form-field/hint.mjs +3 -3
  151. package/esm2020/form-field/prefix.mjs +3 -3
  152. package/esm2020/form-field/stepper.mjs +3 -3
  153. package/esm2020/form-field/suffix.mjs +3 -3
  154. package/esm2020/icon/icon.component.mjs +6 -6
  155. package/esm2020/icon/icon.module.mjs +4 -4
  156. package/esm2020/input/input-number-validators.mjs +6 -6
  157. package/esm2020/input/input-number.mjs +3 -3
  158. package/esm2020/input/input.mjs +6 -6
  159. package/esm2020/input/input.module.mjs +4 -4
  160. package/esm2020/link/link.component.mjs +3 -3
  161. package/esm2020/link/link.module.mjs +4 -4
  162. package/esm2020/list/list-selection.component.mjs +20 -26
  163. package/esm2020/list/list.component.mjs +6 -6
  164. package/esm2020/list/list.module.mjs +4 -4
  165. package/esm2020/modal/css-unit.pipe.mjs +3 -3
  166. package/esm2020/modal/modal-control.service.mjs +26 -4
  167. package/esm2020/modal/modal.component.mjs +3 -3
  168. package/esm2020/modal/modal.directive.mjs +12 -12
  169. package/esm2020/modal/modal.module.mjs +4 -4
  170. package/esm2020/modal/modal.service.mjs +3 -3
  171. package/esm2020/navbar/navbar-item.component.mjs +30 -30
  172. package/esm2020/navbar/navbar.component.mjs +9 -9
  173. package/esm2020/navbar/navbar.module.mjs +4 -4
  174. package/esm2020/navbar/vertical-navbar.component.mjs +3 -3
  175. package/esm2020/popover/popover-confirm.component.mjs +6 -6
  176. package/esm2020/popover/popover.component.mjs +6 -6
  177. package/esm2020/popover/popover.module.mjs +4 -4
  178. package/esm2020/progress-bar/progress-bar.component.mjs +3 -3
  179. package/esm2020/progress-bar/progress-bar.module.mjs +4 -4
  180. package/esm2020/progress-spinner/progress-spinner.component.mjs +3 -3
  181. package/esm2020/progress-spinner/progress-spinner.module.mjs +4 -4
  182. package/esm2020/radio/radio.component.mjs +6 -6
  183. package/esm2020/radio/radio.module.mjs +4 -4
  184. package/esm2020/select/select.component.mjs +12 -12
  185. package/esm2020/select/select.module.mjs +4 -4
  186. package/esm2020/sidebar/sidebar.component.mjs +9 -9
  187. package/esm2020/sidebar/sidebar.module.mjs +4 -4
  188. package/esm2020/sidepanel/sidepanel-container.component.mjs +3 -3
  189. package/esm2020/sidepanel/sidepanel-directives.mjs +15 -15
  190. package/esm2020/sidepanel/sidepanel.module.mjs +4 -4
  191. package/esm2020/sidepanel/sidepanel.service.mjs +3 -3
  192. package/esm2020/splitter/splitter.component.mjs +12 -12
  193. package/esm2020/splitter/splitter.module.mjs +4 -4
  194. package/esm2020/table/table.component.mjs +3 -3
  195. package/esm2020/table/table.module.mjs +4 -4
  196. package/esm2020/tabs/paginated-tab-header.mjs +3 -3
  197. package/esm2020/tabs/tab-body.component.mjs +6 -6
  198. package/esm2020/tabs/tab-content.directive.mjs +3 -3
  199. package/esm2020/tabs/tab-group.component.mjs +18 -18
  200. package/esm2020/tabs/tab-header.component.mjs +3 -3
  201. package/esm2020/tabs/tab-label-wrapper.directive.mjs +3 -3
  202. package/esm2020/tabs/tab-label.directive.mjs +3 -3
  203. package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +6 -6
  204. package/esm2020/tabs/tab.component.mjs +3 -3
  205. package/esm2020/tabs/tabs.module.mjs +4 -4
  206. package/esm2020/tags/tag-input.mjs +3 -3
  207. package/esm2020/tags/tag-list.component.mjs +3 -3
  208. package/esm2020/tags/tag.component.mjs +61 -58
  209. package/esm2020/tags/tag.module.mjs +4 -4
  210. package/esm2020/textarea/textarea.component.mjs +3 -3
  211. package/esm2020/textarea/textarea.module.mjs +4 -4
  212. package/esm2020/timepicker/timepicker.directive.mjs +3 -3
  213. package/esm2020/timepicker/timepicker.module.mjs +4 -4
  214. package/esm2020/toggle/toggle.component.mjs +3 -3
  215. package/esm2020/toggle/toggle.module.mjs +4 -4
  216. package/esm2020/tooltip/tooltip.component.mjs +14 -14
  217. package/esm2020/tooltip/tooltip.module.mjs +4 -4
  218. package/esm2020/tree/data-source/flat-data-source.mjs +4 -4
  219. package/esm2020/tree/node.mjs +3 -3
  220. package/esm2020/tree/outlet.mjs +3 -3
  221. package/esm2020/tree/padding.directive.mjs +3 -3
  222. package/esm2020/tree/toggle.mjs +11 -11
  223. package/esm2020/tree/tree-base.mjs +6 -6
  224. package/esm2020/tree/tree-option.component.mjs +17 -9
  225. package/esm2020/tree/tree-selection.component.mjs +8 -5
  226. package/esm2020/tree/tree.mjs +3 -3
  227. package/esm2020/tree/tree.module.mjs +4 -4
  228. package/esm2020/tree-select/tree-select.component.mjs +46 -10
  229. package/esm2020/tree-select/tree-select.module.mjs +15 -11
  230. package/fesm2015/ptsecurity-mosaic-autocomplete.mjs +13 -13
  231. package/fesm2015/ptsecurity-mosaic-button-toggle.mjs +10 -10
  232. package/fesm2015/ptsecurity-mosaic-button.mjs +10 -10
  233. package/fesm2015/ptsecurity-mosaic-card.mjs +7 -7
  234. package/fesm2015/ptsecurity-mosaic-checkbox.mjs +10 -10
  235. package/fesm2015/ptsecurity-mosaic-core.mjs +225 -178
  236. package/fesm2015/ptsecurity-mosaic-core.mjs.map +1 -1
  237. package/fesm2015/ptsecurity-mosaic-datepicker.mjs +40 -40
  238. package/fesm2015/ptsecurity-mosaic-design-tokens.mjs +2466 -480
  239. package/fesm2015/ptsecurity-mosaic-design-tokens.mjs.map +1 -1
  240. package/fesm2015/ptsecurity-mosaic-divider.mjs +7 -7
  241. package/fesm2015/ptsecurity-mosaic-dropdown.mjs +16 -16
  242. package/fesm2015/ptsecurity-mosaic-form-field.mjs +26 -26
  243. package/fesm2015/ptsecurity-mosaic-form-field.mjs.map +1 -1
  244. package/fesm2015/ptsecurity-mosaic-icon.mjs +10 -10
  245. package/fesm2015/ptsecurity-mosaic-input.mjs +19 -19
  246. package/fesm2015/ptsecurity-mosaic-link.mjs +7 -7
  247. package/fesm2015/ptsecurity-mosaic-list.mjs +30 -35
  248. package/fesm2015/ptsecurity-mosaic-list.mjs.map +1 -1
  249. package/fesm2015/ptsecurity-mosaic-modal.mjs +50 -28
  250. package/fesm2015/ptsecurity-mosaic-modal.mjs.map +1 -1
  251. package/fesm2015/ptsecurity-mosaic-navbar.mjs +46 -46
  252. package/fesm2015/ptsecurity-mosaic-popover.mjs +16 -16
  253. package/fesm2015/ptsecurity-mosaic-progress-bar.mjs +7 -7
  254. package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs +7 -7
  255. package/fesm2015/ptsecurity-mosaic-radio.mjs +10 -10
  256. package/fesm2015/ptsecurity-mosaic-select.mjs +16 -16
  257. package/fesm2015/ptsecurity-mosaic-sidebar.mjs +13 -13
  258. package/fesm2015/ptsecurity-mosaic-sidepanel.mjs +25 -25
  259. package/fesm2015/ptsecurity-mosaic-splitter.mjs +16 -16
  260. package/fesm2015/ptsecurity-mosaic-table.mjs +7 -7
  261. package/fesm2015/ptsecurity-mosaic-tabs.mjs +52 -52
  262. package/fesm2015/ptsecurity-mosaic-tags.mjs +72 -67
  263. package/fesm2015/ptsecurity-mosaic-tags.mjs.map +1 -1
  264. package/fesm2015/ptsecurity-mosaic-textarea.mjs +7 -7
  265. package/fesm2015/ptsecurity-mosaic-timepicker.mjs +7 -7
  266. package/fesm2015/ptsecurity-mosaic-toggle.mjs +7 -7
  267. package/fesm2015/ptsecurity-mosaic-tooltip.mjs +17 -17
  268. package/fesm2015/ptsecurity-mosaic-tooltip.mjs.map +1 -1
  269. package/fesm2015/ptsecurity-mosaic-tree-select.mjs +59 -19
  270. package/fesm2015/ptsecurity-mosaic-tree-select.mjs.map +1 -1
  271. package/fesm2015/ptsecurity-mosaic-tree.mjs +58 -47
  272. package/fesm2015/ptsecurity-mosaic-tree.mjs.map +1 -1
  273. package/fesm2020/ptsecurity-mosaic-autocomplete.mjs +13 -13
  274. package/fesm2020/ptsecurity-mosaic-button-toggle.mjs +10 -10
  275. package/fesm2020/ptsecurity-mosaic-button.mjs +10 -10
  276. package/fesm2020/ptsecurity-mosaic-card.mjs +7 -7
  277. package/fesm2020/ptsecurity-mosaic-checkbox.mjs +10 -10
  278. package/fesm2020/ptsecurity-mosaic-core.mjs +225 -178
  279. package/fesm2020/ptsecurity-mosaic-core.mjs.map +1 -1
  280. package/fesm2020/ptsecurity-mosaic-datepicker.mjs +40 -40
  281. package/fesm2020/ptsecurity-mosaic-design-tokens.mjs +2466 -480
  282. package/fesm2020/ptsecurity-mosaic-design-tokens.mjs.map +1 -1
  283. package/fesm2020/ptsecurity-mosaic-divider.mjs +7 -7
  284. package/fesm2020/ptsecurity-mosaic-dropdown.mjs +16 -16
  285. package/fesm2020/ptsecurity-mosaic-form-field.mjs +26 -26
  286. package/fesm2020/ptsecurity-mosaic-form-field.mjs.map +1 -1
  287. package/fesm2020/ptsecurity-mosaic-icon.mjs +10 -10
  288. package/fesm2020/ptsecurity-mosaic-input.mjs +19 -19
  289. package/fesm2020/ptsecurity-mosaic-link.mjs +7 -7
  290. package/fesm2020/ptsecurity-mosaic-list.mjs +29 -35
  291. package/fesm2020/ptsecurity-mosaic-list.mjs.map +1 -1
  292. package/fesm2020/ptsecurity-mosaic-modal.mjs +50 -28
  293. package/fesm2020/ptsecurity-mosaic-modal.mjs.map +1 -1
  294. package/fesm2020/ptsecurity-mosaic-navbar.mjs +46 -46
  295. package/fesm2020/ptsecurity-mosaic-popover.mjs +16 -16
  296. package/fesm2020/ptsecurity-mosaic-progress-bar.mjs +7 -7
  297. package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs +7 -7
  298. package/fesm2020/ptsecurity-mosaic-radio.mjs +10 -10
  299. package/fesm2020/ptsecurity-mosaic-select.mjs +16 -16
  300. package/fesm2020/ptsecurity-mosaic-sidebar.mjs +13 -13
  301. package/fesm2020/ptsecurity-mosaic-sidepanel.mjs +25 -25
  302. package/fesm2020/ptsecurity-mosaic-splitter.mjs +16 -16
  303. package/fesm2020/ptsecurity-mosaic-table.mjs +7 -7
  304. package/fesm2020/ptsecurity-mosaic-tabs.mjs +52 -52
  305. package/fesm2020/ptsecurity-mosaic-tags.mjs +70 -67
  306. package/fesm2020/ptsecurity-mosaic-tags.mjs.map +1 -1
  307. package/fesm2020/ptsecurity-mosaic-textarea.mjs +7 -7
  308. package/fesm2020/ptsecurity-mosaic-timepicker.mjs +7 -7
  309. package/fesm2020/ptsecurity-mosaic-toggle.mjs +7 -7
  310. package/fesm2020/ptsecurity-mosaic-tooltip.mjs +17 -17
  311. package/fesm2020/ptsecurity-mosaic-tooltip.mjs.map +1 -1
  312. package/fesm2020/ptsecurity-mosaic-tree-select.mjs +58 -19
  313. package/fesm2020/ptsecurity-mosaic-tree-select.mjs.map +1 -1
  314. package/fesm2020/ptsecurity-mosaic-tree.mjs +58 -47
  315. package/fesm2020/ptsecurity-mosaic-tree.mjs.map +1 -1
  316. package/modal/modal-control.service.d.ts +1 -0
  317. package/package.json +4 -4
  318. package/prebuilt-themes/dark-theme.css +1 -1
  319. package/prebuilt-themes/default-theme.css +1 -1
  320. package/prebuilt-visual/default-visual.css +1 -1
  321. package/tags/tag.component.d.ts +20 -20
  322. package/tree/data-source/flat-data-source.d.ts +2 -2
  323. package/tree/toggle.d.ts +1 -1
  324. package/tree/tree-option.component.d.ts +5 -3
  325. package/tree/tree-selection.component.d.ts +1 -0
  326. package/tree-select/tree-select.component.d.ts +9 -1
  327. package/tree-select/tree-select.module.d.ts +2 -1
  328. package/esm2020/design-tokens/tokens.mjs +0 -933
@@ -2,7 +2,7 @@ import { PlatformModule } from '@angular/cdk/platform';
2
2
  import * as i4 from '@angular/common';
3
3
  import { CommonModule } from '@angular/common';
4
4
  import * as i0 from '@angular/core';
5
- import { InjectionToken, EventEmitter, Directive, Inject, Optional, Self, Input, Output, Component, ChangeDetectionStrategy, ViewEncapsulation, ContentChildren, ContentChild, forwardRef, NgModule } from '@angular/core';
5
+ import { InjectionToken, EventEmitter, Directive, Inject, Optional, Self, Input, Output, forwardRef, Component, ChangeDetectionStrategy, ViewEncapsulation, ContentChildren, ContentChild, NgModule } from '@angular/core';
6
6
  import { ENTER, TAB, SPACE, COMMA, hasModifierKey, BACKSPACE, DELETE, HOME, END } from '@ptsecurity/cdk/keycodes';
7
7
  import { coerceBooleanProperty } from '@angular/cdk/coercion';
8
8
  import * as i3 from '@angular/forms';
@@ -195,9 +195,9 @@ class McTagInput {
195
195
  return this.separatorKeyCodes.indexOf(event.keyCode) > -1;
196
196
  }
197
197
  }
198
- /** @nocollapse */ /** @nocollapse */ McTagInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McTagInput, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: MC_TAGS_DEFAULT_OPTIONS }, { token: i3.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive });
199
- /** @nocollapse */ /** @nocollapse */ McTagInput.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: McTagInput, selector: "input[mcTagInputFor]", inputs: { separatorKeyCodes: ["mcTagInputSeparatorKeyCodes", "separatorKeyCodes"], placeholder: "placeholder", id: "id", tagList: ["mcTagInputFor", "tagList"], addOnBlur: ["mcTagInputAddOnBlur", "addOnBlur"], disabled: "disabled" }, outputs: { tagEnd: "mcTagInputTokenEnd" }, host: { listeners: { "keydown": "onKeydown($event)", "blur": "blur()", "focus": "onFocus()", "input": "onInput()", "paste": "onPaste($event)" }, properties: { "id": "id", "attr.disabled": "disabled || null", "attr.placeholder": "placeholder || null" }, classAttribute: "mc-tag-input" }, exportAs: ["mcTagInput", "mcTagInputFor"], usesOnChanges: true, ngImport: i0 });
200
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McTagInput, decorators: [{
198
+ /** @nocollapse */ /** @nocollapse */ McTagInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McTagInput, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: MC_TAGS_DEFAULT_OPTIONS }, { token: i3.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive });
199
+ /** @nocollapse */ /** @nocollapse */ McTagInput.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.0", type: McTagInput, selector: "input[mcTagInputFor]", inputs: { separatorKeyCodes: ["mcTagInputSeparatorKeyCodes", "separatorKeyCodes"], placeholder: "placeholder", id: "id", tagList: ["mcTagInputFor", "tagList"], addOnBlur: ["mcTagInputAddOnBlur", "addOnBlur"], disabled: "disabled" }, outputs: { tagEnd: "mcTagInputTokenEnd" }, host: { listeners: { "keydown": "onKeydown($event)", "blur": "blur()", "focus": "onFocus()", "input": "onInput()", "paste": "onPaste($event)" }, properties: { "id": "id", "attr.disabled": "disabled || null", "attr.placeholder": "placeholder || null" }, classAttribute: "mc-tag-input" }, exportAs: ["mcTagInput", "mcTagInputFor"], usesOnChanges: true, ngImport: i0 });
200
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McTagInput, decorators: [{
201
201
  type: Directive,
202
202
  args: [{
203
203
  selector: 'input[mcTagInputFor]',
@@ -258,9 +258,9 @@ const TAG_ATTRIBUTE_NAMES = ['mc-basic-tag'];
258
258
  */
259
259
  class McTagAvatar {
260
260
  }
261
- /** @nocollapse */ /** @nocollapse */ McTagAvatar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McTagAvatar, deps: [], target: i0.ɵɵFactoryTarget.Directive });
262
- /** @nocollapse */ /** @nocollapse */ McTagAvatar.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: McTagAvatar, selector: "mc-tag-avatar, [mcTagAvatar]", host: { classAttribute: "mc-tag-avatar" }, ngImport: i0 });
263
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McTagAvatar, decorators: [{
261
+ /** @nocollapse */ /** @nocollapse */ McTagAvatar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McTagAvatar, deps: [], target: i0.ɵɵFactoryTarget.Directive });
262
+ /** @nocollapse */ /** @nocollapse */ McTagAvatar.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.0", type: McTagAvatar, selector: "mc-tag-avatar, [mcTagAvatar]", host: { classAttribute: "mc-tag-avatar" }, ngImport: i0 });
263
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McTagAvatar, decorators: [{
264
264
  type: Directive,
265
265
  args: [{
266
266
  selector: 'mc-tag-avatar, [mcTagAvatar]',
@@ -273,15 +273,66 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
273
273
  */
274
274
  class McTagTrailingIcon {
275
275
  }
276
- /** @nocollapse */ /** @nocollapse */ McTagTrailingIcon.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McTagTrailingIcon, deps: [], target: i0.ɵɵFactoryTarget.Directive });
277
- /** @nocollapse */ /** @nocollapse */ McTagTrailingIcon.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: McTagTrailingIcon, selector: "mc-tag-trailing-icon, [mcTagTrailingIcon]", host: { classAttribute: "mc-tag-trailing-icon" }, ngImport: i0 });
278
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McTagTrailingIcon, decorators: [{
276
+ /** @nocollapse */ /** @nocollapse */ McTagTrailingIcon.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McTagTrailingIcon, deps: [], target: i0.ɵɵFactoryTarget.Directive });
277
+ /** @nocollapse */ /** @nocollapse */ McTagTrailingIcon.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.0", type: McTagTrailingIcon, selector: "mc-tag-trailing-icon, [mcTagTrailingIcon]", host: { classAttribute: "mc-tag-trailing-icon" }, ngImport: i0 });
278
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McTagTrailingIcon, decorators: [{
279
279
  type: Directive,
280
280
  args: [{
281
281
  selector: 'mc-tag-trailing-icon, [mcTagTrailingIcon]',
282
282
  host: { class: 'mc-tag-trailing-icon' }
283
283
  }]
284
284
  }] });
285
+ /**
286
+ *
287
+ * Example:
288
+ *
289
+ * `<mc-tag>
290
+ * <mc-icon mcTagRemove>cancel</mc-icon>
291
+ * </mc-tag>`
292
+ *
293
+ * You *may* use a custom icon, but you may need to override the `mc-tag-remove` positioning
294
+ * styles to properly center the icon within the tag.
295
+ */
296
+ class McTagRemove {
297
+ constructor(parentTag) {
298
+ this.parentTag = parentTag;
299
+ }
300
+ focus($event) {
301
+ $event.stopPropagation();
302
+ }
303
+ /** Calls the parent tag's public `remove()` method if applicable. */
304
+ handleClick(event) {
305
+ if (this.parentTag.removable) {
306
+ this.parentTag.hasFocus = true;
307
+ this.parentTag.remove();
308
+ }
309
+ // We need to stop event propagation because otherwise the event will bubble up to the
310
+ // form field and cause the `onContainerClick` method to be invoked. This method would then
311
+ // reset the focused tag that has been focused after tag removal. Usually the parent
312
+ // the parent click listener of the `McTag` would prevent propagation, but it can happen
313
+ // that the tag is being removed before the event bubbles up.
314
+ event.stopPropagation();
315
+ }
316
+ }
317
+ /** @nocollapse */ /** @nocollapse */ McTagRemove.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McTagRemove, deps: [{ token: forwardRef(() => McTag) }], target: i0.ɵɵFactoryTarget.Directive });
318
+ /** @nocollapse */ /** @nocollapse */ McTagRemove.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.0", type: McTagRemove, selector: "[mcTagRemove]", host: { listeners: { "click": "handleClick($event)", "focus": "focus($event)" }, properties: { "attr.tabindex": "-1" }, classAttribute: "mc-tag-remove mc-tag-trailing-icon" }, ngImport: i0 });
319
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McTagRemove, decorators: [{
320
+ type: Directive,
321
+ args: [{
322
+ selector: '[mcTagRemove]',
323
+ host: {
324
+ class: 'mc-tag-remove mc-tag-trailing-icon',
325
+ '[attr.tabindex]': '-1',
326
+ '(click)': 'handleClick($event)',
327
+ '(focus)': 'focus($event)'
328
+ }
329
+ }]
330
+ }], ctorParameters: function () {
331
+ return [{ type: McTag, decorators: [{
332
+ type: Inject,
333
+ args: [forwardRef(() => McTag)]
334
+ }] }];
335
+ } });
285
336
  class McTagBase {
286
337
  // tslint:disable-next-line:naming-convention
287
338
  constructor(_elementRef) {
@@ -514,9 +565,9 @@ class McTag extends McTagMixinBase {
514
565
  });
515
566
  }
516
567
  }
517
- /** @nocollapse */ /** @nocollapse */ McTag.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McTag, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
518
- /** @nocollapse */ /** @nocollapse */ McTag.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: McTag, selector: "mc-tag, [mc-tag], mc-basic-tag, [mc-basic-tag]", inputs: { color: "color", selected: "selected", value: "value", selectable: "selectable", removable: "removable", disabled: "disabled" }, outputs: { selectionChange: "selectionChange", destroyed: "destroyed", removed: "removed" }, host: { listeners: { "click": "handleClick($event)", "keydown": "handleKeydown($event)", "focus": "focus()", "blur": "blur()" }, properties: { "attr.tabindex": "tabindex", "attr.disabled": "disabled || null", "class.mc-selected": "selected", "class.mc-focused": "hasFocus", "class.mc-tag-with-avatar": "avatar", "class.mc-tag-with-icon": "contentChildren", "class.mc-tag-with-trailing-icon": "trailingIcon || removeIcon", "class.mc-disabled": "disabled" }, classAttribute: "mc-tag" }, queries: [{ propertyName: "avatar", first: true, predicate: McTagAvatar, descendants: true }, { propertyName: "trailingIcon", first: true, predicate: McTagTrailingIcon, descendants: true }, { propertyName: "removeIcon", first: true, predicate: i0.forwardRef(function () { return McTagRemove; }), descendants: true }, { propertyName: "contentChildren", predicate: McIcon }], exportAs: ["mcTag"], usesInheritance: true, ngImport: i0, template: "<div class=\"mc-tag__wrapper\">\n <span class=\"mc-tag__text\"><ng-content></ng-content></span>\n <ng-content select=\"[mc-icon]\"></ng-content>\n <div class=\"mc-tag-overlay\"></div>\n</div>\n", styles: [".mc-tag{position:relative;display:inline-block;overflow:hidden;margin:2px;margin:var(--mc-tags-size-margin, 2px);height:24px;height:var(--mc-tags-size-height, 24px);border-width:1px;border-width:var(--mc-tags-size-border-width, 1px);border-style:solid;border-radius:4px;border-radius:var(--mc-tags-size-border-radius, 4px);cursor:default;outline:none;box-sizing:border-box}.mc-tag.mc-left-icon{padding-left:3px;padding-left:var(--mc-tags-size-icon-padding, 3px)}.mc-tag.mc-right-icon{padding-right:3px;padding-right:var(--mc-tags-size-icon-padding, 3px)}.mc-tag .mc-tag__text{margin-left:7px;margin-left:calc(var(--mc-tags-size-text-margin, 8px) - var(--mc-tags-size-border-width, 1px));text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mc-tag:not(.mc-tag-with-icon) .mc-tag__text{margin-right:7px;margin-right:calc(var(--mc-tags-size-text-margin, 8px) - var(--mc-tags-size-border-width, 1px))}.mc-tag__wrapper{display:flex;align-items:center;height:100%;flex:1 1 100%}.mc-tag__wrapper .mc-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:24px;width:var(--mc-tags-size-height, 24px);height:24px;height:var(--mc-tags-size-height, 24px)}.mc-tag__wrapper .mc-icon_left{margin-right:3px;margin-right:var(--mc-tags-size-icon-padding, 3px)}.mc-tag__wrapper .mc-icon_right{margin-left:3px;margin-left:var(--mc-tags-size-icon-padding, 3px)}.mc-tag-overlay{position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;pointer-events:none;border-radius:inherit}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
519
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McTag, decorators: [{
568
+ /** @nocollapse */ /** @nocollapse */ McTag.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McTag, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
569
+ /** @nocollapse */ /** @nocollapse */ McTag.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: McTag, selector: "mc-tag, [mc-tag], mc-basic-tag, [mc-basic-tag]", inputs: { color: "color", selected: "selected", value: "value", selectable: "selectable", removable: "removable", disabled: "disabled" }, outputs: { selectionChange: "selectionChange", destroyed: "destroyed", removed: "removed" }, host: { listeners: { "click": "handleClick($event)", "keydown": "handleKeydown($event)", "focus": "focus()", "blur": "blur()" }, properties: { "attr.tabindex": "tabindex", "attr.disabled": "disabled || null", "class.mc-selected": "selected", "class.mc-focused": "hasFocus", "class.mc-tag-with-avatar": "avatar", "class.mc-tag-with-icon": "contentChildren", "class.mc-tag-with-trailing-icon": "trailingIcon || removeIcon", "class.mc-disabled": "disabled" }, classAttribute: "mc-tag" }, queries: [{ propertyName: "avatar", first: true, predicate: McTagAvatar, descendants: true }, { propertyName: "trailingIcon", first: true, predicate: McTagTrailingIcon, descendants: true }, { propertyName: "removeIcon", first: true, predicate: i0.forwardRef(function () { return McTagRemove; }), descendants: true }, { propertyName: "contentChildren", predicate: McIcon }], exportAs: ["mcTag"], usesInheritance: true, ngImport: i0, template: "<div class=\"mc-tag__wrapper\">\n <span class=\"mc-tag__text\"><ng-content></ng-content></span>\n <ng-content select=\"[mc-icon]\"></ng-content>\n <div class=\"mc-tag-overlay\"></div>\n</div>\n", styles: [".mc-tag{position:relative;display:inline-block;overflow:hidden;margin:2px;margin:var(--mc-tags-size-margin, 2px);height:24px;height:var(--mc-tags-size-height, 24px);border-width:1px;border-width:var(--mc-tags-size-border-width, 1px);border-style:solid;border-radius:4px;border-radius:var(--mc-tags-size-border-radius, 4px);cursor:default;outline:none;box-sizing:border-box}.mc-tag .mc-icon:hover{cursor:pointer}.mc-tag.mc-disabled .mc-icon:hover{cursor:default}.mc-tag.mc-left-icon{padding-left:3px;padding-left:var(--mc-tags-size-icon-padding, 3px)}.mc-tag.mc-right-icon{padding-right:3px;padding-right:var(--mc-tags-size-icon-padding, 3px)}.mc-tag .mc-tag__text{margin-left:7px;margin-left:calc(var(--mc-tags-size-text-margin, 8px) - var(--mc-tags-size-border-width, 1px));text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mc-tag:not(.mc-tag-with-icon) .mc-tag__text{margin-right:7px;margin-right:calc(var(--mc-tags-size-text-margin, 8px) - var(--mc-tags-size-border-width, 1px))}.mc-tag__wrapper{display:flex;align-items:center;height:100%;flex:1 1 100%}.mc-tag__wrapper .mc-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:24px;width:var(--mc-tags-size-height, 24px);height:24px;height:var(--mc-tags-size-height, 24px)}.mc-tag__wrapper .mc-icon_left{margin-right:3px;margin-right:var(--mc-tags-size-icon-padding, 3px)}.mc-tag__wrapper .mc-icon_right{margin-left:3px;margin-left:var(--mc-tags-size-icon-padding, 3px)}.mc-tag-overlay{position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;pointer-events:none;border-radius:inherit}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
570
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McTag, decorators: [{
520
571
  type: Component,
521
572
  args: [{ selector: 'mc-tag, [mc-tag], mc-basic-tag, [mc-basic-tag]', exportAs: 'mcTag', inputs: ['color'], host: {
522
573
  class: 'mc-tag',
@@ -532,7 +583,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
532
583
  '(keydown)': 'handleKeydown($event)',
533
584
  '(focus)': 'focus()',
534
585
  '(blur)': 'blur()'
535
- }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div class=\"mc-tag__wrapper\">\n <span class=\"mc-tag__text\"><ng-content></ng-content></span>\n <ng-content select=\"[mc-icon]\"></ng-content>\n <div class=\"mc-tag-overlay\"></div>\n</div>\n", styles: [".mc-tag{position:relative;display:inline-block;overflow:hidden;margin:2px;margin:var(--mc-tags-size-margin, 2px);height:24px;height:var(--mc-tags-size-height, 24px);border-width:1px;border-width:var(--mc-tags-size-border-width, 1px);border-style:solid;border-radius:4px;border-radius:var(--mc-tags-size-border-radius, 4px);cursor:default;outline:none;box-sizing:border-box}.mc-tag.mc-left-icon{padding-left:3px;padding-left:var(--mc-tags-size-icon-padding, 3px)}.mc-tag.mc-right-icon{padding-right:3px;padding-right:var(--mc-tags-size-icon-padding, 3px)}.mc-tag .mc-tag__text{margin-left:7px;margin-left:calc(var(--mc-tags-size-text-margin, 8px) - var(--mc-tags-size-border-width, 1px));text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mc-tag:not(.mc-tag-with-icon) .mc-tag__text{margin-right:7px;margin-right:calc(var(--mc-tags-size-text-margin, 8px) - var(--mc-tags-size-border-width, 1px))}.mc-tag__wrapper{display:flex;align-items:center;height:100%;flex:1 1 100%}.mc-tag__wrapper .mc-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:24px;width:var(--mc-tags-size-height, 24px);height:24px;height:var(--mc-tags-size-height, 24px)}.mc-tag__wrapper .mc-icon_left{margin-right:3px;margin-right:var(--mc-tags-size-icon-padding, 3px)}.mc-tag__wrapper .mc-icon_right{margin-left:3px;margin-left:var(--mc-tags-size-icon-padding, 3px)}.mc-tag-overlay{position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;pointer-events:none;border-radius:inherit}\n"] }]
586
+ }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div class=\"mc-tag__wrapper\">\n <span class=\"mc-tag__text\"><ng-content></ng-content></span>\n <ng-content select=\"[mc-icon]\"></ng-content>\n <div class=\"mc-tag-overlay\"></div>\n</div>\n", styles: [".mc-tag{position:relative;display:inline-block;overflow:hidden;margin:2px;margin:var(--mc-tags-size-margin, 2px);height:24px;height:var(--mc-tags-size-height, 24px);border-width:1px;border-width:var(--mc-tags-size-border-width, 1px);border-style:solid;border-radius:4px;border-radius:var(--mc-tags-size-border-radius, 4px);cursor:default;outline:none;box-sizing:border-box}.mc-tag .mc-icon:hover{cursor:pointer}.mc-tag.mc-disabled .mc-icon:hover{cursor:default}.mc-tag.mc-left-icon{padding-left:3px;padding-left:var(--mc-tags-size-icon-padding, 3px)}.mc-tag.mc-right-icon{padding-right:3px;padding-right:var(--mc-tags-size-icon-padding, 3px)}.mc-tag .mc-tag__text{margin-left:7px;margin-left:calc(var(--mc-tags-size-text-margin, 8px) - var(--mc-tags-size-border-width, 1px));text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mc-tag:not(.mc-tag-with-icon) .mc-tag__text{margin-right:7px;margin-right:calc(var(--mc-tags-size-text-margin, 8px) - var(--mc-tags-size-border-width, 1px))}.mc-tag__wrapper{display:flex;align-items:center;height:100%;flex:1 1 100%}.mc-tag__wrapper .mc-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:24px;width:var(--mc-tags-size-height, 24px);height:24px;height:var(--mc-tags-size-height, 24px)}.mc-tag__wrapper .mc-icon_left{margin-right:3px;margin-right:var(--mc-tags-size-icon-padding, 3px)}.mc-tag__wrapper .mc-icon_right{margin-left:3px;margin-left:var(--mc-tags-size-icon-padding, 3px)}.mc-tag-overlay{position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;pointer-events:none;border-radius:inherit}\n"] }]
536
587
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }]; }, propDecorators: { contentChildren: [{
537
588
  type: ContentChildren,
538
589
  args: [McIcon]
@@ -562,52 +613,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
562
613
  }], disabled: [{
563
614
  type: Input
564
615
  }] } });
565
- /**
566
- *
567
- * Example:
568
- *
569
- * `<mc-tag>
570
- * <mc-icon mcTagRemove>cancel</mc-icon>
571
- * </mc-tag>`
572
- *
573
- * You *may* use a custom icon, but you may need to override the `mc-tag-remove` positioning
574
- * styles to properly center the icon within the tag.
575
- */
576
- class McTagRemove {
577
- constructor(parentTag) {
578
- this.parentTag = parentTag;
579
- }
580
- focus($event) {
581
- $event.stopPropagation();
582
- }
583
- /** Calls the parent tag's public `remove()` method if applicable. */
584
- handleClick(event) {
585
- if (this.parentTag.removable) {
586
- this.parentTag.hasFocus = true;
587
- this.parentTag.remove();
588
- }
589
- // We need to stop event propagation because otherwise the event will bubble up to the
590
- // form field and cause the `onContainerClick` method to be invoked. This method would then
591
- // reset the focused tag that has been focused after tag removal. Usually the parent
592
- // the parent click listener of the `McTag` would prevent propagation, but it can happen
593
- // that the tag is being removed before the event bubbles up.
594
- event.stopPropagation();
595
- }
596
- }
597
- /** @nocollapse */ /** @nocollapse */ McTagRemove.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McTagRemove, deps: [{ token: McTag }], target: i0.ɵɵFactoryTarget.Directive });
598
- /** @nocollapse */ /** @nocollapse */ McTagRemove.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: McTagRemove, selector: "[mcTagRemove]", host: { listeners: { "click": "handleClick($event)", "focus": "focus($event)" }, properties: { "attr.tabindex": "-1" }, classAttribute: "mc-tag-remove mc-tag-trailing-icon" }, ngImport: i0 });
599
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McTagRemove, decorators: [{
600
- type: Directive,
601
- args: [{
602
- selector: '[mcTagRemove]',
603
- host: {
604
- class: 'mc-tag-remove mc-tag-trailing-icon',
605
- '[attr.tabindex]': '-1',
606
- '(click)': 'handleClick($event)',
607
- '(focus)': 'focus($event)'
608
- }
609
- }]
610
- }], ctorParameters: function () { return [{ type: McTag }]; } });
611
616
 
612
617
  class McTagListBase {
613
618
  constructor(defaultErrorStateMatcher, parentForm, parentFormGroup, ngControl) {
@@ -1236,9 +1241,9 @@ class McTagList extends McTagListMixinBase {
1236
1241
  }
1237
1242
  }
1238
1243
  }
1239
- /** @nocollapse */ /** @nocollapse */ McTagList.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McTagList, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.ErrorStateMatcher }, { token: NG_VALIDATORS, optional: true }, { token: MC_VALIDATION, optional: true }, { token: i2.Directionality, optional: true }, { token: i3.NgForm, optional: true }, { token: i3.FormGroupDirective, optional: true }, { token: i3.NgControl, optional: true, self: true }, { token: i3.NgModel, optional: true, self: true }, { token: i3.FormControlName, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component });
1240
- /** @nocollapse */ /** @nocollapse */ McTagList.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: McTagList, selector: "mc-tag-list", inputs: { multiple: "multiple", compareWith: "compareWith", value: "value", required: "required", placeholder: "placeholder", disabled: "disabled", selectable: "selectable", tabIndex: "tabIndex", errorStateMatcher: "errorStateMatcher", orientation: "orientation" }, outputs: { valueChange: "valueChange", change: "change" }, host: { listeners: { "focus": "focus()", "blur": "blur()", "keydown": "keydown($event)" }, properties: { "class.mc-disabled": "disabled", "class.mc-invalid": "errorState", "attr.tabindex": "disabled ? null : tabIndex", "id": "uid" }, classAttribute: "mc-tag-list" }, providers: [{ provide: McFormFieldControl, useExisting: McTagList }], queries: [{ propertyName: "cleaner", first: true, predicate: ["mcTagListCleaner"], descendants: true, static: true }, { propertyName: "tags", predicate: McTag, descendants: true }], exportAs: ["mcTagList"], usesInheritance: true, ngImport: i0, template: "<div class=\"mc-tags-list__list-container\">\n <ng-content></ng-content>\n</div>\n\n<div class=\"mc-tags-list__cleaner\"\n *ngIf=\"canShowCleaner\">\n <ng-content select=\"mc-cleaner\"></ng-content>\n</div>\n", styles: [".mc-tag-list{display:flex;flex-direction:row;box-sizing:border-box}.mc-tag-input{border:none;outline:none;background:transparent}.mc-tags-list__list-container{display:flex;flex-wrap:wrap;flex:1 1 100%;box-sizing:border-box;min-width:0;min-height:30px;min-height:var(--mc-tag-list-size-min-height, 30px);padding:1px 6px;padding:var(--mc-tag-list-size-padding, 1px 6px)}.mc-tags-list__list-container .mc-tag-input{max-width:100%;flex:1 1 auto;height:22px;height:var(--mc-tag-input-size-height, 22px);margin:2px 4px;margin:var(--mc-tag-input-size-margin, 2px 4px)}.mc-tags-list__cleaner .mc-cleaner{height:30px}\n"], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1241
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McTagList, decorators: [{
1244
+ /** @nocollapse */ /** @nocollapse */ McTagList.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McTagList, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.ErrorStateMatcher }, { token: NG_VALIDATORS, optional: true }, { token: MC_VALIDATION, optional: true }, { token: i2.Directionality, optional: true }, { token: i3.NgForm, optional: true }, { token: i3.FormGroupDirective, optional: true }, { token: i3.NgControl, optional: true, self: true }, { token: i3.NgModel, optional: true, self: true }, { token: i3.FormControlName, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component });
1245
+ /** @nocollapse */ /** @nocollapse */ McTagList.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.0", type: McTagList, selector: "mc-tag-list", inputs: { multiple: "multiple", compareWith: "compareWith", value: "value", required: "required", placeholder: "placeholder", disabled: "disabled", selectable: "selectable", tabIndex: "tabIndex", errorStateMatcher: "errorStateMatcher", orientation: "orientation" }, outputs: { valueChange: "valueChange", change: "change" }, host: { listeners: { "focus": "focus()", "blur": "blur()", "keydown": "keydown($event)" }, properties: { "class.mc-disabled": "disabled", "class.mc-invalid": "errorState", "attr.tabindex": "disabled ? null : tabIndex", "id": "uid" }, classAttribute: "mc-tag-list" }, providers: [{ provide: McFormFieldControl, useExisting: McTagList }], queries: [{ propertyName: "cleaner", first: true, predicate: ["mcTagListCleaner"], descendants: true, static: true }, { propertyName: "tags", predicate: McTag, descendants: true }], exportAs: ["mcTagList"], usesInheritance: true, ngImport: i0, template: "<div class=\"mc-tags-list__list-container\">\n <ng-content></ng-content>\n</div>\n\n<div class=\"mc-tags-list__cleaner\"\n *ngIf=\"canShowCleaner\">\n <ng-content select=\"mc-cleaner\"></ng-content>\n</div>\n", styles: [".mc-tag-list{display:flex;flex-direction:row;box-sizing:border-box}.mc-tag-input{border:none;outline:none;background:transparent}.mc-tags-list__list-container{display:flex;flex-wrap:wrap;flex:1 1 100%;box-sizing:border-box;min-width:0;min-height:30px;min-height:var(--mc-tag-list-size-min-height, 30px);padding:1px 6px;padding:var(--mc-tag-list-size-padding, 1px 6px)}.mc-tags-list__list-container .mc-tag-input{max-width:100%;flex:1 1 auto;height:22px;height:var(--mc-tag-input-size-height, 22px);margin:2px 4px;margin:var(--mc-tag-input-size-margin, 2px 4px)}.mc-tags-list__cleaner .mc-cleaner{height:30px}\n"], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1246
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McTagList, decorators: [{
1242
1247
  type: Component,
1243
1248
  args: [{ selector: 'mc-tag-list', exportAs: 'mcTagList', host: {
1244
1249
  class: 'mc-tag-list',
@@ -1319,8 +1324,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
1319
1324
 
1320
1325
  class McTagsModule {
1321
1326
  }
1322
- /** @nocollapse */ /** @nocollapse */ McTagsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McTagsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1323
- /** @nocollapse */ /** @nocollapse */ McTagsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McTagsModule, declarations: [McTagList,
1327
+ /** @nocollapse */ /** @nocollapse */ McTagsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McTagsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1328
+ /** @nocollapse */ /** @nocollapse */ McTagsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McTagsModule, declarations: [McTagList,
1324
1329
  McTag,
1325
1330
  McTagInput,
1326
1331
  McTagTrailingIcon,
@@ -1331,12 +1336,12 @@ class McTagsModule {
1331
1336
  McTagTrailingIcon,
1332
1337
  McTagAvatar,
1333
1338
  McTagRemove] });
1334
- /** @nocollapse */ /** @nocollapse */ McTagsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McTagsModule, providers: [{
1339
+ /** @nocollapse */ /** @nocollapse */ McTagsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McTagsModule, providers: [{
1335
1340
  provide: MC_TAGS_DEFAULT_OPTIONS,
1336
1341
  // tslint:disable-next-line: no-object-literal-type-assertion
1337
1342
  useValue: { separatorKeyCodes: [ENTER] }
1338
1343
  }], imports: [[CommonModule, PlatformModule]] });
1339
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: McTagsModule, decorators: [{
1344
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: McTagsModule, decorators: [{
1340
1345
  type: NgModule,
1341
1346
  args: [{
1342
1347
  imports: [CommonModule, PlatformModule],