@ptsecurity/mosaic 13.1.0 → 13.3.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 (423) hide show
  1. package/_theming.scss +466 -168
  2. package/_visual.scss +419 -239
  3. package/button/button.component.d.ts +1 -1
  4. package/core/option/option.d.ts +1 -0
  5. package/core/pop-up/pop-up.d.ts +1 -0
  6. package/core/validation/validation.d.ts +3 -3
  7. package/design-tokens/legacy-2017/tokens.d.ts +155 -56
  8. package/design-tokens/pt-2022/tokens.d.ts +151 -52
  9. package/dl/README.md +0 -0
  10. package/dl/dl.component.d.ts +26 -0
  11. package/dl/dl.module.d.ts +10 -0
  12. package/dl/index.d.ts +1 -0
  13. package/dl/package.json +10 -0
  14. package/dl/ptsecurity-mosaic-dl.d.ts +5 -0
  15. package/dl/public-api.d.ts +2 -0
  16. package/esm2020/autocomplete/autocomplete-origin.directive.mjs +3 -3
  17. package/esm2020/autocomplete/autocomplete-trigger.directive.mjs +3 -3
  18. package/esm2020/autocomplete/autocomplete.component.mjs +5 -5
  19. package/esm2020/autocomplete/autocomplete.module.mjs +4 -4
  20. package/esm2020/button/button.component.mjs +29 -21
  21. package/esm2020/button/button.module.mjs +4 -4
  22. package/esm2020/button-toggle/button-toggle.component.mjs +8 -8
  23. package/esm2020/button-toggle/button-toggle.module.mjs +4 -4
  24. package/esm2020/card/card.component.mjs +4 -4
  25. package/esm2020/card/card.module.mjs +4 -4
  26. package/esm2020/checkbox/checkbox-module.mjs +4 -4
  27. package/esm2020/checkbox/checkbox-required-validator.mjs +3 -3
  28. package/esm2020/checkbox/checkbox.mjs +4 -4
  29. package/esm2020/core/common-behaviors/common-module.mjs +4 -4
  30. package/esm2020/core/error/error-options.mjs +6 -6
  31. package/esm2020/core/formatters/date/formatter.mjs +3 -3
  32. package/esm2020/core/formatters/index.mjs +4 -4
  33. package/esm2020/core/formatters/number/formatter.mjs +4 -4
  34. package/esm2020/core/forms/forms-module.mjs +4 -4
  35. package/esm2020/core/forms/forms.directive.mjs +6 -6
  36. package/esm2020/core/highlight/highlight.pipe.mjs +3 -3
  37. package/esm2020/core/highlight/index.mjs +4 -4
  38. package/esm2020/core/line/line.mjs +7 -7
  39. package/esm2020/core/option/action.mjs +3 -3
  40. package/esm2020/core/option/optgroup.mjs +4 -4
  41. package/esm2020/core/option/option-module.mjs +4 -4
  42. package/esm2020/core/option/option.mjs +10 -7
  43. package/esm2020/core/pop-up/pop-up-trigger.mjs +7 -12
  44. package/esm2020/core/pop-up/pop-up.mjs +7 -4
  45. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +4 -4
  46. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +4 -4
  47. package/esm2020/core/services/measure-scrollbar.service.mjs +3 -3
  48. package/esm2020/core/validation/validation.mjs +10 -5
  49. package/esm2020/datepicker/calendar-body.component.mjs +4 -4
  50. package/esm2020/datepicker/calendar.component.mjs +7 -7
  51. package/esm2020/datepicker/datepicker-input.directive.mjs +3 -3
  52. package/esm2020/datepicker/datepicker-intl.mjs +3 -3
  53. package/esm2020/datepicker/datepicker-module.mjs +4 -4
  54. package/esm2020/datepicker/datepicker-toggle.component.mjs +7 -7
  55. package/esm2020/datepicker/datepicker.component.mjs +8 -8
  56. package/esm2020/datepicker/month-view.component.mjs +3 -3
  57. package/esm2020/datepicker/multi-year-view.component.mjs +3 -3
  58. package/esm2020/datepicker/year-view.component.mjs +3 -3
  59. package/esm2020/design-tokens/legacy-2017/tokens.mjs +156 -57
  60. package/esm2020/design-tokens/pt-2022/tokens.mjs +152 -53
  61. package/esm2020/divider/divider.component.mjs +4 -4
  62. package/esm2020/divider/divider.module.mjs +4 -4
  63. package/esm2020/dl/dl.component.mjs +78 -0
  64. package/esm2020/dl/dl.module.mjs +42 -0
  65. package/esm2020/dl/index.mjs +2 -0
  66. package/esm2020/dl/ptsecurity-mosaic-dl.mjs +5 -0
  67. package/esm2020/dl/public-api.mjs +3 -0
  68. package/esm2020/dropdown/dropdown-content.directive.mjs +3 -3
  69. package/esm2020/dropdown/dropdown-item.component.mjs +5 -5
  70. package/esm2020/dropdown/dropdown-trigger.directive.mjs +3 -3
  71. package/esm2020/dropdown/dropdown.component.mjs +6 -6
  72. package/esm2020/dropdown/dropdown.module.mjs +4 -4
  73. package/esm2020/form-field/cleaner.mjs +3 -3
  74. package/esm2020/form-field/form-field.mjs +48 -28
  75. package/esm2020/form-field/form-field.module.mjs +10 -5
  76. package/esm2020/form-field/hint.mjs +6 -6
  77. package/esm2020/form-field/password-hint.mjs +134 -0
  78. package/esm2020/form-field/prefix.mjs +3 -3
  79. package/esm2020/form-field/public-api.mjs +2 -1
  80. package/esm2020/form-field/stepper.mjs +3 -3
  81. package/esm2020/form-field/suffix.mjs +3 -3
  82. package/esm2020/icon/icon.component.mjs +6 -6
  83. package/esm2020/icon/icon.module.mjs +4 -4
  84. package/esm2020/input/input-number-validators.mjs +6 -6
  85. package/esm2020/input/input-number.mjs +3 -3
  86. package/esm2020/input/input-password.mjs +368 -0
  87. package/esm2020/input/input.mjs +12 -11
  88. package/esm2020/input/input.module.mjs +50 -8
  89. package/esm2020/input/public-api.mjs +2 -1
  90. package/esm2020/link/link.component.mjs +3 -3
  91. package/esm2020/link/link.module.mjs +4 -4
  92. package/esm2020/list/list-selection.component.mjs +11 -11
  93. package/esm2020/list/list.component.mjs +7 -7
  94. package/esm2020/list/list.module.mjs +4 -4
  95. package/esm2020/modal/css-unit.pipe.mjs +3 -3
  96. package/esm2020/modal/modal-control.service.mjs +3 -3
  97. package/esm2020/modal/modal.component.mjs +4 -4
  98. package/esm2020/modal/modal.directive.mjs +12 -12
  99. package/esm2020/modal/modal.module.mjs +4 -4
  100. package/esm2020/modal/modal.service.mjs +3 -3
  101. package/esm2020/navbar/navbar-item.component.mjs +86 -79
  102. package/esm2020/navbar/navbar.component.mjs +10 -10
  103. package/esm2020/navbar/navbar.module.mjs +4 -4
  104. package/esm2020/navbar/vertical-navbar.component.mjs +6 -6
  105. package/esm2020/popover/popover-confirm.component.mjs +8 -8
  106. package/esm2020/popover/popover.component.mjs +8 -8
  107. package/esm2020/popover/popover.module.mjs +4 -4
  108. package/esm2020/progress-bar/progress-bar.component.mjs +4 -4
  109. package/esm2020/progress-bar/progress-bar.module.mjs +4 -4
  110. package/esm2020/progress-spinner/progress-spinner.component.mjs +4 -4
  111. package/esm2020/progress-spinner/progress-spinner.module.mjs +4 -4
  112. package/esm2020/radio/radio.component.mjs +7 -7
  113. package/esm2020/radio/radio.module.mjs +4 -4
  114. package/esm2020/select/public-api.mjs +2 -1
  115. package/esm2020/select/select-option.directive.mjs +65 -0
  116. package/esm2020/select/select.component.mjs +16 -16
  117. package/esm2020/select/select.module.mjs +19 -10
  118. package/esm2020/sidebar/sidebar.component.mjs +9 -9
  119. package/esm2020/sidebar/sidebar.module.mjs +4 -4
  120. package/esm2020/sidepanel/sidepanel-container.component.mjs +5 -5
  121. package/esm2020/sidepanel/sidepanel-directives.mjs +18 -18
  122. package/esm2020/sidepanel/sidepanel.module.mjs +4 -4
  123. package/esm2020/sidepanel/sidepanel.service.mjs +3 -3
  124. package/esm2020/splitter/splitter.component.mjs +22 -20
  125. package/esm2020/splitter/splitter.module.mjs +4 -4
  126. package/esm2020/table/table.component.mjs +3 -3
  127. package/esm2020/table/table.module.mjs +4 -4
  128. package/esm2020/tabs/paginated-tab-header.mjs +3 -3
  129. package/esm2020/tabs/tab-body.component.mjs +6 -6
  130. package/esm2020/tabs/tab-content.directive.mjs +3 -3
  131. package/esm2020/tabs/tab-group.component.mjs +20 -20
  132. package/esm2020/tabs/tab-header.component.mjs +4 -4
  133. package/esm2020/tabs/tab-label-wrapper.directive.mjs +3 -3
  134. package/esm2020/tabs/tab-label.directive.mjs +3 -3
  135. package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +9 -9
  136. package/esm2020/tabs/tab.component.mjs +3 -3
  137. package/esm2020/tabs/tabs.module.mjs +4 -4
  138. package/esm2020/tags/tag-input.mjs +3 -3
  139. package/esm2020/tags/tag-list.component.mjs +6 -6
  140. package/esm2020/tags/tag.component.mjs +60 -60
  141. package/esm2020/tags/tag.module.mjs +4 -4
  142. package/esm2020/textarea/textarea.component.mjs +9 -8
  143. package/esm2020/textarea/textarea.module.mjs +4 -4
  144. package/esm2020/timepicker/timepicker.directive.mjs +3 -3
  145. package/esm2020/timepicker/timepicker.module.mjs +4 -4
  146. package/esm2020/toggle/toggle.component.mjs +6 -6
  147. package/esm2020/toggle/toggle.module.mjs +4 -4
  148. package/esm2020/tooltip/tooltip.component.mjs +18 -14
  149. package/esm2020/tooltip/tooltip.module.mjs +4 -4
  150. package/esm2020/tree/node.mjs +3 -3
  151. package/esm2020/tree/outlet.mjs +3 -3
  152. package/esm2020/tree/padding.directive.mjs +12 -9
  153. package/esm2020/tree/toggle.mjs +10 -10
  154. package/esm2020/tree/tree-base.mjs +6 -6
  155. package/esm2020/tree/tree-option.component.mjs +9 -9
  156. package/esm2020/tree/tree-selection.component.mjs +8 -6
  157. package/esm2020/tree/tree.mjs +3 -3
  158. package/esm2020/tree/tree.module.mjs +4 -4
  159. package/esm2020/tree-select/tree-select.component.mjs +14 -14
  160. package/esm2020/tree-select/tree-select.module.mjs +4 -4
  161. package/fesm2015/ptsecurity-mosaic-autocomplete.mjs +15 -15
  162. package/fesm2015/ptsecurity-mosaic-autocomplete.mjs.map +1 -1
  163. package/fesm2015/ptsecurity-mosaic-button-toggle.mjs +12 -12
  164. package/fesm2015/ptsecurity-mosaic-button-toggle.mjs.map +1 -1
  165. package/fesm2015/ptsecurity-mosaic-button.mjs +32 -24
  166. package/fesm2015/ptsecurity-mosaic-button.mjs.map +1 -1
  167. package/fesm2015/ptsecurity-mosaic-card.mjs +8 -8
  168. package/fesm2015/ptsecurity-mosaic-card.mjs.map +1 -1
  169. package/fesm2015/ptsecurity-mosaic-checkbox.mjs +11 -11
  170. package/fesm2015/ptsecurity-mosaic-checkbox.mjs.map +1 -1
  171. package/fesm2015/ptsecurity-mosaic-core.mjs +97 -91
  172. package/fesm2015/ptsecurity-mosaic-core.mjs.map +1 -1
  173. package/fesm2015/ptsecurity-mosaic-datepicker.mjs +44 -44
  174. package/fesm2015/ptsecurity-mosaic-datepicker.mjs.map +1 -1
  175. package/fesm2015/ptsecurity-mosaic-design-tokens.mjs +443 -146
  176. package/fesm2015/ptsecurity-mosaic-design-tokens.mjs.map +1 -1
  177. package/fesm2015/ptsecurity-mosaic-divider.mjs +8 -8
  178. package/fesm2015/ptsecurity-mosaic-divider.mjs.map +1 -1
  179. package/fesm2015/ptsecurity-mosaic-dl.mjs +124 -0
  180. package/fesm2015/ptsecurity-mosaic-dl.mjs.map +1 -0
  181. package/fesm2015/ptsecurity-mosaic-dropdown.mjs +19 -19
  182. package/fesm2015/ptsecurity-mosaic-dropdown.mjs.map +1 -1
  183. package/fesm2015/ptsecurity-mosaic-form-field.mjs +214 -50
  184. package/fesm2015/ptsecurity-mosaic-form-field.mjs.map +1 -1
  185. package/fesm2015/ptsecurity-mosaic-icon.mjs +10 -10
  186. package/fesm2015/ptsecurity-mosaic-icon.mjs.map +1 -1
  187. package/fesm2015/ptsecurity-mosaic-input.mjs +434 -31
  188. package/fesm2015/ptsecurity-mosaic-input.mjs.map +1 -1
  189. package/fesm2015/ptsecurity-mosaic-link.mjs +7 -7
  190. package/fesm2015/ptsecurity-mosaic-link.mjs.map +1 -1
  191. package/fesm2015/ptsecurity-mosaic-list.mjs +21 -21
  192. package/fesm2015/ptsecurity-mosaic-list.mjs.map +1 -1
  193. package/fesm2015/ptsecurity-mosaic-modal.mjs +29 -29
  194. package/fesm2015/ptsecurity-mosaic-modal.mjs.map +1 -1
  195. package/fesm2015/ptsecurity-mosaic-navbar.mjs +103 -96
  196. package/fesm2015/ptsecurity-mosaic-navbar.mjs.map +1 -1
  197. package/fesm2015/ptsecurity-mosaic-popover.mjs +18 -18
  198. package/fesm2015/ptsecurity-mosaic-popover.mjs.map +1 -1
  199. package/fesm2015/ptsecurity-mosaic-progress-bar.mjs +8 -8
  200. package/fesm2015/ptsecurity-mosaic-progress-bar.mjs.map +1 -1
  201. package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs +8 -8
  202. package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs.map +1 -1
  203. package/fesm2015/ptsecurity-mosaic-radio.mjs +11 -11
  204. package/fesm2015/ptsecurity-mosaic-radio.mjs.map +1 -1
  205. package/fesm2015/ptsecurity-mosaic-select.mjs +99 -33
  206. package/fesm2015/ptsecurity-mosaic-select.mjs.map +1 -1
  207. package/fesm2015/ptsecurity-mosaic-sidebar.mjs +13 -13
  208. package/fesm2015/ptsecurity-mosaic-sidebar.mjs.map +1 -1
  209. package/fesm2015/ptsecurity-mosaic-sidepanel.mjs +28 -28
  210. package/fesm2015/ptsecurity-mosaic-sidepanel.mjs.map +1 -1
  211. package/fesm2015/ptsecurity-mosaic-splitter.mjs +25 -23
  212. package/fesm2015/ptsecurity-mosaic-splitter.mjs.map +1 -1
  213. package/fesm2015/ptsecurity-mosaic-table.mjs +7 -7
  214. package/fesm2015/ptsecurity-mosaic-table.mjs.map +1 -1
  215. package/fesm2015/ptsecurity-mosaic-tabs.mjs +56 -56
  216. package/fesm2015/ptsecurity-mosaic-tabs.mjs.map +1 -1
  217. package/fesm2015/ptsecurity-mosaic-tags.mjs +74 -74
  218. package/fesm2015/ptsecurity-mosaic-tags.mjs.map +1 -1
  219. package/fesm2015/ptsecurity-mosaic-textarea.mjs +11 -10
  220. package/fesm2015/ptsecurity-mosaic-textarea.mjs.map +1 -1
  221. package/fesm2015/ptsecurity-mosaic-timepicker.mjs +7 -7
  222. package/fesm2015/ptsecurity-mosaic-timepicker.mjs.map +1 -1
  223. package/fesm2015/ptsecurity-mosaic-toggle.mjs +9 -9
  224. package/fesm2015/ptsecurity-mosaic-toggle.mjs.map +1 -1
  225. package/fesm2015/ptsecurity-mosaic-tooltip.mjs +21 -17
  226. package/fesm2015/ptsecurity-mosaic-tooltip.mjs.map +1 -1
  227. package/fesm2015/ptsecurity-mosaic-tree-select.mjs +17 -17
  228. package/fesm2015/ptsecurity-mosaic-tree-select.mjs.map +1 -1
  229. package/fesm2015/ptsecurity-mosaic-tree.mjs +158 -155
  230. package/fesm2015/ptsecurity-mosaic-tree.mjs.map +1 -1
  231. package/fesm2015/ptsecurity-mosaic.mjs.map +1 -1
  232. package/fesm2020/ptsecurity-mosaic-autocomplete.mjs +15 -15
  233. package/fesm2020/ptsecurity-mosaic-autocomplete.mjs.map +1 -1
  234. package/fesm2020/ptsecurity-mosaic-button-toggle.mjs +12 -12
  235. package/fesm2020/ptsecurity-mosaic-button-toggle.mjs.map +1 -1
  236. package/fesm2020/ptsecurity-mosaic-button.mjs +32 -24
  237. package/fesm2020/ptsecurity-mosaic-button.mjs.map +1 -1
  238. package/fesm2020/ptsecurity-mosaic-card.mjs +8 -8
  239. package/fesm2020/ptsecurity-mosaic-card.mjs.map +1 -1
  240. package/fesm2020/ptsecurity-mosaic-checkbox.mjs +11 -11
  241. package/fesm2020/ptsecurity-mosaic-checkbox.mjs.map +1 -1
  242. package/fesm2020/ptsecurity-mosaic-core.mjs +97 -91
  243. package/fesm2020/ptsecurity-mosaic-core.mjs.map +1 -1
  244. package/fesm2020/ptsecurity-mosaic-datepicker.mjs +44 -44
  245. package/fesm2020/ptsecurity-mosaic-datepicker.mjs.map +1 -1
  246. package/fesm2020/ptsecurity-mosaic-design-tokens.mjs +443 -146
  247. package/fesm2020/ptsecurity-mosaic-design-tokens.mjs.map +1 -1
  248. package/fesm2020/ptsecurity-mosaic-divider.mjs +8 -8
  249. package/fesm2020/ptsecurity-mosaic-divider.mjs.map +1 -1
  250. package/fesm2020/ptsecurity-mosaic-dl.mjs +124 -0
  251. package/fesm2020/ptsecurity-mosaic-dl.mjs.map +1 -0
  252. package/fesm2020/ptsecurity-mosaic-dropdown.mjs +19 -19
  253. package/fesm2020/ptsecurity-mosaic-dropdown.mjs.map +1 -1
  254. package/fesm2020/ptsecurity-mosaic-form-field.mjs +200 -50
  255. package/fesm2020/ptsecurity-mosaic-form-field.mjs.map +1 -1
  256. package/fesm2020/ptsecurity-mosaic-icon.mjs +10 -10
  257. package/fesm2020/ptsecurity-mosaic-icon.mjs.map +1 -1
  258. package/fesm2020/ptsecurity-mosaic-input.mjs +427 -31
  259. package/fesm2020/ptsecurity-mosaic-input.mjs.map +1 -1
  260. package/fesm2020/ptsecurity-mosaic-link.mjs +7 -7
  261. package/fesm2020/ptsecurity-mosaic-link.mjs.map +1 -1
  262. package/fesm2020/ptsecurity-mosaic-list.mjs +21 -21
  263. package/fesm2020/ptsecurity-mosaic-list.mjs.map +1 -1
  264. package/fesm2020/ptsecurity-mosaic-modal.mjs +29 -29
  265. package/fesm2020/ptsecurity-mosaic-modal.mjs.map +1 -1
  266. package/fesm2020/ptsecurity-mosaic-navbar.mjs +103 -96
  267. package/fesm2020/ptsecurity-mosaic-navbar.mjs.map +1 -1
  268. package/fesm2020/ptsecurity-mosaic-popover.mjs +18 -18
  269. package/fesm2020/ptsecurity-mosaic-popover.mjs.map +1 -1
  270. package/fesm2020/ptsecurity-mosaic-progress-bar.mjs +8 -8
  271. package/fesm2020/ptsecurity-mosaic-progress-bar.mjs.map +1 -1
  272. package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs +8 -8
  273. package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs.map +1 -1
  274. package/fesm2020/ptsecurity-mosaic-radio.mjs +11 -11
  275. package/fesm2020/ptsecurity-mosaic-radio.mjs.map +1 -1
  276. package/fesm2020/ptsecurity-mosaic-select.mjs +96 -32
  277. package/fesm2020/ptsecurity-mosaic-select.mjs.map +1 -1
  278. package/fesm2020/ptsecurity-mosaic-sidebar.mjs +13 -13
  279. package/fesm2020/ptsecurity-mosaic-sidebar.mjs.map +1 -1
  280. package/fesm2020/ptsecurity-mosaic-sidepanel.mjs +28 -28
  281. package/fesm2020/ptsecurity-mosaic-sidepanel.mjs.map +1 -1
  282. package/fesm2020/ptsecurity-mosaic-splitter.mjs +25 -23
  283. package/fesm2020/ptsecurity-mosaic-splitter.mjs.map +1 -1
  284. package/fesm2020/ptsecurity-mosaic-table.mjs +7 -7
  285. package/fesm2020/ptsecurity-mosaic-table.mjs.map +1 -1
  286. package/fesm2020/ptsecurity-mosaic-tabs.mjs +56 -56
  287. package/fesm2020/ptsecurity-mosaic-tabs.mjs.map +1 -1
  288. package/fesm2020/ptsecurity-mosaic-tags.mjs +72 -72
  289. package/fesm2020/ptsecurity-mosaic-tags.mjs.map +1 -1
  290. package/fesm2020/ptsecurity-mosaic-textarea.mjs +11 -10
  291. package/fesm2020/ptsecurity-mosaic-textarea.mjs.map +1 -1
  292. package/fesm2020/ptsecurity-mosaic-timepicker.mjs +7 -7
  293. package/fesm2020/ptsecurity-mosaic-timepicker.mjs.map +1 -1
  294. package/fesm2020/ptsecurity-mosaic-toggle.mjs +9 -9
  295. package/fesm2020/ptsecurity-mosaic-toggle.mjs.map +1 -1
  296. package/fesm2020/ptsecurity-mosaic-tooltip.mjs +21 -17
  297. package/fesm2020/ptsecurity-mosaic-tooltip.mjs.map +1 -1
  298. package/fesm2020/ptsecurity-mosaic-tree-select.mjs +17 -17
  299. package/fesm2020/ptsecurity-mosaic-tree-select.mjs.map +1 -1
  300. package/fesm2020/ptsecurity-mosaic-tree.mjs +155 -152
  301. package/fesm2020/ptsecurity-mosaic-tree.mjs.map +1 -1
  302. package/fesm2020/ptsecurity-mosaic.mjs.map +1 -1
  303. package/form-field/form-field.d.ts +9 -2
  304. package/form-field/form-field.module.d.ts +8 -7
  305. package/form-field/password-hint.d.ts +40 -0
  306. package/form-field/public-api.d.ts +1 -0
  307. package/input/input-password.d.ts +121 -0
  308. package/input/input.d.ts +4 -3
  309. package/input/input.module.d.ts +7 -6
  310. package/input/public-api.d.ts +1 -0
  311. package/list/list-selection.component.d.ts +1 -1
  312. package/navbar/navbar-item.component.d.ts +19 -18
  313. package/package.json +12 -4
  314. package/prebuilt-themes/dark-theme.css +1 -1
  315. package/prebuilt-themes/default-theme.css +1 -1
  316. package/prebuilt-visual/default-visual.css +1 -1
  317. package/select/public-api.d.ts +1 -0
  318. package/select/select-option.directive.d.ts +20 -0
  319. package/select/select.module.d.ts +9 -7
  320. package/tags/tag.component.d.ts +20 -20
  321. package/textarea/textarea.component.d.ts +4 -3
  322. package/toggle/README.md +0 -0
  323. package/tree/padding.directive.d.ts +7 -5
  324. package/tree/tree-option.component.d.ts +2 -2
  325. package/design-tokens/legacy-2017/tokens/components/alert.json5 +0 -83
  326. package/design-tokens/legacy-2017/tokens/components/autocomplete.json5 +0 -11
  327. package/design-tokens/legacy-2017/tokens/components/badge.json5 +0 -184
  328. package/design-tokens/legacy-2017/tokens/components/button-toggle.json5 +0 -10
  329. package/design-tokens/legacy-2017/tokens/components/button.json5 +0 -143
  330. package/design-tokens/legacy-2017/tokens/components/card.json5 +0 -51
  331. package/design-tokens/legacy-2017/tokens/components/checkbox.json5 +0 -39
  332. package/design-tokens/legacy-2017/tokens/components/datepicker.json5 +0 -64
  333. package/design-tokens/legacy-2017/tokens/components/divider.json5 +0 -8
  334. package/design-tokens/legacy-2017/tokens/components/dropdown.json5 +0 -47
  335. package/design-tokens/legacy-2017/tokens/components/form-field.json5 +0 -52
  336. package/design-tokens/legacy-2017/tokens/components/forms.json5 +0 -52
  337. package/design-tokens/legacy-2017/tokens/components/input.json5 +0 -13
  338. package/design-tokens/legacy-2017/tokens/components/link.json5 +0 -56
  339. package/design-tokens/legacy-2017/tokens/components/list.json5 +0 -15
  340. package/design-tokens/legacy-2017/tokens/components/modal.json5 +0 -79
  341. package/design-tokens/legacy-2017/tokens/components/navbar.json5 +0 -69
  342. package/design-tokens/legacy-2017/tokens/components/optgroup.json5 +0 -10
  343. package/design-tokens/legacy-2017/tokens/components/option.json5 +0 -12
  344. package/design-tokens/legacy-2017/tokens/components/popover.json5 +0 -68
  345. package/design-tokens/legacy-2017/tokens/components/popup.json5 +0 -18
  346. package/design-tokens/legacy-2017/tokens/components/progress-bar.json5 +0 -13
  347. package/design-tokens/legacy-2017/tokens/components/progress-spinner.json5 +0 -7
  348. package/design-tokens/legacy-2017/tokens/components/radio.json5 +0 -44
  349. package/design-tokens/legacy-2017/tokens/components/select.json5 +0 -25
  350. package/design-tokens/legacy-2017/tokens/components/sidepanel.json5 +0 -30
  351. package/design-tokens/legacy-2017/tokens/components/table.json5 +0 -15
  352. package/design-tokens/legacy-2017/tokens/components/tabs.json5 +0 -25
  353. package/design-tokens/legacy-2017/tokens/components/tags.json5 +0 -132
  354. package/design-tokens/legacy-2017/tokens/components/textarea.json5 +0 -12
  355. package/design-tokens/legacy-2017/tokens/components/timepicker.json5 +0 -7
  356. package/design-tokens/legacy-2017/tokens/components/toggle.json5 +0 -79
  357. package/design-tokens/legacy-2017/tokens/components/tooltip.json5 +0 -83
  358. package/design-tokens/legacy-2017/tokens/components/tree.json5 +0 -12
  359. package/design-tokens/legacy-2017/tokens/properties/aliases.json5 +0 -3
  360. package/design-tokens/legacy-2017/tokens/properties/colors.json5 +0 -110
  361. package/design-tokens/legacy-2017/tokens/properties/font.json5 +0 -12
  362. package/design-tokens/legacy-2017/tokens/properties/globals.json5 +0 -30
  363. package/design-tokens/legacy-2017/tokens/properties/padding.json5 +0 -3
  364. package/design-tokens/legacy-2017/tokens/properties/palette.json5 +0 -163
  365. package/design-tokens/legacy-2017/tokens/properties/typography.json5 +0 -140
  366. package/design-tokens/pt-2022/tokens/components/alert.json5 +0 -83
  367. package/design-tokens/pt-2022/tokens/components/autocomplete.json5 +0 -11
  368. package/design-tokens/pt-2022/tokens/components/badge.json5 +0 -184
  369. package/design-tokens/pt-2022/tokens/components/button-toggle.json5 +0 -10
  370. package/design-tokens/pt-2022/tokens/components/button.json5 +0 -143
  371. package/design-tokens/pt-2022/tokens/components/card.json5 +0 -51
  372. package/design-tokens/pt-2022/tokens/components/checkbox.json5 +0 -39
  373. package/design-tokens/pt-2022/tokens/components/datepicker.json5 +0 -64
  374. package/design-tokens/pt-2022/tokens/components/divider.json5 +0 -8
  375. package/design-tokens/pt-2022/tokens/components/dropdown.json5 +0 -47
  376. package/design-tokens/pt-2022/tokens/components/form-field.json5 +0 -52
  377. package/design-tokens/pt-2022/tokens/components/forms.json5 +0 -52
  378. package/design-tokens/pt-2022/tokens/components/input.json5 +0 -13
  379. package/design-tokens/pt-2022/tokens/components/link.json5 +0 -56
  380. package/design-tokens/pt-2022/tokens/components/list.json5 +0 -15
  381. package/design-tokens/pt-2022/tokens/components/modal.json5 +0 -79
  382. package/design-tokens/pt-2022/tokens/components/navbar.json5 +0 -69
  383. package/design-tokens/pt-2022/tokens/components/optgroup.json5 +0 -10
  384. package/design-tokens/pt-2022/tokens/components/option.json5 +0 -12
  385. package/design-tokens/pt-2022/tokens/components/popover.json5 +0 -68
  386. package/design-tokens/pt-2022/tokens/components/popup.json5 +0 -18
  387. package/design-tokens/pt-2022/tokens/components/progress-bar.json5 +0 -13
  388. package/design-tokens/pt-2022/tokens/components/progress-spinner.json5 +0 -7
  389. package/design-tokens/pt-2022/tokens/components/radio.json5 +0 -44
  390. package/design-tokens/pt-2022/tokens/components/select.json5 +0 -25
  391. package/design-tokens/pt-2022/tokens/components/sidepanel.json5 +0 -30
  392. package/design-tokens/pt-2022/tokens/components/table.json5 +0 -15
  393. package/design-tokens/pt-2022/tokens/components/tabs.json5 +0 -25
  394. package/design-tokens/pt-2022/tokens/components/tags.json5 +0 -132
  395. package/design-tokens/pt-2022/tokens/components/textarea.json5 +0 -12
  396. package/design-tokens/pt-2022/tokens/components/timepicker.json5 +0 -7
  397. package/design-tokens/pt-2022/tokens/components/toggle.json5 +0 -79
  398. package/design-tokens/pt-2022/tokens/components/tooltip.json5 +0 -83
  399. package/design-tokens/pt-2022/tokens/components/tree.json5 +0 -12
  400. package/design-tokens/pt-2022/tokens/properties/aliases.json5 +0 -3
  401. package/design-tokens/pt-2022/tokens/properties/colors.json5 +0 -112
  402. package/design-tokens/pt-2022/tokens/properties/font.json5 +0 -15
  403. package/design-tokens/pt-2022/tokens/properties/globals.json5 +0 -30
  404. package/design-tokens/pt-2022/tokens/properties/padding.json5 +0 -3
  405. package/design-tokens/pt-2022/tokens/properties/palette.json5 +0 -226
  406. package/design-tokens/pt-2022/tokens/properties/typography.json5 +0 -140
  407. package/design-tokens/style-dictionary/build.js +0 -62
  408. package/design-tokens/style-dictionary/configs/css.js +0 -13
  409. package/design-tokens/style-dictionary/configs/index.js +0 -48
  410. package/design-tokens/style-dictionary/configs/js.js +0 -9
  411. package/design-tokens/style-dictionary/configs/scss.js +0 -23
  412. package/design-tokens/style-dictionary/filters/color.js +0 -7
  413. package/design-tokens/style-dictionary/filters/palette.js +0 -7
  414. package/design-tokens/style-dictionary/filters/size.js +0 -7
  415. package/design-tokens/style-dictionary/filters/typography.js +0 -7
  416. package/design-tokens/style-dictionary/formats/palette.js +0 -25
  417. package/design-tokens/style-dictionary/formats/typography.js +0 -52
  418. package/design-tokens/style-dictionary/transformGroups/css.js +0 -13
  419. package/design-tokens/style-dictionary/transformGroups/scss.js +0 -12
  420. package/design-tokens/style-dictionary/transforms/attribute/palette.js +0 -9
  421. package/design-tokens/style-dictionary/transforms/attribute/prefix.js +0 -11
  422. package/design-tokens/style-dictionary/transforms/attribute/size.js +0 -8
  423. package/design-tokens/style-dictionary/transforms/attribute/typography.js +0 -9
@@ -1,9 +1,11 @@
1
+ import { FocusMonitor } from '@angular/cdk/a11y';
1
2
  import { AfterContentChecked, AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, QueryList } from '@angular/core';
2
3
  import { NgControl } from '@angular/forms';
3
4
  import { CanColor, CanColorCtor } from '@ptsecurity/mosaic/core';
4
5
  import { McCleaner } from './cleaner';
5
6
  import { McFormFieldControl } from './form-field-control';
6
7
  import { McHint } from './hint';
8
+ import { McPasswordHint } from './password-hint';
7
9
  import { McPrefix } from './prefix';
8
10
  import { McStepper } from './stepper';
9
11
  import { McSuffix } from './suffix';
@@ -16,10 +18,12 @@ export declare const McFormFieldMixinBase: CanColorCtor & typeof McFormFieldBase
16
18
  export declare class McFormField extends McFormFieldMixinBase implements AfterContentInit, AfterContentChecked, AfterViewInit, CanColor, OnDestroy {
17
19
  _elementRef: ElementRef;
18
20
  private _changeDetectorRef;
21
+ private focusMonitor;
19
22
  control: McFormFieldControl<any>;
20
23
  stepper: McStepper;
21
24
  cleaner: McCleaner | null;
22
25
  hint: QueryList<McHint>;
26
+ passwordHints: QueryList<McPasswordHint>;
23
27
  suffix: QueryList<McSuffix>;
24
28
  prefix: QueryList<McPrefix>;
25
29
  connectionContainerRef: ElementRef;
@@ -28,6 +32,7 @@ export declare class McFormField extends McFormFieldMixinBase implements AfterCo
28
32
  canCleanerClearByEsc: boolean;
29
33
  private $unsubscribe;
30
34
  get hasHint(): boolean;
35
+ get hasPasswordStrengthError(): boolean;
31
36
  get hasSuffix(): boolean;
32
37
  get hasPrefix(): boolean;
33
38
  get hasCleaner(): boolean;
@@ -35,7 +40,7 @@ export declare class McFormField extends McFormFieldMixinBase implements AfterCo
35
40
  get canShowCleaner(): boolean;
36
41
  get disabled(): boolean;
37
42
  get canShowStepper(): boolean;
38
- constructor(_elementRef: ElementRef, _changeDetectorRef: ChangeDetectorRef);
43
+ constructor(_elementRef: ElementRef, _changeDetectorRef: ChangeDetectorRef, focusMonitor: FocusMonitor);
39
44
  ngAfterContentInit(): void;
40
45
  ngAfterContentChecked(): void;
41
46
  ngAfterViewInit(): void;
@@ -53,8 +58,10 @@ export declare class McFormField extends McFormFieldMixinBase implements AfterCo
53
58
  ngOnDestroy(): void;
54
59
  /** Throws an error if the form field's control is missing. */
55
60
  protected validateControlChild(): void;
61
+ private runFocusMonitor;
62
+ private stopFocusMonitor;
56
63
  static ɵfac: i0.ɵɵFactoryDeclaration<McFormField, never>;
57
- static ɵcmp: i0.ɵɵComponentDeclaration<McFormField, "mc-form-field", ["mcFormField"], { "color": "color"; }, {}, ["control", "stepper", "cleaner", "hint", "suffix", "prefix"], ["[mcPrefix]", "*", "[mcSuffix]", "mc-cleaner", "mc-stepper", "mc-hint"]>;
64
+ static ɵcmp: i0.ɵɵComponentDeclaration<McFormField, "mc-form-field", ["mcFormField"], { "color": "color"; }, {}, ["control", "stepper", "cleaner", "hint", "passwordHints", "suffix", "prefix"], ["[mcPrefix]", "*", "[mcSuffix]", "mc-cleaner", "mc-password-toggle", "mc-stepper", "mc-hint, mc-password-hint"]>;
58
65
  }
59
66
  export declare class McFormFieldWithoutBorders {
60
67
  static ɵfac: i0.ɵɵFactoryDeclaration<McFormFieldWithoutBorders, never>;
@@ -1,14 +1,15 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./form-field";
3
3
  import * as i2 from "./hint";
4
- import * as i3 from "./prefix";
5
- import * as i4 from "./suffix";
6
- import * as i5 from "./cleaner";
7
- import * as i6 from "./stepper";
8
- import * as i7 from "@angular/common";
9
- import * as i8 from "@ptsecurity/mosaic/icon";
4
+ import * as i3 from "./password-hint";
5
+ import * as i4 from "./prefix";
6
+ import * as i5 from "./suffix";
7
+ import * as i6 from "./cleaner";
8
+ import * as i7 from "./stepper";
9
+ import * as i8 from "@angular/common";
10
+ import * as i9 from "@ptsecurity/mosaic/icon";
10
11
  export declare class McFormFieldModule {
11
12
  static ɵfac: i0.ɵɵFactoryDeclaration<McFormFieldModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<McFormFieldModule, [typeof i1.McFormField, typeof i1.McFormFieldWithoutBorders, typeof i2.McHint, typeof i3.McPrefix, typeof i4.McSuffix, typeof i5.McCleaner, typeof i6.McStepper], [typeof i7.CommonModule, typeof i8.McIconModule], [typeof i1.McFormField, typeof i1.McFormFieldWithoutBorders, typeof i2.McHint, typeof i3.McPrefix, typeof i4.McSuffix, typeof i5.McCleaner, typeof i6.McStepper]>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<McFormFieldModule, [typeof i1.McFormField, typeof i1.McFormFieldWithoutBorders, typeof i2.McHint, typeof i3.McPasswordHint, typeof i4.McPrefix, typeof i5.McSuffix, typeof i6.McCleaner, typeof i7.McStepper], [typeof i8.CommonModule, typeof i9.McIconModule], [typeof i1.McFormField, typeof i1.McFormFieldWithoutBorders, typeof i2.McHint, typeof i3.McPasswordHint, typeof i4.McPrefix, typeof i5.McSuffix, typeof i6.McCleaner, typeof i7.McStepper]>;
13
14
  static ɵinj: i0.ɵɵInjectorDeclaration<McFormFieldModule>;
14
15
  }
@@ -0,0 +1,40 @@
1
+ import { AfterContentInit, ChangeDetectorRef } from '@angular/core';
2
+ import { McFormField } from './form-field';
3
+ import * as i0 from "@angular/core";
4
+ export declare enum PasswordRules {
5
+ Length = 0,
6
+ UpperLatin = 1,
7
+ LowerLatin = 2,
8
+ Digit = 3,
9
+ LatinAndSpecialSymbols = 4,
10
+ Custom = 5
11
+ }
12
+ export declare const regExpPasswordValidator: {
13
+ 2: RegExp;
14
+ 1: RegExp;
15
+ 3: RegExp;
16
+ 4: RegExp;
17
+ };
18
+ export declare class McPasswordHint implements AfterContentInit {
19
+ private changeDetectorRef;
20
+ private formField;
21
+ id: string;
22
+ rule: PasswordRules | any;
23
+ min: number;
24
+ max: number;
25
+ regex: RegExp | null;
26
+ hasError: boolean;
27
+ checked: boolean;
28
+ private checkRule;
29
+ private get control();
30
+ private lastControlValue;
31
+ constructor(changeDetectorRef: ChangeDetectorRef, formField: McFormField);
32
+ ngAfterContentInit(): void;
33
+ private checkValue;
34
+ private checkLengthRule;
35
+ private checkRegexRule;
36
+ private checkSpecialSymbolsRegexRule;
37
+ private isValueChanged;
38
+ static ɵfac: i0.ɵɵFactoryDeclaration<McPasswordHint, never>;
39
+ static ɵcmp: i0.ɵɵComponentDeclaration<McPasswordHint, "mc-password-hint", never, { "id": "id"; "rule": "rule"; "min": "min"; "max": "max"; "regex": "regex"; }, {}, never, ["*"]>;
40
+ }
@@ -3,6 +3,7 @@ export * from './form-field';
3
3
  export * from './form-field-control';
4
4
  export * from './form-field-errors';
5
5
  export * from './hint';
6
+ export * from './password-hint';
6
7
  export * from './suffix';
7
8
  export * from './prefix';
8
9
  export * from './cleaner';
@@ -0,0 +1,121 @@
1
+ import { FocusMonitor } from '@angular/cdk/a11y';
2
+ import { Directionality } from '@angular/cdk/bidi';
3
+ import { Overlay, ScrollDispatcher } from '@angular/cdk/overlay';
4
+ import { AfterContentInit, ChangeDetectorRef, DoCheck, ElementRef, NgZone, OnChanges, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
5
+ import { FormControlName, FormGroupDirective, NgControl, NgForm, NgModel, Validator } from '@angular/forms';
6
+ import { CanUpdateErrorState, ErrorStateMatcher, McValidationOptions } from '@ptsecurity/mosaic/core';
7
+ import { McFormField, McFormFieldControl } from '@ptsecurity/mosaic/form-field';
8
+ import { McTooltipTrigger } from '@ptsecurity/mosaic/tooltip';
9
+ import { Subject } from 'rxjs';
10
+ import { McInputMixinBase } from './input';
11
+ import * as i0 from "@angular/core";
12
+ export declare class McPasswordToggle extends McTooltipTrigger implements OnDestroy {
13
+ private focusMonitor;
14
+ private formField;
15
+ get content(): string | TemplateRef<any>;
16
+ set content(content: string | TemplateRef<any>);
17
+ mcTooltipHidden: string | TemplateRef<any>;
18
+ get disabled(): any;
19
+ set disabled(value: any);
20
+ protected _disabled: boolean;
21
+ get tabIndex(): number;
22
+ set tabIndex(value: number);
23
+ private _tabIndex;
24
+ get hidden(): boolean;
25
+ constructor(overlay: Overlay, elementRef: ElementRef, ngZone: NgZone, scrollDispatcher: ScrollDispatcher, hostView: ViewContainerRef, scrollStrategy: any, direction: Directionality, focusMonitor: FocusMonitor, formField: McFormField);
26
+ ngOnDestroy(): void;
27
+ toggle(): void;
28
+ private runFocusMonitor;
29
+ private stopFocusMonitor;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<McPasswordToggle, [null, null, null, null, null, null, { optional: true; }, null, null]>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<McPasswordToggle, "mc-password-toggle", ["mcPasswordToggle"], { "content": "mcTooltipNotHidden"; "mcTooltipHidden": "mcTooltipHidden"; "disabled": "disabled"; "tabIndex": "tabIndex"; }, {}, never, ["*"]>;
32
+ }
33
+ export declare class McInputPassword extends McInputMixinBase implements McFormFieldControl<any>, OnChanges, OnDestroy, DoCheck, CanUpdateErrorState, AfterContentInit, OnChanges {
34
+ protected elementRef: ElementRef;
35
+ rawValidators: Validator[];
36
+ private mcValidation;
37
+ ngModel: NgModel;
38
+ formControlName: FormControlName;
39
+ private changeDetectorRef;
40
+ /** An object used to control when error messages are shown. */
41
+ errorStateMatcher: ErrorStateMatcher;
42
+ /**
43
+ * Implemented as part of McFormFieldControl.
44
+ * @docs-private
45
+ */
46
+ focused: boolean;
47
+ /**
48
+ * Implemented as part of McFormFieldControl.
49
+ * @docs-private
50
+ */
51
+ readonly stateChanges: Subject<any>;
52
+ /**
53
+ * Implemented as part of McFormFieldControl.
54
+ * @docs-private
55
+ */
56
+ controlType: string;
57
+ elementType: string;
58
+ /**
59
+ * Implemented as part of McFormFieldControl.
60
+ * @docs-private
61
+ */
62
+ placeholder: string;
63
+ protected uid: string;
64
+ protected previousNativeValue: any;
65
+ /**
66
+ * Implemented as part of McFormFieldControl.
67
+ * @docs-private
68
+ */
69
+ get disabled(): boolean;
70
+ set disabled(value: boolean);
71
+ private _disabled;
72
+ /**
73
+ * Implemented as part of McFormFieldControl.
74
+ * @docs-private
75
+ */
76
+ get id(): string;
77
+ set id(value: string);
78
+ private _id;
79
+ /**
80
+ * Implemented as part of McFormFieldControl.
81
+ * @docs-private
82
+ */
83
+ get required(): boolean;
84
+ set required(value: boolean);
85
+ private _required;
86
+ /**
87
+ * Implemented as part of McFormFieldControl.
88
+ * @docs-private
89
+ */
90
+ get value(): string;
91
+ set value(value: string);
92
+ private _inputValueAccessor;
93
+ constructor(elementRef: ElementRef, rawValidators: Validator[], mcValidation: McValidationOptions, ngControl: NgControl, ngModel: NgModel, formControlName: FormControlName, parentForm: NgForm, parentFormGroup: FormGroupDirective, defaultErrorStateMatcher: ErrorStateMatcher, inputValueAccessor: any, changeDetectorRef: ChangeDetectorRef);
94
+ ngAfterContentInit(): void;
95
+ ngOnChanges(): void;
96
+ ngOnDestroy(): void;
97
+ ngDoCheck(): void;
98
+ toggleType(): void;
99
+ /** Focuses the input. */
100
+ focus(): void;
101
+ onBlur(): void;
102
+ /** Callback for the cases where the focused state of the input changes. */
103
+ focusChanged(isFocused: boolean): void;
104
+ onInput(): void;
105
+ /**
106
+ * Implemented as part of McFormFieldControl.
107
+ * @docs-private
108
+ */
109
+ get empty(): boolean;
110
+ /**
111
+ * Implemented as part of McFormFieldControl.
112
+ * @docs-private
113
+ */
114
+ onContainerClick(): void;
115
+ /** Does some manual dirty checking on the native input `value` property. */
116
+ protected dirtyCheckNativeValue(): void;
117
+ /** Checks whether the input is invalid based on the native validation. */
118
+ protected isBadInput(): boolean;
119
+ static ɵfac: i0.ɵɵFactoryDeclaration<McInputPassword, [null, { optional: true; self: true; }, { optional: true; }, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; }, { optional: true; }, null, { optional: true; self: true; }, null]>;
120
+ static ɵdir: i0.ɵɵDirectiveDeclaration<McInputPassword, "input[mcInputPassword]", ["mcInputPassword"], { "errorStateMatcher": "errorStateMatcher"; "placeholder": "placeholder"; "disabled": "disabled"; "id": "id"; "required": "required"; "value": "value"; }, {}, never>;
121
+ }
package/input/input.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { AfterContentInit, DoCheck, ElementRef, OnChanges, OnDestroy } from '@angular/core';
1
+ import { AfterContentInit, ChangeDetectorRef, DoCheck, ElementRef, OnChanges, OnDestroy } from '@angular/core';
2
2
  import { FormControlName, FormGroupDirective, NgControl, NgForm, NgModel, Validator } from '@angular/forms';
3
3
  import { CanUpdateErrorState, CanUpdateErrorStateCtor, ErrorStateMatcher, McValidationOptions } from '@ptsecurity/mosaic/core';
4
4
  import { McFormFieldControl } from '@ptsecurity/mosaic/form-field';
@@ -20,6 +20,7 @@ export declare class McInput extends McInputMixinBase implements McFormFieldCont
20
20
  numberInput: McNumberInput;
21
21
  ngModel: NgModel;
22
22
  formControlName: FormControlName;
23
+ private changeDetectorRef;
23
24
  /** An object used to control when error messages are shown. */
24
25
  errorStateMatcher: ErrorStateMatcher;
25
26
  /**
@@ -77,7 +78,7 @@ export declare class McInput extends McInputMixinBase implements McFormFieldCont
77
78
  get value(): string;
78
79
  set value(value: string);
79
80
  private _inputValueAccessor;
80
- constructor(elementRef: ElementRef, rawValidators: Validator[], mcValidation: McValidationOptions, ngControl: NgControl, numberInput: McNumberInput, ngModel: NgModel, formControlName: FormControlName, parentForm: NgForm, parentFormGroup: FormGroupDirective, defaultErrorStateMatcher: ErrorStateMatcher, inputValueAccessor: any);
81
+ constructor(elementRef: ElementRef, rawValidators: Validator[], mcValidation: McValidationOptions, ngControl: NgControl, numberInput: McNumberInput, ngModel: NgModel, formControlName: FormControlName, parentForm: NgForm, parentFormGroup: FormGroupDirective, defaultErrorStateMatcher: ErrorStateMatcher, inputValueAccessor: any, changeDetectorRef: ChangeDetectorRef);
81
82
  ngAfterContentInit(): void;
82
83
  ngOnChanges(): void;
83
84
  ngOnDestroy(): void;
@@ -106,7 +107,7 @@ export declare class McInput extends McInputMixinBase implements McFormFieldCont
106
107
  protected isNeverEmpty(): boolean;
107
108
  /** Checks whether the input is invalid based on the native validation. */
108
109
  protected isBadInput(): boolean;
109
- static ɵfac: i0.ɵɵFactoryDeclaration<McInput, [null, { optional: true; self: true; }, { optional: true; }, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; }, { optional: true; }, null, { optional: true; self: true; }]>;
110
+ static ɵfac: i0.ɵɵFactoryDeclaration<McInput, [null, { optional: true; self: true; }, { optional: true; }, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; }, { optional: true; }, null, { optional: true; self: true; }, null]>;
110
111
  static ɵdir: i0.ɵɵDirectiveDeclaration<McInput, "input[mcInput]", ["mcInput"], { "errorStateMatcher": "errorStateMatcher"; "placeholder": "placeholder"; "disabled": "disabled"; "id": "id"; "required": "required"; "type": "type"; "value": "value"; }, {}, never>;
111
112
  }
112
113
  export declare class McInputMono {
@@ -1,13 +1,14 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./input";
3
3
  import * as i2 from "./input-number";
4
- import * as i3 from "./input-number-validators";
5
- import * as i4 from "@angular/common";
6
- import * as i5 from "@angular/cdk/a11y";
7
- import * as i6 from "@ptsecurity/mosaic/core";
8
- import * as i7 from "@angular/forms";
4
+ import * as i3 from "./input-password";
5
+ import * as i4 from "./input-number-validators";
6
+ import * as i5 from "@angular/common";
7
+ import * as i6 from "@angular/cdk/a11y";
8
+ import * as i7 from "@ptsecurity/mosaic/core";
9
+ import * as i8 from "@angular/forms";
9
10
  export declare class McInputModule {
10
11
  static ɵfac: i0.ɵɵFactoryDeclaration<McInputModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<McInputModule, [typeof i1.McInput, typeof i2.McNumberInput, typeof i1.McInputMono, typeof i3.MinValidator, typeof i3.MaxValidator], [typeof i4.CommonModule, typeof i5.A11yModule, typeof i6.McCommonModule, typeof i7.FormsModule], [typeof i1.McInput, typeof i2.McNumberInput, typeof i1.McInputMono, typeof i3.MinValidator, typeof i3.MaxValidator]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<McInputModule, [typeof i1.McInput, typeof i2.McNumberInput, typeof i3.McInputPassword, typeof i3.McPasswordToggle, typeof i1.McInputMono, typeof i4.MinValidator, typeof i4.MaxValidator], [typeof i5.CommonModule, typeof i6.A11yModule, typeof i7.McCommonModule, typeof i8.FormsModule], [typeof i1.McInput, typeof i2.McNumberInput, typeof i3.McInputPassword, typeof i3.McPasswordToggle, typeof i1.McInputMono, typeof i4.MinValidator, typeof i4.MaxValidator]>;
12
13
  static ɵinj: i0.ɵɵInjectorDeclaration<McInputModule>;
13
14
  }
@@ -1,5 +1,6 @@
1
1
  export * from './input.module';
2
2
  export * from './input';
3
3
  export * from './input-number';
4
+ export * from './input-password';
4
5
  export * from './input-value-accessor';
5
6
  export * from './input-number-validators';
@@ -61,7 +61,7 @@ export declare class McListOption implements OnDestroy, OnInit, IFocusableOption
61
61
  blur(): void;
62
62
  getHostElement(): HTMLElement;
63
63
  static ɵfac: i0.ɵɵFactoryDeclaration<McListOption, [null, null, null, null, { optional: true; }]>;
64
- static ɵcmp: i0.ɵɵComponentDeclaration<McListOption, "mc-list-option", ["mcListOption"], { "checkboxPosition": "checkboxPosition"; "value": "value"; "disabled": "disabled"; "showCheckbox": "showCheckbox"; "selected": "selected"; }, {}, ["actionButton", "tooltipTrigger", "dropdownTrigger"], ["*", "mc-option-action"]>;
64
+ static ɵcmp: i0.ɵɵComponentDeclaration<McListOption, "mc-list-option", ["mcListOption"], { "checkboxPosition": "checkboxPosition"; "value": "value"; "disabled": "disabled"; "showCheckbox": "showCheckbox"; "selected": "selected"; }, {}, ["actionButton", "tooltipTrigger", "dropdownTrigger"], ["[mc-icon]", "*", "mc-option-action"]>;
65
65
  }
66
66
  export declare const MC_SELECTION_LIST_VALUE_ACCESSOR: any;
67
67
  export declare class McListSelectionChange {
@@ -91,6 +91,24 @@ export declare class McNavbarFocusableItem implements IFocusableOption, AfterCon
91
91
  static ɵfac: i0.ɵɵFactoryDeclaration<McNavbarFocusableItem, never>;
92
92
  static ɵdir: i0.ɵɵDirectiveDeclaration<McNavbarFocusableItem, "mc-navbar-item, [mc-navbar-item], mc-navbar-brand, [mc-navbar-brand], mc-navbar-toggle", never, { "disabled": "disabled"; }, {}, ["title", "button"]>;
93
93
  }
94
+ export declare class McNavbarRectangleElement {
95
+ elementRef: ElementRef;
96
+ readonly state: Subject<void>;
97
+ get horizontal(): boolean;
98
+ set horizontal(value: boolean);
99
+ private _horizontal;
100
+ get vertical(): boolean;
101
+ set vertical(value: boolean);
102
+ private _vertical;
103
+ get collapsed(): boolean;
104
+ set collapsed(value: boolean);
105
+ private _collapsed;
106
+ button: McButtonCssStyler;
107
+ constructor(elementRef: ElementRef);
108
+ getOuterElementWidth(): number;
109
+ static ɵfac: i0.ɵɵFactoryDeclaration<McNavbarRectangleElement, never>;
110
+ static ɵdir: i0.ɵɵDirectiveDeclaration<McNavbarRectangleElement, "mc-navbar-item, [mc-navbar-item], mc-navbar-divider, mc-navbar-brand, [mc-navbar-brand]", never, {}, {}, ["button"]>;
111
+ }
94
112
  export declare class McNavbarItem extends McTooltipTrigger {
95
113
  rectangleElement: McNavbarRectangleElement;
96
114
  private changeDetectorRef;
@@ -110,6 +128,7 @@ export declare class McNavbarItem extends McTooltipTrigger {
110
128
  get titleText(): string | null;
111
129
  get subTitleText(): string | null;
112
130
  get disabled(): boolean;
131
+ set disabled(value: boolean);
113
132
  get hasDropDownTrigger(): boolean;
114
133
  get showVerticalDropDownAngle(): boolean;
115
134
  get showHorizontalDropDownAngle(): boolean;
@@ -122,24 +141,6 @@ export declare class McNavbarItem extends McTooltipTrigger {
122
141
  static ɵfac: i0.ɵɵFactoryDeclaration<McNavbarItem, [null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
123
142
  static ɵcmp: i0.ɵɵComponentDeclaration<McNavbarItem, "mc-navbar-item, [mc-navbar-item]", ["mcNavbarItem"], { "collapsedText": "collapsedText"; "collapsed": "collapsed"; "collapsable": "collapsable"; }, {}, ["title", "subTitle", "icon"], ["[mc-icon]", "mc-navbar-title, [mc-navbar-title]", "mc-navbar-subtitle, [mc-navbar-subtitle]", "*"]>;
124
143
  }
125
- export declare class McNavbarRectangleElement {
126
- elementRef: ElementRef;
127
- readonly state: Subject<void>;
128
- get horizontal(): boolean;
129
- set horizontal(value: boolean);
130
- private _horizontal;
131
- get vertical(): boolean;
132
- set vertical(value: boolean);
133
- private _vertical;
134
- get collapsed(): boolean;
135
- set collapsed(value: boolean);
136
- private _collapsed;
137
- button: McButtonCssStyler;
138
- constructor(elementRef: ElementRef);
139
- getOuterElementWidth(): number;
140
- static ɵfac: i0.ɵɵFactoryDeclaration<McNavbarRectangleElement, never>;
141
- static ɵdir: i0.ɵɵDirectiveDeclaration<McNavbarRectangleElement, "mc-navbar-item, [mc-navbar-item], mc-navbar-divider, mc-navbar-brand, [mc-navbar-brand]", never, {}, {}, ["button"]>;
142
- }
143
144
  export declare class McNavbarToggle extends McTooltipTrigger implements OnDestroy {
144
145
  navbar: McVerticalNavbar;
145
146
  private changeDetectorRef;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ptsecurity/mosaic",
3
- "version": "13.1.0",
3
+ "version": "13.3.0",
4
4
  "description": "Mosaic",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,9 +22,9 @@
22
22
  "@angular/core": "^13.1.0",
23
23
  "@angular/common": "^13.1.0",
24
24
  "@angular/forms": "^13.1.0",
25
- "@ptsecurity/cdk": "^13.1.0",
26
- "@ptsecurity/mosaic-moment-adapter": "^13.1.0",
27
- "@ptsecurity/mosaic-luxon-adapter": "^13.1.0",
25
+ "@ptsecurity/cdk": "^13.3.0",
26
+ "@ptsecurity/mosaic-moment-adapter": "^13.3.0",
27
+ "@ptsecurity/mosaic-luxon-adapter": "^13.3.0",
28
28
  "@ptsecurity/mosaic-icons": "^5.0.0"
29
29
  },
30
30
  "dependencies": {
@@ -127,6 +127,14 @@
127
127
  "node": "./fesm2015/ptsecurity-mosaic-divider.mjs",
128
128
  "default": "./fesm2020/ptsecurity-mosaic-divider.mjs"
129
129
  },
130
+ "./dl": {
131
+ "types": "./dl/ptsecurity-mosaic-dl.d.ts",
132
+ "esm2020": "./esm2020/dl/ptsecurity-mosaic-dl.mjs",
133
+ "es2020": "./fesm2020/ptsecurity-mosaic-dl.mjs",
134
+ "es2015": "./fesm2015/ptsecurity-mosaic-dl.mjs",
135
+ "node": "./fesm2015/ptsecurity-mosaic-dl.mjs",
136
+ "default": "./fesm2020/ptsecurity-mosaic-dl.mjs"
137
+ },
130
138
  "./dropdown": {
131
139
  "types": "./dropdown/ptsecurity-mosaic-dropdown.d.ts",
132
140
  "esm2020": "./esm2020/dropdown/ptsecurity-mosaic-dropdown.mjs",